:root {
  --paper: #F7F1E6;
  --card: #FFFBF4;
  --ink: #14262B;
  --muted: #5B6769;
  --line: #E6DCCB;
  --accent: #1F5C63;
  --orange: #E5652E;
  --orange-deep: #C44E1C;
  --sun: #F4B544;
  --sky: #D7ECEC;
  --sage: #3E7D5A;
  --coral: #C4452C;
  --night: #13262C;
  --shadow: 0 18px 40px rgba(20, 38, 43, .14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121B1D; --card: #1B2629; --ink: #F1EADF; --muted: #A9B3B2; --line: #2B3739;
    --accent: #7FC3C8; --orange: #F07A45; --orange-deep: #F58E5C; --sky: #1E3134; --sage: #7CC39A; --coral: #F0846C;
    --night: #0C1416; --shadow: 0 18px 40px rgba(0, 0, 0, .45);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
h1, h2, h3, .serif, .display { font-family: "Bricolage Grotesque", -apple-system, "Segoe UI", sans-serif; font-weight: 800; letter-spacing: -.025em; line-height: 1.02; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
header.top { padding: 16px 0; position: relative; z-index: 3; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 8px rgba(20,38,43,.18); }
nav.links { display: flex; align-items: center; }
nav.links a { color: var(--ink); text-decoration: none; margin-left: 22px; font-size: 15px; font-weight: 600; opacity: .75; }
nav.links a:hover { opacity: 1; }
nav.links a.pill { opacity: 1; background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 999px; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 16px; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(229,101,46,.35); }
.btn.ghost { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding: 24px 0 64px; }
.stamp { display: inline-flex; align-items: center; gap: 8px; border: 2px dashed var(--orange); color: var(--orange-deep); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 70px); margin: 0 0 20px; }
.hero h1 .hl { color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .16em; background: var(--sun); border-radius: 99px; z-index: -1; opacity: .7; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 32ch; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art .sun { position: absolute; inset: 6% 2% 4% 8%; background: var(--sky); border-radius: 50%; }
.hero-art .sun::before { content: ""; position: absolute; width: 22%; aspect-ratio: 1; right: 4%; top: 4%; background: var(--sun); border-radius: 50%; opacity: .9; }
.hero-art .traveller { position: absolute; right: -2%; bottom: 0; width: 92%; filter: drop-shadow(0 18px 24px rgba(20,38,43,.18)); }
.hero-art .phone { position: absolute; left: -4%; bottom: -6%; width: 38%; transform: rotate(-7deg); }
.hero-art .pin { position: absolute; left: 30%; top: 2%; width: 13%; transform: rotate(-12deg); }

/* Phone mockup */
.phone { background: #0E1A1D; border-radius: 13% / 6.2%; padding: 3.2%; box-shadow: var(--shadow), inset 0 0 0 2px #2c3b3f; }
.phone img { border-radius: 10.5% / 4.9%; width: 100%; aspect-ratio: 368 / 800; object-fit: cover; }

/* Sources strip */
.strip { background: var(--orange); color: #fff; overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; }
.strip .track { display: flex; gap: 38px; padding: 16px 0; white-space: nowrap; width: max-content; animation: slide 38s linear infinite; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 22px; }
.strip .track span::before { content: "✦"; margin-right: 38px; color: var(--sun); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip .track { animation: none; } }

/* Sections */
section { padding: 84px 0; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 10px; }
section h2 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; }
section p.sub { color: var(--muted); margin: 0 0 40px; max-width: 56ch; font-size: 18px; }

/* Boarding-pass steps */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ticket { position: relative; background: var(--card); border-radius: 18px; padding: 24px 24px 22px; border: 1.5px solid var(--line);
  -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 11px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 11px, #000 12px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 62%, transparent 11px, #000 12px) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 11px, #000 12px) right / 51% 100% no-repeat; }
.ticket .no { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 54px; line-height: 1; color: var(--orange); }
.ticket .code { position: absolute; right: 22px; top: 26px; font: 700 12px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--muted); }
.ticket h3 { font-size: 24px; margin: 14px 0 6px; }
.ticket p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.ticket .tear { border-top: 2px dashed var(--line); padding-top: 14px; font: 600 13px/1.4 ui-monospace, Menlo, monospace; color: var(--accent); }

/* Screens */
.screens { background: var(--night); color: #F1EADF; border-radius: 36px; margin: 0 20px; padding: 76px 0 84px; }
.screens h2 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; }
.screens p.sub { color: #B9C4C3; }
.screens .eyebrow { color: var(--sun); }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.phones figure { margin: 0; }
.phones figure:nth-child(even) { margin-top: 44px; }
.phones figcaption { margin-top: 18px; }
.phones figcaption b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; color: #fff; letter-spacing: -.01em; }
.phones figcaption span { color: #B9C4C3; font-size: 15px; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.card { padding: 26px 26px 30px 0; border-bottom: 1.5px solid var(--line); }
.grid .card:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1.5px solid var(--line); }
.card h3 { font-size: 23px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: #fff; }
.icon svg { width: 22px; height: 22px; }

/* CTA */
.cta { background: var(--sky); border-radius: 36px; padding: 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta img { width: 120px; height: 120px; border-radius: 28px; box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 6px; font-size: clamp(30px, 4vw, 44px); }
.cta p { margin: 0; color: var(--muted); }

.flow { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; overflow-x: auto; white-space: pre; line-height: 1.5; }

footer { padding: 36px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; border-top: 1.5px solid var(--line); padding-top: 26px; }
footer a { color: var(--muted); }

/* Documents */
.doc h1 { font-size: 46px; margin: 10px 0 6px; }
.doc h2 { font-size: 26px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
details { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 10px 0; }
summary { font-weight: 700; cursor: pointer; }

/* Share viewer */
.share { padding-top: 10px; padding-bottom: 40px; }
.share .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; background: var(--sky); }
.share .kind { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: var(--orange-deep); margin-top: 18px; }
.share h1 { font-size: clamp(34px, 6vw, 52px); margin: 4px 0; }
.share .where { color: var(--muted); margin: 0 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { background: var(--sky); color: var(--accent); border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 700; }
.open { font-weight: 700; }
.open.yes { color: var(--sage); } .open.no { color: var(--coral); }
.map { height: 280px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin: 16px 0; z-index: 0; }
.why { background: var(--sky); border-radius: 16px; padding: 14px 16px; margin: 14px 0; }
.why b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 4px 0; } .hours tr.today td { font-weight: 700; }
.place-row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin: 8px 0; text-decoration: none; color: var(--ink); }
.place-row img, .place-row .ph { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--sky); }
.place-row small { color: var(--muted); display: block; }
.get { margin-top: 26px; text-align: center; }
.get img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 8px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 4px; }
  .hero-art { order: -1; max-width: 520px; width: 100%; margin: 0 auto 8px; }
  .hero-art .phone { left: 2%; width: 34%; }
  .tickets { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 10px; margin: 0 -20px; }
  .phones figure { scroll-snap-align: center; }
  .phones figure:nth-child(even) { margin-top: 0; }
  .grid { grid-template-columns: 1fr; }
  .grid .card:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .cta { grid-template-columns: 1fr; padding: 36px 26px; text-align: left; }
  .screens { margin: 0; border-radius: 28px; }
  nav.links a { margin-left: 14px; }
  nav.links a.hide-sm { display: none; }
  section { padding: 60px 0; }
}
