/* ============================================================
   PLANARK — theme.css
   Design tokens, base styles, and core UI components.

   Load this BEFORE any other stylesheet and AFTER Google Fonts.
   Typography: Bricolage Grotesque (--serif / display) + Libre Franklin (--sans / body) only.

   All component CSS in this project should consume the variables
   declared in :root — never hard-code colour or sizing values.

   Sections
   ────────
   1.  CSS Custom Properties (design tokens)
   2.  Reset & base
   3.  Typography
   4.  Utility classes
   5.  ButtonPill component
   6.  ActionTile component
   7.  Glass utility
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* ── Colour: Primary ──────────────────────────────────────── */
  --navy: rgba(25, 31, 97, 1); /* var(--navy) — primary brand   */
  --navy-d: rgba(42, 52, 162, 1); /* #2A34A2 — logo / active   */
  --navy-l: rgba(223, 225, 247, 1); /* var(--navy-l) — tint / hover bg */
  --navy-ll: rgba(240, 241, 252, 1); /* var(--navy-ll) — lightest tint   */

  --green: rgba(25, 97, 62, 1); /* var(--green) — CTA / action    */
  --green-lift: rgba(60, 205, 135, 1); /* var(--green-lift) — hover on green  */
  --green-l: rgba(231, 249, 240, 1); /* var(--green-l) — success tint    */

  /* ── Colour: Neutrals ────────────────────────────────────── */
  --cream: rgba(245, 243, 236, 1); /* var(--cream) — page background */
  --cream2: rgba(227, 221, 202, 1); /* var(--cream-2) — borders/dividers*/
  --cream3: rgba(
    250,
    249,
    245,
    1
  ); /* var(--cream-3) — elevated surface — matches app --cream-3 */

  /* Top-corner sheen (same as Next.js /discover home — components/home home.module.css .page) */
  --sheen-lavender: #e6e9ff;
  --sheen-rose: #ffe8ef;

  --ink: rgba(25, 25, 25, 1); /* var(--ink) — primary text    */
  --ink2: rgba(61, 61, 61, 1); /* var(--ink-2) — secondary text  */
  --muted: rgba(102, 102, 102, 1); /* #666666 — helper/label    */
  --muted-l: rgba(163, 163, 163, 1); /* #A3A3A3 — placeholder     */

  /* ── Colour: Accents (use sparingly) ─────────────────────── */
  --orange: rgba(118, 50, 4, 1); /* var(--orange) — alert / warm    */
  --cafe: rgba(128, 102, 60, 1); /* var(--cafe) — earth tone      */
  --purple: rgba(125, 107, 242, 1); /* #7D6BF2 — feature accent  */

  /* ── Colour: Surface & chrome ────────────────────────────── */
  --rule: rgba(25, 25, 25, 0.09); /* divider lines             */
  --overlay: rgba(25, 31, 97, 0.48); /* modal scrim               */
  --glass-fill: rgba(255, 255, 255, 0.12); /* glass surface fill        */
  --glass-border: rgba(255, 255, 255, 0.35); /* glass border / specular   */

  /* ── Typography ──────────────────────────────────────────── */
  --serif:
    "Bricolage Grotesque", system-ui, sans-serif; /* display / headlines */
  --sans:
    "Libre Franklin", system-ui, sans-serif; /* body / UI — Planark uses only these two families */

  /* ── Type scale ──────────────────────────────────────────── */
  --text-display: 3.5rem; /* 52px  — hero / landing headline          */
  --text-h1: 2.5rem; /* 37px  — page title                       */
  --text-h2: 2rem; /* 30px  — section header                   */
  --text-h3: 1.5rem; /* 22px  — card / feature title             */
  --text-lg: 1.2rem; /* 18px  — lead paragraph                   */
  --text-base: 0.875rem; /* 14px  — body copy (iOS body)               */
  --text-sm: 0.867rem; /* 13px  — caption / meta                   */
  --text-xs: 0.733rem; /* 11px  — badge / tag / legal              */

  /* iOS typography parity aliases */
  --type-caption-2: 11px;
  --type-caption-1: 12px;
  --type-footnote: 13px;
  --type-body: 14px;
  --type-callout: 16px;
  --type-headline: 17px;
  --type-title-3: 20px;
  --type-title-2: 22px;
  --type-title-1: 28px;
  --type-large: 34px;

  /* ── Spacing scale (multiples of 4px) ───────────────────── */
  --space-1: 0.267rem; /*  4px */
  --space-2: 0.533rem; /*  8px */
  --space-3: 1rem; /* 16px — default gap inside components */
  --space-4: 1.6rem; /* 24px — between components            */
  --space-5: 2.667rem; /* 40px — section inner padding         */
  --space-6: 4.267rem; /* 64px — between major sections        */
  --space-7: 6.4rem; /* 96px — hero vertical padding         */

  /* ── Border radius ───────────────────────────────────────── */
  --radius-pill: 9999px; /* full pill — buttons, chips            */
  --radius-xl: 20px; /* large card / ActionTile               */
  --radius-lg: 16px; /* standard card / modal                 */
  --radius-md: 12px; /* button (non-pill), input              */
  --radius-sm: 8px; /* inner element, thumbnail              */
  --radius-xs: 6px; /* badge / tag                           */

  /* ── Shadows ─────────────────────────────────────────────── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 12px rgba(25, 31, 97, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 32px rgba(25, 31, 97, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-glass:
    0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);

  /* ── Transitions ─────────────────────────────────────────── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 350ms;

  /* ── Layout ──────────────────────────────────────────────── */
  --container: 1200px;
  --container-pad: 3rem;
  --surface: var(--cream);
  --surface-elevated: #ffffff;
  --text-primary: var(--ink);
  --text-secondary: var(--ink2);
  --accent-primary: var(--navy);
  --accent-secondary: #3c48cd;
  --success: #2aa268;
  --warning: #ffc12e;
  --error: #d24b6d;
  --border: #e5e5ea;
}

