/* River Card Cruise Line
 * Visual language inspired by modern lifestyle cruise sites: full-bleed photo hero, bold
 * geometric display type, deep plum + signal red palette, square-ish uppercase buttons,
 * photo cards with overlaid titles, charcoal feature panels and a black footer.
 * Fonts: Outfit + Figtree (SIL OFL), self-hosted. */

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

/* Bodoni Moda (SIL OFL): a 1960s Riviera-style Didone used only for section headings. Not
 * preloaded (nothing above the fold uses it) and swap means it never blocks rendering. */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}

:root {
  --plum: #2a0a3b;
  --plum-2: #3d1356;
  --lilac: #dcc6ea;
  --red: #d3122a;
  --red-dark: #a80d20;
  --ink: #151515;
  --gray: #4a4a4a;
  --gray-2: #6b6b6b;
  --line: #e0e0e0;
  --off: #fafafa;
  --panel: #f2f2f2;
  --charcoal: #333333;
  --gold: #c8a96a;
  --gold-line: rgba(200, 169, 106, .38);
  --ivory: #efe8d8;
  --ivory-2: #d9d2c2;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 3px #fff, 0 0 0 6px #6a2a91;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Fluid root size: 16px up to ~1400px wide, growing to 19px on 2560px screens. Everything
 * sized in rem (type, container, cards) scales with it, so wide monitors don't get a tiny
 * column of small text. */
html { font-size: clamp(16px, 0.3vw + 11.8px, 19.5px); scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body { font-family: var(--body); font-size: 1rem; overflow-x: clip; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }
/* One content width for every section (nav, hero finder, cards, footer), with full-bleed
 * backgrounds outside it. 82rem = 1312px at 16px root, ~1600px at 19.5px. */
:root { --maxw: 82rem; --gutter: clamp(20px, 4vw, 64px); }
.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 15px 28px; border-radius: 3px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.9); background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 0.72rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Highlights strip ---------- */
.strip { background: var(--plum); color: #fff; font-size: 0.85rem; }
.strip-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; column-gap: 2.25rem; row-gap: 4px; padding-top: 10px; padding-bottom: 10px; }
.strip-list li { white-space: nowrap; }
.strip-list li { display: flex; align-items: center; gap: 8px; }
.strip-icon { color: var(--lilac); }
.strip-strong { font-weight: 700; }

/* ---------- Hero ---------- */
/* Hero fills most of the window (svh = small viewport height, so mobile URL bars don't
 * cause jumps), never shorter than 600px or taller than 62rem. */
.hero { position: relative; min-height: clamp(600px, 88vh, 62rem); min-height: clamp(600px, 88svh, 62rem); color: #fff; display: flex; flex-direction: column; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 45% 85%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10,4,16,.65) 0%, rgba(10,4,16,.15) 28%, rgba(10,4,16,.25) 55%, rgba(10,4,16,.75) 100%); }

.topbar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark-name { display: inline-flex; align-items: flex-start; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; white-space: nowrap; }
/* Card-suit accent: a small red diamond tucked against the wordmark. */
.wordmark-suit { color: var(--red); font-size: .5em; margin-left: .3em; margin-top: .1em; letter-spacing: 0; }
.wordmark-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: 0.66rem; letter-spacing: 0.42em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.wordmark-line::before { content: ""; display: block; height: 2px; width: 22px; background: var(--red); }
.nav-links { list-style: none; display: flex; gap: clamp(18px, 2.2vw, 2.5rem); }
.nav-links a { font-family: var(--display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--red); }

.hero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding-top: clamp(24px, 5vh, 4rem); padding-bottom: 9rem; }
.hero-kicker { font-family: var(--display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 18px; }
.hero-title { font-size: clamp(2.6rem, 6vw, 6.6rem); font-weight: 800; line-height: .95; letter-spacing: -0.025em; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { max-width: 36rem; font-size: 1.15rem; margin: 20px auto 14px; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-price { font-size: .95rem; letter-spacing: .02em; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-price strong { font-family: var(--display); font-size: 1.5rem; font-weight: 800; margin: 0 4px; }

/* Finder bar */
.finder-wrap { position: relative; z-index: 3; padding-bottom: clamp(24px, 4vh, 3rem); }
.finder { width: 100%; max-width: 64rem; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; background: #fff; color: var(--ink); border-radius: 4px; box-shadow: 0 12px 40px rgba(0,0,0,.3); padding: 8px; gap: 0; }
.finder-field { display: flex; flex-direction: column; min-width: 0; padding: 6px 14px; border-right: 1px solid var(--line); }
.finder-label { font-size: .72rem; color: var(--gray-2); font-weight: 600; letter-spacing: .02em; }
.finder select { width: 100%; min-width: 0; text-overflow: ellipsis; appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 700 0.95rem var(--body); color: var(--ink); padding: 2px 22px 2px 0; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--red) 50%), linear-gradient(135deg, var(--red) 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.finder-go { margin-left: 8px; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 7rem) 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--off); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 12px; }
.section-title.center { text-align: center; margin-top: clamp(56px, 7vw, 6rem); }
.section-lead { color: var(--gray); font-size: 1.1rem; max-width: 46rem; margin-bottom: 36px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow::after { content: ""; width: 56px; height: 1px; background: var(--gold); }
.eyebrow-light { color: #fff; }
.eyebrow-lilac { color: var(--lilac); }

/* ---------- Voyage cards ---------- */
.voyage-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 2rem); }
.voyage-card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 0; background: var(--panel); border-radius: 6px; overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: transform .2s ease, box-shadow .2s ease; outline: 3px solid transparent; outline-offset: 3px; }
.voyage-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.voyage-card.active { outline-color: var(--red); }
.voyage-media { position: relative; display: block; aspect-ratio: 4 / 3.6; overflow: hidden; }
.voyage-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.voyage-card:hover .voyage-media img { transform: scale(1.04); }
.voyage-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%); color: #fff; }
.voyage-name { font-family: var(--display); font-weight: 800; font-size: 1.85rem; line-height: 1.02; letter-spacing: -.01em; }
.pills { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pill { font-size: .82rem; font-weight: 600; background: rgba(21,21,21,.55); backdrop-filter: blur(4px); padding: 4px 12px; border-radius: 999px; }
.pill-port::before { content: "\25CF"; color: var(--lilac); margin-right: 6px; font-size: .7em; vertical-align: 1px; }
.voyage-foot { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; }
.voyage-meta { font-size: .92rem; color: var(--gray); }
.voyage-meta strong { color: var(--ink); }
.voyage-cta { display: block; text-align: center; font-family: var(--display); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 3px; padding: 11px; background: #fff; }
.voyage-card:hover .voyage-cta, .voyage-card.active .voyage-cta { background: var(--ink); color: #fff; }

/* ---------- Detail: route + fares ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 24px rgba(0,0,0,.08); border: 1px solid var(--line); }
.detail-route { padding: clamp(24px, 3vw, 3.5rem); background: #fff; }
.detail-title { font-size: 1.9rem; font-weight: 700; margin-bottom: 10px; }
.detail-summary { color: var(--gray); margin-bottom: 22px; }
.facts { display: flex; gap: 28px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.fact { display: flex; flex-direction: column; }
.fact-label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-2); font-weight: 700; font-family: var(--display); }
.fact-value { font-weight: 700; }

.route { list-style: none; columns: 2; column-gap: 32px; }
.route li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 6px 0 6px 18px; break-inside: avoid; border-left: 2px solid #e9e1ee; }
.route li::before { content: ""; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--plum-2); }
.route li:first-child::before, .route li:last-child::before { background: var(--red); border-color: var(--red); }
.route-day { font-size: .75rem; color: var(--gray-2); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.route-place { font-weight: 600; }
.route-note { grid-column: 2; font-size: .8rem; color: var(--plum-2); }

.detail-fares { background: var(--charcoal); color: #fff; padding: clamp(24px, 3vw, 3.5rem); border-left: 6px solid var(--red); }
.fares-title { font-size: 1.5rem; margin-bottom: 16px; }
.dates { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.date { display: flex; flex-direction: column; text-align: left; font: inherit; color: #fff; background: transparent; border: 2px solid rgba(255,255,255,.35); border-radius: 3px; padding: 10px 14px; cursor: pointer; }
.date:hover { border-color: #fff; }
.date.active { background: #fff; color: var(--ink); border-color: #fff; }
.date-main { font-weight: 700; }
.date-sub { font-size: .8rem; opacity: .8; }
.fares { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.fares th, .fares td { padding: 12px 8px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.14); }
.fares thead th { font-family: var(--display); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #c9c9c9; font-weight: 700; }
.fares tbody tr { cursor: pointer; }
.fares tbody tr:hover { background: rgba(255,255,255,.06); }
.fares tbody tr.selected { background: rgba(211,18,42,.22); box-shadow: inset 4px 0 0 var(--red); }
.fares tbody th { font-weight: 600; }
.fares .price { font-family: var(--display); font-size: 1.3rem; font-weight: 800; }
.fares .muted { color: #c9c9c9; }
.fine-print { font-size: .78rem; color: #c9c9c9; margin-bottom: 20px; }
/* Senior rate (SENIOR_RATE in app.js) */
.fares .price-senior { display: block; margin-top: 2px; font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: .01em; color: var(--lilac); white-space: nowrap; }
.fare-calc { border: 1px solid rgba(255,255,255,.18); border-radius: 4px; padding: 14px 16px 16px; margin: 0 0 12px; min-width: 0; }
.calc-title { padding: 0 6px; margin-left: -6px; font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c9c9c9; }
.calc-guests { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 12px; }
.calc-guest { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.calc-guest input { width: 18px; height: 18px; accent-color: var(--red); cursor: pointer; }
.calc-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.calc-label { flex-basis: 100%; font-size: .82rem; color: #c9c9c9; }
.calc-amount { font-family: var(--display); font-size: 1.6rem; font-weight: 800; }
.calc-save { font-size: .85rem; font-weight: 700; color: var(--lilac); }
.calc-note { flex-basis: 100%; font-size: .74rem; color: #a9a9a9; margin-top: 2px; }
.senior-fine { margin-bottom: 18px; }
.voyage-senior { margin-top: -6px; font-size: .85rem; color: var(--gray); }
.voyage-senior strong { color: var(--ink); }
.senior-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #f1e6f7; color: var(--plum-2); font-weight: 700; font-size: .76rem; letter-spacing: .02em; }
.notice { margin-top: 14px; padding: 14px 16px; border-radius: 3px; background: #fff8e6; color: #4d3d0c; border-left: 4px solid #e2b634; font-size: .92rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 24px rgba(0,0,0,.08); }
.split-img { width: 100%; height: 100%; object-fit: cover; min-height: 26rem; }
.split-panel { background: var(--charcoal); color: #fff; padding: clamp(32px, 4.5vw, 5rem); border-left: 6px solid var(--red); display: flex; flex-direction: column; justify-content: center; }
.split-title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 16px; }
.split-panel p { color: #e6e6e6; margin-bottom: 24px; }
.link-arrow { font-family: var(--display); font-weight: 700; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

.perks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.perk { background: #fff; padding: 24px; border-radius: 4px; box-shadow: 0 2px 14px rgba(0,0,0,.07); border-top: 3px solid var(--plum-2); }
.perk h3 { font-size: 1.1rem; margin-bottom: 6px; }
.perk p { color: var(--gray); font-size: .95rem; }

/* ---------- Evening touch: serif section headings + gold hairlines (light, site-wide) ---------- */
.section-title, .split-title, .banner-text h2, .vegas-title, .casino-card h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.005em; }
.section-title.center::after { content: ""; display: block; width: 64px; height: 1px; background: var(--gold); margin: 16px auto 0; }

/* ---------- Casino: black-tie evening, emerald felt + gold ---------- */
.casino { background: radial-gradient(1100px 520px at 85% 0%, rgba(28, 96, 70, .55) 0%, transparent 62%), radial-gradient(900px 600px at 0% 100%, rgba(20, 72, 54, .35) 0%, transparent 60%), #0a1511; color: var(--ivory); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.casino .eyebrow { color: var(--gold); }
.casino-title { color: #fff; }
.casino-lead { color: var(--ivory-2); }
.casino-stats { list-style: none; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); border-radius: 6px; overflow: hidden; margin-bottom: clamp(20px, 2vw, 2rem); }
.casino-stats li + li { border-left: 1px solid var(--gold-line); }
.casino-stats li { padding: clamp(14px, 1.4vw, 1.4rem) clamp(14px, 1.4vw, 1.5rem); display: flex; flex-direction: column; gap: 2px; }
.casino-stats b { white-space: nowrap; font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.9rem); font-weight: 800; line-height: 1.1; color: #fff; }
.casino-stats b::before { content: "\25C6"; color: var(--red); font-size: .55em; vertical-align: .3em; margin-right: .45em; }
.casino-stats span { font-size: .85rem; color: var(--ivory-2); }
.casino-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 1.5rem); }
.casino-card { background: rgba(255,255,255,.035); border: 1px solid var(--gold-line); border-radius: 6px; padding: clamp(18px, 1.8vw, 1.9rem); }
.casino-card h3 { font-size: 1.2rem; margin: 4px 0 10px; }
.casino-card p { color: var(--ivory-2); }
.casino-suit { font-size: 1.35rem; letter-spacing: .1em; color: var(--gold); }
.casino-card-info { background: #f7f2e7; color: var(--ink); border: 0; border-left: 6px solid var(--red); }
.casino-card-info p { color: var(--gray); }
.diamond-list { list-style: none; display: grid; gap: 7px; font-size: .95rem; line-height: 1.4; color: var(--ivory-2); }
.diamond-list li { position: relative; padding-left: 1.15em; }
.diamond-list li::before { content: "\25C6"; position: absolute; left: 0; top: .1em; color: var(--red); font-size: .72em; }
.casino-card-info .diamond-list { color: var(--gray); }
.vegas-title { font-size: clamp(1.35rem, 2.1vw, 1.8rem); color: #fff; margin: clamp(32px, 3.4vw, 3.5rem) 0 14px; }
.vegas-title::before { content: "\25C6"; color: var(--red); font-size: .6em; vertical-align: .25em; margin-right: .5em; }
.vegas-grid { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.vegas-grid li { border: 1px solid var(--gold-line); border-top: 2px solid var(--gold); border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; background: rgba(255,255,255,.04); }
.vegas-grid b { font-family: var(--display); font-size: .98rem; font-weight: 700; line-height: 1.2; color: #fff; }
.vegas-grid span { font-size: .82rem; line-height: 1.35; color: var(--ivory-2); }
.responsible { margin-top: 28px; font-size: .92rem; color: var(--ivory-2); border-top: 1px solid var(--gold-line); padding-top: 18px; }
.responsible a { color: #fff; font-weight: 700; }

/* ---------- Travel ---------- */
.travel { padding-top: 0; }
.banner { position: relative; min-height: clamp(360px, 34vw, 40rem); display: flex; align-items: flex-end; color: #fff; }
.banner picture, .banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner img { object-fit: cover; }
.banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,4,16,.78) 0%, rgba(10,4,16,.35) 55%, rgba(10,4,16,.1) 100%); }
.banner-text { position: relative; z-index: 1; width: 100%; padding-top: 80px; padding-bottom: 120px; }
.banner-text h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 12px; }
.banner-text p { max-width: 34rem; font-size: 1.1rem; }

.travel-panel { position: relative; z-index: 2; margin-top: -72px; background: #fff; border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.14); padding: clamp(20px, 2.5vw, 2.75rem); }
.travel-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.panel-title { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.status { min-height: 1.6em; margin-top: 10px; color: var(--gray); font-size: .95rem; }
.privacy { font-size: .85rem; color: var(--gray-2); margin-top: 6px; }
.privacy a { color: inherit; text-decoration: underline; }
.consent { margin-top: 10px; padding: 12px 14px; background: #f6f1fa; border-left: 3px solid var(--plum-2); border-radius: 4px; color: var(--gray); line-height: 1.5; }
.btn-link { margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: .85rem; color: var(--red-dark); text-decoration: underline; cursor: pointer; }
.btn-link[hidden] { display: none; }
.manual input { width: 100%; padding: 14px 16px; font: 1rem var(--body); border: 1px solid #bdbdbd; border-radius: 3px; background: #fff; }
.manual input:focus { border-color: var(--plum-2); box-shadow: var(--focus); outline: none; }
.matches { list-style: none; margin-top: 8px; }
.matches button { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 11px 12px; margin-bottom: 6px; font: inherit; color: var(--ink); cursor: pointer; }
.matches button:hover, .matches button:focus-visible { border-color: var(--ink); background: var(--off); }
.matches .code { font-family: var(--display); font-weight: 800; margin-right: 10px; }
.map-wrap { margin-top: 28px; }
.map { width: 100%; height: clamp(280px, 32vw, 30rem); border-radius: 4px; border: 1px solid var(--line); z-index: 0; }
.map-hint { font-size: .85rem; color: var(--gray-2); margin-top: 8px; }

.results { margin-top: 40px; }
.results > h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 6px; }
.results > p { color: var(--gray); max-width: 52rem; font-size: .95rem; }
.results .notice { max-width: 52rem; }
.airport-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 20px; margin-top: 22px; }
.airport { display: flex; flex-direction: column; background: var(--panel); border-radius: 6px; padding: 22px; border-top: 4px solid #9e9e9e; }
.airport.hub { border-top-color: var(--plum-2); }
.airport-head { display: flex; gap: 14px; align-items: center; }
.airport-code { font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.airport-name { font-weight: 700; line-height: 1.25; }
.muted { color: var(--gray-2); }
.small { font-size: .85rem; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 8px; }
.tag { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag-hub { background: var(--plum-2); color: #fff; }
.tag-regional { background: #dcdcdc; color: #2b2b2b; }
.tag-best { background: var(--red); color: #fff; }
.airport-stats { font-size: .95rem; margin: 2px 0 6px; }
.airport .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.airport .actions .btn { padding: 12px 12px; font-size: .7rem; white-space: nowrap; }
.airport .actions .btn-primary { flex: 1 1 auto; }
.airport .actions .btn-secondary { flex: 0 0 auto; }
.airport .actions .btn-secondary { background: #fff; color: var(--ink); border-color: var(--ink); }
.airport .actions .btn-secondary:hover { background: var(--ink); color: #fff; }
.near-fll h3 { font-size: 1.6rem; margin-bottom: 8px; }
.near-fll > p { color: var(--gray); }

/* ---------- App band ---------- */
.app-band { background: var(--off); border-top: 1px solid var(--line); }
.app-note { color: var(--gray); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: #111; color: #d6d6d6; padding: 64px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.6fr); gap: 36px; border-top: 1px solid var(--gold-line); padding-top: 40px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .wordmark-line { margin-bottom: 16px; }
.footer-brand .wordmark-name, .footer-brand .wordmark-line { display: flex; }
.footer-head { font-family: var(--display); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { font-size: .8rem; color: #a9a9a9; line-height: 1.55; }
.footer-small a { color: #e2e2e2; }
.footer-bottom { margin-top: 36px; font-size: .78rem; color: #8f8f8f; }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) { .strip-list .strip-optional { display: none; } }
@media (max-width: 1180px) { .strip-list .strip-minor { display: none; } }
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .casino-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  .vegas-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vegas-grid li:nth-last-child(-n+2) { grid-column: span 2; }
}
@media (max-width: 900px) {
  .voyage-cards { grid-template-columns: 1fr; max-width: 520px; }
  .voyage-media { aspect-ratio: 16 / 11; }
  .detail { grid-template-columns: 1fr; }
  .detail-fares { border-left: 0; border-top: 6px solid var(--red); }
  .split { grid-template-columns: 1fr; }
  .split-img { min-height: 260px; max-height: 340px; }
  .split-panel { border-left: 0; border-top: 6px solid var(--red); padding: 40px 28px; }
  .travel-controls { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .strip-list li:not(.strip-strong):not(:first-child) { display: none; }
  .strip-list { column-gap: 1.25rem; font-size: .8rem; }
  .topbar { padding-top: 16px; padding-bottom: 16px; }
  .wordmark-name { font-size: 1.25rem; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 40px; padding-bottom: 28px; }
  .hero-sub { font-size: 1.02rem; }
  .finder { grid-template-columns: 1fr; padding: 6px 6px 10px; }
  .finder-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; }
  .finder-go { margin: 10px 6px 0; }
  .section { padding: 60px 0; }
  .section-title.center { margin-top: 60px; }
  .detail-route, .detail-fares { padding: 28px 22px; }
  .route { columns: 1; }
  .perks { grid-template-columns: 1fr; }
  .casino-cards { grid-template-columns: 1fr; }
  .casino-stats { grid-template-columns: 1fr 1fr; }
  .casino-stats li:last-child { grid-column: 1 / -1; }
  .casino-stats li + li { border-left: 0; }
  .casino-stats li:nth-child(even) { border-left: 1px solid var(--gold-line); }
  .casino-stats li:nth-child(n+3) { border-top: 1px solid var(--gold-line); }
  .vegas-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .vegas-grid li { padding: 10px 11px; }
  .vegas-grid li:nth-last-child(-n+2) { grid-column: auto; }
  .casino-lead { margin-bottom: 24px; }
  .casino-cards { gap: 12px; }
  .casino-card { padding: 16px 16px 18px; }
  .casino-suit { float: right; font-size: 1.05rem; line-height: 1.6; }
  .casino-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
  .diamond-list { gap: 5px; font-size: .93rem; }
  .casino-stats li { padding: 11px 13px; }
  .vegas-title { margin-top: 28px; }
  .banner { min-height: 360px; }
  .banner-text { padding-bottom: 100px; }
  .travel-panel { padding: 24px 20px; margin-top: -60px; }
  .map { height: 300px; }
  .airport-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Brand accents ---------- */
.kicker-dot { color: var(--red); margin: 0 .5em; }
@media (max-width: 700px) {
  .kicker-brand, .kicker-route { display: block; }
  .kicker-dot { display: none; }
  .kicker-route { margin-top: 6px; font-size: .9em; opacity: .9; }
}

/* ---------- Visit-logging notice (Worker build only) ---------- */
.visit-notice { margin-top: 10px; color: #a9a9a9; }
.visit-notice a { color: #fff; }

/* ---------- Privacy policy page ---------- */
.legal-top { background: var(--plum); color: #fff; }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.legal-top a.back { color: #fff; font-size: .9rem; }
.legal { max-width: calc(52rem + 2 * var(--gutter)); padding-top: 3rem; padding-bottom: 5rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.legal p, .legal li { color: var(--gray); line-height: 1.65; margin-bottom: .6rem; }
.legal ul { padding-left: 1.3rem; }
.legal table { width: 100%; border-collapse: collapse; margin: .8rem 0 1.2rem; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--gray); }
.legal th { color: var(--ink); font-family: var(--display); }
.legal .updated { color: var(--gray-2); font-size: .9rem; }
.template-banner { background: #fff4d6; border: 1px solid #e2bf4f; color: #4d3a00; padding: 1rem 1.25rem; border-radius: 6px; margin: 1.5rem 0 2rem; }
.template-banner strong { display: block; margin-bottom: .25rem; }
.placeholder { background: #fff4d6; padding: 0 .2em; border-radius: 3px; }

/* ---------- US-only notice (403 page, Worker build) ---------- */
.blocked-page { min-height: 100vh; background: var(--plum) linear-gradient(160deg, var(--plum) 0%, var(--plum-2) 100%); }
.blocked { min-height: 100vh; display: grid; place-items: center; padding: 32px var(--gutter); }
.blocked-card { max-width: 40rem; color: #fff; text-align: center; }
.blocked-card .wordmark { align-items: center; margin-bottom: 2.25rem; }
.blocked-card h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin-bottom: 1rem; }
.blocked-card p { color: rgba(255,255,255,.88); font-size: 1.05rem; line-height: 1.6; margin: 0 auto .8rem; }
.blocked-card .blocked-small { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: 1.4rem; }

/* ---------- Arrival location card (Worker build only) ---------- */
.arrival { width: min(32rem, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 14px; overflow: auto;
  background: #fff; color: var(--ink); box-shadow: 0 24px 70px rgba(20, 4, 30, .45); }
.arrival::backdrop { background: rgba(26, 6, 38, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.arrival[open] { animation: arrival-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes arrival-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.arrival-band { display: flex; align-items: center; gap: 14px; padding: 18px 28px; background: var(--plum) linear-gradient(120deg, var(--plum) 0%, var(--plum-2) 100%); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.arrival-end { white-space: nowrap; }
.arrival-end:last-child { color: var(--lilac); }
.arrival-path { position: relative; flex: 1; height: 2px; background-image: linear-gradient(90deg, rgba(255,255,255,.55) 50%, transparent 50%); background-size: 10px 2px; }
.arrival-plane { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); padding: 0 8px; background: var(--plum-2); color: #fff; font-size: 1rem; letter-spacing: 0; line-height: 1; }
.arrival-body { position: relative; padding: 26px 28px 24px; }
.arrival-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--gray); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.arrival-close:hover { background: var(--panel); color: var(--ink); }
.arrival-eyebrow { font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.arrival-suit { margin-left: .35em; font-size: .9em; }
.arrival-title { font-size: clamp(1.55rem, 3vw, 1.95rem); font-weight: 800; margin: 0 40px 10px 0; }
.arrival-lead { color: var(--gray); font-size: 1.02rem; line-height: 1.55; margin-bottom: 20px; }
.arrival-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.arrival-actions .btn { flex: 1 1 auto; }
.arrival-actions .btn-primary { flex-grow: 2; }
.arrival-fine { font-size: .8rem; line-height: 1.5; color: var(--gray-2); margin: 0; }
.arrival-fine a { color: var(--ink); }
@media (max-width: 640px) {
  .arrival { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 18px 18px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
  .arrival[open] { animation: arrival-up .32s cubic-bezier(.2, .8, .2, 1); }
  .arrival-band { position: relative; padding: 18px 22px 16px; }
  .arrival-band::before { content: ""; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255,255,255,.4); }
  .arrival-body { padding: 22px 22px 20px; }
  .arrival-actions { flex-direction: column; }
}
@keyframes arrival-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .arrival[open] { animation: none; } }

/* ---------- Pre-registration (Worker build only) ----------
 * The form sits in the hero, right under the nav, so it's the first thing visitors see. */
.hero-reg-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,4,16,.74) 0%, rgba(10,4,16,.42) 48%, rgba(10,4,16,.12) 100%); }
.hero-reg { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 7rem); align-items: center;
  padding-top: clamp(8px, 2vh, 2.5rem); padding-bottom: clamp(32px, 7vh, 6rem); scroll-margin-top: 0; }
.hero-reg-copy { min-width: 0; }
.hero-reg .hero-kicker { margin-bottom: 16px; }
.hero-reg-title { font-size: clamp(2.5rem, 6vw, 7rem); font-weight: 800; line-height: .95; letter-spacing: -0.025em; margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-reg-sub { font-size: 1.2rem; max-width: 34rem; margin-bottom: 20px; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero-reg .hero-price { margin-top: 18px; }
.hero-reg .prereg-form { width: 100%; max-width: 38rem; justify-self: end; }
.prereg-points { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.prereg-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #fff; font-weight: 600; font-size: .95rem; }
.prereg-points li { display: flex; align-items: center; gap: 8px; }
.prereg-points li::before { content: "\2666"; color: var(--red); font-size: .8em; }
.prereg-form { background: #fff; color: var(--ink); border-radius: 6px; border-left: 6px solid var(--red); box-shadow: 0 18px 50px rgba(0,0,0,.28); padding: clamp(22px, 2.6vw, 3rem); }
.prereg-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 18px; }
.prereg-fields .btn { grid-column: 1 / -1; margin-top: 6px; }
.prereg-field { display: flex; flex-direction: column; min-width: 0; }
.prereg-field label { font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.prereg-field input { width: 100%; padding: 14px 16px; font: 1rem var(--body); color: var(--ink); border: 1px solid #bdbdbd; border-radius: 3px; background: #fff; }
.prereg-field input:focus { border-color: var(--plum-2); box-shadow: var(--focus); outline: none; }
.prereg-field input[aria-invalid="true"] { border-color: var(--red); background: #fff6f7; }
.prereg-err { min-height: 1.4em; font-size: .82rem; color: var(--red-dark); margin-top: 4px; }
@media (max-width: 560px) { .prereg-err:empty { min-height: 0; margin-top: 0; } .prereg-fields { gap: 12px; } }
.prereg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.prereg-msg { margin-top: 14px; padding: 14px 16px; border-radius: 3px; font-size: .98rem; }
.prereg-msg[hidden] { display: none; }
.prereg-msg.is-error { background: #fff1f2; color: #7d1020; border-left: 4px solid var(--red); }
.prereg-msg.is-success { margin-top: 0; background: #eef8f1; color: #17502f; border-left: 4px solid #2e7d4f; font-size: 1.05rem; }
.prereg-msg.is-success strong { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1.15; margin-bottom: 4px; color: var(--ink); }
.prereg-msg:focus { outline: none; }
.prereg-form.is-done .prereg-fields { display: none; }
.prereg-fine { margin-top: 14px; font-size: .82rem; color: var(--gray-2); }
.prereg-fine a { color: var(--plum-2); }
@media (max-width: 560px) {
  .prereg-fields { grid-template-columns: minmax(0, 1fr); }
  .prereg-form { border-left-width: 0; border-top: 6px solid var(--red); }
}
@media (max-width: 900px) {
  .hero-reg { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 4px; padding-bottom: 36px; }
  .hero-reg .prereg-form { justify-self: stretch; max-width: none; }
  .hero-reg-shade { background: linear-gradient(180deg, rgba(10,4,16,.45) 0%, rgba(10,4,16,.35) 40%, rgba(10,4,16,.6) 100%); }
}
@media (max-width: 700px) {
  .hero-reg .hero-kicker { margin-bottom: 10px; }
  .hero-reg .kicker-route { display: none; }
  .hero-reg-title { font-size: 2.45rem; margin-bottom: 10px; }
  .hero-reg-sub { font-size: .98rem; line-height: 1.5; margin-bottom: 0; }
  .hero-reg .prereg-points, .hero-reg .hero-price { display: none; }
  .hero-reg-sub .sub-more { display: none; }
  .hero-reg .prereg-form { padding: 18px 18px 16px; }
  .hero-reg .prereg-fine { margin-top: 10px; font-size: .78rem; }
}

/* ---------- Finder bar, now at the top of the Voyages section ---------- */
#sailings .finder-wrap { padding-bottom: 0; margin-bottom: clamp(36px, 4vw, 4rem); }
#sailings .finder { margin: 0; box-shadow: 0 6px 26px rgba(0,0,0,.10); border: 1px solid var(--line); }

/* ---------- Arrival location card: docked, non-modal (dialog.show()) ----------
 * Never covers the pre-registration form: a compact card in the bottom-left corner on desktop
 * (the form is in the right-hand column) and a short bottom sheet on phones that slides away
 * while the visitor is typing in the form (.is-tucked, set by app.js). */
.arrival { position: fixed; z-index: 60; inset: auto auto 24px 24px; margin: 0; width: min(42rem, calc(100vw - 48px)); max-height: calc(100dvh - 48px);
  border-radius: 12px; box-shadow: 0 18px 50px rgba(20, 4, 30, .45); transition: transform .22s ease, visibility .22s; }
.arrival-band, .arrival-lead { display: none; }
.arrival-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "eyebrow eyebrow" "title title" "fine actions"; column-gap: 20px; align-items: end; padding: 18px 22px 18px; }
.arrival-eyebrow { grid-area: eyebrow; margin-bottom: 4px; }
.arrival-title { grid-area: title; font-size: 1.35rem; margin: 0 40px 8px 0; }
.arrival-fine { grid-area: fine; font-size: .76rem; }
.arrival-actions { grid-area: actions; flex-direction: column; flex-wrap: nowrap; margin: 0; min-width: 12rem; }
.arrival-actions .btn { padding: 12px 18px; }
.arrival-close { top: 6px; right: 6px; }
@media (max-width: 640px) {
  .arrival { inset: auto 0 0 0; width: 100%; max-width: 100%; margin: 0; border-radius: 16px 16px 0 0; max-height: 60dvh; padding-bottom: env(safe-area-inset-bottom); }
  .arrival-band { display: none; }
  .arrival-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "fine" "actions"; padding: 14px 16px 14px; }
  .arrival-eyebrow { display: none; }
  .arrival-title { font-size: 1.12rem; margin: 0 36px 6px 0; }
  .arrival-fine { font-size: .74rem; line-height: 1.45; margin-bottom: 10px; }
  .arrival-actions { flex-direction: row; min-width: 0; gap: 8px; }
  .arrival-actions .btn { padding: 12px 10px; font-size: .72rem; letter-spacing: .12em; }
  .arrival-close { width: 36px; height: 36px; top: 4px; right: 4px; }
  .arrival.is-tucked { transform: translateY(calc(100% + 12px)); visibility: hidden; }
  html.arrival-docked body { padding-bottom: 210px; }
}
/* Short phones: drop the highlights strip so the whole form fits above the docked card. */
@media (max-width: 640px) and (max-height: 700px) { .strip { display: none; } }
