/* Maroon Travels — night terminal / self-service kiosk theme */

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  /* surfaces: oxblood night, never neutral black */
  --night: #160A0D;
  --night-2: #1D0D12;
  --board: #0F0608;
  --panel: #27121A;
  --panel-2: #321820;
  --edge: rgba(244, 182, 63, 0.18);
  --edge-soft: rgba(246, 238, 232, 0.09);
  /* signal colours */
  --amber: #F4B63F;
  --amber-hi: #FFD27A;
  --amber-ink: #241006;
  --oxblood: #8C1C34;
  --led-green: #84E3A6;
  --glow: #8FB8FF;
  /* text */
  --text: #F6EEE8;
  --muted: #C4B0B4;
  --error: #FF9DAA;

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --sign: "Barlow Condensed", "Arial Narrow", "Barlow", sans-serif;

  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --wide: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-hi); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--amber-ink); }

h1, h2, h3 { font-family: var(--sign); font-weight: 600; line-height: 1.02; margin: 0 0 0.45em; letter-spacing: 0.005em; color: var(--text); }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.55rem; line-height: 1.1; }
p { margin: 0 0 1em; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--muted); max-width: 42ch; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; z-index: 20; font-weight: 600; }
.skip:focus { left: 16px; top: 16px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.7rem, 2.8vw, 2.2rem); color: var(--amber); }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose code { background: var(--panel); padding: 1px 6px; border-radius: 4px; }

/* Masthead: terminal top bar --------------------------------------------- */
.masthead { position: sticky; top: 0; z-index: 10; background: rgba(22, 10, 13, 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--edge-soft); }
.masthead__inner { max-width: var(--wide); margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 50px; }
.brand__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--text); }
.clock { font-family: var(--sign); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.08em; color: var(--muted); border: 1px solid var(--edge-soft); border-radius: 6px; padding: 4px 10px; white-space: nowrap; }
.clock__time { color: var(--amber); font-variant-numeric: tabular-nums; }
.site-nav { display: flex; align-items: center; gap: 26px; font-weight: 500; }
.site-nav a { color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.brand__name { white-space: nowrap; }
@media (max-width: 1180px) { .clock { display: none; } .site-nav { gap: 20px; } }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--amber); color: var(--text); }
.site-nav .site-nav__cta { background: var(--amber); color: var(--amber-ink); padding: 10px 18px; border-radius: 999px; border-bottom: 0; font-weight: 600; }
.site-nav .site-nav__cta:hover { background: var(--amber-hi); color: var(--amber-ink); }
.nav-toggle { display: none; }
@media (max-width: 1040px) {
  .clock { display: none; }
  .nav-toggle { display: inline-block; font: 600 1rem var(--sans); color: var(--text); background: var(--panel); border: 1px solid var(--edge-soft); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night-2); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--edge-soft); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--edge-soft); }
  .site-nav .site-nav__cta { margin-top: 14px; text-align: center; padding: 14px; }
  .brand img { width: 42px; }
  .brand__name { font-size: 1.2rem; }
}

/* Buttons ------------------------------------------------------------------ */
.button, .kbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1.05rem/1 var(--sans); background: var(--amber); color: var(--amber-ink); text-decoration: none; padding: 16px 28px; min-height: 52px; border-radius: 999px; border: 0; cursor: pointer; }
.button:hover, .kbtn:hover { background: var(--amber-hi); color: var(--amber-ink); }
.kbtn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--edge-soft); }
.kbtn--ghost:hover { background: var(--panel-2); color: var(--text); }

