/* =========================================================================
   Travel Vault — stylesheet
   Hand-written, no framework. Light and dark palettes, fluid type, one accent.
   ========================================================================= */

/* ------------------------------------------------------------------ fonts */
/* Self-hosted variable fonts (Inter + Fraunces), so the look never depends
   on a third-party font CDN being reachable. Each covers latin + latin-ext
   (accented French/Spanish/Italian/Turkish characters) via one variable
   file per subset, with font-weight ranges left to the browser to
   interpolate along the wght axis. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------- tokens */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f0e9;
  --ink: #1a1815;
  --ink-2: #46403a;
  --muted: #6f675b;
  --line: #e4ded2;
  --line-strong: #d2c9b8;
  --accent: #0e6f66;
  --accent-hover: #0b5a53;
  --accent-light: #1f9186;
  --accent-ink: #ffffff;
  --accent-soft: #ddefec;
  --accent-grad: linear-gradient(135deg, #12867a, #0b5a53);
  --warm: #a8501f;
  --warm-hover: #8a4019;
  --warm-soft: #f6e7dc;
  --shadow-sm: 0 1px 2px rgb(26 24 21 / 6%), 0 2px 8px rgb(26 24 21 / 5%);
  --shadow-md: 0 4px 12px rgb(26 24 21 / 8%), 0 12px 32px rgb(26 24 21 / 7%);
  --shadow-lg: 0 8px 24px rgb(26 24 21 / 10%), 0 24px 56px rgb(26 24 21 / 12%);
  --shadow-glow: 0 8px 20px -6px rgb(14 111 102 / 45%);

  --footer-bg: #10201d;
  --footer-bg-2: #0b1917;
  --footer-ink: #f6f3ec;
  --footer-ink-2: #cbd6d2;
  --footer-muted: #8ea19c;
  --footer-line: rgb(255 255 255 / 10%);

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua',
    Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, 'Noto Sans', sans-serif;

  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  --step-1: clamp(1.15rem, 1.09rem + 0.3vw, 1.35rem);
  --step-2: clamp(1.4rem, 1.28rem + 0.6vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.53rem + 1.1vw, 2.5rem);
  --step-4: clamp(2.1rem, 1.7rem + 2vw, 3.4rem);
  --step-5: clamp(2.5rem, 1.85rem + 3.2vw, 4.5rem);

  --gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
  --section-y: clamp(3rem, 2.2rem + 3.5vw, 5.5rem);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141310;
    --surface: #1d1b17;
    --surface-2: #23201a;
    --ink: #f5f1e9;
    --ink-2: #d5cec1;
    --muted: #9d9486;
    --line: #322e26;
    --line-strong: #453f34;
    --accent: #56cfc3;
    --accent-hover: #7bdcd2;
    --accent-light: #7bdcd2;
    --accent-ink: #0c2320;
    --accent-soft: #16302d;
    --accent-grad: linear-gradient(135deg, #56cfc3, #2f9d92);
    --warm: #e79055;
    --warm-hover: #f0a56e;
    --warm-soft: #33231a;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 40%), 0 2px 8px rgb(0 0 0 / 30%);
    --shadow-md: 0 4px 12px rgb(0 0 0 / 45%), 0 12px 32px rgb(0 0 0 / 38%);
    --shadow-lg: 0 8px 24px rgb(0 0 0 / 45%), 0 24px 56px rgb(0 0 0 / 45%);
    --shadow-glow: 0 8px 20px -6px rgb(86 207 195 / 35%);

    --footer-bg: #0c1614;
    --footer-bg-2: #090f0e;
    --footer-ink: #f5f1e9;
    --footer-ink-2: #c7cfcb;
    --footer-muted: #82938d;
    --footer-line: rgb(255 255 255 / 8%);
  }
}

/* ------------------------------------------------------------------ reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Clears the sticky site header (4rem) plus the sticky section nav (~3.4rem),
     so an anchor jump does not land a heading behind them. */
  scroll-padding-top: 8.75rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  padding-left: 1.2em;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

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

/* --------------------------------------------------------------- utilities */

.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.wrap--narrow {
  max-width: 46rem;
}

