/* Frontier — owner estate demo. Dark, calm, champagne accent. */
:root {
  color-scheme: dark;
  --bg: #0a0c11;
  --surface: #141821;
  --surface-2: #1a1f2a;
  --surface-3: #222836;
  --stroke: rgba(255, 255, 255, 0.07);
  --stroke-2: rgba(255, 255, 255, 0.12);
  --text: #eef0f4;
  --text-2: #a7adbb;
  --text-3: #6f7686;
  --gold: #d9b779;
  --gold-2: #f0d7a4;
  --gold-soft: rgba(217, 183, 121, 0.12);

  /* status — reserved, always with a label */
  --ok: #3ecf8e;
  --warn: #f5a524;
  --bad: #ff6b6b;
  --idle: #6f7686;

  /* categorical (validated on #141821, dark) — fixed order, follows the hotel */
  --c1: #3987e5; --c2: #d95926; --c3: #199e70; --c4: #c98500; --c5: #d55181; --c6: #9085e9;

  --pos: #3987e5;
  --neg: #e66767;

  --r: 18px;
  --r-sm: 12px;
  --pad: 22px;
  --rail: 84px;
  --top: 64px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans);
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01"; overflow-x: hidden;
}
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: 15px; }
p { margin: 0; }
.muted { color: var(--text-2); font-size: 13px; }
.small { font-size: 12px; }
.num, .big-num, .kpi-val, td { font-variant-numeric: tabular-nums; }
svg { display: block; }
.ico { width: 16px; height: 16px; fill: currentColor; }
.gold { color: var(--gold); fill: var(--gold); }

/* ── Aurora background ── */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aurora i:nth-child(1) { width: 60vw; height: 60vw; left: -15vw; top: -30vw; background: radial-gradient(circle, rgba(57,135,229,.28), transparent 65%); animation: drift1 28s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 50vw; height: 50vw; right: -18vw; top: 10vh; background: radial-gradient(circle, rgba(217,183,121,.18), transparent 65%); animation: drift2 34s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 55vw; height: 55vw; left: 20vw; bottom: -35vw; background: radial-gradient(circle, rgba(144,133,233,.16), transparent 65%); animation: drift1 40s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vw, 10vh) scale(.95); } }

/* ── Mark ── */
.mark { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(145deg, #1d2230, #0f1219); border: 1px solid var(--stroke-2); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(217,183,121,.12); }
.mark svg { width: 60%; height: 60%; }
.mark path { stroke: var(--gold); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mark.sm { width: 30px; height: 30px; border-radius: 9px; box-shadow: none; }

/* ── Splash ── */
.splash { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.splash.done { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 24px; }
.splash .mark path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1.1s var(--ease) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.splash-word { font-family: var(--serif); font-size: 44px; letter-spacing: .01em; opacity: 0; animation: rise .8s var(--ease) .4s forwards; }
.splash-sub { color: var(--text-2); font-size: 14px; opacity: 0; animation: rise .8s var(--ease) .6s forwards; }
.splash-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 460px; min-height: 64px; }
.splash-sources span { font-size: 12px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--stroke-2); color: var(--text-2); opacity: 0; transform: translateY(6px); transition: all .35s var(--ease); display: inline-flex; gap: 6px; align-items: center; }
.splash-sources span.in { opacity: 1; transform: none; }
.splash-sources span.in::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Top bar ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--top); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px; padding-top: env(safe-area-inset-top);
  background: rgba(10, 12, 17, 0.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--stroke);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-width: 0; }
.brand-word { font-family: var(--serif); font-size: 22px; }
.brand-sep { color: var(--text-3); }
.brand-estate { color: var(--text-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-mid { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(62,207,142,.6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62,207,142,.55); } 70% { box-shadow: 0 0 0 9px rgba(62,207,142,0); } 100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); } }
.live-label { color: var(--ok); font-weight: 600; }
.clock { color: var(--text); font-variant-numeric: tabular-nums; font-weight: 500; }
.topbar-muted { color: var(--text-3); }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.ask-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke-2); color: var(--text-2); cursor: pointer; transition: all .2s; font-size: 13px; }
.ask-trigger:hover { color: var(--text); border-color: rgba(217,183,121,.4); }
.ask-trigger .ico { fill: var(--gold); }
kbd { font-family: var(--sans); font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--surface-3); color: var(--text-3); }
.demo-chip { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); padding: 5px 9px; border-radius: 99px; background: var(--gold-soft); border: 1px solid rgba(217,183,121,.25); white-space: nowrap; }

/* ── Rail ── */
.rail { position: fixed; top: var(--top); left: 0; bottom: 0; width: var(--rail); z-index: 30; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 18px; border-right: 1px solid var(--stroke); background: rgba(10,12,17,.4); }
.rail a { width: 68px; padding: 10px 0 8px; border-radius: 14px; display: grid; justify-items: center; gap: 4px; color: var(--text-3); text-decoration: none; font-size: 11px; font-weight: 500; transition: all .2s; }
.rail a svg, .tabbar a svg, .tab-ask svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail a:hover { color: var(--text); background: var(--surface); }
.rail a.active { color: var(--gold); background: var(--gold-soft); }

/* ── Layout ── */
main { padding: calc(var(--top) + 28px) 36px 80px calc(var(--rail) + 36px); max-width: calc(1480px + var(--rail)); margin: 0 auto; }
.section { padding: 28px 0 44px; }
.section-head { margin-bottom: 22px; max-width: 760px; }
.section-head.row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.eyebrow.gold { color: var(--gold); }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.005em; }
.lede { color: var(--text-2); margin-top: 10px; font-size: 16px; max-width: 620px; }

