/* ============================================================
   MIPSS 2026 — Homepage  v1
   Typography: Cormorant Garamond (serif, titles) + Jost (sans, body)
   Palette: Lavender #E3D1E4 · Slate Blue #567AB8 · Off-White · Gold
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --slate-dark:   #2A3D5C;
  --slate-mid:    #3D5A8C;
  --slate:        #567AB8;
  --slate-light:  #7A96C9;
  --slate-pale:   #C5D3E8;

  --lavender:     #E3D1E4;
  --lavender-mid: #D9C5DB;
  --lavender-deep:#C4A8C8;
  --lavender-pale:#F0E8F2;

  --gold:         #B8975A;
  --gold-light:   #D4B07A;

  --offwhite:     #FAFAF8;
  --cream:        #F5F3F0;
  --white:        #FFFFFF;

  --text-dark:    #2E2B28;
  --text-mid:     #5A5650;
  --text-light:   #8B8680;

  --border:       rgba(86,122,184,0.18);
  --border-lav:   rgba(227,209,228,0.60);

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius-sm:    4px;
  --radius-md:    10px;
  --radius-lg:    20px;

  --shadow-sm:    0 2px 12px rgba(42,61,92,0.08);
  --shadow-md:    0 6px 30px rgba(42,61,92,0.14);
  --shadow-lg:    0 16px 60px rgba(42,61,92,0.22);

  --transition:   0.3s ease;
  --max-width:    1160px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text-dark);
  background: var(--offwhite);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
ul { list-style: none; }
sup { font-size: 0.55em; vertical-align: super; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--slate-dark);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-sans);
  font-size: 0.9rem; font-weight: 300;
  padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-top: 1px solid var(--gold);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept, .btn-cookie-reject {
  padding: 6px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--gold); transition: background var(--transition), color var(--transition);
}
.btn-cookie-accept { background: var(--gold); color: var(--slate-dark); }
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.7); }
.btn-cookie-reject:hover { background: rgba(255,255,255,0.08); }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--slate-dark);
  color: rgba(255,255,255,0.72);
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar-register { color: var(--gold-light); font-weight: 500; transition: color var(--transition); }
.topbar-register:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-lav);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav ul li a {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid);
  padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav ul li a:hover, .main-nav ul li a.active { color: var(--slate); background: var(--lavender-pale); }
.btn-register {
  margin-left: 16px; padding: 9px 22px;
  background: var(--slate); color: var(--white);
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 1px solid var(--slate); white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}
.btn-register:hover { background: var(--gold); border-color: var(--gold); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--slate-dark); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: url('mipss_home_hero_bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(42,61,92,0.92) 0%, rgba(61,90,140,0.78) 50%, rgba(86,122,184,0.50) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-top: 120px; padding-bottom: 60px;
}
.hero-eyebrow {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 300; line-height: 1.05;
  color: var(--white); margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--lavender); }
.hero-subtitle {
  font-family: var(--font-sans); font-size: 1.15rem; font-weight: 300;
  color: rgba(255,255,255,0.80); max-width: 560px; margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }
.btn-hero {
  display: inline-block; padding: 15px 38px;
  background: var(--gold); color: var(--slate-dark);
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-hero:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn-hero--outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5);
}
.btn-hero--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Countdown */
.hero-countdown {
  position: relative; z-index: 2;
  background: rgba(42,61,92,0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(227,209,228,0.2);
  padding: 24px 0;
}
.countdown-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
}
.countdown-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 32px;
}
.countdown-num {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300; color: var(--white); line-height: 1;
}
.countdown-label {
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lavender); margin-top: 4px;
}
.countdown-sep {
  font-family: var(--font-serif); font-size: 2.5rem; font-weight: 300;
  color: rgba(227,209,228,0.4); line-height: 1; padding-bottom: 16px;
}

/* ---------- Intro Strip ---------- */
.intro-strip {
  background: var(--lavender-pale);
  border-bottom: 1px solid var(--border-lav);
  padding: 36px 0;
}
.intro-strip__text {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400; color: var(--slate-dark); text-align: center;
  line-height: 1.6; max-width: 800px; margin: 0 auto;
}
.intro-strip__text strong { color: var(--slate); }

