/* ============================================================================
   pages.css — interior (multi-page) styles for the Hetta Huskies redesign.
   Loaded on every generated page AND the homepage (index.html links it too).
   ========================================================================== */

body.interior { background: var(--aurora-wash); background-attachment: fixed; }

/* ============================================================================
   HEADER MEGA-NAV  [tighten-decap + grafts]  — no caps anywhere.
   Cascade-safe: `.site-header .mega-nav .mega-top` (0,3,0) beats the legacy
   `.primary-nav a` (0,1,1) and `.is-scrolled .primary-nav a` (0,2,1).
   ========================================================================== */

/* ---- The bar -------------------------------------------------------------- */
.mega-nav {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.4vw, 9px);     /* tightened so all 8 items fit one row */
  flex: 0 1 auto;                  /* hug the logo on the left; actions sit flush right (margin-left:auto) */
  min-width: 0;                    /* OVERFLOW SAFETY: never shove brand/Book off-canvas */
  justify-content: flex-start;
}
.mega-item { position: relative; }

/* ---- Top-level group label: de-capped, friendly Manrope, cascade-proof ---- */
.site-header .mega-nav .mega-top {
  display: inline-flex; align-items: center; gap: 5px;
  /* a <button>, not a link: clicking a header opens its panel and goes nowhere */
  appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
  text-align: left;
  font-family: var(--font-body);          /* Manrope, NOT Oswald */
  text-transform: none;                   /* NO CAPS */
  letter-spacing: -0.01em;
  font-size: 0.88rem; font-weight: 600; line-height: 1;
  white-space: nowrap;
  padding: 7px 7px; border-radius: var(--radius-sm);
  color: #fff;                            /* default = over the DARK hero (home + interior page-hero) */
  text-shadow: 0 1px 10px rgba(0,0,0,0.5); /* aggressive contrast over any hero image */
  background: transparent;
  transition: color var(--t-fast), background var(--t-fast);
}
/* kill the inherited ember underline from `.primary-nav a::after` */
.site-header .mega-nav .mega-top::after { content: none; display: none; }

.mega-caret { font-size: 0.9em; line-height: 1; opacity: 0.6; display: inline-block;
  transition: transform var(--t-fast); }
.mega-item:hover > .mega-top .mega-caret,
.mega-item:focus-within > .mega-top .mega-caret { transform: rotate(90deg); opacity: 1; }

/* hover / active over the dark hero: warm frosted chip */
.site-header .mega-nav .mega-item.is-active > .mega-top,
.site-header .mega-nav .mega-top:hover,
.site-header .mega-nav .mega-item:focus-within > .mega-top {
  color: #fff; background: rgba(255,255,255,0.14);
}

/* ---- Dark-text state: ONLY when the header is scrolled into its light glass.
   Interior pages have a DARK page-hero, so the header keeps WHITE text until you
   scroll past the hero — same behaviour as the homepage (fixes invisible nav). */
.site-header.is-scrolled .mega-nav .mega-top { color: var(--ink-soft); text-shadow: none; }
.site-header.is-scrolled .mega-nav .mega-item.is-active > .mega-top,
.site-header.is-scrolled .mega-nav .mega-top:hover,
.site-header.is-scrolled .mega-nav .mega-item:focus-within > .mega-top {
  color: var(--navy); background: var(--navy-soft);
}

/* ---- Dropdown panels ------------------------------------------------------
   Anchored under their own header title and only as wide as their contents
   need. A panel spanning the whole viewport made a five-item menu look like a
   site-wide takeover; with the sub-menus collapsed, three or four columns under
   the title is plenty.
   -------------------------------------------------------------------------- */
.mega-item { position: relative; }
.mega-panel {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--snow); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px 4px;
  opacity: 0; visibility: hidden;
  transform: translate(calc(var(--mega-shift, 0px) * -1), 6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
/* invisible bridge across the gap between the label and the panel */
.mega-item > .mega-top { position: relative; }
.mega-item > .mega-top:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.mega-item > .mega-top::before {
  content: ""; position: absolute; left: -6px; right: -6px; top: 100%; height: 16px;
}
.mega-item:hover .mega-panel,
.mega-item:focus-within .mega-panel {
  opacity: 1; visibility: visible;
  transform: translate(calc(var(--mega-shift, 0px) * -1), 0);
}

.mega-panel-inner {
  max-height: min(74vh, 620px); overflow-y: auto; overscroll-behavior: contain;
  padding: 0 18px;
}
.mega-flow { display: grid; gap: 2px 22px; align-items: start; }
.mega-panel--1 .mega-flow { grid-template-columns: minmax(206px, 1fr); width: 214px; }
.mega-panel--2 .mega-flow { grid-template-columns: repeat(2, minmax(192px, 1fr)); width: 406px; }
.mega-panel--3 .mega-flow { grid-template-columns: repeat(3, minmax(186px, 1fr)); width: 602px; }
.mega-panel--4 .mega-flow { grid-template-columns: repeat(4, minmax(184px, 1fr)); width: 802px; }
@media (max-width: 1380px) {
  .mega-panel--4 .mega-flow { grid-template-columns: repeat(3, minmax(184px, 1fr)); width: 604px; }
}
/* no-JS fallback only: without the clamp above, right-align the trailing groups
   so a panel near the end of the bar cannot run off the viewport */
html:not(.js-nav) .mega-nav > .mega-item--end .mega-panel { left: auto; right: 0; }

/* ---- A sub-menu (level 2) and its sub-sub list (level 3) ------------------ */
/* break-inside keeps a sub-menu label and its sub-sub list in the same column */
.mega-col { display: grid; gap: 1px; align-content: start; min-width: 0; margin: 0; }
.mega-panel a {
  display: block; padding: 6px 10px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft); line-height: 1.3;
  transition: background var(--t-fast), color var(--t-fast);
}
.mega-panel a:hover { background: var(--navy-soft); color: var(--navy); }

/* level-2 label. With pages under it this is a <button> that discloses them and
   navigates nowhere; with nothing under it, it stays an <a>. */
.mega-col > .mega-col-h {
  display: flex; align-items: center; gap: 6px; width: 100%;
  padding: 6px 10px; border-radius: var(--radius-sm); text-align: left;
  font-family: var(--font-body); font-weight: 700; font-size: 0.86rem;
  color: var(--ink); letter-spacing: -0.005em; line-height: 1.3;
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.mega-col > button.mega-col-h { cursor: pointer; }
.mega-col > .mega-col-h:hover { background: var(--navy-soft); color: var(--navy); }
.mega-col > .mega-col-h:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
.mega-col-caret { margin-left: auto; font-size: 1.05em; line-height: 1; opacity: 0.5;
  display: inline-block; transition: transform var(--t-fast); }
.mega-col.is-open > .mega-col-h { background: var(--navy-soft); color: var(--navy); }
.mega-col.is-open > .mega-col-h .mega-col-caret { transform: rotate(90deg); opacity: 1; }

/* level 3 — closed until its heading is clicked */
.mega-sub { display: none; padding: 2px 0 8px; }
.mega-col.is-open > .mega-sub { display: grid; gap: 0; }
.mega-sub a { font-size: 0.83rem; color: var(--ink-mute); padding: 4px 10px 4px 17px; }
.mega-sub a:hover { color: var(--navy); }

/* feature link (fat-bike hire, dog hotel, the CRM) — ember chevron, bolder */
.mega-panel a.is-feature { font-weight: 700; color: var(--ink); }
.mega-panel a.is-feature::before {
  content: "\203A"; color: var(--ember); font-weight: 700; margin-right: 7px;
}

/* ---- Drawer expand buttons (desktop: hidden; ≤1280px: the accordion) ------ */
.mega-exp { display: none; }
.mega-exp-ico { display: block; font-size: 0.8rem; line-height: 1; transition: transform var(--t-fast); }
.mega-item.is-open > .mega-exp .mega-exp-ico,
.mega-col.is-open > .mega-exp .mega-exp-ico { transform: rotate(180deg); }

/* contact footer inside a panel — warm, no header height */
.mega-panel-foot {
  grid-column: 1 / -1; margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-family: var(--font-body); font-size: 0.82rem;
}
.mega-panel-foot a {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px;
  color: var(--ink-mute); font-weight: 500;
}
.mega-panel-foot a:hover { color: var(--navy); background: transparent; }

/* ============================================================================
   GLOBE LANGUAGE DROPDOWN — replaces the 3/5-flag pill rail. Reclaims ~120px.
   ========================================================================== */
.lang-dd { position: relative; display: inline-flex; }
.lang-dd-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.12); border: 0; cursor: pointer;
  border-radius: 999px; padding: 7px 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.01em; color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-dd-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
.lang-dd-globe { font-size: 1rem; line-height: 1; }
/* The switcher draws its flags as inline SVG now rather than as <img>, so they
   need explicit size — an inline svg with no CSS collapses to nothing, which is
   why the icons were invisible everywhere. */
.lang-dd-flag2 { display: block; flex: 0 0 auto; width: 22px; height: 15px;
  border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.5); }
