:root {
  --forest: #0e2417;
  --forest-2: #173a26;
  --forest-3: #1f4a30;
  --cream: #f9f4e9;
  --cream-2: #f1ead8;
  --ink: #15231a;
  --gold: #c8963d;
  --gold-light: #e6c07d;
  --terracotta: #b8532f;
  --line: rgba(20, 40, 28, 0.12);
  --bg: var(--cream);
  --bg-2: var(--cream-2);
  --card: #ffffff;
  --fg: var(--ink);
  --fg-muted: #4a5a4d;
  --header-bg: rgba(249, 244, 233, 0.9);
  --display: "Roboto Condensed", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "Barlow Condensed", sans-serif;
  --serif: "Space Grotesk", sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0f1c15;
  --bg-2: #182a20;
  --card: #182a20;
  --fg: #eef2ec;
  --fg-muted: #a7b7ab;
  --line: rgba(249, 244, 233, 0.14);
  --header-bg: rgba(15, 28, 21, 0.85);
  color-scheme: dark;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  border: none;
}
html {
  scroll-behavior: smooth;
  transition: background 0.3s ease;
}
body {
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 26px;
  padding: 10px 28px;
  max-width: 1320px;
  min-height: 72px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
} /* ---------- TYPOGRAPHY SYSTEM ---------- */
/* Roboto Condensed = major display moments; Space Grotesk = headings/brand;
         Barlow Condensed = navigation/editorial labels; Inter = readable body copy. */
h1,
.hero h1,
.display-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
}
h2,
h3,
.logo-text,
.mobile-brand-name {
  font-family: "Space Grotesk", sans-serif;
}
nav,
.nav-links,
.nav-dropdown,
.eyebrow,
.section-head .eyebrow,
.nav-dropdown-label,
.nav-dropdown a,
.event-meta,
.exp-num {
  font-family: "Barlow Condensed", sans-serif;
}
body,
p,
.btn,
input,
textarea,
select {
  font-family: "Inter", sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--forest);
  color: wheat;
}
.btn-primary:hover {
  background: #0a1c11;
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--fg);
}
.btn-gold {
  background: var(--gold);
  color: var(--forest);
}
.btn-gold:hover {
  background: var(--gold-light);
}

.logo-mark {
  width: 250%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: visible;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.logo-text {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-width: 0;
}
.nav-links a {
  font-size: 1.02rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.025em;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}
.nav-links a.active::after {
  width: 100%;
}
.nav-links li {
  position: relative;
}
/* ---------- REFERENCE-STYLE DESKTOP DROPDOWNS ---------- */
.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.has-dropdown .caret {
  font-size: 0;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.has-dropdown .caret::before {
  content: "+";
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 400;
  transition: transform 0.25s ease;
}
.has-dropdown:hover .caret::before {
  transform: rotate(45deg);
}
.has-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -22px;
  right: -22px;
  height: 26px;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 260px;
  max-width: calc(100vw - 32px);
  background: rgba(249, 244, 233, 0.98);
  color: #17251b;
  border: 1px solid rgba(23, 37, 27, 0.1);
  border-radius: 0;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 40px rgba(20, 30, 22, 0.16);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  transition-delay: 0.08s;
  z-index: 250;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
.nav-dropdown-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nav-dropdown-label {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7b806f;
  padding: 4px 10px 11px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(23, 37, 27, 0.14);
}
.nav-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 46px;
  padding: 10px 10px;
  border-radius: 0;
  border-bottom: 1px solid rgba(23, 37, 27, 0.1);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: #27352b;
  line-height: 1.4;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    padding-left 0.18s ease;
}
.nav-dropdown a:last-child {
  border-bottom: none;
}
.nav-dropdown a::after {
  display: none;
}
.nav-dropdown a::before {
  content: "+";
  order: 2;
  flex: 0 0 auto;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  color: #6d745f;
  transition:
    transform 0.18s ease,
    color 0.18s ease;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.68);
  color: #0d2516;
  padding-left: 14px;
}
.nav-dropdown a:hover::before {
  color: #b8893c;
  transform: rotate(45deg);
}
.has-dropdown:nth-child(3) .nav-dropdown {
  width: 292px;
}
.nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}
.nav-cta .btn {
  font-size: 0.84rem;
  padding: 12px 20px;
}
.mobile-cta {
  display: none;
}
/* Mobile-only menu elements must stay hidden on desktop. */
.mobile-menu-brand,
.mobile-menu-foot {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle .toggle-africa {
  font-size: 1.3rem;
  color: var(--forest);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
/* Responsive Africa icon follows the active theme */
[data-theme="light"] .nav-toggle .toggle-africa {
  color: var(--forest);
}

[data-theme="dark"] .nav-toggle .toggle-africa {
  color: #f9f4e9 !important;
}

[data-theme="light"] .nav-toggle .bar {
  background: var(--forest);
}

[data-theme="dark"] .nav-toggle .bar {
  background: #f9f4e9 !important;
}

.nav-toggle .bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--forest);
  transform-origin: center;
  border-radius: 2px;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-toggle .bar.b1 {
  transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
}
.nav-toggle .bar.b2 {
  transform: translate(-50%, -50%) rotate(0deg) scale(0.5);
}
.nav-toggle.open .toggle-africa {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
.nav-toggle.open .bar {
  opacity: 1;
  z-index: 2;
}
.nav-toggle.open .bar.b1 {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}
.nav-toggle.open .bar.b2 {
  transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 210;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}
.theme-toggle:hover {
  background: var(--bg-2);
}
.theme-toggle i {
  position: absolute;
  font-size: 0.95rem;
  color: var(--fg);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    color 0.3s ease;
}
.theme-toggle .icon-moon {
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
}
.theme-toggle .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold);
}
[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: scale(0.4) rotate(90deg);
}
[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: var(--gold-light);
}

