/* ============================================================
   Ski Resorts for Kings — shared styles
   White-based premium · deep alpine navy + ice blue
   Themes: .theme-crown (A) · .theme-glacier (B) · .theme-atlas (C)
   ============================================================ */

:root {
  --paper: #ffffff;
  --snow: #f5f9fb;
  --ice: #eaf3f8;
  --ice-2: #dcebf3;
  --line: #e3ecf1;
  --ink: #0b2237;
  --navy: #0e3a5d;
  --muted: #5b7186;
  --faint: #8fa5b5;
  --accent: #1b6fa8;
  --sky: #9cc9e3;
  --ok: #1f8a5b;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(11, 34, 55, 0.05), 0 2px 8px rgba(11, 34, 55, 0.05);
  --shadow-md: 0 4px 12px rgba(11, 34, 55, 0.07), 0 16px 40px rgba(11, 34, 55, 0.09);
  --shadow-lg: 0 8px 24px rgba(11, 34, 55, 0.1), 0 32px 80px rgba(11, 34, 55, 0.16);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --pad-x: clamp(20px, 5vw, 72px);
  --max-w: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--sky); color: var(--ink); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Kickers / labels ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

/* ============================================================
   TOP NAV
   ============================================================ */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.topnav .wrap {
  display: flex; align-items: center; gap: 36px;
  height: 76px; max-width: none;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.05; letter-spacing: 0.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 9.5px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.62; margin-top: 3px; }

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 99px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap;
  transition: background 0.2s ease;
}
.nav-links a:hover { background: rgba(140, 180, 210, 0.18); }
.nav-cta {
  flex: none; padding: 11px 22px; border-radius: 99px;
  background: var(--ink); color: #fff; white-space: nowrap;
  font-size: 14px; font-weight: 700; border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: var(--navy); }

/* over-photo state (theme-crown hero) */
.topnav.on-photo { color: #fff; }
.topnav.on-photo .nav-cta { background: rgba(255,255,255,0.92); color: var(--ink); }
.topnav.on-photo .nav-links a:hover { background: rgba(255,255,255,0.14); }

.topnav.scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line); color: var(--ink);
}
.topnav.scrolled .nav-cta { background: var(--ink); color: #fff; }
.topnav.scrolled .nav-links a:hover { background: var(--ice); }

/* ============================================================
   HERO (theme-crown: full-bleed photo)
   ============================================================ */
.hero { position: relative; z-index: 5; min-height: 100svh; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: clip; }
.hero-bg img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 24, 40, var(--hero-scrim-top, 0.5)) 0%, rgba(8, 24, 40, 0.16) 38%, rgba(8, 24, 40, var(--hero-scrim, 0.55)) 100%);
}
.hero-snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 3; color: #fff;
  margin: auto auto 0; width: 100%; max-width: var(--max-w);
  padding: 112px var(--pad-x) 40px;
}
.hero-kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 14px;
}
.hero-kicker::after { content: ""; flex: none; width: 44px; height: 1px; background: rgba(255,255,255,0.5); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(33px, 4vw, 54px);
  line-height: 1.03; font-weight: 500; letter-spacing: -0.01em;
  margin: 18px 0 18px; max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--sky); }
.hero-sub { font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.6; max-width: 52ch; color: rgba(255,255,255,0.92); margin: 0 0 30px; text-shadow: 0 1px 14px rgba(8,24,40,0.35); }

/* hero entrance */
.hero-rise { opacity: 0; transform: translateY(28px); animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-rise.d1 { animation-delay: 0.08s; } .hero-rise.d2 { animation-delay: 0.2s; }
.hero-rise.d3 { animation-delay: 0.34s; } .hero-rise.d4 { animation-delay: 0.48s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-rise { animation: none; opacity: 1; transform: none; } }

/* ---------- Finder (live search) ---------- */
.finder { position: relative; max-width: 760px; z-index: 6; }
.finder-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.97); border-radius: 18px;
  padding: 8px 8px 8px 22px; box-shadow: var(--shadow-lg);
}
.finder-box svg { flex: none; color: var(--muted); }
.finder-box input {
  flex: 1; border: none; outline: none; background: none;
  font: 600 16.5px/1.2 var(--font-body); color: var(--ink); padding: 14px 0; min-width: 0;
}
.finder-box input::placeholder { color: var(--faint); font-weight: 500; }
.finder-go {
  flex: none; border: none; border-radius: 12px;
  background: var(--ink); color: #fff; padding: 15px 26px;
  font-size: 15px; font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}
