/* ============================================================
   MIIF — Manchester Igbo Iriji Festival
   Design System Stylesheet
   ============================================================ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Brand colours */
  --brand-900: #2C1010;
  /* Primary color requested */
  --brand-800: #3E1818;
  --brand-700: #552424;
  --brand-600: #6D3030;

  /* Gold accents */
  --gold: #C9A227;
  --gold-2: #E6C965;
  --gold-dk: #8A6D12;
  --gold-soft: rgba(201, 162, 39, 0.16);
  --gold-glow: rgba(201, 162, 39, 0.35);

  /* Cream & warm white */
  --cream: #F6F1E4;
  --cream-2: #EAE1CC;
  --cream-dim: rgba(246, 241, 228, 0.74);
  --white-warm: #FDFBF5;

  /* Ink */
  --ink: #1B1A17;
  --ink-2: #343028;
  --muted: #5E584D;
  --muted-lt: rgba(246, 241, 228, 0.55);

  /* Accent */
  --red: #B3301C;

  /* Veils */
  --veil-a: rgba(20, 6, 6, 0.25);
  --veil-b: rgba(20, 6, 6, 0.78);

  /* Lines */
  --line: rgba(27, 26, 23, 0.12);
  --line-lt: rgba(246, 241, 228, 0.18);
  --line-dk: rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-hero-title: "Morgiah", "Bodoni Moda", Georgia, serif;
  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fw-4: 400;
  --fw-5: 500;
  --fw-6: 600;
  --fw-7: 700;
  --fw-8: 800;
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-32: 32px;
  --fs-40: 40px;
  --fs-52: 52px;
  --fs-64: 64px;
  --lh-tight: 1.06;
  --lh-snug: 1.26;
  --lh-body: 1.62;
  --ls-0: 0em;
  --ls-1: 0.02em;
  --ls-2: 0.08em;
  --ls-3: 0.16em;
  --sp-0: 0px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 28px;
  --sp-7: 40px;
  --sp-8: 56px;
  --sp-9: 80px;
  --sp-10: 112px;
  --r-1: 4px;
  --r-2: 10px;
  --r-3: 18px;
  --r-pill: 999px;
  --bw-1: 1px;
  --bw-2: 2px;
  --bw-3: 4px;
  --wrap: 1240px;
  --nav-h: 78px;
  --bar-h: 54px;
  --logo: 48px;
  --tap: 48px;
  --mark: 8px;
  --dot: 7px;
  --dot-on: 18px;
  --play: 76px;
  --hero-h: 620px;
  --panel-pull: -260px;
  --hero-card-w: 760px;
  --measure: 68ch;
  --measure-lg: 820px;
  --tl-time-w: 120px;
  --mega-item-w: 250px;
  --mega-img-w: 280px;
  --foot-brand-w: 300px;
  --foot-col-w: 168px;
  --viewer-h: 620px;
  --ta-h: 140px;
  --w-tablet: 834px;
  --w-mobile: 390px;
  --cg: 20px;
  --tg: 16px;
  --ar-tall: 4/5;
  --ar-wide: 16/10;
  --ar-sq: 1/1;
  --ar-card: 4/3;
  --ar-mosaic: 8/5;
  --ar-video: 16/9;
  --ar-map: 16/9;
  --zoom-a: 1.01;
  --zoom-b: 1.12;
  --dur-1: 0.2s;
  --dur-2: 0.35s;
  --dur-slide: 1.1s;
  --dur-zoom: 14s;
  --ease-1: cubic-bezier(0.4, 0, 0.2, 1);
  --lift: -6px;
  --sh-1: 0 18px 44px rgba(67, 7, 10, 0.18);
  --sh-2: 0 24px 60px rgba(0, 0, 0, 0.28);
  --z-nav: 1000;
  --z-top: 1050;
}

/* ── Animations ── */
@keyframes kb {
  from {
    transform: scale(var(--zoom-a))
  }

  to {
    transform: scale(var(--zoom-b))
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(var(--sp-5))
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes pulse-gold {

  0%,
  100% {
    text-shadow: 0 0 0 transparent
  }

  50% {
    text-shadow: 0 0 28px rgba(201, 162, 39, 0.5)
  }
}

@keyframes glow-border {

  0%,
  100% {
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(201, 162, 39, 0.34)
  }

  50% {
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.46), 0 0 0 2px rgba(201, 162, 39, 0.65), 0 0 40px rgba(201, 162, 39, 0.12)
  }
}

@keyframes live-pulse {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth
}

body {
  background: var(--ink);
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased
}

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

button,
select,
input,
textarea {
  font-family: var(--font-body)
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0
}

button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-1)
}

