/* DarrellStout.com homepage: generated by tools/build-css.py from the approved v4 style.css.
   Do not hand-edit; change v4 (or the bridge) and rebuild. Scoped to body.ds-page. */
/* =========================================================
   DARRELL STOUT v4 — cinematic direction (review build: header, hero, story, projects)
   ========================================================= */
:root {
  --bg: #07080B;
  --bg-2: #0E1015;
  --bg-3: #151821;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #F5F6F8;
  --text-2: #C3C8D2;
  --muted: #8B93A1;
  --ember: #FF6A1F;
  --amber: #FFB23F;
  --cyan: #3DE0FF;
  --blue: #1E8BFF;
  --live: #3BD47A;
  --light: #ECEEF2;
  --ink: #0B0D12;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body.ds-page { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body.ds-page {
  background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.ds-page img, body.ds-page svg, body.ds-page video { display: block; max-width: 100%; }
body.ds-page a { color: inherit; }
body.ds-page h1, body.ds-page h2, body.ds-page h3, body.ds-page p, body.ds-page figure { margin: 0; }
body.ds-page button, body.ds-page input { font: inherit; color: inherit; }
body.ds-page :focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: #fff; }
body.ds-page .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.ds-page .skip { position: fixed; left: 16px; top: 16px; z-index: 1000; padding: 12px 16px; background: #fff; color: #000; transform: translateY(-200%); border-radius: 8px; }
body.ds-page .skip:focus { transform: none; }
body.ds-page .wrap { padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
body.ds-page .mono { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

body.ds-page .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
body.ds-page .eyebrow__line { width: 36px; height: 2px; background: currentColor; border-radius: 2px; }
body.ds-page .eyebrow--ember { color: var(--ember); }
body.ds-page .eyebrow--dark { color: var(--ember); }

/* ---------- Buttons ---------- */
body.ds-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; font-variation-settings: "wdth" 100;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .4s var(--ease), background-color .3s, box-shadow .4s var(--ease), border-color .3s;
}
body.ds-page .btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; }
body.ds-page .btn--ember { background: var(--ember); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 106, 31, .7); }
body.ds-page .btn--ember:hover { background: #ff7d3a; box-shadow: 0 16px 40px -10px rgba(255, 106, 31, .85); transform: translateY(-2px); }
body.ds-page .btn--glass { background: rgba(255,255,255,.06); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.ds-page .btn--glass:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }

/* ---------- Status ---------- */
body.ds-page .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
body.ds-page .dot--ember { background: var(--ember); box-shadow: 0 0 0 0 rgba(255,106,31,.6); animation: pulse 2s infinite; }
body.ds-page .dot--amber { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
body.ds-page .dot--live { background: var(--live); box-shadow: 0 0 10px var(--live); }
body.ds-page .dot--cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255,106,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,31,0); } }
body.ds-page .status {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  width: max-content;
}

