/* Porchside website. Tokens from the brand (porchside-os/brand/tokens.json).
   Square corners, no borders on panels (fill depth separates), 1px gold rules, one lamp per view.
   Layout idea: large type and generous space; each section is one headline and one idea. */
:root {
  --ground: #f1ede3;        /* vellum */
  --surface: #f8f5ee;
  --sunk: #e6e0d3;
  --ink: #1b2a47;           /* oxford */
  --ink-2: #6b2632;         /* oxblood: eyebrows, links */
  --muted: #474f63;         /* slate, deepened for reading */
  --c1: #a8424f; --c2: #3e5c9a; --c3: #b08a3e; /* chart series, validated on vellum */
  --gold: #a8894e;
  --gold-text: #8a6d36;     /* gold-deep */
  --forest: #1e3b2f;
  --band: #1b2a47;
  --on-band: #f1ede3;
  --on-band-muted: #cdd2dc;
  --on-band-accent: #d6b98a; /* small gold text on oxford */
  --band-rule: rgba(241, 237, 227, .16);
  --rule: rgba(27, 42, 71, .16);
  --btn: #1b2a47;
  --on-btn: #f1ede3;
  --field: #fbf9f4;
  --error: #8b2a2a;

  --display: "Cormorant Garamond", Garamond, Georgia, serif;
  --sc: "Cormorant SC", "Cormorant Garamond", Garamond, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(72px, 10vw, 136px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0f182b;
    --surface: #162239;
    --sunk: #1c2b48;
    --ink: #ece7db;
    --ink-2: #d6b98a;
    --muted: #bcc3d0;
    --c1: #c25566; --c2: #5a7ccc; --c3: #a87f2e;
    --gold-text: #c9ad78;
    --forest: #9fc2ad;
    --band: #0a1120;
    --band-rule: rgba(241, 237, 227, .1);
    --rule: rgba(236, 231, 219, .14);
    --btn: #f1ede3;
    --on-btn: #1b2a47;
    --field: #111c31;
    --error: #f0b4a8;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, dl, dd, ol, ul, figure { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: var(--ink-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -48px; background: var(--btn); color: var(--on-btn); padding: 10px 14px; z-index: 20; }
.skip:focus { top: 12px; }

/* Type */
.eyebrow { font-family: var(--sans); font-weight: 600; font-size: 14px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.005em; max-width: 22ch; margin-top: 14px; }
.rule { display: block; width: 48px; height: 1px; background: var(--gold); margin: 28px 0; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.65; color: var(--muted); max-width: 56ch; }
.src { font-size: 13.5px; color: var(--muted); margin-top: 28px; }
.k { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--gold-text); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.1; padding: 15px 22px; border: 0; border-radius: 2px; background: var(--btn); color: var(--on-btn); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn.on-band { background: var(--on-band); color: #1b2a47; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; padding-bottom: 5px; box-shadow: inset 0 -1px 0 var(--gold); }
.link-btn.on-band { color: var(--on-band); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease, opacity .15s ease; }
  .btn:hover { transform: translateY(-1px); }
}

/* Masthead */
.mast { position: sticky; top: 0; z-index: 10; background: var(--band); color: var(--on-band); padding-top: env(safe-area-inset-top, 0px); }
.mast-in { display: flex; align-items: center; gap: 32px; padding-block: 16px; }
.mast-logo img { width: 172px; height: auto; }
.mast nav { display: flex; gap: 26px; flex: 1; justify-content: flex-end; font-size: 14px; font-weight: 500; }
.mast nav a { color: var(--on-band-muted); text-decoration: none; white-space: nowrap; }
.mast nav a:hover { color: var(--on-band); }
.mast .btn { font-size: 14px; padding: 11px 15px; }

/* Hero */
.hero { background: var(--band); color: var(--on-band); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: clamp(56px, 9vw, 120px) clamp(64px, 10vw, 136px); }
.hero .eyebrow { font-family: var(--sc); text-transform: lowercase; font-weight: 600; color: var(--on-band-accent); font-size: clamp(20px, 2.1vw, 27px); letter-spacing: .24em; }
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6vw, 76px); line-height: 1.01; letter-spacing: -.005em; margin-top: 18px; max-width: 13em; }
@media (min-width: 861px) { .hero h1 .h1-line { white-space: nowrap; } .hero h1 { font-size: clamp(40px, 4.9vw, 64px); } }
.stand { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(21px, 2.2vw, 25px); line-height: 1.3; text-wrap: balance; max-width: 34ch; }
.hero-body { font-size: 18px; line-height: 1.65; color: var(--on-band-muted); max-width: 54ch; margin-top: 14px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.hero-mark { color: var(--on-band); justify-self: end; width: 100%; max-width: 580px; }
.porch { width: 100%; height: auto; overflow: visible; color: var(--on-band); }
.porch .glow { opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .porch .glow { animation: porchlight 2.4s ease-out .4s both; }
  .porch .lamp { animation: lamp 2.4s ease-out .4s both; }
}
@keyframes porchlight { from { opacity: .15; } to { opacity: .85; } }
@keyframes lamp { from { fill: #6e6250; } to { fill: #a8894e; } }

/* Sections */
.sec { padding-block: var(--sec); }
.sec.surface { background: var(--surface); }
.sec.band { background: var(--band); color: var(--on-band); }
.sec.band .eyebrow { color: var(--on-band-accent); }
.sec.band .lead { color: var(--on-band-muted); }
.sec.band .src { color: var(--on-band-muted); }

/* Model: the free assessment feature and the five steps on a lit timeline */
.assess { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px 72px; margin-top: clamp(56px, 8vw, 96px); padding: clamp(28px, 5vw, 64px); background: var(--band); color: var(--on-band); }
.assess-kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-band-accent); }
.assess h3 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; margin-top: 14px; }
.assess-head > p:not(.assess-kicker) { color: var(--on-band-muted); font-size: 18px; line-height: 1.65; margin: 18px 0 30px; max-width: 42ch; }
.assess .btn { background: var(--on-band); color: #1b2a47; }
.assess-why { list-style: none; padding: 0; margin: 0; display: grid; align-content: center; }
.assess-why li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 8px; row-gap: 6px; padding: 24px 0; border-top: 1px solid var(--band-rule); }
.assess-why li:last-child { border-bottom: 1px solid var(--band-rule); }
.aw-n { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--on-band-accent); box-shadow: inset 0 0 0 1px rgba(214, 185, 138, .55); }
.assess-why h4 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.assess-why p { color: var(--on-band-muted); font-size: 16px; line-height: 1.6; }
.assess-proof { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px 72px; align-items: center; margin-top: clamp(8px, 2vw, 24px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--band-rule); }
.ap-quote { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(25px, 2.6vw, 34px); line-height: 1.25; color: var(--on-band-muted); max-width: 26ch; }
.ap-answer { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; color: var(--on-band); margin-top: 12px; }
.ap-body { font-size: 17px; line-height: 1.65; color: var(--on-band-muted); margin-top: 18px; max-width: 46ch; }
.range { margin: 0; display: grid; gap: 18px; }
.ct-head { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-band-accent); }
.rg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 18px; font-size: 15px; color: var(--on-band-muted); }
.rg-label { grid-column: 1 / -1; }
.rg-track { position: relative; height: 18px; }
.rg-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--band-rule); }
.rg-track::after { content: ""; position: absolute; left: 0; top: -5px; bottom: -5px; width: 2px; background: var(--on-band); opacity: .8; }
.rg-bar { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 0 9px 9px 0; transform-origin: 0 50%; }
.ov-wide { width: 83.3%; background: rgba(241, 237, 227, .42); }
.ov-narrow { width: 25%; background: var(--gold); box-shadow: 0 0 14px rgba(214, 185, 138, .45); }
.ov-scale { position: relative; height: 16px; margin-right: 186px; font-size: 12px; color: var(--on-band-muted); }
.ov-tick { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.ov-t0 { left: 0; transform: none; color: var(--on-band); font-weight: 600; }
.ov-t1 { left: 33.3%; } .ov-t2 { left: 66.7%; }
.rg-val i { font-style: normal; font-weight: 500; color: var(--on-band-muted); margin-left: 6px; }
.rg-val { width: 168px; font-size: 17px; font-weight: 600; color: var(--on-band); font-variant-numeric: tabular-nums lining-nums; text-align: right; white-space: nowrap; }
.rg-us .rg-label { color: var(--on-band); font-weight: 600; }
.ct-take { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; color: var(--on-band); margin-top: 6px; }
.ct-note { font-size: 13px; color: var(--on-band-muted); opacity: .85; }
@media (prefers-reduced-motion: no-preference) {
  .assess-proof.pre .ov-wide, .assess-proof.pre .ov-narrow { transform: scaleX(0); }
  .assess-proof.in .ov-wide { transition: transform 1.3s cubic-bezier(.2, .7, .2, 1) .3s; }
  .assess-proof.in .ov-narrow { transition: transform 1.3s cubic-bezier(.2, .7, .2, 1) 1.1s; }
}

.vsteps { list-style: none; padding: 0; margin: clamp(72px, 10vw, 128px) auto 0; max-width: 1040px; position: relative; --p: 1; }
.vsteps::before, .vsteps::after { content: ""; position: absolute; left: 27px; top: 14px; width: 1px; }
.vsteps::before { bottom: 72px; background: var(--rule); }
.vsteps::after { height: calc((100% - 86px) * var(--p)); background: var(--gold); }
.vstep { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 16px 56px; padding: 0 0 72px 88px; }
.vstep::before { content: ""; position: absolute; left: 21px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--muted); transition: background-color .4s ease, box-shadow .4s ease; z-index: 1; }
.vstep.on::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(168, 137, 78, .18), 0 0 18px 4px rgba(214, 185, 138, .35); }
.vs-head { display: flex; align-items: baseline; gap: 16px; }
.vs-num { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.vs-head h3 { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.2vw, 56px); line-height: 1; }
.vs-body p { font-size: 18.5px; line-height: 1.65; color: var(--ink); max-width: 52ch; }
.vs-body .vs-why { margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.vs-why span { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }

/* Operations */


/* Three-up (neighborhoods, founder) */


/* Centered section heads */
.center-head { text-align: center; max-width: 920px; margin: 0 auto; }
.center-head h2 { margin-inline: auto; max-width: 20ch; }
.center-head .rule { margin: 28px auto; }
.center-head .lead { margin-inline: auto; max-width: 60ch; }

/* Problem: context, one big estimate, the vacancy row and the age timeline */
.scale { text-align: center; margin-top: clamp(56px, 7vw, 88px); }
/* The two key figures arrive already final: a soft focus-in, never a counter. */
@media (prefers-reduced-motion: no-preference) {
  .scale.pre .scale-num, .age.pre .age-num b { opacity: 0; transform: translateY(8px); filter: blur(10px); }
  .scale.pre .scale-sub { opacity: 0; }
  .scale.in .scale-num, .age.in .age-num b { transition: opacity 1.5s ease, transform 1.6s cubic-bezier(.2, .7, .2, 1), filter 1.5s ease; }
  .scale.in .scale-sub { transition: opacity 1.2s ease .5s; }
  .scale.pre, .scale.in { transform: none; opacity: 1; }
}
.scale-num { display: flex; justify-content: center; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.scale-num b { font-size: clamp(50px, 6.4vw, 92px); font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.scale-num span { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); color: var(--muted); }
.scale-sub { max-width: 54ch; margin: 22px auto 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.vacancy { margin: clamp(48px, 7vw, 80px) auto 0; max-width: 620px; text-align: center; }
.v-row { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.v-win { fill: var(--gold); fill-opacity: .7; stroke-width: 1; }
.v-win.dark { fill: none; }
.v-vacant { color: var(--muted); opacity: .7; }
.v-board { stroke-width: 1.2; }
.vacancy figcaption { margin-top: 18px; font-size: 18px; color: var(--muted); }
.vacancy figcaption b { color: var(--ink); font-weight: 600; }
.age { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: center; margin-top: clamp(64px, 9vw, 112px); padding-top: 56px; border-top: 1px solid var(--rule); }
.age-num { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.age-num b { font-weight: 600; font-size: clamp(46px, 5.4vw, 72px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.age-num span { font-size: 18px; font-weight: 600; }
.age-text > p:last-child { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 16px; max-width: 44ch; }
.timeline { width: 100%; height: auto; overflow: visible; }
.timeline .axis { color: var(--muted); }
.timeline .axis path { stroke-width: 1; opacity: .7; }
.timeline text { font-family: var(--sans); font-size: 13px; fill: var(--muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.timeline .span { fill: none; stroke: var(--gold); stroke-width: 2; }
.timeline .span-label { font-size: 16px; font-weight: 600; fill: var(--ink); }
.timeline .mk { fill: var(--gold); stroke: var(--ground); stroke-width: 2; }
.timeline .today { fill: var(--ink); }
.timeline .today-label { fill: var(--ink); font-weight: 600; }
.close { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(32px, 4vw, 54px); line-height: 1.15; color: var(--ink); text-align: center; margin-top: clamp(72px, 10vw, 128px); }
#problem .src { text-align: center; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px 72px; align-items: start; }
.founder-head { position: sticky; top: 110px; }
.founder-line { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.35; max-width: 22ch; }
.founder-body { display: grid; gap: 40px; padding-top: 6px; }
.founder-body > div { display: grid; gap: 12px; padding-top: 20px; border-top: 1px solid var(--gold); }
.founder-body h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.5vw, 32px); line-height: 1.1; }
.founder-body p { font-size: 17.5px; line-height: 1.7; color: var(--muted); max-width: 62ch; }

/* About page */
.about-hero { padding-block: clamp(80px, 12vw, 168px) clamp(24px, 4vw, 48px); }
.about-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(48px, 7.4vw, 104px); line-height: 1; letter-spacing: -.01em; margin-top: 16px; max-width: 14ch; }
.about-note { max-width: 700px; display: grid; gap: 20px; }
.about-lede { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(27px, 3.2vw, 38px); line-height: 1.3; color: var(--ink); }
.about-note p:not(.about-lede) { font-size: 19px; line-height: 1.75; color: var(--muted); }
.about-founder { padding-top: clamp(48px, 7vw, 96px); }
.about-cta { background: var(--surface); }
.ctas-center { margin-top: 30px; display: flex; justify-content: center; }
.mast nav a[aria-current="page"] { color: var(--on-band); }

/* Porch residents, drawn by /porch/main.js inside the logo (BUILD_SPEC 8.3). Tokens: docs/porch/style.md
   section 5. Two changes from the spec block: --lw-sil 1.3, not 1.1 (DEVIATIONS M2-7: at the 580 px
   logo 1.1 drew a grey line, 1.3 a cream one), and the contact-shadow stops read --p-shadow-floor,
   black on the dark band (DEVIATIONS M0-5: the dark --p-shadow is too close to the band to show). */
.porch { --p-shadow: #0a1222; --p-deep: #0f192e; --p-base: #1b2a47; --p-mid: #25385d; --p-light: #30466f;
  --p-gold: #a8894e; --p-gold-hi: #d6b98a; --p-gold-white: #ecd39f; --lw-sil: 1.3; --lw-in: .7; --lw-fine: .55;
  --p-shadow-floor: #0a1222; }
.porch.lite { --lw-sil: 1.6; --lw-in: 1; }
.porch.lite .d2 { display: none; }
.porch .actors path { stroke-linejoin: round; stroke-linecap: round; }
.porch path.o { stroke: currentColor; stroke-width: calc(var(--lw-sil) * 2px); paint-order: stroke fill; }
.porch path.oo { fill: none; stroke: currentColor; stroke-width: calc(var(--lw-sil) * 2px); }
.porch .fs { fill: var(--p-shadow); } .porch .fd { fill: var(--p-deep); } .porch .fb { fill: var(--p-base); }
.porch .fm { fill: var(--p-mid); } .porch .fl { fill: var(--p-light); }
.porch .far.fl { fill: var(--p-mid); } .porch .far.fm { fill: var(--p-base); }
.porch .far.fb { fill: var(--p-deep); } .porch .far.fd { fill: var(--p-shadow); }
.porch .d1 { fill: none; stroke: currentColor; stroke-width: calc(var(--lw-in) * 1px); }
.porch .d2 { fill: none; stroke: currentColor; stroke-width: calc(var(--lw-fine) * 1px); }
.porch .ink { fill: currentColor; stroke: none; }
.porch .shadow { fill: url(#porch-shadow); stroke: none; }
.porch .occ { fill: var(--band); stroke: none; }
.porch .gold { fill: var(--p-gold-hi); stroke: none; }
.porch .gold-deep { fill: var(--p-gold); stroke: none; }
.porch .halo { fill: url(#porch-halo); stroke: none; }
.porch .pool { fill: url(#porch-pool); stroke: none; }
.porch .glyph { fill: currentColor; stroke: none; font-family: var(--sans); font-weight: 600; }
.porch .glyph.z { font-family: var(--display); font-style: italic; font-weight: 500; }
.porch .shadow-stop { stop-color: var(--p-shadow-floor); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .pre { opacity: 0; transform: translateY(18px); }
  .in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .vacancy.pre .v-win:not(.dark) { fill-opacity: 0; }
  .vacancy.in .v-win { transition: fill-opacity .7s ease; }
  .vsteps::after { transition: height .15s linear; }
  .age .span { stroke-dasharray: 520; stroke-dashoffset: 0; }
  .age.pre .span { stroke-dashoffset: 520; }
  .age.in .span { transition: stroke-dashoffset 1.6s ease .3s; }
  .age.pre .mk { transform: translateX(380px); }
  .age.in .mk { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
}

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.mail { font-size: 18px; margin-top: 20px; }
.form { display: grid; gap: 20px; background: var(--surface); padding: clamp(20px, 3vw, 36px); }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 7px; }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 0; border-radius: 2px; box-shadow: inset 0 -1px 0 var(--muted); padding: 12px 13px; width: 100%; }
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 -2px 0 var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field.invalid input, .field.invalid textarea { box-shadow: inset 0 -2px 0 var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; font-weight: 500; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; font-size: 14px; padding: 9px 14px; background: var(--ground); border-radius: 2px; cursor: pointer; }
.chips input:checked + span { background: var(--btn); color: var(--on-btn); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.f2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { font-size: 14.5px; font-weight: 500; }
.status.ok { color: var(--forest); }
.status.err { color: var(--error); }
.fine { font-size: 13.5px; color: var(--muted); }

/* Footer */
.foot { background: var(--band); color: var(--on-band-muted); padding-block: 44px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot a { color: var(--on-band-muted); text-decoration: none; }
.foot a:hover { color: var(--on-band); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-top img { width: 160px; height: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.foot-bot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13.5px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--band-rule); }

/* Simple pages (privacy, 404) */
.page { padding-block: var(--sec); }
.page h1 { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; margin-top: 12px; }
.prose { max-width: 66ch; display: grid; gap: 16px; font-size: 16.5px; line-height: 1.7; }
.prose h2 { font-size: 28px; margin-top: 24px; }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.prose .meta { font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 1200px) {
  .mast nav { display: none; }
  .mast-in { justify-content: space-between; }
}
@media (max-width: 1000px) {
  .assess { grid-template-columns: minmax(0, 1fr); }
  .assess-proof { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero-in, .contact, .age, .founder { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-copy { text-align: center; }
  .hero h1, .hero .stand, .hero-body { margin-inline: auto; }
  .hero .rule { margin-inline: auto; }
  .ctas { justify-content: center; }
  .vstep { grid-template-columns: minmax(0, 1fr); padding-left: 64px; padding-bottom: 56px; }
  .vsteps::before, .vsteps::after { left: 17px; }
  .vstep::before { left: 11px; }
  .founder-head { position: static; }
  .hero-mark { justify-self: center; max-width: 320px; order: -1; }

}
@media (max-width: 600px) {
  .mast-logo img { width: 140px; }
  .mast .btn { font-size: 13px; padding: 10px 12px; }
  .f2 { grid-template-columns: minmax(0, 1fr); }
  .rg-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rg-val { width: auto; text-align: left; }
  .ov-scale { margin-right: 0; }
  .ov-t1, .ov-t2 { display: none; }
  .hero-mark { max-width: 260px; }
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 380px) {
  .mast .btn { display: none; }
}

@media (prefers-color-scheme: dark) {
  .porch { --p-shadow: #04080f; --p-deep: #070d19; --p-base: #0a1120; --p-mid: #142038; --p-light: #1e2d4b;
    --p-shadow-floor: #000000; }
}
