/* Netbreakers — Direction A, round 2: "Midnight Ledger".
   A night site done like a luxury house: layered midnight navies, precise hairlines, generous space.
   Bodoni Moda (high-contrast display serif) for headlines and numerals, Schibsted Grotesk for reading,
   IBM Plex Mono for ledger labels. Copper is a metal: thin rules, small marks, the odd italic word.
   Abundance is shown, not drawn: a drifting wall of real photos, big counts, a map full of dots. */
:root {
  --ink-0: #070B12;          /* deepest: map, footer */
  --ink-1: #0B1019;          /* page */
  --ink-2: #111824;          /* raised panels */
  --ink-3: #18202F;          /* Midnight Navy: cards, summary */
  --ink-4: #222C3E;
  --slate: #68748A;
  --mist: #DCE1E6;
  --white: #FAF7F2;
  --copper: #B8734F;
  --copper-deep: #9C5E3F;    /* fills under white text (AA) */
  --copper-light: #D08A63;   /* copper text on navy (AA) */
  --metal: linear-gradient(90deg, #7C4A2F 0%, #C98B64 38%, #E8B996 50%, #B8734F 64%, #8A5436 100%);
  --text: #E3E7EB;           /* body on ink (≈15:1) */
  --text-2: #A7B1BE;         /* quiet (≈8:1) */
  --text-3: #8C97A6;         /* hints, off states (≈5.8:1 on ink-2) */
  --line: rgba(220, 225, 230, .11);
  --line-2: rgba(220, 225, 230, .22);

  --role-served: #DCE1E6;
  --role-directed: #D08A63;
  --role-mc: #EACBA9;
  --role-ads: #8499BC;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --hh: 76px;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(80px, 9.5vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink-1); color: var(--text);
  font-family: var(--font); font-size: 17.5px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-light); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: #E3A47F; }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.018em; margin: 0 0 .45em; text-wrap: balance; color: var(--white); font-optical-sizing: auto; }
h1 { font-size: clamp(3rem, 6.2vw, 6.2rem); }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
h3 { font-size: 1.7rem; line-height: 1.08; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--copper-light); letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 650; }
::selection { background: var(--copper-deep); color: #fff; }
.nowrap { white-space: nowrap; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink-1); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: .92rem; color: var(--text-2); }
.tk { background: #FFF1B8; color: #5B4300; font-family: var(--font); font-style: normal; text-transform: none; letter-spacing: 0; font-size: .8rem; padding: 1px 6px; border-radius: 2px; font-weight: 600; line-height: 1.4; vertical-align: middle; }

/* Eyebrow: tracked caps behind a short copper rule */
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--font); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); margin-bottom: 1.6em; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--metal); flex: none; }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.6; color: var(--text); max-width: 34em; }

/* Buttons: squared, tracked, a hint of a metal edge */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px;
  padding: 12px 28px; border-radius: 1px; border: 0; cursor: pointer;
  background: var(--copper-deep); color: #fff; font: inherit; font-weight: 600; font-size: .84rem;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 226, 204, .28), inset 0 -1px 0 rgba(0, 0, 0, .25);
  transition: background .25s, transform .25s;
}
.btn:hover { background: #87502F; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--big { min-height: 58px; padding: 14px 34px; font-size: .88rem; }
.btn--small { min-height: 44px; padding: 8px 18px; font-size: .74rem; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(250, 247, 242, .06); box-shadow: inset 0 0 0 1px rgba(250, 247, 242, .5); }
.btn-text { background: none; border: 0; font: inherit; font-size: .95rem; color: var(--text-2); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; min-height: 44px; padding: 8px; }
.btn-text:hover { color: var(--white); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); text-decoration: none; gap: .7em; }
.link-arrow::after { content: ""; width: 28px; height: 1px; background: var(--metal); transition: transform .3s; transform-origin: left; }
.link-arrow:hover { color: var(--white); }
.link-arrow:hover::after { transform: scaleX(1.5); }

/* Header: transparent over the hero, a quiet dark fill on scroll. No rule line. */
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled, .menu-open .site-header { background: rgba(9, 13, 21, .96); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--hh); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); min-height: 44px; }
.brand:hover { color: var(--white); }
.brand-mono { position: relative; display: grid; place-items: center; width: 36px; height: 36px; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1; color: var(--white); box-shadow: inset 0 0 0 1px rgba(208, 138, 99, .75); padding-bottom: 2px; }
.brand-mono::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 7px; height: 1px; background: var(--metal); }
.brand-name { font-family: var(--font); font-weight: 600; font-size: .92rem; letter-spacing: .32em; text-transform: uppercase; line-height: 1; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .9rem; }
.nav a:hover { color: var(--white); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; min-height: 44px; min-width: 76px; padding: 0 16px; border-radius: 1px; border: 0; box-shadow: inset 0 0 0 1px rgba(250, 247, 242, .45); background: rgba(7, 11, 18, .45); font: inherit; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--white); cursor: pointer; }
.mobile-nav { background: rgba(9, 13, 21, .98); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 32px; }
.mobile-nav a { display: flex; align-items: center; min-height: 60px; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; letter-spacing: -.01em; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line); }

