/* Arloh — hi-fi hero (v3). Values pulled from Paper artboard "27-Homepage v26 — Bottom-anchored, horizon". */

:root {
  --cream: #FFFDF4;
  --cream-soft: #F3F0E8;
  --ink: #1A1A17;
  --ink-soft: #2A2926;
  --hairline: #E2E0CE;
  --gold: #F9C238;
  --green: #33A364;
  --vermilion: #F0522C;
  --cobalt: #3D68C4;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 64px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

/* Header ------------------------------------------------------------ */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--hairline);
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logo-mark, .logo-word { display: block; }

/* Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 24px;
  white-space: nowrap;
  border-radius: 0;
  transition: background-color .15s ease, color .15s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--cream-soft);
}
.btn-solid:hover { background: var(--ink-soft); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream-soft); }

/* When the outline CTA is hovered, the solid one swaps to outline so they trade places. */
.hero-ctas:has(.btn-outline:hover) .btn-solid {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-nav {
  height: 42px;
  padding: 0 20px;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 20px;
  color: var(--cream);
}

/* Hero -------------------------------------------------------------- */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
}

.hero-graphic {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-graphic svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px var(--gutter) 110px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 855px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
}

.hero-sub {
  margin: 15px 0 0;
  max-width: 791px;
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.03em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
}

/* Responsive -------------------------------------------------------- */

@media (max-width: 1200px) {
  .hero-copy h1 { font-size: 68px; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; }
  .hero { min-height: 0; }
  .hero-graphic svg {
    min-width: 1100px;      /* below 900px, keep composition and center-crop */
    margin-left: calc(50% - 550px);
  }
  .hero-copy { padding: 32px var(--gutter) 64px; }
  .hero-copy h1 { font-size: 52px; }
  .hero-sub { font-size: 20px; line-height: 28px; margin-top: 12px; }
  .hero-ctas { margin-top: 36px; }
}

@media (max-width: 520px) {
  :root { --gutter: 20px; --header-h: 68px; }
  .hero-graphic svg {
    min-width: 900px;
    margin-left: calc(50% - 450px);
  }
  .hero-copy h1 { font-size: 40px; }
  .hero-sub { font-size: 18px; line-height: 26px; }
  .btn { height: 52px; font-size: 18px; }
  .btn-nav { height: 40px; padding: 0 16px; font-size: 16px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
}
