/* =============================================================
   Driving For Change — v3 "Kindact energy, DFC palette"
   Big sans-serif headlines, terracotta accent, motion-forward.
   ============================================================= */

:root {
  /* Palette */
  --navy:        #0A1F44;
  --navy-deep:   #061433;
  --navy-soft:   #18305C;
  --ink:         #0F1A2E;

  --cream:       #F2EFE9;   /* warm neutral — pulled off yellow, reads as putty/stone */
  --cream-soft:  #F6F3ED;
  --paper:       #FAFAF7;   /* primary surface: warm off-white, sits in family with cream */
  --white-warm:  #FFFEFB;

  --line:        rgba(10, 31, 68, 0.10);
  --line-strong: rgba(10, 31, 68, 0.20);
  --muted:       rgba(10, 31, 68, 0.62);
  --muted-soft:  rgba(10, 31, 68, 0.42);

  /* DFC brand blue (replaces terracotta) — keeping `--terra*` var names for minimal churn */
  --terra:       #2E59C6;   /* royal blue — primary accent */
  --terra-deep:  #1E3FA0;   /* deeper royal for hover/press */
  --terra-soft:  #7B9AE8;   /* lighter royal for on-dark eyebrows / subtle accents */
  --terra-tint:  rgba(46, 89, 198, 0.10);

  /* Type */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;   /* cleaner geometric sans for headings */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent:  'Instrument Serif', 'Georgia', serif;                     /* italic em accents only */

  /* Layout */
  --max: 1240px;
  --max-wide: 1400px;
  --gutter: 40px;
  --section-pad: 84px;  /* standard top/bottom padding on every major section */

  /* Radii */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================================
   GLOBAL: Instrument Serif italic em inside Inter display headings
   Instrument Serif's italic line-box is ~1.3x taller than Inter's.
   When an italic em wraps onto its own line inside a tight-LH heading,
   the serif descenders bleed into the next element. Global fix:
   - slightly shrink the italic (0.95em) — visually still dominant
   - allow line-height to breathe a touch on italic spans
   ============================================================= */
h1 em, h2 em, h3 em, h4 em,
.h-display em, .h-section em {
  font-size: 0.95em;
  line-height: 1;
}

/* =============================================================
   Top utility bar
   ============================================================= */
.topbar {
  background: var(--navy);
  color: var(--cream);
  padding: 10px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: -0.005em;
}
.topbar .links { display: inline-flex; align-items: center; gap: 0; }
.topbar .links .topbar-divider { margin: 0 14px; }
.topbar-divider { display: inline-block; width: 3px; height: 3px; background: rgba(245,241,232,0.3); border-radius: 50%; vertical-align: middle; flex-shrink: 0; }
.topbar-ig { display: inline-flex; align-items: center; transform: translateY(-1px); }
.topbar-ig svg { display: block; }
@media (max-width: 1100px) {
  .topbar .links { display: none; }
}
@media (max-width: 820px) {
  .topbar { font-size: 12px; padding: 8px var(--gutter); }
  .topbar .brand-line { text-align: center; width: 100%; }
}
.topbar .meta { color: rgba(245,241,232,0.75); }
.topbar .meta strong { color: var(--terra-soft); font-weight: 500; }
.topbar a { color: rgba(245,241,232,0.78); transition: color 0.2s; }
.topbar a:hover { color: var(--cream); }

/* =============================================================
   Primary navigation
   ============================================================= */
.nav {
  background: rgba(250,247,240,0.9);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  color: var(--navy);
}
.brand-logo {
  height: 96px;
  width: auto;
  display: block;
  /* White source → navy for light nav */
  filter: brightness(0) saturate(100%) invert(10%) sepia(41%) saturate(2800%) hue-rotate(211deg) brightness(92%) contrast(98%);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terra); }
.nav-links a.current { color: var(--terra); }
.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
}
.nav-cta { display: inline-flex; align-items: center; gap: 10px; }