.lang-dd-flag2 svg { display: block; width: 100%; height: 100%; }
.lang-dd-menu .lang-dd-flag2 { width: 20px; height: 14px; box-shadow: 0 0 0 1px var(--line); }
.site-header.is-scrolled .lang-dd-btn .lang-dd-flag2 { box-shadow: 0 0 0 1px rgba(0,0,0,0.18); }

.lang-dd-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.55), 0 1px 3px rgba(0,0,0,0.25); }
.lang-dd-caret { font-size: 0.55em; opacity: 0.7; transition: transform var(--t-fast); }
.lang-dd:hover .lang-dd-caret,
.lang-dd:focus-within .lang-dd-caret,
.lang-dd-btn[aria-expanded="true"] .lang-dd-caret { transform: rotate(180deg); }

.lang-dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 172px;
  background: var(--snow); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 6px; display: grid; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
.lang-dd:hover .lang-dd-menu,
.lang-dd:focus-within .lang-dd-menu,
.lang-dd-btn[aria-expanded="true"] + .lang-dd-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* In the drawer the language button sits near the LEFT edge, so a menu aligned
   to its right edge hangs off the side of the phone. */
@media (max-width: 1280px) {
  .lang-dd-menu { left: 0; right: auto; }
}

/* ---- the one-page demo group at the foot of the language menu --------------
   The original single-scroll landing pages, kept reachable for showing the
   simpler layout. A compact pill row rather than four more full-width rows, so
   the menu does not double in height.
   -------------------------------------------------------------------------- */
.lang-dd-sep { height: 1px; background: var(--line); margin: 5px 4px; }
.lang-dd-label {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute);
  padding: 2px 11px 4px;
}
.lang-dd-demo { display: flex; gap: 4px; padding: 0 7px 3px; }
.lang-dd-menu .lang-dd-demo a {
  flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 7px 2px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em;
  color: var(--ink-mute); border: 1px solid var(--line); background: var(--snow-2);
}
.lang-dd-menu .lang-dd-demo a:hover,
.lang-dd-menu .lang-dd-demo a:focus-visible {
  background: var(--ember-soft); border-color: var(--purple-dark); color: var(--purple-dark);
}
.lang-dd-menu .lang-dd-demo .lang-dd-flag2 { width: 22px; height: 15px; }

.lang-dd-menu a,
.lang-dd-menu .lang-current {
  display: flex; align-items: center; gap: 9px; padding: 8px 11px;
  border-radius: var(--radius-sm); font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-dd-menu a:hover { background: var(--navy-soft); color: var(--navy); }
.lang-dd-menu .lang-current { color: var(--navy); font-weight: 700; cursor: default; }
.lang-dd-menu img {
  width: 18px; height: auto; aspect-ratio: 4 / 3; border-radius: 2px;
  object-fit: cover; box-shadow: 0 0 0 1px rgba(11,30,45,0.12);
}
/* dark-text states for the trigger pill — ONLY when scrolled (light glass).
   Over the dark page-hero it stays the frosted-white default. */
.site-header.is-scrolled .lang-dd-btn { background: var(--snow-2); color: var(--ink-soft); }
.site-header.is-scrolled .lang-dd-btn:hover { background: var(--navy-soft); color: var(--navy); }

/* ---- Page hero ------------------------------------------------------------ */
.page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end;
  overflow: hidden; background: var(--navy-deep); }
.page-hero picture, .page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero img { object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,30,84,.15) 0%, rgba(0,30,84,.35) 45%, rgba(10,10,10,.78) 100%); }
.page-hero-inner { position: relative; z-index: 2; padding: 48px 24px 40px; color: var(--snow); }
.page-title { font-family: var(--font-serif); font-weight: 600; color: var(--snow);
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.04; margin: .25em 0 0; max-width: 16ch; }
.page-sum { font-size: 1.1rem; max-width: 56ch; margin-top: .7em; color: rgba(255,255,255,.92); }

/* ---- Breadcrumb ----------------------------------------------------------- */
.breadcrumb { font-size: .8rem; letter-spacing: .02em; color: rgba(255,255,255,.85);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: .55; }
.breadcrumb span:last-child { color: #fff; font-weight: 600; }

/* ---- Page grid (content + aside) ----------------------------------------- */
.page-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 48px; align-items: start; }
.page-main { min-width: 0; }
.page-main .lead p:first-child { font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft);
  font-family: var(--font-body); }
.page-main p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 1em; }
.prose { margin-top: 2rem; }
.prose h2 { font-family: var(--font-display); text-transform: none; letter-spacing: .01em;
  color: var(--navy); font-size: 1.45rem; margin: 0 0 .6em; }

.highlights { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 10px; }
.highlights li { position: relative; padding-left: 28px; color: var(--ink-soft); line-height: 1.55; }
.highlights li::before { content: "›"; position: absolute; left: 6px; top: -1px;
  color: var(--green); font-weight: 700; font-size: 1.1em; }

/* ---- Aside: facts + CTA --------------------------------------------------- */
.page-aside { position: sticky; top: 90px; display: grid; gap: 20px; }
.facts { background: var(--snow-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin: 0; display: grid; gap: 10px; }
.facts .fact { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline;
  padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts .fact:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-family: var(--font-body); font-weight: 600; text-transform: none; font-size: .72rem;
  letter-spacing: .04em; color: var(--ink-mute); }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.cta-card { background: linear-gradient(135deg, var(--purple-dark), var(--purple-darker));
  color: #fff; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md); }
.cta-card h3 { font-family: var(--font-serif); font-size: 1.4rem; margin: 0 0 .3em; color: #fff; }
.cta-card p { color: rgba(255,255,255,.85); margin: 0 0 1.1em; font-size: .95rem; line-height: 1.5; }
.cta-card .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); margin-top: 8px; }

/* ---- Child grid (section landing pages) ----------------------------------- */
.child-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 22px; margin-top: 2.4rem; }
.child-card { display: flex; flex-direction: column; background: var(--snow);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast); }
.child-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.child-thumb { aspect-ratio: 16/10; overflow: hidden; display: block; }
.child-thumb img { width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base); }
.child-card:hover .child-thumb img { transform: scale(1.05); }
.child-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.child-title { font-family: var(--font-display); text-transform: none; letter-spacing: 0;
  color: var(--navy); font-size: 1.02rem; font-weight: 600; }
.child-sum { color: var(--ink-mute); font-size: .9rem; line-height: 1.5; }

/* ---- Card depth affordance: what is inside, without a wall of links --------
   Non-interactive by design: .child-card is a single <a>, so a real link here
   would be invalid markup and would break keyboard navigation. .child-body is a
   grid, so this drops in as one more row. */
.child-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px;
  margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.child-more-n { flex: 0 0 auto; font-family: var(--font-body); font-size: .68rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); background: var(--navy-soft);
  border-radius: 999px; padding: 3px 9px;
  transition: background var(--t-fast), color var(--t-fast); }
.child-more-list { flex: 1 1 140px; min-width: 0; font-size: .8rem; line-height: 1.45;
  color: var(--ink-mute); }
.child-more-sep { opacity: .45; margin: 0 4px; }
.child-more-rest { color: var(--navy); font-weight: 600; white-space: nowrap; margin-left: 5px; }
.child-card:hover .child-more-n { background: var(--ember-soft); color: var(--ink); }

/* ---- Section hub: themed groups of child cards -----------------------------
   Replaces the stacked one-long-page landing. The section's own prose still sits
   below; these groups are the index that used to be a 4,000-word document. */
.hub-groups { display: flex; flex-direction: column; gap: 3rem; margin-top: 2.2rem; }
.hub-group { scroll-margin-top: 110px; }
.hub-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.hub-group-title { font-family: var(--font-display); text-transform: none;
  letter-spacing: .005em; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--ink); line-height: 1.1; margin: 0; }
.hub-group-title::before { content: ""; display: block; width: 42px; height: 4px;
  border-radius: 4px; margin-bottom: .8rem;
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember-soft) 100%); }
.hub-group-n { font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); }
.hub-group-lede { flex: 1 1 100%; margin: .35rem 0 0; color: var(--ink-mute);
  font-size: .95rem; line-height: 1.55; max-width: 62ch; }
/* auto-FIT, not auto-fill, so a two-card group fills its row rather than leaving
   an empty track; capped so a lone card does not become a billboard. */
