/* ==========================================================================
   Whale Watching - whale-watching.net
   Design: minimal light travel UI. Framed white sheet on warm grey,
   photography-forward, neutral grotesk type, generous whitespace.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #e6e3dd;          /* warm grey page frame */
  --surface: #ffffff;
  --panel: #f4f2ed;       /* soft section background */
  --panel-2: #eeebe4;

  /* Ink */
  --ink: #15181a;         /* near-black */
  --ink-soft: #565b5c;
  --ink-faint: #8b908f;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.72);

  /* Lines */
  --line: #e7e3db;
  --line-strong: #d9d4ca;

  /* Accent - deep sea, used sparingly */
  --accent: #0f5b63;
  --accent-ink: #0b3f45;

  /* Type */
  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii */
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  /* Shadow */
  --shadow-sheet: 0 30px 80px -50px rgba(20, 25, 30, 0.45);
  --shadow-card: 0 24px 48px -30px rgba(20, 25, 30, 0.30);
  --shadow-soft: 0 10px 24px -16px rgba(20, 25, 30, 0.28);

  --wrap: 1200px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Page sheet (the framed white container) ---------- */
.page {
  max-width: 1440px;
  margin: 18px auto;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sheet);
  overflow: clip;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-white { background: var(--surface); color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--on-dark); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-full { width: 100%; }

/* Circular icon button */
.icon-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  background: var(--surface);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 40px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand .star { color: var(--accent); font-size: 1.1em; line-height: 0; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    padding: 4px 40px 20px;
  }
  .nav.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav.open .nav-links a:last-child { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 0 20px 20px; position: relative; z-index: 6; }
.hero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible; /* let the hero search dropdown escape the hero image */
  min-height: 500px;
  display: flex;
  isolation: isolate;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: opacity 0.9s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active { opacity: 1; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(10,20,25,0.32) 0%, rgba(10,20,25,0.05) 34%, rgba(10,20,25,0.10) 62%, rgba(8,16,20,0.62) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  color: var(--on-dark);
}
.hero-content h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  font-weight: 500;
  color: var(--on-dark);
  max-width: 15ch;
  margin-top: clamp(12px, 3vw, 32px);
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero-content .hero-sub {
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 450;
  color: #fff;
  max-width: 44ch;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}
.hero-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero country search ---------- */
.hero-search { position: relative; margin-top: 24px; width: min(540px, 100%); z-index: 5; }
.hs-box {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 7px 7px 7px 20px;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.hero-search:focus-within .hs-box {
  background: var(--surface);
  border-color: var(--surface);
  box-shadow: var(--shadow-card);
}
.hs-icon { width: 22px; height: 22px; color: var(--on-dark); flex-shrink: 0; transition: color .18s; }
.hero-search:focus-within .hs-icon { color: var(--accent); }
.hs-input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-family: var(--font-body); font-size: 1.02rem; color: var(--on-dark);
  padding: 12px 0; outline: none;
}
.hs-input::placeholder { color: var(--on-dark-soft); }
.hero-search:focus-within .hs-input { color: var(--ink); }
.hero-search:focus-within .hs-input::placeholder { color: var(--ink-faint); }
.hs-go {
  flex-shrink: 0; width: 48px; height: 48px; border: none; border-radius: 50%;
  background: var(--accent); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .18s, transform .18s;
}
.hs-go svg { width: 22px; height: 22px; }
.hs-go:hover { background: var(--accent-ink); transform: translateX(1px); }
.hs-list {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-card);
  max-height: 70vh; /* JS narrows this to the real space below on open */
  overflow-y: auto; z-index: 20;
  overscroll-behavior: contain; /* wheel/touch scroll stays in the list */
  -webkit-overflow-scrolling: touch; touch-action: pan-y;
}
.hs-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px; border-radius: var(--r-md); cursor: pointer; color: var(--ink);
}
.hs-opt[hidden] { display: none; } /* display:flex above would otherwise beat [hidden] */
.hs-opt.is-active { background: var(--panel); }
.hs-flag { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.hs-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.hs-name { font-weight: 600; font-size: 0.98rem; }
.hs-sub { font-size: 0.8rem; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-count {
  flex-shrink: 0; font-size: 0.74rem; font-weight: 600; color: var(--accent);
  background: rgba(15, 91, 99, 0.09); padding: 4px 10px; border-radius: 999px;
}
.hs-empty { padding: 16px 14px; color: var(--ink-soft); font-size: 0.9rem; }
.hs-empty a { color: var(--accent); font-weight: 600; }

.hero-foot {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 52px);
  color: var(--on-dark);
  pointer-events: none; /* transparent bar must not swallow clicks on the hero search dropdown */
}
.hero-foot .scroll-cue { pointer-events: auto; } /* keep the scroll cue itself clickable */
.hero-arrows { display: flex; gap: 10px; }
.hero-foot .icon-btn { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.5); color: var(--on-dark); backdrop-filter: blur(4px); }
.hero-foot .icon-btn:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--on-dark-soft); }
.scroll-cue .icon-btn { width: 52px; height: 52px; }