/* =============================================================
   Buttons — Kindact-style rounded pill
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  background: transparent;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.btn-primary { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(10,31,68,0.45); }

.btn-terra { background: var(--terra); color: white; border-color: var(--terra); }
.btn-terra:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(217,117,89,0.55); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(10,31,68,0.04); }

.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--cream); border-color: rgba(245,241,232,0.35); }
.btn-ghost-light:hover { border-color: var(--cream); background: rgba(245,241,232,0.12); }

.btn-cream { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-cream:hover { background: white; border-color: white; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.18); }

.btn-sm { padding: 11px 20px; font-size: 13px; }
.btn-lg { padding: 20px 34px; font-size: 16px; }

/* Arrow suffix — icon (circle w/ arrow) — Kindact style */
.btn-arrow::after {
  content: "→";
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: currentColor;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.3s;
  margin-left: 2px;
}
.btn-primary.btn-arrow::after { color: var(--navy); }
.btn-terra.btn-arrow::after { color: var(--terra); }
.btn-ghost.btn-arrow::after { color: var(--cream); }
.btn-ghost-light.btn-arrow::after { color: var(--navy); }
.btn-cream.btn-arrow::after { color: var(--cream); }
.btn-arrow:hover::after { transform: translateX(3px) rotate(-45deg); }

/* =============================================================
   Typography
   ============================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--terra);
  font-size: 13px;
  letter-spacing: 0.02em;
  font-weight: 500;
  font-family: var(--font-body);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--terra-soft); }
.eyebrow.on-dark::before { background: var(--terra-soft); }
.eyebrow.plain::before { display: none; }

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6.6vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.h-display.on-dark { color: var(--cream); }
.h-display em { font-style: italic; font-weight: 400; color: var(--terra); }

.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--navy);
}
.h-section.on-dark { color: var(--cream); }
.h-section em { font-style: italic; font-weight: 400; color: var(--terra); }
.h-section .terra { color: var(--terra); }

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
}

/* =============================================================
   Layout
   ============================================================= */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--gutter); }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }
.section-dark { background: var(--navy); color: var(--cream); }
.section-cream { background: var(--cream); }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-lg { padding: 84px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.section-head .left .eyebrow { margin-bottom: 24px; }
.section-head .left h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.section-head .left h2 em { font-style: italic; font-weight: 400; color: var(--terra); }
.section-head .left.on-dark h2 { color: var(--cream); }
.section-head .right p { color: var(--muted); font-size: 18px; max-width: 46ch; }
.section-head .right.on-dark p { color: rgba(245,241,232,0.7); }

.section-head.stacked {
  display: block;
  max-width: var(--max-wide);
  margin-bottom: 56px;
}
.section-head.stacked .left h2 {
  max-width: none;
  margin-bottom: 28px;
}
.section-head.stacked .right {
  max-width: 68ch;
}
.section-head.stacked .right p {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: none;
}

/* Pillars header with right-side index aside */
.section-head.stacked.with-aside {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,0.7fr);
  gap: 80px;
  align-items: end;
}
.section-head.stacked.with-aside .left p.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 54ch;
  margin-top: 24px;
}
.section-head.stacked.with-aside .aside {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 32px;
  border-left: 1px solid var(--line-strong);
}
.section-head.stacked.with-aside .aside-line {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--navy);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.section-head.stacked.with-aside .aside-line:last-child { border-bottom: none; }
.section-head.stacked.with-aside .aside-line span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--terra);
  font-weight: 500;
  min-width: 24px;
}
@media (max-width: 860px) {
  .section-head.stacked.with-aside { grid-template-columns: 1fr; gap: 40px; }
  .section-head.stacked.with-aside .aside { padding-left: 0; border-left: none; border-top: 1px solid var(--line-strong); padding-top: 16px; }
}

/* =============================================================
   Footer
   ============================================================= */
.footer {
  background: var(--navy);
  color: rgba(245,241,232,0.7);
  padding: 72px 0 32px;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(217,117,89,0.15) 0%, transparent 65%);
  pointer-events: none;
}

