/* Flyover Media Co. site stylesheet, v6: the v5 layout, restyled to the Flyover design system.
   Twilight ground, sand type, golden rules. Flat surfaces, square corners, hairlines.
   Textures sit under the colour at low opacity: film grain over the page, blueprint paper in the hero
   and in the lead-log ticket, topo lines under the studio section. No gradients, no blur, no shadows.
   Motion stays where it says something (the log plays, the process line fills) and goes where it was gloss.
   Everything is readable with scripts off and with reduced motion on. */

:root {
  color-scheme: dark;
  /* tokens.json: ink ramp, paper ramp, golden ramp */
  --bg: #1A2127; --bg-2: #161E25; --bg-3: #242E36; --deep: #0F1A23; --surface: #242E36; --surface-2: #303B44;
  --fg-strong: #E6E1D9; --fg: #CFCAC1; --fg-muted: #9AA1A6; --fg-faint: #8F979C;
  --line: rgba(230, 225, 217, .2); --line-strong: rgba(230, 225, 217, .42); --line-soft: rgba(230, 225, 217, .12);
  --accent: #CA995F; --accent-hi: #D9B27F; --accent-lo: #A87B45; --accent-dim: rgba(202, 153, 95, .55); --accent-wash: rgba(202, 153, 95, .1); --on-accent: #0F1A23;
  --brick: #73362C; --brick-hi: #8E4537; --denim: #566A75; --denim-hi: #6E828D;
  --paper: #E6E1D9; --paper-2: #EFEAE1; --paper-3: #D8D1C4; --ink: #1A2127; --ink-body: #242E36; --paper-muted: #6A6256; --paper-faint: #A89E8B;
  --paper-line: rgba(26, 33, 39, .16); --paper-rule: rgba(26, 33, 39, .28);
  --font-body: 'Sofia Sans Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'SFMono-Regular', ui-monospace, monospace;
  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 136px);
  --max: 1160px;
  --r: 0px;
  --ease: cubic-bezier(.4, 0, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --annot-line: #CA995F; --annot-ink: #E6E1D9; --annot-stroke: 1.5;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; position: relative; }
/* film grain over the whole page, under nothing: the texture is in the alpha channel, so screen lifts the darks a touch */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; background: url(textures/film-grain.png) 0 0 / 320px 320px; mix-blend-mode: screen; opacity: .85; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--fg-strong); text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { color: var(--fg-strong); font-weight: 700; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 10px 16px; z-index: 80; }
.skip:focus { left: 8px; top: 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- type ---------- */
.label { font-weight: 600; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; }
.mono { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; line-height: 1.45; }
.cap { font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.display { font-weight: 800; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; letter-spacing: -.005em; color: var(--fg-strong); text-wrap: balance; }
.display--2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.h1 { font-weight: 700; font-size: clamp(1.75rem, 2.9vw, 2.5rem); line-height: 1.08; letter-spacing: 0; max-width: 21em; }
.h2 { font-weight: 700; font-size: clamp(1.3125rem, 1.8vw, 1.5rem); line-height: 1.2; }
.h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.h4 { font-weight: 700; font-size: 1.125rem; line-height: 1.2; }
.lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; max-width: 38em; }
.big { font-size: 1.1875rem; line-height: 1.6; max-width: 36em; }
.small { font-size: 1rem; line-height: 1.45; }
.gold { color: var(--accent); }
.eyebrow { color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); flex: none; }
.muted { color: var(--fg-muted); }
.measure { max-width: 40em; }
.stack > * + * { margin-top: 1em; }
.stack > p { max-width: 36em; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1320px; }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
/* a band is a darker sheet with a tick rule along its top edge: the brand's ruler marks */
.band { background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-top: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 24px) left top / 100% 7px no-repeat; opacity: .9; pointer-events: none; }
.band--sand { background: var(--bg-3); }
.dark { background: var(--deep); position: relative; }
.sec-head { margin-bottom: 48px; }
.sec-head > p { margin-top: 16px; max-width: 40em; color: var(--fg-muted); font-size: 1.1875rem; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split--center { align-items: center; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cols-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.over { position: relative; }

/* ---------- texture layers ---------- */
.tex { position: absolute; inset: 0; pointer-events: none; }
.tex--topo { background: url(textures/topo-twilight.svg) center / auto 100% repeat-x; opacity: .8; animation: drift 160s linear infinite; }
.tex--blueprint { background: url(textures/blueprint-graph.jpg) center / 1200px auto repeat; filter: invert(1) sepia(.4) saturate(.6); opacity: .42; mix-blend-mode: screen; }
.tex--grain { display: none; }
@keyframes drift { to { background-position: -1400px center; } }

/* ---------- engraved icons, golden on ink ---------- */
.ico { display: block; width: 44px; height: 44px; flex: none; background: var(--accent); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--sand { background: var(--fg-strong); }
.ico--sm { width: 28px; height: 28px; }
.ico--soc { width: 20px; height: 20px; background: var(--fg-strong); transition: background-color .2s; }

/* ---------- review stars ---------- */
.stars { display: inline-block; height: 16px; width: auto; fill: var(--accent); vertical-align: -2px; flex: none; }
.gmark { display: inline-flex; align-items: center; gap: 10px; color: var(--fg-strong); }
.gmark .cap { color: var(--fg-muted); }
.gmark:hover { text-decoration: none; }
.gmark:hover .cap { color: var(--accent); }
.pill .stars { height: 15px; }
a.pill:hover { text-decoration: none; border-color: var(--accent); color: var(--fg-strong); }

/* ---------- annotation kit parts ---------- */
.an { overflow: visible; }
.an .an-line { fill: none; stroke: var(--annot-line); stroke-width: var(--annot-stroke); }
.an .an-fill { fill: var(--annot-line); }
.an .an-ink { fill: var(--annot-ink); }
.marker { width: 44px; height: 44px; flex: none; }
.num { display: inline-block; height: 1em; width: auto; vertical-align: -.12em; }
.num .an-ink { fill: currentColor; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 700 .875rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 14px 22px; border: 1.5px solid var(--accent); border-radius: var(--r); background: var(--accent); color: var(--on-accent); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn::after { content: "\2192"; font-size: 1.05em; letter-spacing: 0; transition: transform .25s var(--ease); }
.btn:hover { background: var(--accent-lo); border-color: var(--accent-lo); color: var(--on-accent); text-decoration: none; }
.btn:hover::after { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--fg-strong); }
.btn--ghost:hover { background: var(--fg-strong); border-color: var(--fg-strong); color: var(--on-accent); }
.btn--lg { padding: 17px 28px; font-size: .9375rem; }
.btn--sm { padding: 10px 16px; font-size: .75rem; }
.btn--plain::after { content: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.arrow-link { display: inline-flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--accent-dim); transition: gap .2s var(--ease), border-color .2s; }
.arrow-link:hover { text-decoration: none; gap: 14px; border-color: var(--accent); }

/* ---------- header ---------- */
.ribbon { background: var(--brick); color: var(--paper-2); text-align: center; padding: 7px var(--gutter); font-size: .6875rem; }
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; padding: 14px var(--gutter) 0; pointer-events: none; }
.head__bar { pointer-events: auto; max-width: 1320px; margin-inline: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); transition: background-color .3s, border-color .3s; }
.head.is-stuck .head__bar { background: var(--deep); border-color: var(--line-strong); }
.head__row { display: flex; align-items: center; gap: 10px 26px; flex-wrap: wrap; min-height: 62px; padding: 8px 12px 8px 20px; }
.head__logo { display: block; flex: none; margin-right: auto; }
.head__logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px 6px; flex-wrap: wrap; align-items: center; margin-right: auto; }
.nav__item { position: relative; }
.nav__top { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; color: var(--fg-strong); font-size: 1.0625rem; font-weight: 500; border-radius: var(--r); background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav__top::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--fg-muted); border-bottom: 1.5px solid var(--fg-muted); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav__top:hover, .nav__item:focus-within .nav__top, .nav__item:hover .nav__top { color: var(--accent); text-decoration: none; background: var(--line-soft); }
.nav__item:hover .nav__top::after, .nav__item:focus-within .nav__top::after { transform: translateY(1px) rotate(225deg); }
.menu { position: absolute; top: calc(100% + 6px); left: -12px; z-index: 60; width: max-content; max-width: min(92vw, 720px); background: var(--bg-3); border: 1px solid var(--line-strong); border-top: 2px solid var(--accent); border-radius: var(--r); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover .menu, .nav__item:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 2px 8px; }
.menu__grid--1 { grid-template-columns: minmax(0, 320px); }
.menu a.menu__link { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; padding: 11px 14px; border-radius: var(--r); color: var(--fg-strong); }
.menu__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.menu a.menu__link .ico--sm { margin-top: 1px; }
.menu a.menu__link b { font-weight: 600; font-size: 1.0625rem; }
.menu a.menu__link span { font-size: .9375rem; line-height: 1.35; color: var(--fg-muted); }
.menu a.menu__link:hover { background: var(--surface-2); text-decoration: none; }
.menu a.menu__link:hover b { color: var(--accent); }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; padding: 12px 14px 6px; border-top: 1px solid var(--line); }
.head__side { display: flex; align-items: center; gap: 10px; flex: none; }
.head__login { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--fg-muted); padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); }
.head__login:hover { color: var(--fg-strong); border-color: var(--line-strong); text-decoration: none; }
.nav-t { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-btn { display: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line-strong); color: var(--fg-strong); border-radius: var(--r); }
.nav-t:focus-visible + .nav-btn { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- reveal on scroll (only when scripts run) ---------- */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.js .rv.in { opacity: 1; transform: none; }
.page-in { animation: pagein .3s var(--ease); }
@keyframes pagein { from { opacity: 0; } }

/* ---------- crop frame + photo slot ---------- */
.frame { position: relative; display: block; overflow: hidden; border-radius: var(--r); }
.frame::after, .marks::after { content: ""; position: absolute; inset: 12px; pointer-events: none; --g: linear-gradient(var(--accent), var(--accent));
  background: var(--g) left top / 22px 1.5px no-repeat, var(--g) left top / 1.5px 22px no-repeat, var(--g) right top / 22px 1.5px no-repeat, var(--g) right top / 1.5px 22px no-repeat, var(--g) left bottom / 22px 1.5px no-repeat, var(--g) left bottom / 1.5px 22px no-repeat, var(--g) right bottom / 22px 1.5px no-repeat, var(--g) right bottom / 1.5px 22px no-repeat; transition: inset .4s var(--ease); }
.frame:hover::after { inset: 18px; }
.frame__shot, .frame__rec, .frame__tc { position: absolute; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; color: var(--fg-strong); z-index: 2; }
.frame__shot { left: 24px; top: 20px; }
.frame__rec { right: 24px; top: 20px; display: flex; align-items: center; gap: 7px; }
.frame__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--brick-hi); display: block; animation: blink 1.6s steps(2, start) infinite; }
.frame__tc { left: 24px; bottom: 20px; }
@keyframes blink { to { visibility: hidden; } }
/* the slot is a dot-grid sheet: the brand's dot-grid paper, drawn in ink */
.slot { width: 100%; max-width: 100%; background-color: var(--surface); background-image: radial-gradient(rgba(230, 225, 217, .22) 1px, transparent 1.2px); background-size: 24px 24px; background-position: 12px 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 52px 30px 40px; position: relative; overflow: hidden; }
.slot__txt { position: relative; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .05em; line-height: 1.55; color: var(--fg-muted); max-width: 400px; }
.slot__txt b { display: block; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.fig { margin-top: 12px; color: var(--fg-faint); }
/* photos: the brand grade (warm highlights, navy shadows) approximated, under a navy scrim where labels sit */
.photo { width: 100%; height: auto; object-fit: cover; display: block; filter: saturate(.82) contrast(1.04); }
.frame--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 35, .6) 0%, rgba(15, 26, 35, 0) 22%, rgba(15, 26, 35, 0) 50%, rgba(15, 26, 35, .74) 100%); pointer-events: none; z-index: 1; }
.frame__note { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 2; font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-strong); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame--photo .frame__tc { bottom: 40px; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ph { border: 1px dashed var(--line-strong); border-radius: var(--r); padding: 12px 14px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .04em; line-height: 1.5; color: var(--fg-muted); }
.ph b { color: var(--accent); }

/* ---------- 01 hero ---------- */
.hero-wrap { padding-top: 18px; }
.hero { position: relative; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--deep); isolation: isolate; }
.hero__grid { position: absolute; inset: 0; background: url(textures/blueprint-graph.jpg) center top / 1100px auto repeat; filter: invert(1) sepia(.5) saturate(.55) brightness(.95); opacity: .45; }
.hero__tiles, .hero__glow { display: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; opacity: .6; filter: brightness(.28) saturate(.55) contrast(1.15); }
.hero__scrim { position: absolute; inset: 0; background: rgba(15, 26, 35, .4); }
.hero .embed { position: absolute; inset: 0; aspect-ratio: auto; background: transparent; border-radius: 0; opacity: .5; pointer-events: none; filter: brightness(.6) saturate(.7); }
.hero .embed iframe { width: 100%; height: 100%; }
@media (min-aspect-ratio: 16 / 9) { .hero .embed iframe { height: 56.25vw; min-height: 100%; top: 50%; transform: translateY(-50%); } }
@media (max-aspect-ratio: 16 / 9) { .hero .embed iframe { width: 177.78vh; min-width: 100%; left: 50%; transform: translateX(-50%); } }
.hero__in { position: relative; z-index: 2; max-width: 52rem; margin-inline: auto; text-align: center; padding: clamp(84px, 12vw, 150px) var(--gutter) clamp(40px, 6vw, 72px); display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero h1 { color: var(--accent); display: flex; align-items: center; gap: 16px; }
.hero h1::before, .hero h1::after { content: ""; width: 34px; height: 2px; background: var(--accent); flex: none; }
.hero .display .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero .display .line > span { display: inline-block; animation: rise .9s var(--ease-out) both; }
.hero .display .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } }
.hero .lede { color: var(--fg); max-width: 35em; animation: fadeup .8s .35s var(--ease) both; }
.hero .btn-row { justify-content: center; animation: fadeup .8s .5s var(--ease) both; }
.hero__trust { font-size: 1rem; color: var(--fg-muted); animation: fadeup .8s .65s var(--ease) both; }
.hero__trust b { color: var(--fg-strong); }
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }
/* the round seal, where the spinning badge was */
.spin { position: absolute; right: clamp(16px, 4vw, 56px); bottom: 92px; width: 112px; height: 112px; z-index: 3; display: block; color: var(--accent); }
.spin svg { width: 100%; height: 100%; transition: transform .6s var(--ease-out); }
.spin:hover svg { transform: rotate(12deg); }
.spin:hover { text-decoration: none; }
.marquee { position: relative; z-index: 2; border-top: 1px solid var(--line); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { font-weight: 600; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-strong); white-space: nowrap; padding-left: 40px; display: flex; align-items: center; gap: 40px; }
.marquee__track li .ico--tick { width: 26px; height: 26px; margin-right: -26px; }
.marquee__track li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--accent); background: radial-gradient(var(--accent) 2.4px, transparent 2.6px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 02 difference + the lead log, printed on graph paper ---------- */
.punch { font-weight: 700; color: var(--fg-strong); font-size: 1.25rem; padding-bottom: 12px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 56px 2px no-repeat; }
.panel { position: relative; background: var(--paper); color: var(--ink-body); border: 1px solid var(--paper-rule); border-radius: var(--r); padding: 22px 22px 18px; max-width: 430px; margin-inline: auto; --annot-ink: #1A2127; }
.panel::before { content: ""; position: absolute; inset: 0; background: url(textures/blueprint-graph.jpg) center / 760px auto repeat; opacity: .32; pointer-events: none; }
.panel > * { position: relative; }
.panel b, .panel strong { color: var(--ink); }
.panel__tag { position: absolute; right: 18px; top: -13px; background: var(--paper); border: 1.5px solid var(--brick); color: var(--brick); padding: 4px 10px; border-radius: var(--r); font-weight: 700; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-3deg); }
.panel__head { display: flex; justify-content: space-between; align-items: center; color: var(--ink); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.panel__live { font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-muted); display: flex; gap: 6px; align-items: center; }
.panel__chart { border: 1px solid var(--paper-line); border-radius: var(--r); padding: 10px 12px 6px; background: rgba(239, 234, 225, .55); }
.panel__chart .cap { color: var(--paper-muted); }
.panel__chart svg { width: 100%; height: 84px; overflow: visible; }
.panel__chart .ln { fill: none; stroke: var(--accent-lo); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; }
.panel__chart .ar { fill: var(--accent); opacity: 0; }
.panel__chart .ax { stroke: var(--paper-rule); stroke-width: 1; }
.panel.in .ln { animation: draw 2.2s .2s var(--ease) forwards; }
.panel.in .ar { animation: fadein 1.2s 1.2s forwards; }
html:not(.js) .panel__chart .ln { stroke-dashoffset: 0; } html:not(.js) .panel__chart .ar { opacity: .14; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: .14; } }
.panel__log { margin-top: 12px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--paper-rule); }
.panel__log li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; border-bottom: 1px solid var(--paper-line); padding: 10px 4px; transition: opacity .5s, transform .5s var(--ease), background-color .5s; }
.js .panel__log li { opacity: .3; transform: translateY(4px); }
.js .panel__log li.on { opacity: 1; transform: none; }
.panel__log li.now { background: rgba(202, 153, 95, .16); }
.panel__ic { width: 36px; height: 36px; display: grid; place-items: center; }
.panel__ic .marker { width: 36px; height: 36px; }
.panel__log b { display: block; font-size: 1.0625rem; line-height: 1.2; }
.panel__log span { display: block; font-size: .9375rem; color: var(--paper-muted); line-height: 1.3; }
.panel__log time { font-weight: 600; font-size: .625rem; letter-spacing: .12em; color: var(--paper-muted); text-transform: uppercase; }
.panel__log li.now time { color: var(--accent-lo); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.chips li, .chip { font-weight: 600; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 5px 10px; color: var(--fg); }
.panel .chips { border-top-color: var(--paper-rule); }
.panel .chips li { border-color: var(--paper-rule); color: var(--ink-body); }
.panel .chips li:first-child { border-color: var(--accent-lo); color: var(--accent-lo); }

/* ---------- 03 service hubs ---------- */
.hubs { position: relative; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.hubs__r { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hubs__list { display: flex; flex-direction: column; gap: 10px; }
.hub-tab { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-3); cursor: pointer; overflow: hidden; transition: border-color .25s, background-color .25s; }
.hub-tab:hover { border-color: var(--line-strong); }
.hub-tab b { display: block; font-size: 1.1875rem; line-height: 1.2; }
.hub-tab span { display: block; font-size: .9375rem; line-height: 1.35; color: var(--fg-muted); }
.hub-tab em { font-style: normal; font-weight: 700; font-size: .75rem; letter-spacing: .04em; min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--fg-strong); }
.hub-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.hub-panel { display: none; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg-3); padding: clamp(20px, 2.6vw, 30px); animation: panelin .5s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(6px); } }
.hub-panel h3 { margin-bottom: 8px; }
.hub-panel > div > p { color: var(--fg-muted); max-width: 34em; }
.hub-items { margin-top: 16px; border-top: 1px solid var(--line); }
.hub-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) 30px; gap: 2px 14px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--fg-strong); transition: padding .25s var(--ease), background-color .25s; }
.hub-item > span.ico { grid-column: 1; grid-row: 1 / span 2; width: 28px; height: 28px; font-size: 0; }
.hub-item b { font-size: 1.0625rem; font-weight: 600; grid-column: 2; }
.hub-item span { grid-column: 2; font-size: .9375rem; color: var(--fg-muted); line-height: 1.35; }
.hub-item i { grid-column: 3; grid-row: 1 / span 2; width: 30px; height: 30px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-style: normal; color: var(--fg-strong); transition: background-color .25s, color .25s, transform .25s var(--ease); }
a.hub-item:hover { text-decoration: none; padding-left: 12px; background: var(--line-soft); }
a.hub-item:hover i { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateX(3px); }
.hub-panel .frame { height: 100%; }
.hub-panel .slot { height: 100%; min-height: 260px; }
#hub-1:checked ~ .hubs__panels #hubp-1, #hub-2:checked ~ .hubs__panels #hubp-2, #hub-3:checked ~ .hubs__panels #hubp-3 { display: grid; }
#hub-1:checked ~ .hubs__list label[for="hub-1"], #hub-2:checked ~ .hubs__list label[for="hub-2"], #hub-3:checked ~ .hubs__list label[for="hub-3"] { border-color: var(--accent); background: var(--surface); }
#hub-1:checked ~ .hubs__list label[for="hub-1"] em, #hub-2:checked ~ .hubs__list label[for="hub-2"] em, #hub-3:checked ~ .hubs__list label[for="hub-3"] em { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.hubs.is-auto #hub-1:checked ~ .hubs__list label[for="hub-1"]::after, .hubs.is-auto #hub-2:checked ~ .hubs__list label[for="hub-2"]::after, .hubs.is-auto #hub-3:checked ~ .hubs__list label[for="hub-3"]::after { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
#hub-1:focus-visible ~ .hubs__list label[for="hub-1"], #hub-2:focus-visible ~ .hubs__list label[for="hub-2"], #hub-3:focus-visible ~ .hubs__list label[for="hub-3"] { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- 04 results ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 8px 14px; font-size: 1rem; color: var(--fg-strong); }
.pill--gold { border-color: var(--accent-dim); background: var(--accent-wash); }
.pill .stars { color: var(--accent); letter-spacing: 2px; }
.pill small { color: var(--fg-muted); font-size: .875rem; }
.logos-row { display: flex; align-items: center; gap: 24px; margin: 32px 0 44px; color: var(--fg-muted); }
.logos-mq { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos { display: flex; gap: 14px; width: max-content; animation: marquee 30s linear infinite; }
.logos li { width: 150px; padding: 0 8px; display: grid; place-items: center; }
.logos img { width: 134px; height: auto; opacity: .85; transition: opacity .2s; }
.logos li:hover img { opacity: 1; }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--bg-3); position: relative; }
.case::before, .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); z-index: 3; }
.case .frame, .case .slot { height: 100%; border-radius: 0; }
.case__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--accent-dim); background: var(--accent-wash); color: var(--fg-strong); border-radius: var(--r); padding: 5px 10px; }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.stat { display: flex; align-items: flex-end; gap: 18px; margin-top: 4px; }
.stat__n { font-weight: 800; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: .9; color: var(--accent); letter-spacing: 0; }
.stat__bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.stat__bars i { width: 12px; background: rgba(230, 225, 217, .22); height: calc(var(--h) * 1%); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 90ms + .3s); }
.stat__bars i:last-child { background: var(--accent); }
.in .stat__bars i { transform: none; }
html:not(.js) .stat__bars i { transform: none; }
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.cards-1 { margin-top: 20px; max-width: 46rem; }
.card--media { padding-top: clamp(14px, 1.6vw, 18px); }
.card--media .frame { width: 100%; margin-bottom: 8px; }
.cards-1 .card blockquote { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-3); padding: clamp(20px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; overflow: hidden; transition: border-color .3s; }
.card:hover { border-color: var(--line-strong); }
.card blockquote { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--fg-strong); }
.card footer { color: var(--fg-muted); margin-top: auto; }
.more-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; color: var(--fg-faint); }

