/* ==========================================================================
   Duruawuzie na Nwahia — Kindred Cultural Day
   Design system: warm earth palette, uli-inspired accents, generous type
   ========================================================================== */

:root {
  --cream: #fbf4e7;
  --cream-2: #f4e7d1;
  --paper: #fdf9f0;
  --ink: #17110c;
  --ink-2: #2b211a;
  --muted: #6d5c4a;
  --laterite: #a63c18;
  --laterite-dark: #7a2a10;
  --palm: #123f33;
  --palm-deep: #0d2b24;
  --gold: #c8961f;
  --gold-soft: #e6c477;
  --indigo: #22304f;
  --line: rgba(23, 17, 12, 0.14);
  --line-soft: rgba(23, 17, 12, 0.08);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 132px);
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(15px, 0.62vw + 13.6px, 17px);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.05em;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

h2 em {
  font-style: italic;
  color: var(--laterite);
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--laterite);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Progress bar
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--laterite), var(--gold));
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--cream);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.site-header.is-stuck {
  background: rgba(251, 244, 231, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -34px rgba(23, 17, 12, 0.6);
}

.site-header.is-stuck .header-inner {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  color: var(--gold-soft);
  flex-shrink: 0;
  transition: color 0.35s var(--ease);
}

.site-header.is-stuck .brand__mark {
  color: var(--laterite);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand__name em {
  font-style: italic;
  opacity: 0.7;
}

.brand__meta {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-block: 6px;
  opacity: 0.92;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__list a:hover::after,
.nav__list a:focus-visible::after,
.nav__list a.is-active::after {
  transform: scaleX(1);
}

.nav__list a.is-active {
  opacity: 1;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  margin-block: 5px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-header.menu-open {
  background: rgba(251, 244, 231, 0.96);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft);
}

.site-header.menu-open .brand__mark {
  color: var(--laterite);
}

.mobile-menu {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 99;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 96px var(--gutter) 32px;
  max-height: 100svh;
  overflow-y: auto;
  box-shadow: 0 30px 50px -30px rgba(23, 17, 12, 0.5);
  animation: menuIn 0.3s var(--ease) both;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu .btn {
  margin-top: 18px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--solid {
  background: var(--laterite);
  color: var(--cream);
  box-shadow: 0 12px 26px -18px rgba(122, 42, 16, 0.9);
}

.btn--solid:hover {
  background: var(--laterite-dark);
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: rgba(251, 244, 231, 0.45);
  color: var(--cream);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(251, 244, 231, 0.12);
}

.btn--outline {
  background: transparent;
  border-color: rgba(23, 17, 12, 0.28);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 12.5px;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 88px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/hero-wall.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 26s ease-out forwards;
  z-index: -2;
}

@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}

/* Video layer sits over the still, which doubles as the poster and the fallback. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--palm-deep);
}

.hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .hero__media {
    display: none;
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(75% 90% at 18% 40%, rgba(23, 17, 12, 0.72), rgba(23, 17, 12, 0.34) 55%, rgba(23, 17, 12, 0.52) 100%),
    linear-gradient(180deg, rgba(23, 17, 12, 0.68) 0%, rgba(23, 17, 12, 0.14) 40%, rgba(23, 17, 12, 0.76) 100%);
}

.hero__inner {
  position: relative;
  max-width: 940px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero__dash {
  display: block;
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero__eyebrow .dot {
  opacity: 0.6;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.9rem, 9.2vw, 7.1rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line > span {
  display: block;
  animation: riseIn 1s var(--ease) both;
}

.hero__title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
  padding-inline: 0.06em;
}

@keyframes riseIn {
  from {
    transform: translateY(110%);
  }
  to {
    transform: none;
  }
}

.hero__lede {
  max-width: 52ch;
  margin: 28px 0 0;
  font-size: clamp(15px, 0.5vw + 14px, 17.5px);
  color: rgba(251, 244, 231, 0.82);
}

.hero__lede [lang="ig"] {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12em;
  color: var(--gold-soft);
  margin-bottom: 4px;
}

.hero__tagline {
  margin: 20px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(251, 244, 231, 0.26);
  border-radius: 999px;
  background: rgba(23, 17, 12, 0.28);
  backdrop-filter: blur(6px);
  font-size: 13px;
  color: rgba(251, 244, 231, 0.9);
}

.hero__facts svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.hero__facts strong {
  font-weight: 600;
  color: var(--cream);
}

.hero__facts .sep {
  opacity: 0.4;
  padding-inline: 2px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.countdown {
  margin-top: clamp(38px, 5vw, 60px);
  padding-top: 26px;
  border-top: 1px solid rgba(251, 244, 231, 0.2);
  max-width: 460px;
}

.countdown__label {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-soft);
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.countdown__unit span {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}

.countdown__unit small {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 244, 231, 0.6);
}

.countdown.is-past .countdown__grid {
  display: none;
}

.countdown.is-past::after {
  content: "The day is here — welcome home.";
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cream);
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(251, 244, 231, 0.4);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.hero__cue span {
  width: 3px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  animation: cue 1.9s var(--ease) infinite;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  background: var(--laterite);
  color: var(--cream);
  padding: 13px 0;
  border-block: 1px solid rgba(23, 17, 12, 0.18);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: slide 42s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track .star {
  font-size: 11px;
  opacity: 0.65;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--alt {
  background: var(--cream-2);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 84px);
}

.section--dark {
  background: var(--palm-deep);
  color: var(--cream);
}

.section--dark p,
.section--dark .lede {
  color: rgba(251, 244, 231, 0.72);
}

.section--dark h2,
.section--dark h3 {
  color: var(--cream);
}

.section--dark h2 em {
  color: var(--gold-soft);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--laterite);
}

.eyebrow__line {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section--dark .eyebrow {
  color: var(--gold-soft);
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.15rem);
}

.lede {
  margin-top: 18px;
  font-size: clamp(15px, 0.3vw + 14px, 17px);
  max-width: 58ch;
}

.section-head:not(.section-head--left) .lede {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Details
   -------------------------------------------------------------------------- */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-card {
  position: relative;
  background: var(--cream);
  padding: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 30px);
  transition: background 0.4s var(--ease);
}

.detail-card:hover {
  background: var(--paper);
}

.detail-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 22px;
}

.detail-card h3 {
  font-size: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.detail-card__main {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.4vw, 23px);
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 12px;
}

.detail-card p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 3.5vw, 42px);
}