.finder-go:hover { background: var(--navy); transform: translateY(-1px); }

.finder-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.finder-chips button {
  border: 1px solid rgba(255,255,255,0.4); border-radius: 99px;
  background: rgba(255,255,255,0.1); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 17px; font-size: 13.5px; font-weight: 600;
  transition: all 0.2s ease;
}
.finder-chips button:hover { background: rgba(255,255,255,0.24); }
.finder-chips button.active { background: #fff; color: var(--ink); border-color: #fff; }

.finder-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 50;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  max-height: min(56vh, 480px); overflow-y: auto; opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.finder-results.open { opacity: 1; transform: none; pointer-events: auto; }
.fr-head { padding: 12px 20px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.fr-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; color: var(--ink);
  transition: background 0.15s ease;
}
.fr-row:hover { background: var(--snow); }
.fr-score {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ice); color: var(--accent); font-weight: 800; font-size: 14.5px;
}
.fr-main { flex: 1; min-width: 0; }
.fr-name { font-weight: 700; font-size: 15.5px; }
.fr-meta { font-size: 13px; color: var(--muted); }
.fr-go { flex: none; font-size: 13px; font-weight: 700; color: var(--accent); }
.fr-empty { padding: 22px 20px; font-size: 14.5px; color: var(--muted); }

/* ---------- Hero stats strip ---------- */
.stats-strip {
  position: relative; z-index: 2;
  display: flex; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  padding: 22px var(--pad-x) 28px;
  color: #fff; border-top: 1px solid rgba(255,255,255,0.22);
}
.stat .stat-n { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; line-height: 1; }
.stat .stat-l { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 6px; }

.scroll-cue {
  position: absolute; right: var(--pad-x); bottom: 40px; z-index: 3;
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  writing-mode: vertical-rl; opacity: 0.8;
}
.scroll-cue::after { content: ""; width: 1px; height: 44px; background: linear-gradient(#fff, transparent); animation: cueDrop 2s ease-in-out infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(40px, 4.5vw, 66px) 0; }
.section.tight { padding-top: clamp(34px, 3.5vw, 52px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(20px, 2vw, 32px); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 28px); line-height: 1.08; font-weight: 500;
  margin-top: 14px; max-width: 22ch;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-link {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--accent); white-space: nowrap;
  padding-bottom: 4px; border-bottom: 1.5px solid var(--ice-2);
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.section-link:hover { border-color: var(--accent); gap: 12px; }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   CROWN COLLECTION — resort cards
   ============================================================ */
.crown-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 1080px) { .crown-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .crown-grid { grid-template-columns: 1fr; } }

.resort-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); color: #fff; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.resort-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.rc-media { position: absolute; inset: 0; }
.rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.resort-card:hover .rc-media img { transform: scale(1.06); }
.rc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(185deg, rgba(8,24,40,0.06) 30%, rgba(8,24,40,0.78) 88%); }