/* Top band: brand statement + next-event CTA */
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,241,232,0.12);
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}
.footer-lead .footer-mark {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 28px;
  opacity: 0.95;
}
.footer-lead h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cream);
  max-width: 16ch;
}
.footer-lead h3 em {
  font-family: var(--font-display-italic, 'Instrument Serif', serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.footer-cta {
  background: rgba(245,241,232,0.04);
  border: 1px solid rgba(245,241,232,0.1);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-cta .meta {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 4px;
}
.footer-cta .date {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--cream);
  line-height: 1.1;
}
.footer-cta .loc {
  color: rgba(245,241,232,0.65);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.footer-cta .btn {
  align-self: flex-start;
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-lead h3 { font-size: 32px; }
}

/* Link grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.5);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 12px; }
.footer a { transition: color 0.2s; color: rgba(245,241,232,0.85); }
.footer a:hover { color: var(--terra); }
.footer .contact-line {
  display: block;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 6px;
  font-weight: 500;
}
.footer .socials {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245,241,232,0.2);
  border-radius: 50%;
  color: rgba(245,241,232,0.85);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.footer .social-icon:hover {
  background: rgba(245,241,232,0.06);
  border-color: rgba(245,241,232,0.4);
  color: var(--cream);
  transform: translateY(-1px);
}
.footer .social-icon svg { display: block; }

.footer-bottom {
  border-top: 1px solid rgba(245,241,232,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(245,241,232,0.5);
  position: relative;
  z-index: 1;
}
.footer-bottom-links { display: flex; gap: 12px; align-items: center; }
.footer-bottom-links a { color: rgba(245,241,232,0.65); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--cream); }
.footer-bottom-links span { color: rgba(245,241,232,0.3); }

/* =============================================================
   Odometer counter — Kindact rolling-digit style
   ============================================================= */
.odometer {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy);
  padding-right: 0.05em; /* breathing room so the last digit / + never clips */
}
.odometer .digit {
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
  vertical-align: top;
  position: relative;
}
.odometer .digit .reel {
  display: flex;
  flex-direction: column;
  transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateY(0);
}
.odometer .digit .reel span { height: 1em; line-height: 1; display: block; }
.odometer .suffix {
  color: var(--terra);
  margin-left: 0.08em;
  letter-spacing: -0.01em;
  font-size: 0.6em;
  font-weight: 500;
  align-self: flex-start;
  padding-top: 0.28em;
}
.odometer.on-dark { color: var(--cream); }

/* =============================================================
   Marquee — dark strip so partner pack's white-on-transparent
   logos render correctly. (Most logos in the pack are designed
   for dark backgrounds; Allianz/Toolway/Travel Trendset/Army
   Electric are full-color so we invert-protect them.)
   ============================================================= */
.partner-strip {
  background: var(--navy);
  padding: 36px 0 40px;
}
.partner-strip-head {
  text-align: center;
  margin-bottom: 20px;
}
.partner-strip-head .eyebrow.plain {
  color: rgba(245, 241, 232, 0.6);
}
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee-scroll 60s linear infinite;
  width: max-content;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-logo {
  flex-shrink: 0;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-logo img {
  max-height: 44px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.marquee-logo:hover img { opacity: 1; }



/* =============================================================
   Sponsor wall (grid for full pages)
   ============================================================= */
.sponsor-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 2px;
}
.sponsor-cell {
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--navy);
  transition: background 0.3s;
}
.sponsor-cell img {
  max-width: 78%;
  max-height: 50%;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.sponsor-cell:hover { background: var(--navy-soft); }
.sponsor-cell:hover img { opacity: 1; transform: scale(1.05); }
@media (max-width: 900px) { .sponsor-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .sponsor-wall { grid-template-columns: repeat(3, 1fr); } }

/* =============================================================
   Tag pill
   ============================================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--cream);
  color: var(--navy);
  border-radius: 999px;
  letter-spacing: -0.005em;
}
.tag.terra { background: var(--terra-tint); color: var(--terra-deep); }

/* =============================================================
   Reveal-on-scroll
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
/* Immediately-visible elements on first paint skip the transition */
.reveal.in-now { opacity: 1 !important; transform: none !important; transition: none !important; }

/* =============================================================
   Placeholder photo block
   ============================================================= */
.photo-placeholder {
  background: repeating-linear-gradient(45deg, var(--cream), var(--cream) 14px, var(--cream-soft) 14px, var(--cream-soft) 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-soft);
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  position: relative;
  border-radius: var(--r-lg);
}
.photo-placeholder::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px dashed rgba(10,31,68,0.15);
  border-radius: calc(var(--r-lg) - 1px);
  pointer-events: none;
}

/* Responsive nav */
.nav-toggle { display: none; background: transparent; border: none; color: var(--navy); cursor: pointer; padding: 4px; }
.mobile-menu { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta .sponsor-btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  
  /* Mobile Drawer */
  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 20px -10px rgba(10,31,68,0.15);
  }
  .nav-open .mobile-menu {
    max-height: 400px;
  }
  .mobile-menu-inner {
    padding: 24px var(--gutter);
  }
  .mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .mobile-links a {
    font-size: 18px;
    font-weight: 500;
    color: var(--navy);
    display: block;
  }
  .mobile-links a.current {
    color: var(--terra);
  }
}

/* =============================================================
   Kindact-style floating badge (circular rotating sticker)
   ============================================================= */
.float-badge {
  width: 140px;
  height: 140px;
  background: var(--terra);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  box-shadow: 0 16px 40px -10px rgba(217,117,89,0.55);
  position: relative;
  animation: float-bob 4s ease-in-out infinite;
  transform: rotate(-8deg);
}
.float-badge .inner-ring {
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(255,255,255,0.35);
  border-radius: 50%;
}
@keyframes float-bob {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-6px); }
}
.rotating-text {
  position: absolute;
  width: 100%; height: 100%;
  animation: rotate-slow 22s linear infinite;
}
@keyframes rotate-slow { to { transform: rotate(360deg); } }


