/* ============ Home page ============ */
.eyebrow.light { color: var(--accent); }
.muted-light { color: rgba(255, 255, 255, .72); }
.section-head.center { text-align: center; justify-items: center; }
.is-typing::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.14em; background: currentColor; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--night) 0%, #14212C 100%); padding: calc(var(--header-h) + clamp(36px, 7vw, 84px)) 0 clamp(56px, 8vw, 104px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-glow { position: absolute; width: min(760px, 90vw); aspect-ratio: 1; right: -12%; top: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(60, 108, 154, .38), transparent 68%); }
.hero-lines { position: absolute; inset: auto 0 0 0; height: 46%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 86px); mask-image: linear-gradient(to top, #000, transparent); -webkit-mask-image: linear-gradient(to top, #000, transparent); animation: slideLines 6s linear infinite; }
@keyframes slideLines { to { background-position: -86px 0; } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); margin-bottom: 22px; }
.hero-eyebrow svg { width: 18px; height: 18px; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.035em; max-width: 13ch; }
.hero-sub { margin-top: 22px; max-width: 46ch; color: rgba(255, 255, 255, .78); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-cta { margin-top: 32px; }

/* Primary call-to-action: gold, fills white from the bottom on hover, arrow disc spins */
.cta-hero { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 16px; min-height: 64px; padding: 8px 8px 8px 32px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 1.1rem var(--font-body); letter-spacing: -.01em; animation: ctaPulse 3.2s ease-out infinite; transition: transform .35s var(--ease); }
.cta-fill { position: absolute; inset: 0; z-index: -1; background: #fff; transform: translateY(104%); border-radius: 50% 50% 0 0 / 90% 90% 0 0; transition: transform .65s var(--ease), border-radius .65s var(--ease); }
.cta-hero:hover, .cta-hero:focus-visible { animation-play-state: paused; }
.cta-hero:hover .cta-fill, .cta-hero:focus-visible .cta-fill { transform: translateY(0); border-radius: 0; }
.cta-arrow { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease), background .4s, color .4s; }
.cta-arrow svg { width: 22px; height: 22px; }
.cta-hero:hover .cta-arrow, .cta-hero:focus-visible .cta-arrow { transform: rotate(-45deg) scale(1.1); background: var(--accent); color: var(--ink); }
.cta-hero:active { transform: scale(.97); }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(214, 165, 72, .45); } 70%, 100% { box-shadow: 0 0 0 20px rgba(214, 165, 72, 0); } }

