/* ============================================================
   XMAS@OROGUN — 10th Anniversary
   style.css
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --clr-bg:           #0F0E0C;
  --clr-bg-2:         #1C1816;
  --clr-bg-3:         #252018;
  --clr-gold:         #D4AF37;
  --clr-gold-muted:   #C9A84C;
  --clr-gold-dim:     rgba(212, 175, 55, 0.12);
  --clr-gold-border:  rgba(212, 175, 55, 0.2);
  --clr-text:         #FAF6F0;
  --clr-text-muted:   #9A8E80;
  --clr-text-dim:     #5A5048;
  --clr-white:        #FFFFFF;
  --clr-whatsapp:     #25D366;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Layout */
  --container-max: 1360px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  /* Transitions */
  --ease-fast:   0.15s ease;
  --ease-base:   0.3s ease;
  --ease-slow:   0.65s cubic-bezier(0.16, 1, 0.3, 1);

  /* Gallery */
  --gallery-row-h: 290px;
  --gallery-gap:   5px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--clr-gold-muted) var(--clr-bg);
  scrollbar-width: thin;
}

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* iPhone safe areas */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-pad);
}

/* ============================================================
   3. TYPOGRAPHY UTILITIES
   ============================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 55ch;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--ease-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-gold);
  color: var(--clr-bg);
}
.btn--primary:hover {
  background: #e8c94a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid rgba(250, 246, 240, 0.25);
}
.btn--ghost:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}

.btn--outline {
  background: transparent;
  color: var(--clr-gold);
  border: 1px solid var(--clr-gold-border);
}
.btn--outline:hover {
  background: var(--clr-gold);
  color: var(--clr-bg);
  border-color: var(--clr-gold);
}

/* ============================================================
   5. SECTION DIVIDER
   ============================================================ */
.section-divider {
  height: 28px;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
.section-divider svg {
  width: 100%;
  height: 28px;
  display: block;
}

/* ============================================================
   6. SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up:nth-child(2) { transition-delay: 80ms; }
.fade-in-up:nth-child(3) { transition-delay: 160ms; }
.fade-in-up:nth-child(4) { transition-delay: 240ms; }
.fade-in-up:nth-child(5) { transition-delay: 320ms; }

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem var(--container-pad);
  transition: background var(--ease-base), border-color var(--ease-base), backdrop-filter var(--ease-base);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(15, 14, 12, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--clr-gold-border);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__brand-star { color: var(--clr-gold); font-size: 0.7em; }
.nav__brand-at   { color: var(--clr-gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  transition: color var(--ease-fast);
}
.nav__links a:hover { color: var(--clr-text); }

.nav__cta {
  padding: 0.45rem 1.1rem !important;
  border: 1px solid var(--clr-gold-border) !important;
  color: var(--clr-gold) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--ease-fast), color var(--ease-fast) !important;
}
.nav__cta:hover {
  background: var(--clr-gold) !important;
  color: var(--clr-bg) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-text);
  transition: transform var(--ease-base), opacity var(--ease-base);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile-menu {
  background: rgba(15, 14, 12, 0.97);
  border-top: 1px solid var(--clr-gold-border);
  padding: 1.5rem var(--container-pad);
  margin-top: 1rem;
}
.nav__mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.nav__mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  letter-spacing: 0.05em;
  transition: color var(--ease-fast);
}
.nav__mobile-menu a:hover { color: var(--clr-gold); }

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 14, 12, 0.2)  0%,
    rgba(15, 14, 12, 0.05) 25%,
    rgba(15, 14, 12, 0.45) 65%,
    rgba(15, 14, 12, 0.97) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 7rem var(--container-pad) 5rem;
  max-width: 100%;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--clr-gold-border);
  background: rgba(212, 175, 55, 0.06);
}
.hero__badge-roman {
  font-family: var(--font-accent);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--clr-gold);
  line-height: 1;
  letter-spacing: 0.25em;
}
.hero__badge-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-gold-muted);
  margin-top: 0.4rem;
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-gold-muted);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}
.hero__title-at { color: var(--clr-gold); }

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  color: var(--clr-text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.hero__date {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--clr-gold);
  margin-bottom: 2.75rem;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
  pointer-events: none;
}
.hero__scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clr-gold);
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7) translateY(-4px); }
  50%       { opacity: 1;    transform: scaleY(1)   translateY(0); }
}

/* ============================================================
   9. STATS
   ============================================================ */
.stats {
  background: var(--clr-bg-2);
  padding: var(--space-lg) 0;
  position: relative;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  border-right: 1px solid var(--clr-gold-border);
}
.stats__item:last-child { border-right: none; }

.stats__number {
  display: block;
  font-family: var(--font-accent);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300;
  color: var(--clr-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stats__item--featured .stats__number {
  font-size: clamp(3.75rem, 7vw, 7rem);
  color: var(--clr-text);
}

.stats__unit {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-top: 0.6rem;
}

.stats__label {
  display: block;
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ============================================================
   10. GALLERY SECTION
   ============================================================ */
.gallery-section {
  padding: var(--space-lg) 0 var(--space-xl);
}

.section-header {
  margin-bottom: 2.5rem;
}

/* Filter tabs */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  border: 1px solid var(--clr-gold-border);
  background: transparent;
  color: var(--clr-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--ease-fast);
}
.filter-btn:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.filter-btn.is-active {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-bg);
  font-weight: 600;
}

.filter-count {
  font-size: 0.72rem;
  opacity: 0.65;
}

/* Gallery grid */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gallery-gap);
  align-items: flex-start;
}