a {
  color: var(--brand-700);
  text-decoration: none
}

a:hover {
  color: var(--gold-dk)
}

p,
h1,
h2,
h3,
h4 {
  margin: 0
}

/* ── Reveal scroll animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-1), transform 0.65s var(--ease-1)
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0)
}

/* ── Layout ── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--sp-7)
}

.site {
  display: flex;
  flex-direction: column;
  background: var(--white-warm);
  min-height: 100vh
}

.site-main {
  display: flex;
  flex-direction: column
}

.section {
  padding: var(--sp-10) 0
}

.section-tight {
  padding: var(--sp-9) 0
}

.section-cream {
  background: var(--cream)
}

.section-dark {
  background: var(--brand-900);
  color: var(--cream)
}

.section-ink {
  background: var(--ink);
  color: var(--cream)
}

.pattern {
  background-image: repeating-linear-gradient(135deg, var(--gold-soft) 0, var(--gold-soft) 1px, transparent 1px, transparent 12px)
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5)
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3)
}

.stack-lg {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8)
}

.head-row {
  display: flex;
  align-items: flex-end;
  gap: var(--sp-7);
  flex-wrap: wrap
}

.head-row-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: var(--measure-lg)
}

.head-row-aside {
  margin-left: auto
}

.split {
  display: flex;
  gap: var(--sp-8);
  align-items: stretch;
}

.split-top {
  align-items: stretch;
}

.split-media {
  flex: 1 1 calc((100% - var(--sp-8)) / 2);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.split-media > img,
.split-media .img-tall,
.split-media .img-wide,
.split-media .img-sq {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: var(--r-3);
}

.split-media .flyer-card {
  height: 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.split-media .flyer-img {
  width: 100%;
  height: 100%;
  flex: 1;
  object-fit: cover;
}

.split-body {
  flex: 1 1 calc((100% - var(--sp-8)) / 2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  justify-content: center;
}

/* ── Typography ── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-12);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-3);
  color: var(--gold-dk)
}

.eyebrow-dark {
  color: var(--gold-2)
}

.eyebrow-mark {
  width: var(--mark);
  height: var(--mark);
  border-radius: var(--r-pill);
  background: var(--gold);
  flex-shrink: 0
}

.h-xl {
  font-family: var(--font-display);
  font-weight: var(--fw-6);
  font-size: var(--fs-64);
  line-height: var(--lh-tight);
  text-wrap: balance
}

.h-lg {
  font-family: var(--font-display);
  font-weight: var(--fw-6);
  font-size: var(--fs-40);
  line-height: var(--lh-snug);
  text-wrap: balance
}

.h-md {
  font-family: var(--font-display);
  font-weight: var(--fw-5);
  font-size: var(--fs-28);
  line-height: var(--lh-snug)
}

.h-sm {
  font-size: var(--fs-18);
  font-weight: var(--fw-8);
  letter-spacing: var(--ls-1)
}

.lead {
  font-size: var(--fs-20);
  line-height: var(--lh-body);
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: var(--measure)
}

.body {
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: var(--measure)
}

.body-dim {
  color: var(--cream-dim)
}

.small {
  font-size: var(--fs-13);
  line-height: var(--lh-body);
  color: var(--muted)
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  color: var(--gold-dk);
  font-size: var(--fs-11);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2)
}

.tag-dark {
  background: var(--line-lt);
  color: var(--gold-2)
}

.crumb {
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  color: var(--gold-2);
  font-weight: var(--fw-7)
}

/* ── Images ── */
.img-tall {
  width: 100%;
  aspect-ratio: var(--ar-tall);
  object-fit: cover;
  border-radius: var(--r-3)
}

.img-wide {
  width: 100%;
  aspect-ratio: var(--ar-wide);
  object-fit: cover;
  border-radius: var(--r-3)
}

.img-sq {
  width: 100%;
  aspect-ratio: var(--ar-sq);
  object-fit: cover;
  border-radius: var(--r-3)
}

