:root {
  --ink: #111514;
  --charcoal: #1a1f1d;
  --paper: #eee9df;
  --paper-deep: #d9d1c3;
  --yellow: #f3c342;
  --yellow-soft: #f8df7f;
  --line: rgba(17, 21, 20, .18);
  --muted: #5b625d;
  --white: #f8f5ed;
  --display: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1320px;
}

/* Shared accessibility panel hooks. Keep the authored dark opening intact by default while
   giving the panel's contrast and colour-safe controls a real Stackworth palette to change. */
html[data-a11y-contrast="high"] {
  --ink: #000;
  --charcoal: #000;
  --paper: #fff;
  --paper-deep: #fff;
  --yellow: #000;
  --yellow-soft: #fff;
  --line: #000;
  --muted: #000;
  --white: #fff;
  --stack-navy: #000;
  --stack-red: #fff;
  --stack-red-soft: #fff;
}

html[data-a11y-colour="safe"] {
  --yellow: #0072b2;
  --yellow-soft: #005a8d;
  --stack-red: #0072b2;
  --stack-red-soft: #005a8d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; }
body, button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a, summary, select, input, textarea { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, strong, .brand, .button, .nav-cta, .kicker, .section-number, .proof-strip, .form-head, .result-label, .aside-label, .method-tag, .footer-cta { font-family: var(--display); }
h1, h2, h3 { line-height: .94; letter-spacing: -.045em; }
h2 { font-size: clamp(3.2rem, 7vw, 6.5rem); max-width: 8ch; }
h3 { font-size: 1.55rem; }
em { color: var(--yellow); font-style: normal; }

.skip-link { position: absolute; z-index: 100; top: -4rem; left: 1rem; padding: .75rem 1rem; color: var(--ink); background: var(--yellow); font-weight: 800; }
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.site-header { position: absolute; z-index: 10; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 2rem; max-width: none; margin: auto; padding: 1.2rem max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)); border-bottom: 1px solid rgba(248,245,237,.28); color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--white); text-decoration: none; letter-spacing: .04em; }
.brand-mark { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; color: var(--ink); background: var(--yellow); font-size: .9rem; font-weight: 900; letter-spacing: -.08em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.2rem; line-height: 1; letter-spacing: .02em; }
.brand small { margin-top: .25rem; color: rgba(248,245,237,.72); font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.desktop-nav { display: flex; align-items: center; gap: 1.65rem; font-family: var(--display); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.desktop-nav a, .text-link { text-decoration: none; }
.desktop-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--yellow); }
.nav-cta, .footer-cta { display: inline-flex; gap: .8rem; align-items: center; padding: .75rem 1rem; color: var(--paper); background: var(--ink); }
.mobile-nav { display: none; }