/* ---------- 05 compare ---------- */
.switch { display: inline-flex; vertical-align: middle; position: relative; width: 58px; height: 28px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line-strong); cursor: pointer; margin: 0 .2em; transition: background-color .3s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 20px; border-radius: var(--r); background: var(--fg-strong); transition: transform .3s var(--ease); }
.cmp { position: relative; }
.cmp__t { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cmp__t:checked ~ .sec-head .switch { background: var(--accent); border-color: var(--accent); }
.cmp__t:checked ~ .sec-head .switch::after { transform: translateX(26px); background: var(--on-accent); }
.cmp__t:focus-visible ~ .sec-head .switch { outline: 2px solid var(--accent); outline-offset: 3px; }
.cmp__table { border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.cmp__head { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); background: var(--surface); }
.cmp__head span { padding: 12px 20px; }
.cmp__badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; background: var(--surface-2); color: var(--fg-strong); border-radius: var(--r); padding: 5px 12px; }
.cmp__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fg-muted); }
.cmp__row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.cmp__row:last-child { border-bottom: 0; }
.cmp__row dt { padding: 18px 20px; border-right: 1px solid var(--line); font-weight: 600; color: var(--fg-strong); font-size: 1rem; }
.cmp__row dd { padding: 18px 20px; position: relative; }
.cmp__row dd span { display: flex; gap: 12px; align-items: flex-start; }
.cmp__row dd span::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 5px; }
.cmp .is-them::before { border: 1px solid var(--line-strong); background: linear-gradient(var(--fg-muted), var(--fg-muted)) center / 8px 1.5px no-repeat; }
.cmp .is-us::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%230F1A23' stroke-width='2'/%3E%3C/svg%3E") center / 18px no-repeat; }
.cmp .is-us { color: var(--fg-strong); font-weight: 600; }
.cmp .is-them { color: var(--fg-muted); }
.cmp .is-us, .cmp .for-us { display: none !important; }
.cmp__t:checked ~ .cmp__table .is-them, .cmp__t:checked ~ .cmp__table .for-them { display: none !important; }
.cmp__t:checked ~ .cmp__table .is-us { display: flex !important; animation: panelin .45s var(--ease); }
.cmp__t:checked ~ .cmp__table .for-us { display: inline !important; }
.cmp__t:checked ~ .cmp__table .cmp__badge { background: var(--accent); color: var(--on-accent); }
.cmp__t:checked ~ .cmp__table .cmp__badge::before { background: var(--on-accent); }
.cmp__out { text-align: center; margin-top: 44px; font-weight: 700; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.25; color: var(--fg-muted); }
.cmp__out b { display: block; color: var(--fg-strong); }
.cmp__out u { text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px; color: var(--accent); }

