/* self-hosted Google Fonts (latin subset), OFL */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 850;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100% 112.5%;
  font-display: swap;
  src: url('/assets/fonts/martian-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 704 AI. Queen City spruce on warm paper. See research/BRAND-BRIEF.md (palette, type, rules). */
:root {
  --r-s: 6px; --r-m: 12px; --r-l: 20px;
  --paper: #F6F4EE;
  --surface: #FFFFFF;
  --surface-alt: #ECE8DD;
  --ink: #0F1F19;
  --ink-muted: #404C46;
  --line: #DCD7CA;
  --line-strong: #C9C3B3;
  --green: #0E4D3A;
  --green-hover: #0A3B2C;
  --green-bright: #2E8B57;
  --green-wash: #E3ECE6;
  --brass: #9E7B35;
  --success: #1E6B45;
  --error: #B3261E;
  --amber: #8A5A00;
  --night: #0B2219;
  --night-ink: #F3EFE4;
  --night-muted: #A9B7AF;
  --brass-on-night: #D2B06A;
  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(15, 31, 25, .06), 0 8px 24px -12px rgba(15, 31, 25, .18);
  --shadow-2: 0 2px 4px rgba(15, 31, 25, .06), 0 30px 60px -24px rgba(15, 31, 25, .35);
  --wrap: 1200px;
  --sans: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); font-variation-settings: "wdth" 100; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
@media (max-width: 700px) { body { font-size: 17px; } }
img, svg, video { max-width: 100%; display: block; }
picture { display: contents; }
img { height: auto; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; border-radius: var(--r-s); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--night-ink); padding: 12px 16px; z-index: 100; font-weight: 600; border-radius: var(--r-s); }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 520px) { .wrap { width: calc(100% - 32px); } }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------- type ---------------- */
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1, .h1 { font-size: clamp(2.5rem, 3.6vw + .9rem, 4.5rem); line-height: .97; letter-spacing: -.025em; font-weight: 800; font-variation-settings: "wdth" 115; }
h2, .h2 { font-size: clamp(2rem, 2.6vw + 1rem, 3.4rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 780; font-variation-settings: "wdth" 112; }
h3, .h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.005em; font-weight: 680; font-variation-settings: "wdth" 104; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--ink-muted); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; color: var(--ink-muted); margin: 0 0 1.25rem; }
.eyebrow .crown { width: 18px; height: 18px; color: var(--green); }

/* ---------------- buttons & fields ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 24px; border-radius: var(--r-m); border: 1.5px solid var(--green); font: 650 1.02rem/1.1 var(--sans); font-variation-settings: "wdth" 106; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: var(--night-ink); box-shadow: 0 10px 24px -14px rgba(14, 77, 58, .9); }
.btn-primary:hover { background: var(--green-hover); color: var(--night-ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green-wash); color: var(--green-hover); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.field .help { font-size: .86rem; color: var(--ink-muted); margin: 0; }
input, select, textarea { font: 400 17px/1.4 var(--sans); width: 100%; padding: 14px 15px; border-radius: var(--r-m); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #6B766F; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(46, 139, 87, .18); }
textarea { min-height: 112px; resize: vertical; }
.field.err input, .field.err textarea { border-color: var(--error); }
.field .msg { color: var(--error); font-size: .86rem; margin: 0; }
.field .msg:empty { display: none; }

/* ---------------- crown + logo ---------------- */
.crown { width: 1em; height: 1em; fill: currentColor; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo svg { height: 34px; width: auto; }
.logo .tag { font-size: .78rem; font-weight: 500; color: var(--ink-muted); border-left: 1px solid var(--line-strong); padding-left: 12px; line-height: 1.2; }
@media (max-width: 760px) { .logo .tag { display: none; } }

/* ---------------- header ---------------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246, 244, 238, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-head.scrolled { border-bottom-color: var(--line); background: rgba(246, 244, 238, .95); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: .97rem; padding: 10px 14px; border-radius: var(--r-m); }
.nav a:hover { background: var(--surface-alt); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--green); }
.nav .btn { min-height: 44px; padding: 0 18px; margin-left: 10px; font-size: .95rem; color: var(--night-ink); }
.nav .btn:hover { background: var(--green-hover); color: var(--night-ink); }
.hdr-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; margin-left: -12px; border: 1.5px solid var(--green); border-radius: var(--r-m); color: var(--green); font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.hdr-login:hover { background: var(--green-wash); color: var(--green-hover); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 44px; border-radius: var(--r-m); border: 1.5px solid var(--line-strong); background: var(--surface); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .menu-btn { display: block; order: 3; margin-left: -14px; }
  .hdr-login { order: 2; margin-left: auto; min-height: 44px; padding: 0 14px; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); padding: 10px 16px 22px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav a { padding: 15px 10px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; border-radius: var(--r-m); border-bottom: 1.5px solid var(--green); }
  .site-head.open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .site-head.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-head.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-head.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------------- sections ---------------- */
section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.band-alt { background: var(--surface-alt); }
.band-white { background: var(--surface); }
.sec-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lede { margin-inline: auto; }
.sec-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: end; }
.sec-head.split .lede { margin: 0; }
@media (max-width: 860px) { .sec-head.split { grid-template-columns: 1fr; } }

