/* Mendox · Ember. Aubergine, coral, amber, cream. Bricolage Grotesque for display, Inter for text. */
@font-face { font-family: 'Bricolage'; src: url(../fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(../fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #1a0c1f;          /* matches the film's dark edges, so scrub sections meet the page without a seam */
  --bg-deep: #12081a;
  --bg-raise: #21112a;
  --plum: #3a1f45;
  --coral: #ff5a36;
  --amber: #ffb23e;
  --gold: #ffe3a3;
  --cream: #fff4e6;
  --muted: rgba(255, 244, 230, 0.66);
  --faint: rgba(255, 244, 230, 0.44);
  --dim: rgba(255, 244, 230, 0.36);
  --line: rgba(255, 244, 230, 0.09);
  --line-2: rgba(255, 244, 230, 0.16);
  --ember: linear-gradient(100deg, #ff5a36 0%, #ff7d3a 40%, #ffb23e 100%);
  --display: 'Bricolage', ui-sans-serif, system-ui, sans-serif;
  --text: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4.5vw, 56px);
  --edge: max(var(--gut), calc((100% - var(--wrap)) / 2));   /* left edge of .wrap, for full-bleed layers */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--cream);
  font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
  font-feature-settings: 'cv11', 'ss03';
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 640; letter-spacing: -0.035em; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(255, 90, 54, 0.45); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--cream); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

/* Film grain over everything, very faint. */
body::after {
  content: ''; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ember { background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--dim); }

/* Eyebrows: a glowing ember dot, or a section index ("02 ——— Products"). */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12px/1.2 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px rgba(255, 120, 60, 0.75); }
.eyebrow:has(.idx)::before { display: none; }
.eyebrow .idx { display: inline-flex; align-items: center; gap: 12px; color: var(--amber); font-variant-numeric: tabular-nums; }
.eyebrow .idx::after { content: ''; width: 28px; height: 1px; background: var(--line-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: 999px; font: 600 15.5px/1 var(--text); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer; border: 0;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn-primary, .btn-ember { background: var(--cream); color: var(--bg); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset; }
.btn-primary:hover, .btn-ember:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px -14px rgba(255, 150, 90, 0.7); }
.btn-ghost { background: rgba(255, 244, 230, 0.04); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 244, 230, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 244, 230, 0.3); }
.arrow { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.35s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--cream); text-decoration: none; font-weight: 500; }
.link:hover { color: var(--amber); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 24px;
  padding: max(16px, env(safe-area-inset-top)) var(--edge) 16px;
  transition: background-color 0.4s, box-shadow 0.4s, opacity 0.9s 0.25s, translate 0.9s 0.25s var(--ease);
}
.nav.is-solid { background: rgba(26, 12, 31, 0.74); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-logo { display: block; height: 28px; flex: none; }
.nav-logo img { height: 100%; width: auto; }
.nav-links { display: flex; gap: 2px; margin: 0 auto; list-style: none; padding: 0; }
@media (max-width: 860px) { #menu:not(.is-open) .nav-links, #menu:not(.is-open) .btn { pointer-events: none; } }
.nav-links a { position: relative; display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--cream); background: rgba(255, 244, 230, 0.06); }
.nav-links a.is-active { color: var(--cream); }
.nav-links a.is-active::after { content: ''; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14.5px; }
.burger { display: none; }
#menu { display: contents; }

/* Scrub sections */
.cine { position: relative; }
.cine-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 55%, transparent 55%, rgba(26, 12, 31, 0.6) 100%),
    linear-gradient(180deg, var(--bg) 0%, rgba(26, 12, 31, 0.55) 13%, transparent 32%, transparent 68%, rgba(26, 12, 31, 0.78) 87%, var(--bg) 100%);
}
.cine-lines { position: absolute; inset: 0; pointer-events: none; }
.cine-line { position: absolute; left: 0; right: 0; padding: 0 var(--gut); text-align: center; opacity: 0; will-change: opacity, transform; }
.cine-line a, .cine-line button { pointer-events: auto; }
.at-top { top: clamp(92px, 11.5vh, 136px); }
.at-bottom { bottom: clamp(36px, 6.5vh, 72px); }
.at-bottom .lede { max-width: 46em; }
.at-middle { top: 50%; translate: 0 -50%; }
.huge { font-size: clamp(46px, 5.4vw, 88px); letter-spacing: -0.045em; line-height: 0.98; }
.big { font-size: clamp(36px, min(5vw, 8.6vh), 84px); letter-spacing: -0.04em; }
.lede { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--muted); max-width: 36em; margin-inline: auto; line-height: 1.6; }
.lede em { font-style: normal; color: var(--amber); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* Hero copy: a left column beside the object on wide screens; stacked above it on phones. */
.hero-copy { top: 50%; left: var(--edge); right: auto; width: min(40%, 600px); padding: 0; text-align: left; translate: 0 -46%; }
.hero-copy .eyebrow { margin-bottom: 24px; }
.hero-copy .lede { margin: 24px 0 0; max-width: 30em; }
.hero-copy .cta-row { justify-content: flex-start; margin-top: 30px; }
.hero-status { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 13.5px; color: var(--faint); }
.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 2.4s ease-in-out infinite; }
/* A short entrance that starts at once: the copy never waits for the film's frames. */
.js .hero-copy > * { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.is-ready .hero-copy > * { opacity: 1; transform: none; }
.hero-copy > :nth-child(2) { transition-delay: 0.06s; }
.hero-copy > :nth-child(3) { transition-delay: 0.14s; }
.hero-copy > :nth-child(4) { transition-delay: 0.2s; }
.hero-copy > :nth-child(5) { transition-delay: 0.26s; }
.js .cine canvas { opacity: 0; transition: opacity 1.2s ease; }
.cine.has-frame canvas { opacity: 1; }
.js .nav { opacity: 0; translate: 0 -10px; }
.is-ready .nav { opacity: 1; translate: none; }

.scroll-hint { position: absolute; left: var(--edge); bottom: 30px; display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); transition: opacity 0.4s; }
.scroll-hint::before { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--amber), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0) } 60% { transform: scaleY(1) } 100% { transform: scaleY(1); opacity: 0 } }