/* Gallery items */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--clr-bg-3);
  flex-grow: 1;
  flex-shrink: 1;
  height: var(--gallery-row-h);
  /* flex-basis set by JS */
}
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.045);
}

/* Hover overlay */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, 0);
  transition: background var(--ease-base);
  pointer-events: none;
}
.gallery-item:hover .gallery-item__overlay {
  background: rgba(15, 14, 12, 0.32);
}

/* Per-item WhatsApp share button */
.gallery-item__share {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clr-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity var(--ease-fast), transform var(--ease-fast);
  z-index: 10;
  pointer-events: all;
  border: none;
}
.gallery-item:hover .gallery-item__share {
  opacity: 1;
  transform: scale(1);
}
.gallery-item__share svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Video play icon */
.gallery-item__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}
.gallery-item__play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ease-base), background var(--ease-base);
}
.gallery-item:hover .gallery-item__play-icon {
  transform: scale(1.12);
  background: var(--clr-gold);
}

/* End-of-row spacer */
.gallery-row-end {
  flex-grow: 999999;
  flex-basis: 0;
  height: 0;
  overflow: hidden;
}

/* Load more */
.gallery-load-more {
  text-align: center;
  margin-top: 3rem;
}
#load-more-remaining {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-left: 0.25rem;
}

/* ============================================================
   11. GLIGHTBOX OVERRIDES
   ============================================================ */
.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  background: rgba(15, 14, 12, 0.65);
  border: 1px solid var(--clr-gold-border);
  border-radius: 50%;
  transition: background var(--ease-fast);
}
.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
  background: rgba(212, 175, 55, 0.18);
}
.glightbox-clean .gclose svg path,
.glightbox-clean .gnext svg path,
.glightbox-clean .gprev svg path {
  fill: var(--clr-gold);
}
.glightbox-clean .goverlay {
  background: rgba(8, 7, 6, 0.97);
}

/* Share button inside lightbox */
.glightbox-share-btn {
  position: fixed;
  bottom: max(1.75rem, env(safe-area-inset-bottom, 0.5rem));
  right: 1.75rem;
  z-index: 9999;
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.glightbox-share-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}
.glightbox-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   12. ABOUT SECTIONS
   ============================================================ */