.hub-group .child-grid { margin-top: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.hub-group .child-grid > :only-child { max-width: 400px; }
@media (max-width: 700px) { .hub-groups { gap: 2.2rem; } }

/* ---- Dog roster (meet-the-dogs hub: the rest of the pack) ----------------- */
.roster-block { margin-top: 2.6rem; }
.roster-block h2 { font-family: var(--font-display); text-transform: none; letter-spacing: .01em;
  color: var(--navy); font-size: 1.45rem; margin: 0 0 .4em; }
.dog-roster { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }
.dog-chip { display: inline-block; padding: 6px 13px; border-radius: 999px;
  background: var(--snow-2); border: 1px solid var(--line); color: var(--ink-soft);
  font-size: .9rem; font-weight: 500; font-family: var(--font-body); }

/* ---- Gallery -------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 14px; margin: 2.4rem 0 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 920px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-aside { position: static; order: 2; }
}

/* Collapse the whole mega-menu into the drawer. 1280px MATCHES style.css's
   hamburger breakpoint — the horizontal bar only shows where all 8 groups fit.
   Same markup, different machine: here the panels are an ACCORDION driven by
   the .mega-exp buttons (main.js), because expanding all three levels at once
   would be ~350 links in one scroll. */
@media (max-width: 1280px) {
  .mega-nav { display: none; }
  .site-header.menu-open .mega-nav {
    display: flex; flex-direction: column; position: static;
    flex: 1 1 100%; width: 100%; gap: 0; margin-top: 14px;
  }
  .site-header.menu-open .mega-item {
    position: relative; width: 100%;
    display: flex; flex-wrap: wrap; align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .site-header .mega-nav .mega-top,
  .site-header.menu-open .mega-nav .mega-top {
    flex: 1 1 100%; width: 100%; min-width: 0;
    color: var(--ink); background: transparent; text-shadow: none;
    font-size: 1.05rem; padding: 14px 2px; border-radius: 0; border-bottom: 0;
  }
  /* the top-level row IS the toggle now (no separate chevron button), so the
     caret has to show in the drawer and say which way the panel is */
  /* The over-the-hero hover/focus treatment is white-on-white in the drawer, and
     now that the header is a button that KEEPS focus after a tap, that state
     sticks. Specificity here has to beat `.site-header .mega-nav
     .mega-item:focus-within > .mega-top` (0,5,0), hence the extra .menu-open. */
  .site-header.menu-open .mega-nav .mega-item.is-active > .mega-top,
  .site-header.menu-open .mega-nav .mega-top:hover,
  .site-header.menu-open .mega-nav .mega-top:focus,
  .site-header.menu-open .mega-nav .mega-item:focus-within > .mega-top {
    color: var(--ink); background: var(--snow-2); text-shadow: none;
  }
  .site-header.menu-open .mega-caret { display: inline-block; margin-left: auto; font-size: 0.9rem; }
  .site-header.menu-open .mega-item.is-open > .mega-top .mega-caret { transform: rotate(90deg); }

  /* the tap targets that open each level */
  .site-header.menu-open .mega-exp {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 auto; width: 46px; min-height: 46px; align-self: stretch;
    padding: 0; border: 0; background: transparent; cursor: pointer;
    color: var(--ink-mute); border-radius: var(--radius-sm);
  }
  .site-header.menu-open .mega-exp:hover { background: var(--snow-2); color: var(--ink); }


  /* panels: static, full width, closed until their group is tapped open */
  .site-header.menu-open .mega-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; flex: 1 1 100%; width: 100%;
    background: transparent; box-shadow: none; border: 0;
    padding: 0; min-width: 0; border-radius: 0;
  }
  .site-header.menu-open .mega-item.is-open > .mega-panel { display: block; }
  .site-header.menu-open .mega-panel-inner {
    max-width: none; max-height: none; overflow: visible;
    padding: 0 0 10px 12px; margin: 0;
  }
  .site-header.menu-open .mega-flow { display: block; columns: auto; width: auto; }
  .site-header.menu-open .mega-col {
    display: flex; flex-wrap: wrap; align-items: center; margin: 0;
  }
  /* beat style.css's blanket `.site-header.menu-open .primary-nav a` sizing */
  .site-header.menu-open .primary-nav .mega-panel a {
    font-size: 0.92rem; font-weight: 500; padding: 10px 8px;
    border-bottom: 0; color: var(--ink-soft);
  }
  .site-header.menu-open .primary-nav .mega-col > .mega-col-h {
    flex: 1 1 100%; width: 100%; min-width: 0; margin: 0;
    font-size: 0.98rem; font-weight: 700; color: var(--ink);
    padding: 12px 8px; border-bottom: 0; border-radius: 0;
  }
  .site-header.menu-open .mega-col-caret { font-size: 0.8rem; opacity: 0.7; }
  .site-header.menu-open .mega-sub {
    flex: 1 1 100%; width: 100%;
    padding: 0 0 8px 14px; border-left: 1px solid var(--line); margin-left: 8px;
  }
  .site-header.menu-open .mega-col.is-open > .mega-sub { display: block; }
  .site-header.menu-open .primary-nav .mega-sub a { font-size: 0.88rem; padding: 9px 8px; }
  .site-header.menu-open .mega-panel-foot { padding-left: 0; }
  /* language is a standalone dropdown pinned top-right (not inside the drawer) */
  .lang-dd { margin-left: auto; }
}

/* ---- Header site search --------------------------------------------------- */
.search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px; cursor: pointer; flex: 0 0 auto;
  background: rgba(255,255,255,0.12); border: 0; color: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-fast), color var(--t-fast);
}
.search-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }
.site-header.is-scrolled .search-btn { background: var(--snow-2); color: var(--ink-soft); }
.site-header.is-scrolled .search-btn:hover { background: var(--navy-soft); color: var(--navy); }

.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,18,30,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 12vh 20px 20px;
}
.search-overlay[hidden] { display: none; }
.search-modal {
  width: min(640px, 100%); background: var(--snow); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; max-height: 72vh; display: flex; flex-direction: column;
}
.search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-bar-icon { color: var(--ink-mute); flex: 0 0 auto; }
.search-bar input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--font-body); font-size: 1.1rem; color: var(--ink);
}
.search-close {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--snow-2); color: var(--ink-mute);
  border-radius: 6px; padding: 5px 9px; font-size: 0.72rem; font-weight: 700; cursor: pointer; letter-spacing: 0.04em;
}
.search-results { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.search-results a { display: block; padding: 11px 14px; border-radius: var(--radius-sm); text-decoration: none; }
.search-results a:hover, .search-results a.is-active { background: var(--navy-soft); }
.search-result-title { display: block; font-family: var(--font-body); font-weight: 600; color: var(--ink); font-size: 0.98rem; }
.search-result-meta { display: block; font-size: 0.82rem; color: var(--ink-mute); margin-top: 2px; }
.search-result-sec { color: var(--navy); font-weight: 600; }
.search-hint { padding: 14px 18px; margin: 0; color: var(--ink-mute); font-size: 0.86rem; }
em.search-hit { font-style: normal; background: var(--ember-soft); border-radius: 2px; padding: 0 1px; }
@media (max-width: 600px) { .search-overlay { padding: 8vh 12px 12px; } .search-modal { max-height: 80vh; } }

/* ===== HettaView — AI husky-CRM showcase ================================== */
.crm-hero { min-height: 62vh; }
.crm-hero .page-hero-inner { padding-bottom: 54px; }
.crm-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.03em;
  color: var(--aurora-green); margin: 0 0 6px; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.crm-title { font-size: clamp(3rem, 9vw, 6rem); letter-spacing: -0.01em; }
.crm-tm { font-size: 0.3em; vertical-align: super; color: var(--ember-soft); margin-left: .12em; }
.crm-sub { max-width: 60ch; font-size: 1.18rem; }
.crm-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

.crm-narrow { max-width: 760px; }
.crm-intro .lead { font-size: 1.3rem; line-height: 1.55; color: var(--ink); }
.crm-intro p, .crm-ai-sec p { color: var(--ink-soft); line-height: 1.7; margin: 0 0 1em; }
.crm-intro strong, .crm-ai-list strong { color: var(--ink); }

.crm-features-sec { background: var(--aurora-wash); }
.crm-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 1080px) { .crm-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .crm-feat-grid { grid-template-columns: 1fr; } }
.crm-feat { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; border-color: color-mix(in srgb, var(--crm-accent, var(--navy)) 40%, var(--line));
  box-shadow: var(--shadow-sm); transition: transform var(--t-base), box-shadow var(--t-base); }
.crm-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md, 0 14px 30px rgba(0,0,0,0.12)); }
.crm-feat-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; font-size: 1.5rem; background: var(--snow-2);
  box-shadow: inset 0 0 0 2px var(--crm-accent, var(--navy)); margin-bottom: 12px; }