.glass { background: linear-gradient(180deg, rgba(26,31,42,.82), rgba(20,24,33,.82)); border: 1px solid var(--stroke); border-top-color: var(--stroke-2); border-radius: var(--r); box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px rgba(0,0,0,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card { padding: var(--pad); min-width: 0; }
.card h3 + .muted { margin-top: 3px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.count-chip { font-size: 12px; color: var(--text-2); padding: 4px 10px; border-radius: 99px; background: var(--surface-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Hero ── */
.hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-bottom: 26px; }
.greeting { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.01em; }
.greeting em { color: var(--gold-2); }
.brief { margin-top: 16px; font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 780px; min-height: 3.2em; line-height: 1.55; }
.brief b { color: var(--text); font-weight: 600; }
.brief .warn-t { color: var(--warn); font-weight: 600; }
.brief .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.health { position: relative; width: 200px; height: 244px; display: block; padding: 0; border-radius: 28px; }
.health-ring { position: absolute; top: 16px; left: 20px; width: 160px; height: 160px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--surface-3); stroke-width: 7; }
.ring-fill { fill: none; stroke: url(#none); stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 2s var(--ease); filter: drop-shadow(0 0 6px rgba(217,183,121,.45)); }
.health-num { position: absolute; top: 96px; left: 0; right: 0; text-align: center; transform: translateY(-50%); font-family: var(--serif); font-size: 58px; line-height: 1; font-variant-numeric: tabular-nums; }
.health-label { position: absolute; left: 0; right: 0; text-align: center; bottom: 38px; font-size: 13px; color: var(--text); font-weight: 600; }
.health-sub { position: absolute; left: 0; right: 0; text-align: center; bottom: 18px; font-size: 12px; color: var(--text-3); }

/* ── KPI tiles ── */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 16px 16px 12px; position: relative; overflow: hidden; cursor: default; transition: transform .25s var(--ease), border-color .25s; }
.kpi:hover { transform: translateY(-2px); border-color: rgba(217,183,121,.28); }
.kpi-label { font-size: 12px; color: var(--text-2); font-weight: 500; }
.kpi-val { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.1; }
.kpi-delta { font-size: 12px; margin-top: 4px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 0 4px; align-items: baseline; white-space: nowrap; }
.kpi-delta .vs { flex-basis: 100%; font-size: 11.5px; }
.kpi-delta.up { color: var(--ok); }
.kpi-delta.down { color: var(--warn); }
.kpi-delta .vs { color: var(--text-3); font-weight: 400; }
.kpi .spark { margin-top: 10px; height: 34px; }
.kpi.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 1px rgba(217,183,121,.8), 0 0 30px rgba(217,183,121,.25); } 100% { box-shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 20px 50px rgba(0,0,0,.35); } }

/* ── Pulse grid: map + feed ── */
.pulse-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
.legend-inline { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lg-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-left: 6px; }
.lg-dot.ok { background: var(--ok); } .lg-dot.warn { background: var(--warn); }
.map-wrap { position: relative; margin: 0 -8px -8px; }
.map-wrap svg { width: 100%; height: auto; }
.map-river { fill: none; stroke: url(#riverGrad); stroke-width: 16; stroke-linecap: round; opacity: .9; }
.map-river-core { fill: none; stroke: rgba(57,135,229,.35); stroke-width: 2; stroke-dasharray: 3 9; animation: flow 6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -120; } }
.map-grid line { stroke: rgba(255,255,255,.035); }
.map-road { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 1.2; }
.map-label { fill: var(--text-3); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.pin { cursor: pointer; }
.pin .halo { fill: var(--ok); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
.pin.warn .halo { fill: var(--warn); opacity: .28; animation-duration: 1.6s; }
.pin .core { fill: #0e1118; stroke: var(--ok); stroke-width: 2.5; transition: all .2s; }
.pin.warn .core { stroke: var(--warn); }
.pin .dot { fill: var(--ok); } .pin.warn .dot { fill: var(--warn); }
.pin text.pin-name { fill: var(--text); font-size: 12.5px; font-weight: 600; }
.pin text.pin-sub { fill: var(--text-2); font-size: 11px; font-variant-numeric: tabular-nums; }
.pin .pin-bg { fill: rgba(14,17,24,.82); stroke: var(--stroke-2); }
.pin:hover .core { stroke-width: 4; }
.pin.ping .core { animation: pinPing .9s var(--ease); }
@keyframes pinPing { 0% { stroke: var(--gold); stroke-width: 6; } 100% { stroke-width: 2.5; } }
@keyframes halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.8); opacity: 0; } }
.pin-cash { fill: var(--gold-2); font-size: 12px; font-weight: 700; pointer-events: none; }

.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow: hidden; mask-image: linear-gradient(180deg, #000 78%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); }
.feed li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--stroke); animation: feedIn .6s var(--ease); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.feed .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); font-size: 16px; }
.feed .fi svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed .ft { font-size: 13.5px; line-height: 1.35; min-width: 0; }
.feed .ft b { font-weight: 600; }
.feed .fs { color: var(--text-3); font-size: 12px; display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .fv { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fv.money { color: var(--gold-2); }
.fi.k-book { color: var(--gold); background: var(--gold-soft); }
.fi.k-review { color: #f5c451; background: rgba(245,196,81,.1); }
.fi.k-guest { color: var(--c1); background: rgba(57,135,229,.12); }
.fi.k-ops { color: var(--ok); background: rgba(62,207,142,.1); }
.fi.k-alert { color: var(--warn); background: rgba(245,165,36,.12); }

/* ── Hotels ── */
.hotel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hotel { padding: 0; overflow: hidden; cursor: pointer; transition: transform .3s var(--ease), border-color .3s; text-align: left; border: 1px solid var(--stroke); }
.hotel:hover { transform: translateY(-3px); border-color: rgba(217,183,121,.3); }
.hotel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hotel-top { position: relative; height: 104px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hotel-top::before { content: ""; position: absolute; inset: 0; background: var(--art); opacity: .9; }
.hotel-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(20,24,33,.95)); }
.hotel-top > * { position: relative; z-index: 1; }
.hotel-name { font-family: var(--serif); font-size: 25px; line-height: 1.05; }
.hotel-area { font-size: 12px; color: var(--text-2); margin-top: 3px; display: flex; gap: 6px; align-items: center; }
.swatch { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex: none; }
.status { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; background: rgba(10,12,17,.7); backdrop-filter: blur(6px); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status.ok { color: var(--ok); } .status.warn { color: var(--warn); }
.hotel-body { padding: 14px 18px 18px; display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: center; }
.occ-ring { position: relative; width: 76px; height: 76px; }
.occ-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.occ-ring .t { fill: none; stroke: var(--surface-3); stroke-width: 6; }
.occ-ring .f { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.occ-ring .v { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-weight: 600; font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.occ-ring .v small { display: block; font-size: 9.5px; color: var(--text-3); font-weight: 500; margin-top: 3px; letter-spacing: .04em; text-transform: uppercase; }
.hotel-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
.hs-l { font-size: 11px; color: var(--text-3); }
.hs-v { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hs-v.warn { color: var(--warn); }
.hotel-foot { border-top: 1px solid var(--stroke); padding: 11px 18px; font-size: 12.5px; color: var(--text-2); display: flex; gap: 8px; align-items: center; }
.hotel-foot .spark-i { color: var(--gold); flex: none; }

/* ── Controls ── */
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--stroke); }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: all .2s; }
.seg button.on { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }

/* ── Revenue ── */
.rev-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; }
.rev-total { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.big-num { font-size: clamp(30px, 3.2vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.vs { font-size: 13px; color: var(--text-2); text-align: right; }
.vs b { color: var(--ok); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font-size: 12px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .ln { width: 14px; height: 0; border-top: 2px dashed var(--text-2); }
.chart { position: relative; width: 100%; }
.chart svg { width: 100%; overflow: visible; }
.axis text { fill: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.gridline { stroke: rgba(255,255,255,.06); }
.crosshair { stroke: rgba(255,255,255,.35); stroke-width: 1; pointer-events: none; }
.area { transition: opacity .3s; }
.budget { fill: none; stroke: var(--text-2); stroke-width: 1.5; stroke-dasharray: 5 5; }
.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: drawLine 1.8s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

.channel-bar { display: flex; gap: 2px; height: 16px; border-radius: 6px; overflow: hidden; margin: 18px 0 16px; }
.channel-bar i { display: block; height: 100%; width: 0; transition: width 1.4s var(--ease); }
.channel-list { display: grid; gap: 10px; }
.ch-row { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 10px; align-items: center; font-size: 13.5px; }
.ch-row .pct { font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-row .comm { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; min-width: 86px; text-align: right; }
.callout { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--gold-soft); border: 1px solid rgba(217,183,121,.22); font-size: 13.5px; color: var(--text); line-height: 1.5; }
.callout b { color: var(--gold-2); }

/* ── Guests ── */
.guest-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.reviews-card { grid-column: 1 / -1; }
.dumb-key { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; }
.dumb-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dumb-key i.then { border: 1.5px solid var(--text-3); }
.dumb-key i.now { background: var(--gold); }
.dumb-key i.pos { background: var(--pos); border-radius: 2px; }
.dumb-key i.neg { background: var(--neg); border-radius: 2px; }
.platforms { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.plat { font-size: 12px; padding: 5px 10px; border-radius: 10px; background: var(--surface-3); display: inline-flex; gap: 6px; align-items: baseline; }
.plat b { font-variant-numeric: tabular-nums; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.review { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 10px; }
.review-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3); }
.stars { color: #f5c451; letter-spacing: 1px; font-size: 13px; }
.stars .off { color: var(--surface-3); }
.review q { font-size: 14px; line-height: 1.5; quotes: "“" "”"; }
.review .who { font-size: 12px; color: var(--text-2); }
.reply { margin-top: auto; border-top: 1px dashed var(--stroke-2); padding-top: 10px; font-size: 12.5px; color: var(--text-2); }
.reply-h { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.btn { border: 1px solid var(--stroke-2); background: var(--surface-3); border-radius: 9px; padding: 5px 10px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn:hover { border-color: rgba(217,183,121,.5); }
.btn.gold { background: var(--gold); color: #1a1409; border-color: var(--gold); }
.btn.done { background: rgba(62,207,142,.12); color: var(--ok); border-color: rgba(62,207,142,.3); cursor: default; }

/* ── Ops ── */
.ops-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hk { display: grid; gap: 14px; }
.hk-row { display: grid; gap: 6px; }
.hk-top { display: flex; justify-content: space-between; font-size: 13px; }
.hk-top span:last-child { color: var(--text-2); font-variant-numeric: tabular-nums; }
.bar { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; width: 0; transition: width 1.2s var(--ease); }
.tickets { display: grid; gap: 8px; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--stroke); font-size: 13px; transition: opacity .5s, transform .5s; }
.ticket.gone { opacity: 0; transform: translateX(20px); }
.prio { font-size: 10.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; letter-spacing: .03em; }
.prio.high { background: rgba(255,107,107,.14); color: var(--bad); }
.prio.med { background: rgba(245,165,36,.14); color: var(--warn); }
.prio.low { background: var(--surface-3); color: var(--text-2); }
.ticket small { display: block; color: var(--text-3); font-size: 11.5px; }
.ticket .age { color: var(--text-3); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Brand ── */
.brand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.brand-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; align-content: start; }
.bs-l { font-size: 12px; color: var(--text-2); }
.bs-v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.bs-d { font-size: 12px; color: var(--ok); font-weight: 500; }
.funnel { display: grid; gap: 10px; margin-top: 18px; }
.fn-row { display: grid; grid-template-columns: 1fr; gap: 5px; }
.fn-top { display: flex; justify-content: space-between; font-size: 13px; }
.fn-top b { font-variant-numeric: tabular-nums; }
.fn-bar { height: 26px; border-radius: 7px; background: var(--surface-3); overflow: hidden; }
.fn-bar i { display: block; height: 100%; border-radius: 7px 4px 4px 7px; width: 0; transition: width 1.4s var(--ease); }
.fn-conv { font-size: 11.5px; color: var(--text-3); }

/* ── Insights ── */
.insight-sum { display: flex; align-items: center; gap: 22px; padding: 20px 24px; margin-bottom: 14px; flex-wrap: wrap; border-color: rgba(217,183,121,.22); background: linear-gradient(120deg, rgba(217,183,121,.12), rgba(20,24,33,.85) 55%); }
.insight-sum .big-num { color: var(--gold-2); }
.insight-sum p { color: var(--text-2); max-width: 520px; }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.insight:first-child { grid-column: span 2; }
.insight:first-child h4 { font-size: 22px; }
.insight { display: flex; flex-direction: column; gap: 12px; transition: transform .3s var(--ease), border-color .3s; }
.insight:hover { transform: translateY(-3px); border-color: rgba(217,183,121,.3); }
.ins-tag { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ins-val { color: var(--gold-2); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.ins-val span { font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-left: 4px; }
.insight h4 { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 600; }
.insight p { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.ins-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; }
.ins-src { font-size: 11.5px; color: var(--text-3); }

/* ── Closing ── */
.closing { text-align: center; padding: 80px 0 60px; }
.closing-inner { max-width: 760px; margin: 0 auto; display: grid; justify-items: center; }
.closing-title { font-size: clamp(38px, 5vw, 64px); }
.closing-title em { color: var(--gold-2); }
.closing .lede { margin: 16px auto 0; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 28px 0 26px; }
.sources span { font-size: 12.5px; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--stroke-2); color: var(--text-2); display: inline-flex; gap: 7px; align-items: center; }
.sources span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.fine { color: var(--text-3); font-size: 12px; line-height: 1.7; }

/* ── Drawer ── */
.scrim { position: fixed; inset: 0; background: rgba(4,5,8,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: all .35s; z-index: 60; }
.scrim.on { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(540px, 100vw); z-index: 61; background: #10131a; border-left: 1px solid var(--stroke-2); transform: translateX(102%); transition: transform .5s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.drawer.on { transform: none; }
.drawer-grab { display: none; }
.drawer-close { position: sticky; top: 14px; display: block; margin: 14px 14px -48px auto; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--stroke-2); background: rgba(20,24,33,.9); font-size: 20px; line-height: 1; cursor: pointer; }
.dr-hero { position: relative; padding: 70px 26px 22px; overflow: hidden; }
.dr-hero::before { content: ""; position: absolute; inset: 0; background: var(--art); opacity: .85; }
.dr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, #10131a); }
.dr-hero > * { position: relative; z-index: 1; }
.dr-hero h2 { font-size: 40px; }
.dr-sec { padding: 8px 26px 22px; }
.dr-sec h3 { margin-bottom: 10px; font-size: 13px; color: var(--text-2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.dr-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dr-kpi { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--stroke); }
.dr-kpi .kpi-val { font-size: 21px; margin-top: 2px; }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 4px; }
.room { aspect-ratio: 1; border-radius: 6px; font-size: 9px; display: grid; place-items: center; color: rgba(255,255,255,.85); font-weight: 600; opacity: 0; transform: scale(.6); animation: pop .4s var(--ease) forwards; cursor: default; }
@keyframes pop { to { opacity: 1; transform: none; } }
.room-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-2); margin-top: 12px; }
.room-legend span { display: inline-flex; align-items: center; gap: 6px; }
.team { display: grid; gap: 8px; }
.team-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 9px 12px; border-radius: 10px; background: var(--surface); }
.team-row span:last-child { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ── Ask ── */
.ask { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(4,5,8,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: all .3s; }
.ask.on { opacity: 1; visibility: visible; }
.ask-panel { width: min(720px, 100%); padding: 0; overflow: hidden; transform: translateY(-10px) scale(.98); transition: transform .35s var(--ease); background: #12151d; max-height: 78vh; display: flex; flex-direction: column; }
.ask.on .ask-panel { transform: none; }
.ask-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--stroke); }
.ask-bar .ico { width: 20px; height: 20px; flex: none; }
.ask-bar input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 17px; }
.ask-bar input::placeholder { color: var(--text-3); }
.ask-x { border: 1px solid var(--stroke-2); background: var(--surface-3); color: var(--text-3); border-radius: 7px; font-size: 11px; padding: 3px 7px; cursor: pointer; }
.ask-suggest { padding: 12px; display: grid; gap: 4px; }
.ask-suggest button { text-align: left; border: 0; background: transparent; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-size: 14.5px; color: var(--text-2); display: flex; gap: 10px; align-items: center; }
.ask-suggest button:hover, .ask-suggest button:focus-visible { background: var(--surface-2); color: var(--text); outline: 0; }
.ask-suggest button::before { content: "→"; color: var(--gold); }
.ask-answer { padding: 0 22px; overflow-y: auto; }
.ask-answer:not(:empty) { padding: 18px 22px 22px; border-top: 1px solid var(--stroke); }
.ans-q { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.ans-t { font-size: 16px; line-height: 1.6; }
.ans-t b { color: var(--gold-2); font-weight: 600; }
.ans-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 16px; }
.ans-card { padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--stroke); opacity: 0; animation: rise .5s var(--ease) forwards; }
.ans-card .kpi-val { font-size: 20px; margin-top: 2px; }
.ans-src { margin-top: 14px; font-size: 11.5px; color: var(--text-3); }

/* ── Tooltip ── */
.tip { position: fixed; z-index: 90; pointer-events: none; background: rgba(14,17,24,.96); border: 1px solid var(--stroke-2); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; box-shadow: 0 12px 40px rgba(0,0,0,.5); opacity: 0; transition: opacity .15s; min-width: 150px; max-width: 260px; }
.tip.on { opacity: 1; }
.tip .th { font-weight: 600; margin-bottom: 6px; }
.tip .tr { display: flex; justify-content: space-between; gap: 14px; color: var(--text-2); line-height: 1.7; }
.tip .tr span:first-child { display: inline-flex; gap: 6px; align-items: center; }
.tip .tr b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.tip .tot { border-top: 1px solid var(--stroke-2); margin-top: 4px; padding-top: 4px; }

/* ── Mobile tab bar ── */
.tabbar { display: none; }

/* ═════ Responsive ═════ */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .brand-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulse-grid, .rev-grid, .guest-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr 1fr; }
  .ops-grid > :first-child { grid-column: 1 / -1; }
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .feed { max-height: 360px; }
}
@media (max-width: 760px) {
  :root { --top: 56px; --pad: 18px; }
  .rail, .topbar-mid .topbar-muted, .ask-trigger span, .ask-trigger kbd, .brand-sep, .brand-estate { display: none; }
  .ask-trigger { padding: 8px; }
  .topbar { padding: 0 16px; }
  .topbar-mid { position: absolute; left: 50%; transform: translateX(-50%); }
  main { padding: calc(var(--top) + 18px) 16px calc(96px + env(safe-area-inset-bottom)) 16px; }
  .section { padding: 18px 0 30px; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .health { width: 100%; height: auto; display: grid; grid-template-columns: 96px 1fr; place-items: center start; padding: 14px 18px; column-gap: 16px; border-radius: var(--r); }
  .health-ring { position: relative; top: auto; left: auto; width: 96px; height: 96px; grid-row: 1 / span 2; }
  .health-num { position: absolute; left: 18px; right: auto; top: 50%; width: 96px; text-align: center; margin: 0; transform: translateY(-50%); font-size: 36px; }
  .health-label, .health-sub { position: static; text-align: left; }
  .health-label { font-size: 15px; color: var(--text); font-weight: 600; align-self: end; grid-column: 2; }
  .health-sub { font-size: 13px; align-self: start; grid-column: 2; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px 14px 10px; }
  .kpi .spark { height: 26px; }
  .hotel-grid, .ops-grid, .brand-grid { grid-template-columns: 1fr; }
  .brand-stats { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight:first-child { grid-column: auto; }
  .card-head { flex-wrap: wrap; }
  .legend-inline { display: none; }
  .kpi-delta .vs { display: none; }
  .vs { text-align: left; }
  .pin .pin-bg, .pin text.pin-sub { display: none; }
  .pin text.pin-name { font-size: 24px; paint-order: stroke; stroke: #141821; stroke-width: 6px; stroke-linejoin: round; }
  .map-label { font-size: 16px; }
  .map-wrap { margin: 0 -10px -10px; }
  .feed { max-height: 330px; }
  .section-head.row { align-items: flex-start; }
  .drawer { top: 8vh; width: 100vw; border-left: 0; border-top: 1px solid var(--stroke-2); border-radius: 22px 22px 0 0; transform: translateY(102%); }
  .drawer.on { transform: none; }
  .drawer-grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--stroke-2); margin: 8px auto 0; position: sticky; top: 8px; z-index: 3; }
  .dr-hero { padding-top: 40px; }
  .dr-hero h2 { font-size: 32px; }
  .ask { padding-top: 10vh; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50;
    height: 64px; border-radius: 22px; padding: 0 6px;
    background: rgba(20,24,33,.82); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--stroke-2); box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }
  .tabbar a { display: grid; justify-items: center; gap: 3px; color: var(--text-3); text-decoration: none; font-size: 10.5px; font-weight: 500; }
  .tabbar a.active { color: var(--gold); }
  .tab-ask { justify-self: center; width: 50px; height: 50px; border-radius: 16px; border: 0; background: linear-gradient(145deg, #e6c78d, #b9955a); color: #1a1409; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(217,183,121,.35); cursor: pointer; }
  .tab-ask svg { fill: #1a1409; stroke: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ═════ v2: intro, language toggle, tour, section animation ═════ */
.brand { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* Language toggle */
.lang { display: inline-flex; padding: 2px; border-radius: 10px; background: var(--surface); border: 1px solid var(--stroke); flex: none; }
.lang button { border: 0; background: transparent; color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 8px; border-radius: 8px; cursor: pointer; transition: all .2s; }
.lang button.on { background: var(--surface-3); color: var(--gold); }

/* Intro */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: auto 1fr auto auto; padding: calc(18px + env(safe-area-inset-top)) 24px calc(26px + env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #151a28 0%, #0a0c11 72%); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility .9s; }
.intro.done { opacity: 0; transform: scale(1.04); pointer-events: none; }
.intro.gone { visibility: hidden; }
.intro-top { display: flex; justify-content: space-between; align-items: center; }
.intro-skip { background: rgba(255,255,255,.04); border: 1px solid var(--stroke-2); color: var(--text-2); padding: 8px 14px; border-radius: 99px; font-size: 13px; cursor: pointer; transition: all .2s; }
.intro-skip:hover { color: var(--text); border-color: rgba(217,183,121,.4); }
.stage { position: relative; width: min(820px, 100%); height: min(50vh, 440px); margin: auto; align-self: center; }
.stage-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.s-river { fill: none; stroke: rgba(57,135,229,.45); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease), opacity .8s; }
.s-river.in { stroke-dashoffset: 0; }
.s-river.out { opacity: 0; }
.s-line { stroke: rgba(217,183,121,.55); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease), opacity .7s; }
.s-line.in { stroke-dashoffset: 0; }
.s-line.out { opacity: 0; }
.s-line.p { stroke: rgba(217,183,121,.35); stroke-dasharray: 1; }
.s-hotel { position: absolute; width: 16px; height: 16px; transform: translate(-50%, -50%) scale(.2); opacity: 0; transition: opacity .7s var(--ease), transform .8s var(--ease), left 1s var(--ease), top 1s var(--ease); }
.s-hotel i { position: absolute; inset: 0; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent), 0 0 26px var(--c); }
.s-hotel span { position: absolute; left: 26px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--text); text-shadow: 0 2px 10px #0a0c11; }
.s-hotel.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.s-hotel.gather { left: 50% !important; top: 50% !important; opacity: 0; transform: translate(-50%, -50%) scale(.3); transition-delay: 0s !important; }
.s-chip { position: absolute; transform: translate(-50%, -50%) scale(.6); opacity: 0; font-size: 12.5px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--stroke-2); background: rgba(20,24,33,.92); color: var(--text-2); white-space: nowrap;
  transition: opacity .6s var(--ease), transform .7s var(--ease), left 1s var(--ease), top 1s var(--ease), color .4s, border-color .4s; }
.s-chip.in { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: chipFloat 4s ease-in-out infinite alternate; }
.s-chip.gather { left: 50% !important; top: 50% !important; opacity: 0; transform: translate(-50%, -50%) scale(.25); color: var(--gold); border-color: var(--gold); }
@keyframes chipFloat { from { translate: 0 -3px; } to { translate: 0 4px; } }
.stage-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.3); opacity: 0; transition: opacity .9s var(--ease), transform 1.1s cubic-bezier(.3,1.5,.5,1); display: grid; place-items: center; }
.stage-core.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.stage-core .mark { width: 88px; height: 88px; border-radius: 26px; position: relative; z-index: 1; box-shadow: 0 0 70px rgba(217,183,121,.35), 0 0 0 1px rgba(217,183,121,.3); }
.stage-core .mark path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.stage-core.in .mark path { animation: draw 1s var(--ease) .3s forwards; }
.core-ring { position: absolute; width: 88px; height: 88px; border-radius: 26px; border: 1px solid rgba(217,183,121,.5); opacity: 0; }
.stage-core.in .core-ring { animation: ringOut 2.4s ease-out infinite; }
.stage-core.in .core-ring.r2 { animation-delay: 1.2s; }
.stage-core.pulse .mark { animation: corePulse 1.6s ease-in-out infinite alternate; }
@keyframes ringOut { from { transform: scale(.9); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }
@keyframes corePulse { to { box-shadow: 0 0 110px rgba(217,183,121,.55), 0 0 0 1px rgba(217,183,121,.6); } }
.s-pillar { position: absolute; transform: translate(-50%, -50%) scale(.7); opacity: 0; font-family: var(--serif); font-size: 30px; color: var(--gold-2); white-space: nowrap; transition: opacity .8s var(--ease), transform .9s var(--ease); text-shadow: 0 2px 16px #0a0c11; }
.s-pillar.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.intro-text { text-align: center; min-height: 128px; transition: opacity .28s, transform .28s; }
.intro-text.swap { opacity: 0; transform: translateY(8px); }
.intro-h { font-family: var(--serif); font-size: clamp(34px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.005em; }
.intro-p { color: var(--text-2); font-size: clamp(15px, 1.6vw, 19px); margin: 12px auto 0; max-width: 620px; line-height: 1.5; }
.intro-progress { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.intro-progress i { width: 44px; height: 3px; border-radius: 2px; background: var(--surface-3); overflow: hidden; position: relative; }
.intro-progress i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.intro-progress i.done::after { transform: scaleX(1); }
.intro-progress i.on::after { transform: scaleX(1); transition: transform var(--dur, 2.8s) linear; }

/* Section headings animate in word by word */
.section-head [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.45em); }
.section-head.in [data-split] .w { animation: wordUp .8s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.section-head .eyebrow::before { content: ""; display: inline-block; width: 0; height: 1px; background: currentColor; vertical-align: middle; margin-right: 0; transition: width .8s var(--ease) .1s, margin .8s var(--ease) .1s; }
.section-head.in .eyebrow::before { width: 22px; margin-right: 10px; }
.section-head .lede { opacity: 0; transform: translateY(8px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.section-head.in .lede { opacity: 1; transform: none; }

/* Reviews: translation badge */
.tr-badge { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--text-3); margin-top: -4px; }
.reply-h em { font-style: normal; color: var(--text-3); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* Guided tour */
.tour-fab { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: inline-flex; gap: 9px; align-items: center; padding: 12px 18px 12px 14px; border-radius: 99px; border: 1px solid rgba(217,183,121,.45);
  background: rgba(20,24,33,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--gold-2); font-weight: 600; font-size: 14px; cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,.5); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tour-fab.show { opacity: 1; transform: none; pointer-events: auto; }
.tour-fab svg { width: 12px; height: 12px; fill: #1a1409; background: var(--gold); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.tour-fab.show svg { animation: fabPing 2.4s ease-out infinite; }
@keyframes fabPing { 0% { box-shadow: 0 0 0 0 rgba(217,183,121,.6); } 70% { box-shadow: 0 0 0 12px rgba(217,183,121,0); } 100% { box-shadow: 0 0 0 0 rgba(217,183,121,0); } }
body.touring .tour-fab { opacity: 0; pointer-events: none; }
.tour-spot { position: fixed; z-index: 70; border-radius: 20px; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 9999px rgba(5,6,10,.64), 0 0 0 2px rgba(217,183,121,.85), 0 0 50px rgba(217,183,121,.25);
  transition: top .55s var(--ease), left .55s var(--ease), width .55s var(--ease), height .55s var(--ease), opacity .4s; }
.tour-spot.on { opacity: 1; }
.tour-card { position: fixed; z-index: 72; left: 50%; bottom: 26px; transform: translate(-50%, 16px); width: min(480px, calc(100vw - 32px)); padding: 18px 20px 16px; opacity: 0; visibility: hidden;
  background: #12151d; border-color: rgba(217,183,121,.3); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, top .4s var(--ease), bottom .4s var(--ease); }
.tour-card.on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tour-card.top { bottom: auto; top: calc(var(--top) + 14px); }
.tour-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.tour-x { background: none; border: 0; color: var(--text-3); cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.tour-x:hover { color: var(--text); }
.tour-card h4 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.12; margin: 8px 0 6px; }
.tour-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.tour-bar { height: 3px; background: var(--surface-3); border-radius: 2px; overflow: hidden; margin: 14px 0 12px; }
.tour-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.tour-nav { display: flex; justify-content: space-between; }
.tour-nav .btn { padding: 7px 14px; font-size: 13px; }

@media (max-width: 760px) {
  .stage { height: min(46vh, 380px); }
  .s-hotel span { font-size: 12px; left: 22px; }
  .s-chip { font-size: 11px; padding: 5px 9px; }
  .s-pillar { font-size: 21px; }
  .intro-text { min-height: 150px; }
  .topbar .lang button { padding: 5px 6px; }
  .brand-word { font-size: 20px; }
  .tour-fab { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); padding: 10px 14px 10px 10px; font-size: 13px; }
  .tour-card { bottom: calc(14px + env(safe-area-inset-bottom)); }
  .tour-card h4 { font-size: 23px; }
}
@media (max-width: 400px) {
  .topbar-mid .live-label { display: none; }
}

/* ═════ v3: two cities, real public scores, venue types ═════ */
.city-seg button { display: inline-flex; gap: 6px; align-items: center; }
.city-seg em { font-style: normal; font-size: 11px; color: var(--text-3); background: var(--surface-3); border-radius: 6px; padding: 0 5px; }
.city-seg button.on em { color: var(--gold); }
.map-wrap { display: grid; }
.map-wrap .city-map { grid-area: 1 / 1; opacity: 0; transform: scale(.985); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.map-wrap .city-map.on { opacity: 1; transform: none; pointer-events: auto; }
.map-water { fill: rgba(57,135,229,.10); stroke: rgba(57,135,229,.28); stroke-width: 1.2; }
.map-horn { fill: none; stroke: rgba(57,135,229,.16); stroke-width: 14; stroke-linecap: round; }
.pin.fnb .core { stroke-dasharray: none; }
.pin.approx .core { stroke-dasharray: 3 4; }
.pin.approx .halo { display: none; }
.pin text.pin-sub.extra { fill: var(--gold-2); }
.city-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; margin: 10px 2px 0; font-family: var(--serif); font-size: 26px; }
.city-head:first-child { margin-top: 0; }
.city-head .swatch { width: 10px; height: 10px; border-radius: 50%; align-self: center; }
.city-head em { font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--text-3); }
.kind-chip { position: absolute; top: 14px; left: 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(10,12,17,.6); color: var(--text-2); z-index: 1; }
.hs-v small { font-size: 11px; color: var(--text-3); font-weight: 500; }
.hs-v.dim { font-size: 12px; color: var(--text-3); font-weight: 500; }
.pub-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); vertical-align: middle; margin-right: 4px; }
.kpi-delta.pubd { color: var(--text-2); }
.kpi-pub { border-color: rgba(62,207,142,.22); }
.stars-bar { margin-top: 12px; height: 26px; display: flex; align-items: center; }
.stars-bar .stars { position: relative; display: inline-block; font-size: 19px; letter-spacing: 3px; color: var(--surface-3); }
.stars-bar .stars i { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f5c451; font-style: normal; }
.src-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; border-radius: 99px; background: var(--surface-3); color: var(--text-2); margin: -2px 0 10px; }
.src-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.src-chip.is-pub { background: rgba(62,207,142,.1); color: var(--ok); }
.src-chip.is-pub::before { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.src-chip.is-mixed::before { background: linear-gradient(90deg, var(--ok) 50%, var(--text-3) 50%); }
.section-head .src-chip { display: flex; width: max-content; }
.source-line { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); margin: -4px 4px 0; }
.data-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: var(--surface-3); color: var(--text-3); white-space: nowrap; }
.data-tag.is-pub { background: rgba(62,207,142,.1); color: var(--ok); }
.ins-tag { gap: 8px; }
.ex-chip { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; background: var(--surface-3); color: var(--text-3); margin-right: 4px; }
.city-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.pub-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(62,207,142,.06); border: 1px solid rgba(62,207,142,.18); }
.pub-card + .pub-card { margin-top: 8px; }
.pub-card.sub { background: rgba(255,255,255,.03); border-color: var(--stroke); }
.pub-score { font-family: var(--serif); font-size: 40px; line-height: 1; }
.pub-score small { font-family: var(--sans); font-size: 13px; color: var(--text-3); }
.pub-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.s-city { position: absolute; transform: translate(-50%, 0); font-family: var(--serif); font-size: 28px; color: var(--gold-2); opacity: 0; transition: opacity .8s var(--ease) .2s; letter-spacing: .02em; }
.s-city.in { opacity: 1; }
.s-city.out { opacity: 0; transition-delay: 0s; }
.s-hotel.fnb i { border-radius: 4px; width: 12px; height: 12px; inset: 2px; }
@media (max-width: 760px) {
  .city-head { font-size: 22px; }
  .s-city { font-size: 21px; }
  .card-head .city-seg { margin-top: 4px; }
}

/* ═════ v4: iOS glass finish ═════ */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --bg: #06070b;
  --r: 22px;
  --glass-1: rgba(255, 255, 255, 0.065);
  --glass-2: rgba(255, 255, 255, 0.03);
  --glass-edge: rgba(255, 255, 255, 0.10);
  --glass-top: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(26px) saturate(175%);
  --ios-fill: rgba(118, 118, 128, 0.22);
  --ios-thumb: rgba(255, 255, 255, 0.16);
}
body { background: var(--bg); letter-spacing: -0.005em; }

/* A richer, slower backdrop so the frosted glass has something to blur */
.aurora { background: radial-gradient(120% 80% at 50% 0%, #0d1220 0%, var(--bg) 60%); }
.aurora i { filter: blur(70px); opacity: .75; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(57,135,229,.42), transparent 62%); }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(217,183,121,.28), transparent 62%); }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(144,133,233,.30), transparent 62%); }
.aurora::after { content: ""; position: absolute; width: 45vw; height: 45vw; right: -10vw; bottom: 10vh; border-radius: 50%; background: radial-gradient(circle, rgba(217,89,38,.20), transparent 62%); filter: blur(70px); animation: drift2 46s ease-in-out infinite alternate-reverse; }

/* The glass material */
.glass {
  background:
    linear-gradient(135deg, rgba(255,255,255,.075) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(180deg, var(--glass-1), var(--glass-2));
  border: 1px solid var(--glass-edge);
  border-top-color: var(--glass-top);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 .5px rgba(255,255,255,.04), 0 18px 50px rgba(0,0,0,.38);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--r);
}
.kpi:hover, .hotel:hover, .insight:hover { border-color: rgba(255,255,255,.18); border-top-color: rgba(255,255,255,.32); }
.kpi.flash { animation: flash2 1.2s var(--ease); }
@keyframes flash2 { 0% { box-shadow: 0 0 0 1px rgba(217,183,121,.8), 0 0 34px rgba(217,183,121,.3); } 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 50px rgba(0,0,0,.38); } }

/* Inner surfaces: lighter, flatter glass */
.feed li, .ticket, .review, .team-row, .dr-kpi, .ans-card, .plat, .pub-card.sub {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
  border-top-color: rgba(255,255,255,.12);
}
.feed li, .ticket { border-radius: 14px; }
.feed .fi { border-radius: 11px; }
.review { border-radius: 16px; }
.dr-kpi { border-radius: 14px; }
.count-chip, .kind-chip, .src-chip, .data-tag, .ex-chip { background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.status { background: rgba(10,12,17,.45); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); border: 1px solid rgba(255,255,255,.1); }
.callout { background: linear-gradient(135deg, rgba(217,183,121,.16), rgba(217,183,121,.06)); border-color: rgba(217,183,121,.28); border-radius: 16px; }
.bar, .fn-bar, .tour-bar { background: rgba(255,255,255,.08); }
.ring-track, .occ-ring .t { stroke: rgba(255,255,255,.09); }

/* iOS segmented controls */
.seg, .lang { background: var(--ios-fill); border: 0; border-radius: 11px; padding: 2px; }
.seg button, .lang button { border-radius: 9px; transition: background .25s var(--ease), color .25s, box-shadow .25s; }
.seg button.on, .lang button.on { background: var(--ios-thumb); color: var(--text); box-shadow: 0 3px 8px rgba(0,0,0,.25), inset 0 .5px 0 rgba(255,255,255,.25); }
.lang button.on { color: var(--gold-2); }

/* Buttons as iOS pills */
.btn { border-radius: 99px; padding: 6px 13px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.btn.gold { background: linear-gradient(180deg, #ecd29e, #cfae70); color: #1c150a; border-color: rgba(255,255,255,.25); box-shadow: 0 4px 14px rgba(217,183,121,.25); }
.btn.done { background: rgba(62,207,142,.14); }
.ask-trigger { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 99px; }
.demo-chip { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Bars: top bar, side rail, tab bar */
.topbar { background: rgba(8,10,15,.5); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border-bottom: .5px solid rgba(255,255,255,.1); }
.rail { background: rgba(8,10,15,.28); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); border-right: .5px solid rgba(255,255,255,.08); }
.rail a.active { background: rgba(217,183,121,.14); box-shadow: inset 0 .5px 0 rgba(255,255,255,.12); }

/* Floating panels */
.drawer { background: rgba(16,18,26,.72); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%); border-left: .5px solid rgba(255,255,255,.14); box-shadow: -30px 0 80px rgba(0,0,0,.45); }
.drawer-close { background: rgba(255,255,255,.12); border: 0; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); font-size: 18px; color: var(--text-2); }
.scrim { background: rgba(3,4,7,.4); }
.ask { background: rgba(3,4,7,.45); }
.ask-panel { background: rgba(22,25,34,.72); -webkit-backdrop-filter: blur(40px) saturate(180%); backdrop-filter: blur(40px) saturate(180%); border-radius: 24px; }
.ask-suggest button { border-radius: 12px; }
.tour-card { background: rgba(20,23,32,.74); -webkit-backdrop-filter: blur(36px) saturate(180%); backdrop-filter: blur(36px) saturate(180%); border-radius: 24px; }
.tip { background: rgba(20,23,32,.8); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); border-radius: 14px; border: .5px solid rgba(255,255,255,.14); }
.tour-fab { background: rgba(28,31,42,.6); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: .5px solid rgba(217,183,121,.5); }
.pin .pin-bg { fill: rgba(16,19,27,.78); }

@media (max-width: 760px) {
  :root { --r: 20px; }
  .tabbar {
    background: rgba(30,33,44,.5); -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
    border: .5px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 18px 44px rgba(0,0,0,.5); border-radius: 26px;
  }
  .drawer { border-left: 0; border-top: .5px solid rgba(255,255,255,.16); border-radius: 26px 26px 0 0; box-shadow: 0 -20px 60px rgba(0,0,0,.45); }
  .drawer-grab { background: rgba(255,255,255,.3); }
  .aurora i { filter: blur(56px); }
  .aurora::after { display: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: #151923; }
  .drawer, .ask-panel, .tour-card { background: #151923; }
}

.hs-v.dim { overflow-wrap: anywhere; line-height: 1.25; }

/* Tour button collapses to a round icon on phones so it never sits over content for long */
.tour-fab span { transition: max-width .4s var(--ease), opacity .3s; max-width: 200px; overflow: hidden; white-space: nowrap; }
@media (max-width: 760px) {
  .tour-fab.mini { padding: 9px; gap: 0; }
  .tour-fab.mini span { max-width: 0; opacity: 0; }
}
.hs-v .pub-dot { margin-right: 5px; vertical-align: 2px; }

/* Top bar fits at every width */
.kpi-delta.pubd { white-space: normal; }
.kpi-delta.pubd .vs { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-mid, .brand, .topbar-right { flex: none; }
.brand { min-width: 0; flex: 0 1 auto; }
@media (max-width: 1100px) {
  .ask-trigger kbd, .topbar-muted { display: none; }
  .brand-estate { max-width: 150px; }
}
@media (max-width: 900px) {
  .ask-trigger span { display: none; }
  .ask-trigger { padding: 8px; }
}
@media (max-width: 760px) {
  .topbar { gap: 8px; }
  .topbar-mid { position: static; transform: none; margin-left: auto; margin-right: 4px; }
  .topbar-mid .live-label { display: none; }
  .topbar-right { gap: 8px; }
}

.kpi-delta .vs { text-align: left; }
@media (max-width: 520px) {
  .brand { flex: none; }
  .topbar-mid { display: none; }
  .topbar-right { margin-left: auto; }
}
@media (max-width: 360px) { .demo-chip { display: none; } }

/* ═════ v5: real-geography maps (OpenStreetMap) ═════ */
.m-sea { fill: rgba(40, 98, 190, 0.16); }
.m-land { fill: rgba(9, 11, 16, 0.92); }
.m-coast { fill: none; stroke: rgba(92, 150, 230, 0.55); stroke-width: 1.1; }
.m-park { fill: rgba(62, 207, 142, 0.075); stroke: rgba(62, 207, 142, 0.16); stroke-width: .6; }
.m-water { fill: rgba(57, 135, 229, 0.22); }
.m-river { fill: none; stroke: rgba(57, 135, 229, 0.30); stroke-width: 15; stroke-linecap: round; stroke-linejoin: round; }
.m-river-flow { fill: none; stroke: rgba(120, 175, 245, 0.35); stroke-width: 1.2; stroke-dasharray: 3 10; animation: flow 8s linear infinite; }
.m-canal { fill: none; stroke: rgba(57, 135, 229, 0.35); stroke-width: 2.2; }
.m-minor { fill: none; stroke: rgba(255, 255, 255, 0.055); stroke-width: .7; }
.m-major { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.m-rail { fill: none; stroke: rgba(255, 255, 255, 0.10); stroke-width: 1; stroke-dasharray: 4 3; }
.m-tram { fill: none; stroke: rgba(217, 183, 121, 0.35); stroke-width: 1.4; stroke-dasharray: 5 3; }
.m-park-label { fill: rgba(62, 207, 142, 0.55); font-size: 10.5px; font-style: italic; }
.m-water-label { fill: rgba(120, 175, 245, 0.7); font-size: 12px; font-style: italic; letter-spacing: .06em; }
.m-lm-dot { fill: rgba(217, 183, 121, 0.7); }
.m-lm { fill: rgba(217, 183, 121, 0.75); font-size: 10.5px; }
.m-attr { fill: var(--text-3); font-size: 9px; opacity: .8; }
.city-map .map-label { font-size: 9.5px; fill: rgba(255,255,255,.32); }
.pin-label { cursor: pointer; }
@media (max-width: 760px) {
  .m-lm, .m-park-label, .m-attr { display: none; }
  .city-map .map-label { font-size: 15px; }
  .m-water-label { font-size: 17px; }
  .m-major { stroke-width: 2.4; }
  .m-minor { stroke-width: 1.1; }
}

/* ═════ v6: globe intro ═════ */
.intro > .intro-top, .intro > .stage, .intro > .intro-text, .intro > .intro-progress { position: relative; z-index: 1; }
.globe-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; transition: transform 1.3s var(--ease), opacity 1.3s var(--ease); opacity: 0; animation: globeIn 1.6s var(--ease) .1s forwards; }
@keyframes globeIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.globe-canvas.back { animation: none; opacity: .5; }
.globe-canvas.out { animation: none; opacity: 0; transform: scale(.85); }
.globe-label { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; font-family: var(--serif); font-size: 26px; color: var(--gold-2); text-shadow: 0 2px 18px #000, 0 0 2px #000; opacity: 0; transition: opacity .5s var(--ease); white-space: nowrap; will-change: transform; }
.globe-label.on { opacity: 1; }
.stage.globe-on .s-hotel, .stage.globe-on .s-city, .stage.globe-on .s-river { display: none; }
@media (max-width: 760px) { .globe-label { font-size: 21px; } }
.intro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,7,11,0) 0%, rgba(6,7,11,.72) 45%, rgba(6,7,11,.92) 100%); }
.intro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,7,11,.7), rgba(6,7,11,0)); }

/* ═════ v7: spectacular intro + finale ═════ */
/* Headlines materialise letter by letter */
.intro-h .wd { display: inline-block; white-space: nowrap; }
.intro-h .ch { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(.4em) scale(1.06); animation: chIn .85s var(--ease) forwards; animation-delay: var(--d); }
@keyframes chIn { to { opacity: 1; filter: blur(0); transform: none; } }
.intro-h { text-shadow: 0 4px 30px rgba(0,0,0,.6); }

/* Systems orbit the Earth, then are pulled into the mark */
.s-chip.orbiting { transition: opacity .6s var(--ease), transform .7s var(--ease), color .4s, border-color .4s; }
.s-chip { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(20,24,33,.62); }
.s-chip.gather { transition: left 1s cubic-bezier(.55,0,.25,1), top 1s cubic-bezier(.55,0,.25,1), opacity .9s ease-in, transform 1s cubic-bezier(.55,0,.25,1), color .3s, border-color .3s; box-shadow: 0 0 22px rgba(217,183,121,.6); }
.s-shock { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(240,215,164,.9); opacity: 0; pointer-events: none; }
.s-shock.go { animation: shock 1.3s cubic-bezier(.15,.8,.25,1) forwards; }
.s-shock.s2.go { animation-delay: .16s; border-width: 1px; }
@keyframes shock { 0% { opacity: .95; transform: scale(.35); box-shadow: 0 0 40px rgba(217,183,121,.9), inset 0 0 30px rgba(217,183,121,.6); } 100% { opacity: 0; transform: scale(7.5); } }
.s-flash { position: absolute; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,242,215,.6), rgba(217,183,121,.18) 32%, transparent 64%); opacity: 0; pointer-events: none; }
.s-flash.go { animation: flash3 1.2s ease-out forwards; }
@keyframes flash3 { 0% { opacity: 0; transform: scale(.25); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }

/* Pillars burst out of the mark */
.s-pillar { transform: translate(-50%, -50%) translate(var(--fx, 0px), var(--fy, 0px)) scale(.3); transition: opacity .8s var(--ease), transform 1.15s cubic-bezier(.2,.9,.25,1.12); }
.s-pillar.in { transform: translate(-50%, -50%) scale(1); }

/* Iris into the dashboard, which settles into focus */

body.landing main, body.landing .topbar, body.landing .rail { animation: land 1.4s var(--ease) both; }
body.landing .topbar, body.landing .rail { animation-delay: .25s; }
@keyframes land { from { opacity: 0; transform: scale(.965); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Finale globe */
.closing { position: relative; }
.finale-globe { position: relative; height: min(58vh, 540px); max-width: 1040px; margin: -30px auto -110px; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 48%, #000 52%, transparent 78%); mask-image: radial-gradient(ellipse 58% 62% at 50% 48%, #000 52%, transparent 78%); }
.finale-globe .globe-canvas.ambient { opacity: 1; animation: none; }
.finale-globe .globe-label { font-size: 22px; }
.closing-inner { position: relative; z-index: 1; }
@media (max-width: 760px) { .finale-globe { height: 380px; margin: -20px -16px -90px; } }

/* ═════ v8: Frontier elements, bigger and alive ═════ */
.intro-h { font-size: clamp(42px, 6.2vw, 82px); }
.intro-p { font-size: clamp(15px, 1.7vw, 20px); }
/* The mark */
.stage-core .mark { width: 140px; height: 140px; border-radius: 40px; overflow: hidden;
  background: linear-gradient(150deg, #232a3a, #0e1119 70%); border: 1px solid rgba(240,215,164,.45);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 20px 60px rgba(0,0,0,.6), 0 0 90px rgba(217,183,121,.35); }
.stage-core .mark svg { width: 62%; height: 62%; position: relative; z-index: 1; filter: drop-shadow(0 0 10px rgba(240,215,164,.55)); }
.stage-core .mark path { stroke: url(#fgGold); stroke-width: 2.7; }
.stage-core .mark::after { content: ""; position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 62%, rgba(255,236,196,.38) 74%, transparent 86%); animation: spin 3.6s linear infinite; }
.stage-core .mark::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 45%); z-index: 1; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.core-ring { width: 140px; height: 140px; border-radius: 40px; }
.core-halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(217,183,121,.28), rgba(217,183,121,.06) 45%, transparent 68%); opacity: 0; transition: opacity 1s var(--ease); }
.stage-core.in .core-halo { opacity: 1; animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); } }
.core-orbit { position: absolute; width: 230px; height: 230px; border-radius: 50%; border: 1px dashed rgba(217,183,121,.38); opacity: 0; transition: opacity 1s var(--ease) .3s; }
.core-orbit.o2 { width: 320px; height: 320px; border: 1px dotted rgba(217,183,121,.28); }
.stage-core.in .core-orbit { opacity: 1; animation: spin 22s linear infinite; }
.stage-core.in .core-orbit.o2 { animation: spin 36s linear infinite reverse; }
.core-word { position: absolute; top: calc(50% + 104px); left: 50%; transform: translate(-50%, 10px); font-family: var(--serif); font-size: 54px; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  background: linear-gradient(100deg, #b99254 0%, #f6e3b6 30%, #fffaf0 45%, #e2c286 60%, #b99254 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(8px); transition: opacity 1s var(--ease) 1.2s, transform 1s var(--ease) 1.2s, filter 1s var(--ease) 1.2s; }
.stage-core.in .core-word { opacity: 1; transform: translate(-50%, 0); filter: blur(0); animation: shimmer 3.2s linear 1.4s infinite; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
/* Pillars */
.s-pillar { font-size: 44px; }
.s-pillar .pi { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.s-pillar.in .pi { animation: float 4.2s ease-in-out var(--fl, 0s) infinite alternate; }
@keyframes float { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.s-pillar svg { width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(217,183,121,.6)); }
.s-pillar b { font-weight: 400; }
.s-pillar i { display: block; height: 1px; width: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); transition: width 1s var(--ease) .6s; }
.s-pillar.in i { width: 120%; }
.s-line.p { stroke: rgba(217,183,121,.45); stroke-width: 1.4; }
/* Chips */
.s-chip { font-size: 14px; padding: 8px 15px 8px 12px; display: inline-flex; align-items: center; gap: 8px; border-color: rgba(255,255,255,.14); }
.s-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); flex: none; }
/* Top-bar mark: an occasional light sweep */
.mark.sm { position: relative; overflow: hidden; }
.mark.sm::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,240,205,.55), transparent); transform: skewX(-18deg); animation: sweep 7s ease-in-out 2s infinite; }
@keyframes sweep { 0%, 78% { left: -60%; } 92%, 100% { left: 130%; } }
@media (max-width: 760px) {
  .stage-core .mark, .core-ring { width: 100px; height: 100px; border-radius: 30px; }
  .core-halo { width: 250px; height: 250px; }
  .core-orbit { width: 160px; height: 160px; } .core-orbit.o2 { width: 220px; height: 220px; }
  .core-word { font-size: 40px; top: calc(50% + 76px); }
  .s-pillar { font-size: 25px; }
  .s-pillar svg { width: 24px; height: 24px; }
  .s-chip { font-size: 12px; padding: 6px 11px 6px 9px; }
}
.iris-ring { position: fixed; z-index: 101; border-radius: 50%; pointer-events: none; border: 2px solid rgba(240,215,164,.85); box-shadow: 0 0 30px rgba(217,183,121,.55), inset 0 0 30px rgba(217,183,121,.35); transform: translate(-50%,-50%); }

