/* ============================================================
   The Little Firm — Theme tokens
   Plum primary · Rose-gold secondary · Olo accent
   Self-hosted: Teko (display), Manrope (body), JetBrains Mono
   ============================================================ */

/* --- @font-face: self-hosted variable woff2 ----------------- */
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('media/fonts/teko-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Teko';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('media/fonts/teko-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('media/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('media/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('media/fonts/jetbrainsmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('media/fonts/jetbrainsmono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* --- Plum scale (brand primary) ------------------------- */
  --lf-ink:        #10070E;   /* deepest ground, plum-black */
  --lf-ground:     #180A16;   /* body background */
  --lf-surface:    #241023;   /* elevated surface */
  --lf-plum:       #4A1942;   /* brand plum */
  --lf-plum-hi:    #6B2D5C;   /* hover/highlight */
  --lf-plum-glow:  #8E3F7B;   /* luminous plum */

  /* --- Rose-gold (secondary) ------------------------------ */
  --lf-rose:       #E8B4A0;   /* primary rose-gold */
  --lf-rose-soft:  #C99A85;   /* muted */
  --lf-rose-deep:  #A27765;   /* anchored */

  /* --- Olo (accent, impossible teal) ---------------------- */
  --lf-olo:        #00E6C1;   /* signature accent */
  --lf-olo-soft:   rgba(0, 230, 193, 0.18);
  --lf-olo-line:   rgba(0, 230, 193, 0.45);

  /* --- Neutral warm ---------------------------------------- */
  --lf-bone:       #F5EFE8;   /* primary text */
  --lf-bone-dim:   rgba(245, 239, 232, 0.72);
  --lf-ash:        #958A91;   /* muted */
  --lf-border:     rgba(245, 239, 232, 0.08);
  --lf-border-hi:  rgba(245, 239, 232, 0.18);

  /* --- Typography ------------------------------------------ */
  --font-display:  'Teko', 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:     'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* --- Scale (major third 1.25) --------------------------- */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  4rem;
  --text-6xl:  5.5rem;
  --text-7xl:  7rem;

  /* --- Spacing (8px base) --------------------------------- */
  --s-1:  0.5rem;
  --s-2:  1rem;
  --s-3:  1.5rem;
  --s-4:  2rem;
  --s-6:  3rem;
  --s-8:  4rem;
  --s-12: 6rem;
  --s-16: 8rem;
  --s-24: 12rem;

  /* --- Structure ------------------------------------------ */
  --container: 1160px;
  --nav-h:     80px;
  --radius:    0;            /* luxury: sharp corners */
  --radius-pill: 999px;

  /* --- Motion --------------------------------------------- */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:  180ms;
  --dur:       360ms;
  --dur-slow:  720ms;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--lf-ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--lf-bone);
  background:
    radial-gradient(ellipse 90% 60% at 20% 0%, rgba(107, 45, 92, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(232, 180, 160, 0.08), transparent 55%),
    var(--lf-ground);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
  color: var(--lf-bone);
}
h1 { font-size: clamp(2.75rem, 12vw, var(--text-7xl)); font-weight: 600; }
h2 { font-size: clamp(2.25rem, 7vw, var(--text-6xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }

p  { color: var(--lf-bone-dim); }

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

::selection { background: var(--lf-olo); color: var(--lf-ink); }

/* Emphasis primitives --------------------------------------- */
.accent { color: var(--lf-olo); font-weight: 400; }
.accent-rose { color: var(--lf-rose); font-weight: 400; }

/* Brand wordmark — the hidden "A I" inside Beh[a]v[i]oral */
.brand-ai {
  color: var(--lf-olo);
  font-style: normal;
  font-weight: inherit;
}

/* Eyebrow label — tiny uppercase mono with olo tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--lf-rose);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--lf-olo);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-3);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--s-4);
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              backdrop-filter var(--dur-fast) var(--ease);
}
.nav.scrolled {
  background: rgba(16, 7, 14, 0.78);
  border-bottom-color: var(--lf-border);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--lf-bone);
}
.nav-logo-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--lf-rose);
  margin-top: 6px;
}

.nav-links { display: flex; gap: var(--s-4); }
.nav-links a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--lf-bone-dim);
  padding: var(--s-1) 0;
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 1px;
  background: var(--lf-olo);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--lf-bone); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lf-ink);
  background: var(--lf-rose);
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: var(--lf-olo); transform: translateY(-1px); }

.nav-toggle { display: none; }

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--s-3);
  position: fixed; inset: 0;
  background: var(--lf-ink);
  z-index: 200;
  padding: calc(var(--nav-h) + var(--s-4)) var(--s-4) var(--s-4);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--lf-bone);
}
.mobile-close {
  position: absolute;
  top: var(--s-3); right: var(--s-3);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lf-rose);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + var(--s-8)) 0 var(--s-12);
  position: relative;
}
.hero .container {
  max-width: 1280px;
}
.hero-title {
  /* mobile keeps 13vw for punch; desktop caps at 6rem so the scripted
     <br>s land clean — "So you finally got / to talk to your data." fits
     2 lines, no orphan words. */
  font-size: clamp(2.75rem, 13vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: var(--s-3) 0 var(--s-4);
}
@media (min-width: 900px) {
  .hero-title { font-size: clamp(4rem, 7vw, 6rem); }
}
.hero-lede {
  max-width: 620px;
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--lf-bone-dim);
}

/* Hero brand lockup — the signature wordmark */
.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--s-3);
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  letter-spacing: 0.01em;
  color: var(--lf-bone);
  line-height: 1;
}
.brand-aimar {
  color: var(--lf-rose);
  letter-spacing: 0.06em;
  margin-left: 0.25em;
}
.brand-expansion {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-ash);
}

/* ============================================================
   Thesis + Industry sections (editorial scroll blocks)
   ============================================================ */
.thesis {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--lf-border);
  position: relative;
}
.thesis::before {
  content: '';
  position: absolute;
  top: -1px; left: var(--s-3);
  width: 120px; height: 1px;
  background: var(--lf-olo);
}
.thesis .container { max-width: 1040px; }
.thesis-meta {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.thesis-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--lf-rose);
  letter-spacing: 0.1em;
}
.thesis-title {
  font-size: clamp(2.25rem, 9vw, var(--text-6xl));
  line-height: 0.95;
  margin-bottom: var(--s-4);
}
.thesis-sub {
  font-family: var(--font-display);
  text-transform: none;
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 400;
  color: var(--lf-rose);
  letter-spacing: 0.005em;
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: var(--s-6);
}
.thesis-body {
  max-width: 620px;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--lf-bone-dim);
}
.thesis-body + .thesis-body,
.thesis p + p { margin-top: var(--s-3); }
.thesis-body-dim {
  color: rgba(245, 239, 232, 0.5);
  font-style: normal;
}
.thesis-body-dim em {
  color: var(--lf-rose);
  font-style: italic;
}
.thesis-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(1.25rem, 3.2vw, var(--text-2xl));
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--lf-rose);
  max-width: 640px;
  margin-top: var(--s-4);
  padding: var(--s-2) 0 var(--s-2) var(--s-3);
  border-left: 2px solid var(--lf-olo);
}

