/* BUILD3ds — build3ds.com */

:root {
  --bg: #f2efe9;
  --bg-2: #e9e4db;
  --paper: #fbfaf7;
  --ink: #131313;
  --ink-2: #3a3833;
  --muted: #77736a;
  --faint: #9a958b;
  --line: #d9d3c7;
  --line-2: #c4bdaf;
  --accent: #2448e0;
  --accent-soft: rgba(36, 72, 224, 0.12);
  --ok: #1d8a5f;

  --night: #0e0e10;
  --night-2: #17171a;
  --night-line: #2a2a2e;
  --night-ink: #f2efe9;
  --night-muted: #a19d94;
  --night-accent: #9db0ff;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --gutter: 32px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.shell { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; }
.faint { color: var(--faint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--ink); color: var(--paper); z-index: 200; border-radius: 6px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 em, h2 em { font-style: italic; }
h1 { font-size: clamp(3.6rem, 8.6vw, 7.8rem); line-height: 0.92; letter-spacing: -0.02em; margin-bottom: 30px; }
h1 em { color: var(--accent); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 0.96; letter-spacing: -0.015em; text-wrap: balance; }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 26px;
  font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(29, 138, 95, 0.14); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 0.98rem/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:focus-visible, .chips button:focus-visible, .ask button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-line.light { border-color: #3a3a3f; color: var(--night-ink); }
.btn-line.light:hover { border-color: var(--night-ink); }
.btn-paper { background: var(--night-ink); color: var(--night); }
.btn-paper:hover { background: #fff; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn.wide { width: 100%; }
.play { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); }
.play::after { content: ""; position: absolute; left: 9px; top: 7px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--paper); }
.btn .mono { font-size: 0.68rem; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { font: 600 1.28rem/1 var(--sans); letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
.brand.light { color: var(--night-ink); }
.brand.light span { color: var(--night-accent); }
.links { display: flex; gap: 30px; margin-left: auto; font-size: 0.92rem; }
.links a { text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 112px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.hero-grid > * { min-width: 0; }
.lede { font-size: 1.16rem; line-height: 1.6; color: var(--ink-2); max-width: 31rem; margin: 0 0 40px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden;
  background: radial-gradient(75% 62% at 50% 60%, #fdfcfa 0%, #f0ece5 52%, #e4ded3 100%);
  box-shadow: inset 0 0 0 1px rgba(19, 19, 19, 0.05);
}
.gl-wrap { position: absolute; inset: 0; transition: opacity 0.28s ease; }
.gl-wrap.swap { opacity: 0; }
canvas.gl { display: block; width: 100%; height: 100%; cursor: grab; outline: none; }
canvas.gl:active { cursor: grabbing; }
.dim-labels { position: absolute; inset: 0; pointer-events: none; }
.gl-wrap.dark .dim-labels span { background: #a9b9ff; color: #0b0b0d; }
.dim-labels span {
  position: absolute; left: 0; top: 0; opacity: 0;
  padding: 4px 7px; border-radius: 3px; background: var(--accent); color: #fff;
  font: 500 0.68rem/1 var(--mono); letter-spacing: 0.04em; white-space: nowrap;
}
.reg { position: absolute; z-index: 3; width: 14px; height: 14px; pointer-events: none; }
.reg::before, .reg::after { content: ""; position: absolute; background: var(--line-2); }
.reg::before { left: 6px; top: 0; width: 1px; height: 14px; }
.reg::after { left: 0; top: 6px; width: 14px; height: 1px; }
.reg.tl { left: 14px; top: 14px; } .reg.tr { right: 14px; top: 14px; }
.reg.bl { left: 14px; bottom: 14px; } .reg.br { right: 14px; bottom: 14px; }
.stage-meta { position: absolute; left: 40px; right: 40px; z-index: 3; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); pointer-events: none; }
.stage-meta.at-top { top: 17px; }
.stage-meta.at-bottom { bottom: 17px; }
.stage-meta .mono { font-size: 0.66rem; }
.live i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--ok); vertical-align: 1px; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.stage-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--faint); }
.stage.ready .stage-fallback { display: none; }

.ask {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  height: 58px; padding: 0 8px 0 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.2s;
}
.ask:focus-within { border-color: var(--ink); }
.ask-icon { flex: none; color: var(--accent); }
.ask input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font: 400 1rem var(--sans); }
.ask input::placeholder { color: var(--faint); }
.ask button { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper); cursor: pointer; transition: background 0.2s; }
.ask button:hover { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.chips::-webkit-scrollbar { display: none; }
.chips .mono { flex: none; margin-right: 4px; }
.chips button {
  flex: none; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink-2); font-size: 0.86rem; cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ask-status { margin: 14px 0 0; min-height: 1.3em; color: var(--muted); font-size: 0.66rem; }
.ask-status.done { color: var(--ok); }

/* ---------- how it works ---------- */
.how { padding: 128px 0 120px; border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; margin-bottom: 72px; }
.sec-head .eyebrow { grid-column: 1 / -1; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: 36px; align-items: baseline; padding: 38px 0; border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.row .num { color: var(--accent); }
.row h3 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); line-height: 1.05; }
.row p { margin: 0; color: var(--ink-2); }
.row .spec { color: var(--faint); text-align: right; font-size: 0.66rem; }

/* ---------- for shoppers ---------- */
.shop { background: var(--night); color: var(--night-ink); padding: 128px 0 136px; }
.shop .eyebrow { color: var(--night-muted); }
.shop h2 em { color: var(--night-accent); }
.shop-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; margin-bottom: 80px; }
.shop-side p { margin: 0 0 30px; color: #c9c5bc; font-size: 1.08rem; }
.flow { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: start; }
.flow-step { margin: 0; }
.flow-arrow { position: relative; height: 1px; margin-top: calc((100% - 0px) * 0); align-self: center; background: linear-gradient(90deg, transparent, #4a4a50 30%, #4a4a50 70%, transparent); transform: translateY(-28px); }
.flow-arrow::after { content: ""; position: absolute; right: 12px; top: -4px; width: 8px; height: 8px; border-top: 1px solid #6a6a70; border-right: 1px solid #6a6a70; transform: rotate(45deg); }
.frame { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--night-2); border: 1px solid var(--night-line); }
.frame > img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.frame > img.on { opacity: 1; }
.frame-model { background: #ebe6dd; }
.frame-tag { position: absolute; left: 14px; top: 14px; padding: 6px 9px; border-radius: 4px; background: rgba(14, 14, 16, 0.78); color: var(--night-ink); font-size: 0.62rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.frame-model .frame-tag { background: var(--accent); color: #fff; }
.frame-cart { position: absolute; right: 14px; bottom: 14px; padding: 10px 16px; border-radius: 999px; background: var(--night-ink); color: var(--night); font-size: 0.84rem; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.frame-phone { background: radial-gradient(80% 70% at 50% 40%, #232327, #151517); }
.phone { position: absolute; top: 7%; bottom: 7%; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 18.5; border-radius: 26px; padding: 7px; background: #050506; box-shadow: 0 0 0 1px #2c2c30, 0 30px 60px rgba(0, 0, 0, 0.45); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; color: #161616; }
.snap-corner { position: absolute; left: 0; right: 0; top: 0; bottom: 0; pointer-events: none; }
.flow-step figcaption { display: flex; gap: 14px; align-items: baseline; margin-top: 20px; color: #d6d2c9; font-size: 1rem; line-height: 1.4; }
.flow-step figcaption .mono { color: var(--night-accent); }

/* the store page inside the phones (a made-up shop) */
.store { display: flex; flex-direction: column; height: 100%; font-family: var(--sans); }
.store-top { display: flex; align-items: center; justify-content: space-between; padding: 26px 12px 8px; font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6d6d6d; }
.store-top i { width: 14px; height: 10px; border-top: 1.5px solid #222; border-bottom: 1.5px solid #222; position: relative; }
.store-top i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1.5px solid #222; }
.store-top b { width: 13px; height: 13px; border: 1.5px solid #222; border-radius: 3px 3px 4px 4px; }
.store-img { flex: none; aspect-ratio: 1 / 1; background: #f3f1ec; }
.store-img img { width: 100%; height: 100%; object-fit: cover; }
.store-info { padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; }
.store-crumb { font-size: 0.5rem; color: #8b8b8b; letter-spacing: 0.08em; text-transform: uppercase; }
.store-name { font-size: 0.86rem; font-weight: 600; margin: 0; }
.store-price { font-size: 0.78rem; margin: 0; }
.store-sw { display: flex; gap: 5px; margin: 2px 0 4px; }
.store-sw i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.store-sw i:first-child { box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px #222; }
.store-cart { display: block; margin-top: 4px; padding: 8px 0; border-radius: 6px; background: #161616; color: #fff; text-align: center; font-size: 0.66rem; font-weight: 600; }
.store-dims { font-size: 0.52rem; color: #8b8b8b; margin: 2px 0 0; }

/* ---------- closing ---------- */
.closing { padding: 152px 0 140px; }
.closing-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; }
.closing h2 { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: 0.92; }
.closing-side p:first-child { margin: 0 0 28px; color: var(--ink-2); font-size: 1.08rem; }
.closing-side .mono { margin: 22px 0 0; }
.closing-side .mono a { color: var(--ink); }

.foot { border-top: 1px solid var(--line); padding: 30px 0 38px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot .brand { font-size: 1.05rem; }
.foot a.mono { text-decoration: none; color: var(--ink-2); }
.foot a.mono:hover { color: var(--ink); }

/* ---------- cinema ---------- */
.cine {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; background: #08080a; color: var(--night-ink);
  opacity: 0; transition: opacity 0.4s var(--ease);
  --w: min(calc(100vw - 56px), calc((100dvh - 172px) * 16 / 9));
}
.cine.open { opacity: 1; }
.cine[hidden] { display: none; }
.cine-top { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 28px; }
.cine-top .brand i { margin-left: 14px; font-style: normal; color: var(--night-muted); font-size: 0.66rem; vertical-align: 2px; }
.cine-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #333338; background: transparent; color: var(--night-ink); cursor: pointer; }
.cine-close:hover { border-color: var(--night-ink); }
.cine-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; padding-bottom: 12px; }
.cine-stage {
  position: relative; width: var(--w); aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 58%, #2a2a2e 0%, #161618 58%, #0d0d0f 100%);
  transform: scale(0.97); transition: transform 0.6s var(--ease);
}
.cine.open .cine-stage { transform: none; }
.cine-stage .gl-wrap { z-index: 1; }
.cine-stage canvas.gl { cursor: default; }
.cine-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 2; pointer-events: none; background: linear-gradient(transparent, rgba(0, 0, 0, 0.62)); }
.cine-chapter { position: absolute; left: 3.2%; top: 5%; z-index: 4; margin: 0; padding: 7px 11px; border-radius: 5px; background: rgba(10, 10, 12, 0.55); color: #e6e2da; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.5s; }
.cine-caption {
  position: absolute; left: 3.2%; bottom: 7%; z-index: 4; max-width: 46%; margin: 0;
  font: 400 clamp(1.5rem, 3.3vw, 3.1rem)/1.02 var(--serif); letter-spacing: -0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.cine-caption.show, .cine-chapter.show { opacity: 1; transform: none; }
.cine-prompt {
  position: absolute; right: 3.2%; bottom: 7%; z-index: 4; width: 40%; height: clamp(40px, 4.6vw, 56px);
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  background: rgba(16, 16, 18, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: clamp(0.72rem, 1.25vw, 1rem); white-space: nowrap; overflow: hidden;
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s;
}
.cine-prompt svg { flex: none; color: var(--night-accent); }
.cine-prompt.show { opacity: 1; transform: none; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: -6px; background: var(--night-accent); animation: blink 1s steps(1) infinite; }
.cine-status { position: absolute; right: 3.2%; bottom: calc(7% + clamp(40px, 4.6vw, 56px) + 10px); z-index: 4; margin: 0; color: #cfe0d6; font-size: clamp(0.56rem, 0.9vw, 0.7rem); opacity: 0; transition: opacity 0.3s; }
.cine-status.show { opacity: 1; }
.ar-frame { position: absolute; inset: 9% 24% 22%; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  --c: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(var(--c), var(--c)) top left / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) top left / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) top right / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 2px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 26px 2px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 2px 26px no-repeat;
}
.ar-frame span { position: absolute; left: 0; top: -34px; padding: 6px 10px; border-radius: 5px; background: rgba(10, 10, 12, 0.55); font-size: 0.62rem; color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ar-frame span i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #ff5a5f; animation: blink 1.4s ease-in-out infinite; }
.ar-frame.show { opacity: 1; }
.cine-phone {
  position: absolute; right: 6%; top: 7%; z-index: 5; height: 86%; aspect-ratio: 9 / 18.5;
  padding: 6px; border-radius: 26px; background: #050506; box-shadow: 0 0 0 1px #34343a, 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateX(140%) rotate(4deg); transition: transform 0.8s var(--ease);
}
.cine-phone.show { transform: none; }
.cine-phone .phone-screen { border-radius: 20px; }
.cine-phone .flash { position: absolute; inset: 6px; border-radius: 20px; background: #fff; opacity: 0; pointer-events: none; }
.cine-phone .flash.on { animation: flash 0.5s ease-out; }
@keyframes flash { 0% { opacity: 0.95; } 100% { opacity: 0; } }
.cine-toast { position: absolute; right: 6%; top: 4%; z-index: 6; margin: 0; padding: 7px 11px; border-radius: 6px; background: var(--night-accent); color: #0b0b0d; font-size: 0.62rem; opacity: 0; transform: translateY(-6px); transition: 0.4s; }
.cine-toast.show { opacity: 1; transform: none; }
.cine-fit { position: absolute; right: 3.2%; top: 5%; z-index: 4; margin: 0; padding: 8px 12px; border-radius: 6px; background: rgba(14, 14, 16, 0.78); color: #d7f5e5; font-size: 0.66rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(-6px); transition: 0.5s; }
.cine-fit::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #3ddc97; vertical-align: 1px; }
.cine-fit.show { opacity: 1; transform: none; }
.cine-cart { position: absolute; right: 3.2%; bottom: 7%; z-index: 4; padding: 14px 24px; border-radius: 999px; background: var(--night-ink); color: var(--night); font-weight: 600; font-size: clamp(0.8rem, 1.2vw, 1rem); opacity: 0; transform: translateY(8px); transition: 0.5s var(--ease); }
.cine-cart.show { opacity: 1; transform: none; animation: ring 1.8s ease-out 0.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(242, 239, 233, 0.45); } 100% { box-shadow: 0 0 0 18px rgba(242, 239, 233, 0); } }
.cine-end { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: rgba(8, 8, 10, 0.9); opacity: 0; pointer-events: none; transition: opacity 0.7s; text-align: center; }
.cine-end.show { opacity: 1; pointer-events: auto; }
.cine-end .brand.big { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.cine-end-line { margin: 0; font: 400 clamp(2rem, 4.6vw, 4.2rem)/1 var(--serif); }
.cine-end-line em { color: var(--night-accent); }
.cine-end-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.cine-controls { width: var(--w); display: flex; align-items: center; gap: 18px; height: 78px; }
.cine-play { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--night-ink); color: var(--night); cursor: pointer; }
.cine-play .i-play { display: none; margin-left: 2px; }
.cine-play.paused .i-play { display: block; }
.cine-play.paused .i-pause { display: none; }
.cine-bar { flex: 1; display: flex; gap: 6px; align-items: flex-end; height: 44px; }
.seg { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; }
.seg b { font: 500 0.6rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #6f6c66; transition: color 0.3s; white-space: nowrap; overflow: hidden; }
.seg.now b { color: var(--night-ink); }
.seg span { position: relative; display: block; height: 3px; border-radius: 2px; background: #2c2c30; overflow: hidden; }
.seg span i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--night-ink); }
.seg:hover span { background: #3a3a40; }
.cine-time { flex: none; color: var(--night-muted); min-width: 92px; text-align: right; }

/* ---------- early access form ---------- */
dialog.access {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 100px rgba(10, 10, 12, 0.35);
}
dialog.access::backdrop { background: rgba(14, 14, 16, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.access[open] { animation: rise 0.3s var(--ease); }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
.access-inner { position: relative; padding: 34px 32px 28px; }
.access h2 { font-size: 2.3rem; line-height: 1; margin: 0 0 26px; }
.access h2 em { color: var(--accent); }
.access .eyebrow { margin-bottom: 18px; }
.close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.close:hover { color: var(--ink); border-color: var(--ink); }
.field { display: block; margin: 0 0 14px; }
.field span { display: block; margin: 0 0 6px; font-size: 0.84rem; font-weight: 500; }
.field span em { font-style: normal; font: 500 0.62rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font: 400 0.98rem var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(19, 19, 19, 0.06); }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access .btn { margin-top: 6px; border: 0; }
.access .btn[disabled] { opacity: 0.7; cursor: progress; }
.fine { margin: 14px 0 0; color: var(--faint); font-size: 0.8rem; text-align: center; }
.fine a { color: var(--ink-2); }
.form-error { display: none; margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: rgba(208, 52, 44, 0.08); color: #b4302a; font-size: 0.9rem; }
.form-error.show { display: block; }
.form-error a { color: inherit; font-weight: 600; }
.thanks { display: none; }
.thanks h2 { margin-bottom: 14px; }
.thanks-text { margin: 0 0 24px; color: var(--ink-2); }
.access.sent form, .access.sent .intro { display: none; }
.access.sent .thanks { display: block; }

/* ---------- smaller screens ---------- */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-copy { max-width: 640px; }
  .row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); }
  .row .spec { display: none; }
  .shop-head, .closing-in { grid-template-columns: 1fr; gap: 32px; }
  .flow { grid-template-columns: 1fr; gap: 40px; }
  .flow-arrow { display: none; }
  .frame { aspect-ratio: 4 / 3.4; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .links { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 36px 0 80px; }
  .lede { font-size: 1.05rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .stage-meta { left: 32px; right: 32px; }
  .stage-meta .mono { font-size: 0.56rem; }
  .how, .shop { padding: 88px 0; }
  .closing { padding: 96px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .sec-head .btn { justify-self: start; }
  .row { grid-template-columns: 40px 1fr; gap: 10px 16px; padding: 28px 0; }
  .row p { grid-column: 2; }
  .frame { aspect-ratio: 4 / 4.4; }
  .cine { --w: calc(100vw - 24px); }
  .cine-top, .cine-controls { padding: 0; }
  .cine-top { padding: 0 12px; }
  .cine-caption { max-width: 60%; font-size: 1.15rem; bottom: 6%; }
  .cine-prompt { width: 46%; padding: 0 10px; font-size: 0.62rem; height: 34px; bottom: 6%; }
  .cine-status { display: none; }
  .cine-chapter { font-size: 0.55rem; }
  .seg b { display: none; }
  .cine-bar { height: 12px; align-items: center; }
  .cine-time { min-width: 0; font-size: 0.6rem; }
  .cine-controls { gap: 12px; }
  .ar-frame span, .cine-fit, .cine-toast { font-size: 0.5rem; }
  .cine-cart { padding: 8px 14px; font-size: 0.7rem; }
  .access-inner { padding: 28px 20px 22px; }
  .access h2 { font-size: 1.9rem; }
}
/* the film on a phone held upright: a taller frame, captions across the bottom */
@media (max-aspect-ratio: 4 / 5) {
  .cine { --w: calc(100vw - 24px); }
  .cine-stage { aspect-ratio: 4 / 5; }
  .cine-caption { left: 5%; right: 5%; bottom: 5%; max-width: none; font-size: clamp(1.4rem, 6.4vw, 2rem); }
  .cine-prompt { left: 5%; right: 5%; width: auto; bottom: calc(5% + 4.4em); height: 42px; font-size: 0.78rem; }
  .cine-status { display: block; left: 5%; right: auto; bottom: calc(5% + 4.4em + 50px); font-size: 0.56rem; }
  .cine-chapter { left: 5%; top: 4%; }
  .ar-frame { inset: 15% 10% 30%; }
  .ar-frame span { top: 8px; left: 8px; }
  .cine-phone { right: auto; left: 50%; top: 5%; height: 70%; transform: translateX(-50%) translateY(190%); }
  .cine-phone.show { transform: translateX(-50%); }
  .cine-toast { right: 5%; top: 4%; }
  .cine-fit { right: 5%; top: 4%; }
  .cine-cart { right: 5%; bottom: calc(5% + 4.6em); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