/* ---------- 06 one roof ---------- */
.roof { position: relative; background: var(--deep); overflow: hidden; border-block: 1px solid var(--line); }
.mock-wrap { position: relative; }
.mock { position: relative; border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--bg-3); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--line-strong); }
.mock__bar span { margin-left: 10px; flex: 1; max-width: 240px; font-family: var(--font-mono); font-size: .625rem; color: var(--fg-muted); background: var(--bg); border-radius: var(--r); padding: 4px 10px; }
.mock .slot { aspect-ratio: 16 / 10; }
.float-card { position: absolute; left: -18px; bottom: 28px; display: flex; gap: 14px; align-items: center; background: var(--paper); color: var(--ink-body); border: 1px solid var(--paper-rule); border-radius: var(--r); padding: 14px 18px; max-width: 260px; z-index: 2; }
.float-card b { color: var(--accent-lo); font-size: 1.5rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.float-card span { font-size: .9375rem; line-height: 1.3; }
.flow { margin-top: 40px; width: 100%; height: auto; }
.flow text { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; fill: var(--fg-strong); }
.flow .box { fill: var(--bg-3); stroke: var(--line-strong); }
.flow .box--gold { fill: var(--accent); stroke: var(--accent); }
.flow .on-gold { fill: var(--on-accent); font-weight: 700; }
.flow .dash { fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 8.5 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -33; } }