/* Static-site manual dark theme */
:root[data-theme="dark"] {
  --navy: rgba(143, 155, 255, 1);
  --navy-d: rgba(111, 125, 247, 1);
  --navy-l: rgba(42, 47, 79, 1);
  --navy-ll: rgba(32, 37, 61, 1);
  --green: rgba(60, 205, 135, 1);
  --green-lift: rgba(90, 227, 160, 1);
  --green-l: rgba(29, 58, 46, 1);
  --cream: rgba(20, 24, 33, 1);
  --cream2: rgba(27, 33, 48, 1);
  --cream3: rgba(17, 23, 35, 1);
  --ink: rgba(237, 241, 255, 1);
  --ink2: rgba(199, 208, 232, 1);
  --muted: rgba(157, 167, 193, 1);
  --muted-l: rgba(119, 130, 160, 1);
  --orange: rgba(255, 176, 116, 1);
  --cafe: rgba(211, 182, 142, 1);
  --rule: rgba(198, 210, 240, 0.14);
  --overlay: rgba(8, 12, 22, 0.62);
  --glass-fill: rgba(19, 24, 39, 0.46);
  --glass-border: rgba(185, 198, 239, 0.24);
  --surface: #1c1c1e;
  --surface-elevated: #2c2c2e;
  --text-primary: #ffffff;
  --text-secondary: #ababab;
  --accent-primary: #9a8474;
  --accent-secondary: #6d76d9;
  --success: #32d74b;
  --warning: #ffd60a;
  --error: #ff6b6b;
  --border: #38383a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: rgba(143, 155, 255, 1);
    --navy-d: rgba(111, 125, 247, 1);
    --navy-l: rgba(42, 47, 79, 1);
    --navy-ll: rgba(32, 37, 61, 1);
    --green: rgba(60, 205, 135, 1);
    --green-lift: rgba(90, 227, 160, 1);
    --green-l: rgba(29, 58, 46, 1);
    --cream: rgba(20, 24, 33, 1);
    --cream2: rgba(27, 33, 48, 1);
    --cream3: rgba(17, 23, 35, 1);
    --ink: rgba(237, 241, 255, 1);
    --ink2: rgba(199, 208, 232, 1);
    --muted: rgba(157, 167, 193, 1);
    --muted-l: rgba(119, 130, 160, 1);
    --orange: rgba(255, 176, 116, 1);
    --cafe: rgba(211, 182, 142, 1);
    --rule: rgba(198, 210, 240, 0.14);
    --overlay: rgba(8, 12, 22, 0.62);
    --glass-fill: rgba(19, 24, 39, 0.46);
    --glass-border: rgba(185, 198, 239, 0.24);
    --surface: #1c1c1e;
    --surface-elevated: #2c2c2e;
    --text-primary: #ffffff;
    --text-secondary: #ababab;
    --accent-primary: #9a8474;
    --accent-secondary: #6d76d9;
    --success: #32d74b;
    --warning: #ffd60a;
    --error: #ff6b6b;
    --border: #38383a;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 1.5rem;
  }
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  background: var(--cream3);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.content-container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

/* Display — Bricolage Grotesque Bold, hero sections */
.t-display {
  font-family: var(--serif);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* H1–H3 */
h1,
.t-h1 {
  font-family: var(--serif);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
h2,
.t-h2 {
  font-family: var(--serif);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3,
.t-h3 {
  font-family: var(--serif);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.3;
}

/* Body */
.t-lg {
  font-size: var(--text-lg);
  line-height: 1.65;
}
.t-base {
  font-size: var(--text-base);
  line-height: 1.65;
}
.t-sm {
  font-size: var(--text-sm);
  line-height: 1.5;
}
.t-xs {
  font-size: var(--text-xs);
  line-height: 1.4;
}

/* Semantic emphasis */
em {
  font-style: italic;
}
strong {
  font-weight: 600;
}

/* Section eyebrow label */
.label {
  font-family: var(--sans);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   5. BUTTONPILL COMPONENT
   ────────────────────────────────────────────────────────────
   Variants  : primary | glass | ghost
   Sizes     : lg (default) | md
   States    : default | hover | active | disabled | loading
   With icon : add .btn--icon and place an <svg> or <img>
               inside the button alongside the label span.

   HTML structure
   ──────────────
   <button class="btn btn--primary btn--lg">
     <span class="btn__label">Get started</span>
   </button>

   <button class="btn btn--glass btn--lg btn--icon">
     <svg class="btn__icon" …/>
     <span class="btn__label">Explore</span>
   </button>

   <button class="btn btn--ghost btn--md" disabled>
     <span class="btn__label">Learn more</span>
   </button>

   <button class="btn btn--primary btn--lg btn--loading" aria-busy="true">
     <span class="btn__spinner" aria-hidden="true"></span>
     <span class="btn__label">Loading…</span>
   </button>
   ============================================================ */

/* ── Base ────────────────────────────────────────────────── */
.btn {
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  /* Shape */
  border-radius: 22px;
  border: 1.5px solid transparent;

  /* Typography */
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;

  /* Behaviour */
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;

  /* Transitions */
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}

.btn:focus-visible {
  outline: 2px solid var(--navy-d);
  outline-offset: 3px;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

/* ── Sizes ───────────────────────────────────────────────── */

/* Large (default) */
.btn--lg {
  padding: 14px 20px;
  font-size: 1rem; /* 16px (iOS callout) */
  min-height: 52px;
}

/* Medium */
.btn--md {
  padding: 11px 18px;
  font-size: 0.867rem; /* 13px */
  min-height: 42px;
}

/* Icon adjustments */
.btn--icon.btn--lg {
  gap: 10px;
}
.btn--icon.btn--md {
  gap: 8px;
}

.btn__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.btn--md .btn__icon {
  width: 16px;
  height: 16px;
}

/* ── Variant: Primary ────────────────────────────────────── */
/*
   Solid forest green. Used for the main CTA on dark/feature
   panels (hero with dark bg, glass card contexts).
   On light cream backgrounds, prefer --navy variant below.
*/
.btn--primary {
  background: var(--accent-primary);
  color: var(--off-white);
  border-color: transparent;
  box-shadow: var(--shadow-card);
}
.btn--primary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent-primary) 84%, white);
  box-shadow: var(--shadow-md);
}
.btn--primary:active:not(:disabled) {
  background: var(--accent-primary);
  box-shadow: none;
  transform: scale(0.96);
  opacity: 0.9;
}

/* Cafe primary — marketing landing & consent CTAs */
.btn--cafe {
  background: var(--cafe);
  color: var(--off-white);
  border-color: color-mix(in srgb, var(--cafe) 58%, #2a2316 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}
.btn--cafe:hover:not(:disabled) {
  background: color-mix(in srgb, var(--cafe) 85%, white);
  border-color: color-mix(
    in srgb,
    var(--cafe) 45%,
    rgba(255, 255, 255, 0.45) 55%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.btn--cafe:active:not(:disabled) {
  background: var(--cafe);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: scale(0.96);
}

/* Navy primary (light backgrounds) */
.btn--primary-navy {
  background: var(--accent-primary);
  color: var(--off-white);
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(25, 31, 97, 0.25);
}
.btn--primary-navy:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent-primary) 84%, white);
  box-shadow: var(--shadow-md);
}

/* ── Variant: Glass (iOS 26) ─────────────────────────────── */
/*
   Frosted glass pill. Use ONLY on dark or gradient backgrounds
   (hero panels, feature cards, photo overlays). On cream/white
   the effect is invisible — use --ghost instead.

   The glass effect requires backdrop-filter support. The
   fallback (for older browsers) is a semi-transparent fill.
*/
.btn--glass {
  background: var(--glass-fill);
  color: var(--white);
  border-color: var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass);
}
.btn--glass:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--glass:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0.96);
  opacity: 0.9;
}