/* ── Nav ── */
/* ── Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
}

.nav-bar {
  background: rgba(44, 16, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--bw-1) solid rgba(201, 162, 39, 0.22);
  transition: background var(--dur-2), box-shadow var(--dur-2);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  transition: transform var(--dur-1);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--cream);
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: var(--fw-7);
  color: var(--cream);
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  line-height: var(--lh-tight);
  font-weight: var(--fw-7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: transparent;
  border: none;
  position: relative;
  transition: color var(--dur-1);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--gold-2);
  background: transparent;
}

.nav-link.is-on {
  color: var(--gold-2);
  background: transparent;
}

.nav-caret {
  font-size: 9px;
  color: var(--gold-2);
  opacity: 0.8;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  margin-left: 2px;
}

.nav-link.mega-open .nav-caret {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav-actions .btn-primary {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: var(--bw-1) solid var(--line-lt);
  border-radius: var(--r-pill);
  color: var(--cream);
  align-items: center;
  justify-content: center;
  font-size: var(--fs-18);
  transition: background var(--dur-1), border-color var(--dur-1), color var(--dur-1);
}

.nav-burger:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* ── Mega Menu & Dropdowns ── */
.mega,
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(44, 16, 16, 0.98) 0%, rgba(26, 8, 8, 0.99) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: var(--bw-1) solid rgba(201, 162, 39, 0.25);
  border-bottom: var(--bw-2) solid var(--gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  animation: fadeUp 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
  z-index: 1001;
  max-height: calc(100vh - 78px);
  max-height: calc(100dvh - 78px);
  overflow-y: auto;
}

.mega-inner {
  display: flex;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-7);
}

.mega-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  width: 100%;
}

.mega-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(246, 241, 228, 0.08);
}

.mega-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  font-weight: var(--fw-8);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.mega-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--gold);
}

.mega-tagline {
  font-size: 12px;
  color: var(--cream-dim);
  font-weight: var(--fw-4);
}

.mega-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-4);
}

.mega-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--r-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(246, 241, 228, 0.07);
  transition: background var(--dur-1), box-shadow var(--dur-1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(246, 241, 228, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.mega-item-t {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: var(--fw-7);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mega-item:hover .mega-item-t {
  color: #FFFFFF;
}

.mega-arrow {
  font-size: 13px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mega-item:hover .mega-arrow {
  opacity: 1;
  transform: translateX(0);
}

.mega-item-d {
  font-size: 12px;
  line-height: 1.5;
  color: var(--cream-dim);
}

/* ── Mobile Menu ── */
html.menu-open,
body.menu-open {
  overscroll-behavior: contain;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 64px);
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, var(--brand-900) 0%, #1A0707 100%);
  border-bottom: var(--bw-2) solid var(--gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) 0;
  animation: fadeUp 0.22s var(--ease-1) both;
  z-index: 1001;
}

.mm-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-7);
  font-size: var(--fs-16);
  font-weight: var(--fw-6);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  border-bottom: var(--bw-1) solid var(--line-lt);
  min-height: var(--tap);
  transition: background var(--dur-1), color var(--dur-1);
}

.mm-row:hover {
  background: rgba(201, 162, 39, 0.1);
  color: var(--gold-2);
}

.mm-sign {
  margin-left: auto;
  color: var(--gold-2);
  font-size: var(--fs-20);
}

.mm-sub {
  display: flex;
  flex-direction: column;
  background: #1A0707;
  border-left: 3px solid var(--gold);
  margin: var(--sp-2) var(--sp-7);
  border-radius: var(--r-1);
  overflow: hidden;
}

.mm-sub-row {
  padding: var(--sp-4) var(--sp-6);
  text-align: left;
  font-size: var(--fs-15);
  color: var(--cream-dim);
  min-height: var(--tap);
  transition: color var(--dur-1), background var(--dur-1);
}

.mm-sub-row:hover {
  color: var(--gold-2);
  background: rgba(201, 162, 39, 0.15);
}

.mm-cta {
  padding: var(--sp-5) var(--sp-7);
  display: flex;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-pill);
  font-size: var(--fs-13);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  transition: background var(--dur-1), color var(--dur-1), transform var(--dur-1), box-shadow var(--dur-1)
}

.btn:active {
  transform: scale(0.97)
}

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

.btn-primary:hover {
  background: var(--gold-2);
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4)
}

.btn-dark {
  background: var(--brand-900);
  color: var(--cream)
}

.btn-dark:hover {
  background: var(--brand-700);
  color: var(--cream)
}

.btn-ghost {
  border: var(--bw-1) solid var(--line-lt);
  color: var(--cream)
}

.btn-ghost:hover {
  background: var(--line-lt);
  color: var(--cream)
}

.btn-outline {
  border: var(--bw-1) solid var(--brand-700);
  color: var(--brand-700)
}

.btn-outline:hover {
  background: var(--brand-900);
  color: var(--cream);
  border-color: var(--brand-900)
}

.btn-row {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap
}

/* ── Lists & Bullet Items ── */
.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 24px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.list-mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* High contrast inside dark & ink sections */
.section-ink .list-item,
.section-dark .list-item,
.card-dark .list-item {
  color: #F6F1E4;
  /* High legibility bright cream text */
  font-weight: 500;
}

.section-ink .list-mark,
.section-dark .list-mark,
.card-dark .list-mark {
  background: var(--gold-2);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 720px;
  height: 86vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1F0A0A;
}