@media (max-width: 720px) {
  .hero-media { min-height: 440px; }
  .hero-foot { display: none; }
  .hero-content { justify-content: flex-end; }
  .hero-content h1 { margin-top: auto; }
}

/* ---------- Metrics strip ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.metric strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.metric span { font-size: 0.86rem; color: var(--ink-soft); }
@media (max-width: 620px) { .metrics { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(44px, 5vw, 68px) 0; }
.section.panel { background: var(--panel); }
.section.ink { background: var(--ink); color: var(--on-dark); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section.ink .eyebrow { color: #6fd0d8; }
.head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.head-row h2, .section-title h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--ink);
  max-width: 20ch;
}
.section.ink h2 { color: var(--on-dark); }
.head-row p { color: var(--ink-soft); max-width: 42ch; margin-top: 12px; }
.section.ink .head-row p { color: var(--on-dark-soft); }
.section-title { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.section-title p { color: var(--ink-soft); margin-top: 12px; }
.view-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--ink); white-space: nowrap; }
.view-all:hover { color: var(--accent); }

/* ---------- Filter tabs (conversion: mirror Headout category filters) ---------- */
.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.filter-tab {
  padding: 9px 16px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-tab:hover { border-color: var(--ink); color: var(--ink); }
.filter-tab.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.filter-count { color: var(--ink-faint); font-size: 0.86rem; margin-left: auto; align-self: center; }

/* ---------- Tour cards (conversion-first) ---------- */
.tours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.load-more { display: block; margin: 28px auto 0; padding: 13px 30px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 0.92rem; transition: border-color 0.16s ease, background 0.16s ease; }
.load-more:hover { border-color: var(--ink); }
.load-more[hidden] { display: none; }
.tour-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.section.panel .tour-card { border-color: transparent; }
.tour-card[hidden] { display: none !important; }
.tour-card.is-clickable { cursor: pointer; }
.tour-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent), 0 18px 40px -14px rgba(15, 91, 99, 0.55);
  transform: translateY(-6px);
  position: relative; z-index: 1;
}
.tour-card.is-featured .tour-cta { background: var(--accent); }
/* "Best value" replaces the Bestseller badge on the featured card (top-left),
   so it never collides with the rating pill on the top-right. */
