/* ============================================================
   YEC — Young Entrepreneur Club
   Design System: Modern / Fresh / Entrepreneurial
   Colors: Deep Navy (#1B2340), Gold (#D4A843), Off-White (#F7F5F0)
   Typography: DM Sans + Space Grotesk
   No italics. Minimum font size: 15px.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2340;
  --navy-dark: #111827;
  --navy-light: #2d3a5e;
  --gold: #D4A843;
  --gold-light: #E0BC6A;
  --gold-pale: #F5E8C0;
  --cream: #F7F5F0;
  --cream-dark: #EEEAE2;
  --white: #ffffff;
  --text-dark: #111827;
  --text-mid: #3D4A6B;
  --text-light: #7A8AAD;
  --border: rgba(27,35,64,0.10);
  --border-gold: rgba(212,168,67,0.28);

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-label: 'Space Grotesk', system-ui, sans-serif;

  --max-w: 1120px;
  --section-pad: 96px 24px;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em, i, cite, address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 1.1em; font-size: clamp(15px, 1.5vw, 17px); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--dark { background: var(--navy-dark); color: var(--cream); }

.section-label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}
.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-mid);
  max-width: 580px;
}
.section--navy .section-header p { color: rgba(247,245,240,0.65); }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(17,24,39,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,168,67,0.15);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__links a {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: rgba(247,245,240,0.7);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a.active { color: var(--gold); }
.nav__cta {
  color: var(--navy-dark) !important;
  background: var(--gold);
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--gold-light) !important; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span { display: block; width: 24px; height: 1.5px; background: var(--cream); }
.nav__mobile {
  display: none; background: var(--navy-dark);
  border-top: 1px solid rgba(212,168,67,0.1); padding: 20px 24px;
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block; font-family: var(--font-label); font-size: 15px; font-weight: 500;
  color: rgba(247,245,240,0.75); padding: 12px 0;
  border-bottom: 1px solid rgba(212,168,67,0.08); transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--gold); }
.nav__mobile a:last-child { border-bottom: none; }
@media (max-width: 860px) { .nav__links { display: none; } .nav__hamburger { display: flex; } }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 13px;
  letter-spacing: 0.04em; font-weight: 600;
  padding: 13px 28px; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition);
  border: 1.5px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--outline { background: transparent; color: var(--cream); border-color: rgba(247,245,240,0.3); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-light); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: rgba(27,35,64,0.25); }
.btn--outline-navy:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); }

/* ============================================================ HERO */
.hero {
  min-height: 100vh;
  background: var(--navy-dark);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  padding: 128px 24px 80px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 85% 40%, rgba(212,168,67,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 85%, rgba(45,58,94,0.5) 0%, transparent 55%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.06;
  background-image: radial-gradient(circle, rgba(212,168,67,1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero__accent {
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.35;
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px; font-weight: 600;
}
.hero__eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { color: var(--cream); margin-bottom: 6px; }
.hero h1 span { color: var(--gold); }
.hero__sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(247,245,240,0.5); margin: 14px 0 44px;
  max-width: 520px; line-height: 1.65; font-weight: 400;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================ PAGE HERO */
.page-hero {
  padding: 144px 24px 68px;
  background: var(--navy-dark); position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(212,168,67,0.06) 0%, transparent 60%);
}
.page-hero__accent {
  position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent); opacity: 0.3;
}
.page-hero__inner { position: relative; max-width: var(--max-w); margin: 0 auto; }
.page-hero__label {
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; font-weight: 600;
}
.page-hero__label::before { content: ''; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; }
.page-hero h1 { color: var(--cream); margin-bottom: 14px; }
.page-hero__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(247,245,240,0.5); max-width: 540px; font-weight: 400;
}

/* ============================================================ WHAT / WHY / HOW */
.wwh-section { padding: 80px 24px; position: relative; }
.wwh-section--what { background: var(--white); }
.wwh-section--why  { background: var(--cream); }
.wwh-section--how  { background: var(--navy); color: var(--cream); }
.wwh-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start;
}
.wwh-label-col { padding-top: 4px; }
.wwh-tag {
  display: inline-block;
  font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700;
  color: var(--navy-dark); background: var(--gold);
  padding: 6px 16px; border-radius: 100px; margin-bottom: 18px;
}
.wwh-label-col h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08; letter-spacing: -0.03em;
}
.wwh-section--how .wwh-label-col h2 { color: var(--cream); }
.wwh-content p {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-mid); margin-bottom: 14px; max-width: 600px;
}
.wwh-section--how .wwh-content p { color: rgba(247,245,240,0.68); }
.wwh-content p:last-child { margin-bottom: 0; }
.wwh-highlight {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px;
}
.wwh-highlight span {
  font-family: var(--font-label); font-size: 13px; font-weight: 500;
  color: var(--navy); background: var(--gold-pale);
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(212,168,67,0.3);
}
.wwh-section--how .wwh-highlight span {
  color: var(--gold-light); background: rgba(212,168,67,0.1);
  border-color: rgba(212,168,67,0.2);
}
@media (max-width: 760px) { .wwh-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================ CARDS */
.card {
  background: var(--white); border: 1.5px solid var(--border);
  padding: 30px; border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover { border-color: var(--border-gold); box-shadow: 0 8px 32px rgba(27,35,64,0.07); transform: translateY(-2px); }
.card__label { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.card h3 { margin-bottom: 10px; color: var(--navy); }
.card p { color: var(--text-mid); font-size: clamp(15px, 1.4vw, 16px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ============================================================ FOOTER */
.footer {
  background: var(--navy-dark); color: rgba(247,245,240,0.65);
  padding: 64px 24px 32px; border-top: 1px solid rgba(212,168,67,0.12);
}
.footer__inner { max-width: var(--max-w); margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand img { height: 52px; margin-bottom: 18px; }
.footer__brand p { font-size: clamp(15px, 1.3vw, 15px); color: rgba(247,245,240,0.4); line-height: 1.65; margin-bottom: 14px; }
.footer__status {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.12em;
  color: var(--gold); text-transform: uppercase; font-weight: 600;
  padding: 5px 12px; border: 1px solid rgba(212,168,67,0.25);
  display: inline-block; border-radius: var(--radius);
}
.footer__col h4 { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.footer__col a { display: block; font-size: clamp(15px, 1.3vw, 15px); color: rgba(247,245,240,0.5); padding: 4px 0; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(212,168,67,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer__copy { font-size: 15px; color: rgba(247,245,240,0.3); }
.footer__email { font-size: 15px; color: rgba(247,245,240,0.4); transition: color var(--transition); }
.footer__email:hover { color: var(--gold); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================ FORMS */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--font-label);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 7px; font-weight: 600;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 13px 15px;
  font-family: var(--font-body); font-size: clamp(15px, 1.4vw, 16px);
  color: var(--text-dark); transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group .required { color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================ UTILITY */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-48{margin-top:48px}
.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-32{margin-bottom:32px}.mb-48{margin-bottom:48px}
.rule { border: none; border-top: 1px solid var(--border-gold); margin: 48px 0; }

.sponsor-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.sponsor-pill {
  font-family: var(--font-label); font-size: 15px; font-weight: 500;
  padding: 7px 18px; border: 1px solid var(--border-gold);
  border-radius: 100px; color: var(--text-mid); background: var(--white);
}
.section--navy .sponsor-pill { color: rgba(247,245,240,0.65); background: rgba(255,255,255,0.05); border-color: rgba(212,168,67,0.2); }

.badge {
  display: inline-block; font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 5px 13px; border-radius: 100px;
  background: rgba(212,168,67,0.12); color: var(--gold); border: 1px solid rgba(212,168,67,0.25);
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 14px 0; font-size: clamp(15px, 1.4vw, 16px); vertical-align: top; }
.info-table td:first-child {
  font-family: var(--font-label); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold); width: 140px; padding-top: 17px; font-weight: 600;
}

.dot-list { list-style: none; padding: 0; }
.dot-list li { padding: 8px 0 8px 20px; position: relative; font-size: clamp(15px, 1.4vw, 16px); color: var(--text-mid); border-bottom: 1px solid var(--border); }
.dot-list li:last-child { border-bottom: none; }
.dot-list li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.expectation-block {
  border-left: 3px solid var(--gold); padding: 22px 26px;
  background: var(--white); margin-bottom: 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.expectation-block h4 { color: var(--navy); margin-bottom: 10px; }
.expectation-block p, .expectation-block ul { color: var(--text-mid); font-size: clamp(15px, 1.4vw, 16px); }
.expectation-block ul { padding-left: 18px; }
.expectation-block ul li { margin-bottom: 5px; }

.involve-card {
  border: 1.5px solid var(--border); padding: 32px;
  background: var(--white); border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.involve-card:hover { border-color: var(--gold); box-shadow: 0 8px 32px rgba(27,35,64,0.07); transform: translateY(-2px); }
.involve-card__num { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.involve-card h3 { color: var(--navy); margin-bottom: 10px; }
.involve-card p { color: var(--text-mid); font-size: clamp(15px, 1.4vw, 16px); margin-bottom: 22px; }

.chapter-card {
  border: 1.5px solid var(--border); background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.chapter-card:hover { border-color: var(--border-gold); box-shadow: 0 8px 36px rgba(27,35,64,0.1); transform: translateY(-2px); }
.chapter-card__header { background: var(--navy); padding: 32px 30px; display: flex; align-items: center; gap: 24px; }
.chapter-card__header img { height: 88px; }
.chapter-card__header-text h3 { color: var(--cream); margin-bottom: 4px; }
.chapter-card__header-text span { color: rgba(247,245,240,0.5); font-size: 15px; }
.chapter-card__body { padding: 26px 30px; }
.chapter-card__body p { color: var(--text-mid); margin-bottom: 18px; font-size: clamp(15px, 1.4vw, 16px); }

.sponsor-tier {
  border: 1.5px solid var(--border); background: var(--white);
  padding: 40px; border-radius: var(--radius-lg);
}
.sponsor-tier h3 { color: var(--navy); margin-bottom: 6px; }
.sponsor-tier__amount { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--gold); margin: 14px 0; letter-spacing: -0.02em; }
.sponsor-tier__list { list-style: none; padding: 0; margin: 14px 0 26px; }
.sponsor-tier__list li { padding: 8px 0 8px 22px; position: relative; font-size: clamp(15px, 1.4vw, 16px); color: var(--text-mid); border-bottom: 1px solid var(--border); }
.sponsor-tier__list li:last-child { border-bottom: none; }
.sponsor-tier__list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 13px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item {
  aspect-ratio: 4/3; background: var(--cream-dark); border: 1px solid var(--border);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-family: var(--font-label); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 15px; font-weight: 500;
  color: rgba(247,245,240,0.4); margin-bottom: 18px;
}
.breadcrumb a { color: rgba(247,245,240,0.4); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(247,245,240,0.2); }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

.form-success {
  display: none; background: rgba(212,168,67,0.07); border: 1.5px solid var(--border-gold);
  padding: 28px; text-align: center; font-size: clamp(15px, 1.5vw, 17px);
  color: var(--navy); border-radius: var(--radius-lg); margin-top: 24px;
}
.form-success.show { display: block; }

/* Responsive two-column grid used inline across pages */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col-grid--wide { grid-template-columns: 1fr 1.5fr; }
.two-col-grid--sponsor { grid-template-columns: 1.2fr 1fr; }
.two-col-grid--kc { grid-template-columns: 1fr 1.1fr; }

@media (max-width: 720px) {
  .two-col-grid,
  .two-col-grid--wide,
  .two-col-grid--sponsor,
  .two-col-grid--kc {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sponsor-tier .two-col-inner {
    grid-template-columns: 1fr;
  }
}

/* Dark form variant (used on navy background) */
.form-group--dark label {
  color: rgba(247,245,240,0.75);
}
.form-group--dark input,
.form-group--dark select,
.form-group--dark textarea {
  background: rgba(255,255,255,0.07);
  border-color: rgba(247,245,240,0.15);
  color: var(--cream);
}
.form-group--dark input::placeholder,
.form-group--dark textarea::placeholder {
  color: rgba(247,245,240,0.3);
}
.form-group--dark select option {
  background: var(--navy-dark);
  color: var(--cream);
}
.form-group--dark input:focus,
.form-group--dark select:focus,
.form-group--dark textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.15);
  background: rgba(255,255,255,0.1);
}
.form-success--dark {
  display: none;
  background: rgba(212,168,67,0.1);
  border: 1.5px solid rgba(212,168,67,0.3);
  padding: 28px; text-align: center;
  border-radius: var(--radius-lg); margin-top: 24px;
}
.form-success--dark.show { display: block; }
.school-list { list-style: none; padding: 0; margin: 0; }
.school-list li {
  font-size: clamp(15px, 1.4vw, 16px); color: var(--text-mid);
  padding: 7px 0; border-bottom: 1px solid var(--border); font-weight: 500;
}
.school-list li:last-child { border-bottom: none; }

/* ============================================================
   SPONSOR LOGO GRID
   ============================================================ */
.sponsor-logo-grid {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch;
}
.sponsor-logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 32px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  min-width: 180px; min-height: 88px;
  transition: border-color var(--transition), box-shadow var(--transition), filter var(--transition);
  filter: grayscale(100%) opacity(0.45);
  text-decoration: none;
  flex-direction: column;
}
.sponsor-logo-item:hover {
  filter: grayscale(80%) opacity(0.7);
  border-color: var(--border-gold);
  box-shadow: 0 4px 16px rgba(27,35,64,0.06);
}
/* placeholder tile style */
.sponsor-logo-item--placeholder {
  border-style: dashed;
  filter: none;
  cursor: default;
  pointer-events: none;
}
.sponsor-logo-item--placeholder:hover {
  filter: none; box-shadow: none; border-color: var(--border);
}
.sponsor-logo-img {
  max-height: 40px; max-width: 150px; width: auto; object-fit: contain;
  display: block;
}
/* fallback text when no logo image present */
.sponsor-logo-name {
  font-family: var(--font-label);
  font-size: 15px; font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.02em;
  display: block;
}
/* empty placeholder inner */
.sponsor-logo-empty {
  display: none; /* shown via JS onerror */
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}

@media (max-width: 640px) {
  .sponsor-logo-item { min-width: calc(50% - 8px); flex: 1 1 calc(50% - 8px); padding: 16px 20px; }
}
.nav__links li { position: relative; }

.nav__dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: var(--radius-lg);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* little arrow pointer */
.nav__dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  background: var(--navy-dark);
  border-left: 1px solid rgba(212,168,67,0.2);
  border-top: 1px solid rgba(212,168,67,0.2);
  rotate: 45deg;
}

.nav__links li:hover .nav__dropdown,
.nav__links li:focus-within .nav__dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown__label {
  font-family: var(--font-label);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  padding: 10px 18px 6px;
  display: block;
}

.nav__dropdown a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px;
  font-family: var(--font-label); font-size: 13px; font-weight: 500;
  color: rgba(247,245,240,0.8);
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
  letter-spacing: 0;
}
.nav__dropdown a:hover {
  background: rgba(212,168,67,0.08);
  color: var(--gold-light);
}
.nav__dropdown a::after { display: none !important; }

.nav__dropdown__badge {
  font-family: var(--font-label); font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(212,168,67,0.15); color: var(--gold);
  padding: 2px 8px; border-radius: 100px;
  border: 1px solid rgba(212,168,67,0.2);
}

/* caret on chapters link */
.nav__caret {
  display: inline-block; margin-left: 4px;
  font-size: 9px; opacity: 0.6;
  transition: transform var(--transition);
}
.nav__links li:hover .nav__caret { transform: rotate(180deg); }

/* ============================================================
   SCROLLING PHOTO GALLERY
   ============================================================ */
.gallery-scroll-wrap {
  position: relative;
}
.gallery-scroll {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 4px;
}
.gallery-scroll::-webkit-scrollbar { display: none; }

.gallery-scroll-item {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-scroll-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-scroll-item.placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-family: var(--font-label);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}

/* scroll nav buttons */
.gallery-nav {
  display: flex; gap: 8px; margin-top: 16px; justify-content: flex-end;
}
.gallery-nav button {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 16px;
  transition: border-color var(--transition), background var(--transition);
}
.gallery-nav button:hover {
  border-color: var(--gold); background: var(--gold-pale);
}

@media (max-width: 640px) {
  .gallery-scroll-item { flex: 0 0 85%; }
}
