/* One palette for the whole page, taken from the Haramain train and its stations:
   green  = the deep bottle-green lattice ceilings of the Haramain stations and the train's stripe
   gold   = the thin gold swoosh on the Talgo train and low Hijaz sun
   clay   = the plum-brown granite of Mount Uhud, used only for buttons
   ivory / sand = the white train and the Tihamah coastal plain
   Light sections alternate ivory and sand; dark sections are always the same green. */
:root {
  --night: #1f3b33;
  --night-2: #2c4d43;
  --sun: #d4a94c;
  --rock: #b5654a;
  --rock-d: #96503a;
  --sage: #8aa892;
  --sea: #cfe0d8;
  --cream: #f7f2e7;
  --sand: #efe6d2;
  --line: #ddd2b9;
  --ink: #1f2b27;
  --muted: #55625c;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 "DM Sans", system-ui, sans-serif;
  padding-bottom: 64px; /* room for the horizon ribbon */
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Jost", system-ui, sans-serif; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.9rem); margin: .2em 0 .4em; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-weight: 700; font-size: 1.3rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 12px 24px;
  background: var(--night); color: var(--cream);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Jost"; font-size: 1.15rem; }
.logo b { color: var(--sun); font-weight: 800; }
.logo-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--sun); color: var(--night); font-weight: 800; font-size: .95rem;
}
.site-nav { display: flex; gap: 22px; justify-self: end; grid-column: 2; grid-row: 1; }
.site-nav a { text-decoration: none; font-weight: 500; opacity: .9; }
.site-nav a:hover { color: var(--sun); }
.header-cta {
  grid-column: 3; grid-row: 1;
  background: var(--rock); color: var(--cream); text-decoration: none;
  font-family: "Jost"; font-weight: 700; padding: 9px 18px; border-radius: 999px;
}
.header-cta:hover { background: var(--rock-d); }
.nav-toggle { display: none; }

@media (max-width: 859px) {
  .site-header { grid-template-columns: 1fr auto auto; padding: 10px 16px; row-gap: 0; }
  .logo-text { display: none; }
  .header-cta { grid-column: 2; padding: 8px 14px; font-size: .95rem; }
  .nav-toggle {
    display: grid; gap: 5px; grid-column: 3; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 3px; background: var(--cream); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    grid-column: 1 / -1; grid-row: 2; justify-self: stretch;
    flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 320px; }
  .site-nav a { padding: 12px 4px; border-top: 1px solid var(--night-2); color: var(--cream); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; background: var(--night); color: var(--cream);
  display: grid; grid-template-rows: minmax(0, 1fr); overflow: hidden;
  /* leave room under the fold so the search band peeks in (header ~70px + fixed horizon ribbon ~64px + ~140px of search) */
  height: clamp(440px, calc(100vh - 280px), 640px);
}
.hero-art, .hero-copy { grid-area: 1 / 1; }
.hero-art { min-height: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: left 78%; }
.hero-copy {
  align-self: center; justify-self: end; z-index: 2;
  width: min(500px, 40%); margin: 0 5vw 24px 20px;
}
.hero-copy h1 { color: var(--cream); font-size: clamp(1.9rem, 2.9vw, 3rem); }
.kicker { font-family: "Jost"; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); font-size: .85rem; }
.lede { font-size: 1.12rem; }
.lede.small { opacity: .8; font-size: 1rem; }
@media (max-width: 1099px) {
  /* one poster: text sits on the sky, the train runs along the bottom of the same image */
  .hero { height: auto; min-height: 0; }
  .hero-art { position: relative; }
  .hero-art img { position: absolute; inset: 0; object-position: 42% bottom; }
  .hero-art::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(31,59,51,.92) 0%, rgba(31,59,51,.75) 45%, rgba(31,59,51,0) 72%); }
  .hero-copy { align-self: start; justify-self: stretch; width: auto; margin: 0;
    padding: 30px 20px clamp(250px, 64vw, 400px); }
  .hero-copy h1 { font-size: clamp(1.8rem, 6.4vw, 2.6rem); }
}
@media (max-width: 599px) {
  /* phones: kicker + H1 only and a shorter poster, so the search widget shows on the first screen */
  .hero-copy { padding: 16px 20px 112px; }
  .hero-copy .lede { display: none; }
  .hero-copy .kicker { font-size: .72rem; margin-bottom: 8px; }
  .hero-copy h1 { font-size: 1.6rem; margin-bottom: 0; }
  .hero-art img { object-position: 30% 96%; }
  .hero-art::after { background: linear-gradient(180deg, rgba(31,59,51,.92) 0%, rgba(31,59,51,.7) 40%, rgba(31,59,51,0) 62%); }
  #search.search-band { padding-top: 12px; }
}