/* --------------------------------------------------------------------------
   Programme
   -------------------------------------------------------------------------- */
.programme {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.programme__intro {
  position: sticky;
  top: 110px;
}

.programme__note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

.programme__note svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--laterite);
}

.programme__note p {
  margin: 0;
  font-size: 14px;
}

.programme__note [lang="ig"] {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--laterite);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 clamp(28px, 3.4vw, 40px) clamp(20px, 2.6vw, 32px);
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream-2);
  border: 2px solid var(--laterite);
}

.timeline__time {
  font-family: var(--font-display);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--laterite);
  padding-top: 1px;
}

.timeline__body h3 {
  font-size: clamp(17px, 1.2vw, 20px);
  margin-bottom: 8px;
}

.timeline__body h3 [lang="ig"] {
  font-style: italic;
  color: var(--ink);
}

.timeline__body p {
  margin: 0;
  font-size: 14.5px;
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.about__figure {
  position: relative;
  margin: 0;
  position: sticky;
  top: 110px;
}

.about__frame {
  position: relative;
}

.about__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.about__frame::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about__figure figcaption {
  margin-top: 16px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__copy > p {
  font-size: clamp(15px, 0.3vw + 14px, 17px);
  max-width: 54ch;
}

.pullquote {
  margin: 30px 0;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--gold);
}

.pullquote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.32;
  color: var(--ink);
}

.pillars {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 34px;
}

/* What the village is known for — the stone and palm trades */
.trades {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.trades__label {
  margin: 0 0 2px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.trade {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}

.trade__figure {
  min-height: 180px;
  background: var(--cream-2);
}

.trade__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trade__body {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}

.trade--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.trade--flip .trade__figure {
  order: 2;
}

.trade--flip .trade__body {
  order: 1;
  border-left: 0;
  border-right: 1px solid var(--line);
}

.trade__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.trade__body p:last-child {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* Portrait source images keep their own aspect instead of being cropped flat */
.trade--portrait .trade__figure img {
  height: auto;
  aspect-ratio: 4 / 5;
}

.pillar {
  background: var(--cream);
  padding: 22px 24px;
}

.pillar h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.pillar h3 [lang="ig"] {
  font-style: italic;
  color: var(--laterite);
}

.pillar p {
  margin: 0;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(160px, 17vw, 208px);
  gap: 14px;
}

.tile {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--palm);
  cursor: zoom-in;
  font: inherit;
  color: var(--cream);
  display: block;
}

.tile--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 43, 36, 0.85), rgba(13, 43, 36, 0) 55%);
  opacity: 0.75;
  transition: opacity 0.4s var(--ease);
}