/* Bento stat boxes: hidden until the hero settles, then count up and idle-float */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; max-width: 580px; }
.bento-tile { position: relative; display: grid; align-content: start; gap: 4px; padding: 20px 18px 18px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); overflow: hidden; }
.bento-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .09) 50%, transparent 70%); transform: translateX(-120%); animation: tileSheen 6s ease-in-out infinite; }
.bento-tile:nth-child(2)::before { animation-delay: 1.2s; } .bento-tile:nth-child(3)::before { animation-delay: 2.4s; }
@keyframes tileSheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.bento-ico { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(214, 165, 72, .16); color: var(--accent); margin-bottom: 10px; }
.bento-ico::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--accent); opacity: 0; animation: ringOut 3s ease-out infinite; }
.bento-tile:nth-child(2) .bento-ico::after { animation-delay: .8s; } .bento-tile:nth-child(3) .bento-ico::after { animation-delay: 1.6s; }
@keyframes ringOut { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.bento-ico svg { width: 20px; height: 20px; }
.bento-tile strong { font: 800 clamp(1.9rem, 3.4vw, 2.5rem)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bento-tile > span:last-child { font-size: .82rem; color: rgba(255, 255, 255, .66); line-height: 1.3; }

/* Hero car illustration */
.hero-stage { position: relative; }
.hero-car { position: relative; cursor: pointer; outline: none; border-radius: 28px; }
.hero-car:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.hc { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
.hc-car { animation: hcBob 3.4s ease-in-out infinite; transition: transform .5s var(--ease); }
.hero-car:hover .hc-car { animation-duration: 1.4s; }
@keyframes hcBob { 50% { transform: translateY(-5px); } }
.hc-w { transform-box: fill-box; transform-origin: center; animation: spin 1.2s linear infinite; }
.hero-car:hover .hc-w { animation-duration: .5s; }
.hc-dash { animation: dashMove 1s linear infinite; }
.hero-car:hover .hc-dash { animation-duration: .45s; }
@keyframes dashMove { to { stroke-dashoffset: -66; } }
.hc-speed path { transform-box: fill-box; animation: speedLine 1.6s ease-in-out infinite; }
.hc-speed path:nth-child(2) { animation-delay: .4s; } .hc-speed path:nth-child(3) { animation-delay: .8s; }
@keyframes speedLine { 0% { transform: translateX(-30px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateX(30px); opacity: 0; } }
.hc-beam { opacity: .5; transition: opacity .4s; animation: beam 2.4s ease-in-out infinite; }
.hero-car:hover .hc-beam { opacity: 1; }
@keyframes beam { 50% { opacity: .85; } }
.hero-car-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .7); transition: color .3s; }
.hero-car:hover .hero-car-hint { color: var(--accent); }
.hero-car-hint i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: ctaPulse 2s ease-out infinite; }

/* ---------- Booking card ---------- */
.book { padding-bottom: 12px; }
.book-card { max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 4vw, 44px); box-shadow: var(--shadow-3); will-change: transform; }
.picked { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 20px; border-radius: 14px; background: var(--accent-50); color: var(--accent-700); font-weight: 600; font-size: .92rem; }
.picked svg { width: 18px; height: 18px; flex: none; }
.picked span { flex: 1; }
.picked button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; }
.picked button:hover { background: rgba(0, 0, 0, .08); }

