/* ============================================================================
   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;
  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.56em; opacity: 0.65; transition: transform var(--t-fast); }
.mega-item:hover > .mega-top .mega-caret,
.mega-item:focus-within > .mega-top .mega-caret { transform: rotate(180deg); }

/* 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 ------------------------------------------------------ */
.mega-panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: var(--snow); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 14px; display: grid; gap: 2px 22px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
/* invisible hover bridge so the panel doesn't vanish across the 10px gap */
.mega-item > .mega-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px;
}
.mega-item:hover .mega-panel,
.mega-item:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translateY(0); }

/* responsive column step-down: 3 -> 2 -> 1 */
.mega-panel--2 { grid-template-columns: repeat(2, minmax(190px,1fr)); }
.mega-panel--3 { grid-template-columns: repeat(3, minmax(180px,1fr)); }
@media (max-width: 1080px) {
  .mega-panel--3 { grid-template-columns: repeat(2, minmax(180px,1fr)); }
}

/* COUNT-AGNOSTIC edge clamp: right-align only panels on items flagged
   .mega-item--end (set on the last 1-2 groups in markup). */
.mega-nav > .mega-item--end .mega-panel { left: auto; right: 0; }

/* labelled sub-columns for the heaviest / flagged panels */
.mega-col { display: grid; gap: 1px; align-content: start; min-width: 0; }
.mega-col-h {
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: none; color: var(--ink-mute);
  margin: 2px 12px 6px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
}

.mega-panel a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.92rem; 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); }
/* feature link (fat-bike hire, dog hotel) — ember chevron, slightly bolder */
.mega-panel a.is-feature { font-weight: 600; color: var(--ink); }
.mega-panel a.is-feature::before {
  content: "\203A"; color: var(--ember); font-weight: 700; margin-right: 7px;
}

/* 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; }
.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);
}
.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: var(--navy); 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; }

/* ---- 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 mega + lang into the existing drawer. 1200px MATCHES style.css's
   hamburger breakpoint — the horizontal nav only shows where all 8 items fit. */
@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: 2px; margin-top: 14px;
  }
  .site-header.menu-open .mega-item { width: 100%; }
  .site-header .mega-nav .mega-top,
  .site-header.menu-open .mega-nav .mega-top {
    width: 100%; color: var(--ink); background: transparent;
    font-size: 1.05rem; padding: 14px 2px;
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .site-header.menu-open .mega-panel {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 2px 0 8px 14px; min-width: 0;
    grid-template-columns: 1fr; gap: 0;
  }
  .site-header.menu-open .mega-col-h { margin: 8px 0 2px; }
  .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; } }

/* ===== Pawlytics — 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: #E8A055; }
.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); }
.crm-shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 1080px) { .crm-shot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .crm-shot-grid { grid-template-columns: 1fr; } }
.crm-shot { margin: 0; }
.crm-shot-frame { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: linear-gradient(150deg, #0B1E2D 0%, #143049 60%, #1c3f5e 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: #fff; text-align: center; padding: 14px; }
.crm-shot-frame::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(127,216,166,0.16), transparent 62%); }
.crm-shot-n { font-family: var(--font-display); font-size: 1.5rem; color: rgba(255,255,255,0.32); position: relative; }
.crm-shot-label { position: relative; font-weight: 700; font-size: 0.95rem; }
.crm-shot-soon { position: relative; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--aurora-green); }
.crm-shot figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--ink-mute); 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; }

/* ---- mega-menu item icons + "Other activities" collapse (mobile) ---- */
.mega-panel a { display: flex; align-items: center; gap: 9px; }
.mega-panel a.is-feature::before { content: none; }          /* the icon replaces the old chevron */
.mega-li-ico { flex: 0 0 18px; width: 18px; height: 18px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--ember); }
.mega-li-ico svg { width: 17px; height: 17px; display: block; }
.mega-panel a:hover .mega-li-ico { color: var(--navy); }

.mega-more-toggle { display: none; }                          /* desktop: every item is already shown */
@media (max-width: 1280px) {
  .site-header.menu-open .mega-more-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; grid-column: 1 / -1; gap: 8px;
    background: none; border: 0; cursor: pointer; text-align: left;
    font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
    color: var(--ink); padding: 8px 2px; margin-top: 2px;
  }
  .site-header.menu-open .mega-more-caret { transition: transform .2s ease; color: var(--ember); }
  .site-header.menu-open .mega-item.more-open .mega-more-caret { transform: rotate(180deg); }
  .site-header.menu-open .mega-more-item { display: none; }
  .site-header.menu-open .mega-item.more-open .mega-more-item { display: flex; }
}

