/* ==========================================================================
   CIHANG — product site
   Minimal, Apple-style layout. Light by default, dark via the nav toggle. Frosted-glass surfaces.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f5f4f1;
  --bg-alt: #ffffff;
  --bg-dark: #0c0c0d;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #9a6544;          /* walnut */
  --accent-ink: #ffffff;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-menu: rgb(250, 249, 247);
  --glass-line: rgba(255, 255, 255, 0.6);
  --bubble-user-bg: #1d1d1f;
  --bubble-user-ink: #f5f5f7;
  --bubble-bot-bg: rgba(0, 0, 0, 0.06);
  --bubble-bot-ink: #1d1d1f;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.06);
  --radius: 28px;
  --radius-s: 18px;
  --nav-h: 52px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0c0c0d;
  --bg-alt: #161617;
  --bg-dark: #000000;
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --muted-2: #86868b;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #d2a67f;
  --accent-ink: #1d1d1f;
  --glass: rgba(28, 28, 30, 0.55);
  --glass-strong: rgba(28, 28, 30, 0.8);
  --glass-menu: rgb(22, 22, 23);
  --glass-line: rgba(255, 255, 255, 0.12);
  --bubble-user-bg: #f5f5f7;
  --bubble-user-ink: #1d1d1f;
  --bubble-bot-bg: rgba(255, 255, 255, 0.1);
  --bubble-bot-ink: #f5f5f7;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 40px rgba(0,0,0,.35);
  color-scheme: dark;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .35s ease, color .35s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, figcaption, small, summary, .lede { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 14px; background: var(--text); color: var(--bg); border-radius: 10px;
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: min(1080px, 100% - 48px);
  margin-inline: auto;
}
.container--wide  { width: min(1400px, 100% - 48px); }
.container--narrow { width: min(760px, 100% - 48px); }