/* ---------- Section Utilities ---------- */
.section-eyebrow {
  display: block;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 10px;
}
.section-eyebrow--light { color: var(--lavender); }
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--slate-dark);
  margin-bottom: 28px; position: relative; padding-bottom: 16px; line-height: 1.15;
}
.section-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 48px; height: 2px; background: var(--slate);
}
.section-heading--light { color: var(--white); }
.section-heading--light::after { background: var(--lavender); }
.section-heading--center { text-align: center; }
.section-heading--center::after { left: 50%; transform: translateX(-50%); }
.section-lead {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 300;
  color: var(--text-mid); max-width: 640px; line-height: 1.75; margin-bottom: 48px;
}

/* ---------- About Section ---------- */
.about-section { padding: 96px 0; background: var(--offwhite); }
.about-grid {
  display: grid; grid-template-columns: 1fr 340px; gap: 72px; align-items: start;
}
.about-text p {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.85; margin-bottom: 20px;
}
.about-text p strong { color: var(--slate-dark); font-weight: 500; }
.about-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.btn-primary {
  display: inline-block; padding: 13px 32px;
  background: var(--slate); color: var(--white);
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 1px solid var(--slate);
  transition: background var(--transition), border-color var(--transition);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }
.btn-outline {
  display: inline-block; padding: 13px 32px;
  background: transparent; color: var(--slate);
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 1px solid var(--slate);
  transition: background var(--transition), color var(--transition);
}
.btn-outline:hover { background: var(--lavender-pale); }

/* Stats */
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.stat-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 16px;
  background: var(--white); border: 1px solid var(--border-lav);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-num {
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 300;
  color: var(--slate); line-height: 1;
}
.stat-label {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light); margin-top: 6px; line-height: 1.4;
}

/* ---------- Pillars Section ---------- */
.pillars-section { padding: 96px 0; background: var(--lavender-pale); border-top: 1px solid var(--border-lav); border-bottom: 1px solid var(--border-lav); }
.pillars-header { margin-bottom: 56px; }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.pillar-card {
  background: var(--white); border: 1px solid var(--border-lav);
  border-radius: var(--radius-lg); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-card--featured {
  background: var(--slate-dark); border-color: var(--slate);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: var(--lavender-pale); border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.pillar-card--featured .pillar-icon { background: rgba(227,209,228,0.12); }
.pillar-icon svg { width: 24px; height: 24px; color: var(--slate); }
.pillar-card--featured .pillar-icon svg { color: var(--lavender); }
.pillar-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500;
  color: var(--slate-dark); line-height: 1.2;
}
.pillar-card--featured .pillar-title { color: var(--white); }
.pillar-text {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.75; flex: 1;
}
.pillar-card--featured .pillar-text { color: rgba(255,255,255,0.72); }
.pillar-list {
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.pillar-list li {
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300;
  color: rgba(255,255,255,0.78); padding-left: 16px; position: relative;
  line-height: 1.5;
}
.pillar-list li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--lavender); font-weight: 400;
}
.btn-pillar {
  display: inline-block; padding: 11px 24px;
  background: var(--lavender-pale); color: var(--slate-dark);
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm); border: 1px solid var(--lavender-mid);
  cursor: pointer; text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-pillar:hover { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn-pillar--light {
  background: rgba(227,209,228,0.12); color: var(--lavender); border-color: rgba(227,209,228,0.3);
}
.btn-pillar--light:hover { background: var(--gold); color: var(--slate-dark); border-color: var(--gold); }

/* ---------- Committee Section ---------- */
.committee-section {
  background: var(--slate-dark);
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.committee-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(86,122,184,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.committee-inner { position: relative; z-index: 1; }
.committee-header { margin-bottom: 56px; }
.committee-intro {
  font-family: var(--font-serif); font-size: 1.3rem; font-style: italic;
  color: rgba(255,255,255,0.6); margin-top: -16px;
}
.committee-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 48px;
}
.committee-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 24px;
  background: rgba(227,209,228,0.06); border: 1px solid rgba(227,209,228,0.18);
  border-radius: var(--radius-lg);
  transition: background var(--transition), border-color var(--transition);
}
.committee-card:hover { background: rgba(227,209,228,0.10); border-color: rgba(227,209,228,0.35); }
.committee-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(86,122,184,0.25); border: 1px solid rgba(227,209,228,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.committee-avatar svg { width: 36px; height: 36px; color: var(--lavender); }
.committee-name {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 500;
  color: var(--white); margin-bottom: 6px; line-height: 1.3;
}
.committee-role {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--lavender);
}
.committee-cta-text {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,0.65); display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.btn-gold {
  display: inline-block; padding: 12px 30px;
  background: var(--gold); color: var(--slate-dark);
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.link-inline { color: var(--lavender); text-decoration: underline; }
.link-inline:hover { color: var(--white); }

/* ---------- Video Section ---------- */
.video-section { padding: 96px 0; background: var(--offwhite); }
.video-section__header { margin-bottom: 48px; }
.video-embed-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-lav);
}
.video-embed-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: var(--radius-lg);
}