/* =============================================================
   EVENT DETAIL PAGE (event-2026.html)
   ============================================================= */

/* ---------- Event hero ---------- */
.ev-hero {
  position: relative;
  height: 68vh;
  min-height: 560px;
  max-height: 680px;
  overflow: hidden;
  background: var(--navy);
}
@media (max-width: 1100px) { .ev-hero { height: auto; min-height: 560px; max-height: none; } }
@media (max-width: 720px) { .ev-hero { min-height: 540px; } }

.ev-hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.ev-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}
.ev-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,26,50,0.55) 0%, rgba(14,26,50,0.55) 40%, rgba(14,26,50,0.95) 100%),
    linear-gradient(90deg, rgba(14,26,50,0.75) 0%, rgba(14,26,50,0.2) 50%, rgba(14,26,50,0.55) 100%),
    radial-gradient(ellipse at 20% 70%, rgba(217,117,89,0.2) 0%, transparent 55%);
}

.ev-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
}
@media (max-width: 1100px) {
  .ev-hero-content { padding: 140px var(--gutter) 64px; gap: 28px; }
}
.ev-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.9);
  flex-wrap: nowrap;
}
.ev-hero-eyebrow .pill {
  background: var(--terra);
  color: var(--cream);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 11px;
  white-space: nowrap;
}
.ev-hero-eyebrow .sep {
  width: 32px; height: 1px;
  background: rgba(245,241,232,0.4);
  flex-shrink: 0;
}
.ev-hero-eyebrow .meta { font-weight: 600; color: var(--cream); white-space: nowrap; }

.ev-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--cream);
  margin-bottom: 32px;
  max-width: 14ch;
  text-shadow: 0 2px 40px rgba(14,26,50,0.5);
}
.ev-hero-content h1 em {
  color: var(--terra);
}