.section { padding-block: clamp(80px, 10vw, 140px); }
.section--alt  { background: var(--bg-alt); transition: background-color .35s ease; }
.section--dark { background: var(--bg-dark); color: #f5f5f7; }
.section--dark { --text: #f5f5f7; --muted: #a1a1a6; --line: rgba(255,255,255,.12); --glass: rgba(28,28,30,.55); --glass-line: rgba(255,255,255,.12); --accent: #d2a67f; }

.container + .container,
.container + .container--wide { margin-top: clamp(40px, 6vw, 72px); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow);
}

/* ---------- Type ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.display {
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.headline {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 22ch;
}
@media (max-width: 640px) { .br-lg { display: none; } }
.sub-headline {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 28px;
}
.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 22px;
  font-weight: 400;
}
.hero .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero .cta-row { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  transition: transform .2s ease, background-color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); opacity: .9; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--ghost { border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.section--dark .btn--primary { background: #f5f5f7; color: #1d1d1f; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--glass-strong);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background-color .35s ease;
}
.nav__inner {
  width: min(1080px, 100% - 48px); margin-inline: auto;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__brand { font-weight: 700; letter-spacing: .22em; font-size: 15px; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a { transition: color .2s ease; padding: 6px 0; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .2s ease;
}
.icon-btn:hover { background: var(--line); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
.nav__menu { display: none; }

@media (max-width: 820px) {
  .nav__menu { display: inline-flex; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
    background: var(--glass-menu);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links a { padding: 12px 0; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav.is-open .nav__links { display: flex; }
}

/* ---------- Film (full-screen hero video) ---------- */
/* Edge-to-edge, one viewport tall. The 16:9 frame is cropped mostly from the top:
   main.js sets object-position so that at most ~4% of the frame is lost at the bottom,
   which keeps the captions burned into the film readable. */
.film { background: #000; }
.film__frame {
  position: relative; background: #000; overflow: hidden; width: 100%;
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  min-height: 420px;
}
.film__frame video, .film__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; display: block; }
.video-controls {
  position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 12px; z-index: 2;
}
.video-time { color: #f5f5f7; font-size: 13px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.6); flex: none; min-width: 84px; }
.video-seek {
  -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 22px; margin: 0; background: transparent; cursor: pointer;
  --p: 0%;
}
.video-seek::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, #ffffff var(--p), rgba(255,255,255,.32) var(--p));
  box-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.video-seek::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; margin-top: -5px;
  box-shadow: 0 1px 4px rgba(0,0,0,.45); transition: transform .15s ease;
}
.video-seek:hover::-webkit-slider-thumb, .video-seek:active::-webkit-slider-thumb { transform: scale(1.25); }
.video-seek::-moz-range-track { height: 4px; border-radius: 999px; background: rgba(255,255,255,.32); }
.video-seek::-moz-range-progress { height: 4px; border-radius: 999px; background: #fff; }
.video-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.video-seek:focus-visible { outline: none; }
.video-seek:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.vbtn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500;
  color: #f5f5f7; background: rgba(28,28,30,.55); border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s ease, background-color .2s ease;
}
.vbtn:hover { transform: translateY(-1px); background: rgba(28,28,30,.7); }
.vbtn svg { flex: none; }
#video-play { width: 40px; padding: 0; justify-content: center; }
.ic-sound, .ic-play { display: none; }
.vbtn[aria-pressed="true"] .ic-muted, #video-play[aria-pressed="true"] .ic-play { display: none; }
.vbtn[aria-pressed="true"] .ic-sound { display: block; }
#video-play[aria-pressed="false"] .ic-pause { display: none; }
#video-play[aria-pressed="false"] .ic-play { display: block; }
.film__cue {
  position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; opacity: .85; animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
@media (max-width: 820px) {
  .film__frame { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .film__frame video, .film__frame img { object-position: 50% 50%; }
  .film__cue { display: none; }
  .video-controls { left: 10px; right: 10px; bottom: 10px; gap: 8px; }
  .video-time { font-size: 11px; min-width: 66px; }
  .vbtn span { display: none; }
  #video-sound { width: 34px; padding: 0; justify-content: center; }
  .vbtn { height: 34px; padding: 0 12px; font-size: 13px; }
  #video-play { width: 34px; }
}

/* ---------- Buy ---------- */
.buy { padding-block: clamp(56px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.buy__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.buy__gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
.buy__main {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.buy__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.buy__main img.is-fading { opacity: 0; }
.buy__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.buy__thumbs button {
  width: 76px; height: 56px; padding: 0; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer;
  border: 1.5px solid var(--line); transition: border-color .2s ease, transform .2s ease;
}
.buy__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.buy__thumbs button:hover { transform: translateY(-1px); }
.buy__thumbs button.is-active { border-color: var(--text); }

.buy__title { font-size: clamp(40px, 5vw, 64px); letter-spacing: .04em; font-weight: 700; line-height: 1; }
.buy__sub { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 44ch; }
.buy__group { margin-top: 28px; }
.buy__group h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.buy__options { display: grid; gap: 10px; }
.opt {
  text-align: left; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg-alt);
  cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: border-color .2s ease, box-shadow .2s ease;
}
.opt strong { font-size: 16px; font-weight: 600; }
.opt span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.opt:hover { border-color: rgba(0,0,0,.25); }
.opt.is-active { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset; }
.buy__swatches { display: flex; gap: 10px; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--bg-alt); font-size: 14px; font-weight: 500; cursor: pointer;
}
.swatch.is-active { border-color: var(--text); }
.swatch i { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch__cream { background: linear-gradient(135deg, #ebe5da 50%, #6b4a33 50%); }
.swatch__navy { background: linear-gradient(135deg, #282f37 50%, #6b4a33 50%); }
.swatch__titanium { background: linear-gradient(135deg, #94908c 50%, #6b4a33 50%); }
@media (max-width: 640px) { .buy__swatches { flex-wrap: wrap; } }

.buy__includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.buy__includes li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--muted); }
.buy__includes strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); min-width: 66px; }

.buy__price {
  margin-top: 26px; padding: 18px 18px 18px 22px; border-radius: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.buy__price-text { display: flex; flex-direction: column; }
.buy__amount { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.buy__note { font-size: 13px; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  .buy__grid { grid-template-columns: 1fr; }
  .buy__gallery { position: static; }
  .buy__includes { grid-template-columns: 1fr; }
}

/* ---------- Cards / media ---------- */
.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.section--alt .card { background: var(--bg); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card--tall img { aspect-ratio: 3 / 4; height: 100%; }
.card figcaption { padding: 18px 22px 22px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.card figcaption strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 4px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.stat__num { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat__label { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Fold demo ---------- */
.fold-demo { position: relative; }
.fold-stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: #ffffff; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.fold-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s cubic-bezier(.4,0,.2,1);
}
.fold-img.is-active { opacity: 1; }

.fold-controls {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.fold-controls > * { pointer-events: auto; }

.fold-readout {
  display: flex; align-items: flex-end; gap: 16px;
  padding: 16px 18px; border-radius: var(--radius-s);
  color: var(--text);
}
.fold-bar {
  width: 10px; height: 88px; border-radius: 999px; background: var(--line); position: relative; overflow: hidden;
}
.fold-bar__fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 100%;
  background: var(--accent); border-radius: 999px;
  transition: height .8s cubic-bezier(.4,0,.2,1);
}
.fold-demo.is-folded .fold-bar__fill { height: 58%; }
.fold-readout__label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fold-readout__value { display: block; font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }

.segmented {
  display: inline-flex; padding: 4px; border-radius: 999px; gap: 2px;
}
.segmented button {
  border: 0; background: transparent; padding: 9px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer; color: var(--muted);
  transition: background-color .25s ease, color .25s ease;
}
.segmented button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

@media (max-width: 640px) {
  .fold-stage { aspect-ratio: 4 / 3; border-radius: 20px; }
  .fold-controls { position: static; margin-top: 12px; align-items: center; }
  .fold-readout { padding: 10px 14px; gap: 12px; align-items: center; }
  .fold-bar { height: 44px; width: 8px; }
  .fold-readout__value { font-size: 20px; }
  .fold-readout__label { font-size: 11px; }
  .segmented button { padding: 8px 12px; font-size: 13px; }
}

/* ---------- Design section ---------- */
.design-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: stretch; }
.design-side { display: flex; flex-direction: column; gap: 18px; }
.design-side .card img { aspect-ratio: 1 / 1; }
.material-list { border-radius: var(--radius); padding: 10px 26px; flex: 1; }
.material-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.material-list li:last-child { border-bottom: 0; }
.material-list span { display: block; font-weight: 600; font-size: 16px; }
.material-list small { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) {
  .design-grid { grid-template-columns: 1fr; }
  .card--tall img { aspect-ratio: 4 / 5; }
}

/* ---------- Voice section ---------- */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .voice-grid { grid-template-columns: 1fr; } }

.chat {
  border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.chat__head {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted);
  padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
}
.chat__dot { width: 8px; height: 8px; border-radius: 50%; background: #4cd964; box-shadow: 0 0 0 4px rgba(76,217,100,.18); }
.wave { margin-left: auto; display: inline-flex; gap: 3px; align-items: center; height: 16px; }
.wave i { display: block; width: 3px; height: 6px; border-radius: 2px; background: var(--accent); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; }
.wave i:nth-child(3) { animation-delay: .3s; }
.wave i:nth-child(4) { animation-delay: .45s; }
.wave i:nth-child(5) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 16px; } }

.bubble {
  max-width: 82%; padding: 12px 16px; border-radius: 20px; font-size: 16px; line-height: 1.4;
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s);
}
.chat.play .bubble { opacity: 1; transform: none; }
.bubble--user { align-self: flex-end; background: var(--bubble-user-bg); color: var(--bubble-user-ink); border-bottom-right-radius: 6px; }
.bubble--bot  { align-self: flex-start; background: var(--bubble-bot-bg); color: var(--bubble-bot-ink); border-bottom-left-radius: 6px; }

.feature-list { display: grid; gap: 26px; }
.feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 16px; }

/* ---------- Interactive navigation map ---------- */
.navmap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 2.2vw, 32px); align-items: start; }
.navmap__stage { position: relative; }
.navmap__plan { width: 100%; height: auto; display: block; }
.navmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.navmap__room {
  fill: rgba(255, 255, 255, 0); stroke: rgba(255, 255, 255, 0); stroke-width: 3;
  cursor: pointer; transition: fill .3s ease, stroke .3s ease;
}
.navmap__room:hover { fill: rgba(255, 255, 255, .18); }
.navmap__room.is-active {
  fill: rgba(255, 255, 255, .38); stroke: rgba(255, 255, 255, .85);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, .95)) drop-shadow(0 0 30px rgba(255, 255, 255, .6));
  animation: roomglow 2s ease-in-out infinite;
}
@keyframes roomglow { 50% { fill: rgba(255, 255, 255, .24); } }

.navmap__dockpad rect { fill: rgba(29, 29, 31, .85); }
.navmap__dockpad path { fill: #4cd964; }

.navmap__route {
  fill: none; stroke: #ffffff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 16 12; opacity: 0; transition: opacity .3s ease;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.45));
}
.navmap.is-driving .navmap__route { opacity: .95; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* Destination halo: three particle rings, brightest inside, radiating outward (yellow-white) */
.halo { opacity: 0; transition: opacity .4s ease; }
.halo.is-on { opacity: 1; }
.halo__ring {
  fill: none; stroke-linecap: round; transform-box: fill-box; transform-origin: center;
  stroke-dasharray: 1.5 7; filter: drop-shadow(0 0 5px #ffd36b) drop-shadow(0 0 10px #ffc24d);
}
.halo__ring--1 { stroke: #fffbe8; stroke-width: 3.5; }
.halo__ring--2 { stroke: #ffefb8; stroke-width: 3; }
.halo__ring--3 { stroke: #ffd98a; stroke-width: 2.5; }
.halo.is-on .halo__ring { animation: haloburst 2.4s ease-out infinite; }
.halo.is-on .halo__ring--2 { animation-delay: .5s; }
.halo.is-on .halo__ring--3 { animation-delay: 1s; }
@keyframes haloburst {
  0%   { transform: scale(.25); opacity: 1; }
  70%  { opacity: .55; }
  100% { transform: scale(1.6); opacity: 0; }
}

#navmap-bot image { filter: drop-shadow(0 12px 12px rgba(0,0,0,.3)); }

.navmap__pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(.9);
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; font-family: inherit;
  background: rgba(255,255,255,.86); color: #1d1d1f; border: 1px solid rgba(0,0,0,.06); cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  opacity: 0; transition: opacity .45s ease var(--d, 0s), transform .45s ease var(--d, 0s), background-color .2s ease, color .2s ease;
  white-space: nowrap; z-index: 2;
}
.navmap__pin::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: 1px;
}
.navmap.play .navmap__pin { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.navmap.play .navmap__pin:hover { transform: translate(-50%, -50%) scale(1.06); transition-delay: 0s; }
.navmap__pin.is-active { background: #1d1d1f; color: #f5f5f7; border-color: transparent; }
.navmap__pin.is-active::before { background: #4cd964; }

/* Legend in the empty bottom-right corner of the plan */
.navmap__legend {
  position: absolute; right: 2%; bottom: 3%; z-index: 2; padding: 12px 14px; border-radius: 14px;
  display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--text);
}
.legend__row { display: flex; align-items: center; gap: 9px; }
.legend__row i { display: inline-block; flex: none; }
.legend__dock { width: 22px; height: 9px; border-radius: 3px; background: #1d1d1f; position: relative; }
.legend__dock::after { content: ""; position: absolute; left: 9px; top: 2px; width: 4px; height: 5px; background: #4cd964; border-radius: 1px; }
.legend__halo { width: 16px; height: 16px; border-radius: 50%; border: 2px dotted #e6b84f; box-shadow: 0 0 6px #ffd36b; }
.legend__route { width: 24px; height: 0; border-top: 3px dashed #1d1d1f; opacity: .7; }
.legend__scale { display: flex; align-items: center; gap: 8px; margin-top: 2px; color: var(--muted); }
.legend__scale i { width: 5.6%; min-width: 34px; height: 0; border-top: 2px solid var(--text); position: relative; }
.legend__scale i::before, .legend__scale i::after { content: ""; position: absolute; top: -4px; width: 1.5px; height: 7px; background: var(--text); }
.legend__scale i::before { left: 0; } .legend__scale i::after { right: 0; }

/* ---------- Phone UI ---------- */
.phone {
  position: relative; height: var(--map-h, 640px); aspect-ratio: 1319 / 2718; flex: none;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.18));
}
.phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.phone__screen {
  position: absolute; left: 4.32%; top: 1.8%; width: 91.36%; height: 96.43%; z-index: 1;
  background: #f7f6f3; border-radius: 16% / 7.4%; overflow: hidden;
  display: flex; flex-direction: column;
  container-type: inline-size;
}
:root[data-theme="dark"] .phone__screen { background: #121213; }
.phone__statusbar {
  display: flex; justify-content: space-between; align-items: center; padding: 7% 9% 0; font-size: 12px; font-weight: 600;
  height: 13%; letter-spacing: -0.01em;
}
.phone__sys { display: inline-flex; gap: 5px; align-items: center; color: var(--text); }
.phone__sys svg { display: block; }
.phone__app { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 4px 6% 8px; }
.phone__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.phone__head strong { font-size: 15px; letter-spacing: .18em; }
.phone__head span { font-size: 10.5px; color: #4cd964; font-weight: 600; }
.phone__homebar { height: 4px; width: 36%; margin: 0 auto 3.2%; border-radius: 999px; background: var(--text); opacity: .8; flex: none; }

.navmap__status { display: flex; align-items: center; gap: 9px; }
.navmap__dot { width: 9px; height: 9px; border-radius: 50%; background: #86868b; flex: none; box-shadow: 0 0 0 4px rgba(134,134,139,.18); }
.navmap[data-mode="driving"] .navmap__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(154,101,68,.2); animation: blink 1s ease-in-out infinite; }
.navmap[data-mode="arrived"] .navmap__dot, .navmap[data-mode="idle"] .navmap__dot { background: #4cd964; box-shadow: 0 0 0 4px rgba(76,217,100,.18); }
@keyframes blink { 50% { opacity: .35; } }
.navmap__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.navmap__text strong { font-size: 13.5px; font-weight: 600; }
.navmap__text span { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

.navmap__tele { display: grid; grid-template-columns: 1.25fr 1fr 1.15fr; gap: 6px; }
.tele { padding: 7px 8px; border-radius: 11px; background: var(--bg-alt); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tele__label { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tele__value { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tele small { font-size: 9.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.batt { position: relative; display: inline-block; width: 19px; height: 10px; border: 1.5px solid var(--text); border-radius: 3px; flex: none; }
.batt::before { content: ""; position: absolute; left: 1px; top: 1px; bottom: 1px; width: calc(var(--lvl, 50%) - 2px); background: #4cd964; border-radius: 1.5px; transition: width .4s ease, background-color .3s ease; }
.batt::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: var(--text); border-radius: 0 1px 1px 0; }
.batt.is-low::before { background: #ff9f0a; }
.batt.is-charging::before { background: #4cd964; animation: charge 1.2s ease-in-out infinite; }
@keyframes charge { 50% { opacity: .45; } }

.navmap__log { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 48px; overflow-y: auto; padding: 2px 0; scrollbar-width: none; }
.navmap__log::-webkit-scrollbar { display: none; }
.msg { max-width: 90%; padding: 7px 10px; border-radius: 13px; font-size: 12px; line-height: 1.35; }
.msg--bot { align-self: flex-start; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 5px; }
.msg--user { align-self: flex-end; background: var(--bubble-user-bg); color: var(--bubble-user-ink); border-bottom-right-radius: 5px; }
.msg--typing { color: var(--muted); }
.msg--typing i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-right: 3px; animation: wave 1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }

.navmap__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.navmap__chips button {
  height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-alt);
  color: var(--text); font: inherit; font-size: 11px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
.navmap__chips button:hover { border-color: var(--text); }
.navmap__chips button:first-child { background: var(--text); color: var(--bg); border-color: var(--text); }

.navmap__ask { display: flex; gap: 6px; }
.navmap__ask input {
  flex: 1; min-width: 0; height: 34px; padding: 0 12px; border-radius: 999px; font: inherit; font-size: 12px;
  border: 1px solid var(--line); background: var(--bg-alt); color: var(--text); outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.navmap__ask input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(154,101,68,.15); }
.navmap__ask input::placeholder { color: var(--muted-2); }
.navmap__ask button {
  width: 34px; height: 34px; border-radius: 999px; border: 0; flex: none; cursor: pointer;
  background: var(--text); color: var(--bg); display: inline-flex; align-items: center; justify-content: center;
}
.navmap__ask .navmap__mic { background: var(--bg-alt); color: var(--text); border: 1px solid var(--line); transition: background-color .2s ease, color .2s ease; }
.navmap__ask .navmap__mic:hover { border-color: var(--text); }
.navmap__ask .navmap__mic[aria-pressed="true"] { background: #ff3b30; color: #fff; border-color: #ff3b30; animation: micpulse 1.2s ease-in-out infinite; }
@keyframes micpulse { 50% { box-shadow: 0 0 0 7px rgba(255,59,48,.22); } }
.navmap.is-listening .navmap__ask input { border-color: #ff3b30; }

@media (max-width: 1100px) {
  .navmap__legend { display: none; }
  .navmap__tele { grid-template-columns: 1fr; gap: 4px; }
  .tele { flex-direction: row; align-items: center; gap: 8px; padding: 5px 8px; }
  .tele__label { min-width: 48px; }
  .tele small { display: none; }
}
@media (max-width: 820px) {
  .navmap { grid-template-columns: 1fr; }
  .phone { height: auto; width: min(320px, 100%); margin: 8px auto 0; }
  .navmap__tele { grid-template-columns: 1.25fr 1fr 1.15fr; }
  .tele { flex-direction: column; align-items: stretch; }
  .tele small { display: block; }
  .navmap__log { min-height: 120px; }
  .navmap__pin { font-size: 11px; padding: 5px 9px; }
  .navmap__pin::before { width: 5px; height: 5px; margin-right: 6px; }
}
@media (max-width: 520px) {
  .navmap__pin { font-size: 10px; padding: 4px 7px; }
}

/* full-width banner figure */
.banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-alt); }
.banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.banner figcaption { padding: 18px 22px 22px; font-size: 15px; color: var(--muted); }
.banner figcaption strong { color: var(--text); font-weight: 600; margin-right: 6px; }
@media (max-width: 640px) { .banner img { aspect-ratio: 4 / 3; } }

/* ---------- Perception ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.split .card img { aspect-ratio: 4 / 3; height: 100%; }
.spec-list { border-radius: var(--radius); padding: 10px 26px; display: flex; flex-direction: column; justify-content: center; }
.spec-list > div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { font-weight: 600; font-size: 16px; }
.spec-list dd { margin-top: 3px; font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.ways { text-align: center; }
.ways__title { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 700; margin-bottom: 26px; }
.ways__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.way {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 14px 22px; border-radius: var(--radius-s);
}
.way svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: 14px; }
.way span { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.way small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) { .ways__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ways__list { grid-template-columns: repeat(2, 1fr); gap: 10px; } .way { padding: 20px 10px 18px; } }

/* ---------- Specs ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec { padding: 26px 24px 22px; border-radius: var(--radius-s); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.spec__num { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.spec__label { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .spec { padding: 18px; min-height: 120px; } }

.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.version { border-radius: var(--radius); padding: 30px 30px 26px; }
.version .eyebrow { margin-bottom: 8px; }
.version h4 { font-size: 24px; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 18px; line-height: 1.2; }
.version li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
@media (max-width: 720px) { .versions { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-size: 19px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; font-size: 17px; }

/* ---------- Closing ---------- */
.closing { text-align: center; }
.closing__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21 / 9; margin-bottom: clamp(40px, 6vw, 72px); }
.closing__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .closing__media { aspect-ratio: 4 / 3; border-radius: 20px; } }
.closing .headline { margin-inline: auto; max-width: 20ch; }
.closing .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 36px; font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { font-weight: 700; letter-spacing: .22em; color: var(--text); font-size: 14px; }
.footer__by { margin-top: 6px; }
.footer__note { max-width: 44ch; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.2,.6,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.6,.2,1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bubble { opacity: 1; transform: none; transition: none; }
  .navmap__pin { opacity: 1; transition: none; }
  .navmap__route, .halo__ring, .navmap__room { animation: none !important; }
  .wave i { animation: none; }
  .fold-img { transition: opacity .3s ease; }
}

/* ---------- Scroll-driven unfold sequence ---------- */
.unfold { height: 240vh; margin-top: 8px; }
.unfold__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.unfold__stage {
  position: relative; width: min(100%, calc((100vh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; max-width: 100%;
  border-radius: var(--radius); overflow: hidden; background: #d9cdb8; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.unfold__poster, .unfold__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.unfold__canvas { opacity: 0; transition: opacity .25s ease; }
.unfold.is-drawn .unfold__canvas { opacity: 1; }
.unfold__readout { position: absolute; left: 22px; bottom: 22px; }
.unfold__hint {
  position: absolute; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text);
  transition: opacity .35s ease, transform .35s ease;
}
.unfold__hint svg { animation: hintbob 1.6s ease-in-out infinite; }
.unfold.is-scrolled .unfold__hint { opacity: 0; transform: translateY(6px); pointer-events: none; }
@keyframes hintbob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (max-width: 820px) {
  .unfold { height: 170vh; }
  .unfold__stage { width: 100%; }
  .unfold__readout { left: 12px; bottom: 12px; padding: 10px 12px; gap: 10px; }
  .unfold__readout .fold-readout__value { font-size: 18px; }
  .unfold__readout .fold-bar { height: 48px; width: 8px; }
  .unfold__hint { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .unfold { height: auto; }
  .unfold__sticky { position: static; height: auto; }
  .unfold__hint { display: none; }
}

/* ---------- Joystick demo ---------- */
.drive { margin-top: clamp(56px, 8vw, 96px); }
.drive__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.drive__title { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; font-weight: 700; margin: 8px 0 10px; text-wrap: balance; }
.drive__lede { color: var(--muted); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.drive__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: stretch; }
.drive__scene {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #ece6dc; border: 1px solid var(--line); box-shadow: var(--shadow);
  aspect-ratio: 1200 / 720;
}
.drive__svg { display: block; width: 100%; height: 100%; touch-action: none; }
.drive__svg .wall { fill: #3a3632; }
.drive__svg .floor { fill: #efe9df; }
.drive__svg .room-floor { fill: #e8e1d5; }
.drive__svg .rug { fill: #e0d7c8; }
.drive__svg .furn { fill: #cfc4b3; stroke: #b9ad9b; stroke-width: 2; }
.drive__svg .furn--wood { fill: #a98663; stroke: #8b6b4c; }
.drive__svg .furn--soft { fill: #f3efe7; stroke: #d6cdbd; }
.drive__svg .label { font: 500 22px/1 Inter, system-ui, sans-serif; fill: #6b645a; letter-spacing: .02em; }
.drive__svg .dock { fill: #1d1d1f; }
.drive__svg .dock-bolt { fill: #62d26f; }
.drive__svg .ray { stroke: rgba(29,29,31,.18); stroke-width: 2; stroke-dasharray: 4 6; }
.drive__svg .ray.is-near { stroke: #ff9f43; stroke-dasharray: none; }
.drive__svg .sensor-ring { fill: none; stroke: rgba(29,29,31,.12); stroke-width: 2; stroke-dasharray: 2 6; }
.drive__svg .sensor-ring.is-on { stroke: #ff9f43; stroke-dasharray: none; stroke-width: 3; }
.drive__svg .target { opacity: 0; transition: opacity .3s ease; }
.drive__svg .target.is-on { opacity: 1; }
.drive__svg .target circle { fill: none; stroke: #ffd98a; stroke-width: 3; filter: drop-shadow(0 0 6px #ffe9a8); animation: haloburst 2.4s ease-out infinite; }
.drive__svg .target circle:nth-child(2) { animation-delay: .5s; stroke: #ffefb8; }
.drive__svg .target circle:nth-child(3) { animation-delay: 1s; stroke: #fffbe8; }
.drive__svg .goal-zone { fill: rgba(255,255,255,.35); stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-dasharray: 8 8; }
.drive__toast {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 22px 28px; border-radius: 22px; text-align: center; min-width: 260px; box-shadow: var(--shadow);
}
.drive__toast strong { display: block; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.drive__toast span { display: block; font-size: 14px; color: var(--muted); }
.drive__toast .btn { margin-top: 14px; }

.drive__panel { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-alt); }
.drive__hud { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drive__stat { padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.drive__stat strong { display: block; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.drive__k { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.drive__status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); min-height: 20px; }
.drive__dot { width: 8px; height: 8px; border-radius: 50%; background: #9a9a9e; flex: none; transition: background .2s ease; }
.drive__status.is-driving .drive__dot { background: #62d26f; box-shadow: 0 0 0 4px rgba(98,210,111,.18); }
.drive__status.is-assist .drive__dot { background: #ff9f43; box-shadow: 0 0 0 4px rgba(255,159,67,.2); }
.drive__status.is-stopped .drive__dot { background: #ff5a5f; box-shadow: 0 0 0 4px rgba(255,90,95,.18); }

.joy {
  position: relative; width: 200px; height: 200px; margin: 4px auto 0; border-radius: 50%; touch-action: none; cursor: grab; user-select: none;
  background: radial-gradient(circle at 50% 42%, #f7f5f0, #e6e1d8 68%, #d9d2c6 100%);
  box-shadow: inset 0 2px 6px rgba(255,255,255,.9), inset 0 -8px 16px rgba(0,0,0,.08), 0 10px 24px rgba(0,0,0,.10);
  outline: none;
}
.joy:focus-visible { box-shadow: 0 0 0 3px var(--accent), inset 0 2px 6px rgba(255,255,255,.9); }
.joy.is-active { cursor: grabbing; }
.joy__ring { position: absolute; inset: 22px; border-radius: 50%; border: 1px dashed rgba(0,0,0,.18); }
.joy__cross::before, .joy__cross::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(0,0,0,.10); transform: translate(-50%, -50%); }
.joy__cross::before { width: 2px; height: 120px; }
.joy__cross::after { width: 120px; height: 2px; }
.joy__knob {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #8a6446 0%, #5e4030 45%, #3f2a1e 100%);
  box-shadow: 0 10px 18px rgba(0,0,0,.28), inset 0 2px 4px rgba(255,255,255,.28), inset 0 -4px 8px rgba(0,0,0,.35);
  transition: transform .18s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.joy.is-active .joy__knob { transition: none; }
.joy__knob i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #2a2a2c, #0f0f10); box-shadow: inset 0 1px 2px rgba(255,255,255,.2); }
.drive__keys { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.6; }
.drive__keys kbd { display: inline-block; min-width: 20px; padding: 1px 5px; margin: 0 1px; border-radius: 5px; border: 1px solid var(--line); background: var(--bg); font: 600 11px/1.5 Inter, system-ui, sans-serif; color: var(--text); }
.drive__reset { align-self: center; }
@media (max-width: 900px) {
  .drive__grid { grid-template-columns: 1fr; }
  .drive__panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .drive__hud { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
  .drive__status { grid-column: 1 / -1; }
  .joy { grid-row: span 2; }
}
@media (max-width: 560px) {
  .drive__panel { grid-template-columns: 1fr; }
  .drive__hud { grid-template-columns: 1fr 1fr; }
  .joy { width: 170px; height: 170px; }
}

/* Dock: clickable, shows charging state */
.navmap__dockpad { cursor: pointer; outline: none; }
.navmap__dockpad .dockpad__hit { fill: transparent; }
.navmap__dockpad .dockpad__pulse { fill: rgba(76, 217, 100, .35); opacity: 0; transform-origin: center; transform-box: fill-box; }
.navmap__dockpad.is-charging .dockpad__pulse { opacity: 1; animation: dockpulse 1.8s ease-out infinite; }
.navmap__dockpad:hover rect, .navmap__dockpad:focus-visible rect { fill: rgba(29, 29, 31, 1); }
.navmap__dockpad:hover path, .navmap__dockpad:focus-visible path { filter: drop-shadow(0 0 4px #4cd964); }
.navmap__dockpad .dockpad__label { font: 600 24px/1 Inter, system-ui, sans-serif; fill: #1d1d1f; opacity: 0; transition: opacity .3s ease; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 4px; stroke-linejoin: round; }
.navmap__dockpad.is-charging .dockpad__label { opacity: 1; }
.navmap__dockpad:hover .dockpad__label, .navmap__dockpad:focus-visible .dockpad__label { opacity: 1; }
@keyframes dockpulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .navmap__dockpad.is-charging .dockpad__pulse { animation: none; opacity: .5; } }

/* ---------- Who it's for ---------- */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona { border-radius: var(--radius); padding: 26px 24px 22px; display: flex; flex-direction: column; }
.persona svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 16px; }
.persona h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; text-wrap: balance; }
.persona p { font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; flex: 1; }
.persona__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; padding: 0; list-style: none; }
.persona__tags li { font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }

.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.day li { position: relative; padding: 22px 16px 0 0; }
.day li::before { content: ""; position: absolute; left: 0; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg-alt); }
.day time { display: block; font-size: 12px; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.day strong { display: block; font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; text-wrap: balance; }
.day span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; text-wrap: pretty; }

.orgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.orgs .card img { aspect-ratio: 16 / 10; }

@media (max-width: 1100px) { .personas { grid-template-columns: repeat(2, 1fr); } .day { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } .day::before { display: none; } .day li::before { box-shadow: none; } }
@media (max-width: 720px) { .orgs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .personas { grid-template-columns: 1fr; } .day { grid-template-columns: 1fr 1fr; } }
