/* The homepage only (privacy and 404 keep styles.css). Colours are the app's
   theme.ts tokens; the hero map is forced light like the app's. The CSP allows
   no inline styles, so every style lives here. */

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/syne-800-latin.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: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/fonts/unbounded-latin.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;
}

:root {
  --bg: #0e0a12;
  --surface: #1a1420;
  --hi: #241b2e;
  --pink: #ec4899;
  --lav: #c084fc;
  --t2: rgba(255, 255, 255, 0.72);
  --t3: rgba(255, 255, 255, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --hair: rgba(255, 255, 255, 0.06);
  --grad: linear-gradient(135deg, #7c3aed, #ec4899);
  /* the brand gradient ends on pink-600 so white button text stays above 4.5:1 */
  --btn: linear-gradient(135deg, #7c3aed, #db2777);
}

html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.pc { position: relative; font-family: "Unbounded", system-ui, sans-serif; font-weight: 400; font-size: 15px; line-height: 1.65; color: #fff; background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
.pc a { color: var(--lav); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pc a:hover { color: #fff; }
.pc a:focus-visible, .pc summary:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 12px; }
.pc [id] { scroll-margin-top: 88px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.eyebrow { display: block; margin: 0; font-weight: 500; font-size: 11px; line-height: 1.5; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lav); }
.heading { margin: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 400; }
.display { display: block; font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
.xl { font-size: clamp(36px, 3.6vw, 46px); }
.lg { font-size: clamp(26px, 2.8vw, 36px); }
.lead { margin: 0; font-weight: 300; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.65; color: var(--t2); max-width: 30rem; text-wrap: pretty; }
.small { margin: 0; font-weight: 300; font-size: 13px; line-height: 1.6; color: var(--t2); }
.center { text-align: center; margin-left: auto; margin-right: auto; align-items: center; }
.pink { color: var(--pink); }
.lav { color: var(--lav); }
.brand { font-family: "Syne", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; box-sizing: border-box; border-radius: 14px; background: var(--btn); color: #fff !important; font-weight: 500; font-size: 15px; text-decoration: none; box-shadow: 0 12px 32px rgba(124, 58, 237, 0.35); transition: filter 0.2s ease, transform 0.2s ease; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.glass { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; box-sizing: border-box; border-radius: 999px; background: rgba(26, 20, 32, 0.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--border); box-shadow: 0 4px 18px rgba(14, 10, 18, 0.22); color: #fff !important; font-weight: 500; font-size: 14px; text-decoration: none; }
.glass:hover { background: rgba(36, 27, 46, 0.94); }
.only-sm { display: none; }
.map-narrow { display: none; }

/* ---------- top bar + hero ---------- */

/* a zero-height sticky bar: it rides down the page without pushing the hero down */
.topbar { position: sticky; top: 0; z-index: 10; height: 0; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px clamp(16px, 2.5vw, 32px) 0; pointer-events: none; }
.topbar-in a { pointer-events: auto; }
.topbar .brand { font-size: 18px; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn-top { min-height: 44px; padding: 0 18px; gap: 8px; border-radius: 999px; font-size: 14px; box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4); }

.hero { position: relative; min-height: 760px; background: #eeedea; }
.maplayer { position: absolute; inset: 0; overflow: hidden; }
.maplayer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dockwrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 64px; }
.dock { width: min(440px, 100%); box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; padding: 12px 26px 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); box-shadow: 0 3px 16px rgba(0, 0, 0, 0.25), 0 40px 90px rgba(14, 10, 18, 0.42); }
.grabber { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--grad); margin: 0 auto; }
.brandrow { display: flex; align-items: center; gap: 12px; align-self: flex-start; color: #fff !important; text-decoration: none; }
.brandrow img { display: block; width: 40px; height: 40px; border-radius: 10px; }
.brandrow .brand { font-size: 22px; }
.cta { display: flex; flex-direction: column; gap: 10px; }
.cta .small { text-align: center; }
.routenav { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--hair); }
.routenav .eyebrow { padding: 12px 0 6px; }
.stoplink { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; gap: 14px; align-items: center; min-height: 52px; padding: 2px 8px; margin: 0 -8px; border-radius: 12px; color: #fff !important; text-decoration: none; }
.stoplink:hover { background: var(--hi); }
.stoplink:not(:last-child)::after { content: ""; position: absolute; z-index: 1; left: 20px; top: calc(50% + 16px); height: calc(100% - 32px); border-left: 2px dashed rgba(192, 132, 252, 0.4); }
.sl-solo::after { display: none; }
.sl-t { display: block; font-weight: 500; font-size: 14px; line-height: 1.4; }
.sl-d { display: block; font-weight: 300; font-size: 12px; line-height: 1.45; color: var(--t3); }
.token { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); font-weight: 700; font-size: 12px; color: #fff; }
.token svg { display: block; }
.token.home { box-sizing: border-box; background: var(--surface); border: 2px solid var(--pink); }

.whatis { padding-top: 112px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.statement { margin: 0; max-width: 46rem; font-weight: 300; font-size: clamp(19px, 2.3vw, 28px); line-height: 1.5; text-wrap: balance; }

/* ---------- games ---------- */

.gamesec { padding-top: 112px; padding-bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gamegrid { align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.game { display: flex; flex-direction: column; border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); overflow: hidden; }
.gstage { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.golfstage { background: radial-gradient(60% 60% at 50% 45%, rgba(124, 58, 237, 0.38), rgba(26, 20, 32, 0) 72%); }
.golfstage .phone { width: 208px; transform: rotate(-4deg) translateY(16px); }
.huntstage { background: #eeedea; }
.huntmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.fchip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 40px); box-sizing: border-box; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(26, 20, 32, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(14, 10, 18, 0.35); }
.fchip.tl { top: 20px; left: 20px; }
.fchip.br { right: 20px; bottom: 20px; }
.fchip b { display: block; font-weight: 600; font-size: 13px; line-height: 1.35; }
.fchip span span { display: block; font-weight: 300; font-size: 11.5px; line-height: 1.4; color: var(--t2); }
.fc-ico, .gt-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; }
.fc-ico { width: 32px; height: 32px; border-radius: 10px; }
.gt-ico { width: 40px; height: 40px; border-radius: 12px; }
.fc-ico svg, .gt-ico svg { display: block; }
.gcopy { display: flex; flex-direction: column; gap: 14px; padding: 28px 32px 32px; border-top: 1px solid var(--hair); }
.gtitle { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(236, 72, 153, 0.16); color: #f472b6; font-weight: 600; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.ticks { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; font-weight: 300; font-size: 14px; line-height: 1.55; color: var(--t2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.andmore { align-self: stretch; margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 30px 32px 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); }
.am-h { margin: 0; font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.am-list { align-self: stretch; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.am-list li, .tog-list li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--hi); border: 1px solid var(--hair); }
.am-list b, .tog-list b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.am-list b + span, .tog-list b + span { display: block; margin-top: 3px; font-weight: 300; font-size: 13px; line-height: 1.45; color: var(--t2); text-wrap: pretty; }
.nw { white-space: nowrap; }
.still { display: none; }

/* ---------- crawl together ---------- */

.togband { margin-top: 88px; border-top: 1px solid var(--hair); background: radial-gradient(60% 440px at 50% 0, rgba(236, 72, 153, 0.16), rgba(14, 10, 18, 0) 75%); }
.togsec { padding-top: 104px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.togstage { align-self: stretch; margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 540px; border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); overflow: hidden; }
.togmapcell { position: relative; background: #eeedea; }
.togmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.togphones { display: flex; align-items: center; justify-content: center; background: radial-gradient(65% 60% at 50% 45%, rgba(236, 72, 153, 0.26), rgba(26, 20, 32, 0) 72%); }
.togphones .phone { width: clamp(172px, 19vw, 228px); }
.togphones .phone:first-child { z-index: 0; transform: rotate(-6deg) translate(10px, 14px); }
.togphones .phone:first-child img { filter: brightness(0.85); }
.togphones .phone:last-child { z-index: 1; margin-left: -40px; transform: rotate(5deg) translate(-6px, -10px); }
.tog-list { align-self: stretch; margin: 6px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tog-list li { background: var(--surface); }

/* ---------- the four stops, joined by the route line ---------- */

.stops-wrap { padding-top: 24px; padding-bottom: 128px; }
.stops { position: relative; display: flex; flex-direction: column; gap: 128px; }
.stops::before, .stops::after { content: ""; position: absolute; z-index: 0; left: 31px; top: 0; bottom: 0; width: 0; }
.stops::before { border-left: 2px dashed rgba(192, 132, 252, 0.35); }
.stops::after { width: 2px; background: linear-gradient(180deg, #7c3aed, #ec4899); transform-origin: top; }
.stop { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 28px; }
.rail { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.tok { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; box-sizing: border-box; border-radius: 50%; border: 3px solid #fff; background: var(--grad); font-weight: 700; font-size: 16px; color: #fff; box-shadow: 0 0 0 6px rgba(168, 85, 247, 0.16), 0 0 28px rgba(168, 85, 247, 0.55); }
.tok.home { background: var(--surface); border-color: var(--pink); box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.16), 0 0 28px rgba(236, 72, 153, 0.5); }
/* paints over the route line below the last stop's token */
.stop:last-child .rail::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 22px); bottom: 0; background: var(--bg); }
.stop-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.copy { display: flex; flex-direction: column; gap: 18px; }

.stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 520px; box-sizing: border-box; border-radius: 28px; background: radial-gradient(65% 60% at 50% 42%, rgba(124, 58, 237, 0.34), rgba(26, 20, 32, 0) 72%), var(--surface); border: 1px solid var(--hair); overflow: hidden; }
.stage.pinkglow { background: radial-gradient(65% 60% at 50% 42%, rgba(236, 72, 153, 0.24), rgba(26, 20, 32, 0) 72%), var(--surface); }
.stage.lavglow { background: radial-gradient(65% 60% at 50% 42%, rgba(192, 132, 252, 0.24), rgba(26, 20, 32, 0) 72%), var(--surface); }
.phone { position: relative; flex: none; margin: 0; width: 228px; padding: 6px; box-sizing: border-box; border-radius: 40px; background: #050307; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 28px 60px rgba(0, 0, 0, 0.55); }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 558 / 1100; object-fit: cover; border-radius: 34px; }
.duo .phone:first-child { z-index: 0; transform: rotate(-7deg) translate(30px, 18px); }
.duo .phone:first-child img { filter: brightness(0.82); }
.duo .phone:last-child { z-index: 1; margin-left: -96px; transform: rotate(5deg) translate(-12px, -8px); }
.solo .phone { transform: rotate(-3deg); }

.tubestage { flex-direction: column; align-items: stretch; justify-content: center; gap: 28px; min-height: 0; padding: 44px clamp(24px, 4vw, 48px); background: radial-gradient(70% 70% at 50% 20%, rgba(236, 72, 153, 0.16), rgba(26, 20, 32, 0) 70%), var(--surface); }
.leave { display: flex; flex-direction: column; gap: 6px; }
.clock { font-weight: 700; font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.walk { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding-top: 22px; }
.mini { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; border: 2px solid #fff; font-weight: 700; font-size: 12px; }
.mini.pub { background: var(--grad); color: #fff; }
.mini.stn { background: var(--surface); border-color: var(--pink); color: #fff; }
.trail { position: relative; height: 6px; background-image: radial-gradient(circle, #ec4899 0 2.5px, rgba(236, 72, 153, 0) 3px); background-size: 12px 6px; background-repeat: repeat-x; background-position: center; }
.trail span { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); white-space: nowrap; font-weight: 500; font-size: 11px; color: var(--pink); }
.walkcap { display: flex; justify-content: space-between; gap: 16px; margin-top: -16px; font-weight: 300; font-size: 12px; line-height: 1.5; color: var(--t2); }
.walkcap span:last-child { text-align: right; }
.notif { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border); }
.notif-top { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 12px; }
.notif-top img { display: block; width: 20px; height: 20px; border-radius: 5px; }
.notif-top span:last-child { margin-left: auto; font-weight: 300; color: var(--t3); }
.notif p { margin: 0; font-weight: 300; font-size: 13px; line-height: 1.55; color: #fff; }

/* ---------- last orders, FAQ, about, footer ---------- */

.lastorders { border-top: 1px solid var(--hair); background: radial-gradient(60% 90% at 50% 100%, rgba(124, 58, 237, 0.26), rgba(14, 10, 18, 0) 70%); }
.lo { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

.faqsec { padding-top: 88px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 32px; border-top: 1px solid var(--hair); }
.faqhead { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.faqhead h2 { margin: 0; }
.faq { width: 100%; max-width: 820px; box-sizing: border-box; overflow: hidden; background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; }
.faq details { border-top: 1px solid var(--hair); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 8px 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq h3 { margin: 0; font-weight: 500; font-size: 15px; line-height: 1.45; }
.faq p { margin: 0; padding: 0 20px 20px; font-weight: 300; font-size: 14px; line-height: 1.65; color: var(--t2); }
.chev { flex: none; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.faq details[open] .chev { transform: rotate(180deg); }

.about { padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 28px 64px; }
.about > div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 8px; }

.site-foot { border-top: 1px solid var(--hair); }
.site-foot .wrap { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; font-weight: 300; font-size: 13px; color: var(--t2); }
.site-foot .mark { display: flex; align-items: center; gap: 14px; }
.site-foot .brand { font-size: 16px; color: #fff; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- phones and small tablets ---------- */

/* below laptop width the map becomes a strip and the sheet docks under it, as in the app */
@media (max-width: 1100px) {
  .hero { min-height: 0; background: var(--bg); }
  .maplayer { position: relative; inset: auto; height: clamp(320px, 60vw, 520px); background: #eeedea; }
  .dockwrap { padding: 0 12px 8px; margin-top: -32px; }
  .dock { width: 100%; max-width: 640px; margin: 0 auto; border-radius: 24px; padding: 12px 20px 18px; }
  .togstage { min-height: 460px; }
  .tog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hide-sm { display: none !important; }
  .only-sm { display: block; }
  .glass.only-sm { display: inline-flex; }
  .topbar-in { padding-top: 16px; }
  .gamesec { padding-top: 72px; }
  .gamegrid { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
  .gstage { height: 400px; }
  .golfstage .phone { width: 184px; }
  .gcopy { padding: 24px 22px 26px; }
  .andmore { padding: 24px 16px 16px; gap: 18px; }
  .am-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .togband { margin-top: 64px; }
  .togsec { padding-top: 72px; }
  .togstage { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-top: 18px; border-radius: 24px; }
  .togmapcell { aspect-ratio: 8 / 5; }
  .togphones { padding: 36px 0 44px; }
  .togphones .phone:last-child { margin-left: -36px; }
  .whatis { padding-top: 72px; padding-bottom: 64px; }
  .stops { gap: 88px; }
  .stops::before, .stops::after { left: 17px; top: 18px; }
  .stop { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
  .rail { align-items: flex-start; }
  .tok { width: 36px; height: 36px; margin-top: 0; border-width: 2.5px; font-size: 14px; }
  .stop:last-child .rail::after { top: 36px; }
  .stop-body { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
  .copy { padding-top: 10px; gap: 14px; }
  .stage { min-height: 420px; border-radius: 24px; }
  .phone { width: 172px; padding: 5px; border-radius: 32px; }
  .phone img { border-radius: 27px; }
  .duo .phone:last-child { margin-left: -70px; }
  .tubestage { min-height: 0; padding: 32px 24px; }
  .lo { padding-top: 80px; padding-bottom: 80px; }
  .faqsec { padding-top: 64px; gap: 24px; }
}
@media (max-width: 700px) {
  .map-wide { display: none; }
  .map-narrow { display: block; }
}
@media (max-width: 560px) {
  .btn { padding: 0 16px; font-size: 14px; }
  .gstage { height: 360px; }
  .golfstage .phone { width: 164px; }
  .fchip { gap: 8px; padding: 8px 12px 8px 8px; }
  .fchip.tl { top: 14px; left: 14px; }
  .fchip.br { right: 14px; bottom: 14px; }
  .fc-ico { width: 28px; height: 28px; border-radius: 9px; }
  .togmapcell { aspect-ratio: 6 / 5; }
  .tog-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .hide-xs { display: none !important; }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .route { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2s linear 0.5s forwards; }
  .pin { opacity: 0; animation: drop 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
  .d1 { animation-delay: 0.45s; }
  .d2 { animation-delay: 1.15s; }
  .d3 { animation-delay: 1.85s; }
  .d4 { animation-delay: 2.45s; }
  .d5 { animation-delay: 3s; }
  .leg { opacity: 0; animation: fade 0.6s ease 2.6s forwards; }
  .chip { opacity: 0; animation: fade 0.5s ease 3.3s forwards; }
  .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out 2.4s infinite; }
  .dock { animation: slide 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
  .zone { transform-box: fill-box; transform-origin: center; animation: shrink 9s ease-in-out 1s infinite alternate; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  @keyframes fade { to { opacity: 1; } }
  @keyframes pulse { 0% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.7); } }
  @keyframes slide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  @keyframes shrink { to { transform: scale(0.75); } }
}
/* an answer slides open where ::details-content exists and simply appears
   elsewhere; home.js folds it shut (.shut) before closing, as Safari skips the
   close; its bottom gap is a spacer, not padding, so it can fold to nothing */
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), content-visibility 0.4s allow-discrete; }
  .faq details[open]::details-content { grid-template-rows: 1fr; }
  .faq details > p { min-height: 0; overflow: hidden; padding-bottom: 0; opacity: 0; translate: 0 -6px; transition: opacity 0.3s ease, translate 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .faq details > p::after { content: ""; display: block; height: 20px; }
  .faq details[open] > p { opacity: 1; translate: none; }
  @starting-style { .faq details[open] > p { opacity: 0; translate: 0 -6px; } }
  .faq details.shut::details-content { grid-template-rows: 0fr; }
  .faq details.shut > p { opacity: 0; translate: 0 -6px; }
  .faq details.shut .chev { transform: none; }
}
/* the walkers move by SMIL, which reduced-motion cannot pause, so they swap for still ones */
@media (prefers-reduced-motion: reduce) {
  .mate { display: none; }
  .still { display: inline; }
}

/* where scroll-driven animation exists, the route line follows the reader
   down the page and each stop lights up as it is reached; elsewhere both
   simply show in full */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stops::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 40% exit 40%; }
    .tok { animation: lit linear both; animation-timeline: view(); animation-range: cover 28% cover 40%; }
    @keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    @keyframes lit { from { filter: grayscale(1) brightness(0.55); } to { filter: none; } }
  }
}