.ev-hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 56px;
  align-items: end;
}
@media (max-width: 900px) { .ev-hero-bottom { grid-template-columns: 1fr; gap: 32px; } }
.ev-hero-bottom .lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(245,241,232,0.92);
  max-width: 50ch;
}
.ev-hero-bottom .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Quick facts strip ---------- */
.ev-facts {
  background: var(--cream);
  padding: 0;
  position: relative;
  z-index: 3;
  margin-top: -40px;
}
.ev-facts .container-wide { padding-top: 0; padding-bottom: 0; }
.ev-facts-grid {
  background: var(--navy);
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  box-shadow: 0 24px 48px rgba(27,45,79,0.15);
}
@media (max-width: 860px) { .ev-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 32px; } }
@media (max-width: 480px) { .ev-facts-grid { grid-template-columns: 1fr; } }
.ev-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--cream);
}
.ev-fact + .ev-fact {
  border-left: 1px solid rgba(245,241,232,0.12);
  padding-left: 40px;
}
@media (max-width: 860px) {
  .ev-fact + .ev-fact { border-left: none; padding-left: 0; }
}
.ev-fact .lab {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 2px;
}
.ev-fact .val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.ev-fact .sub {
  font-size: 13px;
  color: rgba(245,241,232,0.6);
}

/* ---------- Schedule timeline ---------- */
.ev-schedule {
  padding: 120px 0;
  background: var(--cream);
}
.ev-timeline {
  margin-top: 80px;
  max-width: 880px;
  position: relative;
}
.ev-timeline::before {
  content: "";
  position: absolute;
  left: 144px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(27,45,79,0.25) 8%, rgba(27,45,79,0.25) 92%, transparent 100%);
}
@media (max-width: 720px) { .ev-timeline::before { left: 72px; } }
.ev-tl-row {
  display: grid;
  grid-template-columns: 120px 24px 1fr;
  align-items: start;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
@media (max-width: 720px) { .ev-tl-row { grid-template-columns: 60px 24px 1fr; gap: 12px; } }
.ev-tl-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
  padding-top: 2px;
  text-align: right;
}
.ev-tl-time .ampm {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--terra);
  display: block;
  margin-top: 4px;
  font-weight: 600;
}
@media (max-width: 720px) {
  .ev-tl-time { font-size: 18px; }
  .ev-tl-time .ampm { font-size: 10px; margin-top: 2px; }
}
.ev-tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--navy);
  margin: 8px auto 0;
  position: relative;
  z-index: 1;
}
.ev-tl-row.highlight .ev-tl-dot {
  background: var(--terra);
  border-color: var(--terra);
  box-shadow: 0 0 0 6px rgba(217,117,89,0.15);
}
.ev-tl-dot.end {
  background: var(--navy);
  border-color: var(--navy);
}
.ev-tl-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 6px;
}
.ev-tl-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}
.ev-tl-row.highlight .ev-tl-body h4 { color: var(--terra); }

/* ---------- What's included ---------- */
.ev-included {
  background: var(--bg);
  padding: 120px 0;
}
.ev-included-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .ev-included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ev-included-grid { grid-template-columns: 1fr; } }
.ev-inc-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
}
.ev-inc-card .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--terra);
  display: block;
  margin-bottom: 16px;
}
.ev-inc-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 10px;
}
.ev-inc-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Pricing ---------- */
.ev-pricing {
  background: var(--cream);
  padding: 120px 0;
}
.ev-price-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) { .ev-price-grid { grid-template-columns: 1fr; } }
.ev-price-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--line);
  position: relative;
}
.ev-price-card.featured {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}
.ev-price-card .tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 600;
  margin-bottom: 14px;
  white-space: nowrap;
  background: rgba(123,154,232,0.15);
  padding: 6px 12px;
  border-radius: 999px;
}
.ev-price-card.featured .tag {
  background: rgba(123,154,232,0.18);
  color: #a6bef0;
}
.ev-price-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 8px;
}
.ev-price-card.featured h3 { color: var(--cream); }
.ev-price-card .sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.ev-price-card.featured .sub { color: rgba(245,241,232,0.7); }
.ev-price-card .price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ev-price-card.featured .price {
  border-top-color: rgba(245,241,232,0.14);
  border-bottom-color: rgba(245,241,232,0.14);
}
.ev-price-card .amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
}
.ev-price-card.featured .amt { color: var(--terra); }
.ev-price-card .per {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ev-price-card.featured .per { color: rgba(245,241,232,0.7); }
.ev-price-card .feat {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.ev-price-card .feat li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--navy);
  padding-left: 22px;
  position: relative;
}
.ev-price-card.featured .feat li { color: rgba(245,241,232,0.88); }
.ev-price-card .feat li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--terra);
}
.btn-full { width: 100%; justify-content: center; }
.ev-price-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 60ch;
}
.inline-link { color: var(--terra); border-bottom: 1px solid currentColor; }
.inline-link:hover { color: var(--navy); }
.ev-schedule .faq-left p a,
.faq-left p a { color: var(--terra); border-bottom: 1px solid currentColor; }

