/* Crown Paramotor — instrument-grade design system
   One colour = one meaning: marigold = the brand / action, teal = live data, bone = text. */

:root {
  --obsidian: #07080a;
  --ink: #0d0f12;
  --panel: #13161a;
  --panel-2: #1a1e23;
  --line: rgba(236, 233, 225, 0.09);
  --line-strong: rgba(236, 233, 225, 0.18);
  --bone: #ece9e1;
  --mute: #8d929a;
  --dim: #5b6068;
  --marigold: #ffd21f;
  --marigold-deep: #e0a800;
  --marigold-glow: rgba(255, 210, 31, 0.16);
  --teal: #00f2d2;

  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
::selection { background: var(--marigold); color: #000; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marigold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.display {
  font-family: var(--display);
  font-variation-settings: "wdth" 125;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin: 0;
}
.h1 { font-size: clamp(48px, 9.5vw, 148px); }
.h2 { font-size: clamp(34px, 5.6vw, 78px); }
.h3 { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: #c9c6be; max-width: 38em; }
.mono { font-family: var(--mono); }
.muted { color: var(--mute); }
.gold { color: var(--marigold); }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: transparent; cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { border-color: var(--bone); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--marigold); color: #000; border-color: var(--marigold); font-weight: 700; }
.btn-primary:hover { background: #fff; border-color: #fff; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.play-badge {
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px 0 16px;
  background: #000; border: 1px solid var(--line-strong); border-radius: 8px;
  transition: border-color 0.3s var(--ease);
}
.play-badge:hover { border-color: var(--marigold); }
.play-badge small { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); line-height: 1; }
.play-badge strong { display: block; font-size: 17px; line-height: 1.2; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(7, 8, 10, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
/* Header: wordmark left, crest always centered, links + cart right (owner's request). */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 96px; gap: 16px; transition: height .4s var(--ease); }
.site-header.is-solid .nav { height: 72px; }
/* The owner's wordmark is one image so it can never break. If its space gets too narrow it
   steps down one size, then disappears entirely (never squeezed, never wrapped). */
.wordmark { justify-self: stretch; container-type: inline-size; display: block; min-width: 0; }
.wordmark img { display: block; height: 12px; width: auto; max-width: none; }
@container (max-width: 320px) { .wordmark img { height: 10px; } }
@container (max-width: 262px) { .wordmark img { display: none; } }
/* The crest is the centerpiece: large, lit, and it settles smaller once the page scrolls. */
.crest-link { justify-self: center; display: block; position: relative; transition: transform .4s var(--ease); }
.crest-link::before { content: ""; position: absolute; inset: -30% -60%; background: radial-gradient(closest-side, rgba(255,210,31,.16), transparent); pointer-events: none; }
.crest-link img { position: relative; width: 58px; height: auto; transition: width .4s var(--ease); filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)); }
.site-header.is-solid .crest-link img { width: 42px; }
.crest-link:hover { transform: translateY(-2px) scale(1.04); }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); transition: color 0.2s; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--bone); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--marigold); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 22px; }
.nav-end .nav-links { gap: 26px; }
.account-link { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.account-link svg { width: 22px; height: 22px; }
.account-link:hover, .account-link[aria-current="page"] { color: var(--bone); }
.mn-account { display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; border-top: 1px solid var(--line); color: var(--mute); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.mn-account svg { width: 22px; height: 22px; }
.foot-motto .gold { display: block; font-size: .62em; letter-spacing: .14em; margin-top: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; position: relative; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 6px; right: 4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--marigold); color: #000; font: 700 10px/16px var(--mono); text-align: center; }
/* ---------- thumb bar + drop-up menu (phones & tablets) ----------
   Owner's thumb-reach rule: on mobile every control is at the bottom; menus open upward,
   and the button that opens something also closes it, in the same spot. */
:root { --bar-h: 64px; }
.thumb-bar { display: none; }
.tb-item { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; place-items: center; align-content: center; gap: 4px; color: var(--mute); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
.tb-item svg { width: 22px; height: 22px; }
.tb-item[aria-current="page"], .tb-item[aria-expanded="true"] { color: var(--marigold); }
.tb-item:focus-visible { outline: 2px solid var(--marigold); outline-offset: -4px; }
.tb-item .cart-count { top: 6px; right: calc(50% - 22px); }
.mobile-nav { position: fixed; inset: 0; z-index: 85; pointer-events: none; }
.mobile-nav.is-open { pointer-events: auto; }
.mn-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .35s var(--ease); }
.mobile-nav.is-open .mn-scrim { opacity: 1; }
.mn-sheet { position: absolute; left: 0; right: 0; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); max-height: 78vh; overflow-y: auto; background: var(--ink); border-top: 1px solid var(--line-strong); padding: 14px var(--gutter) 8px; display: flex; flex-direction: column; transform: translateY(100%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.mobile-nav.is-open .mn-sheet { transform: none; opacity: 1; }
.mobile-nav a.big { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 32px; text-transform: uppercase; line-height: 1.15; border-top: 1px solid var(--line); padding: 12px 0; display: flex; justify-content: space-between; align-items: baseline; }
.mobile-nav a.big[aria-current="page"] { color: var(--marigold); }
.mobile-nav a.big small { font-family: var(--mono); font-size: 12px; color: var(--marigold); font-weight: 400; }
.mobile-nav .mobile-foot { font-family: var(--mono); font-size: 11px; color: var(--mute); padding-bottom: 10px; }
@media (max-width: 900px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .nav-end { display: none; }
  .thumb-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(7,8,10,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  /* Cart becomes a sheet rising from the bar; close it with the same Cart button or the backdrop. */
  .cart-drawer { z-index: 84; }
  .cart-drawer .cart-panel { top: auto; left: 0; right: 0; bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); width: 100%; max-height: 80vh; height: auto; grid-template-rows: auto minmax(0, 1fr) auto; border-left: 0; border-top: 1px solid var(--line-strong); transform: translateY(110%); }
  .cart-head .icon-btn { display: none; }
  .preview-flag { bottom: calc(var(--bar-h) + 12px); }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(88px, 12vw, 168px) 0; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 140px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 72% 45%, rgba(255, 210, 31, 0.07), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 88px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  opacity: 0.8;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px; position: relative; }
.hero-copy { display: grid; gap: 30px; position: relative; z-index: 2; }
.hero .h1 span { display: block; }
.hero .h1 .gold { color: var(--marigold); }
.hero-instrument { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: end; }
.hero-strip {
  position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute);
  overflow: hidden; white-space: nowrap; padding: 18px 0;
}
.hero-strip .track { display: inline-flex; gap: 56px; animation: marquee 48s linear infinite; padding-left: 56px; }
.hero-strip b { color: var(--marigold); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* compass instrument */
.compass { width: 100%; height: 100%; overflow: visible; }
.compass .tick { stroke: var(--marigold); }
.compass .num { fill: var(--marigold); font-family: var(--mono); font-size: 22px; font-weight: 700; }
.compass .card { fill: var(--marigold); font-family: var(--display); font-size: 30px; font-weight: 800; }
.readouts { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.readouts-inner { display: grid; gap: 4px; text-align: center; font-family: var(--mono); }
.readouts .r-label { font-size: 11px; letter-spacing: 0.2em; color: var(--mute); }
.readouts .r-big { font-size: clamp(40px, 6vw, 76px); font-weight: 300; letter-spacing: -0.02em; line-height: 1; color: var(--bone); }
.readouts .r-row { display: flex; gap: 28px; justify-content: center; margin-top: 18px; }
.readouts .r-row div { display: grid; }
.readouts .r-val { font-size: clamp(16px, 1.8vw, 22px); color: var(--bone); }
.readouts .r-val.live { color: var(--teal); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-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; }
.split-line { display: block; overflow: hidden; padding: 0.04em 0 0.08em; margin: -0.04em 0 -0.08em; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: 0.08s; }
.split-line:nth-child(3) > span { transition-delay: 0.16s; }

/* ---------- Chronos ---------- */
.chronos { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.chronos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.device-tabs { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; gap: 4px; }
.device-tabs button { border: 0; background: none; padding: 10px 22px; border-radius: 999px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); transition: background 0.3s, color 0.3s; }
.device-tabs button[aria-selected="true"] { background: var(--marigold); color: #000; font-weight: 700; }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list .idx { font-family: var(--mono); font-size: 12px; color: var(--marigold); padding-top: 3px; }
.feature-list strong { display: block; font-weight: 600; }
.feature-list p { margin: 2px 0 0; color: var(--mute); font-size: 15px; }
.device-panel[hidden] { display: none; }
.device-panel { display: grid; gap: 28px; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

.device-stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.device-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--marigold-glow), transparent 65%); filter: blur(10px); }
.watch {
  position: relative; width: min(380px, 78vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #3a3f46, #15181c 60%);
  padding: 7%; box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.06);
}
.watch::before, .watch::after { content: ""; position: absolute; left: 22%; right: 22%; height: 60%; background: linear-gradient(#1b1e22, #0f1114); z-index: -1; border-radius: 20px; }
.watch::before { bottom: 70%; }
.watch::after { top: 70%; }
.watch .crown-btn { position: absolute; right: -4%; top: 44%; width: 5%; height: 12%; border-radius: 3px; background: #2a2e34; }
.watch .face { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #000; }
.watch .face img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.48); }
.phone {
  position: relative; width: min(290px, 64vw); aspect-ratio: 9 / 19.5; border-radius: 6% / 2.77%;   /* about a real phone's 4 mm corner, at any size */
  background: #15181c; padding: 10px; box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.07);
}
.phone .screen { width: 100%; height: 100%; border-radius: 3.7% / 1.65%; overflow: hidden; background: #06110c; position: relative; }
.phone svg { width: 100%; height: 100%; display: block; }
.illus-note { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }

.spec-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(60px, 8vw, 110px); }
.spec-strip div { padding: 26px 22px 0 0; display: grid; gap: 6px; }
.spec-strip div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.spec-strip .v { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1; }
.spec-strip .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* ---------- Scepter ---------- */
.scepter-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.render-stack { position: relative; aspect-ratio: 1250 / 875; background: #2a2a2a; overflow: hidden; border-radius: var(--radius); }
.render-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s var(--ease), transform 6s linear; }
.render-stack img.alt { opacity: 0; }
.render-stack:hover img.alt { opacity: 1; }
.render-stack:hover img { transform: scale(1.04); }
.render-stack .hud { position: absolute; inset: 16px; pointer-events: none; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.render-stack .hud span { position: absolute; }
.render-stack .hud .tl { top: 0; left: 0; } .render-stack .hud .tr { top: 0; right: 0; } .render-stack .hud .bl { bottom: 0; left: 0; } .render-stack .hud .br { bottom: 0; right: 0; color: var(--marigold); }
.corner { position: absolute; width: 18px; height: 18px; border-color: rgba(255,255,255,.4); border-style: solid; border-width: 0; }
.corner.a { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.corner.b { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.corner.c { bottom: 10px; left: 10px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.d { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 0 4px var(--marigold-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.adv { list-style: none; padding: 0; margin: 0; counter-reset: a; }
.adv li { counter-increment: a; padding: 13px 0 13px 46px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: #cfccc4; }
.adv li::before { content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--mono); font-size: 11px; color: var(--marigold); }

/* ---------- classified ---------- */
.classified { background: var(--ink); border-top: 1px solid var(--line); }
.riddles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.riddle { background: var(--ink); position: relative; min-height: 380px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.riddle .img { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(3.5px) grayscale(.55) brightness(.62) contrast(1.05); transform: scale(1.06); transition: filter 0.9s var(--ease); }
.riddle:hover .img, .riddle:focus-within .img, .riddle.is-open .img { filter: blur(3.5px) grayscale(.55) brightness(.32); }
.riddle.is-solved .img { filter: none; transform: scale(1.02); }
.riddle::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.1) 55%, rgba(0,0,0,.45)); pointer-events: none; }
.riddle > *:not(.img) { z-index: 1; }
.riddle > * { position: relative; }
.riddle .code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--marigold); display: flex; justify-content: space-between; }
.riddle .name { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: 20px; text-transform: uppercase; line-height: 1.05; margin: 0 0 14px; letter-spacing: 0.02em; }
.riddle .verse { font-size: 14px; color: #bdbab2; font-style: italic; margin: 0; white-space: pre-line; max-height: 0; opacity: 0; transition: max-height 0.8s var(--ease), opacity 0.6s; }
.riddle:hover .verse, .riddle:focus-within .verse, .riddle.is-open .verse { max-height: 220px; opacity: 1; }
.riddle .stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); border: 2px solid rgba(255,210,31,.55); color: rgba(255,210,31,.75); font-family: var(--mono); font-size: 13px; letter-spacing: 0.3em; padding: 6px 12px; transition: opacity 0.5s; }
.riddle:hover .stamp, .riddle:focus-within .stamp, .riddle.is-open .stamp { opacity: 0; }
.riddle button.reveal-btn { all: unset; position: absolute; inset: 0; cursor: pointer; }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.quote { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 600; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.quote em { font-style: normal; color: var(--marigold); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--marigold), var(--line)); }
.timeline li { position: relative; padding: 0 0 34px 44px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--marigold); background: var(--obsidian); }
.timeline li:last-child::before { background: var(--marigold); }
.timeline .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--marigold); }
.timeline h4 { margin: 4px 0 4px; font-size: 19px; font-weight: 600; }
.timeline p { margin: 0; color: var(--mute); font-size: 15px; }

/* ---------- doctrine ---------- */
.doctrine { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.doctrine article { padding: 34px 26px 10px 0; display: grid; gap: 14px; align-content: start; justify-items: start; }
.emblem { width: 104px; height: auto; color: var(--marigold); filter: drop-shadow(0 6px 20px rgba(255,210,31,.12)); transition: transform .6s var(--ease), filter .6s var(--ease); }
.doctrine article:hover .emblem { transform: translateY(-4px); filter: drop-shadow(0 10px 26px rgba(255,210,31,.3)); }
.doctrine article + article { padding-left: 26px; border-left: 1px solid var(--line); }
.doctrine .n { font-family: var(--mono); font-size: 12px; color: var(--marigold); }
.doctrine h3 { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.doctrine p { margin: 0; color: var(--mute); font-size: 15px; }

/* ---------- product cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card { background: var(--obsidian); display: flex; flex-direction: column; position: relative; transition: background 0.4s var(--ease); }
.card:hover { background: var(--ink); }
.card .media { aspect-ratio: 4 / 3.4; overflow: hidden; position: relative; background: var(--panel); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .media img { transform: scale(1.05); }
.card .media.contain img { object-fit: contain; padding: 8%; }
.card .media.blur img { filter: blur(3.5px) grayscale(.55) brightness(.62); transform: scale(1.06); }
.card .tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; background: rgba(0,0,0,.7); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); }
.card .tag.gold { color: #000; background: var(--marigold); border-color: var(--marigold); font-weight: 700; }
.card .body { padding: 22px 22px 26px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card .group { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.card h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.2; }
.card .price { font-family: var(--mono); font-size: 14px; color: var(--bone); margin-top: auto; padding-top: 14px; display: grid; gap: 6px; border-top: 1px solid var(--line); }
.card .price .go { color: var(--marigold); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.card a.cover { position: absolute; inset: 0; z-index: 3; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line-strong); background: none; border-radius: 999px; padding: 10px 18px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); transition: all 0.25s; }
.chip:hover { color: var(--bone); border-color: var(--bone); }
.chip[aria-pressed="true"] { background: var(--bone); color: #000; border-color: var(--bone); }
.chip sup { font-size: 9px; margin-left: 4px; }

/* ---------- page heads ---------- */
.page-head { padding: 170px 0 60px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .display { margin-top: 18px; }
.page-head .lede { margin-top: 22px; }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--bone); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 80px); padding-top: 140px; padding-bottom: 100px; align-items: start; }
.gallery { display: grid; gap: 10px; position: sticky; top: 90px; }
.gallery .main { aspect-ratio: 1; background: var(--panel); overflow: hidden; border-radius: var(--radius); }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: 0 0 76px; height: 76px; padding: 0; border: 1px solid var(--line); background: var(--panel); cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--marigold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: grid; gap: 22px; }
.buy .price-big { font-family: var(--mono); font-size: 28px; }
.buy .desc { color: #c9c6be; white-space: pre-line; }
.opt-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.qty button { width: 46px; height: 50px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty output { width: 44px; display: grid; place-items: center; font-family: var(--mono); }
.notice { border: 1px dashed var(--line-strong); padding: 14px 16px; font-size: 14px; color: var(--mute); border-radius: var(--radius); }
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; color: var(--marigold); font-size: 16px; }
details.acc[open] summary::after { content: "–"; }
details.acc .inner { padding: 0 0 20px; color: var(--mute); font-size: 15px; }

/* ---------- team / contact ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.team article { background: var(--obsidian); padding: 34px; display: grid; gap: 6px; }
.team .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--marigold); }
.team h3 { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: 30px; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.field input, .field textarea { background: var(--ink); border: 1px solid var(--line-strong); color: var(--bone); border-radius: var(--radius); padding: 14px 16px; font: inherit; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--marigold); }
.field textarea { min-height: 150px; resize: vertical; }

/* ---------- tagline ---------- */
.tagline { margin: -6px 0 0; font-family: var(--mono); font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .22em; text-transform: uppercase; color: var(--marigold); }

/* ---------- Chronos device picker (click to fade into details) ---------- */
.dx { position: relative; }
.dx-choose, .dx-detail { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.dx-out { opacity: 0; transform: translateY(10px); }
.dx-in { opacity: 0; transform: translateY(14px); }
.dx-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dx-tile { all: unset; box-sizing: border-box; cursor: pointer; background: var(--ink); display: grid; grid-template-rows: 1fr auto; min-height: 520px; position: relative; overflow: hidden; transition: background .4s var(--ease); }
.dx-tile::after { content: "→"; position: absolute; top: 22px; right: 24px; font-size: 22px; color: var(--marigold); transition: transform .4s var(--ease); }
.dx-tile:hover, .dx-tile:focus-visible { background: var(--panel); }
.dx-tile:hover::after { transform: translateX(6px); }
.dx-tile:focus-visible { outline: 2px solid var(--marigold); outline-offset: -2px; }
.dx-visual-small { display: grid; place-items: center; padding: 44px 20px 10px; position: relative; }
.dx-visual-small::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--marigold-glow), transparent 65%); }
.dx-visual-small .watch-shot { width: min(220px, 56%); }
.dx-visual-small .phone { width: min(190px, 46%); }
.dx-tile:hover .watch-shot, .dx-tile:hover .phone { transform: scale(1.03); }
.dx-tile-text { display: grid; gap: 8px; padding: 22px 26px 28px; border-top: 1px solid var(--line); }
.dx-tile-title { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 36px); line-height: 1; }
.dx-tile .muted { font-size: 14px; }
/* Drawn watch case (400x560 viewBox, glass centred at 200,280 r=140); the app screen sits in the glass.
   The screenshot's own emulator ring is clipped off and the display scaled to fill the glass. */