.center {
  text-align: center;
}

.center .prose {
  text-align: left;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--placeholder {
  min-height: 12rem;
  background: linear-gradient(135deg, var(--accent-soft), var(--surface-2) 60%, var(--warm-soft));
}

.credit {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.credit a {
  color: inherit;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 12px 24px -20px rgb(26 24 21 / 35%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-right: auto;
}

.brand__mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 2px 6px rgb(14 111 102 / 35%), inset 0 0 0 1px rgb(255 255 255 / 20%);
  position: relative;
  flex: none;
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-12deg) scale(1.06);
}

.brand__mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  clip-path: polygon(72% 28%, 44% 44%, 28% 72%, 56% 56%);
}

.brand__text {
  font-size: 1.18rem;
}

.brand__thin {
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.3ch;
}

.nav__list {
  display: flex;
  gap: clamp(0.4rem, 1.2vw, 1.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav__link:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav__link.is-active {
  color: var(--accent-ink);
  background: var(--accent-grad);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

@media (max-width: 60rem) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.5rem clamp(1.1rem, 4vw, 2.5rem) 1rem;
  }

  .nav__link {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid transparent;
  }

  .nav__link:hover {
    background: var(--accent-soft);
  }

  .nav__link.is-active {
    background: var(--accent-grad);
  }
}

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: clamp(22rem, 46vw, 34rem);
  align-content: end;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  color: #fff;
  overflow: hidden;
}

.page-home .hero {
  min-height: clamp(28rem, 62vw, 42rem);
  align-content: center;
  text-align: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--surface-2);
}

.hero__media .media {
  width: 100%;
  height: 100%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(8 14 13 / 92%) 0%, rgb(9 15 14 / 58%) 45%, rgb(10 18 16 / 22%) 100%),
    linear-gradient(to right, rgb(8 14 13 / 48%), transparent 65%),
    linear-gradient(200deg, rgb(14 111 102 / 30%), transparent 42%);
}

.page-home .hero__scrim {
  background:
    linear-gradient(to top, rgb(8 14 13 / 86%), rgb(9 16 15 / 45%) 55%, rgb(10 18 16 / 30%)),
    radial-gradient(120% 90% at 50% 100%, rgb(14 111 102 / 35%), transparent 60%);
}

.hero__media .media {
  animation: hero-zoom 20s var(--ease) forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero__inner {
  animation: hero-rise 0.7s var(--ease) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__inner {
  position: relative;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgb(255 255 255 / 88%);
  margin-bottom: 0.6rem;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--accent-light);
  flex: none;
}

.page-home .hero__eyebrow {
  justify-content: center;
}

.hero__title {
  font-size: var(--step-5);
  color: #fff;
  margin-bottom: 0.35em;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgb(0 0 0 / 35%);
}

.page-home .hero__title {
  max-width: 22ch;
  margin-inline: auto;
}

.hero__tagline {
  font-size: var(--step-1);
  color: rgb(255 255 255 / 90%);
  max-width: 52ch;
  margin-bottom: 1.4rem;
}

.page-home .hero__tagline {
  margin-inline: auto;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0.9rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 25%);
  font-size: 0.92rem;
  color: rgb(255 255 255 / 88%);
  max-width: 58rem;
}

.hero__meta strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 65%);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.page-home .hero__actions {
  justify-content: center;
}

.hero__credit {
  position: absolute;
  right: 0.85rem;
  bottom: 0.5rem;
  margin: 0;
  font-size: 0.7rem;
  color: rgb(255 255 255 / 62%);
  text-align: right;
  max-width: 45%;
}

.hero__credit a {
  color: inherit;
}

.hero .breadcrumbs {
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------- breadcrumbs */

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: '/';
  margin-right: 0.6rem;
  opacity: 0.5;
}

.hero .breadcrumbs__list {
  color: rgb(255 255 255 / 78%);
}

.hero .breadcrumbs a {
  color: rgb(255 255 255 / 92%);
}

.page-head .breadcrumbs {
  margin-bottom: 1.2rem;
  color: var(--muted);
}

/* ------------------------------------------------------------- section nav */