.hero { position: relative; display: flex; align-items: flex-end; max-width: none; min-height: min(900px, 100svh); margin: 0; padding: clamp(10rem, 17vw, 13rem) max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)) clamp(4.2rem, 7vw, 6.5rem); overflow: hidden; color: var(--white); background: var(--charcoal); }
.hero-cinematic { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: var(--charcoal); clip-path: inset(0); }
.hero-cinematic::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(9,12,11,.9) 0%, rgba(9,12,11,.68) 31%, rgba(9,12,11,.22) 67%, rgba(9,12,11,.16) 100%), linear-gradient(0deg, rgba(9,12,11,.75) 0%, rgba(9,12,11,0) 38%, rgba(9,12,11,.22) 100%); content: ""; pointer-events: none; }
.hero-cinematic img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; filter: saturate(.86) contrast(1.08); transform: scale(1.08); }
.hero-copy { position: relative; z-index: 3; max-width: 680px; }
.hero .kicker { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem; color: var(--yellow-soft); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.signal-dot { width: .6rem; height: .6rem; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 .25rem rgba(243,195,66,.24); }
.hero h1 { max-width: 8ch; font-size: clamp(4.3rem, 9.3vw, 9.25rem); }
.hero-intro { max-width: 34rem; margin-top: 2rem; color: rgba(248,245,237,.86); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.35rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 3.25rem; padding: .85rem 1.3rem; border: 2px solid transparent; color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-yellow { background: var(--yellow); }
.button-yellow:hover { background: #ffd65f; }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: #39413d; }
.button-full { width: 100%; }
.text-link { font-family: var(--display); font-size: .83rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--yellow); padding-bottom: .2rem; }
.hero-evidence { max-width: 40rem; margin-top: 2.4rem; padding-top: .9rem; border-top: 1px solid rgba(248,245,237,.4); }
.hero-evidence-head, .hero-evidence-foot { display: flex; justify-content: space-between; gap: 1rem; color: rgba(248,245,237,.72); font-family: var(--display); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-evidence-head span:first-child { color: var(--yellow); }
.hero-evidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: .8rem; }
.hero-evidence-item { display: grid; gap: .25rem; min-width: 0; padding-right: .8rem; border-right: 1px solid rgba(248,245,237,.32); }
.hero-evidence-item:last-child { border-right: 0; }
.hero-evidence-item strong { font-size: 1.55rem; line-height: 1; letter-spacing: -.04em; }
.hero-evidence-item span { color: rgba(248,245,237,.72); font-family: var(--body); font-size: .7rem; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.hero-evidence-foot { align-items: center; margin-top: .9rem; padding-top: .7rem; border-top: 1px solid rgba(248,245,237,.32); font-family: var(--body); font-size: .7rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hero-evidence-foot a { color: var(--white); font-family: var(--display); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.hero-evidence-foot a:hover { color: var(--yellow); }
.hero-boundary { max-width: 36rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(248,245,237,.4); color: rgba(248,245,237,.72); font-size: .82rem; }
.hero-boundary strong { color: var(--white); }
.image-stamp { position: absolute; z-index: 2; left: max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)); bottom: 2.4rem; max-width: 13rem; padding: 1rem; color: var(--ink); background: var(--yellow); }
.image-stamp span, .image-caption, .hero-index { font-family: var(--display); font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.image-stamp strong { display: block; margin-top: .35rem; font-size: 1.35rem; line-height: .96; }
.image-caption { position: absolute; z-index: 2; top: 6rem; right: max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)); left: max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)); display: flex; justify-content: space-between; color: var(--white); }
.hero-index { position: absolute; z-index: 2; right: max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)); bottom: 2.4rem; display: flex; flex-direction: column; gap: .15rem; align-items: center; color: rgba(248,245,237,.7); }
.hero-index strong { color: var(--yellow); font-size: 1.3rem; }

