/* ==========================================================================
   The Royal Palace of Benin — Design System
   Regal · Premium · Cultural · Modern
   ========================================================================== */

:root {
  /* Core palette */
  --burgundy-900: #2A0409;
  --burgundy-800: #430810;
  --burgundy-700: #5E0D18;
  --burgundy-600: #7A1220;
  --gold-500: #C9A227;
  --gold-400: #D9B84A;
  --gold-300: #E7CE84;
  --charcoal-900: #0F0C0A;
  --charcoal-800: #17130F;
  --charcoal-700: #241D18;
  --ivory: #FAF5EC;
  --ivory-dim: #F1E9DA;
  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--ivory);
  --bg-elev: var(--white);
  --ink: #1A1512;
  --ink-soft: #5B5148;
  --line: rgba(26, 21, 18, 0.12);
  --line-gold: rgba(201, 162, 39, 0.35);

  --grad-royal: linear-gradient(135deg, var(--burgundy-800) 0%, var(--burgundy-600) 55%, var(--burgundy-900) 100%);
  --grad-gold: linear-gradient(100deg, var(--gold-500), var(--gold-300) 45%, var(--gold-500));
  --grad-veil: linear-gradient(180deg, rgba(15, 12, 10, .15) 0%, rgba(15, 12, 10, .55) 45%, rgba(15, 12, 10, .92) 100%);

  --shadow-sm: 0 2px 10px rgba(26, 8, 12, 0.08);
  --shadow-md: 0 18px 40px -22px rgba(42, 4, 9, 0.45);
  --shadow-lg: 0 40px 90px -40px rgba(42, 4, 9, 0.6);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shell: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
  padding: 0;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

/* ---------- Layout ---------- */
.shell {
  width: min(100% - (var(--gut) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 9vw, 8.5rem) 0;
  position: relative;
}

.section--tight {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.section--ink {
  background: var(--charcoal-900);
  color: var(--ivory);
}

.section--royal {
  background: var(--grad-royal);
  color: var(--ivory);
}

.section--cream {
  background: var(--ivory-dim);
}

.grid {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2rem);
}

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

.g3 {
  grid-template-columns: repeat(3, 1fr);
}

.g4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {

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

@media (max-width: 640px) {

  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Typographic atoms ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--grad-gold);
}

.eyebrow--center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--grad-gold);
}

.section--ink .eyebrow,
.section--royal .eyebrow {
  color: var(--gold-300);
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.section--ink .lede,
.section--royal .lede,
.hero .lede {
  color: rgba(250, 245, 236, .78);
}

.head {
  max-width: 66ch;
}

.head--center {
  margin-inline: auto;
  text-align: center;
}

.head h2 {
  margin: 1rem 0 1rem;
}

.rule {
  width: 64px;
  height: 2px;
  background: var(--grad-gold);
  margin: 1.25rem 0;
}

.head--center .rule {
  margin-inline: auto;
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.9rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: var(--grad-gold);
  color: var(--charcoal-900);
  box-shadow: var(--shadow-md);
}

.btn--gold:hover {
  box-shadow: 0 22px 45px -20px rgba(201, 162, 39, .7);
}

.btn--royal {
  background: var(--burgundy-700);
  color: var(--ivory);
}

.btn--royal:hover {
  background: var(--burgundy-800);
}

.btn--ghost {
  border-color: rgba(250, 245, 236, .4);
  color: var(--ivory);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  border-color: var(--gold-500);
  color: var(--gold-300);
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--burgundy-700);
  color: var(--burgundy-700);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--burgundy-700);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: .35rem;
  transition: gap .3s var(--ease), color .3s var(--ease);
}

.textlink:hover {
  gap: .95rem;
  color: var(--gold-500);
}