.crm-feat h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin: 0 0 6px; }
.crm-feat p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin: 0; }
.crm-feat--a { --crm-accent: #48AF0E; }
.crm-feat--b { --crm-accent: #2C5F7C; }
.crm-feat--c { --crm-accent: #9B7EBD; }
.crm-feat--d { --crm-accent: #3B1E5E; }
.crm-feat--e { --crm-accent: #5B9AB8; }
.crm-feat--f { --crm-accent: #99173C; }
.crm-feat--g { --crm-accent: #2C8C66; }
.crm-feat--h { --crm-accent: #003082; }

.crm-ai-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.crm-ai-list li { position: relative; padding-left: 30px; color: var(--ink-soft); line-height: 1.6; }
.crm-ai-list li::before { content: "\2726"; position: absolute; left: 4px; top: 0; color: var(--aurora-purple); }

.crm-shots-sec { background: var(--aurora-wash); }
/* TWO across, not four: these are real screenshots of a dense product, and at a
   quarter of the container the text in them is unreadable. */
.crm-shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 24px; margin-top: 28px; }
@media (max-width: 700px) { .crm-shot-grid { grid-template-columns: 1fr; } }
.crm-shot { margin: 0; }
.crm-shot-frame { position: relative; display: block; aspect-ratio: 16 / 10;
  border-radius: var(--radius); background: #0B1E2D;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.crm-shot-frame img { display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base); }
.crm-shot-frame:hover img, .crm-shot-frame:focus-visible img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .crm-shot-frame img { transition: none; } }
/* The number sits in the caption, not on the image: every one of these screens
   has its own chrome in the top-left corner and a badge landed on top of it. */
.crm-shot-n { font-family: var(--font-display); font-size: 0.76rem; letter-spacing: 0.06em;
  color: var(--ink-mute); margin-right: 8px; }
.crm-shot figcaption { margin-top: 11px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); text-align: center; }

.crm-cta-band { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff;
  border-radius: 20px; padding: 48px 32px; text-align: center; }
.crm-cta-band h2 { font-family: var(--font-display); color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 8px; }
.crm-cta-band p { color: rgba(255,255,255,0.85); margin: 0 0 22px; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

/* ---- Mobile nav drawer: sector icons, stand-out headers, compact flag row -- */
.mega-ico { display: none; }
@media (max-width: 1280px) {
  /* sector icons + bolder section headers so each sector stands out */
  .site-header.menu-open .mega-ico { display: inline-block; width: 1.5em; margin-right: 6px;
    font-size: 1.2em; line-height: 1; text-align: center; }
  .site-header.menu-open .mega-nav .mega-top { font-size: 1.14rem; font-weight: 700; }
}

/* ---- Mobile audit fixes --------------------------------------------------- */
/* open hamburger drawer must sit above the fixed cookie banner, and hide the
   banner while the menu is open so no nav items are occluded */
.site-header.menu-open { z-index: 300; }
.site-header.menu-open ~ .cookie-banner { display: none; }
/* brand-safe emoji rendering for sector + feature icons */
.crm-feat-ico, .mega-ico { font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji", system-ui, sans-serif; }
/* larger touch targets on phones */
@media (max-width: 600px) {
  .breadcrumb a { display: inline-block; padding: 5px 2px; }
  .site-footer a { display: inline-block; padding: 3px 0; }
}
@media (max-width: 400px) { .page-title { font-size: 1.95rem; } }

/* ---- Activities: signature husky programmes featured at the top ----------- */
.section-head--lead { margin-top: 4px; }
.child-grid--feature { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-bottom: 12px; }
.child-card--feature { border: 1px solid color-mix(in srgb, var(--ember) 45%, var(--line));
  box-shadow: 0 10px 26px rgba(0,0,0,0.10); }
.child-card--feature .child-thumb { aspect-ratio: 16/11; position: relative; }
.child-card--feature .child-title { font-size: 1.16rem; }
.child-badge { position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--ember); color: #fff; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.28); }

/* ---- Interactive snow canvas (cursor acts like wind) ---- */
.snow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---- SVG sector icons + Activities dropdown divider ---- */
.mega-ico svg { width: 22px; height: 22px; display: block; }
.site-header.menu-open .mega-ico { color: var(--ember); }   /* icons pop in the drawer */
.mega-sep { grid-column: 1 / -1; height: 1px; background: var(--line); margin: 7px 2px; border: 0; }

/* drawer: the ACTIVE section header must read dark like the others (not white) */
.site-header.menu-open .mega-nav .mega-item.is-active > .mega-top { color: var(--ink); background: transparent; }

/* ---- Header Shop button (bag icon + "Shop"), between search and Book ---- */
.shop-btn { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; text-decoration: none;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; border: 0;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.92);
  font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.01em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-fast), color var(--t-fast); }
.shop-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.shop-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }
.site-header.is-scrolled .shop-btn { background: var(--snow-2); color: var(--ink-soft); }
.site-header.is-scrolled .shop-btn:hover { background: var(--navy-soft); color: var(--navy); }

/* Shop button: highlighted black pill, white text (overrides frosted style) */
.shop-btn, .site-header.is-scrolled .shop-btn { background: var(--ink); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.22); }
.shop-btn:hover, .site-header.is-scrolled .shop-btn:hover { background: #000; color: #fff; }

/* The per-item icon rail and the "Other activities" collapse that used to live
   here were dropped when the header became a full three-level mega-menu: no
   .mega-li-ico / .mega-more-toggle is emitted any more, and the old
   `content: none` override was silently killing the ember feature chevron. */

/* ============================================================================
   Weather / Aurora / Daylight page  (/weather/)  — Hetta palette
   ========================================================================== */
.wx-page { overflow: hidden; }
.wx-hero {
  position: relative;
  background:
    radial-gradient(1100px 360px at 72% 8%, rgba(123,216,166,.28), transparent 62%),
    radial-gradient(820px 320px at 12% 0%, rgba(155,126,189,.24), transparent 60%),
    linear-gradient(180deg, rgba(8,24,58,.62) 0%, rgba(13,44,96,.58) 50%, rgba(20,52,104,.80) 100%),
    url(../img/hero-pool/aurora/aurora-2.jpg) center 38% / cover no-repeat;
  color: #fff; padding: 8.5rem 0 3.6rem; text-align: center;
}
.wx-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); margin: .2rem 0 .6rem; line-height: 1.05; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.wx-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--aurora-green); margin: 0; }
.wx-lede { max-width: 720px; margin: 0 auto; color: #D7E1F2; line-height: 1.65; font-size: 1.02rem; }
/* --sm ledes sit on LIGHT sections — override the hero's pale colour so they stay dark & readable */
.wx-lede--sm { font-size: .95rem; margin-bottom: 1.6rem; color: var(--ink-soft); }
.wx-hero .wx-lede em { color: var(--aurora-green); font-style: italic; }

.wx-section { padding: 3.4rem 0; }
.wx-section--alt { background: var(--snow-2); }
.wx-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; color: var(--ink); margin: 0 0 1.6rem; }
.wx-h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); margin: 2.4rem 0 1rem; text-align: center; }
.wx-h3 span { color: var(--ink-mute); font-weight: 400; }
.wx-stamp { text-align: center; color: var(--ink-mute); font-size: .8rem; margin: 1rem 0 0; }

/* ---- aurora verdict band ---- */
.wx-verdict { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 1.7rem 1.8rem; text-align: center;
  max-width: 820px; margin: 0 auto 1.8rem; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
.wx-verdict-glow { position: absolute; inset: 0; opacity: .9; pointer-events: none;
  background: radial-gradient(600px 120px at 50% -20%, var(--g, rgba(91,154,184,.18)), transparent 70%); }
.wx-verdict-title { position: relative; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.6rem); color: var(--ink); margin: 0 0 .4rem; }
.wx-verdict-sub { position: relative; color: var(--ink-soft); line-height: 1.55; margin: 0 auto; max-width: 620px; font-size: .98rem; }
.wx-verdict-dark { position: relative; color: var(--ink-mute); font-size: .82rem; margin: .7rem 0 0; }
.wx-verdict.is-high { --g: rgba(72,175,14,.30); border-color: rgba(72,175,14,.45); }
.wx-verdict.is-high .wx-verdict-title { color: #2C8C66; }
.wx-verdict.is-good { --g: rgba(123,216,166,.32); border-color: rgba(123,216,166,.55); }
.wx-verdict.is-good .wx-verdict-title { color: #2C8C66; }
.wx-verdict.is-mod  { --g: rgba(91,154,184,.28); border-color: rgba(91,154,184,.45); }
.wx-verdict.is-mod  .wx-verdict-title { color: var(--frost-deep); }
.wx-verdict.is-low  { --g: rgba(155,126,189,.20); }
.wx-verdict.is-low  .wx-verdict-title { color: var(--aurora-purple); }
.wx-verdict.is-off  { --g: rgba(59, 30, 94,.20); border-color: var(--ember-soft); }
.wx-verdict.is-off  .wx-verdict-title { color: var(--ember-deep); }

/* ---- stat cards ---- */
.wx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; }
.wx-cards--3 { max-width: 760px; }
.wx-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.1rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.wx-card--hero { background: linear-gradient(180deg, #fff 0%, #F2F7FC 100%); }
.wx-card-label { text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; font-weight: 700; color: var(--ink-mute); }
.wx-card-val { font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: 1.05; color: var(--navy); margin: .25rem 0 0; }
.wx-card--sm .wx-card-val { font-size: 1.7rem; }
.wx-unit { font-size: .8rem; color: var(--ink-mute); font-weight: 600; margin-top: -.15rem; }
.wx-card-foot { font-size: .78rem; color: var(--ink-mute); line-height: 1.45; margin-top: .55rem; }
.wx-meter { height: 7px; border-radius: 99px; background: var(--line); overflow: hidden; margin: .55rem 0 .2rem; }
.wx-meter > span { display: block; height: 100%; width: 4%; border-radius: 99px;
  background: linear-gradient(90deg, var(--frost) 0%, var(--aurora-green) 55%, var(--green) 100%); transition: width .9s cubic-bezier(.2,.7,.3,1); }

/* ---- conditions + daylight ---- */
.wx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; max-width: 900px; margin: 0 auto; }
.wx-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.wx-cond-head { display: flex; align-items: center; gap: 1rem; }
.wx-cond-icon { font-size: 3rem; line-height: 1; }
.wx-temp-big { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--navy); display: block; line-height: 1; }
.wx-cond-sky { color: var(--ink-mute); font-weight: 600; }
.wx-cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; margin: 1.3rem 0 0; }
.wx-cond-grid dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 700; }
.wx-cond-grid dd { margin: .1rem 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); }