.section-nav {
  position: sticky;
  top: 4rem;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.section-nav__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-nav__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  flex: none;
  padding-block: 0.85rem;
}

@media (max-width: 48rem) {
  .section-nav__label {
    display: none;
  }
}

.section-nav__list {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.section-nav__list::-webkit-scrollbar {
  height: 3px;
}

.section-nav__list::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}

.section-nav__list a {
  display: block;
  padding: 0.85rem 0;
  white-space: nowrap;
  font-size: 0.88rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.section-nav__list a:hover,
.section-nav__list a.is-current {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------------------------------------------------------------- sections */

.section {
  padding-block: var(--section-y);
}

.section--tint {
  background: var(--surface-2);
}

.section--intro {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
}

.section--guide {
  padding-block: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 1.4rem + 1.4vw, 2.75rem);
}

.section__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.center .section__eyebrow {
  justify-content: center;
}

.section__title {
  font-size: var(--step-3);
  margin-bottom: 0.4em;
}

.section__lead {
  font-size: var(--step-1);
  color: var(--muted);
  margin-bottom: 0;
}

.section__lead--inline {
  margin-block: 0 1.5rem;
}

.section__more {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subhead {
  font-size: var(--step-2);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.subhead:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose > p {
  font-size: var(--step-0);
}

.prose > p:first-child {
  font-size: var(--step-1);
  color: var(--ink-2);
}

.guide-summary {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: clamp(1rem, 3vw, 1.75rem);
  margin: 0;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--lg {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent-grad);
  color: var(--accent-ink);
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgb(14 111 102 / 55%);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn--on-dark {
  border-color: rgb(255 255 255 / 55%);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--on-dark:hover {
  background: rgb(255 255 255 / 14%);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------- pills */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pill--sm {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.chip-row--center {
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink-2);
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ------------------------------------------------------------------- cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
  gap: var(--gap);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.card[hidden] {
  display: none;
}

.card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--surface-2);
  overflow: hidden;
}

.card__media .media {
  transition: transform 0.5s var(--ease);
}

.card:hover .card__media .media {
  transform: scale(1.06);
}

.card__rank {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  min-width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  padding-inline: 0.4rem;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 3px 10px rgb(0 0 0 / 30%), inset 0 0 0 1px rgb(255 255 255 / 25%);
  backdrop-filter: blur(4px);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.25rem 1.35rem;
}

.card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.card__title {
  font-size: var(--step-2);
  margin-bottom: 0.15em;
}

.card__title a {
  color: var(--ink);
  text-decoration: none;
}

.card__title a:hover {
  color: var(--accent);
}

.card__region {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}

.card__highlight {
  font-size: 0.88rem;
  color: var(--ink-2);
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-bottom: 1.1rem;
}

.card__highlight span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.card__btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------------------------------------------------------- country cards */

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
  gap: var(--gap);
}

.country-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.country-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.country-card__media .media {
  transition: transform 0.5s var(--ease);
}

.country-card:hover .country-card__media .media {
  transform: scale(1.06);
}

.country-card__body {
  padding: 1.15rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.country-card__title {
  font-size: var(--step-2);
  margin-bottom: 0.3em;
}

.country-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.country-card__title a:hover {
  color: var(--accent);
}

.country-card__text {
  font-size: 0.94rem;
  margin-bottom: 0.9rem;
}

.country-card__meta {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.country-card__places {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: auto;
  margin-bottom: 0;
}

/* -------------------------------------------------------------- mini cards */

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  gap: var(--gap);
}

.mini-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
}

.mini-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.mini-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mini-card__media {
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--surface-2);
}

.mini-card__media .media {
  transition: transform 0.5s var(--ease);
}

.mini-card:hover .mini-card__media .media {
  transform: scale(1.06);
}

.mini-card__body {
  padding: 1rem 1.15rem 1.25rem;
}

.mini-card__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.mini-card__title {
  font-size: var(--step-1);
  margin-bottom: 0.35em;
}

.mini-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.mini-card__title a:hover {
  color: var(--accent);
}

.mini-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ------------------------------------------------------------ split layout */

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 21rem);
  gap: clamp(1.75rem, 1.2rem + 3vw, 3.5rem);
  align-items: start;
}

@media (max-width: 62rem) {
  .layout-split {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 8.5rem;
}

@media (max-width: 62rem) {
  .panel {
    position: static;
  }
}

.panel__title {
  font-size: var(--step-1);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.panel__btn {
  margin-top: 1.25rem;
  width: 100%;
}

/* ------------------------------------------------------------------ facts */

.facts {
  margin: 0;
}

.facts__row {
  display: grid;
  grid-template-columns: minmax(7rem, 34%) 1fr;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.facts__row:last-child {
  border-bottom: 0;
}

.facts dt {
  color: var(--muted);
  font-weight: 600;
}

.facts dd {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 30rem) {
  .facts__row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ------------------------------------------------------------- detail list */

.detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: detail;
}

.detail-list__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.4rem;
  position: relative;
}

.detail-list:not(.detail-list--plain) .detail-list__item {
  counter-increment: detail;
  padding-top: 2.9rem;
}

.detail-list:not(.detail-list--plain) .detail-list__item::before {
  content: counter(detail, decimal-leading-zero);
  position: absolute;
  top: 1.15rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.detail-list__title {
  font-size: var(--step-1);
  margin-bottom: 0.4em;
}

.detail-list__item p {
  font-size: 0.95rem;
  margin-bottom: 0.7em;
}

.detail-list__tip {
  font-size: 0.87rem !important;
  color: var(--ink-2);
  background: var(--warm-soft);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0 !important;
}

.detail-list__tip span {
  font-weight: 700;
  color: var(--warm);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-right: 0.35rem;
}

.detail-list__item--media {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.detail-list__item--media .detail-list__body {
  flex: 1;
  min-width: 0;
}

/* ------------------------------------------------------------- attractions */

.attractions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.attraction {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.attraction:first-child {
  padding-top: 0;
}

.attraction:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.attraction__num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--accent);
  font-weight: 700;
  line-height: 1.1;
}

.attraction__name {
  font-size: var(--step-2);
  margin-bottom: 0.35em;
}

.attraction__body p {
  margin-bottom: 0.7em;
}

.attraction__tip {
  font-size: 0.9rem;
  color: var(--ink-2);
  border-left: 3px solid var(--warm);
  padding-left: 0.9rem;
  margin-bottom: 0 !important;
}

.attraction__tip span {
  font-weight: 700;
  color: var(--warm);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-right: 0.35rem;
}

.attraction--media {
  grid-template-columns: 3.5rem 5.5rem 1fr;
}

@media (max-width: 34rem) {
  .attraction,
  .attraction--media {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .attraction__media {
    width: 8rem;
  }
}

/* --------------------------------------------------- shared item thumbnail */

.attraction__media,
.detail-list__media,
.food__media {
  flex-shrink: 0;
  width: 5.5rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.attraction__img,
.detail-list__img,
.food__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.attraction:hover .attraction__img,
.detail-list__item:hover .detail-list__img,
.food:hover .food__img {
  transform: scale(1.08);
}

/* -------------------------------------------------------------------- food */

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.food {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.35rem;
  border-top: 3px solid var(--warm);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.food:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.food--media {
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.food__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.food__name {
  font-size: var(--step-1);
  margin-bottom: 0.4em;
}

.food__text {
  font-size: 0.94rem;
  margin-bottom: 0.9em;
}

.food__where {
  font-size: 0.87rem;
  color: var(--ink-2);
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line-strong);
}

.food__where span {
  display: block;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.15rem;
}

/* Below this width a fixed-width side thumbnail leaves an awkward gap next to
   several lines of wrapped text, so things-to-do and food cards stack their
   thumbnail above the text instead — attraction rows keep the side layout,
   since their thumbnail sits beside a number rather than a whole card. Placed
   after both base rules it overrides, since a media query does not win a
   same-specificity cascade tie on its own — source order still decides. */
@media (max-width: 34rem) {
  .food--media,
  .detail-list__item--media {
    flex-direction: column;
  }

  .food--media .food__media,
  .detail-list__item--media .detail-list__media {
    width: 100%;
    max-width: 12rem;
  }
}

/* ----------------------------------------------------------------- seasons */

.seasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.season {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem 1.25rem;
}

.season p {
  font-size: 0.92rem;
  margin: 0;
}

.season__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.season__name {
  font-size: var(--step-1);
  margin: 0;
}

.season__badge {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  white-space: nowrap;
}

.season--best {
  border-left-color: var(--accent);
}

.season--best .season__badge {
  background: var(--accent-soft);
  color: var(--accent);
}

.season--shoulder {
  border-left-color: var(--warm);
}

.season--shoulder .season__badge {
  background: var(--warm-soft);
  color: var(--warm);
}

.season--avoid {
  border-left-color: var(--line-strong);
  opacity: 0.92;
}

/* --------------------------------------------------------------- itinerary */

.itinerary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.itin-day {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.itin-day:first-child {
  padding-top: 0;
}

.itin-day:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.itin-day__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 0.6rem 0.35rem 0.7rem;
  height: fit-content;
}

.itin-day__marker span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.itin-day__marker strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.1;
}

.itin-day__title {
  font-size: var(--step-2);
  margin-bottom: 0.3em;
}

.itin-day__summary {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.itin-day__slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.itin-day__slots li {
  font-size: 0.95rem;
  padding-left: 5.5rem;
  position: relative;
}

.itin-day__slots span {
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 40rem) {
  .itin-day {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .itin-day__marker {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
    width: fit-content;
    padding: 0.35rem 0.8rem;
  }

  .itin-day__marker strong {
    font-size: 1.15rem;
  }

  .itin-day__slots li {
    padding-left: 0;
    padding-top: 1.1rem;
  }
}

/* -------------------------------------------------------------------- tips */

.tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr));
  gap: 0.9rem var(--gap);
}

.tip {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
}

.tip__icon {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
  flex: none;
}

.tip__icon::after {
  content: '';
  position: absolute;
  left: 0.36rem;
  top: 0.2rem;
  width: 0.32rem;
  height: 0.6rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

/* --------------------------------------------------------------- callouts */

.callout-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: var(--gap);
  margin-top: var(--gap);
}

.callout {
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.4rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.callout--do {
  border-left: 4px solid var(--accent);
}

.callout--dont {
  border-left: 4px solid var(--warm);
}

.callout__title {
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}

.callout--do .callout__title {
  color: var(--accent);
}

.callout--dont .callout__title {
  color: var(--warm);
}

.callout__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.94rem;
}

/* ----------------------------------------------------------------- options */

.options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  gap: var(--gap);
}

.option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem 1.3rem;
}

.option__name {
  font-size: var(--step-1);
  margin-bottom: 0.35em;
}

.option p {
  font-size: 0.94rem;
  margin-bottom: 0.6em;
}

.option__detail {
  font-size: 0.87rem !important;
  color: var(--muted);
  margin-bottom: 0 !important;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line-strong);
}

/* --------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 52rem;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__item[open] {
  border-color: var(--line-strong);
}

.faq__q {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink);
  position: relative;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '';
  position: absolute;
  right: 1.35rem;
  top: 1.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq__item[open] .faq__q::after {
  transform: rotate(-135deg);
  top: 1.75rem;
}

.faq__q:hover {
  color: var(--accent);
}

.faq__a {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.96rem;
}

/* ------------------------------------------------------------- filter bar */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: var(--gap);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.filter-bar__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.filter-bar__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-btn {
  font: inherit;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* ------------------------------------------------------- notes and budgets */

.note {
  font-size: 0.92rem;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--muted);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-top: var(--gap);
}

.note--warn {
  border-left-color: var(--warm);
  background: var(--warm-soft);
}

.budget-bands {
  margin-top: var(--gap);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem 1.4rem;
}

.budget-bands__title {
  font-size: var(--step-1);
  margin-bottom: 0.7rem;
}

.budget-bands .note {
  margin-top: 1rem;
  background: transparent;
  border: 0;
  border-left: 3px solid var(--line-strong);
  padding: 0.2rem 0 0.2rem 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------- stats */

.section--stats {
  padding-block: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 45%), 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.stat {
  position: relative;
}

.stat:not(:first-child)::before {
  content: '';
  position: absolute;
  left: calc(var(--gap) / -2);
  top: 0.2em;
  bottom: 0.2em;
  width: 1px;
  background: var(--line);
}

@media (max-width: 30rem) {
  .stat:nth-child(even)::before {
    display: none;
  }
}

@media (max-width: 26rem) {
  .hero__eyebrow::before,
  .section__eyebrow::before {
    display: none;
  }
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  background: var(--accent-grad);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* --------------------------------------------------------------------- cta */

.section--cta {
  background: var(--surface-2);
}

.cta {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.cta__title {
  font-size: var(--step-3);
}

.cta__text {
  color: var(--muted);
  font-size: var(--step-1);
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------- page head */

.page-head {
  padding-block: clamp(2.25rem, 1.8rem + 2.5vw, 4rem) clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.page-head--center {
  text-align: center;
  border-bottom: 0;
  padding-block: clamp(3.5rem, 3rem + 5vw, 7rem);
}

.page-head__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.page-head__title {
  font-size: var(--step-4);
  margin-bottom: 0.3em;
}

.page-head__lead {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 50rem;
  margin-bottom: 0;
}

.page-head--center .page-head__lead {
  margin-inline: auto;
}

.page-head--center .hero__actions {
  justify-content: center;
  margin-top: 1.75rem;
}

/* ------------------------------------------------------------------ tables */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.credits-table {
  width: 100%;
  min-width: 40rem;
  font-size: 0.9rem;
}

.credits-table th,
.credits-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}

.credits-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}

.credits-table tr:last-child td {
  border-bottom: 0;
}

/* ------------------------------------------------------------------ figure */

.figure {
  border-radius: var(--radius);
  overflow: hidden;
}

.figure__credit {
  padding: 0.5rem 0.15rem 0;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  margin-top: auto;
  background: linear-gradient(160deg, var(--footer-bg), var(--footer-bg-2));
  border-top: 1px solid var(--footer-line);
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem) 1.5rem;
}

.site-footer .brand {
  color: var(--footer-ink);
}

.site-footer .brand__thin {
  color: var(--footer-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

@media (max-width: 55rem) {
  .site-footer__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(12rem, 45%), 1fr));
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

.site-footer__about p {
  font-size: 0.9rem;
  color: var(--footer-muted);
  max-width: 34ch;
  margin-top: 0.75rem;
}

.brand--footer {
  margin-right: 0;
}

.site-footer__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-muted);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.site-footer__list a {
  color: var(--footer-ink-2);
  text-decoration: none;
}

.site-footer__list a:hover {
  color: var(--accent-light);
  text-decoration: underline;
}

.site-footer__legal {
  margin-top: clamp(2rem, 1.6rem + 2vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--footer-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.8rem;
  color: var(--footer-muted);
}

.site-footer__legal p {
  margin: 0;
  max-width: 46ch;
}

.site-footer__legal a {
  color: var(--footer-ink-2);
}

.site-footer__legal a:hover {
  color: var(--accent-light);
}

/* ---------------------------------------------------------------- ad slot */

.ad-slot {
  margin-block: var(--section-y);
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
}

.ad-slot__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------- overview-mode advisory */

.advisory {
  background: var(--warm-soft);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--warm);
  color: var(--ink);
}

.advisory__inner {
  padding-top: 1.1rem;
  padding-bottom: 1.2rem;
}

.advisory__title {
  font-family: var(--font-display, inherit);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--warm);
  margin-bottom: 0.4rem;
}

.advisory__text {
  font-size: 0.98rem;
  max-width: 62rem;
  margin: 0.35rem 0 0;
}

.pill--flag {
  background: var(--warm-soft);
  color: var(--warm);
  border-color: var(--warm);
}

.country-card__flag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--warm);
  background: var(--warm-soft);
  border: 1px solid var(--warm);
  border-radius: 999px;
  padding: 0.12rem 0.65rem;
  margin: 0 0 0.6rem;
}
