@charset "UTF-8";
/* ==========================================================================
   KARAKORAM NOMADS — design system
   Hand-written CSS. No build step, no framework, nothing to install.

   The entire visual language is defined in the token block below. Nothing
   further down this file, and nothing in a template, should introduce a
   colour, radius, shadow or type size that is not declared there.

   Contents
     1  Tokens
     2  Reset and base
     3  Type scale
     4  Layout
     5  Buttons
     6  Badges, ratings, meters
     7  Forms
     8  Header and navigation
     9  Cards
     10 Home sections
     11 Explore and filters
     12 Experience detail
     13 Compare
     14 Editorial and stories
     15 Dashboard
     16 Footer
     17 Overlays, toasts, utilities
     18 Motion and reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1  TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Palette. Bone + Obsidian + Forest carry the interface. Sand is the only
     warm accent. Terracotta is reserved for one emphasis per viewport. */
  --obsidian: #171917;
  --forest: #26382f;
  --forest-deep: #1b2a23;
  --forest-soft: #354a3f;
  --bone: #f4f1e8;
  --warm-white: #faf9f5;
  --sand: #d8c7a7;
  --sand-soft: #e8dcc5;
  --stone: #9a968a;          /* decorative only — never used for text */
  --terracotta: #a85d43;
  --terracotta-deep: #8e4b34;

  /* Semantic aliases. Templates use these where the meaning is structural. */
  --ink: #171917;
  --ink-muted: #5b5f59;
  --ink-subtle: #6b6b61;     /* 5.1:1 on warm white — clears WCAG AA */
  --line: #e2ddd0;
  --line-strong: #cfc8b6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --surface: #faf9f5;
  --surface-sunken: #f4f1e8;
  --surface-raised: #ffffff;

  /* Section surfaces.
     Bone and warm white alone make a long page read as one flat sheet. These
     three are tints of colours already in the palette — forest, sand, and a
     cool neutral drawn off the stone — so the page gains rhythm without
     gaining hues. Each is paired with its own hairline, because a bone-toned
     line on a sage panel reads as a mistake.

     All three clear WCAG AA against the lightest text we use
     (--ink-subtle, 4.6:1) and are far clear of it for body and heading ink. */
  --surface-sage: #ebf0e9;   /* forest, heavily diluted */
  --surface-clay: #f5eee2;   /* sand, heavily diluted */
  --surface-mist: #eceeed;   /* cool neutral, for practical/reference blocks */
  --line-sage: #dbe3d8;
  --line-clay: #e8dcc6;
  --line-mist: #dee2e0;

  --positive: #3f6b52;
  --warning: #9a7b3f;
  --danger: #98402f;

  /* Type */
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "DM Serif Display", ui-serif, Georgia, "Times New Roman", serif;

  /* Radii. Deliberately tight — editorial layouts want corners, not pills. */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-full: 9999px;

  /* Elevation. Two levels only; depth comes from photography. */
  --shadow-raise: 0 1px 2px rgba(23, 25, 23, 0.04), 0 8px 24px -12px rgba(23, 25, 23, 0.12);
  --shadow-float: 0 2px 6px rgba(23, 25, 23, 0.06), 0 24px 48px -20px rgba(23, 25, 23, 0.22);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --header-h: 76px;
  --shell-max: 1440px;
  --measure: 850px;
}

/* Self-hosted: one less connection on first paint, and no third-party service
   sees a visitor's IP just to render text. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2  RESET AND BASE
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--line);
}

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--warm-white);
  color: var(--obsidian);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  body { font-size: 17px; }
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
}

button { cursor: pointer; }

ul, ol { list-style: none; }

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--sand);
  color: var(--obsidian);
}

/* One focus style everywhere, visible on light and dark grounds alike. */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
  border-radius: 2px;
}

.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: var(--sand);
}

h1, h2, h3, h4 { text-wrap: balance; font-weight: 400; }
p { text-wrap: pretty; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 12px 18px;
  background: var(--obsidian);
  color: var(--bone);
  border-radius: var(--r-xs);
}

/* --------------------------------------------------------------------------
   3  TYPE SCALE
   Mobile-first; desktop values apply from 768px.
   -------------------------------------------------------------------------- */

.t-hero,
.t-h1,
.t-h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.t-hero { font-size: 42px; line-height: 1.02; letter-spacing: -0.02em; }
.t-h1   { font-size: 38px; line-height: 1.06; letter-spacing: -0.018em; }
.t-h2   { font-size: 32px; line-height: 1.10; letter-spacing: -0.015em; }
.t-h3   { font-family: var(--sans); font-size: 22px; line-height: 1.25; letter-spacing: -0.011em; font-weight: 500; }

.t-body   { font-size: 16px; line-height: 1.65; }
.t-lead   { font-size: 18px; line-height: 1.6; }
.t-small  { font-size: 14px; line-height: 1.5; }

.t-label {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.t-stat {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

@media (min-width: 768px) {
  .t-hero { font-size: 72px; letter-spacing: -0.028em; }
  .t-h1   { font-size: 56px; letter-spacing: -0.024em; }
  .t-h2   { font-size: 40px; }
  .t-h3   { font-size: 24px; }
  .t-body { font-size: 17px; }
  .t-lead { font-size: 20px; }
  .t-stat { font-size: 36px; }
}

.muted   { color: var(--ink-muted); }
.subtle  { color: var(--ink-subtle); }
.serif   { font-family: var(--serif); font-weight: 400; }
.nums    { font-variant-numeric: tabular-nums; }

/* Editorial measure — long-form prose never exceeds a comfortable line. */
.measure { max-width: var(--measure); }

/* --------------------------------------------------------------------------
   4  LAYOUT
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px)  { .shell { padding-inline: 40px; } }
@media (min-width: 1280px) { .shell { padding-inline: 64px; } }

.section       { padding-block: 72px; }
.section-tight { padding-block: 56px; }

@media (min-width: 768px) {
  .section       { padding-block: 112px; }
  .section-tight { padding-block: 80px; }
}

@media (min-width: 1280px) {
  .section { padding-block: 136px; }
}

.bg-bone    { background: var(--bone); }
.bg-warm    { background: var(--warm-white); }
.bg-forest  { background: var(--forest); color: var(--bone); }
.bg-dark    { background: var(--obsidian); color: var(--bone); }

/* Tinted section surfaces. Each retunes --line for anything inside it, so
   hairlines, card borders and table rules pick up the panel's own tone
   instead of the bone-grey they would otherwise inherit. */
.bg-sage { background: var(--surface-sage); --line: var(--line-sage); }
.bg-clay { background: var(--surface-clay); --line: var(--line-clay); }
.bg-mist { background: var(--surface-mist); --line: var(--line-mist); }

/* Cards sitting on a tinted panel lift to warm white so they still read as
   objects on a surface rather than dissolving into it. */
.bg-sage .metric, .bg-clay .metric, .bg-mist .metric,
.bg-sage .highlight-card, .bg-clay .highlight-card, .bg-mist .highlight-card,
.bg-sage .table-wrap, .bg-clay .table-wrap, .bg-mist .table-wrap,
.bg-sage .empty, .bg-clay .empty, .bg-mist .empty { background: var(--warm-white); }

.border-t   { border-top: 1px solid var(--line); }
.border-b   { border-bottom: 1px solid var(--line); }

.stack > * + * { margin-top: var(--stack-gap, 16px); }

.grid { display: grid; gap: 24px; }
.g-2, .g-3, .g-4 { display: grid; gap: 24px; }

@media (min-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.flex     { display: flex; }
.between  { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.center   { display: flex; align-items: center; gap: 8px; }
.wrap     { flex-wrap: wrap; }

/* Edge-to-edge scroller: bleeds into the gutter so cards keep their scale. */
.scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: 20px;
  margin-inline: -20px;
  min-height: 240px;
}

.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex: 0 0 auto; min-width: 240px; }

/* Like .scroller but stays inside the gutter — for tab strips and steppers,
   where bleeding to the viewport edge reads as a bug. */
.rail {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   5  BUTTONS
   Four intents, three sizes. Nothing else.
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--r-xs);
  font-weight: 500;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  height: 44px;
  padding-inline: 20px;
  font-size: 14px;
}

.btn-sm  { height: 36px; padding-inline: 14px; font-size: 13px; }
.btn-lg  { height: 52px; padding-inline: 28px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; }
.btn-full { width: 100%; }

.btn-primary   { background: var(--obsidian); color: var(--bone); }
.btn-primary:hover { background: var(--forest); }

.btn-light     { background: var(--bone); color: var(--obsidian); }
.btn-light:hover { background: var(--warm-white); }

.btn-outline   { border: 1px solid var(--line-strong); color: var(--obsidian); }
.btn-outline:hover { border-color: var(--obsidian); background: var(--obsidian); color: var(--bone); }

.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.35); color: var(--bone); }
.btn-outline-light:hover { border-color: var(--bone); background: var(--bone); color: var(--obsidian); }