/* ---------- Marbella Section ---------- */
.marbella-section { position: relative; overflow: hidden; }
.marbella-bg-wrap {
  background: url('mipss_home_marbella_bg.jpg') center center / cover no-repeat;
  position: relative;
}
.marbella-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,61,92,0.92) 0%, rgba(61,90,140,0.80) 60%, rgba(42,61,92,0.70) 100%);
}
.marbella-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding-top: 96px; padding-bottom: 96px;
}
.marbella-text p {
  font-family: var(--font-sans); font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.78); line-height: 1.85; margin-bottom: 20px;
}
.marbella-text p strong { color: var(--lavender); font-weight: 500; }
.marbella-text .btn-gold { margin-top: 16px; }
.marbella-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.marbella-card {
  padding: 28px 24px;
  background: rgba(227,209,228,0.07); border: 1px solid rgba(227,209,228,0.22);
  border-radius: var(--radius-md);
  transition: background var(--transition), border-color var(--transition);
}
.marbella-card:hover { background: rgba(227,209,228,0.12); border-color: rgba(227,209,228,0.40); }
.marbella-card__icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  background: rgba(86,122,184,0.25); border-radius: var(--radius-sm); margin-bottom: 14px;
}
.marbella-card__icon svg { width: 20px; height: 20px; color: var(--lavender); }
.marbella-card__title {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500;
  color: var(--white); margin-bottom: 6px;
}
.marbella-card__text {
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 300;
  color: rgba(255,255,255,0.60); line-height: 1.5;
}

