:root {
  --logo-white: #ffffff;
  --logo-pale: #dffbfe;
  --logo-aqua: #58d5e1;
  --logo-cyan: #42bed3;
  --logo-sky: #258fc5;
  --logo-blue: #176fba;
  --logo-deep: #0756b0;
  --logo-ink: #034187;
  --bg: #034187;
  --bg-soft: #0756b0;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(223, 251, 254, 0.18);
  --text: #ffffff;
  --muted: rgba(223, 251, 254, 0.72);
  --cyan: #58d5e1;
  --cyan-2: #dffbfe;
  --coral: #0756b0;
  --coral-2: #258fc5;
  --success: #58d5e1;
  --shadow: 0 30px 90px rgba(3, 65, 135, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1220px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background:         radial-gradient(circle at 13% 4%, rgba(37, 213, 255, 0.12), transparent 28%),         radial-gradient(circle at 90% 20%, rgba(7, 86, 176, 0.10), transparent 25%),         var(--bg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
a {
  color: inherit;
  text-decoration: none;
}
button, input {
  font: inherit;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--cyan);
  color: #00131a;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section {
  padding: 112px 0;
  position: relative;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  box-shadow: 11px 0 20px currentColor;
}
.section-title {
  margin: 0;
  max-width: 760px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.section-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.85;
}
/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: 0.35s ease;
}
.site-header.scrolled {
  background: rgba(6, 17, 27, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: min-height 0.35s ease;
}
.site-header.scrolled .nav {
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(37, 213, 255, 0.22);
  border: 1px solid rgba(255,255,255,0.16);
}
.brand-name {
  font-size: 18px;
}
.brand-name span {
  color: var(--cyan);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #c3d0d9;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a {
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  transition: right 0.25s ease;
}
.nav-links a:hover {
  color: white;
}
.nav-links a:hover::after {
  right: 0;
}
.nav-cta,     .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.nav-cta,     .btn-primary {
  color: #001117;
  background: linear-gradient(115deg, var(--cyan), #c3f8f9 48%, var(--coral-2));
  box-shadow: 0 16px 40px rgba(37, 213, 255, 0.18);
}
.nav-cta::before,     .btn-primary::before {
  content: "";
  position: absolute;
  inset: -60% auto -60% -45%;
  width: 35%;
  transform: rotate(20deg);
  background: rgba(255,255,255,0.62);
  filter: blur(8px);
  transition: left 0.65s ease;
}
.nav-cta:hover::before,     .btn-primary:hover::before {
  left: 115%;
}
.nav-cta:hover,     .btn:hover {
  transform: translateY(-3px);
}
.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  border-color: rgba(37,213,255,0.48);
  box-shadow: 0 14px 35px rgba(0,0,0,0.16);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 14px;
  color: white;
  cursor: pointer;
}
/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 130px 0 70px;
  isolation: isolate;
}
#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  opacity: 0.65;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:         linear-gradient(90deg, rgba(6,17,27,0.95) 0%, rgba(6,17,27,0.62) 46%, rgba(6,17,27,0.20) 100%),         linear-gradient(180deg, transparent 70%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}
.hero-copy {
  position: relative;
  z-index: 4;
}
.eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.045);
  color: #d9faff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  animation: riseIn 0.8s 0.05s both;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(88,213,225,0.09), 0 0 24px rgba(88,213,225,0.65);
}
.hero h1 {
  margin: 26px 0 0;
  max-width: 820px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  animation: riseIn 0.85s 0.15s both;
}
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.52);
  text-stroke: 1.5px rgba(255,255,255,0.52);
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cyan) 12%, #c3f8f9 40%, var(--coral-2) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 35px rgba(37,213,255,0.10));
}
.hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  color: #b2c1cb;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.8;
  animation: riseIn 0.85s 0.25s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: riseIn 0.85s 0.35s both;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  color: var(--muted);
  animation: riseIn 0.85s 0.45s both;
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 36px;
  height: 36px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: grid;
  place-items: center;
  color: #021630;
  font-size: 10px;
  font-weight: 900;
  background: linear-gradient(145deg, #aeeff3, #3aa8cf);
}
.avatar-stack span:first-child {
  margin-left: 0;
}
.proof-copy strong {
  display: block;
  color: white;
  font-size: 13px;
}
.proof-copy small {
  font-size: 12px;
}
/* Hero race stage */
.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  animation: fadeIn 1.1s 0.2s both;
}
.stage-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,213,255,0.20), rgba(37,213,255,0.03) 46%, transparent 68%);
  filter: blur(8px);
  animation: pulseGlow 4s ease-in-out infinite;
}
.orbit {
  position: absolute;
  width: min(560px, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: inset 0 0 80px rgba(37,213,255,0.02), 0 0 100px rgba(37,213,255,0.04);
}
.orbit::before,     .orbit::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px dashed rgba(255,255,255,0.14);
}
.orbit::before {
  inset: 9%;
  animation: spin 24s linear infinite;
}
.orbit::after {
  inset: 20%;
  animation: spinReverse 18s linear infinite;
}
.orbit-track {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border-top: 4px solid var(--cyan);
  border-right: 4px solid transparent;
  border-bottom: 4px solid var(--coral);
  border-left: 4px solid transparent;
  filter: drop-shadow(0 0 15px rgba(37,213,255,0.4));
  animation: spin 13s linear infinite;
}
.race-core {
  position: relative;
  width: min(380px, 70%);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:         radial-gradient(circle at 35% 24%, rgba(255,255,255,0.11), transparent 24%),         linear-gradient(145deg, rgba(16,39,55,0.88), rgba(4,14,23,0.92));
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: var(--shadow), inset 0 0 60px rgba(37,213,255,0.08);
  backdrop-filter: blur(22px);
  overflow: hidden;
  animation: float 5s ease-in-out infinite;
}
.race-core::before {
  content: "";
  position: absolute;
  inset: -55%;
  background: conic-gradient(from 210deg, transparent 0 40%, rgba(37,213,255,0.12), transparent 58% 83%, rgba(7,86,176,0.12), transparent);
  animation: spin 11s linear infinite;
}
.core-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.core-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 45px rgba(37,213,255,0.20);
}
.core-label {
  color: var(--cyan-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.core-title {
  margin: 8px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}
.core-sub {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.distance-chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(7,21,32,0.76);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.distance-chip small {
  display: block;
  margin-top: -18px;
  color: var(--muted);
  font: 800 9px/1 "Manrope", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.chip-5 {
  top: 12%;
  left: 8%;
  animation: float 4.6s ease-in-out infinite;
}
.chip-10 {
  top: 17%;
  right: 2%;
  animation: float 5.2s 0.5s ease-in-out infinite;
}
.chip-21 {
  bottom: 10%;
  right: 7%;
  animation: float 5.5s 1s ease-in-out infinite;
}
.chip-5 strong {
  color: var(--cyan);
}
.chip-10 strong {
  color: var(--coral-2);
}
.chip-21 strong {
  color: #c2f0f3;
}
.mini-card {
  position: absolute;
  left: -2%;
  bottom: 10%;
  width: 230px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(6,17,27,0.78);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
  animation: float 6s 0.8s ease-in-out infinite;
}
.mini-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.mini-card small {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.mini-card strong {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
}
.mini-card .status {
  color: var(--success);
  font-size: 11px;
  font-weight: 800;
}
.pace-line {
  position: relative;
  height: 46px;
  margin-top: 14px;
  overflow: hidden;
}
.pace-line svg {
  width: 100%;
  height: 100%;
}
.pace-line path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 3.5s 1s ease forwards, linePulse 4s 4.5s ease-in-out infinite;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  place-items: center;
  color: rgba(255,255,255,0.48);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  position: relative;
}
.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}
/* Sponsor logo marquee — automatically reads every logo in assets/sponsors/. */
.sponsors-strip {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: var(--logo-white);
  border-top: 1px solid rgba(3, 65, 135, .08);
  border-bottom: 1px solid rgba(3, 65, 135, .10);
  padding: 24px 0 26px;
  color: var(--logo-ink);
}
.sponsors-strip::before,     .sponsors-strip::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: min(12vw, 150px);
  pointer-events: none;
}
.sponsors-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--logo-white), rgba(255,255,255,0));
}
.sponsors-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--logo-white), rgba(255,255,255,0));
}
.sponsors-heading {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(3, 65, 135, .66);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.sponsors-heading::before,     .sponsors-heading::after {
  content: "";
  width: 44px;
  height: 1px;
  background: rgba(3, 65, 135, .18);
}
.sponsors-viewport {
  overflow: hidden;
}
.sponsors-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: sponsorScroll 68s linear infinite;
  will-change: transform;
}
.sponsor-group {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.65vw, 28px);
  padding-right: clamp(14px, 1.65vw, 28px);
}
.sponsor-logo {
  flex: 0 0 auto;
  width: clamp(164px, 14.4vw, 236px);
  height: 136px;
  display: grid;
  place-items: center;
  padding: 16px 24px;
}
.sponsor-logo img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: .88;
  transition: transform .3s ease, opacity .3s ease;
}
.sponsor-logo:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.sponsors-empty {
  display: none;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 18px 24px;
  text-align: center;
  border: 1px dashed rgba(3, 65, 135, .18);
  border-radius: 16px;
  color: rgba(3, 65, 135, .62);
  font-size: 13px;
  font-weight: 700;
}
.sponsors-strip.is-empty .sponsors-viewport {
  display: none;
}
.sponsors-strip.is-empty .sponsors-empty {
  display: block;
}
.sponsors-strip:hover .sponsors-track {
  animation-play-state: paused;
}
@keyframes sponsorScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 700px) {
  .sponsors-strip {
    padding: 20px 0 22px;
  }
  .sponsor-logo {
    width: 192px;
    height: 120px;
  }
  .sponsor-logo img {
    max-height: 88px;
  }
  .sponsor-group {
    gap: 22px;
    padding-right: 22px;
  }
  .sponsors-track {
    animation-duration: 52s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sponsors-track {
    animation-duration: 140s;
  }
}


/* Eshaar sponsor: identical clean presentation, with no border or card */
.sponsor-logo-eshaar {
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

.sponsor-logo-eshaar img {
  opacity: .88;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.sponsor-logo-eshaar:hover img {
  opacity: 1;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.about-sticky {
  position: sticky;
  top: 120px;
}
.mission-panel {
  min-height: 520px;
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:         linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025)),         radial-gradient(circle at 85% 15%, rgba(37,213,255,0.12), transparent 32%);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.mission-panel::after {
  content: "TRIPOLI";
  position: absolute;
  right: -18px;
  bottom: -12px;
  color: rgba(255,255,255,0.035);
  font: 900 clamp(4rem, 10vw, 8rem)/1 "Montserrat", sans-serif;
  letter-spacing: -0.09em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.quote-mark {
  color: var(--cyan);
  font: 900 70px/0.7 Georgia, serif;
  filter: drop-shadow(0 10px 24px rgba(37,213,255,0.25));
}
.mission-quote {
  max-width: 500px;
  margin: 22px 0 34px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}
.mission-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.meta-box {
  min-height: 105px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.meta-box strong {
  display: block;
  font: 900 25px/1 "Montserrat", sans-serif;
  color: white;
}
.meta-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.values-list {
  display: grid;
  gap: 16px;
  margin-top: 54px;
}
.value-card {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.035);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.value-card:hover {
  transform: translateX(8px);
  background: rgba(255,255,255,0.065);
  border-color: rgba(37,213,255,0.32);
}
.value-num {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #021630;
  background: linear-gradient(140deg, var(--cyan), #d7f9fb);
  font: 900 17px/1 "Montserrat", sans-serif;
}
.value-card:nth-child(2) .value-num {
  background: linear-gradient(140deg, var(--coral), var(--coral-2));
}
.value-card:nth-child(3) .value-num {
  background: linear-gradient(140deg, #8ee2e9, #d8f6f8);
}
.value-card h3 {
  margin: 0;
  font: 800 20px/1.2 "Montserrat", sans-serif;
  letter-spacing: -0.04em;
}
.value-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.value-arrow {
  color: rgba(255,255,255,0.42);
  font-size: 24px;
}
/* Events */
.events-section {
  background:         radial-gradient(circle at 50% 0%, rgba(37,213,255,0.08), transparent 32%),         linear-gradient(180deg, rgba(255,255,255,0.018), transparent);
}
.events-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 48px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.event-card {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.12);
  isolation: isolate;
  box-shadow: var(--shadow);
}
.event-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.event-card:hover .event-art {
  transform: scale(1.055);
}
.event-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6,17,27,0.02), rgba(6,17,27,0.42) 45%, rgba(6,17,27,0.98));
}
.sunrise-art {
  background:         radial-gradient(circle at 72% 23%, rgba(194,240,243,0.94) 0 3.2%, rgba(37,143,197,0.55) 7%, transparent 18%),         linear-gradient(155deg, rgba(16,73,104,0.45), transparent 35%),         linear-gradient(180deg, #42bed3 0%, #238cc3 47%, #0c3867 67%, #02152f 100%);
}
.sunrise-art::before {
  content: "";
  position: absolute;
  inset: 43% -10% -10%;
  background:         linear-gradient(155deg, transparent 0 26%, rgba(7,17,26,0.75) 26.4% 34%, transparent 34.3%),         linear-gradient(25deg, transparent 0 23%, rgba(8,25,35,0.92) 23.4% 39%, transparent 39.4%),         linear-gradient(165deg, transparent 0 44%, rgba(6,20,30,0.92) 44.4% 62%, transparent 62.5%);
  opacity: 0.92;
}
.sunrise-art::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 18%;
  height: 9px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
  filter: blur(3px);
  transform: rotate(-7deg);
  box-shadow: 0 0 35px rgba(255,255,255,0.7);
}
.winter-art {
  background:         radial-gradient(circle at 25% 15%, rgba(150,227,255,0.23), transparent 28%),         linear-gradient(145deg, rgba(18,38,54,0.15), rgba(3,10,17,0.12)),         linear-gradient(180deg, #0b335e 0%, #031a36 68%, #04090e 100%);
}
.winter-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:         radial-gradient(circle, rgba(255,255,255,0.92) 0 1px, transparent 1.4px),         radial-gradient(circle, rgba(172,232,255,0.85) 0 1.2px, transparent 1.7px);
  background-size: 43px 43px, 67px 67px;
  background-position: 0 0, 20px 13px;
  animation: snow 15s linear infinite;
  opacity: 0.75;
}
.winter-art::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 10%;
  height: 38%;
  background:         linear-gradient(160deg, transparent 0 24%, #07284e 24.5% 38%, transparent 38.5%),         linear-gradient(24deg, transparent 0 31%, #0a315c 31.5% 47%, transparent 47.5%),         linear-gradient(168deg, transparent 0 55%, #06254a 55.5% 71%, transparent 71.5%);
  opacity: 0.95;
}
.event-content {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.event-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.event-tag {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(6,17,27,0.42);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.event-number {
  color: rgba(255,255,255,0.32);
  font: 900 28px/1 "Montserrat", sans-serif;
}
.event-card h3 {
  margin: 0;
  max-width: 500px;
  font: 900 clamp(2.25rem, 5vw, 4.8rem)/0.94 "Montserrat", sans-serif;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.event-card h3 span {
  color: var(--cyan-2);
}
.event-card:nth-child(2) h3 span {
  color: #c5edf4;
}
.event-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.event-info span {
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d7e2e8;
  font-size: 12px;
  font-weight: 700;
}
.event-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: white;
  font-size: 13px;
  font-weight: 800;
}
.event-link i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #02152f;
  font-style: normal;
  transition: transform 0.3s ease;
}
.event-card:hover .event-link i {
  transform: translateX(5px) rotate(-10deg);
}
/* Credibility */
.credibility-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.credibility-card {
  position: relative;
  min-height: 440px;
  padding: 42px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:         radial-gradient(circle at 87% 18%, rgba(7,86,176,0.11), transparent 30%),         linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.022));
  overflow: hidden;
}
.federation-seal {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.25);
  color: var(--cyan);
  font: 900 34px/1 "Montserrat", sans-serif;
  animation: spin 22s linear infinite;
  box-shadow: inset 0 0 30px rgba(37,213,255,0.08);
}
.credibility-card h3 {
  max-width: 670px;
  margin: 32px 0 0;
  font: 900 clamp(2rem, 4.4vw, 4.2rem)/1 "Montserrat", sans-serif;
  letter-spacing: -0.06em;
}
.credibility-card p {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.standard-list {
  display: grid;
  gap: 14px;
}
.standard-item {
  min-height: 98px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 21px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.034);
}
.standard-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #021630;
  background: linear-gradient(145deg, var(--cyan), #d5fafb);
  font-weight: 900;
}
.standard-item:nth-child(2) .standard-icon {
  background: linear-gradient(145deg, var(--coral), #55c2d9);
}
.standard-item:nth-child(3) .standard-icon {
  background: linear-gradient(145deg, #82dfe7, #ddf9fa);
}
.standard-item:nth-child(4) .standard-icon {
  background: linear-gradient(145deg, #c9ecf5, #e8f7fb);
}
.standard-item h4 {
  margin: 0;
  font-size: 15px;
}
.standard-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
/* CTA */
.cta-panel {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 70px 30px;
  border-radius: 38px;
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  background:         radial-gradient(circle at 20% 10%, rgba(37,213,255,0.17), transparent 30%),         radial-gradient(circle at 82% 70%, rgba(7,86,176,0.16), transparent 33%),         linear-gradient(145deg, #082c53, #031a36);
  box-shadow: var(--shadow);
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 650px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,0.025), 0 0 0 160px rgba(255,255,255,0.018);
  animation: pulseGlow 5s ease-in-out infinite;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-panel h2 {
  max-width: 950px;
  margin: 0 auto;
  font: 900 clamp(2.6rem, 7vw, 6.7rem)/0.9 "Montserrat", sans-serif;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.cta-panel h2 span {
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(255,255,255,0.52);
}
.cta-panel p {
  max-width: 620px;
  margin: 25px auto 0;
  color: #b7c7d0;
  line-height: 1.8;
}
.cta-panel .hero-actions {
  justify-content: center;
}
/* Footer */
.footer {
  padding: 36px 0 28px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-links a:hover {
  color: white;
}
/* Reveal + decorative cursor */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(37,213,255,0.09), transparent 64%);
  transform: translate(-50%, -50%);
  transition: opacity .25s ease;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spinReverse {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes linePulse {
  0%,100% {
    opacity: .65;
  }
  50% {
    opacity: 1;
  }
}
@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  25% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 11px);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes snow {
  to {
    background-position: 0 280px, 20px 400px;
  }
}
@media (max-width: 1050px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    padding: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(6,17,27,0.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 125px;
  }
  .hero-copy {
    max-width: 820px;
  }
  .hero-visual {
    min-height: 570px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-sticky {
    position: static;
  }
  .credibility-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }
  .section {
    padding: 82px 0;
  }
  .nav {
    min-height: 76px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .brand-name {
    font-size: 16px;
  }
  .hero {
    padding-top: 105px;
  }
  .hero h1 {
    font-size: clamp(3rem, 15.2vw, 5.2rem);
  }
  .hero-lead {
    line-height: 1.7;
  }
  .hero-visual {
    min-height: 470px;
    margin-top: 10px;
  }
  .orbit {
    width: min(430px, 98%);
  }
  .race-core {
    width: min(285px, 68%);
  }
  .core-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
  .distance-chip {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 14px;
  }
  .distance-chip small {
    font-size: 7px;
    margin-top: -14px;
  }
  .mini-card {
    width: 200px;
    left: 0;
    bottom: 4%;
  }
  .scroll-cue {
    display: none;
  }
  .about-grid {
    gap: 28px;
  }
  .mission-panel {
    min-height: 470px;
    padding: 26px;
  }
  .mission-meta {
    grid-template-columns: 1fr;
  }
  .value-card {
    grid-template-columns: 58px 1fr;
    padding: 18px;
  }
  .value-num {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }
  .value-arrow {
    display: none;
  }
  .events-head {
    display: block;
  }
  .events-head .btn {
    margin-top: 24px;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    min-height: 520px;
  }
  .event-content {
    padding: 24px;
  }
  .credibility-card {
    padding: 28px;
    min-height: 390px;
  }
  .cta-panel {
    min-height: 450px;
    padding-inline: 20px;
    border-radius: 28px;
  }
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .hero-actions .btn {
    width: 100%;
  }
  .hero-proof {
    align-items: flex-start;
  }
  .hero-visual {
    min-height: 420px;
  }
  .mini-card {
    display: none;
  }
  .chip-5 {
    top: 6%;
    left: 2%;
  }
  .chip-10 {
    top: 13%;
    right: 0;
  }
  .chip-21 {
    bottom: 4%;
    right: 7%;
  }
  .events-grid {
    gap: 16px;
  }
  .event-card {
    min-height: 480px;
  }
  .standard-item {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
       HERO PHOTO SLIDER — dynamic folder scan + split composition
       Palette: Tripoli Motion logo blues, cyan and white only
       ========================================================= */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
  background: var(--logo-ink);
  transition: background-color .7s ease;
}
.hero-background,     .hero-bg-layer,     .hero-photo-overlay,     .hero-grid-texture {
  position: absolute;
  inset: 0;
}
.hero-background {
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--logo-ink), var(--logo-deep));
  transition: background .85s ease;
}
.hero-bg-layer {
  left: 30%;
  width: 70%;
  opacity: 0;
  overflow: hidden;
  z-index: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.hero-photo {
  position: absolute;
  inset: -3%;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.01) translate3d(0,0,0);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}
/* Elegant fade-only transition for every photograph. */
.hero-bg-layer.fx-fade {
  opacity: 0;
}
.hero-bg-layer.no-transition {
  transition: none !important;
}
.hero-bg-layer.is-active {
  opacity: 1;
  z-index: 2;
}
/* Slow six-second Ken Burns zoom for every hero image. */
.hero-bg-layer.is-active .hero-photo {
  animation-duration: 6s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.hero-bg-layer.is-active .hero-photo.zoom-1 {
  animation-name: heroZoom1;
}
.hero-bg-layer.is-active .hero-photo.zoom-2 {
  animation-name: heroZoom2;
}
.hero-bg-layer.is-active .hero-photo.zoom-3 {
  animation-name: heroZoom3;
}
.hero-bg-layer.is-active .hero-photo.zoom-4 {
  animation-name: heroZoom4;
}
.hero-bg-layer.is-active .hero-photo.zoom-5 {
  animation-name: heroZoom5;
}
.hero-bg-layer.is-active .hero-photo.zoom-6 {
  animation-name: heroZoom6;
}
.hero-bg-layer.is-active .hero-photo.pan-right-to-left {
  animation-name: heroPanRightToLeft;
}
.hero-bg-layer.is-active .hero-photo.pan-left-to-right {
  animation-name: heroPanLeftToRight;
}
@keyframes heroZoom1 {
  from {
    transform: scale(1.01) translate3d(0,0,0);
  }
  to {
    transform: scale(1.075) translate3d(-.55%,-.25%,0);
  }
}
@keyframes heroZoom2 {
  from {
    transform: scale(1.01) translate3d(0,0,0);
  }
  to {
    transform: scale(1.075) translate3d(.55%,-.2%,0);
  }
}
@keyframes heroZoom3 {
  from {
    transform: scale(1.01) translate3d(0,0,0);
  }
  to {
    transform: scale(1.07) translate3d(0,-.55%,0);
  }
}
@keyframes heroZoom4 {
  from {
    transform: scale(1.01) translate3d(-.2%,0,0);
  }
  to {
    transform: scale(1.08) translate3d(.45%,-.35%,0);
  }
}
@keyframes heroZoom5 {
  from {
    transform: scale(1.01) translate3d(.2%,.1%,0);
  }
  to {
    transform: scale(1.075) translate3d(-.45%,-.45%,0);
  }
}
@keyframes heroZoom6 {
  from {
    transform: scale(1.01) translate3d(0,.2%,0);
  }
  to {
    transform: scale(1.08) translate3d(0,-.55%,0);
  }
}
@keyframes heroPanRightToLeft {
  from {
    background-position: right center;
  }
  to {
    background-position: left center;
  }
}
@keyframes heroPanLeftToRight {
  from {
    background-position: left center;
  }
  to {
    background-position: right center;
  }
}
.hero-bg-layer.is-exiting {
  z-index: 1;
  opacity: 0;
}
.hero-bg-layer.exit-fade {
  opacity: 0;
}
/* Dark composition: white typography on deep logo blue. */
.hero.tone-dark .hero-background {
  background:         radial-gradient(circle at 18% 20%, rgba(88,213,225,.17), transparent 30%),         linear-gradient(135deg, var(--logo-ink), var(--logo-deep));
}
.hero.tone-dark .hero-photo-overlay {
  z-index: 2;
  background:         linear-gradient(90deg,           rgba(3,65,135,1) 0%,           rgba(3,65,135,.99) 25%,           rgba(7,86,176,.91) 38%,           rgba(7,86,176,.46) 53%,           rgba(7,86,176,.10) 72%,           rgba(7,86,176,.02) 100%),         linear-gradient(180deg, rgba(3,65,135,.07), rgba(3,65,135,.16));
}
/* Light composition: cyan/white content field; photo stays bright and clear. */
.hero.tone-light .hero-background {
  background:         radial-gradient(circle at 14% 22%, rgba(255,255,255,.72), transparent 32%),         linear-gradient(135deg, var(--logo-white), var(--logo-pale) 34%, var(--logo-aqua));
}
.hero.tone-light .hero-photo-overlay {
  z-index: 2;
  background:         linear-gradient(90deg,           rgba(255,255,255,1) 0%,           rgba(223,251,254,.99) 22%,           rgba(88,213,225,.92) 37%,           rgba(66,190,211,.48) 52%,           rgba(23,111,186,.08) 72%,           rgba(23,111,186,.01) 100%),         linear-gradient(180deg, rgba(255,255,255,.04), rgba(23,111,186,.10));
}
.hero-grid-texture {
  z-index: 3;
  opacity: .10;
  background-image:         linear-gradient(rgba(223,251,254,.16) 1px, transparent 1px),         linear-gradient(90deg, rgba(223,251,254,.16) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, rgba(3,65,135,.92), transparent 72%);
}
.hero.tone-light .hero-grid-texture {
  opacity: .12;
  background-image:         linear-gradient(rgba(7,86,176,.14) 1px, transparent 1px),         linear-gradient(90deg, rgba(7,86,176,.14) 1px, transparent 1px);
}
#particleCanvas {
  z-index: 4;
  opacity: .23;
  pointer-events: none;
}
.hero::before {
  display: none;
}
.hero-shell {
  min-height: 100svh;
  padding-top: 128px;
  padding-bottom: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.hero-copy {
  width: min(610px, 43vw);
  padding-top: 26px;
}
.hero h1 {
  max-width: 650px;
  font-size: clamp(3rem, 5.45vw, 5.9rem);
  line-height: .90;
  text-shadow: 0 18px 70px rgba(3,65,135,.30);
}
.hero h1 .outline {
  -webkit-text-stroke-color: rgba(223,251,254,.72);
  text-stroke-color: rgba(223,251,254,.72);
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--logo-aqua) 8%, var(--logo-white) 45%, var(--logo-sky) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: rgba(255,255,255,.80);
  max-width: 575px;
  text-shadow: 0 8px 34px rgba(3,65,135,.44);
}
.eyebrow {
  background: rgba(3,65,135,.44);
  border-color: rgba(223,251,254,.24);
  color: var(--logo-pale);
}
.eyebrow-dot {
  background: var(--logo-aqua);
  box-shadow: 0 0 0 6px rgba(88,213,225,.10), 0 0 24px rgba(88,213,225,.68);
}
/* Light slide typography and controls. */
.hero.tone-light h1 {
  color: var(--logo-ink);
  text-shadow: none;
}
.hero.tone-light h1 .outline {
  color: transparent;
  -webkit-text-stroke-color: rgba(7,86,176,.70);
  text-stroke-color: rgba(7,86,176,.70);
}
.hero.tone-light h1 .accent {
  background: linear-gradient(100deg, var(--logo-deep), var(--logo-blue) 52%, var(--logo-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero.tone-light .hero-lead {
  color: rgba(3,65,135,.82);
  text-shadow: none;
}
.hero.tone-light .eyebrow {
  color: var(--logo-ink);
  background: rgba(255,255,255,.54);
  border-color: rgba(7,86,176,.18);
}
.hero.tone-light .eyebrow-dot {
  background: var(--logo-deep);
  box-shadow: 0 0 0 6px rgba(7,86,176,.08), 0 0 22px rgba(7,86,176,.26);
}
.hero.tone-light .btn-primary {
  color: var(--logo-white);
  background: linear-gradient(115deg, var(--logo-ink), var(--logo-deep), var(--logo-sky));
  box-shadow: 0 16px 40px rgba(7,86,176,.22);
}
.hero.tone-light .btn-secondary {
  color: var(--logo-ink);
  background: rgba(255,255,255,.42);
  border-color: rgba(7,86,176,.20);
}
.hero.tone-light .proof-copy strong {
  color: var(--logo-ink);
}
.hero.tone-light .proof-copy small {
  color: rgba(3,65,135,.67);
}
.hero.tone-light .avatar-stack span {
  color: var(--logo-white);
  border-color: var(--logo-pale);
  background: linear-gradient(145deg, var(--logo-deep), var(--logo-sky));
}
.hero-footer-row {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.hero-proof {
  margin: 0;
}
.avatar-stack span {
  color: var(--logo-ink);
  background: linear-gradient(145deg, var(--logo-pale), var(--logo-sky));
  border-color: var(--logo-ink);
}
.hero-carousel-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 13px 12px 20px;
  border: 1px solid rgba(223,251,254,.20);
  background: rgba(3,65,135,.48);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(3,65,135,.28);
  transition: background .5s ease, border-color .5s ease;
}
.hero.tone-light .hero-carousel-panel {
  background: rgba(255,255,255,.48);
  border-color: rgba(7,86,176,.18);
  box-shadow: 0 22px 70px rgba(7,86,176,.13);
}
.hero-slide-label {
  min-width: 170px;
}
.hero-slide-label span {
  display: block;
  color: var(--logo-white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}
.hero-slide-label small {
  display: block;
  margin-top: 4px;
  color: rgba(223,251,254,.68);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero.tone-light .hero-slide-label span {
  color: var(--logo-ink);
}
.hero.tone-light .hero-slide-label small {
  color: rgba(3,65,135,.64);
}
.hero-carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(223,251,254,.24);
  background: rgba(88,213,225,.08);
  color: var(--logo-white);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.hero-arrow:hover {
  transform: translateY(-2px);
  background: rgba(88,213,225,.20);
  border-color: rgba(223,251,254,.56);
}
.hero.tone-light .hero-arrow {
  color: var(--logo-ink);
  border-color: rgba(7,86,176,.22);
  background: rgba(255,255,255,.48);
}
.hero.tone-light .hero-arrow:hover {
  background: rgba(88,213,225,.34);
}
.hero-progress {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(223,251,254,.12);
}
.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--logo-deep), var(--logo-aqua), var(--logo-white));
  box-shadow: 0 0 20px rgba(88,213,225,.55);
}
.hero-progress span.is-running {
  animation: heroProgress 6s linear forwards;
}
@keyframes heroProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
/* Header adapts when a light hero slide is active, then returns to dark on scroll. */
body.hero-light .site-header:not(.scrolled) .brand-name,     body.hero-light .site-header:not(.scrolled) .nav-links,     body.hero-light .site-header:not(.scrolled) .menu-toggle {
  color: var(--logo-ink);
}
body.hero-light .site-header:not(.scrolled) .nav-cta {
  color: var(--logo-white);
  background: linear-gradient(115deg, var(--logo-ink), var(--logo-deep), var(--logo-sky));
}
body.hero-light .site-header:not(.scrolled) .brand-name span {
  color: var(--logo-deep);
}
/* Enforce the logo palette throughout the remaining sections. */
body {
  background:         radial-gradient(circle at 13% 4%, rgba(88,213,225,.13), transparent 28%),         radial-gradient(circle at 90% 20%, rgba(7,86,176,.16), transparent 25%),         var(--logo-ink);
}
.site-header.scrolled {
  background: rgba(3,65,135,.88);
}
.nav-links a::after,     .nav-cta,     .btn-primary {
  background: linear-gradient(115deg, var(--logo-aqua), var(--logo-pale) 48%, var(--logo-sky));
}
.section-kicker,     .brand-name span {
  color: var(--logo-aqua);
}
::selection {
  background: var(--logo-aqua);
  color: var(--logo-ink);
}
@media (max-width: 1000px) {
  .hero-bg-layer {
    left: 24%;
    width: 76%;
  }
  .hero-copy {
    width: min(570px, 52vw);
  }
  .hero h1 {
    font-size: clamp(3rem, 6.7vw, 5.45rem);
  }
}
@media (max-width: 900px) {
  .hero-shell {
    padding-top: 116px;
    padding-bottom: 145px;
  }
  .hero-copy {
    width: min(540px, 65vw);
  }
  .hero-bg-layer {
    left: 18%;
    width: 82%;
  }
  .hero-slide-label {
    display: none;
  }
  .hero-carousel-panel {
    padding: 10px;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
  }
  .hero-bg-layer {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 61%;
  }
  .hero-photo {
    background-position: center 36%;
  }
  .hero.tone-dark .hero-photo-overlay {
    background:           linear-gradient(180deg,             rgba(3,65,135,.02) 0%,             rgba(3,65,135,.08) 30%,             rgba(3,65,135,.72) 53%,             rgba(3,65,135,1) 67%,             rgba(3,65,135,1) 100%);
  }
  .hero.tone-light .hero-photo-overlay {
    background:           linear-gradient(180deg,             rgba(255,255,255,.01) 0%,             rgba(223,251,254,.08) 30%,             rgba(88,213,225,.78) 53%,             rgba(223,251,254,1) 67%,             rgba(255,255,255,1) 100%);
  }
  .hero-grid-texture {
    mask-image: linear-gradient(180deg, transparent, rgba(3,65,135,.68) 58%, rgba(3,65,135,.96));
  }
  .hero-shell {
    padding-top: 104px;
    padding-bottom: 118px;
    justify-content: flex-end;
  }
  .hero-copy {
    width: 100%;
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.55rem);
  }
  .hero-lead {
    max-width: 100%;
    font-size: .97rem;
    line-height: 1.65;
  }
  .hero-footer-row {
    left: 20px;
    right: 20px;
    bottom: 34px;
    align-items: flex-end;
  }
  .hero-proof {
    display: none;
  }
  .hero-carousel-panel {
    margin-left: auto;
  }
  .hero-grid-texture {
    background-size: 48px 48px;
  }
  .hero-arrow {
    width: 39px;
    height: 39px;
  }
  .scroll-cue {
    display: none;
  }
  body.hero-light .site-header:not(.scrolled) .nav-links {
    color: var(--logo-white);
    background: rgba(3,65,135,.96);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-layer {
    transition: opacity .3s ease;
    transform: none !important;
  }
  .hero-photo {
    animation: none !important;
    transform: none !important;
    background-position: center center !important;
  }
  .hero-progress span.is-running {
    animation: none;
    width: 100%;
  }
}
/* =========================================================
       V4 PREMIUM ART DIRECTION
       Logo palette only: white, aqua, cyan, sky blue, deep blue.
       ========================================================= */
:root {
  --light-bg: #f4fdff;
  --light-bg-2: #dffbfe;
  --light-text: #034187;
  --light-muted: rgba(3, 65, 135, .70);
}
/* Transparent header: white CTA with dark-blue text. */
.site-header:not(.scrolled) .nav-cta {
  color: var(--logo-ink);
  background: var(--logo-white);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 18px 42px rgba(3, 65, 135, .26);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(3, 65, 135, .10);
  box-shadow: 0 14px 45px rgba(3, 65, 135, .10);
  backdrop-filter: blur(20px) saturate(1.2);
}
.site-header.scrolled .brand-name,     .site-header.scrolled .nav-links,     .site-header.scrolled .menu-toggle {
  color: var(--logo-ink);
}
.site-header.scrolled .brand-name span {
  color: var(--logo-sky);
}
.site-header.scrolled .nav-links a:hover {
  color: var(--logo-deep);
}
.site-header.scrolled .nav-cta {
  color: var(--logo-white);
  background: linear-gradient(112deg, var(--logo-aqua) 0%, var(--logo-cyan) 52%, var(--logo-sky) 100%);
  border: 1px solid rgba(88, 213, 225, .38);
  box-shadow: 0 12px 30px rgba(37, 143, 197, .25);
}
.site-header.scrolled .nav-cta::before {
  background: rgba(255, 255, 255, .62);
}
/* Hero is always dark. Images remain vivid on the right. */
.hero,     .hero.tone-dark .hero-background {
  background:         radial-gradient(circle at 15% 18%, rgba(88, 213, 225, .18), transparent 30%),         linear-gradient(135deg, var(--logo-ink), var(--logo-deep));
}
.hero.tone-dark .hero-photo-overlay {
  background:         linear-gradient(90deg,           rgba(3,65,135,1) 0%,           rgba(3,65,135,.99) 24%,           rgba(7,86,176,.91) 38%,           rgba(7,86,176,.51) 51%,           rgba(7,86,176,.12) 68%,           rgba(7,86,176,.015) 100%),         linear-gradient(180deg, rgba(3,65,135,.03), rgba(3,65,135,.14));
}
.hero-bg-layer {
  filter: saturate(1.06) contrast(1.03);
}
.hero-carousel-panel {
  padding: 13px 20px;
  gap: 0;
}
.hero-carousel-controls,     .hero-arrow {
  display: none !important;
}
/* Global alternating section system. */
.section-light {
  color: var(--light-text);
  background:         radial-gradient(circle at 90% 12%, rgba(88, 213, 225, .24), transparent 27%),         radial-gradient(circle at 10% 80%, rgba(37, 143, 197, .09), transparent 25%),         linear-gradient(180deg, var(--logo-white), var(--light-bg));
}
.section-light .section-kicker {
  color: var(--logo-deep);
}
.section-light .section-copy,     .section-light .value-card p,     .section-light .credibility-card p,     .section-light .standard-item p {
  color: var(--light-muted);
}
.section-dark {
  color: var(--logo-white);
  background:         radial-gradient(circle at 12% 12%, rgba(88, 213, 225, .12), transparent 28%),         radial-gradient(circle at 88% 76%, rgba(37, 143, 197, .15), transparent 30%),         linear-gradient(145deg, var(--logo-ink), #052e68 58%, var(--logo-deep));
}
/* About: editorial white field with a giant race-track signature. */
.section-about {
  overflow: hidden;
}
.section-about::before {
  content: "MOTION";
  position: absolute;
  top: 18px;
  right: -1.5vw;
  color: rgba(3, 65, 135, .035);
  font: 900 clamp(6rem, 18vw, 17rem)/.8 "Montserrat", sans-serif;
  letter-spacing: -.09em;
  pointer-events: none;
}
.section-about::after {
  content: "";
  position: absolute;
  width: 58vw;
  height: 58vw;
  right: -31vw;
  bottom: -34vw;
  border: 2px solid rgba(7, 86, 176, .10);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(88,213,225,.045), 0 0 0 140px rgba(7,86,176,.025);
  pointer-events: none;
}
.section-about .about-sticky {
  z-index: 2;
}
.section-about .section-title {
  background: linear-gradient(100deg, var(--logo-ink), var(--logo-blue) 58%, var(--logo-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-about .mission-panel {
  color: var(--logo-white);
  border: 0;
  background:         radial-gradient(circle at 82% 14%, rgba(88, 213, 225, .28), transparent 28%),         linear-gradient(145deg, var(--logo-ink), var(--logo-deep) 62%, var(--logo-sky));
  box-shadow: 0 36px 100px rgba(3, 65, 135, .24);
  transform: rotate(-1.2deg);
}
.section-about .mission-panel > * {
  transform: rotate(1.2deg);
}
.section-about .mission-panel .section-copy {
  color: rgba(223,251,254,.75);
}
.section-about .meta-box {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.section-about .meta-box span {
  color: rgba(223,251,254,.72);
}
.section-about .value-card {
  background: rgba(255,255,255,.78);
  border-color: rgba(3,65,135,.10);
  box-shadow: 0 18px 50px rgba(3,65,135,.07);
}
.section-about .value-card:hover {
  transform: translateX(10px) rotate(-.35deg);
  background: var(--logo-white);
  border-color: rgba(37,143,197,.26);
  box-shadow: 0 24px 65px rgba(3,65,135,.12);
}
.section-about .value-card h3 {
  color: var(--logo-ink);
}
.section-about .value-arrow {
  color: var(--logo-sky);
}
.section-about .value-card:nth-child(2) .value-num {
  color: var(--logo-white);
  background: linear-gradient(140deg, var(--logo-deep), var(--logo-sky));
}
/* Events: cinematic cards made from real race photography. */
.events-section {
  overflow: hidden;
}
.events-section::before {
  content: "RACE / TOGETHER / LEBANON";
  position: absolute;
  left: -2vw;
  top: 48%;
  color: rgba(255,255,255,.035);
  font: 900 clamp(4rem, 10vw, 10rem)/1 "Montserrat", sans-serif;
  white-space: nowrap;
  transform: rotate(-5deg);
  pointer-events: none;
}
.events-section .events-grid {
  perspective: 1500px;
}
.events-section .event-card {
  min-height: 640px;
  border-color: rgba(223,251,254,.16);
  box-shadow: 0 34px 100px rgba(1, 30, 65, .45);
}
.events-section .event-card:first-child {
  transform: translateY(18px) rotate(-1deg);
}
.events-section .event-card:last-child {
  transform: translateY(-18px) rotate(1deg);
}
.events-section .event-card:hover {
  transform: translateY(-10px) rotate(0deg);
}
.sunrise-art {
  background-image: url("../../assets/hero-windows/hero-003.webp");
  background-position: center 36%;
  background-size: cover;
}
.winter-art {
  background-image: url("../../assets/images/gallery/winter-tripoli-run/thumbs/race-photo-001-winter-tripoli.webp");
  background-position: center 42%;
  background-size: cover;
}
.sunrise-art::before,     .sunrise-art::after,     .winter-art::before,     .winter-art::after {
  display: none;
}
.event-card::after {
  background:         linear-gradient(180deg, rgba(3,65,135,.03), rgba(3,65,135,.22) 38%, rgba(3,65,135,.98) 88%),         linear-gradient(90deg, rgba(7,86,176,.32), transparent 60%);
}
.event-tag {
  background: rgba(3,65,135,.56);
}
.event-number {
  color: rgba(223,251,254,.48);
}
/* Standards: bright certification gallery with orbiting seal. */
.section-standards {
  overflow: hidden;
}
.section-standards::before {
  content: "OFFICIAL";
  position: absolute;
  left: -1vw;
  bottom: 1vw;
  color: rgba(3,65,135,.035);
  font: 900 clamp(6rem, 17vw, 15rem)/.8 "Montserrat", sans-serif;
  letter-spacing: -.08em;
  pointer-events: none;
}
.section-standards .credibility-card {
  color: var(--logo-white);
  border: 0;
  background:         radial-gradient(circle at 82% 16%, rgba(88,213,225,.25), transparent 30%),         linear-gradient(145deg, var(--logo-ink), var(--logo-deep));
  box-shadow: 0 34px 90px rgba(3,65,135,.20);
}
.section-standards .credibility-card p {
  color: rgba(223,251,254,.74);
}
.standards-kicker {
  color: var(--logo-aqua) !important;
  margin-bottom: 18px;
}
.section-standards .federation-seal {
  width: 132px;
  height: 132px;
  border: 2px dashed rgba(223,251,254,.38);
  box-shadow: inset 0 0 40px rgba(88,213,225,.14), 0 0 0 18px rgba(88,213,225,.04);
}
.section-standards .standard-item {
  color: var(--logo-ink);
  background: rgba(255,255,255,.82);
  border-color: rgba(3,65,135,.10);
  box-shadow: 0 16px 45px rgba(3,65,135,.07);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.section-standards .standard-item:hover {
  transform: translateX(-8px);
  background: var(--logo-white);
  box-shadow: 0 24px 65px rgba(3,65,135,.13);
}
/* Contact: full dark finale with moving ring architecture. */
.section-contact {
  padding-top: 128px;
  padding-bottom: 128px;
  overflow: hidden;
}
.section-contact::before,     .section-contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(223,251,254,.10);
  pointer-events: none;
}
.section-contact::before {
  width: 54vw;
  height: 54vw;
  left: -31vw;
  top: -19vw;
  box-shadow: 0 0 0 70px rgba(88,213,225,.035), 0 0 0 140px rgba(88,213,225,.018);
}
.section-contact::after {
  width: 38vw;
  height: 38vw;
  right: -19vw;
  bottom: -20vw;
  box-shadow: 0 0 0 60px rgba(37,143,197,.045), 0 0 0 120px rgba(37,143,197,.025);
}
.section-contact .cta-panel {
  background:         linear-gradient(135deg, rgba(3,65,135,.72), rgba(7,86,176,.46)),         url("../../assets/hero-windows/hero-020.webp") center 42% / cover no-repeat;
  border-color: rgba(223,251,254,.20);
  box-shadow: 0 40px 120px rgba(1, 28, 65, .50);
}
.section-contact .cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,65,135,.92), rgba(3,65,135,.50), rgba(3,65,135,.76));
}
.section-contact .cta-content {
  z-index: 3;
}
@media (max-width: 900px) {
  .site-header.scrolled .nav-links {
    background: rgba(255,255,255,.98);
    color: var(--logo-ink);
    border-color: rgba(3,65,135,.10);
  }
  .events-section .event-card:first-child,       .events-section .event-card:last-child {
    transform: none;
  }
}
@media (max-width: 700px) {
  .hero.tone-dark .hero-photo-overlay {
    background:           linear-gradient(180deg,             rgba(3,65,135,.01) 0%,             rgba(3,65,135,.08) 28%,             rgba(3,65,135,.72) 52%,             rgba(3,65,135,1) 68%,             rgba(3,65,135,1) 100%);
  }
  .hero-carousel-panel {
    padding: 11px 15px;
  }
  .section-about .mission-panel,       .section-about .mission-panel > * {
    transform: none;
  }
  .events-section .event-card {
    min-height: 540px;
  }
  .section-light::before,       .section-dark::before {
    opacity: .75;
  }
}
/* =========================================================
       V11 RESPONSIVE REFINEMENT
       Desktop: values displayed as one row / three columns.
       Mobile: full-height photo, compact bottom-aligned content,
       and a bottom-to-top logo-blue readability gradient.
       ========================================================= */
/* Windows / desktop layout: the three principles share one row. */
@media (min-width: 901px) {
  .values-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }
  .value-card {
    position: relative;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    align-content: start;
    align-items: start;
    gap: 18px;
    min-width: 0;
    min-height: 250px;
    padding: 24px 22px;
  }
  .value-card:hover {
    transform: translateY(-8px);
  }
  .value-num {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }
  .value-card h3 {
    padding-right: 28px;
    font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  }
  .value-card p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
  }
  .value-arrow {
    position: absolute;
    top: 24px;
    right: 22px;
    color: var(--logo-sky);
  }
}
@media (max-width: 700px) {
  /* Use the full hero as the photograph canvas. */
  .hero {
    min-height: 100svh;
    height: 100svh;
  }
  .hero-bg-layer {
    inset: 0;
    width: 100%;
    height: 100%;
  }
  /* Use each desktop photo at a fixed scale with no Ken Burns zoom.
         Landscape photos fill the hero height and pan horizontally so
         mobile viewers see the image from both sides. */
  .hero-photo {
    inset: 0;
    background-size: auto 100%;
    background-position: center center;
    transform: none;
    transform-origin: center center;
    will-change: background-position;
  }
  /* Leave most of the photograph clear. The deep logo blue is
         concentrated only near the content at the bottom. */
  .hero.tone-dark .hero-photo-overlay {
    background:           linear-gradient(180deg,             rgba(3,65,135,.00) 0%,             rgba(3,65,135,.015) 42%,             rgba(3,65,135,.10) 58%,             rgba(3,65,135,.48) 72%,             rgba(3,65,135,.90) 87%,             rgba(3,65,135,1) 100%);
  }
  .hero-grid-texture {
    opacity: .24;
    mask-image: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(3,65,135,.70) 82%, rgba(3,65,135,1) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 58%, rgba(3,65,135,.70) 82%, rgba(3,65,135,1) 100%);
  }
  /* Place the full introduction at the bottom without creating a
         separate padded panel beneath the photograph. */
  .hero-shell {
    min-height: 100%;
    padding-top: 84px;
    padding-bottom: 0;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0 0 14px;
    margin-top: auto;
  }
  .eyebrow {
    gap: 8px;
    padding: 6px 9px;
    font-size: 8px;
    letter-spacing: .11em;
  }
  .eyebrow-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(88,213,225,.10), 0 0 16px rgba(88,213,225,.55);
  }
  /* Approximately 50% smaller than the previous mobile headline. */
  .hero h1 {
    margin-top: 13px;
    max-width: 100%;
    font-size: clamp(1.42rem, 7vw, 2.28rem);
    line-height: .94;
    letter-spacing: -.055em;
  }
  .hero h1 .outline {
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
  }
  .hero-lead {
    max-width: 34rem;
    margin-top: 13px;
    font-size: clamp(.72rem, 3vw, .88rem);
    line-height: 1.48;
    color: rgba(239,252,255,.88);
  }
  .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 15px;
  }
  .hero-actions .btn {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
    gap: 7px;
    font-size: .76rem;
    white-space: nowrap;
  }
  .hero-actions .btn svg {
    width: 14px;
    height: 14px;
  }
  .hero-progress {
    height: 2px;
  }
}
@media (max-width: 380px) {
  .hero-copy {
    padding-bottom: 10px;
  }
  .hero h1 {
    font-size: clamp(1.28rem, 6.5vw, 1.8rem);
  }
  .hero-lead {
    font-size: .69rem;
  }
  .hero-actions .btn {
    padding-inline: 11px;
    font-size: .69rem;
  }
}
/* Single hero source for every viewport. JavaScript updates subsequent slides. */
#heroPhotoA {
  background-image: url("../../assets/hero-windows/hero-001.webp");
}
/* V16 — remove the visible hero grid seam completely */
.hero-grid-texture {
  display:none !important;
  opacity:0 !important;
  visibility:hidden !important;
  background:none !important;
  background-image:none !important;
  mask-image:none !important;
  -webkit-mask-image:none !important;
}
.hero-background,     .hero-bg-layer,     .hero-photo-overlay {
  border:0 !important;
  outline:0 !important;
  box-shadow:none;
}


/* =========================================================
   V21 — Creative contact experience
   ========================================================= */
.section-contact {
  position: relative;
  isolation: isolate;
  padding: clamp(96px, 11vw, 150px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 12%, rgba(88,213,225,.15), transparent 25rem),
    radial-gradient(circle at 88% 82%, rgba(37,143,197,.20), transparent 32rem),
    linear-gradient(145deg, #011f43 0%, #034187 46%, #00152e 100%);
}
.section-contact::before {
  width: 46vw;
  height: 46vw;
  left: -28vw;
  top: -18vw;
  border-color: rgba(223,251,254,.13);
  box-shadow: 0 0 0 70px rgba(88,213,225,.035), 0 0 0 140px rgba(88,213,225,.018);
}
.section-contact::after {
  width: 34vw;
  height: 34vw;
  right: -18vw;
  bottom: -19vw;
  border-color: rgba(223,251,254,.10);
  box-shadow: 0 0 0 60px rgba(37,143,197,.045), 0 0 0 120px rgba(37,143,197,.025);
}
.contact-route-line {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(115deg, transparent 5%, black 35%, black 67%, transparent 98%);
  -webkit-mask-image: linear-gradient(115deg, transparent 5%, black 35%, black 67%, transparent 98%);
}
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(540px, 1.22fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}
.contact-intro {
  position: relative;
  z-index: 2;
}
.contact-intro .section-kicker {
  color: var(--logo-aqua);
}
.contact-intro h2 {
  max-width: 620px;
  margin: 0;
  color: var(--logo-white);
  font: 900 clamp(3rem, 6.2vw, 6.5rem)/.9 "Montserrat", sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.contact-intro h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(223,251,254,.62);
  text-stroke: 1.4px rgba(223,251,254,.62);
}
.contact-intro > p {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(223,251,254,.72);
  font-size: clamp(.98rem, 1.35vw, 1.12rem);
  line-height: 1.85;
}
.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 31px;
  padding: 11px 15px;
  border: 1px solid rgba(223,251,254,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.07);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  backdrop-filter: blur(14px);
}
.contact-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--logo-aqua);
  box-shadow: 0 0 0 6px rgba(88,213,225,.10), 0 0 20px rgba(88,213,225,.85);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  perspective: 1100px;
}
.contact-card {
  position: relative;
  min-height: 255px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(223,251,254,.16);
  border-radius: 28px;
  color: var(--logo-white);
  background: rgba(255,255,255,.075);
  box-shadow: 0 24px 60px rgba(0,20,54,.20);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
a.contact-card:hover {
  transform: translateY(-8px) rotateX(1deg);
  border-color: rgba(88,213,225,.58);
  background: rgba(255,255,255,.12);
  box-shadow: 0 32px 80px rgba(0,20,54,.34);
}
.contact-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -72px;
  bottom: -90px;
  border: 1px solid rgba(223,251,254,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(223,251,254,.025), 0 0 0 76px rgba(223,251,254,.018);
  pointer-events: none;
}
.contact-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.contact-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(223,251,254,.16);
  border-radius: 17px;
  color: var(--logo-white);
  background: rgba(255,255,255,.09);
  box-shadow: inset 0 0 26px rgba(88,213,225,.08);
}
.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.contact-arrow {
  font-size: 24px;
  line-height: 1;
  transition: transform .28s ease;
}
a.contact-card:hover .contact-arrow {
  transform: translate(4px,-4px);
}
.contact-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--logo-aqua);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-card h3 {
  margin: 0;
  color: var(--logo-white);
  font: 900 clamp(1.25rem, 2vw, 1.75rem)/1.04 "Montserrat", sans-serif;
  letter-spacing: -.045em;
}
.contact-card p {
  position: relative;
  z-index: 2;
  margin: 10px 0 0;
  color: rgba(223,251,254,.70);
  font-size: 12px;
  line-height: 1.65;
}
.contact-card-email {
  background:
    radial-gradient(circle at 90% 9%, rgba(88,213,225,.22), transparent 11rem),
    rgba(255,255,255,.08);
}
.contact-card-phone {
  background:
    radial-gradient(circle at 92% 8%, rgba(113,240,185,.22), transparent 11rem),
    radial-gradient(circle at 8% 100%, rgba(88,213,225,.13), transparent 12rem),
    rgba(255,255,255,.08);
}
.contact-card-phone .contact-icon {
  background: linear-gradient(145deg, rgba(113,240,185,.25), rgba(88,213,225,.20));
}
.contact-card-instagram {
  background:
    radial-gradient(circle at 100% 0%, rgba(214,80,142,.22), transparent 12rem),
    radial-gradient(circle at 12% 100%, rgba(249,193,94,.16), transparent 11rem),
    rgba(255,255,255,.08);
}
.contact-card-instagram .contact-icon {
  background: linear-gradient(145deg, rgba(249,193,94,.28), rgba(214,80,142,.26), rgba(76,95,215,.22));
}
.contact-card-location {
  min-height: 228px;
  background:
    radial-gradient(circle at 14% 5%, rgba(37,143,197,.27), transparent 12rem),
    rgba(255,255,255,.065);
}
.contact-point {
  width: 12px;
  height: 12px;
  margin: 5px;
  border: 2px solid var(--logo-aqua);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(88,213,225,.08), 0 0 24px rgba(88,213,225,.65);
}
.contact-card-cta {
  min-height: 210px;
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(88,213,225,.95), rgba(223,251,254,.96));
  color: var(--logo-ink);
  border-color: rgba(255,255,255,.55);
}
.contact-card-cta::after {
  border-color: rgba(3,65,135,.15);
  box-shadow: 0 0 0 38px rgba(3,65,135,.035), 0 0 0 76px rgba(3,65,135,.022);
}
.contact-card-cta small,
.contact-card-cta h3,
.contact-card-cta p {
  color: var(--logo-ink);
}
.contact-card-cta p {
  opacity: .72;
}
.contact-card-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(3,65,135,.13);
  font: 900 clamp(3.2rem, 6vw, 5.5rem)/1 "Montserrat", sans-serif;
  letter-spacing: -.08em;
}
.contact-race-link {
  position: relative;
  z-index: 2;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(3,65,135,.36);
  color: var(--logo-ink);
  font-size: 12px;
  font-weight: 900;
}
.contact-race-link span {
  transition: transform .25s ease;
}
.contact-race-link:hover span {
  transform: translateX(5px);
}
@media (max-width: 1050px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }
  .contact-intro h2,
  .contact-intro > p {
    max-width: 780px;
  }
}
@media (max-width: 700px) {
  .section-contact {
    padding: 88px 0 104px;
  }
  .contact-shell {
    gap: 44px;
  }
  .contact-intro h2 {
    font-size: clamp(2.75rem, 14vw, 4.6rem);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card,
  .contact-card-location,
  .contact-card-cta {
    min-height: 220px;
    padding: 24px;
  }
  .contact-card-cta {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-arrow,
  .contact-race-link span {
    transition: none;
  }
}


/* Mobile event dropdown */
@media (max-width: 1050px) {
  .nav-dropdown { display: block; width: 100%; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    margin-top: 12px;
    padding: 7px;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    box-shadow: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: grid; transform: none; }
}


/* 20260727-mobile-final: reliable responsive hero image fallback */
#heroPhotoA {
  background-image: url("../../assets/hero-windows/hero-001.webp");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
@media (max-width: 700px) {
  #heroPhotoA {
    background-image: url("../../assets/hero-mobile/hero-001.webp"), url("../../assets/hero-windows/hero-001.webp");
    background-size: cover, cover;
    background-position: center 35%, center 42%;
  }
  .hero-background, .hero-bg-layer { min-height: 61svh; }
  .hero-photo { display:block !important; visibility:visible !important; opacity:1; }
}
