:root {
  --forest: #0D2B24;
  --forest-2: #123329;
  --forest-line: #23453C;
  --forest-row: #1B3B32;
  --forest-stroke: #46665C;
  --oat: #F4F1EA;
  --white: #FFFFFF;
  --line: #DAD5C9;
  --tint: #E6E1D5;
  --muted: #5A5F55;
  --body: #3D443E;
  --mint-muted: #A8BBB3;
  --mint-soft: #C9D6D0;
  --mint-dim: #7F988E;
  --copper: #F0925A;
  --copper-deep: #B8561F;
  --node-off: #C9C3B5;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); color: var(--forest); background: var(--oat); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--copper); color: var(--forest); padding: 12px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--forest); color: var(--oat); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-words { display: flex; flex-direction: column; gap: 4px; }
.brand-name { font-family: var(--mono); font-size: 18px; font-weight: 500; letter-spacing: 0.18em; line-height: 1; }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.5em; line-height: 1; color: var(--copper); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav-links a.tab { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--mint-muted); border-bottom: 2px solid transparent; }
.nav-links a.tab:hover { color: var(--oat); }
.nav-links a.tab[aria-current="page"] { color: var(--oat); border-bottom-color: var(--copper); }
.progress { height: 2px; background: var(--forest-line); }
.progress span { display: block; height: 100%; width: 0; background: var(--copper); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-copper { background: var(--copper); color: var(--forest); }
.btn-copper:hover { background: #F4A676; }
.btn-ghost { border: 1px solid var(--forest-stroke); color: var(--oat); font-weight: 600; }
.btn-ghost:hover { border-color: var(--oat); }

/* Type helpers */
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-deep); }
.dark .eyebrow, .eyebrow.on-dark { color: var(--copper); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.h1 { font-size: clamp(42px, 6.4vw, 92px); font-weight: 800; font-stretch: 88%; line-height: 0.98; letter-spacing: -0.02em; }
.h2 { font-size: clamp(32px, 4.2vw, 58px); font-weight: 800; font-stretch: 90%; line-height: 1.02; letter-spacing: -0.015em; }
.lead { font-size: 20px; color: var(--mint-soft); max-width: 620px; }
.intro { font-size: 19px; color: var(--body); }
.dark { background: var(--forest); color: var(--oat); }
.dark .intro { color: var(--mint-soft); }
.white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding: 104px 0; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* Hero */
.hero-inner { display: flex; flex-wrap: wrap; gap: 56px 64px; align-items: flex-end; padding-top: 88px; padding-bottom: 96px; }
.hero-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-panel { flex: 1 1 380px; min-width: 0; border: 1px solid var(--forest-line); background: var(--forest-2); }
.panel-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--forest-line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mint-muted); }
.panel-head .accent { color: var(--copper); }
.panel-list { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.panel-list li { display: flex; gap: 16px; align-items: baseline; padding: 15px 20px; border-bottom: 1px solid var(--forest-row); font-size: 17px; font-weight: 500; counter-increment: p; }
.panel-list li:last-child { border-bottom: 0; }
.panel-list li::before { content: counter(p, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--mint-dim); }
.panel-list.plain li::before { content: none; }
.panel-list.dim li { color: var(--mint-muted); font-weight: 400; }
@media (max-width: 640px) { .hero-inner { padding-top: 56px; padding-bottom: 64px; } }

/* Fact strip */
.facts { border-bottom: 1px solid var(--line); }
.facts .wrap { display: flex; flex-wrap: wrap; }
.fact { flex: 1 1 260px; padding: 32px 24px 32px 0; display: flex; flex-direction: column; gap: 6px; }
.fact strong { font-size: 19px; font-weight: 600; }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; margin-bottom: 56px; }
.sec-head > div { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sec-head > p { flex: 1 1 420px; min-width: 0; }
.sec-head.stack { flex-direction: column; align-items: flex-start; max-width: 820px; }
.sec-head.stack > div, .sec-head.stack > p { flex: none; }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 300px; min-width: 0; background: var(--white); border: 1px solid var(--line); padding: 34px 30px 38px; display: flex; flex-direction: column; gap: 16px; }
.card.narrow { flex-basis: 250px; }
.card .num { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card h3 { font-size: 28px; font-weight: 800; font-stretch: 90%; line-height: 1.08; }
.card.small h3 { font-size: 23px; }
.card p { font-size: 17px; color: var(--body); }
.card.small p { font-size: 16px; }
.card.inverse { background: var(--forest); border-color: var(--forest); color: var(--oat); }
.card.inverse .num { color: var(--copper); }
.card.inverse p { color: var(--mint-soft); }
.card .tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }

/* Scroll timeline */
.process { display: flex; flex-wrap: wrap; gap: 48px 72px; }
.process-head { flex: 1 1 320px; min-width: 0; align-self: flex-start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.process-head p:not(.eyebrow) { font-size: 18px; color: var(--body); }
@media (max-width: 900px) { .process-head { position: static; } }
.timeline { flex: 999 1 520px; min-width: 0; position: relative; padding-left: 64px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 14px; bottom: 0; width: 2px; background: var(--tint); }
.timeline .fill { position: absolute; left: 23px; top: 14px; width: 2px; height: 0; background: var(--copper-deep); }
.step { position: relative; padding-bottom: 56px; }
.step:last-child { padding-bottom: 8px; }
.step .node { position: absolute; left: -50px; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--node-off); background: var(--white); transition: background-color .3s, border-color .3s; }
.step .body { display: flex; flex-direction: column; gap: 10px; max-width: 680px; opacity: .4; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.step.on .node { background: var(--copper-deep); border-color: var(--copper-deep); }
.step.on .body { opacity: 1; transform: none; }
.no-js .step .body { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .step .body { transition: none; } .step .node { transition: none; } }
.step .label { color: var(--copper-deep); letter-spacing: 0.08em; }
.step h3 { font-size: 26px; font-weight: 800; font-stretch: 92%; line-height: 1.1; }
.step p { font-size: 17px; color: var(--body); }
@media (max-width: 640px) { .timeline { padding-left: 48px; } .timeline::before, .timeline .fill { left: 15px; } .step .node { left: -42px; } }

/* Sectors */
.grid-lines { display: flex; flex-wrap: wrap; border-top: 1px solid var(--forest-line); border-left: 1px solid var(--forest-line); }
.grid-lines > div { flex: 1 1 280px; min-width: 0; padding: 28px 24px 32px; border-right: 1px solid var(--forest-line); border-bottom: 1px solid var(--forest-line); display: flex; flex-direction: column; gap: 10px; }
.grid-lines h3 { font-size: 21px; font-weight: 700; }
.grid-lines p { font-size: 15px; color: var(--mint-muted); }

/* Fit strip */
.fit { display: flex; flex-wrap: wrap; gap: 24px 64px; border-top: 3px solid var(--forest); padding-top: 32px; }
.fit > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fit p:not(.eyebrow) { font-size: 21px; font-weight: 600; line-height: 1.4; }

/* Values */
.values { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.values > div { flex: 1 1 260px; min-width: 0; padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 10px; }
.values .num { font-family: var(--mono); font-size: 13px; color: var(--copper-deep); }
.values h3 { font-size: 23px; font-weight: 800; font-stretch: 92%; }
.values p { font-size: 16px; color: var(--body); }

/* Split */
.split { display: flex; flex-wrap: wrap; margin-top: 72px; border: 1px solid var(--line); background: var(--white); }
.split > div { flex: 1 1 400px; min-width: 0; padding: 40px 36px 44px; display: flex; flex-direction: column; gap: 20px; }
.split > div:first-child { border-right: 1px solid var(--line); }
@media (max-width: 860px) { .split > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); } }
.split h3 { font-size: 28px; font-weight: 800; font-stretch: 90%; line-height: 1.1; }
.split ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; color: var(--body); }
.split li { padding-top: 14px; border-top: 1px solid var(--tint); }

/* Team */
.team { display: flex; flex-wrap: wrap; gap: 24px; }
.person { flex: 1 1 440px; min-width: 0; background: var(--oat); border: 1px solid var(--line); display: flex; flex-wrap: wrap; }
.person .mono-avatar { flex: 0 0 160px; min-height: 200px; background: var(--forest); color: var(--oat); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 34px; letter-spacing: 0.08em; }
.person .mono-avatar span { color: var(--copper); }
.person .info { flex: 1 1 240px; min-width: 0; padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.person h3 { font-size: 26px; font-weight: 800; font-stretch: 92%; }
.person .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--copper-deep); }
.person p { font-size: 16px; color: var(--body); }
.person p.creds { font-size: 14px; color: var(--muted); }

/* Contact */
.contact-inner { display: flex; flex-wrap: wrap; gap: 56px 80px; padding-top: 104px; padding-bottom: 104px; }
.contact-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-copy .h2 { font-size: clamp(32px, 4.6vw, 62px); line-height: 1; }
.contact-details { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; font-size: 17px; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-details .city { color: var(--mint-muted); }
.form { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--mint-soft); }
.field input, .field textarea { width: 100%; padding: 0 14px; height: 52px; background: var(--forest-2); border: 1px solid var(--forest-stroke); color: var(--oat); font-size: 16px; font-family: inherit; border-radius: 0; }
.field textarea { height: auto; padding: 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--copper); outline: none; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: 13px; color: var(--mint-muted); }
.fine a { color: var(--mint-soft); }
@media (max-width: 640px) { .contact-inner { padding-top: 72px; padding-bottom: 72px; } }

/* Footer */
.footer { border-top: 1px solid var(--forest-line); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; padding-top: 36px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0.18em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer-links a { color: var(--mint-soft); text-decoration: none; }
.footer-links a:hover { color: var(--oat); }
.footer .fine { flex: 1 1 100%; }

/* Simple pages */
.simple { padding: 88px 0 104px; }
.simple .prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; color: var(--body); }
.simple .prose h2 { font-size: 24px; font-weight: 800; color: var(--forest); margin-top: 16px; }

@media (max-width: 720px) {
  .site-header { position: relative; }
  html { scroll-padding-top: 16px; }
  .nav { padding: 12px 0; }
  .nav-links { gap: 0 18px; }
  .nav-links a.tab { font-size: 14px; }
  .nav-links .btn { display: none; }
}
