:root {
  --ink: #102c2b;
  --ink-soft: #173b39;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --lime: #c8f279;
  --aqua: #81d8ca;
  --rust: #d66d49;
  --muted: #64706b;
  --line: rgba(16, 44, 43, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  transform: translateY(-150%); padding: 10px 14px; background: white; border-radius: 4px;
}
.skip-link:focus { transform: none; }
img { display: block; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 82px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px); color: white;
  border-bottom: 1px solid rgba(255,255,255,.15); transition: background .25s, height .25s;
}
.site-header.scrolled { height: 68px; background: rgba(16, 44, 43, .96); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-symbol {
  position: relative; width: 40px; height: 40px; flex: 0 0 40px;
  overflow: hidden; background: white; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.22);
}
.brand-symbol img { position: absolute; width: 229px; max-width: none; left: -96px; top: -34px; }
.brand-name { font-size: 18px; letter-spacing: -.02em; }
.brand-name b { font-weight: 400; opacity: .7; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 42px); }
.primary-nav a { color: white; text-decoration: none; font-size: 14px; font-weight: 600; }
.primary-nav a:not(.nav-cta) { opacity: .8; }
.primary-nav a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; }
.nav-cta:hover { background: white; color: var(--ink); }
.menu-toggle { display: none; }

.hero {
  position: relative; min-height: 760px; padding: 170px clamp(24px, 6.2vw, 96px) 0;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  column-gap: clamp(48px, 8vw, 140px); align-content: center;
  background: var(--ink); color: white; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -10%; bottom: 76px; width: 46%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,242,121,.7)); transform: rotate(-22deg);
}
.hero-glow {
  position: absolute; width: 570px; height: 570px; left: -220px; top: 130px;
  background: radial-gradient(circle, rgba(129,216,202,.13), transparent 67%); pointer-events: none;
}
.hero-copy { align-self: center; max-width: 820px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 22px; color: var(--rust); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.light { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 840px; margin-bottom: 30px; font-size: clamp(54px, 6vw, 92px); }
h1 em { color: var(--lime); font-weight: 400; }
.hero-lede { max-width: 690px; color: rgba(255,255,255,.72); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px;
  padding: 0 24px; border: 0; border-radius: 3px; text-decoration: none; font-weight: 750; cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: white; }
.text-link { color: white; text-decoration: none; font-size: 15px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover span { transform: translateY(4px); }
.hero-panel {
  position: relative; align-self: center; z-index: 2; padding: 32px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.14); border-radius: 4px;
  backdrop-filter: blur(8px);
}
.panel-kicker { color: var(--aqua); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.panel-statement { font-family: var(--serif); font-size: clamp(24px, 2.15vw, 34px); line-height: 1.2; }
.signal-list { margin-top: 36px; border-top: 1px solid rgba(255,255,255,.16); }
.signal-list div { display: grid; grid-template-columns: 44px 1fr; align-items: start; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.signal-list span { color: var(--lime); font-family: var(--serif); font-size: 13px; }
.signal-list p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; }
.capability-strip {
  grid-column: 1 / -1; align-self: end; min-height: 76px; margin-top: 74px;
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.2vw, 32px);
  border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.62);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.capability-strip i { width: 4px; height: 4px; background: var(--lime); border-radius: 50%; }

.work-section { padding: clamp(88px, 10vw, 150px) clamp(24px, 6.2vw, 96px) 0; background: var(--paper); }
.section-heading {
  display: grid; grid-template-columns: 1.15fr .6fr; gap: 10vw; align-items: end;
  max-width: 1320px; margin: 0 auto 70px;
}
.section-heading h2 { max-width: 760px; margin-bottom: 0; font-size: clamp(43px, 5vw, 72px); }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 17px; }
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1320px; margin: auto; border: 1px solid var(--line); }
.system-card { min-height: 440px; padding: 34px; background: var(--paper); border-right: 1px solid var(--line); }
.system-card:last-child { border-right: 0; }
.system-card.featured { background: var(--cream); }
.card-number { margin-bottom: 72px; color: var(--rust); font-family: var(--serif); font-size: 15px; }
.system-card h3 { margin-bottom: 18px; font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.03em; }
.system-card > p { color: var(--muted); }
.system-card ul { margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.system-card li { position: relative; padding: 6px 0 6px 19px; font-size: 14px; font-weight: 650; }
.system-card li::before { content: ""; position: absolute; left: 0; top: 14px; width: 7px; height: 7px; border: 1px solid var(--rust); transform: rotate(45deg); }
.path-ribbon {
  max-width: 1320px; margin: 18px auto 0; padding: 28px 32px;
  display: grid; grid-template-columns: .55fr repeat(3, 1fr); gap: 28px; align-items: start;
  background: var(--ink); color: white;
}
.path-ribbon p { margin: 2px 0 0; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.path-ribbon strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.path-ribbon span { color: rgba(255,255,255,.57); font-size: 12px; }

.experience {
  max-width: 1440px; margin: clamp(100px, 12vw, 180px) auto 0;
  display: grid; grid-template-columns: .82fr 1.18fr; background: var(--ink); color: white;
}
.experience-intro { padding: clamp(42px, 6vw, 88px); }
.experience-portrait {
  position: relative; width: clamp(180px, 16vw, 230px); margin: 0 0 48px auto; padding: 8px;
  border: 1px solid rgba(174, 236, 229, .38); border-radius: 4px;
}
.experience-portrait::after {
  content: ""; position: absolute; right: -7px; bottom: -7px; width: 28px; height: 28px;
  border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime);
}
.experience-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px;
  filter: brightness(1.06) contrast(.98);
}
.experience-intro h2 { margin-bottom: 28px; font-size: clamp(46px, 5vw, 70px); }
.experience-intro > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.67); font-size: 17px; }
.company-line { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 48px; color: var(--aqua); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.company-line i { width: 3px; height: 3px; background: var(--lime); border-radius: 50%; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid rgba(255,255,255,.12); }
.proof-grid article { min-height: 240px; padding: clamp(30px, 4vw, 56px); border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.proof-grid strong { display: block; color: var(--lime); font-family: var(--serif); font-size: clamp(38px, 4vw, 58px); font-weight: 400; letter-spacing: -.04em; }
.proof-grid p {
  max-width: 340px; margin: 14px 0 0; color: rgba(255,255,255,.7);
  font-size: 16px; line-height: 1.55;
}
.proof-grid .proof-wide { grid-column: 1 / -1; min-height: 200px; }
.proof-grid .proof-wide strong { color: white; font-size: clamp(32px, 3.4vw, 49px); }

.fit-section {
  padding: clamp(90px, 11vw, 160px) clamp(24px, 6.2vw, 96px);
  display: grid; grid-template-columns: minmax(280px,.68fr) minmax(520px,1.32fr); gap: clamp(60px, 9vw, 150px);
  background: #183f3d; color: white;
}
.fit-intro { align-self: start; position: sticky; top: 110px; }
.fit-intro h2 { margin-bottom: 28px; font-size: clamp(44px, 5vw, 68px); }
.fit-intro > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.68); font-size: 17px; }
.privacy-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: rgba(255,255,255,.6); font-size: 13px; }
.privacy-note span { color: var(--lime); font-size: 9px; }
.fit-tool { min-height: 610px; padding: clamp(28px, 4vw, 58px); background: var(--paper); color: var(--ink); border-radius: 5px; }
.fit-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 60px; }
.fit-progress span { height: 3px; background: rgba(16,44,43,.13); border-radius: 9px; transition: background .25s; }
.fit-progress span.active { background: var(--rust); }
.step-count, .result-kicker { color: var(--rust); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fit-step h3, .fit-result h3 { max-width: 680px; margin: 0 0 34px; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-grid button {
  min-height: 78px; padding: 16px 20px; background: white; color: var(--ink); text-align: left;
  border: 1px solid var(--line); border-radius: 3px; cursor: pointer; font-weight: 700;
  transition: border .2s, background .2s, transform .2s;
}
.choice-grid button:hover { transform: translateY(-2px); border-color: var(--rust); background: #fffdf8; }
.choice-grid button.selected { border-color: var(--rust); box-shadow: inset 4px 0 0 var(--rust); }
.fit-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 46px; color: var(--muted); font-size: 12px; }
.back-button, .reset-button { padding: 6px 0; background: transparent; color: inherit; border: 0; font-weight: 750; cursor: pointer; }
.back-button:disabled { opacity: .25; cursor: default; }
.fit-controls p { margin: 0; }
.result-summary { max-width: 670px; color: var(--muted); font-size: 17px; }
.result-details { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.result-details div { padding: 22px; background: white; border: 1px solid var(--line); }
.result-details span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.result-details strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.result-actions { display: flex; align-items: center; gap: 22px; }
.button-accent { background: var(--rust); color: white; }
.button-accent:hover { background: var(--ink); }

.site-footer {
  min-height: 150px; padding: 40px clamp(24px, 6.2vw, 96px); display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: #0b2322; color: white;
}
.site-footer > p { margin: 0; color: rgba(255,255,255,.48); font-size: 13px; }
.site-footer .copyright { justify-self: end; }
.footer-logo { display: inline-block; width: fit-content; padding: 9px; background: white; border-radius: 3px; }
.footer-logo-window { position: relative; display: block; width: 140px; height: 116px; overflow: hidden; }
.footer-logo-window img { position: absolute; width: 370px; max-width: none; left: -114px; top: -55px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 145px; }
  .hero-copy { max-width: 880px; }
  .hero-panel { max-width: 720px; margin-top: 60px; }
  .capability-strip { flex-wrap: wrap; padding: 20px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 700px; }
  .system-card { padding: 28px; }
  .path-ribbon { grid-template-columns: 1fr 1fr; }
  .experience { grid-template-columns: 1fr; }
  .proof-grid { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .fit-section { grid-template-columns: 1fr; }
  .fit-intro { position: static; max-width: 760px; }
}

@media (max-width: 760px) {
  .site-header { height: 70px; padding-inline: 20px; }
  .brand-name { font-size: 16px; }
  .brand-symbol { width: 36px; height: 36px; flex-basis: 36px; }
  .brand-symbol img { width: 201px; left: -84px; top: -30px; }
  .menu-toggle {
    display: grid; gap: 5px; width: 42px; height: 42px; padding: 11px; background: transparent;
    border: 1px solid rgba(255,255,255,.3); border-radius: 3px; cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 1px; background: white; }
  .primary-nav {
    position: fixed; inset: 69px 0 auto; display: none; padding: 30px 24px 36px;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.2);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 14px 2px; font-size: 16px; }
  .primary-nav .nav-cta { margin-top: 15px; padding: 13px 18px; text-align: center; }
  .hero { min-height: auto; padding: 125px 24px 0; }
  h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-lede { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .button-primary { width: 100%; }
  .hero-panel { margin-top: 48px; padding: 25px; }
  .capability-strip { justify-content: flex-start; gap: 11px 14px; margin-top: 55px; padding-block: 22px; font-size: 10px; }
  .work-section { padding-inline: 20px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2 { font-size: 44px; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .card-number { margin-bottom: 40px; }
  .path-ribbon { grid-template-columns: 1fr; margin-top: 12px; padding: 30px 24px; gap: 22px; }
  .experience { margin-inline: -20px; }
  .experience-intro { padding: 64px 24px; }
  .experience-portrait { width: 180px; margin: 0 0 42px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid .proof-wide { grid-column: auto; }
  .proof-grid article { min-height: 195px; padding: 34px 24px; }
  .fit-section { padding: 84px 20px; gap: 48px; }
  .fit-intro h2 { font-size: 45px; }
  .fit-tool { min-height: 620px; padding: 30px 20px; }
  .fit-progress { margin-bottom: 45px; }
  .fit-step h3, .fit-result h3 { font-size: 36px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid button { min-height: 66px; }
  .result-details { grid-template-columns: 1fr; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .footer-logo { justify-self: center; }
  .site-footer .copyright { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
