/* ------------------------------------------------------------------ */
/* Tokens                                                               */
/* ------------------------------------------------------------------ */
:root {
  --navy: #0b1626;
  --navy-2: #12233a;
  --ink: #e9edf2;
  --ink-2: #b9c3cf;
  --muted: #8d9aab;
  --gold: #d6ad5c;
  --gold-2: #e8c578;
  --green: #7fb069;
  --red: #e0876f;
  --paper: #f6f1e7;
  --line: rgba(232, 197, 120, 0.22);
  --line-2: rgba(255, 255, 255, 0.1);
  --r: 20px;
  --serif: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; /* headings: sans-serif */
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 400 16px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.exploring { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 0.45em; letter-spacing: -0.02em; color: #fff; }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); }
h4 { font-size: 1.05rem; font-weight: 600; margin-top: 0.6em; }
p { margin: 0 0 1em; }
a { color: var(--gold-2); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.skip { position: fixed; left: -999px; top: 10px; z-index: 100; background: var(--gold-2); color: var(--navy); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 10px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; color: var(--ink-2); }
.eyebrow { font: 600 0.72rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 14px; }
.note { font-size: 0.82rem; color: var(--muted) !important; border-top: 1px solid var(--line-2); padding-top: 12px; margin: 16px 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.06); color: var(--ink); font: 600 0.88rem/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; backdrop-filter: blur(8px); }
.btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-color: transparent; color: #1b1406; }
.btn-gold:hover { background: linear-gradient(135deg, #f1d38f, #deb466); transform: translateY(-1px); }
.btn-glass { background: rgba(11,22,38,0.45); border-color: rgba(255,255,255,0.22); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 14px 26px; font-size: 0.98rem; }
.btn-sm { padding: 7px 13px; font-size: 0.8rem; }
.btn-icon { width: 38px; height: 38px; padding: 0; font-size: 1.1rem; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Tags & source pills */
.tag { display: inline-block; font: 600 0.68rem/1.5 var(--sans); padding: 2px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; vertical-align: middle; letter-spacing: 0.02em; }
.tag.v { color: #b9d0f2; border-color: rgba(185,208,242,.35); background: rgba(185,208,242,.08); }
.tag.s { color: var(--gold-2); border-color: rgba(232,197,120,.4); background: rgba(232,197,120,.1); }
.tag.c { color: #f2b3a3; border-color: rgba(242,179,163,.4); background: rgba(242,179,163,.08); }
.tag.tier { color: #16202e; background: var(--tc, #d4a94e); border-color: transparent; font-weight: 800; }
.tier-list { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 10px; }
.tier-list li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: start; }
.tier-list li .tag { justify-self: start; margin-top: 2px; }
.tier-list strong { display: block; color: #fff; font-size: 0.9rem; }
.tier-list span:not(.tag) { display: block; color: var(--ink-2); font-size: 0.86rem; line-height: 1.45; }
.src { display: inline-block; font: 700 0.64rem/1.6 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; padding: 1px 8px; border-radius: 6px; }
.src.pdf { background: #2f4f7a; color: #dbe7f7; }
.src.client { background: #3f6b4a; color: #dff0e2; }
.src.suggested { background: #7a5d28; color: #f7e7c5; }
.src.confirm { background: #7a3a2f; color: #f7d8d0; }

/* ------------------------------------------------------------------ */
/* Stage                                                                */
/* ------------------------------------------------------------------ */
.stage { position: fixed; inset: 0; z-index: 0; background: radial-gradient(120% 100% at 70% 20%, #1d3352, var(--navy)); }
.poster { position: absolute; inset: 0; transition: opacity 1s ease; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ready-3d .poster { opacity: 0; }
.gl { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
body.ready-3d .gl, body.no3d .gl { opacity: 1; }
.gl canvas { display: block; width: 100% !important; height: 100% !important; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.shade { position: absolute; inset: 0; pointer-events: none; z-index: 1; transition: background .8s ease; }
body.side-left .shade { background: linear-gradient(90deg, rgba(7,14,26,.62) 0%, rgba(7,14,26,.25) 38%, transparent 60%); }
body.side-right .shade { background: linear-gradient(270deg, rgba(7,14,26,.62) 0%, rgba(7,14,26,.25) 38%, transparent 60%); }
body.side-center .shade { background: radial-gradient(70% 70% at 50% 50%, rgba(7,14,26,.55), rgba(7,14,26,.2)); }
body.side-hero .shade { background: linear-gradient(20deg, rgba(7,14,26,.78) 0%, rgba(7,14,26,.35) 40%, transparent 70%), linear-gradient(180deg, rgba(7,14,26,.45), transparent 22%); }
body.exploring .shade { background: linear-gradient(180deg, rgba(7,14,26,.35), transparent 14%); }
.map2d-host { position: absolute; inset: 0; z-index: 1; background: #0e1b2c; }

/* 3D labels */
.lbl { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(11, 22, 38, 0.8); color: #fff; font: 600 12px/1.2 var(--sans); border: 1px solid rgba(255,255,255,0.16); white-space: nowrap; pointer-events: auto; cursor: pointer; backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0,0,0,.25); will-change: transform; }
.lbl::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 18px; background: linear-gradient(rgba(255,255,255,.75), rgba(255,255,255,0)); }
.lbl i { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.lbl:hover, .lbl.active { background: var(--gold-2); color: #1b1406; border-color: transparent; }
.lbl-poi { background: rgba(250, 246, 237, 0.92); color: #13233a; font-size: 11px; pointer-events: none; padding: 4px 9px; }
.lbl-poi::after { background: linear-gradient(rgba(250,246,237,.9), rgba(250,246,237,0)); }
.lbl-stop { background: var(--gold-2); color: #1b1406; font-size: 10.5px; pointer-events: none; padding: 3px 8px; }
.lbl-ring { background: none; border: 0; box-shadow: none; color: #ffe2a3; font-size: 11.5px; pointer-events: none; text-shadow: 0 1px 6px rgba(0,0,0,.8); backdrop-filter: none; }
.lbl-ring::after { display: none; }
.lbl-sec { background: rgba(23, 42, 72, 0.92); color: #e6eefc; font-size: 11px; pointer-events: none; padding: 4px 9px; border-color: rgba(120,170,255,.35); }
.lbl-sec i { box-shadow: 0 0 0 2px rgba(120,170,255,.25); }
.lbl-tier { pointer-events: none; font-size: 12px; padding: 5px 11px 5px 6px; }
.lbl-tier b { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--tc, #d4a94e); color: #16202e; font-weight: 800; font-size: 11px; letter-spacing: .02em; margin-right: 2px; }
.lbl-veh { background: #fff; color: #13233a; font-size: 11px; pointer-events: none; padding: 4px 9px; font-weight: 700; }
.lbl-veh::after { background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0)); }
.lbl-veh i { width: 7px; height: 7px; }
.lbl-smart { background: rgba(250, 252, 255, 0.94); color: #13233a; font-size: 11px; pointer-events: none; padding: 4px 9px; font-weight: 700; }
.lbl-smart::after { background: linear-gradient(rgba(250,252,255,.9), rgba(250,252,255,0)); }
.lbl-smart i { width: 7px; height: 7px; }
.tooltip { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .15s; background: rgba(11,22,38,.92); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; display: grid; gap: 1px; max-width: 260px; backdrop-filter: blur(8px); }
.tooltip.on { opacity: 1; }
.tooltip b { font: 700 1rem/1.25 var(--serif); color: #fff; }
.tooltip span { font-size: 0.78rem; color: var(--ink-2); }
.tooltip em { font-style: normal; font-size: 0.7rem; color: var(--gold-2); margin-top: 3px; letter-spacing: .04em; }

/* Loader */
/* Loader: a small pill while the 3D model loads behind the poster; the page stays readable and scrollable */
.loader { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 45; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(11, 22, 38, 0.86); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); pointer-events: none; transition: opacity .8s ease, visibility .8s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-body { width: 190px; }
.mark { color: var(--gold-2); font-size: 1.1rem; margin: 0; animation: spin 6s linear infinite; display: inline-flex; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar { height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .3s ease; }
.loader-text { font-size: 0.76rem; color: var(--ink-2); margin: 0; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 760px) { .loader { bottom: auto; top: 118px; padding: 8px 14px 8px 12px; } .loader-body { width: 160px; } }
/* while the 3D model builds, keep the page cheap to repaint so the build gets the processor: no blurs, no spinning */
body.is-loading .btn, body.is-loading .todchip, body.is-loading .loader, body.is-loading .card, body.is-loading .tag-concept, body.is-loading .lwlp li { backdrop-filter: none; }
body.is-loading .mark { animation: none; }
body.is-loading .bar span { transition: none; }

/* ------------------------------------------------------------------ */
/* Chrome: header, rail, chips                                          */
/* ------------------------------------------------------------------ */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 14px clamp(16px, 3vw, 36px); background: linear-gradient(180deg, rgba(7,14,26,.7), rgba(7,14,26,0)); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { color: var(--gold-2); }
.brand-name { font: 700 1.1rem/1 var(--serif); letter-spacing: -.01em; }
.concept-pill { font: 600 0.66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; background: rgba(11,22,38,.4); white-space: nowrap; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 0.86rem; padding: 7px 11px; border-radius: 999px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-toggle { display: none; background: rgba(11,22,38,.5); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 15; display: flex; flex-direction: column; gap: 2px; }
.rail button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: none; border: 0; padding: 5px 0; cursor: pointer; color: var(--ink-2); font: 500 0.74rem/1 var(--sans); letter-spacing: .04em; }
.rail button span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.rail button i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .25s; }
.rail:hover button span, .rail button.on span { opacity: 1; transform: none; }
.rail button.on { color: #fff; }
.rail button.on i { background: var(--gold-2); box-shadow: 0 0 0 4px rgba(232,197,120,.22); transform: scale(1.2); }
.todchip { position: fixed; left: 20px; bottom: 18px; z-index: 15; display: flex; align-items: center; gap: 9px; padding: 7px 13px; border-radius: 999px; background: rgba(11,22,38,.6); border: 1px solid var(--line-2); font: 500 0.76rem/1 var(--sans); color: var(--ink-2); backdrop-filter: blur(8px); }
.todchip .sun { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #ffe3a3, #e8a94b); box-shadow: 0 0 10px #f2c26a; }
body.night .todchip .sun { background: radial-gradient(circle, #f2f5ff, #9fb6ff); box-shadow: 0 0 10px #9fb6ff; }
.tourbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 26; display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 16px; border-radius: 999px; background: rgba(11,22,38,.88); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.tb-label { font: 600 0.78rem/1 var(--sans); color: var(--gold-2); letter-spacing: .04em; margin-right: 4px; white-space: nowrap; }

/* ------------------------------------------------------------------ */
/* Story steps                                                          */
/* ------------------------------------------------------------------ */
.story { position: relative; z-index: 3; pointer-events: none; transition: opacity .6s ease; }
body.exploring .story { opacity: 0; visibility: hidden; }
.step { min-height: 112vh; display: flex; align-items: center; padding: 110px clamp(20px, 6vw, 96px) 90px; }
.step.short { min-height: 88vh; }
.step[data-side="left"] { justify-content: flex-start; }
.step[data-side="right"] { justify-content: flex-end; padding-right: clamp(60px, 8vw, 130px); }
.step[data-side="center"] { justify-content: center; }
.card { pointer-events: auto; width: min(470px, 100%); background: linear-gradient(160deg, rgba(16,30,50,.86), rgba(9,18,32,.78)); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 30px 26px; box-shadow: var(--shadow); backdrop-filter: blur(16px) saturate(120%); opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.step.in .card, .step.in .phone { opacity: 1; transform: none; }
.card.wide { width: min(1020px, 100%); }
.card p { color: var(--ink-2); }
.card h2 { margin-bottom: 14px; }

/* Hero */
.hero { min-height: 100vh; align-items: flex-end; padding-bottom: 12vh; position: relative; }
.hero-copy { pointer-events: auto; max-width: 720px; }
.tag-concept { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font: 500 0.74rem/1 var(--sans); color: var(--ink-2); letter-spacing: .06em; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; background: rgba(11,22,38,.45); backdrop-filter: blur(8px); }
.tag-concept span { background: var(--gold-2); color: #1b1406; border-radius: 999px; padding: 5px 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 0.64rem; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.hero h1 em { font-style: normal; color: var(--gold-2); font-weight: 800; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: #e3e8ee; max-width: 520px; margin-bottom: 18px; }
.lwlp { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 12px; }
.lwlp li { font: 600 0.8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); }
.lwlp li + li::before { content: '+ '; color: var(--gold-2); }
.tagline { font: 600 1.1rem/1.3 var(--serif); color: var(--gold-2); margin-bottom: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.fine { font-size: 0.78rem; color: var(--muted); max-width: 560px; }
.hero-hint { position: absolute; right: clamp(20px, 6vw, 96px); bottom: 12vh; display: grid; gap: 6px; text-align: right; margin: 0; font: 500 0.74rem/1.3 var(--sans); color: var(--ink-2); letter-spacing: .05em; }

/* Legend, pillars */
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--ink-2); }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.pillars { display: grid; gap: 6px; margin-top: 8px; }
.pillar { display: grid; grid-template-columns: 82px 1fr; gap: 12px; align-items: baseline; text-align: left; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: background .2s, border-color .2s; }
.pillar:hover, .pillar:focus-visible, .pillar.on { background: rgba(232,197,120,.1); border-color: var(--line); }
.pillar b { font: 600 0.74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.pillar span { font-size: 0.86rem; color: var(--ink-2); line-height: 1.45; }
.pillar span strong { display: block; color: #fff; font: 700 0.98rem/1.3 var(--serif); margin-bottom: 2px; }

/* District cards */
.dcat { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 0.72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.dcat i { width: 9px; height: 9px; border-radius: 3px; }
.sub { font: 500 1rem/1.35 var(--sans); color: var(--ink-2) !important; margin: -6px 0 14px; }
.chips-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 4px 0 16px; }
.chips-list li { font-size: 0.78rem; color: #dfe5ec; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 999px; }
.chips-list li.s { border-color: rgba(232,197,120,.4); color: var(--gold-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 4px; }
.two h4 { font: 700 0.68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 8px 0 6px; }
.two p { font-size: 0.86rem; margin: 0; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.srcs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 14px; font-size: 0.74rem; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; color: var(--ink-2); font-size: 0.92rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; border-radius: 2px; background: var(--gold-2); }

/* Day cards */
.day .time { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.day .time b { font: 600 0.72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.day .time span { font-size: 0.74rem; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; }
.dots { display: flex; gap: 5px; margin-top: 16px; }
.dots i { width: 22px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); }
.dots i.on { background: var(--gold-2); }

/* Phone (card & app) */
.step#card { gap: 4vw; justify-content: space-between; }
.phone { pointer-events: auto; width: 300px; flex: none; min-height: 540px; border-radius: 40px; padding: 16px 16px 18px; background: linear-gradient(170deg, #f8f4ec, #ede6d8); color: #12233a; border: 9px solid #05090f; box-shadow: 0 40px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.4); opacity: 0; transform: translateY(40px); transition: opacity .9s ease .15s, transform .9s cubic-bezier(.2,.7,.2,1) .15s; margin-right: clamp(40px, 6vw, 110px); }
.phone-top { display: flex; justify-content: space-between; align-items: center; font: 600 0.92rem/1 var(--sans); padding: 6px 6px 0; }
.pill-demo { font-size: 0.66rem; background: #f6dcd3; color: #8a3a2a; padding: 3px 9px; border-radius: 999px; letter-spacing: .06em; text-transform: uppercase; }
.app-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 14px 0; background: rgba(18,35,58,.07); padding: 4px; border-radius: 14px; }
.app-tabs button { border: 0; background: none; padding: 7px 0; border-radius: 11px; font: 600 0.74rem/1 var(--sans); color: #5c6878; cursor: pointer; }
.app-tabs button[aria-selected=true] { background: #fff; color: #12233a; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.app-h { font: 700 1.1rem/1.2 var(--serif); margin: 4px 0 10px; color: #12233a; }
.app-note { font-size: 0.72rem; color: #66717f; line-height: 1.5; margin-top: 10px; }
.app-sub { font: 700 0.66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a6a2a; margin: 14px 0 6px; }
.tap { width: 100%; border: 1.5px dashed #c9a35a; background: #fffdf8; border-radius: 18px; padding: 20px; display: grid; justify-items: center; gap: 4px; cursor: pointer; font: 600 0.95rem/1.2 var(--sans); color: #12233a; }
.tap small { font-weight: 400; color: #66717f; font-size: 0.74rem; }
.tap.ok { border-style: solid; border-color: #4f8e5c; animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(.97); } }
.log { list-style: none; padding: 0; margin: 10px 0 0; font-size: 0.78rem; max-height: 120px; overflow: auto; }
.log li { display: flex; gap: 7px; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(18,35,58,.08); }
.log i { width: 7px; height: 7px; border-radius: 50%; background: #4f8e5c; flex: none; }
.pass { background: linear-gradient(135deg, #12233a, #2b4466); color: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 3px; }
.pass span { font-size: 0.74rem; color: #c9d3df; }
.stops { columns: 2; column-gap: 12px; font-size: 0.76rem; padding-left: 18px; margin: 0; color: #36475c; }
.app-form { display: grid; gap: 8px; font-size: 0.8rem; }
.app-form select { background: #fff; color: #12233a; border: 1px solid #d9d2c4; }
.locked { text-align: center; background: #fff; border: 1px solid #e1d9ca; border-radius: 16px; padding: 16px 14px; }
.locked b { display: block; margin: 4px 0; }
.locked p { font-size: 0.76rem; color: #66717f; margin: 0; }
.cycle { counter-reset: c; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; font-size: 0.76rem; color: #36475c; }
.cycle li { counter-increment: c; display: flex; gap: 6px; align-items: center; }
.cycle li::before { content: counter(c); width: 18px; height: 18px; border-radius: 50%; background: #12233a; color: #fff; display: grid; place-items: center; font-size: 0.64rem; flex: none; }
.warn { font-size: 0.8rem; color: #f3dca8 !important; background: rgba(214,173,92,.1); border: 1px solid rgba(214,173,92,.3); border-radius: 12px; padding: 10px 12px; }

/* Sustainability */
.flowkey { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 0.8rem; color: var(--ink-2); }
.flowkey i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.sus { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sus div { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; }
.sus b { display: block; font: 700 0.92rem/1.3 var(--serif); color: #fff; }
.sus span { font-size: 0.76rem; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 2px; }

/* Investors */
.phase-tabs { display: flex; gap: 6px; margin: 4px 0 16px; }
.phase-tabs span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid var(--line-2); font: 600 0.74rem/1 var(--sans); letter-spacing: .12em; color: var(--muted); }
.phase-tabs span.on { background: rgba(232,197,120,.14); border-color: var(--line); color: var(--gold-2); }
.phase-tabs span.done { color: var(--ink-2); }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line-2); }
.syn { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.syn .syn-need { width: 34%; }
.syn th, .syn td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; color: var(--ink-2); }
.syn th { font: 700 0.66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); background: rgba(255,255,255,.03); }
.syn td:first-child { color: #fff; font-weight: 600; }
.syn tbody tr:nth-child(even) td { background: rgba(255,255,255,.018); }
.syn .ven { display: inline-block; margin-right: 20px; color: #e6ebf1; position: relative; padding-left: 14px; }
.syn .ven::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 8px; height: 2px; border-radius: 2px; background: var(--gold-2); }
.syn .ven-note { display: block; margin-top: 3px; font-size: 0.78rem; color: var(--muted); font-style: normal; }
@media (max-width: 760px) { .syn th, .syn td { padding: 11px 12px; } .syn .ven { display: block; margin-right: 0; } }
.syn tr:last-child td { border-bottom: 0; }
.dd { counter-reset: d; list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 7px; }
.dd li { counter-increment: d; display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 0.86rem; color: var(--ink-2); line-height: 1.45; }
.dd li::before { content: counter(d, decimal-leading-zero); font: 600 0.7rem/1.6 var(--sans); color: var(--gold-2); }

/* Members */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 14px; }
.benefits div { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; }
.benefits b { display: block; font: 700 0.95rem/1.3 var(--serif); color: #fff; }
.benefits span { font-size: 0.76rem; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 2px; }
.notyet { font-size: 0.82rem; color: #f3c9bd; background: rgba(224,135,111,.08); border: 1px solid rgba(224,135,111,.3); border-radius: 12px; padding: 10px 12px; margin-bottom: 16px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: start; }
.faq details { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 12px 14px; display: grid; gap: 6px; font: 700 0.98rem/1.35 var(--serif); color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tag { justify-self: start; }
.faq details[open] { border-color: var(--line); background: rgba(232,197,120,.05); }
.faq details p { padding: 0 14px 14px; margin: 0; font-size: 0.86rem; }

/* Forms */
.demo-banner { font-size: 0.86rem; color: #f3dca8 !important; background: rgba(214,173,92,.1); border: 1px solid rgba(214,173,92,.3); border-radius: 12px; padding: 10px 14px; }
.ftabs { display: inline-flex; gap: 3px; background: rgba(255,255,255,.05); padding: 4px; border-radius: 12px; margin: 6px 0 14px; }
.ftabs button { border: 0; background: none; padding: 8px 16px; border-radius: 9px; cursor: pointer; color: var(--ink-2); font-weight: 600; font-size: 0.86rem; }
.ftabs button[aria-selected=true] { background: rgba(232,197,120,.16); color: var(--gold-2); }
.demo-form { display: grid; gap: 12px; }
.demo-form label { display: grid; gap: 5px; font: 600 0.76rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
input, select, textarea { font: 400 0.95rem/1.4 var(--sans); color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; width: 100%; text-transform: none; letter-spacing: 0; }
select option { color: #12233a; }
input[type=checkbox], input[type=range] { width: auto; padding: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-2); }
[aria-invalid=true] { border-color: var(--red) !important; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form .btn { justify-self: start; }
.form-status { margin: 0; font-size: 0.88rem; }
.form-status.ok { color: #f3dca8 !important; background: rgba(214,173,92,.1); border: 1px dashed rgba(214,173,92,.5); border-radius: 10px; padding: 10px 12px; }
.form-status.err { color: var(--red) !important; }

/* Sources */
.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.leader { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 16px; padding: 18px 20px 6px; }
.leader img { display: block; width: 130px; height: 156px; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); margin-bottom: 12px; }
.leader h3 { margin: 0; font: 700 1.08rem/1.3 var(--serif); color: #fff; }
.leader-role { margin: 2px 0 10px; font-size: 0.8rem; color: var(--gold-2); letter-spacing: .02em; }
.leader-text p:not(.leader-role) { font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 12px; }
.leaders-note { margin: 14px 0 0; font-size: 0.78rem; color: var(--muted); }
@media (max-width: 1100px) {
  .leaders { grid-template-columns: 1fr; }
  .leader { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; }
  .leader img { width: 120px; height: 144px; margin: 0; }
}
@media (max-width: 600px) { .leader { display: block; } .leader img { margin-bottom: 12px; } }
.srcgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.srcgrid article { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; }
.srcgrid ul { padding-left: 16px; margin: 8px 0 0; font-size: 0.76rem; color: var(--ink-2); line-height: 1.45; }
.srcgrid li { margin-bottom: 5px; }
.foot { margin-top: 18px; border-top: 1px solid var(--line-2); padding-top: 14px; font-size: 0.8rem; }

/* ------------------------------------------------------------------ */
/* Drawer                                                               */
/* ------------------------------------------------------------------ */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: min(430px, 100vw); overflow-y: auto; background: linear-gradient(170deg, rgba(16,30,50,.95), rgba(8,16,29,.95)); border-left: 1px solid var(--line); padding: 72px 30px 30px; box-shadow: -20px 0 60px rgba(0,0,0,.35); backdrop-filter: blur(14px); animation: slidein .45s cubic-bezier(.2,.7,.2,1); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.drawer h3 { font-size: 1.7rem; margin-bottom: 4px; }
.drawer h4 { font: 700 0.66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 18px 0 8px; }
.drawer p { color: var(--ink-2); font-size: 0.92rem; }
.drawer ul.fac { padding-left: 18px; margin: 0; color: var(--ink-2); font-size: 0.9rem; }
.drawer ul.fac li { margin-bottom: 4px; }
.close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.06); font-size: 1.2rem; cursor: pointer; }
.close:hover { background: rgba(255,255,255,.14); }

/* ------------------------------------------------------------------ */
/* Explore HUD                                                          */
/* ------------------------------------------------------------------ */
.hud { position: fixed; inset: 0; z-index: 25; pointer-events: none; }
.hud-panel { pointer-events: auto; position: absolute; left: 18px; top: 76px; width: 300px; max-height: calc(100vh - 170px); display: flex; flex-direction: column; background: linear-gradient(170deg, rgba(16,30,50,.9), rgba(8,16,29,.88)); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(14px); overflow: hidden; }
.hud-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--line-2); }
.hud-head .eyebrow { margin: 0; }
.hud-body { overflow-y: auto; padding: 4px 16px 14px; }
.hud-panel.collapsed .hud-body { display: none; }
.hud-body section { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.hud-body section:last-child { border: 0; }
.hud-body h3 { font: 700 0.64rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.hud-body h3 span { color: var(--gold-2); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.chip { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 0.78rem; cursor: pointer; color: var(--ink-2); user-select: none; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip i { width: 9px; height: 9px; border-radius: 3px; }
.chip:has(input:not(:checked)) { opacity: .4; }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold-2); }
input[type=range] { width: 100%; accent-color: var(--gold-2); }
.range-ends { display: flex; justify-content: space-between; font-size: 0.66rem; color: var(--muted); }
.toggles { display: grid; gap: 8px; }
.sw { display: flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--ink-2); cursor: pointer; }
.sw input { accent-color: var(--gold-2); width: 16px; height: 16px; }
.micro { font-size: 0.72rem; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.dlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; }
.dlist button { width: 100%; display: flex; align-items: center; gap: 9px; background: none; border: 0; padding: 6px 6px; border-radius: 8px; font-size: 0.84rem; color: var(--ink-2); cursor: pointer; text-align: left; }
.dlist button:hover, .dlist button[aria-current=true] { background: rgba(232,197,120,.1); color: #fff; }
.dlist i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.hud-bar { pointer-events: auto; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 999px; background: rgba(11,22,38,.86); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(12px); max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
.hud-bar .btn { flex: none; white-space: nowrap; }
.hud-bar .sep { width: 1px; height: 22px; background: var(--line-2); flex: none; }
.hud-hint { position: absolute; right: 20px; bottom: 80px; margin: 0; font-size: 0.72rem; color: var(--ink-2); text-shadow: 0 1px 6px rgba(0,0,0,.7); max-width: 280px; text-align: right; }
body.exploring .rail, body.exploring .todchip { display: none; }

/* ------------------------------------------------------------------ */
/* Responsive                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nav ul { display: none; position: absolute; top: 62px; right: 16px; flex-direction: column; background: rgba(11,22,38,.96); border: 1px solid var(--line); border-radius: 14px; padding: 8px; min-width: 200px; }
  .nav ul.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .srcgrid { grid-template-columns: 1fr 1fr; }
  .step#card { flex-direction: column; justify-content: center; gap: 24px; }
  .phone { margin-right: 0; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .top { padding: 10px 14px; gap: 10px; }
  .concept-pill { display: none; }
  .btn-explore { padding: 8px 13px; font-size: 0.78rem; }
  .rail, .hero-hint { display: none; }
  .step, .step[data-side="right"] { min-height: 100vh; align-items: flex-end; justify-content: center; padding: 70px 12px 22px; }
  .step.short { min-height: 92vh; }
  .card { padding: 22px 20px 18px; border-radius: 18px; max-height: 64vh; overflow-y: auto; }
  .card.wide { max-height: 80vh; }
  .hero { padding-bottom: 8vh; }
  .hero h1 { font-size: 2.9rem; }
  .two, .sus, .benefits, .faq, .grid2, .srcgrid, .legend { grid-template-columns: 1fr; }
  .todchip { left: 12px; bottom: auto; top: 58px; }
  .phone { width: 100%; max-width: 330px; min-height: 0; }
  .step#card { align-items: center; padding-top: 90px; }
  .drawer { top: auto; height: 72vh; width: 100vw; border-left: 0; border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; padding: 26px 20px 24px; animation-name: slideup; }
  @keyframes slideup { from { transform: translateY(40px); opacity: 0; } }
  .hud-panel { left: 8px; right: 8px; top: auto; bottom: 74px; width: auto; max-height: 52vh; }
  .hud-bar { left: 8px; right: 8px; transform: none; border-radius: 16px; justify-content: flex-start; bottom: 10px; }
  .hud-bar .btn-icon { display: none; }
  .hud-hint { display: none; }
  .lbl { font-size: 11px; padding: 4px 9px; }
  .lbl-poi { font-size: 10px; }
  .tourbar { bottom: 10px; left: 8px; right: 8px; transform: none; justify-content: center; flex-wrap: wrap; border-radius: 16px; }
}

/* compact two-column pillars so the ecosystem card fits one screen */
.card:has(.pillars) { width: min(560px, 100%); }
.pillars { grid-template-columns: 1fr 1fr; }
.pillar { display: block; padding: 10px 12px; }
.pillar b { display: block; margin-bottom: 6px; }
.pillar span { font-size: 0.78rem; }
.pillar span strong { font-size: 0.92rem; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar span { font-size: 0.72rem; } }
.brand-name, .btn-explore { white-space: nowrap; }
@media (max-width: 760px) {
  .brand-name { font-size: 1rem; }
  .nav-toggle { padding: 6px 12px; font-size: .8rem; }
  body.side-hero .shade { background: linear-gradient(0deg, rgba(7,14,26,.85) 0%, rgba(7,14,26,.45) 45%, rgba(7,14,26,.2) 70%, rgba(7,14,26,.5) 100%); }
  body.side-left .shade, body.side-right .shade, body.side-center .shade { background: linear-gradient(0deg, rgba(7,14,26,.55) 0%, transparent 45%); }
}
/* cards never exceed the viewport; long ones scroll inside */
.card { max-height: calc(100vh - 150px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(232,197,120,.35) transparent; }
.card::-webkit-scrollbar { width: 6px; }
.card::-webkit-scrollbar-thumb { background: rgba(232,197,120,.35); border-radius: 6px; }
@media (max-width: 760px) { .card { max-height: 62vh; } .card.wide { max-height: 78vh; } }

/* ------------------------------------------------------------------ */
/* Icons (SVG instead of text symbols)                                 */
/* ------------------------------------------------------------------ */
.brand-mark { display: inline-flex; }
.mark-svg { width: 18px; height: 18px; fill: var(--gold-2); display: block; }
.mark .mark-svg { width: 30px; height: 30px; margin: 0 auto; }
.btn-icon svg, .close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.close { display: grid; place-items: center; padding: 0; }
.ico-lock { width: 26px; height: 26px; fill: none; stroke: #12233a; stroke-width: 1.8; stroke-linecap: round; display: block; margin: 0 auto 4px; }
.lbl-stop b { display: inline-grid; place-items: center; min-width: 16px; height: 16px; border-radius: 999px; background: #1b1406; color: var(--gold-2); font-size: 9.5px; margin-right: 2px; }
.hero-hint { gap: 4px; }

/* ------------------------------------------------------------------ */
/* Fusion Group logo (on a light badge so the navy lettering reads)    */
/* ------------------------------------------------------------------ */
.brand-logo { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; border-radius: 16px; background: linear-gradient(160deg, #ffffff 0%, #f5f0e6 100%); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(201, 163, 90, 0.45); transition: transform .25s ease, box-shadow .25s ease; }
.brand-logo img { display: block; height: 60px; width: auto; }
.brand:hover .brand-logo { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(201, 163, 90, 0.7); }
.top { padding-top: 12px; padding-bottom: 12px; }
.hero .lead { margin-bottom: 30px; }
.hud-panel { top: 104px; max-height: calc(100vh - 196px); }
@media (max-width: 760px) {
  .brand-logo { padding: 3px 7px; border-radius: 12px; }
  .brand-logo img { height: 44px; }
  .todchip { top: 72px; }
}

/* 360 view ------------------------------------------------------------- */
.v360 { position: fixed; right: 20px; bottom: 20px; z-index: 27; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 62px; height: 62px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: radial-gradient(circle at 35% 30%, #f6dc9c, var(--gold-2) 55%, #b98a3a); color: #1b1406; box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 6px rgba(232,197,120,.18); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.v360 svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.v360 span { font: 800 0.66rem/1 var(--sans); letter-spacing: .04em; }
.v360:hover { box-shadow: 0 12px 32px rgba(0,0,0,.4), 0 0 0 9px rgba(232,197,120,.24); }
.v360:active { cursor: grabbing; }
@media (prefers-reduced-motion: no-preference) { .v360 { animation: v360pulse 2.8s ease-in-out infinite; } }
@keyframes v360pulse { 50% { box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 12px rgba(232,197,120,.08); } }
body.v360-dragging .v360 { opacity: .45; }
body.v360-dragging, body.v360-dragging * { cursor: grabbing !important; }
.v360-ghost { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; display: flex; align-items: center; gap: 8px; transform: translate(-100px, -100px); }
.v360-ghost i { display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--gold-2); color: #1b1406; box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.v360-ghost svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.v360-ghost span { padding: 6px 11px; border-radius: 999px; background: rgba(11,22,38,.92); border: 1px solid var(--line); color: #fff; font: 700 0.76rem/1.2 var(--sans); white-space: nowrap; }
.pickbar { position: fixed; left: 50%; top: 104px; transform: translateX(-50%); z-index: 29; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 9px 10px 9px 18px; border-radius: 18px; background: rgba(11,22,38,.92); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink-2); font-size: 0.86rem; max-width: calc(100vw - 24px); }
.pickbar select, .viewer-bar select { width: 230px; max-width: 46vw; flex: none; padding: 7px 10px; font-size: 0.82rem; border-radius: 999px; background: rgba(255,255,255,.08); }
body.picking .gl canvas { cursor: crosshair !important; }
body.viewing { overflow: hidden; }
body.viewing .story, body.viewing .hud, body.viewing .rail, body.viewing .todchip, body.viewing .v360, body.viewing .tooltip { opacity: 0; visibility: hidden; }
body.viewing .shade { background: linear-gradient(180deg, rgba(7,14,26,.35), transparent 14%); }
.viewer { position: fixed; inset: 0; z-index: 28; pointer-events: none; }
.viewer-top { pointer-events: auto; position: absolute; left: 18px; top: 104px; display: flex; gap: 16px; align-items: flex-start; max-width: min(420px, calc(100vw - 36px)); padding: 14px 14px 14px 18px; border-radius: 18px; background: linear-gradient(170deg, rgba(16,30,50,.92), rgba(8,16,29,.9)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.viewer-top .eyebrow { margin: 0 0 6px; }
.viewer-top h3 { margin: 0; font-size: 1.15rem; color: #fff; outline: none; }
.viewer-top p#vSub { margin: 4px 0 0; color: var(--muted); font-size: 0.84rem; }
.viewer-bar { pointer-events: auto; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 999px; background: rgba(11,22,38,.88); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
.viewer-bar .btn { flex: none; white-space: nowrap; }
.viewer-bar .btn[aria-pressed="true"] { background: var(--gold-2); color: #1b1406; border-color: transparent; }
.viewer-bar .sep { width: 1px; height: 22px; background: var(--line-2); flex: none; }
.viewer-hint { position: absolute; right: 20px; bottom: 80px; margin: 0; font-size: 0.74rem; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
body.exploring .v360 { bottom: 86px; }
@media (max-width: 760px) {
  .v360 { width: 54px; height: 54px; right: 14px; bottom: 84px; }
  .viewer-top { left: 8px; right: 8px; top: 70px; max-width: none; }
  .viewer-bar { left: 8px; right: 8px; transform: none; border-radius: 16px; justify-content: center; flex-wrap: wrap; overflow: visible; bottom: 10px; }
  .viewer-bar .sep { display: none; }
  .viewer-hint { display: none; }
  .pickbar { top: 70px; }
}