/* ============================================================================
   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(232,160,85,.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(232,160,85,.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: #C97F36; }
.hm-theme-learning { --accent: #5B6FB8; }
.hm-theme-water { --accent: #2C7C8C; }
.hm-theme-biking { --accent: #C97F36; }
.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: #E8A055; }

@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; } }

/* ============================================================================
   One-long-page sections (Adopt, About, Our dogs, Area, Hire, Dog hotel, Media)
   render_section_longpage() — sticky on-page sub-nav + stacked child blocks
   ========================================================================== */
.ip-subnav-wrap { position: sticky; top: 64px; z-index: 20; margin: 1.6rem 0 2.2rem; }
.ip-subnav {
  position: relative;
  display: flex; align-items: center; gap: .4rem; padding: .5rem 1rem;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--frost) rgba(0,0,0,.06);
}
/* keep a slim scrollbar visible as a 'there's more' cue */
.ip-subnav::-webkit-scrollbar { height: 7px; }
.ip-subnav::-webkit-scrollbar-thumb { background: var(--frost); border-radius: 999px; }
.ip-subnav::-webkit-scrollbar-track { background: rgba(0,0,0,.06); border-radius: 999px; margin: 0 14px; }
.ip-subnav-label { flex: 0 0 auto; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); padding: 0 .5rem 0 .3rem; }
.ip-subnav a { flex: 0 0 auto; white-space: nowrap; font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  padding: .35rem .8rem; border-radius: 999px; transition: background var(--t-fast), color var(--t-fast); }
.ip-subnav a:hover { background: var(--navy-soft); color: var(--navy); }

/* edge fades — appear only when there's more to scroll that way (toggled by JS) */
.ip-subnav-wrap::before, .ip-subnav-wrap::after {
  content: ""; position: absolute; top: 2px; bottom: 2px; width: 56px; pointer-events: none; z-index: 2;
  opacity: 0; transition: opacity var(--t-fast); border-radius: 999px;
}
.ip-subnav-wrap::before { left: 2px; background: linear-gradient(90deg, #fff 30%, transparent); }
.ip-subnav-wrap::after  { right: 2px; background: linear-gradient(270deg, #fff 30%, transparent); }
.ip-subnav-wrap.can-prev::before { opacity: 1; }
.ip-subnav-wrap.can-next::after  { opacity: 1; }

/* click-to-scroll arrows (shown only when scrollable that way) — work with any mouse */
.ip-subnav-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 30px; height: 30px; display: none; align-items: center; justify-content: center;
  padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  font-size: 1.15rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.ip-subnav-arrow:hover { background: var(--navy); color: #fff; }
.ip-prev { left: 4px; }
.ip-next { right: 4px; }
.ip-subnav-wrap.can-prev .ip-prev { display: flex; }
.ip-subnav-wrap.can-next .ip-next { display: flex; }

.ip-blocks { display: flex; flex-direction: column; gap: 2.6rem; }
.ip-block { scroll-margin-top: 130px; padding-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.ip-block:last-child { border-bottom: 0; }
.ip-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink); line-height: 1.1; margin: 0 0 1rem; }
.ip-block .ip-title::before {           /* small ember tick to anchor each block visually */
  content: ""; display: block; width: 42px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--ember) 0%, var(--ember-soft) 100%); margin-bottom: .9rem;
}
.ip-figure { margin: 0 0 1.2rem; border-radius: var(--radius); overflow: hidden; max-height: 380px; }
.ip-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-block .lead { font-size: 1.06rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }
.ip-block .prose { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.ip-block .prose h3, .ip-block .prose h4 { font-family: var(--font-display); color: var(--navy); margin: 1.4rem 0 .5rem; }
.ip-block .prose p { margin: 0 0 .9rem; }

.ip-more { margin-top: 1.3rem; padding: 1rem 1.2rem; background: var(--snow-2); border-radius: var(--radius); border: 1px solid var(--line); }
.ip-more-label { display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: .55rem; }
.ip-more-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.ip-more-links a { font-size: .85rem; font-weight: 600; color: var(--frost-deep);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; transition: border-color var(--t-fast), color var(--t-fast); }
.ip-more-links a:hover { border-color: var(--frost); color: var(--navy); }

@media (max-width: 700px) {
  .ip-subnav-wrap { top: 58px; }
  .ip-subnav { border-radius: var(--radius); }
  .ip-block { scroll-margin-top: 120px; }
}
