/* =============================================================================
   ellemesa_ — "Night Cabin" in Pandan
   Forest green + pandan lime, in two modes. The whole site (every page)
   reads colours only from the tokens below; `data-mode` on <html> picks the
   set. Night is the default; the sun/moon button in the nav switches it and
   remembers the choice.
============================================================================= */

:root,
:root[data-mode="night"] {
  --bg: #0B1A13; --bg2: #0F2219; --ink: #EEF3E6; --mute: #A3BBA8; --line: #21392C;
  --accent: #C8D96E; --accent-ink: #C8D96E; --display-accent: #C8D96E; --focus: #C8D96E;
  --ticket-bg: #C8D96E; --ticket-ink: #0B1A13;
  --bezel-a: #2F5A43; --bezel-b: #14281D; --win-shadow: rgba(0,0,0,0.6); --win-inset: rgba(0,0,0,0.5); --pane-ring: #0B1A13;
  --shade-a: #3A6A50; --shade-b: #264A37; --shade-edge: #10231A; --handle: #4E8266;
  --screen: #07120D; --screen-ink: #EEF3E6; --screen-mute: #93AE99; --screen-line: rgba(255,255,255,0.08); --screen-line2: rgba(255,255,255,0.22); --screen-shadow: #000;
  --ring-a: #21392C; --ring-b: #36573F;
  --pin-home: #C8D96E; --pin-lived: #F1DFB2; --pin-content: #C8D96E; --pin-visit: #8FB9A0;
  --route-content: #C8D96E; --route-visit: #5E8A6C; --clock: #C8D96E; --stat: #F1DFB2;
  --tile-top: #1C3F2E; --tile-bot: #132C20; --tile-ink: #F3EBDC; --tile-hi: #C8D96E;
  --book-bg: #C8D96E; --book-ink: #0B1A13;
  --card: #12251B; --card-line: #21392C; --card-hi-bg: #C8D96E; --card-hi-ink: #0B1A13; --card-hi-mute: #2E3D10;
  --hi-ticket-bg: #0B1A13; --hi-ticket-ink: #C8D96E;
  --chip-bg: #1E3A2B; --chip-ink: #CFE6C4;
  --field-bg: #0F2219; --field-line: #2B4636;
  --halo: rgba(200,217,110,0.10); --win-glow: rgba(200,217,110,0.2); --nav-bg: rgba(11,26,19,0.88);
  --star: rgba(255,255,255,0.7);
  --ink-faint: var(--mute);
  --land: #11261B; --land-been: #1C3B29; --land-edge: rgba(200,217,110,0.2); --route: #C8D96E;
  --stamp-a: #C8D96E; --stamp-b: #F1DFB2;
  --ink-olive: #C8D96E; --ink-plum: #E3A9D6; --ink-teal: #86D4C8; --ink-brick: #F2A488; --ink-navy: #A9C1F5; --ink-forest: #9FD69A;
  --guilloche: rgba(200,217,110,0.04); --star-c: rgba(255,255,255,0.95); --glow: rgba(200,217,110,0.14); --island: rgba(163,187,168,0.55);
  color-scheme: dark;
}
:root[data-mode="day"] {
  --bg: #F3F4E6; --bg2: #ECEEDC; --ink: #13301F; --mute: #4F6454; --line: #D5DAC4;
  --accent: #5A6810; --accent-ink: #5A6810; --display-accent: #5A6810; --focus: #13301F;
  --ticket-bg: #5A6810; --ticket-ink: #F3F4E6;
  --bezel-a: #FFFFFF; --bezel-b: #DDE3CF; --win-shadow: rgba(19,48,31,0.3); --win-inset: rgba(60,90,70,0.22); --pane-ring: #BCC6A8;
  --shade-a: #F9FBF2; --shade-b: #DDE3CF; --shade-edge: #BDC7AA; --handle: #C9D1B6;
  --screen: #0E2418; --screen-ink: #EEF3E6; --screen-mute: #9DB8A3; --screen-line: rgba(255,255,255,0.08); --screen-line2: rgba(255,255,255,0.22); --screen-shadow: rgba(14,36,24,0.45);
  --ring-a: #D5DAC4; --ring-b: #C2C9AE;
  --tile-top: #1C3F2E; --tile-bot: #132C20; --tile-ink: #F3EBDC; --tile-hi: #C8D96E;
  --card: #FBFCF4; --card-line: #D5DAC4; --card-hi-bg: #13301F; --card-hi-ink: #EEF3E6; --card-hi-mute: #A9C2AE;
  --hi-ticket-bg: #C8D96E; --hi-ticket-ink: #0B1A13;
  --chip-bg: #E3E8D3; --chip-ink: #2E4A1F;
  --field-bg: #FBFCF4; --field-line: #C9D0B8;
  --halo: rgba(200,217,110,0.35); --win-glow: rgba(19,48,31,0.08); --nav-bg: rgba(243,244,230,0.9);
  --star: transparent;
  --stamp-a: #5A6810; --stamp-b: #13301F;
  --ink-olive: #5A6810; --ink-plum: #7E3B72; --ink-teal: #1E6A63; --ink-brick: #A1452C; --ink-navy: #2C4C8E; --ink-forest: #2D6A38;
  --guilloche: rgba(19,48,31,0.045); --star-c: #B59B3F; --glow: rgba(200,217,110,0.4); --island: rgba(79,100,84,0.5);
  color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--ink); font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif; font-size: 16px; line-height: 1.6;
  background: radial-gradient(60% 520px at 20% 300px, var(--halo), transparent 70%), var(--bg);
  background-repeat: no-repeat;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, svg, video { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ticket-bg); color: var(--ticket-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap, .container { width: 100%; max-width: 1136px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.sec { margin-top: 104px; }
.sec--tight { margin-top: 56px; }

.eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.h1 { margin: 0 0 18px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(44px, 6.4vw, 80px); line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; }
.h1 span { display: block; color: var(--display-accent); }
.h2 { margin: 0 0 8px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
.h2--xl { font-size: clamp(38px, 5.6vw, 64px); letter-spacing: -0.02em; }
.sec-head { margin-bottom: 28px; }
.sec-head > p:not(.eyebrow) { margin: 0; max-width: 56ch; color: var(--mute); line-height: 1.55; }
.lede { margin: 0 0 26px; max-width: 46ch; font-size: 17.5px; line-height: 1.55; color: var(--mute); }
.text-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.caption-mono { margin: 0; font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }

/* ---------- Ticket button: notched sides + a perforated stub with the arrow ---------- */
.ticket {
  position: relative; display: inline-flex; align-items: center; padding: 16px 68px 16px 30px; border: 0; cursor: pointer;
  background: var(--ticket-bg); color: var(--ticket-ink);
  font-family: 'DM Mono', monospace; font-weight: 500; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  -webkit-mask: radial-gradient(circle 8px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 8px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.ticket::after { content: ""; position: absolute; right: 52px; top: 9px; bottom: 9px; border-left: 2px dashed currentColor; opacity: 0.35; }
.ticket svg { position: absolute; right: 21px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; }
.ticket svg.t-mail { width: 18px; height: 18px; margin-top: -9px; right: 18px; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ticket--sm svg.t-mail { width: 16px; height: 16px; margin-top: -8px; right: 15px; }
.ticket:hover { filter: brightness(1.07); transform: translateY(-2px); }
.ticket:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.ticket--sm { padding: 12px 58px 12px 22px; font-size: 12px; letter-spacing: 0.12em; }
.ticket--sm::after { right: 44px; top: 7px; bottom: 7px; }
.ticket--sm svg { right: 17px; width: 14px; height: 14px; margin-top: -7px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- Nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.wordmark { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--mute); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links .nav-menu-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .mode-btn, .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover, .mode-btn:hover, .menu-btn:hover { border-color: var(--mute); }
.icon-btn svg, .mode-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta { margin-left: 6px; }
.mode-btn .i-moon { fill: currentColor; stroke: none; }
:root[data-mode="day"] .mode-btn .i-moon, :root:not([data-mode="day"]) .mode-btn .i-sun { display: none; }
:root:not([data-local]) .mode-btn { display: none; }
.menu-btn { display: none; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn::before { top: 13px; } .menu-btn span { top: 19px; } .menu-btn::after { top: 25px; }
.menu-btn[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
.menu-btn[aria-expanded="true"] span { opacity: 0; }

/* ---------- Hero ---------- */
.hero-captain { margin: 0 0 2px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.hero-name { margin: 0 0 10px; font-size: clamp(54px, 7.6vw, 98px); line-height: 0.95; }
.hero-tag { margin: 0 0 22px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.hero-tag span { color: var(--display-accent); }
.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 44px; }
.win-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cb-window {
  --shade-open: 15%; --shade-h: var(--shade-open);
  position: relative; width: min(100%, 430px); aspect-ratio: 5 / 7; padding: 16px; border-radius: 48% / 34%;
  background: linear-gradient(145deg, var(--bezel-a), var(--bezel-b));
  box-shadow: 0 0 110px var(--win-glow), 0 34px 50px -22px var(--win-shadow), inset 0 2px 0 rgba(255,255,255,0.18), inset 0 -4px 8px var(--win-inset);
}
.js .cb-window:not(.is-ready) { --shade-h: 97%; }
.cb-window.is-down { --shade-h: 88%; }
.cb-window.is-opening .cb-shade { transition: height 2.4s cubic-bezier(0.25, 1.1, 0.4, 1); } /* the first rise on arrival */
.cb-window.is-hinting .cb-shade { animation: shade-tug 1.4s ease-in-out; }
@keyframes shade-tug {
  0%, 100% { height: var(--shade-h); }
  22% { height: calc(var(--shade-h) + 7%); }
  45% { height: calc(var(--shade-h) + 1%); }
  65% { height: calc(var(--shade-h) + 3.5%); }
  82% { height: var(--shade-h); }
}
.cb-pane { position: relative; width: 100%; height: 100%; border-radius: 46% / 32.5%; overflow: hidden; background: #6FA5C8; box-shadow: inset 0 0 0 5px var(--pane-ring); }
.cb-pane img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 100%; transform: scale(1.12); transform-origin: 52% 100%; }
.cb-glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 38%), radial-gradient(circle at 86% 10%, rgba(255,214,150,0.42), transparent 34%), radial-gradient(circle at 50% 46%, transparent 55%, rgba(0,0,0,0.28)); }
.cb-shade {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: var(--shade-h); border: 0; padding: 0; cursor: pointer;
  background: repeating-linear-gradient(180deg, var(--shade-a) 0 6px, var(--shade-b) 6px 8px);
  border-bottom: 3px solid var(--shade-edge); box-shadow: 0 8px 14px rgba(0,0,0,0.25);
  transition: height 1.15s cubic-bezier(0.3, 1.28, 0.5, 1);
}
.cb-shade::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 46px; height: 9px; margin-left: -23px; border-radius: 6px; background: var(--handle); }
.cb-shade:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.flaprow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0 0 22px; }
.flaprow-label { font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }

/* ---------- Split-flap tiles ---------- */
.flaps { display: inline-flex; gap: 0.06em; padding: 0.1em; border-radius: 0.14em; background: #040A07; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 1px 0 rgba(255,255,255,0.04); font-size: var(--fs, 22px); vertical-align: middle; }
.flap {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 0.74em; height: 1.16em;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; line-height: 1; text-transform: uppercase;
  color: var(--tile-ink); background: linear-gradient(180deg, var(--tile-top) 0 50%, var(--tile-bot) 50% 100%);
  border-radius: 0.08em; box-shadow: 0 0.05em 0 rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.6); }
.flap--hi { color: var(--tile-hi); }
.flap.is-flipping { animation: flick 0.12s linear infinite; }
@keyframes flick { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.78); } }
.flaps--hero { --fs: clamp(26px, 4.4vw, 52px); }
.flaps--board { --fs: clamp(15px, 2vw, 22px); }

/* ---------- Seatback screen (stats | route map | route log) ---------- */
.screen {
  display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.9fr) minmax(0, 0.95fr); overflow: hidden;
  border-radius: 24px; background: var(--screen); color: var(--screen-ink);
  box-shadow: 0 30px 46px -26px var(--screen-shadow), 0 0 0 8px var(--ring-a), 0 0 0 9px var(--ring-b);
}
.scr-main { padding: 18px 18px 14px; min-width: 0; }
.scr-side { padding: 18px; min-width: 0; border-left: 1px solid var(--screen-line); }
.scr-side--l { border-left: 0; border-right: 1px solid var(--screen-line); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.scr-clock { font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--screen-mute); }
.scr-clock b { display: block; margin-top: 4px; font-weight: 500; font-size: 32px; letter-spacing: 0; color: var(--clock); font-variant-numeric: tabular-nums; }
.scr-stats { display: grid; gap: 12px; }
.scr-stat { padding-top: 12px; border-top: 1px solid var(--screen-line); }
.scr-stat b { display: block; font-family: 'DM Mono', monospace; font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.01em; color: var(--stat); }
.scr-stat span { font-size: 12.5px; color: var(--screen-mute); }
.scr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin-bottom: 8px; }
.map-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,0.06); }
.map-tab { padding: 7px 13px; border: 0; border-radius: 999px; background: transparent; color: var(--screen-mute); font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.map-tab[aria-selected="true"] { background: var(--pin-content); color: var(--screen); }
.map-tab:hover { color: var(--screen-ink); }
.map-tab[aria-selected="true"]:hover { color: var(--screen); }
.map-tab:focus-visible { outline: 2px solid var(--screen-ink); outline-offset: 2px; }
.legend { display: inline-flex; flex-wrap: wrap; gap: 6px 12px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--screen-mute); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.lg--home { box-shadow: inset 0 0 0 3px var(--pin-home), 0 0 0 2px var(--screen), 0 0 0 3px var(--pin-home); }
.lg--lived { background: var(--pin-lived); box-shadow: inset 0 0 0 3px var(--screen); border: 2px solid var(--pin-lived); }
.lg--stop { border: 2px solid var(--pin-visit); }
.scr-map { min-height: 60px; }
.scr-map svg { display: block; width: 100%; height: auto; overflow: hidden; border-radius: 14px; }
.scr-map .land path { fill: var(--land); stroke: var(--land-edge); stroke-linejoin: round; }
.scr-map .land--been path { fill: var(--land-been); }
.scr-map .route { fill: none; stroke: var(--route); stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(200,217,110,0.45)); }
.scr-map .grat { stroke: var(--screen-line); }
.scr-map .tick { font-family: 'DM Mono', monospace; fill: var(--screen-mute); opacity: 0.6; }
.scr-map .pin { cursor: pointer; outline: none; }
.scr-map .pin .ring { fill: var(--screen); transition: fill 0.15s ease; }
.scr-map .pin .hit { fill: transparent; }
.scr-map .pin--home .ring { stroke: var(--pin-home); }
.scr-map .pin--lived .ring { stroke: var(--pin-lived); }
.scr-map .pin--lived .dot { fill: var(--pin-lived); }
.scr-map .pin--stop .ring { stroke: var(--pin-visit); }
.scr-map .pin:hover .ring, .scr-map .pin.is-active .ring { fill: var(--screen-line2); }
.scr-map .pin .focus { fill: none; stroke: var(--screen-ink); opacity: 0; }
.scr-map .pin:focus-visible .focus, .scr-map .pin.is-active .focus { opacity: 0.9; }
.scr-map .ping { fill: none; stroke: var(--pin-home); transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.75; } to { transform: scale(2.8); opacity: 0; } }
.scr-map .lab-code, .scr-map .lab-name { paint-order: stroke; stroke: var(--screen); stroke-linejoin: round; }
.scr-map .lab-code { font-family: 'DM Mono', monospace; font-weight: 500; fill: var(--screen-ink); }
.scr-map .lab-name { font-family: 'DM Sans', sans-serif; fill: var(--screen-mute); }
.scr-map .pin.is-active .lab-code { fill: var(--pin-home); }
.scr-map .plane { fill: var(--screen-ink); transition: opacity 0.3s ease; }
.scr-caption { margin: 8px 0 0; min-height: 3em; font-size: 13.5px; line-height: 1.5; color: var(--screen-ink); }
.scr-caption span { display: block; color: var(--screen-mute); }
.scr-caption b { color: var(--pin-content); font-weight: 500; font-family: 'DM Mono', monospace; letter-spacing: 0.06em; }
.scr-side--log { display: flex; flex-direction: column; gap: 10px; }
.stoplist { margin: 0; padding: 0 4px 0 0; list-style: none; display: grid; gap: 4px; max-height: 470px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--screen-line2) transparent; }
.stop { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: inherit; font-size: 12.5px; line-height: 1.35; text-align: left; cursor: pointer; }
.stop:hover, .stop.is-active { background: rgba(255,255,255,0.06); }
.stop:focus-visible { outline: 2px solid var(--screen-ink); outline-offset: -2px; }
.stop i { margin-top: 3px; width: 11px; height: 11px; border-radius: 50%; }
.stop--home i { box-shadow: inset 0 0 0 3px var(--pin-home), 0 0 0 2px var(--screen), 0 0 0 3px var(--pin-home); }
.stop--lived i { background: var(--pin-lived); border: 2px solid var(--pin-lived); box-shadow: inset 0 0 0 2px var(--screen); }
.stop--stop i { border: 2px solid var(--pin-visit); }
.stop b { display: block; font-family: 'DM Mono', monospace; font-weight: 500; font-size: 11.5px; letter-spacing: 0.08em; color: var(--screen-ink); }
.stop span { color: var(--screen-mute); }