.hero-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  display: flex;
}

.hero-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform var(--dur-slide) var(--ease-1);
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-slide.is-active {
  animation: kb var(--dur-zoom) linear forwards;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: var(--sp-6) var(--sp-7);
  display: flex;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 680px;
  padding: 38px 42px;
  background: rgba(44, 16, 16, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 253, 244, 0.35);
  border-radius: var(--r-3);
  animation: 4s ease-in-out infinite;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}

.hero-card .h-xl,
.hero .h-xl {
  font-family: var(--font-hero-title);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: var(--lh-tight);
}

.hero-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-3);
  color: var(--gold-2);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: var(--bw-1) solid var(--line-lt);
}

.dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  box-sizing: border-box;
  padding: 0;
  border-radius: var(--r-pill);
  background: rgba(246, 241, 228, 0.3);
  transition: width var(--dur-2), background var(--dur-2);
  cursor: pointer;
  border: none;
}

.dot.is-on {
  background: var(--gold);
  width: 18px;
  height: 7px;
}

.arrows {
  display: flex;
  gap: var(--sp-2);
  margin-left: auto;
}

.arrow {
  width: calc(var(--tap) - var(--sp-2));
  height: calc(var(--tap) - var(--sp-2));
  border-radius: var(--r-pill);
  border: var(--bw-1) solid var(--line-lt);
  background: rgba(24, 4, 6, 0.5);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-18);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}

.arrow:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: scale(1.08);
}

.arrow:active {
  transform: scale(0.95);
}

/* ── Event Bar ── */
.event-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.event-inner {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
  padding: 22px var(--sp-7);
  align-items: center;
}

.event-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 180px;
}

.event-k {
  font-size: 11px;
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-3);
  color: var(--muted);
}

.event-v {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: var(--fw-7);
  color: var(--ink);
}

/* ── Cards ── */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cg);
}

.card {
  flex: 1 1 calc((100% - var(--cg) * 3) / 4);
  display: flex;
  flex-direction: column;
  background: var(--white-warm);
  border: var(--bw-1) solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.card-3 {
  flex: 1 1 calc((100% - var(--cg) * 2) / 3);
}

.card-2 {
  flex: 1 1 calc((100% - var(--cg)) / 2);
}

.card-dark {
  background: var(--brand-800);
  border-color: var(--line-lt);
  color: var(--cream);
}

.card-dark:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.card-img {
  width: 100%;
  aspect-ratio: var(--ar-card);
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
}

.card-t {
  font-family: var(--font-display);
  font-size: var(--fs-24);
}

.card-d {
  font-size: var(--fs-15);
  line-height: var(--lh-body);
  color: var(--muted);
}

.card-dark .card-d {
  color: var(--cream-dim);
}

.card-meta {
  font-size: var(--fs-12);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  color: var(--gold-dk);
}

.card-link {
  font-size: var(--fs-13);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  color: var(--brand-700);
  margin-top: auto;
}

.card-dark .card-link {
  color: var(--gold-2);
}

/* ── Countdown ── */
.countdown-section {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.countdown-section .stack-lg {
  gap: 16px;
  align-items: center;
  width: 100%;
}

.countdown-section .head-row {
  justify-content: center;
  text-align: center;
  width: 100%;
}

.countdown-section .head-row-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.countdown-section .eyebrow {
  justify-content: center;
}

.count {
  display: flex;
  gap: var(--cg);
  flex-wrap: wrap;
}

.count-cell {
  flex: 1 1 calc((100% - var(--cg) * 3) / 4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-7) var(--sp-5);
  background: var(--brand-800);
  border: var(--bw-1) solid var(--line-lt);
  border-radius: var(--r-3);
  transition: box-shadow 0.3s ease;
}

.count-cell:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.count-n {
  font-family: var(--font-display);
  font-size: var(--fs-64);
  line-height: var(--lh-tight);
  color: var(--gold-2);
  animation: pulse-gold 3s ease-in-out infinite;
  min-width: 3ch;
  text-align: center;
  font-variant-numeric: tabular-nums
}

.count-l {
  font-size: var(--fs-12);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-3);
  color: var(--cream-dim)
}

.countdown-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
  margin-top: 0;
}

.countdown-section .event-item {
  flex: none;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 2px;
}

.countdown-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

/* ── Timeline ── */
.timeline {
  display: flex;
  flex-direction: column
}

.tl-row {
  display: flex;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  border-top: var(--bw-1) solid var(--line);
  text-align: left;
  transition: background var(--dur-1), padding-left var(--dur-2)
}

.tl-row:hover {
  background: rgba(201, 162, 39, 0.04);
  padding-left: var(--sp-3)
}