/* ---------- Prizes ---------- */
.ev-prizes {
  background: var(--bg);
  padding: 120px 0;
}
.ev-prize-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
}
@media (max-width: 860px) { .ev-prize-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ev-prize-grid { grid-template-columns: 1fr; } }
.ev-prize {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.ev-prize:nth-child(3n) { border-right: none; }
@media (max-width: 860px) {
  .ev-prize { border-right: 1px solid var(--line-strong); }
  .ev-prize:nth-child(3n) { border-right: 1px solid var(--line-strong); }
  .ev-prize:nth-child(2n) { border-right: none; }
}
@media (max-width: 520px) {
  .ev-prize { border-right: none !important; }
}
.ev-prize .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--terra);
  min-width: 28px;
}

/* ---------- Venue ---------- */
.ev-venue {
  background: var(--cream);
  padding: 120px 0;
}
.ev-venue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 1000px) { .ev-venue-grid { grid-template-columns: 1fr; gap: 56px; } }
.ev-venue-text .eyebrow { color: var(--terra); }
.ev-venue-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--navy);
  margin: 16px 0 24px;
}
.ev-venue-text h2 em { color: var(--navy); font-family: var(--font-accent); font-style: italic; font-weight: 400; }
.ev-venue-text .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 32px;
}
.ev-venue-lines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 32px;
}
.ev-venue-lines .vline {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 520px) { .ev-venue-lines .vline { grid-template-columns: 1fr; gap: 4px; } }
.ev-venue-lines .lab {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.ev-venue-lines .val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.ev-venue-visual {
  position: sticky;
  top: 120px;
}
.ev-venue-card {
  background: var(--bg);
  border-radius: 24px;
  padding: 40px;
  aspect-ratio: 1 / 1.05;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.ev-venue-card .badge {
  position: absolute;
  top: 24px; right: 24px;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  z-index: 2;
}
.ev-venue-card .map-lines {
  position: absolute;
  inset: 0;
  padding: 24px;
}
.ev-venue-card .map-lines svg {
  width: 100%; height: 100%;
}
.ev-venue-card .meta {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--navy);
  display: flex;
  gap: 10px;
  letter-spacing: -0.005em;
  margin-top: auto;
  align-self: flex-start;
  background: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
}
.ev-venue-card .meta span + span { color: var(--muted); font-weight: 400; }

/* Button: navy outline */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--cream); }

.container > *,
.container-wide > *,
.nav-inner > *,
.section-head > *,
.footer-top > *,
.footer-grid > *,
.footer-bottom > *,
.ev-hero-bottom > *,
.ev-facts-grid > *,
.ev-price-grid > *,
.ev-venue-grid > * {
  min-width: 0;
}