/* ---------- Placeholder language (shared) ---------- */
body.ds-page .ph-tag {
  position: absolute; z-index: 5; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.55); padding: 5px 9px; border: 1px dashed rgba(255,255,255,.28); border-radius: 6px; background: rgba(0,0,0,.25);
}
body.ds-page .ph {
  position: relative; overflow: hidden; border-radius: 14px; isolation: isolate;
  --t1: #3a2416; --t2: #120b07; --hi: rgba(255,150,80,.35);
  background:
    radial-gradient(120% 90% at 22% 18%, var(--hi), transparent 60%),
    linear-gradient(160deg, var(--t1), var(--t2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.8);
}
body.ds-page .ph::before { /* grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
body.ds-page .ph::after { /* crop corners */
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) top left/14px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) top left/1px 14px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) top right/14px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) top right/1px 14px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) bottom left/14px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) bottom left/1px 14px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) bottom right/14px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)) bottom right/1px 14px no-repeat;
}
body.ds-page .ph__id {
  position: absolute; right: 18px; top: 12px; font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 75;
  font-size: clamp(1.5rem, 3vw, 3rem); color: rgba(255,255,255,.12); letter-spacing: -0.02em; line-height: 1; text-transform: uppercase;
}
body.ds-page .ph figcaption {
  position: absolute; left: 20px; bottom: 18px; right: 20px; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255,255,255,.7); line-height: 1.5;
}
body.ds-page .ph figcaption b { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; margin-bottom: 2px; }
body.ds-page .ph figcaption b::before { content: ""; width: 14px; height: 10px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: inset 0 0 0 2px transparent; background: radial-gradient(circle, currentColor 1.6px, transparent 2px); }
body.ds-page .ph--warm { --t1: #4a2a14; --t2: #140a05; --hi: rgba(255,140,60,.45); }
body.ds-page .ph--amber { --t1: #4d3a1c; --t2: #16100a; --hi: rgba(255,190,90,.45); }
body.ds-page .ph--dull { --t1: #2c2925; --t2: #121110; --hi: rgba(200,190,170,.18); filter: saturate(.3); }
body.ds-page .ph--steel { --t1: #24303b; --t2: #0b0f14; --hi: rgba(170,200,230,.3); }
body.ds-page .ph--cyan { --t1: #0f3a4a; --t2: #050f15; --hi: rgba(61,224,255,.4); }
body.ds-page .ph--ember { --t1: #5a2410; --t2: #160805; --hi: rgba(255,106,31,.5); }
body.ds-page .ph--travel {
  --hi: rgba(255,190,120,.6);
  background:
    radial-gradient(70% 60% at 70% 62%, rgba(255,200,130,.75), transparent 60%),
    linear-gradient(180deg, #1b4d63 0%, #2f6d7a 38%, #e59a5c 66%, #6b3a2a 82%, #1a1414 100%);
}

/* =========================================================
   HEADER
   ========================================================= */
body.ds-page .header {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--header-h);
  display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s;
  border-bottom: 1px solid transparent; color: var(--text);
}
body.ds-page .header.is-solid { background: rgba(7,8,11,.72); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
body.ds-page .header.is-hidden { transform: translateY(calc(-100% - 48px)); }
body.ds-page .header[data-tone="light"] { color: var(--ink); }
body.ds-page .header.is-solid[data-tone="light"] { background: rgba(236,238,242,.8); border-color: rgba(0,0,0,.08); }
body.ds-page .brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
body.ds-page .brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ember), #ff9a3d); color: #fff;
  font-family: var(--f-display); font-weight: 900; font-size: 0.95rem; font-variation-settings: "wdth" 80;
  box-shadow: 0 6px 20px -6px rgba(255,106,31,.8);
}
body.ds-page .brand__name { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.06em; font-variation-settings: "wdth" 110; }
body.ds-page .nav { display: flex; gap: 6px; }
body.ds-page .nav a {
  position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 0.94rem;
  transition: background-color .3s;
}
body.ds-page .nav a:hover { background: rgba(255,255,255,.08); }
body.ds-page .header[data-tone="light"] .nav a:hover { background: rgba(0,0,0,.06); }
body.ds-page .nav__soon { opacity: .6; }
body.ds-page .nav i, body.ds-page .mnav i { font-style: normal; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.1); margin-left: 4px; vertical-align: 2px; }
body.ds-page .header[data-tone="light"] .nav i { background: rgba(0,0,0,.08); }
body.ds-page .menu-btn { display: none; width: 44px; height: 44px; border: 0; background: rgba(255,255,255,.08); border-radius: 12px; cursor: pointer; position: relative; }
body.ds-page .menu-btn span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
body.ds-page .menu-btn span:nth-child(1) { top: 17px; } body.ds-page .menu-btn span:nth-child(2) { top: 25px; }
body.ds-page .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.ds-page .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
body.ds-page .mnav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 790; display: grid; gap: 6px; padding: 16px var(--gutter) 28px; background: rgba(7,8,11,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
body.ds-page .mnav[hidden] { display: none; }
body.ds-page .mnav a:not(.btn) { font-family: var(--f-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; text-decoration: none; padding: 4px 0; font-variation-settings: "wdth" 80; }
body.ds-page .mnav .btn { margin-top: 12px; }

/* =========================================================
   A. HERO
   ========================================================= */
body.ds-page .hero {
  position: relative; height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; isolation: isolate;
  background: var(--bg);
}
body.ds-page .hero__env { position: absolute; inset: -4%; z-index: 0; }
body.ds-page .env { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 12% 28%, rgba(255,120,40,.28), transparent 60%),
  radial-gradient(50% 60% at 88% 56%, rgba(61,224,255,.18), transparent 62%),
  radial-gradient(80% 60% at 50% 110%, rgba(30,139,255,.12), transparent 60%),
  linear-gradient(180deg, #0B0C10, #07080B);
}
body.ds-page .env__window { position: absolute; left: 5%; top: 6%; width: 26%; height: 52%; display: flex; gap: 6%; transform: skewX(-8deg); filter: blur(14px); opacity: .55; }
body.ds-page .env__window i { flex: 1; background: linear-gradient(180deg, rgba(255,190,120,.9), rgba(255,120,50,.2)); border-radius: 4px; }
body.ds-page .env__beam { position: absolute; left: 10%; top: 20%; width: 70%; height: 90%; background: linear-gradient(115deg, rgba(255,160,80,.16), transparent 55%); filter: blur(30px); transform: skewX(-20deg); }
body.ds-page .env__screens { position: absolute; right: 4%; top: 30%; width: 34%; height: 30%; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; filter: blur(9px); opacity: .7; }
body.ds-page .env__screens i { border-radius: 8px; background: linear-gradient(160deg, rgba(61,224,255,.55), rgba(30,139,255,.15)); }
body.ds-page .env__screens i:first-child { grid-row: span 2; }
body.ds-page .env__bokeh i { position: absolute; border-radius: 50%; filter: blur(6px); background: rgba(255,170,90,.5); }
body.ds-page .env__bokeh i:nth-child(1) { left: 38%; top: 18%; width: 22px; height: 22px; }
body.ds-page .env__bokeh i:nth-child(2) { left: 46%; top: 12%; width: 14px; height: 14px; opacity: .6; }
body.ds-page .env__bokeh i:nth-child(3) { left: 72%; top: 20%; width: 30px; height: 30px; background: rgba(61,224,255,.4); }
body.ds-page .env__bokeh i:nth-child(4) { left: 80%; top: 14%; width: 16px; height: 16px; background: rgba(61,224,255,.5); }
body.ds-page .env__bokeh i:nth-child(5) { left: 22%; top: 70%; width: 40px; height: 40px; opacity: .3; }
body.ds-page .env__bokeh i:nth-child(6) { left: 92%; top: 76%; width: 26px; height: 26px; background: rgba(61,224,255,.35); }
body.ds-page .env__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(0,0,0,.7)); }
body.ds-page .ph-tag--env { right: var(--gutter); bottom: 64px; }
body.ds-page .hero__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(7,8,11,.85) 0%, rgba(7,8,11,.35) 45%, rgba(7,8,11,0) 70%),
  linear-gradient(0deg, rgba(7,8,11,.9) 0%, rgba(7,8,11,0) 40%); }

body.ds-page .hero__ghost {
  position: absolute; z-index: 2; left: var(--gutter); top: 12%; white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(5rem, 15vw, 17rem); line-height: .8; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.09);
}
body.ds-page .hero__ghost span { display: inline-block; }

body.ds-page .hero__subject {
  position: absolute; z-index: 3; left: 58%; bottom: -100px; transform: translateX(-50%);
  height: calc(100% - 20px); aspect-ratio: 705 / 1441;
}
body.ds-page .subject {
  width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(-14px 0 30px rgba(255,106,31,.22)) drop-shadow(14px 0 30px rgba(61,224,255,.18));
}

body.ds-page .hud { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
body.ds-page .chip {
  position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; pointer-events: auto;
  background: rgba(16,18,24,.55); border: 1px solid var(--line-2); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
body.ds-page a.chip { color: inherit; text-decoration: none; cursor: pointer; }
body.ds-page .chip:focus-visible, body.ds-page .note:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
body.ds-page .chip__k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
body.ds-page .chip__v { font-weight: 600; font-size: .98rem; }
body.ds-page .chip__big { font-family: var(--f-display); font-weight: 900; font-size: 2.4rem; line-height: 1; font-variation-settings: "wdth" 80; background: linear-gradient(180deg, #fff, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.ds-page .chip--now { left: 62%; top: 22%; }
body.ds-page .chip--years { left: 78%; top: 44%; }
body.ds-page .chip--video { left: 70%; top: 70%; display: flex; align-items: center; gap: 12px; }
body.ds-page .chip--video > span:last-child { display: grid; gap: 2px; }
body.ds-page .chip--time { left: 41%; top: 30%; }
body.ds-page .chip__play { width: 38px; height: 38px; border-radius: 10px; background: var(--ember); position: relative; flex: none; }
body.ds-page .chip__play::after { content: ""; position: absolute; left: 15px; top: 12px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
/* Tablet/phone annotation row (replaces the floating .hud cards below 900px) */
body.ds-page .hero__notes { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
body.ds-page .note {
  display: grid; align-content: center; gap: 3px; min-width: 0; padding: 9px 11px; border-radius: 12px;
  color: inherit; text-decoration: none;
  background: rgba(16,18,24,.55); border: 1px solid var(--line-2); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
body.ds-page .note__k { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
body.ds-page .note__v { font-weight: 600; font-size: .8rem; line-height: 1.2; }
body.ds-page .note__big { font-family: var(--f-display); font-weight: 900; font-size: 1.45rem; line-height: 1; font-variation-settings: "wdth" 80; background: linear-gradient(180deg, #fff, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.ds-page .note__play { width: 14px; height: 14px; border-radius: 4px; background: var(--ember); position: relative; flex: none; }
body.ds-page .note__play::after { content: ""; position: absolute; left: 5px; top: 3.5px; border-left: 5px solid #fff; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
/* Desktop: pin NOW / 30+ / VIDEO to the portrait itself so they frame Darrell at any
   viewport. The portrait is height-driven (.hero__subject): box top = 120px, centred at 58%
   of the hero width, scale --s = (hero height - 20px) / 1441. Coordinates are in portrait
   pixels (705 x 1441 source). LOCAL TIME is untouched; the % rules above stay as fallback. */
@media (min-width: 900px) {
  body.ds-page .hud { container-type: size; }
  body.ds-page .chip--now, body.ds-page .chip--years, body.ds-page .chip--video { --s: calc((100cqh - 20px) / 1441); }
  /* left of the head/shoulder; bottom edge 12px above LOCAL TIME (top: 30%) */
  body.ds-page .chip--now { left: auto; right: calc(42cqw + 212.5 * var(--s)); top: auto; bottom: calc(70cqh + 12px); }
  /* outside the right arm (outer edge ~x686) with breathing room */
  body.ds-page .chip--years { left: min(calc(58cqw + 497.5 * var(--s)), calc(100cqw - 170px)); top: calc(120px + 470 * var(--s)); }
  /* right of the hands/jeans, clear of torso and wrist */
  body.ds-page .chip--video { left: min(calc(58cqw + 467.5 * var(--s)), calc(100cqw - 240px)); top: calc(120px + 900 * var(--s)); }
}

body.ds-page .hero__copy { position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(96px, 14vh, 150px); width: min(780px, 56vw); }
body.ds-page .hero__title {
  margin: 18px 0 22px; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 7.2vw, 8.4rem); line-height: .86; letter-spacing: -0.015em; font-variation-settings: "wdth" 72;
}
body.ds-page .ln { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
body.ds-page .ln > span { display: block; }
body.ds-page .ln--accent > span { background: linear-gradient(90deg, var(--ember), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
body.ds-page .hero__sub { max-width: 34rem; color: var(--text-2); font-size: clamp(1rem, 1.25vw, 1.2rem); margin-bottom: 28px; }
body.ds-page .hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

body.ds-page .ticker { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 48px; overflow: hidden; border-top: 1px solid var(--line); background: rgba(7,8,11,.5); backdrop-filter: blur(8px); display: flex; align-items: center; }
body.ds-page .ticker__track { display: flex; width: max-content; animation: tick 40s linear infinite; }
body.ds-page .ticker span { font-family: var(--f-display); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 22px; display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; }
body.ds-page .ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
@keyframes tick { to { transform: translateX(-50%); } }

/* initial states (JS + motion only) */
html.js:not(.rm):not(.no-anim) body.ds-page .hero__title .ln > span { transform: translateY(110%); }
html.js:not(.rm):not(.no-anim) body.ds-page .hero .eyebrow, html.js:not(.rm):not(.no-anim) body.ds-page .hero__sub, html.js:not(.rm):not(.no-anim) body.ds-page .hero__ctas, html.js:not(.rm):not(.no-anim) body.ds-page .chip, html.js:not(.rm):not(.no-anim) body.ds-page .hero__subject { opacity: 0; }

/* =========================================================
   B. STORY
   ========================================================= */
body.ds-page .story { position: relative; --sbg: #140b06; background: var(--sbg); transition: background-color .2s linear; }
body.ds-page .story__pin { position: relative; }
body.ds-page .story__track { display: grid; }
body.ds-page .story__hud { display: none; }
body.ds-page .panel { padding: clamp(80px, 12vh, 140px) var(--gutter); }
body.ds-page .panel--intro { display: grid; align-content: center; gap: 24px; }
body.ds-page .story__title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 72;
  font-size: clamp(3rem, 7vw, 7.6rem); line-height: .88; letter-spacing: -0.015em;
}
body.ds-page .grad-warm { background: linear-gradient(90deg, var(--ember) 0%, var(--amber) 45%, var(--cyan) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.ds-page .panel__lead { max-width: 30rem; color: var(--text-2); font-size: 1.15rem; }
body.ds-page .panel__hint { color: var(--muted); display: none; }
body.ds-page .panel__hint span { display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

body.ds-page .panel--ch { position: relative; display: grid; grid-template-columns: 1fr; gap: 32px; isolation: isolate; }
body.ds-page .ch__word {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: 4%; overflow: hidden; pointer-events: none; white-space: nowrap;
  font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(6rem, 22vw, 24rem); line-height: .8; letter-spacing: -0.03em; color: rgba(255,170,90,.06);
}
body.ds-page .panel--now .ch__word, body.ds-page .panel--soft .ch__word { color: rgba(61,224,255,.07); }
body.ds-page .ch__idx { color: var(--amber); margin-bottom: 14px; }
body.ds-page .panel--now .ch__idx, body.ds-page .panel--soft .ch__idx { color: var(--cyan); }
body.ds-page .ch__title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 75;
  font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .9; letter-spacing: -0.01em; margin-bottom: 18px;
}
body.ds-page .ch__line { max-width: 26rem; color: var(--text-2); font-size: 1.08rem; }
body.ds-page .ch__media { position: relative; display: grid; gap: 14px; }
body.ds-page .ch__media .ph { min-width: 0; }
body.ds-page .ph--a { aspect-ratio: 4/5; } body.ds-page .ph--b { aspect-ratio: 4/3; } body.ds-page .ph--c { aspect-ratio: 4/3; }
body.ds-page .ph--d { aspect-ratio: 4/5; } body.ds-page .ph--e { aspect-ratio: 4/5; } body.ds-page .ph--f { aspect-ratio: 1; }

/* before/after compare */
body.ds-page .compare { position: relative; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; --pos: 50%; }
body.ds-page .compare .ph { position: absolute; inset: 0; border-radius: 0; }
body.ds-page .compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
body.ds-page .compare__before figcaption, body.ds-page .compare__after figcaption { display: block; }
body.ds-page .compare__after figcaption { left: auto; text-align: right; }
body.ds-page .compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 4; }
body.ds-page .compare__handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; box-shadow: 0 0 20px rgba(255,255,255,.5); }
body.ds-page .compare__handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
body.ds-page .compare__handle i::before, body.ds-page .compare__handle i::after { content: ""; position: absolute; top: 17px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
body.ds-page .compare__handle i::before { left: 10px; border-right: 8px solid var(--ink); }
body.ds-page .compare__handle i::after { right: 10px; border-left: 8px solid var(--ink); }
body.ds-page .compare__range:focus-visible ~ .compare__handle i { outline: 2px solid var(--cyan); outline-offset: 3px; }
body.ds-page .compare__tag { position: absolute; z-index: 3; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.5); color: #fff; }
body.ds-page .compare__tag--l { left: 14px; } body.ds-page .compare__tag--r { right: 14px; }

/* windows (chapter 4) */
body.ds-page .win { border-radius: 14px; overflow: hidden; background: #0B1219; border: 1px solid rgba(61,224,255,.2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -20px rgba(61,224,255,.25); }
body.ds-page .win__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
body.ds-page .win__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
body.ds-page .win__bar i:nth-child(1) { background: #ff5f57; } body.ds-page .win__bar i:nth-child(2) { background: #febc2e; } body.ds-page .win__bar i:nth-child(3) { background: #28c840; }
body.ds-page .win__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: .68rem; color: var(--muted); }
body.ds-page .code { margin: 0; padding: 18px 20px; font-family: var(--f-mono); font-size: .8rem; line-height: 1.7; color: #d7e3ee; white-space: pre; overflow: hidden; }
body.ds-page .c-k { color: #ff8f5a; } body.ds-page .c-f { color: var(--cyan); } body.ds-page .c-s { color: #a8e57b; }
body.ds-page .caret { display: inline-block; width: 8px; height: 1.1em; background: var(--cyan); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
body.ds-page .ai { padding: 16px; display: grid; gap: 12px; }
body.ds-page .ai__me { justify-self: end; max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; font-size: .86rem; min-height: 2.6em; }
body.ds-page .ai__resp { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.05); }
body.ds-page .ai__resp i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(61,224,255,.35), rgba(255,255,255,.1)); transform-origin: left; }
body.ds-page .ai__resp i:nth-child(2) { width: 86%; } body.ds-page .ai__resp i:nth-child(3) { width: 92%; } body.ds-page .ai__resp i:nth-child(4) { width: 58%; }
body.ds-page .edit { padding: 12px; display: grid; gap: 10px; }
body.ds-page .edit__view { aspect-ratio: 16/9; border-radius: 8px; }
body.ds-page .edit__view figcaption { left: 12px; bottom: 10px; }
body.ds-page .edit__view .ph__id { font-size: 1.4rem; }
body.ds-page .edit__tl { position: relative; display: grid; gap: 6px; padding: 8px 0; }
body.ds-page .edit__row { display: flex; gap: 4px; }
body.ds-page .edit__row i { height: 16px; width: var(--w); border-radius: 4px; background: rgba(61,224,255,.45); }
body.ds-page .edit__row--b i { background: rgba(255,106,31,.6); }
body.ds-page .edit__row--a i { height: 10px; background: repeating-linear-gradient(90deg, rgba(168,229,123,.7) 0 2px, transparent 2px 4px); }
body.ds-page .edit__head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; z-index: 2; animation: playhead 6s linear infinite; }
@keyframes playhead { to { left: 100%; } }

/* desktop horizontal story */
body.ds-page .story.is-horizontal .story__pin { height: 100vh; overflow: hidden; }
body.ds-page .story.is-horizontal .story__track { display: flex; height: 100%; width: max-content; }
body.ds-page .story.is-horizontal .panel { height: 100%; flex: none; padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; }
body.ds-page .story.is-horizontal .panel--intro { width: 62vw; }
body.ds-page .story.is-horizontal .panel__hint { display: block; }
body.ds-page .story.is-horizontal .panel--ch { width: 100vw; grid-template-columns: 4fr 8fr; align-items: center; gap: clamp(32px, 4vw, 72px); }
body.ds-page .story.is-horizontal .ch__media { align-items: center; }
body.ds-page .story.is-horizontal .panel--wide { grid-template-columns: 3fr 9fr; } /* sliders get the room */
body.ds-page .story.is-horizontal .ch__media--a { grid-template-columns: 2.2fr 1fr; align-items: end; width: min(100%, 150vh); }
body.ds-page .story.is-horizontal .ch__media--b { grid-template-columns: 2.4fr 1fr; align-items: end; width: min(100%, 150vh); }
body.ds-page .story.is-horizontal .ch__media--d { grid-template-columns: minmax(0, 1.7fr) minmax(0, .66fr); grid-template-rows: auto auto; align-items: center; gap: 18px 22px; width: min(100%, 130vh); }
/* hierarchy: Field Command (dominant browser) + tools beneath it; Locally Loved Ohio (device) alongside */
body.ds-page .story.is-horizontal .ch__media--d .win--fc { grid-column: 1; grid-row: 1; }
body.ds-page .story.is-horizontal .ch__media--d .tools { grid-column: 1; grid-row: 2; }
body.ds-page .story.is-horizontal .ch__media--d .dev { grid-column: 2; grid-row: 1 / 3; }
body.ds-page .story.is-horizontal .story__hud {
  display: flex; align-items: center; gap: 16px; position: absolute; z-index: 10; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 18px);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
body.ds-page .story__bar { position: relative; flex: 0 1 320px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; }
body.ds-page .story__fill { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--ember), var(--amber) 50%, var(--cyan)) 0 0 / 320px 100% no-repeat; border-radius: 2px; }
body.ds-page .story__bar i { position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #333; border: 2px solid var(--sbg); transform: translate(-50%, -50%); transition: background-color .3s, transform .3s; }
/* dot positions are set in script.js from the exact chapter snap points */
body.ds-page .story__bar i.on { background: var(--amber); transform: translate(-50%, -50%) scale(1.2); }
body.ds-page .story__bar i.on:last-child { background: var(--cyan); }
body.ds-page .story__mat { margin-left: auto; }
body.ds-page .story__mat b { color: var(--text); font-weight: 500; }

/* =========================================================
   C. WHAT I'M BUILDING (light environment)
   ========================================================= */
body.ds-page .building { background: var(--light); color: var(--ink); padding: clamp(96px, 14vh, 160px) 0 clamp(96px, 14vh, 160px); position: relative; }
body.ds-page .building__head { display: grid; gap: 14px; margin-bottom: clamp(36px, 6vh, 64px); }
body.ds-page .building__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 72; font-size: clamp(3rem, 7vw, 7.6rem); line-height: .88; letter-spacing: -0.015em; }
body.ds-page .building__sub { color: #4C5462; font-size: 1.15rem; }

body.ds-page .bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
body.ds-page .tile {
  position: relative; overflow: hidden; border-radius: 24px; color: var(--text); background: var(--bg-2);
  min-height: 420px; padding: clamp(22px, 2.4vw, 36px); isolation: isolate;
  box-shadow: 0 30px 60px -40px rgba(10,15,30,.6);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform-style: preserve-3d;
}
body.ds-page .tile:hover { box-shadow: 0 40px 80px -36px rgba(10,15,30,.75); }
body.ds-page .tile__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 78; font-size: clamp(2rem, 3.2vw, 3.2rem); line-height: .92; letter-spacing: -0.01em; }
body.ds-page .tile__desc { color: var(--text-2); max-width: 30rem; }
body.ds-page .tile__link { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; position: relative; z-index: 3; }
body.ds-page .tile__link span { transition: transform .4s var(--ease); }
body.ds-page .tile__link:hover span { transform: translate(3px, -3px); }
body.ds-page .tile__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
body.ds-page .tile__link:hover::after { transform: scaleX(1); }

/* Field Command */
body.ds-page .tile--fc { grid-column: span 8; min-height: 600px; display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: center;
  background: radial-gradient(90% 90% at 85% 30%, rgba(255,106,31,.28), transparent 55%), radial-gradient(70% 80% at 0% 100%, rgba(30,80,200,.35), transparent 60%), linear-gradient(160deg, #0D1530, #060A16); }
body.ds-page .fc__info { display: grid; gap: 18px; align-content: center; position: relative; z-index: 2; }
body.ds-page .fc__logo { width: min(100%, 320px); height: auto; filter: drop-shadow(0 10px 30px rgba(255,106,31,.35)); }
body.ds-page .fc__badge { color: var(--amber); }
/* Field Command mini-demo (missed call → booked job). Sample conversation; behaviour in initFcDemo(). */
body.ds-page .fcd { --ok: #3BD47A; --miss: #F25F5C; position: relative; display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 24px; align-items: center;
  min-height: 725px; /* keeps the card (and its row partner) at the previous 794px height */ }
body.ds-page .fcd svg, body.ds-page .fcd__ic { width: 14px; height: 14px; max-width: 16px; max-height: 16px; flex: none; } /* never inherit container size */
body.ds-page .fcd__phone { position: relative; padding: 8px; border-radius: 34px; background: linear-gradient(160deg, #1A2238, #0B1020); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.95), 0 0 60px -20px rgba(255,106,31,.35); transform: rotate(-2deg); transition: transform .8s var(--ease); }
body.ds-page .tile--fc:hover .fcd__phone { transform: rotate(0deg) translateY(-6px); }
body.ds-page .fcd__screen { position: relative; display: flex; flex-direction: column; height: 540px; border-radius: 27px; overflow: hidden; background: #0A0F1C; }
body.ds-page .fcd__notch { position: absolute; z-index: 2; left: 50%; top: 0; width: 84px; height: 18px; transform: translateX(-50%); border-radius: 0 0 12px 12px; background: #1A2238; }
body.ds-page .fcd__bar { display: flex; align-items: center; gap: 7px; padding: 26px 12px 10px; background: #111A2E; border-bottom: 1px solid rgba(255,255,255,.06); }
body.ds-page .fcd__logo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--ember); color: #fff; font-size: .55rem; font-weight: 800; }
body.ds-page .fcd__app { font-size: .72rem; font-weight: 600; color: #fff; white-space: nowrap; }
body.ds-page .fcd__biz { margin-left: auto; min-width: 0; font-size: .56rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ds-page .fcd__chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 10px; overflow: hidden; }
body.ds-page .fcd__msg { max-width: 86%; padding: 8px 10px; border-radius: 13px; font-size: .68rem; line-height: 1.38; }
body.ds-page .fcd__msg--out { align-self: flex-end; border-bottom-right-radius: 4px; background: linear-gradient(160deg, #FF7A33, #E85A12); color: #fff; }
body.ds-page .fcd__msg--in { align-self: flex-start; border-bottom-left-radius: 4px; background: #1B2338; color: #E9EDF5; }
body.ds-page .fcd__msg--missed { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 10px; background: rgba(242,95,92,.14); color: var(--miss); font-weight: 600; font-size: .6rem; white-space: nowrap; }
body.ds-page .fcd__msg--booked { align-self: flex-start; display: flex; gap: 7px; background: rgba(59,212,122,.13); border: 1px solid rgba(59,212,122,.3); color: #E9EDF5; }
body.ds-page .fcd__msg--booked .fcd__ic { color: var(--ok); margin-top: 1px; }
body.ds-page .fcd__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 13px; border-bottom-left-radius: 4px; background: #1B2338; }
body.ds-page .fcd__typing i { width: 6px; height: 6px; border-radius: 50%; background: #8B93A1; animation: fcd-dot 1.1s infinite ease-in-out; }
body.ds-page .fcd__typing i:nth-child(2) { animation-delay: .15s; } body.ds-page .fcd__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fcd-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }
body.ds-page .fcd__input { display: flex; align-items: center; gap: 8px; padding: 9px 10px 14px; border-top: 1px solid rgba(255,255,255,.06); }
body.ds-page .fcd__input span { flex: 1; padding: 6px 10px; border-radius: 99px; background: #151D30; font-size: .58rem; color: var(--muted); }
body.ds-page .fcd__input b { width: 22px; height: 22px; border-radius: 50%; background: var(--ember); }

body.ds-page .fcd__side { display: grid; gap: 16px; align-content: center; min-width: 0; }
body.ds-page .fcd__steps { list-style: none; margin: 0; padding: 0; display: grid; }
body.ds-page .fcd__step { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 1px; width: 100%; padding: 0 0 14px 22px; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
body.ds-page .fcd__steps li:last-child .fcd__step { padding-bottom: 0; }
body.ds-page .fcd__step::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: rgba(255,255,255,.1); transition: background .5s; }
body.ds-page .fcd__steps li:last-child .fcd__step::before { display: none; }
body.ds-page .fcd__dot { position: absolute; left: 0; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.16); transition: background .4s, box-shadow .4s; }
body.ds-page .fcd__t { grid-row: 1; font-size: .62rem; color: var(--muted); transition: color .4s; }
body.ds-page .fcd__s { grid-row: 1; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.42); transition: color .4s; }
body.ds-page .fcd__d { grid-column: 2; font-size: .72rem; color: rgba(255,255,255,.28); transition: color .4s; }
body.ds-page .fcd__step.is-done::before { background: rgba(255,106,31,.55); }
body.ds-page .fcd__step.is-done .fcd__dot, body.ds-page .fcd__step.is-now .fcd__dot { background: var(--ember); }
body.ds-page .fcd__step.is-now .fcd__dot { box-shadow: 0 0 0 4px rgba(255,106,31,.22); animation: fcd-ring 1.6s infinite; }
@keyframes fcd-ring { 0% { box-shadow: 0 0 0 0 rgba(255,106,31,.5); } 100% { box-shadow: 0 0 0 9px rgba(255,106,31,0); } }
body.ds-page .fcd__step.is-done .fcd__t, body.ds-page .fcd__step.is-now .fcd__t { color: var(--amber); }
body.ds-page .fcd__step.is-done .fcd__s, body.ds-page .fcd__step.is-now .fcd__s { color: #fff; }
body.ds-page .fcd__step.is-done .fcd__d, body.ds-page .fcd__step.is-now .fcd__d { color: var(--text-2); }
body.ds-page .fcd__step:hover .fcd__s { color: #fff; }
body.ds-page .fcd__step:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 6px; }
body.ds-page .fcd__caption { display: none; }
body.ds-page .fcd__out { display: grid; gap: 8px; }
body.ds-page .fcd__chip { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(16,18,24,.55); border: 1px solid var(--line-2); }
body.ds-page .fcd__chip .fcd__ic { width: 16px; height: 16px; }
body.ds-page .fcd__chip--lead .fcd__ic { color: var(--cyan); } body.ds-page .fcd__chip--team .fcd__ic { color: var(--ember); }
body.ds-page .fcd__chip span { display: grid; } body.ds-page .fcd__chip b { font-size: .78rem; font-weight: 600; } body.ds-page .fcd__chip small { font-size: .66rem; color: var(--muted); }
body.ds-page .fcd__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.ds-page .fcd__sample { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 8px; border: 1px dashed rgba(255,255,255,.2); border-radius: 6px; }
body.ds-page .fcd__replay { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: #fff; font: inherit; font-size: .74rem; font-weight: 600; cursor: pointer; transition: background .3s, border-color .3s; }
body.ds-page .fcd__replay:hover { background: rgba(255,106,31,.14); border-color: rgba(255,106,31,.5); }
body.ds-page .fcd__replay:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
body.ds-page .fcd:not(.is-live) .fcd__typing { display: none; }
/* Animated state (JS on): frames reveal progressively. Without JS everything shows. */
body.ds-page .fcd.is-live [data-in] { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
body.ds-page .fcd.is-live .fcd__chat [data-in] { display: none; }
body.ds-page .fcd.is-live .fcd__chat [data-in].is-on { display: flex; }
body.ds-page .fcd.is-live .fcd__chat .fcd__msg--out.is-on, body.ds-page .fcd.is-live .fcd__chat .fcd__msg--in.is-on { display: block; }
body.ds-page .fcd.is-live [data-in].is-on { opacity: 1; transform: none; }
body.ds-page .fcd.is-live .fcd__chat [data-in].is-on { animation: fcd-in .45s var(--ease) both; }
@keyframes fcd-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* Freedom Number */
body.ds-page .tile--fn { grid-column: span 4; min-height: 600px; display: grid; align-content: space-between; gap: 18px;
  background: radial-gradient(80% 60% at 50% 0%, rgba(30,139,255,.35), transparent 60%), radial-gradient(60% 50% at 100% 100%, rgba(61,224,255,.18), transparent 60%), #05070B;
  border: 1px solid rgba(64,170,255,.28); }
body.ds-page .status--fn { border-color: rgba(64,170,255,.4); }
body.ds-page .fn__title { font-family: "Barlow Condensed", var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .9; font-size: clamp(2.4rem, 3.4vw, 3.4rem); margin: 16px 0 10px; display: grid; }
body.ds-page .fn__grad, body.ds-page .calc__v { background: linear-gradient(180deg, #52e8ff 0%, #22a6ff 55%, #1a72ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(30,139,255,.35)); }
body.ds-page .fn__desc { color: #c9d6e6; font-size: .95rem; }
body.ds-page .calc { display: grid; gap: 12px; padding: 18px; border-radius: 16px; background: rgba(11,19,32,.78); border: 1px solid rgba(64,170,255,.28); }
body.ds-page .calc__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: .9rem; color: #c9d6e6; }
body.ds-page .calc__row output { color: #fff; font-size: .82rem; }
body.ds-page .calc__row input { grid-column: 1 / -1; width: 100%; -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
body.ds-page .calc__row input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #3de0ff, #1e8bff) 0/var(--fill, 50%) 100% no-repeat, rgba(255,255,255,.12); }
body.ds-page .calc__row input::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
body.ds-page .calc__row input::-moz-range-progress { height: 4px; border-radius: 4px; background: #1e8bff; }
body.ds-page .calc__row input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(30,139,255,.45), 0 0 16px rgba(61,224,255,.6); }
body.ds-page .calc__row input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(30,139,255,.45); }
body.ds-page .calc__out { display: flex; justify-content: space-between; align-items: end; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(64,170,255,.2); }
body.ds-page .calc__k { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #8c9cb3; max-width: 7rem; }
body.ds-page .calc__v { font-family: "Barlow Condensed", var(--f-display); font-weight: 800; font-size: 2.8rem; line-height: 1; font-variant-numeric: tabular-nums; }
body.ds-page .calc__v small { font-size: 1.1rem; }
body.ds-page .btn--fn { width: 100%; background: linear-gradient(90deg, #3de0ff, #1e8bff 60%, #1665ff); color: #fff; font-family: "Barlow Condensed", var(--f-display); font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 0 24px rgba(30,139,255,.35); }
body.ds-page .btn--fn:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(30,139,255,.55); }
body.ds-page .fn__note { font-size: .78rem; color: #8c9cb3; text-align: center; }

/* Cruise + Travel */
body.ds-page .tile--cls, body.ds-page .tile--tls { grid-column: span 6; min-height: 480px; display: flex; align-items: flex-end; }
body.ds-page .tile__photo { position: absolute; inset: 0; z-index: -1; margin: 0; border-radius: 0; }
body.ds-page .tile__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
body.ds-page .tile--cls:hover .tile__photo img { transform: scale(1.1); }
body.ds-page .tile__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,10,20,0) 30%, rgba(4,10,20,.88) 100%); }
body.ds-page .tile--cls .tile__photo::after { background: linear-gradient(180deg, rgba(4,12,26,0) 25%, rgba(4,12,26,.9) 100%); }
body.ds-page .tile__over { display: grid; gap: 12px; position: relative; z-index: 2; }
body.ds-page .tile--tls .tile__photo.ph { box-shadow: none; }
body.ds-page .tile--tls .tile__photo.ph figcaption { top: 26px; bottom: auto; left: 28px; right: auto; width: 12rem; }
body.ds-page .tile--tls .tile__photo .ph__id { display: none; }
body.ds-page .pass { position: absolute; z-index: 2; right: 32px; top: 30px; width: min(380px, 66%); display: grid; grid-template-columns: 1fr 82px; border-radius: 14px; overflow: hidden; color: var(--ink);
  background: #FAFAF7; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transform: rotate(-4deg); transition: transform .8s var(--ease); }
body.ds-page .tile--tls:hover .pass { transform: rotate(-1deg) translateY(-10px); }
body.ds-page .pass__main { padding: 14px 16px; display: grid; gap: 10px; }
body.ds-page .pass__k { color: #8a8f99; font-size: .6rem; }
body.ds-page .pass__route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px; }
body.ds-page .pass__route span { display: block; font-size: .56rem; color: #8a8f99; }
body.ds-page .pass__route b { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; line-height: 1; font-variation-settings: "wdth" 75; }
body.ds-page .pass__arc { width: 100%; height: 24px; overflow: visible; }
body.ds-page .pass__arc path { fill: none; stroke: var(--ember); stroke-width: 2; stroke-dasharray: .03 .02; }
body.ds-page .pass__meta { display: flex; justify-content: space-between; color: #5a606b; font-size: .58rem; }
body.ds-page .pass__stub { display: grid; align-content: center; justify-items: center; gap: 4px; border-left: 2px dashed #d6d6d0; background: var(--ember); color: #fff; }
body.ds-page .pass__stub span { font-size: .56rem; opacity: .85; }
body.ds-page .pass__stub b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; font-variation-settings: "wdth" 75; }

/* DarrellStout.com card (What I'm Building) + hub channels (also used in the story NOW stop) */
body.ds-page .tile--ds { grid-column: span 12; min-height: 340px; display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: center;
  background: radial-gradient(60% 120% at 0% 0%, rgba(255,106,31,.22), transparent 60%), radial-gradient(50% 100% at 100% 100%, rgba(61,224,255,.12), transparent 60%), #0B0D12; }
body.ds-page .ds__info { display: grid; gap: 14px; }
body.ds-page .ds__here { color: var(--ember); }
body.ds-page .ds__channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
body.ds-page .chan { display: grid; gap: 4px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .3s; }
body.ds-page .chan:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); }
body.ds-page .chan__screen { position: relative; aspect-ratio: 16/9; border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
body.ds-page .chan__screen figcaption { left: 12px; bottom: 10px; font-size: .58rem; }
body.ds-page .chan__play { position: absolute; left: 50%; top: 42%; width: 52px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.95); transform: translate(-50%,-50%); }
body.ds-page .chan__play::after { content: ""; position: absolute; left: 21px; top: 10px; border-left: 13px solid var(--ember); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
body.ds-page .chan__screen--mail { display: grid; align-content: start; gap: 7px; padding: 14px; background: #F5F3EF; color: var(--ink); }
body.ds-page .chan__screen--mail b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1rem; font-variation-settings: "wdth" 80; }
body.ds-page .chan__screen--mail i { height: 6px; border-radius: 3px; background: #d9d6cf; }
body.ds-page .chan__screen--mail i:nth-of-type(2) { width: 80%; } body.ds-page .chan__screen--mail i:nth-of-type(3) { width: 60%; }
body.ds-page .chan__screen--mail span { font-family: var(--f-mono); font-size: .56rem; color: var(--ember); text-transform: uppercase; letter-spacing: .06em; margin-top: auto; }
body.ds-page .chan__screen--live { display: grid; align-content: center; justify-items: center; gap: 4px; background: #05090D; border: 1px solid rgba(61,224,255,.2);
  background-image: linear-gradient(rgba(61,224,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(61,224,255,.06) 1px, transparent 1px); background-size: 20px 20px; }
body.ds-page .chan__screen--live span { color: var(--muted); font-size: .58rem; }
body.ds-page .chan__screen--live b { font-family: var(--f-display); font-weight: 900; font-size: 2rem; color: var(--cyan); letter-spacing: .1em; }
body.ds-page .chan__k { color: var(--muted); }
body.ds-page .chan__v { font-weight: 600; font-size: .95rem; }

/* =========================================================
   Coordinated content update (2026-10-05): real assets, tools, Off the Clock, Freedom Tracker
   ========================================================= */
/* Real photos inside the existing frames: keep grain + crop corners + ID, add caption legibility */
body.ds-page .ph--photo { background: #0b0b0d; }
body.ds-page .ph--photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
body.ds-page .ph--photo::before { opacity: .18; }
body.ds-page .ph--photo figcaption { left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); }
body.ds-page .ph--photo .ph__id { color: rgba(255,255,255,.2); }
body.ds-page .compare .ph--photo figcaption { padding-top: 60px; }
body.ds-page .compare--home .compare__after > img { object-position: 50% 35%; }
body.ds-page .compare--home .compare__before > img { object-position: 50% 60%; }
body.ds-page .ph--d > img { object-position: 46% 50%; }
body.ds-page .tile--tls:hover .tile__photo img { transform: scale(1.1); }
/* real CLS/TLS covers are bright and busy: deepen the scrim behind the text */
body.ds-page .tile--cls .tile__photo::after, body.ds-page .tile--tls .tile__photo::after { background: linear-gradient(180deg, rgba(4,10,20,.05) 15%, rgba(4,10,20,.55) 48%, rgba(4,10,20,.94) 82%); }

/* 01 / 02 Before & after sliders: real matched pairs, the lead slider carries the weight */
body.ds-page .compare--lg { aspect-ratio: 4/3; }
body.ds-page .compare--sm { aspect-ratio: 1; }
body.ds-page .compare--home { aspect-ratio: 4/3; }
body.ds-page .compare--sm .compare__handle i { width: 38px; height: 38px; }
body.ds-page .compare--sm .compare__handle i::before, body.ds-page .compare--sm .compare__handle i::after { top: 13px; }
body.ds-page .compare--sm .compare__handle i::before { left: 7px; } body.ds-page .compare--sm .compare__handle i::after { right: 7px; }
body.ds-page .compare--sm .ph--photo figcaption { padding: 40px 14px 12px; font-size: .6rem; }
body.ds-page .compare--sm .compare__after > img { object-position: 40% 50%; }

/* 03 Software, media & AI: businesses being built (device / browser) + tools you can use (cards) */
body.ds-page .win--link { display: block; color: inherit; text-decoration: none; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
body.ds-page .win--link:hover { transform: translateY(-6px); border-color: rgba(61,224,255,.5); }
body.ds-page .win--link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
body.ds-page .win__shot { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; } /* height:auto overrides the 800px implied by the height attribute */
body.ds-page .win__cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(5,9,13,.92); }
body.ds-page .win__k { grid-column: 1; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
body.ds-page .win__t { grid-column: 1; font-size: .82rem; color: var(--text-2); }
body.ds-page .win__go { grid-column: 2; grid-row: 1 / 3; font-weight: 600; font-size: .86rem; color: #fff; white-space: nowrap; }
body.ds-page .win--link:hover .win__go { color: var(--cyan); }
body.ds-page .win__t b { color: #fff; font-weight: 600; }
/* Locally Loved Ohio: true 390×844 mobile render of the live homepage hero, in a phone frame (secondary to Field Command) */
body.ds-page .dev__frame.dev__frame--phone { position: relative; width: min(100%, 220px); padding: 7px; border-radius: 34px; }
body.ds-page .dev__frame--phone::before { content: ""; position: absolute; z-index: 1; top: 13px; left: 50%; width: 30%; height: 12px; border-radius: 999px; background: #11161d; transform: translateX(-50%); }
body.ds-page .dev__frame--phone .dev__shot { aspect-ratio: 390/844; border-radius: 27px; }
body.ds-page .dev { display: grid; justify-items: center; gap: 14px; color: inherit; text-decoration: none; }
body.ds-page .dev__frame { display: block; width: min(100%, 300px); padding: 10px; border-radius: 22px; background: #11161d; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 60px -24px rgba(255,106,31,.35); transition: transform .5s var(--ease), border-color .3s; }
body.ds-page .dev__shot { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 13px; }
body.ds-page .dev:hover .dev__frame { transform: translateY(-6px); border-color: rgba(255,106,31,.5); }
body.ds-page .dev:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 12px; }
body.ds-page .proj { display: grid; gap: 2px; width: min(100%, 300px); }
body.ds-page .proj__k, body.ds-page .tool__k { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
body.ds-page .proj__n, body.ds-page .tool__n { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 80; font-size: 1.25rem; line-height: 1.05; color: #fff; }
body.ds-page .proj__d, body.ds-page .tool__d { font-size: .8rem; color: var(--text-2); line-height: 1.4; }
body.ds-page .proj__go, body.ds-page .tool__go { margin-top: 4px; font-weight: 600; font-size: .84rem; color: #fff; }
body.ds-page .dev:hover .proj__go, body.ds-page .tool:hover .tool__go { color: var(--cyan); }
body.ds-page .tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
body.ds-page .tool { display: grid; grid-template-columns: minmax(0, 36%) 1fr; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; color: inherit; text-decoration: none;
  background: rgba(255,178,63,.05); border: 1px solid rgba(255,178,63,.28); transition: transform .5s var(--ease), border-color .3s, background-color .3s; }
body.ds-page .tool:hover { transform: translateY(-4px); border-color: rgba(255,178,63,.6); background: rgba(255,178,63,.09); }
body.ds-page .tool:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
body.ds-page .tool__shot { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; object-position: top center; border-radius: 9px; }
body.ds-page .tool__body { display: grid; gap: 2px; }
body.ds-page .tool__k { color: var(--amber); }
body.ds-page .tool__n { font-size: 1.05rem; white-space: nowrap; }
body.ds-page .tool__go { font-size: .8rem; }

/* NOW · DarrellStout.com hub (final story stop): READ / WATCH / TRACK */
body.ds-page .ch__media--hq { width: 100%; }
body.ds-page .story.is-horizontal .panel--hq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
body.ds-page .panel--hq .chan__screen { aspect-ratio: 3/2; }
body.ds-page .panel--hq .ch__title { font-size: clamp(2.4rem, 3.8vw, 4.4rem); }
body.ds-page .chan__screen--tracker > img { object-fit: contain; }
body.ds-page .chan__screen--tracker .chan__badge { top: auto; bottom: 8px; }
body.ds-page .panel--hq .ds__here { margin-top: 18px; }
body.ds-page a.chan { color: inherit; text-decoration: none; }
body.ds-page a.chan:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
body.ds-page .chan__screen > img { width: 100%; height: 100%; object-fit: cover; }
body.ds-page .chan__screen--otc { background: #F5EFE4; display: grid; place-items: center; }
body.ds-page .chan__screen--otc > img { object-fit: contain; }
body.ds-page .chan__screen--yt .chan__play { top: 50%; }
body.ds-page .chan__d { font-size: .8rem; color: var(--muted); line-height: 1.4; }
body.ds-page .chan__screen--tracker { background: #05080c; }
body.ds-page .chan__badge { position: absolute; left: 8px; top: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(5,8,12,.86); border: 1px solid rgba(255,178,63,.5); color: var(--amber); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; }


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  body.ds-page .nav { display: none; }
  body.ds-page .tile--fc { grid-column: span 12; }
  body.ds-page .tile--fn { grid-column: span 12; min-height: 0; }
  body.ds-page .tile--ds { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  :root { --header-h: 62px; }
  body.ds-page .header__cta { display: none; }
  body.ds-page .menu-btn { display: block; }
  body.ds-page .brand__name { font-size: .95rem; }

  body.ds-page .hero { min-height: 640px; }
  body.ds-page .hero__subject { left: 50%; height: 72svh; bottom: 11%; }
  body.ds-page .subject { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
  body.ds-page .hero__shade { background: linear-gradient(0deg, rgba(7,8,11,.98) 0%, rgba(7,8,11,.85) 38%, rgba(7,8,11,.1) 70%); }
  body.ds-page .hero__copy { width: auto; right: var(--gutter); bottom: 72px; }
  body.ds-page .hero__title { font-size: clamp(2.7rem, 13vw, 4.4rem); }
  body.ds-page .hero__sub { font-size: 1rem; margin-bottom: 20px; }
  body.ds-page .hero__ghost { top: 16%; font-size: 24vw; }
  body.ds-page .chip { padding: 9px 12px; }
  body.ds-page .chip__v { font-size: .85rem; }
  body.ds-page .chip--now, body.ds-page .chip--years, body.ds-page .chip--video, body.ds-page .chip--time { display: none; }
  /* compact, single-line annotation row; tighter copy rhythm so the headline stays clear of the face */
  body.ds-page .hero__notes { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .84fr) minmax(0, 1.08fr); gap: 6px; margin: 0 0 14px; }
  body.ds-page .note { padding: 7px 9px; gap: 2px; border-radius: 10px; }
  body.ds-page .note__k { font-size: .5rem; letter-spacing: .05em; gap: 5px; }
  body.ds-page .note__v { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.ds-page .note--years { grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; }
  body.ds-page .note--years .note__k { white-space: normal; line-height: 1.15; }
  body.ds-page .note__big { font-size: 1.25rem; }
  body.ds-page .hero__title { margin: 10px 0 16px; }
  body.ds-page .hero__sub { margin-bottom: 14px; }
  body.ds-page .hero__notes { margin-bottom: 12px; }
  body.ds-page .hero__copy { bottom: 56px; }
  body.ds-page .ph-tag--env { display: none; }
  body.ds-page .ticker { height: 42px; }

  body.ds-page .panel--ch { padding-top: 64px; padding-bottom: 64px; }
  body.ds-page .compare--sm { aspect-ratio: 4/3; }
  body.ds-page .ch__media--d { gap: 22px; }

  body.ds-page .tile--fc { grid-template-columns: 1fr; min-height: 0; }
  body.ds-page .fcd { margin-top: 8px; min-height: 0; grid-template-columns: 228px minmax(0, 1fr); }
  body.ds-page .fcd__screen { height: 452px; }
  body.ds-page .tile--cls, body.ds-page .tile--tls { grid-column: span 12; min-height: 460px; }
  body.ds-page .pass { top: 16%; right: 16px; width: 82%; }
  body.ds-page .tile--tls .tile__photo.ph figcaption { display: none; }
  body.ds-page .ds__channels { grid-template-columns: 1fr; }
}
/* Field Command demo on phones: phone, then a 5-dot rail with a caption, then outcomes */
@media (max-width: 599px) {
  body.ds-page .fcd { grid-template-columns: 1fr; gap: 18px; justify-items: center; }
  body.ds-page .fcd__phone { width: min(240px, 100%); transform: none; }
  body.ds-page .fcd__screen { height: 420px; }
  body.ds-page .fcd__side { width: 100%; gap: 12px; }
  body.ds-page .fcd__steps { display: flex; justify-content: center; gap: 6px; }
  body.ds-page .fcd__step { display: block; width: 34px; height: 34px; padding: 0; }
  body.ds-page .fcd__step::before { display: none; }
  body.ds-page .fcd__dot { left: 11px; top: 11px; }
  body.ds-page .fcd__t, body.ds-page .fcd__s, body.ds-page .fcd__d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.ds-page .fcd__caption { display: block; margin: 0; min-height: 1.3em; text-align: center; font-size: .82rem; font-weight: 600; }
  body.ds-page .fcd__out { grid-template-columns: 1fr 1fr; }
  body.ds-page .fcd__chip { padding: 8px 10px; gap: 8px; }
}
/* Phones: the 30+ card repeats the headline, so keep the two linked annotations only */
@media (max-width: 599px) {
  body.ds-page .hero__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.ds-page .note--years { display: none; }
}
/* Short phones/tablets: headline and portrait come first; drop the annotation row */
@media (max-width: 899px) and (max-height: 700px) {
  body.ds-page .hero__notes { display: none; }
}
@media (max-width: 480px) {
  body.ds-page .hero__ctas .btn { flex: 1 1 100%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Coordinated update: tablet/phone */
@media (max-width: 899px) {
  body.ds-page .tools { grid-template-columns: 1fr; }
  body.ds-page .win__cta { grid-template-columns: 1fr; }
  body.ds-page .win__go { grid-column: 1; grid-row: auto; margin-top: 6px; }
}

/* Correction pass: small desktops (horizontal story, 900–1279px) keep the two tools side by side so chapter 03 fits the viewport */
@media (min-width: 900px) and (max-width: 1279px) {
  body.ds-page .story.is-horizontal .tools { grid-template-columns: 1fr 1fr; }
  body.ds-page .story.is-horizontal .tool { grid-template-columns: 1fr; gap: 10px; }
  body.ds-page .story.is-horizontal .tool__shot { aspect-ratio: 16/8; }
  body.ds-page .story.is-horizontal .tool__d { display: none; }
  body.ds-page .story.is-horizontal .tool__n { white-space: normal; }
}

/* =========================================================
   FOOTER: a quiet end plate (blends with the story's NOW stop)
   ========================================================= */
body.ds-page .foot { background: #04121A; color: var(--muted); padding: clamp(40px, 6vh, 64px) 0 28px; }
body.ds-page .foot__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
body.ds-page .foot__id { display: grid; gap: 6px; }
body.ds-page .foot__id::before { content: ""; width: 28px; height: 2px; margin-bottom: 10px; background: var(--ember); }
body.ds-page .foot__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-variation-settings: "wdth" 80; font-size: 1.15rem; letter-spacing: .02em; color: var(--text); }
body.ds-page .foot__still { color: var(--text-2); font-size: .95rem; }
body.ds-page .foot__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
body.ds-page .foot__nav a { color: var(--text-2); font-size: .9rem; text-decoration: none; transition: color .2s; }
body.ds-page .foot__nav a:hover { color: var(--ember); }
body.ds-page .foot__legal { width: 100%; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; letter-spacing: .1em; }
@media (max-width: 599px) {
  body.ds-page .foot__in { flex-direction: column; align-items: flex-start; gap: 20px; }
  body.ds-page .foot__nav { gap: 8px 20px; }
}


/* =========================================================
   Elementor bridge (appended by tools/build-css.py)
   v4's layout is written for plain HTML. Elementor wraps content in containers and widget
   wrappers; these rules make those wrappers layout-neutral so the v4 rules above apply exactly.
   ========================================================= */

/* DS widgets: the Elementor widget wrapper adds no box. The v4 element it renders (a card, a
   story panel, the header...) is laid out directly by its parent grid/flex, exactly as in v4. */
body.ds-page .elementor-element.elementor-widget[data-widget_type^="ds-"] { display: contents; }

/* Structural containers that carry v4 classes (class "ds-x"): switch off Elementor's container
   defaults (flex column, 10px padding, 20px gap, transitions) so the v4 class rules decide. */
body.ds-page .e-con.ds-x {
  --display: block; --flex-direction: row; --flex-wrap: nowrap; --justify-content: normal;
  --align-items: normal; --align-content: normal; --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --margin-top: 0px; --margin-right: 0px; --margin-bottom: 0px; --margin-left: 0px;
  --width: auto; --min-height: 0px; --height: auto; --overflow: visible; --z-index: auto;
  --position: relative; --border-radius: 0; --text-align: initial; --container-widget-width: auto;
}
/* GSAP moves the story track every frame; a CSS transform transition would smear it. */
body.ds-page .e-con.ds-x:not(.story) { transition: none; }
/* Pure grouping containers (no v4 box of their own). */
body.ds-page .e-con.ds-contents { --display: contents; display: contents; }

/* Inside the Elementor editor the story is shown as a vertical stack (no pinning), and nothing
   waits on intro animations, so every chapter can be clicked and edited. */
body.ds-page.elementor-editor-active .story__hud { display: none; }

/* Elementor removes link underlines inside its content; v4's skip link keeps the browser default. */
body.ds-page .skip { text-decoration: underline; }

/* Logged-in only: keep the fixed header (and mobile menu) below the WordPress admin bar. */
@media (min-width: 783px) {
  body.ds-page.admin-bar .header { top: 32px; }
  body.ds-page.admin-bar .mnav { top: calc(var(--header-h) + 32px); }
}
