/* Carnival DevOps — site stylesheet
   Palette: orange on warm near-black. Display: Instrument Serif. Text: Inter. */

:root {
  --bg: #080808;
  --bg-2: #0e0d0c;
  --bg-3: #151311;
  --ink: #f4f1ee;
  --ink-2: rgba(244, 241, 238, 0.68);
  --ink-3: rgba(244, 241, 238, 0.42);
  --line: rgba(244, 241, 238, 0.09);
  --line-2: rgba(244, 241, 238, 0.16);
  --accent: #ff6b35;
  --accent-2: #ff8a65;
  --accent-3: #ffab91;
  --accent-soft: rgba(255, 107, 53, 0.14);
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis owns scroll */
  overscroll-behavior: none;
}
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--accent); color: #120804; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 0.96;
  text-wrap: balance;
}
.display i, .display em { font-style: italic; color: var(--accent-2); }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--accent);
}
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- layout ---------- */
.wrap { width: min(var(--max), 100% - 2 * var(--pad)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); }
.section-head .display { font-size: clamp(38px, 5.6vw, 84px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
  .section-head .lede { justify-self: end; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.6s var(--ease), background 0.4s, border-color 0.4s, color 0.4s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--accent-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #140803; }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn .arr { transition: transform 0.6s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-block: 18px;
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s var(--ease);
}
.nav.is-scrolled {
  padding-block: 10px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; }
.brand .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; padding-block: 6px; transition: color 0.3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); place-items: center; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 2.5px 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 28px;
    font-family: var(--serif); font-size: clamp(34px, 8vw, 54px); color: var(--ink);
    background: rgba(8, 8, 8, 0.96);
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  .nav.is-open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-toggle { display: grid; }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-cta .btn { display: none; }
}

/* ---------- hero (3D, pinned) ---------- */
#webgl {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}
html.is-3d-ready #webgl { opacity: 1; }
.hero { position: relative; z-index: 1; height: 320vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero-poster {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 50% at 50% 55%, rgba(255, 107, 53, 0.22), transparent 70%), var(--bg);
  opacity: 0; transition: opacity 0.8s;
}
html.no-3d .hero-poster {
  opacity: 1;
  background-image: url("../og/poster.jpg");
  background-size: cover; background-position: center;
}
html.no-3d .hero-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,8,8,.35), rgba(8,8,8,.75)); }
html.no-3d .hero { height: auto; min-height: 100vh; }
html.no-3d .hero-sticky { position: relative; height: auto; min-height: 100vh; }
html.no-3d .hero-frame { position: relative; opacity: 1 !important; transform: none !important; visibility: visible !important; padding-block: 120px 60px; }
html.no-3d .hero-frame:not(.hero-frame--1) { display: none; }
html.no-3d #webgl { display: none; }

.hero-frame {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad);
  opacity: 0; visibility: hidden;
  will-change: opacity, transform;
}
.hero-frame--1 { opacity: 1; visibility: visible; }
/* legibility scrims: text sits on a soft dark fade, the wheel stays readable next to it */
.hero-frame--1::before, .hero-frame--2::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.55) 34%, rgba(8, 8, 8, 0) 62%);
}
.hero-frame--2::before { background: linear-gradient(270deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.55) 34%, rgba(8, 8, 8, 0) 62%); }
.hero-frame--3::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 50%, rgba(8, 8, 8, 0.7), rgba(8, 8, 8, 0) 100%);
}
.hero-frame--2 .wrap { display: flex; justify-content: flex-end; }
.hero-frame--2 .wrap > div { max-width: 640px; }
.hero-frame--3 .display, .hero-frame--3 .lede { text-shadow: 0 2px 30px rgba(8, 8, 8, 0.9); }
.nav::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.85), rgba(8, 8, 8, 0));
  opacity: 1; transition: opacity 0.5s;
}
.nav.is-scrolled::before { opacity: 0; }
.faq-grid .display { font-size: clamp(38px, 4.4vw, 64px); margin-top: 10px; }
.hero-frame .wrap { width: min(var(--max), 100%); }
.hero-frame--1 .display { font-size: clamp(52px, 10.5vw, 164px); max-width: 11ch; margin-top: 22px; }
.hero-frame--1 .lede { margin-top: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-frame--2, .hero-frame--3 { align-items: flex-start; }
.hero-frame--2 .display { font-size: clamp(40px, 6.4vw, 96px); max-width: 12ch; }
.hero-frame--3 .display { font-size: clamp(48px, 9vw, 150px); text-align: center; margin-inline: auto; }
.hero-frame--3 .wrap { text-align: center; }
.hero-frame--3 .lede { margin: 26px auto 0; }
.hero-products { display: grid; gap: 16px; margin-top: 34px; max-width: 720px; }
@media (min-width: 700px) { .hero-products { grid-template-columns: 1fr 1fr; } }
.hero-products a {
  padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 16px;
  background: rgba(8, 8, 8, 0.45); backdrop-filter: blur(8px);
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.hero-products a:hover { border-color: var(--accent); transform: translateY(-3px); }
.hero-products strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.hero-products span { color: var(--ink-3); font-size: 14px; }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 var(--pad) 26px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  font-size: 12px; color: var(--ink-3);
}
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; width: min(var(--max), 100%); }
.clocks { display: flex; gap: 26px; }
.clocks b { display: block; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; font-size: 13px; }
.clocks span { letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; }
.scroll-hint { display: flex; align-items: center; gap: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; }
.scroll-hint i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .clocks { gap: 14px; } .clocks b { font-size: 12px; } .scroll-hint { display: none; } }