/* ---------- Endorsements ---------- */
.endorsements-section { padding: 80px 0; background: var(--cream); border-top: 1px solid var(--border-lav); }
.endorsements-header { margin-bottom: 40px; }
.endorsements-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap; margin-bottom: 60px;
}
.endorsement-logo-placeholder {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 32px;
  background: var(--white); border: 1px solid var(--border-lav);
  border-radius: var(--radius-md); min-width: 160px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.endorsement-logo-placeholder:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.endorsement-logo-placeholder span {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500;
  color: var(--slate-dark); margin-bottom: 4px;
}
.endorsement-logo-placeholder small {
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 400;
  color: var(--text-light); line-height: 1.4; max-width: 130px;
}
.sponsors-header { margin-bottom: 28px; }
.sponsors-title {
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light);
}
.sponsors-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 24px;
}
.sponsor-placeholder {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 28px; min-width: 120px;
  background: var(--white); border: 1px solid var(--border-lav);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.sponsor-placeholder:hover { transform: translateY(-2px); }
.sponsor-placeholder span {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500;
  color: var(--text-light); letter-spacing: 0.04em;
}
.sponsors-note {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300;
  color: var(--text-light); text-align: center;
}
.sponsors-note a { color: var(--slate); text-decoration: underline; }
.sponsors-note a:hover { color: var(--gold); }

/* ---------- CTA Section ---------- */
.cta-section { background: var(--gold); padding: 64px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-text h3 {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500; color: var(--slate-dark); margin-bottom: 6px;
}
.cta-text p {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: rgba(42,61,92,0.72);
}
.btn-cta {
  display: inline-block; padding: 15px 44px;
  background: var(--slate-dark); color: var(--white);
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: var(--radius-sm); white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta:hover { background: var(--slate-mid); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-dark);
  border-top: 1px solid rgba(227,209,228,0.18);
  padding: 72px 0 40px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px;
}
.footer-col--brand { padding-right: 20px; }
.footer-logo { height: 50px; width: auto; margin-bottom: 16px; }
.footer-tagline {
  font-family: var(--font-serif); font-size: 0.9rem; font-style: italic;
  color: rgba(255,255,255,0.42); margin-bottom: 12px; line-height: 1.5;
}
.footer-copy {
  font-family: var(--font-sans); font-size: 0.75rem;
  color: rgba(255,255,255,0.32); letter-spacing: 0.04em;
}
.footer-heading {
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.58); transition: color var(--transition);
}
.footer-links a:hover { color: var(--lavender); }
.footer-address {
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.58); line-height: 1.9;
}
.footer-address strong { color: rgba(255,255,255,0.85); font-weight: 500; }
.footer-address a { color: rgba(255,255,255,0.58); transition: color var(--transition); }
.footer-address a:hover { color: var(--lavender); }
.footer-map-link {
  display: inline-block; margin-top: 6px;
  color: var(--gold) !important; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em;
}
.footer-legal {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-legal a {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 300;
  color: rgba(255,255,255,0.32); transition: color var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(42,61,92,0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative; width: 100%; max-width: 680px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal--video { max-width: 860px; background: var(--slate-dark); padding: 32px; }
.modal--content { padding: 48px 44px; }

.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--text-light);
  transition: color var(--transition), transform var(--transition);
  z-index: 10;
}
.modal-close:hover { color: var(--slate-dark); transform: rotate(90deg); }
.modal--video .modal-close { color: rgba(255,255,255,0.5); }
.modal--video .modal-close:hover { color: var(--white); }

.modal-header { margin-bottom: 28px; }
.modal-eyebrow {
  display: block; font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px;
}
.modal-title {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 400;
  color: var(--slate-dark); line-height: 1.2;
}
.modal--video .modal-title { color: var(--white); margin-bottom: 20px; }

.modal-lead {
  font-family: var(--font-sans); font-size: 1.05rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.8; margin-bottom: 24px;
}
.modal-highlight-box {
  background: var(--lavender-pale); border: 1px solid var(--lavender-mid);
  border-left: 3px solid var(--slate); border-radius: var(--radius-sm);
  padding: 18px 20px; margin-bottom: 28px;
}
.modal-highlight-box p {
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 300;
  color: var(--text-dark); line-height: 1.7;
}
.modal-topics h4 {
  font-family: var(--font-sans); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light);
  margin-bottom: 14px;
}
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.modal-tag {
  padding: 5px 14px;
  background: var(--lavender-pale); border: 1px solid var(--lavender-mid);
  border-radius: 20px; font-family: var(--font-sans); font-size: 0.78rem;
  font-weight: 400; color: var(--slate-dark);
}
.btn-modal-cta {
  display: inline-block; padding: 13px 32px;
  background: var(--slate); color: var(--white);
  font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition);
}
.btn-modal-cta:hover { background: var(--gold); color: var(--slate-dark); transform: translateY(-2px); }

.modal-venue-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.modal-venue-card {
  padding: 20px 18px;
  background: var(--lavender-pale); border: 1px solid var(--lavender-mid);
  border-radius: var(--radius-md);
}
.modal-venue-card h4 {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 500;
  color: var(--slate-dark); margin-bottom: 10px;
}
.modal-venue-card p {
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.65; margin-bottom: 12px;
}
.modal-link {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
  color: var(--slate); letter-spacing: 0.04em;
  transition: color var(--transition);
}
.modal-link:hover { color: var(--gold); }

/* Video modal iframe */
.video-modal-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius-md);
}
.video-modal-embed iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* ---------- Scroll Reveal ---------- */
.reveal-init {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-init.revealed { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; gap: 20px; }
  .committee-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .marbella-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .modal-venue-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 1.05rem; }
  .topbar { font-size: 0.7rem; padding: 6px 20px; }
  .topbar-register { display: none; }
  .header-inner { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--border-lav);
    box-shadow: var(--shadow-md); flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li a { display: block; padding: 10px 12px; font-size: 0.82rem; }
  .btn-register { margin: 16px 0 0; text-align: center; padding: 12px; }

  .hero { min-height: 100svh; }
  .hero-content { padding-top: 80px; padding-bottom: 40px; }
  .hero-title { font-size: 2.8rem; }
  .countdown-item { padding: 0 16px; }

  .container { padding: 0 20px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .committee-grid { grid-template-columns: 1fr; }
  .marbella-highlights { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-col--brand { padding-right: 0; }
  .modal--content { padding: 32px 24px; }
  .endorsements-logos { gap: 16px; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .marbella-highlights { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .countdown-item { padding: 0 10px; }
  .countdown-sep { display: none; }
  .countdown-inner { gap: 16px; }
}