.btn-ghost     { color: var(--ink-muted); }
.btn-ghost:hover { background: rgba(23, 25, 23, 0.06); color: var(--obsidian); }

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* Editorial text link with a rule that retracts on hover. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.link-arrow .label {
  position: relative;
}

.link-arrow .label::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.link-arrow:hover .label::after { transform: scaleX(0); }
.link-arrow svg { transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.underline-link { text-decoration: underline; text-underline-offset: 4px; }
.hover-underline:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   6  BADGES, RATINGS, METERS
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding-inline: 8px;
  border-radius: var(--r-xs);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  white-space: nowrap;
}

.badge-light   { background: rgba(244, 241, 232, 0.95); color: var(--obsidian); backdrop-filter: blur(2px); }
.badge-solid   { background: var(--obsidian); color: var(--bone); }
.badge-forest  { background: var(--forest); color: var(--bone); }
.badge-outline { border: 1px solid var(--line-strong); color: var(--ink-muted); }
.badge-outline-light { border: 1px solid rgba(255, 255, 255, 0.4); color: var(--bone); }
.badge-muted   { background: var(--surface-sunken); color: var(--ink-muted); }

.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.rating .stars { display: inline-flex; gap: 3px; }
.rating .value { font-weight: 500; }

/* Difficulty reads as a four-step meter, not a colour code. */
.difficulty { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.difficulty .meter { display: inline-flex; align-items: flex-end; gap: 2px; }

.difficulty .bar {
  width: 3px;
  border-radius: 1px;
  background: var(--line-strong);
}

.difficulty .bar:nth-child(1) { height: 5px; }
.difficulty .bar:nth-child(2) { height: 7px; }
.difficulty .bar:nth-child(3) { height: 9px; }
.difficulty .bar:nth-child(4) { height: 11px; }
.difficulty .bar.on { background: var(--obsidian); }
.on-dark .difficulty .bar { background: rgba(255, 255, 255, 0.3); }
.on-dark .difficulty .bar.on { background: var(--bone); }

.dot { color: var(--line-strong); }

/* --------------------------------------------------------------------------
   7  FORMS
   -------------------------------------------------------------------------- */

.field { display: block; }

.field > .t-label { display: block; color: var(--ink-subtle); }

.input,
.select,
.textarea {
  margin-top: 8px;
  width: 100%;
  height: 48px;
  padding-inline: 16px;
  background: var(--warm-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  font-size: 15px;
  transition: border-color 0.2s var(--ease);
}

.textarea { height: auto; padding-block: 12px; resize: vertical; }

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--obsidian);
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236b6b61' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.error-text { margin-top: 6px; font-size: 13px; color: var(--danger); }
.hint-text  { margin-top: 6px; font-size: 12px; color: var(--ink-subtle); }

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 3px;
  cursor: pointer;
}

.check .box {
  position: relative;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  display: grid;
  place-items: center;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.check .box svg { opacity: 0; }
.check.on .box { background: var(--obsidian); border-color: var(--obsidian); }
.check.on .box svg { opacity: 1; color: var(--bone); }
.check:hover .box { border-color: var(--ink-muted); }
.check .text { flex: 1; min-width: 0; font-size: 14px; color: var(--ink-muted); line-height: 1.35; }
.check:hover .text { color: var(--obsidian); }
.check .count { font-size: 12px; color: var(--ink-subtle); }
.check.on .text { color: var(--obsidian); }

.notice {
  border-left: 2px solid var(--sand);
  padding: 14px 20px;
  background: var(--bone);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.notice-error {
  border-left-color: var(--danger);
  background: rgba(152, 64, 47, 0.06);
  color: var(--danger);
}

.notice-success {
  border-left-color: var(--positive);
  background: rgba(63, 107, 82, 0.07);
  color: var(--positive);
}

/* --------------------------------------------------------------------------
   8  HEADER AND NAVIGATION
   -------------------------------------------------------------------------- */

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(244, 241, 232, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Over a hero the header is transparent with light type; it solidifies on
   scroll. The class is toggled by a scroll listener in app.js. */
.header.over-hero {
  background: transparent;
  border-bottom-color: transparent;
  color: var(--bone);
}

.header.over-hero .nav-link { color: rgba(244, 241, 232, 0.85); }
.header.over-hero .nav-link:hover,
.header.over-hero .nav-link[aria-current] { color: var(--bone); }
.header.over-hero .icon-btn { color: var(--bone); }
.header.over-hero .icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.header.over-hero .btn-primary { background: var(--bone); color: var(--obsidian); }
.header.over-hero .btn-primary:hover { background: var(--warm-white); }
.header.over-hero .wordmark .lead { color: var(--bone); }
.header.over-hero .wordmark .rule { background: rgba(244, 241, 232, 0.35); }
.header.over-hero .wordmark .trail { color: rgba(244, 241, 232, 0.85); }
.header.over-hero .compare-count { background: var(--bone); color: var(--obsidian); }

.wordmark { display: inline-flex; align-items: baseline; gap: 7px; transition: opacity 0.2s var(--ease); }
.wordmark:hover { opacity: 0.8; }
.wordmark .lead { font-family: var(--serif); font-size: 19px; line-height: 1; letter-spacing: -0.015em; color: var(--obsidian); }
.wordmark .rule { width: 1px; height: 13px; background: var(--line-strong); transform: translateY(-1px); }
.wordmark .trail { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 500; line-height: 1; color: var(--ink-muted); }

@media (min-width: 768px) {
  .wordmark .lead { font-size: 21px; }
  .wordmark .trail { font-size: 11px; }
}

.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: 32px; }

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--obsidian); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link[aria-current] { color: var(--obsidian); }
.nav-link[aria-current]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 4px; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-xs);
  color: var(--obsidian);
  transition: background-color 0.2s var(--ease);
}

