/* ==========================================================================
   JS Hunting New Zealand: main stylesheet
   Design: dark premium lodge. Green-charcoal surfaces, tussock-gold accents,
   Fraunces display serif over Inter. One stylesheet for the whole site.
   ========================================================================== */

/* ---- Fonts (self-hosted) ------------------------------------------------ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/fraunces-v38-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/fraunces-v38-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}

/* ---- Tokens -------------------------------------------------------------- */

:root {
  --ink-900: #121614;
  --ink-800: #1a201c;
  --ink-700: #242b26;
  --forest-600: #33413a;
  --gold-500: #c8a45d;
  --gold-300: #ddc188;
  --paper-100: #ece7dc;
  --paper-400: #a8a294;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, 'Segoe UI', sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --container: 1140px;
  --container-wide: 1400px;

  --radius: 6px;
  --hairline: 1px solid rgb(200 164 93 / 0.35);

  --scrim: linear-gradient(180deg, rgb(18 22 20 / 0.30) 0%, rgb(18 22 20 / 0.55) 55%, rgb(18 22 20 / 0.92) 100%);
}

/* ---- Base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--paper-100);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 var(--space-5);
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 var(--space-5); }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-300); text-decoration-color: rgb(221 193 136 / 0.4); text-underline-offset: 3px; }
a:hover { color: var(--paper-100); }

.muted { color: var(--paper-400); }

.lede {
  font-size: 1.1875rem;
  color: var(--paper-100);
  max-width: 46em;
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-500); color: var(--ink-900); }

/* ---- Layout helpers ------------------------------------------------------ */

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--space-5); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--space-9); }
.section--tight { padding-block: var(--space-8); }
.section--surface { background: var(--ink-800); }

@media (max-width: 720px) {
  .section { padding-block: 56px; }
  .section--tight { padding-block: var(--space-7); }
}

/* Eyebrow label with short gold rule: the site's section-marker device */
.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-4);
}
.eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  border-top: var(--hairline);
  margin-top: var(--space-3);
}
.eyebrow--center { text-align: center; }
.eyebrow--center::after { margin-inline: auto; }

.section-head { max-width: 60em; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---- Buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn--gold {
  background: var(--gold-500);
  color: var(--ink-900);
}
.btn--gold:hover { background: var(--gold-300); color: var(--ink-900); }

.btn--ghost {
  background: transparent;
  color: var(--paper-100);
  border-color: rgb(236 231 220 / 0.45);
}
.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-300); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ---- Header / nav -------------------------------------------------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  border-bottom: 1px solid rgb(236 231 220 / 0.12);
  background: linear-gradient(180deg, rgb(18 22 20 / 0.55), rgb(18 22 20 / 0));
}
.site-header--solid {
  position: static;
  background: var(--ink-900);
  border-bottom: 1px solid var(--ink-700);
}

.site-header__inner {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.wordmark {
  display: block;
  flex-shrink: 0;
}
.wordmark img {
  display: block;
  height: 80px;
  width: auto;
}
.wordmark:hover img { opacity: 0.85; }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--paper-100);
  text-decoration: none;
  padding-block: var(--space-2);
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--gold-300); }
.site-nav a[aria-current="page"] {
  color: var(--gold-300);
  border-bottom-color: var(--gold-500);
}
.site-nav .btn { padding: 10px 20px; font-size: 0.8125rem; }
.site-nav .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--paper-100);
  padding: 0;
  /* Square outline in the same gold as the "Book Your Hunt" button (.btn--gold). */
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  line-height: 0;
  transition: color 200ms ease, border-color 200ms ease;
}
.site-nav .social:hover { color: var(--gold-300); border-color: var(--gold-300); }
.site-nav .social svg { display: block; width: 22px; height: 22px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid rgb(236 231 220 / 0.4);
  border-radius: var(--radius);
  color: var(--paper-100);
  font: 600 0.8125rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  cursor: pointer;
}