/* ---------- Departures board ---------- */
.board { padding: 22px 24px 18px; border-radius: 24px; background: var(--screen); color: var(--screen-ink); box-shadow: 0 30px 46px -26px var(--screen-shadow), 0 0 0 8px var(--ring-a), 0 0 0 9px var(--ring-b); }
.brd-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--screen-line2); }
.brd-title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.brd-title svg { width: 20px; height: 20px; fill: var(--pin-content); transform: rotate(45deg); }
.brd-clock { font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--screen-mute); }
.brd-clock b { margin-left: 8px; font-weight: 500; font-size: 20px; letter-spacing: 0; color: var(--clock); font-variant-numeric: tabular-nums; }
.brd-cols, .brd-row { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 2fr) 76px 132px; gap: 16px; align-items: center; padding-left: 14px; }
.brd-cols { padding-top: 12px; padding-bottom: 12px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--screen-mute); border-bottom: 1px solid var(--screen-line); }
.brd-row { padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--screen-line); color: inherit; text-decoration: none; transition: background 0.15s ease; }
a.brd-row:hover { background: rgba(255,255,255,0.05); }
a.brd-row:focus-visible { outline: 3px solid var(--screen-ink); outline-offset: -3px; }
.brd-row--cta { box-shadow: inset 4px 0 0 var(--tile-hi); background: linear-gradient(90deg, rgba(255,255,255,0.06), transparent 60%); }
.c-dest { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brd-logo { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #F3F4E6; color: #0B1A13; box-shadow: 0 0 0 2px var(--screen-line2); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }
.brd-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.brd-logo--contain img { padding: 5px; object-fit: contain; }
.brd-logo--open { background: var(--book-bg); color: var(--book-ink); }
.brd-logo--open svg { width: 16px; height: 16px; fill: currentColor; transform: rotate(45deg); }
.c-for { font-size: 15px; line-height: 1.35; color: var(--screen-ink); opacity: 0.9; }
.c-for small { display: block; margin-top: 2px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pin-content); opacity: 1; }
.c-status { justify-self: start; padding: 6px 12px; border-radius: 6px; white-space: nowrap; font-family: 'DM Mono', monospace; font-weight: 500; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.s-landed { color: var(--screen-mute); box-shadow: inset 0 0 0 1px var(--screen-line2); }
.s-flight { color: var(--pin-visit); box-shadow: inset 0 0 0 1px currentColor; }
.s-book { background: var(--book-bg); color: var(--book-ink); }

/* ---------- Reels ("now showing") ---------- */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; justify-items: center; }
.reel { width: 100%; max-width: 250px; display: flex; flex-direction: column; gap: 12px; }
.reel-screen { position: relative; display: block; width: 100%; padding: 8px; border: 0; border-radius: 22px; background: var(--screen); cursor: pointer; box-shadow: 0 0 0 1px var(--ring-b), 0 24px 36px -24px var(--screen-shadow); }
.reel-frame { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 15px; background: #000; }
.reel-frame video, .reel-frame img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-play { position: absolute; z-index: 2; left: 50%; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px; transform: translateX(-50%); background: rgba(7,18,13,0.72); color: #EEF3E6; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; transition: background 0.15s ease; }
.reel-play svg { width: 12px; height: 12px; fill: currentColor; }
.reel-screen:hover .reel-play { background: #C8D96E; color: #0B1A13; }
.reel-screen:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.reel-client { margin: 0; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.reel-caption { margin: 0; font-size: 14.5px; line-height: 1.45; }
.reel-cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 56px 14px 52px; background: linear-gradient(to top, rgba(4,10,7,0.94) 35%, rgba(4,10,7,0)); color: #F3F4E6; font-size: 14px; line-height: 1.45; text-align: left; transform: translateY(101%); transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); pointer-events: none; }
@media (hover: hover) { .reel-screen:hover .reel-cap, .reel-screen:focus-visible .reel-cap { transform: none; } }
@media (hover: none) { .reel-cap { transform: none; padding-top: 40px; } }
.reel-metrics { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; font-variant-numeric: tabular-nums; }
.met { display: inline-flex; align-items: center; gap: 5px; font-family: 'DM Mono', monospace; color: var(--ink); }
.met svg { width: 16px; height: 16px; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.met b { font-weight: 500; font-size: 17px; letter-spacing: -0.01em; }
.met small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap--wide { max-width: 1400px; }
.reels--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.reels--home .reel { max-width: min(100%, calc((100vh - 150px) * 0.5625 + 16px)); max-width: min(100%, calc((100svh - 150px) * 0.5625 + 16px)); } /* svh: stays put when the phone's address bar slides */
.reels--home .reel-metrics { flex-wrap: nowrap; gap: 10px; }
.reels--home .met { gap: 4px; }
.reels--home .met b { font-size: 16px; }
.reels--home .met svg { width: 15px; height: 15px; }
.reel-link { font-size: 13.5px; }

/* ---------- Boarding groups ---------- */
.groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g { padding: 18px 18px 4px 0; margin-right: 18px; border-right: 1px solid var(--line); }
.g:last-child { margin-right: 0; border-right: 0; }
.g-n { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
.g-n::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.g h3 { margin: 8px 0 6px; font-weight: 700; font-size: 16px; line-height: 1.25; }
.g p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.g a { display: inline-block; margin-top: 6px; color: var(--accent-ink); font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Cabin classes ---------- */
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cls { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.cls--hi { background: var(--card-hi-bg); color: var(--card-hi-ink); border-color: var(--card-hi-bg); }
.cls-tag { padding: 5px 9px; border-radius: 6px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; background: var(--chip-bg); color: var(--chip-ink); }
.cls--hi .cls-tag { background: var(--hi-ticket-bg); color: var(--hi-ticket-ink); }
.cls h3 { margin: 4px 0 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 23px; letter-spacing: -0.01em; }
.cls-price { margin: 0; font-family: 'DM Mono', monospace; font-weight: 500; font-size: 15px; color: var(--accent-ink); }
.cls--hi .cls-price { color: var(--card-hi-ink); }
.cls > p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.cls--hi > p { color: var(--card-hi-mute); }
.cls ul { flex: 1; margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; }
.cls li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.cls li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.cls .ticket { margin-top: 10px; }
.cls--hi .ticket { --ticket-bg: var(--hi-ticket-bg); --ticket-ink: var(--hi-ticket-ink); }
.addons { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 22px; }
.addons-label { font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.addons-row { display: flex; flex-wrap: wrap; gap: 8px; }
.addon { padding: 7px 12px; border-radius: 999px; border: 1px dashed var(--line); font-size: 13.5px; color: var(--mute); }

/* ---------- About (passport page) ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.passport { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); }
.passport-photo { overflow: hidden; border-radius: 12px; aspect-ratio: 5 / 4; background: var(--bg2); }
.passport-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.passport-fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding: 0 4px 4px; }
.passport-fields dt { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.passport-fields dd { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.about-copy > p:not(.eyebrow) { margin: 0 0 16px; max-width: 60ch; line-height: 1.65; color: var(--mute); }
.about-copy strong { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-ink); font-size: 13.5px; font-weight: 500; }
.press { display: grid; gap: 10px; margin-top: 28px; }
.press-label { margin: 0; font-family: 'DM Mono', monospace; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.press-item { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; transition: border-color 0.15s ease; }
.press-item:hover { border-color: var(--accent); }
.press-item b { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.press-item span { font-size: 14.5px; line-height: 1.45; }

/* ---------- Feedback (review stubs) ---------- */
.reviews { display: grid; gap: 16px; }
.review {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; margin: 0; border-radius: 18px; overflow: hidden;
  background: var(--card); border: 1px solid var(--card-line);
}
.review blockquote { margin: 0; padding: 28px 30px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.3; letter-spacing: -0.01em; }
.review-stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 24px 22px; border-left: 2px dashed var(--line); background: var(--bg2); }
.review-stub b { font-weight: 700; font-size: 16px; }
.review-stub span { font-size: 13.5px; color: var(--mute); }
.review-stub small { margin-bottom: 6px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }

/* ---------- Guides ---------- */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.guide-no { position: absolute; top: 20px; right: 22px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 0.06em; color: var(--mute); }
.guide-kicker { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.guide h3 { margin: 0; padding-right: 36px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; }
.guide p { flex: 1; margin: 0; font-size: 14px; line-height: 1.55; color: var(--mute); }
.guide a { align-self: flex-start; margin-top: 6px; font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.guide--soon { border-style: dashed; background: transparent; }
.soon { align-self: flex-start; padding: 5px 9px; border-radius: 6px; background: var(--chip-bg); color: var(--chip-ink); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.waitlist { margin-top: 22px; padding: 22px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg2); }
.waitlist label { display: block; margin-bottom: 12px; font-weight: 700; }
.waitlist-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.waitlist-row input { flex: 1 1 240px; min-width: 0; }

/* ---------- Forms ---------- */
input, textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--field-line); background: var(--field-bg); color: var(--ink);
  font: inherit; font-size: 15px;
}
input::placeholder, textarea::placeholder { color: var(--mute); opacity: 0.8; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; min-height: 130px; }
.form-status { min-height: 1.4em; margin: 8px 0 0; font-size: 13.5px; color: var(--mute); }

/* ---------- Contact ---------- */
.close-head { text-align: center; margin-bottom: 36px; }
.close-head p { margin: 0 auto; max-width: 46ch; color: var(--mute); }
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; padding: 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--card-line); }
.contact-info { display: grid; align-content: start; gap: 12px; }
.contact-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-link:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-link svg, .foot-social svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-note { margin: 10px 0 0; color: var(--mute); font-size: 14.5px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 700; }
.field label span { font-weight: 400; color: var(--mute); }
.field--full { grid-column: 1 / -1; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .form-status { margin: 0; }

/* ---------- Footer ---------- */
.site-foot { position: relative; margin-top: 210px; padding: 28px 0 calc(32px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--mute); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }

/* ---------- Reel player ---------- */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,10,7,0.86); }
.lightbox-content { position: relative; display: grid; justify-items: center; gap: 8px; width: min(100%, 360px); color: #EEF3E6; text-align: center; }
.lightbox-screen { width: 100%; padding: 8px; border-radius: 22px; background: #07120D; box-shadow: 0 0 0 1px #36573F; }
.lightbox-screen video { display: block; width: 100%; max-height: 72vh; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 15px; background: #000; }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #EEF3E6; font-size: 16px; cursor: pointer; }
.lightbox-client { margin: 6px 0 0; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #C8D96E; }
.lightbox-caption { margin: 0; font-size: 15px; line-height: 1.45; }
.lightbox .text-link { font-size: 14px; }
body.no-scroll { overflow: hidden; }

/* =============================================================================
   Guide pages (guides/*.html) — same tokens, long-form reading layout.
============================================================================= */
.guide-nav-links { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.back-link { font-size: 14.5px; font-weight: 500; color: var(--mute); text-decoration: none; }
.back-link:hover { color: var(--ink); }
.guide-hero { padding-top: 64px; padding-bottom: 32px; max-width: 800px; }
.guide-hero h1 { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.guide-hero h1 em { font-style: normal; color: var(--display-accent); }
.guide-sub { margin: 16px 0 0; max-width: 60ch; font-size: 17.5px; line-height: 1.6; color: var(--mute); }
.guide-article { max-width: 800px; padding-bottom: 40px; }
.guide-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.guide-step:first-child { border-top: 0; padding-top: 0; }
.guide-step-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; color: var(--accent-ink); }
.guide-step h2 { margin: 0 0 12px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 23px; line-height: 1.2; letter-spacing: -0.01em; }
.guide-step p { margin: 0 0 14px; line-height: 1.7; color: var(--mute); }
.guide-step p:last-child { margin-bottom: 0; }
.guide-step strong { color: var(--ink); }
.guide-step ul { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.guide-step li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--mute); }
.guide-step li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.guide-quote { margin: 16px 0; padding: 18px 22px; border-radius: 12px; border-left: 3px solid var(--accent); background: var(--card); color: var(--ink); font-size: 15px; line-height: 1.75; }
.guide-todo { margin: 12px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px dashed var(--accent); background: var(--bg2); color: var(--ink); font-size: 14px; line-height: 1.6; }
.guide-callout { margin-top: 8px; padding: 24px 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--card-line); }
.guide-callout-label { margin: 0 0 12px; font-weight: 700; }
.guide-callout ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guide-callout li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.6; color: var(--mute); }
.guide-callout li::before { content: "×"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 700; }
.guide-table-wrap { margin: 16px 0; overflow-x: auto; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.guide-table th, .guide-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.guide-table th { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.guide-table td { color: var(--mute); }
.guide-outro { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-style: italic; color: var(--mute); }

/* Email gate: the real article is already on the page; it's blurred and
   clipped until an email is entered (see initGuideGate in main.js). */
.guide-locked-wrap { position: relative; }
.guide-article.is-locked { max-height: 620px; overflow: hidden; filter: blur(9px); pointer-events: none; user-select: none; padding-top: 28px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, black 90px, black 32%, transparent 92%); mask-image: linear-gradient(to bottom, transparent 0, black 90px, black 32%, transparent 92%); }
.guide-gate { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 20px; }
.guide-gate-card { width: 100%; max-width: 440px; padding: 36px 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); text-align: center; }
.guide-gate-card h3 { margin: 0 0 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.01em; }
.guide-gate-card p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
#guideGateForm { display: grid; gap: 12px; justify-items: center; }
#guideGateForm input { text-align: center; }
.guide-gate-note { margin: 14px 0 0 !important; font-size: 12.5px !important; }
.guide-cta { max-width: 800px; margin-top: 40px; padding: 36px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--card-line); text-align: center; }
.guide-cta h2 { margin: 0 0 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.015em; }
.guide-cta h2 em { font-style: normal; color: var(--display-accent); }
.guide-cta p { margin: 0 auto 22px; max-width: 46ch; color: var(--mute); }
.guide-cta .cta-row { justify-content: center; }

/* =============================================================================
   Inner pages — reels, services, about, journal, guides, contact
============================================================================= */
.page-head { padding-top: 56px; }
.page-title { margin: 0 0 16px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.page-title span { color: var(--display-accent); }
.page-head .lede { margin-bottom: 0; }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.page-meta b { margin-right: 6px; font-weight: 500; font-size: 17px; letter-spacing: 0; color: var(--ink); }
.page-head + .sec { margin-top: 48px; }

.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.see-all { padding-bottom: 3px; border-bottom: 2px solid var(--accent); font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.see-all:hover { color: var(--ink); }

/* ---------- Now-boarding band (end of every page) ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding: 40px; border-radius: 28px; background: var(--card-hi-bg); color: var(--card-hi-ink); }
.cta-band .eyebrow { color: var(--card-hi-mute); }
.cta-band .h2 { margin: 0 0 8px; }
.cta-band p:not(.eyebrow) { margin: 0; max-width: 46ch; color: var(--card-hi-mute); }
.cta-band .ticket { --ticket-bg: var(--hi-ticket-bg); --ticket-ink: var(--hi-ticket-ink); }
.cta-links { display: grid; justify-items: start; gap: 14px; }
.cta-band .text-link { color: var(--card-hi-ink); text-decoration-color: currentColor; font-size: 14.5px; }

/* ---------- Reels library ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 14px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--card-line); }
.filter-group { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 10px; }
.filter-label { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.3; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.chip-btn small { margin-left: 3px; font-family: 'DM Mono', monospace; font-size: 11px; color: var(--mute); }
.chip-btn:hover { border-color: var(--mute); }
.chip-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ticket-ink); }
.chip-btn[aria-pressed="true"] small { color: inherit; opacity: 0.7; }
.filter-selects { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.select-field { display: grid; gap: 6px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 15px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid var(--mute); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
select { appearance: none; -webkit-appearance: none; min-width: 200px; padding: 10px 40px 10px 14px; border-radius: 10px; border: 1px solid var(--field-line); background: var(--field-bg); color: var(--ink); font: inherit; font-family: 'DM Sans', sans-serif; font-size: 14.5px; letter-spacing: 0; text-transform: none; cursor: pointer; }
select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.filter-clear { margin-left: auto; padding: 10px 4px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; cursor: pointer; }
.filter-count { margin: 0 0 22px; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.empty { grid-column: 1 / -1; justify-self: stretch; margin: 0; padding: 40px 20px; border-radius: 16px; border: 1px dashed var(--line); text-align: center; color: var(--mute); }
.empty .text-link { border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.reel.is-flagged .reel-screen { box-shadow: 0 0 0 3px var(--accent), 0 24px 36px -24px var(--screen-shadow); }

.reel-tile { display: flex; flex-direction: column; padding: 16px 14px; color: #EEF3E6; text-decoration: none;
  background: radial-gradient(120% 70% at 85% 0%, rgba(200,217,110,0.18), transparent 60%), linear-gradient(165deg, var(--tile-a, #1C3F2E), #07120D 78%); }
.tile--cafes-bars { --tile-a: #3B301B; }
.tile--tours-activities { --tile-a: #1E4430; }
.tile--apps-services { --tile-a: #17343F; }
.tile--beaches-islands { --tile-a: #123B4C; }
.tile--travel-life { --tile-a: #33263C; }
.tile--community { --tile-a: #2B3B18; }
.tile-top { display: inline-flex; align-items: center; gap: 6px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #C8D96E; }
.tile-top svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tile-where { margin-top: auto; }
.flaps--tile { flex-wrap: wrap; row-gap: 0.1em; }
.tile-type { margin-top: 10px; font-size: 12.5px; line-height: 1.35; color: #A3BBA8; }
.tile-views { margin: 12px 0 46px; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #A3BBA8; }
.tile-views b { display: block; font-weight: 500; font-size: 30px; line-height: 1.1; letter-spacing: 0; color: #F1DFB2; }
a.reel-screen { text-decoration: none; }
a.reel-screen:hover .reel-play { background: #C8D96E; color: #0B1A13; }
a.reel-screen:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ---------- Services page ---------- */
.makes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; border-top: 1px solid var(--line); }
.make { padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.make-n { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 30px; line-height: 1; color: var(--accent-ink); }
.make h3 { margin: 10px 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.make p { margin: 0; max-width: 36ch; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.formats-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-top: 24px; }
.formats-row .chips { margin: 0; }
.incl-card { padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--card-line); }
.inclusions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; margin: 0; padding: 0; list-style: none; }
.inclusions li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.inclusions svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--accent-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.inclusions span { font-size: 14.5px; line-height: 1.5; color: var(--mute); }
.inclusions b { display: block; margin-bottom: 1px; font-size: 15.5px; color: var(--ink); }
.rates { display: grid; grid-template-columns: minmax(0, 1fr) 280px; margin-top: 18px; border-radius: 22px; overflow: hidden; background: var(--card-hi-bg); color: var(--card-hi-ink); }
.rates-main { padding: 28px 30px; }
.rates-main .eyebrow { color: var(--card-hi-mute); }
.rates-main h3 { margin: 0 0 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.015em; }
.rates-main p:not(.eyebrow) { margin: 0 0 4px; color: var(--card-hi-mute); }
.rates-stub { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px 24px; border-left: 2px dashed var(--card-hi-mute); }
.rates-stub small { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--card-hi-mute); }
.rates-stub .ticket { --ticket-bg: var(--hi-ticket-bg); --ticket-ink: var(--hi-ticket-ink); }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.process li { position: relative; padding-top: 48px; }
.process li::before { content: ""; position: absolute; top: 16px; left: 44px; right: -12px; border-top: 2px dashed var(--line); }
.process li:last-child::before { display: none; }
.proc-n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--ticket-ink); font-family: 'DM Mono', monospace; font-weight: 500; font-size: 14px; }
.process h3 { margin: 0 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 19px; }
.process p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: var(--screen); color: var(--screen-ink); box-shadow: 0 0 0 1px var(--ring-b), 0 24px 36px -26px var(--screen-shadow); text-decoration: none; }
.case-kind { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pin-home); }
.case h3 { margin: 6px 0 4px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.case-del { margin: 0; font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--screen-mute); }
.case-brand { display: grid; justify-items: start; gap: 8px; padding: 14px 0; border-top: 1px solid var(--screen-line); border-bottom: 1px solid var(--screen-line); }
.case-brand b { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; letter-spacing: 0.04em; text-transform: uppercase; }
.case-brand small { font-size: 13px; color: var(--screen-mute); }
.flaps--case { --fs: clamp(18px, 2.1vw, 24px); }
.case-sum { margin: 0; font-size: 15px; line-height: 1.55; opacity: 0.9; }
.case-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.case-table th { padding: 0 8px 4px 0; text-align: left; font-family: 'DM Mono', monospace; font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--screen-mute); }
.case-table td { padding: 0 8px 0 0; font-family: 'DM Mono', monospace; font-weight: 500; font-size: clamp(22px, 2.6vw, 30px); color: var(--stat); }
.case .text-link { align-self: flex-start; font-size: 14px; }
.case-quote { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.35; color: var(--stat); }
.case-quote cite { display: block; margin-top: 6px; font-family: 'DM Mono', monospace; font-style: normal; font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--screen-mute); }
.case--next { justify-content: center; align-items: flex-start; background: transparent; color: var(--ink); border: 2px dashed var(--line); box-shadow: none; transition: border-color 0.15s ease; }
.case--next:hover { border-color: var(--accent); }
.case--next .case-kind { color: var(--accent-ink); }
.case--next p { margin: 0; max-width: 34ch; color: var(--mute); }
.case-note { margin: 14px 0 0; font-size: 13px; color: var(--mute); }

/* ---------- About page ---------- */
.passport-page { position: relative; padding: 34px 28px 28px; border-radius: 22px; border: 1px solid var(--card-line);
  background: repeating-radial-gradient(circle at 18% 28%, transparent 0 13px, var(--guilloche) 13px 14px), repeating-radial-gradient(circle at 82% 72%, transparent 0 17px, var(--guilloche) 17px 18px), var(--card); }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 22px; }
