/* Forja — site styles. Self-hosted Geist (SIL OFL), latin subset. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); }

/* Layout: dark forge floor. Split hero with a live agent console, a marquee, then sections that each do one job and move when they enter. Orange is the only accent. Deliberately single-theme (dark). */
:root {
  --ground: #0B0A09;
  --surface: #141210;
  --surface-2: #1C1916;
  --line: #29241F;
  --line-2: #3A332C;
  --text: #F5F0E9;
  --muted: #A39A8F;
  --dim: #6C645B;
  --forge: #C2410C;
  --spark: #F26B1D;
  --spark-soft: rgba(242,107,29,.14);
  --ok: #4ADE80;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body { background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.035em; font-weight: 600; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* Grain + grid ground */
.ground-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(11,10,9,.9); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(11,10,9,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: auto; display: block; }
.top nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 4px; font-size: 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20,18,16,.6); }
.top nav a { display: block; text-decoration: none; color: var(--muted); padding: 6px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.top nav a:hover { color: var(--text); background: var(--surface-2); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: 15px; padding: 11px 18px; border-radius: 999px; background: var(--text); color: var(--ground); white-space: nowrap; border: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .3s; }
.btn:hover { transform: translateY(-1px); background: #FFFFFF; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.forge { background: var(--forge); color: #FFFFFF; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 40px -10px rgba(242,107,29,.7); }
.btn.forge:hover { background: #D24A10; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 14px 50px -10px rgba(242,107,29,.9); }
.btn.line { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn.line:hover { background: var(--surface-2); }
.btn.sm { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 72px 88px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .glow { position: absolute; right: -10%; top: 10%; width: 720px; height: 720px; background: radial-gradient(closest-side, rgba(194,65,12,.22), rgba(194,65,12,0)); pointer-events: none; filter: blur(10px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); border: 1px solid var(--line-2); background: rgba(20,18,16,.7); border-radius: 999px; padding: 5px 14px 5px 6px; }
.badge b { font-weight: 500; color: var(--ground); background: var(--spark); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; margin-top: 26px; letter-spacing: -0.045em; }
/* Hero entrance: words rise out of a mask, the last line takes a single heat sheen, then the rest settles in. */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .14em; margin: -.06em 0 -.14em; }
.hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordup 1s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 150ms); }
.hero h1 em { display: block; font-style: normal; }
.hero h1 em .w > span { color: var(--spark); background: linear-gradient(100deg, var(--spark) 40%, #FFDCBE 50%, var(--spark) 60%) 100% 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: wordup 1s var(--ease) forwards, sheen 1.5s ease-in-out forwards; animation-delay: calc(var(--i) * 55ms + 150ms), calc(var(--i) * 110ms + 500ms); }
@keyframes wordup { to { transform: none; } }
@keyframes sheen { to { background-position: 0 0; } }
.hero .hin { opacity: 0; transform: translateY(16px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero .console.hin { transform: translateY(30px) scale(.97); animation-duration: 1.3s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.hero .sub { max-width: 520px; margin-top: 26px; font-size: 19px; color: #D3CBC0; line-height: 1.55; }
.ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.checks { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 14px; height: 14px; flex: none; }

/* Live console */
.console { position: relative; background: linear-gradient(180deg, rgba(28,25,22,.92), rgba(20,18,16,.92)); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.03) inset; overflow: hidden; min-width: 0; }
.console::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(242,107,29,.8) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: spin 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.c-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.c-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 0 rgba(242,107,29,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(242,107,29,0); } 100% { box-shadow: 0 0 0 0 rgba(242,107,29,0); } }
.c-tag { font-family: var(--mono); font-size: 11px; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.c-tabs { display: flex; gap: 6px; padding: 12px 18px 0; flex-wrap: wrap; }
.c-tabs button { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 12px; padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.c-tabs button[aria-selected="true"] { color: var(--text); border-color: var(--spark); background: var(--spark-soft); }
.c-body { padding: 16px 18px 20px; min-height: 330px; display: flex; flex-direction: column; gap: 10px; }
.ev { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: start; opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ev.on { opacity: 1; transform: none; }
.ev time { font-family: var(--mono); font-size: 11px; color: var(--dim); padding-top: 3px; }
.ev .box { border: 1px solid var(--line); background: rgba(11,10,9,.5); border-radius: 10px; padding: 10px 12px; font-size: 14px; min-width: 0; }
.ev .k { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .04em; }
.ev.agent .box { border-color: rgba(242,107,29,.35); background: linear-gradient(180deg, rgba(242,107,29,.08), rgba(242,107,29,.02)); }
.ev.agent .k { color: var(--spark); }
.ev .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-size: 12px; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--line-2); color: var(--muted); }
.chip.wait { color: #F5C27A; border-color: rgba(245,194,122,.35); }
.chip.ok { color: var(--ok); border-color: rgba(74,222,128,.35); }
.approve { font-size: 12px; font-weight: 500; background: var(--text); color: var(--ground); border-radius: 999px; padding: 4px 12px; transition: transform .15s, background .2s; }
.approve.pressed { transform: scale(.92); background: var(--ok); }
.caret::after { content: "▍"; color: var(--spark); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.c-foot { border-top: 1px solid var(--line); padding: 10px 18px; font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.dialbar { display: flex; gap: 4px; }
.dialbar span { font-family: var(--mono); font-size: 11px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--dim); }
.dialbar span.on { color: var(--spark); border-color: rgba(242,107,29,.45); }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding-block: 26px; overflow: hidden; }
.marquee p { text-align: center; font-size: 13px; color: var(--dim); }
.mq { margin-top: 16px; display: flex; width: max-content; animation: slide 36s linear infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-outer { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq span { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: #7E766C; padding-inline: 32px; white-space: nowrap; }
.mq span::after { content: "·"; color: var(--line-2); padding-left: 64px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Sections */
section.s { position: relative; padding-block: 120px; }
section.s + section.s { border-top: 1px solid var(--line); }
.kick { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kick b { color: var(--spark); font-weight: 500; }
.s h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; margin-top: 18px; max-width: 18ch; letter-spacing: -0.045em; }
.s h2 em { font-style: normal; color: var(--spark); }
.lead { margin-top: 22px; color: var(--muted); max-width: 60ch; font-size: 18px; }
.head2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.head2 .lead { margin-top: 0; }

/* Reveal (visible without JS; JS opts elements in) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; } .js .rv.d2 { transition-delay: .16s; } .js .rv.d3 { transition-delay: .24s; }

/* Diagram */
.dia { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.stage { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; min-width: 0; overflow: hidden; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--ground); position: relative; z-index: 1; }
.toggle button { border: 0; background: transparent; color: var(--muted); padding: 7px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: color .2s, background .3s; }
.toggle button[aria-pressed="true"] { background: var(--text); color: var(--ground); }
.stage .say { position: absolute; right: 22px; top: 26px; font-size: 14px; color: var(--muted); transition: opacity .3s; }
.stage svg { display: block; width: 100%; height: auto; margin-top: 6px; }
.n rect { fill: var(--surface-2); stroke: var(--line-2); }
.n text { fill: #D2CABF; font: 500 13px var(--sans); }
.w { fill: none; stroke-width: 1.3; transition: opacity .6s var(--ease), stroke-dashoffset 1.2s var(--ease); }
.w.t { stroke: #5A5148; stroke-dasharray: 1; stroke-dashoffset: 0; }
.w.f { stroke: var(--spark); stroke-opacity: .75; }
.w.f.flow { stroke-dasharray: 4 7; animation: flow 1.6s linear infinite; stroke-opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -44; } }
.today .w.f, .today .gwith { opacity: 0; }
.with .w.t, .with .gtoday { opacity: 0; }
.gwith, .gtoday { transition: opacity .6s var(--ease); }
.center circle.ring { fill: none; stroke: var(--spark); stroke-opacity: .35; transform-origin: 280px 170px; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.center .core { transition: fill .6s var(--ease); }
.today .center .core { fill: #2A2521; }
.with .center .core { fill: var(--forge); }
.today .center .ring { display: none; }
.center text { fill: #FFFFFF; font: 600 14px var(--sans); }
.order { display: grid; gap: 12px; }
.ord { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; transition: border-color .3s, transform .3s var(--ease); }
.ord:hover { border-color: var(--line-2); transform: translateX(4px); }
.ord .k { font-family: var(--mono); font-size: 12px; color: var(--spark); }
.ord h3 { font-size: 20px; margin-top: 4px; letter-spacing: -0.02em; }
.ord p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Use cases: spotlight cards */
.uses { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { --mx: 50%; --my: 0%; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; min-width: 0; overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(242,107,29,.12), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card .team { font-family: var(--mono); font-size: 12px; color: var(--spark); text-transform: uppercase; letter-spacing: .05em; }
.card h3 { font-size: 22px; margin-top: 10px; letter-spacing: -0.025em; }
.card p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.flowline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 18px; font-size: 12px; }
.flowline span { border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; color: #CFC7BC; background: var(--ground); }
.flowline i { width: 14px; height: 1px; background: var(--line-2); display: inline-block; }
.flowline span.me { border-color: rgba(242,107,29,.45); color: var(--spark); }
.card.wide { grid-column: span 2; }

/* Before / after */
.ba { margin-top: 56px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.ba .row { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: center; }
.ba .row + .row { border-top: 1px solid var(--line); }
.ba .row > div { padding: 20px 24px; min-width: 0; }
.ba .old { color: var(--muted); position: relative; }
.ba .old span { background-image: linear-gradient(var(--dim), var(--dim)); background-size: 0% 1px; background-position: 0 55%; background-repeat: no-repeat; transition: background-size .9s var(--ease); }
.ba .row.in .old span, .nojs .ba .old span { background-size: 100% 1px; }
.ba .mid { padding: 0 !important; display: flex; justify-content: center; }
.ba .mid svg { width: 22px; height: 22px; color: var(--spark); opacity: .4; transition: opacity .6s .4s, transform .6s .4s var(--ease); transform: translateX(-6px); }
.ba .row.in .mid svg { opacity: 1; transform: none; }
.ba .new { color: var(--text); font-weight: 500; opacity: .35; transition: opacity .8s .5s var(--ease); }
.ba .row.in .new { opacity: 1; }
.ba .head > div { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding-block: 14px; }
.ba .head .new { color: var(--spark); opacity: 1; }
.note { margin-top: 14px; font-size: 14px; color: var(--dim); }

/* Field notes */
.case { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.case > div { padding: 36px; min-width: 0; }
.case .side { background: var(--surface-2); border-left: 1px solid var(--line); }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--spark); border: 1px solid rgba(242,107,29,.35); border-radius: 999px; padding: 5px 12px; }
.pill .live { width: 7px; height: 7px; }
.case h3 { font-size: 30px; margin-top: 18px; letter-spacing: -0.03em; }
.case p { color: var(--muted); margin-top: 12px; }
.quote { margin-top: 28px; padding: 20px 22px; border-radius: 14px; background: var(--ground); border: 1px solid var(--line); }
.quote q { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--text); quotes: "\201C" "\201D"; }
.quote small { display: block; color: var(--dim); font-size: 14px; margin-top: 8px; }
.side h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.track { list-style: none; padding: 0; margin: 0; position: relative; }
.track::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; background: var(--line-2); }
.track .fill { position: absolute; left: 6px; top: 22px; width: 2px; height: 0; background: var(--spark); transition: height 1.4s var(--ease); box-shadow: 0 0 12px var(--spark); }
.track.in .fill, .nojs .track .fill { height: 58%; }
.track li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.dot { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; border: 2px solid var(--dim); background: var(--surface-2); }
.done .dot { background: var(--spark); border-color: var(--spark); }
.now .dot { border-color: var(--spark); box-shadow: 0 0 0 5px rgba(242,107,29,.15); }
.track b { display: block; font-weight: 500; }
.track span { font-size: 14px; color: var(--muted); }

/* Why: ownership */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.why .sticky { position: sticky; top: 120px; }
.points { display: grid; }
.point { padding: 28px 0; border-top: 1px solid var(--line); }
.point:first-child { padding-top: 6px; border-top: 0; }
.point:last-child { padding-bottom: 0; }
.point h3 { font-size: 21px; letter-spacing: -0.02em; }
.point p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.trust { margin-top: 18px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.trust div { position: relative; z-index: 1; padding: 12px 14px; font-size: 13px; color: var(--muted); min-width: 0; transition: color .4s; }
.trust div b { display: block; color: var(--text); font-size: 15px; font-weight: 500; }
.trust div + div { border-left: 1px solid var(--line); }
.trust .knob { position: absolute; top: 0; bottom: 0; left: 0; width: 33.333%; background: var(--spark-soft); border: 1px solid rgba(242,107,29,.5); border-radius: 12px; transition: transform .7s var(--ease); }

/* Process: sticky stepper */
.proc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; margin-top: 8px; }
.proc .rail { position: sticky; top: 120px; align-self: start; }
.prog { margin-top: 34px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 25%; background: var(--spark); transition: width .6s var(--ease); box-shadow: 0 0 10px var(--spark); }
.steps { list-style: none; padding: 0; margin: 0; }
.step { padding: 40px 0; border-bottom: 1px solid var(--line); opacity: .35; transition: opacity .5s var(--ease); }
.step:first-child { padding-top: 0; }
.step.act, .nojs .step { opacity: 1; }
.step .k { font-family: var(--mono); font-size: 12px; color: var(--spark); }
.step h3 { font-size: 28px; margin-top: 6px; letter-spacing: -0.03em; }
.step p { color: var(--muted); margin-top: 10px; max-width: 48ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips span { font-size: 12px; color: #CFC7BC; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }

/* People */
.people { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
.mono-av { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 600; font-size: 22px; letter-spacing: -0.03em; background: linear-gradient(135deg, #2A2521, #171513); border: 1px solid var(--line-2); color: var(--spark); }
.person h3 { font-size: 22px; letter-spacing: -0.02em; }
.person .role { font-size: 14px; color: var(--spark); margin-top: 2px; }
.person p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.ph { color: var(--spark); font-family: var(--mono); font-size: .82em; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s, border-color .3s; }
.faq summary .pm svg { width: 12px; height: 12px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--spark-soft); border-color: rgba(242,107,29,.5); }
.faq details p { color: var(--muted); padding: 0 48px 22px 0; max-width: 62ch; }

/* Final CTA */
.final { position: relative; overflow: hidden; text-align: center; padding-block: 140px; border-top: 1px solid var(--line); }
.final .glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(194,65,12,.3), rgba(194,65,12,0)); pointer-events: none; }
.final .wrap { position: relative; }
.final h2 { font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -0.05em; }
.final .lead { margin: 22px auto 0; }
.final .ctas { justify-content: center; }
.addr { margin-top: 26px; display: inline-flex; gap: 10px; align-items: center; border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 16px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 64px auto 0; max-width: 880px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.facts li { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(20,18,16,.6); min-width: 0; }
.facts b { display: block; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.facts span { font-size: 14px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px; font-size: 14px; color: var(--dim); }
footer .brand { font-size: 16px; color: var(--muted); }
footer .brand svg { width: 24px; }

@media (max-width: 980px) {
  .top nav { display: none; }
  .hero .wrap, .dia, .case, .why, .faq, .proc, .head2 { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { gap: 44px; }
  .why .sticky, .proc .rail { position: static; }
    .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case .side { border-left: 0; border-top: 1px solid var(--line); }
  .step { opacity: 1; }
  .why, .faq, .proc { gap: 36px; }
}
@media (max-width: 600px) {
  .hero { padding-block: 40px 64px; }
  section.s { padding-block: 80px; }
  .uses, .people, .facts { grid-template-columns: minmax(0, 1fr); }
  .card.wide { grid-column: auto; }
  .ba .row { grid-template-columns: minmax(0, 1fr); }
  .ba .mid { display: none !important; }
  .ba .row > div.new { padding-top: 0; }
  .ba .head { display: none; }
  .case > div { padding: 24px; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
  .trust .knob { display: none; }
  .stage .say { position: static; display: block; margin-top: 10px; }
  .top .btn { padding: 8px 12px; font-size: 13px; }
  .c-body { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero .hin, .hero h1 .w > span { animation: none; opacity: 1; transform: none; }
  .mq { animation: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Base (was supplied by the draft's wrapper) */
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 72px); }
body { margin: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; background: var(--text); color: var(--ground); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }

/* Blueprint figures: one technical drawing per section, drawn on as it scrolls into view. */
.fig { margin: 0; position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 10px; background-color: var(--surface); background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px); background-size: 20px 20px; }
.fig svg { display: block; width: 100%; height: auto; }
.fig svg text { font: 500 11px var(--mono); letter-spacing: .05em; fill: #8F867B; }
.fig svg text.to { fill: var(--spark); }
.fig figcaption { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-top: 8px; padding-top: 9px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.fig figcaption b { color: var(--spark); font-weight: 500; margin-right: 6px; }
.bl { fill: none; stroke: #8A8075; stroke-width: 1.2; }
.bd { fill: none; stroke: #5A5148; stroke-width: 1; stroke-dasharray: 3 4; }
.bo { fill: none; stroke: var(--spark); stroke-width: 1.4; }
.bfill { fill: var(--surface); }
.hb { fill: url(#hx); stroke: var(--spark); stroke-width: 1; }
.bflow { stroke-dasharray: 4 7; animation: flow 1.6s linear infinite; }
.js .fig .dr { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) var(--t, 0s); }
.js .fig.in .dr { stroke-dashoffset: 0; }
.js .fig .fd { opacity: 0; transition: opacity .8s var(--ease) var(--t, .6s); }
.js .fig.in .fd { opacity: 1; }
.fig.wide { margin-top: 56px; }
.fig + .uses, .fig + .case { margin-top: 14px; }
.why .fig, .proc .fig { margin-top: 28px; }
.head2 .lead.below { margin-top: 22px; }
.car { transform: translateX(350px); animation: drive 12s cubic-bezier(.45,0,.2,1) infinite; }
.car { translate: 0 130px; }
@keyframes drive { 0%, 6% { transform: translateX(30px); opacity: 0; } 10% { transform: translateX(30px); opacity: 1; } 30%, 40% { transform: translateX(350px); } 60%, 70% { transform: translateX(670px); } 90%, 95% { transform: translateX(990px); opacity: 1; } 100% { transform: translateX(990px); opacity: 0; } }
#procfig .st2, #procfig .st3, #procfig .st4 { opacity: 0; transition: opacity .7s var(--ease); }
#procfig[data-step="2"] .st2, #procfig[data-step="3"] .st2, #procfig[data-step="3"] .st3, #procfig[data-step="4"] .st2, #procfig[data-step="4"] .st3, #procfig[data-step="4"] .st4 { opacity: 1; }
.nojs #procfig .st2, .nojs #procfig .st3, .nojs #procfig .st4 { opacity: 1; }
@media (max-width: 980px) {
  #procfig .st2, #procfig .st3, #procfig .st4 { opacity: 1; }
  .fig.wide .pan { overflow-x: auto; }
  .fig.wide svg { min-width: 760px; }
}

/* Open layout: only the drawings, the hero console and the trust dial are framed. Everything else is type on the ground, separated by hairlines. */
.card { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 0 0; overflow: visible; }
.card::before { display: none; }
.card:hover { transform: none; border-color: var(--line); }
.uses { gap: 44px 40px; }
.people { gap: 44px 40px; }
.fig + .uses, .fig + .case { margin-top: 44px; }
.order { gap: 0; align-content: center; }
.ord { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0; }
.ord:first-child { border-top: 0; }
.ord:hover { transform: none; border-color: var(--line); }
.ba { border: 0; border-radius: 0; background: none; overflow: visible; }
.ba .row > div { padding-inline: 0; }
.ba .row:last-child { border-bottom: 1px solid var(--line); }
.case { background: none; border: 0; border-radius: 0; overflow: visible; gap: 56px; }
.case > div { padding: 0; }
.case .side { background: none; border-left: 1px solid var(--line); padding-left: 56px; }
.dot { background: var(--ground); }
.quote { background: none; border: 0; border-left: 2px solid var(--spark); border-radius: 0; padding: 4px 0 4px 20px; }
.facts { gap: 40px; }
.facts li { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 0 0; }
@media (max-width: 980px) {
  .case { gap: 36px; }
  .case .side { border-left: 0; border-top: 1px solid var(--line); padding: 32px 0 0; }
}
@media (max-width: 600px) {
  .case > div { padding: 0; }
  .case .side { padding: 28px 0 0; }
  .facts { gap: 24px; }
}
