:root {
  --paper: #f2f0e8;
  --paper-2: #e7e5dc;
  --ink: #122019;
  --forest: #102c22;
  --forest-2: #173d30;
  --signal: #ffcf3f;
  --signal-2: #eea940;
  --line: rgba(18, 32, 25, .22);
  --light-line: rgba(255, 255, 255, .2);
  --muted: #657068;
  --white: #fbfbf7;
  --radius: 0;
  --pad: clamp(1rem, 4vw, 4.5rem);
  --max: 1480px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: .22;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 3px solid #3d82ff; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--signal); color: var(--ink); padding: .8rem 1rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem var(--pad);
  max-width: var(--max);
  margin-inline: auto;
  color: var(--white);
  border-bottom: 1px solid var(--light-line);
}
.brand { display: inline-flex; align-items: center; gap: .75rem; width: fit-content; font-weight: 800; font-size: .88rem; line-height: .95; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.nav-links { display: flex; gap: 2.25rem; font-size: .82rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.site-header > .button { justify-self: end; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid transparent;
  padding: .85rem 1.2rem;
  text-decoration: none;
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: .55rem 1rem; font-size: .78rem; }
.button--light { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.button--light:hover { background: var(--white); color: var(--ink); }
.button--accent { color: var(--ink); background: var(--signal); border-color: var(--signal); }
.button--accent:hover { background: #ffdb67; }
.button--ink { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button--ink:hover { background: #29372f; }
.button--full { width: 100%; justify-content: space-between; padding-inline: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; font-size: .85rem; font-weight: 700; }

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: clamp(8rem, 13vh, 10rem) var(--pad) 5rem;
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.07) 50%, transparent 50.1%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    var(--forest);
  background-size: 100% 100%, 100% 8rem, auto;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -22vw;
  width: 55vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.09);
  transform: rotate(45deg);
}
.hero-grid { position: relative; z-index: 1; max-width: var(--max); margin-inline: auto; min-height: calc(min(900px, 100svh) - 13rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.hero-copy { max-width: 830px; }
.eyebrow { margin: 0 0 1.4rem; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: rgba(255,255,255,.62); }
.pulse { display: inline-block; width: 8px; height: 8px; margin-right: .55rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(255,207,63,.12); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 0; font-weight: 800; line-height: .95; letter-spacing: -.055em; }
h1 { max-width: 900px; font-size: clamp(3.15rem, 7.2vw, 7.4rem); }
h1 em { display: block; color: var(--signal); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.04em; }
.hero-lead { max-width: 710px; margin: 2rem 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.7rem; margin-top: 2.5rem; }

.control-board { position: relative; border: 1px solid rgba(255,255,255,.35); background: rgba(7,22,16,.46); backdrop-filter: blur(10px); box-shadow: 24px 24px 0 rgba(0,0,0,.12); }
.control-board::before { content: ""; position: absolute; inset: -10px 10px 10px -10px; border-left: 1px solid rgba(255,255,255,.12); border-top: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.board-head { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--light-line); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.status { color: var(--signal); }
.status i { display: inline-block; width: 6px; height: 6px; margin-right: .35rem; border-radius: 50%; background: currentColor; }
.board-flow { list-style: none; margin: 0; padding: 1.2rem 1rem; }
.board-flow li { position: relative; display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; min-height: 72px; border-bottom: 1px solid var(--light-line); color: rgba(255,255,255,.52); }
.board-flow li b { font-size: .68rem; font-weight: 600; }
.board-flow li span { font-weight: 800; color: inherit; }
.board-flow li small { font-weight: 400; color: rgba(255,255,255,.45); }
.board-flow li i { width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; }
.board-flow li.done { color: rgba(255,255,255,.88); }
.board-flow li.done i { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 4px rgba(255,207,63,.08); }
.board-flow li.active { color: var(--white); }
.board-flow li.active::before { content: ""; position: absolute; left: -1rem; top: 0; bottom: 0; width: 3px; background: var(--signal); }
.board-flow li.active i { background: transparent; border: 3px solid var(--signal); }
.board-total { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--light-line); }
.board-total span { min-width: 0; padding: .75rem .35rem; border-right: 1px solid var(--light-line); text-align: center; font-size: .55rem; text-transform: uppercase; letter-spacing: .04em; }
.board-total span:last-child { border-right: 0; }
.board-note { margin: 0; padding: 1rem; color: var(--signal); font-size: .76rem; font-weight: 800; }
.board-note span { margin-right: .5rem; }
.scroll-cue { position: absolute; z-index: 2; bottom: 1.5rem; left: var(--pad); display: flex; align-items: center; gap: .9rem; color: rgba(255,255,255,.55); font-size: .6rem; letter-spacing: .16em; text-decoration: none; transform: rotate(-90deg) translateX(100%); transform-origin: left bottom; }
.scroll-cue i { width: 55px; height: 1px; background: currentColor; }

.section { max-width: var(--max); margin-inline: auto; padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-number { margin-bottom: clamp(3rem, 8vw, 7rem); padding-bottom: .8rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.section-number--light { color: rgba(255,255,255,.48); border-color: var(--light-line); }
.statement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 9rem); align-items: start; }
h2 { font-size: clamp(2.6rem, 5.4vw, 5.8rem); }
.large-copy { margin: 0 0 1.7rem; font-size: clamp(1.3rem, 2.1vw, 2rem); line-height: 1.35; letter-spacing: -.025em; }
.statement-grid > div > p:last-child { max-width: 620px; color: var(--muted); }
.process { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(4rem, 9vw, 9rem); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.process-card { min-width: 0; min-height: 460px; display: flex; flex-direction: column; padding: clamp(1.3rem, 3vw, 2.5rem); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.process-card--dark { color: var(--white); background: var(--forest); }
.process-index { font-size: .68rem; font-weight: 800; }
.process-icon { margin: auto 0 3rem; font-family: Georgia, serif; font-size: 4.3rem; line-height: 1; color: var(--signal-2); }
.process-card h3 { margin: 0 0 1rem; font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: 1.1; letter-spacing: -.04em; }
.process-card p { color: var(--muted); }
.process-card--dark p { color: rgba(255,255,255,.68); }
.process-result { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid currentColor; font-size: .75rem; font-weight: 800; }

.diagnostic { max-width: none; color: var(--white); background: var(--forest); }
.diagnostic > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.diagnostic-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 8vw, 9rem); align-items: end; }
.diagnostic-head > p { margin: 0; max-width: 500px; color: rgba(255,255,255,.64); }
.diagnostic-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 7rem); margin-top: clamp(3rem, 7vw, 6rem); }
.issue-list { border-top: 1px solid var(--light-line); }
.issue { width: 100%; min-height: 76px; display: grid; grid-template-columns: 42px 1fr 24px; gap: .5rem; align-items: center; padding: .8rem 0; color: rgba(255,255,255,.58); background: transparent; border: 0; border-bottom: 1px solid var(--light-line); text-align: left; cursor: pointer; }
.issue span { align-self: start; padding-top: .25rem; font-size: .64rem; }
.issue b { font-size: clamp(.95rem, 1.35vw, 1.18rem); line-height: 1.3; }
.issue i { font-style: normal; font-size: 1.2rem; transform: translateX(-8px); opacity: 0; transition: .18s ease; }
.issue:hover, .issue.is-selected { color: var(--white); }
.issue:hover i, .issue.is-selected i { transform: translateX(0); opacity: 1; color: var(--signal); }
.issue.is-selected b { color: var(--signal); }
.result-card { position: sticky; top: 2rem; align-self: start; min-height: 570px; padding: clamp(1.4rem, 4vw, 3.4rem); color: var(--ink); background: var(--signal); box-shadow: 18px 18px 0 rgba(0,0,0,.16); }
.result-label { margin-bottom: 2.2rem; font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.result-card h3 { max-width: 700px; margin: 0 0 1.2rem; font-size: clamp(2.2rem, 4.2vw, 4.6rem); line-height: .98; letter-spacing: -.05em; }
.result-card > p { max-width: 670px; font-size: 1.08rem; }
.result-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0; background: rgba(18,32,25,.28); border: 1px solid rgba(18,32,25,.28); }
.result-details div { min-width: 0; padding: 1rem; background: var(--signal); }
.result-details dt { margin-bottom: .5rem; font-size: .6rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.result-details dd { margin: 0; font-size: .78rem; line-height: 1.4; }
.copy-status { min-height: 1.5em; margin: .7rem 0 0; font-size: .75rem !important; font-weight: 700; }
.segment-check { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; align-items: center; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid var(--light-line); }
.segment-check > p { max-width: 460px; margin: 0; color: rgba(255,255,255,.58); font-size: .78rem; }
.segment-check > p b { display: block; margin-bottom: .3rem; color: var(--white); font-size: .88rem; }
.chips { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .55rem; }
.chip { min-height: 44px; padding: .55rem .85rem; color: rgba(255,255,255,.72); background: transparent; border: 1px solid rgba(255,255,255,.32); cursor: pointer; font-size: .75rem; font-weight: 700; }
.chip:hover, .chip.is-selected { color: var(--ink); background: var(--signal); border-color: var(--signal); }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 9vw, 10rem); align-items: start; }
.fit-copy { position: sticky; top: 2rem; }
.fit-copy h2 { margin-bottom: 2rem; }
.note { display: grid; grid-template-columns: 32px 1fr; gap: .8rem; margin-top: 2.4rem; padding: 1.2rem 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.note span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--signal); font-weight: 900; }
.deliverables { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.deliverables li { display: grid; grid-template-columns: 60px 1fr; gap: 1rem; min-height: 145px; padding: 1.5rem 0; border-bottom: 1px solid var(--ink); }
.deliverables li > span { font-size: .68rem; font-weight: 900; }
.deliverables b { display: block; margin-bottom: .55rem; font-size: clamp(1.2rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -.025em; }
.deliverables p { margin: 0; color: var(--muted); }

.boundaries { max-width: none; color: var(--white); background: #19201d; }
.boundaries > * { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.boundaries-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 10rem); }
.boundary-list { border-top: 1px solid var(--light-line); }
.boundary-list details { border-bottom: 1px solid var(--light-line); }
.boundary-list summary { position: relative; list-style: none; padding: 1.5rem 3rem 1.5rem 0; cursor: pointer; font-size: clamp(1.1rem, 1.6vw, 1.5rem); font-weight: 800; }
.boundary-list summary::-webkit-details-marker { display: none; }
.boundary-list summary::after { content: "+"; position: absolute; right: .25rem; top: 1.2rem; color: var(--signal); font-size: 1.8rem; font-weight: 300; }
.boundary-list details[open] summary::after { content: "−"; }
.boundary-list details p { max-width: 670px; margin: -.4rem 0 1.8rem; color: rgba(255,255,255,.6); }

.credibility { max-width: none; padding-top: 0; padding-bottom: 0; background: var(--paper); }
.credibility-inner { max-width: calc(var(--max) - 2 * var(--pad)); display: grid; grid-template-columns: .35fr 1.15fr .7fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; margin-inline: auto; padding: clamp(5rem, 10vw, 9rem) 0; border-bottom: 1px solid var(--ink); }
.credibility h2 { font-size: clamp(2.4rem, 4.5vw, 4.8rem); }
.credibility p { margin: .2rem 0 0; color: var(--muted); }

.contact { padding-top: clamp(5rem, 10vw, 9rem); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(3rem, 10vw, 12rem); align-items: start; }
.contact-grid > div > p:last-child { max-width: 650px; margin-top: 2rem; color: var(--muted); }
.contact-form { padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid var(--ink); background: var(--white); box-shadow: 14px 14px 0 var(--paper-2); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .72rem; font-weight: 800; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: .75rem .85rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { background: white; border-color: var(--ink); }
.field--trap { position: absolute; left: -9999px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; margin: .4rem 0 1.4rem; color: var(--muted); font-size: .72rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--forest); }
.form-status { min-height: 1.5em; margin: .8rem 0 0; font-size: .78rem; font-weight: 700; }
.form-status.is-error { color: #a72525; }
.form-status.is-success { color: #1d6a42; }

.site-footer { max-width: var(--max); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; margin-inline: auto; padding: 2rem var(--pad); border-top: 1px solid var(--line); }
.brand--footer { color: var(--ink); }
.site-footer p { margin: 0; color: var(--muted); font-size: .75rem; }
.site-footer > a:last-child { justify-self: end; font-size: .75rem; font-weight: 800; }

.reveal { animation: reveal .75s cubic-bezier(.2,.75,.2,1) both; }
.control-board.reveal { animation-delay: .15s; }
@keyframes reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { min-height: auto; padding-bottom: 7rem; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 4rem; }
  .control-board { max-width: 680px; width: 100%; }
  .scroll-cue { display: none; }
  .statement-grid, .fit-grid, .boundaries-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 400px; }
  .diagnostic-layout { grid-template-columns: .75fr 1.25fr; gap: 2rem; }
  .result-details { grid-template-columns: 1fr; }
  .fit-copy { position: static; }
  .credibility-inner { grid-template-columns: .35fr 1fr; }
  .credibility p { grid-column: 2; }
}

@media (max-width: 720px) {
  .site-header { min-height: 76px; gap: .7rem; }
  .site-header .brand-mark { width: 30px; height: 30px; }
  .site-header .brand { font-size: .72rem; }
  .site-header .button { min-height: 40px; padding: .5rem .75rem; font-size: .68rem; }
  .hero { padding-top: 7.5rem; background-size: 100% 100%, 100% 6rem, auto; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-actions .button { width: 100%; }
  .control-board { box-shadow: 10px 10px 0 rgba(0,0,0,.12); }
  .board-flow li { min-height: 62px; }
  .section-number { margin-bottom: 2.7rem; }
  .process { grid-template-columns: 1fr; }
  .process-card { min-height: 350px; }
  .diagnostic-head { grid-template-columns: 1fr; }
  .diagnostic-layout { grid-template-columns: 1fr; }
  .result-card { position: static; min-height: 0; box-shadow: 10px 10px 0 rgba(0,0,0,.16); }
  .segment-check { grid-template-columns: 1fr; margin-top: 4rem; }
  .chips { justify-content: flex-start; }
  .deliverables li { min-height: 125px; }
  .credibility-inner { grid-template-columns: 1fr; }
  .credibility p { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr auto; align-items: center; }
  .site-footer p { display: none; }
}

@media (max-width: 390px) {
  :root { --pad: 1rem; }
  .site-header .button { max-width: 120px; line-height: 1.05; text-align: center; }
  h1 { font-size: clamp(2.85rem, 15vw, 3.55rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .hero-lead { font-size: 1rem; }
  .board-head { font-size: .56rem; }
  .board-flow { padding-inline: .75rem; }
  .board-flow li { grid-template-columns: 34px 1fr 16px; }
  .board-flow li.active::before { left: -.75rem; }
  .board-total span { font-size: .48rem; letter-spacing: 0; }
  .process-card { min-height: 330px; }
  .issue { grid-template-columns: 32px 1fr 18px; }
  .result-card h3 { font-size: 2.25rem; }
  .chip { width: 100%; text-align: left; }
  .contact-form { box-shadow: 7px 7px 0 var(--paper-2); }
}

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