/* ═══════════════════════════════════════════════════════════════════
   RACMUN — Complete Stylesheet
   Design: Ivory/Parchment luxury, gold accents, maroon/navy highlights
   Fonts: Cinzel (titles) | Cormorant Garamond (serif/body) | Lato (clean)
          Great Vibes (cursive/calligraphic accents)
═══════════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─────────────────────────────────────────────── */
:root {
  /* Palette */
  --ivory:        #F8F4ED;
  --parchment:    #F1EBE0;
  --cream:        #FAF7F2;
  --parchment-dk: #E8DDD0;
  --gold:         #B8902A;
  --gold-light:   #D4AF57;
  --gold-pale:    #E8D49A;
  --maroon:       #6B1A2A;
  --maroon-light: #8B2A3E;
  --navy:         #1A2642;
  --navy-mid:     #2C3E66;
  --text-dark:    #1E1A16;
  --text-mid:     #3D3530;
  --text-muted:   #7A6E65;
  --text-light:   #A89F96;
  --border:       #D8CEBC;
  --border-light: #EBE3D5;

  /* Typography */
  --font-cinzel:      'Cinzel', serif;
  --font-cormorant:   'Cormorant Garamond', Georgia, serif;
  --font-playfair:    'Playfair Display', Georgia, serif;
  --font-vibes:       'Great Vibes', cursive;
  --font-lato:        'Lato', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad:  7rem 2rem;
  --section-pad-sm: 4rem 1.25rem;

  /* Transitions */
  --ease-silk:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--ivory);
  color: var(--text-dark);
  font-family: var(--font-cormorant);
  font-size: 1.1rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold-pale);
  color: var(--maroon);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }


/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transition: background 0.4s var(--ease-silk), box-shadow 0.4s var(--ease-silk);
}

#navbar.scrolled {
  background: rgba(248, 244, 237, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border-light), 0 4px 24px rgba(30,26,22,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.7; }

.nav-logo-main {
  font-family: var(--font-cinzel);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--maroon);
}

.nav-logo-sub {
  font-family: var(--font-cormorant);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-lato);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--maroon); }

.nav-cta {
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ivory) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 1px;
  background: var(--text-mid);
  display: block;
  transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-silk);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { padding: 1rem 0; }
.mobile-nav a {
  font-family: var(--font-cinzel);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--maroon); }


/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #FAF7F2 0%, #F3EDE1 40%, #EDE3D3 100%);
}

/* Background Layer */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-texture {
  position: absolute; inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 2 L58 30 L30 58 L2 30 Z' fill='none' stroke='%23C8B89A' stroke-width='0.3' opacity='0.3'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.25;
}

.hero-chakra {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 70vh);
  height: min(70vw, 70vh);
  color: var(--gold);
  opacity: 0.18;
  animation: chakra-spin 120s linear infinite;
}
@keyframes chakra-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-ornament {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(ellipse, rgba(184,144,42,0.12) 0%, transparent 70%);
}
.hero-ornament--tl { top: -50px; left: -50px; }
.hero-ornament--br { bottom: -50px; right: -50px; }

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
}

.hero-edition {
  font-family: var(--font-lato);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-cinzel);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.05em;
}