/* Tinted glass variants — still on dark backgrounds only */
.btn--glass-green {
  background: rgba(60, 205, 135, 0.18);
  border-color: rgba(60, 205, 135, 0.45);
}
.btn--glass-green:hover:not(:disabled) {
  background: rgba(60, 205, 135, 0.28);
}

.btn--glass-navy {
  background: rgba(25, 31, 97, 0.35);
  border-color: rgba(100, 120, 220, 0.45);
}
.btn--glass-navy:hover:not(:disabled) {
  background: rgba(25, 31, 97, 0.5);
}

/* ── Variant: Ghost ──────────────────────────────────────── */
/*
   Transparent with a border. Works on both light and dark
   backgrounds — adjust --ghost-color via a parent class if
   needed (e.g. .dark-section .btn--ghost { --ghost-color: white }).
*/
.btn--ghost {
  --ghost-color: var(--navy);
  background: transparent;
  color: var(--ghost-color);
  border-color: currentColor;
  opacity: 0.85;
}
.btn--ghost:hover:not(:disabled) {
  background: var(--navy-ll);
  opacity: 1;
}

/* Ghost on dark panels */
.btn--ghost-light {
  --ghost-color: rgba(255, 255, 255, 0.9);
  background: transparent;
  color: var(--ghost-color);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── State: Disabled ─────────────────────────────────────── */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── State: Loading ──────────────────────────────────────── */
.btn--loading {
  cursor: wait;
  pointer-events: none;
}
.btn--loading .btn__label {
  opacity: 0.6;
}

.btn__spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}
.btn--md .btn__spinner {
  width: 14px;
  height: 14px;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Mobile minimum touch target ─────────────────────────── */
@media (max-width: 768px) {
  .btn--lg {
    min-height: 52px;
    padding: 14px 24px;
  }
  .btn--md {
    min-height: 48px;
    padding: 12px 20px;
  }
}

/* ============================================================
   6. ACTIONTILE COMPONENT
   ────────────────────────────────────────────────────────────
   Square quick-action tile (104×96px). Sits in horizontal
   scroll rows inside hero / feature panels.

   Variants  : glass | solid
   States    : default | hover | pressed | disabled

   HTML structure
   ──────────────
   <button class="action-tile action-tile--glass">
     <div class="action-tile__icon">
       <svg …/>               <!-- or an emoji / img -->
     </div>
     <span class="action-tile__label">Search</span>
   </button>

   Row of tiles:
   <div class="action-tile-row">
     <button class="action-tile action-tile--glass">…</button>
     <button class="action-tile action-tile--glass">…</button>
     <button class="action-tile action-tile--solid">…</button>
   </div>
   ============================================================ */

/* ── Base ────────────────────────────────────────────────── */
.action-tile {
  /* Fixed dimensions from design spec */
  width: 104px;
  height: 96px;
  flex-shrink: 0;

  /* Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 14px 12px;

  /* Shape */
  border-radius: var(--radius-xl); /* 20px */
  border: 1px solid transparent;

  /* Typography */
  font-family: var(--sans);
  font-size: var(--text-xs); /* 11px */
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  text-decoration: none;

  /* Behaviour */
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;

  transition:
    background var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.action-tile:focus-visible {
  outline: 2px solid var(--navy-d);
  outline-offset: 3px;
}
.action-tile:active:not(:disabled) {
  transform: scale(0.95);
}

/* Icon container */
.action-tile__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.action-tile__label {
  color: inherit;
  font-size: var(--text-xs);
  font-weight: 500;
  margin-top: auto;
  padding-top: 4px;
}

/* ── Variant: Glass ──────────────────────────────────────── */
/*
   Use on dark/gradient backgrounds only.
*/
.action-tile--glass {
  background: var(--glass-fill);
  color: var(--white);
  border-color: var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.action-tile--glass .action-tile__icon {
  background: rgba(255, 255, 255, 0.2);
}
.action-tile--glass:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.action-tile--glass:active:not(:disabled) {
  background: rgba(255, 255, 255, 0.07);
  transform: scale(0.95);
}

/* ── Variant: Solid ──────────────────────────────────────── */
/*
   Forest green solid tile. Use for the primary/featured action
   in a row of glass tiles.
*/
.action-tile--solid {
  background: var(--green);
  color: var(--off-white);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(25, 97, 62, 0.35);
}
.action-tile--solid .action-tile__icon {
  background: rgba(255, 255, 255, 0.25);
}
.action-tile--solid:hover:not(:disabled) {
  background: var(--green-lift);
  box-shadow: 0 4px 16px rgba(25, 97, 62, 0.45);
}
.action-tile--solid:active:not(:disabled) {
  background: var(--green);
  transform: scale(0.95);
}

/* ── State: Disabled ─────────────────────────────────────── */
.action-tile:disabled,
.action-tile[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Row layout ──────────────────────────────────────────── */
.action-tile-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  /* Hide scrollbar on mobile but keep scrollable */
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.action-tile-row::-webkit-scrollbar {
  display: none;
}

/* ============================================================
   7. GLASS UTILITY CLASS
   ────────────────────────────────────────────────────────────
   Generic frosted-glass surface for cards, panels, overlays.
   Apply .glass to any container that sits on a dark/gradient bg.

   Do NOT use .glass on cream/white backgrounds — it's invisible.
   ============================================================ */

.glass {
  background: var(--glass-fill);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

/* Thickness tiers — match Figma component tiers */
.glass--thin {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.glass--regular {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.glass--thick {
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}
.glass--ultra {
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
}

/* Tinted variants */
.glass--green {
  background: rgba(60, 205, 135, 0.18);
  border-color: rgba(60, 205, 135, 0.45);
}
.glass--blue {
  background: rgba(64, 140, 255, 0.18);
  border-color: rgba(64, 140, 255, 0.45);
}
.glass--amber {
  background: rgba(255, 184, 46, 0.18);
  border-color: rgba(255, 184, 46, 0.45);
}
.glass--red {
  background: rgba(255, 77, 77, 0.18);
  border-color: rgba(255, 77, 77, 0.45);
}
/**
 * Shared marketing chrome — nav, footer, glass CTAs.
 * Used by index.html (inline today) and static destination guides.
 */

/* Marketing / editorial pages are designed for light mode only.
   Pin tokens here so OS dark mode does not flip theme.css variables. */
body.marketing-page,
body.dest-page {
  color-scheme: light;

  --cream: rgba(245, 243, 236, 1);
  --cream2: rgba(227, 221, 202, 1);
  --cream3: rgba(250, 249, 245, 1);
  --sheen-lavender: #e6e9ff;
  --sheen-rose: #ffe8ef;
  --ink: rgba(25, 25, 25, 1);
  --ink2: rgba(61, 61, 61, 1);
  --muted: rgba(102, 102, 102, 1);
  --muted-l: rgba(163, 163, 163, 1);
  --green: rgba(25, 97, 62, 1);
  --green-lift: rgba(60, 205, 135, 1);
  --green-l: rgba(231, 249, 240, 1);
  --navy: rgba(25, 31, 97, 1);
  --navy-d: rgba(42, 52, 162, 1);
  --navy-l: rgba(223, 225, 247, 1);
  --navy-ll: rgba(240, 241, 252, 1);
  --cafe: rgba(128, 102, 60, 1);
  --purple: rgba(125, 107, 242, 1);
  --rule: rgba(25, 25, 25, 0.09);
  --surface-elevated: #ffffff;

  --btn-radius: 20px;
  --forest: #1c4535;
  --moss: #5a8b6b;
  --terra: #c8623a;
  --ios-glass-bg: rgba(255, 255, 255, 0.72);
  --ios-glass-bg-hover: rgba(255, 255, 255, 0.88);
  --ios-glass-border: rgba(255, 255, 255, 0.92);
  --ios-glass-blur: blur(40px) saturate(180%);
  --ios-glass-shadow:
    0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --ios-glass-inset:
    inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.04);

  background-color: var(--cream3);
  background-image:
    radial-gradient(
      ellipse 90% 55% at 0% 0%,
      var(--sheen-lavender) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 90% 55% at 100% 0%,
      var(--sheen-rose) 0%,
      transparent 60%
    );
  background-repeat: no-repeat;
  color: var(--ink2);
  font-family: var(--sans);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

body.dest-page {
  padding-top: 56px;
  /* Marketing / discover forest palette (index-landing parity) */
  --cafe: #2b5c3a;
  --cafe-light: color-mix(in srgb, var(--cream3) 90%, var(--cafe) 10%);
  --navy: #2b5c3a;
  --navy-d: #1e4228;
  --navy-l: #d6e8dc;
  --navy-ll: #ebf4ee;
  --app-cream: rgba(251, 247, 236, 0.88);
}

body.dest-page > nav .nav-back {
  position: absolute;
  left: max(
    clamp(1.25rem, 4vw, 3rem),
    calc((100% - 1280px) / 2 + clamp(1.25rem, 4vw, 3rem))
  );
  top: 50%;
  transform: translateY(-50%);
}

/* ── Nav ── */
body.marketing-page > nav,
body.dest-page > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  background: transparent;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: none;
  box-shadow: none;
  transition: background 0.3s ease;
}

body.marketing-page > nav.scrolled,
body.dest-page > nav.scrolled {
  background: color-mix(in srgb, var(--cream3) 80%, transparent);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  border-radius: 7px;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-back {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.nav-back:hover {
  color: var(--ink);
}

.nav-cta,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--ios-glass-bg);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--ios-glass-border);
  border-radius: 16px;
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease,
    color 160ms ease;
  cursor: pointer;
}

.btn-primary--lg {
  padding: 14px 28px;
  font-size: 0.9rem;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--ios-glass-bg-hover);
  color: var(--green);
  transform: translateY(-1px);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.1),
    0 2px 8px rgba(28, 69, 53, 0.06),
    var(--ios-glass-inset);
}

.nav-cta:active,
.btn-primary:active {
  transform: scale(0.97);
}

.sec-lbl {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Footer (compact variant for inner pages) ── */
.site-footer {
  position: relative;
  overflow: clip;
  background: #fdfcfa;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem)
    clamp(2.5rem, 5vw, 3.5rem);
  color: var(--ink);
  border-top: 1px solid var(--rule);
}

.site-footer--compact {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.site-footer__logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.site-footer__tagline {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 14rem;
}

.site-footer__cols {
  position: static;
  background: none;
  backdrop-filter: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

.site-footer__col-title {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(113, 113, 113, 0.95);
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__list a {
  font-size: 0.8125rem;
  color: rgba(25, 25, 25, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__list a:hover {
  color: var(--ink);
}

.site-footer__divider {
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(1.35rem, 3vw, 2rem);
  height: 1px;
  background: rgba(25, 25, 25, 0.08);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: rgba(25, 25, 25, 0.55);
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.site-footer__social a:hover {
  color: var(--ink);
  background: rgba(25, 25, 25, 0.05);
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body.dest-page > nav {
    padding: 10px 16px;
  }

  body.dest-page > nav .nav-back {
    display: none;
  }

  .nav-right {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}
/**
 * Static destination guide pages — layout & components.
 * Consumes theme.css + marketing-shell.css tokens only.
 */

body.dest-page {
  --dest-body: 1rem; /* 16px — unified reading size */
}

/* ── Header ── */
.dest-header {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 3rem) 0;
  max-width: 1280px;
  margin: 0 auto;
}

.dest-breadcrumb {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.dest-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.dest-local-name {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--cafe);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

/* theme.css sets h1 { font-weight: 700 } — keep editorial display weight */
h1.dest-title {
  font-weight: 400;
}

.dest-tagline {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  color: var(--cafe);
  font-style: italic;
  margin-bottom: 2.5rem;
  max-width: 800px;
}

/* ── Photo grid ── */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 1.5rem;
  height: clamp(280px, 44vw, 420px);
}

.photo-main {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  border-radius: var(--radius-md);
}

.photo-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
  min-height: 0;
}

.photo-sm {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border-radius: var(--radius-md);
}

.photo-main img,
.photo-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-label {
  display: none;
}

.show-all {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  border: 1px solid var(--ios-glass-border);
  font-family: var(--sans);
}

/* ── Gallery lightbox ── */
body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: clamp(1rem, 4vw, 2.5rem);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  min-height: 0;
  max-height: 85vh;
}

.gallery-lightbox__img {
  max-width: min(100%, 1200px);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  user-select: none;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ios-glass-border);
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  transition:
    background var(--dur-fast),
    border-color var(--dur-fast);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  background: color-mix(in srgb, var(--ios-glass-bg) 70%, white 30%);
}

.gallery-lightbox__close {
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 0;
}

.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
}

.gallery-lightbox__nav--prev {
  left: clamp(0.75rem, 3vw, 1.5rem);
}

.gallery-lightbox__nav--next {
  right: clamp(0.75rem, 3vw, 1.5rem);
}

.gallery-lightbox__caption {
  flex-shrink: 0;
  margin: 0;
  max-width: min(100%, 720px);
  text-align: center;
  font-family: var(--sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.gallery-lightbox__meta {
  flex-shrink: 0;
  margin: 1rem 0 0;
  max-width: min(100%, 720px);
  text-align: center;
}

.gallery-lightbox__credit {
  margin: 0.35rem 0 0;
  font-family: var(--sans);
  font-size: var(--text-xs);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.gallery-lightbox__source {
  margin: 0.25rem 0 0;
  font-family: var(--sans);
  font-size: var(--text-xs);
  line-height: 1.45;
}

.gallery-lightbox__source a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gallery-lightbox__source a:hover {
  color: #fff;
}

/* ── Page layout ── */
.page-body {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

/* ── Sidebar — Planark glass nav (marketing + discover parity) ── */
.dest-sidebar {
  position: sticky;
  top: 76px;
  padding: 1.5rem 0;
}

.dest-sidebar__inner {
  background: var(--ios-glass-bg);
  border: 1px solid var(--ios-glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px 6px 10px;
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
}

.dest-sidebar__items {
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dest-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.8889rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition:
    color var(--dur-fast),
    background var(--dur-fast);
}

.dest-sidebar__link:hover {
  color: var(--forest);
  background: color-mix(in srgb, var(--cream3) 72%, var(--green-l) 28%);
}

.dest-sidebar__link.active {
  color: var(--forest);
  font-weight: 600;
  background: var(--green-l);
}

.dest-sidebar__link.active,
.dest-sidebar__link.active:hover {
  color: var(--forest);
  background: var(--green-l);
}

.dest-sidebar__link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.5;
  color: currentColor;
}

.dest-sidebar__link.active svg {
  opacity: 1;
}

.dest-sidebar__cta {
  padding: 10px 6px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
}

.dest-sidebar__cta .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-md);
}

/* ── Main column ── */
.main-col {
  padding: 2rem 0 5rem clamp(1.5rem, 3vw, 3rem);
  min-width: 0;
  max-width: 800px;
  font-size: var(--dest-body);
}

.content-section {
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 88px;
}

.content-section:last-child {
  border-bottom: none;
}

.section-label {
  font-family: var(--serif);
  font-size: var(--text-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: color-mix(in srgb, var(--forest) 45%, transparent);
}

/* ── Editorial copy ── */
.editorial {
  font-size: inherit;
  line-height: 1.75;
  color: var(--ink2);
  margin-bottom: 1.5rem;
}

.editorial strong {
  color: var(--ink);
  font-weight: 600;
}

.place-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--cafe);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--dur-fast);
  font-weight: 400;
}

.place-link:hover {
  color: var(--forest);
}

/* ── Callouts — iOS frost glass ── */
.callout {
  margin: 1.5rem 0;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 24px;
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
}

.callout-insider,
.callout-mistake,
.callout-timing {
  background: var(--ios-glass-bg);
}

.callout-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: rgba(112, 112, 112, 1);
}

.callout-type::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.85;
}

.callout-timing .callout-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='7' cy='7' r='5' stroke='%23707070' stroke-width='1.2'/%3E%3Cpath d='M7 4.5v2.5l1.5 1' stroke='%23707070' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.callout-mistake .callout-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 2.5L12 11.5H2L7 2.5Z' stroke='%23707070' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cline x1='7' y1='6' x2='7' y2='8.5' stroke='%23707070' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='10.2' r='.55' fill='%23707070'/%3E%3C/svg%3E");
}

.callout-insider .callout-type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 1.5l1.5 3 3.5.5-2.5 2.5.5 3.5L7 9.5l-3 1.5.5-3.5L2 5l3.5-.5z' stroke='%23707070' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.callout--media .callout-type {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.callout-media {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream2);
}

.callout-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-media {
  display: grid;
  gap: 12px;
  margin: 1.25rem 0 0.5rem;
}

.section-media--duo {
  grid-template-columns: repeat(2, 1fr);
}

.section-media figure {
  margin: 0;
}

.section-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.section-media figcaption {
  font-size: var(--text-xs);
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}

.callout p {
  font-size: inherit;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* ── Fast facts ── */
.fast-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.fact {
  background: rgba(255, 255, 255, 0.88);
  padding: 14px 16px;
}

.fact-num {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}

.fact-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Trip notes (borderless practical strip) ── */
.trip-notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0.5rem 0 0;
}

.trip-notes .note {
  padding-right: 1.25rem;
}

.trip-notes .note + .note {
  padding-left: 1.25rem;
  border-left: 1px solid var(--rule);
}

.note-value {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 4px;
}

.note-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Itinerary ── */
.day-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.day-tabs::-webkit-scrollbar {
  display: none;
}

.day-tab {
  flex: 0 0 auto;
  padding: 10px 20px 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 148px;
  text-align: center;
  scroll-snap-align: start;
  transition:
    color var(--dur-fast),
    border-color var(--dur-fast);
}

.day-tab.active {
  color: var(--ink);
  border-bottom-color: var(--forest);
  font-weight: 600;
}

.day-tab.active .day-tab-sub {
  color: var(--muted);
}

.day-tab-sub {
  font-size: var(--text-xs);
  font-weight: 400;
  display: block;
  margin-top: 1px;
  color: var(--muted);
}

.day-meta {
  font-size: inherit;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.day-intro {
  font-size: var(--text-sm);
  color: var(--ink2);
  margin: 0 0 1.25rem;
  line-height: 1.55;
  max-width: 36rem;
}

.day-panel {
  display: none;
}

.day-panel.active {
  display: block;
}

.day-panel[hidden] {
  display: none !important;
}

.timeline {
  position: relative;
}

.tl-item {
  display: grid;
  grid-template-columns: 64px 28px 1fr;
  gap: 0;
  position: relative;
  min-height: 80px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 76px;
  top: 8px;
  bottom: -8px;
  width: 1.5px;
  background: var(--rule);
  z-index: 0;
}

.tl-item:last-child::before {
  display: none;
}

.tl-time {
  text-align: right;
  padding-top: 2px;
  padding-right: 16px;
}

.tl-time-main {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  display: block;
  letter-spacing: -0.01em;
}

.tl-time-dur {
  font-size: var(--text-xs);
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.tl-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  position: relative;
  z-index: 1;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.tl-dot.food {
  background: var(--cafe);
}

.tl-dot.view {
  background: var(--navy-d);
}

.tl-dot.culture {
  background: var(--moss);
}

.tl-content {
  padding: 0 0 2rem 20px;
}

.tl-card-name {
  font-size: var(--text-callout);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 3px;
}

.tl-card-loc {
  font-size: inherit;
  color: var(--muted);
  margin-bottom: 10px;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tl-tag {
  font-size: var(--text-sm);
  color: var(--ink2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.9);
}

.tl-callout {
  margin: 4px 0 12px 100px;
}

/* ── Eat list — frost-glass cards (same surface as .hl-card) ── */
.eat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.hl-carousel-track.around-grid,
.hl-carousel-track.eat-list {
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 14px;
  padding-inline: 2px;
}

.hl-carousel-track.around-grid .around-card {
  flex: 0 0 280px;
  height: 360px;
  scroll-snap-align: start;
  padding: 28px 20px 24px;
  align-items: center;
  text-align: center;
}

.hl-carousel-track.eat-list .eat-item {
  flex: 0 0 280px;
  height: 280px;
  scroll-snap-align: start;
  padding: 20px 18px 18px;
  align-items: center;
  text-align: center;
}

.hl-carousel-track.eat-list .eat-item-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  align-items: center;
  text-align: center;
}

.hl-carousel-track.eat-list .eat-tag {
  margin-top: auto;
  align-self: center;
}

.hl-carousel-track.around-grid .around-card-inner {
  padding: 0;
  width: 100%;
}

.hl-carousel-track.around-grid .around-body-wrap {
  min-height: 100%;
}

.hl-carousel-track.around-grid .around-title,
.hl-carousel-track.eat-list .eat-name {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hl-carousel-track.around-grid .around-body,
.hl-carousel-track.eat-list .eat-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hl-carousel-track.around-grid .around-body {
  -webkit-line-clamp: 5;
}

.hl-carousel-track.eat-list .eat-desc {
  -webkit-line-clamp: 5;
}

.hl-carousel-track.eat-list .eat-num {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.eat-item {
  padding: clamp(1.25rem, 2.5vw, 1.5rem) clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 24px;
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.eat-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream2);
}

.eat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eat-item-body {
  flex: 1;
  min-width: 0;
}

.eat-num {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted-l);
  line-height: 1;
  margin-bottom: 6px;
}

.eat-name {
  font-family: var(--serif);
  font-size: var(--text-base);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}

.eat-desc {
  font-size: inherit;
  line-height: 1.6;
  color: var(--ink2);
}

.eat-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--green-l) 85%, transparent);
  color: var(--green);
}

.eat-tag.amber {
  background: color-mix(in srgb, var(--cream3) 80%, var(--cafe) 20%);
  color: var(--cafe);
}

/* Guide tips — full-width editorial cards */
.eat-tips,
.around-tips,
.culture-tips,
.when-tips,
.nbhd-tips,
.gonext-tips {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.4rem;
}

.culture-grid,
.when-grid {
  margin-top: 1.25rem;
}

.shopping-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 1.35rem 0 1.5rem;
}