/* Industry rotator — swaps words inside a headline */
.industry-rotator {
  display: inline-block;
  color: var(--lf-olo);
  font-style: normal;
  min-width: 4ch;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
.industry-rotator.swap-out { opacity: 0; transform: translateY(-10px); }
.industry-rotator.swap-in  { animation: rotatorIn 280ms var(--ease); }
@keyframes rotatorIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.industry-suffix { }
@media (prefers-reduced-motion: reduce) {
  .industry-rotator,
  .industry-rotator.swap-out,
  .industry-rotator.swap-in { transition: none; animation: none; transform: none; opacity: 1; }
}

/* Stat callout — the "467 days" number */
.stat-callout {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  margin: var(--s-4) 0 var(--s-6);
  padding-left: var(--s-3);
  border-left: 2px solid var(--lf-olo);
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.9;
  color: var(--lf-bone);
  letter-spacing: 0.005em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-rose);
  max-width: 180px;
  line-height: 1.5;
}

/* ============================================================
   Reveals
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--lf-border);
  padding: var(--s-12) 0 var(--s-4);
  color: var(--lf-ash);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-8);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--lf-bone);
  margin-bottom: var(--s-2);
}
.footer-tagline, .footer-body {
  font-size: var(--text-sm);
  color: var(--lf-bone-dim);
  max-width: 320px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-rose);
  margin-bottom: var(--s-3);
}
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-size: var(--text-sm);
  color: var(--lf-bone-dim);
  transition: color var(--dur-fast) var(--ease);
}
.footer-nav a:hover { color: var(--lf-olo); }

.footer-contact-row { margin-bottom: var(--s-2); }
.footer-contact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-ash);
  margin-bottom: 2px;
}
.footer-contact-val a { color: var(--lf-bone); }
.footer-contact-val a:hover { color: var(--lf-olo); }

.footer-bottom {
  margin-top: var(--s-8);
  padding-top: var(--s-3);
  border-top: 1px solid var(--lf-border);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--lf-ash);
}

/* ============================================================
   Interior page hero (smaller than home hero)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + var(--s-8)) 0 var(--s-8);
}
.page-hero .container { max-width: 1040px; }
.page-title {
  font-size: clamp(3rem, 14vw, var(--text-7xl));
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: var(--s-3) 0 var(--s-4);
}
.page-lede {
  max-width: 620px;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--lf-bone-dim);
}
.page-lede + .page-lede { margin-top: var(--s-3); }
.page-lede-turn em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lf-olo);
  font-size: 1.45em;
  letter-spacing: 0.02em;
  line-height: 0.7;
  padding: 0 0.08em;
  display: inline-block;
  vertical-align: baseline;
}

/* ============================================================
   Case list (work.html)
   ============================================================ */
