/* ==========================================================================
   Linksinbio — main stylesheet (linksinbio.click)
   Niche: city guides for travellers + free "Travellers' Club" membership
   Theme: "Night Departures" — night navy, departure-board yellow,
          airmail red/blue, paper cream.
   Every class is prefixed "lb-" so nothing clashes with admin/Bootstrap CSS.

   01 Tokens                  13 Passport stamps (why)
   02 Base                    14 Airmail FAQ
   03 Utilities               15 Window-seat CTA
   04 Motion helpers          16 Footer + world clocks
   05 Logo                    17 Auth pages (login / signup)
   06 Nav + mobile drawer     18 Legal pages (privacy / terms)
   07 Buttons                 19 Error page
   08 Split-flap tiles        20 Alias profile page (/new/<alias>)
   09 Hero + departures board 21 Compass cursor
   10 Route map (metro)       22 Responsive
   11 City poster accordion   23 Reduced motion
   12 "A day in" tram timeline
   ========================================================================== */

/* ---------- 01 Tokens ---------- */
:root {
  --lb-night: #0B1120;
  --lb-night-2: #101830;
  --lb-panel: #151F3A;
  --lb-panel-2: #1C2848;
  --lb-paper: #F2EBDC;
  --lb-paper-2: #E4D9C3;
  --lb-ink: #0B1120;
  --lb-text: #EDE7DA;
  --lb-muted: #98A0B8;
  --lb-dim: #626B86;
  --lb-yellow: #FFC531;
  --lb-yellow-2: #F2A900;
  --lb-red: #E8442E;
  --lb-blue: #3D6BE0;
  --lb-teal: #26B3A0;
  --lb-plum: #A970E0;
  --lb-line: rgba(237, 231, 218, .10);
  --lb-line-2: rgba(237, 231, 218, .18);

  --lb-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --lb-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --lb-mono: 'Red Hat Mono', ui-monospace, Consolas, monospace;

  --lb-radius: 18px;
  --lb-radius-sm: 10px;
  --lb-wrap: 1240px;
  --lb-gutter: clamp(16px, 4vw, 40px);
  --lb-ease: cubic-bezier(.22, 1, .36, 1);
  --lb-nav-h: 72px;
}

/* ---------- 02 Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--lb-nav-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--lb-night);
  color: var(--lb-text);
  font-family: var(--lb-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint star field behind every page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(1px 1px at 68% 9%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 84% 32%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1px 1px at 33% 52%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1px 1px at 52% 78%, rgba(255, 255, 255, .25), transparent 60%),
    radial-gradient(1.5px 1.5px at 6% 70%, rgba(255, 255, 255, .3), transparent 60%),
    radial-gradient(1200px 600px at 50% -10%, rgba(61, 107, 224, .16), transparent 70%),
    var(--lb-night);
}

img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lb-yellow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lb-yellow); color: var(--lb-ink); }

/* ---------- 03 Utilities ---------- */
.lb-wrap { width: 100%; max-width: var(--lb-wrap); margin: 0 auto; padding: 0 var(--lb-gutter); }
.lb-mono { font-family: var(--lb-mono); }
.lb-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lb-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--lb-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lb-yellow); margin: 0 0 18px;
}
.lb-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lb-display {
  font-family: var(--lb-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: .01em; line-height: .92;
}
.lb-display em { font-style: normal; color: var(--lb-yellow); }
.lb-h2 { font-size: clamp(44px, 6.4vw, 92px); }
.lb-lead { color: var(--lb-muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 560px; }
.lb-section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.lb-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 70px); }
.lb-head .lb-lead { margin: 0; justify-self: end; }

/* Bootstrap bits the auth forms rely on (Bootstrap CSS is not loaded) */
.d-none { display: none !important; }
.alert { padding: 12px 16px; border-radius: var(--lb-radius-sm); font-size: 15px; margin: 4px 0 14px; border: 1px solid; }
.alert-danger { background: rgba(232, 68, 46, .12); border-color: rgba(232, 68, 46, .45); color: #FFB4A8; }
.alert-success { background: rgba(38, 179, 160, .12); border-color: rgba(38, 179, 160, .45); color: #9DEBDD; }

/* ---------- 04 Motion helpers ----------
   html.lb-anim is added by an inline script in <head>; without JS nothing is hidden. */
.lb-anim [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--lb-ease), transform .9s var(--lb-ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * 90ms);
}
.lb-anim [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 05 Logo ---------- */
.lb-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lb-text); }
.lb-logo__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--lb-yellow); color: var(--lb-ink);
  transition: transform .5s var(--lb-ease);
}
.lb-logo__mark svg { width: 20px; height: 20px; }
.lb-logo:hover .lb-logo__mark { transform: rotate(-12deg) translateY(-2px); }
.lb-logo__word { font-family: var(--lb-display); font-weight: 800; font-size: 25px; letter-spacing: .02em; text-transform: uppercase; }
.lb-logo__word em { font-style: normal; color: var(--lb-yellow); }
.lb-logo__tld { font-family: var(--lb-mono); font-size: 12px; color: var(--lb-muted); margin-left: -6px; align-self: flex-end; padding-bottom: 5px; }

/* ---------- 06 Nav + mobile drawer ---------- */
.lb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--lb-nav-h);
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.lb-nav.is-scrolled {
  background: rgba(11, 17, 32, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--lb-line);
}
.lb-nav__inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--lb-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.lb-nav__links { display: flex; gap: 30px; }
.lb-nav__links a {
  position: relative; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--lb-muted);
  padding: 6px 0; transition: color .3s ease;
}
/* dashed "route" underline that draws in */
.lb-nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--lb-yellow) 0 6px, transparent 6px 10px);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--lb-ease);
}
.lb-nav__links a:hover { color: var(--lb-text); }
.lb-nav__links a:hover::after { transform: scaleX(1); }
.lb-nav__actions { display: flex; align-items: center; gap: 18px; }
.lb-nav__login { text-decoration: none; font-size: 15px; font-weight: 600; }
.lb-nav__login:hover { color: var(--lb-yellow); }