/* ---------- About page uses the exact index typography + color hierarchy ---------- */
.nav-links > li > a,
.nav-dropdown a {
  font-family: "Barlow Condensed", sans-serif;
}
.nav-links > li > a {
  color: var(--fg);
}
.nav-links .has-dropdown > a {
  color: var(--fg);
}
.nav-links .has-dropdown > a:hover {
  color: var(--fg);
}
.about-page .nav-links .about-active {
  color: var(--gold);
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
h1.page-head {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: 0.015em;
  font-size: clamp(42px, 6.4vw, 84px);
  max-width: 15ch;
  margin-bottom: 22px;
}
h2.section-head {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 22px;
}
p.lede {
  max-width: 680px;
  font-size: 18px;
  color: var(--ivory-dim);
}
p.body-copy {
  max-width: 680px;
  font-size: 16.5px;
  color: var(--ivory-dim);
  margin-bottom: 20px;
}
p.body-copy strong {
  color: var(--ivory);
  font-weight: 600;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
h1.page-head {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: 0.01em;
  font-size: clamp(42px, 6.4vw, 80px);
  max-width: 12ch;
}
p.lede {
  max-width: 320px;
  font-size: 15.5px;
  color: var(--fg-muted);
}

/* ---------- GALLERY HERO ---------- */
.gallery-hero {
  padding: 170px 0 56px;
}
.gallery-hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.gallery-hero-top .lede {
  padding-bottom: 10px;
  text-align: right;
}

/* ---------- BENTO GALLERY GRID ---------- */
.gallery {
  padding-bottom: 120px;
}

/* ---------- YEAR TABS ---------- */
.gallery-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.gallery-tab {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 26px;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.gallery-tab:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}
.gallery-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}
.gallery-year-panel {
  display: none;
}
.gallery-year-panel.active {
  display: block;
}

/* ---------- EMPTY YEAR STATE ---------- */
.gallery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 420px;
  padding: 60px 32px;
  border: 1.5px dashed var(--line);
  border-radius: 26px;
  background: var(--bg-2);
}
.gallery-empty-icon {
  position: relative;
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.gallery-empty-icon::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(200, 150, 61, 0.22) 0%,
    rgba(200, 150, 61, 0.06) 55%,
    transparent 75%
  );
  animation: emptyHaloPulse 3.2s ease-in-out infinite;
}
.gallery-empty-icon i {
  position: relative;
  z-index: 1;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gold);
  background: var(--card);
  border: 1px solid var(--line);
}
@keyframes emptyHaloPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}
.gallery-empty h3 {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--fg);
  margin-bottom: 12px;
}
.gallery-empty p {
  max-width: 420px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .gallery-empty-icon::before {
    animation: none;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 78px;
  grid-auto-flow: dense;
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg-2);
  box-shadow: 0 10px 30px rgba(14, 36, 23, 0.08);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 36, 23, 0) 55%,
    rgba(14, 36, 23, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item .g-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  z-index: 1;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}
.gallery-item:hover::after,
.gallery-item:hover .g-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SCROLL REVEAL ----------
         Fades and rises into place both scrolling down AND back up —
         the class toggles off once an item leaves the viewport, so it
         replays every time it re-enters instead of firing only once. */
