@font-face { font-family: "Pixelify Sans"; src: url("../fonts/pixelify-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Pixelify Sans"; src: url("../fonts/pixelify-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

/* Togy's palette, kept from the shop's current site */
:root {
  --ink: #15120f;
  --night: #0d0c0b;
  --night-2: #16130f;
  --cream: #f4ead9;
  --paper: #efe2cc;
  --orange: #ff8500;
  --orange-2: #ff9d2e;
  --amber: #ffb43a;
  --green: #a5ef3b;
  --red: #ff6b5a;
  --muted: #b7ab98;
  --line: 3px solid var(--ink);
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --bar-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: var(--bar-h); }
body { margin: 0; background: var(--night); color: var(--cream); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 3.9rem); letter-spacing: -.03em; line-height: .96; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -.02em; }
figure { margin: 0; }
table { border-collapse: collapse; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.pixel { font-family: var(--pixel); font-weight: 700; letter-spacing: .03em; }
.eyebrow { color: var(--orange); font-size: .95rem; text-transform: lowercase; margin: 0 0 .8rem; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--cream); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.head__note { color: var(--muted); margin-top: 1rem; }
/* on wide screens the departures heading stops where Fuzz sits, whatever the language's length */
@media (min-width: 761px) { .departures .head { max-width: min(760px, calc(76% - clamp(170px, 19vw, 260px) - 32px)); } }
.more a { color: var(--orange); font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65em 1.3em; border: var(--line); border-radius: 999px; background: var(--orange); color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--orange-2); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ghost { background: var(--cream); }
.btn--sm { min-height: 38px; padding: .35em 1em; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }

/* top bar: a terminal header */
.bar { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--bar-h); display: flex; align-items: center; gap: 20px; padding: 0 max(18px, env(safe-area-inset-right)) 0 max(18px, env(safe-area-inset-left)); background: rgba(13, 12, 11, .82); border-bottom: 2px solid #ffffff12; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.25rem; }
.bar__brand img { border-radius: 50%; border: 2px solid var(--ink); }
.bar__links { display: flex; gap: 20px; margin-left: auto; }
.bar__links a { text-decoration: none; font-weight: 600; opacity: .85; }
.bar__links a:hover { opacity: 1; color: var(--orange); }

/* the queue ticket */
.ticket { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; display: grid; justify-items: center; gap: 2px; width: 132px; padding: 12px 10px 10px; color: var(--ink); text-decoration: none; background: var(--cream); border: var(--line); border-radius: 10px; box-shadow: 5px 5px 0 var(--orange); transform: rotate(3deg); transition: transform .2s; -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 7px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.ticket:hover { transform: rotate(0) scale(1.04); }
.ticket__label { font-size: .7rem; color: #6f6255; }
.ticket__num { font: 800 2.3rem/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ticket__fuzz { display: flex; align-items: center; gap: 4px; padding-top: 6px; margin-top: 4px; border-top: 2px dashed #15120f40; font-size: .72rem; }
.ticket.is-called { background: var(--green); animation: called .6s steps(2) 3; }
@keyframes called { 50% { transform: rotate(-3deg) scale(1.08); } }

/* top bar: live gate status and the phone, always visible */
.bar__status { padding: .3em .75em; border: 2px solid #ffffff1f; border-radius: 999px; font-size: .78rem; color: var(--muted); white-space: nowrap; }
.bar__status.is-open { color: var(--green); border-color: #a5ef3b55; }
.bar__status.is-closed { color: var(--red); border-color: #ff6b5a55; }
.bar__phone { font-weight: 800; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar__phone:hover { color: var(--orange); }

.bar__lang { display: inline-grid; place-items: center; min-width: 40px; min-height: 32px; padding: 0 10px; border: 2px solid #ffffff2e; border-radius: 999px; font-family: var(--pixel); font-size: .85rem; text-decoration: none; color: var(--cream); }
.bar__lang:hover { border-color: var(--orange); color: var(--orange); }

/* scrollbar: an orange ticket on the night track, glowing like the beam on hover */
@supports not selector(::-webkit-scrollbar) { html { scrollbar-color: var(--orange) var(--night); scrollbar-width: thin; } }
::-webkit-scrollbar { width: 14px; height: 14px; }
::-webkit-scrollbar-track { background: var(--night); border-left: 2px solid #ffffff10; }
::-webkit-scrollbar-thumb { background: var(--orange); border: 3px solid var(--night); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--amber); box-shadow: inset 0 0 0 1px var(--ink), 0 0 10px #8ff6ff; }
::-webkit-scrollbar-thumb:active { background: #8ff6ff; }
::-webkit-scrollbar-corner { background: var(--night); }

/* the ticket waits off screen during the arrival, then slides in */
.ticket { opacity: 0; visibility: hidden; translate: 0 16px; pointer-events: none; transition: opacity .35s, translate .35s, transform .2s, visibility 0s linear .35s; }
.ticket-on .ticket { opacity: 1; visibility: visible; translate: 0 0; pointer-events: auto; transition: opacity .35s, translate .35s, transform .2s, visibility 0s; }
@media (min-width: 761px) { .ticket-away .ticket { opacity: 0; visibility: hidden; translate: 0 16px; pointer-events: none; transition: opacity .35s, translate .35s, visibility 0s linear .35s; } }

/* contact strip under the arrival */
.info { background: var(--cream); color: var(--ink); border-block: 4px solid var(--ink); }
.info__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.info__item { display: grid; align-content: start; gap: 2px; padding: 22px 20px; text-decoration: none; border-left: 3px dashed #15120f33; transition: background-color .2s; }
.info__item:first-child { border-left: 0; }
/* edge to edge: the outer items pad out to the page column so text still lines up with the rest */
.info__item:first-child { padding-left: max(20px, calc((100vw - var(--wrap)) / 2)); }
.info__item:last-child { padding-right: max(20px, calc((100vw - var(--wrap)) / 2)); }
a.info__item:hover { background: #ff85001f; }
.info__label { font-size: .75rem; color: #6f6255; text-transform: lowercase; }
.info__label.is-open { color: #2f8a3f; }
.info__label.is-closed { color: #c0392b; }
.info__item--book .info__label { color: #3a2a12; }
.info__item strong { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.info__item span:last-child { color: #5d5348; font-size: .9rem; }
.info__item--book { background: var(--orange); }
a.info__item--book:hover { background: var(--orange-2); }
.info__item--book span:last-child { color: var(--ink); }

/* departures board: two columns of flights, fares on split-flap tiles */
.board { position: relative; z-index: 2; background: #0a0908; border: 4px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--orange); overflow: hidden; }
.board__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; background: #141210; border-bottom: 2px solid #ffffff14; }
.board__title { color: var(--amber); font-size: 1.3rem; }
.board__clock { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; }
.board__clock b { padding: .15em .5em; border-radius: 6px; background: #1d1915; border: 1px solid #ffffff1a; color: var(--amber); font: 800 1.2rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.board__cols { display: grid; grid-template-columns: 1fr 1fr; }
.board__col + .board__col { border-left: 2px solid #ffffff10; }
.board__group { margin: 0; padding: 16px 22px 6px; color: var(--muted); font-size: .8rem; text-transform: lowercase; }
.board ol { list-style: none; margin: 0; padding: 0 0 8px; }
.row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 16px; padding: 11px 22px; color: var(--cream); text-decoration: none; transition: background-color .2s; }
.row:hover { background: #ff850017; }
.row:hover .row__name { color: var(--orange); }
.row__time { display: grid; justify-items: center; padding: 5px 0 4px; border-radius: 6px; background: #1d1915; border: 1px solid #ffffff14; line-height: 1; }
.row__time b { font: 800 1.2rem/1 var(--sans); color: var(--amber); font-variant-numeric: tabular-nums; }
.row__time small { margin-top: 3px; font-family: var(--pixel); font-size: .62rem; color: var(--muted); }
.row__dest { display: grid; gap: 3px; min-width: 0; }
.row__name { font-weight: 700; font-size: clamp(1.02rem, 1.4vw, 1.15rem); line-height: 1.15; transition: color .2s; }
.row__note { margin-left: 8px; font-size: .78em; font-weight: 600; color: var(--muted); white-space: nowrap; }
/* the age note stays beside the name; on a narrow row it drops its word ("ages", "años") instead of falling to a line of its own */
.row__dest { container: row / inline-size; }
@container row (max-width: 150px) { .row__note-x { display: none; } }
.row__meta { font-size: .8rem; font-weight: 600; color: var(--muted); }
.row__meta em { font-style: normal; color: var(--green); }
.row__meta em.is-hot { color: var(--orange); }
.row__fare { display: flex; gap: 3px; }
.row__fare i { display: grid; place-items: center; width: 1.35em; height: 1.7em; border-radius: 4px; font: 800 1.15rem/1 var(--sans); font-style: normal; color: var(--cream); font-variant-numeric: tabular-nums; background: linear-gradient(#211c17 0 49%, #0b0908 49% 51%, #1a1612 51%); border: 1px solid #ffffff17; }
.row__fare i:first-child { color: var(--amber); }
/* combos: a full-width band of connecting flights under both columns */
.board__combos { border-top: 2px solid #ffffff14; background: linear-gradient(90deg, #ff850012, #ff850006); }
.board__combos .board__group { color: var(--orange); }
.board__combos ol { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 10px; }
.board__combos li + li { border-left: 2px solid #ffffff10; }
/* a remarks line, like the ones that blink on real departure boards */
.board__notice { margin: 6px 22px 18px; padding: 10px 14px; border: 1px dashed #ffffff26; border-radius: 8px; color: var(--amber); font-size: .82rem; text-align: center; animation: remark 2.4s steps(1) infinite; }
@keyframes remark { 50% { opacity: .5; } }

/* phones: call, directions and booking in a dock */
.dock { display: none; }

/* 1 · arrival */
.arrival { position: relative; height: 300vh; background: #000; }
.arrival__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.arrival__film, .arrival__frame, .arrival__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arrival__frame--b { opacity: 0; }
.arrival__video { opacity: 0; }
.arrival.has-video .arrival__video { opacity: 1; }
.arrival.has-video .arrival__frame { display: none; }
.arrival__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 12, 11, .55) 0%, rgba(13, 12, 11, 0) 22%, rgba(13, 12, 11, 0) 55%, rgba(13, 12, 11, .9) 100%); pointer-events: none; }
.arrival__intro { position: absolute; left: 0; right: 0; bottom: clamp(26px, 5vh, 54px); text-align: center; color: var(--amber); }
.arrival__intro p { margin: 0 0 .4rem; }
.arrival__hint { color: var(--cream); opacity: .8; animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(6px); } }
.arrival__copy { position: absolute; left: max(20px, calc((100% - var(--wrap)) / 2)); bottom: clamp(36px, 7vh, 80px); max-width: 620px; opacity: 0; transform: translateY(24px); }
.arrival h1 { font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.8rem); letter-spacing: -.04em; line-height: .9; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.arrival__lede { font-size: clamp(1.05rem, 1.7vw, 1.3rem); margin: 1rem 0 1.4rem; max-width: 34ch; text-shadow: 0 2px 16px rgba(0, 0, 0, .8); }
.arrival__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.no-js .arrival, .reduce .arrival { height: 100svh; }
.no-js .arrival__copy, .reduce .arrival__copy { opacity: 1; transform: none; }
.no-js .arrival__intro, .reduce .arrival__intro { display: none; }

/* 2 · departures: the split-flap board */
.departures { padding: clamp(110px, 14vh, 160px) 0 clamp(70px, 9vh, 110px); background: var(--night-2); }
.board-wrap { position: relative; margin-top: clamp(120px, 14vw, 190px); }
.board__alt { margin-top: 26px; color: var(--muted); }
.board__alt a { color: var(--cream); }
/* Fuzz sits on the board's top edge (his seat is 74% down the clip) with his tentacles over the header row; their tips fade out in the shader */
.board-fuzz { position: absolute; z-index: 3; right: 24%; width: clamp(170px, 19vw, 260px); aspect-ratio: 3 / 4; top: calc(clamp(170px, 19vw, 260px) * -1.067 + 6px); pointer-events: none; }
.board-fuzz canvas { width: 100%; height: 100%; display: block; }
.board-fuzz video { display: none; }

/* 3 · just landed: before / after scrubbed by scroll */
.landed { padding: clamp(80px, 11vh, 130px) 0 clamp(60px, 8vh, 100px); }
.landed__track { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.flight { background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: 18px; padding: 10px; box-shadow: 8px 8px 0 var(--orange); }
.flight:nth-child(2) { transform: translateY(40px); }
.flight__media { aspect-ratio: 4 / 5; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #000; }
.flight__media video { width: 100%; height: 100%; object-fit: cover; }
.flight__tag { margin: 12px 4px 4px; font-size: .78rem; color: #3d342b; text-transform: uppercase; }
.flight__tag span { color: #6f6255; margin: 0 4px; }
.flight__tag span:first-child { margin-left: 0; }
.flight h3 { font-size: 1.25rem; margin: 0 4px 6px; }

/* 4 · lounge */
.lounge { position: relative; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; border-block: 4px solid var(--ink); background: #000; }
.lounge__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lounge__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 12, 11, .3) 0%, rgba(13, 12, 11, 0) 40%, rgba(13, 12, 11, .88) 100%); }
.lounge__copy { position: relative; padding-bottom: clamp(36px, 7vh, 80px); }
.lounge__copy h2 { max-width: 16ch; margin-bottom: .8rem; }
.lounge__copy p:last-child { max-width: 44ch; color: #f4ead9d9; }

/* 5 · crew: boarding passes */
.crew { padding: clamp(100px, 13vh, 150px) 0; background: var(--night-2); }
.passes { display: grid; gap: 22px; }
.pass { display: grid; grid-template-columns: 1fr 120px; background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--orange); overflow: hidden; }
.pass:nth-child(2) { margin-left: clamp(0px, 6vw, 80px); }
.pass:nth-child(3) { margin-left: clamp(0px, 12vw, 160px); }
.pass__main { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 18px; }
.pass__photo { width: 150px; height: 170px; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--ink); border-radius: 12px; background: #9a9a9a; }
.pass--bronze .pass__photo, .pass--green .pass__photo { object-fit: contain; padding: 8px; background: #2a2622; }
.pass__kind { font-size: .75rem; color: #6f6255; margin: 0 0 4px; }
.pass h3 { font-size: 2rem; margin-bottom: 10px; }
.pass dl { display: grid; gap: 4px; margin: 0; }
.pass dl div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; }
.pass dt { font-family: var(--pixel); font-size: .78rem; color: #6f6255; text-transform: uppercase; padding-top: .15em; }
.pass dd { margin: 0; }
.pass__stub { display: grid; justify-items: center; align-content: space-between; padding: 18px 10px; border-left: 3px dashed #15120f55; background: var(--paper); }
.pass__stub .pixel { font-size: 2.2rem; color: var(--orange); }
.pass__code { width: 70%; height: 70px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }

/* 6 · arrivals: stamped photos */
.arrivals { padding: clamp(100px, 13vh, 150px) 0; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; align-items: start; }
.stamp { position: relative; background: #fff; border: var(--line); padding: 8px 8px 0; box-shadow: 6px 6px 0 var(--orange); color: var(--ink); }
.stamp:nth-child(odd) { rotate: -2deg; }
.stamp:nth-child(even) { rotate: 2deg; margin-top: 34px; }
.stamp img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 2px solid var(--ink); }
.stamp figcaption { padding: 10px 2px 12px; font-weight: 700; font-size: .95rem; }
.stamp figcaption .pixel { position: absolute; right: 12px; top: 18px; padding: .05em .45em; border: 3px solid #2f8a3f; border-radius: 6px; color: #2f8a3f; background: #ffffffcc; font-size: .9rem; text-transform: uppercase; transform: rotate(-12deg); }
.stamp--wanted { background: #e9d3a8; }
.stamp--wanted figcaption .pixel { border-color: #c0392b; color: #c0392b; }
.arrivals .more, .feedback .more { margin-top: 34px; }

/* 7 · passenger feedback */
.feedback { padding: clamp(100px, 13vh, 150px) 0; background: var(--orange); color: var(--ink); }
.feedback .eyebrow { color: var(--ink); }
.feedback h2 span { letter-spacing: .05em; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.notes blockquote { margin: 0; padding: 22px; background: var(--cream); border: var(--line); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.notes footer { font-size: .8rem; color: #6f6255; text-transform: lowercase; }
.feedback .more a { color: var(--ink); }

/* 8 · gate */
.gate { padding: clamp(100px, 13vh, 150px) 0 clamp(80px, 10vh, 120px); background: var(--night-2); }
.gate__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.gate__door { aspect-ratio: 3 / 4; border: 4px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 10px 10px 0 var(--orange); background: #000; }
.gate__door video { width: 100%; height: 100%; object-fit: cover; }
.gate__info h2 { margin-bottom: 1.2rem; }
.gate__state { display: block; margin: 0 0 1.2rem; padding: .55em 1em; border: 3px solid var(--ink); border-radius: 10px; background: #0a0908; color: var(--muted); font-size: 1.1rem; text-transform: lowercase; }
.gate__state.is-open { color: var(--green); }
.gate__state.is-closed { color: var(--red); }
/* day names stay pixel (no c or 5 in them); times and "closed" use the plain face so nothing misreads */
.schedule { width: 100%; margin-bottom: 1.2rem; }
.schedule th, .schedule td { padding: .55em 0; border-bottom: 1px dashed #ffffff1f; text-align: left; color: var(--muted); }
.schedule th { font-family: var(--pixel); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.schedule td { font-weight: 700; font-variant-numeric: tabular-nums; }
.schedule td { text-align: right; }
.schedule tr.is-today th, .schedule tr.is-today td { color: var(--amber); }
/* status words in pixel type use the regular weight: the bold c reads as an o ("olosed") */
.gate__state, .bar__status, .info__label { font-weight: 400; }
.gate__addr { color: var(--muted); }
.gate__addr a { color: var(--cream); }
.gate__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; height: 380px; margin-top: clamp(40px, 6vw, 70px); border: 4px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 10px 10px 0 var(--orange); background: #1b1e26; }
.map__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cream); font-weight: 700; }
.map.is-ready .map__fallback { display: none; }
.pad { width: 74px; height: 74px; display: block; filter: drop-shadow(0 0 12px #8ff6ffaa); }
.pad__ring { transform-origin: 37px 37px; animation: pad 2.4s ease-out infinite; }
@keyframes pad { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }

/* 9 · now serving 999 */
.called { position: relative; height: 340vh; background: var(--night); border-top: 4px solid var(--ink); }
.called__stage { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 2.2vh, 26px); width: min(var(--wrap), 100% - 40px); margin-inline: auto; padding-top: var(--bar-h); }
.called__board { display: inline-block; margin: 0 0 10px; padding: .3em .8em; background: #0a0908; border: 3px solid var(--ink); border-radius: 8px; color: var(--amber); font-size: 1rem; text-transform: uppercase; }
.called__board b { color: var(--green); }
.called__panels { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: clamp(12px, 1.8vw, 22px); align-items: end; }
.panel { background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: 16px; padding: 8px 8px 0; box-shadow: 8px 8px 0 var(--orange); transform: translateY(10px) scale(.97); transition: opacity .35s, transform .35s; }
.panel.is-on, .panel.is-past { transform: none; }
/* a step still to come: the picture waits in the dark, the caption stays readable */
.panel__media::after { content: ""; position: absolute; inset: 0; background: var(--night); opacity: 0; transition: opacity .35s; pointer-events: none; }
.panel:not(.is-on):not(.is-past) .panel__media::after { opacity: .62; }
.panel:not(.is-on):not(.is-past) figcaption { color: #6f6255; }
.panel__media { position: relative; height: min(50svh, 470px); border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; background: #000; }
.panel__media video { width: 100%; height: 100%; object-fit: cover; }
.panel--wide .panel__media video { object-position: 38% 50%; }
.panel figcaption { padding: 10px 4px 12px; }
.panel figcaption b { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 6px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); font-size: .85rem; }
.called__cta { margin: 0; }

.foot { padding: 40px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 2px solid #ffffff12; color: var(--muted); font-size: .95rem; }
.foot__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; }
.foot strong { color: var(--cream); }
.foot__fine { grid-column: 1 / -1; font-size: .8rem; }

/* the teleport beam */
.beam { position: fixed; inset: 0; z-index: 250; pointer-events: none; visibility: hidden; }
.beam__ray { position: absolute; left: 50%; top: 0; width: min(46vw, 420px); height: 100%; transform: translateX(-50%) scaleY(0); transform-origin: top; background: linear-gradient(90deg, transparent, #8ff6ff55 20%, #e8feffcc 50%, #8ff6ff55 80%, transparent); filter: blur(6px); }
.beam__flash { position: absolute; inset: 0; background: #e8feff; opacity: 0; }
.is-beaming .beam { visibility: visible; }
.is-beaming .beam__ray { animation: ray 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
.is-beaming .beam__flash { animation: flash 1.1s ease-in-out forwards; }
@keyframes ray { 0% { transform: translateX(-50%) scaleY(0); opacity: 1; } 55% { transform: translateX(-50%) scaleY(1); opacity: 1; } 100% { transform: translateX(-50%) scaleY(1); opacity: 0; } }
@keyframes flash { 0%, 40% { opacity: 0; } 60% { opacity: .85; } 100% { opacity: 0; } }

@media (max-width: 1020px) {
  .stamps { grid-template-columns: repeat(3, 1fr); }
  .stamp:nth-child(n) { margin-top: 0; }
  .notes { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar__links { display: none; }
  .bar .btn { margin-left: auto; }
  /* phones: the ticket becomes a small pill under the bar, clear of the buttons */
  .arrival { height: 260vh; }
  .arrival__shade { background: linear-gradient(180deg, rgba(13, 12, 11, .5) 0%, rgba(13, 12, 11, 0) 18%, rgba(13, 12, 11, 0) 50%, rgba(13, 12, 11, .92) 82%); }
  .arrival__actions .btn { flex: 1 1 auto; }
  .board-wrap { margin-top: 150px; }
  .board-fuzz { right: 30%; width: 132px; top: -135px; }
  .board__head { padding: 12px 16px; }
  .board__title { font-size: 1.1rem; }
  .board__cols { grid-template-columns: 1fr; }
  .board__col + .board__col { border-left: 0; border-top: 2px solid #ffffff10; }
  .board__group { padding: 14px 16px 4px; }
  .row { grid-template-columns: 50px 1fr auto; gap: 12px; padding: 10px 16px; }
  .row__fare i { width: 1.2em; height: 1.55em; font-size: 1.02rem; }
  .row__note { margin-left: 6px; }
  .board__combos ol { grid-template-columns: 1fr; }
  .board__combos li + li { border-left: 0; }
  .board__notice { margin: 6px 16px 16px; }
  .bar__status, .bar__phone, .bar__book { display: none; }
  .bar__lang { margin-left: auto; }
  .info__grid { grid-template-columns: 1fr 1fr; }
  .info__item, .info__item:first-child, .info__item:last-child { padding: 16px 20px; border-left: 0; border-top: 3px dashed #15120f33; }
  .info__item:nth-child(-n+2) { border-top: 0; }
  .info__item:nth-child(even) { border-left: 3px dashed #15120f33; }
  .info__item span:last-child { font-size: .82rem; }
  .info__item strong { font-size: 1.05rem; }
  .board__clock .pixel { display: none; }
  /* the dock: ticket on the left, then call / directions / book */
  .dock { position: fixed; z-index: 54; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom)) 92px; background: rgba(13, 12, 11, .94); border-top: 3px solid var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .dock__btn { display: grid; place-items: center; min-height: 46px; border: 3px solid var(--ink); border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 800; font-size: .95rem; text-decoration: none; box-shadow: 3px 3px 0 #000; }
  .dock__btn--book { background: var(--orange); }
  .ticket { left: 10px; right: auto; bottom: calc(10px + env(safe-area-inset-bottom)); width: 72px; height: 46px; padding: 3px 4px 2px; gap: 0; transform: none; box-shadow: 3px 3px 0 var(--orange); z-index: 56; opacity: 1; visibility: visible; translate: none; pointer-events: auto; }
  .ticket:hover { transform: none; }
  .ticket__label { font-size: .5rem; }
  .ticket__num { font-size: 1.25rem; }
  .ticket__fuzz { display: none; }
  .arrival__copy { left: 20px; right: 20px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .arrival__actions { display: none; }
  .arrival__intro { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .called__stage { padding-bottom: 86px; }
  .landed__track { grid-template-columns: 1fr; }
  .flight:nth-child(2) { transform: none; }
  .flight { width: min(100%, 420px); justify-self: center; }
  .pass { grid-template-columns: 1fr; }
  .pass:nth-child(n) { margin-left: 0; }
  .pass__main { grid-template-columns: 96px 1fr; gap: 14px; padding: 14px; }
  .pass__photo { width: 96px; height: 120px; }
  .pass h3 { font-size: 1.6rem; }
  .pass dl div { grid-template-columns: 56px 1fr; }
  .pass__stub { grid-auto-flow: column; justify-content: space-between; align-items: center; border-left: 0; border-top: 3px dashed #15120f55; padding: 10px 16px; }
  .pass__code { width: 120px; height: 34px; }
  .stamps { grid-template-columns: 1fr 1fr; }
  .stamp--wanted { grid-column: 1 / -1; width: min(70%, 280px); justify-self: center; order: -1; }
  .gate__grid { grid-template-columns: 1fr; }
  .map { height: 300px; }
  .called { height: 300vh; }
  .called__panels { position: relative; display: block; height: min(52svh, 460px); }
  .panel { position: absolute; inset: 0; opacity: 0; display: flex; flex-direction: column; }
  .panel.is-past { opacity: 0; }
  .panel.is-on { opacity: 1; }
  .panel__media { height: auto; flex: 1; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .is-beaming .beam { visibility: hidden; }
}

/* very narrow phones (360 px): a little less padding so "The Senior Cut 60+" stays on one line */
@media (max-width: 374px) { .row { gap: 10px; padding: 10px 14px; } }

/* booking picker: Booksy or Square; a centred card on wide screens, a sheet above the dock on phones */
.picker { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.picker[hidden] { display: none; }
.picker__scrim { position: absolute; inset: 0; background: rgba(13, 12, 11, .74); opacity: 0; transition: opacity .2s; }
.picker__card { position: relative; width: min(420px, 100%); padding: 24px 22px 18px; background: var(--cream); color: var(--ink); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--orange); opacity: 0; transform: translateY(18px); transition: opacity .2s, transform .24s cubic-bezier(.2, .8, .2, 1); }
.picker.is-open .picker__scrim, .picker.is-open .picker__card { opacity: 1; }
.picker.is-open .picker__card { transform: none; }
.picker__eyebrow { margin: 0 0 6px; font-size: .75rem; font-weight: 400; color: #6f6255; }
.picker__title { margin: 0; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1; }
.picker__lede { margin: 6px 0 14px; font-size: .95rem; color: #6f6255; }
.picker__opt { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; margin-top: 10px; padding: 13px 16px; min-height: 44px; border: 3px solid var(--ink); border-radius: 12px; background: #fffaf1; color: var(--ink); text-decoration: none; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.picker__opt--main { background: var(--orange); }
.picker__opt:hover, .picker__opt:focus-visible { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); outline: none; }
.picker__name { font-weight: 800; font-size: 1.15rem; }
.picker__note { grid-column: 1; font-size: .85rem; color: #4a3f34; }
.picker__opt--main .picker__note { color: #3a2a12; }
.picker__go { grid-column: 2; grid-row: 1 / span 2; font-size: 1.3rem; font-weight: 800; }
.picker__foot { margin: 14px 2px 0; font-size: .85rem; color: #6f6255; }
.picker__foot a { color: var(--ink); font-weight: 700; }
.picker__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 400 1.7rem/1 var(--sans); cursor: pointer; }
.picker__close:focus-visible { outline: 3px solid var(--orange); }
html.picker-open { overflow: hidden; }
.reduce .picker__scrim, .reduce .picker__card { transition: none; }
@media (max-width: 760px) {
  .picker { place-items: end stretch; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .picker__card { width: auto; }
}