.rc-rank {
  position: absolute; top: 18px; left: 20px; z-index: 2;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; font-style: italic;
  color: rgba(255,255,255,0.95); display: flex; align-items: baseline; gap: 7px;
}
.rc-rank::after { content: ""; width: 22px; height: 1px; background: rgba(255,255,255,0.55); align-self: center; }
.rc-score {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.94); color: var(--ink);
  font-weight: 800; font-size: 16.5px;
  box-shadow: 0 4px 14px rgba(8,24,40,0.3);
}
.rc-body { position: relative; z-index: 2; padding: 22px 22px 20px; }
.rc-name { font-family: var(--font-display); font-size: 29px; font-weight: 600; line-height: 1.05; }
.rc-meta { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.78); margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px 10px; }
.rc-meta span { white-space: nowrap; }
.rc-note { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 10px 0 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.45s ease, opacity 0.45s ease, margin 0.45s ease; }
.resort-card:hover .rc-note, .resort-card:focus-within .rc-note { max-height: 80px; opacity: 1; }
.rc-actions { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.rc-view {
  flex: 1; text-align: center; padding: 10px 14px; border-radius: 11px;
  background: rgba(255,255,255,0.94); color: var(--ink);
  font-size: 13.5px; font-weight: 700;
  transition: background 0.2s ease;
}
.rc-view:hover { background: #fff; }
.rc-compare {
  flex: none; padding: 10px 14px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.45); background: rgba(255,255,255,0.08);
  color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}
.rc-compare:hover { background: rgba(255,255,255,0.2); }
.rc-compare.added { background: var(--sky); border-color: var(--sky); color: var(--ink); }

/* stagger reveal for grids */
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) { .stagger > * { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   COMPARE BAR + OVERLAY
   ============================================================ */
.compare-bar {
  position: fixed; left: 50%; bottom: 22px; z-index: 80;
  transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: #fff;
  border-radius: 99px; padding: 10px 12px 10px 22px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
  visibility: hidden;
  max-width: min(92vw, 640px);
}
.compare-bar.show { transform: translate(-50%, 0); visibility: visible; }
.cb-label { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.cb-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cb-chips button {
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.1);
  color: #fff; border-radius: 99px; padding: 6px 12px;
  font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.cb-chips button span { opacity: 0.7; }
.cb-go { border: none; border-radius: 99px; background: var(--sky); color: var(--ink); padding: 11px 20px; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.cb-go:disabled { opacity: 0.45; cursor: default; }

.compare-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(8, 24, 40, 0.55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.compare-overlay.open { opacity: 1; pointer-events: auto; }
.cmp-card {
  background: #fff; border-radius: var(--r-lg); width: min(960px, 100%);
  max-height: 86vh; overflow: auto; box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.98); transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.compare-overlay.open .cmp-card { transform: none; }
.cmp-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 32px 0; }
.cmp-head h3 { font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.cmp-close { border: 1px solid var(--line); background: #fff; border-radius: 99px; width: 38px; height: 38px; font-size: 17px; color: var(--muted); }
.cmp-close:hover { background: var(--snow); }
.cmp-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); font-size: 14.5px; }
.cmp-table th:first-child, .cmp-table td:first-child { padding-left: 32px; color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; width: 150px; }
.cmp-table thead th { border-top: none; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--ink); text-transform: none; letter-spacing: 0; padding-bottom: 4px; }
.cmp-table .cmp-score { font-weight: 800; color: var(--accent); font-size: 17px; }
.cmp-table tbody tr:hover td { background: var(--snow); }

/* ============================================================
   KINGDOMS — category index rows
   ============================================================ */
.kingdom-list { border-top: 1px solid var(--line); }
.kingdom-row {
  display: grid; grid-template-columns: 64px 1fr auto auto; gap: 24px; align-items: center;
  padding: 26px 10px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left 0.3s cubic-bezier(0.22,1,0.36,1), background 0.3s ease;
}
.kingdom-row:hover { padding-left: 26px; background: var(--snow); }
.kr-num { font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--faint); }
.kr-title { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 33px); font-weight: 500; line-height: 1.1; }
.kr-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.kr-tags span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); background: var(--ice); border-radius: 99px; padding: 4px 11px; white-space: nowrap; }
.kr-count { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.kr-arrow {
  width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--ink);
  transition: all 0.3s ease;
}
.kingdom-row:hover .kr-arrow { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
@media (max-width: 720px) {
  .kingdom-row { grid-template-columns: 1fr auto; }
  .kr-num, .kr-count { display: none; }
}

/* ============================================================
   AIRPORTS — plan from your gate
   ============================================================ */
.airport-grid { display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 920px) { .airport-grid { grid-template-columns: 1fr; } }
.airport-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.airport-pill {
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  padding: 16px 18px; text-align: left;
  transition: all 0.25s ease;
}
.airport-pill .ap-code { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--accent); }
.airport-pill .ap-city { font-family: var(--font-display); font-size: 21px; font-weight: 600; margin-top: 2px; }
.airport-pill .ap-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.airport-pill:hover { border-color: var(--sky); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.airport-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.airport-pill.active .ap-code { color: var(--sky); }
.airport-pill.active .ap-meta { color: rgba(255,255,255,0.7); }

.airport-panel {
  background: var(--snow); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 10px 26px; min-height: 380px;
}
.ap-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center;
  padding: 17px 4px; border-bottom: 1px solid var(--line);
}
.ap-row:last-child { border-bottom: none; }
.ap-row .apr-name { font-weight: 700; font-size: 16px; }
.ap-row .apr-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.apr-time { font-size: 13px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.apr-score { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 800; font-size: 14.5px; color: var(--accent); }
.ap-foot { padding: 16px 4px; font-size: 13.5px; font-weight: 700; color: var(--accent); }

/* ============================================================
   MANIFESTO — how we judge (navy band)
   ============================================================ */
.manifesto { background: var(--ink); color: #fff; position: relative; overflow: clip; }
.manifesto .ridge { position: absolute; inset: auto 0 0; opacity: 0.16; pointer-events: none; }
.manifesto-inner { position: relative; padding: clamp(64px, 7vw, 104px) 0; }
.manifesto .kicker { color: var(--sky); }
.manifesto .kicker::before { background: var(--sky); }
.manifesto blockquote {
  margin: 22px 0 0; font-family: var(--font-display);
  font-size: clamp(23px, 2.4vw, 32px); line-height: 1.2; font-weight: 500;
  max-width: 26ch;
}
.manifesto blockquote em { font-style: italic; color: var(--sky); }
.manifesto-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: clamp(40px, 5vw, 64px); padding-top: 38px; border-top: 1px solid rgba(255,255,255,0.18); }
@media (max-width: 820px) { .manifesto-stats { grid-template-columns: repeat(2, 1fr); } }
.manifesto-stats .stat-n { font-family: var(--font-display); font-size: clamp(32px, 3.2vw, 46px); font-weight: 600; line-height: 1; }
.manifesto-stats .stat-l { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 8px; }

/* ============================================================
   CONCIERGE — enquiry form
   ============================================================ */
.concierge { background: linear-gradient(180deg, var(--paper), var(--ice) 140%); }
.concierge-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (max-width: 920px) { .concierge-grid { grid-template-columns: 1fr; } }
.concierge-copy h2 { font-family: var(--font-display); font-size: clamp(21px, 1.9vw, 28px); line-height: 1.1; font-weight: 500; margin-top: 14px; }
.concierge-copy h2 em { font-style: italic; color: var(--accent); }
.concierge-copy p { color: var(--muted); font-size: 16.5px; max-width: 52ch; }
.assurance { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; font-size: 13.5px; color: var(--muted); }
.assurance svg { flex: none; color: var(--ok); margin-top: 1px; }

.brief-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brief-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--snow); padding: 13px 14px;
  font: 600 15px/1.3 var(--font-body); color: var(--ink); outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b7186' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field input:focus, .field select:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px var(--ice-2); }