.icon-btn:hover { background: rgba(23, 25, 23, 0.06); }

.compare-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  margin-left: 6px;
  border-radius: var(--r-full);
  background: var(--obsidian);
  color: var(--bone);
  font-size: 10px;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-secondary { display: flex; align-items: center; gap: 24px; }
  .menu-btn { display: none; }
}

.nav-secondary { display: none; }
.header-cta { display: none; }

@media (min-width: 768px) {
  .header-cta { display: inline-flex; margin-left: 8px; }
}

/* Mobile menu — a full-height sheet from the right. */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
}

.menu[data-open="true"] { visibility: visible; }

.menu .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 25, 23, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.menu[data-open="true"] .backdrop { opacity: 1; }

.menu .panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(420px, 100%);
  background: var(--bone);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  box-shadow: var(--shadow-float);
}

.menu[data-open="true"] .panel { transform: none; }

.menu .panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: 20px;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}

.menu nav { flex: 1; overflow-y: auto; padding: 32px 20px; }

.menu .primary a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.menu .primary .title { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -0.015em; }
.menu .primary .desc  { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-subtle); }
.menu .secondary { margin-top: 32px; display: grid; gap: 16px; }
.menu .secondary a { font-size: 15px; color: var(--ink-muted); }
.menu .secondary a:hover { color: var(--obsidian); }
.menu .panel footer { flex: 0 0 auto; padding: 20px; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   9  CARDS
   -------------------------------------------------------------------------- */

.media {
  position: relative;
  overflow: hidden;
  background: var(--surface-sunken);
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ratio-43  { aspect-ratio: 4 / 3; min-height: 180px; }
.ratio-34  { aspect-ratio: 3 / 4; }
.ratio-1610 { aspect-ratio: 16 / 10; }
.ratio-45  { aspect-ratio: 4 / 5; }
.ratio-11  { aspect-ratio: 1 / 1; }

.zoom img { transition: transform 0.9s var(--ease); }
.card:hover .zoom img,
.dcard:hover .zoom img { transform: scale(1.04); }

.scrim-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(23, 25, 23, 0.78) 0%,
    rgba(23, 25, 23, 0.28) 46%,
    rgba(23, 25, 23, 0) 78%);
}

.scrim-hero {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(23, 25, 23, 0.52) 0%,
    rgba(23, 25, 23, 0.28) 34%,
    rgba(23, 25, 23, 0.24) 58%,
    rgba(23, 25, 23, 0.68) 100%);
}

/* Experience card — the marketplace's workhorse, identical everywhere. */
.card { position: relative; display: flex; flex-direction: column; }
.card .media { flex: 0 0 auto; }

/* Stacked single-column view (mobile): cards run straight into one another
   with no side-by-side neighbour to imply a boundary, so give each one its
   own edge. The grid's own gap does that job once cards sit side by side. */
.card { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .card { padding-bottom: 0; border-bottom: none; } }
.card .body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.card .place { color: var(--ink-subtle); }
.card .title { margin-top: 10px; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -0.011em; }
.card .title a::after { content: ""; position: absolute; inset: 0; }
.card .facts { margin-top: 12px; padding-block: 0; border-block: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--ink-muted); }
.card .summary { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .foot { margin-top: auto; padding-top: 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.card .price { font-size: 14px; color: var(--ink-muted); }
.card .price .amount { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--obsidian); }

@media (min-width: 768px) {
  .card .title { font-size: 21px; }
}

.card .pin-tl { position: absolute; left: 12px; top: 12px; z-index: 2; }
.card .pin-tr { position: absolute; right: 12px; top: 12px; z-index: 2; }

.heart {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-xs);
  background: rgba(23, 25, 23, 0.25);
  color: var(--bone);
  backdrop-filter: blur(2px);
  transition: background-color 0.2s var(--ease);
}

.heart:hover { background: rgba(23, 25, 23, 0.45); }
.heart[aria-pressed="true"] svg { fill: currentColor; }

/* On a detail page the Save control sits in a row of buttons rather than over
   a photograph, so it drops the scrim and reads as an outline button. */
.heart.inline {
  grid-auto-flow: column;
  align-items: center;
  gap: 8px;
  width: auto;
  height: 40px;
  padding-inline: 14px;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--obsidian);
  font-size: 13px;
  font-weight: 500;
}

.heart.inline:hover { background: rgba(23, 25, 23, 0.06); }
.heart.inline[aria-pressed="true"] { border-color: var(--obsidian); }

.compare-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding-inline: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease);
}

.compare-btn:hover { border-color: var(--obsidian); color: var(--obsidian); }
.compare-btn[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--bone); }
.compare-btn .on-icon { display: none; }
.compare-btn[aria-pressed="true"] .on-icon { display: block; }
.compare-btn[aria-pressed="true"] .off-icon { display: none; }

/* WhatsApp call-out on the card foot — replaces rating + Compare. */
.whatsapp-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding-inline: 12px;
  border-radius: var(--r-xs);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px rgba(18, 140, 126, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.whatsapp-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(18, 140, 126, 0.45); }
.whatsapp-cta svg { flex: 0 0 auto; }

/* Destination card — photography-led, text over a scrim. */
.dcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--obsidian);
}

.dcard .content { position: absolute; inset-inline: 0; bottom: 0; padding: 24px; color: var(--bone); }
.dcard .region { color: var(--sand); }
.dcard .name { margin-top: 10px; font-family: var(--serif); font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; }
.dcard .name a::after { content: ""; position: absolute; inset: 0; }
.dcard .row { margin-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dcard .tagline { max-width: 36ch; font-size: 14px; line-height: 1.55; color: rgba(244, 241, 232, 0.82); transition: transform 0.5s var(--ease); }
.dcard:hover .tagline { transform: translateY(-2px); }
.dcard .arrow { flex: 0 0 auto; margin-bottom: 4px; transition: transform 0.5s var(--ease); }
.dcard:hover .arrow { transform: translateX(6px); }

@media (min-width: 768px) {
  .dcard .content { padding: 28px; }
  .dcard .name { font-size: 32px; }
}

/* --------------------------------------------------------------------------
   10  HOME SECTIONS
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 720px;
  background: var(--obsidian);
  overflow: hidden;
}

@media (min-width: 768px) { .hero { min-height: 760px; } }

/* Hero background slideshow — five images crossfading with a slow Ken Burns
   zoom. Pure CSS: each <img> gets a staggered negative/positive delay into
   the same 25s keyframe loop so exactly one is visible at a time. */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-slide-fade 30s infinite;
}
.hero-slides img:nth-child(1) { animation-delay: -1s; }
.hero-slides img:nth-child(2) { animation-delay: 4s; }
.hero-slides img:nth-child(3) { animation-delay: 9s; }
.hero-slides img:nth-child(4) { animation-delay: 14s; }
.hero-slides img:nth-child(5) { animation-delay: 19s; }
.hero-slides img:nth-child(6) { animation-delay: 24s; }