/* Terminal hero ------------------------------------------------------------ */
.terminal {
  position: relative; overflow: hidden;
  padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 7vw, 104px);
  background:
    radial-gradient(900px 520px at 78% 40%, rgba(140, 28, 52, 0.45), transparent 70%),
    radial-gradient(600px 300px at 10% 100%, rgba(244, 182, 63, 0.10), transparent 70%),
    var(--night);
}
.terminal::before { /* floor grid, fades out */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--edge-soft) 1px, transparent 1px), linear-gradient(90deg, var(--edge-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 60%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 60%, #000 10%, transparent 70%);
  opacity: 0.6;
}
.terminal__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .terminal__grid { grid-template-columns: 1fr; } }
.sign { display: inline-flex; align-items: center; gap: 10px; font: 600 1.05rem/1 var(--sign); letter-spacing: 0.06em; color: var(--amber-ink); background: var(--amber); padding: 6px 14px 6px 6px; border-radius: 4px; margin-bottom: 26px; }
.sign__icon { display: grid; place-items: center; width: 30px; height: 30px; background: var(--amber-ink); color: var(--amber); border-radius: 3px; }
.sign__icon svg { width: 20px; height: 20px; }
.terminal__facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--muted); max-width: 44ch; }
.terminal__facts li { padding-left: 26px; position: relative; }
.terminal__facts li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; border-radius: 50%; background: var(--led-green); box-shadow: 0 0 12px var(--led-green); opacity: 0.85; }

.selfbook { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--edge); border-radius: 14px; background: rgba(244, 182, 63, 0.06); max-width: 46ch; }
.selfbook p { color: var(--muted); margin-bottom: 14px; }
.selfbook strong { color: var(--text); }
@media (max-width: 640px) { .selfbook { margin-top: 18px; } }

