:root {
  color-scheme: light;
  --ink: #102d31;
  --ink-deep: #082327;
  --ink-soft: #29484d;
  --paper: #f5f3ed;
  --paper-cool: #e9efed;
  --paper-blue: #dce8e7;
  --white: #fffefa;
  --text: #1b3438;
  --muted: #485f63;
  --line: #b7c4c1;
  --line-dark: rgba(245, 243, 237, 0.22);
  --sea: #37666b;
  --sea-light: #8fb0b2;
  --rust: #a94d34;
  --rust-dark: #813521;
  --serif: "Newsreader", Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --wide: 1240px;
  --pad: clamp(20px, 4.8vw, 72px);
  --section: clamp(76px, 9vw, 124px);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

section,
.case-study,
.form-privacy { scroll-margin-top: 92px; }

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea { font: inherit; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.035em;
}

::selection { color: var(--white); background: var(--rust-dark); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

.shell {
  width: min(100%, var(--wide));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow,
.card-index,
.case-label,
.flow-number,
.schematic-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.eyebrow { color: var(--rust); }
.eyebrow.dark { color: var(--rust-dark); }
.eyebrow.light { color: var(--sea-light); }
.standards-section .eyebrow.light { color: var(--rust-dark); }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button-signal { color: var(--white); background: var(--ink); }
.button-signal:hover { background: var(--rust-dark); border-color: var(--rust-dark); }
.button-ghost { color: var(--ink); background: transparent; }
.button-ghost:hover { color: var(--white); background: var(--ink); }

/* Header */

.topbar {
  position: sticky;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.5vw, 30px);
  padding: 10px var(--pad);
  color: var(--ink);
  background: rgba(245, 243, 237, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar.is-solid { background: rgba(245, 243, 237, 0.985); }

.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--ink);
  font: 600 0.75rem/1 var(--mono);
  letter-spacing: -0.05em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; white-space: nowrap; }
.brand-copy span { margin-top: 4px; color: var(--muted); font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; }

.nav { flex: 0 0 auto; display: flex; align-items: center; gap: clamp(18px, 2.5vw, 34px); font-size: 0.86rem; font-weight: 500; }
.nav a:not(.nav-cta) { padding-block: 8px; border-bottom: 1px solid transparent; }
.nav a:not(.nav-cta):hover { border-bottom-color: var(--ink); }
.nav-cta { padding: 10px 15px; color: var(--white); background: var(--ink); border: 1px solid var(--ink); }
.nav-cta:hover { background: var(--rust-dark); border-color: var(--rust-dark); }

/* Hero */

.hero {
  width: min(100%, var(--wide));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  grid-template-areas: "copy media";
  gap: clamp(48px, 6.5vw, 88px);
  align-items: center;
  padding: clamp(50px, 5vw, 70px) var(--pad) clamp(68px, 7vw, 96px);
}

.hero-copy { grid-area: copy; max-width: 680px; }
.hero h1 {
  max-width: 12ch;
  margin-top: 22px;
  font-size: clamp(3.8rem, 5.3vw, 5.6rem);
  line-height: 0.96;
  text-wrap: balance;
}
.hero h1 span { display: block; color: var(--sea); font-style: italic; font-weight: 500; }
.hero-lede { max-width: 58ch; margin-top: 28px; color: var(--ink-soft); font-size: clamp(1.08rem, 1.5vw, 1.27rem); line-height: 1.55; }
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-proof { max-width: 59ch; margin-top: 18px; color: var(--muted); font-size: 0.96rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }

.hero-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-rail div { display: grid; gap: 7px; }
.hero-rail dt { color: var(--rust-dark); font: 600 0.75rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-rail dd { color: var(--ink-soft); font-size: 0.82rem; line-height: 1.4; }

.hero-media {
  grid-area: media;
  align-self: stretch;
  min-height: 560px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  background: var(--paper-cool);
}
.hero-media img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 54% center; filter: saturate(0.72) contrast(0.96); }
.field-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 12px 15px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font: 500 0.75rem/1.35 var(--mono);
}
.field-note span { color: var(--rust-dark); text-transform: uppercase; letter-spacing: 0.06em; }

/* Shared section headers */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}
.section-head h2 { max-width: 15ch; margin-top: 17px; font-size: clamp(2.8rem, 4.9vw, 4.7rem); line-height: 0.98; }
.section-head > p { max-width: 47ch; color: var(--muted); }

