/* ═══════════════════════════════════════════════════════════════
   Four Brothers Expedition — World-Class Tour Website
   Designed for transformation, adventure, and trust.
   ═══════════════════════════════════════════════════════════════ */

/* ─── BRAND TYPE — Noto, self-hosted, subset to 72 KB total (SIL OFL 1.1) ─── */
@font-face {
  font-family: 'Noto Serif';
  src: url('../fonts/noto-serif-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif';
  src: url('../fonts/noto-serif-regular.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif';
  src: url('../fonts/noto-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans-bold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/noto-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── DESIGN TOKENS ─── */
:root {
  /* The Jungle Whisperer — "the rainforest palette" (lead with ivory and deep green;
     canopy for highlights, clay for occasional warmth, mist for quiet surfaces) */
  --color-forest: #073b22;        /* rainforest */
  --color-forest-light: #0e5a33;  /* derived hover state */
  --color-gold: #86a62f;          /* canopy — highlights only, never small text */
  --color-gold-light: #a3c24a;    /* canopy lifted for dark grounds */
  --color-orange: #ac6348;        /* clay */
  --color-cream: #f5f1e7;         /* ivory */
  --color-cream-dark: #dce3d4;    /* mist */
  --color-charcoal: #08271e;      /* night */
  --color-charcoal-light: #0d3a2b;
  --color-text: #2b3a31;
  --color-text-muted: #5d6b60;
  --color-white: #ffffff;
  --color-offwhite: #fbfaf5;

  --font-display: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.18);

  --transition-fast: 0.2s ease;
  --transition-base: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1280px;
  --container-narrow: 900px;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-offwhite);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-label.light {
  color: var(--color-gold-light);
}

.section-headline {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 680px;
  line-height: 1.6;
}

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.mx-auto { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-charcoal);
}

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-dark {
  background: var(--color-forest);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-forest-light);
  transform: translateY(-2px);
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(7, 59, 34, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-white);
}

/* The light (ivory) lockup, split into its two parts so the lettering can sit
   beside the crest instead of beneath it. Proportions are taken from the artwork:
   the wordmark block is 154/205 of the crest height, so scaling both from the same
   ratio keeps the original optical relationship intact. */
.nav-logo-crest {
  height: 176px;
  width: auto;
  display: block;
  transition: height var(--transition-base);
}

.nav-logo-words {
  height: 132px;
  width: auto;
  display: block;
  transition: height var(--transition-base);
}

.nav.scrolled .nav-logo-crest {
  height: 84px;
}

.nav.scrolled .nav-logo-words {
  height: 63px;
}

@media (max-width: 900px) {
  .nav-logo-crest {
    height: 96px;
  }

  .nav-logo-words {
    height: 72px;
  }

  .nav.scrolled .nav-logo-crest {
    height: 56px;
  }

  .nav.scrolled .nav-logo-words {
    height: 42px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-gold);
  color: var(--color-charcoal) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--color-gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-fast);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 80vw);
    height: 100vh;
    background: var(--color-forest);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-base);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 14.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 59, 34, 0.45) 0%,
    rgba(7, 59, 34, 0.25) 40%,
    rgba(7, 59, 34, 0.75) 100%
  );
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  max-width: 820px;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--color-gold-light);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.4rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.hero-scroll::before {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--color-charcoal);
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.trust-item strong {
  color: var(--color-white);
  font-weight: 700;
}