.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--lf-border);
  position: relative;
}
.case-row:last-child { border-bottom: 1px solid var(--lf-border); }
.case-index {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-rose);
}
.case-body { display: flex; flex-direction: column; gap: 0.35rem; }
.case-name {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, var(--text-4xl));
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--lf-bone);
  margin: 0;
}
.case-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lf-ash);
}
.case-line {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--lf-bone-dim);
  max-width: 620px;
  margin: 0;
}

/* ============================================================
   Bio (about.html)
   ============================================================ */
.bio {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--lf-border);
  position: relative;
}
.bio::before {
  content: '';
  position: absolute;
  top: -1px; left: var(--s-3);
  width: 120px; height: 1px;
  background: var(--lf-olo);
}
.bio .container { max-width: 1040px; }
.bio-name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(3rem, 11vw, var(--text-7xl));
  letter-spacing: 0.005em;
  line-height: 0.9;
  color: var(--lf-bone);
  margin: 0 0 var(--s-2);
}
.bio-role {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-rose);
  margin-bottom: var(--s-4);
}
.bio-body {
  max-width: 620px;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--lf-bone-dim);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.bio-email {
  display: inline-block;
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  color: var(--lf-rose);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.bio-email:hover { color: var(--lf-olo); border-bottom-color: var(--lf-olo); }

/* ============================================================
   Principle / Step lists
   ============================================================ */
.principle-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  max-width: 720px;
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--lf-bone-dim);
}
.principle-list li {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
}
.principle-mark {
  color: var(--lf-olo);
  font-weight: 500;
  flex-shrink: 0;
  padding-top: 0.1em;
}

.step-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  max-width: 760px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: baseline;
}
.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--lf-rose);
}
.step-title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4.5vw, var(--text-3xl));
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--lf-bone);
  margin-bottom: 0.4rem;
}
.step-body p {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--lf-bone-dim);
}

/* ============================================================
   Contact form
   ============================================================ */
.form-section {
  padding: var(--s-8) 0;
}
.form-section .container { max-width: 860px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 760px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-rose);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--lf-bone);
  background: rgba(245, 239, 232, 0.03);
  border: 1px solid var(--lf-border);
  border-radius: 0;
  padding: 0.85rem 1rem;
  min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lf-olo);
  background: rgba(0, 230, 193, 0.05);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--lf-rose) 50%),
                    linear-gradient(135deg, var(--lf-rose) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

/* Honeypot — invisible to humans, visible to bots */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lf-ink);
  background: var(--lf-rose);
  border: none;
  border-radius: var(--radius-pill);
  padding: 1rem 1.6rem;
  margin-top: var(--s-2);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  min-height: 48px;
}
.form-submit:hover:not(:disabled) {
  background: var(--lf-olo);
  transform: translateY(-1px);
}
.form-submit:disabled { opacity: 0.6; cursor: wait; }