/* Decisions */

.decision-section { padding: var(--section) 0; background: var(--paper-cool); border-block: 1px solid var(--line); }
.decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(52px, 7vw, 78px); border-block: 1px solid var(--line); }
.decision-card { min-height: 380px; display: flex; flex-direction: column; padding: 30px clamp(24px, 3vw, 42px) 34px 0; }
.decision-card + .decision-card { padding-left: clamp(24px, 3vw, 42px); border-left: 1px solid var(--line); }
.decision-card:last-child { padding-right: 0; }
.card-index { color: var(--rust-dark); }
.decision-card h3 { max-width: 8ch; margin-top: 54px; font-size: clamp(2.15rem, 3vw, 3.1rem); line-height: 0.98; }
.decision-card > p:not(.card-index) { max-width: 36ch; margin-top: 20px; color: var(--ink-soft); }
.decision-card ul { display: grid; gap: 9px; margin-top: auto; padding-top: 30px; list-style: none; border-top: 1px solid var(--line); }
.decision-card li { position: relative; padding-left: 17px; color: var(--muted); font-size: 0.86rem; line-height: 1.48; }
.decision-card li::before { content: "—"; position: absolute; left: 0; color: var(--rust); }

/* System */

.system-section { padding: var(--section) 0; color: var(--paper); background: var(--ink-deep); }
.system-section .shell { display: grid; grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr); gap: clamp(60px, 10vw, 150px); }
.system-intro { position: sticky; top: 118px; align-self: start; }
.system-intro h2 { max-width: 10ch; margin-top: 18px; color: var(--white); font-size: clamp(3rem, 5vw, 5rem); line-height: 0.96; }
.system-intro > p:last-child { max-width: 40ch; margin-top: 26px; color: rgba(245, 243, 237, 0.65); }
.system-flow { list-style: none; border-top: 1px solid var(--line-dark); }
.system-flow li { display: grid; grid-template-columns: 62px 1fr; gap: 24px; padding: 29px 0 34px; border-bottom: 1px solid var(--line-dark); }
.flow-number { color: var(--sea-light); padding-top: 5px; }
.system-flow h3 { color: var(--white); font-size: 1.9rem; line-height: 1; }
.system-flow p { max-width: 60ch; margin-top: 10px; color: rgba(245, 243, 237, 0.64); font-size: 0.94rem; }

/* Case study */

.work-section { padding: var(--section) 0; background: var(--paper); }
.case-study {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1.58fr);
  margin-top: clamp(52px, 7vw, 80px);
  border-block: 1px solid var(--line);
}
.case-visual { min-height: 620px; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 46px); color: var(--paper); background: var(--ink); }
.schematic-label { color: var(--sea-light); }
.case-record { display: grid; gap: 22px; margin-top: 72px; }
.case-record p { display: grid; gap: 4px; color: var(--white); font-family: var(--serif); font-size: 1.22rem; line-height: 1.25; }
.case-record span { color: var(--sea-light); font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.case-axis { display: grid; gap: 15px; margin-top: auto; padding-top: 30px; border-top: 1px solid var(--line-dark); color: rgba(245, 243, 237, 0.72); font: 500 0.75rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: 0.05em; }
.case-axis i { width: 44px; height: 1px; background: var(--sea-light); }
.case-copy { padding: clamp(40px, 5vw, 64px); border-left: 1px solid var(--line); }
.case-label { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--sea); }
.case-label span:last-child { color: var(--rust); }
.case-copy h3 { max-width: 17ch; margin-top: 24px; font-size: clamp(2.7rem, 4.2vw, 4.1rem); line-height: 0.98; }
.case-lede { max-width: 68ch; margin-top: 28px; color: var(--ink-soft); font-size: 1rem; line-height: 1.68; }
.case-boundary { display: grid; grid-template-columns: 145px 1fr; gap: 17px 28px; margin-top: 34px; padding-top: 27px; border-top: 1px solid var(--line); }
.case-boundary strong { font-family: var(--serif); font-size: 1rem; }
.case-boundary p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.case-footnote { max-width: 66ch; margin-top: 30px; padding: 2px 0 2px 19px; color: var(--ink); border-left: 2px solid var(--rust); font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; }

/* Standards */