/* Pull the first section of each page under the transparent header. */
main > section:first-child { margin-top: calc(-1 * var(--hh)); }
main > section.page-hero:first-child, main > section.section:first-child { padding-top: calc(var(--hh) + clamp(48px, 8vw, 120px)); }

/* ---------- Home hero: a wall of real photos that keeps coming ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink-1); }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 170px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(11, 16, 25, .9), rgba(11, 16, 25, 0)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(11, 16, 25, 0), var(--ink-1)); }
.hero-grid { position: static; display: grid; align-items: center; min-height: max(700px, min(100vh, 960px)); padding-top: var(--hh); }
.hero-copy { position: relative; z-index: 3; max-width: 560px; padding: clamp(40px, 5vw, 80px) 0; }
.hero-title { font-size: clamp(3.3rem, 6.3vw, 6.9rem); width: 7.2em; max-width: none; position: relative; line-height: .98; letter-spacing: -.028em; margin-bottom: .5em; }
.hero-title em { display: inline; }
.hero .lede { max-width: 25em; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; margin-top: 36px; }
.hero-where { margin: 40px 0 0; display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.collage { position: absolute; top: 0; bottom: 0; right: 0; width: 52vw; overflow: hidden; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.4) 12%, #000 30%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.4) 12%, #000 30%); }
.collage-track { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 12px; height: 100%; width: 108%; }
.col { overflow: hidden; height: 100%; }
.col-run { display: flex; flex-direction: column; will-change: transform; animation: rise 96s linear infinite; }
.col--1 .col-run { animation-name: fall; animation-duration: 120s; }
.col--2 .col-run { animation-duration: 84s; animation-delay: -30s; }
@keyframes rise { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes fall { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }
.tile { margin: 0 0 12px; overflow: hidden; background: var(--ink-3); aspect-ratio: 4/5; }
.tile:nth-child(4n+2) { aspect-ratio: 1; }
.tile:nth-child(4n+3) { aspect-ratio: 3/4; }
.tile:nth-child(4n+4) { aspect-ratio: 5/6; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.04); transition: opacity .45s; }
.tile img.is-swapping { opacity: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; position: relative; }
.section--alt { background: var(--ink-2); }
.section-head { max-width: 46em; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p:not(.eyebrow) { color: var(--text); font-size: 1.1rem; max-width: 36em; }
.page-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 7vw, 104px); background: var(--ink-1); overflow: hidden; }
.page-hero h1 { max-width: 13ch; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .wrap > * { max-width: 600px; }
.page-hero h1:not(.x) { font-size: clamp(3rem, 5.4vw, 5.4rem); letter-spacing: -.025em; }
/* Photo panel bleeding off the right edge (desktop) / top edge (mobile) of every page hero. */
.has-photo { position: relative; overflow: hidden; }
.has-photo > .wrap { position: relative; z-index: 1; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: saturate(.88) contrast(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent, rgba(0,0,0,.55) 22%, #000 48%); }
.has-photo::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(rgba(11, 16, 25, .8), transparent); pointer-events: none; }
.has-photo::before { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(208, 138, 99, .45) 50%, transparent); }

@media (min-width: 861px) {
  .section--contact-page .hero-photo { width: 60%; opacity: .5; }
}
/* Formerly light sections: kept in the night palette, with generous measure for reading. */
.section--light { background: var(--ink-2); }
.section--tool { background: var(--ink-1); }

/* ---------- Stats: a scoreboard in big serif numerals ---------- */
.section--stats { padding: 0; background: var(--ink-1); }
.section--stats .wrap { padding-top: clamp(24px, 3vw, 40px); padding-bottom: 0; }
.section--stats .eyebrow { margin-bottom: 24px; }
.stats { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.stats::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: var(--metal); }
.stats li { padding: 30px 22px 26px; position: relative; }
.stats li:first-child { padding-left: 0; }
.stats li + li { box-shadow: inset 1px 0 0 var(--line); }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(3.6rem, 6vw, 6.2rem); line-height: .9; letter-spacing: -.03em; color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
.stats li:last-child strong { font-style: italic; color: var(--copper-light); }
.stats span { display: block; margin-top: 16px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; color: var(--text-2); max-width: 15em; }
.stats-note { margin: 18px 0 0; font-size: .9rem; color: var(--text-2); }

/* ---------- Offers as ledger rows ---------- */
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-2); }
.offer { padding: 44px 48px 44px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 72px 1fr; column-gap: 8px; align-content: start; }
.offer:nth-child(even) { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line); }
.offer > *:not(.offer-num) { grid-column: 2; }
.offer-num { grid-row: span 3; font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; color: var(--copper-light); padding-top: 12px; }
.offer h3 { font-size: clamp(1.9rem, 2.7vw, 2.5rem); max-width: 15ch; }
.offer p { color: var(--text-2); max-width: 32em; }
.offer-price { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.offer-price strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.7rem; letter-spacing: -.01em; color: var(--copper-light); }
.offer-price span { font-size: .9rem; color: var(--text-2); }
.after-offers { margin-top: 36px; }