/* ---------------- hero ---------------- */
.hero { padding: clamp(28px, 4.5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .l2 { display: block; color: var(--green); }
.hero .sub { font-size: clamp(1.1rem, .45vw + 1rem, 1.28rem); color: var(--ink-muted); max-width: 54ch; margin-top: 1.2rem; }
.hero .sub strong { color: var(--ink); font-weight: 600; }
.scanbar { margin-top: 26px; max-width: 560px; }
.scanbar .row { display: flex; gap: 8px; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--r-m); padding: 6px; box-shadow: var(--shadow-1); transition: border-color .15s, box-shadow .15s; }
.scanbar .row:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(46, 139, 87, .16), var(--shadow-1); }
.scanbar input { border: 0; box-shadow: none !important; background: transparent; min-width: 0; flex: 1; font-size: 17px; padding: 12px; }
.scanbar .btn { min-height: 50px; }
.scanbar .label { display: block; margin-bottom: 8px; font-size: .9rem; }
.reassure { margin: 12px 0 0; font-size: .95rem; color: var(--ink-muted); }
.hero-alt { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; font-size: .97rem; color: var(--ink-muted); }
.hero-alt .btn { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.own-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: .95rem; color: var(--ink-muted); max-width: 520px; }
.own-line svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .scanbar .row { flex-direction: column; } .scanbar .btn { width: 100%; } }

/* showcase: real sites */
.showcase { position: relative; }
.frame { border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FBFAF6; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.frame-bar .addr { margin-left: 10px; flex: 1; font: 500 .72rem/1 var(--mono); color: var(--ink-muted); background: var(--surface-alt); border-radius: var(--r-s); padding: 7px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.shots { position: relative; aspect-ratio: 16 / 10; background: var(--surface-alt); overflow: hidden; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .7s ease; }
.shots img.on { opacity: 1; }
.phone { position: absolute; right: -16px; bottom: -34px; width: 26%; min-width: 108px; border-radius: var(--r-l); border: 6px solid var(--ink); background: var(--ink); box-shadow: var(--shadow-2); overflow: hidden; }
.phone .pshots { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: var(--r-m); background: var(--surface-alt); }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .7s ease .12s; }
.phone img.on { opacity: 1; }
.show-cap { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 52px; padding-right: 30%; }
.show-cap .who { font-size: .95rem; line-height: 1.35; }
.show-cap .who b { display: block; font-weight: 650; }
.show-cap .who span { color: var(--ink-muted); font-size: .88rem; }
.show-dots { display: flex; gap: 2px; }
.show-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.show-dots button i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background .2s, transform .2s; }
.show-dots button[aria-selected="true"] i { background: var(--green); transform: scale(1.3); }
@media (max-width: 600px) { .phone { width: 30%; right: -6px; bottom: -24px; border-width: 4px; border-radius: var(--r-m); } .show-cap { padding-right: 33%; } .show-dots { display: none; } }