/* Mobile nav: only collapses when JS is available (html.js) */
@media (max-width: 960px) {
  .site-header { position: static; background: var(--ink-900); border-bottom: 1px solid var(--ink-700); }
  .site-header__inner { flex-wrap: wrap; gap: var(--space-4); }
  .wordmark img { height: 72px; }
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding-block: var(--space-3); }
  .site-nav li { width: 100%; border-top: 1px solid var(--ink-700); }
  .site-nav a { display: block; padding: var(--space-4) var(--space-2); }
  .site-nav a[aria-current="page"] { border-bottom-color: transparent; }
  .site-nav .btn { margin-block: var(--space-4); }
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 72vh;
  isolation: isolate;
  overflow: hidden;
}
.hero--full { min-height: 100svh; }
.hero--short { min-height: 46vh; }

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim);
}

/* Textured hero for pages with no photography yet (The Lodge) */
.hero--texture {
  background:
    radial-gradient(1200px 500px at 75% -10%, rgb(51 65 58 / 0.55), transparent 70%),
    radial-gradient(900px 420px at 10% 110%, rgb(200 164 93 / 0.08), transparent 60%),
    var(--ink-800);
}
.hero--texture::after { content: none; }

.hero__content {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--space-9) var(--space-5) var(--space-8);
}
.hero__content .lede { max-width: 38em; }

.hero .btn-row { margin-top: var(--space-6); }

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__content > *:nth-child(2) { animation-delay: 90ms; }
  .hero__content > *:nth-child(3) { animation-delay: 180ms; }
  .hero__content > *:nth-child(4) { animation-delay: 270ms; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---- Pillars (three-up value strip) -------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.pillar {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-top: 2px solid var(--gold-500);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.pillar h3 { margin-bottom: var(--space-3); }
.pillar p { color: var(--paper-400); margin: 0; }

/* ---- Cards --------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  overflow: hidden;
}
.card--lead { grid-column: span 2; }
@media (max-width: 720px) { .card--lead { grid-column: auto; } }

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
@media (prefers-reduced-motion: no-preference) {
  .card:hover .card__media img { transform: scale(1.04); }
}

/* Engraved-plate treatment for species awaiting photography: the site's
   signature. Reads as a brass plaque, not a broken image. */
.card__plate {
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  text-align: center;
  gap: var(--space-2);
  background:
    radial-gradient(420px 220px at 50% 0%, rgb(200 164 93 / 0.07), transparent 75%),
    var(--forest-600);
  border-bottom: 1px solid var(--ink-700);
  padding: var(--space-5);
}
.card__plate-inner {
  border: 1px solid rgb(200 164 93 / 0.5);
  outline: 1px solid rgb(200 164 93 / 0.18);
  outline-offset: 3px;
  border-radius: 2px;
  padding: var(--space-5) var(--space-6);
  min-width: 190px;
}
.card__plate-monogram {
  font-family: var(--font-display);
  font-size: 2.375rem;
  font-weight: 400;
  color: var(--gold-300);
  line-height: 1;
}
.card__plate-rule {
  width: 34px;
  margin: var(--space-3) auto;
  border: 0;
  border-top: var(--hairline);
}
.card__plate-note {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-400);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5) var(--space-5) var(--space-6);
}
.card__body h3 { margin-bottom: var(--space-2); }
.card__sub {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-3);
}
.card__body p { color: var(--paper-400); font-size: 0.9688rem; margin-bottom: var(--space-4); }
.card__link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
}
.card__link::after { content: ' \2192'; }

/* ---- Split (media + copy) ------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--narrow-media { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 880px) {
  .split, .split--narrow-media { grid-template-columns: 1fr; gap: var(--space-6); }
}
.split__media img {
  border-radius: var(--radius);
  border: 1px solid var(--ink-700);
}
.split__media figcaption {
  font-size: 0.8125rem;
  color: var(--paper-400);
  margin-top: var(--space-3);
}

/* ---- CTA band ------------------------------------------------------------ */

.cta-band {
  background:
    radial-gradient(900px 400px at 85% 0%, rgb(200 164 93 / 0.10), transparent 65%),
    var(--forest-600);
  border-block: 1px solid var(--ink-700);
  text-align: center;
}
.cta-band .container { max-width: 820px; }
.cta-band h2 { margin-bottom: var(--space-4); }
.cta-band p { color: var(--paper-100); opacity: 0.85; margin-bottom: var(--space-6); }
.cta-band .btn-row { justify-content: center; }