/* Kiosk -------------------------------------------------------------------- */
.kiosk { position: relative; scroll-margin-top: 84px; }
.kiosk::after { /* stand reflection */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -26px; height: 26px;
  background: radial-gradient(ellipse at center, rgba(244, 182, 63, 0.22), transparent 70%); filter: blur(6px);
}
.kiosk__bezel {
  padding: 12px; border-radius: 30px;
  background: linear-gradient(160deg, #4A2A33, #1A0B10 45%, #2B151C);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.kiosk__screen {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #24111A 0%, #1A0B10 100%);
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 0 60px rgba(244, 182, 63, 0.05);
  padding: 22px clamp(18px, 3vw, 30px) 24px;
  min-height: 560px; display: flex; flex-direction: column;
}
.kiosk__screen::before { /* glass sheen */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, 0.03) 100%);
}
.kiosk__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--edge-soft); margin-bottom: 22px; }
.kiosk__brand { font: 600 1.05rem/1 var(--sign); letter-spacing: 0.06em; color: var(--text); }
.kiosk__brand span { color: var(--amber); margin-left: 8px; }
.kiosk__progress { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.kiosk__progress li { width: 28px; height: 6px; border-radius: 3px; background: var(--panel-2); transition: background 300ms; }
.kiosk__progress li.is-done { background: rgba(244, 182, 63, 0.5); }
.kiosk__progress li.is-current { background: var(--amber); box-shadow: 0 0 10px rgba(244, 182, 63, 0.6); }
html:not(.js) .kiosk__progress { display: none; }

.kiosk__form { display: flex; flex-direction: column; flex: 1; }
.kstep { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.js .kstep { display: none; margin: 0; }
.js .kstep.is-active { display: block; animation: step-in 320ms cubic-bezier(.2, .7, .2, 1); }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.kstep legend { font: 600 clamp(1.8rem, 3vw, 2.4rem)/1.05 var(--sign); color: var(--text); padding: 0; margin-bottom: 20px; }
.kstep__count { display: block; font: 500 0.95rem/1 var(--sans); color: var(--amber); margin-bottom: 10px; letter-spacing: 0.02em; }

.tiles { display: grid; gap: 10px; margin-bottom: 20px; }
.tiles--dest { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--origin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--type { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 640px) { .tiles--dest, .tiles--type { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--origin { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  min-height: 84px; padding: 14px; border-radius: 14px; cursor: pointer;
  background: var(--panel); color: var(--text); border: 1px solid var(--edge-soft);
  font: 500 1rem/1.2 var(--sans); transition: border-color 160ms, background 160ms, transform 120ms;
}
.tile:hover { border-color: var(--edge); background: var(--panel-2); }
.tile:active { transform: scale(0.98); }
.tile__code { font: 600 2rem/1 var(--sign); letter-spacing: 0.06em; color: var(--amber); }
.tile__name { color: var(--muted); font-size: 0.98rem; }
.tile.is-selected, .tile--radio:has(input:checked) { border-color: var(--amber); background: linear-gradient(180deg, rgba(244, 182, 63, 0.16), rgba(244, 182, 63, 0.04)); box-shadow: 0 0 0 1px var(--amber), 0 0 22px rgba(244, 182, 63, 0.18); }
.tile.is-selected .tile__name, .tile--radio:has(input:checked) .tile__name { color: var(--text); }
.tile--radio { position: relative; justify-content: space-between; }
.tile--radio input { position: absolute; opacity: 0; pointer-events: none; }
.tile--radio:has(input:focus-visible) { outline: 3px solid var(--glow); outline-offset: 2px; }
.tile__icon { color: var(--amber); }
.tile__icon svg { width: 28px; height: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font: 500 1rem/1 var(--sans); color: var(--text); background: var(--panel); border: 1px solid var(--edge-soft); border-radius: 999px; padding: 12px 16px; cursor: pointer; }
.chip:hover { border-color: var(--edge); }
.chip.is-selected { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); font-weight: 600; }

.kfield { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.kfield label, .klabel { font-weight: 600; font-size: 0.98rem; color: var(--text); }
.opt { font-weight: 400; color: var(--muted); }
.kfield input, .kfield textarea, .stepper input {
  font: 400 1.1rem/1.4 var(--sans); color: var(--text); background: rgba(15, 6, 8, 0.7);
  border: 1px solid var(--edge-soft); border-radius: 12px; padding: 14px 16px; width: 100%;
}
.kfield textarea { resize: vertical; min-height: 84px; }
.kfield input::placeholder, .kfield textarea::placeholder { color: #8D7A7E; }
.kfield input:focus, .kfield textarea:focus, .stepper input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(244, 182, 63, 0.25); }
.kfield [aria-invalid="true"], .kconsent [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(255, 157, 170, 0.2); }

.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
@media (max-width: 520px) { .steppers { grid-template-columns: 1fr; } }
.stepper { background: var(--panel); border: 1px solid var(--edge-soft); border-radius: 14px; padding: 16px; }
.stepper label { display: block; font: 600 1.4rem/1.1 var(--sign); margin-bottom: 12px; }
.stepper label span { display: block; font: 400 0.95rem var(--sans); color: var(--muted); margin-top: 2px; }
.stepper__control { display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; align-items: center; }
.stepper__control button { height: 56px; border-radius: 12px; border: 1px solid var(--edge); background: var(--panel-2); color: var(--amber); font: 600 1.8rem/1 var(--sans); cursor: pointer; }
.stepper__control button:hover { background: rgba(244, 182, 63, 0.15); }
.stepper input { text-align: center; font: 600 2rem/1 var(--sign); padding: 10px 4px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.segmented { display: inline-flex; background: rgba(15, 6, 8, 0.7); border: 1px solid var(--edge-soft); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 10px 18px; border-radius: 999px; color: var(--muted); font-weight: 500; }
.segmented input:checked + span { background: var(--amber); color: var(--amber-ink); font-weight: 600; }
.segmented input:focus-visible + span { outline: 3px solid var(--glow); outline-offset: 1px; }

.kconsent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--muted); margin-top: 6px; }
.kconsent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--amber); }

.kstep__split { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: start; }
@media (max-width: 760px) { .kstep__split { grid-template-columns: 1fr; } .ksummary { order: -1; } }
.ksummary { background: #F6EEE8; color: #2B1016; border-radius: 14px; padding: 16px; position: relative; }
.ksummary::before { content: ""; position: absolute; left: 0; right: 0; top: 40px; border-top: 2px dashed rgba(43, 16, 22, 0.18); }
.ksummary__head { font: 600 0.95rem/1 var(--sign); letter-spacing: 0.08em; color: var(--oxblood); margin: 0 0 26px; }
.ksummary__route { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: 600 1.35rem/1.1 var(--sign); margin-bottom: 12px; }
.ksummary__route span { color: var(--oxblood); }
.ksummary dl { margin: 0; display: grid; gap: 8px; font-size: 0.95rem; }
.ksummary dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(43, 16, 22, 0.1); padding-bottom: 6px; }
.ksummary dt { color: #6B5559; }
.ksummary dd { margin: 0; font-weight: 600; text-align: right; }
.ksummary__barcode { height: 38px; margin-top: 14px; background: repeating-linear-gradient(90deg, #2B1016 0 2px, transparent 2px 4px, #2B1016 4px 5px, transparent 5px 8px, #2B1016 8px 11px, transparent 11px 12px); }

.kiosk__error { color: var(--error); font-weight: 500; min-height: 1.6em; margin: 6px 0 0; }
.kiosk__error:empty { min-height: 0; }
.kiosk__nav { display: flex; gap: 12px; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--edge-soft); }
.kiosk__nav [data-next], .kiosk__nav [data-submit] { margin-left: auto; min-width: 180px; }
html:not(.js) .kiosk__nav [data-back], html:not(.js) .kiosk__nav [data-next] { display: none; }
.js .kiosk__nav [hidden] { display: none; }
@media (max-width: 520px) { .kiosk__nav [data-next], .kiosk__nav [data-submit] { min-width: 0; flex: 1; } }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  .terminal { padding-top: 24px; }
  .sign { margin-bottom: 16px; }
  .terminal .lede { font-size: 1.1rem; margin-bottom: 0; }
  .terminal__facts { display: none; }
  .kiosk__bezel { padding: 6px; border-radius: 22px; }
  .kiosk__screen { border-radius: 17px; padding: 18px 16px 18px; min-height: 0; }
  .kiosk__brand { white-space: nowrap; }
  .kiosk__brand > span { margin-left: 0; }
  .kiosk__brand { font-size: 0; }
  .kiosk__brand > span { font-size: 1.05rem; }
  .kiosk__progress li { width: 18px; }
  .tile { min-height: 72px; padding: 12px; }
  .tile__code { font-size: 1.7rem; }
}

/* Sections ----------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--deep { background: var(--night-2); border-top: 1px solid var(--edge-soft); border-bottom: 1px solid var(--edge-soft); }
.section__head { max-width: 46rem; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head p { color: var(--muted); font-size: 1.15rem; }

/* Departures board */
.board-section { background: linear-gradient(var(--night), var(--night-2)); }
.board { background: var(--board); border-radius: 16px; padding: 10px; border: 1px solid var(--edge-soft); box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6); }
.board__row { display: grid; grid-template-columns: minmax(0, 1.7fr) 0.6fr 1fr 1.2fr auto; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 8px; }
.board__row + .board__row { margin-top: 4px; }
.board__row:not(.board__row--head) { background: linear-gradient(180deg, #170A0D, #120709); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03); }
.board__row:not(.board__row--head):hover { box-shadow: inset 0 0 0 1px var(--edge); }
.board__row--head { font: 500 0.95rem/1 var(--sans); color: var(--muted); padding-top: 8px; padding-bottom: 10px; }
.board__city, .board__code { font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1 var(--sign); letter-spacing: 0.12em; color: var(--amber); text-shadow: 0 0 12px rgba(244, 182, 63, 0.35); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.board__code { color: var(--text); text-shadow: 0 0 10px rgba(246, 238, 232, 0.2); }
.board__region { color: var(--muted); }
.board__remark { font: 600 1.05rem/1 var(--sign); letter-spacing: 0.08em; color: var(--led-green); text-shadow: 0 0 10px rgba(132, 227, 166, 0.35); }
.board__go { font-weight: 600; color: var(--amber-ink); background: var(--amber); padding: 8px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.board__go:hover { background: var(--amber-hi); color: var(--amber-ink); }
@media (max-width: 760px) {
  .board__row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; }
  .board__region, .board__remark { display: none; }
}

/* Wayfinding signs: what we arrange */
.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--edge-soft); border-radius: 14px; overflow: hidden; border: 1px solid var(--edge-soft); }
@media (max-width: 900px) { .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .signs { grid-template-columns: 1fr; } }
.sign-card { background: var(--night); padding: 26px 24px 24px; }
.sign-card h3 { margin: 18px 0 8px; }
.sign-card p { color: var(--muted); margin: 0; }
.sign-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 6px; background: var(--amber); color: var(--amber-ink); }
.sign-card__icon svg { width: 30px; height: 30px; }
.homecoming { margin-top: 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; background: var(--amber); color: var(--amber-ink); border-radius: 14px; padding: 26px clamp(20px, 3vw, 34px); }
.homecoming h3 { color: var(--amber-ink); margin-bottom: 6px; font-size: 1.9rem; }
.homecoming p { margin: 0; max-width: 60ch; }
.homecoming .sign-card__icon { background: var(--amber-ink); color: var(--amber); }
.homecoming .kbtn { background: var(--amber-ink); color: var(--amber); }
.homecoming .kbtn:hover { background: #3D1B0C; color: var(--amber-hi); }
@media (max-width: 760px) { .homecoming { grid-template-columns: 1fr; } .homecoming .kbtn { justify-self: start; } }

/* After you press send: a real sequence */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); counter-reset: j; position: relative; }
.journey li { counter-increment: j; position: relative; padding-top: 70px; }
.journey li::before { content: counter(j); position: absolute; top: 0; left: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--amber); color: var(--amber); font: 600 1.5rem/1 var(--sign); background: var(--night-2); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 23px; left: 56px; right: -40px; border-top: 2px dashed rgba(244, 182, 63, 0.35); }
.journey li:last-child::after { display: none; }
.journey p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .journey { grid-template-columns: 1fr; } .journey li::after { display: none; } }