@keyframes hero-slide-fade {
  0%       { opacity: 0; transform: scale(1.08); }
  3.333%   { opacity: 1; }
  13.333%  { opacity: 1; transform: scale(1); }
  16.667%  { opacity: 0; }
  100%     { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slides img { animation: none; opacity: 0; transform: none; }
  .hero-slides img:first-child { opacity: 1; }
}

.hero .inner { position: relative; padding-block: 128px 56px; color: var(--bone); }

@media (min-width: 768px) { .hero .inner { padding-block: 160px 80px; } }

.hero h1 { margin-top: 24px; color: var(--bone); }
.hero .sub { margin-top: 28px; max-width: 34rem; font-size: 17px; line-height: 1.6; color: rgba(244, 241, 232, 0.82); }

@media (min-width: 768px) { .hero .sub { font-size: 19px; } }

/* Search bar — three fields divided by hairlines, stacked on mobile. */
.searchbar {
  margin-top: 40px;
  max-width: 56rem;
  background: rgba(250, 249, 245, 0.97);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.searchbar form { display: block; }
.searchbar .f { padding: 16px 20px; border-bottom: 1px solid var(--line); position: relative; }
.searchbar .f:last-of-type { border-bottom: 1px solid var(--line); }
.searchbar .f .t-label { color: var(--ink-subtle); }
.searchbar .f input,
.searchbar .f select { margin-top: 6px; width: 100%; border: 0; background: none; font-size: 15px; color: var(--obsidian); height: auto; padding: 0; }
.searchbar .f input:focus, .searchbar .f select:focus { outline: none; }
.searchbar .go { padding: 12px; }
.searchbar .go .btn { width: 100%; }

@media (min-width: 768px) {
  .searchbar form { display: flex; align-items: stretch; }
  .searchbar .f { flex: 1; border-bottom: 0; border-right: 1px solid var(--line); padding-block: 20px; }
  .searchbar .f.where { flex: 1.6; }
  .searchbar .go { display: flex; align-items: center; padding: 10px; }
  .searchbar .go .btn { width: auto; }
}

/* Single-field variant: one input, no facet dropdowns. */
.searchbar-single form {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 22px;
}
.searchbar-single .icon { display: flex; flex: 0 0 auto; color: var(--ink-subtle); }
.searchbar-single input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-size: 16px;
  color: var(--obsidian);
  height: 44px;
  padding: 0;
}
.searchbar-single input::placeholder { color: var(--ink-subtle); }
.searchbar-single input:focus { outline: none; }
.searchbar-single .btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
}
.searchbar-single .btn span { display: none; }
@media (min-width: 480px) {
  .searchbar-single .btn span { display: inline; }
}

.hero .try { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13px; color: rgba(244, 241, 232, 0.72); }
.hero .try a:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 4px; }

.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; padding-block: 48px; }

@media (min-width: 1024px) {
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 64px; }
}

.trust h3 { margin-top: 16px; font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.trust p  { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--ink-muted); }

@media (min-width: 768px) { .trust p { font-size: 14px; } }