/* ---- Gallery ------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
  gap: var(--space-4);
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-700);
}
.gallery-grid a.tall { grid-row: span 2; }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
@media (prefers-reduced-motion: no-preference) {
  .gallery-grid a:hover img { transform: scale(1.03); }
}

/* ---- Gallery lightbox / carousel ---------------------------------------- */

html.lightbox-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: clamp(var(--space-5), 5vw, var(--space-8));
  background: rgb(12 14 13 / 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }

.lightbox__stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  min-height: 0;
}
.lightbox__img {
  max-width: min(100%, var(--container-wide));
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.55);
  background: var(--ink-800);
}
.lightbox__caption {
  margin: var(--space-4) 0 0;
  max-width: 44em;
  text-align: center;
  color: var(--paper-100);
  font-size: 0.95rem;
}
.lightbox__count {
  margin: 0;
  color: var(--paper-400);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2; /* keep controls above the image so both arrows stay tappable */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper-100);
  /* Solid-ish dark pill so controls stay visible over any photo. */
  background: rgb(12 14 13 / 0.6);
  border: var(--hairline);
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.lightbox__close:hover,
.lightbox__nav:hover,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  background: var(--gold-500);
  color: var(--ink-900);
}
.lightbox__close {
  top: var(--space-4);
  right: var(--space-4);
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  /* Fixed fallbacks first; the clamp() lines below override them in browsers that
     support clamp(). Older Safari (< 13.1) ignores clamp() and keeps these, so the
     arrows stay a visible, tappable size instead of collapsing to nothing. */
  width: 52px;
  height: 52px;
  width: clamp(46px, 6vw, 60px);
  height: clamp(46px, 6vw, 60px);
  font-size: 2rem;
}
.lightbox__nav:active { transform: translateY(-50%) scale(0.94); }
.lightbox__nav--prev { left: 16px; left: clamp(var(--space-3), 3vw, var(--space-7)); }
.lightbox__nav--next { right: 16px; right: clamp(var(--space-3), 3vw, var(--space-7)); }

@media (prefers-reduced-motion: reduce) {
  .lightbox__close, .lightbox__nav { transition: none; }
}

/* On phones the arrows would sit on top of the full-width photo, so move them to
   a bottom bar clear of the image and give everything comfortable tap targets. */
@media (max-width: 560px) {
  .lightbox { padding: var(--space-4); gap: var(--space-4); }
  .lightbox__img { max-height: 66vh; }
  .lightbox__close {
    top: max(var(--space-3), env(safe-area-inset-top));
    right: var(--space-3);
    width: 44px;
    height: 44px;
  }
  .lightbox__nav {
    top: auto;
    bottom: max(var(--space-4), env(safe-area-inset-bottom));
    transform: none;
    width: 52px;
    height: 52px;
  }
  .lightbox__nav:active { transform: scale(0.94); }
  .lightbox__nav--prev { left: 22%; right: auto; }
  .lightbox__nav--next { right: 22%; left: auto; }
}

/* ---- Forms --------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-5);
}
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-400);
  margin-bottom: var(--space-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  color: var(--paper-100);
  font: 400 1rem/1.5 var(--font-body);
  padding: 12px 14px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: var(--space-2) var(--space-4);
}
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--paper-100);
  margin: 0;
}
.checkbox-grid input {
  width: auto;
  accent-color: var(--gold-500);
}

fieldset {
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5) var(--space-5);
  margin: 0;
}
legend {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-400);
  padding-inline: var(--space-2);
}

.form-note {
  font-size: 0.875rem;
  color: var(--paper-400);
}

.form-status {
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  background: rgb(200 164 93 / 0.08);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-4);
}
.form-status[hidden] { display: none; }

/* Honeypot: hidden from humans, present for bots */
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Contact info list ---------------------------------------------------- */

.contact-list {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
}
.contact-list li {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--ink-700);
}
.contact-list .label {
  min-width: 90px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-400);
  padding-top: 3px;
}

/* ---- Steps (how your hunt works) ------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  counter-reset: step;
}
.step {
  counter-increment: step;
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-500);
  display: block;
  margin-bottom: var(--space-3);
}
.step h3 { font-size: 1.125rem; margin-bottom: var(--space-2); }
.step p { color: var(--paper-400); font-size: 0.9375rem; margin: 0; }

/* ---- Placeholder banner (missing content, draft-visible) ------------------ */

