:root {
  --graphite: #272b27;
  --paper: #f5f3ec;
  --lime: #c5de58;
  --sage: #dce1d6;
  --moss: #686d66;
  --white: #ffffff;
  --ink: var(--graphite);
  --line: rgba(39, 43, 39, 0.18);
  --shadow: 0 18px 40px rgba(39, 43, 39, 0.08);
  --page: min(1200px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.19em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 0.96; letter-spacing: -0.055em; }
h1 { max-width: 850px; margin-bottom: 30px; font-size: clamp(3.15rem, 8.4vw, 7.2rem); font-weight: 800; }
h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 5.2vw, 4.8rem); font-weight: 750; }
h3 { margin-bottom: 8px; font-size: clamp(1.55rem, 2.5vw, 2.35rem); font-weight: 750; }
p { margin-bottom: 0; }

.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 16px; transform: translateY(-160%); background: var(--lime); color: var(--graphite); font-weight: 700; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }

.site-header { width: var(--page); min-height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: max(190px, 15vw); min-width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 42px); font-size: 0.9rem; font-weight: 700; }
.main-nav a { text-decoration: none; }
.main-nav > a:not(.nav-cta):hover { text-decoration: underline; }
.nav-cta { padding: 11px 16px; border: 1px solid var(--graphite); }
.nav-cta:hover { background: var(--graphite); color: var(--paper); }
.menu-button { display: none; }

.hero { min-height: min(810px, calc(100vh - 92px)); position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__grid { width: var(--page); min-height: 650px; margin: 0 auto; padding: clamp(60px, 8vw, 118px) 0 72px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.61fr); grid-template-areas: "eyebrow visual" "copy visual" "marker visual"; gap: 16px clamp(34px, 5vw, 74px); align-content: center; }
.eyebrow, .section-label, .stream__number, .marker__number, .stream__tag, .method__steps > li > span { font-family: "Courier New", monospace; font-size: 0.72rem; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.hero .eyebrow { grid-area: eyebrow; align-self: end; }
.hero__copy { grid-area: copy; }
.intro { max-width: 610px; font-size: clamp(1.1rem, 1.7vw, 1.38rem); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 17px 20px; border: 1px solid var(--graphite); font-weight: 800; line-height: 1; text-decoration: none; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--graphite); color: var(--paper); }
.button--primary:hover { background: var(--moss); }
.text-link { font-weight: 700; }
.text-link:hover { color: var(--moss); }
.hero__marker { grid-area: marker; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 18px 0 3px 25px; border-left: 1px solid var(--graphite); font-size: clamp(1rem, 1.55vw, 1.25rem); line-height: 1.25; }
.marker__number { color: var(--moss); }
.hero__visual { grid-area: visual; position: relative; align-self: center; margin: 0; border: 11px solid var(--white); background: var(--white); box-shadow: var(--shadow); transform: rotate(1.2deg); }
.hero__visual img { width: 100%; height: clamp(430px, 45vw, 620px); object-fit: cover; object-position: 71% center; }
.hero__visual figcaption, .flow-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px 0; color: var(--moss); font-family: "Courier New", monospace; font-size: 0.62rem; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__visual figcaption span:last-child { text-align: right; }
.hero__rail { position: absolute; inset: 0; pointer-events: none; }
.hero__rail::before { content: ""; position: absolute; width: 44vw; height: 44vw; min-width: 460px; min-height: 460px; right: -15vw; top: 5%; border: 1px solid rgba(39, 43, 39, 0.11); border-radius: 50%; }
.hero__rail span { position: absolute; bottom: 28%; left: 0; width: 19%; height: 8px; background: var(--lime); }
.hero__footer { width: var(--page); margin: 0 auto; padding-bottom: 20px; display: flex; justify-content: space-between; gap: 24px; color: var(--moss); font-family: "Courier New", monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }

.statement, .method { width: var(--page); margin: 0 auto; padding: clamp(78px, 11vw, 150px) 0; }
.section-label { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--moss); }
.statement__copy { width: min(880px, 100%); margin: clamp(35px, 6vw, 76px) 0 0 auto; }
.statement__copy p, .method__intro p { max-width: 630px; margin-left: 1px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; }

.workstreams { padding: clamp(78px, 11vw, 150px) max(24px, calc((100vw - 1200px) / 2)); background: var(--graphite); color: var(--paper); }
.section-label--light { border-color: rgba(245, 243, 236, 0.24); color: var(--sage); }
.workstreams__lead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.61fr); gap: clamp(36px, 7vw, 102px); align-items: end; margin: clamp(38px, 6vw, 80px) 0 clamp(45px, 7vw, 92px); }
.workstreams__heading { width: min(680px, 100%); }
.workstreams__heading p { max-width: 540px; color: var(--sage); font-size: clamp(1.05rem, 1.55vw, 1.25rem); }
.flow-figure { margin: 0; padding: 12px; background: var(--paper); color: var(--graphite); transform: rotate(-1.2deg); }
.flow-figure img { width: 100%; height: auto; }
.flow-figure figcaption { padding: 12px 3px 2px; color: var(--graphite); }
.flow-figure figcaption span:last-child { max-width: 150px; text-align: right; color: var(--moss); }
.stream-list { display: flex; flex-direction: column; gap: 0; }
.stream { width: min(960px, 100%); margin-left: 0; padding: 30px 0; display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(120px, 0.38fr); gap: 20px; align-items: center; border-top: 1px solid rgba(245, 243, 236, 0.24); }
.stream:nth-child(even) { margin-left: auto; }
.stream h3 { margin-bottom: 8px; }
.stream p:not(.stream__number) { max-width: 580px; color: var(--sage); }
.stream__number { color: var(--lime); }
.stream__tag { color: var(--sage); text-align: right; }