/* ---------- 07 data chart ---------- */
.chart { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg-3); padding: 44px 24px 16px; }
.chart__bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); align-items: end; height: 240px; border-bottom: 1px solid var(--line-strong); padding-inline: 8px; background: repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 48px) left bottom / 100% 100% no-repeat; }
.chart__bar { position: relative; height: calc(var(--v) * 1%); background: rgba(230, 225, 217, .2); border-radius: 0; transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 140ms); }
.chart__bar--now { background: var(--accent); }
.chart__bar--next { background: repeating-linear-gradient(135deg, var(--accent) 0 1.5px, transparent 1.5px 9px); outline: 1px solid var(--accent-dim); outline-offset: -1px; }
.chart.in .chart__bar, html:not(.js) .chart__bar { transform: none; }
.chart__bar b { position: absolute; left: 0; right: 0; top: -30px; text-align: center; font-size: 1.125rem; }
.chart__x { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); padding: 10px 8px 0; text-align: center; color: var(--fg-muted); }
.chart__src { margin-top: 14px; color: var(--fg-faint); font-size: .6875rem; }

/* ---------- 08 pricing ---------- */
.cost { background: var(--bg-2); border-block: 1px solid var(--line); position: relative; }
.cost .tex--graph { display: none; }
.factors { display: grid; gap: 0; border-top: 1px solid var(--line-strong); margin-top: 28px; }
.factors li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--fg-strong); font-size: 1.1875rem; font-weight: 600; align-items: start; }
.factors li .num { height: 15px; margin-top: 7px; color: var(--accent); }
.scen { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 22px 24px; background: var(--bg-3); }
.scen + .scen { margin-top: 16px; }
.scen .label { color: var(--accent); display: block; margin-bottom: 8px; }
.scen .ico { width: 40px; height: 40px; margin-bottom: 14px; }
.scen b { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1.1; margin-bottom: 8px; }
.price-list { margin-top: 22px; border-top: 1px solid var(--line-strong); }
.price-list a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--fg-strong); transition: padding .25s var(--ease); }
.price-list a:hover { text-decoration: none; padding-left: 8px; color: var(--accent); }
.price-list span:last-child { font-family: var(--font-mono); font-size: .8125rem; color: var(--accent); white-space: nowrap; }

/* ---------- 09 process ---------- */
.proc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.proc::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--line-strong); }
.proc::after { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 2.4s var(--ease); }
.proc.in::after { transform: scaleX(1); }
.proc li { position: relative; padding: 0 28px 0 0; }
.proc__n { position: relative; z-index: 1; height: 44px; margin-bottom: 22px; display: inline-flex; align-items: center; gap: 12px; padding-right: 12px; background: var(--bg-2); }
.proc__n .ico--step { width: 36px; height: 36px; }
.proc__n .marker { width: 44px; height: 44px; }
.proc h3 { margin-bottom: 10px; }
.proc p { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.55; }
.t90 { margin-top: 64px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg-3); padding: clamp(20px, 3vw, 32px); }
/* the 90-day span is drawn as a dimension line: ticks at each end, a golden line that fills in */
.t90__bar { position: relative; height: 2px; background: var(--line-strong); margin: 54px 0 22px; }
.t90__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 2.6s var(--ease) .2s; }
.t90.in .t90__bar i, html:not(.js) .t90__bar i { transform: scaleX(1); }
.t90__bar span { position: absolute; top: -36px; transform: translateX(-50%); font-family: var(--font-mono); font-size: .6875rem; color: var(--fg-strong); white-space: nowrap; }
.t90__bar span::after { content: ""; position: absolute; left: 50%; top: 22px; width: 1px; height: 24px; background: var(--fg-strong); }
.t90__bar span:first-of-type { transform: none; } .t90__bar span:first-of-type::after { left: 0; }
.t90__bar span:last-of-type { transform: translateX(-100%); } .t90__bar span:last-of-type::after { left: 100%; }
.t90__legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.t90__legend b { display: block; margin-bottom: 4px; }
.t90__legend p { color: var(--fg-muted); font-size: 1rem; line-height: 1.5; }

/* ---------- 10 leadership + 11 team ---------- */
.lead-photo { position: relative; }
.lead-photo .spin { right: -20px; bottom: -20px; }
.quote-xl { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 600; line-height: 1.25; color: var(--fg-strong); }
.quote-xl::before { content: "\201C"; display: block; font-size: 3em; line-height: .6; color: var(--accent); margin-bottom: .1em; font-weight: 900; }
.team .card p { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.5; }
.team .card .ico, .notes .card .ico { width: 40px; height: 40px; margin-bottom: 2px; }