.trust-rating {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ─── SECTIONS ─── */
section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ─── INTRO ─── */
.intro {
  background: var(--color-cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.intro-card {
  background: var(--color-white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.intro-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(134, 166, 47, 0.25);
}

.intro-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(134, 166, 47, 0.12);
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.intro-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.intro-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── EXPERIENCE ─── */
.experience {
  background: var(--color-forest);
  color: var(--color-white);
}

.experience h2,
.experience h3 {
  color: var(--color-white);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.experience-card {
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.experience-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(134, 166, 47, 0.3);
}

.experience-card h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

.experience-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── ITINERARY ─── */
.itinerary {
  background: var(--color-offwhite);
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--color-cream-dark) 10%,
    var(--color-cream-dark) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.day {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: center;
}

.day:last-child {
  margin-bottom: 0;
}

.day:nth-child(even) .day-content {
  grid-column: 2;
  grid-row: 1;
}

.day:nth-child(even) .day-media {
  grid-column: 1;
  grid-row: 1;
}

.day-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.day-marker span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1;
}

.day-marker strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-gold);
  line-height: 1;
}

.day-content {
  padding: 0 2rem;
}

.day-content h3 {
  margin-bottom: 0.75rem;
}

.day-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.day-feel {
  font-style: italic;
  color: var(--color-forest-light);
  border-left: 3px solid var(--color-gold);
  padding-left: 1rem;
}

.day-theme {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: rgba(134, 166, 47, 0.1);
  border-radius: 50px;
}

.day-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.day-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.day:hover .day-media img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .timeline::before {
    left: 28px;
  }

  .day {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: 70px;
  }

  .day:nth-child(even) .day-content,
  .day:nth-child(even) .day-media {
    grid-column: auto;
    grid-row: auto;
  }

  .day-marker {
    left: 28px;
    width: 48px;
    height: 48px;
  }

  .day-content {
    padding: 0;
  }
}

/* ─── WILDLIFE FEATURE ─── */
.wildlife {
  padding: 0;
  background: var(--color-charcoal);
  color: var(--color-white);
}

.wildlife-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.wildlife-media {
  position: relative;
  min-height: 400px;
}

.wildlife-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wildlife-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 5rem);
}

.wildlife h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.wildlife p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.wildlife-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.wildlife-fact {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.wildlife-fact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(134, 166, 47, 0.15);
  border-radius: 50%;
}

.wildlife-fact strong {
  color: var(--color-gold-light);
  display: block;
  margin-bottom: 0.2rem;
}

.wildlife-fact span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .wildlife-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── TRANSFORMATION ─── */
.transformation {
  background: var(--color-cream);
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.transformation-card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
}

.transformation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.transformation-card .number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-gold);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1rem;
}

.transformation-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.transformation-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .transformation-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── QUOTE ─── */
.quote {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  color: var(--color-white);
  text-align: center;
}

.quote-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 59, 34, 0.72);
  z-index: -1;
}

.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

/* ─── GUIDE ─── */
.guide {
  background: var(--color-offwhite);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.guide-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3 / 4;
}

.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-content h2 {
  margin-bottom: 0.5rem;
}

.guide-role {
  display: block;
  color: var(--color-forest-light);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 46ch;
  /* three job titles read better balanced than with one orphaned word */
  text-wrap: balance;
}

.guide-content p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.guide-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.guide-highlight {
  text-align: center;
  padding: 1.25rem 0.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.guide-highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-gold);
  line-height: 1;
}

.guide-highlight span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
  display: block;
}

@media (max-width: 900px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-media {
    aspect-ratio: 16 / 9;
  }

  .guide-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  background: var(--color-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.testimonial {
  background: var(--color-offwhite);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-base);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  color: var(--color-text);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-charcoal);
  font-size: 0.95rem;
}

.testimonial-author span {
  display: block;
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── GALLERY ─── */
.gallery {
  background: var(--color-charcoal);
  padding-bottom: 0;
}

.gallery h2 {
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 3.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(8),
.gallery-item:nth-child(15) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 59, 34, 0.4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(15) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* ─── PRACTICAL ─── */
.practical {
  background: var(--color-cream);
}

.practical-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.practical-info h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.practical-info p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.practical-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.practical-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text);
}

.practical-list li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.practical-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.practical-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-cream-dark);
}

.practical-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: 0.95rem;
}