.placeholder-note {
  border: 1px dashed rgb(200 164 93 / 0.45);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-6);
  color: var(--paper-400);
  font-size: 0.9375rem;
  text-align: center;
}

/* ---- Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--ink-800);
  border-top: 1px solid var(--ink-700);
  padding-block: var(--space-8) var(--space-6);
  font-size: 0.9375rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-7);
}
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); } }

.site-footer__logo {
  display: block;
  height: 72px;
  width: auto;
  margin-bottom: var(--space-4);
}

.site-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--space-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a { color: var(--paper-400); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.site-footer p { color: var(--paper-400); }

.site-footer__legal {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--ink-700);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  justify-content: space-between;
  color: var(--paper-400);
  font-size: 0.8125rem;
}

/* ---- Utility --------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--gold-500);
  color: var(--ink-900);
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---- Pricing --------------------------------------------------------------- */

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--ink-700);
}
.price-name {
  flex: 1;
  min-width: 0;
  /* Fallback for browsers without flex `gap` (e.g. Safari < 14.1): keeps the
     name clear of the amount so they never render as one run ("Up to 300$3,500"). */
  padding-right: var(--space-4);
}
.price-name b { font-weight: 600; color: var(--paper-100); }
.price-sub {
  display: block;
  color: var(--paper-400);
  font-size: 0.875rem;
  margin-top: 2px;
}
.price-amount {
  flex-shrink: 0;
  /* margin-left:auto pushes the amount right even where flex `gap` is unsupported. */
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--gold-300);
  white-space: nowrap;
}
.price-fine {
  color: var(--paper-400);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-top: var(--space-5);
}

/* Full price list: native collapsible disclosure */
.price-full {
  margin-top: var(--space-6);
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
}
.price-full > summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--paper-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.price-full > summary::-webkit-details-marker { display: none; }
.price-full > summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gold-500);
}
.price-full[open] > summary::after { content: '\2013'; }
.price-full > summary:hover { color: var(--gold-300); }
.price-full__body {
  padding: var(--space-2) var(--space-6) var(--space-6);
  border-top: 1px solid var(--ink-700);
}
.price-group h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: var(--space-6) 0 0;
}

/* Geo-gated pricing: see the inline detector in src/layouts/Layout.astro, which
   puts `geo-nz`, or `geo-intl` (+ `geo-au` for Australia), on <html> from the
   browser timezone. NZ visitors get a "prices on request" block instead of any
   figures; AU and the rest of the world see the same numbers, labelled AUD and
   USD respectively. Fails closed: unless we are confident the visitor is outside
   NZ (html.geo-intl), the figures stay hidden, which also covers JS off.
   These rules only ever *apply* display:none; they never force a display value
   back on, so the layout rules above survive untouched when prices are shown. */

/* Axis 1: visibility. Australia is `intl` here, so every price block shows for
   it with no extra markup. */
html:not(.geo-intl) [data-geo="intl"] { display: none; }
html.geo-intl [data-geo="nz"] { display: none; }

/* Axis 2: market wording, for the handful of lines whose words (not just the
   currency code) differ. `us` means "not Australia", so NZ keeps today's copy on
   the price-free lines it can still see. */
html.geo-au [data-market="us"] { display: none; }
html:not(.geo-au) [data-market="au"] { display: none; }

/* The currency code beside every amount. The figures are identical per market
   and only the three letters change, so this lives in one place rather than
   duplicating ~46 amounts into per-market pairs that could drift apart. */
.cur::after { content: "USD"; }
html.geo-au .cur::after { content: "AUD"; }

/* ---- Testimonials ---------------------------------------------------------- */

.testimonials {
  display: grid;
  gap: var(--space-6);
}
.testimonial {
  background: var(--ink-800);
  border: 1px solid var(--ink-700);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--paper-100);
  margin: 0;
}
.testimonial__quote p { margin: 0 0 var(--space-4); }
.testimonial__quote p:last-child { margin-bottom: 0; }
.testimonial__cite {
  display: block;
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-style: normal;
}
.testimonial__video {
  width: 100%;
  max-width: 360px;
  display: block;
  margin-bottom: var(--space-4);
  border-radius: var(--radius);
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
}