/* ---------------- proof strip ---------------- */
.proof { padding: 0 0 clamp(64px, 8vw, 104px); }
.proof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 18px; flex-wrap: wrap; }
.proof-head p { margin: 0; font-weight: 600; }
.proof-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.proof-card { display: block; text-decoration: none; color: var(--ink); }
.proof-card:hover { color: var(--ink); }
.proof-card .pimg { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--surface-alt); }
.proof-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.proof-card:hover img { transform: scale(1.03); }
.proof-card .t { margin-top: 10px; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.proof-card .t span { display: block; font-weight: 400; color: var(--ink-muted); font-size: .86rem; }
@media (max-width: 860px) { .proof-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------- problem story ---------------- */
.story { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.story-steps li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 6px 18px; }
.story-steps li:last-child { border-bottom: 1px solid var(--line); }
.story-steps li::before { counter-increment: s; content: "0" counter(s); font: 600 .85rem/1.9 var(--mono); color: var(--green); grid-row: span 2; }
.story-steps h3 { margin: 0; }
.story-steps p { margin: 0; color: var(--ink-muted); }
.story-photo { border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; aspect-ratio: 4 / 5; box-shadow: var(--shadow-1); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.cite { font-size: .82rem; color: var(--ink-muted); margin-top: 18px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story-photo { position: static; aspect-ratio: 16 / 10; } }

/* ---------------- three things I do ---------------- */
.does { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.does > div { padding: 30px 28px 6px 0; border-right: 1px solid var(--line); }
.does > div + div { padding-left: 28px; }
.does > div:last-child { border-right: 0; }
.does .k { font: 600 .8rem var(--mono); color: var(--green); display: block; margin-bottom: 18px; }
.does p { color: var(--ink-muted); }
@media (max-width: 860px) { .does { grid-template-columns: 1fr; } .does > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0 !important; } }

/* ---------------- work ---------------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 36px); }
.work-card { display: block; text-decoration: none; color: var(--ink); }
.work-card:hover { color: var(--ink); }
.work-card .wimg { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-alt); aspect-ratio: 16 / 10; box-shadow: var(--shadow-1); }
.work-card .wimg img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card:hover .wimg img { transform: scale(1.025); }
.work-card .wmeta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-top: 16px; }
.work-card h3 { margin: 0; font-size: 1.25rem; }
.work-card .where { color: var(--ink-muted); font-size: .92rem; white-space: nowrap; }
.work-card .fact { margin: 6px 0 0; color: var(--ink-muted); font-size: .97rem; }
.work-card .status { position: absolute; right: 12px; bottom: 12px; font: 600 .7rem/1 var(--mono); background: rgba(255, 255, 255, .95); color: var(--ink); padding: 7px 9px; border-radius: var(--r-s); border: 1px solid var(--line); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------------- signature demos ---------------- */
.demo-switch { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); width: fit-content; max-width: 100%; }
.demo-switch [role=tab] { font: 600 .97rem var(--sans); padding: 11px 16px; border-radius: var(--r-m); border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; display: flex; gap: 8px; align-items: baseline; }
.demo-switch [role=tab] small { font: 500 .7rem var(--mono); opacity: .85; }
.demo-switch [role=tab][aria-selected="true"] { background: var(--surface-alt); color: var(--ink); }
.demo { border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.demo[hidden] { display: none; }
.demo-foot { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 18px 22px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-muted); }
.demo-foot .tag { font: 600 .68rem/1 var(--mono); color: var(--green); border: 1px solid var(--green); border-radius: var(--r-s); padding: 6px 8px; margin-top: 2px; }
.demo-foot b { color: var(--ink); font-weight: 600; }
.concept { position: absolute; right: 14px; top: 14px; z-index: 3; font: 600 .68rem/1 var(--mono); color: var(--ink); background: rgba(255, 255, 255, .92); padding: 7px 9px; border-radius: var(--r-s); }

/* detailing */
.dd { display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.dd-list { padding: 22px; display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--line); }
.dd-list .label { color: var(--ink-muted); font-size: .85rem; margin: 2px 0 4px; }
.pk { text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 15px 16px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.pk:hover { border-color: var(--line-strong); background: var(--surface); }
.pk[aria-pressed="true"] { border-color: var(--green); background: var(--surface); box-shadow: 0 0 0 3px rgba(46, 139, 87, .12); }
.pk .pk-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 650; }
.pk .pk-h span { font: 500 .74rem var(--mono); color: var(--ink-muted); }
.pk ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-muted); }
.pk li { display: flex; gap: 9px; align-items: center; }
.pk li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; transition: background .25s, border-color .25s; }
.pk li.now { color: var(--ink); font-weight: 600; }
.pk li.now::before { border-color: var(--green); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 8px var(--green); }
.pk li.done { color: var(--ink); }
.pk li.done::before { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%23F3EFE4' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat; border-color: var(--green); }
.stage { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 7s linear; }
.stage img.on { opacity: 1; transform: scale(1.1); }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 31, 25, 0) 50%, rgba(15, 31, 25, .78)); pointer-events: none; z-index: 1; }
.stage-cap { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: var(--night-ink); }
.stage-cap .stp { font: 500 .74rem var(--mono); color: var(--night-muted); display: block; margin-bottom: 6px; }
.stage-cap b { display: block; font-size: clamp(1.15rem, 1.7vw, 1.6rem); font-weight: 720; font-variation-settings: "wdth" 110; letter-spacing: -.01em; line-height: 1.15; }
.stage-cap p { margin: 6px 0 0; color: var(--night-muted); font-size: .95rem; max-width: 52ch; }
.stage-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2; display: flex; gap: 3px; }
.stage-bar i { flex: 1; background: rgba(243, 239, 228, .25); position: relative; overflow: hidden; }
.stage-bar i b { position: absolute; inset: 0; width: 0; background: var(--night-ink); }
.stage-bar i.past b { width: 100%; }
@media (max-width: 860px) { .dd { grid-template-columns: 1fr; } .dd-list { border-right: 0; border-top: 1px solid var(--line); order: 2; } }
@media (max-width: 520px) { .stage { aspect-ratio: 4 / 5; } }

/* tree mini-movie controls */
.movie-ctl { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
.movie-ctl .play { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--surface); color: var(--green); display: grid; place-items: center; cursor: pointer; flex: none; }
.movie-ctl .play svg { width: 16px; height: 16px; }
.chapters { display: flex; gap: 6px; flex: 1; min-width: 0; }
.chapters button { flex: 1; min-width: 0; border: 0; background: none; padding: 6px 0; cursor: pointer; text-align: left; font: 500 .7rem var(--mono); color: var(--ink-muted); }
.chapters button i { display: block; height: 3px; border-radius: var(--r-s); background: var(--line); margin-bottom: 7px; position: relative; overflow: hidden; }
.chapters button i b { position: absolute; inset: 0; width: 0; background: var(--green); }
.chapters button.past i b { width: 100%; }
.chapters button[aria-current="step"] { color: var(--ink); }
.chapters button span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 640px) { .chapters button span { display: none; } }

/* striping before/after */
.lot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #2a2c2e; touch-action: pan-y; }
.lot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lot .fresh { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.lot .edge { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px; background: var(--night-ink); box-shadow: 0 0 18px rgba(243, 239, 228, .7); transform: translateX(-1px); z-index: 2; pointer-events: none; }
.lot .edge::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--night-ink); color: var(--green); display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow-1); }
.lot .lab { position: absolute; top: 14px; z-index: 2; font: 600 .68rem/1 var(--mono); color: var(--ink); background: rgba(255, 255, 255, .92); padding: 7px 9px; border-radius: var(--r-s); }
.lot .lab.after { left: 14px; } .lot .lab.before { right: 14px; }
.lot input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.lot-read { display: flex; gap: 22px; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-muted); flex-wrap: wrap; }

