/* desiresbyangel.com – a departures hall: warm sand, deep navy, sunset coral; boards in amber monospace on dark rows.
   System fonts only. Light and dark (prefers-color-scheme). */
:root {
  --sand: #fbf4ec; --sand-2: #f3e7d8; --card: #fffaf3; --ink: #1c2338; --muted: #5f6577; --line: #e7dacb;
  --navy: #1d2b4f; --navy-2: #2b3f72; --navy-3: #131e3b; --coral: #ff7a59; --coral-ink: #b4401d; --link: #b4401d;
  --board: #121a2f; --board-alt: #172038; --board-line: #253050; --amber: #ffc04d; --board-head: #93a4cc; --board-text: #f1e8d8;
  --ok: #1f7a54; --bad: #b4401d; --on-navy: #f6efe6; --on-navy-soft: #c6d0ea;
  --sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --round: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sand: #0d1322; --sand-2: #18213a; --card: #141c31; --ink: #f2eadf; --muted: #a9b1c4; --line: #263152;
    --navy: #17244a; --navy-2: #22346a; --navy-3: #091126; --coral-ink: #ff9c80; --link: #ff9c80;
    --board: #0a1020; --board-alt: #0f1729; --board-line: #1e2944; --ok: #5fd39c; --bad: #ff9c80;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16.5px/1.6 var(--sans); }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -10000px; top: 8px; z-index: 80; background: var(--card); color: var(--ink); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; }
.flap { display: inline-block; font-family: var(--mono); font-weight: 700; letter-spacing: .06em; background: var(--board); color: var(--amber); padding: 1px 8px; border-radius: 6px; }

/* ── Top bar ── */
.topbar { background: var(--sand); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.logo__sun { position: relative; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--navy); overflow: hidden; }
.logo__sun::before { content: ''; position: absolute; left: 6px; right: 6px; top: 9px; height: 18px; border-radius: 50%; background: var(--coral); }
.logo__sun::after { content: ''; position: absolute; left: 3px; right: 3px; top: 18px; bottom: 0; background: var(--navy); border-top: 2px dashed var(--sand); }
.logo__word { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.logo__word i { font-style: normal; font-weight: 500; color: var(--coral-ink); }
.menu { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 14.5px; font-weight: 600; }
.menu a { color: var(--ink); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.menu a:hover, .menu a:focus-visible { border-bottom-color: var(--coral); }
@media (prefers-color-scheme: dark) { .logo { color: var(--ink); } .logo__sun { background: var(--navy-2); } .logo__sun::after { background: var(--navy-2); } }

/* ── The band: the check-in desk on the left, TER's boarding-pass stub on the right ── */
.band { position: relative; background: radial-gradient(120% 150% at 88% 0%, var(--navy-2), var(--navy) 55%, var(--navy-3)); color: var(--on-navy); }
.band::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--coral) 0 28px, transparent 28px 46px); opacity: .85; }
.band__in { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: center; padding-top: 26px; padding-bottom: 32px; }
.desk { min-width: 0; }
.route { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 14px; padding: 0; font-size: 13.5px; color: var(--on-navy-soft); }
.route li + li::before { content: '\2192'; margin: 0 8px; color: var(--coral); }
.route a { color: #fff; }
.desk__eyebrow { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.desk__q { margin: 4px 0 16px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.pg-home .desk__q { font-size: clamp(30px, 5vw, 52px); }
.finder { max-width: 580px; }
.finder__label { display: block; margin-bottom: 6px; font-size: 13.5px; color: var(--on-navy-soft); }
.finder__row { display: flex; gap: 8px; padding: 6px; background: #fffaf3; border-radius: 12px; box-shadow: 0 8px 26px rgba(0, 0, 0, .28); }
.finder__row:focus-within { outline: 3px solid var(--coral); outline-offset: 2px; }
.finder input { flex: 1; min-width: 0; border: 0; background: transparent; color: #1c2338; font: 600 18px var(--mono); padding: 8px 10px; outline: none; }
.finder input::placeholder { color: #8b8f9c; font-weight: 400; }
.finder button { flex: none; border: 0; border-radius: 9px; background: var(--coral); color: #1d2b4f; font: 800 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 10px 18px; cursor: pointer; }
.finder button:hover { background: #ff9274; }

.stub { position: relative; background: var(--card); color: var(--ink); border-radius: 16px; padding: 12px 14px 14px 24px; box-shadow: 0 16px 36px rgba(0, 0, 0, .32); }
.stub::before { content: ''; position: absolute; left: 10px; top: 16px; bottom: 16px; border-left: 2px dashed var(--line); }
.stub__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.stub__label { color: var(--coral-ink); }
.stub__pass { color: var(--muted); }
.stub a { display: block; line-height: 0; }
.stub img { display: block; width: 100%; height: auto; aspect-ratio: 400 / 260; border-radius: 10px; }

/* Phones: the band is the desk alone; the stub drops below it, centred. */
@media (max-width: 860px) {
  .band { background: none; color: var(--ink); }
  .band::after { display: none; }
  .band__in { display: block; padding-top: 0; padding-bottom: 0; }
  .desk { padding: 22px 0 26px; background: var(--navy); color: var(--on-navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
  .stub { max-width: 320px; margin: 18px auto 0; }
}

/* ── Page ── */
.main { padding-top: 30px; padding-bottom: 52px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; }
h1 { margin: 0 0 12px; font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; }
h2 { margin: 0 0 14px; font-size: 22px; font-weight: 800; }
h3 { margin: 0; font-size: 20px; font-weight: 800; }
.lede { max-width: 72ch; margin: 0 0 20px; font-size: 18.5px; color: var(--muted); }
.lede b { color: var(--ink); }
.note { max-width: 74ch; color: var(--muted); }
.sect { margin-top: 42px; }
.sect > h2 { display: flex; align-items: center; gap: 12px; }
.sect > h2::before { content: ''; flex: none; width: 20px; height: 4px; border-radius: 2px; background: var(--coral); }
.onward { margin: 14px 0 0; font-weight: 700; }
.onward a::after { content: ' \2192'; }
.intro { padding-bottom: 4px; }

/* ── Departures boards ── */
.board-wrap { overflow-x: auto; border-radius: var(--round); background: var(--board); box-shadow: 0 12px 30px rgba(18, 26, 47, .2); }
.board { width: 100%; border-collapse: collapse; font: 15px/1.45 var(--mono); color: var(--amber); }
.board thead th { padding: 14px 14px 10px; text-align: left; white-space: nowrap; font: 800 11px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--board-head); border-bottom: 1px solid var(--board-line); }
.board td { padding: 9px 14px; vertical-align: top; border-bottom: 1px solid var(--board-line); }
.board tbody tr:nth-child(even) td { background: var(--board-alt); }
.board a { color: var(--amber); text-decoration: none; border-bottom: 1px dotted rgba(255, 192, 77, .55); }
.board a:hover, .board a:focus-visible { color: #fff; border-bottom-color: #fff; }
.board .num { white-space: nowrap; letter-spacing: .03em; }
.board .n { text-align: right; font-variant-numeric: tabular-nums; }
.board .who { font-family: var(--sans); color: var(--board-text); }
.board small { margin-left: 6px; font: 12.5px var(--mono); color: var(--board-head); white-space: nowrap; }
.board__grp th { padding: 11px 14px; text-align: left; font: 800 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--navy); }
.board__grp th span { margin-left: 10px; color: var(--coral); }
.board__arrow { width: 1%; padding-left: 0 !important; padding-right: 0 !important; color: var(--coral); text-align: center; }
.board tbody:last-child tr:last-child td { border-bottom: 0; }

/* ── Home: city gates, area-code tiles, steps ── */
.gates { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.gates a { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.gates a:hover, .gates a:focus-visible { border-color: var(--coral); }
.gates b { font-weight: 800; }
.gates__st { align-self: start; padding: 1px 7px; border-radius: 6px; background: var(--sand-2); font: 700 12px/1.6 var(--mono); }
.gates__n { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.codes a { display: block; padding: 12px 14px; background: var(--board); border-radius: 12px; color: var(--amber); text-decoration: none; }
.codes a:hover, .codes a:focus-visible { outline: 2px solid var(--coral); }
.codes b { display: block; font: 800 28px/1.1 var(--mono); }
.codes span { display: block; font-size: 13px; color: var(--board-text); }
.codes span + span { color: var(--board-head); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { position: relative; padding: 14px 16px 14px 54px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--coral); color: #1d2b4f; font-weight: 800; font-size: 14px; }

/* ── The number's ticket ── */
.ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 32px rgba(29, 43, 79, .13); }
.ticket__main { min-width: 0; padding: 22px 26px 24px; }
.ticket__kicker { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--coral-ink); }
.ticket__num { margin: 6px 0; font-family: var(--mono); font-size: clamp(30px, 6vw, 52px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ticket__line { margin: 0; font-size: 19px; font-weight: 600; }
.ticket__stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 18px; background: var(--navy); color: var(--on-navy); text-align: center; border-left: 2px dashed var(--line); }
.ticket__stub::before, .ticket__stub::after { content: ''; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); }
.ticket__stub::before { top: -11px; }
.ticket__stub::after { bottom: -11px; }
.ticket__code { margin: 0; }
.ticket__code span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--on-navy-soft); }
.ticket__code b { display: block; font: 800 46px/1 var(--mono); color: var(--amber); }
.ticket__legs { margin: 0; font: 700 18px var(--mono); letter-spacing: .06em; }
.ticket__arrow { margin: 0 8px; color: var(--coral); }
@media (max-width: 620px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { flex-direction: row; align-items: center; justify-content: space-between; text-align: left; border-left: 0; border-top: 2px dashed var(--line); }
  .ticket__stub::before { left: -11px; top: -12px; }
  .ticket__stub::after { left: auto; right: -11px; top: -12px; bottom: auto; }
  .ticket__code b { font-size: 36px; }
}

/* ── Area-code facts and the clock ── */
.npa { padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--round); }
.npa__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px 20px; margin: 0; }
.npa__facts dt, .pass__facts dt, .clock__lbl { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.npa__facts dd { margin: 3px 0 0; font-size: 17px; font-weight: 700; }
.npa__none { margin: 0; }
.clock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.clock__now { font: 700 21px var(--mono); color: var(--coral-ink); }
.clock__zone { color: var(--muted); }

/* ── The listing ── */
.pass { display: grid; gap: 14px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--coral); border-radius: var(--round); }
.pass + .pass { margin-top: 12px; }
.pass__name { font-size: 24px; }
.pass__city { margin: 2px 0 0; color: var(--muted); }
.pass__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 20px; margin: 0; }
.pass__facts dd { margin: 3px 0 0; font-weight: 700; }
.pass__go { justify-self: start; display: inline-block; padding: 10px 16px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 800; text-decoration: none; }
.pass__go:hover, .pass__go:focus-visible { background: var(--coral); color: #1d2b4f; }
@media (prefers-color-scheme: dark) { .pass__go { background: var(--coral); color: #1d2b4f; } .pass__go:hover { background: #ff9274; } }

/* ── Other numbers ── */
.hops { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.hops li { display: grid; gap: 1px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.hops a { font: 700 16px var(--mono); }
.hops__from, .hops__who { font-size: 14px; color: var(--muted); }
.formats { margin: 30px 0 0; font-size: 13.5px; color: var(--muted); }
.formats span { font-family: var(--mono); }

/* ── Chips ── */
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; }
.chips li { padding: 3px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.chips b { margin-left: 6px; font-family: var(--mono); color: var(--coral-ink); }

/* ── Cities page ── */
.statecols { columns: 3 250px; column-gap: 30px; }
.statebox { break-inside: avoid; margin: 0 0 24px; }
.statebox h2 { margin: 0 0 8px; padding-bottom: 5px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid var(--coral); }
.statebox ul { list-style: none; margin: 0; padding: 0; }
.statebox li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line); }
.statebox li span { font: 13px var(--mono); color: var(--muted); }

/* ── Text pages and the form ── */
.doc { max-width: 74ch; }
.doc__stamp { font-size: 13.5px; color: var(--muted); }
.doc__part h2 { margin: 30px 0 8px; font-size: 20px; }
.mailform { display: grid; gap: 14px; max-width: 580px; margin: 10px 0 30px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--round); }
.mailform label { display: grid; gap: 5px; font-size: 14.5px; font-weight: 700; }
.mailform input, .mailform select, .mailform textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--sand); color: var(--ink); font: 16px var(--sans); }
.mailform input:focus, .mailform select:focus, .mailform textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.mailform__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.mailform button { border: 0; border-radius: 10px; background: var(--navy); color: #fff; font: 800 15px var(--sans); padding: 11px 22px; cursor: pointer; }
.mailform button:disabled { opacity: .6; cursor: default; }
.mailform__note[data-state="ok"] { color: var(--ok); }
.mailform__note[data-state="error"] { color: var(--bad); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Not found ── */
.lost__code { margin: 0 0 8px; font-size: 30px; }

/* ── Footer ── */
.foot { padding: 36px 0 26px; background: var(--navy-3); color: #d6dcea; font-size: 14.5px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover, .foot a:focus-visible { color: var(--coral); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot__brand p { margin: 0; }
.foot__name { margin-bottom: 4px !important; color: #fff; font-size: 18px; font-weight: 800; }
.foot__col { display: flex; flex-direction: column; gap: 6px; }
.foot__h { margin: 0 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.foot__fine { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #b6bfd6; }
.foot__fine p { max-width: 90ch; }
@media (max-width: 720px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* ── Adults-only check ── */
.gate-open body { overflow: hidden; }
.gate { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(9, 14, 28, .88); }
.gate[hidden] { display: none; }
.gate__card { max-width: 460px; padding: 26px 24px; background: var(--card); color: var(--ink); border-top: 6px solid var(--coral); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.gate__badge { display: inline-block; margin: 0 0 10px; padding: 4px 12px; border-radius: 8px; background: var(--board); color: var(--amber); font: 800 20px var(--mono); }
.gate h2 { margin: 0 0 8px; font-size: 24px; }
.gate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.gate__actions button { border: 0; border-radius: 10px; background: var(--coral); color: #1d2b4f; font: 800 16px var(--sans); padding: 12px 20px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