.section--ink .textlink,
.section--royal .textlink {
  color: var(--gold-300);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
  padding: .85rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav--float {
  background: transparent;
}

.nav--solid {
  background: rgba(15, 12, 10, .92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(201, 162, 39, .22), 0 18px 40px -32px rgba(0, 0, 0, .9);
  padding: .5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--ivory);
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-gold);
  color: var(--burgundy-900);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text b {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.brand__text span {
  font-size: .6rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.nav__links a {
  position: relative;
  padding: .6rem .85rem;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, .82);
  transition: color .3s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .38rem;
  height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ivory);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  margin-left: .6rem;
  padding: .7rem 1.15rem !important;
  border-radius: 999px;
  background: var(--grad-gold);
  color: var(--charcoal-900) !important;
  font-weight: 700 !important;
  letter-spacing: .12em;
  white-space: nowrap;
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  filter: brightness(1.08);
}

.burger {
  display: none;
  width: 46px;
  height: 40px;
  border: 1px solid rgba(250, 245, 236, .32);
  background: rgba(15, 12, 10, .35);
  border-radius: var(--radius);
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}

.burger span:nth-child(1) {
  top: 13px;
}

.burger span:nth-child(2) {
  top: 19px;
}

.burger span:nth-child(3) {
  top: 25px;
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: var(--charcoal-900);
  padding: 6.5rem var(--gut) 2.5rem;
  display: grid;
  align-content: start;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y: auto;
}

body.menu-open .drawer {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drawer a {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ivory);
  padding: .55rem 0;
  border-bottom: 1px solid rgba(250, 245, 236, .09);
}

.drawer a[aria-current="page"] {
  color: var(--gold-300);
}

.drawer .btn {
  margin-top: 1.5rem;
}

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
  padding: 9rem 0 5rem;
  background: var(--charcoal-900);
}

.hero__media {
  position: absolute;
  inset: -8% 0 0;
}

.hero__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 15% 25%, rgba(94, 13, 24, .55), transparent 60%),
    linear-gradient(105deg, rgba(15, 12, 10, .94) 0%, rgba(15, 12, 10, .78) 42%, rgba(15, 12, 10, .35) 75%, rgba(15, 12, 10, .7) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 62rem;
}

.hero h1 {
  margin: 1.4rem 0 1.5rem;
}

.hero h1 em {
  font-style: normal;
  display: block;
}

.hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  max-width: 46rem;
}

.hero .btn-row {
  margin-top: 2.4rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 3;
  transform: translateX(-50%);
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, .6);
  display: grid;
  justify-items: center;
  gap: .6rem;
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold-500), transparent);
  animation: drop 2.4s var(--ease) infinite;
}

@keyframes drop {
  0% {
    transform: scaleY(.2);
    transform-origin: top;
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 0;
  }
}

/* Hero marquee of royal attributes */
.ticker {
  position: relative;
  z-index: 2;
  margin-top: 3.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 162, 39, .28);
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2.6rem;
}

.ticker div {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.ticker b {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-300);
  font-weight: 600;
}

.ticker span {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, .72);
}

/* Page hero (interior) */
.phero {
  position: relative;
  color: var(--ivory);
  padding: 12rem 0 5.5rem;
  overflow: hidden;
  background: var(--charcoal-900);
}

.phero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
}

.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 12, 10, .8), rgba(42, 4, 9, .85));
}

.phero__inner {
  position: relative;
  z-index: 2;
  max-width: 56rem;
}

.phero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin: 1.1rem 0 1.2rem;
}

.crumbs {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, .55);
}

.crumbs a:hover {
  color: var(--gold-300);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  position: relative;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--grad-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}

.card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.card__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .12em;
  color: var(--gold-500);
  display: block;
  margin-bottom: .9rem;
}

.card h3 {
  margin-bottom: .6rem;
}

.card p {
  color: var(--ink-soft);
  font-size: .95rem;
}

.section--ink .card,
.section--royal .card {
  background: rgba(255, 255, 255, .045);
  border-color: rgba(201, 162, 39, .2);
  color: var(--ivory);
}

.section--ink .card p,
.section--royal .card p {
  color: rgba(250, 245, 236, .72);
}

/* Media card */
.mcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  background: var(--charcoal-800);
}

.mcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}

.mcard:hover img {
  transform: scale(1.07);
}

.mcard__body {
  position: absolute;
  inset: auto 0 0;
  padding: 1.6rem;
  background: var(--grad-veil);
  color: var(--ivory);
}

.mcard__body h3 {
  font-size: 1.35rem;
  margin-bottom: .35rem;
}

.mcard__body p {
  font-size: .88rem;
  color: rgba(250, 245, 236, .78);
}