/* ---------- search ---------- */
.search-band { background: var(--sand); padding: 28px 16px; border-bottom: 1px solid var(--line); }
/* the widget needs ~1240px+ for its one-row layout; narrower containers squeeze the date field */
#firebird-search-widget { max-width: 1320px; margin: 0 auto; min-height: 90px; }
@media (max-width: 859px) {
  /* same white search card as the desktop bar, instead of loose fields on sand */
  #firebird-search-widget { background: #fff; border-radius: 16px; padding: 14px 12px 4px; min-height: 420px;
    box-shadow: 0 6px 22px rgba(31,59,51,.10); max-width: 520px; }
}

/* look-alike of the hst.light widget, shown only when the widget fails to load.
   Values copied from the rendered widget (DM Sans, #165df6, #707070, #e8e8e8, 6px radii). */
#firebird-search-widget.is-broken { display: none; }
.hsw[hidden] { display: none; }
.hsw { max-width: 1192px; margin: 0 auto; font-family: "DM Sans", sans-serif; color: #191919; }
.hsw svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.hsw-form { display: flex; gap: 16px; color: inherit; text-decoration: none; }
.hsw-route, .hsw-date, .hsw-pax { background: #fff; height: 80px; display: flex; align-items: center; }
.hsw-route { flex: 1 1 auto; min-width: 0; border-radius: 6px 0 0 6px; }
.hsw-date { flex: 0 0 308px; box-sizing: border-box; margin-left: -16px; padding: 0 20px; gap: 10px; border-left: 1px solid #e8e8e8; }
.hsw-pax { flex: 0 0 134px; box-sizing: border-box; margin-left: -16px; padding: 0 20px; border-left: 1px solid #e8e8e8;
  border-radius: 0 6px 6px 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.hsw-st { position: relative; flex: 1 1 0; min-width: 0; height: 64px; display: flex; align-items: center; padding: 18px 48px 0 25px; }
.hsw-lbl { font-size: 12px; font-weight: 700; color: #707070; text-transform: uppercase; line-height: 18px; }
.hsw-st .hsw-lbl { position: absolute; top: 9px; left: 24px; }
.hsw-pin { display: none; color: #191919; }
.hsw-city { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; letter-spacing: -0.002em;
  line-height: 36px; white-space: nowrap; overflow: hidden; }
.hsw-flag { width: 24px; height: 16px; border-radius: 2px; flex: none;
  background: url("https://highspeedtrains.com/common/flags/SA.svg") center / cover no-repeat, #006c35; }
.hsw-x { position: absolute; right: 24px; top: 28px; color: rgba(0,0,0,.25); }
.hsw-swap { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e8e8e8; background: #fff;
  display: grid; place-items: center; color: rgba(0,0,0,.25); margin-top: 0; }
.hsw-swap svg { width: 22px; height: 22px; }
.hsw-dep { display: flex; flex-direction: column; gap: 6px; min-width: 116px; }
.hsw-day { font-size: 12px; font-weight: 700; }
.hsw-ret { width: 138px; height: 45px; display: grid; place-items: center; background: #e8e8e8; border-radius: 6px;
  font-size: 12px; font-weight: 700; }
.hsw-n { display: flex; align-items: center; gap: 6px; color: #707070; font-size: 14px; }
.hsw-n svg { color: #165df6; }
.hsw-n small { font-size: 10px; font-weight: 700; margin-right: -4px; }
.hsw-btn { flex: 0 0 134px; box-sizing: border-box; height: 80px; display: grid; place-items: center; padding: 0 30px; background: #165df6;
  color: #fff; border-radius: 6px; font-size: 14px; font-weight: 700; text-transform: uppercase;
  box-shadow: 0 2px 0 rgba(5,145,255,.1); transition: background .2s; }
.hsw-form:hover .hsw-btn, .hsw-form:focus-visible .hsw-btn { background: #0f4fd8; }
.hsw-form:focus-visible { outline: 2px solid #165df6; outline-offset: 4px; border-radius: 6px; }
.hsw-stay { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; font-size: 14px; color: #1e1e1e; }
.hsw-box { width: 20px; height: 20px; border-radius: 4px; background: #165df6; display: grid; place-items: center; color: #fff; }
.hsw-box svg { width: 16px; height: 16px; }
.hsw-note { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 14px 0 0; font-size: 13px;
  line-height: 1.5; color: #707070; text-align: center; }
.hsw-note svg { color: #e8e8e8; }
@media (max-width: 1100px) {
  .hsw-city { font-size: 20px; }
  .hsw-ret { width: 112px; }
}
@media (max-width: 859px) {
  /* same white card as the real widget gets on mobile */
  .hsw { max-width: 520px; background: #fff; border-radius: 16px; padding: 14px 12px 4px;
    box-shadow: 0 6px 22px rgba(31,59,51,.10); }
  .hsw-form { flex-direction: column; gap: 0; }
  .hsw-route { position: relative; flex-direction: column; height: auto; border-radius: 6px; padding: 0; }
  .hsw-st { width: 100%; height: 57px; flex: none; padding: 26px 64px 0 24px; }
  .hsw-st:first-child { border-bottom: 1px solid #e8e8e8; }
  .hsw-st .hsw-lbl { top: 5px; }
  .hsw-city { font-size: 18px; line-height: 27px; }
  .hsw-x { display: none; }
  .hsw-swap { position: absolute; right: 16px; top: 37px; }
  .hsw-date { flex: none; margin: 0; height: auto; padding: 24px 20px 20px; border: 0; justify-content: space-between; background: transparent; }
  .hsw-ret { width: 140px; }
  .hsw-pax { flex: none; margin: 4px 0 0; height: 72px; border: 0; border-radius: 6px; background: #f9f9f9; align-items: flex-start; padding: 8px 26px; }
  .hsw-btn { margin-top: 16px; height: 56px; flex: none; }
  .hsw-note { display: block; padding: 0 25px 20px; }
  .hsw-note svg { display: none; }
}

/* ---------- sections ---------- */
section { padding: 72px 0; }
.search-band { padding: 28px 16px; }
section.hero { padding: 0; }
.poster-block { background: var(--sand); }
/* strict rhythm: ivory / sand alternate, dark green breaks it twice */
.glance, .jeddah, .classes, .tickets, .faq { background: var(--cream); }
.about, .split, .services { background: var(--sand); }
.poster-block.dark { background: var(--night); color: var(--cream); }
.poster-block.dark h2 { color: var(--cream); }
h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 14px; background: var(--sun); border-radius: 2px; }
.three-col h2::after { margin-top: 10px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col.reverse > :first-child { order: 0; }
.two-col + .two-col { margin-top: 64px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: start; }
.three-col h2 { font-size: 1.55rem; }
.art { border-radius: var(--radius); box-shadow: 8px 8px 0 rgba(18, 39, 31, .14); }
.dark .art { box-shadow: 8px 8px 0 rgba(0, 0, 0, .25); }
.three-col .art { margin-bottom: 18px; box-shadow: 6px 6px 0 rgba(0, 0, 0, .25); }

@media (max-width: 859px) {
  section { padding: 52px 0; }
  .two-col, .three-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col.reverse > :first-child { order: 2; }
  .art { box-shadow: 6px 6px 0 rgba(18, 39, 31, .14); }
}

/* glance facts */
.facts { list-style: none; padding: 0; margin: 0; }
.facts li {
  display: grid; grid-template-columns: 150px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500;
}
.facts span { color: var(--night-2); font-family: "Jost"; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
@media (max-width: 480px) { .facts li { grid-template-columns: 1fr; gap: 0; } }

/* route map */
/* the map is drawn as a soft paper chart, not a loud poster */
.route-map {
  margin: 0 auto; width: 100%; max-width: 380px; background: #fbf8f0; border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--line); box-shadow: 8px 8px 0 rgba(31, 59, 51, .10);
  --rock: #8f6a62; --cream: var(--night);
}
.route-map svg { width: 100%; height: auto; display: block; }
.map-stops circle { fill: #fffdf8; stroke: var(--night); stroke-width: 3; }
.map-stops circle.hl { fill: var(--sun); stroke: var(--night); }
.map-stops text { fill: var(--muted); font: 600 13px "DM Sans", sans-serif; }
.map-stops text.hl-t { fill: var(--night); font: 800 16px "Jost", sans-serif; }
.sea-t { fill: var(--night); opacity: .55; font: 700 12px "Jost"; letter-spacing: .3em; }
.map-line { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s ease; }
.route-map.drawn .map-line { stroke-dashoffset: 0; }

/* station list */
.stops { counter-reset: s; list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stops li {
  counter-increment: s; background: #fffdf8; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 46px 14px 16px; position: relative; font-weight: 500; font-size: .95rem;
}
.stops li::before {
  content: counter(s); position: absolute; top: 12px; left: 14px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--night); color: var(--cream);
  display: grid; place-items: center; font: 800 .85rem "Jost";
}
@media (max-width: 859px) { .stops { grid-template-columns: 1fr 1fr; } }

/* cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 24px; }
.card { background: #fffdf8; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(18, 39, 31, .12); box-shadow: 0 6px 18px rgba(18, 39, 31, .06); }
.card h3, .card p { padding: 0 22px; }
.card p { padding-bottom: 8px; }
@media (max-width: 859px) { .cards { grid-template-columns: 1fr; } }

/* journey time */
.big-stat { font-family: "Jost"; font-size: 1.3rem; }
.big-stat b { font-size: 3.6rem; color: var(--sun); margin-right: 10px; line-height: 1; }

/* CTA band — styled by its container, not by .affiliate-clk */
.cta-band a {
  display: inline-block; margin-top: 6px; padding: 14px 26px; border-radius: 999px;
  background: var(--rock); color: var(--cream); text-decoration: none; font-family: "Jost"; font-weight: 800;
}
.cta-band a:hover { background: var(--rock-d); }

/* compare table */
/* return-trip route card in the dark three-column block */
.return-line { list-style: none; margin: 22px 0 0; padding: 22px 22px 6px; background: var(--night-2); border-radius: 18px; position: relative; }
.return-line::before { content: ""; position: absolute; left: 33px; top: 34px; bottom: 40px; width: 3px; background: var(--sage); border-radius: 2px; }
.return-line li { position: relative; padding: 0 0 20px 34px; }
.return-line li::before { content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--night-2); border: 3px solid var(--cream); }
.return-line li.hl::before { background: var(--sun); border-color: var(--sun); }
.return-line b { display: block; font-family: "Jost"; font-weight: 700; color: var(--cream); line-height: 1.3; }
.return-line li.hl b { color: var(--sun); }
.return-line span { display: block; font-size: .9rem; opacity: .75; margin-top: 2px; }
.compare { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.compare th, .compare td { padding: 10px 0; border-bottom: 1px solid var(--night-2); text-align: left; }
.compare th { font-family: "Jost"; color: var(--sun); width: 40%; }

/* FAQ */
.faq details { border-bottom: 1px solid rgba(18, 39, 31, .2); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: .7em 0; font-size: 1.15rem; }
.faq summary::after { content: "+"; font: 800 1.6rem "Jost"; color: var(--rock); }
.faq details[open] summary::after { content: "–"; }


/* ================= block types — each section gets its own shape ================= */
.eyebrow { display: block; font: 700 .78rem "Jost"; letter-spacing: .14em; text-transform: uppercase; color: var(--rock); margin-bottom: 6px; }

/* 1 · glance: stat tiles beside the map */
.glance-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.facts.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts.tiles li {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
  padding: 16px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf8;
}
/* label · big figure with a small unit · one plain line of detail */
.facts.tiles li span { font: 600 .7rem "DM Sans"; letter-spacing: .12em; color: var(--muted); }
.facts.tiles li b { display: flex; align-items: baseline; gap: 5px; margin-top: 2px;
  font: 800 clamp(1.7rem, 2.4vw, 2.2rem)/1.05 "Jost"; color: var(--ink, #1f2a26); letter-spacing: -.01em; white-space: nowrap;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts.tiles li b small { font: 700 .95rem "Jost"; color: var(--rock); letter-spacing: 0; }
.facts.tiles li em { font: 500 .86rem/1.4 "DM Sans"; font-style: normal; color: var(--night-2); opacity: .85; padding-top: 4px; }

/* 2 · about: text and picture as two equal columns inside the content width, stations sit on one line */
.bleed { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: center;
  max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.bleed-copy { grid-column: 1; }
.bleed-img { grid-column: 2; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; }
#stations { margin-top: 56px; }
.line-stops { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: s; }
.line-stops::before { content: ""; position: absolute; top: 13px; left: 10%; right: 10%; height: 4px; background: var(--night); border-radius: 2px; }
.line-stops li { counter-increment: s; position: relative; text-align: center; padding: 40px 8px 0; font-weight: 500; font-size: .95rem; }
.line-stops li::before {
  content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); border: 4px solid var(--night); font: 800 .8rem "Jost"; color: var(--night);
}
.line-stops li:nth-child(2)::before, .line-stops li:nth-child(5)::before { background: var(--sun); }

/* 4 · panoramas with a floating caption card */
.pano { position: relative; }
.pano + .pano { margin-top: 56px; }
.pano img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 22px; }
/* sun glints on the Red Sea: an overlay cropped exactly like the cover image */
.pano-media { position: relative; }
.pano-glint { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 21 / 9; border-radius: 22px; pointer-events: none; }
.pano-glint rect { fill: #fff; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: glint var(--d) ease-in-out var(--t) infinite; }
@keyframes glint {
  0%, 100% { opacity: 0; transform: translateX(-6px) scaleX(.6); }
  45% { opacity: .75; transform: translateX(0) scaleX(1); }
  60% { opacity: .2; transform: translateX(4px) scaleX(.9); } }
@media (prefers-reduced-motion: reduce) { .pano-glint { display: none; } }
.pano-card {
  position: absolute; left: 40px; bottom: -28px; width: min(420px, 80%);
  background: var(--cream); border-radius: 16px; padding: 22px 26px 8px; box-shadow: 0 18px 40px rgba(31, 59, 51, .18);
}
.pano-right .pano-card { left: auto; right: 40px; }
.pano-card h2 { font-size: 1.55rem; }
.split { padding-bottom: 100px; }

/* 5 · time: a row of big numbers, then a full-width picture strip */
.time { padding-bottom: 0; }
.numbers { list-style: none; padding: 0; margin: 10px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--night-2); }
.numbers li { padding: 22px 0 0; display: flex; flex-direction: column; gap: 4px; }
.numbers li + li { padding-left: 28px; border-left: 1px solid var(--night-2); }
.numbers b { font: 800 clamp(2.6rem, 6vw, 4.4rem)/1 "Jost"; color: var(--sun); }
.numbers span { opacity: .8; }
.time-text { columns: 2; column-gap: 48px; max-width: 900px; }
.strip { width: 100%; height: clamp(180px, 26vw, 340px); object-fit: cover; object-position: center 62%; margin-top: 44px; }
@media (max-width: 859px) { .strip { height: auto; aspect-ratio: 21 / 9; } }

/* 6 · classes: head-to-head comparison */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; margin-top: 28px; align-items: start; }
.class-col img { border-radius: 18px; }
/* both columns share one set of rows (image / title / text / specs), so the spec rows sit level */
@media (min-width: 860px) {
  .versus { grid-template-rows: auto auto auto auto; row-gap: 0; }
  .class-col { grid-row: 1 / span 4; display: grid; grid-template-rows: subgrid; }
  .class-col:first-child { grid-column: 1; }
  .class-col:last-child { grid-column: 3; }
  .vs { grid-column: 2; grid-row: 1; margin-top: 0; }
  .class-col > p { margin-bottom: 14px; }
  .class-col .spec { align-self: start; }
}
.class-col h3 { font-size: 1.45rem; }
.vs { align-self: center; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: var(--sun); font: 800 1.1rem "Jost"; margin-top: -60px; }
.spec { display: grid; grid-template-columns: auto 1fr; margin: 6px 0 0; border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 700 .75rem "Jost"; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 24px; display: flex; align-items: center; }
.spec dd { display: flex; align-items: center; }
.spec dd { font-weight: 600; }

/* 7 · services: image in a station-style arch, icon row */
.services-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.arch { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 18px 18px; border: 8px solid var(--cream); box-shadow: 0 0 0 1px var(--line); }
.icons { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.icons li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font: 600 .85rem "DM Sans"; }
.icons svg { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: var(--night); fill: none; stroke: var(--sun); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 8 · tickets: three steps, then a green booking panel */
.tickets-text { columns: 2; column-gap: 48px; }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--line); background: #fffdf8; }
.steps li:first-child { border-radius: 14px 0 0 14px; }
.steps li:last-child { border-radius: 0 14px 14px 0; }
.steps li + li { border-left: 0; }
.steps li::before { content: counter(st); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: var(--night); display: grid; place-items: center; font: 800 .95rem "Jost"; }
.steps b { display: block; font: 700 1.05rem "Jost"; }
.steps span { color: var(--muted); font-size: .92rem; }
.ticket-panel { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; background: var(--night); color: var(--cream); border-radius: 22px; overflow: hidden; }
.ticket-panel img { width: 100%; height: 100%; object-fit: cover; }
.ticket-panel .cta-band { padding: 32px 40px; }
.ticket-panel .cta-band p { font: 700 1.4rem/1.25 "Jost"; }

/* 10 · FAQ: sticky heading on the left */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 96px; }
.faq-head p { color: var(--muted); }

@media (max-width: 859px) {
  .glance-grid, .services-grid, .faq-grid, .ticket-panel { grid-template-columns: 1fr; gap: 28px; }
  .facts.tiles { grid-template-columns: 1fr 1fr; }
  .bleed { grid-template-columns: 1fr; gap: 24px 0; padding: 0 16px; }
  .bleed-copy, .bleed-img { grid-column: 1; }
  .bleed-img { border-radius: 18px; }
  .line-stops { grid-template-columns: 1fr; gap: 14px; }
  .line-stops::before { left: 13px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .line-stops li { text-align: left; padding: 4px 0 0 46px; min-height: 30px; }
  .line-stops li::before { left: 15px; }
  .pano img { aspect-ratio: 4 / 3; }
  .pano-glint { aspect-ratio: 4 / 3; border-radius: 18px; }
  .pano-card { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -40px 14px 0; }
  .pano-right .pano-card { right: auto; }
  .split { padding-bottom: 52px; }
  .numbers { grid-template-columns: 1fr; }
  .numbers li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--night-2); padding-top: 16px; margin-top: 16px; }
  .time-text, .tickets-text { columns: 1; }
  .versus { grid-template-columns: 1fr; }
  .vs { margin: 0 auto; }
  .arch { max-width: 300px; margin: 0 auto; }
  .icons { grid-template-columns: 1fr 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child, .steps li:last-child { border-radius: 0; border-left: 1px solid var(--line); }
  .steps li:first-child { border-radius: 14px 14px 0 0; }
  .steps li:last-child { border-radius: 0 0 14px 14px; }
  .steps li + li { border-top: 0; }
  .ticket-panel img { max-height: 240px; }
  .ticket-panel .cta-band { padding: 24px; }
  .faq-head { position: static; }
}

/* ---------- horizon ribbon (scroll mechanic) ---------- */
.horizon {
  position: fixed; left: 0; right: 0; bottom: 0; height: 56px; z-index: 40;
  background: var(--night); overflow: hidden; pointer-events: none;
}
.horizon .layer { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; will-change: transform; }
.horizon .far path { fill: #8f6a62; }
.horizon .near path { fill: var(--sun); }
.horizon .track { position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; background: var(--night); opacity: .5; }
.mini-train { position: absolute; bottom: 10px; left: 0; width: 70px; height: 13px; will-change: transform; }
.horizon .end { position: absolute; top: 6px; font: 700 .7rem "Jost"; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.end-a { left: 12px; } .end-b { right: 12px; }
@media (max-width: 859px) { .horizon { height: 44px; } body { padding-bottom: 44px; } .mini-train { width: 56px; } }
@media (prefers-reduced-motion: reduce) { .map-line { transition: none; stroke-dashoffset: 0; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--cream); padding: 44px 0 28px; font-size: .92rem; }
.site-footer a { color: var(--sun); text-decoration: underline; }

/* ================= motion — all of it is off for prefers-reduced-motion ================= */
/* comparison bars (static fallback: full width) */
.compare .bar { display: flex; height: 6px; margin-top: 8px; border-radius: 3px; overflow: hidden; }
.compare .bar i { display: block; width: var(--w); height: 100%; background: rgba(245, 237, 222, .45); }
.compare tr:first-child .bar i { background: var(--sun); }
.compare .bar i.wait { background: repeating-linear-gradient(135deg, rgba(245,237,222,.45) 0 4px, transparent 4px 8px); }
.compare td { font-variant-numeric: tabular-nums; }
.numbers b, .facts.tiles li b, .facts.tiles li em { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  /* 1 · hero: the scene settles in, the copy rises after it */
  .hero-art img { animation: hero-in 1.8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(1) { animation-delay: .25s; }
  .hero-copy > :nth-child(2) { animation-delay: .4s; }
  .hero-copy > :nth-child(3) { animation-delay: .55s; }
  .hero-copy > :nth-child(4) { animation-delay: .7s; }
  @keyframes hero-in { from { transform: scale(1.07) translateX(-2.5%); opacity: .55; } to { transform: none; opacity: 1; } }
  @keyframes rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }

  /* 2 · return-trip card: the line draws down, stops light up one by one, the airport glows */
  .anim .return-line::before { transform: scaleY(0); transform-origin: top; transition: transform 1.4s cubic-bezier(.4, 0, .2, 1) .1s; }
  .anim .return-line li { opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s; }
  .anim .return-line li::before { transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
  .anim .return-line.in::before { transform: none; }
  .anim .return-line.in li, .anim .return-line.in li::before { opacity: 1; transform: none; }
  .anim .return-line li:nth-child(1), .anim .return-line li:nth-child(1)::before { transition-delay: .1s; }
  .anim .return-line li:nth-child(2), .anim .return-line li:nth-child(2)::before { transition-delay: .5s; }
  .anim .return-line li:nth-child(3), .anim .return-line li:nth-child(3)::before { transition-delay: .9s; }
  .anim .return-line li:nth-child(4), .anim .return-line li:nth-child(4)::before { transition-delay: 1.3s; }
  .anim .return-line.in li.hl::before { animation: glow 1.2s ease-out 1.4s 2; }
  @keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(212, 169, 76, .7); } 100% { box-shadow: 0 0 0 12px rgba(212, 169, 76, 0); } }

  /* 4 · glance tiles step in, numbers count up (script.js) */
  .anim .facts.tiles li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
  .anim .facts.tiles.in li { opacity: 1; transform: none; }
  .anim .facts.tiles li:nth-child(2) { transition-delay: .08s; }
  .anim .facts.tiles li:nth-child(3) { transition-delay: .16s; }
  .anim .facts.tiles li:nth-child(4) { transition-delay: .24s; }
  .anim .facts.tiles li:nth-child(5) { transition-delay: .32s; }
  .anim .facts.tiles li:nth-child(6) { transition-delay: .4s; }

  /* 6 · train vs plane vs car: the bars grow, the train's is the gold one */
  .anim .compare .bar i { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
  .anim .compare.in .bar i { transform: none; }
  .anim .compare tr:nth-child(2) .bar i { transition-delay: .2s; }
  .anim .compare tr:nth-child(2) .bar i.wait { transition-delay: .9s; }
  .anim .compare tr:nth-child(3) .bar i { transition-delay: .4s; transition-duration: 1.8s; }
}

/* ================= luggage: one suitcase, one tag, two lists ================= */
.luggage { background: var(--sand); }
.luggage-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 56px; align-items: center; }
.case { margin: 0; text-align: center; }
.case svg { width: 100%; max-width: 320px; overflow: visible; }
.tag-string { fill: none; stroke: #1f3b33; stroke-width: 2.5; }
.tag-card { fill: var(--cream); stroke: #1f3b33; stroke-width: 2.5; }
.tag-hole { fill: var(--sand); stroke: #1f3b33; stroke-width: 2; }
.case-tag text { font: 800 17px "Jost"; fill: #1f3b33; }
.cs-sticker { font: 800 10px "Jost"; letter-spacing: .06em; fill: #1f3b33; }
.case-tag { transform-box: view-box; transform-origin: 185px 54px; }
.case figcaption { margin-top: 10px; font: 700 .8rem "Jost"; letter-spacing: .12em; color: var(--night-2); }

.pack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pack > div { background: #fffdf8; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 8px; }
.pack h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.1rem; }
.pack h3::before { content: ""; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--night) center / 14px no-repeat; }
.pack h3.pack-yes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23d4a94c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pack h3.pack-no::before { background-color: var(--rock); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' fill='none' stroke='%23fbf6ec' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pack ul { list-style: none; padding: 0; margin: 0; }
.pack li { padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.45; }
.luggage-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.luggage-notes p { margin: 0; padding: 16px 20px; border-left: 4px solid var(--sun); background: rgba(255, 253, 248, .6); border-radius: 0 12px 12px 0; font-size: .93rem; }
.luggage-notes b { display: block; font-family: "Jost"; color: var(--night); margin-bottom: 4px; }

@media (max-width: 859px) {
  .luggage-grid { grid-template-columns: 1fr; gap: 24px; }
  .case svg { max-width: 230px; }
  .pack, .luggage-notes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .anim .case-tag { transform: rotate(-24deg); }
  .anim .case.in .case-tag { animation: tag-swing 2.2s cubic-bezier(.3, .1, .3, 1) .2s both; }
  @keyframes tag-swing { 0% { transform: rotate(-24deg); } 30% { transform: rotate(14deg); } 52% { transform: rotate(-8deg); }
    72% { transform: rotate(4deg); } 88% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }
}