/* ---------------- pricing ---------------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
.tier.rec { border: 2px solid var(--green); box-shadow: var(--shadow-1); }
.tier .badge { position: absolute; top: -13px; left: 24px; background: var(--surface); color: var(--green); border: 1.5px solid var(--green); font: 600 .7rem/1 var(--mono); padding: 6px 9px; border-radius: var(--r-s); }
.tier h3 { margin-bottom: 4px; }
.tier .for { color: var(--ink-muted); font-size: .95rem; min-height: 3em; margin: 0; }
.tier .price { font-size: 2.6rem; font-weight: 780; font-variation-settings: "wdth" 112; letter-spacing: -.02em; line-height: 1; margin: 16px 0 4px; font-variant-numeric: tabular-nums; }
.tier .price small { font-size: .95rem; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: .96rem; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.tier li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.1L13 4.6' fill='none' stroke='%230E4D3A' stroke-width='2.2'/%3E%3C/svg%3E") center/contain no-repeat; }
.tier .btn { margin-top: auto; }
.price-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.price-notes > div { border-top: 1px solid var(--line); padding-top: 16px; font-size: .95rem; color: var(--ink-muted); }
.price-notes b { display: block; color: var(--ink); font-weight: 650; margin-bottom: 2px; }
.preview-box { margin-top: 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--green-wash); border: 1px solid #C8D8CE; border-radius: var(--r-l); padding: 24px 28px; }
.preview-box .crown { width: 34px; height: 34px; color: var(--green); }
.preview-box h3 { margin: 0 0 4px; }
.preview-box p { margin: 0; color: var(--ink-muted); }
@media (max-width: 900px) { .tiers, .price-notes { grid-template-columns: 1fr; } .preview-box { grid-template-columns: 1fr; } }

/* ---------------- how it works ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; }
.step .k { display: flex; justify-content: space-between; font: 500 .76rem var(--mono); color: var(--ink-muted); margin-bottom: 26px; }
.step .k b { color: var(--green); font-weight: 600; }
.step p { margin: 0; color: var(--ink-muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- meet Dan ---------------- */
.dan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dan-mark { aspect-ratio: 4 / 5; border-radius: var(--r-l); background: var(--green); color: var(--night-ink); display: grid; place-items: center; position: relative; overflow: hidden; }
.dan-mark .crown { width: 44%; height: auto; color: var(--paper); }
.dan-mark .sig { position: absolute; left: 26px; bottom: 24px; font-size: .98rem; line-height: 1.35; font-weight: 600; }
.dan-mark .sig span { display: block; color: var(--night-muted); font-size: .86rem; font-weight: 400; }
.dan blockquote { margin: 0 0 22px; font-size: clamp(1.35rem, 1.2vw + 1rem, 1.9rem); line-height: 1.3; font-weight: 620; font-variation-settings: "wdth" 104; letter-spacing: -.01em; }
.dan ul { padding-left: 1.1em; color: var(--ink-muted); }
.dan li { margin: 6px 0; }
@media (max-width: 860px) { .dan { grid-template-columns: 1fr; } .dan-mark { aspect-ratio: 16 / 9; max-width: 520px; } }

/* ---------------- straight answers ---------------- */
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.answer { padding: 24px 0; border-top: 1px solid var(--line); }
.answer h3 { font-size: 1.12rem; margin-bottom: 8px; }
.answer p { margin: 0; color: var(--ink-muted); }
@media (max-width: 860px) { .answers { grid-template-columns: 1fr; } }
.notfit { display: flex; gap: 10px 28px; flex-wrap: wrap; align-items: baseline; border: 1.5px dashed var(--line-strong); border-radius: var(--r-m); padding: 22px 26px; margin-top: 40px; }
.notfit b { font-weight: 650; }
.notfit span { color: var(--ink-muted); }

/* ---------------- final CTA ---------------- */
.final { text-align: center; }
.final .scanbar { margin-inline: auto; text-align: left; }
.final h2 { max-width: 18ch; margin-inline: auto; }
.final .hero-alt { justify-content: center; }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 22px 20px; color: var(--ink-muted); }
.faq .a p:last-child { margin: 0; }