/* Who you're booking with */
.trust { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.trust__crest img { width: 220px; filter: drop-shadow(0 10px 30px rgba(244, 182, 63, 0.15)); }
.trust dl { margin: 0; display: grid; grid-template-columns: minmax(9rem, max-content) 1fr; border-top: 1px solid var(--edge-soft); }
.trust dt, .trust dd { padding: 16px 0; border-bottom: 1px solid var(--edge-soft); margin: 0; }
.trust dt { font: 600 1.25rem/1.2 var(--sign); color: var(--amber); padding-right: 24px; }
.trust dd { color: var(--muted); }
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr; }
  .trust__crest img { width: 140px; }
  .trust dl { grid-template-columns: 1fr; }
  .trust dt { border-bottom: 0; padding-bottom: 0; }
  .trust dd { padding-top: 4px; }
}

/* Inner pages -------------------------------------------------------------- */
.page-head { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(26px, 4vw, 44px); border-bottom: 1px solid var(--edge-soft); background: radial-gradient(800px 300px at 80% 0%, rgba(140, 28, 52, 0.4), transparent 70%), var(--night); }
.page-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.page-body { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 8vw, 96px); }
.updated { color: var(--muted); font-size: 0.95rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid aside img { width: 100%; max-width: 280px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid aside { order: -1; } .about-grid aside img { max-width: 150px; } }
.callout { border-left: 4px solid var(--amber); background: var(--panel); padding: 18px 22px; margin: 1.6em 0; border-radius: 0 10px 10px 0; }
.callout p:last-child { margin-bottom: 0; }

/* Full enquiry form (fallback page) ---------------------------------------- */
.enquiry { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.form legend { font: 600 1.9rem/1.1 var(--sign); padding: 0; margin-bottom: 18px; color: var(--amber); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-bottom: 18px; }
.form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form .field label, .form .label { font-size: 1rem; font-weight: 600; color: var(--text); }
.form .hint { font-size: 0.92rem; color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: 400 1.05rem/1.4 var(--sans); color: var(--text); background: rgba(15, 6, 8, 0.7); border: 1px solid var(--edge-soft); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form select option { background: var(--night); }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(244, 182, 63, 0.25); }
.form [aria-invalid="true"] { border-color: var(--error); }
.form .error-text { color: var(--error); font-size: 0.95rem; font-weight: 500; }
.form .choice { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; font-weight: 400; color: var(--muted); }
.form .choice input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--amber); }
.form .radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form .radios label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.form .radios input { width: 18px; height: 18px; accent-color: var(--amber); }
.form .actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.alert { border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
.alert--error { background: rgba(255, 157, 170, 0.08); border: 1px solid rgba(255, 157, 170, 0.45); color: var(--text); }
.alert--error a { color: var(--error); }
.alert h2 { font-size: 1.6rem; margin-bottom: 0.3em; color: var(--error); }
.side-panel { border-top: 2px solid var(--amber); padding-top: 20px; font-size: 1rem; }
.side-panel h2 { font-size: 1.6rem; }
.side-panel ul { padding-left: 1.1em; color: var(--muted); }

/* Enquiry received: boarding-pass receipt */
.receipt { background: #F6EEE8; color: #2B1016; border-radius: 18px; overflow: hidden; max-width: 640px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(244, 182, 63, 0.3); animation: print 700ms cubic-bezier(.2, .7, .2, 1) both; }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-12px); } to { clip-path: inset(0 0 0 0); transform: none; } }
.receipt a { color: var(--oxblood); }
.receipt__band { display: flex; justify-content: space-between; background: var(--oxblood); color: #fff; padding: 14px 24px; font: 600 1.05rem/1 var(--sign); letter-spacing: 0.08em; }
.receipt__band span:last-child { color: var(--amber-hi); }
.receipt__body { padding: 24px; }
.receipt__name { font: 600 1.7rem/1.1 var(--sign); }
.receipt__route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: end; padding: 14px 0 18px; border-bottom: 2px dashed rgba(43, 16, 22, 0.18); margin-bottom: 16px; }
.receipt__route .label { display: block; font-size: 0.85rem; color: #6B5559; }
.receipt__route strong { font: 600 clamp(1.5rem, 4vw, 2.1rem)/1.05 var(--sign); }
.receipt__route svg { width: 32px; height: 32px; color: var(--oxblood); margin-bottom: 4px; }
.receipt__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
@media (max-width: 560px) { .receipt__grid { grid-template-columns: 1fr 1fr; } }
.receipt__grid dt { font-size: 0.85rem; color: #6B5559; }
.receipt__grid dd { margin: 0; font-weight: 600; }
.receipt__small { font-size: 0.9rem; color: #6B5559; margin: 0; }
.receipt__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; border-top: 2px dashed rgba(43, 16, 22, 0.18); }
.receipt__barcode { flex: 1; max-width: 260px; height: 46px; background: repeating-linear-gradient(90deg, #2B1016 0 2px, transparent 2px 4px, #2B1016 4px 5px, transparent 5px 8px, #2B1016 8px 11px, transparent 11px 12px); }
.receipt .button { background: var(--oxblood); color: #fff; }
.receipt .button:hover { background: #6B1426; color: #fff; }

/* Packages ----------------------------------------------------------------- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.pkg { display: flex; flex-direction: column; gap: 6px; min-height: 230px; padding: 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--edge-soft); border-top: 3px solid var(--amber); color: var(--text); text-decoration: none; transition: border-color 160ms, transform 160ms; }
.pkg:hover { border-color: var(--edge); color: var(--text); transform: translateY(-2px); }
.pkg__code { font: 600 1.6rem/1 var(--sign); letter-spacing: 0.12em; color: var(--amber); text-shadow: 0 0 12px rgba(244, 182, 63, 0.3); }
.pkg__title { font: 600 1.6rem/1.08 var(--sign); margin-top: 8px; }
.pkg__meta { color: var(--muted); font-size: 0.98rem; }
.pkg__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--edge-soft); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pkg__price { font: 600 1.45rem/1 var(--sign); color: var(--text); }
.pkg__price--ask { color: var(--led-green); font-size: 1.2rem; letter-spacing: 0.04em; }
.pkg__price--offer { color: var(--amber); font-size: 1.25rem; }
.pkg__op { font-size: 0.9rem; color: var(--muted); }
.pkgs__note { color: var(--muted); font-size: 0.95rem; margin-top: 22px; max-width: 80ch; }
.pkgs__more { margin-top: 22px; }
.pkg-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.pkg-place { font: 600 1.2rem/1.2 var(--sign); letter-spacing: 0.06em; color: var(--amber); margin-top: -6px; }
.pricebox { margin: 22px 0 6px; padding: 18px 20px; border-radius: 14px; background: rgba(244, 182, 63, 0.08); border: 1px solid var(--edge); max-width: 48ch; }
.pricebox__amount { font: 600 2.4rem/1 var(--sign); color: var(--amber); margin-bottom: 8px; }
.pricebox--ask .pricebox__amount { color: var(--led-green); font-size: 1.9rem; }
.pricebox__basis { color: var(--text); margin-bottom: 8px; }
.pricebox__basis:last-child { margin-bottom: 0; }
.pricebox__extra { color: var(--amber-hi); font-size: 0.95rem; margin-bottom: 8px; }
.pricebox__small { color: var(--muted); font-size: 0.9rem; margin: 0; }
.pkg-includes { margin-top: 18px; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.share .kbtn { min-height: 44px; padding: 12px 20px; font-size: 0.98rem; }

.pkg-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pkg-jump a { padding: 10px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--edge-soft); color: var(--text); text-decoration: none; font-weight: 500; }
.pkg-jump a:hover { border-color: var(--amber); }
.pkg-group { margin-bottom: clamp(36px, 5vw, 56px); scroll-margin-top: 90px; }
.pkg-group h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--amber); }

/* Brochure photos as faded backgrounds */
.terminal--photo { background:
    linear-gradient(90deg, rgba(22, 10, 13, 0.93) 0%, rgba(22, 10, 13, 0.72) 48%, rgba(22, 10, 13, 0.86) 100%),
    linear-gradient(180deg, rgba(22, 10, 13, 0.1) 55%, var(--night) 100%),
    var(--hero-img) center 78% / cover no-repeat,
    var(--night); }
.terminal--photo::before { opacity: 0.25; }
.photo-credit { position: absolute; right: var(--gutter); bottom: 10px; margin: 0; font-size: 0.8rem; color: rgba(246, 238, 232, 0.55); }
.pkg { position: relative; overflow: hidden; isolation: isolate; }
.pkg--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pkg-img) center / cover no-repeat; opacity: 0.22; filter: saturate(0.9);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%); }

/* Become an agent */
.join { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .join { grid-template-columns: 1fr; } }
.join__form { position: sticky; top: 90px; background: var(--panel); border: 1px solid var(--edge-soft); border-top: 3px solid var(--amber); border-radius: 14px; padding: 22px; }
.join__form h2 { font-size: 1.8rem; }
.join__form .field { margin-bottom: 14px; }
.costs { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.costs th, .costs td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--edge-soft); }
.costs th { font: 600 1.15rem/1.2 var(--sign); color: var(--amber); padding-right: 20px; width: 38%; }
.costs td { color: var(--text); }
.costs__note { color: var(--muted); font-size: 0.95rem; }
.statutory { margin-top: 28px; border: 2px solid var(--text); border-radius: 6px; padding: 16px 18px; background: rgba(246, 238, 232, 0.04); }
.statutory p { margin: 0; font-weight: 600; }
@media (max-width: 1240px) { .site-nav { gap: 18px; } }

/* ABTA logo: official artwork, never recoloured or cropped, always on white */
.abta-plate { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; line-height: 0; }
.abta-plate img { width: 150px; height: auto; }
.abta-plate--block { display: block; width: max-content; margin: 14px 0 6px; }
.colophon__abta { display: flex; align-items: center; gap: 18px; margin-bottom: 1em; }
.colophon__abta p { margin: 0; }
@media (max-width: 520px) { .colophon__abta { flex-direction: column; align-items: flex-start; } }

/* Footer ------------------------------------------------------------------- */
.colophon { background: var(--board); color: var(--muted); font-size: 0.98rem; border-top: 1px solid var(--edge-soft); }
.colophon a { color: var(--text); }
.colophon__inner { max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px 56px; }
.colophon__name { font: 500 1.5rem var(--serif); color: var(--amber); margin-bottom: 0.4em; }
.colophon__contact { margin-top: 1em; }
.colophon__legal p { max-width: 62ch; }
.colophon__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid var(--edge-soft); padding-top: 22px; }
.colophon__small { grid-column: 1 / -1; font-size: 0.88rem; color: #9C878B; margin: 0; }
@media (max-width: 760px) { .colophon__inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Search live prices: self-service tiles that open the InteleTravel booking site */
.live__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .live__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1180px) { .live__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 420px) { .live__tile { padding: 16px 14px; min-height: 0; } .live__label { font-size: 1.15rem; } .live__desc { font-size: 0.88rem; } }
.live__tile { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 18px 18px; min-height: 150px; background: var(--panel); border: 1px solid var(--edge-soft); border-radius: 14px; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s, background .15s; }
.live__tile::after { content: "↗"; position: absolute; top: 14px; right: 16px; font: 600 1.1rem var(--sans); color: var(--muted); }
.live__tile:hover, .live__tile:focus-visible { border-color: var(--amber); background: var(--panel-2); color: var(--text); transform: translateY(-2px); }
.live__tile:hover::after { color: var(--amber); }
.live__tile--ask { border-style: dashed; border-color: var(--edge); }
.live__tile--ask::after { content: "→"; }
.live__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgba(244, 182, 63, 0.12); color: var(--amber); margin-bottom: 6px; }
.live__icon svg { width: 26px; height: 26px; }
.live__label { font: 600 1.35rem/1.1 var(--sign); letter-spacing: 0.04em; text-transform: uppercase; }
.live__desc { color: var(--muted); font-size: 0.95rem; line-height: 1.4; }
.live__note { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 75ch; }
@media (prefers-reduced-motion: reduce) { .live__tile { transition: none; } .live__tile:hover { transform: none; } }

/* Feature strip (e.g. Homecoming to Ghana on the home page) */
.feature { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(14px, 3vw, 28px); align-items: center; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--edge); border-radius: 16px; text-decoration: none; color: var(--text); background: radial-gradient(600px 200px at 0% 0%, rgba(140, 28, 52, 0.45), transparent 70%), var(--panel); transition: border-color .15s; }
.feature:hover, .feature:focus-visible { border-color: var(--amber); color: var(--text); }
.feature__code { font: 600 clamp(2rem, 5vw, 3.2rem)/1 var(--sign); letter-spacing: 0.08em; color: var(--amber); padding: 10px 14px; border: 1px solid var(--edge); border-radius: 8px; background: rgba(15, 6, 8, 0.6); }
.feature__text { display: grid; gap: 4px; }
.feature__title { font: 600 clamp(1.5rem, 3vw, 2rem)/1.1 var(--sign); letter-spacing: 0.03em; }
.feature__desc { color: var(--muted); }
.feature__go { font-size: 1.6rem; color: var(--amber); }
@media (max-width: 560px) { .feature { grid-template-columns: 1fr auto; } .feature__code { grid-column: 1 / -1; justify-self: start; font-size: 1.6rem; } }