.lb-burger {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--lb-line-2);
  background: transparent; cursor: pointer; position: relative;
}
.lb-burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--lb-text); border-radius: 2px;
  transition: transform .4s var(--lb-ease);
}
.lb-burger span:first-child { top: 17px; }
.lb-burger span:last-child { top: 25px; }
.lb-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.lb-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.lb-drawer {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--lb-nav-h) + 24px) var(--lb-gutter) 32px;
  background: var(--lb-night-2);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s ease, transform .4s var(--lb-ease), visibility .4s;
}
.lb-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.lb-drawer__links { display: flex; flex-direction: column; }
.lb-drawer__links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px dashed var(--lb-line-2); text-decoration: none;
  font-family: var(--lb-display); font-weight: 800; text-transform: uppercase; font-size: 36px;
}
.lb-drawer__links a i { font-size: 22px; color: var(--lb-yellow); }
body.lb-locked { overflow: hidden; }

/* ---------- 07 Buttons ---------- */
.lb-btn {
  --bg: var(--lb-text); --fg: var(--lb-ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 10px 10px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none; white-space: nowrap;
  font-family: var(--lb-sans); font-weight: 700; font-size: 15px; line-height: 1.2;
  transition: background .35s ease, color .35s ease, transform .35s var(--lb-ease);
}
.lb-btn--primary { --bg: var(--lb-yellow); --fg: var(--lb-ink); }
.lb-btn--primary:hover { --bg: #FFD55E; }
.lb-btn--ghost { --bg: transparent; --fg: var(--lb-text); box-shadow: inset 0 0 0 1.5px var(--lb-line-2); }
.lb-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lb-yellow); }
.lb-btn--red { --bg: var(--lb-red); --fg: #fff; }
.lb-btn--block { width: 100%; }
.lb-btn[disabled] { opacity: .7; cursor: wait; }
/* icon "takes off": flies up-right, then lands again from bottom-left */
.lb-btn__icon {
  position: relative; overflow: hidden; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--fg); color: var(--bg); flex: none;
}
.lb-btn--ghost .lb-btn__icon { background: var(--lb-yellow); color: var(--lb-ink); }
.lb-btn__icon i { display: block; transition: transform .45s var(--lb-ease); }
.lb-btn:hover .lb-btn__icon i { animation: lb-takeoff .6s var(--lb-ease); }
@keyframes lb-takeoff {
  0% { transform: none; }
  45% { transform: translate(140%, -140%); }
  46% { transform: translate(-140%, 140%); }
  100% { transform: none; }
}