.stamp { display: grid; justify-items: center; align-content: start; gap: 8px; color: var(--ink); text-decoration: none; }
.stamp-art { width: 86%; max-width: 168px; height: auto; color: var(--stamp-ink); opacity: 0.9; filter: url(#stamp-ink); transition: transform 0.25s ease; }
.stamp-art text { fill: currentColor; stroke: none; font-family: 'Barlow Condensed', 'DM Mono', system-ui, sans-serif; }
.stamp-art .stamp-red { fill: var(--ink-brick); } /* the date is inked separately, in red */
.stamp--r0 .stamp-art { transform: rotate(-6deg); } .stamp--r1 .stamp-art { transform: rotate(4deg); } .stamp--r2 .stamp-art { transform: rotate(-2deg); }
.stamp--r3 .stamp-art { transform: rotate(7deg); } .stamp--r4 .stamp-art { transform: rotate(-4deg); }
a.stamp:hover .stamp-art, a.stamp:focus-visible .stamp-art { transform: rotate(0) scale(1.06); opacity: 1; }
.stamp-cap { font-size: 12.5px; line-height: 1.35; text-align: center; color: var(--mute); }
.stamp-cap b { color: var(--ink); }
.stamp-cap small { display: block; margin-top: 2px; font-family: 'DM Mono', monospace; font-size: 10.5px; }
.ink--olive { --stamp-ink: var(--ink-olive); } .ink--plum { --stamp-ink: var(--ink-plum); } .ink--teal { --stamp-ink: var(--ink-teal); }
.ink--brick { --stamp-ink: var(--ink-brick); } .ink--navy { --stamp-ink: var(--ink-navy); } .ink--forest { --stamp-ink: var(--ink-forest); }
.logbook { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.log-filters { margin-bottom: 20px; }
.log-card { display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--card-line); text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease; }
.log-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.log-cover { display: block; margin-bottom: 6px; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: var(--screen); }
.log-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.log-cover--pass { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 20px; color: var(--screen-ink); background: radial-gradient(90% 80% at 85% 10%, rgba(200,217,110,0.14), transparent 60%), var(--screen); }
.pass-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 46px; line-height: 1; }
.pass-row small { display: block; margin-bottom: 4px; font-family: 'DM Mono', monospace; font-weight: 400; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--screen-mute); }
.pass-row > span:last-child { text-align: right; }
.pass-row svg { width: 26px; height: 26px; fill: var(--pin-home); transform: rotate(90deg); }
.pass-place { padding-top: 12px; border-top: 1px dashed var(--screen-line2); font-family: 'DM Mono', monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--screen-mute); }
.log-meta { padding: 0 6px; font-family: 'DM Mono', monospace; font-size: 11px; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.log-card h3 { margin: 0; padding: 0 6px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; }
.log-card p { flex: 1; margin: 0; padding: 0 6px; font-size: 14px; line-height: 1.5; color: var(--mute); }
.log-more { padding: 0 6px; font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.about-more { margin-top: 26px; }
.roll { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.roll-shot { flex: 0 0 clamp(200px, 24vw, 280px); margin: 0; padding: 10px 10px 34px; border-radius: 4px; background: #F7F2E6; box-shadow: 0 18px 30px -18px rgba(0,0,0,0.55); scroll-snap-align: start; transition: transform 0.25s ease; }
.roll-shot img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.roll-shot--0 { transform: rotate(-2deg); } .roll-shot--1 { transform: rotate(1.5deg) translateY(10px); } .roll-shot--2 { transform: rotate(-0.5deg); }
.roll-shot:hover { transform: rotate(0) translateY(-4px); }


/* ---------- Journal entry ---------- */
.entry { max-width: 880px; }
.entry-head { padding-top: 40px; }
.entry-head .back-link { display: inline-block; margin-bottom: 26px; }
.entry-pass { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; padding: 16px 22px; border-radius: 18px; background: var(--screen); color: var(--screen-ink); box-shadow: 0 0 0 1px var(--ring-b); }
.entry-pass small { display: block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--screen-mute); }
.entry-pass b { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; }
.entry-pass > svg { width: 22px; height: 22px; fill: var(--pin-home); transform: rotate(90deg); }
.pass-cell { padding-left: 22px; border-left: 1px dashed var(--screen-line2); }
.pass-cell span { font-size: 14px; }
.entry-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 34px; }
.entry-main--cover { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.entry-cover { grid-column: 2; grid-row: 1; position: sticky; top: 96px; margin: 0; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--bg2); box-shadow: 0 0 0 1px var(--card-line); }
.entry-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.entry-body { grid-column: 1; grid-row: 1; max-width: 680px; }
.entry-body p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--mute); }
.entry-body .entry-lede { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.4; color: var(--ink); }
.entry-quote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.entry-quote p { margin: 0 0 10px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.45; color: var(--ink); }
.entry-quote .text-link { font-size: 14px; }
.entry-sec { margin-top: 48px; }
.entry-h2 { margin: 0 0 16px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.entry-h2 small { margin-left: 6px; font-family: 'DM Mono', monospace; font-weight: 400; font-size: 13px; color: var(--mute); }
.entry-sec .chips { margin: 0; }
.entry-sec .reels { justify-items: start; }
.entry-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); }
.entry-nav a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); font-weight: 700; line-height: 1.3; text-decoration: none; }
.entry-nav a:hover { border-color: var(--accent); }
.entry-nav .next { text-align: right; }
.entry-nav small { font-family: 'DM Mono', monospace; font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
#entry .logbook { margin-top: 40px; }

/* ---------- Contact page ---------- */
.brief { margin-top: 18px; padding: 20px 22px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.brief h2 { margin: 0 0 12px; font-size: 16px; font-weight: 700; }
.brief ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; counter-reset: brief; }
.brief li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; font-size: 14.5px; line-height: 1.5; color: var(--mute); counter-increment: brief; }
.brief li::before { content: counter(brief, decimal-leading-zero); font-family: 'DM Mono', monospace; font-size: 12.5px; line-height: 1.8; color: var(--accent-ink); }