.standards-section { padding: var(--section) 0; background: var(--paper-blue); border-block: 1px solid var(--line); }
.standards-grid { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr); gap: clamp(64px, 10vw, 150px); }
.standards-copy { position: sticky; top: 118px; align-self: start; }
.standards-copy h2 { max-width: 9ch; margin-top: 17px; font-size: clamp(3rem, 5.2vw, 5.2rem); line-height: 0.96; }
.standards-copy > p:last-child { max-width: 45ch; margin-top: 27px; color: var(--ink-soft); }
.standards-list { border-top: 1px solid var(--line); }
.standards-list article { display: grid; grid-template-columns: 88px minmax(170px, 0.85fr) minmax(190px, 1.15fr); gap: 24px; padding: 25px 0 29px; border-bottom: 1px solid var(--line); }
.standards-list span { color: var(--rust-dark); font: 600 0.75rem/1.4 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; }
.standards-list h3 { font-size: 1.4rem; line-height: 1.08; }
.standards-list p { color: var(--muted); font-size: 0.88rem; }

/* Scope */

.scope-section { padding: var(--section) 0; background: var(--white); }
.scope-grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr); gap: 62px clamp(60px, 9vw, 140px); }
.scope-grid h2 { max-width: 14ch; margin-top: 17px; font-size: clamp(2.8rem, 4.7vw, 4.7rem); line-height: 0.98; }
.hazard-list { align-self: end; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.hazard-list span { padding: 13px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; }
.hazard-list span:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.authority-note { grid-column: 1 / -1; display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 40px; padding-top: 31px; border-top: 1px solid var(--line); }
.authority-note strong { color: var(--rust-dark); font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.authority-note p { max-width: 75ch; color: var(--muted); }

/* Contact */

.contact-section { padding: var(--section) 0; color: var(--paper); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(400px, 1.15fr); gap: clamp(60px, 10vw, 150px); }
.contact-copy h2 { max-width: 8ch; margin-top: 18px; color: var(--white); font-size: clamp(3.2rem, 5.6vw, 5.8rem); line-height: 0.95; }
.contact-copy > p { max-width: 44ch; margin-top: 27px; color: rgba(245, 243, 237, 0.68); }
.contact-checklist { display: grid; margin-top: 38px; border-top: 1px solid var(--line-dark); }
.contact-checklist span { padding: 12px 0; color: rgba(245, 243, 237, 0.8); border-bottom: 1px solid var(--line-dark); font-size: 0.88rem; }
.form { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px); color: var(--text); background: var(--paper); border-top: 4px solid var(--rust); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; color: var(--ink); font-size: 0.83rem; font-weight: 600; }
.form em { color: var(--muted); font-style: normal; font-weight: 400; }
.form input,
.form textarea { width: 100%; color: var(--text); background: var(--white); border: 1px solid #6f8582; border-radius: 0; padding: 13px 14px; }
.form input { height: 50px; }
.form textarea { min-height: 148px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: 3px solid rgba(169, 77, 52, 0.24); border-color: var(--rust-dark); }
.privacy-note { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.form-privacy { padding-top: 17px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.86rem; line-height: 1.7; }
.form-privacy summary { color: var(--ink); cursor: pointer; font-weight: 600; }
.form-privacy p { margin-top: 12px; }
.form-privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form-fallback { color: var(--muted); font-size: 0.86rem; }
.form-fallback a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-submit { justify-self: start; cursor: pointer; }
.form-submit:disabled { cursor: not-allowed; opacity: 0.52; }
.form-status { min-height: 1.4em; color: var(--muted); font-size: 0.84rem; }
.form-status.is-ok { color: #245f49; }
.form-status.is-error { color: #9c3925; }
.form-status.is-pending { color: var(--sea); }

/* Footer and 404 */

.footer { padding: 34px 0; color: rgba(245, 243, 237, 0.66); background: var(--ink-deep); border-top: 1px solid var(--line-dark); }
.footer-grid { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.footer strong { color: var(--white); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.footer p { margin-top: 4px; font-size: 0.78rem; }
.footer-grid > p { max-width: 58ch; text-align: right; }

.notfound { min-height: 100vh; display: grid; place-items: center; padding: 70px 0; background: var(--paper); }
.notfound .shell { max-width: 900px; }
.notfound .kicker { color: var(--rust-dark); font: 600 0.75rem/1 var(--mono); letter-spacing: 0.11em; text-transform: uppercase; }
.notfound .h-lead { max-width: 10ch; margin-top: 19px; font-size: clamp(3rem, 7vw, 6.6rem); line-height: 0.95; }
.notfound .sub-lead { max-width: 56ch; margin-top: 27px; color: var(--muted); }
.notfound .sub-lead a { text-decoration: underline; text-underline-offset: 3px; }
.notfound-cta { margin-top: 30px; }
.notfound .btn { display: inline-flex; padding: 13px 18px; color: var(--white); background: var(--ink); font-weight: 600; }

/* Responsive */

@media (max-width: 1080px) {
  .nav > a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr); gap: 44px; }
  .hero h1 { font-size: clamp(3.6rem, 6.2vw, 4.7rem); }
  .hero-media { min-height: 510px; }
  .standards-list article { grid-template-columns: 72px 1fr; }
  .standards-list p { grid-column: 2; }
}

@media (max-width: 850px) {
  .topbar { min-height: 70px; }
  .brand-copy span { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "media"; gap: 42px; padding-top: 46px; }
  .hero-copy { max-width: 720px; }
  .hero h1 { max-width: 12ch; font-size: clamp(3.2rem, 8.5vw, 4.3rem); }
  .hero-media { min-height: 430px; }
  .section-head,
  .system-section .shell,
  .standards-grid,
  .scope-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-card { min-height: 0; padding: 31px 0 36px; }
  .decision-card + .decision-card { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .decision-card h3 { margin-top: 28px; }
  .decision-card ul { margin-top: 34px; }
  .system-intro,
  .standards-copy { position: static; }
  .system-intro h2,
  .standards-copy h2 { max-width: 12ch; }
  .case-study { grid-template-columns: 1fr; }
  .case-visual { min-height: 350px; }
  .case-record { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
  .case-copy { padding-inline: 0; border-left: 0; }
  .authority-note { grid-column: auto; }
  .contact-grid { gap: 52px; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .topbar { min-height: 64px; padding-inline: 15px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; font-size: 0.75rem; }
  .brand-copy strong { font-size: 0.8rem; }
  .nav-cta { padding: 9px 10px; font-size: 0.75rem; }
  .hero { gap: 30px; padding-top: 34px; }
  .hero h1 { max-width: 12ch; margin-top: 16px; font-size: clamp(2.55rem, 11.5vw, 2.95rem); line-height: 0.98; }
  .hero-lede { margin-top: 22px; font-size: 1.03rem; }
  .hero-proof { margin-top: 15px; font-size: 0.92rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button { width: 100%; padding-inline: 14px; }
  .hero-actions { margin-top: 24px; }
  .hero-rail { grid-template-columns: 1fr; gap: 0; margin-top: 26px; padding-top: 0; }
  .hero-rail div { grid-template-columns: 76px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .hero-media { min-height: 300px; }
  .field-note { font-size: 0.75rem; }
  .section-head h2,
  .scope-grid h2 { font-size: clamp(2.45rem, 11.5vw, 3.2rem); }
  .decision-card h3 { font-size: 2.4rem; }
  .system-intro h2,
  .standards-copy h2,
  .contact-copy h2 { font-size: clamp(2.75rem, 13vw, 3.8rem); }
  .system-flow li { grid-template-columns: 44px 1fr; gap: 12px; padding-block: 25px 29px; }
  .system-flow h3 { font-size: 1.65rem; }
  .case-visual { min-height: 380px; padding: 28px 24px; }
  .case-record { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .case-record p { font-size: 1.05rem; }
  .case-copy { padding-block: 36px; }
  .case-copy h3 { font-size: clamp(2.3rem, 10.2vw, 2.85rem); }
  .case-boundary { grid-template-columns: 1fr; gap: 8px; }
  .case-boundary p + strong { margin-top: 10px; }
  .standards-list article { grid-template-columns: 1fr; gap: 9px; }
  .standards-list p { grid-column: auto; }
  .hazard-list { grid-template-columns: 1fr; }
  .hazard-list span:nth-child(even) { padding-left: 0; border-left: 0; }
  .authority-note { grid-template-columns: 1fr; gap: 13px; }
  .form { gap: 18px; padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-privacy { font-size: 0.875rem; line-height: 1.68; }
  .footer-grid { display: grid; align-items: start; }
  .footer-grid > p { text-align: left; }
}

@media (max-width: 360px) {
  .brand-copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