.practical-detail:last-child {
  border-bottom: none;
}

.practical-detail span:first-child {
  color: var(--color-text-muted);
}

.practical-detail span:last-child {
  font-weight: 700;
  color: var(--color-charcoal);
  text-align: right;
}

/* ─── FAQ ─── */
.faq {
  background: var(--color-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.faq-item {
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: left;
  background: var(--color-offwhite);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-cream);
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .practical-grid {
    grid-template-columns: 1fr;
  }

  .practical-card {
    position: static;
  }
}

/* ─── PARTNERS ─── */
.partners {
  background: var(--color-white);
  padding: 3rem 0;
}

/* ─── PARTNER ROWS: explicit columns so six tiles balance 3 × 2 ─── */
.partners-grid {
  display: grid;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partners-grid--six {
  /* REG spans two columns as the major partner, so 8 slots balance as 4 × 2 */
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .partners-grid,
  .partners-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.partner:hover {
  border-color: var(--color-gold);
  color: var(--color-charcoal);
  transform: translateY(-3px);
}

.partner-icon {
  font-size: 1.75rem;
}

/* ─── BOOKING ─── */
.booking {
  position: relative;
  background: var(--color-forest);
  color: var(--color-white);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.booking-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.booking-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.booking-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 59, 34, 0.92), rgba(7, 59, 34, 0.85));
  z-index: 1;
}

.booking .container {
  position: relative;
  z-index: 2;
}

.booking h2 {
  color: var(--color-white);
}

.booking p {
  color: rgba(255, 255, 255, 0.8);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.booking-info {
  max-width: 480px;
}

.booking-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background: rgba(0, 0, 0, 0.35);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a227' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--color-forest);
  color: var(--color-white);
}

.booking-form button {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success h3 {
  color: var(--color-gold-light);
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.55);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer-about {
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SCROLL ANIMATIONS ─── */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.no-js .reveal,
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── MOBILE ADJUSTMENTS ─── */
@media (max-width: 640px) {
  .hero {
    /* clears the 125px lockup masthead on phones — the banner used to do this job */
    padding-top: 10rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-bar .container {
    justify-content: center;
  }
}

/* ─── ACCESSIBILITY ─── */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTION PASS — responsive images, accessibility, form states
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* readable canopy for small text on light backgrounds (AA at 0.75rem bold);
     the brand's #86A62F is a highlight colour and measures 2.5:1 on ivory */
  --color-gold-text: #4a6413;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--color-gold);
  color: var(--color-charcoal);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ─── CONTRAST FIXES ─── */
.section-label {
  color: var(--color-gold-text);
}

.day-theme {
  color: var(--color-gold-text);
}

.form-note {
  color: rgba(255, 255, 255, 0.72);
}

.form-note a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-stat span,
.trust-item {
  color: rgba(255, 255, 255, 0.78);
}

/* ─── PICTURE WRAPPERS (keep the original media boxes filling their container) ─── */
.hero-bg picture,
.quote-bg picture,
.booking-bg picture,
.day-media picture,
.guide-media picture,
.wildlife-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* ─── ANCHOR OFFSET FOR THE FIXED NAV ─── */
section[id],
header[id] {
  scroll-margin-top: 90px;
}

/* ─── PULL QUOTE (was inline style) ─── */
.pull-quote {
  margin-top: 1.5rem;
  font-style: italic;
  border-left: 2px solid var(--color-gold);
  padding-left: 1.25rem;
  text-align: left;
}

.pull-quote-attrib {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ─── PRACTICAL (was inline style) ─── */
.practical-subhead {
  margin-top: 2.5rem;
}

.practical-map {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.practical-cta {
  width: 100%;
  margin-top: 1.5rem;
}

/* ─── BOOKING EMAIL BLOCK (was inline style) ─── */
.booking-email {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-email-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.booking-email-address {
  font-size: 1.1rem;
  color: var(--color-white);
  margin: 0;
}

.booking-email-address a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── SECTION SUBTITLES ON DARK GROUND ─── */
.experience .section-subtitle,
.booking .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

/* ─── FORM: iOS zoom guard, spam trap, error + fallback states ─── */
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--color-orange);
  border-radius: var(--radius-sm);
  background: rgba(199, 109, 59, 0.16);
  color: #ffd7c2;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-success-fallback {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.75rem;
}

.form-success-fallback a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-copy {
  margin-top: 1.25rem;
}

.form-payload {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-white);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── FOOTER HEADINGS (were h4, now h2 for document outline) ─── */
.footer-heading {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-credits {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
}

/* ─── MOBILE NAV: remove closed panel from the tab order ─── */
@media (max-width: 900px) {
  .nav-links {
    visibility: hidden;
  }

  .nav-links.open {
    visibility: visible;
  }

  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ─── GUIDE: photo beside the bio ─── */
/* Portrait carries the guide section: photograph left, long bio right. */
.guide-grid--portrait {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.25fr);
  gap: 3.5rem;
  align-items: start;
}

.guide-portrait {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--color-mist);
}

.guide-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .guide-grid--portrait {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .guide-portrait {
    max-width: 420px;
    margin-inline: auto;
  }
}

.guide-link {
  margin-top: 1.5rem;
  font-weight: 600;
}

.guide-link a {
  color: var(--color-gold-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── LEGAL + 404 PAGES ─── */
.nav-compact .nav-links {
  position: static;
  visibility: visible;
  flex-direction: row;
  height: auto;
  padding: 0;
  background: none;
  width: auto;
}

.legal,
.notfound {
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--color-cream);
}

.legal h1,
.notfound h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  margin-bottom: 1rem;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
}

.legal p {
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.legal a {
  color: var(--color-gold-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-back {
  margin-top: 3rem;
}

.notfound p {
  margin-bottom: 2rem;
}

.notfound-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .notfound-actions .btn {
    width: 100%;
  }
}

/* ─── HERO LEGIBILITY (bright skies need a stronger scrim than dark lakes) ─── */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 59, 34, 0.86) 0%, rgba(7, 59, 34, 0.6) 48%, rgba(7, 59, 34, 0.14) 82%),
    linear-gradient(180deg, rgba(7, 59, 34, 0.7) 0%, rgba(7, 59, 34, 0.44) 38%, rgba(7, 59, 34, 0.82) 100%);
}

/* The scroll cue is decorative and collides with the stat row on short viewports. */
@media (max-height: 950px) {
  .hero-scroll {
    display: none;
  }
}

.hero h1 {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.38);
}

.hero h1 em {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.hero p {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

/* Un-scrolled nav sits on the photo: give it its own scrim. */
.nav:not(.scrolled) {
  background: linear-gradient(180deg, rgba(7, 59, 34, 0.62) 0%, rgba(7, 59, 34, 0) 100%);
}

.nav-logo span:last-child {
  opacity: 0.85;
}

/* ─── GALLERY: single row of four, no 2×2 feature tile ─── */
.gallery-grid--four .gallery-item,
.gallery-grid--four .gallery-item:nth-child(1),
.gallery-grid--four .gallery-item:nth-child(8),
.gallery-grid--four .gallery-item:nth-child(15) {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 640px) {
  .gallery-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Inline links inside body copy must look like links (global `a` resets them) */
.guide-content a,
.pull-quote a,
.intro-card a,
.practical-info a,
.faq-answer a,
.testimonial a {
  color: var(--color-gold-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-content a:hover,
.practical-info a:hover,
.faq-answer a:hover {
  color: var(--color-forest-light);
}

/* ─── PARTNERS: press row headings ─── */
.partners-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-text);
  text-align: center;
  margin-bottom: 1.75rem;
}

.partners-heading--spaced {
  margin-top: 3.25rem;
}

/* ─── BRAND: footer lockup, brand line, business-card QR ─── */
.footer-logo {
  width: 220px;
  height: 220px;
  margin-bottom: 0.5rem;
}

.footer-brandline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}

.booking-qr {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-qr-code {
  width: 152px;
  height: 152px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  padding: 6px;
}

.booking-qr-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.booking-qr-copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.booking-qr-phone {
  margin: 0;
  font-weight: 700;
}

.booking-qr-phone a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .booking-qr {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: 180px;
    height: 180px;
  }
}

/* ─── MOBILE HERO STATS: 2×2 instead of an orphaned fourth stat ─── */
@media (max-width: 640px) {
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
  }

}

/* ─── REG / MAJOR PARTNER — its own identity: navy, teal, DejaVu Sans ─── */
@font-face {
  font-family: 'DejaVu Sans';
  src: url('../fonts/dejavu-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DejaVu Sans';
  src: url('../fonts/dejavu-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

.reg {
  background: #0a2737;          /* institutional navy */
  color: #f7f8f4;               /* mineral white */
  padding: 5.5rem 0;
  font-family: 'DejaVu Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.reg-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3.5rem;
  align-items: start;
}

/* Brand rule: the lockup sits on white, never on imagery or a dark ground. */
.reg-logo-card {
  background: #ffffff;
  border-radius: 3px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-logo-card img {
  width: 100%;
  height: auto;
}

.reg-standing {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(247, 248, 244, 0.6);
  margin: 1.5rem 0 0;
  max-width: 34ch;
  padding-left: 0.1rem;
}

.reg-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #7fb8b7;
  margin-bottom: 0.9rem;
}

.reg-title {
  font-family: 'DejaVu Sans', sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  font-weight: 700;
  line-height: 1.22;
  color: #f7f8f4;
  margin-bottom: 1.1rem;
}

.reg-lede {
  font-size: 0.97rem;
  line-height: 1.66;
  color: rgba(247, 248, 244, 0.84);
  margin-bottom: 1.7rem;
  max-width: 62ch;
}

.reg-disciplines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 1.8rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.7rem;
}

.reg-disciplines li {
  border-top: 2px solid #206c6b;   /* global teal */
  padding-top: 0.7rem;
}

.reg-disciplines strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: #f7f8f4;
  margin-bottom: 0.3rem;
}

.reg-disciplines span {
  font-size: 0.83rem;
  line-height: 1.5;
  color: rgba(247, 248, 244, 0.72);
}

.reg-partnership {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(247, 248, 244, 0.82);
  border-top: 1px solid rgba(247, 248, 244, 0.16);
  padding-top: 1.2rem;
  margin: 0;
}

.reg-badge {
  display: inline-block;
  background: #206c6b;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  margin-right: 0.6rem;
}

@media (max-width: 900px) {
  .reg {
    padding: 4rem 0;
  }

  .reg-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .reg-logo-card {
    max-width: 400px;
  }
}

/* Major partner tile in the ventures grid */
.partner--major {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  text-align: left;
  background: #ffffff;
  border: 1px solid rgba(7, 59, 34, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.partner--major img {
  width: 118px;
  height: auto;
  flex: 0 0 auto;
}

.partner-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.partner-flag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-gold-text);
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-forest);
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg img {
    animation: none;
  }

  .hero-scroll {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---- placed last so it wins over the hero rules above ---- */
/* Short desktop windows cannot fit a 205px masthead plus the hero stack, so the
   lockup steps down rather than pushing the stat row below the fold. The hero
   type is left alone: with the banner gone there is slack even at 820px. */
@media (min-width: 901px) and (max-height: 880px) {
  .nav {
    padding: 0.75rem 0;
  }

  .nav-logo-crest {
    height: 128px;
  }

  .nav-logo-words {
    height: 96px;
  }

  .hero {
    padding: 11rem 0 3rem;
  }

}