.mcard__tag {
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--flip .split__media {
  order: 2;
}

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

  .split--flip .split__media {
    order: 0;
  }
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.split__badge {
  position: absolute;
  right: -1rem;
  bottom: -1.4rem;
  background: var(--grad-royal);
  color: var(--ivory);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 162, 39, .4);
  max-width: 15rem;
}

.split__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-300);
}

.split__badge span {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
}

.split__body p+p {
  margin-top: 1rem;
}

.split__body .btn-row {
  margin-top: 2rem;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: .5rem;
  bottom: .5rem;
  width: 1px;
  background: linear-gradient(var(--gold-500), rgba(201, 162, 39, .08));
}

.tl {
  position: relative;
  padding: 0 0 2.4rem 3.2rem;
}

.tl::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .45rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--burgundy-700);
  border: 2px solid var(--gold-500);
}

.tl__year {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.tl h3 {
  margin: .45rem 0 .5rem;
  font-size: 1.4rem;
}

.tl p {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 60ch;
}

.section--ink .tl p,
.section--royal .tl p {
  color: rgba(250, 245, 236, .72);
}

/* ---------- Anniversary specifics ---------- */
.anniv-band {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-900);
  color: var(--ivory);
}

.anniv-band__bg {
  position: absolute;
  inset: 0;
}

.anniv-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
}

.anniv-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(42, 4, 9, .95) 5%, rgba(42, 4, 9, .7) 45%, rgba(15, 12, 10, .55));
}

.anniv-band .shell {
  position: relative;
  z-index: 2;
}

.anniv-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.anniv-emblem {
  position: relative;
  justify-self: center;
  max-width: 420px;
}

.anniv-emblem img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  border: 1px solid rgba(201, 162, 39, .45);
}

.anniv-emblem::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .3);
  animation: spinhalo 26s linear infinite;
}

@keyframes spinhalo {
  to {
    transform: rotate(360deg);
  }
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 0;
}

.countdown div {
  min-width: 5.4rem;
  padding: .95rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(201, 162, 39, .3);
}

.countdown b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-300);
  line-height: 1;
}

.countdown span {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, .65);
}

.royal-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
  color: var(--gold-300);
  font-style: italic;
}

/* Event schedule */
.event {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.5rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--line);
  transition: background .4s var(--ease);
}

.event:last-child {
  border-bottom: 1px solid var(--line);
}

.event:hover {
  background: rgba(201, 162, 39, .06);
}

.event__date {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--burgundy-700);
  line-height: 1.2;
}

.event__date span {
  display: block;
  font-family: var(--font-body);
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: .4rem;
}

.event h3 {
  font-size: 1.5rem;
  margin-bottom: .3rem;
}

.event__venue {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .7rem;
}

.event p {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 68ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .95rem;
}

.tags span {
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .34rem .7rem;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--burgundy-700);
  background: rgba(201, 162, 39, .07);
}

@media (max-width: 720px) {
  .event {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
}

/* Accordion */
.acc {
  border-top: 1px solid var(--line);
}

.acc__item {
  border-bottom: 1px solid var(--line);
}

.acc__btn {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.5rem 3rem 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: inherit;
  position: relative;
}

.acc__btn::after {
  content: "+";
  position: absolute;
  right: .4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-500);
  font-size: 1.5rem;
  transition: transform .35s var(--ease);
}

.acc__item.open .acc__btn::after {
  content: "−";
}

.acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}

.acc__panel p {
  padding-bottom: 1.6rem;
  color: var(--ink-soft);
  max-width: 74ch;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201, 162, 39, .25);
  border: 1px solid rgba(201, 162, 39, .25);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats div {
  background: var(--charcoal-900);
  padding: 2.2rem 1.4rem;
  text-align: center;
}

.section--cream .stats div,
.section--light .stats div {
  background: var(--bg-elev);
}

.stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-500);
  line-height: 1;
}