.tl-time {
  flex: 0 0 var(--tl-time-w);
  font-family: var(--font-display);
  font-size: var(--fs-24);
  color: var(--gold-dk)
}

.tl-dot {
  width: var(--mark);
  height: var(--mark);
  border-radius: var(--r-pill);
  background: var(--gold);
  flex-shrink: 0;
  margin-top: var(--sp-3)
}

.tl-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2)
}

.tl-meta {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  font-size: var(--fs-13);
  color: var(--muted)
}

.section-dark .tl-row {
  border-top-color: var(--line-lt)
}

.section-dark .tl-time {
  color: var(--gold-2)
}

.section-dark .tl-meta {
  color: var(--cream-dim)
}

.section-dark .tl-row:hover {
  background: rgba(255, 255, 255, 0.04)
}

/* ── Mosaic / Gallery ── */
.mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tg)
}

.tile {
  flex: 0 0 calc((100% - var(--tg) * 2) / 3);
  border-radius: var(--r-2);
  overflow: hidden;
  cursor: pointer
}

.tile-wide {
  flex: 0 0 calc(((100% - var(--tg) * 2) / 3) * 2 + var(--tg))
}

.tile-img {
  width: 100%;
  aspect-ratio: var(--ar-tall);
  object-fit: cover;
  transition: transform var(--dur-2);
  display: block
}

.tile-wide .tile-img {
  aspect-ratio: var(--ar-mosaic)
}

.tile:hover .tile-img {
  transform: scale(1.05)
}

.filters {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap
}

.chip {
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  border: var(--bw-1) solid var(--line);
  font-size: var(--fs-13);
  font-weight: var(--fw-6);
  letter-spacing: var(--ls-1);
  color: var(--ink-2);
  min-height: var(--tap);
  cursor: pointer;
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1)
}

.chip:hover {
  background: var(--cream-2);
  border-color: var(--brand-700)
}

.chip.is-on {
  background: var(--brand-900);
  border-color: var(--brand-900);
  color: var(--cream)
}

.viewer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--ink);
  border-radius: var(--r-3);
  animation: fadeUp 0.3s var(--ease-1) both
}

.viewer-img {
  width: 100%;
  height: var(--viewer-h);
  max-height: var(--viewer-h);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: var(--r-2)
}

.viewer-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  color: var(--cream);
  font-size: var(--fs-13)
}

/* ── FAQ ── */
.faq {
  display: flex;
  flex-direction: column
}

.faq-item {
  border-top: var(--bw-1) solid var(--line)
}

.faq-item:last-child {
  border-bottom: var(--bw-1) solid var(--line)
}

.faq-q {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  width: 100%;
  padding: var(--sp-6) 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-24);
  min-height: var(--tap);
  transition: color var(--dur-1)
}

.faq-q:hover {
  color: var(--gold-dk)
}

.faq-sign {
  margin-left: auto;
  color: var(--gold-dk);
  font-size: var(--fs-24);
  transition: transform var(--dur-1);
  flex-shrink: 0
}

.faq-item.is-open .faq-sign {
  transform: rotate(45deg)
}

.faq-a {
  padding: 0 0 var(--sp-6);
  animation: fadeUp 0.25s var(--ease-1) both
}

/* ── Forms ── */
.form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cg)
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1 1 calc((100% - var(--cg)) / 2)
}

.field-full {
  flex: 1 1 100%
}

.label {
  font-size: var(--fs-12);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  color: var(--muted)
}

.input,
.textarea,
.select-field {
  font-size: var(--fs-16);
  padding: var(--sp-4) var(--sp-5);
  border: var(--bw-1) solid var(--line);
  border-radius: var(--r-2);
  background: var(--white-warm);
  color: var(--ink);
  min-height: var(--tap);
  font-family: var(--font-body);
  transition: border-color var(--dur-1), box-shadow var(--dur-1)
}

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

.textarea {
  min-height: var(--ta-h);
  resize: vertical
}

.mockup-note {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  align-self: flex-start;
  padding: var(--sp-2) var(--sp-4);
  border: var(--bw-1) dashed var(--red);
  border-radius: var(--r-pill);
  font-size: var(--fs-11);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2);
  color: var(--red)
}

.panel {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding: var(--sp-8);
  background: var(--white-warm);
  border: var(--bw-1) solid var(--line);
  border-radius: var(--r-3)
}

.panel-cream {
  background: var(--cream)
}

/* ── Video / Player ── */
.player {
  width: 100%;
  aspect-ratio: var(--ar-video);
  background: var(--ink);
  border: var(--bw-1) solid var(--line-lt);
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  text-align: center;
  padding: var(--sp-6)
}