/* ---------------- forms ---------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; box-shadow: var(--shadow-1); position: relative; }
.form .hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form .intent { display: flex; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.form .intent legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.form .intent label { display: inline-flex; align-items: center; gap: 9px; border: 1.5px solid var(--line-strong); border-radius: var(--r-m); padding: 11px 15px; cursor: pointer; font-size: .95rem; }
.form .intent input { width: auto; margin: 0; accent-color: var(--green); }
.form .intent label:has(input:checked) { border-color: var(--green); background: var(--green-wash); }
.form .btn { width: 100%; }
.form .status { margin: 0; font-weight: 600; }
.form .status:empty { display: none; }
.form .status.bad { color: var(--error); }
.form .trust { margin: -6px 0 0; font-size: .88rem; color: var(--ink-muted); }
.form.sent > :not(.done) { display: none; }
.form .done { display: none; }
.form.sent .done { display: block; }
.done h3 { font-size: 1.5rem; }
.done ol { padding-left: 1.2em; color: var(--ink-muted); }
.done ol li { margin: 8px 0; }
.side-note { display: grid; gap: 16px; margin-top: 26px; }
.side-note div { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-muted); }
.side-note svg { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }
.side-note b { color: var(--ink); font-weight: 600; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------- score tool ---------------- */
.scan-steps { list-style: none; padding: 0; margin: 28px 0 0; display: none; gap: 9px; max-width: 560px; font-size: .97rem; color: var(--ink-muted); }
.scan-steps.on { display: grid; }
.scan-steps li { display: flex; gap: 10px; align-items: center; opacity: .45; transition: opacity .25s; }
.scan-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.scan-steps li.on { opacity: 1; color: var(--ink); }
.scan-steps li.on::before { border-color: var(--green); border-right-color: transparent; animation: spin .7s linear infinite; }
.scan-steps li.ok { opacity: 1; }
.scan-steps li.ok::before { border-color: var(--green); background: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.scan-err { color: var(--error); font-weight: 600; margin: 12px 0 0; }
.scan-err:empty { display: none; }
.result { display: none; padding-top: 0; }
.result.on { display: block; }
.res-top { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 36px; }
.gauge { position: relative; width: 240px; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--surface-alt); stroke-width: 12; }
.gauge .val { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease), stroke .3s; }
.gauge .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .num b { font-size: 5rem; font-weight: 800; font-variation-settings: "wdth" 112; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.gauge .num small { font: 500 .74rem var(--mono); color: var(--ink-muted); }
.band-word { display: inline-block; font: 600 .74rem/1 var(--mono); padding: 7px 9px; border-radius: var(--r-s); border: 1.5px solid currentColor; margin-bottom: 14px; }
.res-top .site { font: 500 .82rem var(--mono); color: var(--ink-muted); word-break: break-all; margin-bottom: 6px; }
.res-top h2 { font-size: clamp(1.7rem, 2.6vw + .6rem, 2.6rem); }
.top3 { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 30px); margin-bottom: 22px; }
.top3 h3 { margin-bottom: 4px; }
.top3 ol { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.top3 li { display: grid; grid-template-columns: 34px 1fr auto; gap: 4px 12px; align-items: start; padding: 16px 0 0; margin-top: 14px; border-top: 1px solid var(--line); }
.top3 li::before { counter-increment: t; content: counter(t); width: 28px; height: 28px; border-radius: 50%; background: var(--surface-alt); display: grid; place-items: center; font: 600 .78rem var(--mono); grid-row: span 2; }
.top3 li b { font-weight: 650; }
.top3 li p { margin: 0; color: var(--ink-muted); grid-column: 2 / -1; }
.top3 .fix { font: 600 .68rem/1 var(--mono); color: var(--success); border: 1.5px solid var(--success); border-radius: var(--r-s); padding: 5px 7px; white-space: nowrap; }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; }
.cat-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.cat-h h3 { margin: 0; font-size: 1.05rem; }
.cat-h span { font: 600 .82rem var(--mono); font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: var(--r-s); background: var(--surface-alt); margin: 12px 0 14px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: var(--r-s); transition: width 1.2s var(--ease); }
.cat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.cat li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.cat li .i { font-weight: 800; }
.cat li.pass { color: var(--ink-muted); }
.cat li.pass .i { color: var(--success); }
.cat li.fail .i { color: var(--error); }
.cat li.fail b { display: block; font-weight: 600; }
.next { margin: 0 0 22px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: stretch; }
.next .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(20px, 3vw, 30px); }
.next .card.primary { border: 2px solid var(--green); }
.next h3 { margin-bottom: 8px; }
.next p { color: var(--ink-muted); }
.next .form { box-shadow: none; border: 0; padding: 0; gap: 14px; }
@media (max-width: 800px) { .res-top { grid-template-columns: 1fr; justify-items: center; text-align: center; } .gauge { width: 210px; } .next { grid-template-columns: 1fr; } }

/* ---------------- page heads ---------------- */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { font-size: clamp(2.4rem, 4.4vw + .6rem, 4.6rem); max-width: 18ch; }
.crumbs { font-size: .86rem; color: var(--ink-muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--ink-muted); }

