/* aux.css — styles added on top of style.css for the auxiliary pages.
   Key: LIGHT. --c-bg near-white, --c-dark a deep band with near-white ink.
   These rules assume style.css already declares the shared tokens; if a token
   is missing they fall back to values consistent with the light key. */

:root {
  --aux-hairline: rgba(32, 40, 44, 0.14);
}

.aux {
  color: var(--c-fg, #1c2327);
}

/* ---------- Hero ---------- */
.aux-hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--aux-hairline);
}
.aux-hero__title {
  font-family: var(--font-display, "Roboto Slab", Georgia, serif);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: 0.35rem 0 0;
  color: var(--c-fg, #1c2327);
}
.lede {
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 60ch;
  margin: 1.25rem 0 0;
  color: var(--c-fg, #1c2327);
}
.doc-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-muted, #5a666c);
  margin: 1.5rem 0 0;
}

/* ---------- Shared eyebrow / headings ---------- */
.eyebrow {
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent, #2f7d6b);
  margin: 0;
}
.eyebrow--on-dark { color: var(--c-on-dark, #eef2f0); opacity: 0.92; }

.aux-h2 {
  font-family: var(--font-display, "Roboto Slab", Georgia, serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0.4rem 0 0;
  color: var(--c-fg, #1c2327);
}
.aux-h2--on-dark { color: var(--c-on-dark, #eef2f0); }

.body-copy {
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: 1.0625rem;
  line-height: 1.68;
  max-width: 68ch;
  margin: 1.1rem 0 0;
  color: var(--c-fg, #1c2327);
}

/* ---------- Section rhythm ---------- */
.aux-section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.aux-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.aux-section--band {
  background: var(--c-dark, #1a2b2a);
  color: var(--c-on-dark, #eef2f0);
}

/* ---------- Two-column blocks ---------- */
.aux-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.aux-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md, 10px);
}

/* ---------- Lists ---------- */
.aux-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.aux-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  line-height: 1.5;
  padding-block: 0.5rem;
  border-top: 1px solid var(--aux-hairline);
}
.aux-list li:first-child { border-top: 0; }
.aux-list svg { flex: none; color: var(--c-accent, #2f7d6b); margin-top: 0.15rem; }

/* ---------- Stats on band ---------- */
.aux-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 2rem;
}
.stat__num {
  font-family: var(--font-display, "Roboto Slab", Georgia, serif);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  margin: 0;
  color: var(--c-on-dark, #eef2f0);
}
.stat__unit {
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
  color: var(--c-accent, #7bc4b2);
}
.stat__cap {
  font-size: 0.8125rem;
  line-height: 1.4;
  margin: 0.5rem 0 0;
  color: var(--c-on-dark, #eef2f0);
  opacity: 0.82;
}

/* ---------- Value cards ---------- */
.aux-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-top: 2rem;
}
.vcard {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: 0 10px 28px rgba(28, 35, 39, 0.08);
}
.vcard__icon {
  display: inline-flex;
  color: var(--c-accent, #2f7d6b);
}
.vcard__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent, #2f7d6b);
  margin: 0.75rem 0 0;
}
.vcard__title {
  font-family: var(--font-display, "Roboto Slab", Georgia, serif);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.25;
  margin: 0.25rem 0 0;
  color: var(--c-fg, #1c2327);
}
.vcard__body {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0.6rem 0 0;
  color: var(--c-muted, #5a666c);
}

/* ---------- CTA ---------- */
.aux-cta .body-copy { margin-bottom: 1.5rem; }

/* ---------- Buttons (local fallbacks) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body, "IBM Plex Sans", sans-serif);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn--solid {
  background: var(--c-accent, #2f7d6b);
  color: #fff;
}
.btn--outline {
  background: transparent;
  border-color: var(--aux-hairline);
  color: var(--c-fg, #1c2327);
}

/* ---------- Document / policy pages ---------- */
.doc { max-width: 100%; }
.doc-section { padding-block: 0 clamp(1.5rem, 3vw, 2rem); }
.doc-section + .doc-section {
  border-top: 1px solid var(--aux-hairline);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}
.doc-h2 {
  font-family: var(--font-display, "Roboto Slab", Georgia, serif);
  font-weight: 600;
  font-size: clamp(1.1875rem, 1.8vw, 1.4375rem);
  line-height: 1.2;
  margin: 0;
  color: var(--c-fg, #1c2327);
}
.doc-section .body-copy { margin-top: 0.75rem; }

/* ---------- Cookie dialog center ---------- */
.cookie-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 26, 29, 0.55);
  padding: 24px;
}
.cookie-dialog__panel {
  background: #fff;
  border-radius: var(--radius-md, 10px);
  padding: clamp(1.5rem, 3vw, 2rem);
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 48px rgba(20, 26, 29, 0.28);
}
.cookie-dialog__title {
  font-family: var(--font-display, "Roboto Slab", Georgia, serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0;
  color: var(--c-fg, #1c2327);
}
.cookie-dialog__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--c-muted, #5a666c);
  margin: 0.6rem 0 1rem;
}
.cookie-dialog__row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  padding-block: 0.5rem;
  border-top: 1px solid var(--aux-hairline);
  color: var(--c-fg, #1c2327);
}
.cookie-dialog__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.is-hidden { display: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 641px) {
  .aux-stats { grid-template-columns: repeat(3, 1fr); }
  .aux-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1025px) {
  .aux-grid { grid-template-columns: 1.1fr 0.9fr; }
  .aux-grid--reverse .aux-media { order: -1; }
}


  /* WH-AUX-FOOTER:START */
  /* The policy pages carry their own footer markup (.site-footer) that no stylesheet styled, so it
     rendered on the page background with whatever link colour the home footer needed. Paint it the
     way .river-foot is painted on the home page. */
  .site-footer {
    background: var(--c-dark);
    color: var(--c-on-dark);
    padding: var(--space-5, 3rem) var(--space-4, 2rem) var(--space-3, 1.25rem);
    margin-top: var(--space-5, 3rem);
  }
  .site-footer .footer-inner,
  .site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: var(--space-4, 2rem);
  }
  .site-footer p,
  .site-footer .footer-brand,
  .site-footer .footer-contact,
  .site-footer .footer-copy { color: var(--c-on-dark); }
  .site-footer .footer-copy { opacity: 0.75; margin-top: var(--space-4, 2rem); }
  .site-footer .footer-nav { display: grid; gap: var(--space-1, 0.375rem); }
  .site-footer .footer-nav a,
  .site-footer .footer-contact a { color: var(--c-on-dark); text-decoration: none; }
  .site-footer .footer-nav a:hover,
  .site-footer .footer-contact a:hover { text-decoration: underline; }
  @media (min-width: 641px) {
    .site-footer .footer-inner,
    .site-footer .container { grid-template-columns: repeat(3, 1fr); }
  }
  /* WH-AUX-FOOTER:END */
  

/* inner-page header */
.site-header { background: var(--c-bg); border-bottom: 1px solid var(--c-hairline); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-4); min-height: 68px; padding-block: var(--space-2); }
.site-header__inner > a.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--c-fg); }
.site-nav { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); }
.site-nav a { font-size: 0.9375rem; font-weight: 500; color: var(--c-muted); text-decoration: none; padding-block: 6px; }
.site-nav a:hover { color: var(--c-fg); }
.site-nav a[aria-current="page"] { color: var(--c-accent); }

/* inner-page footer (VIS-035) */
.site-footer__inner { display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding-block: var(--space-5) var(--space-4); }
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-group__label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--c-on-dark); opacity: 0.75; margin: 0 0 var(--space-2); }
.footer-group:first-child .footer-group__label { font-family: var(--font-display); font-size: 1.375rem; text-transform: none; letter-spacing: -0.01em; opacity: 1; }
.footer-text { color: var(--c-on-dark); opacity: 0.85; margin: 0 0 4px; }
.footer-text a { color: var(--c-on-dark); text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }
.copyright { margin: 0; padding-block: var(--space-3); border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.8125rem; color: var(--c-on-dark); opacity: 0.8; }
