/* ============================================================
   Cinderella Charity Ball — Main Stylesheet
   ============================================================ */

/* ── Custom Properties ── */
:root {
  --blue-deep:      #0c1d4e;
  --blue-primary:   #1E3A8A;
  --blue-medium:    #2563EB;
  --blue-light:     #dbeafe;
  --gold-light:     #f5e6c8;
  --gold-primary:   #D4AF76;
  --gold-accent:    #c9952a;
  --gold-bright:    #F59E0B;
  --gold-dark:      #8a6520;
  --purple:         #6B46C1;
  --white:          #ffffff;
  --off-white:      #faf8f5;
  --gray-100:       #f3f4f6;
  --gray-200:       #e5e7eb;
  --gray-400:       #9ca3af;
  --gray-500:       #6b7280;
  --gray-700:       #374151;
  --gray-900:       #111827;
  --text-dark:      #0f172a;
  --text-body:      #374151;

  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --font-script:    'Dancing Script', cursive;

  --container-max:  1240px;
  --nav-height:     84px;

  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.16);
  --shadow-gold: 0 8px 32px rgba(212,175,118,.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { line-height: 1.75; color: var(--text-body); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  flex: 0 0 32px;
  height: 1px;
  background: var(--gold-primary);
  opacity: .6;
}

.script-accent {
  font-family: var(--font-script);
  font-weight: 600;
  color: var(--gold-primary);
}

/* ── Layout Utilities ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .25s var(--ease-in-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-bright);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(245,158,11,.35);
}
.btn-primary:hover {
  background: var(--gold-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.7);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold-primary);
  color: var(--gold-accent);
}
.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30,58,138,.3);
}
.btn-blue:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,58,138,.4);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .75s var(--ease-out-expo), transform .75s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}

.site-nav.scrolled {
  background: rgba(12, 29, 78, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  height: 68px;
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height .35s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

.site-nav.scrolled .nav-logo img { height: 42px; }

.nav-logo-text {
  display: none;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .875rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.nav-links a.active {
  color: var(--gold-primary);
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-socials {
  display: flex;
  gap: 10px;
}

.nav-socials a {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color .2s ease, background .2s ease;
}

.nav-socials a:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.btn-donate-nav {
  background: var(--gold-bright);
  color: var(--white) !important;
  font-weight: 700;
  font-size: .82rem;
  padding: 9px 20px;
  border-radius: 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-donate-nav:hover {
  background: var(--gold-accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,158,11,.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 90vw);
  height: 100vh;
  background: var(--blue-deep);
  z-index: 1050;
  transition: right .4s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 48px;
  box-shadow: -8px 0 40px rgba(0,0,0,.3);
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: block;
  transition: color .2s ease, padding-left .2s ease;
}

.mobile-menu a:hover {
  color: var(--gold-primary);
  padding-left: 8px;
}

.mobile-menu .btn-donate-mobile {
  margin-top: 28px;
  background: var(--gold-bright);
  color: var(--white) !important;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: none;
}

.mobile-menu .mobile-socials {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

.mobile-menu .mobile-socials a {
  color: rgba(255,255,255,.6);
  font-size: 1.2rem;
  padding: 0;
  border-bottom: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-deep) 0%, #162a6b 55%, #1a2f7a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Decorative background elements */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(100, 120, 220, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212, 175, 118, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Decorative circles */
.hero-decor-circle-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,118,.1);
  top: -100px;
  right: 200px;
  pointer-events: none;
}

.hero-decor-circle-2 {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,118,.08);
  bottom: -60px;
  right: 280px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 48px) 28px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

/* Hero Content */
.hero-content {
  max-width: 620px;
}

.hero-eyebrow {
  margin-bottom: 20px;
  animation: fadeInDown .8s var(--ease-out-expo) .1s both;
}

.hero-eyebrow .eyebrow { color: var(--gold-primary); }
.hero-eyebrow .eyebrow::before, .hero-eyebrow .eyebrow::after { background: var(--gold-primary); }

.hero-title {
  color: var(--white);
  margin-bottom: 10px;
  animation: fadeInDown .8s var(--ease-out-expo) .2s both;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
}

.hero-script {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--gold-primary);
  margin-bottom: 22px;
  display: block;
  animation: fadeInDown .8s var(--ease-out-expo) .3s both;
}

.hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 540px;
  animation: fadeInDown .8s var(--ease-out-expo) .4s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeInDown .8s var(--ease-out-expo) .5s both;
}

/* Countdown */
.countdown-wrap {
  animation: fadeInDown .8s var(--ease-out-expo) .6s both;
}

.countdown-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 12px;
}

.countdown {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.countdown-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.countdown-sep {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 20px;
  opacity: .7;
}

.countdown-txt {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

.countdown-event {
  margin-top: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

.countdown-event strong {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Hero Portrait */
.hero-portrait-wrap {
  position: relative;
  flex-shrink: 0;
  animation: fadeInRight .9s var(--ease-out-expo) .3s both;
}

.hero-portrait-frame {
  position: relative;
  width: 320px;
}

/* Gold decorative frame lines */
.hero-portrait-frame::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 36px;
  bottom: 36px;
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  opacity: .45;
  z-index: 0;
}

.hero-portrait-frame::after {
  content: '';
  position: absolute;
  top: 36px;
  left: 36px;
  right: -12px;
  bottom: -12px;
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  opacity: .25;
  z-index: 0;
}

.hero-portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  box-shadow: var(--shadow-gold), 0 24px 60px rgba(0,0,0,.4);
}

/* Miss Cinderella badge */
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-bright));
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(201,149,42,.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge i { font-size: .9rem; }

/* Crown decorative icon above portrait */
.hero-crown {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--gold-primary);
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 8px rgba(212,175,118,.5));
  animation: floatY 3s ease-in-out infinite;
}

.hero-name-plate {
  text-align: center;
  margin-top: 36px;
}

.hero-name-plate .candidate-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.hero-name-plate .candidate-school {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-top: 2px;
  letter-spacing: .04em;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(90deg, var(--blue-deep), #1b2f82, var(--blue-deep));
  border-top: 1px solid rgba(212,175,118,.2);
  border-bottom: 1px solid rgba(212,175,118,.2);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 120% at 50% 50%, rgba(212,175,118,.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.stats-grid::before {
  display: none;
}

.stat-item {
  text-align: center;
  padding: 20px 24px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(212,175,118,.2);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number .prefix {
  color: var(--gold-primary);
  font-size: .65em;
  margin-right: 1px;
}

.stat-number .suffix {
  color: var(--gold-primary);
  font-size: .65em;
  margin-left: 2px;
}

.stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 8px;
}

.stat-sub {
  font-size: .7rem;
  color: rgba(212,175,118,.5);
  margin-top: 3px;
  letter-spacing: .04em;
}

/* ============================================================
   WHAT'S NEW
   ============================================================ */
.whats-new { background: var(--off-white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  justify-content: center;
  margin-bottom: 14px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--gray-500);
  font-size: 1.05rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out-expo);
}

.news-card:hover .news-card-img img { transform: scale(1.06); }

.news-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-bright);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}

.news-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.news-card-body p {
  font-size: .9rem;
  color: var(--gray-500);
  flex: 1;
  margin-bottom: 20px;
}

.news-card-link {
  color: var(--blue-primary);
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease, color .2s ease;
}

.news-card-link:hover {
  color: var(--gold-accent);
  gap: 10px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-bright), var(--gold-primary));
  opacity: .35;
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  color: var(--gold-primary);
  box-shadow: 0 4px 20px rgba(30,58,138,.25);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}

.step-item:hover .step-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(30,58,138,.35);
}

.step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: var(--gold-bright);
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-item p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   CANDIDATES SPOTLIGHT
   ============================================================ */
.candidates-section { background: var(--off-white); }

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

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

.candidate-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease-out-expo), box-shadow .35s ease;
}

.candidate-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.candidate-card.winner-card {
  grid-column: span 1;
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-gold), var(--shadow-md);
}

.candidate-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s var(--ease-out-expo);
}

.candidate-card:hover img { transform: scale(1.07); }