/* Regular sections */
.section { position: relative; padding: clamp(96px, 11vw, 150px) 0; }
.section + .section { padding-top: 0; }
.section + .section > .wrap { border-top: 1px solid var(--line); padding-top: clamp(96px, 11vw, 150px); }
.head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(52px, 6vw, 84px); }
.head .eyebrow { grid-column: 1 / -1; }
.head h2 { font-size: clamp(38px, 5vw, 74px); letter-spacing: -0.042em; }
.head > p:not(.eyebrow) { color: var(--muted); font-size: clamp(16.5px, 1.3vw, 18.5px); max-width: 30em; padding-bottom: 0.3em; }
.label { font: 600 12px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; border-radius: 28px; background: var(--bg-raise); border: 1px solid var(--line); }
.product-media { position: relative; min-height: 540px; overflow: hidden; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.product:hover .product-media img { transform: scale(1.03); }
.product-media figcaption { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #2e2140; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.product-media figcaption img { position: static; width: 24px; height: 24px; border-radius: 7px; }
.product-body { padding: clamp(30px, 4.2vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.product-top { display: flex; align-items: center; gap: 14px; }
.product-top img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.product-top h3 { font-size: 32px; letter-spacing: -0.03em; }
.product-top small { display: block; color: var(--faint); font-size: 13.5px; margin-top: 5px; }
.status { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--amber); background: rgba(255, 178, 62, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 178, 62, 0.26); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35 } }
.product-body > p { color: var(--muted); font-size: 17px; }
.ticks { list-style: none; margin: 0; padding: 20px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--line); font-size: 15.5px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 14px; height: 9px; border-radius: 9px 9px 0 0; border: 2.5px solid var(--amber); border-bottom: 0; }
.product-cta { justify-content: flex-start; align-items: center; gap: 12px 22px; margin-top: 2px; }
.soon { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--amber); }