.hero-title-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: letter-rise 0.8s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.2s);
}
@keyframes letter-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-fullname {
  font-family: var(--font-cormorant);
  font-size: clamp(0.85rem, 2.2vw, 1.1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-divider-line {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero-divider-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-divider-ornament {
  color: var(--gold);
  font-size: 0.75rem;
}

.hero-tagline {
  font-family: var(--font-vibes);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

/* Countdown */
.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}

.countdown-number {
  font-family: var(--font-cinzel);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--maroon);
  line-height: 1;
  background: rgba(248,244,237,0.8);
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  min-width: 64px;
  text-align: center;
  border-radius: 3px;
}

.countdown-label {
  font-family: var(--font-lato);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.countdown-sep {
  font-family: var(--font-cinzel);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  padding-bottom: 1.2rem;
}

/* Pricing */
.hero-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-label {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-amount {
  font-family: var(--font-cinzel);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pricing-badge--early .pricing-amount {
  color: var(--maroon);
  font-size: 1.8rem;
}

.pricing-sep {
  font-size: 1.5rem;
  color: var(--border);
  margin-top: 0.8rem;
}

/* Hero CTA */
.hero-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--maroon);
  color: var(--ivory);
  font-family: var(--font-lato);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--maroon);
  transition: background 0.4s var(--ease-silk), color 0.4s var(--ease-silk), box-shadow 0.4s var(--ease-silk), transform 0.4s var(--ease-silk);
  margin-bottom: 3rem;
}
.hero-cta:hover {
  background: transparent;
  color: var(--maroon);
  box-shadow: 0 8px 32px rgba(107,26,42,0.15);
  transform: translateY(-2px);
}

/* Scroll Hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero-scroll-hint span {
  font-family: var(--font-lato);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}


/* ═══════════════════════════════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════════════════════════════ */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-cinzel);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.section-title em {
  font-family: var(--font-vibes);
  font-style: normal;
  font-size: 1.35em;
  color: var(--maroon);
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-family: var(--font-cormorant);
  font-size: 1.15rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3.5rem;
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════════ */
.section--about {
  background: var(--cream);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.about-text p {
  font-family: var(--font-cormorant);
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pillar-card {
  background: var(--ivory);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.6rem;
  transition: box-shadow 0.4s var(--ease-silk), transform 0.4s var(--ease-silk);
}
.pillar-card:hover {
  box-shadow: 0 8px 32px rgba(30,26,22,0.08);
  transform: translateX(4px);
}

.pillar-icon {
  font-size: 1.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.pillar-card h4 {
  font-family: var(--font-cinzel);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-family: var(--font-cormorant);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats Strip */
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2.5rem 2rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.about-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(184,144,42,0.04) 50%, transparent 100%);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-num {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}


/* ═══════════════════════════════════════════════════════════════════
   COMMITTEES SECTION
═══════════════════════════════════════════════════════════════════ */
.section--committees {
  background: linear-gradient(170deg, var(--ivory) 0%, var(--parchment) 100%);
}

.committees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.committee-card {
  perspective: 1200px;
}

.committee-card-inner {
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 2.4rem;
  position: relative;
  transition: transform 0.5s var(--ease-silk), box-shadow 0.5s var(--ease-silk);
  overflow: hidden;
}

.committee-card-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
}

.committee-card-inner--un::before {
  background: linear-gradient(90deg, var(--navy), var(--gold-light));
}

.committee-card:hover .committee-card-inner {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(30,26,22,0.1), 0 4px 16px rgba(30,26,22,0.06);
}

.committee-header {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.committee-emblem {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--maroon);
  opacity: 0.7;
}

.committee-card-inner--un .committee-emblem {
  color: var(--navy);
}

.committee-type {
  font-family: var(--font-lato);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.committee-name {
  font-family: var(--font-cinzel);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.committee-divider {
  height: 1px;
  background: var(--border-light);
  margin-bottom: 1.5rem;
}

.committee-agenda-label {
  font-family: var(--font-lato);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.committee-agenda-text {
  font-family: var(--font-cormorant);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--maroon);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.committee-card-inner--un .committee-agenda-text {
  color: var(--navy);
}

.committee-agenda-secondary {
  font-family: var(--font-cormorant);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.committee-footer {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.committee-tag {
  font-family: var(--font-lato);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-pale);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  background: rgba(184,144,42,0.04);
}


/* ═══════════════════════════════════════════════════════════════════
   SECRETARIAT SECTION
═══════════════════════════════════════════════════════════════════ */
.section--secretariat {
  background: var(--parchment);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Secretary General Card */
.sg-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--ivory);
  margin-bottom: 5rem;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(30,26,22,0.08);
}

.sg-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  min-height: 400px;
  background: var(--parchment-dk);
}

.sg-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.15) contrast(1.04);
  transition: transform 0.6s var(--ease-silk);
}

.sg-card:hover .sg-image-wrap img {
  transform: scale(1.04);
}

.sg-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--ivory));
}

.sg-content {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sg-role {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.sg-name {
  font-family: var(--font-vibes);
  font-size: 3.2rem;
  color: var(--maroon);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.sg-divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1.5rem;
}

.sg-message {
  font-family: var(--font-cormorant);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.sg-signature {
  font-family: var(--font-lato);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
}

/* Leadership Grid */
.leadership-section { margin-top: 1rem; }

.leadership-section-label {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  text-align: center;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.leader-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.2;
  overflow: hidden;
  background: var(--parchment-dk);
  margin-bottom: 1.2rem;
  cursor: pointer;
}

.leader-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.1);
  transition: transform 0.5s var(--ease-silk), filter 0.5s var(--ease-silk);
}

.leader-hover-overlay {
  position: absolute; inset: 0;
  background: rgba(107,26,42,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s var(--ease-silk);
}

.leader-card:hover .leader-img-wrap img {
  transform: scale(1.06);
  filter: sepia(0.3) blur(1px);
}

.leader-card:hover .leader-hover-overlay {
  opacity: 1;
}

.leader-hover-text {
  font-family: var(--font-cormorant);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.6;
  text-align: center;
}

.leader-name {
  font-family: var(--font-vibes);
  font-size: 1.8rem;
  color: var(--maroon);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.leader-role {
  font-family: var(--font-lato);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* International Press Grid (4 centered cards) */
.press-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.press-grid {
  margin-top: 2rem;
}
.press-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}
/* ═══════════════════════════════════════════════════════════════════
   ITINERARY / TIMELINE
═══════════════════════════════════════════════════════════════════ */
.section--itinerary {
  background: linear-gradient(160deg, var(--ivory) 0%, var(--cream) 100%);
}

.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 40px 1fr;
  gap: 0 0;
  margin-bottom: 2.5rem;
  align-items: start;
}

.timeline-time {
  font-family: var(--font-cinzel);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding-top: 0.15rem;
  text-align: right;
  padding-right: 1.5rem;
}

.timeline-marker {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
  position: relative;
}

.timeline-marker span {
  width: 9px;
  height: 9px;
  background: var(--maroon);
  border-radius: 50%;
  border: 2px solid var(--ivory);
  box-shadow: 0 0 0 1px var(--maroon);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-silk);
}

.timeline-item:hover .timeline-marker span {
  transform: scale(1.4);
}

.timeline-content {
  padding-left: 1.5rem;
  padding-bottom: 1rem;
}

.timeline-content h4 {
  font-family: var(--font-cinzel);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-family: var(--font-cormorant);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════════════════════════════
   DELEGATE RESOURCES
═══════════════════════════════════════════════════════════════════ */
.section--resources {
  background: var(--parchment);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.resource-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 1.5rem 1.6rem;
  cursor: pointer;
  transition: box-shadow 0.4s var(--ease-silk), transform 0.4s var(--ease-silk), border-color 0.4s;
}

.resource-card:hover {
  box-shadow: 0 8px 32px rgba(30,26,22,0.08);
  transform: translateY(-3px);
  border-color: var(--gold-pale);
}

.resource-icon {
  width: 40px; height: 40px;
  color: var(--maroon);
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.resource-card:hover .resource-icon { opacity: 1; }

.resource-info h4 {
  font-family: var(--font-cinzel);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.resource-info p {
  font-family: var(--font-cormorant);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.resource-download {
  font-family: var(--font-lato);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-pale);
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.resource-card:hover .resource-download {
  background: var(--gold);
  color: var(--ivory);
}


/* ═══════════════════════════════════════════════════════════════════
   VENUE SECTION
═══════════════════════════════════════════════════════════════════ */
.section--venue {
  background: linear-gradient(150deg, #1A2642 0%, #0E1628 100%);
  padding: 6rem 2rem;
}

.venue-card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  background: rgba(248,244,237,0.04);
  border: 1px solid rgba(184,144,42,0.3);
  padding: 4rem 5rem;
  text-align: center;
  overflow: hidden;
}

.venue-ornament {
  position: absolute;
  width: 100px; height: 100px;
  border: 1px solid rgba(184,144,42,0.2);
}
.venue-ornament--tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.venue-ornament--br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.venue-pre {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(212,175,87,0.7);
  margin-bottom: 0.8rem;
}

.venue-title {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}

.venue-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.venue-divider span:not(.venue-divider-diamond) {
  flex: 1; max-width: 80px;
  height: 1px;
  background: rgba(184,144,42,0.4);
}
.venue-divider-diamond {
  color: var(--gold);
  font-size: 0.7rem;
}

.venue-details-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.venue-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 2.5rem;
  flex: 1;
}

.venue-detail-sep {
  width: 1px;
  background: rgba(184,144,42,0.2);
  margin: 0.5rem 0;
}

.venue-detail-icon {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.venue-detail-label {
  font-family: var(--font-lato);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184,144,42,0.6);
}

.venue-detail-value {
  font-family: var(--font-cormorant);
  font-size: 1.1rem;
  color: var(--ivory);
  text-align: center;
  line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════════════
   REGISTRATION SECTION
═══════════════════════════════════════════════════════════════════ */
.section--register {
  background: var(--cream);
  border-top: 1px solid var(--border-light);
}

.register-block {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.register-bg-ornament {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  color: var(--gold);
  opacity: 0.06;
  pointer-events: none;
}

.register-title {
  font-family: var(--font-vibes);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--maroon);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.register-subtitle {
  font-family: var(--font-cormorant);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.register-pricing {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.register-price-card {
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 1.8rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 180px;
}

.register-price-card--featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, var(--ivory), rgba(184,144,42,0.04));
}

.rp-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon);
  color: var(--ivory);
  font-family: var(--font-lato);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

.rp-tier {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.rp-amount {
  font-family: var(--font-cinzel);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.rp-note {
  font-family: var(--font-cormorant);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.register-cta {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--maroon);
  color: var(--ivory);
  font-family: var(--font-lato);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--maroon);
  transition: background 0.4s var(--ease-silk), color 0.4s var(--ease-silk), box-shadow 0.4s, transform 0.4s;
  margin-bottom: 1.5rem;
}
.register-cta:hover {
  background: transparent;
  color: var(--maroon);
  box-shadow: 0 12px 40px rgba(107,26,42,0.15);
  transform: translateY(-2px);
}

.register-note {
  font-family: var(--font-cormorant);
  font-size: 0.95rem;
  color: var(--text-light);
}

.register-note a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-pale);
  transition: color 0.3s;
}
.register-note a:hover { color: var(--maroon); }


/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(184,144,42,0.2);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.footer-logo {
  font-family: var(--font-cinzel);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.footer-tagline {
  font-family: var(--font-vibes);
  font-size: 1.3rem;
  color: rgba(248,244,237,0.5);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-lato);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,244,237,0.45);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-family: var(--font-lato);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(248,244,237,0.2);
}


/* ═══════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════════════ */
.reveal-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-slide {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal-fade.visible,
.reveal-slide.visible {
  opacity: 1;
  transform: none;
}


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --section-pad: 5rem 1.5rem; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .committees-grid { grid-template-columns: 1fr; }

  .sg-card { grid-template-columns: 1fr; }
  .sg-image-wrap { aspect-ratio: 4/3; min-height: 260px; }
  .sg-image-overlay { background: linear-gradient(to bottom, transparent 60%, var(--ivory)); }
  .sg-content { padding: 2rem 2rem; }

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

  .timeline::before { left: 90px; }
  .timeline-item { grid-template-columns: 90px 40px 1fr; }
  .timeline-time { font-size: 0.65rem; padding-right: 1rem; }

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

  .venue-card { padding: 3rem 2rem; }
  .venue-details-grid { flex-direction: column; gap: 1.5rem; }
  .venue-detail-sep { width: 60px; height: 1px; margin: 0 auto; }
  .venue-detail { padding: 0; }

  .about-stats { gap: 1.5rem; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  :root { --section-pad: 4rem 1.25rem; }

  .hero-title { letter-spacing: 0.12em; }
  .hero-countdown { gap: 0.25rem; }
  .countdown-number { font-size: 1.4rem; min-width: 48px; padding: 0.4rem 0.5rem; }
  .countdown-sep { font-size: 1.4rem; }
  .hero-pricing { gap: 1rem; }

  .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .leader-name { font-size: 1.4rem; }

  .timeline { padding-left: 0; }
  .timeline::before { left: 0; display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.3rem; }
  .timeline-time { text-align: left; padding-right: 0; font-size: 0.68rem; }
  .timeline-marker { display: none; }
  .timeline-content { padding-left: 0; }

  .register-pricing { gap: 1rem; }
  .register-price-card { min-width: 140px; padding: 1.4rem 1.5rem; }
  .rp-amount { font-size: 2rem; }

  .committee-card-inner { padding: 1.6rem; }

  .nav-inner { padding: 1rem 1.25rem; }
  .nav-logo-main { font-size: 1.1rem; }

  .footer-links { gap: 1.2rem; }
}

/* Placeholder image style */
img[src*="placeholder"] {
  background: var(--parchment-dk);
  object-fit: none !important;
}

/* LOGO SECTION */

.logo-strip {
  padding: 2rem 0 2.5rem;
  background: var(--ivory);
  text-align: center;
}

.logo-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ORGANISER */
.main-logo {
  height: 250px;   
  object-fit: contain;
  opacity: 0.95;
  margin-top: 0.5rem;
  transition: all 0.4s ease;
}

.main-logo:hover {
  transform: scale(1.05);
}

/* DIVIDER */
.logo-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 2rem auto;
}

/* COMMITTEES */
.committee-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.committee-logos img {
  height: 190px;
  opacity: 0.85;
  filter: grayscale(100%) contrast(0.9);
}

.committee-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.logo-container img {
  image-rendering: auto;
}
/* ENTIRE SECTION CENTERED */
.logo-strip {
  text-align: center;
}

/* ORGANISER BLOCK */
.organiser-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* MAIN LOGO PERFECT CENTER */
.main-logo {
  display: block;
  margin: 0 auto;
}
/* ═══════════════════════════════════
   TEAM SECTION
═══════════════════════════════════ */

.section--team {
  background: var(--ivory);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.team-image-wrap {
  position: relative;
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(30,26,22,0.08);
}

.team-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-silk), filter 0.6s var(--ease-silk);
  filter: contrast(1.05) sepia(0.08);
}

/* Hover effect */
.team-image-wrap:hover img {
  transform: scale(1.03);
  filter: contrast(1.1) sepia(0.15);
}

/* Overlay */
.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(30,26,22,0.8), transparent);
}

.team-overlay p {
  font-family: var(--font-lato);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
}