.stats span {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section--ink .stats span,
.section--royal .stats span {
  color: rgba(250, 245, 236, .66);
}

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

/* Gallery */
.masonry {
  columns: 3;
  column-gap: 1.1rem;
}

@media (max-width: 900px) {
  .masonry {
    columns: 2;
  }
}

@media (max-width: 560px) {
  .masonry {
    columns: 1;
  }
}

.masonry figure {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.masonry img {
  width: 100%;
  transition: transform 1s var(--ease), filter .6s var(--ease);
}

.masonry figure:hover img {
  transform: scale(1.06);
}

.masonry figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.4rem 1.2rem .95rem;
  color: var(--ivory);
  background: var(--grad-veil);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.masonry figure:hover figcaption {
  opacity: 1;
  transform: none;
}

/* Chiefs */
.person {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

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

.person img {
  width: 100%;
  aspect-ratio: 1/1.12;
  object-fit: cover;
}

.person__body {
  padding: 1.5rem;
}

.person__role {
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.person h3 {
  font-size: 1.35rem;
  margin: .5rem 0 .2rem;
}

.person__title {
  font-size: .78rem;
  color: var(--burgundy-700);
  letter-spacing: .08em;
  margin-bottom: .8rem;
}

.person p {
  font-size: .9rem;
  color: var(--ink-soft);
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: .45rem;
}

.field label {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: .95rem;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  width: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, .16);
}

.form__note {
  font-size: .82rem;
  color: var(--ink-soft);
}

.form__ok {
  display: none;
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(201, 162, 39, .12);
  border: 1px solid var(--line-gold);
  font-size: .9rem;
}

.form__ok.show {
  display: block;
}

/* Info list */
.infolist {
  display: grid;
  gap: .85rem;
}

.infolist li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--ink-soft);
}

.infolist li::before {
  content: "◆";
  color: var(--gold-500);
  font-size: .6rem;
  line-height: 1.9;
}

.section--ink .infolist li,
.section--royal .infolist li {
  color: rgba(250, 245, 236, .78);
}

/* Notice / announcements */
.notice {
  display: grid;
  gap: .35rem;
  padding: 1.35rem 1.5rem;
  border-left: 2px solid var(--gold-500);
  background: var(--bg-elev);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.notice time {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.notice h3 {
  font-size: 1.2rem;
}

.notice p {
  font-size: .92rem;
  color: var(--ink-soft);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 4, 9, .9), rgba(15, 12, 10, .95));
}

.cta-band .shell {
  position: relative;
  z-index: 2;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--charcoal-900);
  color: rgba(250, 245, 236, .72);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

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

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

.footer h4 {
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1.1rem;
}

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

.footer li {
  margin-bottom: .55rem;
  font-size: .92rem;
}

.footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(250, 245, 236, .85);
  margin-top: 1rem;
}

.socials {
  display: flex;
  gap: .6rem;
  margin-top: 1.1rem;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .35);
  font-size: .7rem;
  letter-spacing: .05em;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}

.socials a:hover {
  background: var(--grad-gold);
  color: var(--charcoal-900);
  transform: translateY(-3px);
}

.footer__base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 245, 236, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(250, 245, 236, .55);
}

.footer__base b {
  color: var(--gold-300);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .68rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

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

.reveal[data-d="1"] {
  transition-delay: .08s;
}

.reveal[data-d="2"] {
  transition-delay: .16s;
}

.reveal[data-d="3"] {
  transition-delay: .24s;
}

.reveal[data-d="4"] {
  transition-delay: .32s;
}

.reveal[data-d="5"] {
  transition-delay: .4s;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

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

  html {
    scroll-behavior: auto;
  }
}
/* ---------------------------------------------------------------
 * Additive styles for dynamic Gallery: category filter + lightbox
 * (Appended — does not modify any existing rule above.)
 * ------------------------------------------------------------- */
.gallery-filters .btn.is-active {
  background: var(--gold, #b8935a);
  color: var(--ink, #1a1a1a);
  border-color: var(--gold, #b8935a);
}
.masonry figure[hidden] { display: none; }
.masonry figure { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 6, 0.92);
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  margin: 0;
  text-align: center;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox figcaption {
  color: #f2e9dc;
  margin-top: 1rem;
  font-family: inherit;
  letter-spacing: .02em;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #f2e9dc;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.12); }

/* Contact form status message (AJAX submission) */
.form__error {
  display: none;
  color: #b23b3b;
  margin-top: .8rem;
  font-size: .95rem;
}
.form__error.show { display: block; }