.wx-day { display: flex; align-items: center; gap: 1.4rem; }
.wx-day-ring { --day-pct: 0; flex: 0 0 110px; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--ember) calc(var(--day-pct) * 1%), #1b2a44 0);
  position: relative; }
.wx-day-ring::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.wx-day-sun { position: relative; z-index: 1; font-size: 1.6rem; }
.wx-day-info { flex: 1; }
.wx-day-state { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); display: block; margin: .15rem 0 .1rem; }
.wx-day-len { color: var(--ink-mute); font-size: .9rem; }
.wx-day-times { display: flex; gap: 1.5rem; margin: .8rem 0 .2rem; }
.wx-day-times span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); font-weight: 700; }
.wx-day-times b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
.wx-day-note { font-size: .82rem; color: var(--ink-mute); line-height: 1.5; margin: .5rem 0 0; }

.wx-pack { max-width: 900px; margin: 1.3rem auto 0; background: #FFF4E0; border: 1px solid var(--ember-soft); border-radius: var(--radius);
  padding: .9rem 1.2rem; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.wx-pack strong { color: var(--ember-deep); }

/* ---- forecast ---- */
.wx-forecast { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; max-width: 900px; margin: 0 auto; }
.wx-fc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem .6rem; text-align: center; box-shadow: var(--shadow-sm); }
.wx-fc-day { display: block; text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; font-weight: 700; color: var(--navy); }
.wx-fc-icon { display: block; font-size: 1.7rem; margin: .35rem 0; }
.wx-fc-sky { display: block; font-size: .72rem; color: var(--ink-mute); min-height: 2.1em; line-height: 1.05; }
.wx-fc-temp { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: .35rem; }
.wx-fc-temp b { color: var(--ink); }

/* ---- webcams ---- */
.wx-cams { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; max-width: 980px; margin: 0 auto; }
.wx-cam { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b1a30; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 10; }
.wx-cam img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wx-cam figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem; color: #fff;
  background: linear-gradient(0deg, rgba(4,12,26,.82) 0%, rgba(4,12,26,0) 100%); display: flex; flex-direction: column; }