.shopping-card-stack .around-card {
  min-height: 0;
  padding: clamp(1.15rem, 2.5vw, 1.45rem) clamp(1.25rem, 3vw, 1.65rem);
}

.shopping-card-stack .around-card-inner {
  padding: 0;
  text-align: left;
}

.shopping-card-stack .around-title {
  margin: 0 0 0.35rem;
}

.shopping-card-stack .around-body {
  margin: 0;
}

.tip-item {
  padding: 1.45rem 1.55rem 1.5rem 1.35rem;
  border-radius: 28px;
  background: color-mix(in srgb, #ffffff 84%, var(--cream3) 16%);
  border: 1px solid color-mix(in srgb, var(--cream2) 72%, var(--rule));
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    0 2px 10px rgba(15, 23, 42, 0.04);
}

.tip-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.tip-label::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.9;
}

.tip-item--insider .tip-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 1.5l1.5 3 3.5.5-2.5 2.5.5 3.5L7 9.5l-3 1.5.5-3.5L2 5l3.5-.5z' stroke='%23666666' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.tip-item--timing .tip-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Ccircle cx='7' cy='7' r='5' stroke='%23666666' stroke-width='1.2'/%3E%3Cpath d='M7 4.5v2.5l1.5 1' stroke='%23666666' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tip-item--mistake .tip-label {
  color: var(--muted);
}