.about-section {
  padding: var(--space-xl) 0;
  position: relative;
}
.about-section--dark  { background: var(--clr-bg-2); }
.about-section--light { background: var(--clr-bg); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.about-inner--reversed {
  direction: rtl;
}
.about-inner--reversed > * { direction: ltr; }

/* Portrait */
.portrait-wrap {
  position: relative;
}
.portrait-frame {
  position: relative;
}
.portrait-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.portrait-accent {
  position: absolute;
  top: -14px;
  left: -14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid var(--clr-gold-border);
  pointer-events: none;
  z-index: -1;
}

.portrait-caption {
  margin-top: 1.5rem;
  text-align: center;
}
.portrait-caption__role {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 0.4rem;
}
.portrait-caption__company {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-gold);
  transition: opacity var(--ease-fast);
}
.portrait-caption__company:hover { opacity: 0.75; }
.portrait-caption__company svg {
  width: 12px;
  height: 12px;
  opacity: 0.65;
}

/* About text */
.about-text__body p {
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 1.2rem;
  font-size: 0.975rem;
}
.about-text__body p:last-child { margin-bottom: 0; }

.about-quote {
  margin-top: 2rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--clr-gold);
}
.about-quote p {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 300;
  font-style: italic;
  color: var(--clr-text);
  line-height: 1.55;
}

/* Orogun fact pills */
.fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}
.fact-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid var(--clr-gold-border);
  background: rgba(212, 175, 55, 0.04);
  min-width: 90px;
}
.fact-pill__label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.15rem;
}
.fact-pill__value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
}

/* Mosaic */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  aspect-ratio: 1 / 1;
}
.mosaic-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mosaic-img--tall { grid-row: 1 / 3; }

/* ============================================================
   13. NEXT EVENT
   ============================================================ */
.next-event {
  padding: var(--space-xl) 0;
  background: var(--clr-bg-2);
  position: relative;
  overflow: hidden;
}
.next-event::before {
  content: 'XI';
  position: absolute;
  top: 50%;
  right: -1%;
  transform: translateY(-50%);
  font-family: var(--font-accent);
  font-size: clamp(14rem, 24vw, 30rem);
  font-weight: 300;
  color: rgba(212, 175, 55, 0.035);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.next-event__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.anniversary-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  border: 1px solid var(--clr-gold-border);
  background: rgba(212, 175, 55, 0.05);
  min-width: 130px;
  flex-shrink: 0;
}
.anniversary-badge__roman {
  font-family: var(--font-accent);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--clr-gold);
  line-height: 1;
  letter-spacing: 0.1em;
}
.anniversary-badge__year {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--clr-text-muted);
  margin-top: 0.5rem;
}

.next-event__desc {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.next-event__details {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}
.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--clr-text-muted);
  font-size: 0.92rem;
}
.detail-item__icon { font-size: 1.1rem; }

.next-event__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: #0A0906;
  padding: var(--space-lg) 0 var(--space-md);
  border-top: 1px solid var(--clr-gold-border);
}

.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(90, 80, 72, 0.3);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.footer__brand-name span { color: var(--clr-gold); }

.footer__brand-tagline {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--clr-text-muted);
  margin-bottom: 0.35rem;
}

.footer__brand-sub {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
  letter-spacing: 0.06em;
}

.footer__links nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__links a {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  letter-spacing: 0.04em;
  transition: color var(--ease-fast);
}
.footer__links a:hover { color: var(--clr-gold); }