/* industries */
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
.trade-card { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.trade-card:hover { color: var(--ink); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.trade-card .timg { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-alt); }
.trade-card .timg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.trade-card:hover .timg img { transform: scale(1.04); }
.trade-card .tbody { padding: 18px 20px 20px; }
.trade-card h3 { margin: 0 0 4px; font-size: 1.12rem; }
.trade-card p { margin: 0; color: var(--ink-muted); font-size: .94rem; }
.need { list-style: none; padding: 0; margin: 0; }
.need li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 4px 12px; }
.need li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.4l3.2 3.1L13 4.6' fill='none' stroke='%230E4D3A' stroke-width='2.2'/%3E%3C/svg%3E") center/contain no-repeat; grid-row: span 2; }
.need b { font-weight: 650; }
.need span { color: var(--ink-muted); grid-column: 2; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.trade-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.trade-hero .photo { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-1); }
.trade-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .trade-hero { grid-template-columns: 1fr; } }
.idea { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; }
.idea ol { padding-left: 1.2em; color: var(--ink-muted); }
.idea li { margin: 6px 0; }
.queries { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.queries li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .92rem; }
.prose { max-width: 740px; }
.prose h2 { font-size: clamp(1.5rem, 2vw + .8rem, 2.1rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }

/* ---------------- footer ---------------- */
.site-foot { background: var(--night); color: var(--night-muted); padding: 0 0 30px; font-size: .95rem; }
.foot-photo { position: relative; height: clamp(170px, 22vw, 300px); overflow: hidden; margin-bottom: 56px; }
.foot-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; opacity: .5; }
.foot-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 34, 25, .15), var(--night)); }
.foot-photo p { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; margin: 0; }
.foot-photo p span { font-size: clamp(1.4rem, 2vw + .6rem, 2.4rem); font-weight: 720; font-variation-settings: "wdth" 115; color: var(--night-ink); letter-spacing: -.015em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h4 { color: var(--night-ink); font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin: 0 0 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--night-muted); text-decoration: none; }
.site-foot a:hover { color: var(--night-ink); text-decoration: underline; }
.site-foot .logo { color: var(--night-ink); }
.site-foot .logo .tag { color: var(--night-muted); border-color: #2C4A3D; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #1F3D31; padding-top: 22px; margin-top: 48px; font-size: .86rem; }
.foot-clients { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.site-foot .foot-login { display: inline-grid; gap: 2px; padding: 12px 16px; border: 1px solid #2c5545; border-radius: var(--r-m); color: var(--night-ink); font-weight: 650; text-decoration: none; }
.site-foot .foot-login span { font-weight: 400; font-size: .84rem; color: var(--night-muted); }
.site-foot .foot-login:hover { border-color: var(--brass-on-night); color: var(--night-ink); }
.site-foot .foot-admin { font-size: .86rem; color: var(--night-muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------- mobile sticky actions ---------------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 244, 238, .97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .3s var(--ease); }
  .dock.show { transform: none; }
  .dock .btn { min-height: 50px; padding: 0 10px; font-size: .97rem; }
  .site-foot { padding-bottom: 96px; }
}

/* ---------------- reveal ---------------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .stage img.on { transform: none; }
}

/* demo sizing */
@media (min-width: 861px) { .dd .stage { aspect-ratio: auto; min-height: 480px; height: 100%; } }
#demo-tree .stage { aspect-ratio: 21 / 10; }
@media (max-width: 700px) { #demo-tree .stage { aspect-ratio: 4 / 5; } }

/* ---------- CP1 fixes ---------- */
.logo .lc { fill: var(--green); }
.site-foot .logo .lc { fill: currentColor; }

/* hero: stacked deck of real sites on a spruce field */
.showcase { position: relative; padding: 0 0 0 0; }
.deck { position: relative; aspect-ratio: 16 / 11; margin: 18px 18px 0 0; }
.deck::before { content: ""; position: absolute; inset: 36px -18px -18px 36px; background: var(--green); border-radius: var(--r-l); }
.deck .card { position: absolute; inset: 0 0 auto 0; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 rgba(14, 77, 58, .1), 0 24px 48px -24px rgba(11, 34, 25, .55); outline: 1px solid rgba(14, 77, 58, .12); transition: transform .8s var(--ease), opacity .6s ease; transform-origin: 50% 100%; }
.deck .card img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.deck .p0 { transform: none; z-index: 3; }
.deck .p1 { transform: translate(4%, 7%) rotate(2.5deg) scale(.95); z-index: 2; }
.deck .p2 { transform: translate(8%, 13%) rotate(5deg) scale(.9); z-index: 1; opacity: .9; }
.deck .p3 { transform: translate(8%, 13%) rotate(5deg) scale(.9); z-index: 0; opacity: 0; }
.deck .out { transform: translate(-6%, -4%) rotate(-4deg) scale(1.02); opacity: 0; z-index: 4; }
.show-cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; min-height: 52px; padding-right: 0; }
.deck-ctl { display: flex; align-items: center; gap: 8px; font: 500 .8rem var(--mono); color: var(--ink-muted); }
.deck-ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.05rem; }
.deck-ctl button:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 960px) { .deck { max-width: 620px; } }
@media (max-width: 520px) { .deck { margin-right: 14px; } .deck::before { inset: 24px -14px -14px 24px; } .show-cap { margin-top: 32px; } }

/* Charlotte band */
.clt { position: relative; padding: 0; min-height: clamp(380px, 46vw, 560px); display: grid; align-items: end; overflow: hidden; background: var(--night); }
.clt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 34, 25, .78) 0%, rgba(11, 34, 25, .35) 55%, rgba(11, 34, 25, .1) 100%), linear-gradient(180deg, rgba(11, 34, 25, 0) 40%, rgba(11, 34, 25, .7)); }
.clt-in { position: relative; z-index: 1; padding: clamp(40px, 6vw, 72px) 0; color: var(--night-ink); }
.clt-in h2 { color: var(--night-ink); max-width: 16ch; }
.clt-crown { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 .9rem var(--mono); color: var(--brass-on-night); }
.clt-crown .crown { width: 30px; height: 30px; color: var(--paper); }
.clt-towns { font: 500 .82rem/1.8 var(--mono); color: var(--night-muted); margin: 0 0 8px; }
.clt-note { color: var(--night-muted); max-width: 52ch; margin: 0; }
.final .clt-towns { color: var(--ink-muted); }

/* Dan statement */
.dan-solo > div { max-width: 900px; }
.dan-statement { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.3rem); line-height: 1.25; font-weight: 640; font-variation-settings: "wdth" 106; letter-spacing: -.015em; margin: 0 0 22px; }
.dan-sig { font-weight: 650; margin: 0 0 22px; }
.dan-sig span { display: block; font-weight: 400; color: var(--ink-muted); font-size: .92rem; }
.dan-solo ul { padding-left: 1.1em; color: var(--ink-muted); }