.gallery-item.reveal {
  opacity: 0;
  transform: translateY(46px) scale(0.96);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.gallery-item.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Slight wave across each row so items don't all land at once */
.gallery-item:nth-child(6n + 1) {
  --reveal-delay: 0s;
}
.gallery-item:nth-child(6n + 2) {
  --reveal-delay: 0.06s;
}
.gallery-item:nth-child(6n + 3) {
  --reveal-delay: 0.12s;
}
.gallery-item:nth-child(6n + 4) {
  --reveal-delay: 0.18s;
}
.gallery-item:nth-child(6n + 5) {
  --reveal-delay: 0.24s;
}
.gallery-item:nth-child(6n + 6) {
  --reveal-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- SIZE-BY-IMAGE-SHAPE ----------
         Instead of assigning spans by position (nth-child), each tile gets
         a gs-* class from JS once its image's natural width/height is known,
         based on its aspect ratio. This keeps the bento feel while making
         wide photos wide, tall photos tall, and square photos square. */
.gallery-item.gs-square {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item.gs-landscape {
  grid-column: span 3;
  grid-row: span 2;
}
.gallery-item.gs-wide {
  grid-column: span 4;
  grid-row: span 2;
}
.gallery-item.gs-portrait {
  grid-column: span 2;
  grid-row: span 3;
}
.gallery-item.gs-tall {
  grid-column: span 2;
  grid-row: span 4;
}

/* =========================================================
       MOBILE NAVIGATION — same responsive behavior as index page
       ========================================================= */
@media (max-width: 980px) {
  header {
    position: static;
    backdrop-filter: none;
  }
  nav {
    padding: 8px 20px;
    column-gap: 14px;
    min-height: 64px;
  }

  .logo-mark {
    width: 230%;
  }

  .nav-toggle {
    display: flex;
    z-index: 210;
  }

  .nav-cta {
    gap: 0;
  }

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

  /* Full-screen mobile drawer */
  #navLinks {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    padding: 88px 28px 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease,
      visibility 0.4s ease;
    z-index: 200;
  }

  #navLinks.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  #navLinks li {
    position: static;
    width: 100%;
  }

  #navLinks > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 2px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--hairline);
  }

  #navLinks > li > a.active {
    color: var(--gold);
  }

  .has-dropdown::before {
    display: none;
  }

  /* Dropdowns open/close when their parent is tapped */
  #navLinks .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  #navLinks .has-dropdown.expanded .nav-dropdown {
    grid-template-rows: 1fr;
  }

  #navLinks .nav-dropdown-inner {
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  #navLinks .nav-dropdown-label {
    padding: 14px 2px 6px;
    color: var(--fg-muted);
    border-bottom-color: var(--hairline);
  }

  #navLinks .nav-dropdown a {
    color: var(--fg);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--hairline);
    padding: 9px 2px 9px 6px;
  }

  #navLinks .nav-dropdown a:hover {
    background: transparent;
    color: var(--gold);
  }

  .has-dropdown .caret {
    display: block;
    color: var(--gold);
    transition: transform 0.3s ease;
  }

  .has-dropdown.expanded .caret {
    transform: rotate(180deg);
    color: var(--gold-bright);
  }

  /* Mobile menu brand */
  .mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--hairline);
  }

  .mobile-menu-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
  }

  .mobile-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-brand-name {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fg);
  }

  .mobile-brand-tagline {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
  }

  .mobile-brand-tagline b:nth-child(2) {
    color: #d3a14a;
    font-weight: 700;
  }

  .mobile-cta {
    display: block !important;
    margin: 20px 0 8px;
  }

  .mobile-theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    background: transparent;
    color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition:
      border-color 0.3s ease,
      background 0.3s ease,
      color 0.3s ease;
  }

  .mobile-theme-toggle:hover {
    background: var(--bg-2);
  }

  .mobile-theme-toggle i {
    position: absolute;
    font-size: 0.95rem;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .mobile-theme-toggle .icon-moon {
    opacity: 0;
    transform: scale(0.4) rotate(-90deg);
  }

  [data-theme="dark"] .mobile-theme-toggle .icon-sun {
    opacity: 0;
    transform: scale(0.4) rotate(90deg);
  }

  [data-theme="dark"] .mobile-theme-toggle .icon-moon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: var(--gold-light);
  }

  .mobile-theme-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 10px 0 8px;
    padding: 12px 0;
    color: var(--fg);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
  }

  .mobile-theme-toggle {
    display: flex !important;
    width: 42px;
    height: 42px;
    position: relative;
    flex-shrink: 0;
    z-index: 2;
  }

  .mobile-theme-toggle i {
    position: absolute;
  }

  .mobile-theme-label {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-muted);
  }

  .mobile-menu-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
  }

  .mmf-mark img {
    width: 32px;
    height: 32px;
    object-fit: contain;
  }

  .mmf-links {
    display: flex;
    gap: 10px;
  }

  .mmf-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg);
  }
}

@media (max-width: 600px) {
  .gallery-hero {
    padding: 140px 0 40px;
  }
  .gallery-hero-top {
    align-items: flex-start;
  }
  .gallery-hero-top .lede {
    text-align: left;
    padding-bottom: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 12px;
  }
  .gallery-item.gs-square {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item.gs-landscape,
  .gallery-item.gs-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-item.gs-portrait,
  .gallery-item.gs-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: 56px 0 28px;
}
.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer-logo img {
  height: 90px;
  width: auto;
}
.footer-text p {
  color: rgba(249, 244, 233, 0.72);
  font-size: 14px;
  margin: 4px 0;
}
.footer-powered a {
  color: var(--gold-light);
}
.footer-powered a:hover {
  text-decoration: underline;
}