/* Everything after the hero sits on solid bg above the fixed canvas */
.page { position: relative; z-index: 2; background: var(--bg); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: inline-flex; gap: 0; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--serif); font-size: clamp(28px, 4vw, 54px); padding-inline: 28px; color: var(--ink-2); }
.marquee-track span::after { content: "✦"; color: var(--accent); margin-left: 56px; font-size: 0.6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- products ---------- */
.products { display: grid; gap: 22px; }
@media (min-width: 1000px) { .products { grid-template-columns: 1fr 1fr; } }
.product {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 28px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  padding: clamp(26px, 3.2vw, 44px);
  display: flex; flex-direction: column; gap: 26px;
  transition: border-color 0.5s, transform 0.8s var(--ease);
}
.product:hover { border-color: var(--line-2); transform: translateY(-4px); }
.product::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(500px 240px at var(--mx, 50%) var(--my, 0%), rgba(255, 107, 53, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.6s;
}
.product:hover::before { opacity: 1; }
.product-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.product-name { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.product-name small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); margin-top: 12px; }
.badge { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); white-space: nowrap; }
.product-visual {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #0a0908; aspect-ratio: 16 / 9;
}
.product-claim { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; text-wrap: balance; }
.product p { color: var(--ink-2); font-size: 15.5px; max-width: 62ch; text-wrap: pretty; }
.feature-list { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; font-size: 14px; color: var(--ink-2); }
.feature-list li { padding-left: 18px; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.stats b { display: block; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; line-height: 1; }
.stats span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .feature-list { grid-template-columns: 1fr; } }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }

/* Ferris console mock */
.console { position: absolute; inset: 0; padding: 14px; display: grid; grid-template-rows: auto 1fr; gap: 10px; font-size: 11px; color: var(--ink-2); }
.console-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.console-bar b { font-weight: 500; color: var(--ink); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; }
.console-bar .up { color: #7ee2a8; }
.console-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; min-height: 0; }
.console-chart { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; grid-template-rows: auto 1fr; gap: 6px; min-height: 0; }
.console-chart svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.console-chart path { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .console-chart path { animation: draw 2.4s var(--ease) forwards 0.3s; }
.console-chart .area { fill: url(#cdgrad); stroke: none; opacity: 0; }
.in .console-chart .area { animation: fadein 1.4s forwards 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.console-rows { display: grid; gap: 6px; align-content: start; }
.console-rows li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; }
.console-rows li span:first-child { color: var(--ink); }
.pill { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; }
.pill.ok { background: rgba(126, 226, 168, 0.12); color: #7ee2a8; }
.pill.warn { background: rgba(255, 171, 145, 0.14); color: var(--accent-3); }
.pill.info { background: rgba(244, 241, 238, 0.08); color: var(--ink-2); }
.console-foot { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-3); letter-spacing: 0.08em; }
@media (max-width: 460px) { .console-grid { grid-template-columns: 1fr; } .console-rows li:nth-child(n+3) { display: none; } }

/* Recall graph canvas */
#graph { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph-tags { position: absolute; left: 14px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.graph-tags span { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: rgba(8, 8, 8, 0.7); border: 1px solid var(--line-2); color: var(--ink-2); }
.graph-tags span.hot { border-color: var(--accent); color: var(--accent-2); }

/* ---------- services ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
@media (min-width: 700px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service { background: var(--bg); padding: clamp(26px, 2.6vw, 38px); display: grid; gap: 18px; align-content: start; min-height: 260px; transition: background 0.5s; position: relative; }
.service:hover { background: var(--bg-2); }
.service .num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.service h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }
.service p { color: var(--ink-2); font-size: 15px; text-wrap: pretty; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.service .tags span { font-size: 11px; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-3); }

/* ---------- approach (numbered steps) ---------- */
.steps { display: grid; border-top: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 20px;
  padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 900px) { .step { grid-template-columns: 120px 1fr 1.2fr; gap: 40px; } }
.step .num { font-family: var(--serif); font-size: clamp(40px, 5vw, 72px); line-height: 0.9; color: var(--accent); font-style: italic; }
.step h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 50px); font-weight: 400; line-height: 1; }
.step p { color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
@media (max-width: 899px) { .step p { grid-column: 2; } }

/* ---------- why ---------- */
.pillars { display: grid; gap: 22px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 2.6vw, 36px); display: grid; gap: 14px; background: var(--bg-2); }
.pillar .glyph { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-2); }
.pillar h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.05; }
.pillar p { color: var(--ink-2); font-size: 15px; }
.quote {
  margin-top: clamp(56px, 8vw, 110px);
  font-family: var(--serif); font-size: clamp(30px, 4.6vw, 68px); line-height: 1.08; text-align: center;
  max-width: 22ch; margin-inline: auto; text-wrap: balance;
}
.quote em { color: var(--accent-2); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 32px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-style: normal; transition: transform 0.5s var(--ease), background 0.4s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent); color: #140803; border-color: var(--accent); }
.faq .answer { padding: 0 0 26px; color: var(--ink-2); max-width: 70ch; font-size: 15.5px; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 2fr; } }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact .display { font-size: clamp(46px, 8vw, 128px); max-width: 12ch; margin-inline: auto; }
.contact .lede { margin: 30px auto 0; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.contact-meta { margin-top: 54px; display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 36px; font-size: 13px; color: var(--ink-3); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

/* ---------- cursor glow ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: screen;
  box-shadow: 0 0 24px 6px rgba(255, 107, 53, 0.35);
  opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease);
}
body.has-pointer .cursor { opacity: 0.9; }
body.is-hovering .cursor { transform: scale(2.6); opacity: 0.5; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- CV page ---------- */
.cv-hero { padding-top: clamp(140px, 18vw, 220px); padding-bottom: clamp(60px, 8vw, 110px); position: relative; overflow: hidden; }
.cv-hero::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; background: radial-gradient(50% 60% at 50% 100%, rgba(255, 107, 53, 0.18), transparent 70%); pointer-events: none; }
.cv-hero .display { font-size: clamp(56px, 11vw, 168px); }
.cv-hero .display span { display: block; }
.cv-hero .lede { margin-top: 28px; }
.cv-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; max-width: 760px; }
@media (min-width: 700px) { .cv-facts { grid-template-columns: repeat(4, 1fr); } }
.cv-facts b { display: block; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 52px); font-weight: 400; line-height: 1; }
.cv-facts span { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.prose { display: grid; gap: 18px; color: var(--ink-2); font-size: 16.5px; max-width: 66ch; text-wrap: pretty; }
.prose strong { color: var(--ink); font-weight: 500; }
.two-col { display: grid; gap: 34px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.timeline { display: grid; border-top: 1px solid var(--line); }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .tl { grid-template-columns: 160px 240px 1fr; gap: 30px; } }
.tl .when { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; padding-top: 6px; }
.tl .where { font-family: var(--serif); font-size: 28px; line-height: 1; }
.tl .where small { display: block; font-family: var(--sans); font-size: 12px; color: var(--ink-3); margin-top: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.tl p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 799px) { .tl p { grid-column: 2; } }
.langs { display: grid; gap: 12px; }
.langs li { display: grid; grid-template-columns: 110px 1fr 90px; align-items: center; gap: 14px; font-size: 14px; }
.langs .bar { height: 2px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 2px; }
.langs .bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease); }
.in .langs .bar i { transform: scaleX(var(--v)); }
.langs .lvl { text-align: right; color: var(--ink-3); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 13px; padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.chips span.hot { border-color: var(--accent); color: var(--accent-2); }
.proj { border: 1px solid var(--line); border-radius: 20px; padding: 26px; background: var(--bg-2); display: grid; gap: 12px; }
.proj h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.proj p { color: var(--ink-2); font-size: 15px; }
.proj-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- print (CV) ---------- */
@media print {
  html, body { background: #fff; color: #111; }
  .nav, .footer, .cursor, #webgl, .btn, .chat-widget, #cd-chat, [data-print-hide] { display: none !important; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
  .section { padding-block: 24px; break-inside: avoid; }
  .display, .tl .where, .proj h3 { color: #111; }
  .display em, .display i { color: #c2410c; }
  .lede, .prose, .tl p, .proj p { color: #333; }
  .cv-hero { padding-top: 20px; }
  .cv-hero::before { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}

/* ---------- product films ---------- */
.film { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-2); background: #000;
  box-shadow: 0 50px 120px -50px rgba(255, 107, 53, 0.35); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- capture modes (tools/shoot.mjs) ---------- */
.is-shot-og #cw-bubble, .is-shot-og .scroll-hint, .is-shot-og .cursor,
.is-shot-poster #cw-bubble, .is-shot-poster .nav, .is-shot-poster .hero-frame, .is-shot-poster .hero-meta, .is-shot-poster .cursor { visibility: hidden !important; }
/* a 1.91:1 social card has no room for the body copy: headline and 3D only, the nav as the brand line */
.is-shot-og .hero-frame--1 .lede, .is-shot-og .hero-actions, .is-shot-og .hero-meta { display: none !important; }

/* ---------- mobile tuning ---------- */
@media (max-width: 700px) {
  .hero-frame--1::before, .hero-frame--2::before {
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.55) 48%, rgba(8, 8, 8, 0) 78%);
  }
  .hero-frame--1, .hero-frame--2 { justify-content: flex-start; padding-top: 22vh; }
  .hero-frame--2 .wrap { justify-content: flex-start; }
  .product-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .product-name small { letter-spacing: 0.12em; }
  .badge { font-size: 10px; }
}

/* ---------- motion prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- /ferris ---------- */
html.no-3d .hero-poster--ferris { background-image: url("../og/ferris-poster.jpg"); }
.pillar .glyph { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.step .num { min-width: 80px; }
.hero-frame code { font-family: var(--mono); font-size: 0.85em; color: var(--accent-3); }

/* ---------- /kermes ---------- */
html.no-3d .hero-poster--kermes { background-image: url("../og/kermes-poster.jpg"); }
/* frame 3: the ride rises into the upper half, the text sits under it */
.hero--kermes .hero-frame--3 { justify-content: flex-end; padding-bottom: clamp(56px, 9vh, 110px); }
.hero--kermes .hero-frame--3::before { background: linear-gradient(0deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.6) 24%, rgba(8, 8, 8, 0) 46%); }
.hero--kermes .hero-frame--3 .display { font-size: clamp(40px, 5.4vw, 88px); }
.hero--kermes .hero-frame--3 .lede { margin-top: 16px; }

/* what ships: phone next to a laptop-proportion dashboard, same height */
.kermes-show { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 84px); position: relative; }
.kermes-show::before { content: ""; position: absolute; inset: 10% 5%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 107, 53, 0.12), transparent 70%); filter: blur(20px); }
@media (min-width: 1200px) { .kermes-show { grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; } }
.kermes-stats { margin-bottom: clamp(44px, 6vw, 84px); }
.kermes-stats span { text-transform: none; letter-spacing: 0.02em; font-size: 13px; line-height: 1.4; }
.kermes-phone, .kermes-dash, .kermes-queue { color: var(--ink-2); font-size: 12px; line-height: 1.4; }
.kermes-show .mono, .kermes-queue .mono { font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-3); }
.kermes-show .m1 { background: linear-gradient(135deg, #5b5048 0%, #2c2622 60%), #333; }
.kermes-show .m2 { background: radial-gradient(30% 30% at 60% 40%, #b59a82, transparent), linear-gradient(180deg, #3d3530, #1c1917); }
.kermes-show .m3 { background: linear-gradient(90deg, #463d37 50%, #2a2420 50%); }

/* phone */
.kermes-phone { justify-self: center; width: min(300px, 100%); display: flex; padding: 9px; border-radius: 42px; background: linear-gradient(160deg, #2a2521, #0f0d0c); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.sp-screen { flex: 1; min-height: 0; border-radius: 34px; background: linear-gradient(180deg, rgba(38, 33, 29, 0.72), rgba(18, 16, 14, 0.82)), #0c0b0a; padding: 16px 14px 14px; display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 12px; position: relative; overflow: hidden; }
.sp-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 999px; background: #050505; }
.sp-status { display: flex; justify-content: space-between; align-items: center; padding: 0 6px; min-height: 22px; }
.sp-offline { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(255, 107, 53, 0.45); border-radius: 999px; padding: 3px 8px; }
.sp-offline i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); }
.sp-head { display: grid; gap: 5px; }
.sp-head b { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.05; color: var(--ink); }
.sp-progress { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.sp-progress i { display: block; height: 100%; background: var(--accent); }
.sp-list { display: grid; gap: 8px; align-content: start; min-height: 0; overflow: hidden; }
.sp-list li { display: grid; gap: 7px; padding: 10px 12px; border-radius: 16px; background: rgba(244, 241, 238, 0.035); border: 1px solid var(--line); }
.sp-q { color: var(--ink); font-size: 13px; }
.sp-seg { display: inline-grid; grid-template-columns: 1fr 1fr; width: 120px; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; font-size: 11px; text-align: center; }
.sp-seg b { font-weight: 500; background: var(--accent); color: #140803; border-radius: 999px; padding: 3px 0; }
.sp-seg span { padding: 3px 0; }
.sp-media { display: flex; gap: 6px; align-items: center; }
.sp-media i { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); }
.sp-media em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.sp-comment { font-size: 11.5px; color: var(--ink-3); border-left: 1px solid var(--accent); padding-left: 8px; }
.kermes-show .sp-val { font-size: 15px; color: var(--ink); }
.sp-video { display: flex; align-items: center; gap: 10px; height: 48px; border-radius: 10px; padding: 0 12px; background: linear-gradient(120deg, #3a322d, #171412); border: 1px solid var(--line-2); }
.sp-video i { width: 0; height: 0; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.sp-sync { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border-radius: 999px; background: var(--accent); color: #140803; font-weight: 500; font-size: 14px; }
.kermes-show .sp-sync .mono { color: rgba(20, 8, 3, 0.75); font-size: 11px; }
.sp-last { text-align: center; }

/* dashboard: a full app screen, laptop proportions from 900px */
.kermes-dash { min-width: 0; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(34, 30, 27, 0.8), rgba(14, 13, 12, 0.9)); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
@media (min-width: 900px) { .kermes-dash { aspect-ratio: 3 / 2; } }
.sd-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.sd-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 500; font-size: 13px; }
.sd-brand i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px dashed var(--ink-3); }
.sd-user { display: inline-flex; align-items: center; gap: 10px; }
.sd-user i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; color: var(--ink-2); background: var(--bg-3); border: 1px solid var(--line-2); }
.sd-app { display: grid; min-height: 0; }
@media (min-width: 900px) { .sd-app { grid-template-columns: 150px 1fr 220px; } }
@media (min-width: 1200px) { .sd-app { grid-template-columns: 172px 1fr 250px; } }
.sd-nav { display: none; }
@media (min-width: 900px) { .sd-nav { display: flex; flex-direction: column; gap: 3px; padding: 14px 10px; border-right: 1px solid var(--line); min-height: 0; overflow: hidden; } }
.sd-nav span { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 9px; color: var(--ink-2); }
.sd-nav em { font-style: normal; }
.sd-nav .is-active { color: var(--ink); background: rgba(244, 241, 238, 0.06); box-shadow: inset 2px 0 0 var(--accent); }
.kermes-show .sd-nav-title { margin-top: 16px; text-transform: uppercase; letter-spacing: 0.14em; }
.sd-nav .sd-filter { border: 1px solid var(--line); font-size: 11px; margin-top: 3px; }
.sd-nav .sd-filter.is-on { border-color: rgba(255, 107, 53, 0.45); color: var(--accent-2); }
.sd-main { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-height: 0; overflow: hidden; }
.sd-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sd-title { display: grid; gap: 4px; }
.sd-title b { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.3vw, 34px); line-height: 1; color: var(--ink); }
.sd-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sd-chip, .sd-btn { border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px; }
.kermes-show .sd-chip { color: var(--ink-2); }
.sd-lock { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #140803; border-radius: 999px; padding: 6px 14px; font-weight: 500; }
.sd-lock i { width: 9px; height: 8px; border-radius: 2px; background: #140803; position: relative; margin-top: 3px; }
.sd-lock i::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.5px solid #140803; border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.sd-card { border-radius: 14px; border: 1px solid var(--line); background: rgba(244, 241, 238, 0.03); padding: 12px 14px; display: grid; gap: 10px; }
.sd-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sd-q { color: var(--ink); font-size: 13px; }
.sd-flag { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); }
.sd-flag i { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.sd-conflict { border-color: rgba(255, 107, 53, 0.35); }
.sd-values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sd-value { display: grid; gap: 5px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.sd-value b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; color: var(--ink); }
.sd-keep { justify-self: start; font-size: 11px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }
.sd-value.is-current { border-color: rgba(255, 107, 53, 0.5); background: var(--accent-soft); }
.sd-value.is-current .sd-keep { border-color: var(--accent); color: var(--accent-2); }
.sd-rows { display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sd-rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 9px 14px; }
.sd-rows li + li { border-top: 1px solid var(--line); }
.sd-v { color: var(--ink); }
.kermes-show .sd-v.mono { font-size: 12px; color: var(--ink); }
.sd-thumbs, .sd-rows .sd-comment, .sd-note { grid-column: 1 / -1; }
.sd-thumbs { display: flex; gap: 6px; }
.sd-thumbs i { width: 52px; height: 38px; border-radius: 8px; border: 1px solid var(--line-2); }
.sd-comment { color: var(--ink-2); }
.sd-note { border-left: 2px solid var(--accent); padding: 2px 0 2px 10px; display: grid; gap: 3px; }
.sd-note p { color: var(--ink); }
.sd-side { padding: 14px 16px; border-top: 1px solid var(--line); min-height: 0; overflow: hidden; }
@media (min-width: 900px) { .sd-side { border-top: 0; border-left: 1px solid var(--line); } }
.kermes-show .sd-side-title { text-transform: uppercase; letter-spacing: 0.14em; }
.sd-timeline { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; position: relative; }
.sd-timeline::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.sd-timeline li { position: relative; padding-left: 20px; display: grid; gap: 2px; }
.sd-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink-3); background: #12100e; }
.sd-timeline li:first-child::before { border-color: var(--accent); background: var(--accent); }
.sd-timeline p { color: var(--ink); }
.sd-timeline s { color: var(--ink-3); }
@media (max-width: 560px) { .sd-head { align-items: flex-start; } .sd-values { grid-template-columns: 1fr; } .sd-user .mono { display: none; } }

/* home card: inspection queue */
.kermes-queue { position: absolute; inset: 0; padding: 14px; display: grid; grid-template-rows: auto auto 1fr; gap: 10px; background: radial-gradient(80% 60% at 80% 0%, rgba(255, 107, 53, 0.08), transparent 70%); }
.sq-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sq-bar b { font-weight: 500; color: var(--ink); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; }
.sq-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sq-counts div { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: rgba(244, 241, 238, 0.03); display: flex; align-items: baseline; gap: 8px; }
.sq-counts b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; color: var(--ink); }
.sq-counts div:last-child { border-color: rgba(255, 107, 53, 0.4); }
.sq-counts div:last-child b { color: var(--accent-2); }
.sq-rows { display: grid; gap: 5px; align-content: start; min-height: 0; overflow: hidden; }
.sq-rows li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; }
.sq-rows li > span:first-child { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sq-st { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; min-width: 86px; }
.sq-st i { width: 8px; height: 8px; flex: none; }
.sq-st.synced i { border-radius: 50%; background: var(--accent); }
.sq-st.completed i { border-radius: 50%; border: 1.5px solid var(--ink-3); }
.sq-st.conflict { color: var(--accent-2); }
.sq-st.conflict i { background: var(--accent); transform: rotate(45deg); width: 7px; height: 7px; }
.sq-st.locked i { border-radius: 2px; background: var(--ink-2); }
@media (max-width: 560px) { .sq-rows li:nth-child(n+3) { display: none; } .sq-rows .mono { display: none; } .sq-counts b { font-size: 20px; } }

/* ---------- cases: what happens today, what happens with the product ----------
   Feedback from a reader with some IT background: the pages listed what the
   products DO and never what they are FOR. Each case is one situation a buyer
   recognises, then the line that changes, then what it is worth. */
.cases { display: grid; gap: 22px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px); background: var(--bg-2); display: grid; gap: 16px; align-content: start; }
.case h3 { font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); font-weight: 400; line-height: 1.06; }
.case p { font-size: 15px; color: var(--ink-2); }
.case .tag { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.case .then .tag { color: var(--accent-2); }
.case .gain { border-top: 1px solid var(--line); padding-top: 14px; color: var(--ink); }
.case .gain b { font-weight: 500; color: var(--accent-3); }
.cases-foot { margin-top: clamp(28px, 3vw, 40px); max-width: 68ch; color: var(--ink-2); font-size: 15px; }
.product-case { border-left: 2px solid var(--accent); padding-left: 16px; color: var(--ink-2); font-size: 15px; }
.product-case b { color: var(--accent-3); font-weight: 500; }

/* ---------- /delectable ---------- */
html.no-3d .hero-poster--delectable { background-image: url("../og/delectable-poster.jpg"); }
.hero--delectable .hero-frame--3 { justify-content: flex-end; padding-bottom: clamp(56px, 9vh, 110px); }
.hero--delectable .hero-frame--3::before { background: linear-gradient(0deg, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.6) 24%, rgba(8, 8, 8, 0) 46%); }
.hero--delectable .hero-frame--3 .display { font-size: clamp(40px, 5.4vw, 88px); }
.hero--delectable .hero-frame--3 .lede { margin-top: 16px; }
.hero--delectable .hero-frame--1 .display { font-size: clamp(48px, 8.4vw, 132px); max-width: 12ch; }
.dl-note { margin-top: 22px; font-size: 12px; color: var(--ink-3); max-width: 46ch; }
.clocks span { max-width: 20ch; }

/* what it is for: the table of what the import carries over */
.dl-import { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .dl-import { grid-template-columns: 1.35fr 1fr; } }
.dl-map { border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.dl-map-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; padding: 14px clamp(16px, 2vw, 26px); border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.dl-map-row:first-child { border-top: 0; }
.dl-map-row span:last-child { color: var(--ink); }
.dl-map-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-3); }
.dl-map-head span:last-child { color: var(--accent-2); }
.dl-map-miss span:last-child { color: var(--ink-3); }
@media (max-width: 560px) { .dl-map-row { grid-template-columns: 1fr; gap: 4px; } }
.dl-stats { grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; }
.dl-stats span { text-transform: none; letter-spacing: 0.02em; font-size: 13px; line-height: 1.4; }
.dl-import-side { display: grid; gap: 22px; }
.dl-legal { font-size: 13px; color: var(--ink-3); max-width: 52ch; }

/* the real app, in a window frame */
.dl-shots { display: grid; gap: 28px; margin-bottom: 14px; position: relative; }
.dl-shots::before { content: ""; position: absolute; inset: 8% 4%; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(255, 107, 53, 0.13), transparent 70%); filter: blur(24px); }
@media (min-width: 1000px) { .dl-shots { grid-template-columns: 1fr 1fr; align-items: start; } }
.dl-shot { margin: 0; display: grid; gap: 16px; }
.dl-shot figcaption { font-size: 14.5px; color: var(--ink-2); max-width: 58ch; }
.dl-shot figcaption b { color: var(--ink); font-weight: 500; }
.dl-window { border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: #0b0807; box-shadow: 0 50px 120px -50px rgba(255, 107, 53, 0.35); }
.dl-window img { display: block; width: 100%; height: auto; }
.dl-demo { font-size: 12.5px; color: var(--ink-3); margin-bottom: clamp(36px, 5vw, 64px); max-width: 80ch; }
.is-shot-og .dl-note { display: none; }
@media (max-width: 700px) {
  .hero--delectable .hero-frame--1, .hero--delectable .hero-frame--2 { padding-top: 14vh; }
  .hero--delectable .hero-frame--1 .display { font-size: clamp(40px, 12.5vw, 56px); margin-top: 14px; }
  .hero--delectable .hero-frame--1 .lede { font-size: 15px; margin-top: 18px; }
  .hero--delectable .hero-actions { margin-top: 22px; }
  .hero--delectable .dl-note, .hero--delectable .hero-meta { display: none; }
  .hero--delectable .hero-frame--2 .display { font-size: clamp(34px, 10vw, 46px); }
}