.tile:hover img,
.tile:focus-visible img {
  transform: scale(1.05);
}

.tile:hover::after {
  opacity: 1;
}

.tile__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  text-align: left;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  transform: translateY(6px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.tile:hover .tile__caption,
.tile:focus-visible .tile__caption {
  transform: none;
  opacity: 1;
}

@media (hover: none) {
  .tile__caption {
    transform: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   RSVP
   -------------------------------------------------------------------------- */
.rsvp {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.rsvp__list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.rsvp__list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

.rsvp__list strong {
  display: inline-block;
  min-width: 92px;
  font-weight: 600;
  color: var(--ink);
}

.rsvp__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--palm);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.rsvp__whatsapp svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rsvp-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 18px;
  box-shadow: 0 40px 70px -60px rgba(23, 17, 12, 0.85);
  position: relative;
}

.rsvp-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--laterite), var(--gold), var(--palm));
  border-radius: var(--radius) var(--radius) 0 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field label span[aria-hidden] {
  color: var(--laterite);
}

.hint {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(23, 17, 12, 0.2);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(109, 92, 74, 0.62);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--laterite);
  background: #fffdf8;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
  background: #fdf3f1;
}

.error {
  min-height: 0;
  margin: 0;
  font-size: 12px;
  color: #b3261e;
}

.field--check {
  flex-direction: row;
}

.field .check {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--ink-2);
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--laterite);
  flex-shrink: 0;
}

.form-note {
  margin: 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--muted);
}

.form-note.is-success {
  color: var(--palm);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Committee
   -------------------------------------------------------------------------- */
.honours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.honour {
  position: relative;
  padding: clamp(24px, 3vw, 32px) clamp(22px, 2.6vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}

.honour__role {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laterite);
  margin-bottom: 14px;
}

.honour h3 {
  font-size: clamp(19px, 1.6vw, 23px);
  margin-bottom: 10px;
}

.honour__meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.committee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.person {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.person:hover {
  transform: translateY(-4px);
  border-color: rgba(166, 60, 24, 0.4);
  box-shadow: 0 24px 40px -34px rgba(23, 17, 12, 0.8);
}

.person__role {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--laterite);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gold-soft);
  margin-bottom: 14px;
}

.person h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.person p {
  font-size: 14px;
  margin-bottom: 16px;
}

.person a {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--palm);
  border-bottom: 1px solid rgba(18, 63, 51, 0.35);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Sponsors
   -------------------------------------------------------------------------- */
.sponsors-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.sponsors-head .section-head {
  margin-bottom: 0;
}

.link-arrow {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--laterite);
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sponsor {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 18px;
  background: var(--cream);
  text-align: center;
  transition: background 0.35s var(--ease);
}

.sponsor:hover {
  background: var(--paper);
}

.sponsor span {
  font-family: var(--font-display);
  font-size: 15.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact__list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact__label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--laterite);
  margin-bottom: 6px;
}

.contact__list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.contact__list a {
  color: var(--ink-2);
  border-bottom: 1px solid rgba(23, 17, 12, 0.16);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact__list a:hover {
  color: var(--laterite);
  border-color: currentColor;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact__map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.contact__map::after {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 38px;
  height: 38px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  pointer-events: none;
}

.contact__map iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 440px);
  border: 0;
  filter: sepia(0.16) saturate(0.92) contrast(1.02);
}

.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: var(--cream);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.map-fallback svg {
  width: 46px;
  height: 46px;
  color: var(--laterite);
}

.map-fallback p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink-2);
}