/* =============================================================
   Global mobile tuning
   ============================================================= */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-pad: 64px;
  }

  html, body { overflow-x: hidden; }

  .container,
  .container-wide {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .topbar {
    padding: 8px var(--gutter);
    justify-content: center;
    text-align: center;
  }

  .nav { padding: 12px var(--gutter); }
  .nav-inner { gap: 14px; }
  .brand-logo { height: 64px; }
  .nav-cta { gap: 8px; }

  .nav-cta .btn,
  .nav-cta .btn-sm,
  .nav-cta .btn-lg {
    padding: 12px 16px;
    font-size: 13px;
  }

  .mobile-menu-inner { padding: 18px var(--gutter) 22px; }
  .mobile-links { gap: 12px; }
  .mobile-links a { font-size: 16px; }

  .btn {
    max-width: 100%;
    min-height: 44px;
    padding: 14px 20px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 16px 22px;
    font-size: 14px;
  }

  .btn-sm {
    padding: 10px 16px;
    font-size: 12px;
  }

  .btn-arrow::after {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .eyebrow {
    gap: 8px;
    font-size: 11px;
  }

  .eyebrow::before { width: 22px; }

  .h-display {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1;
  }

  .h-section,
  .section-head .left h2 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.05;
  }

  .lede,
  .section-head .right p,
  .section-head.stacked .right p,
  .section-head.stacked.with-aside .left p.lede {
    font-size: 16px;
    line-height: 1.6;
  }

  .section,
  .section-lg { padding: 72px 0; }

  .section-sm { padding: 48px 0; }
  .section-head,
  .section-head.stacked { margin-bottom: 36px; }
  .section-head .left .eyebrow { margin-bottom: 16px; }
  .section-head.stacked .left h2 { margin-bottom: 18px; }

  .tag {
    font-size: 12px;
    padding: 6px 12px;
  }

  .footer { padding: 56px 0 24px; }

  .footer::before {
    right: -45%;
    width: 420px;
    height: 420px;
  }

  .footer-top {
    gap: 32px;
    padding-bottom: 40px;
    margin-bottom: 32px;
  }

  .footer-lead .footer-mark {
    height: 88px;
    margin-bottom: 20px;
  }

  .footer-lead h3 { font-size: 28px; }
  .footer-cta { padding: 24px; }
  .footer-cta .date { font-size: 26px; }
  .footer-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .float-badge {
    width: 112px;
    height: 112px;
    font-size: 14px;
  }

  .sponsor-wall { grid-template-columns: repeat(2, 1fr); }
  .sponsor-cell { padding: 18px; }
  .marquee-track { gap: 28px; }
  .marquee-logo { height: 38px; }

  .marquee-logo img {
    max-height: 34px;
    max-width: 110px;
  }

  .ev-hero { min-height: 0; }

  .ev-hero-content {
    padding: 128px var(--gutter) 40px;
    gap: 20px;
  }

  .ev-hero-eyebrow {
    gap: 10px 12px;
    flex-wrap: wrap;
  }

  .ev-hero-eyebrow .sep { display: none; }
  .ev-hero-eyebrow .meta { white-space: normal; }

  .ev-hero-content h1 {
    font-size: clamp(38px, 12vw, 60px);
    line-height: 0.98;
    margin-bottom: 20px;
    max-width: 10ch;
  }

  .ev-hero-bottom .lede { font-size: 16px; }
  .ev-hero-bottom .ctas { width: 100%; }
  .ev-hero-bottom .ctas .btn { width: 100%; }

  .ev-facts { margin-top: -24px; }

  .ev-facts-grid {
    padding: 24px 20px;
    gap: 16px;
    border-radius: 20px;
  }

  .ev-schedule,
  .ev-included,
  .ev-pricing,
  .ev-prizes,
  .ev-venue {
    padding: 72px 0;
  }

  .ev-timeline { margin-top: 48px; }
  .ev-inc-card,
  .ev-price-card { padding: 24px; }

  .ev-price-card .amt { font-size: 48px; }

  .ev-price-card .price {
    gap: 8px;
    flex-wrap: wrap;
  }

  .ev-prize {
    padding: 20px 16px;
    font-size: 18px;
    gap: 14px;
  }

  .ev-venue-grid { gap: 40px; }

  .ev-venue-text h2 {
    font-size: clamp(30px, 9vw, 42px);
    margin: 14px 0 18px;
  }

  .ev-venue-text .lede {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .ev-venue-card {
    padding: 24px;
    aspect-ratio: auto;
    min-height: 320px;
  }

  .ev-venue-card .badge {
    top: 18px;
    right: 18px;
    width: 60px;
    height: 60px;
    font-size: 10px;
  }

  .ev-venue-card .meta {
    font-size: 14px;
    flex-wrap: wrap;
  }
}