.candidate-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,29,78,.85) 0%, rgba(12,29,78,.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.candidate-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.candidate-school {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  margin-top: 3px;
}

.winner-ribbon {
  position: absolute;
  top: 14px;
  right: 0;
  background: linear-gradient(135deg, var(--gold-accent), var(--gold-bright));
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px 6px 16px;
  border-radius: 4px 0 0 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: -4px 2px 12px rgba(0,0,0,.2);
}

.candidates-cta {
  text-align: center;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.candidates-cta p {
  font-size: .9rem;
  color: var(--gray-500);
}

/* ============================================================
   IMPACT BAND (Full-Width Photo Section)
   ============================================================ */
.impact-band {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.impact-band-bg {
  position: absolute;
  inset: 0;
  background-image: url('../image/imgi_6_CCB-Formal4-10-26-700x300.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

.impact-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 29, 78, 0.93) 0%,
    rgba(26, 47, 120, 0.85) 50%,
    rgba(12, 29, 78, 0.92) 100%
  );
}

.impact-band-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.impact-band-text .eyebrow {
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.impact-band-text .eyebrow::before,
.impact-band-text .eyebrow::after { background: var(--gold-primary); }

.impact-band-text h2 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.impact-band-text p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.impact-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.impact-num-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,118,.2);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.impact-num-item .num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  display: block;
}

.impact-num-item .lbl {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  display: block;
}

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-strip {
  background: var(--white);
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  background: var(--gray-200);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out-expo);
  min-height: 200px;
}

.gallery-item:first-child img { min-height: 420px; }

.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   EVENTS SECTION
   ============================================================ */
.events-section { background: var(--off-white); }

.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-item {
  background: var(--white);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.event-item:hover {
  border-left-color: var(--gold-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.event-date-block {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  color: var(--white);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
  min-width: 56px;
  flex-shrink: 0;
}

.event-date-block .month {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.event-date-block .day {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.event-details h4 {
  font-size: .98rem;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.event-details p {
  font-size: .82rem;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-meta span {
  font-size: .74rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.events-cta-side {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  border-radius: 16px;
  padding: 44px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.events-cta-side::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.events-cta-side::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(212,175,118,.07);
}

.events-cta-side i {
  font-size: 2.2rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
  display: block;
}

.events-cta-side h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.events-cta-side p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.events-cta-side .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #162666 50%, var(--blue-deep) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(212,175,118,.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-deep);
  border-top: 1px solid rgba(212,175,118,.2);
}

.footer-top {
  padding: 72px 0 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-partner-logos {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-partner-logos img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .4;
  transition: opacity .2s ease;
}

.footer-partner-logos img:hover { opacity: .7; }

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
  transition: color .2s ease, padding-left .2s ease;
  display: block;
}

.footer-col ul a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-newsletter h5 {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

.footer-newsletter p {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.footer-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 11px 16px;
  color: var(--white);
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: background .2s ease;
}

.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.35); }
.footer-newsletter-form input:focus { background: rgba(255,255,255,.12); }

.footer-newsletter-form button {
  background: var(--gold-bright);
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  padding: 11px 16px;
  border-radius: 0 8px 8px 0;
  transition: background .2s ease;
  white-space: nowrap;
}

.footer-newsletter-form button:hover { background: var(--gold-accent); }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: all .2s ease;
}

.footer-socials a:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--white);
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: rgba(255,255,255,.35);
  font-size: .78rem;
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  transition: color .2s ease;
}

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

.footer-legal {
  display: flex;
  gap: 20px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .6; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-portrait-frame { width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  /* Disable parallax on mobile — broken on iOS Safari */
  .impact-band-bg { background-attachment: scroll; }

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

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 100px;
  }

  .hero-eyebrow .eyebrow { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .countdown { justify-content: center; }
  .countdown-label { text-align: center; }
  .countdown-event { text-align: center; }

  .hero-portrait-wrap {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-portrait-frame { width: 230px; margin: 60px auto 0; }
  .hero-name-plate { margin-top: 44px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item:nth-child(3)::before { display: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(212,175,118,.2); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(212,175,118,.2); }

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

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .steps-grid::before { display: none; }

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

  .impact-band-inner { grid-template-columns: 1fr; gap: 40px; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery-item:first-child img { min-height: 260px; }

  .events-layout { grid-template-columns: 1fr; }
  .events-cta-side { max-width: 480px; }
}

@media (max-width: 640px) {
  :root { --nav-height: 68px; }

  .section-pad { padding: 70px 0; }
  .section-pad-sm { padding: 50px 0; }

  .hero-portrait-frame { width: 200px; }
  .countdown-num { width: 58px; height: 58px; font-size: 1.6rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item + .stat-item::before { display: none; }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item:first-child { grid-column: 1; }

  .impact-numbers { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns .btn { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 420px) {
  .candidates-grid { grid-template-columns: 1fr; }
  .impact-numbers { grid-template-columns: 1fr; }
}