/* status chips */
.work-card .status { font: 600 .68rem/1 var(--mono); }
.work-card .status.live { color: var(--success); padding-left: 22px; }
.work-card .status.live::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--success); }

/* tree caption room + story column */
#demo-tree .stage-cap { bottom: 30px; }
.story { align-items: start; }
.story-photo { aspect-ratio: 4 / 5; }
.story-photo img { object-position: 55% 45%; }

/* radii onto tokens */
.btn, .scanbar input, input, select, textarea, .pk, .form .intent label { border-radius: var(--r-m); }
.frame, .work-card .wimg, .story-photo, .proof-card .pimg { border-radius: var(--r-m); }
.demo, .tier, .step, .form, .top3, .cat, .next .card, .trade-card, .idea, .preview-box, .faq details, .demo-switch, .notfit, .trade-hero .photo { border-radius: var(--r-l); }
.demo-switch [role=tab] { border-radius: var(--r-m); }
.concept, .work-card .status, .badge, .band-word, .demo-foot .tag, .top3 .fix, .lot .lab { border-radius: var(--r-s); }
.site-foot h2.fh { color: var(--night-ink); font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin: 0 0 14px; font-variation-settings: "wdth" 100; }
.dock.hold { transform: translateY(110%); }

/* ---------- CP4 ---------- */
.site-foot { padding-top: 96px; }
@media (max-width: 760px) { .site-foot { padding-top: 64px; } }

/* recurring 704 mark */
.mark704 { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 .875rem var(--mono); letter-spacing: .12em; color: var(--green); }
.mark704 .crown { width: 22px; height: 22px; color: var(--green); }
.mark704.on-dark { color: var(--brass-on-night); }
.mark704.on-dark .crown { color: var(--paper); }

/* Charlotte band legibility */
.clt-in > * { max-width: 640px; }
.clt::after { background: linear-gradient(90deg, rgba(11, 34, 25, .86) 0%, rgba(11, 34, 25, .58) 45%, rgba(11, 34, 25, 0) 78%), linear-gradient(180deg, rgba(11, 34, 25, 0) 45%, rgba(11, 34, 25, .6)); }

/* word of mouth: a real phone screenshot */
.story-phone { margin: 0; position: sticky; top: 110px; justify-self: center; text-align: center; }
.sp-screen { width: min(300px, 72vw); aspect-ratio: 390 / 844; margin: 0 auto; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); background: var(--surface); }
.sp-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.story-phone figcaption { margin-top: 16px; font-size: .92rem; color: var(--ink-muted); }
@media (max-width: 860px) { .story-phone { position: static; margin-top: 12px; } }

/* Dan: statement + facts */
.dan-solo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dan-solo > div { max-width: none; }
#dan { padding: 96px 0; }
.dan-facts dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.dan-facts dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.dan-facts dt { font: 500 .78rem/1.8 var(--mono); color: var(--ink-muted); }
.dan-facts dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .dan-solo { grid-template-columns: 1fr; } #dan { padding: 72px 0; } }

/* case pages */
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.case-long { max-height: 2200px; overflow: hidden; position: relative; }
.case-long::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(246, 244, 238, 0), var(--paper)); }
.case-long img { width: 100%; height: auto; }
.case-side { position: sticky; top: 100px; display: grid; gap: 18px; }
.case-side .h3 { margin: 0; }
.case-phone { width: 240px; aspect-ratio: 390 / 844; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-1); }
.case-phone img { width: 100%; height: auto; }
.status-note { font-size: .92rem; color: var(--ink-muted); }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr; } .case-side { position: static; } .case-long { max-height: 1400px; } }

/* hero deck controls on phones */
.deck-ctl .num { white-space: nowrap; min-width: 3.2em; text-align: center; }
@media (max-width: 600px) {
  .show-cap { flex-direction: column; align-items: stretch; gap: 10px; }
  .deck-ctl { justify-content: space-between; }
}

/* ---------- CP5 ---------- */
body { overflow-x: clip; }

/* before / after (real old site vs the build) */
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-2); background: var(--surface-alt); touch-action: pan-y; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p, 50%)); }
.ba .edge { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px; background: var(--green); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); transform: translateX(-1px); z-index: 2; pointer-events: none; }
.ba .edge::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F3EFE4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center/22px no-repeat; box-shadow: var(--shadow-1); }
.ba .lab { position: absolute; top: 14px; z-index: 3; font: 600 .68rem/1 var(--mono); padding: 7px 9px; border-radius: var(--r-s); background: rgba(255, 255, 255, .94); color: var(--ink); }
.ba .lab.before { left: 14px; }
.ba .lab.after { right: 14px; background: var(--green); color: var(--night-ink); }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-muted); }
.ba figcaption b { color: var(--ink); font-weight: 600; }
.ba-none .ba-frame .lab.after { right: 14px; }
.ba-home { margin-top: clamp(48px, 6vw, 80px); }
.ba-home h3 { margin-bottom: 16px; }

/* about: prose + real builds */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-builds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 100px; }
.ab-card { display: block; text-decoration: none; color: var(--ink); font-size: .86rem; font-weight: 600; }
.ab-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: var(--r-m); border: 1px solid var(--line); margin-bottom: 6px; }
.ab-card:hover { color: var(--green); }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .about-builds { position: static; } }

