@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=League+Spartan:wght@700;800&display=swap");

:root {
  --ink: #090d24;
  --paper: #f4f5fb;
  --acid: #a4e400;
  --blue: #361fd7;
  --muted: #a9aec4;
  --line: rgba(244, 245, 251, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(22px, 6vw, 88px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.brand strong {
  color: var(--acid);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--acid);
  border-radius: 50%;
  color: var(--acid);
  font-family: "League Spartan", sans-serif;
  font-size: 1.1rem;
}

.header-link {
  border-bottom: 1px solid var(--paper);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 5vw;
  overflow: hidden;
  padding: 130px clamp(22px, 6vw, 88px) 70px;
}

.eyebrow,
.section-number {
  color: var(--acid);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "League Spartan", sans-serif;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(4rem, 9.2vw, 9rem);
  letter-spacing: -0.055em;
}

h1 em {
  color: var(--acid);
  font-style: normal;
}

.hero-text {
  max-width: 520px;
  margin: 32px 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding: 15px 20px;
  border-radius: 999px;
  background: var(--acid);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  background: #b9ff26;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.store-button { background: var(--blue); color: var(--paper); }
.store-button:hover { background: #503be0; }

.hero-art {
  position: relative;
  min-height: min(66vw, 680px);
}

.hero-k {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--acid);
  font-family: "League Spartan", sans-serif;
  font-size: clamp(13rem, 32vw, 34rem);
  font-weight: 800;
  line-height: 0.7;
  opacity: 0.94;
  transform: translate(-50%, -50%);
}

.orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(242, 240, 232, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-22deg);
}

.orbit-one {
  width: 72%;
  height: 92%;
}

.orbit-two {
  width: 92%;
  height: 58%;
  transform: translate(-50%, -50%) rotate(28deg);
}

.art-label {
  position: absolute;
  z-index: 3;
  padding: 6px 9px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.art-label-top {
  top: 20%;
  right: 2%;
}

.art-label-bottom {
  bottom: 18%;
  left: 3%;
}

.manifesto,
.coming-soon {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: 4vw;
  padding: 120px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
}

.manifesto h2,
.coming-soon h2 {
  font-size: clamp(2.7rem, 6.6vw, 6.8rem);
  letter-spacing: -0.04em;
}

.manifesto h2 span,
.coming-soon h2 span {
  color: var(--acid);
}

.manifesto-copy > p,
.coming-soon div > p {
  max-width: 600px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles article {
  min-height: 330px;
  padding: 42px clamp(22px, 4vw, 58px);
  border-right: 1px solid var(--line);
}

.principles article:last-child {
  border-right: 0;
}

.principles article > span {
  color: var(--acid);
  font-size: 0.72rem;
}

.principles h3 {
  margin-top: 120px;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
}

.principles p {
  max-width: 300px;
  color: var(--muted);
}

.coming-soon {
  background: var(--paper);
  color: var(--ink);
}

.coming-soon div > p {
  color: #626960;
}

.contact {
  padding: 130px clamp(22px, 6vw, 88px);
  text-align: center;
}

.contact h2 {
  margin: 18px 0 34px;
  font-size: clamp(3rem, 8vw, 8rem);
  letter-spacing: -0.04em;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px 34px;
  flex-wrap: wrap;
}

.contact-links a {
  display: inline-block;
  border-bottom: 1px solid var(--acid);
  color: var(--acid);
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  text-decoration: none;
}

footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px calc(clamp(22px, 6vw, 88px) + 105px) 28px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 470px;
  }

  .manifesto,
  .coming-soon {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 90px;
  }

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

  .principles article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principles h3 {
    margin-top: 60px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 20px;
  }

  .header-nav .header-link:last-child {
    display: none;
  }

  .hero {
    padding-top: 115px;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 5.6rem);
  }

  .hero-art {
    min-height: 390px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* Futuristic motion layer for Kairos Team */
.site-header {
  position: fixed;
  padding-block: 18px;
  border-bottom: 1px solid rgba(164, 228, 0, .12);
  background: rgba(16, 22, 16, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background .25s ease, border-color .25s ease;
}
.site-header::after {
  position: absolute;
  right: clamp(22px, 6vw, 88px);
  bottom: -1px;
  width: 84px;
  height: 1px;
  background: var(--acid);
  content: "";
  box-shadow: 0 0 12px rgba(164, 228, 0, .8);
}
.header-link {
  border-bottom-color: transparent;
  transition: color .2s ease, border-color .2s ease;
}
.header-link:hover { border-color: var(--acid); color: var(--acid); }
.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 77% 49%, rgba(66, 92, 36, .22), transparent 35%), var(--ink);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(rgba(164, 228, 0, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(164, 228, 0, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy::before {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--acid);
  content: "";
  box-shadow: 0 0 20px rgba(164, 228, 0, .55);
}
.hero h1 { text-shadow: 0 10px 45px rgba(0, 0, 0, .18); }
.hero h1 em { text-shadow: 0 0 35px rgba(164, 228, 0, .24); }
.button { box-shadow: 0 0 0 1px rgba(164, 228, 0, .28), 0 12px 32px rgba(0, 0, 0, .24); }
.button:hover { box-shadow: 0 0 24px rgba(164, 228, 0, .28); }
.hero-art {
  --move-x: 0px;
  --move-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  isolation: isolate;
  perspective: 1000px;
}
.hero-grid {
  position: absolute;
  inset: 5% -8%;
  z-index: -2;
  background-image: linear-gradient(rgba(164, 228, 0, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(164, 228, 0, .08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 5%, transparent 68%);
  transform: translate(var(--move-x), var(--move-y));
  transition: transform .3s ease;
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(164, 228, 0, .3);
  filter: blur(90px);
  transform: translate(-50%, -50%);
  animation: glow-breathe 5s ease-in-out infinite alternate;
}
.hero-k {
  transform: translate(calc(-50% + var(--move-x)), calc(-50% + var(--move-y))) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  text-shadow: 0 0 55px rgba(164, 228, 0, .16);
  transition: transform .35s cubic-bezier(.2,.75,.25,1);
}
.orbit-one { animation: orbit-turn 32s linear infinite; }
.orbit-two { animation: orbit-turn-reverse 42s linear infinite; }
.art-label { box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.art-label-top { border-left: 3px solid var(--acid); }
.art-label-bottom { border-right: 3px solid var(--acid); }
.hero-coordinate {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 7%;
  color: rgba(164, 228, 0, .67);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.7;
  text-align: right;
}
@keyframes orbit-turn {
  from { transform: translate(-50%, -50%) rotate(-22deg); }
  to { transform: translate(-50%, -50%) rotate(338deg); }
}
@keyframes orbit-turn-reverse {
  from { transform: translate(-50%, -50%) rotate(28deg); }
  to { transform: translate(-50%, -50%) rotate(-332deg); }
}
@keyframes glow-breathe { from { opacity: .58; scale: .88; } to { opacity: 1; scale: 1.12; } }
.manifesto, .principles article, .movement-copy, .runner-stage, .coming-soon, .contact { position: relative; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.25,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.principles article:nth-child(2) { transition-delay: .1s; }
.principles article:nth-child(3) { transition-delay: .2s; }
.principles article::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--acid);
  content: "";
  transition: width .35s ease;
}
.principles article:hover::before { width: 100%; }
.principles h3 { transition: color .2s ease, transform .25s ease; }
.principles article:hover h3 { color: var(--acid); transform: translateX(5px); }
.movement {
  display: grid;
  min-height: 680px;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 4vw;
  overflow: hidden;
  padding: 105px clamp(22px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 78% 50%, rgba(89, 126, 40, .15), transparent 40%), #0c1438;
}
.movement-copy { z-index: 2; }
.movement h2 { margin-top: 24px; font-size: clamp(3.3rem, 7.4vw, 7.5rem); letter-spacing: -.055em; }
.movement h2 span { color: var(--acid); }
.movement-copy > p:not(.section-number) { max-width: 470px; margin: 28px 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.training-points { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.training-points li { display: flex; align-items: center; gap: 11px; color: var(--paper); font-size: .88rem; letter-spacing: .04em; }
.training-points li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); content: ""; box-shadow: 0 0 12px rgba(164, 228, 0, .55); }
.movement-link { display: inline-flex; align-items: center; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--acid); color: var(--acid); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: gap .2s ease; }
.movement-link:hover { gap: 32px; }
.mtb-section { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 22% 50%, rgba(89, 126, 40, .16), transparent 42%), #090d24; }
.mtb-stage .runner-word { font-size: clamp(7rem, 17vw, 15rem); }
.competitions { position: relative; display: grid; grid-template-columns: .45fr 1fr auto; align-items: center; gap: 4vw; overflow: hidden; padding: 110px clamp(22px, 6vw, 88px); border-top: 1px solid var(--line); background: #a4e400; color: var(--ink); }
.competitions .section-number { align-self: start; color: #435326; }
.competitions h2 { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.055em; }
.competitions h2 span { color: #526b25; }
.competitions-copy > p { max-width: 520px; margin: 28px 0; color: #435326; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.competitions .movement-link { border-color: var(--ink); color: var(--ink); }
.competition-stamp { display: grid; width: clamp(100px, 14vw, 190px); aspect-ratio: 1; place-content: center; border: 1px solid rgba(16, 22, 16, .55); border-radius: 50%; font-family: "League Spartan", sans-serif; font-size: clamp(1rem, 2vw, 1.7rem); font-weight: 800; line-height: .95; text-align: center; transform: rotate(9deg); }
.competition-stamp span { margin-top: 12px; font-family: "DM Sans", sans-serif; font-size: .55rem; letter-spacing: .14em; }
.runner-stage { display: grid; min-height: 470px; place-items: center; overflow: hidden; perspective: 900px; }
.runner-stage::before { position: absolute; inset: 4%; border: 1px solid rgba(164, 228, 0, .08); content: ""; transform: skewY(-8deg); }
.runner-coordinate { position: absolute; top: 8%; right: 5%; z-index: 4; color: rgba(164, 228, 0, .58); font-size: .56rem; font-weight: 700; letter-spacing: .16em; line-height: 1.7; text-align: right; }
.runner-word { position: absolute; top: 48%; left: 50%; z-index: 2; color: transparent; font-family: "League Spartan", sans-serif; font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 800; letter-spacing: -.08em; white-space: nowrap; -webkit-text-stroke: 1px rgba(164, 228, 0, .55); text-shadow: 0 0 40px rgba(164, 228, 0, .12); transform: translate(-50%, -50%) skew(-10deg); animation: word-flow 7s ease-in-out infinite alternate; }
.runner-track { position: absolute; right: -15%; bottom: 18%; left: -8%; height: 25%; border: 1px solid rgba(164, 228, 0, .21); border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 0 42px rgba(164, 228, 0, .08); }
.runner-orbit { position: absolute; width: 78%; height: 63%; border: 1px dashed rgba(242, 240, 232, .23); border-radius: 50%; transform: rotate(-21deg); animation: orbit-turn 36s linear infinite; }
.runner-tag { position: absolute; right: 8%; bottom: 12%; z-index: 3; padding: 8px 10px; background: var(--acid); color: var(--ink); font-size: .6rem; font-weight: 800; letter-spacing: .14em; line-height: 1.5; }
@keyframes word-flow { from { letter-spacing: -.08em; opacity: .7; } to { letter-spacing: -.045em; opacity: 1; } }
.coming-soon { position: relative; overflow: hidden; }
.coming-soon::after { position: absolute; right: -2%; bottom: -37%; width: 35vw; aspect-ratio: 1; border: 1px solid rgba(16, 22, 16, .11); border-radius: 50%; box-shadow: 0 0 0 32px rgba(16,22,16,.025), 0 0 0 64px rgba(16,22,16,.02); content: ""; pointer-events: none; }
.contact h2 { transition: color .2s ease; }
.contact h2:hover { color: var(--acid); }
@media (max-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .coach-art { min-width: 0; }
  .movement { grid-template-columns: 1fr; gap: 12px; padding-block: 85px; }
  .runner-stage { min-height: 420px; }
  .competitions { grid-template-columns: 1fr auto; gap: 24px; padding-block: 85px; }
  .competitions .section-number { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-header { padding-inline: 18px; }
  .site-header::after { right: 18px; width: 55px; }
  .hero::before { background-size: 34px 34px; }
  .hero-coordinate { right: 1%; bottom: 4%; font-size: .49rem; }
  .movement { padding-inline: 22px; }
  .runner-stage { min-height: 330px; margin-inline: -10px; }
  .runner-word { font-size: clamp(3.5rem, 15vw, 6.5rem); }
  .competitions { grid-template-columns: 1fr; }
  .competition-stamp { position: absolute; right: 22px; bottom: 24px; width: 78px; opacity: .45; }
  .competitions-copy { position: relative; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .orbit-one, .orbit-two, .runner-orbit, .runner-word { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Kairos Endurance Team identity and supplied photography */
.site-header { border-bottom-color: rgba(164, 228, 0, .2); }
.site-header::after { background: var(--blue); box-shadow: 0 0 12px rgba(54, 31, 215, .8); }
.brand { gap: 10px; font-size: .78rem; }
.brand strong { color: var(--acid); }
.brand-mark { width: 38px; height: 38px; object-fit: cover; border: 2px solid var(--acid); border-radius: 50%; background: white; }
.hero { background: radial-gradient(ellipse at 77% 49%, rgba(54, 31, 215, .28), transparent 37%), var(--ink); }
.hero::before { background-image: linear-gradient(rgba(54, 31, 215, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(54, 31, 215, .09) 1px, transparent 1px); }
.hero-copy::before { background: var(--blue); box-shadow: 0 0 20px rgba(54, 31, 215, .7); }
.hero h1 em { color: var(--acid); text-shadow: 0 0 35px rgba(164, 228, 0, .24); }
.coach-art { display: grid; min-height: min(66vw, 680px); place-items: center; isolation: isolate; }
.coach-art::before { position: absolute; z-index: -1; inset: 0; width: min(88%, 560px); aspect-ratio: 1; margin: auto; border-radius: 50%; background: conic-gradient(from 15deg, var(--blue), var(--acid), var(--blue), transparent 67%, var(--acid), var(--blue)); content: ""; animation: coach-ring-spin 11s linear infinite; filter: drop-shadow(0 0 22px rgba(54, 31, 215, .35)); }
.coach-art::after { position: absolute; z-index: -1; inset: 0; width: min(95%, 610px); aspect-ratio: 1; margin: auto; border: 1px dashed rgba(164, 228, 0, .48); border-radius: 50%; content: ""; animation: coach-ring-spin 26s linear infinite reverse; }
.coach-photo { width: min(78%, 490px); max-width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 23%; border: 7px solid var(--ink); border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(244, 245, 251, .22), 0 24px 80px rgba(0, 0, 0, .4); }
.coach-art .art-label { z-index: 3; padding: 9px 12px; border: 1px solid rgba(164, 228, 0, .55); background: var(--ink); color: var(--paper); }
.coach-art .art-label-top { top: 18%; right: 0; color: var(--acid); }
.coach-art .art-label-bottom { bottom: 16%; left: 0; }
.coach-art .art-label-top { animation: coach-label-float 3.6s ease-in-out infinite; }
.coach-art .art-label-bottom { animation: coach-label-float 4.2s ease-in-out -1.8s infinite; }
.hero-coordinate { color: var(--acid); }
@keyframes coach-ring-spin { from { transform: rotate(0turn); } to { transform: rotate(1turn); } }
@keyframes coach-label-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.team-gallery { padding: 120px clamp(22px, 6vw, 88px); border-top: 1px solid var(--line); background: linear-gradient(140deg, rgba(54, 31, 215, .12), transparent 44%), #0b102c; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.gallery-heading h2, .method-intro h2 { font-size: clamp(2.8rem, 6vw, 5.8rem); letter-spacing: -.05em; }
.gallery-heading h2 span, .method-intro h2 span { color: var(--acid); }
.gallery-heading .section-number { flex: 0 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-card { position: relative; min-width: 0; height: clamp(210px, 25vw, 340px); margin: 0; overflow: hidden; border: 1px solid rgba(164, 228, 0, .23); background: #111a43; }
.gallery-card:first-child { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.gallery-card:hover img { transform: scale(1.045); }
.image-open { display: block; width: 100%; height: 100%; margin: 0; padding: 0; overflow: hidden; border: 0; background: transparent; color: inherit; cursor: zoom-in; }
.image-open:focus-visible { outline: 3px solid var(--acid); outline-offset: -4px; }
.gallery-card .image-open { position: absolute; inset: 0; }
.gallery-card .image-open img { display: block; }
.gallery-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(6, 10, 29, .86)); content: ""; pointer-events: none; }
.gallery-card figcaption { position: absolute; z-index: 1; right: 18px; bottom: 17px; left: 18px; color: white; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.method-title-row { display: flex; align-items: center; gap: 18px; }
.method-title-row img { width: clamp(56px, 7vw, 88px); height: clamp(56px, 7vw, 88px); flex: 0 0 auto; border: 2px solid var(--acid); border-radius: 50%; object-fit: cover; }
.method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; padding: 125px clamp(22px, 6vw, 88px); border-block: 1px solid var(--line); background: #f4f5fb; color: var(--ink); }
.method .section-number { color: var(--blue); }
.method-intro > p:not(.section-number) { max-width: 430px; margin: 30px 0; color: #50566c; font-size: 1.08rem; }
.method-intro h2 span { color: var(--blue); }
.method-motto { padding-left: 17px; border-left: 3px solid var(--acid); color: var(--blue) !important; font-weight: 700; }
.method-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.method-steps li { display: grid; grid-template-columns: 52px 42px 1fr; align-items: center; gap: 15px; padding: 21px 0; border-bottom: 1px solid rgba(9, 13, 36, .15); }
.method-steps li:first-child { padding-top: 0; }
.method-steps li:last-child { border-bottom: 0; }
.step-number { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--blue); color: white; font-size: .77rem; font-weight: 800; }
.method-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(54, 31, 215, .18); border-radius: 50%; background: white; }
.method-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.method-icon .icon-accent { stroke: #6f9c00; }
.method-steps h3 { font-size: 1.26rem; letter-spacing: .01em; }
.method-steps p { margin: 9px 0 0; color: #62687c; font-size: .94rem; }
.photo-stage { min-height: 440px; border: 1px solid rgba(164, 228, 0, .28); background: #10173b; }
.photo-stage::before { inset: 3%; border: 1px solid rgba(164, 228, 0, .45); transform: skewY(-4deg); }
.photo-stage > .image-open { position: absolute; inset: 4%; width: 92%; height: 92%; }
.photo-stage > .image-open img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.photo-stage > .image-open:hover img { transform: scale(1.045); }
.mtb-stage { min-height: 640px; }
.mtb-stage > .image-open { inset: 50% auto auto 50%; width: min(82%, 410px); height: auto; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); }
.mtb-stage > .image-open img { object-position: center 40%; }
.photo-stage .runner-tag { right: 7%; bottom: 7%; padding: 10px 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.mtb-section { background: radial-gradient(ellipse at 22% 50%, rgba(54, 31, 215, .18), transparent 42%), #090d24; }
.competitions { grid-template-columns: .4fr 1fr minmax(220px, .7fr); background: var(--blue); color: white; }
.competitions .section-number { color: var(--acid); }
.competitions h2 span { color: var(--acid); }
.competitions-copy > p { color: rgba(255, 255, 255, .78); }
.competitions .movement-link { border-color: var(--acid); color: var(--acid); }
.competition-photo-open { height: clamp(180px, 23vw, 280px); box-shadow: 12px 12px 0 rgba(164, 228, 0, .25); }
.competition-photo { display: block; width: 100%; height: 100%; object-fit: cover; border: 1px solid rgba(164, 228, 0, .65); transition: transform .6s cubic-bezier(.2,.75,.25,1); }
.competition-photo-open:hover .competition-photo { transform: scale(1.045); }
.image-viewer { position: relative; width: min(92vw, 1120px); max-width: 92vw; max-height: 88vh; padding: 17px; overflow: visible; border: 1px solid rgba(164, 228, 0, .58); border-radius: 14px; background: #090d24; color: var(--paper); box-shadow: 0 24px 90px rgba(0, 0, 0, .6); }
.image-viewer::backdrop { background: rgba(4, 7, 20, .84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.image-viewer-photo { display: block; max-width: 100%; max-height: 78vh; margin: auto; object-fit: contain; border-radius: 7px; }
.image-viewer-caption { margin: 12px 44px 0 0; color: var(--acid); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.image-viewer-close { position: absolute; z-index: 1; top: -13px; right: -13px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--acid); border-radius: 50%; background: var(--blue); color: white; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.coming-soon { background: var(--acid); }
.coming-soon .section-number { color: var(--blue); }
.coming-soon h2 span { color: var(--blue); }
.coming-soon div > p { color: #303713; }
.contact .eyebrow { color: var(--acid); }
.contact-links a { border-color: var(--blue); color: var(--acid); }
footer { border-top-color: rgba(164, 228, 0, .3); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-motto { position: absolute; left: 50%; margin: 0; text-align: center; transform: translateX(-50%); white-space: nowrap; }
.footer-credit { margin-left: auto; color: var(--muted); font-size: .58rem; letter-spacing: .06em; line-height: 1.45; text-align: right; text-decoration: none; text-transform: uppercase; transition: color .2s ease; }
.footer-credit:hover, .footer-credit:focus-visible { color: var(--acid); }
.footer-brand img { width: 128px; height: 37px; padding: 3px 6px; border-radius: 3px; background: #fff; object-fit: contain; }
.team-video { position: relative; min-width: 0; min-height: clamp(420px, 39vw, 600px); overflow: hidden; border: 1px solid rgba(164, 228, 0, .62); background: #050817; box-shadow: 0 18px 50px rgba(0, 0, 0, .28); isolation: isolate; }
.team-video-player { position: absolute; inset: 0; display: block; width: 100%; height: 100%; background: #050817; object-fit: contain; }
.team-video .section-number { position: absolute; top: 22px; left: 22px; z-index: 1; margin: 0; padding: 8px 10px; background: rgba(9, 13, 36, .72); }
.team-video-controls { position: absolute; right: 14px; bottom: 14px; left: 14px; z-index: 2; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.team-video-controls button { min-height: 42px; padding: 10px 14px; border: 1px solid rgba(164, 228, 0, .75); border-radius: 999px; background: rgba(9, 13, 36, .88); color: var(--paper); cursor: pointer; font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .04em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: auto; }
.team-video-controls button:hover, .team-video-controls button:focus-visible { background: var(--acid); color: var(--ink); outline: 2px solid rgba(164, 228, 0, .55); outline-offset: 2px; }
.team-video-controls button[hidden] { display: none; }
.team-video-controls button span { margin-right: 5px; font-size: 1.05rem; }
@media (max-width: 820px) { .team-video { min-height: clamp(430px, 72vw, 620px); } }
@media (max-width: 520px) { .team-video { min-height: clamp(450px, 128vw, 590px); } .team-video .section-number { top: 13px; left: 13px; font-size: .64rem; } .team-video-controls { right: 10px; bottom: 10px; left: 10px; } .team-video-controls button { min-height: 40px; padding: 9px 11px; font-size: .68rem; } }
.visit-counter { position: fixed; z-index: 30; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid rgba(164, 228, 0, .48); border-radius: 999px; background: rgba(9, 13, 36, .88); color: var(--paper); box-shadow: 0 10px 32px rgba(0, 0, 0, .3), 0 0 24px rgba(54, 31, 215, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.visit-counter-light { position: relative; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--acid); box-shadow: 0 0 13px rgba(164, 228, 0, .8); }
.visit-counter-light::after { position: absolute; inset: -4px; border: 1px solid rgba(164, 228, 0, .65); border-radius: 50%; content: ""; animation: visit-pulse 2.2s ease-out infinite; }
.visit-counter-divider { color: var(--blue); font-size: 1rem; }
.visit-counter-total { min-width: 1ch; color: var(--acid); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.visit-counter.is-unavailable .visit-counter-light { background: #9ba2b5; box-shadow: none; }
.visit-counter.is-unavailable .visit-counter-light::after { animation: none; }
@keyframes visit-pulse { 0% { transform: scale(.65); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-card:first-child { grid-column: auto; }
  .method { grid-template-columns: 1fr; gap: 50px; }
  .competitions { grid-template-columns: .35fr 1fr; }
  .competition-photo-open { grid-column: 2; }
}
@media (max-width: 650px) {
  .site-header { align-items: flex-start; gap: 12px; padding: 12px 16px; }
  .brand { gap: 7px; font-size: .62rem; letter-spacing: .08em; }
  .brand-mark { width: 32px; height: 32px; }
  .header-nav { max-width: 58%; gap: 11px; overflow-x: auto; scrollbar-width: none; }
  .header-nav::-webkit-scrollbar { display: none; }
  .header-link { flex: 0 0 auto; font-size: .61rem; }
  .header-nav .header-link:first-child { display: none; }
  .hero { padding-top: 105px; }
  .coach-art { min-height: 380px; }
  .coach-art::before { width: min(84%, 340px); }
  .coach-art::after { width: min(94%, 380px); }
  .coach-photo { width: min(74%, 300px); border-width: 5px; }
  .coach-art .art-label { font-size: .48rem; }
  .coach-art .art-label-top { top: 8%; right: 0; }
  .coach-art .art-label-bottom { bottom: 6%; left: 0; }
  .gallery-heading { display: block; }
  .gallery-heading .section-number { margin-bottom: 28px; }
  .team-gallery, .method { padding-block: 82px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .gallery-card { height: 200px; }
  .gallery-card:first-child { grid-column: span 2; height: 240px; }
  .gallery-card figcaption { right: 10px; bottom: 11px; left: 10px; font-size: .61rem; }
  .method-steps li { grid-template-columns: 42px 1fr; gap: 13px; }
  .method-steps li { grid-template-columns: 40px 34px 1fr; gap: 10px; }
  .method-icon { width: 38px; height: 38px; }
  .method-icon svg { width: 28px; height: 28px; }
  .step-number { width: 36px; height: 36px; }
  .method-steps h3 { font-size: 1.08rem; }
  .photo-stage { min-height: 330px; }
  .mtb-stage { min-height: 580px; }
  .mtb-stage > .image-open { width: min(94%, 410px); }
  .competitions { grid-template-columns: 1fr; }
  .competition-photo-open { grid-column: auto; height: 210px; }
}
@media (max-width: 520px) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 7px; padding: 9px 16px; }
  .header-nav { max-width: 100%; flex-wrap: wrap; gap: 8px 13px; overflow: visible; }
  .header-nav .header-link:last-child { display: inline-flex; }
  .header-link { font-size: .58rem; letter-spacing: .06em; }
  .hero { padding-top: 135px; }
  .hero-copy { width: 100%; max-width: 100%; }
  h1 { max-width: 100%; font-size: clamp(2.75rem, 14vw, 3.6rem); }
  .hero-text { width: 100%; max-width: calc(100vw - 44px); overflow-wrap: break-word; }
  .coach-art { left: 50%; width: 100vw; max-width: 100vw; overflow: hidden; transform: translateX(-50%); }
  .coach-art::before { width: min(84vw, 340px); }
  .coach-art::after { width: min(96vw, 380px); }
  .coach-photo { width: min(74vw, 300px); }
  .visit-counter { right: 13px; bottom: 13px; gap: 7px; padding: 9px 12px; font-size: .61rem; }
  footer { grid-template-columns: 1fr; justify-items: center; gap: 10px; text-align: center; }
  .footer-motto { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .coach-art::before, .coach-art::after { animation: none; }
  .coach-art .art-label-top, .coach-art .art-label-bottom { animation: none; }
  .visit-counter-light::after { animation: none; }
}

@media (max-width: 900px) {
  footer { flex-wrap: wrap; gap: 14px 18px; padding-right: calc(clamp(22px, 6vw, 88px) + 105px); }
  .footer-motto { position: static; margin-left: auto; transform: none; }
  .footer-credit { flex: 0 0 100%; max-width: 280px; }
}

@media (max-width: 520px) {
  footer { flex-direction: column; align-items: stretch; gap: 12px; padding: 24px 150px 76px 22px; text-align: left; }
  .footer-brand { align-self: flex-start; }
  .footer-motto { align-self: center; margin: 0; white-space: normal; }
  .footer-credit { align-self: flex-end; max-width: 100%; }
}