.play {
  width: var(--play);
  height: var(--play);
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-24);
  cursor: pointer;
  transition: transform var(--dur-1), background var(--dur-1), box-shadow var(--dur-1)
}

.play:hover {
  transform: scale(1.1);
  background: var(--gold-2);
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.5)
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--cream);
  font-size: var(--fs-12);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-2)
}

.live-dot {
  width: var(--mark);
  height: var(--mark);
  border-radius: var(--r-pill);
  background: var(--cream);
  animation: live-pulse 1.2s ease-in-out infinite
}

/* ── Map ── */
.map {
  width: 100%;
  aspect-ratio: var(--ar-map);
  border: var(--bw-1) solid var(--line);
  border-radius: var(--r-3);
  background-color: var(--cream-2);
  background-image: repeating-linear-gradient(45deg, rgba(201, 162, 39, 0.16) 0, rgba(201, 162, 39, 0.16) 1px, transparent 1px, transparent 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6)
}

.map:has(iframe) {
  padding: 0;
  overflow: hidden;
  background: var(--cream-2);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Tiers / Sponsorship ── */
.tier {
  flex: 1 1 calc((100% - var(--cg) * 3) / 4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-7);
  background: var(--white-warm);
  border: var(--bw-1) solid var(--line);
  border-radius: var(--r-3);
  transition: transform var(--dur-2), box-shadow var(--dur-2)
}

.tier:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-1)
}

.tier-featured {
  background: var(--brand-900);
  border-color: var(--brand-900);
  color: var(--cream);
  box-shadow: var(--sh-2)
}

.tier-featured:hover {
  box-shadow: 0 28px 60px rgba(201, 162, 39, 0.25)
}

.tier-price {
  font-family: var(--font-display);
  font-size: var(--fs-32)
}

/* ── List ── */
.list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3)
}

.list-item {
  display: flex;
  gap: var(--sp-3);
  font-size: var(--fs-15);
  line-height: var(--lh-body);
  color: var(--ink-2)
}

.tier-featured .list-item,
.section-dark .list-item {
  color: var(--cream-dim)
}

.list-mark {
  width: var(--mark);
  height: var(--mark);
  border-radius: var(--r-pill);
  background: var(--gold);
  flex-shrink: 0;
  margin-top: var(--sp-2)
}

/* ── Person / Team ── */
.person {
  flex: 1 1 calc((100% - var(--cg) * 3) / 4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4)
}

/* ── Page head banner ── */
.page-head {
  background: var(--brand-900);
  color: var(--cream);
  padding: var(--sp-9) 0
}

.page-head-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  max-width: var(--measure-lg)
}

.page-head .h-xl {
  color: var(--cream)
}

/* ── Fact cells ── */
.fact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1 1 calc((100% - var(--cg) * 3) / 4);
  padding: var(--sp-6);
  background: var(--cream);
  border-radius: var(--r-3);
  transition: transform var(--dur-1)
}

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

.fact-dark {
  background: var(--brand-800)
}

.fact-k {
  font-size: var(--fs-11);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-3);
  color: var(--muted)
}

.fact-dark .fact-k {
  color: var(--gold-2)
}

.fact-v {
  font-family: var(--font-display);
  font-size: var(--fs-24)
}

/* ── Footer ── */
.site-footer {
  background: var(--brand-900);
  color: var(--cream-dim);
  padding: var(--sp-10) 0 var(--sp-7);
}