/* Screens from the development build */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.shot-stage {
  display: grid; place-items: center; height: 580px; padding: 0 24px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 50% 0%, #4b3070 0%, #2b1738 55%, var(--bg-raise) 100%);
}
.device { width: min(236px, 72%); height: auto; border-radius: 26px; box-shadow: 0 0 0 6px #0d0910, 0 0 0 7px rgba(255, 244, 230, 0.12), 0 44px 70px -30px rgba(0, 0, 0, 0.85); }
.popup-shot { width: min(316px, 88%); height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 244, 230, 0.14), 0 44px 70px -30px rgba(0, 0, 0, 0.85); }
.shot figcaption { padding: 0 6px; font-size: 15px; color: var(--muted); }
.shot figcaption strong { display: block; margin-bottom: 4px; font: 600 19px/1.25 var(--display); letter-spacing: -0.02em; color: var(--cream); }
/* Each screen opens large: a tap on a phone, a click on a desktop. */
button.shot-stage { position: relative; width: 100%; margin: 0; font: inherit; color: inherit; cursor: zoom-in; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; }
.shot-stage:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.shot-stage video { display: block; height: auto; transition: transform 0.6s var(--ease); }
.shot-stage:hover video { transform: translateY(-4px) scale(1.01); }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--cream); background: rgba(26, 12, 31, 0.62); box-shadow: inset 0 0 0 1px rgba(255, 244, 230, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: scale(0.9); transition: opacity 0.25s, transform 0.25s var(--ease); }
.zoom-hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.shot-stage:hover .zoom-hint, .shot-stage:focus-visible .zoom-hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom-hint { opacity: 1; transform: none; } }

/* The screen viewer */
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; color: var(--cream); background: transparent; }
.lightbox::backdrop { background: rgba(14, 7, 18, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lightbox[open] { animation: lb-in 0.3s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.98); } }
.lb-frame { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: max(60px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom)); touch-action: pan-y pinch-zoom; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 0; margin: 0; }
.lb-media video { display: block; width: auto; height: auto; max-width: min(92vw, 640px); max-height: calc(100svh - 236px); }
.lb-media .device { border-radius: 28px; box-shadow: 0 0 0 6px #0d0910, 0 0 0 7px rgba(255, 244, 230, 0.14), 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.lb-media .popup-shot { border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 244, 230, 0.16), 0 40px 90px -30px rgba(0, 0, 0, 0.9); }
.lb-caption { max-width: 34em; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); }
.lb-caption strong { display: block; margin-bottom: 2px; font: 600 18px/1.25 var(--display); letter-spacing: -0.02em; color: var(--cream); }
.lb-bar { display: flex; align-items: center; gap: 14px; }
.lb-count { min-width: 3.6em; text-align: center; font-size: 13px; color: var(--faint); font-variant-numeric: tabular-nums; }
.lb-btn, .lb-close { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; color: var(--cream); background: rgba(255, 244, 230, 0.08); box-shadow: inset 0 0 0 1px var(--line-2); cursor: pointer; transition: background-color 0.2s; }
.lb-btn:hover, .lb-close:hover { background: rgba(255, 244, 230, 0.16); }
.lb-btn svg, .lb-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; }
.lb-hint { display: none; margin: -6px 0 0; font-size: 12.5px; color: var(--faint); }
@media (hover: none) { .lb-hint { display: block; } }

