/* ============================================================
   Otterbrook v2 — light, warm "talent platform"
   Cream paper, deep teal ink, gold accents.
   Bold grotesque display + serif italic accents.
   ============================================================ */

:root {
  /* brand */
  --teal:        #196368;
  --teal-deep:   #0f3e42;
  --teal-ink:    #103438;
  --gold:        #c9a86a;
  --gold-soft:   #e3c98f;
  --gold-bright: #ecd9a8;

  /* surfaces */
  --paper:       #f4eee1;   /* page bg */
  --paper-2:     #efe7d6;   /* alt band */
  --card:        #fcf9f1;   /* cards */
  --white:       #ffffff;

  /* ink / text */
  --ink:         #14383b;
  --ink-soft:    #4a6164;
  --ink-mute:    #6f8487;
  --on-teal:     #f3ecdd;
  --on-teal-mute:#a9c3c1;

  /* lines */
  --line:        rgba(20, 56, 59, 0.14);
  --line-strong: rgba(20, 56, 59, 0.26);

  /* type */
  --serif: "Newsreader", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 68px);
  --radius: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--teal); color: var(--on-teal); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0; font-weight: 700; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 144px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.band-alt { background: var(--paper-2); }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.kicker--gold { color: var(--gold); }
.kicker--gold::before { background: var(--gold); }
.on-teal .kicker { color: var(--gold-soft); }

.display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.display em, .h2 em, .h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--teal);
}
.on-teal .display em, .on-teal .h2 em { color: var(--gold-soft); }

.h2 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h3 {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.lede {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}
.lede strong { color: var(--ink); font-weight: 600; }
.serif-q { font-family: var(--serif); font-weight: 400; }

/* ---------- buttons ---------- */
.btn {
  --py: 15px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0.005em;
  padding: var(--py) 26px; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lg { --py: 18px; padding-inline: 32px; font-size: 16.5px; }

.btn--primary { background: var(--teal); color: var(--on-teal); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(15,62,66,.7); }
.btn--gold { background: var(--gold); color: var(--teal-ink); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(201,168,106,.8); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.on-teal .btn--ghost { color: var(--on-teal); border-color: rgba(243,236,221,.3); }
.on-teal .btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--teal); }
.tlink .arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tlink:hover .arrow { transform: translateX(4px); }
.on-teal .tlink { color: var(--gold-soft); }

/* ============================================================
   Nav
   ============================================================ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(244,238,225,0.82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 20px; letter-spacing: 0.04em; color: var(--ink); text-transform: uppercase; font-weight: 500; white-space: nowrap; flex: none; }
.brand__mark { height: 32px; width: auto; display: block; flex: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); position: relative; transition: color .25s; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .3s cubic-bezier(.2,.8,.2,1); }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 16px; flex: none; }
.nav__right .nav__link { white-space: nowrap; }
.nav__toggle { display: none; }
.mobile-menu { display: none; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .07s; }
[data-delay="2"] { transition-delay: .14s; }
[data-delay="3"] { transition-delay: .21s; }
[data-delay="4"] { transition-delay: .28s; }
[data-delay="5"] { transition-delay: .35s; }
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   Footer (dark teal — inverts the page)
   ============================================================ */
.footer { background: var(--teal-deep); color: var(--on-teal); padding-block: 80px 40px; }
.footer .brand { color: var(--on-teal); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; border-bottom: 1px solid rgba(243,236,221,.14); }
.footer__blurb { color: var(--on-teal-mute); max-width: 32ch; margin-top: 18px; font-size: 15.5px; }
.footer__col h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; margin-bottom: 18px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--on-teal-mute); font-size: 15.5px; transition: color .25s; }
.footer__col a:hover { color: var(--on-teal); }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.footer__legal { color: rgba(169,195,193,.7); font-size: 13px; line-height: 1.7; max-width: 64ch; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,236,221,.22); display: grid; place-items: center; color: var(--on-teal-mute); transition: color .25s, border-color .25s, transform .25s; }
.footer__social a:hover { color: var(--gold-soft); border-color: var(--gold); transform: translateY(-2px); }

@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: transparent; border: 1.5px solid var(--line-strong); color: var(--ink); cursor: pointer; font-size: 20px; }
  .nav__cta-desktop { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .mobile-menu { position: fixed; inset: 78px 0 0; background: var(--paper); z-index: 99; padding: 30px var(--gutter); display: none; flex-direction: column; gap: 4px; }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { font-family: var(--serif); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); text-transform: uppercase; }
  .mobile-menu .btn { margin-top: 22px; justify-content: center; }
}