.tip-item--mistake {
  background: color-mix(in srgb, #ffffff 84%, var(--cream3) 16%);
  border-color: color-mix(in srgb, var(--cream2) 72%, var(--rule));
}

.tip-item--mistake .tip-label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M7 2.5L12 11.5H2L7 2.5Z' stroke='%23666666' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cline x1='7' y1='6' x2='7' y2='8.5' stroke='%23666666' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='7' cy='10.2' r='.55' fill='%23666666'/%3E%3C/svg%3E");
}

.tip-item p {
  font-size: inherit;
  line-height: 1.55;
  color: var(--ink2);
  margin: 0;
  max-width: 72rem;
}

/* ── Highlights carousel (web app HighlightCard parity) ── */

.hl-section-header {
  margin-bottom: 0.5rem;
}

.hl-section-header .section-label {
  margin-bottom: 0.65rem;
}

.hl-section-header .editorial {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
  max-width: 38rem;
}

.hl-section-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.hl-section-title em {
  font-style: italic;
  color: var(--green);
}

.hl-section-subtitle {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  max-width: 36rem;
}

.section-feature-image {
  margin: 1.25rem 0 1.75rem;
}

.section-feature-image img {
  width: 100%;
  height: clamp(250px, 38vw, 420px);
  display: block;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.section-feature-image figcaption {
  margin-top: 0.8rem;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.hl-carousel-wrap {
  position: relative;
  padding-top: 50px;
  margin: 0 -0.25rem;
}

.hl-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 40px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hl-carousel-track::-webkit-scrollbar {
  display: none;
}

.hl-carousel-wrap::after {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 40px;
  right: 0;
  width: 36px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 160ms ease;
  background: linear-gradient(
    270deg,
    var(--cream3) 0%,
    rgba(250, 249, 245, 0) 100%
  );
}

.hl-carousel-wrap[data-can-next="true"]::after {
  opacity: 1;
}

.hl-carousel-nav {
  position: absolute;
  top: 0;
  right: 6px;
  display: inline-flex;
  gap: 8px;
  z-index: 3;
}

.hl-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 120ms ease,
    opacity 120ms ease;
}

.hl-nav-btn:hover:not(:disabled) {
  background: var(--ios-glass-bg-hover);
  transform: translateY(-1px);
}

.hl-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.hl-nav-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--navy) 40%, transparent);
  outline-offset: 2px;
}