.contact__map iframe.is-loaded ~ .map-fallback {
  opacity: 0;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(52px, 6vw, 84px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer__brand .brand__mark {
  width: 44px;
  height: 44px;
  color: var(--gold-soft);
  margin-bottom: 16px;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--cream);
  margin: 0 0 6px;
}

.footer__name em {
  font-style: italic;
  opacity: 0.75;
}

.footer__tag {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(251, 244, 231, 0.6);
}

.footer__tag--sign {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(251, 244, 231, 0.42);
}

.footer__heading {
  margin: 0 0 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer__nav a,
.footer__contact a {
  font-size: 14.5px;
  color: rgba(251, 244, 231, 0.72);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--cream);
  transform: translateX(3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px 26px;
  border-top: 1px solid rgba(251, 244, 231, 0.14);
}

.footer__bottom p {
  margin: 0;
  font-size: 12.5px;
  color: rgba(251, 244, 231, 0.55);
}

.footer__bottom [lang="ig"] {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 8px;
  padding: 4vh 16px;
  background: rgba(10, 7, 5, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px #000;
}

.lightbox__figure figcaption {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(251, 244, 231, 0.72);
}

.lightbox__nav,
.lightbox__close {
  border: 1px solid rgba(251, 244, 231, 0.25);
  background: rgba(251, 244, 231, 0.06);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox__nav {
  width: 46px;
  height: 46px;
  font-size: 26px;
  line-height: 1;
  padding-bottom: 4px;
}

.lightbox__nav--prev {
  justify-self: start;
}

.lightbox__nav--next {
  justify-self: end;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(251, 244, 231, 0.16);
  border-color: rgba(251, 244, 231, 0.6);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  box-shadow: 0 18px 30px -22px rgba(23, 17, 12, 0.8);
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:hover {
  background: var(--laterite);
  color: var(--cream);
  border-color: var(--laterite);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__list {
    gap: 20px;
  }

  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav__list,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .programme,
  .about,
  .rsvp,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .programme__intro,
  .about__figure {
    position: static;
  }

  .about__figure {
    order: -1;
  }

  .about__frame img {
    aspect-ratio: 16 / 11;
  }

  .about__frame::after {
    inset: 12px -12px -12px 12px;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .tile--wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 118px;
    min-height: 92svh;
  }

  .hero__facts li {
    font-size: 12px;
    padding: 8px 13px;
  }

  .countdown__grid {
    gap: 6px;
  }

  .countdown__unit span {
    font-size: 26px;
  }

  .details-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline__item {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline__time {
    font-size: 15px;
  }

  .gallery {
    grid-auto-rows: 150px;
  }

  .tile--wide {
    grid-row: span 1;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 6vh 16px;
  }

  .lightbox__nav {
    display: none;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .footer__bottom {
    padding-bottom: 30px;
    padding-right: 62px;
    flex-direction: column;
    align-items: flex-start;
  }

  .sponsors-head {
    align-items: flex-start;
  }

  .honours {
    grid-template-columns: minmax(0, 1fr);
  }

  .trade {
    grid-template-columns: minmax(0, 1fr);
  }

  .trade__figure {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .trade--portrait .trade__figure {
    aspect-ratio: 1 / 1;
  }

  .trade--portrait .trade__figure img {
    height: 100%;
    aspect-ratio: auto;
  }

  .trade__body,
  .trade--flip .trade__body {
    order: 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .trade--flip .trade__figure {
    order: 0;
  }

  .btn {
    padding: 14px 22px;
  }
}

/* --------------------------------------------------------------------------
   Motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .to-top,
  .scroll-progress,
  .lightbox,
  .marquee,
  .hero__cue {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero {
    min-height: auto;
    color: var(--ink);
    padding-block: 24px;
  }

  .hero__veil,
  .hero__bg {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Multi-page shell
   -------------------------------------------------------------------------- */
.subpage .site-header {
  background: rgba(251, 244, 231, 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -34px rgba(23, 17, 12, 0.6);
}

.subpage .site-header .header-inner {
  min-height: 68px;
}

.subpage .site-header .brand__mark {
  color: var(--laterite);
}

.nav__list a[aria-current="page"] {
  opacity: 1;
}

.nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.mobile-menu a[aria-current="page"] {
  color: var(--laterite);
}

/* --------------------------------------------------------------------------
   Page head — the band under the header on every page except the home page
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding: clamp(124px, 15vw, 178px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(120% 92% at 84% -12%, rgba(197, 122, 62, 0.18), transparent 64%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.page-head .eyebrow {
  margin-bottom: 18px;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 22ch;
}

.page-head h1 em {
  font-style: italic;
  color: var(--laterite);
}

.page-head .lede {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--ink-2);
}

.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-head__meta li {
  position: relative;
  padding-left: 20px;
}

.page-head__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--laterite);
}

/* --------------------------------------------------------------------------
   Closing call to action
   -------------------------------------------------------------------------- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta .eyebrow,
.eyebrow--center {
  justify-content: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta h2 em {
  font-style: italic;
  color: var(--laterite);
}

.cta .lede {
  margin-inline: auto;
  max-width: 54ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

@media (max-width: 640px) {
  .page-head {
    padding-top: 112px;
  }

  .page-head__meta {
    gap: 8px 18px;
  }

  .cta__actions .btn {
    width: 100%;
  }
}