/* ═════ v9: cinematic card entrances + UX ═════ */
/* Cards rise, tilt up and come into focus, in a cascade */
.reveal { opacity: 0; transform: perspective(1300px) translateY(48px) rotateX(11deg) scale(.965); filter: blur(10px); transform-origin: 50% 100%;
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1), filter .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
:where(.glass) { position: relative; }
/* A band of light sweeps each glass card as it lands */
.glass.in::after, .kpi.in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(112deg, transparent 32%, rgba(255,246,225,.16) 46%, rgba(255,255,255,.04) 52%, transparent 62%); background-size: 260% 100%; background-position: 130% 0;
  animation: landSheen 1.5s cubic-bezier(.3,.7,.3,1) var(--sd, .35s) both; }
@keyframes landSheen { from { background-position: 130% 0; opacity: 1; } to { background-position: -40% 0; opacity: 0; } }
/* Cursor tilt + following light (desktop pointers only; toggled by JS) */
.tiltable { transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, opacity .9s, filter .9s; will-change: transform; }
.tiltable.tilting { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); transition: transform .12s ease-out, border-color .3s; }
.tiltable.tilting::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,244,220,.09), transparent 42%); }
/* Press feedback */
.hotel:active, .kpi:active, .btn:active, .seg button:active, .tab-ask:active, .tour-fab:active, .ask-trigger:active { transform: scale(.975); transition-duration: .08s; }
/* Reading progress */
.progress { position: fixed; left: 0; top: var(--top); height: 2px; width: 100%; z-index: 41; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, rgba(217,183,121,0), #d9b779 30%, #f6e3b6); box-shadow: 0 0 10px rgba(217,183,121,.6); pointer-events: none; }
/* Dynamic-Island style live pill */
.topbar-mid.island { padding: 6px 12px; border-radius: 99px; background: rgba(0,0,0,.45); border: .5px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: padding .45s cubic-bezier(.3,1.4,.4,1), background .3s, box-shadow .3s; }
.island-msg { display: inline-flex; align-items: center; gap: 8px; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .55s cubic-bezier(.3,1.25,.4,1), opacity .3s; color: var(--text); font-weight: 500; }
.island-msg b { color: var(--gold-2); font-weight: 700; }
.island.expand { padding: 6px 16px; box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(217,183,121,.25); }
.island.expand .island-msg { max-width: 360px; opacity: 1; margin-left: 4px; }
@media (max-width: 520px) {
  .topbar-mid.island { display: flex; position: fixed; left: 50%; top: calc(var(--top) + 10px); transform: translate(-50%, -30px) scale(.8); opacity: 0; pointer-events: none; z-index: 42; transition: transform .5s cubic-bezier(.3,1.4,.4,1), opacity .3s; }
  .topbar-mid.island.expand { transform: translate(-50%, 0) scale(1); opacity: 1; }
  .topbar-mid.island .clock, .topbar-mid.island .topbar-muted { display: none; }
}
/* Venue filters */
.venue-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 18px; }
.venue-filter button { border: .5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: var(--text-2); font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 99px; cursor: pointer; transition: all .25s var(--ease); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.venue-filter button.on { background: rgba(217,183,121,.16); color: var(--gold-2); border-color: rgba(217,183,121,.4); }
.venue-filter button em { font-style: normal; color: var(--text-3); margin-left: 5px; font-size: 12px; }
.hotel.filtered-out, .city-head.filtered-out { display: none; }
.hotel.pop { animation: popIn .7s cubic-bezier(.16,1,.3,1) both; animation-delay: var(--pd, 0ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
/* Drawer: previous / next venue */
.drawer-nav { position: sticky; top: 14px; z-index: 3; display: flex; gap: 8px; margin: 14px 0 -48px 14px; width: max-content; }
.drawer-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--text); font-size: 17px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.drawer-nav span { align-self: center; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; padding: 0 4px; }
#drawerBody.slide-l { animation: slideL .45s cubic-bezier(.16,1,.3,1); }
#drawerBody.slide-r { animation: slideR .45s cubic-bezier(.16,1,.3,1); }
@keyframes slideL { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes slideR { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { transform: none; filter: none; } }
.drawer-bar { position: sticky; top: 14px; z-index: 3; display: flex; justify-content: space-between; align-items: center; margin: 14px 14px -48px; pointer-events: none; }
.drawer-bar > * { pointer-events: auto; }
.drawer-bar .drawer-close { position: static; margin: 0; display: grid; place-items: center; float: none; }
.drawer-nav { position: static; margin: 0; }
@media (max-width: 760px) { .drawer-bar { top: 18px; } }
@media (max-width: 760px) {
  .reveal { filter: none; transform: perspective(1100px) translateY(36px) rotateX(9deg) scale(.97); }
  .dr-hero { padding-top: 70px; }
}

/* ═════ v10: iPhone fit + intro scroll lock ═════ */
html.intro-lock, html.intro-lock body { overflow: hidden; overscroll-behavior: none; }
.intro { height: 100vh; height: 100dvh; bottom: auto; touch-action: none; overscroll-behavior: contain; }
/* Safe areas: notch / Dynamic Island / rounded corners, in Safari and when saved to the home screen */
.topbar { height: calc(var(--top) + env(safe-area-inset-top)); padding-left: calc(20px + env(safe-area-inset-left)); padding-right: calc(20px + env(safe-area-inset-right)); }
.rail { top: calc(var(--top) + env(safe-area-inset-top)); }
.progress { top: calc(var(--top) + env(safe-area-inset-top)); }
html { scroll-padding-top: calc(var(--top) + env(safe-area-inset-top) + 12px); }
main { padding-top: calc(var(--top) + env(safe-area-inset-top) + 28px); }
.intro { padding-left: calc(24px + env(safe-area-inset-left)); padding-right: calc(24px + env(safe-area-inset-right)); }
@media (max-width: 760px) {
  .topbar { padding-left: calc(16px + env(safe-area-inset-left)); padding-right: calc(16px + env(safe-area-inset-right)); }
  main { padding-top: calc(var(--top) + env(safe-area-inset-top) + 18px); padding-left: calc(16px + env(safe-area-inset-left)); padding-right: calc(16px + env(safe-area-inset-right)); }
  .tabbar { left: calc(12px + env(safe-area-inset-left)); right: calc(12px + env(safe-area-inset-right)); }
  .drawer { top: calc(8vh + env(safe-area-inset-top)); }
  .drawer #drawerBody { padding-bottom: env(safe-area-inset-bottom); }
  .stage { height: min(46dvh, 380px); }
}
@media (max-width: 520px) { .topbar-mid.island { top: calc(var(--top) + env(safe-area-inset-top) + 10px); } }

/* v11 — iPhone pass: the tour button gets out of the way while reading */
.tour-fab.show.scrolling { opacity: 0; transform: translateY(8px) scale(.9); pointer-events: none; }
@media (max-width: 520px) {
  .tour-fab.mini { right: 12px; opacity: .92; }
  .intro-h, .intro-p { text-wrap: balance; }
}

/* v12 — the closed venue sheet must not peek out behind Safari's floating toolbar (iOS 26+ lays the page out under it) */
.drawer { visibility: hidden; transition: transform .5s var(--ease), visibility 0s linear .5s; }
.drawer.on { visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
@media (max-width: 760px) { .drawer:not(.on) { transform: translateY(calc(100% + 140px)); } }
/* Giving html its own background stops body's glow propagating to the canvas, so the header reads the same
   near-black as the strip Safari paints behind the status bar / Dynamic Island: one seamless top edge. */
html { background: #06070b; }

/* ═════ v13 — tailoring layer: currency, both clocks, "working together", the 08:00 message ═════ */
.fx-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.cur-seg button { min-width: 38px; font-size: 14px; font-weight: 600; }
.fx-line { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.controls .cur-seg { margin-right: 4px; }
.dl-city b { color: var(--text-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.clock2 { display: inline-flex; gap: 6px; align-items: center; }
.clock2 .sep { opacity: .5; }
@media (max-width: 900px) { .clock2 { display: none; } }

/* Together */
.together-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sirk-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(280px, 1fr) 1.15fr; gap: 26px; align-items: center; position: relative; overflow: hidden; }
.sirk-card::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(217,89,38,.14), transparent 70%); pointer-events: none; }
.sirk-map { position: relative; }
.sirk-svg { width: 100%; height: auto; display: block; overflow: visible; }
.sirk-line { stroke: rgba(217,183,121,.55); stroke-width: 1.5; stroke-dasharray: 4 6; animation: sirkFlow 1.6s linear infinite; }
@keyframes sirkFlow { to { stroke-dashoffset: -20; } }
.sirk-walk rect { fill: rgba(12,14,20,.92); stroke: rgba(217,183,121,.35); stroke-width: .8; }
.sirk-walk text { fill: var(--gold-2); font-size: 11px; font-weight: 600; }
.sirk-node { cursor: pointer; outline: none; }
.sirk-halo { opacity: .12; transform-box: fill-box; transform-origin: center; animation: sirkHalo 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes sirkHalo { 50% { opacity: .26; transform: scale(1.12); } }
.sirk-core { opacity: .9; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); transition: transform .3s var(--ease); transform-box: fill-box; transform-origin: center; }
.sirk-node:hover .sirk-core, .sirk-node:focus-visible .sirk-core { transform: scale(1.08); }
.sirk-track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 3; }
.sirk-occ { fill: none; stroke-width: 3; stroke-linecap: round; }
.sirk-keys { fill: #0b0d12; font-size: 14px; font-weight: 700; }
.sirk-name { fill: var(--text); font-size: 13px; font-weight: 600; }
.fine-note { font-size: 11px; color: var(--text-3); margin: 4px 0 0; text-align: center; }
.sirk-info .card-head { margin-bottom: 14px; }
.sirk-total { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.stackbar { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: 14px; }
.stackbar i { display: block; min-width: 2px; transform-origin: left; }
.stackbar i.free { background: rgba(255,255,255,.08); }
.reveal.in .stackbar i { animation: growX .9s var(--ease) both; }
.reveal.in .stackbar i:nth-child(2) { animation-delay: .12s; } .reveal.in .stackbar i:nth-child(3) { animation-delay: .24s; }
@keyframes growX { from { transform: scaleX(0); } }
.sirk-legend { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.sirk-legend li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 10px; align-items: center; font-size: 14px; }
.sirk-legend li b { font-variant-numeric: tabular-nums; }
.sirk-legend li em { grid-column: 2 / -1; font-style: normal; font-size: 12px; color: var(--text-3); margin-top: -4px; }
.sirk-redirect { font-size: 15px; line-height: 1.5; color: var(--gold-2); background: var(--gold-soft); border: 1px solid rgba(217,183,121,.22); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }

.pair { display: grid; gap: 10px; padding: 14px; margin-top: 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke); cursor: pointer; transition: background .25s, transform .25s var(--ease); }
.pair:hover { background: rgba(255,255,255,.06); transform: translateY(-1px); }
.pair-names { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.pair-names > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pair-names b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pair-arrow { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kind-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-bottom: 2px; }
.kind-dot.hotel { background: var(--c1); } .kind-dot.rest { background: var(--gold); }
.pair-score { font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pair-score.is-pub { color: var(--ok); } .pair-score.none { color: var(--text-3); font-weight: 500; }
.pair-cap { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.pair-pct { font-size: 26px; font-weight: 600; letter-spacing: -.02em; grid-row: span 2; }
.pair-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.pair-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--c1), var(--gold)); border-radius: 3px; transform-origin: left; }
.reveal.in .pair-bar i { animation: growX 1.1s var(--ease) .3s both; }
.pair-take { font-size: 14px; line-height: 1.55; color: var(--text-2); margin: 14px 0 0; }

.cafe-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 8px; }
.cafe-col { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--stroke); cursor: pointer; transition: background .25s; }
.cafe-col:hover { background: rgba(255,255,255,.06); }
.cafe-name { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; }
.cafe-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 3px 0; }
.cafe-row b { font-variant-numeric: tabular-nums; }
.cafe-row b.pub { color: var(--ok); } .cafe-row b.pub em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--text-3); }
#cafeChart { margin: 4px 0 6px; }