/* Highlight cards — web app layout, callout frost-glass surface */
.hl-card {
  flex: 0 0 280px;
  height: 360px;
  scroll-snap-align: start;
  padding: 28px 20px 24px;
  border-radius: 24px;
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: inherit;
  transform: scale(var(--card-scale, 0.92));
  transform-origin: center center;
  transition: transform 120ms ease-out;
  overflow: hidden;
  will-change: transform;
}

.hl-card:hover {
  transform: scale(max(var(--card-scale, 0.92), 0.98));
}

.hl-card-thumb {
  position: relative;
  width: 82px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.hl-card-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--cream3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hl-card-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hl-card-title {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hl-card-meta {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--green);
  margin: 6px 0 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.hl-card-desc {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink2);
  line-height: 1.45;
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hl-card-spacer {
  flex: 1;
  min-height: 12px;
}

.hl-card-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.hl-card-category svg {
  flex-shrink: 0;
}

/* ── Around grid (iOS WikivoyageInfoTipCard / Essential Tips parity) ── */
.around-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.around-card {
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  border: 1px solid var(--ios-glass-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
}

.around-card-photo {
  height: 108px;
  overflow: hidden;
}

.around-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.around-card-inner {
  padding: clamp(1.15rem, 2.5vw, 1.35rem) clamp(1.25rem, 3vw, 1.5rem);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.around-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--green-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--forest);
}

.around-body-wrap {
  flex: 1;
  min-width: 0;
}

.around-title {
  font-family: var(--serif);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.4;
}

h3.around-title {
  font-size: inherit;
  font-weight: 400;
}

.around-body {
  font-size: inherit;
  line-height: 1.6;
  color: var(--ink2);
  margin: 0;
}

.shopping-card-stack .around-card,
.shopping-card-stack .around-card-inner,
.shopping-card-stack .around-body-wrap,
.shopping-card-stack .around-title,
.shopping-card-stack .around-body {
  text-align: left;
}

.shopping-card-stack h3.around-title {
  font-weight: 600;
}

/* ── Season row ── */
.season-row {
  display: flex;
  gap: 4px;
  margin: 14px 0;
}

.month {
  flex: 1;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  padding: 7px 2px;
  border-radius: 7px;
  color: var(--muted);
  background: var(--cream3);
  border: 1px solid var(--rule);
}

.month.good {
  background: var(--green-l);
  color: var(--green);
  border-color: transparent;
}

.month.best {
  background: var(--forest);
  color: #fff;
  border-color: transparent;
}

/* ── Neighbourhoods (reuse around-card grid) ── */
.nbhd-grid {
  margin-top: 1.25rem;
}

.nbhd-grid .nbhd-dist {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.4;
}

.nbhd-grid .around-body {
  color: var(--muted);
}

.nbhd-grid .around-body .place-link {
  color: var(--muted);
}

/* ── Go next ── */
.gonext-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.25rem;
}

.gonext-item {
  padding: clamp(1.15rem, 2.5vw, 1.35rem) clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 24px;
  background: var(--ios-glass-bg);
  backdrop-filter: var(--ios-glass-blur);
  -webkit-backdrop-filter: var(--ios-glass-blur);
  border: 1px solid var(--ios-glass-border);
  box-shadow: var(--ios-glass-shadow), var(--ios-glass-inset);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gonext-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream2);
}