.tour-card.is-featured .tour-badge { display: none; }
.featured-flag {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--on-dark);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; z-index: 3; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(15, 91, 99, 0.4);
}
.featured-flag::before {
  content: "★"; font-size: 0.9em; line-height: 1;
}
.tour-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tour-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--on-dark);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 6px 11px; border-radius: 999px;
}
.tour-badge.sell-out { background: #c2410c; }
.tour-badge.bestseller { background: var(--accent); }
.tour-rating {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.94);
  color: var(--ink);
  font-size: 0.74rem; font-weight: 700;
  padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.tour-rating .rc { color: var(--ink-faint); font-weight: 500; }
.tour-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tour-loc { font-size: 0.76rem; font-weight: 600; color: var(--accent); }
.tour-name { font-family: var(--font-display); font-weight: 500; font-size: 1.05rem; color: var(--ink); line-height: 1.25; letter-spacing: -0.02em; }
.tour-social { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-soft); }
.tour-social svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 500; color: var(--ink-soft);
  background: var(--panel); border-radius: 999px; padding: 4px 10px;
}
.chip svg { width: 12px; height: 12px; }
.chip.free { color: var(--accent-ink); }
.tour-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.price-old { font-size: 0.85rem; color: var(--ink-faint); text-decoration: line-through; }
.price { font-size: 0.78rem; color: var(--ink-soft); }
.price strong { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); letter-spacing: -0.02em; }
.discount { font-size: 0.72rem; font-weight: 700; color: #c2410c; background: #fdece3; padding: 3px 8px; border-radius: 6px; }
.tour-cta { width: 100%; }

@media (max-width: 1000px) { .tours { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tours { grid-template-columns: 1fr; } .filter-count { width: 100%; margin-left: 0; } }

/* ---------- Trust strip (conversion) ---------- */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  padding: 22px 0 0;
}
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.trust-item svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* ---------- Destinations ---------- */
.dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dest {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: flex; align-items: flex-end;
  color: var(--on-dark);
}
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dest:hover img { transform: scale(1.06); }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,20,0) 42%, rgba(8,16,20,0.78) 100%); }
.dest-cap { position: relative; z-index: 1; padding: 22px; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dest-cap h3 { font-size: 1.2rem; color: var(--on-dark); }
.dest-cap span { display: block; font-size: 0.8rem; color: var(--on-dark-soft); margin-top: 4px; font-family: var(--font-body); font-weight: 400; }
.dest .go { background: rgba(255,255,255,0.16); color: var(--on-dark); backdrop-filter: blur(4px); flex-shrink: 0; }
.dest:hover .go { background: var(--surface); color: var(--ink); }
@media (max-width: 860px) { .dests { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dests { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--surface); border-radius: var(--r-lg); padding: 32px; border: 1px solid var(--line); }
.step-n {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1rem; color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--panel-2); margin-bottom: 20px;
}
.step h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 30px; border-radius: var(--r-lg); background: var(--panel); }
.feature-ic {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.94rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display); font-weight: 500; font-size: 1.12rem;
  color: var(--ink);
}
.faq-ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; }
.faq-ic::before { width: 11px; height: 1.6px; }
.faq-ic::after { width: 1.6px; height: 11px; transition: opacity 0.2s ease; }
.faq-item.open .faq-ic { background: var(--ink); border-color: var(--ink); }
.faq-item.open .faq-ic::before, .faq-item.open .faq-ic::after { background: var(--on-dark); }
.faq-item.open .faq-ic::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 4px 24px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta { padding: 0 20px clamp(24px, 4vw, 40px); }
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex; align-items: center;
  color: var(--on-dark);
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,20,0.7) 0%, rgba(8,16,20,0.35) 60%, rgba(8,16,20,0.15) 100%); }
.cta-inner { position: relative; z-index: 1; padding: clamp(36px, 5vw, 64px); max-width: 620px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--on-dark); }
.cta-inner p { color: var(--on-dark-soft); margin: 12px 0 26px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.footer { background: var(--panel); padding: 64px 0 32px; border-top: 1px solid var(--line); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-strong);
}
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { font-size: 0.9rem; color: var(--ink-soft); max-width: 34ch; }
.foot-col .foot-h { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.02em; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { font-size: 0.9rem; color: var(--ink-soft); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--ink-faint);
}
.foot-bottom a { color: var(--ink-soft); }
.foot-legal { margin-top: 18px; font-size: 0.76rem; line-height: 1.6; color: var(--ink-faint); max-width: 960px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Subpages - destinations, about, contact, legal
   ========================================================================== */
.subhero { padding: 0 20px; }
.subhero-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 210px;
  display: flex; align-items: center;
  color: var(--on-dark);
}
@media (max-width: 560px) { .subhero-media { min-height: 140px; } }
.subhero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subhero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,20,0.35) 0%, rgba(8,16,20,0.1) 40%, rgba(8,16,20,0.72) 100%); }
.subhero-content { position: relative; z-index: 1; padding: clamp(22px, 3vw, 40px); width: 100%; text-shadow: 0 2px 22px rgba(0,0,0,0.4); }
.subhero-content h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 500; color: var(--on-dark); max-width: 20ch; }
.subhero-content .lede { margin-top: 12px; font-size: 1rem; color: var(--on-dark-soft); max-width: 60ch; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--on-dark-soft); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--on-dark); text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* plain (no-image) subhero for legal / about */
.subhead { padding: clamp(24px, 4vw, 48px) 0 clamp(24px, 3vw, 36px); }
.subhead .breadcrumb { color: var(--ink-faint); }
.subhead .breadcrumb a { color: var(--ink-soft); }
.subhead .breadcrumb a:hover { color: var(--ink); }
.subhead h1 { font-size: clamp(1.7rem, 4vw, 3.2rem); font-weight: 500; color: var(--ink); max-width: 22ch; }
.subhead .head-row { margin-top: 12px; }
.subhead .lede { margin-top: 16px; font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }

.fact-row { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
@media (max-width: 560px) { .fact-row { gap: 14px 26px; margin-top: 20px; } }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact strong { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--on-dark); letter-spacing: -0.02em; }
.fact span { font-size: 0.8rem; color: var(--on-dark-soft); }

/* Info cards */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.info-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.section.panel .info-card { border-color: transparent; box-shadow: var(--shadow-soft); }
.info-card h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 14px; }
.info-card ul { display: flex; flex-direction: column; gap: 10px; }
.info-card li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: 0.94rem; }
.info-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* Prose */
.prose { max-width: 740px; margin: 0 auto; }
.prose > p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.prose h2 { font-size: 1.5rem; color: var(--ink); margin: 40px 0 12px; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin: 26px 0 8px; }
.prose p { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.prose li { color: var(--ink-soft); padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 1.6px; background: var(--accent); }
.prose a { color: var(--accent); font-weight: 600; }
.prose .updated { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 30px; }

/* ============ rich destination prose ============ */
.prose { max-width: 880px; }
.prose > p:first-of-type { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.72rem; letter-spacing: -0.025em; margin: 58px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.7; }
.prose strong { color: var(--ink); }

/* stat band */
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 32px 0; }
.p-stat { background: var(--panel); border-radius: var(--r-md); padding: 20px; }
.section.panel .p-stat { background: var(--surface); box-shadow: var(--shadow-soft); }
.p-stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; color: var(--accent-ink); letter-spacing: -0.03em; line-height: 1; }
.p-stat span { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--ink-faint); }

/* callout */
.p-callout { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin: 30px 0; }
.section.panel .p-callout { border-color: transparent; box-shadow: var(--shadow-soft); }
.p-callout .p-emoji { font-size: 1.7rem; line-height: 1.2; flex: 0 0 auto; }
.p-callout p { margin: 0; color: var(--ink); }
.p-callout p strong { color: var(--accent-ink); }

/* card grid */
.p-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
.p-cards.three { grid-template-columns: repeat(3, 1fr); }
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.section.panel .p-card { border-color: transparent; box-shadow: var(--shadow-soft); }
.p-card .p-emoji { font-size: 1.9rem; line-height: 1; display: block; margin-bottom: 12px; }
.p-card .p-icon { display: block; line-height: 0; margin-bottom: 14px; color: var(--accent); }
.p-card .p-icon svg { width: 46px; height: auto; }
.p-card .p-icon img { height: 38px; width: auto; max-width: 92px; }
.p-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.p-card p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* per-item chip row */
.prose ul.p-chips { display: flex; flex-flow: row wrap; align-items: baseline; gap: 0; margin: 4px 0 16px; padding: 0; list-style: none; }
.p-chips li { color: var(--ink); font-weight: 700; font-size: 0.95rem; padding: 0; }
.p-chips li::before { display: none; }
.p-chips li:not(:last-child)::after { content: "-"; margin: 0 9px; color: var(--ink-faint); font-weight: 400; }

/* pull quote */
.p-quote { border-left: 3px solid var(--accent); margin: 36px 0; padding: 2px 0 2px 22px; font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.42; letter-spacing: -0.01em; color: var(--ink); }