.wx-cam figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.wx-cam figcaption span { font-size: .76rem; opacity: .82; }
.wx-cam-down { position: absolute; inset: 0; display: none; place-items: center; color: #9fb0c7; font-size: .85rem; background: #0b1a30; }
.wx-cam.is-down .wx-cam-down { display: grid; }
.wx-cam.is-down img { opacity: 0; }

/* ---- map ---- */
.wx-map { max-width: 980px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.wx-map iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---- calendar table ---- */
.wx-table-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.wx-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.wx-table th, .wx-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.wx-table thead th { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.wx-table tbody tr:last-child td { border-bottom: 0; }
.wx-table td:first-child { color: var(--navy); white-space: nowrap; }
.wx-table tr.is-peak { background: rgba(123,216,166,.12); }
.wx-table tr.is-off { background: rgba(59, 30, 94,.10); color: var(--ink-mute); }
.wx-fineprint { max-width: 900px; margin: 1.2rem auto 0; text-align: center; font-size: .76rem; color: var(--ink-mute); line-height: 1.6; }
.wx-fineprint a { color: var(--frost-deep); }

/* ---- CTA ---- */
.wx-cta { padding: 3.6rem 0; text-align: center; color: #fff;
  background: radial-gradient(900px 320px at 50% -10%, rgba(123,216,166,.20), transparent 62%), linear-gradient(165deg, #2C5F7C 0%, #244e74 55%, #1d3f66 100%); }
.wx-cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin: 0 0 .6rem; }
.wx-cta p { max-width: 620px; margin: 0 auto 1.4rem; color: #D7E1F2; line-height: 1.6; }
.wx-cta-btns { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 760px) {
  .wx-cards, .wx-cards--3 { grid-template-columns: 1fr; }
  .wx-grid2 { grid-template-columns: 1fr; }
  .wx-forecast { grid-template-columns: repeat(2, 1fr); }
  .wx-cams { grid-template-columns: 1fr; }
  .wx-day { flex-direction: column; text-align: center; }
  .wx-day-times { justify-content: center; }
  .wx-hero { padding: 6rem 0 2.4rem; }
}
@media (prefers-reduced-motion: reduce) { .wx-meter > span { transition: none; } }

/* ============================================================================
   "Find your safari" matchmaker  (#hhMatch — homepage #match + /find-your-safari/)
   ========================================================================== */
.hm-shell { max-width: 760px; margin: 0 auto; }
#hhMatch { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 2rem 1.8rem 1.8rem; min-height: 360px; }

/* progress */
.hm-prog { display: flex; gap: .4rem; justify-content: center; margin: 0 0 1.2rem; }
.hm-dot { width: 28px; height: 5px; border-radius: 99px; background: var(--line); transition: background var(--t-base); }
.hm-dot.is-done { background: var(--aurora-green); }
.hm-dot.is-now { background: var(--navy); }

.hm-step { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 700; color: var(--ember-deep); margin: 0; }
.hm-qtitle { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.8rem); text-align: center; color: var(--ink); margin: .35rem 0 .2rem; line-height: 1.15; }
.hm-help { text-align: center; color: var(--ink-mute); font-size: .9rem; margin: 0 auto 1.3rem; max-width: 460px; }

/* option tiles */
.hm-opts { display: grid; gap: .7rem; margin: 1.2rem 0 .4rem; }
.hm-opts--2 { grid-template-columns: repeat(2, 1fr); }
.hm-opts--3, .hm-opts--4 { grid-template-columns: repeat(2, 1fr); }
.hm-opt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem;
  background: var(--snow-2); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1.1rem .9rem;
  cursor: pointer; transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast); font: inherit; }
.hm-opt:hover { transform: translateY(-2px); border-color: var(--frost); background: #fff; box-shadow: var(--shadow-sm); }
.hm-opt:focus-visible { outline: 3px solid var(--frost); outline-offset: 2px; }
.hm-opt.is-sel { border-color: var(--navy); background: var(--navy-soft); box-shadow: 0 0 0 3px rgba(0,48,130,.12); }
.hm-opt-icon { font-size: 1.9rem; line-height: 1; }
.hm-opt-label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.hm-opt-sub { font-size: .78rem; color: var(--ink-mute); line-height: 1.3; }

.hm-nav { display: flex; justify-content: flex-start; margin-top: 1.1rem; min-height: 2rem; }

/* result */
.hm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hm-fallback { text-align: center; padding: 2rem 0; }
.hm-result-title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-align: center; color: var(--ink-mute); margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .12em; outline: none; }
.hm-result { animation: hmIn var(--t-slow) both; }
@keyframes hmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hm-card { display: flex; gap: 1.1rem; align-items: stretch; text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; transition: transform var(--t-fast), box-shadow var(--t-fast); background: #fff; }
.hm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hm-card-icon { flex: 0 0 84px; display: grid; place-items: center; font-size: 2.6rem;
  background: linear-gradient(160deg, var(--accent, var(--navy)) 0%, color-mix(in srgb, var(--accent, var(--navy)) 62%, #000) 100%); color: #fff; }
.hm-card-body { padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.hm-card--primary { border-color: color-mix(in srgb, var(--accent, var(--navy)) 45%, var(--line)); box-shadow: var(--shadow-md); }
.hm-card--primary .hm-card-icon { flex-basis: 104px; font-size: 3.2rem; }
.hm-card-tag { text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; font-weight: 800; color: color-mix(in srgb, var(--accent, var(--navy)) 78%, #000); }
.hm-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.hm-card--primary .hm-card-name { font-size: 1.55rem; }
.hm-card-blurb { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; }
.hm-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .35rem; }
.hm-chip { font-size: .72rem; font-weight: 600; color: var(--frost-deep); background: var(--navy-soft); border-radius: 99px; padding: .2rem .6rem; }
.hm-card-cta { margin-top: .5rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: color-mix(in srgb, var(--accent, var(--navy)) 78%, #000); }

.hm-alt-lead { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 700; color: var(--ink-mute); margin: 1.5rem 0 .7rem; }
.hm-alts { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.hm-alts .hm-card-icon { flex-basis: 64px; font-size: 2rem; }
.hm-alts .hm-card-name { font-size: 1.05rem; }
.hm-alts .hm-card-blurb { font-size: .82rem; }
.hm-foot { display: flex; gap: .7rem; justify-content: center; margin-top: 1.6rem; flex-wrap: wrap; }

/* per-theme accent */
.hm-theme-aurora { --accent: #6E5AA6; }
.hm-theme-dogsledding { --accent: #003082; }
.hm-theme-meet-dogs { --accent: #2C8C66; }
.hm-theme-wilderness { --accent: #2C5F7C; }
.hm-theme-multiday-expedition { --accent: #001E54; }
.hm-theme-family { --accent: #26123D; }
.hm-theme-learning { --accent: #5B6FB8; }
.hm-theme-water { --accent: #2C7C8C; }
.hm-theme-biking { --accent: #26123D; }
.hm-theme-snowmobile { --accent: #5B9AB8; }
.hm-theme-hiking { --accent: #48AF0E; }
.hm-theme-culture { --accent: #99173C; }
.hm-theme-skiing { --accent: #2C5F7C; }
.hm-theme-relaxation { --accent: #2C8C66; }
.hm-theme-adrenaline { --accent: #99173C; }
.hm-theme-photography { --accent: #6E5AA6; }
.hm-theme-summer-light { --accent: #3B1E5E; }

@media (max-width: 560px) {
  .hm-opts--3, .hm-opts--4 { grid-template-columns: 1fr; }
  .hm-alts { grid-template-columns: 1fr; }
  .hm-card-icon { flex-basis: 64px; font-size: 2rem; }
  .hm-card--primary .hm-card-icon { flex-basis: 72px; font-size: 2.4rem; }
  #hhMatch { padding: 1.5rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .hm-result { animation: none; } .hm-opt:hover, .hm-card:hover { transform: none; } }

/* ============================================================================
   ADOPTION CASE STUDY  (/adopt-or-sponsor/previously-adopted/, Selje)
   A featured story at the top of the page; the other adoptees keep their card
   grid far below it. The collage is count-agnostic — build.py emits whatever
   photos are in assets/img/selje/, so this must look right at 2 tiles or 12.
   ========================================================================== */
.case-study {
  /* linked to as #selje from the menu, and the header is fixed over the top */
  scroll-margin-top: 104px;
  margin: 2.4rem 0 3rem; padding: 26px 26px 30px;
  background: var(--snow); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.cs-head { margin-bottom: 20px; }
.cs-title {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ink); margin: 0.2rem 0 0.5rem;
}
.cs-sub { margin: 0; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.6; max-width: 62ch; }

.cs-body { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 26px; align-items: start; }
@media (max-width: 860px) { .cs-body { grid-template-columns: 1fr; } }

.cs-lead { margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--snow-2); }
.cs-lead img { display: block; width: 100%; height: auto; }

.cs-text { display: grid; gap: 22px; align-content: start; }
/* No tinted box and no coloured rule down the left: the quote carries itself on
   type alone, which is what a pull quote is supposed to do. */
.cs-quote { margin: 0; padding: 0; border: 0; background: none; }
.cs-quote p {
  margin: 0; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.7;
  color: var(--ink); font-style: italic; letter-spacing: -0.005em;
}
.cs-quote footer { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cs-cite { font-family: var(--font-body); font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.cs-cite-where { color: var(--ink-mute); font-size: 0.84rem; }
.cs-note { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: 0.98rem; }

.cs-collage-head { margin: 28px 0 12px; }
.cs-collage-head h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  color: var(--ink); margin: 0 0 4px;
}
.cs-collage-head p { margin: 0; color: var(--ink-mute); font-size: 0.9rem; }
.cs-collage { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.cs-tile {
  display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--snow-2); box-shadow: var(--shadow-sm);
}
.cs-tile img { display: block; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-base); }
.cs-tile:hover img, .cs-tile:focus-visible img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .cs-tile img { transition: none; } }
@media (max-width: 560px) { .cs-collage { grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); } }

/* ============================================================================
   PRODUCT SPEC CARDS — what it costs and what you get, in cells not paragraphs.
   A safari page used to bury its distance, duration and three prices inside
   ~150 words of prose per product.
   ========================================================================== */
.prod-shared {
  margin: 1.8rem 0 2rem; padding: 18px 20px 16px;
  background: var(--navy-soft); border-radius: var(--radius);
  border-left: 0;
}
.prod-shared h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--navy); margin: 0 0 .6rem; }
.prod-shared ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.prod-shared li { position: relative; padding-left: 20px; color: var(--ink-soft);
  font-size: .93rem; line-height: 1.5; }
.prod-shared li::before { content: "\2713"; position: absolute; left: 2px; top: 0;
  color: var(--green); font-weight: 700; }

.prod-grid { display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(14px, 2vw, 22px); margin: 1.6rem 0 2.4rem; }
/* a single product centres at reading width instead of stretching to fill */
.prod-grid > .prod:only-child { max-width: 620px; margin-inline: auto; width: 100%; }
.prod { background: var(--snow); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; }
/* Every header is the same shape - a two-line title box with the badge under it
   - so the stat rows, price cells and includes lists line up across cards
   whatever the name length. Left to itself the header ranged 74px to 115px and
   knocked side-by-side cards out of register. */
.prod-head { display: grid; gap: 9px; justify-items: start; align-content: start;
  padding: clamp(13px, 2vw, 16px) clamp(14px, 2.4vw, 20px) clamp(12px, 2vw, 15px);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; }
.prod-name { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.08rem, 0.9rem + 0.8vw, 1.28rem);
  line-height: 1.18; margin: 0; color: #fff; min-height: 2.36em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-grid > .prod:only-child .prod-name { min-height: 0; -webkit-line-clamp: unset; display: block; }
.prod-from { font-family: var(--font-body); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  /* sits on the navy card header, so it inverts: a dark purple pill on navy is
     two darks and reads as a smudge */
  background: var(--ember-soft); color: var(--ember-deep);
  border-radius: 999px; padding: 4px 11px; }

/* the three numbers someone actually scans for */
.prod-stats { display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(96px, 100%), 1fr)); gap: 1px;
  background: var(--line); border-bottom: 1px solid var(--line); }
.prod-stat { background: var(--snow-2); padding: clamp(10px, 1.6vw, 12px) 10px;
  text-align: center; min-width: 0; }
.prod-stat-k { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 3px; }
.prod-stat-v { display: block; font-family: var(--font-display); font-weight: 700;
  font-size: .95rem; color: var(--navy); line-height: 1.15; text-wrap: balance; }

/* the rows block absorbs the slack, so the price cells and the includes list
   line up across cards of different length instead of leaving a hole */
.prod-rows { display: grid; gap: 0; padding: 4px clamp(14px, 2.4vw, 20px); align-content: start;
  flex: 1 1 auto; }
.prod-row { display: grid;
  grid-template-columns: minmax(86px, max-content) minmax(0, 1fr);
  gap: clamp(8px, 1.6vw, 14px);
  padding: 11px 0; border-bottom: 1px solid var(--line); align-items: start; }
.prod-row-k { max-width: 140px; }
.prod-rows > .prod-row:last-child { border-bottom: 0; }
.prod-row-k { font-size: .68rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-mute); padding-top: 2px; }
.prod-row-v { font-size: .92rem; line-height: 1.5; color: var(--ink-soft); }

.prod-prices { display: grid; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); }
.prod-price { display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 11px clamp(14px, 2.4vw, 20px); background: var(--snow); }
.prod-price-k { font-size: .9rem; color: var(--ink-soft); }
.prod-price-v { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); white-space: nowrap; }
.prod-price.is-lead { background: var(--ember-soft); }
.prod-price.is-lead .prod-price-k { color: var(--ink); font-weight: 600; }
.prod-price.is-lead .prod-price-v { font-size: 1.22rem; }

.prod-inc { padding: 16px clamp(14px, 2.4vw, 20px) 20px; }
.prod-inc h4 { font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0 0 .5rem; }
.prod-inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.prod-inc li { position: relative; padding-left: 20px; font-size: .9rem;
  color: var(--ink-soft); line-height: 1.45; }
.prod-inc li::before { content: "\2713"; position: absolute; left: 2px; top: 0;
  color: var(--green); font-weight: 700; }
@media (max-width: 430px) { .prod-row { grid-template-columns: 1fr; gap: 2px; }
  .prod-row-k { max-width: none; } }

/* Divider inside a sub-menu: everything below it is reference material — FAQs,
   tips, downloadable instructions — rather than something you book. */
.mega-sub-sep {
  display: block; margin: 6px 10px 3px; padding-top: 7px;
  border-top: 1px solid var(--line);
  font-size: .62rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-mute);
}
.mega-sub a.is-ref { color: var(--ink-mute); }

/* A page whose point is a file leads with that file — one button per language. */
.dl { margin: 1.6rem 0 2rem; padding: 18px 20px 20px;
  background: linear-gradient(115deg, var(--purple-dark), var(--purple-darker));
  color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.dl-head { display: flex; align-items: center; gap: 16px; }
.dl-ico { flex: 0 0 auto; width: 42px; height: 42px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(255,255,255,0.14); }
.dl-ico svg { width: 22px; height: 22px; }
.dl-body { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.dl-label { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.dl-meta { font-size: .84rem; color: #C9D8F0; }
.dl-langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
  gap: 9px; margin-top: 16px; }
/* the block is a gradient, so a flat translucent white reads differently at each
   end of it — this needs enough body to sit on the light purple too */
.dl-lang { display: grid; gap: 1px; justify-items: center; text-decoration: none;
  padding: 10px 8px; border-radius: var(--radius-sm);
  background: rgba(4,18,44,0.34); border: 1px solid rgba(255,255,255,0.22); color: #fff;
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast); }
.dl-lang:hover { background: var(--ember); border-color: var(--ember); transform: translateY(-2px); }
.dl-lang-t { display: flex; align-items: center; gap: 7px; }
.dl-flag { flex: 0 0 auto; width: 20px; height: 13px; border-radius: 2px; overflow: hidden;
  display: block; box-shadow: 0 0 0 1px rgba(255,255,255,0.35); }
.dl-flag svg { display: block; width: 100%; height: 100%; }
.dl-lang-n { font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  white-space: nowrap; }
.dl-lang-m { font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #BFD0EA; }
.dl-lang:hover .dl-lang-m { color: #fff; }

/* The four husky-safari sub-menus, boxed — at every width, not just the drawer.
   On desktop the panel is a five-column grid, so the box claims a full row of it
   and lays its own four out inside; everything else flows on below. */
/* The box must not shift the four items out of the panel's own columns. It
   bleeds outward by exactly its border + padding (2 + 12), so its CONTENT box is
   the same width as the grid around it, and it repeats that grid's column and
   gap definition — so Day Safaris sits over Husky Hiking, Multi-Day over Autumn
   Training, and so on down the panel. */
.mega-flagships {
  grid-column: 1 / -1;
  display: grid; gap: 2px 22px;
  align-items: start;
  border: 2px solid var(--purple-dark);
  /* nested radius = the panel's radius minus the 9px gap around this box; using
     the panel's full radius here made it read as a bubble inside a bubble */
  border-radius: 7px;
  background: rgba(59, 30, 94, 0.05);
  /* -14px = the box's own 12px padding plus its 2px border, so the labels
     inside it land on the same left edge as the columns below */
  padding: 8px 12px; margin: 0 -14px 12px;
}
/* the highlight box takes the same column template as the panel it sits in,
   so the two grids stay in register */
.mega-panel--1 .mega-flagships { grid-template-columns: minmax(206px, 1fr); }
.mega-panel--2 .mega-flagships { grid-template-columns: repeat(2, minmax(192px, 1fr)); }
.mega-panel--3 .mega-flagships { grid-template-columns: repeat(3, minmax(186px, 1fr)); }
.mega-panel--4 .mega-flagships { grid-template-columns: repeat(4, minmax(184px, 1fr)); }
.mega-flagships .mega-col-h { color: var(--purple-dark); }
.mega-flagships .mega-col.is-open > .mega-col-h { background: rgba(59, 30, 94, 0.1); }
/* follow the panel's own step-down so the columns stay in register */
@media (max-width: 1380px) {
  .mega-panel--4 .mega-flagships { grid-template-columns: repeat(3, minmax(184px, 1fr)); }
}
@media (max-width: 1280px) {
  /* same idea in the drawer: bleed by the border so the boxed rows sit on the
     same left edge as the unboxed ones below */
  .site-header.menu-open .mega-flagships {
    display: block; width: auto; padding: 4px 0; margin: 2px -2px 8px;
  }
  .site-header.menu-open .mega-flagships > .mega-col > .mega-col-h { padding-left: 8px; }
  .site-header.menu-open .mega-flagships .mega-col { border-bottom: 0; }
  .site-header.menu-open .mega-flagships > .mega-col + .mega-col {
    border-top: 1px solid rgba(59, 30, 94, 0.14);
  }
}

/* same inversion inside the two dark panels that pages.css owns */
.cta-card .btn-primary, .dl .btn-primary {
  background: #fff; color: var(--ember); box-shadow: 0 6px 18px rgba(0,0,0,.28);
}
.cta-card .btn-primary:hover, .dl .btn-primary:hover {
  background: var(--ember-soft); color: var(--ember-deep);
}
.dl-lang:hover { background: #fff; border-color: #fff; }
.dl-lang:hover .dl-lang-n { color: var(--ember); }
.dl-lang:hover .dl-lang-m { color: var(--ember-deep); }


/* ============================================================================
   EDITORIAL PAGE TEMPLATE - brochure treatment for the generated pages: taller
   hero, serif display title, italic serif standfirst, caps-micro breadcrumb,
   numbered sections, hairline spec table, de-boxed cards.
   ========================================================================== */
.page-hero { min-height: 54vh; }
.page-hero-overlay {
  background: linear-gradient(180deg, rgba(0,30,84,.10) 0%, rgba(0,30,84,.28) 42%, rgba(8,8,12,.82) 100%);
}
.page-hero-inner { padding: 56px 24px 52px; }
.page-title {
  font-weight: 550; letter-spacing: -0.015em; line-height: 1.02;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem); max-width: 18ch;
}
.page-sum {
  font-family: var(--font-serif); font-style: italic; font-weight: 420;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6;
  max-width: 58ch; margin-top: .8em; color: rgba(255,255,255,.94);
}
.breadcrumb {
  font-family: var(--font-ui); font-size: .66rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78);
}
.breadcrumb span:last-child { font-weight: 700; }

/* Section rhythm: air + a numbered caps eyebrow (only when there are several) */
.page-main { counter-reset: prose-sec; }
.prose { margin-top: 3rem; }
.prose h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem); font-weight: 560;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 .65em;
}
.page-main.has-sections .prose h2::before {
  counter-increment: prose-sec;
  content: counter(prose-sec, decimal-leading-zero);
  display: block; font-family: var(--font-ui); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; color: var(--ember); margin-bottom: 12px;
}
.page-main .lead p:first-child {
  font-size: 1.26rem; line-height: 1.65; color: var(--ink);
}

/* The facts card becomes a hairline spec sheet */
.facts { background: transparent; border: 0; border-radius: 0;
  border-top: 2px solid var(--ink); padding: 16px 2px 0; }
.facts .fact { border-bottom: 1px solid var(--line); padding: 9px 0; }
.facts dt { font-family: var(--font-ui); font-weight: 700; font-size: .64rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.facts dd { font-family: var(--font-display); font-weight: 540; font-size: 1.02rem; }

/* Child cards lose the box; the photograph carries them */
.child-card { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
.child-card:hover { transform: none; box-shadow: none; }
.child-thumb { border-radius: var(--radius); overflow: hidden; }
.child-body { padding: 14px 2px 4px; }
.child-title { font-size: 1.3rem; font-weight: 560; letter-spacing: -0.01em; }
.child-card:hover .child-title { color: var(--ember); }
.child-more-n { background: transparent; padding: 0; border-radius: 0;
  font-family: var(--font-ui); font-weight: 700; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.child-card:hover .child-more-n { background: transparent; color: var(--ink-mute); }
.child-card--feature { border: 0; }
.child-card--feature .child-title { font-size: 1.5rem; }

/* Hub group headings follow the editorial voice */
.hub-group-title { font-weight: 560; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }

/* CTA panel: same dark purple, calmer frame */
.cta-card h3 { font-size: 1.6rem; font-weight: 550; letter-spacing: -0.01em; }

/* Spec-card names in the serif, same two-line register */
.prod-name { line-height: 1.14; }

/* Reveal-on-scroll for the generated pages (classes come from main.js) */
@media (prefers-reduced-motion: no-preference) {
  .pg-reveal { opacity: 0; transform: translateY(16px);
    transition: opacity .65s ease var(--rd, 0ms), transform .65s ease var(--rd, 0ms); }
  .pg-reveal.is-visible { opacity: 1; transform: none; }
}


/* ============================================================================
   SCENES - every content page is a mini one-pager: full-height centred hero,
   stat band, centred narrative scenes on alternating washes, centred card
   grids, and a full-bleed closing band instead of a sidebar.
   ========================================================================== */
.page-flow {
  background: url("../img/contours-ink.svg?v=2") 0 0 / 1080px auto repeat var(--snow);
  counter-reset: prose-sec;
}
.scene { padding: clamp(52px, 7.5vw, 92px) 0; }
.scene-col { max-width: 720px; margin: 0 auto; }
.scene--wash {
  background: url("../img/contours-ink.svg?v=2") 0 0 / 1080px auto repeat,
              var(--aurora-wash);
}

/* hero: centred composition, taller, breadcrumb as the eyebrow */
.page-hero { align-items: center; text-align: center; min-height: 64vh; }
.page-hero--tall { min-height: 78vh; }
.page-hero-inner { display: grid; justify-items: center; padding: 130px 24px 72px; }
.breadcrumb { justify-content: center; }
.page-title { max-width: 24ch; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: .3em; }
.page-sum { margin-left: auto; margin-right: auto; }

/* the lead reads as a centred standfirst under the hero */
.scene-lead { padding-bottom: clamp(28px, 4vw, 48px); }
.scene-lead .lead p { font-size: clamp(1.18rem, 1.8vw, 1.42rem); line-height: 1.68;
  color: var(--ink); text-align: center; margin: 0 0 1em; }
.scene-lead .lead p:last-child { margin-bottom: 0; }

/* narrative scenes: centred serif heading, numbered when there are several */
.scene-prose h2 { text-align: center;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 560;
  letter-spacing: -0.01em; color: var(--ink); margin: 0 0 .8em; }
.sec-num {
  display: block; font-family: var(--font-ui); font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; color: var(--ember); margin-bottom: 14px;
}
.scene-prose .sec-num { text-align: center; }
.scene-prose p { color: var(--ink-soft); line-height: 1.75; margin: 0 0 1.1em; }
.scene-prose p:last-child { margin-bottom: 0; }

/* highlights sit in the narrow column */
.scene-hl { padding-top: 0; }
.scene-hl .highlights { margin: 0; }

/* stat band: the page's hard facts as display numerals under the hero */
.statband {
  background: url("../img/contours-ink.svg?v=2") 50% 0 / 1080px auto repeat var(--snow);
  border-bottom: 1px solid var(--line); padding: 36px 0;
}
.statband-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px 18px; text-align: center; }
.stat-v { display: block; font-family: var(--font-display); font-weight: 540;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem); line-height: 1.15; color: var(--ink);
  text-wrap: balance; }
.stat-k { display: block; font-family: var(--font-ui); font-size: .63rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 7px; }

/* spec sheet for the longer facts */
.scene-spec h2 { text-align: center; font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 560; margin: 0 0 1em; }
.scene-spec .facts { max-width: 620px; margin: 0 auto; border-top: 2px solid var(--ink);
  padding-top: 14px; }

/* the closing band replaces the sidebar CTA card */
.cta-band { background:
    radial-gradient(120% 160% at 85% -20%, rgba(127,216,166,.18), transparent 55%),
    url("../img/contours-snow.svg?v=2") 0 0 / 1150px auto repeat,
    linear-gradient(135deg, var(--purple-dark), var(--purple-darker));
  color: #fff; text-align: center; padding: clamp(64px, 9vw, 112px) 24px; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 550;
  letter-spacing: -0.01em; max-width: 26ch; margin: 0 auto .4em; }
.cta-band p { color: rgba(255,255,255,.85); font-family: var(--font-serif);
  font-style: italic; font-weight: 420; font-size: 1.1rem; line-height: 1.6;
  max-width: 56ch; margin: 0 auto 1.8em; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--purple-dark); border-color: #fff; }
.cta-band .btn-primary:hover { background: var(--ember-soft); color: var(--purple-darker); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* card-grid and hub scenes centre their headers; grids stay wide */
.scene-kids .section-head, .scene-hub .section-head { text-align: center; }
.scene-kids .child-grid { margin-top: 1.6rem; }
.scene-gallery .gallery { margin: 0; }

@media (max-width: 700px) {
  .page-hero { min-height: 56vh; }
  .page-hero--tall { min-height: 64vh; }
  .page-hero-inner { padding: 110px 18px 48px; }
  .statband-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* an odd stat count centres its last cell instead of leaving a hole */
  .statband-grid > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* hub groups take the centred scene voice too (the head is a flex row) */
.hub-group-head { justify-content: center; text-align: center; }


/* Basecamp-style dashed route linking a hub's groups; decorative only */
.hub-group + .hub-group { position: relative; padding-top: 96px; }
.hub-group + .hub-group::before {
  content: ""; position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%); width: 160px; height: 80px;
  background: url("../img/route-dash.svg?v=1") center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 900px) { .hub-group + .hub-group::before { content: none; }
  .hub-group + .hub-group { padding-top: 40px; } }

/* ============================================================================
   STICKY PAGE SUB-NAV - Swoop's spine: a long page carries its own section
   bar that docks under the site header once the hero scrolls away.
   ========================================================================== */
.page-toc {
  position: sticky; top: 70px; z-index: 40;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.page-toc-inner { display: flex; align-items: center; gap: 18px; }
.page-toc-links {
  display: flex; align-items: center; gap: 4px; flex: 1 1 auto;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.page-toc-links::-webkit-scrollbar { display: none; }
.page-toc-links a {
  flex: 0 0 auto; padding: 15px 12px 13px;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.page-toc-links a:hover { color: var(--ink); }
.page-toc-links a.is-active { color: var(--purple-dark); border-bottom-color: var(--purple-dark); }
.page-toc-cta { flex: 0 0 auto; padding: 8px 18px; font-size: .82rem; margin: 6px 0; }
/* anchored scenes stop below the fixed header + this bar */
.scene[id], .hub-group[id], .cta-band[id] { scroll-margin-top: 132px; }
@media (max-width: 700px) {
  .page-toc { top: 68px; }
  .page-toc-cta { display: none; }  /* Book lives in the header/drawer on mobile */
  .scene[id], .hub-group[id] { scroll-margin-top: 122px; }
}

/* ============================================================================
   DISCLOSURE SECTIONS - dense reference pages fold sections 2..n into clean
   accordions: hairline rows, serif summary, the same › affordance as the menu.
   ========================================================================== */
.scene-acc { padding-top: 0; }
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc > summary {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc-num {
  flex: 0 0 auto; font-family: var(--font-ui); font-size: .66rem; font-weight: 700;
  letter-spacing: .18em; color: var(--ember);
}
.acc-h {
  flex: 1 1 auto; margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 560; letter-spacing: -0.005em; color: var(--ink); text-align: left;
}
.acc-ch {
  flex: 0 0 auto; align-self: center; color: var(--ink-mute);
  font-size: 1.2rem; line-height: 1;
  transition: transform var(--t-fast), color var(--t-fast);
}
.acc[open] > summary .acc-ch { transform: rotate(90deg); color: var(--ember); }
.acc > summary:hover .acc-h { color: var(--ember); }
.acc[open] { background: var(--aurora-wash); }
.acc[open] > summary { padding-bottom: 10px; }
.acc-body { padding: 0 4px 24px 44px; }
.acc-body p { color: var(--ink-soft); line-height: 1.75; margin: 0 0 1em; }
.acc-body p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .acc-body { padding-left: 4px; } }

/* the spec sheet's collapsed tail */
.facts-more > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; cursor: pointer; list-style: none;
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--purple-dark);
}
.facts-more > summary::-webkit-details-marker { display: none; }
.facts-more[open] > summary .acc-ch { transform: rotate(90deg); }

/* print: everything open, plain */
@media print {
  .acc, .acc[open] { background: transparent; }
  .page-toc { display: none; }
}


/* ============================================================================
   SHORT-SECTION LAYOUTS - a run of short, headed sections becomes layout:
   alternating image-and-text split rows (the page's own photographs), or a
   numbered chapter grid when the page has none.
   ========================================================================== */
.scene-split { padding: clamp(36px, 5vw, 64px) 0; }
.split-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px); align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-split--rev .split-media { order: 2; }
.split-body h2 {
  text-align: left; font-size: clamp(1.6rem, 2.5vw, 2.15rem); font-weight: 560;
  letter-spacing: -0.01em; margin: 0 0 .55em;
}
.split-body p { color: var(--ink-soft); line-height: 1.72; margin: 0 0 1em; }
.split-body p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .split-inner { grid-template-columns: 1fr; gap: 20px; }
  .scene-split--rev .split-media { order: 0; }
  .split-body h2 { font-size: 1.5rem; }
}

.scene-chapters { padding-top: clamp(36px, 5vw, 64px); }
.chapter-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(26px, 4vw, 52px); max-width: 1100px; margin: 0 auto;
}
.chapter-cell { border-top: 2px solid var(--ink); padding-top: 18px; }
.chapter-cell h2 {
  text-align: left; font-size: clamp(1.3rem, 1.8vw, 1.5rem); font-weight: 560;
  letter-spacing: -0.005em; margin: .1em 0 .5em;
}
.chapter-cell p { font-size: .95rem; color: var(--ink-soft); line-height: 1.7; margin: 0 0 .9em; }
.chapter-cell p:last-child { margin-bottom: 0; }
.chapter-cell .sec-num { margin-bottom: 10px; }

/* charts and maps letterbox on a pale ground instead of cover-cropping */
.split-media--fit { background: var(--snow-2); box-shadow: none;
  border: 1px solid var(--line); }
.split-media--fit img { object-fit: contain; }

/* Price-led pages: the lead is a caption, the tiles carry the page */
.scene-lead--compact { padding-top: clamp(30px, 4vw, 44px); padding-bottom: 6px; }
.scene-lead--compact .lead p {
  font-size: 1.02rem; line-height: 1.65; color: var(--ink-mute);
  max-width: 62ch; margin-left: auto; margin-right: auto;
}

/* Real depth on every price tile - crisp card lift instead of flat blocks */
.prod {
  border: 1px solid rgba(10, 20, 40, 0.10);
  box-shadow:
    0 1px 2px rgba(10, 20, 40, 0.10),
    0 10px 26px -10px rgba(10, 20, 40, 0.22),
    0 26px 52px -22px rgba(59, 30, 94, 0.28);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.prod:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(10, 20, 40, 0.10),
    0 16px 34px -12px rgba(10, 20, 40, 0.26),
    0 36px 68px -24px rgba(59, 30, 94, 0.34);
}
.prod-head { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16); }
@media (prefers-reduced-motion: reduce) { .prod:hover { transform: none; } }

/* markdown bullet lists share the highlights voice */
.mdl { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; gap: 9px; text-align: left; }
.mdl li { position: relative; padding-left: 26px; color: var(--ink-soft); line-height: 1.6; }
.mdl li::before { content: "\203A"; position: absolute; left: 4px; top: -1px;
  color: var(--green); font-weight: 700; font-size: 1.05em; }
.mdl li strong { color: var(--ink); }
.scene-prose .mdl { max-width: 60ch; margin-left: auto; margin-right: auto; }