/* ---------- Footer site map ---------- */
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--mute); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }

/* ---------- Book a call (book.html) ---------- */
.booking { max-width: 920px; }
.bk-steps { display: flex; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.bk-steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; }
.bk-steps span { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; }
.bk-steps .is-on { color: var(--ink); border-color: var(--accent); }
.bk-steps .is-on span { background: var(--accent); border-color: var(--accent); color: var(--ticket-ink); }
.bk-steps .is-done { color: var(--accent-ink); }
.bk-h { margin: 26px 0 14px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.bk-steps + .bk-h { margin-top: 0; }
.bk-cabins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bk-cabin, .bk-day { border: 1px solid var(--card-line); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.bk-cabin { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; text-align: left; }
.bk-cabin small { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.bk-cabin b { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 19px; }
.bk-cabin span { font-size: 14px; line-height: 1.5; color: var(--mute); }
.bk-cabin:hover, .bk-day:hover { border-color: var(--mute); }
.bk-cabin.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.bk-mnav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.bk-mnav:hover:not(:disabled) { border-color: var(--accent); }
.bk-mnav:disabled { opacity: 0.3; }
.bk-flight { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 26px; align-items: center; margin: 0 0 24px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--screen-line2); background: var(--screen); color: var(--screen-ink); }
.bk-route { display: flex; align-items: center; gap: 10px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 34px; letter-spacing: 0.04em; line-height: 1; }
.bk-route svg { width: 22px; height: 22px; fill: var(--pin-home); transform: rotate(90deg); }
.bk-flight dl { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 4px 24px; margin: 0; }
.bk-flight dt { font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--screen-mute); }
.bk-flight dd { margin: 0; font-family: 'DM Mono', monospace; font-size: 14px; }
.bk-flight p { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 12px; border-top: 1px dashed var(--screen-line2); font-size: 13.5px; line-height: 1.55; color: var(--screen-mute); }
.bk-dhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bk-dhead span { display: flex; gap: 6px; }
.bk-sub { margin: 0; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 18px; scroll-margin-top: 90px; }
.bk-sub--times { margin: 26px 0 12px; }
.bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bk-wd { padding-bottom: 2px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; color: var(--mute); }
.bk-day { display: grid; justify-items: center; gap: 1px; padding: 12px 6px; border-radius: 14px; }
.bk-day small, .bk-day span { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.bk-day b { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.1; }
.bk-day.is-on { background: var(--accent); border-color: var(--accent); color: var(--ticket-ink); }
.bk-day.is-on small, .bk-day.is-on span { color: inherit; }
.bk-days .bk-day small { display: none; } /* the weekday is in the header row */
.bk-day.is-off { border: 1px dashed var(--line); background: transparent; color: var(--mute); opacity: 0.55; cursor: default; }
.bk-day.is-off b { text-decoration: line-through; text-decoration-thickness: 2px; }
.bk-day em { font-style: normal; font-family: 'DM Mono', monospace; font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.bk-day.is-past { opacity: 0.3; }
.bk-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; border: 1px solid var(--screen-line2); background: var(--screen); color: var(--screen-ink); overflow: hidden; }
.bk-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px dashed var(--screen-line); }
.bk-row:nth-child(-n+2) { border-top: 0; }
.bk-row:nth-child(odd) { border-right: 1px dashed var(--screen-line); }
.bk-hour b { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: 0.02em; }
.bk-hour small { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--screen-mute); }
.bk-mins { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-min { display: grid; justify-items: center; gap: 1px; min-width: 72px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--screen-line2); background: transparent; color: var(--screen-ink); font: inherit; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.bk-min b { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 17px; line-height: 1.2; }
.bk-min small { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--pin-home); }
.bk-min:hover { border-color: var(--screen-mute); }
.bk-min.is-on { background: var(--accent); border-color: var(--accent); color: var(--ticket-ink); }
.bk-min.is-on small { color: inherit; }
/* steps slide sideways: forward to the left, back to the right */
.booking { overflow-x: clip; padding-inline: 8px; margin-inline: -8px; }
.bk-stage.bk-in-next { animation: bk-in-next 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.bk-stage.bk-in-back { animation: bk-in-back 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.bk-stage.bk-out-next { animation: bk-out-next 0.2s ease-in both; }
.bk-stage.bk-out-back { animation: bk-out-back 0.2s ease-in both; }
@keyframes bk-in-next { from { opacity: 0; transform: translateX(56px); } to { opacity: 1; transform: none; } }
@keyframes bk-in-back { from { opacity: 0; transform: translateX(-56px); } to { opacity: 1; transform: none; } }
@keyframes bk-out-next { to { opacity: 0; transform: translateX(-56px); } }
@keyframes bk-out-back { to { opacity: 0; transform: translateX(56px); } }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.bk-time { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--screen-line2); background: var(--screen); color: var(--screen-ink); font: inherit; text-align: left; cursor: pointer; }
.bk-time small { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--pin-home); }
.bk-time b { font-family: 'DM Mono', monospace; font-weight: 500; font-size: 20px; }
.bk-time span { font-size: 12.5px; color: var(--screen-mute); }
.bk-time:hover { border-color: var(--screen-mute); }
.bk-time.is-on { box-shadow: 0 0 0 2px var(--accent); border-color: transparent; }
.bk-note { margin: 12px 0; font-size: 14px; line-height: 1.55; color: var(--mute); }
.bk-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.bk-back { border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; }
.ticket:disabled { opacity: 0.45; cursor: not-allowed; filter: none; transform: none; }
.bpass { --perf: 190px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) var(--perf); max-width: 860px; border-radius: 18px; background: #F7F2E6; color: #13301F;
  box-shadow: 0 30px 50px -24px rgba(0,0,0,0.6), 0 2px 0 rgba(0,0,0,0.05);
  -webkit-mask: radial-gradient(circle 13px at calc(100% - var(--perf)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at calc(100% - var(--perf)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 13px at calc(100% - var(--perf)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at calc(100% - var(--perf)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat; }
.bpass-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px; background: #1C3F2E; color: #F3EBDC; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.bpass-main .bpass-head { border-top-left-radius: 18px; }
.bpass-stub .bpass-head { border-top-right-radius: 18px; justify-content: center; }
.bp-brand { display: inline-flex; align-items: center; gap: 8px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0; text-transform: none; color: #F3EBDC; }
.bp-brand b { color: #C8D96E; }
.bp-brand svg { width: 16px; height: 16px; fill: #C8D96E; transform: rotate(45deg); }
.bpass-body { padding: 18px 24px 16px; }
.bp-route { display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 16px; }
.bp-city small, .bp-grid dt, .bp-stubbody dt, .bp-seat small { display: block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #6A7B6E; }
.bp-city b { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 46px; line-height: 0.95; letter-spacing: 0.02em; color: #13301F; }
.bp-city span { display: block; max-width: 16ch; font-size: 12.5px; color: #4F6454; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-city--to { text-align: right; }
.bp-city--to span { margin-left: auto; }
.bp-path { position: relative; height: 40px; }
.bp-path svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #8A9A7E; stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; vector-effect: non-scaling-stroke; } /* broken in the middle, where the plane sits */
.bp-path path, .foot-island path, .foot-island circle { vector-effect: non-scaling-stroke; }
.bp-jet { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; fill: #5A6810; transform: rotate(90deg); }
.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin: 0; padding: 14px 0; border-top: 1px dashed #CFC8B4; border-bottom: 1px dashed #CFC8B4; }
.bp-grid dd, .bp-stubbody dd { margin: 3px 0 0; font-weight: 700; font-size: 15px; line-height: 1.25; color: #13301F; }
.bp-grid dd small { display: block; font-weight: 400; font-size: 12px; color: #4F6454; }
.bp-foot { display: flex; align-items: center; gap: 16px; padding-top: 14px; font-size: 12.5px; color: #4F6454; }
.bp-barcode { flex: 0 0 auto; width: 180px; height: 40px; fill: #13301F; }
.bpass-stub { display: flex; flex-direction: column; border-left: 2px dashed #CFC8B4; }
.bp-stubbody { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 18px; }
.bp-stubbody dl { display: grid; gap: 10px; margin: 0; }
.bp-stubbody dd { overflow-wrap: anywhere; }
.bp-seat b { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 54px; line-height: 0.9; color: #13301F; }
.bp-barcode--v { width: 100%; height: 34px; margin-top: auto; }
.bp-stamp { position: absolute; right: calc(var(--perf) + 26px); top: 44%; padding: 8px 16px; border: 3px solid #5A6810; border-radius: 10px; color: #5A6810; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 30px; letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(-12deg); opacity: 0.85; mix-blend-mode: multiply; pointer-events: none; }
.call-card { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 8px; padding: 16px 18px; border-radius: 14px; background: var(--card-hi-bg); color: var(--card-hi-ink); text-decoration: none; transition: transform 0.15s ease; }
.call-card:hover { transform: translateY(-2px); }
.call-card svg { flex-shrink: 0; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.call-card span { font-size: 14px; line-height: 1.5; color: var(--card-hi-mute); }
.call-card b { display: block; font-size: 16px; color: var(--card-hi-ink); }

/* ---------- Motion: scroll reveals, twinkling sky, cursor glow ---------- */
/* every page load, refresh and link click: the page drifts in; leaving fades it out */
.js main, .js .site-foot { animation: page-in 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.js .site-foot { animation-delay: 0.12s; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.js.is-leaving main, .js.is-leaving .site-foot { opacity: 0; transition: opacity 0.32s ease; }
.js .rv { opacity: 0; translate: 0 20px; transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--rv-delay, 0ms), translate 1s cubic-bezier(0.22, 0.61, 0.36, 1) var(--rv-delay, 0ms); }
.js .rv.is-in { opacity: 1; translate: 0 0; }
@media (max-width: 720px), (hover: none) {
  /* phones: fades only (no sliding layers), short, and nothing that repaints while scrolling */
  .js .rv { translate: none; transition: opacity 0.5s ease; }
  .js main, .js .site-foot { animation-name: page-in-soft; animation-duration: 0.8s; }
  .site-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); } /* blur over playing video flickers on iPhone */
  .sky i { animation-name: twinkle-soft; }
  .sky i:nth-child(2n) { display: none; }
}
@keyframes page-in-soft { from { opacity: 0; } to { opacity: 1; } }
@keyframes twinkle-soft { 0%, 100% { opacity: calc(var(--hi) * 0.2); } 50% { opacity: var(--hi); } }
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky i { position: absolute; width: var(--sz); height: var(--sz); border-radius: 50%; background: var(--star-c); opacity: calc(var(--hi) * 0.4); animation: twinkle var(--dur) ease-in-out var(--delay) infinite; }
.sky i.big { box-shadow: 0 0 6px 1px var(--star-c); }
@keyframes twinkle { 0%, 100% { opacity: calc(var(--hi) * 0.2); transform: scale(0.8); } 50% { opacity: var(--hi); transform: scale(1.2); } }
:root[data-mode="day"] .sky i { width: calc(var(--sz) * 4); height: calc(var(--sz) * 4); border-radius: 0; box-shadow: none; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
:root[data-mode="day"] .sky i { --hi: 0.45; }
.cursor-glow { position: fixed; left: -190px; top: -190px; z-index: -1; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.cursor-glow.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 28 28'%3E%3Cpath d='M2 2 26.5 11.5 15 15 11.5 26.5Z' fill='%23F3F4E6' stroke='%230B1A13' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M2 2 15 15' stroke='%230B1A13' stroke-width='1.3'/%3E%3C/svg%3E") 1 1, auto; }
  a, button, label, select, summary, [role="button"], [role="tab"], [role="radio"], .reel-screen, .cb-shade, .pin, .stop { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 28 28'%3E%3Cpath d='M2 2 26.5 11.5 15 15 11.5 26.5Z' fill='%23C8D96E' stroke='%230B1A13' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M2 2 15 15' stroke='%230B1A13' stroke-width='1.3'/%3E%3C/svg%3E") 1 1, pointer; }
  input, textarea { cursor: text; }
  button:disabled { cursor: not-allowed; }
}

/* ---------- Footer island (line drawing on the footer's top line) ---------- */
.foot-island { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: -1px; pointer-events: none; }
.foot-island svg { display: block; width: 100%; height: auto; aspect-ratio: 8 / 1; max-height: 190px; /* whole scene at every width */ fill: none; stroke: var(--island); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scr-map .ping, .flap.is-flipping { animation: none; }
  .cb-shade, .ticket, body, .stamp, .log-card, .stamp-art, .reel-cap { transition: none; }
  .js main, .js .site-foot { animation: none; }
  .js.is-leaving main, .js.is-leaving .site-foot { opacity: 1; transition: none; }
  .sky i { animation: none; }
  .cb-window.is-hinting .cb-shade { animation: none; }
  .bk-stage { animation: none !important; }
  .scr-map .route { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .screen { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .scr-side--l { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--screen-line); flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .scr-side--l .scr-stats { flex: 1 1 420px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .g:nth-child(3) { border-right: 0; margin-right: 0; }
  .about { grid-template-columns: 1fr; }
  .passport { max-width: 620px; }
  .makes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stamps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .logbook { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .process li:nth-child(2)::before { display: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links .nav-menu-cta { display: flex; align-items: center; gap: 10px; color: var(--accent-ink); font-weight: 700; }
  .nav-menu-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .screen { grid-template-columns: 1fr; }
  .scr-side--log { border-left: 0; border-top: 1px solid var(--screen-line); }
  .stoplist { max-height: 300px; }
  .classes, .guides { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding: 22px; }
  .review { grid-template-columns: 1fr; }
  .review-stub { border-left: 0; border-top: 2px dashed var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 30px 26px; }
  .rates { grid-template-columns: 1fr; }
  .rates-stub { border-left: 0; border-top: 2px dashed var(--card-hi-mute); }
  .inclusions { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .stamps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .reels--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  /* phones: name first, then the window, then the rest of the hero */
  .hero { gap: 0; padding-top: 22px; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow, .hero-captain, .hero-name { order: -1; }
  .hero-name { margin-bottom: 18px; }
  .win-wrap { order: 0; margin-bottom: 26px; }
  .hero-copy > :not(.eyebrow):not(.hero-captain):not(.hero-name) { order: 1; }
  .cb-window { width: min(86%, 340px); }
  .sec { margin-top: 80px; }
  .brd-logo { width: 28px; height: 28px; font-size: 12px; }
  .brd-logo--contain img { padding: 4px; }
  .c-dest { gap: 8px; }
  .passport-page { padding: 24px 14px 20px; }
  .bk-cabins { grid-template-columns: 1fr; }
  .bk-flight { grid-template-columns: 1fr; padding: 16px 18px; }
  .bk-flight p { display: none; }
  .bk-flight dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
  .bk-days { gap: 4px; }
  .bk-day { padding: 8px 2px; border-radius: 10px; }
  .bk-day b { font-size: 22px; }
  .bk-day span, .bk-day em { font-size: 8.5px; letter-spacing: 0.02em; }
  .bk-day em { white-space: normal; text-align: center; line-height: 1.15; }
  .bk-board { grid-template-columns: 1fr; }
  .bk-row { grid-template-columns: 62px minmax(0, 1fr); gap: 8px; padding: 10px 12px; border-right: 0 !important; }
  .bk-row:nth-child(2) { border-top: 1px dashed var(--screen-line); }
  .bk-hour b { font-size: 21px; }
  .bk-hour small { display: block; font-size: 9.5px; line-height: 1.3; }
  .bk-mins { flex-wrap: nowrap; gap: 6px; }
  .bk-min { min-width: 0; flex: 1 1 0; padding: 6px 2px; border-radius: 10px; }
  .bk-min b { font-size: 15px; }
  .bk-min small { font-size: 9px; letter-spacing: 0.04em; }
  .bk-steps li { justify-content: center; padding: 8px; font-size: 0; gap: 0; }
  .bk-steps li span { font-size: 11px; }
  .bk-steps li.is-on { flex: 3; font-size: 10.5px; gap: 6px; }
  .bpass { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .bpass-main .bpass-head { border-top-right-radius: 18px; }
  .bpass-stub { border-left: 0; border-top: 2px dashed #CFC8B4; }
  .bpass-stub .bpass-head { display: none; }
  .bp-stubbody { flex-direction: row; align-items: center; }
  .bp-stubbody dl { grid-template-columns: repeat(2, auto); column-gap: 18px; }
  .bp-barcode--v { width: 90px; margin: 0 0 0 auto; }
  .bp-city b { font-size: 38px; }
  .bp-barcode { width: 120px; }
  .bp-stamp { right: 18px; top: 36%; font-size: 24px; }
  .site-foot { margin-top: 150px; }
  .scr-side--l .scr-stats { grid-template-columns: 1fr 1fr; }
  .brd-cols { display: none; }
  .brd-row { grid-template-columns: max-content max-content minmax(0, 1fr); grid-template-areas: "dest gate status" "for for for"; column-gap: 10px; row-gap: 8px; padding-left: 10px; }
  .brd-row .c-status { justify-self: end; }
  .flaps--board { --fs: 13px; }
  .c-dest { grid-area: dest; } .c-for { grid-area: for; } .c-gate { grid-area: gate; } .c-status { grid-area: status; }
  .board { padding: 18px 14px 14px; }
  .groups { grid-template-columns: 1fr; }
  .g { padding: 16px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .g:last-child { border-bottom: 0; }
  .passport-fields { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .guide-step { grid-template-columns: 1fr; gap: 6px; }
  .guide-step-num { font-size: 26px; }
  .page-head { padding-top: 36px; }
  .makes { grid-template-columns: 1fr; }
  .logbook { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process li::before { display: none; }
  .stamps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .filter-group { grid-template-columns: 1fr; gap: 8px; }
  .filters { padding: 16px; }
  select { min-width: 0; width: 100%; }
  .select-field { flex: 1 1 140px; }
  .filter-clear { margin-left: 0; }
  .incl-card { padding: 22px; }
  .entry-pass { gap: 12px 16px; padding: 14px 16px; }
  .pass-cell { padding-left: 16px; }
  .entry-nav { grid-template-columns: 1fr; }
  .entry-main--cover { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .entry-cover { grid-column: 1; position: static; aspect-ratio: 4 / 5; max-height: 70vh; width: 100%; }
  .entry-body { grid-row: 2; }
  .entry-nav .next { text-align: left; }
  .cta-links { justify-items: stretch; }
}
@media (max-width: 480px) {
  .reels--home { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .wrap, .container { padding-left: 16px; padding-right: 16px; }
  .icon-btn, .mode-btn, .menu-btn { width: 38px; height: 38px; }
  .nav-actions { gap: 6px; }
  .wordmark { font-size: 20px; }
  .ticket { padding: 15px 60px 15px 24px; font-size: 12px; letter-spacing: 0.12em; }
  .ticket::after { right: 46px; }
  .ticket svg { right: 18px; }
}