.brief-submit {
  grid-column: 1 / -1; border: none; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; padding: 16px;
  font-size: 15.5px; font-weight: 800; letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.brief-submit:hover { background: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.brief-fine { grid-column: 1 / -1; font-size: 12.5px; color: var(--faint); text-align: center; margin: 2px 0 0; }

.brief-success {
  position: absolute; inset: 0; background: #fff; z-index: 3;
  display: grid; place-content: center; text-align: center; gap: 6px; padding: 30px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.brief-success.show { opacity: 1; pointer-events: auto; }
.brief-success .bs-mark { width: 64px; height: 64px; border-radius: 99px; background: var(--ice); display: grid; place-items: center; margin: 0 auto 12px; color: var(--accent); }
.brief-success h3 { font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.brief-success p { color: var(--muted); font-size: 15px; max-width: 34ch; margin: 6px auto 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #fff; }
.footer-inner { padding: clamp(40px, 4vw, 60px) 0 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; align-items: start; }
@media (max-width: 920px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
/* flow the long "The guide" column into two short columns so it does not tower
   over the others and leave a big empty navy block */
.footer-inner > div:last-child .footer-col { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 28px; align-content: start; }
@media (max-width: 540px) { .footer-inner > div:last-child .footer-col { grid-template-columns: 1fr; } }
.footer .brand-name small { color: rgba(255,255,255,0.6); }
.footer-tag { margin-top: 16px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.65); max-width: 32ch; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.8); transition: color 0.2s ease; }
.footer-col a:hover { color: #fff; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  margin-top: clamp(28px, 3vw, 44px); padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 13px; color: rgba(255,255,255,0.55);
}
.footer-base nav { display: flex; gap: 20px; }
.footer-base a:hover { color: #fff; }

/* ============================================================
   DIRECTION SWITCHER
   ============================================================ */
.dir-switch {
  position: fixed; left: 18px; bottom: 18px; z-index: 95;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.92); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 99px; padding: 5px 6px 5px 14px;
  box-shadow: var(--shadow-md); font-size: 12px;
}
.dir-switch .ds-label { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-right: 5px; }
.dir-switch a {
  padding: 7px 12px; border-radius: 99px; font-weight: 700; color: var(--muted);
  transition: all 0.2s ease; white-space: nowrap;
}
.dir-switch a:hover { background: var(--ice); color: var(--ink); }
.dir-switch a.active { background: var(--ink); color: #fff; }
@media (max-width: 720px) { .dir-switch .ds-name { display: none; } }

/* ============================================================
   THEME B — GLACIER  (light hero, sans display)
   ============================================================ */
.theme-glacier {
  --font-display: "Instrument Sans", -apple-system, sans-serif;
  --accent: #1b6fa8;
}
.theme-glacier .hero h1,
.theme-glacier .section-head h2,
.theme-glacier .concierge-copy h2,
.theme-glacier .manifesto blockquote { letter-spacing: -0.035em; font-weight: 700; }
.theme-glacier .hero h1 em, .theme-glacier .section-head h2 em,
.theme-glacier .concierge-copy h2 em, .theme-glacier .manifesto blockquote em { font-style: normal; color: var(--accent); }
.theme-glacier .manifesto blockquote em, .theme-glacier .hero-glacier h1 em { color: var(--accent); }
.theme-glacier .brand-name, .theme-glacier .rc-name, .theme-glacier .kr-title,
.theme-glacier .cmp-head h3, .theme-glacier .brief-success h3,
.theme-glacier .airport-pill .ap-city { font-weight: 700; letter-spacing: -0.02em; }
.theme-glacier .rc-rank, .theme-glacier .kr-num { font-style: normal; font-weight: 700; }
.theme-glacier .stat .stat-n, .theme-glacier .manifesto-stats .stat-n { font-weight: 700; letter-spacing: -0.03em; }

.hero-glacier {
  position: relative; min-height: 100svh; overflow: clip;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1100px 520px at 82% -10%, var(--ice-2), transparent 70%),
    radial-gradient(900px 500px at -10% 28%, var(--ice), transparent 65%),
    linear-gradient(180deg, #fff 55%, var(--ice) 160%);
}
.hero-glacier .hero-inner { color: var(--ink); margin: auto 0 0; padding-top: 150px; }
.hero-glacier .hero-kicker { color: var(--accent); }
.hero-glacier .hero-kicker::after { background: var(--ice-2); }
.hero-glacier h1 { color: var(--ink); }
.hero-glacier h1 em { color: var(--accent); }
.hero-glacier .hero-sub { color: var(--muted); text-shadow: none; }
.hero-glacier .finder-box { border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hero-glacier .finder-chips button { border-color: var(--line); background: #fff; color: var(--muted); }
.hero-glacier .finder-chips button:hover { border-color: var(--sky); color: var(--ink); background: #fff; }
.hero-glacier .finder-chips button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero-glacier .stats-strip { color: var(--ink); border-top-color: var(--line); }
.hero-glacier .stat .stat-l { color: var(--muted); }
.hero-glacier .scroll-cue { color: var(--muted); }
.hero-glacier .scroll-cue::after { background: linear-gradient(var(--muted), transparent); }
.hero-glacier .hero-photo {
  position: absolute; top: 12%; right: calc(-1 * clamp(0px, 2vw, 30px)); width: clamp(260px, 30vw, 480px); aspect-ratio: 4/5.4;
  border-radius: 28px 0 0 28px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-glacier .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .hero-glacier .hero-photo { display: none; } }
.hero-glacier .hero-inner, .hero-glacier .finder { max-width: min(var(--max-w), 100%); }
.hero-glacier .hero-text { max-width: 62%; }
@media (max-width: 1100px) { .hero-glacier .hero-text { max-width: none; } }

/* ============================================================
   THEME C — ATLAS  (navy hero, data-forward)
   ============================================================ */
.theme-atlas {
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --accent: #14629c;
}
.theme-atlas .hero h1, .theme-atlas .section-head h2,
.theme-atlas .concierge-copy h2, .theme-atlas .manifesto blockquote { letter-spacing: -0.03em; font-weight: 600; }
.theme-atlas .hero h1 em, .theme-atlas .section-head h2 em,
.theme-atlas .concierge-copy h2 em { font-style: normal; color: var(--sky); }
.theme-atlas .section-head h2 em, .theme-atlas .concierge-copy h2 em { color: var(--accent); }
.theme-atlas .rc-rank, .theme-atlas .kr-num { font-style: normal; }
.theme-atlas .kicker, .theme-atlas .hero-kicker { letter-spacing: 0.32em; }

.hero-atlas {
  position: relative; min-height: 100svh; overflow: clip;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 600px at 80% 110%, #1b4a70, transparent 70%),
    linear-gradient(180deg, #0a1d30, var(--ink) 70%);
  color: #fff;
}
.hero-atlas .contour { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.hero-atlas .hero-inner { padding-top: 160px; }
.hero-atlas .hero-kicker { color: var(--sky); }
.hero-atlas h1 em { color: var(--sky); }
.hero-atlas .stats-strip { border-top-color: rgba(255,255,255,0.18); }

/* ---------- Mobile nav ---------- */
.nav-burger {
  display: none; flex: none; position: relative;
  width: 44px; height: 44px; border-radius: 99px;
  background: none; border: none; color: currentColor; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px;
  background: currentColor; top: 18px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), top 0.3s cubic-bezier(0.22,1,0.36,1);
}
.nav-burger span:last-child { top: 25px; }
body.drawer-open .nav-burger span:first-child { top: 21px; transform: rotate(45deg); }
body.drawer-open .nav-burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-drawer {
  position: fixed; inset: 0; z-index: 85;
  background: #fff; color: var(--ink);
  padding: 108px var(--pad-x) 36px;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22,1,0.36,1);
  overflow: auto;
}
body.drawer-open .mobile-drawer { opacity: 1; pointer-events: auto; transform: none; }
.md-links { display: flex; flex-direction: column; }
.md-links a {
  font-family: var(--font-display); font-size: clamp(30px, 8vw, 38px); font-weight: 500; line-height: 1.1;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.md-links a::after { content: "\2192"; font-size: 0.55em; color: var(--faint); }
.md-links a.active { color: var(--accent); }
.md-links a.active::after { color: var(--accent); }
.md-cta {
  margin-top: 28px; padding: 18px; border-radius: 14px; text-align: center;
  background: var(--ink); color: #fff; font-size: 16px; font-weight: 800;
}
.md-foot { margin: auto 0 0; padding-top: 28px; font-size: 12.5px; color: var(--faint); }

body.drawer-open .topnav { background: #fff; color: var(--ink); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.drawer-open .topnav .nav-cta { background: var(--ink); color: #fff; }

/* ---------- misc ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0 0 0 0); overflow: hidden; }
@media (max-width: 920px) {
  .nav-links { display: none; }
}