/* Hairline grids: cells cut from the page by 1px lines, with a soft spotlight that follows the pointer. */
.grid-lines { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cell { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.2vw, 44px); background: var(--bg); }
.cell::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 110, 50, 0.1), transparent 65%); }
.cell:hover::before { opacity: 1; }
.cell-n { font-size: 13px; font-weight: 500; color: var(--faint); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.cell h3 { font-size: clamp(24px, 2.1vw, 30px); letter-spacing: -0.03em; line-height: 1.08; margin-top: 22px; }
.cell p { color: var(--muted); font-size: 16px; }
.chips { list-style: none; margin: auto 0 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--muted); background: rgba(255, 244, 230, 0.04); box-shadow: inset 0 0 0 1px var(--line); }
:is(.cols-3, .cols-4) .cell h3 { font-size: clamp(22px, 1.8vw, 26px); margin-top: 0; text-wrap: wrap; }
:is(.cols-3, .cols-4) .cell p { font-size: 15.5px; }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 26px; color: var(--amber); background: rgba(255, 140, 70, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 140, 70, 0.22); }
.icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Process */
.process { margin-top: clamp(64px, 8vw, 110px); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { position: relative; padding: 30px 28px 0 0; border-top: 1px solid var(--line-2); }
.steps li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(255, 140, 60, 0.8); }
.steps span { font-size: 13px; color: var(--faint); font-weight: 500; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 24px; margin: 10px 0 10px; letter-spacing: -0.03em; }
.steps p { color: var(--muted); font-size: 15.5px; }