/* ---------- 12 industries ---------- */
.ind { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ind a.card { color: inherit; }
.ind a.card:hover { text-decoration: none; border-color: var(--accent); }
.ind .card p { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.5; }
.ind .chips { border-top: 0; padding-top: 0; margin-top: auto; }
.ind .card .go { position: absolute; right: 20px; top: 20px; width: 32px; height: 32px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--fg-strong); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.ind a.card:hover .go { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: rotate(-45deg); }

/* ---------- 13 FAQ accordion, with Mack asking ---------- */
.faq-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.faq-head .sec-head { margin-bottom: 0; }
.mascot { display: block; flex: none; }
.mascot--mack { width: clamp(120px, 14vw, 190px); aspect-ratio: 1; background: var(--fg-strong); -webkit-mask: var(--i) center bottom / contain no-repeat; mask: var(--i) center bottom / contain no-repeat; margin-bottom: -6px; }
.mascot-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mascot-wrap .cap { color: var(--accent); }
.mascot--walk { width: clamp(130px, 15vw, 210px); }
.page-hero__mark .ico { width: 60px; height: 60px; margin-bottom: 20px; }
.faq { border-top: 1px solid var(--line-strong); margin-top: 48px; }
.faq-head + .proc { margin-top: 48px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 4px; font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--fg-strong); transition: color .2s, padding .25s var(--ease); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); padding-left: 10px; }
.faq__item summary i { flex: none; position: relative; width: 34px; height: 34px; border: 1px solid var(--line-strong); transition: background-color .25s, border-color .25s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--fg-strong); transform: translate(-50%, -50%); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] summary i { background: var(--accent); border-color: var(--accent); }
.faq__item[open] summary i::before, .faq__item[open] summary i::after { background: var(--on-accent); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 60px 24px 4px; max-width: 46em; color: var(--fg); animation: panelin .4s var(--ease); }

/* ---------- 14 notes (blog slot) ---------- */
.notes .card { min-height: 210px; }
.notes .card h3 { font-size: 1.25rem; line-height: 1.25; }
.notes .card time { margin-top: auto; color: var(--fg-faint); }