.method__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr); gap: clamp(38px, 9vw, 150px); padding-top: clamp(38px, 6vw, 80px); }
.method__intro h2 { max-width: 640px; }
.method__steps { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.method__steps li { display: grid; grid-template-columns: 58px 1fr; gap: 17px; padding: 27px 0; border-top: 1px solid var(--line); }
.method__steps li:last-child { border-bottom: 1px solid var(--line); }
.method__steps > li > span { color: var(--moss); padding-top: 5px; }
.method__steps h3 { margin-bottom: 8px; font-size: 1.42rem; }
.method__steps p { color: var(--moss); }

.contact { padding: clamp(72px, 10vw, 134px) max(24px, calc((100vw - 1200px) / 2)); background: var(--lime); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.55fr); gap: clamp(42px, 8vw, 130px); align-items: end; }
.eyebrow--lime { margin-bottom: 18px; }
.contact h2 { max-width: 730px; margin-bottom: 24px; }
.contact__grid > div:first-child > p:last-child { max-width: 590px; font-size: 1.1rem; line-height: 1.5; }
.contact__action { display: flex; flex-direction: column; align-items: flex-start; gap: 27px; }
.button--lime { width: 100%; background: var(--graphite); color: var(--paper); }
.button--lime:hover { background: var(--moss); }
.contact__action p { line-height: 1.55; }
.contact__action a:not(.button) { font-weight: 800; }
.contact__action span { color: rgba(39, 43, 39, 0.75); }

.site-footer { padding: 51px max(24px, calc((100vw - 1200px) / 2)); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; background: var(--graphite); color: var(--paper); }
.brand--footer { grid-column: 1 / -1; }
.site-footer p { color: var(--sage); }
.site-footer nav { display: flex; justify-content: flex-end; gap: 24px; }
.site-footer nav a:hover { color: var(--lime); }
.footer__meta { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(245, 243, 236, 0.22); color: var(--moss) !important; font-family: "Courier New", monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { width: var(--page); flex: 1; margin: 0 auto; padding: clamp(68px, 10vw, 130px) 0; }
.legal-main h1 { max-width: 900px; font-size: clamp(3rem, 7vw, 6.1rem); }
.legal-main h2 { margin: 58px 0 14px; font-size: clamp(1.6rem, 2.8vw, 2.35rem); }
.legal-main p, .legal-main li { max-width: 780px; font-size: 1.05rem; line-height: 1.65; }
.legal-main ul { padding-left: 1.25em; }
.legal-notice { max-width: 850px; margin: 38px 0; padding: 24px; background: var(--sage); border-left: 8px solid var(--lime); }
.legal-notice strong { display: block; margin-bottom: 8px; }
.back-link { display: inline-flex; gap: 10px; margin-bottom: 45px; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  :root { --page: min(100% - 36px, 1200px); }
  .site-header { min-height: 76px; position: relative; }
  .brand img { width: 190px; }
  .menu-button { width: 54px; min-height: 48px; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 5px; border: 0; background: transparent; color: var(--graphite); cursor: pointer; }
  .menu-button__label { font-family: "Courier New", monospace; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
  .menu-button__line { display: block; width: 23px; height: 2px; background: currentColor; transition: transform 180ms ease; }
  .site-header.is-open .menu-button__line:first-of-type { transform: translateY(4px) rotate(45deg); }
  .site-header.is-open .menu-button__line:last-of-type { transform: translateY(-3px) rotate(-45deg); }
  .main-nav { width: 100%; position: absolute; z-index: 10; top: 75px; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.is-open .main-nav { display: flex; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { margin-top: 12px; border: 1px solid var(--graphite); text-align: center; }
  .hero { min-height: auto; }
  .hero__grid { min-height: auto; padding: 75px 0 66px; grid-template-columns: 1fr; grid-template-areas: "eyebrow" "copy" "visual" "marker"; gap: 25px; }
  h1 { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  .hero__visual { max-width: 470px; justify-self: end; margin: 12px 9px 3px 0; }
  .hero__visual img { height: auto; max-height: 360px; object-position: 68% center; }
  .hero__marker { min-height: 135px; padding: 16px 0 0 19px; }
  .hero__footer { flex-direction: column; gap: 7px; padding-bottom: 18px; }
  .hero__rail::before { right: -79vw; top: 20%; }
  .hero__rail span { width: 36%; bottom: 17%; }
  .stream { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 25px 0; }
  .stream__tag { grid-column: 2; text-align: left; }
  .workstreams__lead, .method__grid, .contact__grid { grid-template-columns: 1fr; }
  .flow-figure { width: min(490px, 100%); justify-self: end; }
  .contact__grid { gap: 38px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