/* ---------- The map ledger (the centerpiece) ---------- */
.section--map { background: var(--ink-0); overflow: hidden; }
.section--map .section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); column-gap: 64px; align-items: end; max-width: none; margin-bottom: 48px; }
.section--map .section-head .eyebrow { grid-column: 1 / -1; }
.section--map .section-head h2 { font-size: clamp(3.4rem, 8.4vw, 8.6rem); line-height: .92; letter-spacing: -.035em; margin: 0; }
.section--map .section-head p:not(.eyebrow) { margin: 0 0 .6em; color: var(--text-2); }
.section-head--light p:not(.eyebrow) { color: var(--text); }
.nb-map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "rail rail" "legend legend" "stage card" "note note"; column-gap: 24px; align-items: start; }
.nb-map:has(.map-card[hidden]) .map-stage { grid-column: 1 / -1; }
.map-legend { grid-area: legend; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.map-stage { grid-area: stage; position: relative; background: radial-gradient(ellipse 70% 60% at 45% 45%, #0F1623, var(--ink-1)); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
/* Registration marks in the four corners: precision, not decoration. */
.map-stage::before { content: ""; position: absolute; inset: 14px; pointer-events: none; z-index: 1;
  background:
    linear-gradient(var(--copper-light), var(--copper-light)) left top / 16px 1px,
    linear-gradient(var(--copper-light), var(--copper-light)) left top / 1px 16px,
    linear-gradient(var(--copper-light), var(--copper-light)) right top / 16px 1px,
    linear-gradient(var(--copper-light), var(--copper-light)) right top / 1px 16px,
    linear-gradient(var(--copper-light), var(--copper-light)) left bottom / 16px 1px,
    linear-gradient(var(--copper-light), var(--copper-light)) left bottom / 1px 16px,
    linear-gradient(var(--copper-light), var(--copper-light)) right bottom / 16px 1px,
    linear-gradient(var(--copper-light), var(--copper-light)) right bottom / 1px 16px;
  background-repeat: no-repeat; opacity: .7; }
.map-stage svg { position: relative; width: 125%; max-width: none; height: auto; display: block; margin: -10% 0 -9% -12%; }
.land { fill: #172133; stroke: #33405A; stroke-width: .8; }
.land--other { fill: #0E141F; }
.borders--states { fill: none; stroke: #2A364A; stroke-width: .6; }
.dot { stroke: var(--ink-0); stroke-width: 2.5; cursor: pointer; transition: transform .25s, opacity .3s; transform-box: fill-box; transform-origin: center; }
.dot:hover, .dot.is-active, .dot:focus-visible { transform: scale(1.3); outline: none; stroke: var(--white); stroke-width: 1.5; }
.dot.is-hidden { opacity: 0; pointer-events: none; }
.dot.is-dim { opacity: .12; }
.dot.is-pending { opacity: 0; transform: scale(0); }
.dot.is-inked { animation: ink .6s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes ink { from { transform: scale(0); } to { transform: scale(1); } }
.dot--served { fill: var(--role-served); }
.dot--directed { fill: var(--role-directed); }
.dot--mc { fill: var(--role-mc); }
.dot--ads { fill: var(--role-ads); }
.dot-pulse { fill: none; stroke: var(--copper-light); stroke-width: 1.5; pointer-events: none; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.dot-pulse[hidden] { display: none; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
.legend-item { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 1px; border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: transparent; color: var(--text); font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.legend-item:hover { box-shadow: inset 0 0 0 1px rgba(250, 247, 242, .45); }
.legend-item i { width: 10px; height: 10px; border-radius: 50%; }
.legend-item[data-role="served"] i { background: var(--role-served); }
.legend-item[data-role="directed"] i { background: var(--role-directed); }
.legend-item[data-role="mc"] i { background: var(--role-mc); }
.legend-item[data-role="ads"] i { background: var(--role-ads); }
.legend-item[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }

/* Ledger strip: running count + year cells (built by ledger.js) */
.map-rail { grid-area: rail; display: flex; align-items: stretch; margin-bottom: 20px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); position: relative; }
.map-rail::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 1px; background: var(--metal); }
.rail-total { margin: 0; padding: 18px 36px 18px 0; display: flex; align-items: flex-end; gap: 16px; border-right: 1px solid var(--line); }
.rail-total b { display: block; font-family: var(--serif); font-weight: 400; font-size: 6.4rem; line-height: .8; letter-spacing: -.04em; color: var(--copper-light); font-variant-numeric: lining-nums tabular-nums; }
.rail-total span, .rail-year small { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.rail-total span { padding-bottom: 6px; max-width: 5em; line-height: 1.35; }
.rail-list { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; }
.rail-list li { flex: 1; }
.rail-list li + li { border-left: 1px solid var(--line); }
.rail-year { position: relative; width: 100%; height: 100%; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: end; gap: 4px 14px; min-height: 56px; padding: 18px 24px; border: 0; background: none; color: var(--white); font: inherit; text-align: left; cursor: pointer; transition: background .25s; }
.rail-year strong { font-family: var(--mono); font-weight: 500; font-size: .86rem; letter-spacing: .06em; grid-column: 1; grid-row: 1; }
.rail-year em { font-style: normal; font-family: var(--serif); font-weight: 400; font-size: 3.8rem; line-height: .8; letter-spacing: -.03em; color: var(--white); grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-variant-numeric: lining-nums tabular-nums; }
.rail-year small { grid-column: 1; grid-row: 2; }
.rail-year:hover { background: rgba(250, 247, 242, .03); }
.rail-year:hover strong { color: var(--copper-light); }
.rail-year::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--metal); transform: scaleX(0); transition: transform .35s; }
.rail-year[aria-pressed="true"] { background: rgba(208, 138, 99, .07); }
.rail-year[aria-pressed="true"]::after { transform: scaleX(1); }
.rail-year[aria-pressed="true"] strong, .rail-year[aria-pressed="true"] em { color: var(--copper-light); }
.rail-next { margin: 0; border-left: 1px solid var(--line); }
.rail-next a { height: 100%; display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 0 0 28px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.rail-next a:hover { color: var(--white); }
.rail-next a b { font-family: var(--serif); font-style: italic; font-size: 3.8rem; line-height: .8; font-weight: 400; color: var(--copper-light); letter-spacing: -.03em; }

/* Tap-for-photos card: a ledger entry */
.map-card { grid-area: card; position: relative; width: 100%; background: var(--ink-2); color: var(--text); padding: 24px 24px 24px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .45); }
.map-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--metal); }
.map-card-entry { margin: 0 0 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding-right: 40px; }
.map-card h3 { color: var(--white); font-size: 2.3rem; margin-bottom: .35em; letter-spacing: -.02em; }
.map-card-close { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text-2); }
.map-card-close:hover { color: var(--white); }
.map-card-role { display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; padding: 4px 9px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
.map-card-role.role--directed { box-shadow: inset 0 0 0 1px var(--copper-light); color: var(--copper-light); }
.map-card-list { list-style: none; padding: 0; margin: 0 0 18px; font-size: .96rem; }
.map-card-list li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.map-card-list li::after { content: ""; order: 1; flex: 1; }
.map-card-list span { order: 2; font-family: var(--mono); font-size: .74rem; color: var(--text-2); white-space: nowrap; }
.map-card-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.map-card-photos img { aspect-ratio: 4/3; object-fit: cover; width: 100%; filter: saturate(.9); }
.map-card-photos img:only-child { grid-column: 1 / -1; }
.sample-note { grid-area: note; margin-top: 22px; font-size: .88rem; color: var(--text-2); }
.sample-note--light { color: var(--text-2); }

/* ---------- 10,000-foot view ---------- */
.section--sizes { background: var(--ink-1); }
.sizes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sizes-grid .section-head { margin-bottom: 0; }
.sizes { position: relative; background: var(--ink-2); padding: 36px; box-shadow: inset 0 0 0 1px var(--line); }
.sizes::before { content: ""; position: absolute; left: 0; top: 0; width: 96px; height: 1px; background: var(--metal); }
.sizes .sample-note { color: var(--text-2); margin-bottom: 0; }
.sizes-label { font-weight: 600; margin-bottom: 14px; color: var(--white); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 0; box-shadow: inset 0 0 0 1px var(--line-2); }
.seg button { min-height: 48px; min-width: 76px; padding: 0 18px; border: 0; border-radius: 0; background: transparent; font: inherit; font-weight: 600; font-size: .95rem; color: var(--text); cursor: pointer; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.seg button + button { box-shadow: inset 1px 0 0 var(--line); }
.seg button:hover { background: rgba(250, 247, 242, .05); color: var(--white); }
.seg button small { font-family: var(--mono); font-weight: 500; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-light); margin-left: 6px; }
.seg button[aria-checked="true"] { background: var(--white); color: var(--ink-1); box-shadow: none; }
.seg button[aria-checked="true"] small { color: var(--copper-deep); }
.sizes-out { margin: 26px 0 0; display: grid; }
.sizes-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sizes-out dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.sizes-out dd { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 3rem; line-height: 1; letter-spacing: -.03em; color: var(--white); font-variant-numeric: lining-nums tabular-nums; }
.sizes-out div:last-child dd { color: var(--copper-light); font-style: italic; }

/* ---------- Tools teaser ---------- */
.section--tools { background: var(--ink-2); }
.tools { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.tool { position: relative; display: grid; grid-template-columns: 200px 1fr; align-items: stretch; text-decoration: none; color: var(--white); background: var(--ink-1); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.tool:hover { color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.tool img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tool:hover img { transform: scale(1.04); }
.tool:first-child { grid-row: span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
.tool:first-child img { aspect-ratio: 16/10; height: auto; }
.tool-body { padding: 26px 28px 28px; display: grid; gap: 8px; align-content: center; }
.tool-body strong { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.05; letter-spacing: -.015em; }
.tool-body strong::after { content: "\00a0\2192"; font-family: var(--font); font-weight: 300; color: var(--copper-light); }
.tool-body span { color: var(--text-2); font-size: .98rem; }

/* ---------- Verse: the name, then the proof (a wall of real crowds) ---------- */
.section--verse { background: var(--ink-1); padding-bottom: 0; overflow: hidden; }
.verse-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: 80px; align-items: end; padding-bottom: clamp(56px, 7vw, 104px); }
.verse { margin: 0; }
.verse blockquote { margin: 0; position: relative; }
.verse blockquote p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.3rem, 4.5vw, 4.4rem); line-height: 1.06; letter-spacing: -.02em; color: var(--white); margin-bottom: .6em; text-wrap: balance; }
.verse figcaption { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-light); }
.verse figcaption::before { content: ""; width: 32px; height: 1px; background: var(--metal); }
.verse figcaption span { display: block; flex-basis: 100%; margin-top: 6px; font-family: var(--font); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.verse-pair p { font-size: 1rem; color: var(--text-2); border-top: 1px solid var(--line); padding-top: 18px; }
.verse-pair span { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 6px; }
.proof-wall { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; width: 104%; margin-left: -2%; }
.proof-wall img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.82) contrast(1.05) brightness(.92); }

/* ---------- Partner: photo bleeding off the left edge ---------- */
.section--partner { background: var(--ink-2); padding: 0; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; max-width: none; padding-left: 0; }
.partner-grid > div { padding: var(--sec) 0; max-width: 580px; }
.partner-img, .split-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; filter: saturate(.88) contrast(1.04); }
.partner-img { height: 100%; min-height: 640px; aspect-ratio: auto; }
.partner-grid p:not(.eyebrow) { color: var(--text); }

/* ---------- Contact + forms ---------- */
.section--contact { background: var(--ink-1); }
.section--contact .section-head p { color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.call-line { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.nb-form { position: relative; background: var(--ink-2); color: var(--text); padding: clamp(24px, 3.2vw, 44px); box-shadow: inset 0 0 0 1px var(--line); }
.nb-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--metal); }
.nb-form a { color: var(--copper-light); }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; margin-bottom: 26px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--white); }
.opt { font-weight: 400; color: var(--text-2); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--white); width: 100%; min-height: 50px; padding: 11px 14px; border: 0; border-radius: 0; background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--copper-light) 50%), linear-gradient(-45deg, transparent 50%, var(--copper-light) 50%); background-position: right 20px center, right 15px center; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: var(--ink-2); color: var(--white); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--copper-light), 0 0 0 3px rgba(208, 138, 99, .18); }
input[type="date"] { color-scheme: dark; }
.is-invalid { box-shadow: inset 0 0 0 1.5px #F08A80 !important; }
.form-note { margin: 14px 0 0; font-size: .9rem; color: var(--text-2); }
.form-done, .form-error { padding: 18px; margin-top: 14px; }
.form-done { background: rgba(120, 170, 130, .12); box-shadow: inset 0 0 0 1px rgba(150, 200, 160, .35); }
.form-error { background: rgba(240, 138, 128, .1); box-shadow: inset 0 0 0 1px rgba(240, 138, 128, .45); }
.form-done .small { color: var(--text-2); }
.contact-lines { list-style: none; padding: 0; margin: 32px 0; border-top: 1px solid var(--line); }
.contact-lines li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-lines li > span:first-child { display: inline-block; min-width: 104px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.section--contact-page h1 { font-size: clamp(3rem, 6vw, 5.6rem); }
.serve-img { margin-top: 32px; aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: saturate(.88); }

/* ---------- What we do / revival ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split p:not(.eyebrow) { color: var(--text); }
.price-rows { list-style: none; padding: 0; margin: 12px 0 18px; border-top: 1px solid var(--line-2); }
.price-rows li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-rows li::after { content: ""; order: 1; flex: 1; min-width: 16px; }
.price-rows strong { order: 2; white-space: nowrap; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; color: var(--copper-light); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.steps li { counter-increment: s; position: relative; padding: 32px 32px 36px 0; color: var(--text-2); border-bottom: 1px solid var(--line); }
.steps li + li { padding-left: 32px; box-shadow: inset 1px 0 0 var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 4.4rem; line-height: .85; letter-spacing: -.03em; color: var(--copper-light); margin-bottom: 22px; }
.steps strong { display: block; font-family: var(--serif); font-weight: 500; color: var(--white); font-size: 1.6rem; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 10px; }
.plain-list { padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.plain-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--text); }
.plain-list li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 16px; height: 1px; background: var(--metal); }

/* ---------- Budget builder ---------- */
.section--tool { padding-top: clamp(40px, 5vw, 72px); }
.budget-size { margin-bottom: 36px; }
.seg--wide button { min-width: 80px; }
.budget-main { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.b-group { border: 0; margin: 0 0 36px; padding: 0; min-width: 0; }
.b-group legend { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 12px; padding: 0; }
.b-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.b-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 10px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.b-item:hover { background: rgba(250, 247, 242, .02); }
.b-label { color: var(--white); font-weight: 500; }
.b-item:not(.is-on) .b-label { color: var(--text-3); font-weight: 400; }
.b-label small { display: block; font-size: .85rem; font-weight: 400; color: var(--text-2); }
.switch { position: relative; width: 48px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.switch span { position: absolute; left: 0; top: 11px; width: 44px; height: 22px; border-radius: 99px; background: #2B3547; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); transition: transform .25s, background .25s; }
.switch[aria-checked="true"] span { background: var(--copper-deep); box-shadow: inset 0 1px 0 rgba(255, 226, 204, .25); }
.switch[aria-checked="true"] span::after { transform: translateX(22px); background: #fff; }
.switch:disabled { cursor: default; opacity: .7; }
.b-amt { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-2); }
.b-amt input { width: 116px; text-align: right; min-height: 44px; font-variant-numeric: tabular-nums; }
.b-amt input:disabled { background: transparent; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line); }
.budget-summary { position: sticky; top: calc(var(--hh) + 24px); background: var(--ink-3); color: var(--white); padding: 32px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .35); }
.budget-summary::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--metal); }
.sum-label { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.sum-total { font-family: var(--serif); font-size: 4.6rem; font-weight: 400; line-height: 1; letter-spacing: -.035em; margin: 10px 0 22px; color: var(--copper-light); font-variant-numeric: lining-nums tabular-nums; }
.sum-rows { margin: 0 0 24px; }
.sum-rows div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text-2); }
.sum-rows dd { margin: 0; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.budget-summary .btn { width: 100%; }
.budget-summary .small { color: var(--text-2); }

/* ---------- Timeline ---------- */
.tl-controls { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: end; margin-bottom: 44px; }
.field--date input { min-width: 220px; }
.tl-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tl-week { position: relative; background: var(--ink-2); padding: 22px 20px 14px; box-shadow: inset 0 0 0 1px var(--line); }
.tl-week[data-w="0"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--metal); }
.tl-week[data-w="0"] h2 { color: var(--copper-light); font-style: italic; }
.tl-week header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.tl-week h2 { font-size: 1.75rem; margin: 0; color: var(--white); letter-spacing: -.015em; }
.tl-week header p { margin: 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.tl-week ul { list-style: none; margin: 0; padding: 0; }
.tl-task { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); color: var(--text); }
.tl-name { flex: 1; min-height: 44px; padding: 10px 6px; font-size: .96rem; line-height: 1.4; outline: none; }
.tl-name:focus { background: var(--ink-1); box-shadow: inset 0 0 0 1px var(--copper-light); }
.tl-btns { display: flex; }
.tl-btns button { width: 36px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--text-2); font-size: .95rem; }
.tl-btns button:hover:not(:disabled) { background: rgba(250, 247, 242, .06); color: var(--white); }
.tl-btns button:disabled { opacity: .22; }
.tl-add { margin-top: 8px; min-height: 44px; border: 0; background: none; color: var(--copper-light); font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; padding: 0 4px; }
.tl-add:hover { color: #E3A47F; }
.tl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.tl-help { margin-top: 18px; }

/* ---------- Events: a dated ledger ---------- */
.events-h { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-top: 16px; }
.event-list { list-style: none; margin: 0 0 88px; padding: 0; display: grid; gap: 20px; }
.event { position: relative; display: grid; grid-template-columns: 280px 1fr; gap: 36px; background: var(--ink-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.event img, .event-noimg { width: 100%; height: 100%; min-height: 190px; object-fit: cover; filter: saturate(.88); }
.event-noimg { background: var(--ink-3); color: var(--white); display: grid; place-content: center; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }
.event-noimg b { display: block; font-family: var(--serif); font-weight: 400; font-size: 4.6rem; line-height: .9; letter-spacing: -.03em; color: var(--copper-light); }
.event-noimg span { font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--text-2); }
.event-body { padding: 26px 28px 26px 0; }
.event-body h3 { font-size: 2.1rem; }
.event-date { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-light); margin-bottom: .8em; }
.event-where { color: var(--text); margin-bottom: .3em; }
.event-role { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); margin-bottom: .3em; }
.event--past { grid-template-columns: 120px 1fr; background: transparent; box-shadow: none; border-bottom: 1px solid var(--line); gap: 28px; padding-bottom: 20px; }
.event--past img, .event--past .event-noimg { min-height: 0; aspect-ratio: 1; }
.event--past .event-body { padding: 0; }
.event--past h3 { font-size: 1.6rem; }
.event-empty { color: var(--text-2); }