.watch-shot { position: relative; aspect-ratio: 408 / 641; transition: transform .6s var(--ease); filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.watch-shot .watch-case { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.watch-shot img.wface { position: absolute; left: 6.495%; top: 23.323%; width: 83.333%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.watch-shot.big { width: min(340px, 72vw); margin: 0 auto; }
.phone { transition: transform .6s var(--ease); }
.dx-detail { display: grid; gap: 22px; }
.dx-detail[hidden], .dx-choose[hidden] { display: none; }
.dx-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.dx-visual { display: grid; gap: 22px; justify-items: center; position: sticky; top: 96px; }
.dx-visual .phone { width: min(290px, 64vw); }
.dx-copy { display: grid; gap: 20px; }
.dx-shots { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; scrollbar-width: thin; }
.dx-shot { all: unset; box-sizing: border-box; cursor: pointer; flex: 0 0 84px; display: grid; gap: 6px; justify-items: center; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.dx-shot img { width: 68px; height: 68px; object-fit: contain; clip-path: circle(47% at 50% 50%); }
.dx-shot span { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); text-align: center; }
.dx-shot[aria-pressed="true"] { border-color: var(--marigold); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.dx-shot img[src$=".jpg"] { clip-path: none; object-fit: cover; object-position: top; border-radius: 6px; width: 40px; }
.dx-shot:focus-visible { outline: 2px solid var(--marigold); }
.feature-list.compact li { padding: 12px 0; }
.feature-list.compact p { font-size: 14px; }
.card .media.watchshot { display: grid; place-items: center; }
.card .media.watchshot img { width: 72%; height: auto; object-fit: contain; clip-path: circle(47% at 50% 50%); }
@media (max-width: 900px) {
  .dx-choose { grid-template-columns: 1fr 1fr; }
  .dx-tile { min-height: 360px; }
  .dx-detail-grid { grid-template-columns: 1fr; }
  .dx-visual { position: static; }
}
@media (max-width: 600px) {
  .dx-tile { min-height: 300px; }
  .dx-visual-small { padding: 30px 10px 6px; }
  .dx-tile-text { padding: 16px; }
  .dx-tile::after { top: 12px; right: 14px; }
  .dx-tile .muted { font-size: 12px; }
  .dx-tile-title { font-size: 19px; }
  .dx-tile-text .eyebrow { font-size: 10px; }
  .dx-tile-text .eyebrow::before { display: none; }
}
.dx-visual-small .illus-note { display: none; }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.post-card { background: var(--obsidian); position: relative; display: grid; grid-template-rows: auto 1fr; transition: background .4s var(--ease); }
.post-card:hover { background: var(--ink); }
.post-card.lead { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
.pc-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); display: grid; place-items: center; }
.post-card.lead .pc-media { aspect-ratio: auto; min-height: 340px; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pc-media img.pc-crest { width: 90px; height: auto; object-fit: contain; opacity: .5; }
.post-card:hover .pc-media img { transform: scale(1.04); }
.pc-body { padding: 26px; display: grid; gap: 10px; align-content: start; }
.post-card.lead .pc-body { padding: clamp(28px, 4vw, 52px); align-content: center; }
.pc-meta, .byline { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.pc-body h2 { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 22px; line-height: 1.15; }
.post-card.lead .pc-body h2 { font-size: clamp(26px, 3vw, 40px); }
.pc-body p { margin: 0; color: var(--mute); font-size: 15px; }
.pc-go { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); margin-top: 6px; }
.post-card a.cover { position: absolute; inset: 0; }
.post-cover { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 720px; font-size: 19px; line-height: 1.75; color: #d6d3cb; }
.prose p { margin: 0 0 1.3em; }
.prose h2, .prose h3 { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; color: var(--bone); line-height: 1.1; margin: 2em 0 .7em; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); } .prose h3 { font-size: 22px; }
.prose img { width: 100%; height: auto; border-radius: var(--radius); margin: 1.4em 0; }
.prose blockquote { margin: 1.6em 0; padding-left: 22px; border-left: 2px solid var(--marigold); color: var(--bone); font-size: 1.1em; }
.prose a { color: var(--marigold); text-decoration: underline; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card.lead { grid-template-columns: 1fr; } .post-card.lead .pc-media { min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } .prose { font-size: 17px; } }

/* ---------- cart drawer ---------- */
.cart-drawer { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.cart-drawer.is-open { pointer-events: auto; }
.cart-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.6); opacity: 0; transition: opacity .4s var(--ease); }
.cart-drawer.is-open .cart-scrim { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ink); border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .5s var(--ease); }
.cart-drawer.is-open .cart-panel { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; }
.cart-body { overflow-y: auto; padding: 0 22px; transition: opacity .2s; }
.cart-foot { padding: 20px 22px 26px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cl-img { width: 76px; height: 76px; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-info { display: grid; gap: 6px; font-size: 15px; }
.cl-info .muted { font-size: 13px; }
.cl-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.qty.small button { width: 36px; height: 36px; }
.qty.small output { width: 32px; }
.link-btn { justify-self: start; background: none; border: 0; padding: 0; color: var(--mute); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--bone); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button[aria-pressed="true"] { background: var(--bone); color: #000; border-color: var(--bone); }
.choices button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

/* ---------- CTA band & footer ---------- */
.cta-band { padding: clamp(80px, 11vw, 150px) 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.cta-band .crest-bg { position: absolute; left: 50%; top: 50%; width: min(560px, 90vw); transform: translate(-50%, -50%); opacity: 0.05; }
.cta-band .display { position: relative; }
.cta-band .btn-row { justify-content: center; margin-top: 36px; position: relative; }

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 34px; background: var(--obsidian); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin: 0 0 16px; font-weight: 400; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-grid a:hover { color: var(--marigold); }
.foot-motto { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.1; margin: 16px 0 0; max-width: 12em; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; color: var(--mute); letter-spacing: 0.06em; }

.preview-flag { position: fixed; left: 12px; bottom: 12px; z-index: 70; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(0,0,0,.85); border: 1px solid var(--marigold); color: var(--marigold); padding: 7px 10px; border-radius: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .doctrine { grid-template-columns: repeat(2, 1fr); }
  .doctrine article:nth-child(3) { padding-left: 0; border-left: 0; }
  .doctrine article:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .hero { padding-top: 116px; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-instrument { order: -1; max-width: 420px; justify-self: center; margin-top: 4px; }
  .chronos-grid, .scepter-grid, .story-grid, .pdp { grid-template-columns: 1fr; }
  .device-stage { min-height: 440px; order: -1; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec-strip div:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec-strip div:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gallery { position: static; }
  .pdp { padding-top: 116px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 8px; }
  .h1 { font-size: min(9.4vw, 48px); }
  .riddle .code span + span { display: none; }
  .hero-instrument { max-width: 330px; }
  .riddles { grid-template-columns: 1fr 1fr; }
  .riddle { min-height: 300px; padding: 16px; }
  .riddle .name { font-size: 16px; }
  .grid-cards { grid-template-columns: 1fr; }
  .doctrine { grid-template-columns: 1fr; }
  .doctrine article, .doctrine article + article { padding-left: 0; border-left: 0; }
  .doctrine article + article { border-top: 1px solid var(--line); }
  .team { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .btn-row .btn, .btn-row .play-badge { flex: 1 1 100%; }
  .readouts .r-row { gap: 16px; margin-top: 10px; }
  .page-head { padding-top: 136px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
}

.grid-cards[hidden], #concepts-block[hidden] { display: none; }
.riddle .riddle-cta { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); transition: opacity .4s; }
.riddle:hover .riddle-cta, .riddle:focus-within .riddle-cta, .riddle.is-open .riddle-cta { opacity: 0; }
/* Solve-the-riddle game */
.riddle.is-open .reveal-btn { display: none; }
.riddle .riddle-guess { display: none; gap: 6px; margin-top: 12px; }
.riddle.is-open .riddle-guess { display: flex; }
.riddle-guess input { flex: 1; min-width: 0; background: rgba(0,0,0,.6); border: 1px solid var(--line-strong); color: var(--bone); border-radius: 3px; padding: 9px 10px; font: inherit; font-size: 14px; }
.riddle-guess input:focus { outline: none; border-color: var(--marigold); }
.riddle-guess button { border: 0; background: var(--marigold); color: #000; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 0 12px; border-radius: 3px; cursor: pointer; }
.riddle-msg { margin: 8px 0 0; min-height: 1.2em; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--marigold); }
.riddle.is-solved .stamp { opacity: 1 !important; border-color: var(--marigold); color: #000; background: var(--marigold); }
.riddle.is-solved .name { color: var(--marigold); }
.riddle.is-solved .riddle-cta { display: none; }
.riddle.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.riddle.is-solved .stamp { top: 52px; left: auto; right: 16px; transform: rotate(-8deg); font-size: 11px; padding: 4px 10px; }
.riddle.is-solved::after { background: linear-gradient(to top, rgba(0,0,0,.9), rgba(0,0,0,.15) 60%, transparent); }

/* ---------- phones & tablets: everything centered, titles on one line ----------
 * Owner's rule (2026-11-17): on mobile everything is centered except the footer, and titles keep
 * each line whole instead of wrapping. Titles get `white-space: nowrap`; js/site.js (fitTitles)
 * then shrinks any title that would run past the screen edge just enough to fit.
 * Long reading text (story article, blog posts, forms, FAQ answers) stays left-aligned for reading.
 * Add data-wrap to a title that should wrap normally (e.g. a full sentence). */
@media (max-width: 900px) {
  .display:not([data-wrap]), .eyebrow, .tagline, .riddle .name, .doctrine h3, .dx-tile-title, .team h3 {
    white-space: nowrap;
    contain: inline-size;      /* a long title can't push the page wider than the screen */
  }
  .hero h1 .split-line { display: inline-block; vertical-align: top; }   /* "The sky bows." on one line */

  .eyebrow { display: flex; justify-content: center; }
  .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; }

  .hero-copy, .section-head, .section-head > div, .story-grid > div, .page-head, .cta-band,
  .doctrine article, .spec-strip div, .card .body, .team article, .riddle, .dx-tile-text, .dx-copy,
  .buy, .buy-band, .channel, .pc-body, .timeline li, .quote, .byline { text-align: center; }
  .section-head { grid-template-columns: 1fr !important; justify-items: stretch !important; }
  .lede, .page-head .lede { margin-left: auto; margin-right: auto; }
  .btn-row, .crumbs, .filters, .choices, .byline, .buy-band .btn-row { justify-content: center !important; }
  .qty { margin: 0 auto; }
  .buy .status-pill { justify-self: center !important; }
  .doctrine article { justify-items: stretch; }
  .emblem { justify-self: center; margin: 0 auto; }
  .spec-strip div, .spec-strip div + div { padding-left: 8px; padding-right: 8px; }
  .card .price { justify-items: center; }
  .dx-back { display: block; margin: 0 auto 18px; }
  .feature-list li { grid-template-columns: 1fr; text-align: center; }

  /* Timeline: the side rail becomes a dot above each step. */
  .timeline::before { display: none; }
  .timeline li { padding: 26px 0 30px; }
  .timeline li::before { left: 50%; top: 0; transform: translateX(-50%); width: 11px; height: 11px; }
}
@media (max-width: 600px) { .dx-tile-text .eyebrow::after { display: none; } }
@media (max-width: 360px) { .riddles { grid-template-columns: 1fr; } .riddle { min-height: 260px; } }

/* ---------- thumb reach: menus on the right ----------
 * Owner's rule (2026-11-17): on phones, anything you tap to choose (the menu, store filters, the
 * Back button in the Chronos details) sits on the RIGHT, where a right thumb reaches without
 * crossing the screen. Text inside stays left-aligned on one shared edge so it still reads neatly. */
@media (max-width: 900px) {
  .mn-sheet { align-items: flex-end; }
  .mn-sheet > * { width: min(72%, 300px); }
  .filters { justify-content: flex-end !important; }
  .dx-back { width: fit-content; margin: 0 0 18px auto; }
}

/* Phone app "Coming soon" (switch: PHONE_LIVE in js/catalog.js) */
.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; }
.soon-tag { display: inline-block; width: fit-content; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; padding: 6px 10px; color: #000; background: var(--marigold); }
.soon-tag.on-tile { position: absolute; top: 18px; left: 20px; z-index: 2; }
.soon-box { display: grid; gap: 14px; margin: 8px 0 20px; padding: 22px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(255,210,31,.07), transparent 60%); }
.soon-box p { margin: 0; }
.soon-form { display: flex; flex-wrap: wrap; gap: 10px; }
.soon-form input { flex: 1 1 220px; background: var(--ink); border: 1px solid var(--line-strong); color: var(--bone); border-radius: var(--radius); padding: 14px 16px; font: inherit; font-size: 16px; }
.soon-form input:focus { outline: none; border-color: var(--marigold); }
.soon-msg:empty { display: none; }

/* Founder portrait beside the homepage quote */
.founder-sig { display: flex; align-items: center; gap: 14px; }
.founder-sig img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--marigold); flex: none; }
/* Page titles: cap the size so long words ("ENGINEERED") fit on wide-but-short windows */
.page-head .h1 { font-size: min(9.5vw, 124px); }

/* Mobile fit (2026-11-23): nothing may widen the page past the phone screen */
html { overflow-x: clip; }
@media (max-width: 900px) { .doctrine h3 { white-space: normal; } }

/* Phone hero (2026-11-23): the first screen fits above the bottom bar with the compass at its FULL
 * 330px (owner: the compass is the coolest part, never shrink it). Room comes from tighter spacing,
 * side-by-side buttons, and hiding the small "Crown Paramotor · Chandler" line (the logo is right above). */
@media (max-width: 600px) {
  .hero { padding-top: 92px; padding-bottom: 64px; min-height: 0; }
  .hero-grid { gap: 8px; }
  .hero-copy { gap: 12px; }
  .hero-instrument { max-width: 330px; margin-top: 0; }
  .hero .eyebrow { display: none; }
  .hero .btn-row { flex-wrap: nowrap; gap: 8px; }
  .hero .btn-row .btn { flex: 1 1 0; min-width: 0; padding-left: 10px; padding-right: 10px; font-size: 11px; letter-spacing: 0.12em; justify-content: center; white-space: nowrap; }
  .hero .lede { font-size: 17px; line-height: 1.5; }
}

/* Steady layout (2026-11-26): always keep room for the scrollbar so centred content never jumps sideways when a page grows taller (e.g. Log in to Join). */
html { scrollbar-gutter: stable; }

/* Autofill (2026-11-26): browsers tint autofilled boxes yellow/blue, which looks like an error. Keep them black like the rest. */
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus, .field textarea:-webkit-autofill { -webkit-text-fill-color: var(--bone); caret-color: var(--bone); -webkit-box-shadow: 0 0 0 1000px var(--ink) inset; box-shadow: 0 0 0 1000px var(--ink) inset; transition: background-color 99999s 0s; }
.field input:autofill { background: var(--ink); color: var(--bone); }