.form-status {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  min-height: 1.5em;
  color: var(--lf-bone-dim);
}
.form-status.is-success { color: var(--lf-olo); }
.form-status.is-error   { color: var(--lf-rose); }

/* Direct contact block */
.direct-contact {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  max-width: 620px;
}
.direct-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--lf-border);
  transition: border-color var(--dur-fast) var(--ease);
}
.direct-row:hover { border-bottom-color: var(--lf-olo); }
.direct-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-rose);
}
.direct-val {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--lf-bone);
  transition: color var(--dur-fast) var(--ease);
}
.direct-row:hover .direct-val { color: var(--lf-olo); }

/* ============================================================
   Growth board (work.html — "What Growth Looks Like")
   ============================================================ */
.growth { padding: var(--s-12) 0; border-top: 1px solid var(--lf-border); position: relative; }
.growth::before {
  content: '';
  position: absolute;
  top: -1px; left: var(--s-3);
  width: 120px; height: 1px;
  background: var(--lf-olo);
}
.growth .container { max-width: 1040px; }

.growth-board {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  margin-top: var(--s-6);
}
.growth-row {
  padding: var(--s-4) 0;
  border-top: 1px solid var(--lf-border);
}
.growth-row:last-child { border-bottom: 1px solid var(--lf-border); }

.growth-head { margin-bottom: var(--s-3); }
.growth-archetype {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 5vw, var(--text-4xl));
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--lf-bone);
  margin: 0 0 0.4rem;
}
.growth-client {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lf-rose);
}

.growth-stats {
  list-style: none;
  padding: 0;
  margin: var(--s-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.growth-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "delta metric"
    "read  read";
  column-gap: var(--s-3);
  row-gap: 0.25rem;
  padding: var(--s-2) 0;
  border-bottom: 1px dashed var(--lf-border);
}
.growth-stat:last-child { border-bottom: none; }
.growth-delta {
  grid-area: delta;
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: 0.04em;
  min-width: 6ch;
}
.growth-up   { color: var(--lf-olo); }
.growth-down { color: #E66B5E; }
.growth-caution { color: var(--lf-rose); }
.growth-metric {
  grid-area: metric;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--text-base);
  letter-spacing: 0.01em;
  color: var(--lf-bone);
}
.growth-read {
  grid-area: read;
  font-size: var(--text-base);
  line-height: 1.45;
  color: var(--lf-bone-dim);
}

.growth-verdict {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.8vw, var(--text-xl));
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--lf-rose);
  margin-top: var(--s-3);
  padding-left: var(--s-3);
  border-left: 2px solid var(--lf-olo);
  max-width: 640px;
}
.growth-context {
  margin-top: var(--s-2);
  padding-left: var(--s-3);
  max-width: 620px;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--lf-bone-dim);
  border-left: 1px dashed var(--lf-border);
}
.growth-context em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--lf-olo);
  letter-spacing: 0.01em;
  padding: 0 0.1em;
}

.growth-closer {
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, var(--text-3xl));
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--lf-bone);
}

/* Wider-screen: stat grid goes wider */
@media (min-width: 640px) {
  .growth-stat {
    grid-template-columns: 6ch 1fr 2fr;
    grid-template-rows: auto;
    grid-template-areas: "delta metric read";
    align-items: baseline;
  }
}

/* ============================================================
   CTA strip (closes every interior page)
   ============================================================ */
.cta-strip {
  padding: var(--s-12) 0 var(--s-8);
  border-top: 1px solid var(--lf-border);
  position: relative;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: -1px; left: var(--s-3);
  width: 120px; height: 1px;
  background: var(--lf-olo);
}
.cta-title {
  font-size: clamp(2.75rem, 10vw, var(--text-6xl));
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin-bottom: var(--s-4);
}
.cta-title .gt {
  color: var(--lf-olo);
  font-weight: 600;
  padding: 0 0.1em;
}
.cta-sub {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(1.25rem, 3.2vw, var(--text-2xl));
  letter-spacing: 0.01em;
  color: var(--lf-rose);
  margin-bottom: var(--s-3);
}
.cta-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-bone);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--lf-olo);
  transition: color var(--dur-fast) var(--ease),
              letter-spacing var(--dur-fast) var(--ease);
}
.cta-link:hover { color: var(--lf-olo); letter-spacing: 0.26em; }