/* ---------- About ---------- */
.page-hero--about { padding-bottom: 0; }
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }
.about-hero > div { padding-bottom: clamp(56px, 8vw, 112px); }
.page-hero .about-hero > * { max-width: none; }
.page-hero--about h1:not(.x) { font-size: clamp(3.2rem, 6.4vw, 6.4rem); max-width: 11ch; }
.about-photo { aspect-ratio: 4/5; max-height: 680px; width: 100%; object-fit: cover; object-position: 50% 20%; filter: saturate(.9) contrast(1.03); }
.prose { max-width: 44em; }
.prose p { font-size: 1.16rem; color: var(--text); line-height: 1.72; }
.prose .lede { font-family: var(--serif); color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.28; letter-spacing: -.012em; margin-bottom: 1.1em; }
.prose .lede strong { color: var(--copper-light); font-style: italic; font-weight: 400; }
.sign { font-family: var(--serif); font-style: italic; font-size: 2rem !important; font-weight: 400; color: var(--copper-light) !important; margin-top: 1.4em; }
.about-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.about-strip img { aspect-ratio: 3/4; object-fit: cover; width: 100%; filter: saturate(.88); }
.verse-pair--light { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.about-mission { font-size: 1.15rem; color: var(--text); }
.about-mission strong { color: var(--white); }

/* ---------- Give ---------- */
.give-box { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; background: var(--ink-2); padding: clamp(28px, 4.4vw, 56px); box-shadow: inset 0 0 0 1px var(--line); }
.give-box::before { content: ""; position: absolute; left: 0; top: 0; width: 160px; height: 1px; background: var(--metal); }
.give-box .wrap, .give-box { max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.give-item { font-weight: 600; color: var(--copper-light); }
.wish-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; border-top: 1px solid var(--line-2); }
.wish { padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: start; }
.wish h3 { font-size: 2.1rem; margin-bottom: .15em; }
.wish p { color: var(--text-2); margin: 0; grid-column: 1; }
.wish .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.wish-goal { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2) !important; margin-top: 8px !important; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink-0); color: var(--text-2); padding: 88px 0 28px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(208, 138, 99, .5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.brand-name--footer { display: block; font-family: var(--serif); letter-spacing: -.02em; text-transform: none; font-weight: 500; color: var(--white); font-size: 2.8rem; margin-bottom: .45em; }
.footer-h { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-light); margin-bottom: .9em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-verse { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--text); }
.footer-verse span { font-family: var(--mono); font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-light); margin-left: 6px; }
.social { list-style: none; padding: 0; display: flex; gap: 18px; margin-top: 12px !important; flex-wrap: wrap; }
.social--big a { color: var(--white); min-height: 44px; padding: 0 18px; box-shadow: inset 0 0 0 1px var(--line-2); text-decoration: none; display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.social--big a:hover { box-shadow: inset 0 0 0 1px rgba(250, 247, 242, .5); color: var(--white); }
.footer-base { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; }
.footer-base p { margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.print-only { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(4) { box-shadow: none; padding-left: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions { margin-left: auto; }
  .nb-map { grid-template-columns: 1fr; grid-template-areas: "rail" "legend" "stage" "card" "note"; }
  .rail-total { padding: 14px 18px 14px 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .rail-total b { font-size: 4rem; }
  .rail-year { grid-template-columns: 1fr; grid-template-rows: none; justify-items: center; text-align: center; gap: 4px; padding: 12px 4px; }
  .rail-year strong, .rail-year em, .rail-year small { grid-column: 1; grid-row: auto; justify-self: center; }
  .rail-year em { font-size: 2.4rem; }
  .rail-next { display: none; }
}
@media (min-width: 1081px) { .mobile-nav { display: none !important; } }
@media (max-width: 860px) {
  :root { --hh: 64px; }
  .offers, .sizes-grid, .partner-grid, .contact-grid, .split, .verse-wrap, .about-hero, .budget-main, .give-box, .verse-pair--light, .wish-list { grid-template-columns: 1fr; }
  .sizes-grid, .contact-grid, .split { gap: 48px; }
  .verse-wrap { gap: 32px; }
  .section--map .section-head { grid-template-columns: 1fr; }
  .section--map .section-head h2 { margin-bottom: 20px; }
  .offer, .offer:nth-child(even) { padding: 32px 0; border-left: 0; grid-template-columns: 52px 1fr; }
  .tools { grid-template-columns: 1fr; }
  .tool:first-child { grid-row: auto; }
  .tool { grid-template-columns: 124px 1fr; }
  .tool-body { padding: 20px; }
  .tool-body strong { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .partner-grid { padding: 0; gap: 0; }
  .partner-img { min-height: 0; height: auto; aspect-ratio: 4/3; }
  .partner-grid > div { padding: 56px var(--gutter) var(--sec); }
  .budget-summary { position: sticky; bottom: 0; top: auto; z-index: 5; margin: 0 calc(-1 * var(--gutter)); padding: 16px var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; box-shadow: 0 -18px 40px rgba(0, 0, 0, .45); }
  .budget-summary .sum-total { font-size: 2.8rem; margin: 0; grid-column: 1; }
  .budget-summary .sum-label { grid-column: 1; }
  .budget-summary .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; min-height: 50px; padding: 10px 18px; }
  .budget-summary .sum-rows, .budget-summary .btn-text, .budget-summary .small { grid-column: 1 / -1; }
  .budget-summary .sum-rows { display: none; }
  .map-stage svg { width: 175%; max-width: none; margin: -8% 0 -20% -50%; }
  .map-card { margin-top: 16px; }
  .event, .event--past { grid-template-columns: 1fr; gap: 0; }
  .event img, .event-noimg { aspect-ratio: 16/9; min-height: 0; }
  .event-body { padding: 22px; }
  .event--past { grid-template-columns: 88px 1fr; gap: 18px; }
  .event--past img, .event--past .event-noimg { aspect-ratio: 1; }
  .event--past .event-body { padding: 0; }
  .event--past .event-noimg b { font-size: 2.2rem; }
  .steps li + li { padding-left: 0; box-shadow: none; }
  .steps li { padding-right: 0; }
  .about-hero { gap: 0; }
  .about-hero > div { padding-bottom: 32px; }
  .about-photo { aspect-ratio: 4/3; max-height: none; }
  .proof-wall { grid-template-columns: repeat(6, 1fr); gap: 2px; }

  /* Mobile home hero: two rows of photos drifting under the transparent header, words below. */
  .hero-grid { min-height: 0; padding-top: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero::before { display: none; }
  .hero::after { display: none; }
  .collage { order: -1; position: relative; width: auto; margin: 0 calc(-1 * var(--gutter)); height: 292px; padding-top: 0;
    -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
  .collage::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 96px; background: linear-gradient(rgba(11, 16, 25, .88), transparent); z-index: 1; }
  .collage-track { display: flex; flex-direction: column; gap: 6px; width: 100%; height: auto; }
  .col { height: 142px; overflow: hidden; }
  .col--2 { display: none; }
  .col-run { flex-direction: row; width: max-content; height: 100%; animation-name: slide; animation-duration: 70s; }
  .col--1 .col-run { animation-name: slide-back; animation-duration: 84s; }
  .tile, .tile:nth-child(n) { flex: none; margin: 0 6px 0 0; height: 142px; width: 190px; aspect-ratio: auto; }
  .tile:nth-child(4n+2) { width: 142px; }
  .tile:nth-child(4n+3) { width: 108px; }
  @keyframes slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
  @keyframes slide-back { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
  .hero-copy { padding: 0 0 56px; margin-top: -26px; }
  .hero-title { font-size: clamp(2.55rem, 11.4vw, 3.4rem); line-height: 1; width: auto; }
  .hero-actions { margin-top: 26px; }
  .hero-where { margin-top: 28px; }

  /* Mobile page heroes: photo grounded to the top edge. */
  main > .has-photo:first-child { padding-top: calc(var(--hh) + 190px) !important; }
  .page-hero { padding-bottom: 48px; }
  .page-hero h1 { max-width: none; }
  .hero-photo { width: 100%; left: 0; bottom: auto; height: 280px; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  h2 { font-size: clamp(2.3rem, 10vw, 2.8rem); }
  h3 { font-size: 1.6rem; }
  .header-actions .btn--small { display: none; }
  .brand .brand-name { font-size: .82rem; letter-spacing: .28em; }
  .form-fields { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li, .stats li:first-child, .stats li:nth-child(4) { padding: 24px 16px 22px; }
  .stats li:nth-child(odd) { padding-left: 0; }
  .stats li:nth-child(n) { box-shadow: none; border-top: 1px solid var(--line); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(even) { box-shadow: inset 1px 0 0 var(--line); }
  .stats strong { font-size: 4rem; }
  .section--map .section-head h2 { font-size: clamp(3rem, 14vw, 4rem); }
  .about-strip { grid-template-columns: 1fr 1fr; }
  .b-item { gap: 10px; padding: 8px 0; }
  .b-amt input { width: 86px; padding: 8px 10px; }
  .seg { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
  .seg button { min-width: 0; padding: 0 6px; }
  .seg button:nth-child(4n+1) { box-shadow: none; }
  .seg button:nth-child(n+5) { border-top: 1px solid var(--line); }
  .sizes .seg { grid-template-columns: repeat(3, 1fr); }
  .timeline .seg { grid-template-columns: repeat(3, 1fr); }
  .timeline .seg button:nth-child(4n+1) { box-shadow: inset 1px 0 0 var(--line); }
  .timeline .seg button:nth-child(3n+1) { box-shadow: none; }
  .timeline .seg button:nth-child(n+4) { border-top: 1px solid var(--line); }
  .timeline .seg button[aria-checked="true"], .seg button[aria-checked="true"] { box-shadow: none; }
  .budget-summary .btn-text, .budget-summary .small { display: none; }
  .price-rows li { flex-wrap: wrap; }
  .price-rows li > span { flex-basis: 100%; }
  .price-rows li::after { display: none; }
  .sizes { padding: 26px 18px; }
  .sizes-out dd { font-size: 2.5rem; }
  .rail-total { padding: 12px 12px 12px 0; }
  .rail-total b { font-size: 3.2rem; }
  .rail-total span { font-size: .6rem; }
  .rail-year em { font-size: 1.9rem; }
  .rail-year strong { font-size: .8rem; }
  .rail-year small { font-size: .58rem; }
  .map-legend { display: grid; grid-template-columns: 1fr 1fr; }
  .legend-item { padding: 0 12px; }
  .wish { grid-template-columns: 1fr; }
  .wish .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 14px; }
  .tool { grid-template-columns: 108px 1fr; }
  .proof-wall { grid-template-columns: repeat(4, 1fr); }
  .proof-wall img:nth-child(n+17) { display: none; }
  .footer-grid { gap: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  /* Static wall: columns staggered so it still reads as a wall that keeps going. */
  .col--0 .col-run { transform: translateY(-6%); }
  .col--1 .col-run { transform: translateY(-19%); }
  .col--2 .col-run { transform: translateY(-11%); }
  .dot-pulse { transform: scale(1.9); opacity: .6; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .col--0 .col-run, .col--2 .col-run { transform: none; }
  .col--1 .col-run { transform: translateX(-12%); }
}

@media print {
  .site-header, .site-footer, .page-hero, .tl-actions, .tl-help, .sample-note, .budget, .tl-add, .tl-btns, .skip, .seg { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section--tool { background: #fff; }
  .page-budget-builder main > *:not(.print-only) { display: none !important; }
  .print-only { display: block !important; padding: 0; }
  .print-only h1 { color: #000; }
  .print-only table { width: 100%; border-collapse: collapse; }
  .print-only td, .print-only th { text-align: left; padding: 6px 0; border-bottom: 1px solid #ccc; }
  .print-only td:last-child, .print-only th:last-child { text-align: right; }
  .print-only .grand td { font-weight: 800; font-size: 14pt; border-top: 2px solid #000; }
  .section--tool { padding: 0; }
  .tl-weeks { grid-template-columns: 1fr 1fr; }
  .tl-week { background: #fff; box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .tl-week h2, .tl-week[data-w="0"] h2, .tl-task, .tl-week header p, .field label { color: #000 !important; }
  .tl-controls .field--date input { box-shadow: none; background: #fff; color: #000; }
}
