/* Venture atlas — styles for the engine (/atlas/atlas.js), the homepage atlas (/atlas/home.js)
   and the Globe · Map · Street frame on location pages (/film-map.js). Ported from the Locus
   Atlas design (BRAND NEW DESIGN!/design_handoff_locus_atlas, 2026-11-17); every class is
   prefixed (va- engine, hx- homepage, vf- frame) so the site's own sheets cannot reach in.
   This file is external on purpose: postprocess/skin.mjs rewrites inline <style> blocks
   (it removes italics), and the design's italic serif must survive it. */

@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/InstrumentSerif-Regular-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/InstrumentSerif-Regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/InstrumentSerif-Italic-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/InstrumentSerif-Italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@property --va-accent { syntax: '<color>'; inherits: true; initial-value: #ffb84d; }

/* ---------- engine ---------- */
.va, .hx, .vf {
  --va-accent: #ffb84d; --va-ink: #e9eef8; --va-dim: #97a3bd; --va-faint: #7c88a4; --va-body: #c9d2e4;
  --va-glass: rgba(8,13,26,.68); --va-line: rgba(150,180,240,.13);
  --va-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --va-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --va-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --va-ease: cubic-bezier(.2,.7,.2,1); --va-slide: cubic-bezier(.65,0,.2,1);
}
.va { position: relative; overflow: hidden; background: #03050a; isolation: isolate; color: var(--va-ink); font-family: var(--va-sans); -webkit-font-smoothing: antialiased; }
.va::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse at 50% 50%, transparent 52%, rgba(0,0,0,.6) 100%); }
.va-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; opacity: 0; transition: opacity 1.2s ease; outline: 0; }
.va-canvas.ready { opacity: 1; }
.va-canvas.dragging { cursor: grabbing; } .va-canvas.pointing { cursor: pointer; }
.va-tip { position: absolute; left: 0; top: 0; z-index: 8; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: rgba(6,10,20,.88); border: 1px solid var(--va-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .2s; max-width: 260px; }
.va-tip.on { opacity: 1; }
.va-tip b { display: block; font-weight: 500; font-size: 13px; line-height: 1.3; color: var(--va-ink); }
.va-tip span { display: block; font-size: 11px; color: var(--va-dim); margin-top: 2px; line-height: 1.35; }
.va-hint { position: absolute; left: 50%; top: 50%; z-index: 8; transform: translate(-50%, -50%); padding: 9px 16px; border-radius: 999px; background: rgba(6,10,20,.82); border: 1px solid var(--va-line); font: 500 12.5px var(--va-sans); color: var(--va-ink); pointer-events: none; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.va-hint.on { opacity: 1; }
.va-failed::before { content: 'The map could not load.'; position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font: 11px var(--va-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--va-faint); }

/* glass, shared */
.va-glass { background: var(--va-glass); -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border: 1px solid var(--va-line); border-radius: 18px; box-shadow: 0 30px 80px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05); }
.va-mono { font-family: var(--va-mono); }
.hx button, .vf button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; margin: 0; padding: 0; }
.hx button:focus-visible, .vf button:focus-visible, .hx a:focus-visible { outline: 2px solid color-mix(in oklch, var(--va-accent) 70%, transparent); outline-offset: 2px; }