.foot-top {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.foot-brand {
  flex: 1 1 320px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.foot-brand-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.foot-col {
  flex: 0 1 150px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.foot-h {
  font-size: var(--fs-11);
  font-weight: var(--fw-7);
  text-transform: uppercase;
  letter-spacing: var(--ls-3);
  color: var(--gold-2);
}

.foot-link {
  font-size: var(--fs-14);
  color: var(--cream-dim);
  text-align: left;
  transition: color var(--dur-1);
}

.foot-link:hover {
  color: var(--gold-2);
}

.socials {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.social {
  padding: var(--sp-2) var(--sp-4);
  border: var(--bw-1) solid var(--line-lt);
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  color: var(--cream);
  transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}

.social:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.foot-news {
  display: flex;
  gap: 8px;
  align-items: center;
}

.foot-input {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-13);
  padding: 10px 14px;
  border: var(--bw-1) solid var(--line-lt);
  border-radius: var(--r-pill);
  background: var(--brand-800);
  color: var(--cream);
  font-family: var(--font-body);
  transition: border-color var(--dur-1), box-shadow var(--dur-1);
}

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

.foot-bottom {
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--sp-9);
  padding-top: var(--sp-6);
  border-top: var(--bw-1) solid var(--line-lt);
  font-size: var(--fs-13)
}

.foot-legal {
  margin-left: auto;
  display: flex;
  gap: var(--sp-5);
  flex-wrap: wrap
}

/* ── Page sections (JS show/hide) ── */
.page-section {
  display: none
}

.page-section.is-active {
  display: block;
  animation: fadeUp 0.3s var(--ease-1) both
}

/* ── Festival Highlights (Structured Path Cards) ── */
.highlight-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

.highlight-title {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  font-weight: 700;
  color: var(--ink);
  line-height: var(--lh-snug);
  text-wrap: balance;
}

.highlight-title .text-accent {
  color: var(--brand-700);
}

.highlight-subtitle {
  font-size: var(--fs-15);
  line-height: var(--lh-body);
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  text-wrap: pretty;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.path-card {
  background: #FFFFFF;
  border: 1px solid rgba(27, 26, 23, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: opacity 0.55s var(--ease-1), transform 0.55s var(--ease-1), box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  height: 100%;
  contain: layout paint;
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.path-card:hover {
  transition-delay: 0s;
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

/* Keep the four image cards on the compositor while they enter the viewport.
   Staggering the reveal avoids decoding and painting all four at once. */
@media (prefers-reduced-motion: no-preference) {
  .highlight-grid .path-card.reveal {
    transform: translateY(18px);
    will-change: transform, opacity;
  }

  .highlight-grid .path-card.reveal.is-visible {
    transform: translateY(0);
    will-change: auto;
  }

  .highlight-grid .path-card:nth-child(2) { transition-delay: 70ms; }
  .highlight-grid .path-card:nth-child(3) { transition-delay: 140ms; }
  .highlight-grid .path-card:nth-child(4) { transition-delay: 210ms; }
}

.path-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--cream-2);
}

.path-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.path-card:hover .path-img {
  transform: scale(1.05);
}

.path-badge {
  position: absolute;
  top: 196px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FCEFE6;
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.path-badge svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-content {
  padding: 34px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.path-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.path-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 22px;
  flex: 1;
}

.path-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(27, 26, 23, 0.06);
}

.path-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.path-arrow-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #1B1A17;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

/* ── Flyer Card ── */
.flyer-card {
  position: relative;
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.35);
  cursor: pointer;
  background: var(--brand-900);
  transition: box-shadow 0.3s ease;
  max-width: 440px;
  margin: 0 auto;
}

.flyer-card:hover {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3);
}

.flyer-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.flyer-card:hover .flyer-img {
  transform: scale(1.03);
}

.flyer-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(44, 16, 16, 0.9);
  color: var(--gold-2);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: var(--fw-7);
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 39, 0.4);
}

/* ── 404 Page Not Found ── */
.notfound-code {
  font-family: var(--font-hero-title);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-700);
  letter-spacing: 0.04em;
  margin: var(--sp-2) 0;
  text-shadow: 0 4px 12px rgba(44, 16, 16, 0.12);
}

.notfound-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.notfound-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  max-width: 960px;
  margin: 0 auto;
}

.notfound-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  cursor: pointer;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}

.notfound-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.notfound-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: var(--sp-3);
}

/* ── Responsive ── */
@media (max-width:1080px) {
  .nav-links {
    display: none
  }

  .nav-burger {
    display: flex
  }
}