.cta-strip.limited .limited-banner {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lf-olo);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--lf-olo-line);
  margin-bottom: var(--s-4);
}

/* ============================================================
   Mobile menu — Fast Track button + contact form thanks
   ============================================================ */
.mobile-fast-track {
  margin-top: var(--s-3);
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-ink);
  background: var(--lf-olo);
  border: none;
  border-radius: var(--radius-pill);
  padding: 1rem 1.6rem;
  cursor: pointer;
  min-height: 52px;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.mobile-fast-track:hover { background: var(--lf-rose); transform: translateY(-1px); }

.form-thanks {
  padding: var(--s-6) 0;
  max-width: 520px;
}
.form-thanks-mark {
  font-family: var(--font-mono);
  font-size: var(--text-4xl);
  color: var(--lf-olo);
  margin-bottom: var(--s-3);
}
.form-thanks-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(1.75rem, 5vw, var(--text-3xl));
  letter-spacing: 0.005em;
  line-height: 1;
  color: var(--lf-bone);
  margin-bottom: var(--s-2);
}
.form-thanks-body {
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--lf-bone-dim);
}

/* ============================================================
   Fast Track modal (site-wide, opens from mobile menu)
   ============================================================ */
.ft-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: var(--s-4) var(--s-3);
  overflow-y: auto;
}
.ft-overlay.open { display: flex; }
.ft-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 5, 12, 0.85);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.ft-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-top: var(--s-4);
  margin-bottom: var(--s-6);
  background: var(--lf-ink);
  border: 1px solid var(--lf-border);
  padding: var(--s-6) var(--s-4) var(--s-4);
  animation: ftIn 380ms var(--ease);
}
@keyframes ftIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ft-close {
  position: absolute;
  top: var(--s-2); right: var(--s-2);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lf-rose);
  padding: 0.4rem 0.6rem;
  transition: color var(--dur-fast) var(--ease);
}
.ft-close:hover { color: var(--lf-olo); }

.ft-head { margin-bottom: var(--s-4); }
.ft-head .eyebrow { margin-bottom: var(--s-2); }
.ft-title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 8vw, var(--text-5xl));
  letter-spacing: 0.005em;
  line-height: 0.95;
  color: var(--lf-bone);
  margin: var(--s-2) 0;
}
.ft-lede {
  font-size: var(--text-base);
  color: var(--lf-bone-dim);
  line-height: 1.55;
  max-width: 440px;
}

.ft-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.ft-form .form-submit {
  position: relative;
  align-self: flex-start;
}
.ft-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  margin-left: 0.6rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  opacity: 0;
  vertical-align: middle;
  transition: opacity var(--dur-fast) var(--ease);
}
.form-submit:disabled .ft-spinner {
  opacity: 1;
  animation: ftSpin 0.8s linear infinite;
}
@keyframes ftSpin { to { transform: rotate(360deg); } }

@media (min-width: 520px) {
  .ft-panel { padding: var(--s-8) var(--s-6) var(--s-6); }
}

/* ============================================================
   Mobile breakpoint (mobile-first: only narrow overrides above;
   wider screens scale up here)
   ============================================================ */
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .case-row {
    grid-template-columns: 48px 1fr 1fr;
    align-items: baseline;
    gap: var(--s-3);
  }
  .case-row .case-line { grid-column: 3 / 4; }
}

@media (max-width: 768px) {
  .nav { padding: 0 var(--s-3); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span {
    width: 22px; height: 1px; background: var(--lf-bone); display: block;
    transition: background var(--dur-fast) var(--ease);
  }
  .mobile-menu { display: flex; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* --- Skip link (a11y) ---------------------------------------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--lf-void, #050508);
  color: var(--lf-bone, #e8e4e0);
  padding: 8px 16px;
  text-decoration: none;
  font-family: var(--font-body, sans-serif);
  font-size: 14px;
  z-index: 9999;
  border: 2px solid var(--lf-cyan, #00e5ff);
}
.skip-link:focus {
  top: 0;
  outline: none;
}

/* --- No-JS fallback: show .reveal content without observer --- */
@media (scripting: none) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