.sf { display: grid; gap: 18px; }
.sf-progress { display: grid; gap: 14px; margin-bottom: 4px; }
.sf-steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.sf-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted-2); font-weight: 700; font-size: .86rem; cursor: default; }
.sf-steps li.is-done { cursor: pointer; }
.sf-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: .82rem; color: var(--muted); transition: background .4s, color .4s, transform .4s var(--ease); flex: none; }
.sf-dot svg { width: 16px; height: 16px; }
.sf-steps li.is-now { color: var(--text); } .sf-steps li.is-now .sf-dot { background: var(--ink); color: #fff; transform: scale(1.1); }
.sf-steps li.is-done { color: var(--ok); } .sf-steps li.is-done .sf-dot { background: var(--ok); color: #fff; }
.sf-bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.sf-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(.333); background: var(--accent); border-radius: 6px; }
@media (max-width: 560px) { .sf-step-name { display: none; } .sf-steps li.is-now .sf-step-name { display: inline; } }

.sf-panels { min-height: 280px; }
.sf-h { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 6px; }
.sf-lead { margin-bottom: 20px; min-height: 1.6em; }
.sf-k { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); }
.sf-opts { display: grid; gap: 10px; }
.sf-opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
@media (max-width: 760px) { .sf-split { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sf-opts-2 { grid-template-columns: 1fr; } }
.sf-opt { position: relative; display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px; min-height: 70px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease), box-shadow .25s; }
.sf-opt:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.sf-opt-ico { width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--paper); color: var(--ink); flex: none; transition: background .25s, color .25s; }
.sf-opt-ico svg { width: 20px; height: 20px; }
.sf-opt-txt { display: grid; gap: 1px; min-width: 0; flex: 1; }
.sf-opt-txt strong { font-size: .98rem; }
.sf-opt-txt span { font-size: .8rem; color: var(--muted); }
.sf-opt-tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transform: scale(0); transition: transform .35s var(--ease); flex: none; }
.sf-opt-tick svg { width: 13px; height: 13px; stroke-width: 3; }
.sf-opt[aria-pressed='true'] { border-color: var(--ink); background: var(--brand-50); }
.sf-opt[aria-pressed='true'] .sf-opt-ico { background: var(--ink); color: #fff; }
.sf-opt[aria-pressed='true'] .sf-opt-tick { transform: scale(1); }

.sf-stations { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.sf-stations > div { min-width: 0; }
.sf.is-same .sf-stations { grid-template-columns: 1fr; }
.sf-station { width: 100%; height: 100%; display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; min-height: 78px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.sf-station:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.sf-ico { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); flex: none; }
.sf-ico svg { width: 22px; height: 22px; }
.sf-text { display: grid; min-width: 0; flex: 1; }
.sf-label { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.sf-value { font: 700 1.1rem/1.25 var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-value.is-empty { color: var(--muted-2); font-weight: 600; }
.sf-sub { font-size: .8rem; color: var(--muted); }
.sf-chev { color: var(--muted-2); transition: transform .3s var(--ease); } .sf-station:hover .sf-chev { transform: translateX(4px); color: var(--ink); }
.sf-swap { align-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; box-shadow: var(--shadow-2); transition: transform .3s var(--ease); cursor: pointer; }
.sf-swap:hover { transform: scale(1.1); } .sf-swap svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .sf-stations { grid-template-columns: 1fr; position: relative; } .sf-swap { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 2; } .sf-swap:hover { transform: translateY(-50%) scale(1.1); } }
.sf-same { margin-top: 14px; font-weight: 600; }
.sf-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; align-items: end; }
.sf-dates > [hidden] { display: none; }
@media (max-width: 760px) { .sf-dates { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .sf-dates { grid-template-columns: 1fr; } }
.sf-stepper { display: grid; grid-template-columns: 50px 1fr 50px; gap: 8px; }
.sf-stepper button { height: 50px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.sf-stepper button:hover { background: var(--ink); color: #fff; border-color: var(--ink); } .sf-stepper button:active { transform: scale(.92); }
.sf-stepper button svg { width: 18px; height: 18px; }
.sf-stepper .input { text-align: center; font-weight: 800; font-size: 1.1rem; padding: 0 6px; }
.sf-return { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--paper); color: var(--muted); font-size: .92rem; min-height: 46px; }
.sf-return svg { width: 18px; height: 18px; color: var(--ink); flex: none; } .sf-return strong { color: var(--text); }
.sf-customer { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-customer .field:first-child { grid-column: 1 / -1; }
@media (max-width: 560px) { .sf-customer { grid-template-columns: 1fr; } }
.sf-summary { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--paper); }
.sf-summary p { min-height: 3em; font-weight: 600; }
.sf-nav { display: flex; gap: 12px; }
.sf-nav .sf-submit { flex: 1; min-width: 0; }
.sf-nav [data-prev] { flex: none; }
.sf-error { margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--bad-50); }
/* compact variant used inside sheets */
.sf-sheet .sf-panels { min-height: 0; } .sf-sheet { gap: 14px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.step { position: relative; overflow: hidden; padding: 30px 26px 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.step::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.step:hover::after { transform: scaleX(1); }
.step-n { position: absolute; right: 20px; top: 12px; font: 800 4.2rem/1 var(--font-display); color: var(--paper-2); }
.step-ico { position: relative; width: 52px; height: 52px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.step h3 { margin-bottom: 8px; position: relative; } .step p { position: relative; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- ECRL ---------- */
.ecrl { background: linear-gradient(180deg, var(--night), #14212C); color: #fff; margin-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 96px); }
.ecrl .section-head h2 { color: #fff; }
.ecrl-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 5vw, 64px); align-items: end; }
.ecrl-wrap { position: relative; margin-top: clamp(20px, 4vw, 48px); }
.ecrl-svg { width: 100%; height: auto; overflow: visible; }
.rail-bed { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.rail-ties { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 13; stroke-dasharray: 2 10; stroke-linejoin: round; }
.rail-line { fill: none; stroke: url(#rail-grad); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; filter: url(#rail-glow); }
.ecrl-stop { cursor: pointer; outline: none; }
.ecrl-dot { fill: var(--night); stroke: #fff; stroke-width: 2.5; transition: fill .25s; }
.ecrl-halo { fill: rgba(214, 165, 72, 0); transition: fill .25s; }
.ecrl-stop:hover .ecrl-halo, .ecrl-stop:focus-visible .ecrl-halo, .ecrl-stop.is-on .ecrl-halo { fill: rgba(214, 165, 72, .24); }
.ecrl-stop:hover .ecrl-dot, .ecrl-stop:focus-visible .ecrl-dot, .ecrl-stop.is-on .ecrl-dot { fill: var(--accent); stroke: #fff; }
.ecrl-label { fill: rgba(255, 255, 255, .78); font: 600 12.5px var(--font-body); pointer-events: none; }
.tr-body { fill: #EAE5DA; } .tr-nose { fill: #C9D3DD; } .tr-win { fill: #3C6C9A; } .tr-wheel { fill: var(--accent); }
.ecrl-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-top: 20px; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.ecrl-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ecrl-legend .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); } .ecrl-legend .dot.dim { background: transparent; border: 2px solid rgba(255, 255, 255, .5); }
.ecrl-card { position: absolute; z-index: 6; width: min(300px, 88vw); background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-3); }
.ecrl-card-map { position: relative; height: 132px; background: var(--paper-2); }
.ecrl-card-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.ecrl-card-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted-2); } .ecrl-card-ph svg { width: 32px; height: 32px; }
.ecrl-card-body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.ecrl-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.ecrl-card-tags span { padding: 3px 9px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: .72rem; font-weight: 700; }
.ecrl-card-tags .tbc { background: var(--warn-50); color: var(--warn); }
.ecrl-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 900px) { .ecrl-head { grid-template-columns: 1fr; } .ecrl-label { display: none; } }

/* Departures board */
.board { background: #04101C; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; overflow: hidden; font-family: ui-monospace, 'SF Mono', Consolas, 'Liberation Mono', monospace; box-shadow: var(--shadow-3); }
.board-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font: 700 .72rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.board-head > span:first-child { display: inline-flex; align-items: center; gap: 8px; } .board-head svg { width: 16px; height: 16px; color: var(--accent); }
.board-live { display: inline-flex; align-items: center; gap: 6px; color: #6FD39A; } .board-live i { width: 7px; height: 7px; border-radius: 50%; background: #6FD39A; animation: ctaPulse 2s ease-out infinite; }
.board-rows { display: grid; gap: 8px; padding: 14px 14px 16px; overflow: hidden; }
.board-row { display: flex; gap: 10px; justify-content: space-between; white-space: nowrap; }
.flap { display: inline-flex; gap: 1px; }
.flap b { display: inline-block; min-width: .62rem; padding: 4px 1px; text-align: center; font-size: .68rem; font-weight: 700; color: #F6E2A6; background: #0C1F33; border-radius: 3px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .05); transition: transform .08s; }
.flap b.flip { transform: scaleY(.55); }
.flap-state b { color: rgba(255, 255, 255, .72); } .flap-phase b { color: var(--accent); }
@media (max-width: 520px) { .flap b { min-width: .5rem; font-size: .56rem; padding: 3px 0; } .board-row { gap: 6px; } }

/* ---------- Why ---------- */
.why-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.wb { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: grid; align-content: start; gap: 8px; transition: transform .4s var(--ease), box-shadow .4s; }
.wb:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }
.wb p { color: var(--muted); }
.wb-a { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--ink), var(--night)); color: #fff; border: 0; align-content: end; padding: 34px; }
.wb-a h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 14ch; } .wb-a p { color: rgba(255, 255, 255, .74); max-width: 34ch; }
.wb-a .step-ico { background: var(--accent); color: var(--on-accent); margin-bottom: auto; }
.wb-b, .wb-c { grid-column: span 1; } .wb-d { grid-column: span 2; }
@media (max-width: 900px) { .why-bento { grid-template-columns: 1fr 1fr; } .wb-a { grid-column: span 2; grid-row: auto; min-height: 260px; } .wb-d { grid-column: span 2; } }
@media (max-width: 560px) { .why-bento { grid-template-columns: 1fr; } .wb-a, .wb-b, .wb-c, .wb-d { grid-column: auto; } }

/* ---------- Closing scene ---------- */
.cta-wrap { margin-top: clamp(64px, 9vw, 110px); }
.cta-panel { position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(160deg, #14232F, var(--night)); color: #fff; }
.scene { position: relative; min-height: clamp(440px, 52vw, 520px); }
.scene-svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; }
.scene-copy { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; padding: clamp(28px, 5vw, 56px); max-width: 640px; }
.scene-copy h2 { color: #fff; min-height: 1.1em; } .scene-copy p { min-height: 1.5em; }
.scene-copy .btn { margin-top: 8px; }
@media (max-width: 700px) { .scene-svg { height: 46%; } .scene { min-height: 520px; } }

/* ---------- Responsive hero ---------- */
@media (max-width: 899px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { order: 2; max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-title { max-width: 16ch; }
  .bento { max-width: none; }
}

/* ---------- Showroom (game-style car picker) ---------- */
.showroom { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-rows: auto minmax(220px, 1fr) auto auto; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #1D3445 0%, var(--night) 62%); overflow: hidden; }
.sr-bg i { position: absolute; border-radius: 50%; pointer-events: none; }
.sr-bg i:nth-child(1) { width: 60vmax; height: 60vmax; left: -25vmax; bottom: -35vmax; background: radial-gradient(circle, rgba(214, 165, 72, .12), transparent 65%); }
.sr-bg i:nth-child(2) { inset: auto 0 22% 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); border-radius: 0; }
.sr-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: clamp(16px, 3vw, 28px) clamp(16px, 4vw, 48px) 8px; position: relative; z-index: 3; }
.sr-eyebrow { font: 700 .75rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.sr-top h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.sr-close { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.sr-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: rotate(90deg); }
.sr-filters { grid-column: 1 / -1; grid-row: 2; display: grid; gap: 8px; min-width: 0; }
.sr-fgroup { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sr-fgroup > span { flex: none; min-width: 52px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.sr-chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: .86rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.sr-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.sr-chip[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.sr-stage { position: relative; perspective: 1400px; min-height: 240px; }
.sr-track { position: absolute; inset: 0; transform-style: preserve-3d; outline: none; touch-action: pan-y; }
.sr-card { --w: min(58vw, 500px); position: absolute; top: 50%; left: 50%; width: var(--w); margin: calc(var(--w) * -.31) 0 0 calc(var(--w) / -2); cursor: pointer; will-change: transform; user-select: none; }
.sr-card img, .sr-noimg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .14); background: #1D3445; }
.sr-noimg { display: grid; place-items: center; } .sr-noimg svg { width: 64px; height: 64px; opacity: .4; }
.sr-card figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 12px); text-align: center; font: 700 1rem var(--font-display); }
.sr-arrow { position: absolute; top: 50%; z-index: 30; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .3s var(--ease); }
.sr-arrow:hover { background: var(--accent); color: var(--on-accent); transform: scale(1.1); }
.sr-prev { left: clamp(8px, 3vw, 40px); } .sr-next { right: clamp(8px, 3vw, 40px); }
.sr-dots { display: flex; justify-content: center; gap: 6px; padding: 18px 0 8px; }
.sr-dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease), background .3s; } .sr-dots i.on { width: 26px; background: var(--accent); }
.sr-panel { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(16px, 2.5vw, 28px) clamp(16px, 4vw, 48px) calc(clamp(16px, 2.5vw, 28px) + var(--safe-b)); background: rgba(12, 22, 30, .72); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, .1); position: relative; z-index: 3; }
.sr-class { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); } .sr-class.is-vvip { color: var(--accent); }
.sr-info h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 4px 0; } .sr-info .muted { color: rgba(255, 255, 255, .62); }
.sr-tags { display: flex; gap: 8px; margin-top: 10px; } .sr-tags span { padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .76rem; font-weight: 700; text-transform: capitalize; }
.sr-stats { display: grid; gap: 14px; }
.sr-stat { display: grid; grid-template-columns: 70px 1fr 56px; gap: 12px; align-items: center; font-size: .85rem; } .sr-stat span { color: rgba(255, 255, 255, .62); font-weight: 600; } .sr-stat b { text-align: right; }
.sr-bar { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; } .sr-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--accent); transition: width .9s var(--ease); }
.sr-panel.is-in .sr-bar i { width: var(--v); }
.sr-buy { display: grid; gap: 12px; justify-items: end; } .sr-price { text-align: right; } .sr-price strong { display: block; font: 800 1.9rem/1 var(--font-display); } .sr-price span { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.sr-buy .btn { width: 100%; }
.sr-buy .btn-accent { --fill: #fff; --fill-fg: var(--ink); }
.sr-empty { grid-column: 1 / -1; text-align: center; color: rgba(255, 255, 255, .6); }
@media (max-width: 860px) { .sr-panel { grid-template-columns: 1fr; gap: 14px; } .sr-buy { grid-template-columns: 1fr 1fr; justify-items: stretch; align-items: center; } .sr-card { --w: min(74vw, 400px); }  }

/* ---- Showroom v2: scrollable filter rails, living stage ---- */
.sr-rail { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 18px 4px 2px; cursor: grab; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); overscroll-behavior-x: contain; }
.sr-rail::-webkit-scrollbar { display: none; }
.sr-rail:active { cursor: grabbing; }
.sr-chip { flex: none; scroll-snap-align: center; white-space: nowrap; }
.sr-chip[aria-pressed='true'] { box-shadow: 0 8px 22px -8px rgba(214, 165, 72, .7); }
.sr-bg i:nth-child(1) { animation: sr-drift 14s ease-in-out infinite alternate; }
.sr-bg i:nth-child(3) { width: 45vmax; height: 45vmax; right: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(70, 150, 230, .22), transparent 65%); animation: sr-drift 18s ease-in-out infinite alternate-reverse; }
@keyframes sr-drift { to { transform: translate(6vmax, -4vmax) scale(1.15); } }
.sr-bg i:nth-child(2) { animation: sr-line 5s ease-in-out infinite; }
@keyframes sr-line { 50% { opacity: .35; } }
.sr-floor { position: absolute; left: 50%; bottom: 8%; width: min(70vw, 620px); height: 90px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(214, 165, 72, .38), rgba(214, 165, 72, .08) 45%, transparent 70%); filter: blur(6px); pointer-events: none; animation: sr-glow 3.2s ease-in-out infinite; }
@keyframes sr-glow { 50% { opacity: .55; transform: translateX(-50%) scaleX(.9); } }
.sr-card { transition: filter .3s; }
.sr-card.is-active .sr-media { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5)); }
.sr-media { position: relative; border-radius: 24px; overflow: hidden; }
.sr-media img, .sr-media .sr-noimg { box-shadow: none; }
.sr-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.sr-card.is-active .sr-shine { animation: sr-shine 4.5s ease-in-out 1s infinite; }
@keyframes sr-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.sr-card figcaption { transition: opacity .3s; } .sr-card:not(.is-active) figcaption { opacity: 0; }
.sr-meta { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 3; }
.sr-count { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: rgba(255, 255, 255, .6); padding-top: 8px; }
.sr-dots { padding: 8px 0 8px; } .sr-dots:empty { display: none; }
.sr-panel { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .sr-bg i, .sr-floor, .sr-shine { animation: none !important; } }
@media (max-width: 860px) { .sr-fgroup > span { min-width: 40px; font-size: .66rem; } }
.sr-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-title { min-height: 3.15em; } .hero-sub { min-height: 3.4em; }
/* tile arrow no longer sits on top of the progress bar */
.g-tile > i { top: 20px !important; bottom: auto !important; right: 20px !important; }