/* ---------- homepage atlas ---------- */
/* The atlas stops a little short of the fold so the reel's first line shows: the page continues. */
.hx { position: relative; height: calc(100svh - var(--navh, 64px) - 88px); min-height: 600px; max-height: 1100px; overflow: hidden; transition: --va-accent .9s ease; }
.hx * { box-sizing: border-box; }
.hx .va { position: absolute; inset: 0; }
.hx a { color: var(--va-accent); text-decoration: none; }
.hx a:hover { color: #fff; }
/* Panels rise in once the atlas is running. Without JS they are simply there; if the
   script never arrives they still appear after 6s (the failsafe delay). */
.va-js .hx .rise { opacity: 0; transform: translateY(14px); animation: hx-rise .9s var(--va-ease) 6s forwards; }
.va-js .hx.live:not(.intro) .rise { animation: hx-rise .9s var(--va-ease) var(--rd, 0s) forwards; }
.hx.intro .rise { pointer-events: none; }
@keyframes hx-rise { to { opacity: 1; transform: none; } }
.hx-stage:focus { outline: none; }
.hx-stage:focus-visible { outline: 2px solid color-mix(in oklch, var(--va-accent) 70%, transparent); outline-offset: -4px; }

.hx-panel { position: absolute; top: 18px; left: 18px; width: min(352px, calc(100% - 36px)); padding: 18px; display: flex; flex-direction: column; gap: 14px; z-index: 5; }
.hx-brand { display: flex; align-items: center; gap: 12px; }
.hx-orb { width: 30px; height: 30px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff 0, var(--va-accent) 22%, color-mix(in oklch, var(--va-accent) 35%, #0a1222) 70%); box-shadow: 0 0 22px -2px var(--va-accent); }
.hx-title { font-family: var(--va-serif) !important; font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.01em; margin: 0; color: var(--va-ink); text-wrap: nowrap; }
.hx-title em { font-style: italic; color: var(--va-accent); }
.hx-stats { font: 11px var(--va-mono); color: var(--va-dim); margin: 4px 0 0; letter-spacing: .02em; }
.hx-tabs { position: relative; display: grid; grid-template-columns: repeat(3, auto); background: rgba(255,255,255,.035); border: 1px solid var(--va-line); border-radius: 12px; padding: 4px; }
.hx-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 9px; background: color-mix(in oklch, var(--va-accent) 16%, transparent); border: 1px solid color-mix(in oklch, var(--va-accent) 45%, transparent); box-shadow: 0 0 24px -8px var(--va-accent); transition: transform .6s var(--va-slide), width .6s; }
.hx-tabs button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 36px; font-size: 13px; font-weight: 500; color: var(--va-dim); transition: color .3s; white-space: nowrap; }
.hx-tabs button.on { color: var(--va-ink); }
.hx-tabs button i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }
.hx-tabs button b { font: 400 10px var(--va-mono); color: var(--va-faint); }
.hx-blurb { font-size: 13px; color: var(--va-dim); line-height: 1.45; min-height: 19px; margin: 0; text-wrap: pretty; }
.hx-blurb.swap { animation: hx-blur-in .6s ease both; }
@keyframes hx-blur-in { from { opacity: 0; filter: blur(6px); transform: translateY(4px); } to { opacity: 1; filter: none; transform: none; } }
.hx-chip { align-self: flex-start; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px !important; border-radius: 999px; border: 1px solid var(--va-line) !important; background: rgba(255,255,255,.03) !important; font-size: 12px; color: var(--va-dim) !important; transition: background .2s, color .2s; text-align: left; }
.hx-chip:hover { background: rgba(255,255,255,.07) !important; color: var(--va-ink) !important; }
.hx-chip i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--va-faint); }
.hx-chip.on i { background: var(--va-accent); box-shadow: 0 0 8px var(--va-accent); }
.hx-chip.busy i { background: var(--va-accent); animation: hx-beat 1s ease-in-out infinite; }
.hx-chip[hidden] { display: none; }
.hx-search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid var(--va-line); transition: border-color .3s, box-shadow .3s; cursor: text; }
.hx-search:focus-within { border-color: color-mix(in oklch, var(--va-accent) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--va-accent) 12%, transparent); }
.hx-search svg { flex: none; color: var(--va-faint); }
.hx-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--va-ink); font: 13.5px var(--va-sans); padding: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.hx-search input::placeholder { color: var(--va-faint); opacity: 1; }
.hx-search input::-webkit-search-cancel-button { display: none; }
.hx-search kbd { font: 10px var(--va-mono); color: var(--va-faint); border: 1px solid var(--va-line); border-radius: 5px; padding: 2px 6px; }
.hx-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hx-actions.two { grid-template-columns: repeat(2, 1fr); }
.hx-act { display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 11px; font-size: 13px !important; font-weight: 500; background: rgba(255,255,255,.04) !important; border: 1px solid var(--va-line) !important; transition: background .25s, border-color .25s, transform .15s; }
.hx-act:hover { background: rgba(255,255,255,.08) !important; border-color: rgba(150,180,240,.25) !important; }
.hx-act:active { transform: scale(.97); }
.hx-act.on { background: color-mix(in oklch, var(--va-accent) 18%, transparent) !important; border-color: color-mix(in oklch, var(--va-accent) 50%, transparent) !important; }
.hx-act svg { opacity: .8; }
.hx-act[hidden] { display: none; }
.hx-drawer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--va-slide), margin .55s; margin-top: -14px; }
.hx-drawer.open { grid-template-rows: 1fr; margin-top: 0; }
.hx-drawer > div { overflow: hidden; min-height: 0; }
.hx-dbody { max-height: calc(var(--hxh, 100vh) - 430px); min-height: 0; overflow-y: auto; margin: 0 -8px; padding: 0 8px; scrollbar-width: thin; scrollbar-color: rgba(150,180,240,.2) transparent; overscroll-behavior: contain; }
.hx-row { width: 100%; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 9px 10px !important; border-radius: 10px; text-align: left; transition: background .2s; opacity: 0; animation: hx-rise .5s var(--va-ease) forwards; animation-delay: var(--d); transform: translateY(8px); }
.hx-row:hover, .hx-row.sel { background: rgba(255,255,255,.06) !important; }
.hx-row .rdot { width: 6px; height: 6px; border-radius: 50%; background: var(--va-accent); box-shadow: 0 0 8px var(--va-accent); justify-self: center; }
.hx-row .rdot.live { width: 4px; height: 4px; box-shadow: none; opacity: .7; }
.hx-row .rt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hx-row .rt b { font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--va-ink); }
.hx-row .rt em { font-style: normal; font-size: 11.5px; color: var(--va-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-row .rm { font: 10.5px var(--va-mono); color: var(--va-dim); white-space: nowrap; }
.hx-tourc { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px !important; border-radius: 12px; text-align: left; border: 1px solid transparent !important; transition: background .2s, border-color .2s; opacity: 0; animation: hx-rise .5s var(--va-ease) forwards; animation-delay: var(--d); transform: translateY(8px); }
.hx-tourc:hover { background: rgba(255,255,255,.05) !important; border-color: var(--va-line) !important; }
.hx-tourc .play { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklch, var(--va-accent) 18%, transparent); color: var(--va-accent); border: 1px solid color-mix(in oklch, var(--va-accent) 40%, transparent); }
.hx-tourc b { display: block; font-family: var(--va-serif); font-weight: 400; font-size: 19px; line-height: 1.1; color: var(--va-ink); }
.hx-tourc em { font-style: normal; font-size: 11px; color: var(--va-faint); font-family: var(--va-mono); }
.hx-empty { font-size: 13px; color: var(--va-faint); padding: 10px; margin: 0; }
.hx-dlabel { font: 10px var(--va-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--va-faint); padding: 4px 10px 8px; margin: 0; }
.hx-dlinks { list-style: none; margin: 0; padding: 0; }

.hx-card { position: absolute; top: 18px; right: 18px; width: min(380px, calc(100% - 36px)); max-height: calc(100% - 214px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(150,180,240,.2) transparent; padding: 22px 22px 16px; z-index: 6; opacity: 0; transform: translateX(30px) scale(.98); pointer-events: none; transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.hx-card.on { opacity: 1; transform: none; pointer-events: auto; }
.hx-card .x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--va-dim); transition: background .2s, color .2s; z-index: 1; }
.hx-card .x:hover { background: rgba(255,255,255,.08); color: var(--va-ink); }
.hx-kick { display: flex; align-items: center; gap: 8px; font: 500 10.5px var(--va-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--va-accent); margin: 0; padding-right: 30px; }
.hx-kick i { width: 7px; height: 7px; border-radius: 50%; background: var(--va-accent); box-shadow: 0 0 10px var(--va-accent); animation: hx-beat 2s ease-in-out infinite; flex: none; }
@keyframes hx-beat { 50% { transform: scale(1.5); opacity: .6; } }
.hx-kick .sep { color: var(--va-faint); }
.hx-ct { font-family: var(--va-serif) !important; font-weight: 400; font-size: 38px; line-height: 1.02; letter-spacing: -.012em; margin: 14px 28px 12px 0; text-wrap: balance; color: var(--va-ink); }
.hx-ct .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: hx-word .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
@keyframes hx-word { to { opacity: 1; transform: none; filter: none; } }
.hx-place { font-size: 15px; color: var(--va-ink); line-height: 1.35; margin: 0; }
.hx-geo { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 11px var(--va-mono); color: var(--va-dim); margin: 6px 0 0; letter-spacing: .02em; }
.hx-geo span { color: var(--va-faint); }
.hx-shot { margin: 14px 0 0; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.04); }
.hx-shot img { display: block; width: 100%; height: 168px; object-fit: cover; }
.hx-shot figcaption { font: 10px var(--va-mono); color: var(--va-faint); padding: 7px 10px; letter-spacing: .02em; line-height: 1.5; }
.hx-shot figcaption a { color: var(--va-dim); }
.hx-rule { height: 1px; margin: 16px 0 14px; background: linear-gradient(90deg, var(--va-accent), transparent); transform-origin: left; animation: hx-grow 1s var(--va-slide) both; animation-delay: var(--d); }
@keyframes hx-grow { from { transform: scaleX(0); } }
.hx-note { font-size: 14px; line-height: 1.55; color: var(--va-body); text-wrap: pretty; margin: 0; }
.rv { opacity: 0; animation: hx-rv .7s var(--va-ease) forwards; animation-delay: var(--d); }
@keyframes hx-rv { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hx-films { list-style: none; display: grid; gap: 7px; font-size: 13.5px; color: var(--va-body); margin: 0; padding: 0; }
.hx-films li { display: flex; justify-content: space-between; gap: 14px; }
.hx-films a { color: var(--va-body); }
.hx-films a:hover { color: #fff; }
.hx-films em { font-style: normal; font: 11px var(--va-mono); color: var(--va-faint); flex: none; }
.hx-more { font: 11px var(--va-mono); color: var(--va-faint); margin: 8px 0 0; }
.hx-open { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font: 500 12.5px var(--va-sans); color: #0a0f1c !important; background: var(--va-accent); box-shadow: 0 0 22px -6px var(--va-accent); transition: transform .15s, box-shadow .2s; }
.hx-open:hover { color: #0a0f1c !important; box-shadow: 0 0 30px -4px var(--va-accent); }
.hx-open:active { transform: scale(.97); }
.hx-cnav { position: sticky; z-index: 3; bottom: -16px; background: #090e1b; margin: 18px -22px -16px; padding: 12px 22px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--va-line); }
.hx-cnav .hx-open[hidden] { display: none; }
.hx-cnav-row { display: flex; align-items: center; justify-content: space-between; }
/* a long card scrolls under its footer: fade the last line so the cut reads as 'more below' */
.hx-cnav::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 26px; pointer-events: none; background: linear-gradient(180deg, rgba(9,14,27,0), #090e1b); }
.hx-cnav button { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px !important; border-radius: 9px; font-size: 12.5px; color: var(--va-dim); transition: background .2s, color .2s; }
.hx-cnav button:hover { background: rgba(255,255,255,.07); color: var(--va-ink); }
.hx-cidx { font: 11px var(--va-mono); color: var(--va-faint); }

.hx-tourbar { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 999px; z-index: 6; width: min(640px, calc(100% - 400px)); transition: transform .8s cubic-bezier(.2,.9,.2,1); }
.hx-tourbar.on { transform: translate(-50%, 0); }
.hx-bigbtn { flex: none; width: 40px; height: 40px; border-radius: 50% !important; display: grid !important; place-items: center; background: var(--va-accent) !important; color: #0a0f1c !important; box-shadow: 0 0 26px -4px var(--va-accent); transition: transform .2s; }
.hx-bigbtn:active { transform: scale(.92); }
.hx-tinfo { display: flex; flex-direction: column; min-width: 0; flex: none; max-width: 40%; }
.hx-tk { font: 9.5px var(--va-mono); letter-spacing: .16em; color: var(--va-accent); }
.hx-tname { font-family: var(--va-serif); font-size: 19px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-segs { flex: 1; display: flex; gap: 4px; min-width: 60px; }
.hx-segs i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.hx-segs i b { display: block; height: 100%; width: 0; background: var(--va-accent); box-shadow: 0 0 8px var(--va-accent); }
.hx-tstep { font: 11px var(--va-mono); color: var(--va-dim); flex: none; }
.hx-tstop { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid !important; place-items: center; color: var(--va-dim); }
.hx-tstop:hover { background: rgba(255,255,255,.08) !important; color: var(--va-ink); }

.hx-timeline { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 999px; z-index: 5; width: min(580px, calc(100% - 420px)); transition: transform .8s cubic-bezier(.2,.9,.2,1); }
.hx-timeline.on { transform: translate(-50%, 0); }
.hx-tlv { display: flex; flex-direction: column; flex: none; width: 92px; min-width: 0; }
.hx-tlval { font-family: var(--va-serif); font-size: 21px; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-tlt { position: relative; flex: 1; height: 34px; min-width: 60px; }
.hx-hist { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 2px; }
.hx-hist i { flex: 1; min-height: 2px; border-radius: 1px; background: rgba(255,255,255,.14); transition: background .25s; }
.hx-hist i.on { background: var(--va-accent); }
.hx-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: ew-resize; outline: 0; }
.hx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 3px; height: 40px; border-radius: 2px; background: #fff; box-shadow: 0 0 12px 2px var(--va-accent); }
.hx-range::-moz-range-thumb { width: 3px; height: 40px; border: 0; border-radius: 2px; background: #fff; box-shadow: 0 0 12px 2px var(--va-accent); }
.hx-range::-moz-range-track { background: none; }
.hx-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(255,255,255,.35), 0 0 12px 2px var(--va-accent); }
.hx-tlcount { flex: none; font: 11px var(--va-mono); color: var(--va-dim); white-space: nowrap; min-width: 84px; text-align: right; }

.hx-controls { position: absolute; right: 18px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 5; }
.va-vseg { position: relative; display: flex; padding: 4px; border-radius: 12px; }
.va-vseg .vp { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 2)); border-radius: 9px; background: rgba(255,255,255,.09); border: 1px solid rgba(150,180,240,.2); transition: transform .6s var(--va-slide); transform: translateX(calc(100% * var(--i, 0))); }
.va-vseg button { position: relative; z-index: 1; width: 74px; height: 32px; display: flex !important; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--va-dim); transition: color .3s; white-space: nowrap; }
.va-vseg button.on { color: var(--va-ink); }
.hx-zoom { display: flex; flex-direction: column; padding: 4px; border-radius: 12px; }
.hx-zoom button { width: 36px; height: 36px; border-radius: 9px; display: grid !important; place-items: center; color: var(--va-dim); transition: background .2s, color .2s; }
.hx-zoom button:hover { background: rgba(255,255,255,.08); color: var(--va-ink); }
.hx-zoom button.on { color: var(--va-accent); }
.hx-zoom hr { border: 0; height: 1px; background: var(--va-line); margin: 2px 6px; }
.hx-foot { position: absolute; left: 20px; bottom: 20px; font: 10.5px var(--va-mono); color: var(--va-faint); letter-spacing: .04em; z-index: 4; line-height: 1.7; margin: 0; transition: opacity .4s; }
.hx-foot b { color: var(--va-dim); font-weight: 500; }
.hx:has(.hx-tourbar.on) .hx-foot, .hx:has(.hx-timeline.on) .hx-foot { visibility: hidden; }
@media (max-width: 1100px) { .hx-foot { display: none; } }

/* intro: scoped to the atlas, the nav above stays usable. Only with JS, once per visit,
   never under reduced motion; it fades itself out at 6.5s if the script never runs. */
.hx-intro { display: none; position: absolute; inset: 0; z-index: 20; cursor: pointer; transition: opacity 1.1s ease; overflow: hidden; }
.va-js .hx-intro { display: block; animation: hx-intro-gone 1s 6.5s forwards; }
.va-seen .hx-intro { display: none !important; }
@media (prefers-reduced-motion: reduce) { .hx-intro { display: none !important; } }
@keyframes hx-intro-gone { to { opacity: 0; visibility: hidden; } }
.hx-intro::before { content: ''; position: absolute; inset: 0; background: #03050a; animation: hx-veil 2.6s .5s ease forwards; }
@keyframes hx-veil { to { opacity: 0; } }
.hx-intro .bar { position: absolute; left: 0; right: 0; height: 11%; background: #000; transition: transform 1.1s var(--va-slide); }
.hx-intro .bar.top { top: 0; } .hx-intro .bar.bot { bottom: 0; }
.hx-intro.out { opacity: 0; pointer-events: none; }
.hx-intro.out .bar.top { transform: translateY(-100%); } .hx-intro.out .bar.bot { transform: translateY(100%); }
.hx-ititle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; transition: transform 1.1s ease, filter 1.1s ease; text-shadow: 0 4px 40px rgba(0,0,0,.8); padding: 0 16px; }
.hx-intro.out .hx-ititle { transform: scale(1.08); filter: blur(10px); }
.hx-ik { font: 11px var(--va-mono); letter-spacing: .34em; text-transform: uppercase; color: var(--va-dim); opacity: 0; animation: hx-rv 1.2s .3s ease forwards; margin: 0; }
.hx-ih { font-family: var(--va-serif) !important; font-weight: 400; font-size: clamp(76px, 15vw, 220px); line-height: .9; letter-spacing: -.02em; display: flex; margin: 0; color: var(--va-ink); }
.hx-ih span { display: inline-block; opacity: 0; animation: hx-ltr 1.5s var(--va-ease) forwards; animation-delay: var(--d); }
@keyframes hx-ltr { from { opacity: 0; filter: blur(18px); transform: translateY(.16em) scale(1.12); } to { opacity: 1; filter: none; transform: none; } }
.hx-isub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-family: var(--va-serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); margin: 0; }
.hx-isub span { opacity: 0; animation: hx-rv 1s ease forwards; animation-delay: var(--d); color: var(--c); }
.hx-iskip { position: absolute; left: 0; right: 0; bottom: calc(11% + 22px); text-align: center; font: 10px var(--va-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--va-faint); opacity: 0; animation: hx-rv 1s 2s ease forwards; margin: 0; }

/* Without JS the Browse list (built into the page) is open, so the featured places are reachable. */
html:not(.va-js) .hx-drawer { grid-template-rows: 1fr; margin-top: 0; }
html:not(.va-js) .hx-act, html:not(.va-js) .hx-chip, html:not(.va-js) .hx-search, html:not(.va-js) .hx-controls { display: none; }
html:not(.va-js) .hx-row { opacity: 1; transform: none; animation: none; }

@media (max-width: 980px) { .hx-tlcount { display: none; } }
@media (min-width: 761px) and (max-width: 1080px) { .hx-timeline { width: min(520px, calc(100% - 240px)); left: calc(50% + 40px); } }
@media (max-width: 760px) {
  .hx { min-height: 640px; }
  .hx-search input { font-size: 16px; }   /* under 16px iOS zooms the page on focus */
  .hx-panel { top: 12px; left: 12px; width: calc(100% - 24px); padding: 14px; gap: 10px; }
  .hx-title { font-size: 26px; }
  .hx-blurb, .hx-chip, .hx-search kbd { display: none; }
  .hx-drawer { margin-top: -10px; }
  .hx-dbody { max-height: 36vh; }
  .hx-card { top: auto; bottom: 12px; right: 12px; left: 12px; width: auto; max-height: 58%; padding: 18px 18px 14px; }
  .hx-ct { font-size: 32px; }
  .hx-cnav { margin: 16px -18px -14px; padding: 10px 18px; bottom: -14px; }
  .hx-timeline { display: none; }
  .hx-tourbar { left: 12px; right: 12px; width: auto; transform: translateY(160%); bottom: 12px; gap: 10px; }
  .hx-tourbar.on { transform: none; }
  .hx-tinfo { max-width: 46%; }
  .hx-controls { right: 12px; bottom: 12px; flex-direction: row; align-items: flex-end; }
  .hx-controls .va-vseg button { width: 58px; font-size: 12px; }
  .hx-zoom { flex-direction: row; }
  .hx-zoom hr { width: 1px; height: auto; margin: 6px 2px; }
  .hx:has(.hx-card.on) .hx-controls, .hx:has(.hx-tourbar.on) .hx-controls { opacity: 0; pointer-events: none; }
}

/* The homepage's nav button: the site's teal sat directly above the atlas's amber and lime;
   here it takes the page's neutral primary instead (the store buttons below match it). */
body.va-home .nav-cta.gold-btn.solid { background: #e9eef8 !important; border-color: #e9eef8 !important; color: #05070d !important; }
body.va-home .nav-cta.gold-btn.solid:hover { background: #fff !important; border-color: #fff !important; }
@media (max-width: 1100px) { body.va-home .nav-links { margin-right: 0; } }

/* ---------- the reel and the app, below the atlas ---------- */
.hx-reel, .hx-cta { --va-ink: #e9eef8; --va-dim: #97a3bd; --va-faint: #7c88a4; --va-line: rgba(150,180,240,.13);
  --va-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif; --va-sans: 'Geist', system-ui, -apple-system, sans-serif;
  --va-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--va-ink); font-family: var(--va-sans); }
.hx-reel { position: relative; background: linear-gradient(180deg, #03050a 0%, #050608 100%); padding: 40px 24px clamp(56px, 7vw, 96px); overflow: hidden; }
.hx-reel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 55% at 72% 50%, rgba(255,184,77,.07), transparent 70%); }
.hx-reel-in { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 7vw, 96px); align-items: start; }
.hx-reel-copy { padding-top: 6px; }
.hx-eyebrow { font: 400 11px var(--va-mono) !important; letter-spacing: .2em !important; text-transform: uppercase; color: var(--va-faint) !important; margin: 0; }
.hx-reel h1, .hx-cta h2 { font-family: var(--va-serif) !important; font-weight: 400 !important; letter-spacing: -.02em !important; color: var(--va-ink); text-wrap: balance; }
.hx-reel h1 { font-size: clamp(46px, 6.4vw, 92px) !important; line-height: .96 !important; margin: 18px 0 0; max-width: 9em; }
.hx-sub { font-size: 17px; line-height: 1.6; color: var(--va-dim); margin: 24px 0 0; max-width: 31em; text-wrap: pretty; }
.hx-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hx-store { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font: 500 14px var(--va-sans); letter-spacing: -.005em; text-decoration: none; color: var(--va-ink); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); transition: background .2s, border-color .2s, transform .15s; }
.hx-store:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.32); }
.hx-store:active { transform: scale(.98); }
.hx-store.primary { background: #e9eef8; border-color: #e9eef8; color: #05070d; }
.hx-store.primary:hover { background: #fff; border-color: #fff; }
.hx-trust { display: flex; align-items: center; gap: 9px; margin: 22px 0 0; font: 11px var(--va-mono); letter-spacing: .04em; color: var(--va-faint); }
.hx-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: #ffb84d; box-shadow: 0 0 10px rgba(255,184,77,.8); flex: none; }
.hx-reel-frame { position: relative; width: clamp(260px, calc((100vh - 200px) * 9 / 16), 360px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; cursor: pointer; border: 1px solid var(--va-line); box-shadow: 0 50px 120px -30px rgba(0,0,0,.8), 0 0 90px -30px rgba(255,184,77,.25); }
.hx-reel-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.hx-sound { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(6,10,20,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); color: var(--va-ink); font: 500 12px var(--va-sans); cursor: pointer; transition: opacity .25s, background .2s; white-space: nowrap; }
.hx-sound:hover { background: rgba(6,10,20,.9); }
.hx-sound.hidden { opacity: 0; pointer-events: none; }
.hx-cta { position: relative; text-align: center; padding: clamp(72px, 10vw, 140px) 24px; overflow: hidden;
  background: radial-gradient(46% 58% at 50% 46%, rgba(90,140,255,.075), transparent 72%), #050608; }
.hx-cta > * { position: relative; }
.hx-cta-icon { display: block; width: 64px; height: 64px; border-radius: 15px; margin: 0 auto 26px; box-shadow: 0 18px 50px -14px rgba(0,0,0,.8); }
.hx-cta h2 { font-size: clamp(36px, 4.6vw, 64px) !important; line-height: 1.02 !important; max-width: 13em; margin: 16px auto 0; }
.hx-cta .hx-stores { justify-content: center; margin-top: 36px; }
@media (max-width: 860px) {
  .hx-reel-in { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .hx-reel h1 { margin-left: auto; margin-right: auto; }
  .hx-sub { margin-left: auto; margin-right: auto; }
  .hx-stores, .hx-trust { justify-content: center; }
  .hx-reel-frame { width: min(76vw, 340px); }
}
@media (max-width: 420px) { .hx-store { flex: 1 1 100%; } .hx-sub { font-size: 15.5px; } }

/* ---------- Globe · Map · Street frame on location pages ---------- */
.vf { position: relative; }
.vf .va { position: absolute; inset: 0; border-radius: inherit; }
.vf-street { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.vf-street[hidden] { display: none; }
.vf-bar { position: absolute; left: 10px; bottom: 10px; z-index: 6; display: flex; gap: 8px; align-items: flex-end; }
.vf-bar .va-vseg { background: rgba(8,13,26,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--va-line); border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.7); }
.vf-bar .va-vseg button { width: auto; min-width: 58px; padding: 0 10px !important; height: 30px; font-family: var(--va-sans); }
.vf-zoom { display: flex; padding: 3px; border-radius: 12px; background: rgba(8,13,26,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--va-line); }
.vf-zoom button { width: 32px; height: 32px; border-radius: 9px; display: grid !important; place-items: center; color: var(--va-dim); }
.vf-zoom button:hover { background: rgba(255,255,255,.08); color: var(--va-ink); }
.vf-zoom[hidden] { display: none; }
/* the street map keeps its OpenStreetMap credit bottom-right and its zoom top-right */
.vf-on-street .vf-bar { top: 10px; bottom: auto; }
.vf-on-street .vf-pop { display: none; }
.vf-pop { position: absolute; left: 10px; top: 10px; z-index: 6; max-width: min(300px, calc(100% - 20px)); padding: 10px 14px; border-radius: 12px; font-family: var(--va-sans); }
.vf-pop[hidden] { display: none; }
.vf-pop b { display: block; font-family: var(--va-serif); font-weight: 400; font-size: 19px; line-height: 1.15; color: var(--va-ink); }
.vf-pop a { text-decoration: none; }
.vf-pop a b::after { content: ' \2192'; font-family: var(--va-sans); font-size: 13px; color: var(--va-accent); }
.vf-pop span { display: block; margin-top: 3px; font-size: 12px; color: var(--va-dim); line-height: 1.4; }
.vf.va-failed .vf-bar { display: none; }
.hx-trust { flex-wrap: wrap; }
@media (max-width: 520px) { .vf-bar .va-vseg button { min-width: 0; padding: 0 9px !important; font-size: 12px; } }