.footer__sponsor-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  margin-bottom: 0.5rem;
}
.footer__sponsor-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--clr-gold);
  margin-bottom: 0.4rem;
  transition: opacity var(--ease-fast);
}
.footer__sponsor-link:hover { opacity: 0.75; }
.footer__sponsor-tagline {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--clr-text-dim);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--clr-text-dim);
}
.footer__credit {
  font-size: 0.75rem;
  color: var(--clr-text-dim);
  letter-spacing: 0.04em;
}
.footer__credit a {
  color: var(--clr-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}
.footer__credit a:hover {
  color: var(--clr-gold-muted);
  text-decoration: underline;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 500;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  border: 1px solid var(--clr-gold-border);
  background: rgba(15, 14, 12, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--ease-base), transform var(--ease-base);
}
#back-to-top.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--clr-gold);
  color: var(--clr-bg);
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --gallery-row-h: 200px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(1),
  .stats__item:nth-child(2) {
    border-bottom: 1px solid var(--clr-gold-border);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-inner--reversed { direction: ltr; }

  .portrait-img { aspect-ratio: 16 / 9; }

  .next-event__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .anniversary-badge { margin: 0 auto; }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --gallery-row-h: 160px;
    --gallery-gap: 4px;
    --space-xl: 4rem;
  }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__content { padding-top: 8rem; padding-bottom: 5rem; }

  .hero__title {
    font-size: clamp(2.5rem, 8.5vw, 4.5rem);
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero__badge { padding: 0.75rem 1.5rem; margin-bottom: 1.75rem; }
  .hero__badge-roman { font-size: 2.25rem; }
  .hero__eyebrow { font-size: 0.62rem; letter-spacing: 0.18em; }
  .hero__subtitle { font-size: 1rem; }
  .hero__date { font-size: 0.7rem; margin-bottom: 2rem; }

  .stats__grid { grid-template-columns: 1fr 1fr; }

  .gallery-filters { gap: 0.4rem; }
  .filter-btn { padding: 0.4rem 0.85rem; font-size: 0.78rem; }

  /* Make gallery items show share btn on mobile (no hover) */
  .gallery-item__share {
    opacity: 0.85;
    transform: scale(0.85);
  }

  /* Smaller video play icon on mobile */
  .gallery-item__play-icon { width: 38px; height: 38px; }
  .gallery-item__play-icon svg { width: 15px; height: 15px; }

  .about-inner { gap: 2.5rem; }
  .about-text__body p { font-size: 0.92rem; line-height: 1.75; }
  .about-quote p { font-size: 1.1rem; }
  .portrait-accent { top: -8px; left: -8px; right: 8px; bottom: 8px; }

  .photo-mosaic { aspect-ratio: auto; }
  .mosaic-img--tall { grid-row: auto; }

  .fact-pills { gap: 0.5rem; }
  .fact-pill { min-width: 75px; padding: 0.4rem 0.8rem; }

  .next-event__inner { text-align: center; }
  .next-event__desc { margin-inline: auto; }
  .next-event__details { align-items: center; }
  .next-event__actions { flex-direction: column; }
  .next-event__actions .btn { width: 100%; }

  .footer__main { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__credit { align-self: flex-end; text-align: right; }

  #back-to-top { bottom: 1.25rem; left: 1.25rem; padding: 0.45rem 0.75rem; font-size: 0.68rem; }
}

/* Small mobile (iPhone SE, etc.) */
@media (max-width: 480px) {
  :root {
    --gallery-row-h: 130px;
    --gallery-gap: 3px;
    --space-xl: 3rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 8vw, 3.5rem);
    white-space: nowrap;
  }

  .hero__badge-roman { font-size: 1.75rem; }
  .hero__badge-label { font-size: 0.55rem; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item { padding: 1.25rem 0.75rem; }
  .stats__number { font-size: clamp(2.5rem, 10vw, 3.5rem); }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-eyebrow { font-size: 0.65rem; letter-spacing: 0.2em; }

  .gallery-filters { justify-content: center; }

  .portrait-img { aspect-ratio: 4 / 3; }

  .anniversary-badge { padding: 1.25rem 1.25rem; min-width: 100px; }
  .anniversary-badge__roman { font-size: 3rem; }
}