.gonext-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gonext-item-body {
  flex: 1;
  min-width: 0;
}

.gonext-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.gonext-desc {
  font-size: inherit;
  line-height: 1.6;
  color: var(--muted);
}

.gonext-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 80px;
}

.gonext-dist {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

.gonext-time {
  font-size: var(--text-xs);
  color: var(--muted);
  white-space: nowrap;
}

/* ── About guide ── */
.about-guide__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 1.5rem;
}

.about-guide__mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-guide__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.about-guide__meta {
  font-size: 0.95rem;
  color: var(--muted);
}

.about-guide__text {
  font-size: inherit;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 18px;
}

.about-guide__notice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--rule);
  border-radius: 22px;
}

.about-guide__notice p {
  font-size: inherit;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-body {
    grid-template-columns: 1fr;
  }

  .dest-sidebar {
    position: static;
    padding-bottom: 0;
  }

  .dest-sidebar__inner {
    display: block;
    padding: 6px;
    border-radius: 24px;
  }

  .dest-sidebar__items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 8px;
    gap: 4px;
    width: 100%;
    box-sizing: border-box;
  }

  .dest-sidebar__items::-webkit-scrollbar {
    display: none;
  }

  .dest-sidebar__link {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    scroll-snap-align: start;
  }

  .dest-sidebar__link.active {
    background: var(--green-l);
    color: var(--forest);
  }

  .dest-sidebar__link svg {
    display: none;
  }

  .dest-sidebar__cta {
    border-top: none;
    padding: 4px 8px 8px;
  }

  .dest-sidebar__cta .btn-primary {
    min-height: 44px;
    border-radius: var(--radius-pill);
  }

  .main-col {
    padding-left: 0;
    padding-top: 1rem;
  }

  .day-tabs {
    width: calc(100vw - 2.5rem);
    padding: 0 0 8px;
    border-bottom: 0;
    gap: 8px;
  }

  .day-tab {
    min-width: min(44vw, 172px);
    padding: 12px 14px;
    border: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.68);
  }

  .day-tab.active {
    border-color: color-mix(in srgb, var(--forest) 18%, transparent);
    background: var(--green-l);
  }

  .day-tab-sub {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .fast-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip-notes {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.25rem;
  }

  .trip-notes .note:nth-child(odd) {
    padding-right: 1rem;
    border-left: none;
    padding-left: 0;
  }

  .trip-notes .note:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--rule);
  }

  .trip-notes .note:nth-child(3),
  .trip-notes .note:nth-child(4) {
    padding-top: 0.25rem;
  }

  .around-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section-media--duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .photo-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .photo-main {
    height: 220px;
  }

  .photo-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px;
  }

  .tl-item {
    grid-template-columns: 52px 24px 1fr;
  }

  .tl-item::before {
    left: 64px;
  }

  .gonext-item {
    flex-direction: column;
  }

  .gonext-thumb {
    width: 100%;
    height: 140px;
    flex: none;
  }

  .gonext-meta {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}