/* "how to choose" steps */
.p-steps { list-style: none; display: grid; gap: 20px; margin: 24px 0; padding: 0; counter-reset: p-step; }
.p-steps li { position: relative; padding: 0 0 0 46px; background: none; }
.p-steps li::before {
  counter-increment: p-step; content: counter(p-step);
  display: flex; align-items: center; justify-content: center;
  position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  border-radius: 50%; background: var(--accent); color: var(--on-dark);
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.p-steps li strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 1.05rem; }
.p-steps li span { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* inline mid CTA */
.p-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: var(--accent); border-radius: var(--r-lg); padding: 22px 28px; margin: 36px 0; }
.p-cta p { margin: 0; color: var(--on-dark); font-size: 1.08rem; font-weight: 500; }
.p-cta a { background: #fff; color: var(--accent-ink); border-radius: 999px; padding: 11px 22px; font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
@media (max-width: 760px) { .p-cards, .p-cards.three, .p-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .p-cards, .p-cards.three, .p-stats { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.contact-card { padding: 28px; border-radius: var(--r-lg); background: var(--panel); }
.contact-card + .contact-card { margin-top: 18px; }
.contact-card h3 { color: var(--ink); margin-bottom: 8px; font-size: 1.1rem; }
.contact-card p { color: var(--ink-soft); font-size: 0.95rem; }
.contact-card a { color: var(--accent); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Tools - season calendar, sighting probability, species guide
   ========================================================================== */
.tools-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .tools-grid { grid-template-columns: 1fr; } }

.tool-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.section.panel .tool-card { border-color: transparent; box-shadow: var(--shadow-soft); }
.tool-card h3 { font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.tool-card .tool-sub { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 20px; }

/* Season month calendar */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.month { text-align: center; }
.month .bar { height: 40px; border-radius: 7px; background: var(--panel-2); display: block; }
.month .bar.good { background: #9fd0c8; }
.month .bar.peak { background: var(--accent); }
.month .lbl { display: block; font-size: 0.68rem; color: var(--ink-faint); margin-top: 6px; font-weight: 600; }
.month .bar.peak + .lbl { color: var(--accent-ink); }
.legend { display: flex; gap: 18px; margin-top: 16px; font-size: 0.8rem; color: var(--ink-soft); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.legend i.peak { background: var(--accent); }
.legend i.good { background: #9fd0c8; }
.legend i.off { background: var(--panel-2); }

/* Sighting probability rings */
.rings { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.ring { text-align: center; flex: 1; min-width: 130px; }
.ring svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.ring .track { fill: none; stroke: var(--panel-2); stroke-width: 10; }
.ring .prog { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; }
.ring .prog.alt { stroke: #7cc0b8; }
.ring .val { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; fill: var(--ink); transform: rotate(90deg); transform-origin: center; }
.ring p { margin-top: 12px; font-size: 0.9rem; color: var(--ink-soft); max-width: 22ch; margin-inline: auto; }

/* Species guide */
.species { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 520px) { .species { grid-template-columns: 1fr; } }
.species-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-md); background: var(--panel); }
.species-item .sp-icon { width: 42px; height: 30px; object-fit: contain; object-position: center; flex-shrink: 0; }
.species-item strong { display: block; color: var(--ink); font-size: 0.95rem; }
.species-item span { font-size: 0.82rem; color: var(--ink-soft); }
.species-item .cnt { display: inline-block; margin-top: 5px; font-size: 0.72rem; font-weight: 600; color: var(--accent-ink); background: #e2efec; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }

/* real sightings-by-month chart (GBIF data) */
.tool-card.sight .sight-bars { display: flex; align-items: flex-end; gap: 6px; height: 128px; margin: 6px 0 2px; }
.sight-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.sight-fill { width: 100%; min-height: 4px; border-radius: 6px 6px 3px 3px; background: var(--panel-2); transition: height .2s; }
.sight-fill.good { background: #9fd0c8; }
.sight-fill.peak { background: var(--accent); }
.sight-col .lbl { display: block; font-size: 0.68rem; color: var(--ink-faint); margin-top: 6px; font-weight: 600; }
.sight-col .sight-fill.peak ~ .lbl { color: var(--accent-ink); }
.sight-src { font-size: 0.72rem; color: var(--ink-faint); margin-top: 14px; line-height: 1.5; }
.sight-src a { color: var(--ink-soft); text-decoration: underline; }

/* City sub-cards on hub pages reuse .dests / .dest */

/* Homepage best-time overview */
.besttime { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 780px) { .besttime { grid-template-columns: 1fr; } }
.bt-row { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: box-shadow 0.16s ease, transform 0.16s ease; }
.bt-row:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.bt-name { min-width: 130px; flex-shrink: 0; }
.bt-name strong { display: block; color: var(--ink); font-size: 0.95rem; }
.bt-name span { font-size: 0.76rem; color: var(--accent); font-weight: 600; }
.months.mini { flex: 1; gap: 3px; }
.months.mini .bar { height: 22px; border-radius: 4px; background: var(--panel-2); }
.months.mini .bar.good { background: #9fd0c8; }
.months.mini .bar.peak { background: var(--accent); }
.bt-row .go { background: var(--panel-2); color: var(--ink); flex-shrink: 0; }
.bt-row:hover .go { background: var(--ink); color: var(--on-dark); }

/* Country filter select on /tours */
.filter-select { position: relative; }
.filter-select select {
  font: inherit; font-size: 0.86rem; font-weight: 500;
  padding: 9px 34px 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.filter-select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* ==========================================================================
   Best-time tool page
   ========================================================================== */
.bt-monthbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bt-month { padding: 9px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-strong); }
.bt-month:hover { border-color: var(--ink); color: var(--ink); }
.bt-month.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.bt-lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 18px; }
.bt-lead strong { color: var(--ink); }
.bt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .bt-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bt-cards { grid-template-columns: 1fr; } }
.bt-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: box-shadow 0.16s ease, transform 0.16s ease; }
.bt-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.bt-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bt-card h3 { font-size: 1.15rem; color: var(--ink); }
.bt-card .status { font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.bt-card .status.peak { background: var(--accent); color: #fff; }
.bt-card .status.good { background: #cdeae4; color: var(--accent-ink); }
.bt-card .sp { font-size: 0.9rem; color: var(--ink-soft); }
.bt-card .bt-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.bt-card .bt-cta { align-self: flex-start; margin-top: 6px; }
.bt-off { margin-top: 22px; font-size: 0.9rem; color: var(--ink-faint); }
.bt-off a { color: var(--ink-soft); text-decoration: underline; }

/* ---------- Best-time planner (interactive, books tours) ---------- */
.pl-step { margin-bottom: 14px; }
.pl-kicker { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.pl-ask { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.planner .bt-lead { margin: 4px 0 16px; }
.pl-dests { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pl-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-strong); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.pl-chip:hover { border-color: var(--ink); color: var(--ink); }
.pl-chip.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.pl-chip .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.pl-chip .dot.peak { background: var(--accent); }
.pl-chip .dot.good { background: #9bd3c8; }
.pl-chip.active .dot.good { background: #cdeae4; }

.pl-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.pl-count { font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.pl-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.pl-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 500; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line-strong); transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.pl-toggle svg { width: 14px; height: 14px; }
.pl-toggle:hover { border-color: var(--ink); color: var(--ink); }
.pl-toggle.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.pl-tours { margin-top: 0; }
.tour-badge.peak { background: var(--accent); }
.tour-badge.good { background: rgba(20, 40, 45, 0.72); }
#plMore[hidden] { display: none; }
@media (max-width: 560px) { .pl-tools { width: 100%; margin-left: 0; } .pl-tools .filter-select { flex: 1; } .pl-tools .filter-select select { width: 100%; } }

.heatmap-wrap { overflow-x: auto; }
.heatmap { min-width: 640px; }
.hm-head, .hm-row { display: grid; grid-template-columns: 150px repeat(12, 1fr); gap: 5px; align-items: center; }
.hm-row { margin-top: 5px; }
.hm-name { font-size: 0.85rem; font-weight: 600; color: var(--ink); padding-right: 8px; }
a.hm-name:hover { color: var(--accent); }
.hm-col { font-size: 0.72rem; font-weight: 600; color: var(--ink-faint); background: none; border: none; padding: 6px 0; text-align: center; cursor: pointer; border-radius: 6px; }
.hm-col:hover { color: var(--ink); background: var(--panel-2); }
.hm-col.active { color: var(--on-dark); background: var(--ink); }
.hm-row .cell { height: 26px; border-radius: 5px; background: var(--panel-2); }
.hm-row .cell.good { background: #9fd0c8; }
.hm-row .cell.peak { background: var(--accent); }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