.work-cta { justify-content: flex-start; margin-top: clamp(48px, 6vw, 72px); }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line-2); }
.fact { padding: 34px 32px 0 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-num { display: inline-block; font-family: var(--display); font-weight: 600; font-size: clamp(56px, 6vw, 92px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.04em; }
.fact p { color: var(--muted); font-size: 15.5px; margin-top: 14px; max-width: 22em; }

/* Contact (inside the last scrub) */
.contact-card {
  display: inline-grid; justify-items: center; gap: 20px; width: min(100%, 780px); padding: clamp(32px, 4.5vw, 56px) clamp(24px, 5vw, 64px);
  border-radius: 28px; background: rgba(255, 246, 236, 0.9); color: var(--bg);
  box-shadow: 0 60px 120px -50px rgba(26, 12, 31, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.contact-card .eyebrow { color: rgba(26, 12, 31, 0.56); }
.contact-card .eyebrow .idx { color: #d4421f; }
.contact-card .eyebrow .idx::after { background: rgba(26, 12, 31, 0.18); }
.contact-card h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.04em; color: var(--bg); }
.contact-card .lede { color: rgba(26, 12, 31, 0.68); max-width: 30em; }
.contact-mail {
  font: 600 clamp(26px, 3.4vw, 46px)/1.15 var(--display); letter-spacing: -0.035em; color: var(--bg); text-decoration: none; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.5s var(--ease);
}
.contact-mail:hover { background-size: 100% 2px; }
.contact-card .cta-row { margin-top: 4px; }
.contact-card .btn-primary { background: var(--bg); color: var(--cream); box-shadow: none; }
.contact-card .btn-primary:hover { background: #2c1636; box-shadow: 0 14px 30px -14px rgba(26, 12, 31, 0.7); }
.contact-card .btn-ghost { color: var(--bg); background: transparent; box-shadow: inset 0 0 0 1px rgba(26, 12, 31, 0.2); }
.contact-card .btn-ghost:hover { background: rgba(26, 12, 31, 0.05); }

/* Footer */
.footer { position: relative; z-index: 2; background: var(--bg-deep); padding: 84px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: 48px; }
.footer-top > div > img { height: 30px; width: auto; }
.footer-top p { color: var(--muted); max-width: 24em; margin-top: 20px; font-size: 15.5px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-cols h2 { font: 600 12px/1 var(--text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 8px 0 18px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-cols a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.footer-cols a:hover { color: var(--cream); }
.footer-mark {
  width: 100%; aspect-ratio: 3705 / 729; margin-top: clamp(64px, 9vw, 120px);
  background: linear-gradient(180deg, rgba(255, 244, 230, 0.13), rgba(255, 244, 230, 0.015) 92%);
  -webkit-mask: url(/assets/img/wordmark.svg) center / contain no-repeat; mask: url(/assets/img/wordmark.svg) center / contain no-repeat;
}
.footer-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--faint); font-size: 13px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(130px, 16vw, 190px) var(--gut) 120px; }
.doc h1 { font-size: clamp(44px, 7vw, 84px); margin-top: 18px; letter-spacing: -0.045em; }
.doc .updated { color: var(--faint); margin-top: 14px; }
.doc-body { margin-top: 34px; color: var(--muted); line-height: 1.75; }
.doc-body h2 { font-size: 28px; color: var(--cream); margin: 46px 0 10px; letter-spacing: -0.03em; }
.doc-body h3 { font: 600 18px/1.3 var(--text); color: var(--cream); margin: 26px 0 6px; }
.doc-body p + p { margin-top: 14px; }
.doc-body ul { padding-left: 1.2em; }
.doc-body a { color: var(--amber); }
.doc-body strong { color: var(--cream); }
.doc-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; padding: 28px; border-radius: 24px; background: rgba(255, 244, 230, 0.03); border: 1px solid var(--line); }
.doc-body dt { color: var(--faint); }
.doc-body dd { margin: 0; color: var(--cream); overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .product { grid-template-columns: 1fr; }
  .product-media { min-height: 0; aspect-ratio: 16 / 10; }
  .head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 860px) {
  .nav { justify-content: space-between; }
  .nav-logo { height: 25px; }
  .burger { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 244, 230, 0.07); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; z-index: 2; }
  .burger span { display: block; width: 17px; height: 1.8px; border-radius: 2px; background: var(--cream); transition: transform 0.3s var(--ease); }
  .burger[aria-expanded='true'] span:first-child { transform: translateY(3.9px) rotate(45deg); }
  .burger[aria-expanded='true'] span:last-child { transform: translateY(-3.9px) rotate(-45deg); }
  #menu { display: grid; position: fixed; inset: 0; z-index: 1; place-content: center; justify-items: center; gap: 34px; background: rgba(18, 8, 26, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
  #menu.is-open { opacity: 1; visibility: visible; }
  #menu .nav-links { display: grid; justify-items: center; margin: 0; gap: 6px; }
  #menu .nav-links a { font: 640 36px/1.2 var(--display); letter-spacing: -0.04em; color: var(--cream); }
  #menu .nav-links a.is-active::after { display: none; }
  #menu .btn { display: inline-flex; height: 50px; }
  .cols-3 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: start; }
  .shot-stage { height: 520px; padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; }
}
/* Phones and portrait tablets (matches phone() in scroll-cinematic.js). */
@media (max-width: 759px), (max-aspect-ratio: 9/10) {
  .hero-copy { top: 88px; bottom: auto; left: 0; right: 0; width: auto; padding: 0 var(--gut); translate: none; text-align: center; }
  .hero-copy .eyebrow { margin-bottom: 14px; font-size: 11px; letter-spacing: 0.14em; }
  .hero-copy .lede { margin: 16px auto 0; font-size: 16px; line-height: 1.55; }
  .hero-copy .cta-row { justify-content: center; margin-top: 20px; gap: 10px; }
  .hero-status { justify-content: center; margin-top: 14px; font-size: 12.5px; }
  .huge { font-size: clamp(40px, 11.2vw, 68px); }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4, .steps, .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .btn { height: 50px; padding: 0 22px; }
  .big br, .head h2 br { display: none; }
  .product-top { flex-wrap: wrap; }
  .status { margin-left: 0; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .grid-lines { border-radius: 22px; }
  .contact-card .btn { padding: 0 18px; }
  .contact-card .cta-row { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .hero-copy > * { opacity: 1; transform: none; transition: none; }
  .scroll-hint::before, .status::before, .dot { animation: none; }
}
.anchor { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