/* hero deck: fan the back cards so each real site shows */
.deck .p1 { transform: translate(28px, 22px) rotate(2deg) scale(.97); }
.deck .p2 { transform: translate(52px, 42px) rotate(4deg) scale(.94); opacity: 1; }
.deck .p3 { transform: translate(76px, 62px) rotate(6deg) scale(.91); opacity: 1; z-index: 0; }
.deck { margin-right: 76px; margin-bottom: 62px; }
.deck::before { inset: 48px -10px -70px 48px; }
@media (max-width: 520px) {
  .deck { margin-right: 36px; margin-bottom: 30px; }
  .deck .p1 { transform: translate(12px, 10px) rotate(2deg) scale(.97); }
  .deck .p2 { transform: translate(24px, 20px) rotate(4deg) scale(.94); }
  .deck .p3 { transform: translate(36px, 30px) rotate(6deg) scale(.91); }
  .deck::before { inset: 24px -6px -36px 24px; }
}

/* ---------- CP6 ---------- */
@media (max-width: 700px) {
  .ba-frame { aspect-ratio: 4 / 5; }
  .ba .lab { top: 10px; font-size: .62rem; padding: 6px 7px; }
  .ba .lab.before { left: 10px; } .ba .lab.after { right: 10px; }
  .ba .edge::after { width: 36px; height: 36px; margin: -18px 0 0 -18px; background-size: 18px; }
}
.ba-frame:has(input:focus-visible) { outline: 3px solid var(--green-bright); outline-offset: 3px; }
.ba-note { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-m); padding: 18px 22px; }
.ba-note .lab { font: 600 .68rem/1 var(--mono); padding: 7px 9px; border-radius: var(--r-s); background: var(--surface-alt); color: var(--ink); margin-top: 2px; }
.ba-note p { margin: 0; color: var(--ink-muted); }
.ba-note b { color: var(--ink); font-weight: 650; }
.show-cap { margin-top: 28px; }
.show-cap .who .chip { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font: 600 .66rem/1 var(--mono); padding: 5px 7px; border-radius: var(--r-s); border: 1px solid var(--line-strong); color: var(--ink-muted); vertical-align: 2px; }
.show-cap .who .chip.live { color: var(--success); border-color: var(--success); }
.show-cap .who .chip.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* ---------- CP7 ---------- */
@media (max-width: 700px) { .ba .lab { top: auto; bottom: 10px; } }
.sticky-col { position: sticky; top: 120px; align-self: start; }
@media (max-width: 860px) { .sticky-col { position: static; } }

/* before/after reads left-to-right as NEW | old: opens showing the whole new hero */
.ba-after { clip-path: inset(0 calc(100% - var(--p, 88%)) 0 0); }
.ba .lab.after { left: 14px; right: auto; }
.ba .lab.before { right: 14px; left: auto; background: rgba(255, 255, 255, .94); }
@media (max-width: 700px) { .ba .lab.after { left: 10px; } .ba .lab.before { right: 10px; } }
.ba-frame img { object-position: left top !important; }

/* ---------------- concept sites (captures that scroll slowly inside a frame) ---------------- */
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(22px, 3vw, 40px); }
.cx { margin: 0; }
.cx-frame { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 60px -36px rgba(15, 31, 25, .45); }
.cx-bar { display: flex; gap: 6px; align-items: center; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.cx-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D9D5CA; }
.cx-bar span { margin-left: auto; font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.cx-view { aspect-ratio: 16 / 10; overflow: hidden; container-type: size; border-radius: 0 0 13px 13px; }
.cx-pan { display: block; width: 100%; height: auto; will-change: transform; }
.cx.on .cx-view .cx-pan { animation: cxpan 28s ease-in-out infinite alternate; }
.cx-phone { position: absolute; right: -12px; bottom: -26px; width: 23%; min-width: 92px; border: 5px solid #16171A; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .55); }
.cx-pview { aspect-ratio: 9 / 19; overflow: hidden; container-type: size; }
.cx.on .cx-pview .cx-pan { animation: cxpan 22s ease-in-out -7s infinite alternate; }
.cx:hover .cx-pan { animation-play-state: paused; }
@keyframes cxpan { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-100% + 100cqh)); } }
.cx figcaption { margin-top: 38px; display: grid; gap: 2px; max-width: 46ch; }
.cx figcaption .cx-tag { justify-self: start; font: 600 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; margin-bottom: 8px; }
.cx figcaption b { font-size: 1.15rem; }
.cx figcaption .k { font: 500 .85rem var(--mono); color: var(--green); }
.cx figcaption p { margin: 6px 0 0; color: var(--ink-muted); }
@media (max-width: 820px) { .cx-grid { grid-template-columns: minmax(0, 1fr); } .cx-phone { right: 10px; } }
@media (prefers-reduced-motion: reduce) { .cx .cx-pan { animation: none !important; } }

/* four tiers (Operator) + backend Ops */
.tiers.tiers4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .tiers.tiers4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiers.tiers4 { grid-template-columns: 1fr; } }
.tier.ops { border: 2px solid var(--ink); }
.tier .badge.ops { color: var(--ink); border-color: var(--ink); }
.ops-ex .eyebrow { font: 600 .72rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin: 0; }