.section-head { display: flex; flex-direction: column; gap: 24px; }
.section-head .lede { max-width: 42rem; }
.section-head .desc { margin-top: 20px; max-width: 34rem; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

@media (min-width: 768px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
  .section-head .desc { font-size: 17px; }
}

.on-dark .section-head .desc { color: rgba(244, 241, 232, 0.7); }

/* Asymmetric editorial destination grid. */
.dgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.dgrid .lead { grid-column: span 5; grid-row: span 2; }
.dgrid .a { grid-column: span 4; }
.dgrid .b { grid-column: span 3; }
.dgrid .c { grid-column: span 3; }
.dgrid .d { grid-column: span 4; }
.dgrid .e { grid-column: span 6; }
.dgrid .wide { grid-column: span 12; }

.steps { display: grid; gap: 40px; }

@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

.steps .step { border-top: 1px solid var(--obsidian); padding-top: 24px; }
.steps .step p { margin-top: 20px; max-width: 38ch; font-size: 15px; line-height: 1.65; color: var(--ink-muted); }

@media (min-width: 768px) { .steps .step p { font-size: 16px; } }

.split { display: grid; }

@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.split .pane { display: flex; align-items: center; padding: 64px 20px; }

@media (min-width: 768px) { .split .pane { padding-inline: 48px; } }
@media (min-width: 1024px) { .split .pane { padding-block: 96px; } .split .media { min-height: 620px; } }
@media (min-width: 1280px) { .split .pane { padding-inline: 96px; } }

.statlist { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }

@media (min-width: 640px) { .statlist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.statlist dd { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.statlist dt { margin-top: 8px; }

.final-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); }
.final-cta .media img { opacity: 0.35; }
.final-cta .veil { position: absolute; inset: 0; background: rgba(38, 56, 47, 0.45); }
.final-cta .inner { position: relative; padding-block: 96px; text-align: center; color: var(--bone); }

@media (min-width: 768px) { .final-cta .inner { padding-block: 144px; } }

/* Homepage comparison teaser. Deliberately not `.ctable`: that table has a
   sticky first column on a warm-white background, which is wrong on forest.
   Nine rows, no sticky column, scrolls as one piece. */
/* The explicit background matters: the table is wider than its container, so
   without it a contrast checker resolves the backdrop to the page behind the
   overflow rather than the forest section the table sits in. */
.bg-forest .ctable-wrap { background: var(--forest); }
.mini-compare { width: 100%; min-width: 520px; text-align: left; border-collapse: collapse; background: var(--forest); }
.mini-compare th,
.mini-compare td { vertical-align: top; }
.mini-compare thead th { padding-bottom: 20px; vertical-align: bottom; }
.mini-compare thead .j { padding-left: 16px; }
.mini-compare thead .j a { font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.mini-compare thead .j a:hover { color: var(--sand); }
.mini-compare tbody tr { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.mini-compare tbody th { width: 104px; padding: 14px 16px 14px 0; font-weight: 400; }
.mini-compare tbody th .t-label { color: rgba(244, 241, 232, 0.6); }
.mini-compare td { padding: 14px 0 14px 16px; }
.mini-compare .v { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: rgba(244, 241, 232, 0.85); }
.mini-compare .v.win { color: var(--sand); font-weight: 500; }

/* Shown only from the large breakpoint — the counterpart of .hide-lg. */
.only-lg { display: none; }

@media (min-width: 1024px) { .only-lg { display: block; } }

/* --------------------------------------------------------------------------
   11  EXPLORE AND FILTERS
   -------------------------------------------------------------------------- */

.page-head { padding-block: 48px; }

@media (min-width: 768px) { .page-head { padding-block: 64px; } }

.explore { display: block; }

@media (min-width: 1024px) {
  .explore { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; }
}

@media (min-width: 1280px) { .explore { gap: 64px; } }

.sidebar { display: none; }

@media (min-width: 1024px) {
  .sidebar { display: block; position: sticky; top: 92px; max-height: calc(100dvh - 120px); overflow-y: auto; padding-right: 8px; padding-bottom: 32px; }
}

.fgroup { border-bottom: 1px solid var(--line); padding-block: 20px; }
.fgroup > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.fgroup > summary::-webkit-details-marker { display: none; }
.fgroup > summary .chev { transition: transform 0.3s var(--ease); color: var(--ink-subtle); }
.fgroup[open] > summary .chev { transform: rotate(180deg); }
.fgroup .options { margin-top: 16px; display: grid; gap: 10px; max-height: 264px; overflow-y: auto; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  background: var(--surface-sunken);
  font-size: 13px;
  color: var(--ink-muted);
  text-transform: capitalize;
  transition: all 0.2s var(--ease);
}

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

.results { display: grid; gap: 24px 24px; }

@media (min-width: 640px)  { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; } }
@media (min-width: 1024px) { .results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.empty {
  border: 1px solid var(--line);
  background: var(--surface-sunken);
  padding: 64px 24px;
  text-align: center;
}

.empty p + p { margin-top: 12px; max-width: 26rem; margin-inline: auto; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; }

.pagination a,
.pagination span {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  font-size: 14px;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease);
}

.pagination a:hover { border-color: var(--obsidian); color: var(--obsidian); }
.pagination .current { background: var(--obsidian); border-color: var(--obsidian); color: var(--bone); }
.pagination .gap { border: 0; min-width: 20px; }
.pagination .disabled { opacity: 0.35; pointer-events: none; }

/* Mobile filter sheet. */
.sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.sheet[data-open="true"] { visibility: visible; }
.sheet .backdrop { position: absolute; inset: 0; background: rgba(23, 25, 23, 0.4); opacity: 0; transition: opacity 0.3s var(--ease); }
.sheet[data-open="true"] .backdrop { opacity: 1; }

.sheet .panel {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: 88dvh;
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transform: translateY(100%);
  transition: transform 0.32s var(--ease);
}

.sheet[data-open="true"] .panel { transform: none; }
.sheet .panel header,
.sheet .panel footer { flex: 0 0 auto; padding: 16px 20px; }
.sheet .panel header { border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.sheet .panel footer { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.sheet .panel .scroll { flex: 1; overflow-y: auto; padding-inline: 20px; }

/* --------------------------------------------------------------------------
   12  EXPERIENCE DETAIL
   -------------------------------------------------------------------------- */

.gallery-mobile { position: relative; }
.gallery-mobile .strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-mobile .strip::-webkit-scrollbar { display: none; }
.gallery-mobile .strip > * { flex: 0 0 100%; scroll-snap-align: start; }

.gallery-mobile .counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--r-xs);
  background: rgba(23, 25, 23, 0.7);
  color: var(--bone);
  font-size: 12px;
  backdrop-filter: blur(2px);
}

.gallery-desktop { display: none; }

@media (min-width: 768px) {
  .gallery-mobile { display: none; }
  .gallery-desktop { display: grid; grid-template-columns: 1.9fr 1fr; gap: 12px; height: 560px; }
  .gallery-desktop .stack3 { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

@media (min-width: 1024px) { .gallery-desktop { height: 620px; } }

.gallery-desktop .more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(23, 25, 23, 0.45);
  color: var(--bone);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(1px);
}

.detail { display: block; }

@media (min-width: 1024px) {
  .detail { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; align-items: start; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 32px;
  border-block: 1px solid var(--line);
  padding-block: 40px;
}

@media (min-width: 768px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 48px; gap: 40px 32px; }
}

.facts dd { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.02em; }
.facts dt { margin-top: 10px; }

@media (min-width: 768px) { .facts dd { font-size: 36px; } }

.section-nav { display: flex; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.section-nav a { white-space: nowrap; font-size: 14px; color: var(--ink-muted); }
.section-nav a:hover { color: var(--obsidian); }

.anchor { scroll-margin-top: 100px; }

.highlights { display: grid; gap: 32px 40px; }

@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.highlights .item { border-top: 1px solid var(--line); padding-top: 20px; }
.highlights h3 { margin-top: 14px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.highlights p { margin-top: 10px; max-width: 42ch; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

/* Itinerary — a vertical timeline of expandable days. */
.timeline { position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 24px;
  width: 1px;
  background: var(--line);
}

@media (min-width: 768px) { .timeline::before { left: 87px; } }

.day { position: relative; }
.day > summary { display: flex; align-items: flex-start; gap: 20px; padding-block: 20px; cursor: pointer; list-style: none; }
.day > summary::-webkit-details-marker { display: none; }
.day .num { display: none; flex: 0 0 80px; padding-top: 4px; }

@media (min-width: 768px) { .day .num { display: block; } .day > summary { gap: 24px; } }

.day .bead {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin-top: 8px;
  width: 15px;
  height: 15px;
  border-radius: var(--r-full);
  background: var(--line-strong);
  border: 2px solid var(--warm-white);
  transition: background-color 0.2s var(--ease);
}

.day[open] .bead { background: var(--obsidian); }
.day > summary:hover .bead { background: var(--forest); }
.day .head { flex: 1; min-width: 0; }
.day .head .num-m { display: block; }

@media (min-width: 768px) { .day .head .num-m { display: none; } }

.day .head h3 { margin-top: 4px; font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }

@media (min-width: 768px) { .day .head h3 { font-size: 20px; margin-top: 0; } }

.day .meta { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--ink-subtle); }
.day .chev { flex: 0 0 auto; margin-top: 8px; color: var(--ink-subtle); transition: transform 0.3s var(--ease); }
.day[open] .chev { transform: rotate(180deg); }
.day .body { padding: 0 0 32px 40px; }

@media (min-width: 768px) { .day .body { padding-left: 126px; } }

.day .body p { max-width: 62ch; font-size: 15px; line-height: 1.75; color: var(--ink-muted); }

@media (min-width: 768px) { .day .body p { font-size: 16px; } }

.day .dl { margin-top: 24px; display: grid; gap: 16px 32px; }

@media (min-width: 640px)  { .day .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .day .dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.day .dl dd { margin-top: 6px; font-size: 14px; }
.stops { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.stop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  font-size: 13px;
  color: var(--ink-muted);
}

.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }

@media (min-width: 768px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

.ticks { margin-top: 24px; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; }
.ticks svg { flex: 0 0 auto; margin-top: 3px; }
.ticks .yes svg { color: var(--forest); }
.ticks .no  { color: var(--ink-muted); }
.ticks .no svg { color: var(--stone); }

.packing { display: grid; gap: 40px; }

@media (min-width: 640px)  { .packing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .packing { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.packing h3 { border-bottom: 1px solid var(--line); padding-bottom: 12px; color: var(--ink-subtle); }
.packing ul { margin-top: 16px; display: grid; gap: 10px; }
.packing li { font-size: 14px; line-height: 1.5; }
.packing .opt { margin-left: 6px; font-size: 12px; color: var(--ink-subtle); }
.packing .note { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-subtle); }

/* Booking card — sticky on desktop, a fixed bar on mobile. */
.booking {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--warm-white);
  padding: 24px;
  box-shadow: var(--shadow-raise);
}

@media (min-width: 1024px) { .booking-wrap { position: sticky; top: 100px; } }

.booking .from { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin-top: 6px; }
.booking .rows { margin-top: 24px; display: grid; gap: 10px; }

.booking .pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xs);
  text-align: left;
  transition: border-color 0.2s var(--ease);
}

.booking .pick:hover { border-color: var(--obsidian); }
.booking .pick .value { margin-top: 4px; font-size: 15px; }
.booking .totals { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 10px; font-size: 14px; }
.booking .totals .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.booking .totals .grand { font-weight: 500; }
.booking .totals .grand dd { font-size: 17px; }

.booking-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(250, 249, 245, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

@media (min-width: 1024px) { .booking-bar { display: none; } }

.booking-bar .inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }

.stepper { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.stepper li { flex: 0 0 auto; }

@media (min-width: 768px) { .stepper li { flex: 1; } }

.stepper .s { display: block; padding: 0 32px 12px 0; border-bottom: 2px solid transparent; font-size: 13px; color: var(--ink-subtle); }

@media (min-width: 768px) { .stepper .s { padding-right: 0; } }

.stepper .s.now  { border-bottom-color: var(--obsidian); color: var(--obsidian); }
.stepper .s.done { border-bottom-color: var(--forest); color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   13  COMPARE
   -------------------------------------------------------------------------- */

.compare-cards { display: grid; gap: 16px; }

@media (min-width: 640px)  { .compare-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .compare-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.compare-card { position: relative; border: 1px solid var(--line); background: var(--warm-white); }
.compare-card .body { padding: 20px; }
.compare-card .remove { position: absolute; right: 12px; top: 12px; z-index: 2; }

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  text-align: center;
  transition: border-color 0.2s var(--ease);
}

.slot:hover { border-color: var(--obsidian); }

.slot .circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  color: var(--ink-subtle);
}

.highlight-cards { display: grid; gap: 16px; }

@media (min-width: 640px)  { .highlight-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .highlight-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.highlight-card { border: 1px solid var(--line); background: var(--bone); padding: 20px; }
.highlight-card .label { color: var(--forest); }
.highlight-card .name { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.highlight-card .detail { margin-top: 8px; font-size: 13px; color: var(--ink-muted); }

/* The table: first column sticky, experience columns scroll horizontally.
   Squeezing four operators into 390px would make it unreadable, so it is not
   attempted — the sticky label column keeps every row identifiable instead. */
.ctable-wrap { overflow-x: auto; }
.ctable { text-align: left; }

.ctable th,
.ctable td { vertical-align: top; }

.ctable .rowhead {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 150px;
  min-width: 150px;
  background: var(--warm-white);
  padding: 16px 16px 16px 0;
  font-weight: 400;
}

@media (min-width: 768px) { .ctable .rowhead { width: 200px; min-width: 200px; } }

.ctable thead .rowhead { padding-bottom: 16px; vertical-align: bottom; }
.ctable .col { min-width: 240px; padding: 16px 0 16px 16px; }
.ctable thead .col { vertical-align: bottom; }
.ctable thead .col a { font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.ctable thead .col a:hover { color: var(--forest); }
.ctable tbody tr { border-top: 1px solid var(--line); }
.ctable .grouphead { position: sticky; left: 0; padding: 36px 0 12px; }
.ctable .grouphead tr { border-top: 0; }
.ctable .cell { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 1.35; }
.ctable .cell.win { color: var(--forest); font-weight: 500; }
.ctable .detail { display: block; margin-top: 6px; max-width: 34ch; font-size: 12px; line-height: 1.5; color: var(--ink-subtle); }

@media (min-width: 768px) {
  .ctable thead .col a { font-size: 16px; }
  .ctable .cell { font-size: 15px; }
}

.decide { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.decide a {
  flex: 1 1 200px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
  transition: border-color 0.2s var(--ease);
}

.decide a:hover { border-color: var(--bone); }
.decide .label { color: var(--sand); }
.decide .name { font-size: 16px; font-weight: 500; line-height: 1.3; }
.decide .detail { font-size: 13px; color: rgba(244, 241, 232, 0.65); }

/* Sticky comparison bar — follows the traveller across the marketplace. */
.compare-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: var(--obsidian);
  color: var(--bone);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.32s var(--ease);
}

.compare-bar[data-show="true"] { transform: none; }
.compare-bar .inner { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.compare-bar .list { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.compare-bar .list li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(244, 241, 232, 0.85); }
.compare-bar .list button { color: rgba(244, 241, 232, 0.5); }
.compare-bar .list button:hover { color: var(--bone); }

/* The tray is obsidian, so the ghost button inside it inverts. Without this it
   is ink-muted on near-black — the one contrast failure the audit found. */
.compare-bar .btn-ghost { color: rgba(244, 241, 232, 0.78); }
.compare-bar .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--bone); }

@media (min-width: 768px) { .compare-bar .inner { padding-block: 16px; } }

/* --------------------------------------------------------------------------
   14  EDITORIAL AND STORIES
   -------------------------------------------------------------------------- */

.prose p { font-size: 16px; line-height: 1.75; color: var(--ink-muted); }
.prose p + p { margin-top: 28px; }
.prose .lede { font-size: 20px; line-height: 1.6; color: var(--obsidian); }

@media (min-width: 768px) {
  .prose p { font-size: 17px; }
  .prose .lede { font-size: 23px; line-height: 1.55; }
}

.lead-story { display: grid; gap: 32px; }

@media (min-width: 1024px) { .lead-story { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; } }

.lead-story h2,
.lead-story h3 { margin-top: 20px; font-family: var(--serif); font-size: 32px; line-height: 1.06; letter-spacing: -0.02em; }

@media (min-width: 768px) { .lead-story h2, .lead-story h3 { font-size: 42px; } }

.lead-story .stand { margin-top: 20px; max-width: 46ch; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }

@media (min-width: 768px) { .lead-story .stand { font-size: 17px; } }

.story-item a { display: flex; align-items: flex-start; gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); transition: border-color 0.2s var(--ease); }
.story-item a:hover { border-top-color: var(--obsidian); }
.story-item .n { flex: 0 0 32px; margin-top: 4px; color: var(--ink-subtle); }
.story-item .t { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.story-item a:hover .t { color: var(--forest); }
.story-item .s { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-muted); }
.story-item .k { margin-top: 12px; font-size: 12px; color: var(--ink-subtle); }
.story-item .thumb { display: none; flex: 0 0 112px; }

@media (min-width: 768px) {
  .story-item .thumb { display: block; }
  .story-item .t { font-size: 19px; }
}

.index-list a { display: grid; gap: 8px; padding-block: 20px; border-top: 1px solid var(--line); align-items: baseline; }

@media (min-width: 768px) { .index-list a { grid-template-columns: 240px minmax(0, 1fr) auto; gap: 32px; } }

.index-list .name { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; transition: color 0.2s var(--ease); }
.index-list a:hover .name { color: var(--forest); }

@media (min-width: 768px) { .index-list .name { font-size: 21px; } }

/* Reviews */
.review { border-top: 1px solid var(--line); padding-block: 32px; }
.review .who { display: flex; align-items: center; gap: 14px; }

.review .avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--surface-sunken);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.review h4 { margin-top: 16px; font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.review .text { margin-top: 12px; max-width: 64ch; font-size: 15px; line-height: 1.75; color: var(--ink-muted); }
.review .reply { margin-top: 24px; border-left: 2px solid var(--sand); padding-left: 20px; }
.review .reply p { margin-top: 10px; max-width: 58ch; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }

.dist { margin-top: 32px; display: grid; gap: 8px; }
.dist li { display: flex; align-items: center; gap: 12px; }
.dist .track { flex: 1; height: 6px; border-radius: var(--r-full); background: var(--surface-sunken); overflow: hidden; }
.dist .fill { display: block; height: 100%; border-radius: var(--r-full); background: var(--obsidian); }
.dist .n { width: 12px; font-size: 13px; color: var(--ink-subtle); }
.dist .c { width: 24px; text-align: right; font-size: 13px; color: var(--ink-subtle); }

.reviews-layout { display: grid; gap: 48px; }

@media (min-width: 1024px) { .reviews-layout { grid-template-columns: 4fr 8fr; gap: 64px; } }

/* Operator panel */
.operator-panel { display: grid; gap: 32px; border: 1px solid var(--line); background: var(--bone); padding: 24px; }

@media (min-width: 768px) { .operator-panel { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; padding: 40px; } }

/* --------------------------------------------------------------------------
   15  DASHBOARD
   -------------------------------------------------------------------------- */

.dash { display: block; }

@media (min-width: 1024px) { .dash { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; } }

.dash-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dash-nav ul::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) { .dash-nav { position: sticky; top: 100px; } .dash-nav ul { flex-direction: column; overflow: visible; } }

.dash-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: var(--r-xs);
  font-size: 14px;
  color: var(--ink-muted);
  transition: all 0.2s var(--ease);
}

.dash-nav a:hover { background: var(--surface-sunken); color: var(--obsidian); }
.dash-nav a[aria-current] { background: var(--obsidian); color: var(--bone); }

.metrics { display: grid; gap: 16px; }

@media (min-width: 640px)  { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.metric { border: 1px solid var(--line); background: var(--warm-white); padding: 20px; }
.metric .v { margin-top: 16px; font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -0.025em; }
.metric .h { margin-top: 12px; font-size: 13px; color: var(--ink-subtle); }

.table-wrap { border: 1px solid var(--line); background: var(--warm-white); overflow-x: auto; }
.dtable { min-width: 680px; }
.dtable th { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.dtable td { padding: 16px 20px; font-size: 14px; border-bottom: 1px solid var(--line); }
.dtable tr:last-child td { border-bottom: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 8px;
  border-radius: var(--r-xs);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill-pending   { background: var(--surface-sunken); color: var(--ink-muted); }
.pill-confirmed { background: var(--forest); color: var(--bone); }
.pill-completed { background: var(--obsidian); color: var(--bone); }
.pill-cancelled,
.pill-refunded  { border: 1px solid var(--line-strong); color: var(--ink-subtle); }

.pay-paid    { color: var(--positive); }
.pay-pending,
.pay-partial { color: var(--warning); }
.pay-failed  { color: var(--danger); }
.pay-refunded { color: var(--ink-subtle); }

/* --------------------------------------------------------------------------
   16  FOOTER
   -------------------------------------------------------------------------- */

.footer { background: var(--obsidian); color: var(--bone); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer .top { display: grid; gap: 48px; }

@media (min-width: 1024px) { .footer .top { grid-template-columns: 1.4fr 2.6fr; gap: 64px; } }

.footer .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }

@media (min-width: 640px) { .footer .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.footer h2 { color: rgba(244, 241, 232, 0.6); }
.footer ul { margin-top: 20px; display: grid; gap: 12px; }
.footer ul a { font-size: 14px; color: rgba(244, 241, 232, 0.75); transition: color 0.2s var(--ease); }
.footer ul a:hover { color: var(--bone); }
.footer .tagline { font-family: var(--serif); font-size: 30px; line-height: 1.08; letter-spacing: -0.02em; }

@media (min-width: 768px) { .footer .tagline { font-size: 34px; } }

.footer .blurb { margin-top: 20px; max-width: 24rem; font-size: 15px; line-height: 1.6; color: rgba(244, 241, 232, 0.6); }
.footer .legal { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 32px; display: flex; flex-direction: column; gap: 16px; font-size: 12px; color: rgba(244, 241, 232, 0.6); }

@media (min-width: 768px) { .footer .legal { flex-direction: row; align-items: center; justify-content: space-between; } }

.footer .legal ul { margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* --------------------------------------------------------------------------
   17  OVERLAYS, TOASTS, UTILITIES
   -------------------------------------------------------------------------- */

.overlay { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.overlay[data-open="true"] { visibility: visible; }
.overlay .backdrop { position: absolute; inset: 0; background: rgba(23, 25, 23, 0.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s var(--ease); }
.overlay[data-open="true"] .backdrop { opacity: 1; }

.overlay .panel {
  position: relative;
  margin: 16px auto 0;
  width: min(768px, calc(100% - 32px));
  background: var(--warm-white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

@media (min-width: 768px) { .overlay .panel { margin-top: 10vh; } }

.overlay[data-open="true"] .panel { opacity: 1; transform: none; }
.overlay .search-row { display: flex; align-items: center; gap: 12px; padding-inline: 20px; border-bottom: 1px solid var(--line); }
.overlay .search-row input { flex: 1; height: 64px; border: 0; font-size: 17px; }
.overlay .search-row input:focus { outline: none; }
.overlay .results-list { max-height: 60vh; overflow-y: auto; padding: 12px; }

.overlay .results-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-xs);
  transition: background-color 0.15s var(--ease);
}

.overlay .results-list a:hover,
.overlay .results-list a[data-active="true"] { background: var(--surface-sunken); }
.overlay .results-list .lbl { display: block; font-size: 15px; }
.overlay .results-list .det { display: block; font-size: 13px; color: var(--ink-subtle); }

.lightbox { position: fixed; inset: 0; z-index: 80; display: none; flex-direction: column; background: rgba(23, 25, 23, 0.96); color: var(--bone); }
.lightbox[data-open="true"] { display: flex; }
.lightbox .bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; flex: 0 0 auto; }
.lightbox .stage { position: relative; flex: 1; }
.lightbox .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lightbox .foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px; flex: 0 0 auto; }
.lightbox .cap { flex: 1; text-align: center; font-size: 13px; line-height: 1.5; color: rgba(244, 241, 232, 0.7); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-xs);
  color: var(--bone);
  transition: background-color 0.2s var(--ease);
}

.round-btn:hover { background: rgba(255, 255, 255, 0.1); }

.toasts {
  position: fixed;
  inset-inline: 0;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 28rem;
  padding: 12px 16px;
  border-radius: var(--r-xs);
  background: var(--obsidian);
  color: var(--bone);
  font-size: 14px;
  box-shadow: var(--shadow-float);
  animation: rise 0.24s var(--ease) both;
}

.toast.error { background: var(--danger); }
.toast a { border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 500; }

.pt-header { padding-top: var(--header-h); }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-5  { margin-top: 20px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hide-mobile { display: none; }
.relative { position: relative; }

/* -----------------------------------------------------------------------
 * Utilities below stand in for one-off inline `style="…"` attributes.
 * The CSP is style-src 'self' (see public/.htaccess) so inline style
 * attributes are silently dropped by the browser — anything that needs
 * to actually render has to be a class, not a style attribute.
 * --------------------------------------------------------------------- */

.d-block { display: block; }
.flex-1 { flex: 1; }
.w-full { width: 100%; }
.mx-auto { margin-inline: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.items-start { align-items: start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.shadow-none { box-shadow: none; }

.abs-fill { position: absolute; inset: 0; }
.abs-tl-20 { position: absolute; left: 20px; top: 20px; }

.mh-560px { min-height: 560px; }
.mh-620px { min-height: 620px; }

.h-36px { height: 36px; }
.h-40px { height: 40px; }
.avatar-64 { width: 64px; flex: 0 0 64px; }
.avatar-88 { width: 88px; flex: 0 0 88px; }
.w-78-340 { width: 78%; max-width: 340px; }
.w-78-520 { width: 78%; max-width: 520px; }

.gap-6px  { gap: 6px; }
.gap-8px  { gap: 8px; }
.gap-10px { gap: 10px; }
.gap-12px { gap: 12px; }
.gap-14px { gap: 14px; }
.gap-18px { gap: 18px; }
.gap-20px { gap: 20px; }
.gap-24px { gap: 24px; }
.gap-28px { gap: 28px; }
.gap-40px { gap: 40px; }
.gap-8-16 { gap: 8px 16px; }
.gap-48-40 { gap: 48px 40px; }

.mt-2px  { margin-top: 2px; }
.ml-4px  { margin-left: 4px; }

.pt-20px  { padding-top: 20px; }
.pt-24px  { padding-top: 24px; }
.pt-32px  { padding-top: 32px; }
.pt-64px  { padding-top: 64px; }
.pt-140px { padding-top: 140px; }
.pt-150px { padding-top: 150px; }
.pb-0     { padding-bottom: 0; }
.pb-8px   { padding-bottom: 8px; }
.pb-56px  { padding-bottom: 56px; }
.pb-64px  { padding-bottom: 64px; }
.pb-80px  { padding-bottom: 80px; }
.pb-96px  { padding-bottom: 96px; }
.py-24px  { padding-top: 24px; padding-bottom: 24px; }
.pad-20-12 { padding: 20px 12px; }
.pad-36-0-12 { padding: 36px 0 12px; }
.pi-12-34 { padding-inline: 12px 34px; }

.mw-16ch { max-width: 16ch; }
.mw-18ch { max-width: 18ch; }
.mw-20ch { max-width: 20ch; }
.mw-22ch { max-width: 22ch; }
.mw-38ch { max-width: 38ch; }
.mw-44ch { max-width: 44ch; }
.mw-46ch { max-width: 46ch; }
.mw-48ch { max-width: 48ch; }
.mw-52ch { max-width: 52ch; }
.mw-56ch { max-width: 56ch; }
.mw-58ch { max-width: 58ch; }
.mw-60ch { max-width: 60ch; }
.mw-62ch { max-width: 62ch; }
.mw-64ch { max-width: 64ch; }
.mw-22rem { max-width: 22rem; }
.mw-30rem { max-width: 30rem; }
.mw-32rem { max-width: 32rem; }
.mw-34rem { max-width: 34rem; }
.mw-38rem { max-width: 38rem; }
.mw-44rem { max-width: 44rem; }
.mw-46rem { max-width: 46rem; }
.fs-hero-clamp { font-size: clamp(42px, 7vw, 72px); }

.fs-12px { font-size: 12px; }
.fs-13px { font-size: 13px; }
.fs-15px { font-size: 15px; }
.fs-16px { font-size: 16px; }
.fs-17px { font-size: 17px; }
.fs-18px { font-size: 18px; }
.fs-19px { font-size: 19px; }
.fw-400  { font-weight: 400; }
.fw-500  { font-weight: 500; }
.lh-13  { line-height: 1.3; }
.lh-155 { line-height: 1.55; }
.lh-16  { line-height: 1.6; }
.lh-165 { line-height: 1.65; }
.lh-17  { line-height: 1.7; }
.lh-175 { line-height: 1.75; }

.c-sand { color: var(--sand); }
.c-forest { color: var(--forest); }
.c-bone { color: var(--bone); }
.c-onDark-60 { color: rgba(244, 241, 232, 0.6); }
.c-onDark-70 { color: rgba(244, 241, 232, 0.7); }
.c-onDark-72 { color: rgba(244, 241, 232, 0.72); }
.c-onDark-75 { color: rgba(244, 241, 232, 0.75); }
.c-onDark-80 { color: rgba(244, 241, 232, 0.8); }
.bg-glass-92 { background: rgba(250, 249, 245, 0.92); }
.btc-obsidian { border-top-color: var(--obsidian); }
.btc-white-25 { border-top-color: rgba(255, 255, 255, 0.25); }

@media (min-width: 768px)  { .hide-mobile { display: block; } .hide-desktop { display: none; } }
@media (min-width: 1024px) { .hide-lg { display: none; } }

.tick-circle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-inline: auto;
  border-radius: var(--r-full);
  background: var(--forest);
  color: var(--bone);
}

/* --------------------------------------------------------------------------
   18  MOTION
   -------------------------------------------------------------------------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.animate-up { animation: fade-up 0.52s var(--ease) both; }
.d1 { animation-delay: 80ms; }
.d2 { animation-delay: 160ms; }
.d3 { animation-delay: 240ms; }

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

@media print {
  .header, .footer, .compare-bar, .booking-bar, .toasts { display: none !important; }
  body { background: #fff; }
}