@media (max-width:960px) {
  :root {
    --fs-64: 44px;
    --fs-52: 34px;
    --fs-40: 30px;
    --fs-32: 26px;
    --fs-28: 23px;
    --fs-24: 20px;
    --fs-20: 17px;
    --sp-10: 72px;
    --sp-9: 56px;
    --sp-8: 40px;
    --sp-7: 28px;
    --hero-h: 460px;
    --panel-pull: -140px;
    --logo: 42px;
    --tl-time-w: 96px
  }

  .nav-links {
    display: none
  }

  .nav-burger {
    display: flex
  }

  .split {
    flex-direction: column;
    align-items: stretch
  }

  .split-media,
  .split-body {
    flex-basis: auto
  }

  .split-media>img,
  .split-media .img-tall,
  .split-media .img-wide,
  .split-media .img-sq {
    height: auto;
    min-height: 0;
    max-height: 480px;
  }

  .split-media .flyer-card,
  .split-media .flyer-img {
    height: auto;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .card,
  .tier,
  .person,
  .fact {
    flex-basis: calc((100% - var(--cg)) / 2)
  }

  .countdown-section {
    padding-bottom: 16px;
  }

  .count {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .count-cell {
    flex: none;
    width: 100%;
    padding: 14px 6px;
    gap: 4px;
  }

  .count-n {
    font-size: 26px;
    min-width: 0;
  }

  .count-l {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .tile,
  .tile-wide {
    flex-basis: calc((100% - var(--tg)) / 2)
  }

  .mega-inner {
    flex-wrap: wrap
  }

  .mega-media {
    display: none
  }
}

@media (max-width:620px) {
  :root {
    --fs-64: 34px;
    --fs-40: 25px;
    --fs-28: 21px;
    --sp-10: 56px;
    --sp-9: 44px;
    --sp-8: 28px;
    --sp-7: 20px;
    --hero-h: 420px;
    --panel-pull: -72px;
    --tl-time-w: 72px
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card,
  .tier,
  .person,
  .fact,
  .field,
  .tile,
  .tile-wide {
    flex-basis: 100%
  }

  .countdown-section {
    padding: 20px 0;
  }

  .countdown-section .stack-lg {
    gap: 12px;
  }

  .countdown-footer {
    gap: 0;
    align-items: center;
    text-align: center;
  }

  .countdown-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  .countdown-cta .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }

  .count {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .count-cell {
    flex: none;
    width: 100%;
    padding: 10px 3px;
    gap: 2px;
    border-radius: var(--r-2);
  }

  .count-n {
    font-size: 20px;
    min-width: 0;
  }

  .count-l {
    font-size: 9px;
    letter-spacing: 0.03em;
  }

  .btn-row .btn {
    flex: 1 1 100%
  }

  .hero-card {
    padding: var(--sp-6)
  }

  .dot {
    padding: var(--sp-2)
  }

  .event-inner {
    gap: var(--sp-6)
  }

  .tl-row {
    flex-wrap: wrap;
    gap: var(--sp-3)
  }

  .foot-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-7) var(--sp-6);
  }

  .foot-brand {
    display: contents;
  }

  .foot-brand > .brand,
  .foot-brand > p,
  .foot-brand > .socials {
    grid-column: 1 / -1;
  }

  .foot-col {
    order: 1;
  }

  .foot-brand-news {
    order: 2;
    grid-column: 1 / -1;
  }

  .foot-col {
    min-width: 0;
  }

  .head-row-aside {
    margin-left: 0
  }

  .nav-bar .wrap {
    max-width: none;
    padding: 0;
  }

  .nav-bar .nav-inner {
    width: 100%;
    height: 64px;
    gap: 10px;
    padding: 0 20px;
  }

  .nav-actions {
    margin-left: auto;
    justify-content: flex-end;
    gap: 0;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-burger {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .brand-text {
    display: none
  }

  .viewer-img {
    height: 280px
  }
}

@media (max-width:420px) {
  .foot-col {
    min-width: 0;
  }

  .panel {
    padding: var(--sp-6)
  }
}

/* ── Transformed Welcome to Iriji Section ────────────────── */
.welcome-section {
  position: relative;
  background: var(--white-warm);
  padding: 0 0 var(--sp-10);
  overflow: hidden;
}

.welcome-media-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  background: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
}

.welcome-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0.85) 90%, #000000 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  pointer-events: none;
  z-index: 2;
}

.welcome-tag {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.welcome-content-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px var(--sp-6) 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-headline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #3b3630;
  margin-bottom: 28px;
  text-wrap: balance;
}

.welcome-body-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin-bottom: 36px;
}

.welcome-body-text p {
  font-size: var(--fs-16);
  line-height: 1.72;
  color: #4a453d;
  text-align: center;
  margin: 0;
}

.welcome-cta-row {
  display: flex;
  justify-content: center;
}

.btn-welcome-gold {
  background: #f7be48;
  color: #1c1810;
  font-family: var(--font-display);
  font-size: var(--fs-15);
  font-weight: 700;
  padding: 14px 42px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(247, 190, 72, 0.38);
  transition: transform 0.25s var(--ease-1), box-shadow 0.25s var(--ease-1), background 0.2s ease;
}

.btn-welcome-gold:hover {
  transform: translateY(-2px);
  background: #f8c95e;
  box-shadow: 0 8px 24px rgba(247, 190, 72, 0.55);
}

@media (max-width: 768px) {
  .welcome-media-frame {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

  .welcome-tag {
    font-size: var(--fs-14);
    letter-spacing: 0.2em;
    padding: 0 16px;
  }

  .welcome-content-wrap {
    padding: 36px var(--sp-4) 0;
  }

  .welcome-headline {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .welcome-body-text {
    margin-bottom: 26px;
  }

  .welcome-body-text p {
    font-size: 15px;
    line-height: 1.62;
  }

  .btn-welcome-gold {
    padding: 12px 32px;
    width: 100%;
    max-width: 280px;
  }
}