/* ---------- 08 Split-flap tiles ---------- */
.lb-flap { display: inline-flex; gap: .08em; }
.lb-flap__ch {
  position: relative; display: inline-grid; place-items: center;
  width: .78em; height: 1.08em; border-radius: .08em;
  background: linear-gradient(180deg, #1A2443 0 49.4%, #121A33 50.6% 100%);
  color: var(--lb-yellow); line-height: 1; overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .5), 0 .05em .12em rgba(0, 0, 0, .45);
}
.lb-flap__ch::after { /* hinge line */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .6);
}
.lb-flap__ch.is-blank { color: transparent; opacity: .45; }
/* flipping top half (transform only) */
.lb-flap__ch::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%;
  background: rgba(255, 255, 255, .06); transform-origin: bottom; transform: scaleY(0);
}
.lb-flap__ch.is-flip::before { animation: lb-flip .09s linear; }
@keyframes lb-flip { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* ---------- 09 Hero + departures board ---------- */
.lb-hero {
  position: relative; padding: calc(var(--lb-nav-h) + clamp(36px, 6vw, 70px)) 0 clamp(70px, 9vw, 120px);
  overflow: hidden;
}
.lb-hero__horizon { /* warm city glow on the horizon */
  position: absolute; left: -10%; right: -10%; bottom: -260px; height: 520px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 197, 49, .16), rgba(232, 68, 46, .08) 45%, transparent 70%);
}
.lb-hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  font-family: var(--lb-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-muted);
  padding-bottom: 18px; border-bottom: 1px dashed var(--lb-line-2); margin-bottom: clamp(26px, 4vw, 44px);
}
.lb-hero__meta b { color: var(--lb-yellow); font-weight: 600; }
.lb-hero__meta .lb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lb-teal); box-shadow: 0 0 0 4px rgba(38, 179, 160, .2); display: inline-block; margin-right: 8px; vertical-align: 1px; }
.lb-hero__title {
  font-family: var(--lb-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 11.5vw, 178px); line-height: .9; letter-spacing: .005em; margin: 0;
}
.lb-hero__title-line { display: block; }
.lb-hero__flap { font-size: clamp(40px, 9.4vw, 146px); margin-top: .12em; }
.lb-hero__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end;
  margin-top: clamp(26px, 4vw, 44px);
}
.lb-hero__row .lb-lead { margin: 0; max-width: 620px; }
.lb-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.lb-board {
  margin-top: clamp(40px, 6vw, 72px); border-radius: var(--lb-radius);
  background: linear-gradient(180deg, #0F1730, #0C1428);
  border: 1px solid var(--lb-line); padding: 10px clamp(10px, 2vw, 22px) 14px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.lb-board__title {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 6px 14px; font-family: var(--lb-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lb-muted);
}
.lb-board__title b { color: var(--lb-text); font-weight: 600; display: inline-flex; gap: 10px; align-items: center; }
.lb-board__title i { color: var(--lb-yellow); font-size: 16px; }
.lb-board__head,
.lb-board__row {
  display: grid; grid-template-columns: 80px minmax(0, 1.3fr) minmax(0, 2fr) 70px 130px; gap: 16px; align-items: center;
  padding: 12px 6px;
}
.lb-board__head {
  font-family: var(--lb-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lb-dim);
  border-bottom: 1px solid var(--lb-line); padding-top: 0;
}
.lb-board__row {
  text-decoration: none; border-bottom: 1px dashed var(--lb-line); border-radius: 8px;
  transition: background .3s ease;
}
.lb-board__row:last-child { border-bottom: 0; }
.lb-board__row:hover { background: rgba(255, 197, 49, .06); }
.lb-board__time { font-family: var(--lb-mono); font-weight: 600; color: var(--lb-yellow); font-size: 18px; }
.lb-board__dest { font-family: var(--lb-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .02em; }
.lb-board__dest .lb-flap { gap: 3px; }
.lb-board__dest .lb-flap__ch { color: var(--lb-text); }
.lb-board__guide { color: var(--lb-muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-board__gate { font-family: var(--lb-mono); font-size: 15px; }
.lb-status {
  justify-self: start; font-family: var(--lb-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; background: rgba(38, 179, 160, .14); color: #7FE3D3;
}
.lb-status--boarding { background: rgba(255, 197, 49, .16); color: var(--lb-yellow); animation: lb-blink 1.6s steps(2, start) infinite; }
.lb-status--new { background: rgba(232, 68, 46, .16); color: #FF9C8C; }
@keyframes lb-blink { to { opacity: .35; } }

/* ---------- 10 Route map (metro) ---------- */
.lb-map { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: stretch; }
.lb-map__canvas {
  position: relative; border-radius: var(--lb-radius); border: 1px solid var(--lb-line);
  background:
    linear-gradient(var(--lb-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--lb-line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--lb-night-2);
  overflow: hidden;
}
.lb-map__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lb-map__svg { display: block; width: 100%; height: auto; min-width: 680px; }
.lb-map__line { fill: none; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.lb-map__line--red { stroke: var(--lb-red); }
.lb-map__line--teal { stroke: var(--lb-teal); }
.lb-map__line--plum { stroke: var(--lb-plum); }
.lb-map__line--air { stroke: var(--lb-yellow); stroke-width: 3; stroke-dasharray: 2 12; }
.lb-map__train { fill: #fff; }
.lb-station { cursor: pointer; outline: none; pointer-events: bounding-box; /* whole label area is clickable */ }
.lb-station circle { fill: var(--lb-night); stroke: #fff; stroke-width: 5; transition: transform .35s var(--lb-ease); transform-box: fill-box; transform-origin: center; }
.lb-station--hub circle { stroke-width: 6; }
.lb-station text { fill: var(--lb-text); font-family: var(--lb-sans); font-weight: 700; font-size: 19px; transition: fill .3s ease; }
.lb-station:hover circle,
.lb-station:focus-visible circle,
.lb-station.is-active circle { transform: scale(1.35); fill: var(--lb-yellow); }
.lb-station:hover text,
.lb-station:focus-visible text,
.lb-station.is-active text { fill: var(--lb-yellow); }
.lb-map__legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px; border-top: 1px solid var(--lb-line);
  font-family: var(--lb-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--lb-muted);
}
.lb-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lb-map__legend i { width: 22px; height: 6px; border-radius: 3px; display: inline-block; }
.lb-map__hint { display: none; }

.lb-ticket { /* station info card */
  position: relative; border-radius: var(--lb-radius); background: var(--lb-paper); color: var(--lb-ink);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.lb-ticket p { margin: 0; }
.lb-ticket__line { font-family: var(--lb-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.lb-ticket__line i { width: 12px; height: 12px; border-radius: 50%; background: var(--lb-red); display: inline-block; }
.lb-ticket__city { font-family: var(--lb-display); font-weight: 900; text-transform: uppercase; font-size: 56px; line-height: .9; }
.lb-ticket__country { color: #5B6074; font-weight: 600; margin: -6px 0 0; }
.lb-ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 15px; }
.lb-ticket dt { font-family: var(--lb-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #6E7286; padding-top: 3px; }
.lb-ticket dd { margin: 0; font-weight: 600; }
.lb-ticket__tip { margin: 0; padding-top: 14px; border-top: 2px dashed rgba(11, 17, 32, .2); font-size: 15.5px; }
.lb-ticket__tip b { font-family: var(--lb-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; display: block; color: var(--lb-red); }
.lb-ticket.is-swap { animation: lb-swap .5s var(--lb-ease); }
@keyframes lb-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 11 City poster accordion ---------- */
.lb-acc { display: flex; gap: 12px; height: 560px; }
.lb-acc__panel {
  --sky1: #1D3A8A; --sky2: #F08A5D; --sun: #FFD27A; --land: #0E1A3A; --land2: #22305C;
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--lb-radius); overflow: hidden;
  background:
    radial-gradient(circle at 72% 26%, var(--sun) 0 10%, transparent 10.4%),
    radial-gradient(120% 60% at 20% 108%, var(--land) 0 50%, transparent 50.5%),
    radial-gradient(110% 55% at 90% 112%, var(--land2) 0 52%, transparent 52.5%),
    linear-gradient(180deg, var(--sky1), var(--sky2));
  transition: flex-grow .7s var(--lb-ease);
}
.lb-acc__panel.is-open { flex-grow: 4.2; }
.lb-acc__panel--lisbon { --sky1: #2A3F9B; --sky2: #F6A26B; --sun: #FFE08A; --land: #B9472E; --land2: #7A2A22; }
.lb-acc__panel--kyoto { --sky1: #3B2A6B; --sky2: #F2A7B8; --sun: #FFF1E0; --land: #2A2348; --land2: #4C2F5E; }
.lb-acc__panel--oaxaca { --sky1: #0F6E73; --sky2: #F2C14E; --sun: #FF7F3F; --land: #8C2F39; --land2: #5A1E2A; }
.lb-acc__panel--marrakech { --sky1: #1B2556; --sky2: #D9653B; --sun: #F7D9A2; --land: #A8432A; --land2: #6E2B1F; }
.lb-acc__panel--reykjavik { --sky1: #08243A; --sky2: #2F8F8A; --sun: #CFF6EA; --land: #1A2E3C; --land2: #2E4A5A; }
.lb-acc__panel--istanbul { --sky1: #232C68; --sky2: #E2894E; --sun: #FFD9A0; --land: #1E2A55; --land2: #3B2A55; }
.lb-acc__panel::after { /* readability shade */
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(8, 12, 26, .78));
  pointer-events: none;
}
.lb-acc__tab {
  position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: transparent; cursor: pointer; padding: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: 22px 0;
}
.lb-acc__no { font-family: var(--lb-mono); font-size: 13px; letter-spacing: .1em; color: rgba(255, 255, 255, .8); }
.lb-acc__name {
  font-family: var(--lb-display); font-weight: 900; text-transform: uppercase; font-size: 34px; letter-spacing: .04em;
  writing-mode: vertical-rl; transform: rotate(180deg); color: #fff;
  transition: opacity .3s ease;
}
.lb-acc__panel.is-open .lb-acc__tab { pointer-events: none; }
.lb-acc__panel.is-open .lb-acc__name,
.lb-acc__panel.is-open .lb-acc__no { opacity: 0; }
.lb-acc__icon { position: absolute; top: 20px; right: 22px; z-index: 1; font-size: 30px; color: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .4s ease; }
.lb-acc__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 30px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .45s ease, transform .6s var(--lb-ease);
  width: min(100%, 620px);
}
.lb-acc__panel.is-open .lb-acc__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.lb-acc__panel.is-open .lb-acc__icon { opacity: 1; }
.lb-acc__meta { font-family: var(--lb-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-yellow); margin: 0 0 8px; }
.lb-acc__body h3 { font-family: var(--lb-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 4.6vw, 66px); line-height: .9; color: #fff; margin-bottom: 14px; }
.lb-acc__body ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; color: rgba(255, 255, 255, .9); font-size: 15.5px; }
.lb-acc__body li { display: flex; gap: 10px; }
.lb-acc__body li i { color: var(--lb-yellow); }
.lb-acc__foot { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600; color: #fff;
}

/* ---------- 12 "A day in" tram timeline ---------- */
.lb-day { position: relative; max-width: 1040px; margin: 0 auto; }
.lb-day__track { /* two rails + sleepers */
  position: absolute; top: 0; bottom: 0; left: 50%; width: 22px; transform: translateX(-50%);
  background:
    linear-gradient(90deg, transparent 3px, var(--lb-line-2) 3px 5px, transparent 5px 17px, var(--lb-line-2) 17px 19px, transparent 19px),
    repeating-linear-gradient(180deg, rgba(237, 231, 218, .1) 0 3px, transparent 3px 16px);
}
.lb-day__tram {
  position: absolute; left: 50%; top: 0; width: 46px; height: 46px; margin-left: -23px; border-radius: 12px;
  display: grid; place-items: center; background: var(--lb-yellow); color: var(--lb-ink); font-size: 22px; z-index: 2;
  box-shadow: 0 0 0 6px rgba(255, 197, 49, .18), 0 10px 30px rgba(0, 0, 0, .4);
  will-change: transform;
}
.lb-day__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 5vw, 56px); }
.lb-stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.lb-stop:nth-child(even) .lb-tag { grid-column: 2; }
.lb-stop::before { /* station dot on the track */
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--lb-night); border: 3px solid var(--lb-yellow); z-index: 1;
}
.lb-tag { /* luggage-tag card */
  position: relative; background: var(--lb-paper); color: var(--lb-ink); border-radius: 14px 14px 14px 14px;
  padding: 22px 24px 22px 54px;
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px), 0 26px);
  transition: transform .5s var(--lb-ease);
}
.lb-tag::before { /* eyelet hole */
  content: ""; position: absolute; left: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%;
  background: var(--lb-night); box-shadow: 0 0 0 3px var(--lb-paper-2);
}
.lb-tag:hover { transform: rotate(-1.2deg) translateY(-3px); }
.lb-tag__time { font-family: var(--lb-mono); font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--lb-red); }
.lb-tag h3 { font-family: var(--lb-display); font-weight: 800; text-transform: uppercase; font-size: 30px; margin: 4px 0 8px; }
.lb-tag p { margin: 0; color: #3E4459; font-size: 15.5px; }
.lb-tag__where { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--lb-blue); }

/* ---------- 13 Passport stamps (why) ---------- */
.lb-passport {
  position: relative; border-radius: 22px; padding: clamp(30px, 5vw, 60px);
  background:
    repeating-radial-gradient(circle at 50% 120%, rgba(61, 107, 224, .07) 0 2px, transparent 2px 14px),
    var(--lb-paper);
  color: var(--lb-ink); overflow: hidden;
}
.lb-passport__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 30px;
  border-bottom: 2px dashed rgba(11, 17, 32, .18);
  font-family: var(--lb-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5B6074;
}
.lb-passport h2 { color: var(--lb-ink); }
.lb-passport h2 em { color: var(--lb-red); }
.lb-stamps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 40px; }
.lb-stamp {
  --c: var(--lb-red); --r: -6deg;
  position: relative; justify-self: center; width: 100%; max-width: 260px; aspect-ratio: 1.3;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 4px;
  color: var(--c); border: 3px solid currentColor; border-radius: 18px; padding: 14px;
  transform: rotate(var(--r));
  filter: url(#lbInk);
}
.lb-stamp::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed currentColor; border-radius: 12px; opacity: .7; }
.lb-stamp--round { border-radius: 50%; aspect-ratio: 1; max-width: 220px; }
.lb-stamp--round::before { border-radius: 50%; }
.lb-stamp--blue { --c: var(--lb-blue); --r: 5deg; }
.lb-stamp--teal { --c: #138A7A; --r: -3deg; }
.lb-stamp--plum { --c: #7C3FB8; --r: 7deg; }
.lb-stamp__big { font-family: var(--lb-display); font-weight: 900; font-size: 52px; line-height: .9; text-transform: uppercase; }
.lb-stamp__small { font-family: var(--lb-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.lb-stamp__note { font-size: 13.5px; color: #3E4459; margin-top: 4px; max-width: 200px; }
/* stamp "thud" when it scrolls into view */
.lb-anim .lb-stamp { opacity: 0; transform: rotate(var(--r)) scale(1.9); }
.lb-anim .lb-stamp.is-in { animation: lb-stamp .5s cubic-bezier(.3, 1.4, .5, 1) forwards; animation-delay: calc(var(--i, 0) * 160ms); }
@keyframes lb-stamp {
  0% { opacity: 0; transform: rotate(var(--r)) scale(1.9); }
  60% { opacity: 1; transform: rotate(var(--r)) scale(.94); }
  100% { opacity: 1; transform: rotate(var(--r)) scale(1); }
}

/* ---------- 14 Airmail FAQ ---------- */
.lb-faq { display: grid; gap: 16px; max-width: 900px; margin: 0 auto; }
.lb-letter {
  position: relative; border-radius: 14px; padding: 6px; /* airmail stripe frame */
  background: repeating-linear-gradient(-45deg, var(--lb-red) 0 14px, var(--lb-paper) 14px 22px, var(--lb-blue) 22px 36px, var(--lb-paper) 36px 44px);
}
.lb-letter summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding: 20px 22px; font-weight: 700; font-size: clamp(17px, 1.6vw, 20px);
  background: var(--lb-paper); color: var(--lb-ink); border-radius: 9px;
}
.lb-letter[open] summary { border-radius: 9px 9px 0 0; }
.lb-letter summary::-webkit-details-marker { display: none; }
.lb-postage { /* little perforated postage stamp with the number */
  flex: none; width: 46px; height: 54px; display: grid; place-items: center;
  background: var(--lb-night); color: var(--lb-yellow); font-family: var(--lb-display); font-weight: 900; font-size: 24px;
  border-radius: 4px; outline: 1.5px dashed rgba(255, 197, 49, .6); outline-offset: -6px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(11, 17, 32, .18);
}
.lb-letter__q { flex: 1; }
.lb-letter__toggle { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(11, 17, 32, .25); transition: transform .45s var(--lb-ease), background .3s ease; }
.lb-letter[open] .lb-letter__toggle { transform: rotate(45deg); background: var(--lb-yellow); border-color: var(--lb-yellow); }
.lb-letter__a { padding: 0 22px 22px 86px; color: #3E4459; font-size: 16px; background: var(--lb-paper); border-radius: 0 0 9px 9px; }
.lb-letter__a a { color: var(--lb-blue); font-weight: 700; }
.lb-letter__a p:last-child { margin: 0; }
.lb-letter[open] .lb-letter__a { animation: lb-swap .5s var(--lb-ease); }

/* ---------- 15 Window-seat CTA ---------- */
.lb-cta { text-align: center; }
.lb-cta__title { font-size: clamp(50px, 8vw, 120px); margin: 0 auto 18px; max-width: 12ch; }
.lb-cta p { color: var(--lb-muted); max-width: 540px; margin: 0 auto 30px; }
.lb-windows { display: flex; justify-content: center; gap: clamp(14px, 3vw, 36px); margin: 0 auto clamp(40px, 6vw, 60px); }
.lb-window {
  position: relative; width: clamp(92px, 16vw, 200px); aspect-ratio: .72; border-radius: 46% / 34%;
  padding: 10px; background: linear-gradient(160deg, #2A3557, #121A33);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
.lb-window__sky { position: relative; height: 100%; border-radius: 44% / 32%; overflow: hidden; background: linear-gradient(180deg, #4B79D8, #9CC3F2); }
.lb-window--dawn .lb-window__sky { background: linear-gradient(180deg, #3A3F87, #F49A72 70%, #FFD3A0); }
.lb-window--dusk .lb-window__sky { background: linear-gradient(180deg, #0E1638, #6A3C85 60%, #F06B4E); }
.lb-cloud {
  position: absolute; left: 0; width: 70%; height: 22%; border-radius: 999px; background: rgba(255, 255, 255, .85);
  box-shadow: 30px -12px 0 6px rgba(255, 255, 255, .85);
  animation: lb-drift 9s linear infinite;
}
.lb-cloud--2 { top: 58%; width: 55%; opacity: .7; animation-duration: 13s; animation-delay: -6s; }
.lb-cloud--1 { top: 26%; }
.lb-window--dusk .lb-cloud { background: rgba(255, 190, 170, .55); box-shadow: 30px -12px 0 6px rgba(255, 190, 170, .55); }
@keyframes lb-drift { from { transform: translateX(150%); } to { transform: translateX(-160%); } }
.lb-window__shade { position: absolute; left: 10px; right: 10px; top: 10px; height: 18%; border-radius: 44% 44% 0 0 / 60% 60% 0 0; background: #D9D3C6; opacity: .9; }

/* ---------- 16 Footer + world clocks ---------- */
.lb-footer { border-top: 1px solid var(--lb-line); padding: 60px 0 30px; position: relative; }
.lb-clocks {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px;
  padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px dashed var(--lb-line-2);
}
.lb-clock { padding: 16px 18px; border-radius: 14px; background: var(--lb-night-2); border: 1px solid var(--lb-line); }
.lb-clock small { display: block; font-family: var(--lb-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--lb-muted); }
.lb-clock b { font-family: var(--lb-display); font-weight: 800; font-size: 40px; line-height: 1.05; color: var(--lb-yellow); font-variant-numeric: tabular-nums; }
.lb-clock span { font-size: 13px; color: var(--lb-dim); }
.lb-footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.lb-footer__brand p { color: var(--lb-muted); max-width: 340px; margin: 16px 0; }
.lb-footer__mail { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lb-yellow); }
.lb-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lb-footer__cols h4 { font-family: var(--lb-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lb-dim); margin-bottom: 14px; font-weight: 500; }
.lb-footer__cols a { display: block; text-decoration: none; padding: 5px 0; color: var(--lb-text); }
.lb-footer__cols a:hover, .lb-footer__links a:hover { color: var(--lb-yellow); }
.lb-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center;
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--lb-line); font-size: 14px; color: var(--lb-muted);
}
.lb-footer__bottom a { text-decoration: none; }
.lb-footer--mini { padding: 0 0 26px; border-top: 0; }
.lb-footer--mini .lb-footer__bottom { margin-top: 0; }
.lb-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- 17 Auth pages (login / signup) ---------- */
.lb-auth {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--lb-nav-h) + 30px) var(--lb-gutter) 60px; overflow: hidden;
}
.lb-auth__plane { /* blinking plane light crossing the sky */
  position: absolute; top: 22%; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #FF6B5A;
  box-shadow: 0 0 10px 2px rgba(255, 107, 90, .8);
  animation: lb-fly 26s linear infinite, lb-blink 1.2s steps(2, start) infinite;
}
@keyframes lb-fly { from { transform: translate(-5vw, 6vh); } to { transform: translate(105vw, -4vh); } }
.lb-auth__horizon {
  position: absolute; left: -10%; right: -10%; bottom: -300px; height: 520px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 197, 49, .14), rgba(232, 68, 46, .07) 45%, transparent 70%);
}
.lb-pass { /* passport data page */
  position: relative; width: min(100%, 520px); border-radius: 22px; overflow: hidden;
  background: var(--lb-paper); color: var(--lb-ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.lb-pass__cover {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 26px;
  background: var(--lb-night-2); color: var(--lb-text); border-bottom: 4px solid var(--lb-yellow);
  font-family: var(--lb-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
}
.lb-pass__cover i { color: var(--lb-yellow); font-size: 18px; }
.lb-pass__body {
  padding: 30px 30px 26px;
  background: repeating-radial-gradient(circle at 100% 0%, rgba(61, 107, 224, .06) 0 2px, transparent 2px 13px);
}
.lb-pass__body .lb-kicker { color: var(--lb-red); }
.lb-pass h1 { font-size: clamp(48px, 8vw, 64px); color: var(--lb-ink); margin-bottom: 10px; }
.lb-pass h1 em { color: var(--lb-blue); }
.lb-pass__sub { color: #4A5066; margin-bottom: 24px; font-size: 16px; }
.lb-pass__mrz { /* machine-readable zone strip at the bottom */
  padding: 12px 26px; background: var(--lb-paper-2); font-family: var(--lb-mono); font-size: 12.5px; letter-spacing: .18em;
  color: #6E7286; overflow: hidden; white-space: nowrap; text-overflow: clip;
}
.lb-field { position: relative; margin-bottom: 14px; }
.lb-field input {
  width: 100%; height: 58px; padding: 22px 16px 6px; border-radius: 12px;
  border: 1.5px solid rgba(11, 17, 32, .16); background: #FBF7EF; color: var(--lb-ink);
  font: 500 16px var(--lb-sans); transition: border-color .3s ease, box-shadow .3s ease;
}
.lb-field input:focus { outline: none; border-color: var(--lb-blue); box-shadow: 0 0 0 4px rgba(61, 107, 224, .15); }
.lb-field label {
  position: absolute; left: 17px; top: 19px; pointer-events: none; color: #6E7286; font-size: 15.5px;
  transform-origin: left top; transition: transform .25s var(--lb-ease), color .25s ease;
}
.lb-field input:focus + label,
.lb-field input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.74); color: var(--lb-blue); font-family: var(--lb-mono); letter-spacing: .08em; text-transform: uppercase; }
.lb-field--eye input { padding-right: 54px; }
.lb-field__eye {
  position: absolute; right: 8px; top: 8px; width: 42px; height: 42px; border: 0; border-radius: 10px;
  background: transparent; color: #4A5066; cursor: pointer; font-size: 18px;
}
.lb-field__eye:hover { background: rgba(11, 17, 32, .06); }
.lb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lb-handle { display: flex; align-items: stretch; margin-bottom: 14px; }
.lb-handle__prefix {
  display: grid; place-items: center; padding: 0 14px; border-radius: 12px 0 0 12px;
  background: var(--lb-night-2); color: var(--lb-yellow); font-family: var(--lb-mono); font-weight: 600;
}
.lb-handle .lb-field { flex: 1; margin: 0; }
.lb-handle .lb-field input { border-radius: 0 12px 12px 0; border-left: 0; }
.lb-auth__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 16px; font-size: 15px; }
.lb-check { display: inline-flex; gap: 10px; align-items: flex-start; cursor: pointer; color: #3E4459; font-size: 15px; }
.lb-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lb-blue); flex: none; }
.lb-check a, .lb-auth__forgot, .lb-auth__note a { color: var(--lb-blue); font-weight: 700; }
.lb-auth__terms { margin: 4px 0 16px; }
.lb-pass .lb-btn--primary { --bg: var(--lb-ink); --fg: var(--lb-yellow); }
.lb-pass .lb-btn--primary:hover { --bg: #1B2650; }
.lb-pass .lb-btn--primary .lb-btn__icon { background: var(--lb-yellow); color: var(--lb-ink); }
.lb-auth__note { text-align: center; margin: 18px 0 0; color: #4A5066; font-size: 15px; }
.lb-auth__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-top: 16px; font-size: 13.5px; color: #4A5066; }
.lb-auth__perks i { color: #138A7A; }
.lb-auth .alert-danger { background: #FCE3DE; color: #A1281A; border-color: #F2B1A6; }
.lb-auth .alert-success { background: #DDF4EF; color: #0F6B5E; border-color: #A6DFD4; }
.lb-pass__stamp { /* decorative entry stamp */
  position: absolute; right: 22px; top: 70px; width: 96px; height: 96px; border-radius: 50%;
  border: 3px solid var(--lb-red); color: var(--lb-red); display: grid; place-items: center; text-align: center;
  font-family: var(--lb-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; font-weight: 600;
  transform: rotate(14deg); opacity: .55; pointer-events: none; filter: url(#lbInk);
}
.lb-pass__stamp b { display: block; font-family: var(--lb-display); font-size: 22px; letter-spacing: .02em; }

/* ---------- 18 Legal pages (privacy / terms) ---------- */
.lb-legal { padding: calc(var(--lb-nav-h) + 60px) 0 100px; }
.lb-legal__hero { padding-bottom: 36px; margin-bottom: 50px; border-bottom: 1px dashed var(--lb-line-2); }
.lb-legal__hero h1 { font-size: clamp(56px, 9vw, 120px); }
.lb-legal__updated { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-family: var(--lb-mono); font-size: 13px; color: var(--lb-muted); }
.lb-legal__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 60px; align-items: start; }
.lb-toc { position: sticky; top: calc(var(--lb-nav-h) + 24px); counter-reset: toc; }
.lb-toc nav { display: grid; border-left: 2px solid var(--lb-line-2); }
.lb-toc a {
  counter-increment: toc; position: relative; display: block; padding: 8px 0 8px 22px; text-decoration: none;
  color: var(--lb-muted); font-size: 15px; transition: color .3s ease;
}
.lb-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--lb-mono); font-size: 11px; margin-right: 10px; color: var(--lb-dim); }
.lb-toc a::after { content: ""; position: absolute; left: -6px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--lb-night); border: 2px solid var(--lb-line-2); transition: border-color .3s ease, background .3s ease; }
.lb-toc a:hover, .lb-toc a.is-active { color: var(--lb-text); }
.lb-toc a.is-active::after { background: var(--lb-yellow); border-color: var(--lb-yellow); }
.lb-legal__body { max-width: 720px; counter-reset: sec; font-size: 17px; }
.lb-legal__body > p, .lb-legal__body li { color: #C3C7D4; }
.lb-legal__body h2 {
  counter-increment: sec; font-family: var(--lb-display); font-weight: 800; text-transform: uppercase; font-size: 34px;
  margin: 46px 0 14px; display: flex; gap: 14px; align-items: baseline;
}
.lb-legal__body h2::before { content: counter(sec, decimal-leading-zero); font-family: var(--lb-mono); font-size: 14px; color: var(--lb-yellow); font-weight: 500; }
.lb-legal__body ul { padding-left: 20px; }
.lb-legal__body li { margin-bottom: 8px; }
.lb-legal__body li::marker { color: var(--lb-yellow); }
.lb-legal__body a { color: var(--lb-yellow); }

/* ---------- 19 Error page ---------- */
.lb-error { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 40px var(--lb-gutter); text-align: center; position: relative; overflow: hidden; }
.lb-error__inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.lb-error .lb-logo { margin-bottom: 40px; }
.lb-error__board { font-family: var(--lb-display); font-weight: 900; font-size: clamp(38px, 9vw, 92px); margin: 0 0 30px; }
.lb-error__board .lb-flap__ch { color: #FF9C8C; }
.lb-error h1 { font-size: clamp(44px, 7vw, 84px); margin-bottom: 16px; }
.lb-error .lb-lead { margin: 0 auto 30px; }
.lb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- 20 Alias profile page (/new/<alias>) ---------- */
.lb-bio { position: relative; min-height: 100vh; min-height: 100svh; padding: 48px 16px 40px; display: flex; flex-direction: column; align-items: center; gap: 26px; overflow: hidden; }
.lb-bio__card { position: relative; width: min(100%, 480px); border-radius: 24px; overflow: hidden; background: var(--lb-paper); color: var(--lb-ink); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8); }
.lb-bio__head { padding: 30px 28px 22px; display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; border-bottom: 2px dashed rgba(11, 17, 32, .16); }
.lb-bio__photo { /* passport photo box */
  width: 92px; height: 112px; border-radius: 12px; display: grid; place-items: center; position: relative;
  background: linear-gradient(160deg, var(--lb-blue), #22336E); color: var(--lb-paper);
  font-family: var(--lb-display); font-weight: 900; font-size: 52px;
}
.lb-bio__photo svg { width: 46px; height: 46px; color: var(--lb-yellow); }
.lb-bio__photo::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--lb-teal); border: 4px solid var(--lb-paper); }
.lb-bio__kicker { color: var(--lb-red) !important; margin-bottom: 8px !important; }
.lb-bio__name { font-size: clamp(36px, 9vw, 46px); color: var(--lb-ink); overflow-wrap: anywhere; }
.lb-bio__name em { color: var(--lb-blue); }
.lb-bio__handle { font-family: var(--lb-mono); font-size: 14px; color: #5B6074; margin: 8px 0 0; overflow-wrap: anywhere; }
.lb-bio__lead { grid-column: 1 / -1; margin: 4px 0 0; color: #3E4459; font-size: 15.5px; }
.lb-bio__socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 18px 28px 6px; }
.lb-bio__socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; text-decoration: none;
  background: var(--lb-night); color: var(--lb-yellow); font-size: 18px; transition: transform .35s var(--lb-ease);
}
.lb-bio__socials a:hover { transform: translateY(-3px) rotate(-6deg); }
.lb-bio__links { position: relative; padding: 16px 24px 28px 24px; display: grid; gap: 10px; }
.lb-bio__links::before { /* route line linking the stops */
  content: ""; position: absolute; left: 52.5px; top: 34px; bottom: 46px; width: 4px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, var(--lb-red) 0 10px, transparent 10px 16px);
}
.lb-stoplink {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  text-decoration: none; background: #FBF7EF; border: 1.5px solid rgba(11, 17, 32, .1);
  transition: transform .35s var(--lb-ease), border-color .3s ease, background .3s ease;
}
.lb-stoplink:hover { transform: translateX(4px); border-color: var(--lb-ink); background: #fff; }
.lb-stoplink__dot {
  position: relative; z-index: 1; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lb-night); color: var(--lb-yellow); font-size: 14px; box-shadow: 0 0 0 4px #FBF7EF;
}
.lb-stoplink--featured { background: var(--lb-yellow); border-color: var(--lb-yellow); }
.lb-stoplink--featured .lb-stoplink__dot { box-shadow: 0 0 0 4px var(--lb-yellow); }
.lb-stoplink__txt { flex: 1; min-width: 0; display: grid; }
.lb-stoplink__txt b { font-size: 16px; }
.lb-stoplink__txt small { color: #5B6074; font-size: 13.5px; }
.lb-stoplink__go { font-size: 16px; }
.lb-bio__credit { opacity: .85; }
.lb-bio__credit-txt { font-size: 13px; color: var(--lb-muted); }
.lb-bio__credit .lb-logo__mark { width: 28px; height: 28px; border-radius: 8px; }
.lb-bio__credit .lb-logo__mark svg { width: 16px; height: 16px; }
.lb-bio__credit .lb-logo__word { font-size: 20px; }

/* ---------- 21 Compass cursor ---------- */
.lb-cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; width: 0; height: 0; display: none; }
.lb-cursor__ring {
  position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255, 197, 49, .7); transition: transform .3s var(--lb-ease), border-color .3s ease, background .3s ease;
}
.lb-cursor__needle { position: absolute; left: -2px; top: -12px; width: 4px; height: 24px; }
.lb-cursor__needle::before, .lb-cursor__needle::after { content: ""; position: absolute; left: 0; width: 0; height: 0; border-left: 2px solid transparent; border-right: 2px solid transparent; }
.lb-cursor__needle::before { top: 0; border-bottom: 12px solid var(--lb-red); }
.lb-cursor__needle::after { bottom: 0; border-top: 12px solid var(--lb-text); }
.lb-cursor.is-hover .lb-cursor__ring { transform: scale(1.6); background: rgba(255, 197, 49, .12); border-color: var(--lb-yellow); }
@media (hover: hover) and (pointer: fine) {
  .lb-has-cursor .lb-cursor { display: block; }
}

/* ---------- 22 Responsive ---------- */
@media (max-width: 1080px) {
  .lb-map { grid-template-columns: 1fr; }
  .lb-board__head, .lb-board__row { grid-template-columns: 70px minmax(0, 1.2fr) minmax(0, 1.6fr) 120px; }
  .lb-board__gate { display: none; }
}
@media (max-width: 900px) {
  .lb-nav__links, .lb-nav__login, .lb-nav__actions > .lb-btn { display: none; }
  .lb-burger { display: block; }
  .lb-head { grid-template-columns: 1fr; gap: 16px; }
  .lb-head .lb-lead { justify-self: start; }
  .lb-hero__row { grid-template-columns: 1fr; }
  .lb-map__hint { display: block; padding: 10px 18px 0; font-family: var(--lb-mono); font-size: 12px; color: var(--lb-muted); }

  /* accordion becomes vertical */
  .lb-acc { flex-direction: column; height: auto; }
  .lb-acc__panel { flex: none; height: 76px; transition: height .6s var(--lb-ease); }
  .lb-acc__panel.is-open { height: 470px; }
  .lb-acc__tab { flex-direction: row; justify-content: flex-start; gap: 16px; padding: 0 22px; }
  .lb-acc__name { writing-mode: horizontal-tb; transform: none; font-size: 30px; }
  .lb-acc__body { padding: 22px; }

  /* timeline: track on the left */
  .lb-day__track, .lb-day__tram { left: 22px; }
  .lb-stop { grid-template-columns: 1fr; gap: 0; padding-left: 60px; }
  .lb-stop:nth-child(even) .lb-tag { grid-column: 1; }
  .lb-stop::before { left: 22px; }

  .lb-footer__top { grid-template-columns: 1fr; }
  .lb-legal__grid { grid-template-columns: 1fr; gap: 30px; }
  .lb-toc { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .lb-board { padding: 6px 8px 10px; }
  .lb-board__head { display: none; }
  .lb-board__row { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; padding: 12px 4px; }
  .lb-board__guide { grid-column: 2 / -1; grid-row: 2; white-space: normal; font-size: 14px; margin-top: -6px; }
  .lb-board__time { font-size: 15px; }
  .lb-board__dest { font-size: 19px; }
  .lb-status { font-size: 10.5px; padding: 4px 7px; }
  .lb-hero__cta .lb-btn { flex: 1 1 auto; }
  .lb-ticket__city { font-size: 46px; }
  .lb-tag { padding: 18px 18px 18px 46px; }
  .lb-tag h3 { font-size: 25px; }
  .lb-letter summary { gap: 12px; padding: 16px; }
  .lb-postage { width: 38px; height: 46px; font-size: 20px; }
  .lb-letter__a { padding: 0 16px 18px 16px; }
  .lb-footer__cols { grid-template-columns: 1fr 1fr; }
  .lb-field-row { grid-template-columns: 1fr; gap: 0; }
  .lb-pass__body { padding: 26px 20px 22px; }
  .lb-pass__cover, .lb-pass__mrz { padding-left: 20px; padding-right: 20px; }
  .lb-pass__stamp { width: 76px; height: 76px; top: 64px; right: 14px; font-size: 8.5px; }
  .lb-pass__stamp b { font-size: 17px; }
  .lb-auth__meta { flex-wrap: wrap; }
  .lb-bio__head { grid-template-columns: 76px 1fr; padding: 24px 20px 18px; }
  .lb-bio__photo { width: 76px; height: 94px; font-size: 42px; }
  .lb-bio__links { padding: 14px 16px 22px; }
  .lb-bio__links::before { left: 44.5px; }
  .lb-clock b { font-size: 32px; }
}

/* ---------- 23 Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lb-anim [data-reveal] { opacity: 1; transform: none; }
  .lb-anim .lb-stamp { opacity: 1; transform: rotate(var(--r)); }
  .lb-cloud, .lb-auth__plane, .lb-map__train { display: none; }
  .lb-status--boarding { animation: none; }
}