/* The 08:00 message */
.morning { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: 48px; align-items: center; }
.phone { position: relative; border-radius: 44px; padding: 54px 14px 18px; min-height: 560px; background: linear-gradient(180deg, #0f131c, #0a0d13); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 8px #07080c, 0 0 0 9px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.6), 0 0 120px rgba(217,183,121,.08); overflow: hidden; }
.phone-island { position: absolute; top: 14px; left: 50%; width: 104px; height: 30px; margin-left: -52px; border-radius: 20px; background: #000; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 0 6px 12px; border-bottom: 1px solid var(--stroke); margin-bottom: 12px; }
.chat-head .mark.sm { width: 34px; height: 34px; }
.chat-head b { display: block; font-size: 15px; }
.chat-head span { font-size: 12px; color: var(--text-3); }
.chat-body { display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.bubble { position: relative; align-self: flex-start; max-width: 92%; padding: 10px 13px 18px; border-radius: 4px 18px 18px 18px; background: rgba(255,255,255,.075); border: .5px solid rgba(255,255,255,.08); font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.96); transform-origin: top left; }
.bubble + .bubble { border-radius: 18px; }
.bubble.warn { background: rgba(245,165,36,.12); border-color: rgba(245,165,36,.3); color: #ffd48a; }
.bubble time { position: absolute; right: 10px; bottom: 4px; font-size: 10px; color: var(--text-3); }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.075); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: typeDot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typeDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.phone.typing-on .typing { display: flex; }
.phone.played .bubble { animation: bubbleIn .5s var(--ease) both; animation-delay: calc(var(--k) * .55s); }
@keyframes bubbleIn { to { opacity: 1; transform: none; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chat-chips button { font: inherit; font-size: 13px; font-weight: 600; color: var(--gold-2); background: var(--gold-soft); border: 1px solid rgba(217,183,121,.3); border-radius: 99px; padding: 8px 13px; cursor: pointer; opacity: 0; transform: translateY(6px); transition: background .2s; }
.chat-chips button:hover { background: rgba(217,183,121,.2); }
.phone.played .chat-chips button { animation: bubbleIn .45s var(--ease) both; animation-delay: calc(2.9s + var(--k) * .12s); }
.phone.instant .bubble, .phone.instant .chat-chips button { animation: none; opacity: 1; transform: none; }

@media (max-width: 900px) {
  .together-grid { grid-template-columns: 1fr; }
  .sirk-card { grid-template-columns: 1fr; gap: 10px; }
  .morning { grid-template-columns: 1fr; gap: 28px; }
  .phone { max-width: 380px; width: 100%; margin: 0 auto; min-height: 0; }
}
@media (max-width: 520px) {
  .fx-line { flex-basis: 100%; }
  .pair-names b { font-size: 14px; }
  .cafe-cols { gap: 8px; } .cafe-col { padding: 10px; }
  .cafe-row { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .sirk-line, .sirk-halo { animation: none; } }
.sirk-street { stroke: rgba(255,255,255,.06); stroke-width: 14; stroke-linecap: round; }
.sirk-tick { stroke: rgba(217,183,121,.35); stroke-width: 1; stroke-dasharray: 2 3; }
.sirk-sub { fill: var(--text-3); font-size: 11px; }
.sirk-name { font-size: 14px; }
.together-grid .card-head { flex-wrap: wrap; row-gap: 8px; }
.together-grid .card-head > div { flex: 1 1 62%; min-width: 0; }

/* ═════ v14 — intro: street-level dive into both cities, spark burst ═════ */
.intro > .intro-top, .intro > .stage, .intro > .intro-text, .intro > .intro-progress { position: relative; z-index: 2; }
.globe-canvas.dive { animation: none; opacity: 0; transform: scale(3.2); filter: blur(10px); transition: transform 1.4s cubic-bezier(.6,0,.3,1), opacity 1.1s ease .2s, filter 1.2s ease; }
.imap { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; visibility: hidden; }
.imap.on { opacity: 1; visibility: visible; }
.imap::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 42%, transparent 45%, rgba(6,7,11,.85) 100%), linear-gradient(180deg, rgba(6,7,11,.55) 0%, transparent 18%, transparent 58%, rgba(6,7,11,.92) 82%); pointer-events: none; }
.imap-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.12); transform-origin: 50% 45%; transition: transform 3.2s cubic-bezier(.2,.7,.2,1), filter .8s; }
.imap.lit .imap-svg { transform: scale(1); }
.imap.leave { transition: opacity .9s ease .15s, transform 1s cubic-bezier(.6,0,.3,1), filter .9s; opacity: 0; transform: scale(1.35); filter: blur(8px); }
.imap.out { transition: opacity .9s ease, filter .9s; opacity: 0 !important; filter: blur(10px); }
.imap-svg path, .imap-svg line, .imap-svg rect { vector-effect: non-scaling-stroke; }
.imap-svg .m-major { stroke-width: 1.3px; stroke: rgba(240,215,164,.5); }
.imap-svg .m-minor { stroke-width: .7px; }
.imap-svg text { font-size: calc(11px / var(--k)); }
.imap-svg .m-water-label { font-size: calc(13px / var(--k)); }
.imap-svg .m-attr { font-size: calc(9px / var(--k)); }
.imap-link { stroke: var(--gold-2); stroke-width: 2px; stroke-dasharray: 5 6; stroke-linecap: round; opacity: 0; animation: linkIn .6s ease forwards, sirkFlow 1.4s linear infinite; }
@keyframes linkIn { to { opacity: .95; } }
.imap-ring { position: absolute; width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); border: 1.5px solid rgba(240,215,164,.9); box-shadow: 0 0 40px rgba(217,183,121,.55), inset 0 0 40px rgba(217,183,121,.3); z-index: 2; pointer-events: none; }
.imap-pin { position: absolute; z-index: 3; width: 0; height: 0; }
.imap-pin i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 2.5px solid #fff4dc; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 30%, transparent), 0 0 28px var(--c), 0 6px 14px rgba(0,0,0,.6); transform: scale(0) translateY(-30px); opacity: 0; }
.imap-pin.fnb i { width: 13px; height: 13px; left: -6.5px; top: -6.5px; background: var(--gold); }
.imap-pin b { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; }
.imap-pin span { position: absolute; left: 16px; top: -15px; white-space: nowrap; font-size: 13.5px; font-weight: 600; color: #fff; padding: 5px 11px; border-radius: 99px; background: rgba(12,14,20,.72); border: .5px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 22px rgba(0,0,0,.45); opacity: 0; transform: translateX(-8px); }
.imap-pin.left span { left: auto; right: 16px; transform: translateX(8px); }
.imap-pin.in i { animation: pinDrop .7s cubic-bezier(.3,1.6,.5,1) forwards; }
.imap-pin.in b { animation: pinRipple 1.8s ease-out .35s infinite; }
.imap-pin.in span { transition: opacity .45s ease .25s, transform .6s var(--ease) .25s; opacity: 1; transform: none; }
@keyframes pinDrop { 0% { transform: scale(.2) translateY(-40px); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes pinRipple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
.stage.diving .s-hotel, .stage.diving .s-city, .stage.diving .s-river { opacity: 0 !important; transition: opacity .6s; }
.s-spark { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff1cf; box-shadow: 0 0 10px 2px rgba(240,215,164,.9), 0 0 22px rgba(217,183,121,.6); pointer-events: none; z-index: 3; }
@media (max-width: 560px) {
  .imap-pin span { font-size: 12px; padding: 4px 9px; top: -13px; left: 13px; }
  .imap-pin.left span { right: 13px; }
}
.intro.diving .globe-label { opacity: 0 !important; transition: opacity .4s; }
.imap-pin.up span { left: 0; top: -48px; transform: translate(-50%, 8px); }
.imap-pin.down span { left: 0; top: 16px; transform: translate(-50%, -8px); }
.imap-pin.in.up span, .imap-pin.in.down span { transform: translateX(-50%); }
.imap-pin.upl span, .imap-pin.downl span { left: auto; right: -14px; transform: translateY(6px); }
.imap-pin.upl span { top: -48px; } .imap-pin.downl span { top: 16px; }
.imap-pin.upr span { left: -14px; top: -48px; transform: translateY(6px); }
.imap-pin.in.upl span, .imap-pin.in.downl span, .imap-pin.in.upr span { transform: none; }
.imap-pin.up2l span { left: auto; right: -14px; top: -80px; transform: translateY(6px); }
.imap-pin.up2 span { left: 0; top: -80px; transform: translate(-50%, 6px); }
.imap-pin.in.up2l span { transform: none; } .imap-pin.in.up2 span { transform: translateX(-50%); }
.imap-pin.up2l i::after, .imap-pin.up2 i::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 34px; background: linear-gradient(to top, rgba(255,244,220,.7), transparent); }

/* ═════ v15 — intro performance: transforms and opacity only while it plays ═════ */
.s-chip { left: 50%; top: 50%; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20,24,33,.92); will-change: transform, translate, opacity; }
.s-chip.in { animation: none; }
.s-chip.orbiting { transition: opacity .6s var(--ease), transform .7s var(--ease), color .4s, border-color .4s; }
.s-chip.gather { translate: 0 0 !important; transition: translate 1s cubic-bezier(.55,0,.25,1), opacity .9s ease-in, transform 1s cubic-bezier(.55,0,.25,1), color .3s, border-color .3s; }
.intro-h .ch { filter: none; }
@keyframes chIn { to { opacity: 1; transform: none; } }
.globe-canvas.dive { filter: none; transition: transform 1.4s cubic-bezier(.6,0,.3,1), opacity 1.1s ease .2s; }
.imap-svg { will-change: transform; }
.imap.leave { filter: none; transition: opacity .9s ease .15s, transform 1s cubic-bezier(.6,0,.3,1); will-change: transform, opacity; }
.imap.out { filter: none; transition: opacity .9s ease; }
.imap-hole { position: absolute; z-index: 4; border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%) scale(.01); background: radial-gradient(circle closest-side, transparent 0, transparent 72%, #06070b 100%); box-shadow: 0 0 0 300vmax #06070b; will-change: transform; }
.imap.open .imap-hole { display: none; }
.imap-ring { width: 0; height: 0; z-index: 5; border-width: 3px; will-change: transform, opacity; }
.imap-pin { z-index: 3; }
.imap-pin span { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12,14,20,.9); }
.s-spark { will-change: transform, opacity; }
.globe-label { will-change: transform; }
/* Paint both street maps ahead of time (invisible) so the dive never waits on the first draw. */
.imap { visibility: visible; opacity: 0; will-change: opacity; }
.imap.on { opacity: 1; }

/* ═════ v16 — street level on the globe itself; the heading letters keep their blur-in ═════ */
.intro-h .ch { filter: blur(12px); }
@keyframes chIn { to { opacity: 1; filter: blur(0); transform: none; } }
.vlabel { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; white-space: nowrap; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; color: #fff; padding: 6px 12px; border-radius: 99px; background: rgba(10,12,18,.8); border: .5px solid rgba(240,215,164,.35); box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.2); opacity: 0; transition: opacity .5s var(--ease); will-change: transform, opacity; }
.vlabel.on { opacity: 1; }
.intro.done .vlabel, .globe-canvas.back ~ .vlabel { opacity: 0; }
@media (max-width: 560px) { .vlabel { font-size: 12px; padding: 5px 10px; } }
@media (max-width: 560px) { .vlabel { font-size: 11.5px; padding: 4px 9px; } }
/* A soft lens vignette over the whole intro frame: darker corners and a floor for the captions. */
.intro::before { inset: 0; height: auto; z-index: 1; background: radial-gradient(130% 95% at 50% 40%, transparent 55%, rgba(4,5,8,.5) 100%), linear-gradient(180deg, rgba(6,7,11,.6), rgba(6,7,11,0) 14%); }
.intro::after { z-index: 1; height: 42%; background: linear-gradient(180deg, rgba(6,7,11,0) 0%, rgba(6,7,11,.55) 50%, rgba(6,7,11,.85) 100%); }

/* ═════ v17 — intro preloader: nothing plays until the planet is sharp ═════ */
.intro-loader { position: absolute; left: 50%; top: 46%; width: 104px; height: 104px; z-index: 3; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.96); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.intro-loader.on { opacity: 1; transform: translate(-50%, -50%); }
.intro-loader.done { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
.intro-loader > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.il-track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1.5; }
.il-fill { fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 339.3; stroke-dashoffset: 339.3; transition: stroke-dashoffset .45s var(--ease); filter: drop-shadow(0 0 6px rgba(217,183,121,.7)); }
.il-mark { position: absolute; inset: 26px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(160deg, #1a1f2b, #0c0f16); border: .5px solid rgba(240,215,164,.35); box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 30px rgba(217,183,121,.12); animation: ilBreathe 2.4s ease-in-out infinite; }
.il-mark svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-2); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ilBreathe { 50% { box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 44px rgba(217,183,121,.28); } }

/* ═════ v18 — intro finale: pillar cards, the mark's flight into the top bar, softer caption changes ═════ */
.stage-core.lift { transform: translate(-50%, -74%) scale(.82); }
.s-pills { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(780px, 100%); z-index: 2; pointer-events: none; }
.s-pill { padding: 12px 14px 11px; border-radius: 16px; background: linear-gradient(180deg, rgba(24,28,38,.86), rgba(14,17,24,.86)); border: .5px solid rgba(240,215,164,.26); box-shadow: 0 14px 34px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); opacity: 0; transform: translateY(18px) scale(.96); filter: blur(8px); transition: opacity .7s var(--ease), transform .9s cubic-bezier(.2,.9,.25,1.1), filter .7s var(--ease); }
.s-pill.in { opacity: 1; transform: none; filter: blur(0); }
.sp-top { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.sp-top svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(217,183,121,.6)); }
.sp-val { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: #fff; margin-top: 6px; font-variant-numeric: tabular-nums; }
.sp-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .stage-core.lift { transform: translate(-50%, -92%) scale(.62); }
  .s-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; bottom: -10px; }
  .s-pill { padding: 9px 11px 8px; border-radius: 13px; }
  .sp-val { font-size: 23px; margin-top: 3px; }
  .sp-top { font-size: 10px; }
  .sp-sub { font-size: 10.5px; }
}
/* the flying mark: a copy of the stage mark, fixed to the viewport, above everything */
.stage-core.fly { position: fixed; z-index: 120; opacity: 1; transform: translate(-50%, -50%); transition: none; pointer-events: none; will-change: transform; }
.stage-core.fly .mark path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
body.mark-flying .topbar .brand .mark { opacity: 0; }
/* captions leave with a soft blur instead of a plain fade */
.intro-text { transition: opacity .3s var(--ease), transform .3s var(--ease), filter .3s var(--ease); }
.intro-text.swap { opacity: 0; transform: translateY(-6px); filter: blur(6px); }
.intro.leaving .intro-text, .intro.leaving .intro-top, .intro.leaving .intro-progress, .intro.leaving .s-pills, .intro.leaving .core-word, .intro.leaving .core-halo, .intro.leaving .core-orbit, .intro.leaving .core-ring, .intro.leaving .s-chip { opacity: 0 !important; transition: opacity .28s var(--ease) !important; }

/* ═════ v19 — the dashboard's arrival after the intro: one sequence, not one block ═════ */
body.landing main { animation: none; }
body.landing .topbar { animation: topIn .9s var(--ease) .3s both; }
body.landing .rail { animation: railIn 1s var(--ease) .45s both; }
body.landing .tabbar { animation: tabIn 1s var(--ease) 1.1s both; }
body.landing #dateLine { animation: fadeUp .8s var(--ease) .45s both; }
body.landing .fx-row { animation: fadeUp .8s var(--ease) 1.6s both; }
@keyframes topIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes railIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes tabIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.greeting.anim .gw { display: inline-block; animation: gwIn 1.05s var(--ease) both; animation-delay: calc(.55s + var(--i) * 85ms); }
@keyframes gwIn { from { opacity: 0; transform: translateY(.38em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.greeting em .gw { padding-right: .04em; }
@media (prefers-reduced-motion: reduce) { body.landing .topbar, body.landing .rail, body.landing .tabbar, body.landing #dateLine, body.landing .fx-row, .greeting.anim .gw { animation: none; } }
/* The tour button shrinks to a round play button once the viewer starts reading (all sizes); hover widens it again. */
.tour-fab span { transition: max-width .4s var(--ease), opacity .3s; max-width: 200px; overflow: hidden; white-space: nowrap; }
.tour-fab.mini { padding: 9px; gap: 0; }
.tour-fab.mini span { max-width: 0; opacity: 0; }
@media (hover: hover) { .tour-fab.mini:hover { padding: 12px 18px 12px 14px; gap: 9px; } .tour-fab.mini:hover span { max-width: 200px; opacity: 1; } }

/* ═════ v20 — phone: the tab bar tucks away while reading down, like iOS; tour button follows it ═════ */
@media (max-width: 760px) {
  .tabbar { transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s var(--ease); }
  body.tuck .tabbar { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
  .tour-fab { transition: opacity .35s var(--ease), transform .45s cubic-bezier(.2,.8,.2,1), bottom .45s cubic-bezier(.2,.8,.2,1), padding .4s var(--ease), gap .4s var(--ease); }
  body.tuck .tour-fab { bottom: calc(18px + env(safe-area-inset-bottom)); }
}