.proof-strip { display: grid; grid-template-columns: .85fr 2.15fr; gap: 2rem; align-items: center; max-width: var(--max); margin: 0 auto; padding: 1.1rem 2.4rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-transform: uppercase; }
.proof-intro { display: flex; align-items: center; gap: .9rem; color: var(--muted); font-size: .66rem; letter-spacing: .1em; }
.proof-intro strong { color: var(--ink); font-size: .95rem; }
.section-number { color: #a99354; font-size: .72rem; font-weight: 900; }
.proof-strip ol { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-strip li { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: .25rem 1.4rem; border-left: 1px solid var(--line); }
.proof-strip li > span { grid-row: span 2; color: #9e8240; font-size: .75rem; }
.proof-strip strong { font-size: .8rem; letter-spacing: .08em; }
.proof-strip small { color: var(--muted); font-family: var(--body); font-size: .7rem; letter-spacing: 0; text-transform: none; }

.section-shell { max-width: var(--max); margin: auto; padding: clamp(5rem, 9vw, 9rem) 2.4rem; }
.section-heading { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; margin-bottom: 4rem; }
.section-heading .kicker { grid-column: 1 / -1; margin-bottom: -1rem; }
.section-heading h2 { grid-column: 1; }
.section-heading > p:last-child { max-width: 30rem; padding-bottom: .25rem; color: var(--muted); font-size: 1.1rem; }
.loop-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; gap: 1rem; }
.loop-card { min-width: 0; }
.loop-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.loop-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.05); transition: transform .5s ease; }
.loop-card:hover img { transform: scale(1.04); }
.loop-card-featured .loop-media { aspect-ratio: 1 / 1.1; }
.loop-card figcaption { padding: 1rem .15rem 0; }
.loop-card figcaption > span { display: block; color: #806a23; font-family: var(--display); font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.loop-card figcaption strong { display: block; margin: .55rem 0 .3rem; font-size: 1.5rem; }
.loop-card figcaption p { max-width: 19rem; color: var(--muted); font-size: .9rem; }
.disclosure { color: var(--muted); font-size: .72rem; }
.loop-section > .disclosure { margin-top: 1.4rem; }

.reckoner-section { color: var(--white); background: var(--charcoal); border-top: 9px solid var(--yellow); }
.reckoner-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); max-width: var(--max); margin: auto; padding: clamp(4.5rem, 9vw, 8rem) 2.4rem; }
.yellow-kicker { color: var(--yellow-soft); }
.reckoner-intro h2 { color: var(--white); }
.reckoner-intro > p:not(.kicker):not(.dark-boundary) { max-width: 30rem; margin-top: 2rem; color: #c6c8bd; font-size: 1.05rem; }
.dark-boundary { display: flex; gap: .8rem; max-width: 31rem; margin-top: 2.2rem; padding: 1rem; color: #c6c8bd; background: #252c29; border-left: 3px solid var(--yellow); font-size: .78rem; }
.boundary-icon { display: grid; place-items: center; flex: 0 0 1.3rem; height: 1.3rem; color: var(--ink); background: var(--yellow); font-family: var(--display); font-weight: 900; }
.reckoner-form { align-self: start; padding: clamp(1.2rem, 3vw, 2rem); background: var(--paper); color: var(--ink); }
.form-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); font-size: .78rem; font-weight: 900; letter-spacing: .13em; }
.live-badge { color: #55645a; font-family: var(--body); font-size: .72rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.live-badge i { display: inline-block; width: .45rem; height: .45rem; margin-right: .3rem; background: #5f9c6c; border-radius: 50%; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; padding: 1.5rem 0; }
.field-grid label, .contact-form label { display: flex; flex-direction: column; gap: .45rem; font-family: var(--display); font-size: .78rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
select, input, textarea { width: 100%; border: 1px solid #afb1a6; border-radius: 0; background: var(--white); color: var(--ink); padding: .75rem .7rem; }
select { appearance: auto; }
input[type="range"] { height: 1.2rem; padding: 0; accent-color: var(--ink); background: transparent; }
output { align-self: flex-end; margin-top: -1.5rem; color: #79611b; font-family: var(--body); font-size: .78rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.range-ends { display: flex; justify-content: space-between; margin-top: -.35rem; color: var(--muted); font-family: var(--body); font-size: .65rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.result-card { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; border: 1px solid var(--ink); }
.result-card > div { padding: 1rem; }
.result-card > div:nth-child(2) { border-left: 1px solid var(--ink); }
.result-label { display: block; min-height: 2.2em; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.result-card strong { display: block; margin-top: .25rem; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.05em; }
.result-total { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .8rem 1rem !important; color: var(--paper); background: var(--ink); }
.result-total span { font-family: var(--display); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.result-total strong { margin: 0; color: var(--yellow); font-size: 1rem; letter-spacing: 0; text-align: right; }
.form-note { margin-top: .7rem; color: var(--muted); font-size: .7rem; }

.handoff-section { padding-top: clamp(4rem, 8vw, 7rem); }
.handoff-summary { display: flex; gap: 1.4rem; align-items: flex-start; margin-bottom: 3rem; padding: 1.3rem; color: var(--ink); background: var(--yellow); }
/* ⚠ S291 bug fix: an author `display:flex` OVERRIDES the UA `[hidden]{display:none}` rule, so
   the JS-toggled summary rendered as an empty yellow void on load (it is `hidden` until the
   reckoner's "carry" button fires). Honour the attribute so only the empty-state shows at rest. */
.handoff-summary[hidden] { display: none !important; }
.summary-content { min-width: 0; }
.handoff-summary .kicker { margin-bottom: .6rem; color: #625019; }
.handoff-summary h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); }
.summary-tick { display: grid; place-items: center; flex: 0 0 2.7rem; width: 2.7rem; height: 2.7rem; background: var(--ink); color: var(--yellow); font-family: var(--display); font-size: 1.4rem; font-weight: 900; }
.handoff-summary .summary-copy { max-width: 37rem; margin-top: 1.1rem; font-size: .95rem; }
.summary-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 40rem; margin-top: 1.4rem; border-top: 1px solid rgba(17,21,20,.3); border-bottom: 1px solid rgba(17,21,20,.3); }
.summary-meta div { display: grid; gap: .25rem; padding: .75rem .9rem .75rem 0; border-right: 1px solid rgba(17,21,20,.3); }
.summary-meta div + div { padding-left: .9rem; }
.summary-meta div:last-child { border-right: 0; }
.summary-meta span { color: #625019; font-family: var(--display); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.summary-meta strong { font-family: var(--display); font-size: 1.15rem; line-height: 1; }
.summary-edit { display: inline-flex; gap: .6rem; margin-top: 1rem; color: var(--ink); font-family: var(--display); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.summary-edit:hover { color: #625019; }
.handoff-empty { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; margin-bottom: 3rem; }
.handoff-empty .kicker { grid-column: 1 / -1; margin-bottom: -1rem; }
.handoff-empty h2 { grid-column: 1; }
.handoff-empty > p:last-child { max-width: 30rem; color: var(--muted); font-size: 1.05rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .65fr); gap: clamp(2rem, 7vw, 7rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-form { display: grid; gap: 1rem; max-width: 40rem; }
.contact-form input, .contact-form textarea { margin-top: .2rem; background: transparent; }
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form .button { justify-self: start; }
.contact-aside { display: grid; gap: 2rem; }
.aside-block { padding: 1.2rem 0; border-top: 2px solid var(--ink); }
.aside-label { display: block; margin-bottom: 1rem; font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.aside-block ol { display: grid; gap: .9rem; }
.aside-block li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; color: var(--muted); font-size: .9rem; }
.aside-block li b { color: var(--ink); font-family: var(--display); }
.aside-block p { font-size: .9rem; }
.aside-muted { margin-top: .8rem; color: var(--muted); font-size: .75rem !important; }
.submit-state { padding: .8rem; color: #174c2b; background: #d8eedc; font-size: .8rem; }
.submit-state.is-success { display: block; }

.method-section { background: var(--paper-deep); border-top: 1px solid var(--line); }
.method-heading { margin-bottom: 3.5rem; }
.method-list { border-top: 1px solid var(--line); }
.method-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.method-list li > span:first-child { color: #92792e; font-family: var(--display); font-size: .8rem; font-weight: 900; }
.method-list h3 { margin-bottom: .35rem; font-size: 1.55rem; }
.method-list p { max-width: 43rem; color: var(--muted); font-size: .9rem; }
.method-tag { color: var(--muted); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.project-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 8vw, 9rem); align-items: center; }
.project-image { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; background: var(--charcoal); }
.project-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.6)); content: ""; }
.project-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.project-image > span { position: absolute; z-index: 1; right: 1rem; bottom: 1rem; left: 1rem; color: var(--white); font-family: var(--display); font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.project-copy h2 { max-width: 7ch; }
.project-copy > p:not(.kicker):not(.disclosure) { max-width: 30rem; margin-top: 1.5rem; color: var(--muted); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; margin: 2rem 0; padding: 1.2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts span, .facts strong { display: block; }
.facts span { color: var(--muted); font-family: var(--display); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.facts strong { margin-top: .2rem; font-family: var(--display); font-size: 1rem; }

.site-footer { padding: 2.5rem max(2.4rem, calc((100vw - var(--max)) / 2 + 2.4rem)); color: var(--paper); background: var(--ink); }
.site-footer .brand { color: var(--paper); }
.site-footer .brand small { color: #9ca29a; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding-bottom: 2.5rem; border-bottom: 1px solid #39413d; }
.footer-cta { background: var(--yellow); color: var(--ink); text-decoration: none; font-family: var(--display); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.3rem; color: #a9afa7; font-size: .72rem; }
.footer-bottom p { max-width: 32rem; }
.footer-bottom strong { color: var(--yellow); }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .site-header, .hero, .proof-strip, .section-shell, .reckoner-shell { padding-left: 1.3rem; padding-right: 1.3rem; }
  .desktop-nav { gap: .7rem; font-size: .73rem; }
  .desktop-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: min(780px, 100svh); padding-top: 8rem; }
  .hero-copy { max-width: none; }
  .hero h1 { max-width: 9ch; font-size: clamp(4.2rem, 14vw, 7.2rem); }
  .proof-strip { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.3rem; padding-bottom: 1.3rem; }
  .proof-strip ol { grid-template-columns: repeat(3, 1fr); }
  .proof-strip li { padding: .25rem .8rem; }
  .section-heading, .handoff-empty { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading .kicker, .handoff-empty .kicker { grid-column: auto; margin-bottom: 0; }
  .section-heading h2, .handoff-empty h2 { grid-column: auto; }
  .section-heading > p:last-child, .handoff-empty > p:last-child { max-width: 36rem; }
  .loop-grid { grid-template-columns: repeat(3, 1fr); }
  .reckoner-shell { grid-template-columns: 1fr; gap: 3rem; }
  .project-section { gap: 3rem; }
}

@media (max-width: 620px) {
  body { font-size: 15px; padding-bottom: 4rem; }
  .site-header { padding-top: .9rem; padding-bottom: .9rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; font-family: var(--display); font-size: .76rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
  .mobile-nav summary { padding: .65rem .8rem; border: 1px solid var(--white); color: var(--white); list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 20; top: calc(100% + .5rem); right: 0; display: grid; min-width: 14rem; padding: .5rem; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
  .mobile-nav nav a { padding: .8rem; text-decoration: none; }
  .mobile-nav nav a:hover { background: var(--yellow); }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: .52rem; }
  .brand-mark { width: 2.2rem; height: 2.2rem; font-size: .78rem; }
  .hero { min-height: 760px; padding-top: 7rem; padding-bottom: 3rem; }
  .hero h1 { font-size: clamp(3.7rem, 17vw, 5.8rem); }
  .hero-intro { margin-top: 1.5rem; font-size: 1rem; }
  .hero-actions { display: grid; gap: 1rem; margin-top: 1.6rem; }
  .hero-actions .button { width: 100%; }
  .hero-evidence { margin-top: 1.7rem; }
  .hero-evidence-head { font-size: .56rem; }
  .hero-evidence-item strong { font-size: 1.25rem; }
  .hero-evidence-item span { font-size: .64rem; }
  .hero-evidence-foot { align-items: flex-start; flex-direction: column; gap: .55rem; font-size: .68rem; }
  .hero-boundary { margin-top: 2rem; font-size: .75rem; }
  .hero-cinematic img { object-position: 62% 58%; }
  .image-stamp { left: 1.3rem; bottom: 1.3rem; padding: .7rem; }
  .image-stamp strong { font-size: 1.05rem; }
  .image-caption { top: 5rem; right: 1.3rem; left: 1.3rem; font-size: .5rem; }
  .hero-index { right: 1.3rem; bottom: 1.3rem; }
  .proof-strip { padding-top: 1.1rem; padding-bottom: 1.1rem; }
  .proof-strip ol { display: flex; overflow-x: auto; margin-right: -1.3rem; padding-right: 1.3rem; }
  .proof-strip li { min-width: 12rem; padding: .2rem 1rem .2rem .7rem; }
  .proof-strip small { display: block; font-size: .67rem; }
  .section-shell { padding-top: 4.8rem; padding-bottom: 4.8rem; }
  h2 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .section-heading { margin-bottom: 2.5rem; }
  .loop-grid { display: flex; overflow-x: auto; gap: .8rem; margin-right: -1.3rem; padding-right: 1.3rem; scroll-snap-type: x mandatory; }
  .loop-card, .loop-card-featured { flex: 0 0 78vw; scroll-snap-align: start; }
  .loop-media, .loop-card-featured .loop-media { aspect-ratio: 4 / 5; }
  .loop-card figcaption strong { font-size: 1.35rem; }
  .reckoner-shell { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .reckoner-intro > p:not(.kicker):not(.dark-boundary) { margin-top: 1.5rem; font-size: .95rem; }
  .field-grid { grid-template-columns: 1fr; gap: 1rem; }
  .result-card { grid-template-columns: 1fr; }
  .result-card > div:nth-child(2) { border-top: 1px solid var(--ink); border-left: 0; }
  .result-total { grid-column: auto; }
  .result-total strong { max-width: 10rem; font-size: .86rem; }
  .handoff-summary { gap: .8rem; margin-bottom: 2rem; padding: .9rem; }
  .handoff-summary h2 { font-size: 2.9rem; }
  .summary-tick { flex-basis: 2rem; width: 2rem; height: 2rem; font-size: 1rem; }
  .summary-meta { grid-template-columns: 1fr; gap: 0; }
  .summary-meta div, .summary-meta div + div { padding: .65rem 0; border-right: 0; border-bottom: 1px solid rgba(17,21,20,.3); }
  .summary-meta div:last-child { border-bottom: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form .button { width: 100%; }
  .method-list li { grid-template-columns: 2rem minmax(0, 1fr); gap: .8rem; align-items: start; }
  .method-list li > .method-tag { grid-column: 2; }
  .method-list h3 { font-size: 1.35rem; }
  .project-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .project-image { aspect-ratio: 1 / .95; }
  .facts { gap: .8rem; }
  .facts strong { font-size: .9rem; }
  .footer-top, .footer-bottom { display: grid; gap: 1.5rem; }
  .footer-cta { justify-self: start; }
  .mobile-cta { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: block; padding: .6rem; background: var(--ink); box-shadow: 0 -6px 18px rgba(0,0,0,.15); }
  .mobile-cta a { display: flex; justify-content: center; gap: .8rem; padding: .75rem; color: var(--ink); background: var(--yellow); font-family: var(--display); font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
}

/* ---------- Motion (S301, bounded cinematic opening + preserved section reveals) ----------
   The hero is a full-bleed site plate: it opens left-to-right like a shutter lifting from a hoarding,
   then drifts only a little with the page. The image is local and representative; no remote film is
   required. Native timelines stay compositor-friendly and reduced motion leaves a complete static frame. */
@keyframes sw-hero-bleed { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sw-hero-drift { from { transform: scale(1.08) translateY(0); } to { transform: scale(1) translateY(-2%); } }
@keyframes sw-enter {
  from { opacity: 0.35; clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .loop-card, .method-list > *, .project-image { animation: sw-enter linear both; animation-timeline: view(); animation-range: entry 4% cover 28%; }
    .loop-card:nth-child(2) { animation-range: entry 10% cover 32%; }
    .loop-card:nth-child(3) { animation-range: entry 15% cover 36%; }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-cinematic { animation: sw-hero-bleed 1.45s cubic-bezier(.77, 0, .175, 1) .08s both; }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-cinematic img { animation: sw-hero-drift linear both; animation-timeline: scroll(root block); animation-range: 0 75vh; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .hero-cinematic { animation: none !important; clip-path: inset(0) !important; }
  .hero-cinematic img, .loop-card, .method-list > *, .project-image {
    animation: none !important; animation-timeline: none !important; opacity: 1 !important; transform: none !important;
  }
  .sw-dust { display: none !important; }
  .sw-crack-line { animation: none !important; stroke-dashoffset: 0 !important; opacity: .6 !important; }
}

/* ---------- Signature: CRACK &amp; DUST (demolition) ----------
   A hairline crack fractures across the hero photo on load (stroke-dashoffset draw, then stays as
   a scar — this is a take-down site, not a polish reveal) while fine dust drifts down over the
   frame in a slow, tasteful, low-CPU ambient loop. transform/opacity/stroke-dashoffset only, both
   layers clipped to the full-bleed hero-cinematic -> 0 CLS, nothing paints outside the site plate. */
.sw-crack { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.sw-crack-line {
  fill: none; stroke: #f4f4f0; stroke-width: 2px; vector-effect: non-scaling-stroke;
  stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100;
  opacity: .85; filter: drop-shadow(0 0 3px rgba(0,0,0,.55));
}
.sw-dust { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.sw-dust span { position: absolute; top: -6%; width: 3px; height: 3px; background: #cfcabf; border-radius: 1px; opacity: 0; }
.sw-dust span:nth-child(1) { left: 9%; }
.sw-dust span:nth-child(2) { left: 23%; width: 4px; height: 4px; }
.sw-dust span:nth-child(3) { left: 37%; }
.sw-dust span:nth-child(4) { left: 51%; width: 2px; height: 2px; }
.sw-dust span:nth-child(5) { left: 65%; }
.sw-dust span:nth-child(6) { left: 79%; width: 4px; height: 4px; }
.sw-dust span:nth-child(7) { left: 91%; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes sw-crack-draw { to { stroke-dashoffset: 0; } }
  .sw-crack-line { animation: sw-crack-draw .9s cubic-bezier(.35, .02, .25, 1) .45s both; }

  @keyframes sw-dust-fall {
    0% { transform: translateY(0); opacity: 0; }
    8% { opacity: .55; }
    88% { opacity: .3; }
    100% { transform: translateY(430%); opacity: 0; }
  }
  .sw-dust span { animation: sw-dust-fall 7s linear infinite; }
  .sw-dust span:nth-child(1) { animation-duration: 6.4s; animation-delay: 0s; }
  .sw-dust span:nth-child(2) { animation-duration: 7.8s; animation-delay: 1.1s; }
  .sw-dust span:nth-child(3) { animation-duration: 6.9s; animation-delay: 2.4s; }
  .sw-dust span:nth-child(4) { animation-duration: 8.3s; animation-delay: .6s; }
  .sw-dust span:nth-child(5) { animation-duration: 7.1s; animation-delay: 3.2s; }
  .sw-dust span:nth-child(6) { animation-duration: 6.6s; animation-delay: 1.8s; }
  .sw-dust span:nth-child(7) { animation-duration: 7.6s; animation-delay: 2.9s; }
}
@media (max-width: 560px) {
  .sw-dust span:nth-child(6), .sw-dust span:nth-child(7) { display: none; }
}

/* S301 parity repair: Jim Wise's opening is a practical demolition plate rather than a generic
   editorial image. Use the authored demolition frame, make the new utility cue visible and keep
   the yellow safety language legible over the lighter building photograph. */
.stack-utility { display: flex; align-items: center; gap: .65rem 1rem; flex-wrap: wrap; max-width: 42rem; margin-bottom: 1.25rem; padding: .55rem .7rem; color: rgba(248,245,237,.86); background: rgba(17,21,20,.62); border-left: 3px solid var(--yellow); font-family: var(--display); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stack-utility span { color: var(--yellow); }
.hero-cinematic img { object-position: 52% 48%; filter: saturate(.72) contrast(1.08) brightness(.72); }
.hero-cinematic::before { background: linear-gradient(90deg, rgba(9,12,11,.92) 0%, rgba(9,12,11,.7) 31%, rgba(9,12,11,.28) 67%, rgba(9,12,11,.18) 100%), linear-gradient(0deg, rgba(9,12,11,.78) 0%, rgba(9,12,11,0) 38%, rgba(9,12,11,.24) 100%); }
@media (max-width: 560px) { .stack-utility { margin-bottom: .8rem; font-size: .58rem; line-height: 1.35; } .hero-cinematic img { object-position: 58% center; } }
@media (prefers-reduced-motion: reduce) { .hero-cinematic img { filter: saturate(.72) contrast(1.08) brightness(.72); } }
/* S301 parity repair — show the complete contractor statement and method band in the first frame. */
.stack-method-rail { display:grid; grid-template-columns:repeat(3,1fr) auto; gap:1px; background:#cc3f2f; color:#fff; }
.stack-method-rail span, .stack-method-rail a { display:flex; align-items:center; gap:.55rem; min-height:4rem; padding:.75rem 1rem; background:#101822; color:#fff; font-size:.64rem; font-weight:800; letter-spacing:.07em; text-decoration:none; text-transform:uppercase; }
.stack-method-rail span strong { color:#f3c547; font-size:1.1rem; }
.stack-method-rail a { justify-content:center; background:#cc3f2f; }
@media (max-width:960px) { .stack-method-rail { grid-template-columns:repeat(2,1fr); } .stack-method-rail a { min-height:3rem; } }
@media (max-width:680px) { .stack-method-rail { grid-template-columns:1fr; } .stack-method-rail span, .stack-method-rail a { min-height:2.7rem; padding:.6rem .75rem; font-size:.55rem; } }
/* Keep the contractor/stat decision in the opening viewport, as in the reference. The rail
   remains in normal document flow but kisses the hero edge instead of appearing after a blank
   scroll gap. */
.stack-method-rail { position:relative; z-index:7; margin-top:-3.6rem; }
@media (max-width:680px) { .stack-method-rail { margin-top:-2.1rem; } }
@media (min-width:900px) { .hero { min-height:min(48rem,calc(100vh - 4rem)); } .hero-cinematic img { object-position:center 36%; } .hero-copy { padding-top:4.5rem; padding-bottom:4.5rem; } }

/* S301 opening-parity closeout — keep the method/CTA decision in the first viewport while
   retaining the large demolition image and red/yellow field-file grammar. */
@media (min-width:900px) {
  .hero { min-height:min(41rem,calc(100vh - 3rem)); padding-top:2.8rem; padding-bottom:2.8rem; }
  .hero-copy { padding-top:2.8rem; padding-bottom:2.8rem; }
  .hero h1 { max-width:14ch; font-size:clamp(3.2rem,5.3vw,5.2rem); line-height:.94; }
  .hero-actions { margin-top:1rem; }
  .hero-evidence { margin-top:1rem; }
}

/* S301 mapped-opening closeout: the reference is a navy/red contractor plate with a machine
   visible behind the claim. Stackworth keeps its own honest route copy while adopting that
   high-contrast hierarchy and the newly authored local hero photograph. */
:root { --stack-navy:#0b162a; --stack-red:#ff3b2e; --stack-red-soft:#ff8478; }
.site-header { background:rgba(11,22,42,.88); border-bottom-color:rgba(255,255,255,.25); }
.hero { background:var(--stack-navy); }
.hero-cinematic::before { background:linear-gradient(90deg,rgba(7,17,34,.96) 0%,rgba(7,17,34,.78) 34%,rgba(7,17,34,.2) 70%,rgba(7,17,34,.28) 100%),linear-gradient(0deg,rgba(7,17,34,.84),transparent 46%,rgba(7,17,34,.18)); }
.hero-cinematic img { object-position:center center; filter:saturate(.9) contrast(1.08) brightness(.82); }
.hero h1 em, .hero .kicker, .hero-evidence-head span:first-child, .hero-evidence-foot a, .hero-index strong { color:var(--stack-red); }
.stack-site-badge { background:var(--stack-red) !important; color:#fff !important; }
.button-yellow { color:#fff; background:var(--stack-red); }
.button-yellow:hover { background:var(--stack-red-soft); }
.stack-method-rail { background:var(--stack-red); }
.stack-method-rail a { background:var(--stack-red); }
.stack-method-rail span strong { color:var(--stack-red-soft); }
.image-stamp { color:#fff; background:var(--stack-red); }
@media (max-width:680px) { .site-header { background:rgba(11,22,42,.96); } .hero-cinematic img { object-position:64% center; } }

/* S301 demolition-role closeout — use the external yard frame and restore the red contractor
   statement visible in the reference opening without claiming a real accreditation. */
.hero-cinematic img { object-position:58% 48%; filter:saturate(.84) contrast(1.1) brightness(.72); }
.stack-site-badge { display:inline-flex; width:fit-content; margin-bottom:.7rem; padding:.48rem .7rem; color:#fff; background:#c83e30; font-family:var(--display); font-size:.62rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; box-shadow:.35rem .35rem 0 rgba(0,0,0,.25); }
@media (max-width:560px) { .stack-site-badge { max-width:18rem; font-size:.53rem; line-height:1.35; } }

/* S301 opening-parity closeout — the reference gives the desktop opening one clear
   image/copy decision and a clean red proof band. Keep the extra field-file notes for
   mobile/inner reading, but remove the overlapping desktop annotations from the first frame. */
@media (min-width:900px) {
  .hero-boundary,
  .image-stamp { display:none; }
  .hero-cinematic img { object-position:50% 45%; }
}

/* Keep the mobile hero's boundary note readable. The image stamp is a decorative desktop
   annotation; at narrow widths its absolute bottom anchor collides with the in-flow note and
   the fixed brief CTA, so omit that duplicate annotation rather than covering the claim. */
@media (max-width:899px) {
  .image-stamp { display:none; }
}