/* ---------- 15 sentence form, with Floyd ---------- */
.talk { background: var(--deep); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.talk__glow { display: none; }
.talk__in { position: relative; max-width: 54rem; margin-inline: auto; text-align: center; }
.talk__in .h1 { margin-inline: auto; }
.talk__in .eyebrow { justify-content: center; }
.talk__reach { display: flex; gap: 8px 18px; justify-content: center; flex-wrap: wrap; margin-top: 18px; color: var(--fg-muted); }
.mascot--floyd { width: clamp(92px, 11vw, 150px); aspect-ratio: 680 / 528; background: var(--fg-strong); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.talk__floyd { position: absolute; right: 10px; top: -86px; z-index: 3; transform: rotate(6deg); transition: transform .6s var(--ease-out); }
.say:hover ~ .talk__floyd, .talk__floyd:hover { transform: rotate(0deg) translateY(-6px); }
.say-wrap { position: relative; margin-top: 44px; padding-top: 24px; }
.say { text-align: left; border: 1px solid var(--line-strong); border-top: 2px solid var(--accent); border-radius: var(--r); background: var(--bg-3); padding: clamp(22px, 4vw, 44px); }
.say__p { font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.9; color: var(--fg-strong); }
.say__p label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.say__p input, .say__p select { font: inherit; color: var(--accent); background: transparent; border: 0; border-bottom: 2px solid var(--accent-dim); padding: 0 6px 2px; min-width: 0; width: 9.5em; max-width: 100%; border-radius: 0; transition: border-color .2s, background-color .2s; }
.say__p select { width: auto; cursor: pointer; }
.say__p select option { color: #111; }
.say__p input::placeholder { color: rgba(202, 153, 95, .5); }
.say__p input:focus, .say__p select:focus { outline: none; border-color: var(--accent); background: var(--accent-wash); }
.say .consent { margin-top: 26px; }
.say__foot { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.say__foot .mono { color: var(--fg-muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.consent label { font-size: .9375rem; line-height: 1.45; color: var(--fg-muted); }
.form__msg { border: 1px dashed var(--accent); border-radius: var(--r); padding: 14px 16px; color: var(--fg-strong); margin-top: 18px; }

/* ---------- classic form (contact page) ---------- */
.form { border: 1px solid var(--line-strong); border-top: 2px solid var(--accent); border-radius: var(--r); background: var(--bg-3); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: var(--fg-strong); font-weight: 600; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field textarea, .field select { font: 400 1.125rem/1.4 var(--font-body); padding: 11px 14px; width: 100%; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg); color: var(--fg-strong); transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.reach { display: flex; flex-direction: column; gap: 18px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; border-bottom: 1px solid var(--line); background: var(--deep); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: url(textures/blueprint-graph.jpg) center top / 1100px auto repeat; filter: invert(1) sepia(.5) saturate(.55) brightness(.95); opacity: .34; mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), #000); }
.page-hero .wrap { position: relative; padding-block: clamp(36px, 5vw, 56px) clamp(56px, 8vw, 104px); }
.crumbs { color: var(--fg-faint); margin-bottom: clamp(32px, 5vw, 64px); font-size: .6875rem; }
.crumbs a { color: var(--fg-muted); }
.page-hero h1 { font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.04; letter-spacing: 0; max-width: 19em; animation: fadeup .8s var(--ease) both; }
.page-hero .lede { margin-top: 20px; animation: fadeup .8s .12s var(--ease) both; }
.page-hero .btn-row { margin-top: 32px; animation: fadeup .8s .24s var(--ease) both; }
.grid-lines { display: grid; gap: 14px; }
.grid-lines > * { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s; }
.grid-lines > a:hover, .grid-lines > article:hover { border-color: var(--accent); text-decoration: none; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.svc h3 a { color: var(--fg-strong); }
.svc > p { max-width: 34em; color: var(--fg-muted); }
.svc__foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px 24px; justify-content: space-between; align-items: baseline; flex-wrap: wrap; color: var(--fg-strong); }
.svc__foot .mono { font-weight: 700; color: var(--accent); }
.rate { padding: 20px 22px; display: flex; gap: 16px; align-items: center; color: var(--fg-strong); min-width: 0; }
.rate .ico { width: 46px; height: 46px; }
.rate__b { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rate__p { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; letter-spacing: .05em; color: var(--accent); }
.rate__d { font-size: 1rem; line-height: 1.4; color: var(--fg-muted); }
.rows { border-top: 1px solid var(--line-strong); }
.row { display: flex; gap: 8px 24px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--fg-strong); flex-wrap: wrap; transition: padding .25s var(--ease), color .2s; }
a.row:hover { color: var(--accent); text-decoration: none; padding-left: 12px; }
.row__t { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 700; line-height: 1.2; flex: 0 1 400px; min-width: 0; }
.row__d { flex: 1 1 300px; color: var(--fg-muted); min-width: 0; }
.row__p { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; flex: none; color: var(--accent); }
.row__p:empty { display: none; }
.row__go { color: var(--accent); font-size: 1.3rem; flex: none; margin-left: auto; transition: transform .25s var(--ease); }
a.row:hover .row__go { transform: translateX(5px); }
.row--link .row__t { flex: 1 1 220px; }
.rows--sm .row { padding: 15px 4px; }
.rows--sm .row__t { font-size: 1.1875rem; }
.rows--sm .row { flex-wrap: nowrap; }
.rows--sm .row__t { flex: 1 1 auto; }
.rows + .hub-links { margin-top: 22px; }
.hub-links { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.spec { border-top: 1px solid var(--line-strong); }
.spec li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec li::before { content: "+"; font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 1.05rem; line-height: 1.6; }
.spec--no li::before { content: "\2013"; color: var(--fg-faint); }
.spec__t { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; color: var(--fg-strong); grid-column: 2; }
.spec__d { grid-column: 2; color: var(--fg-muted); }
.spec--plain .spec__t { font-size: 1.125rem; font-weight: 600; }
.steps { border-top: 1px solid var(--line-strong); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-mono); font-size: .8125rem; color: var(--accent); padding-top: 6px; }
.steps .spec__t, .steps .spec__d { grid-column: 2; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; }
.uses li { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 6px 12px; font-size: 1rem; line-height: 1.3; color: var(--fg); }
.price { border: 1px solid var(--accent-dim); border-top: 2px solid var(--accent); border-radius: var(--r); background: var(--bg-3); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.price__n { font-weight: 800; font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1; letter-spacing: 0; color: var(--fg-strong); }
.price__n small { font-size: .38em; font-weight: 700; letter-spacing: 0; text-transform: uppercase; margin-left: 6px; color: var(--fg-muted); }
.price__alt { border-top: 1px solid var(--line); padding-top: 14px; }
.note { border: 1px dashed var(--accent-dim); border-radius: var(--r); padding: 22px 24px; }
.note .mono { color: var(--accent); display: block; margin-bottom: 10px; font-weight: 700; }
.pains > li { border-top: 2px solid var(--accent); padding-top: 18px; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; color: var(--fg-strong); }
.quote-lg { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.25; color: var(--fg-strong); }
.quote p { font-size: 1.125rem; line-height: 1.5; }
.quote footer, .quote-by { margin-top: 14px; color: var(--fg-muted); }
.quote { border-top: 1px solid var(--line); padding-top: 18px; }
.notes-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line-strong); padding-bottom: 18px; margin-bottom: 36px; }
.notes-head span { display: flex; align-items: center; gap: 18px; color: var(--accent); }
.notes-head .ico { width: 84px; height: 84px; }
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.15; margin: 2em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: .8em 0; }
.prose ul li { padding-left: 26px; position: relative; margin-top: .4em; }
.prose ul li::before { content: "+"; position: absolute; left: 0; font-family: var(--font-mono); color: var(--accent); font-weight: 700; }
.story p { font-size: 1.1875rem; line-height: 1.65; }
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.story-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.foot { background: var(--deep); border-top: 2px solid var(--accent); }
.foot .wrap { padding-block: 64px 28px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.foot__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.foot__brand > img { height: 52px; width: auto; }
.foot__brand p { color: var(--fg-muted); }
.foot__brand a { color: var(--fg-strong); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.foot__cols h2 { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.foot__cols a { display: block; color: var(--fg); padding: 4px 0; font-size: 1.0625rem; transition: color .2s, padding .2s var(--ease); }
.foot__cols a:hover { color: var(--accent); text-decoration: none; padding-left: 6px; }
.foot__base { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg-faint); }
.foot__social { display: flex; gap: 8px; flex-wrap: wrap; }
.soc { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); transition: border-color .2s; }
.soc:hover { border-color: var(--accent); text-decoration: none; }
.soc:hover .ico--soc { background: var(--accent); }
.lost { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.lost .mascot { width: min(100%, 300px); aspect-ratio: 1; margin-inline: auto; background: var(--fg-strong); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* ---------- responsive ---------- */
/* ---------- full-depth service page (Oct 16) ---------- */
.goals .card { gap: 14px; }
.goals .card .ico { width: 44px; height: 44px; }
.goals .card p { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.5; }
.goal__dl { margin-top: auto; width: 100%; border-top: 1px solid var(--line); padding-top: 14px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; align-items: baseline; }
.goal__dl dt { color: var(--accent); }
.goal__dl dd { margin: 0; color: var(--fg-strong); font-size: 1rem; line-height: 1.4; }
.panel--sheet { max-width: 440px; }
.panel__log--sheet li { grid-template-columns: 56px minmax(0, 1fr); }
.panel__log--sheet time { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .02em; font-weight: 400; color: var(--accent-lo); text-transform: none; }
.panel__log--sheet li.now time { color: var(--ink); }
.dlv { border-top: 1px solid var(--line-strong); }
.dlv__head, .dlv__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 20px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.dlv__head { padding-block: 12px; font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.dlv__row { color: var(--fg); font-size: 1.0625rem; line-height: 1.35; transition: background-color .25s; }
.dlv__row:hover { background: var(--line-soft); }
.dlv__name { display: flex; gap: 12px; align-items: center; color: var(--fg-strong); font-size: 1.1875rem; }
.dlv__name .ico { flex: none; }
.dlv__name a { color: inherit; border-bottom: 1px solid var(--accent-dim); }
.dlv__name a:hover { color: var(--accent); text-decoration: none; }
.dlv__p { font-family: var(--font-mono); font-size: .875rem; color: var(--accent); text-align: right; }
.dlv__foot { margin-top: 20px; max-width: 52em; }
.dlv__foot a, .sec-head p a, .stack p a { color: var(--fg-strong); border-bottom: 1px solid var(--accent-dim); }
.dlv__foot a:hover, .sec-head p a:hover, .stack p a:hover { color: var(--accent); text-decoration: none; }
.factors--dl li { font-size: 1.0625rem; font-weight: 400; color: var(--fg-muted); line-height: 1.5; }
.factors--dl li b { display: block; color: var(--fg-strong); font-size: 1.1875rem; font-weight: 700; margin-bottom: 4px; }
.factors--dl li > span > span { display: block; }
@media (max-width: 900px) {
  .dlv__head { display: none; }
  .dlv__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 16px 4px; }
  .dlv__row > span[data-l] { grid-column: 1 / -1; font-size: 1rem; color: var(--fg-muted); }
  .dlv__row > span[data-l]::before { content: attr(data-l) " · "; font-weight: 600; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
  .dlv__p { grid-row: 1; grid-column: 2; }
  .goal__dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .goal__dl dd + dt { margin-top: 8px; }
}

@media (max-width: 1100px) {
  .grid-4, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 0; }
  .proc::before, .proc::after { display: none; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .split, .split--even, .story-grid, .lost, .case, .hubs, .hub-panel { grid-template-columns: minmax(0, 1fr); }
  .split[style] { grid-template-columns: minmax(0, 1fr) !important; }
  .hubs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub-tab { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .hub-tab .ico, .hub-tab em, .hub-tab span span { display: none; }
  .hub-tab b { font-size: 1rem; }
  .story-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .story-side > * { flex: 1 1 240px; }
  .foot__top { grid-template-columns: minmax(0, 1fr); }
  .cols-3, .t90__legend { grid-template-columns: minmax(0, 1fr); }
  .float-card { left: 12px; }
  .spin { display: none; }
  .case .slot { min-height: 220px; }
  .faq-head { grid-template-columns: minmax(0, 1fr); }
  .faq-head .mascot-wrap { display: none; }
  .talk__floyd { position: static; width: 92px; margin: 0 auto 10px; transform: none; }
}
@media (max-width: 900px) {
  .nav-btn { display: inline-block; order: 3; }
  .head__side { order: 2; margin-left: auto; }
  .head__login { display: none; }
  .head__logo { margin-right: 0; }
  .head__logo img { height: 34px; }
  .head__row { padding: 8px 10px 8px 14px; gap: 8px 10px; }
  .head__side .btn::after { content: none; }
  .head__side .btn { padding: 10px 12px; }
  .nav-btn { padding: 9px 12px; }
  .nav { display: none; order: 5; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; border-top: 1px solid var(--line); padding: 8px 0; max-height: 70vh; overflow: auto; }
  .nav-t:checked ~ .nav { display: flex; }
  .nav__top { width: 100%; justify-content: space-between; padding: 14px 8px; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 8px; width: auto; max-width: none; display: none; }
  .nav__item:focus-within .menu, .nav__item:hover .menu { display: block; }
  .menu__grid, .menu__grid--1 { grid-template-columns: minmax(0, 1fr); }
  .menu a.menu__link .menu__txt > span { display: none; }
  .menu a.menu__link { align-items: center; }
  .menu__foot { display: none; }
  .cols-2, .cards-2 { grid-template-columns: minmax(0, 1fr); }
  .cmp__head, .cmp__row { grid-template-columns: minmax(0, 1fr); }
  .cmp__head > span:first-child { display: none; }
  .cmp__row dt { border-right: 0; padding-bottom: 0; }
  .cmp__row dd { padding-top: 8px; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .cols-4, .ind, .proc { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1::before, .hero h1::after { display: none; }
  .frame__shot span, .frame__rec span { display: none; }
  .frame__shot { left: 20px; top: 18px; } .frame__rec { right: 20px; top: 18px; }
  .slot { padding: 46px 22px 30px; }
  .chart__bars { height: 190px; }
  .chart__bar b { font-size: .9375rem; }
  .faq__a { padding-right: 8px; }
  .say__p { line-height: 2; }
  .say__p input { width: 100%; }
  .row:not(.row--link) .row__t { flex-basis: 100%; }
  .logos-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .logos-mq { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .panel__log li { opacity: 1; transform: none; }
  .panel__chart .ln { stroke-dashoffset: 0; } .panel__chart .ar { opacity: .14; }
  .marquee__track, .logos { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track li[aria-hidden], .logos li[aria-hidden] { display: none; }
  .chart__bar, .stat__bars i, .t90__bar i, .proc::after { transform: none; }
}

/* ---------- Journal (Oct 16) ---------- */
.nav__top--link::after { display: none; }
.notes a.card, a.post-card { color: inherit; }
.notes a.card:hover, a.post-card:hover { text-decoration: none; border-color: var(--accent); }
.post-card h3 { font-size: 1.3125rem; line-height: 1.25; color: var(--fg-strong); }
.post-card p { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.5; }
.post-card time { margin-top: auto; color: var(--fg-faint); }
.journal-grid .post-card { min-height: 300px; }
.page-hero--post .post-head { max-width: 46rem; }
.page-hero--post h1 { max-width: 22em; }
.byline { margin-top: 22px; color: var(--fg-muted); }
.post__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.post__body { max-width: 42rem; min-width: 0; }
.post__body > p { font-size: 1.1875rem; line-height: 1.7; color: var(--fg); }
.post__body > * + * { margin-top: 1.1em; }
.post__body > h2 { margin-top: 2.2em; color: var(--fg-strong); scroll-margin-top: 110px; }
.post__body a { color: var(--fg-strong); border-bottom: 1px solid var(--accent-dim); }
.post__body a:hover { color: var(--accent); text-decoration: none; }
.post__ul, .post__ol { display: grid; gap: 10px; padding-left: 0; }
.post__ul li, .post__ol li { position: relative; padding-left: 34px; font-size: 1.125rem; line-height: 1.6; color: var(--fg); }
.post__ul li::before { content: "+"; position: absolute; left: 4px; top: 0; font-family: var(--font-mono); font-weight: 700; color: var(--accent); }
.post__ol { counter-reset: n; }
.post__ol li { counter-increment: n; }
.post__ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-family: var(--font-mono); font-size: .875rem; color: var(--accent); }
.post__note { margin-top: 2em !important; }
.post__note .note__t { color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.post__note p + p { font-size: 1.0625rem; line-height: 1.6; }
.post__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.post__table table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.post__table th { text-align: left; font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); padding: 12px 16px; border-bottom: 1px solid var(--line-strong); background: var(--bg-3); }
.post__table td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--fg); vertical-align: top; }
.post__table tr:last-child td { border-bottom: 0; }
.post__table td:first-child { color: var(--fg-strong); font-weight: 700; }
.post__table td:last-child { font-family: var(--font-mono); font-size: .875rem; color: var(--accent); white-space: nowrap; }
.post__aside { position: sticky; top: 110px; display: grid; gap: 32px; }
.post__toc ol { margin-top: 12px; border-top: 1px solid var(--line-strong); }
.post__toc li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--fg-muted); font-size: 1rem; line-height: 1.35; }
.post__toc li a:hover { color: var(--accent); text-decoration: none; }
.post__rel .rows { margin-top: 12px; }
.post__rel .row__p { display: none; }
.post__by { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; background: var(--bg-3); }
.post__by p { color: var(--fg-muted); font-size: 1rem; line-height: 1.5; }
.post__by b { color: var(--fg-strong); }
@media (max-width: 980px) {
  .post__grid { grid-template-columns: minmax(0, 1fr); }
  .post__aside { position: static; }
  .post__toc { display: none; }
}

/* three goal cards stay a row of three, then stack, so one card never sits alone */
@media (max-width: 1100px) { .ind.goals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ind.goals { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Oct 16: three areas. Clickable nav labels with grouped menus, the process strip, area groups, a footer that mirrors the nav ---------- */
a.nav__top:hover, a.nav__top:focus-visible { text-decoration: none; }
.nav__exp { display: none; }
.ico--xs { width: 18px; height: 18px; }

.menu--groups { width: min(92vw, 720px); }
.menu a.menu__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface-2); color: var(--fg-strong); border: 1px solid transparent; transition: border-color .2s; }
.menu a.menu__head:hover { text-decoration: none; border-color: var(--accent); }
.menu a.menu__head:hover b { color: var(--accent); }
.menu__head b { font-weight: 600; font-size: 1.0625rem; }
.menu__head .menu__txt > span { font-size: .9375rem; line-height: 1.35; color: var(--fg-muted); }
.menu__go { margin-left: auto; color: var(--accent); font-size: 1.125rem; }
.menu__cols { display: grid; grid-template-columns: repeat(var(--c, 2), minmax(0, 1fr)); gap: 0 12px; padding: 8px 2px 0; }
.menu__col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.menu__group { display: flex; flex-direction: column; padding-block: 6px; }
.menu a.menu__gh { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px; color: var(--accent); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.menu a.menu__gh:hover { text-decoration: none; color: var(--accent-hi); }
.menu a.menu__i { display: flex; flex-direction: column; gap: 1px; padding: 7px 12px; color: var(--fg-strong); }
.menu__i b { font-weight: 500; font-size: 1.0625rem; line-height: 1.25; }
.menu__i small { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-muted); }
.menu a.menu__i:hover { background: var(--surface-2); text-decoration: none; }
.menu a.menu__i:hover b { color: var(--accent); }
.menu .menu__ask { color: var(--fg-muted); }
.menu > .menu__head + .menu__grid { margin-top: 6px; }
/* grouped menus hang centred under the header bar, so all three open in the same place and stay on screen */
@media (min-width: 901px) {
  .head__row { position: relative; }
  .nav__item--grp { position: static; }
  .menu--groups { left: 0; right: 0; margin-inline: auto; top: calc(100% + 1px); }
  .menu--groups::before { top: -20px; height: 20px; }
}

/* the process strip: five steps under three areas */
.pstrip { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 14px; }
.pstrip__area { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 18px 20px 22px; background: var(--bg-3); border: 1px solid var(--line); border-top: 2px solid var(--line-strong); color: var(--fg); transition: border-color .25s, opacity .25s; }
a.pstrip__area:hover { text-decoration: none; border-color: var(--accent); opacity: 1; }
.pstrip__area.is-on { border-color: var(--accent); background: var(--surface-2); }
.pstrip__area.is-off { opacity: .6; }
.pstrip__h { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pstrip__h .label { color: var(--fg-strong); }
.pstrip__area.is-on .pstrip__h .label { color: var(--accent); }
.pstrip__steps-n { color: var(--fg-faint); }
.pstrip__go { margin-left: auto; color: var(--accent); }
.pstrip__here { margin-left: auto; white-space: nowrap; color: var(--on-accent); background: var(--accent); padding: 3px 8px; }
.pstrip__steps { display: grid; grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr)); gap: 22px; }
.pstrip__steps li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pstrip__n { font-family: var(--font-mono); font-size: .8125rem; font-weight: 700; color: var(--accent); }
.pstrip__steps b { font-size: 1.125rem; line-height: 1.25; }
.pstrip__steps li > span:last-child { font-size: 1rem; line-height: 1.45; color: var(--fg-muted); }

/* an area's groups: the heading on the left, the cards on the right */
.agroups { border-top: 1px solid var(--line); margin-top: 8px; }
.agroup { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 48px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.agroup__h { display: flex; flex-direction: column; gap: 10px; align-self: start; position: sticky; top: 110px; }
.agroup__h .cap { color: var(--accent); }
.agroup__h p { color: var(--fg-muted); max-width: 24em; }
.grid-1 { grid-template-columns: minmax(0, 1fr); }
.rate--wide { padding: 24px 26px; }
div.rate[id] { scroll-margin-top: 120px; }
.dlv__row[id] { scroll-margin-top: 120px; }
.ind--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* footer: the same structure as the nav */
.foot__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot__head .foot__brand { gap: 14px; }
.foot__reach { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.foot__reach p { color: var(--fg-faint); }
.foot__reach a { color: var(--fg-strong); }
.foot__nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 28px; padding-top: 40px; }
.foot__col { min-width: 0; }
.foot__col--wide { grid-column: span 2; }
.foot__nav h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.foot__nav h2 a { color: inherit; padding: 0; font-size: inherit; display: inline; }
.foot__nav h2 a:hover { padding-left: 0; color: var(--accent-hi); }
.foot__nav h3 { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); margin: 16px 0 4px; }
.foot__nav a { display: block; color: var(--fg); padding: 3px 0; font-size: 1rem; line-height: 1.35; transition: color .2s, padding .2s var(--ease); }
.foot__nav a:hover { color: var(--accent); text-decoration: none; padding-left: 6px; }
.foot__sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.foot__legal { display: flex; gap: 20px; }
.foot__legal a { color: var(--fg-muted); }

@media (max-width: 1100px) {
  .foot__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .agroup { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .agroup__h { position: static; }
}
@media (max-width: 900px) {
  .nav__top::after { display: none; }
  .nav__exp { display: block; position: absolute; right: 0; top: 0; width: 52px; height: 52px; background: none; border: 0; border-left: 1px solid var(--line-soft); cursor: pointer; }
  .nav__exp::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--fg-muted); border-bottom: 1.5px solid var(--fg-muted); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .nav__item.is-open .nav__exp::after { transform: translate(-50%, -30%) rotate(225deg); }
  .nav__item .nav__top { padding-right: 60px; }
  .js .nav__item:hover .menu, .js .nav__item:focus-within .menu { display: none; }
  .js .nav__item.is-open .menu { display: block; }
  .nav { flex-wrap: nowrap; }
  .menu--groups { width: auto; }
  .menu a.menu__head { padding: 12px 10px; }
  .menu__head .menu__txt > span { display: none; }
  .menu__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 4px; }
  .menu a.menu__gh { padding: 6px 8px; }
  .menu a.menu__i { padding: 6px 8px; }
  .menu--groups .menu__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 8px 4px; }
  .pstrip { grid-template-columns: minmax(0, 1fr); }
  .ind--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .foot__col--wide { grid-column: 1 / -1; }
  .foot__reach { align-items: flex-start; }
  .pstrip__steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 420px) {
  .menu__cols { grid-template-columns: minmax(0, 1fr); }
}
/* laptop widths: keep the bar on one line (Client login is also in the footer) */
@media (min-width: 901px) and (max-width: 1180px) {
  .head__login { display: none; }
  .nav__top { padding: 12px 10px; gap: 6px; font-size: 1rem; }
  .head__row { gap: 10px 16px; }
}

/* ---------- Oct 16: case studies on /work/, and chip filters (work and journal) ---------- */
.filters { display: none; flex-direction: column; gap: 14px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.js .filters { display: flex; }
.filters__row { display: flex; align-items: baseline; gap: 10px 18px; flex-wrap: wrap; }
.filters__label { color: var(--fg-faint); min-width: 72px; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: none; border: 1px solid var(--line-strong); color: var(--fg-strong); font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.fbtn:hover { border-color: var(--accent); }
.fbtn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.fbtn__n { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: 0; opacity: .75; }
.filters__count { color: var(--fg-faint); }
.filters__count b { color: var(--fg-strong); }
.fitem[hidden] { display: none !important; }
.filters__empty { padding: 40px 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--fg-muted); }
.filters__empty[hidden] { display: none; }
.filters__empty button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent); }

.work-list, .work-more { align-items: stretch; }
a.wcard { color: inherit; }
a.wcard:hover { text-decoration: none; border-color: var(--accent); }
.wcard .frame { margin-bottom: 4px; }
.wcard__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wcard__st { color: var(--fg-faint); }
.wcard h3 { line-height: 1.2; }
.wcard__c { color: var(--accent); }
.wcard p:not(.wcard__c):not(.wcard__m) { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.5; }
.wcard__m { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.wcard__m b { font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--fg-strong); }
.wcard__m span { font-size: .9375rem; line-height: 1.35; color: var(--fg-muted); }
.wcard .chips { margin-top: auto; }

.cs-hero__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; }
.cs-facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cs-facts > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cs-facts dt { color: var(--fg-faint); padding-top: 3px; }
.cs-facts dd { color: var(--fg-strong); margin: 0; }
.cs-media { padding-bottom: clamp(48px, 7vw, 96px); }
.cs-media .frame, .cs-media .slot { width: 100%; }
.metrics { display: grid; gap: 14px; margin-top: 16px; }
.metric { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr); align-items: baseline; gap: 6px 22px; padding: 20px 22px; background: var(--bg-3); border: 1px solid var(--line); border-left: 2px solid var(--accent); }
.metric__n { font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 800; line-height: 1; color: var(--fg-strong); }
.metric__l { color: var(--fg-muted); font-size: 1.0625rem; line-height: 1.4; }
.metric--todo { border-style: dashed; border-left-style: dashed; border-left-color: var(--line-strong); background: none; }
.metric--todo .metric__n { font-family: var(--font-mono); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-faint); }
.wgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wgrid__t { position: relative; min-width: 0; }
.wgrid__t--w { grid-column: span 2; }
.wgrid__t .frame, .wgrid__t .slot { width: 100%; }
.wgrid__l { position: absolute; left: 12px; bottom: 12px; padding: 4px 8px; background: var(--deep); color: var(--accent); }
.cs-quote { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 46rem; margin-top: 18px; }
.cs-quote figcaption { color: var(--fg-muted); }
.cs-quote--todo .quote-lg { color: var(--fg-faint); }
@media (max-width: 980px) {
  .cs-hero__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .wgrid { grid-template-columns: minmax(0, 1fr); }
  .wgrid__t--w { grid-column: auto; }
  .wgrid__t .slot, .wgrid__t img { aspect-ratio: 4 / 3 !important; }
  .metric { grid-template-columns: minmax(0, 1fr); }
  .cs-facts > div { grid-template-columns: 100px minmax(0, 1fr); }
  .filters__label { min-width: 0; flex-basis: 100%; }
}
.work-list .wcard--feat { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 12px 36px; align-content: start; }
.wcard--feat > .frame { grid-column: 1; grid-row: 1 / span 7; margin: 0; }
.wcard--feat > :not(.frame) { grid-column: 2; }
.wcard--feat h3 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); }
@media (max-width: 900px) { .work-list .wcard--feat { display: flex; } }
@media (min-width: 901px) and (max-width: 1100px) {
  .nav__top { padding: 10px 7px; font-size: .9375rem; gap: 5px; }
  .nav { gap: 2px; }
  .head__row { gap: 8px 12px; padding-left: 14px; }
  .head__logo img { height: 34px; }
  .head__side .btn { padding-inline: 14px; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* mask sources, generated by build.py from src/assets */
.i-aperture{--i:url(icons/aperture.svg)}
.i-blueprint-roll{--i:url(icons/blueprint-roll.svg)}
.i-camera{--i:url(icons/camera.svg)}
.i-cine-camera{--i:url(icons/cine-camera.svg)}
.i-clapboard{--i:url(icons/clapboard.svg)}
.i-compass{--i:url(icons/compass.svg)}
.i-drone{--i:url(icons/drone.svg)}
.i-hammer{--i:url(icons/hammer.svg)}
.i-hard-hat{--i:url(icons/hard-hat.svg)}
.i-i-beam{--i:url(icons/i-beam.svg)}
.i-ladder{--i:url(icons/ladder.svg)}
.i-light{--i:url(icons/light.svg)}
.i-mack-kneel{--i:url(icons/mack-kneel.svg)}
.i-mack-point{--i:url(icons/mack-point.svg)}
.i-mack-review{--i:url(icons/mack-review.svg)}
.i-mack-walk{--i:url(icons/mack-walk.svg)}
.i-microphone{--i:url(icons/microphone.svg)}
.i-tape-measure{--i:url(icons/tape-measure.svg)}
.i-tripod{--i:url(icons/tripod.svg)}
.i-utility-knife{--i:url(icons/utility-knife.svg)}
.m-floyd-cut{--i:url(mascots/floyd-cut.svg)}
.m-mack-asks{--i:url(mascots/mack-asks.svg)}
.m-mack-checks{--i:url(mascots/mack-checks.svg)}
.m-mack-walks{--i:url(mascots/mack-walks.svg)}
.s-instagram{--i:url(social/instagram.svg)}
.s-linkedin{--i:url(social/linkedin.svg)}
.s-tiktok{--i:url(social/tiktok.svg)}
.s-youtube{--i:url(social/youtube.svg)}
