/* ==========================================================================
   Just Be Kind 5K Run/Walk — ProWell Fitness
   ========================================================================== */

:root{
  --royal:#4B1A8C;
  --royal-deep:#33105f;
  --vivid:#8E3FD6;
  --orchid:#C86DE6;
  --ink:#111;
  --paper:#F7F5FA;
  --white:#fff;
  --muted:#5b5566;
  --line:rgba(17,17,17,.12);
  --line-light:rgba(255,255,255,.22);
  --grad:linear-gradient(120deg,var(--royal) 0%,var(--vivid) 55%,var(--orchid) 100%);
  --shadow:0 18px 50px rgba(38,10,72,.14);
  --shadow-lg:0 30px 80px rgba(38,10,72,.28);
  --sans:"Montserrat",system-ui,-apple-system,"Segoe UI",sans-serif;
  --script:"Caveat",cursive;
  --wrap:1180px;
  --r:14px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font:400 17px/1.65 var(--sans);
  overflow-x:hidden;
  padding-bottom:0;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:var(--royal);
  text-decoration:none;
}

a:hover{
  color:var(--vivid);
}

h1,h2,h3,h4{
  margin:0;
  font-weight:700;
  letter-spacing:-.015em;
  line-height:1.04;
  text-wrap:balance;
}

p{
  margin:0 0 1em;
  text-wrap:pretty;
}

ul,ol{
  margin:0;
  padding:0;
  list-style:none;
}

button{
  font:inherit;
}

:focus-visible{
  outline:3px solid var(--orchid);
  outline-offset:3px;
  border-radius:4px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

.skip{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:200;
  background:var(--royal);
  color:#fff;
  padding:12px 18px;
}

.skip:focus{
  left:8px;
  top:8px;
}

.wrap{
  width:100%;
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 20px;
}

.narrow{
  max-width:820px;
}

.narrow-c{
  max-width:680px;
  margin-left:auto;
  margin-right:auto;
}

.center{
  text-align:center;
}

.i{
  width:22px;
  height:22px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* ---------- Type ---------- */
.h2{
  font-size:clamp(30px,4.6vw,50px);
  margin:0 0 18px;
}

.h3{
  font-size:clamp(23px,2.6vw,30px);
  margin:0 0 16px;
}

.kicker{
  font:800 12px/1 var(--sans);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--vivid);
  margin:0 0 14px;
}

.kicker.light{
  color:var(--orchid);
}

.lede{
  font-size:clamp(17px,1.7vw,19px);
  color:var(--muted);
  max-width:62ch;
}

.center .lede,.lede.center{
  margin-left:auto;
  margin-right:auto;
}

.light{
  color:#fff;
}

.lede.light{
  color:rgba(255,255,255,.82);
}

.script{
  font:700 clamp(26px,3.2vw,38px)/1.15 var(--script);
  color:var(--vivid);
  margin:0 0 12px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;
  padding:14px 26px;
  border:2px solid transparent;
  border-radius:999px;
  font:700 14px/1 var(--sans);
  letter-spacing:.08em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
  text-align:center;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:var(--grad);
  color:#fff;
}

.btn-primary:hover{
  color:#fff;
}

.btn-outline{
  background:transparent;
  color:var(--royal);
  border-color:rgba(75,26,140,.35);
}

.btn-outline:hover{
  background:rgba(142,63,214,.08);
  border-color:var(--vivid);
  color:var(--royal);
}

.btn-ghost{
  background:rgba(255,255,255,.1);
  color:#fff;
  border-color:rgba(255,255,255,.5);
}

.btn-ghost:hover{
  background:rgba(255,255,255,.2);
  color:#fff;
}

.btn-ghost-light{
  background:transparent;
  color:#fff;
  border-color:rgba(255,255,255,.55);
}

.btn-ghost-light:hover{
  background:rgba(255,255,255,.14);
  color:#fff;
}

.btn-white{
  background:#fff;
  color:var(--royal);
}

.btn-white:hover{
  color:var(--royal-deep);
}

.btn-lg{
  min-height:60px;
  padding:18px 34px;
  font-size:15px;
}

.btn-sm{
  min-height:44px;
  padding:11px 18px;
  font-size:12px;
}

.btn-block{
  display:flex;
  width:100%;
}

/* ---------- Header ---------- */
.hdr{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(29,10,54,.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.12);
  transition:background .25s ease;
}

.hdr.is-stuck{
  background:rgba(29,10,54,.96);
}

.hdr .wrap{
  max-width:1480px;
  padding:0 clamp(20px,3.2vw,48px);
}

.hdr-in{
  display:flex;
  align-items:center;
  gap:24px;
  min-height:80px;
}

.hdr-brand{
  display:flex;
  align-items:center;
  gap:16px;
  flex:none;
}

.hdr-prowell{
  height:36px;
  width:auto;
  object-fit:contain;
}

.hdr-div{
  width:1px;
  height:30px;
  background:rgba(255,255,255,.28);
}

.hdr-jbk{
  height:38px;
  width:auto;
}

.nav{
  display:flex;
  align-items:center;
  gap:clamp(18px,2vw,30px);
  margin-left:auto;
}

.nav a{
  color:rgba(255,255,255,.84);
  font:600 14px/1 var(--sans);
  letter-spacing:.02em;
  white-space:nowrap;
}

.nav a:hover{
  color:#fff;
}

.nav-back{
  opacity:.62;
  font-size:13px !important;
  padding-left:clamp(18px,2vw,30px);
  border-left:1px solid rgba(255,255,255,.2);
}

.hdr-act{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:clamp(8px,1.4vw,20px);
}

.hdr-act .btn-sm{
  white-space:nowrap;
}

.burger{
  display:none;
  width:46px;
  height:46px;
  background:transparent;
  border:1px solid rgba(255,255,255,.3);
  border-radius:10px;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  cursor:pointer;
}

.burger span{
  display:block;
  width:20px;
  height:2px;
  background:#fff;
  transition:transform .2s ease,opacity .2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}

.burger[aria-expanded="true"] span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  isolation:isolate;
  background:var(--royal-deep);
  color:#fff;
  overflow:hidden;
  padding:clamp(56px,9vw,80px) 0 clamp(64px,8vw,96px);
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:-1;
  background:radial-gradient(120% 90% at 15% 0%,#5c1fa8 0%,#33105f 55%,#1d0a36 100%);
}

.hero-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.3;
  mix-blend-mode:luminosity;
}

.hero-swoosh{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

.hero-heart{
  position:absolute;
  right:4%;
  top:12%;
  width:clamp(120px,16vw,230px);
  color:rgba(255,255,255,.16);
  transform:rotate(-8deg);
}

.hero-in{
  position:relative;
  text-align:center;
}

.eyebrow{
  font:700 12px/1 var(--sans);
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--orchid);
  margin:0 0 22px;
}

.hero-h1{
  margin:0;
}

.hero-word{
  width:min(660px,88vw);
  height:auto;
  margin:0 auto;
}

.hero-sub{
  font:600 clamp(15px,2.1vw,22px)/1 var(--sans);
  letter-spacing:.24em;
  text-transform:uppercase;
  margin:14px 0 10px;
  color:rgba(255,255,255,.9);
}

.hero-sub .dot{
  color:var(--orchid);
  margin:0 6px;
}

.hero-script{
  color:#fff;
  opacity:.95;
  margin:0 0 26px;
}

.hero-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 26px;
  margin:0 0 30px;
  color:rgba(255,255,255,.86);
  font-size:15px;
}

.hero-meta li{
  display:flex;
  align-items:center;
  gap:9px;
}

.hero-meta .i{
  color:var(--orchid);
  width:19px;
  height:19px;
}

.hero-cta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-bottom:44px;
}

.count{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  max-width:520px;
  margin:0 auto;
}

.count-unit{
  flex:1 1 84px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--r);
  padding:14px 6px;
  text-align:center;
  backdrop-filter:blur(6px);
}

.count-n{
  display:block;
  font:700 clamp(28px,4.4vw,40px)/1 var(--sans);
  font-variant-numeric:tabular-nums;
}

.count-l{
  display:block;
  font:700 10.5px/1 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--orchid);
  margin-top:7px;
}

.count-cap{
  flex:1 0 100%;
  margin:12px 0 0;
  font-size:13.5px;
  color:rgba(255,255,255,.6);
  text-align:center;
}

/* ---------- Sections ---------- */
.sec{
  padding:clamp(64px,8vw,90px) 0;
}

.sec-tight{
  padding:clamp(40px,5vw,60px) 0;
}

.sec-paper{
  background:var(--paper);
}

.sec-dark{
  background:linear-gradient(165deg,#2a0c50 0%,#4B1A8C 60%,#5f22a8 100%);
  color:#fff;
}

/* ---------- Quick facts ---------- */
.facts{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.fact{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--r);
  background:#fff;
}

.fact .i{
  color:var(--vivid);
  margin-bottom:6px;
}

.fact-k{
  font:600 11px/1 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}

.fact-v{
  font:600 19px/1.2 var(--sans);
}

.facts-note{
  margin:18px 0 0;
  font-size:14px;
  color:var(--muted);
  text-align:center;
}

/* ---------- Pills ---------- */
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

.pills li{
  padding:10px 18px;
  border-radius:999px;
  background:rgba(142,63,214,.09);
  color:var(--royal);
  font:700 13.5px/1 var(--sans);
}

/* ---------- Split (Hope) ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(28px,5vw,64px);
  align-items:center;
}

.split-media{
  margin:0;
}

.split-media img,.split-media .ph{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:var(--r);
}

.hope-photo img{
  aspect-ratio:auto;
  height:auto;
  border-radius:18px;
  outline:6px solid #fff;
}

/* Photo column: badge overlaps the top-left corner, goal card the bottom edge */
.hope-visual{
  position:relative;
  padding-bottom:72px;
}

.hope-visual .hope-logo{
  position:absolute;
  top:-28px;
  left:-22px;
  z-index:1;
  width:96px;
  height:96px;
  padding:5px;
  background:#fff;
  border-radius:50%;
  box-shadow:var(--shadow);
  filter:none;
}

.hope-visual .goal{
  position:absolute;
  right:-18px;
  bottom:0;
  z-index:1;
  margin:0;
  padding:18px 26px 18px 22px;
  box-shadow:var(--shadow);
}

.hope-visual .goal-n{
  font-size:clamp(26px,2.8vw,36px);
  white-space:nowrap;
}

.hope-tag{
  margin:4px 0 26px;
  font-size:clamp(24px,2.6vw,30px);
}

.goal{
  margin:26px 0 22px;
  padding:22px 24px;
  border-left:4px solid var(--vivid);
  background:#fff;
  border-radius:0 var(--r) var(--r) 0;
}

.goal-k{
  display:block;
  font:800 11px/1 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}

.goal-n{
  display:block;
  font:700 clamp(30px,4vw,44px)/1 var(--sans);
  color:var(--royal);
}

.goal-bar{
  margin-top:16px;
}

.goal-fill{
  height:10px;
  border-radius:999px;
  background:var(--grad);
  width:0;
  transition:width 1.2s ease;
}

.goal-cap{
  margin:8px 0 0;
  font-size:13.5px;
  color:var(--muted);
}

/* ---------- Tiles ---------- */
.tiles{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin:40px 0;
}

.tile{
  padding:26px 24px;
  border:1px solid var(--line);
  border-radius:var(--r);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.tile:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:transparent;
}

.tile .i{
  width:28px;
  height:28px;
  color:var(--vivid);
  margin-bottom:14px;
}

.tile h3{
  font-size:19px;
  margin-bottom:8px;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.tile p{
  margin:0;
  font-size:15px;
  color:var(--muted);
}

/* ---------- Give directly ---------- */
.give{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  padding:30px;
  border-radius:var(--r);
  background:var(--paper);
  border:1px dashed rgba(75,26,140,.28);
}

.give-h{
  font-size:22px;
  margin-bottom:6px;
}

.give-body p{
  margin:0;
  color:var(--muted);
}

.give-acct{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px;
}

.give-bank{
  font:700 14px/1 var(--sans);
  color:var(--muted);
}

.give-num{
  font:700 22px/1 var(--sans);
  letter-spacing:.03em;
  font-variant-numeric:tabular-nums;
}

/* ---------- Registration ---------- */
.reg{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(24px,4vw,48px);
  align-items:start;
  margin:44px 0 56px;
}

.bib{
  position:relative;
  background:#fff;
  color:var(--ink);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}

.bib-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 28px;
  background:var(--grad);
  color:#fff;
  font:800 11.5px/1 var(--sans);
  letter-spacing:.2em;
  text-transform:uppercase;
}

.bib-name{
  margin:26px 28px 0;
  font:700 clamp(28px,3.4vw,40px)/1 var(--sans);
  text-transform:uppercase;
  letter-spacing:-.02em;
}

.bib-price{
  margin:10px 28px 0;
  font:700 clamp(44px,6vw,68px)/1 var(--sans);
  color:var(--royal);
  letter-spacing:-.03em;
}

.bib-cur{
  font-size:.36em;
  letter-spacing:.14em;
  vertical-align:.9em;
  margin-right:10px;
  color:var(--vivid);
}

.bib-swoosh{
  display:block;
  width:100%;
  height:60px;
  margin-top:-10px;
  color:var(--vivid);
}

.bib-swoosh path{
  stroke:var(--orchid);
  stroke-opacity:.5;
}

.bib-pace{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0 28px;
}

.chip{
  padding:9px 16px;
  border-radius:999px;
  border:1px solid rgba(75,26,140,.25);
  font:700 12.5px/1.3 var(--sans);
  color:var(--royal);
}

.bib-perf{
  position:relative;
  height:26px;
  margin:24px 0 0;
  border-top:2px dashed rgba(17,17,17,.16);
}

.bib-perf::before,.bib-perf::after{
  content:"";
  position:absolute;
  top:-13px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#4b1a8c;
}

.bib-perf::before{
  left:-13px;
}

.bib-perf::after{
  right:-13px;
}

.sec-dark .bib-perf::before,.sec-dark .bib-perf::after{
  background:#44168a;
}

.bib-foot{
  padding:0 28px 28px;
}

.bib-inc-h{
  font:800 11px/1 var(--sans);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 14px;
}

.bib-inc{
  margin:0 0 24px;
  display:grid;
  gap:9px;
}

.bib-inc li{
  position:relative;
  padding-left:28px;
  font-size:15px;
  line-height:1.5;
}

.bib-inc li::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:var(--grad);
}

.bib-inc li::after{
  content:"";
  position:absolute;
  left:5px;
  top:9px;
  width:7px;
  height:4px;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(-45deg);
}

.bib-note{
  margin:14px 0 0;
  font-size:13px;
  color:var(--muted);
  text-align:center;
}

.gal-h{
  font:800 11px/1 var(--sans);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--orchid);
  margin:0 0 16px;
}

.bib{
  position:sticky;
  top:104px;
}

.gal-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.gal-i{
  margin:0;
}

.gal-i img,.gal-i .ph{
  width:100%;
  height:auto;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  min-height:0;
}

/* Product shots sit whole on white instead of being cropped */
.gal-prod img{
  object-fit:contain;
  background:#fff;
  padding:10px;
}

.gal-i:last-child{
  grid-column:1 / -1;
}

.gal-i:last-child img,.gal-i:last-child .ph{
  aspect-ratio:16/9;
}

.gal-i figcaption{
  margin-top:7px;
  font:600 12px/1.3 var(--sans);
  color:rgba(255,255,255,.62);
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  counter-reset:s;
}

.step{
  position:relative;
  padding:26px 22px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:var(--r);
  background:rgba(255,255,255,.05);
}

.step-n{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--orchid);
  color:#2a0c50;
  font:700 15px/1 var(--sans);
  margin-bottom:14px;
}

.step h3{
  font-size:18px;
  margin-bottom:8px;
  color:#fff;
}

.step p{
  margin:0;
  font-size:14.5px;
  color:rgba(255,255,255,.76);
}

/* ---------- Race info ---------- */
.race-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(24px,4vw,44px);
  align-items:center;
  margin-top:36px;
}

.info-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

/* Odd card out (Route) spans the full row */
.icard:last-child:nth-child(odd){
  grid-column:1 / -1;
}

.race-photo{
  margin:0;
}

.race-photo img{
  width:100%;
  height:auto;
  border-radius:18px;
}

.icard{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:18px 20px;
  background:#fff;
  border-radius:var(--r);
  border:1px solid var(--line);
}

.icard-k{
  font:700 10.5px/1 var(--sans);
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--vivid);
}

.icard-v{
  font:600 16.5px/1.35 var(--sans);
}

/* ---------- Timeline ---------- */
.time{
  margin-top:34px;
  position:relative;
}

.time::before{
  content:"";
  position:absolute;
  left:104px;
  top:8px;
  bottom:8px;
  width:2px;
  background:linear-gradient(var(--orchid),var(--royal));
}

.time li{
  position:relative;
  display:grid;
  grid-template-columns:92px 1fr;
  gap:34px;
  padding:13px 0;
}

.time li::before{
  content:"";
  position:absolute;
  left:98px;
  top:20px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#fff;
  border:3px solid var(--vivid);
}

.time-t{
  font:600 14px/1.5 var(--sans);
  color:var(--vivid);
  text-align:right;
  font-variant-numeric:tabular-nums;
}

.time-e{
  font:600 16.5px/1.5 var(--sans);
}

.time li.is-key .time-e{
  font-weight:700;
  font-size:19px;
  color:var(--royal);
}

.time li.is-key::before{
  background:var(--vivid);
  box-shadow:0 0 0 6px rgba(142,63,214,.18);
}

/* ---------- What to expect ---------- */
.zone{
  margin-top:36px;
  padding:32px;
  border-radius:var(--r);
  background:var(--grad);
  color:#fff;
}

.zone-h{
  font-size:clamp(22px,2.6vw,28px);
  margin-bottom:22px;
}

.zone-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.zone-k{
  display:block;
  font:600 15px/1.3 var(--sans);
  margin-bottom:6px;
}

.zone-i p{
  margin:0;
  font-size:14.5px;
  color:rgba(255,255,255,.82);
}

/* ---------- Kindness wall ---------- */
.sec-wall{
  background:linear-gradient(150deg,#33105f,#8E3FD6);
  color:#fff;
  position:relative;
  overflow:hidden;
}

.wall-in{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(24px,5vw,60px);
  align-items:center;
}

.wall-heart{
  width:100%;
  max-width:360px;
  color:rgba(255,255,255,.55);
  justify-self:center;
}

.wall-script{
  color:var(--orchid);
  margin-bottom:18px;
}

.wall-beat{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:0 0 20px;
  font:700 clamp(22px,3.2vw,34px)/1 var(--sans);
  text-transform:uppercase;
  letter-spacing:.02em;
}

.wall-beat span:nth-child(even){
  color:var(--orchid);
}

/* ---------- Event village ---------- */
.vgrid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:34px;
}

.vcard{
  padding:24px 22px;
  border-radius:var(--r);
  border:1px solid var(--line);
  transition:background .2s ease,transform .2s ease;
}

.vcard:hover{
  background:var(--paper);
  transform:translateY(-3px);
}

.vcard h3{
  font-size:17px;
  margin-bottom:6px;
}

.vcard p{
  margin:0;
  font-size:14.5px;
  color:var(--muted);
}

.vcap{
  margin:22px 0 0;
  font-size:14px;
  color:var(--muted);
}

/* ---------- Awards ---------- */
.awards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:36px;
}

.award{
  padding:30px 24px;
  text-align:center;
  border-radius:var(--r);
  background:#fff;
  border:1px solid var(--line);
}

.award-t{
  display:block;
  font:800 10.5px/1 var(--sans);
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--vivid);
  margin-bottom:12px;
}

.award h3{
  font-size:19px;
}

.award.is-fun{
  background:var(--grad);
  color:#fff;
  border-color:transparent;
}

.award.is-fun .award-t{
  color:rgba(255,255,255,.8);
}

/* ---------- Sponsors ---------- */
.logos{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  align-items:center;
  margin:34px 0 66px;
}

/* Square tiles; the square logos fill them edge to edge in full colour */
.logo{
  aspect-ratio:1/1;
  border-radius:var(--r);
  overflow:hidden;
  background:#111;
  border:1px solid var(--line);
  transition:transform .2s ease,box-shadow .2s ease;
}

.logo:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.logo img,.logo .ph{
  width:100%;
  height:100%;
  object-fit:cover;
}

.logo-light{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
}

.logo-light img{
  height:auto;
  object-fit:contain;
}

.logo-dark{
  display:flex;
  align-items:center;
  background:#000;
}

.logo-dark img{
  height:auto;
}

.tiers-h{
  margin-bottom:28px;
}

.tiers{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.tier{
  position:relative;
  padding:32px 28px;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:#fff;
}

.tier h4{
  font-size:21px;
  margin-bottom:8px;
}

.tier-p{
  font:700 30px/1 var(--sans);
  color:var(--royal);
  margin:0 0 20px;
}

.tier ul{
  display:grid;
  gap:9px;
}

.tier li{
  position:relative;
  padding-left:20px;
  font-size:14.5px;
  color:var(--muted);
  line-height:1.5;
}

.tier li::before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--orchid);
}

.tier.is-gold{
  background:var(--grad);
  color:#fff;
  border-color:transparent;
  box-shadow:var(--shadow);
  transform:translateY(-8px);
}

.tier.is-gold .tier-p,.tier.is-gold li{
  color:#fff;
}

.tier.is-gold li{
  color:rgba(255,255,255,.88);
}

.tier.is-gold li::before{
  background:#fff;
}

.tier-flag{
  position:absolute;
  top:-13px;
  left:28px;
  padding:7px 14px;
  border-radius:999px;
  background:#fff;
  color:var(--royal);
  font:800 10.5px/1 var(--sans);
  letter-spacing:.16em;
  text-transform:uppercase;
  box-shadow:var(--shadow);
}

.hydration{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:44px;
  padding:30px;
  border-radius:var(--r);
  background:var(--paper);
}

.hyd-h{
  font-size:20px;
  margin-bottom:8px;
}

.hydration p{
  margin:0;
  max-width:64ch;
  color:var(--muted);
  font-size:15px;
}

/* ---------- FAQ ---------- */
.acc{
  margin-top:30px;
  border-top:1px solid var(--line);
}

.acc details{
  border-bottom:1px solid var(--line);
}

.acc summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:20px 2px;
  cursor:pointer;
  list-style:none;
  font:600 17px/1.4 var(--sans);
}

.acc summary::-webkit-details-marker{
  display:none;
}

.acc summary::after{
  content:"";
  width:12px;
  height:12px;
  flex:none;
  border-right:2.5px solid var(--vivid);
  border-bottom:2.5px solid var(--vivid);
  transform:rotate(45deg) translateY(-3px);
  transition:transform .22s ease;
}

.acc details[open] summary::after{
  transform:rotate(-135deg) translateY(-3px);
}

.acc-b{
  padding:0 2px 22px;
}

.acc-b p{
  margin:0;
  color:var(--muted);
}

/* ---------- Contact ---------- */
.contact{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin:28px 0 22px;
}

.ctile{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:56px;
  padding:14px 24px;
  border-radius:999px;
  border:1px solid var(--line);
  font:700 16px/1 var(--sans);
  color:var(--ink);
  word-break:break-word;
}

.ctile:hover{
  border-color:var(--vivid);
  color:var(--royal);
}

.ctile .i{
  color:var(--vivid);
}

.social{
  display:flex;
  justify-content:center;
  gap:12px;
}

.sbtn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--paper);
  color:var(--royal);
  transition:background .2s ease,color .2s ease;
}

.sbtn:hover{
  background:var(--grad);
  color:#fff;
}

/* ---------- Footer CTA ---------- */
.fcta{
  background:var(--grad);
  color:#fff;
  padding:clamp(60px,8vw,100px) 0;
  text-align:center;
}

.fcta-h{
  font-size:clamp(28px,4.6vw,52px);
  text-transform:uppercase;
  line-height:1.05;
  margin-bottom:14px;
}

.fcta-script{
  color:rgba(255,255,255,.92);
  margin-bottom:30px;
}

.fcta-btns{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

.foot{
  background:#160828;
  color:rgba(255,255,255,.62);
  padding:26px 0;
}

.foot-in{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  font-size:13.5px;
}

.foot p{
  margin:0;
}

.foot a{
  color:var(--orchid);
}

/* ---------- Sticky mobile bar ---------- */
.sticky{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:70;
  display:none;
  background:rgba(29,10,54,.97);
  backdrop-filter:blur(10px);
  border-top:1px solid rgba(255,255,255,.14);
  padding:10px 14px calc(10px + env(safe-area-inset-bottom));
}

.sticky-in{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  max-width:640px;
  margin:0 auto;
}

.sticky-t{
  display:flex;
  flex-direction:column;
  color:#fff;
  font:800 13px/1.25 var(--sans);
}

.sticky-p{
  font:700 12px/1.3 var(--sans);
  color:var(--orchid);
}

.sticky .btn{
  min-height:48px;
  padding:13px 22px;
}

/* ---------- Share sheet + toast ---------- */
.share{
  position:fixed;
  inset:0;
  z-index:130;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(20,6,40,.6);
  backdrop-filter:blur(4px);
}

.share[hidden]{
  display:none;
}

.share-card{
  width:100%;
  max-width:360px;
  background:#fff;
  border-radius:18px;
  padding:26px;
  display:grid;
  gap:10px;
}

.share-h{
  margin:0 0 6px;
  font:700 20px/1.2 var(--sans);
  text-align:center;
}

.share .btn-ghost{
  color:var(--royal);
  border-color:transparent;
  background:transparent;
}

.share .btn-ghost:hover{
  color:var(--vivid);
  background:rgba(142,63,214,.08);
}

.toast{
  position:fixed;
  left:50%;
  bottom:96px;
  z-index:140;
  transform:translate(-50%,16px);
  opacity:0;
  pointer-events:none;
  background:#160828;
  color:#fff;
  padding:13px 22px;
  border-radius:999px;
  font:700 14px/1 var(--sans);
  transition:opacity .2s ease,transform .2s ease;
}

.toast.is-on{
  opacity:1;
  transform:translate(-50%,0);
}

/* ---------- Image placeholders ---------- */
.ph{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(140deg,rgba(75,26,140,.14),rgba(200,109,230,.22));
  border:1px dashed rgba(75,26,140,.3);
  color:var(--royal);
  border-radius:12px;
  min-height:90px;
  padding:14px;
  text-align:center;
}

.sec-dark .ph,.hero .ph{
  background:linear-gradient(140deg,rgba(255,255,255,.1),rgba(200,109,230,.18));
  border-color:rgba(255,255,255,.3);
  color:#fff;
}

.ph svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.5;
}

.ph span{
  font:800 10.5px/1.3 var(--sans);
  letter-spacing:.12em;
  text-transform:uppercase;
  opacity:.85;
}

.ph-mono{
  min-height:60px;
}

/* ---------- Scroll reveal ---------- */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .6s ease,transform .6s ease;
}

.reveal.is-in{
  opacity:1;
  transform:none;
}

/* ==========================================================================
   ENTRY POP-UP — self-contained (copy with the HTML snippet + JS block)
   ========================================================================== */
#jbk-modal{
  position:fixed;
  inset:0;
  z-index:150;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  font-family:"Montserrat",system-ui,sans-serif;
}

#jbk-modal[hidden]{
  display:none;
}

.jbk-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(20,6,40,.66);
  backdrop-filter:blur(5px);
  animation:jbkFade .3s ease both;
}

.jbk-modal-card{
  position:relative;
  width:100%;
  max-width:440px;
  padding:42px 32px 34px;
  text-align:center;
  border-radius:22px;
  background:linear-gradient(155deg,#4B1A8C,#8E3FD6 60%,#C86DE6);
  color:#fff;
  box-shadow:0 30px 80px rgba(38,10,72,.45);
  animation:jbkPop .42s cubic-bezier(.2,.9,.3,1.25) both;
}

.jbk-modal-x{
  position:absolute;
  top:12px;
  right:14px;
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.jbk-modal-x:hover{
  background:rgba(255,255,255,.28);
}

.jbk-modal-heart{
  width:58px;
  height:52px;
  margin:0 auto 16px;
  display:block;
  color:rgba(255,255,255,.85);
  fill:none;
  stroke:currentColor;
  animation:jbkBeat 2.4s ease-in-out infinite;
}

.jbk-modal-title{
  margin:0 0 12px;
  font:700 clamp(24px,5vw,30px)/1.1 "Montserrat",sans-serif;
}

.jbk-modal-text{
  margin:0 0 24px;
  font-size:16px;
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

.jbk-modal-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:16px 34px;
  border-radius:999px;
  background:#fff;
  color:#4B1A8C;
  font:800 14px/1 "Montserrat",sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
  text-decoration:none;
  transition:transform .18s ease;
}

.jbk-modal-cta:hover{
  transform:translateY(-2px);
  color:#33105f;
}

.jbk-modal-foot{
  margin:18px 0 0;
  font-size:12.5px;
  letter-spacing:.06em;
  color:rgba(255,255,255,.72);
}

@keyframes jbkFade{
  from{
    opacity:0;
  }

  to{
    opacity:1;
  }
}

@keyframes jbkPop{
  from{
    opacity:0;
    transform:translateY(26px) scale(.94);
  }

  to{
    opacity:1;
    transform:none;
  }
}

@keyframes jbkBeat{
  0%,100%{
    transform:scale(1);
  }

  12%{
    transform:scale(1.12);
  }

  24%{
    transform:scale(1);
  }

  36%{
    transform:scale(1.08);
  }
}

/* ======================= END ENTRY POP-UP ================================ */

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1300px){
  .hdr-act{
    margin-left:auto;
  }

  .nav{
    position:fixed;
    left:0;
    right:0;
    top:80px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#1d0a36;
    padding:8px clamp(20px,3.2vw,48px) 22px;
    border-bottom:1px solid rgba(255,255,255,.14);
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease,transform .2s ease;
    max-height:calc(100vh - 80px);
    overflow:auto;
  }

  .nav.is-open{
    transform:none;
    opacity:1;
    pointer-events:auto;
  }

  .nav a{
    padding:15px 0;
    border-bottom:1px solid rgba(255,255,255,.1);
    font-size:16px;
  }

  .nav-back{
    padding-left:0;
    border-left:0;
  }

  .burger{
    display:flex;
  }
}

@media (max-width:1080px){
  .facts,.tiles,.vgrid,.awards,.steps,.zone-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .tiers{
    grid-template-columns:1fr;
    gap:26px;
  }

  .tier.is-gold{
    transform:none;
  }
}

@media (max-width:900px){
  .reg,.split,.wall-in,.race-grid{
    grid-template-columns:1fr;
  }

  .race-photo{
    order:-1;
  }

  .bib{
    position:relative;
    top:auto;
  }

  .hope-visual{
    padding-bottom:0;
    margin:24px 0 12px;
  }

  .hope-visual .hope-logo{
    top:-24px;
    left:-6px;
    width:76px;
    height:76px;
  }

  .hope-visual .goal{
    position:relative;
    right:auto;
    width:auto;
    margin:-34px 14px 0;
  }

  .wall-heart{
    max-width:220px;
    order:-1;
  }

  .hdr-act .btn-sm{
    display:none;
  }

  body{
    padding-bottom:78px;
  }

  .sticky{
    display:block;
  }
}

@media (max-width:620px){
  body{
    font-size:16px;
  }

  .facts,.tiles,.vgrid,.awards,.steps,.zone-grid{
    grid-template-columns:1fr;
  }

  .gal-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-sub .dot{
    display:none;
  }

  .hero-sub-a,.hero-sub-b{
    display:block;
  }

  .hero-sub-b{
    margin-top:8px;
  }

  .hdr-prowell{
    height:30px;
  }

  .hdr-jbk{
    height:32px;
  }

  .hdr-brand{
    gap:12px;
  }

  .logos{
    grid-template-columns:repeat(2,1fr);
  }

  .hero-meta{
    flex-direction:column;
    align-items:center;
    gap:8px;
  }

  .time::before{
    left:76px;
  }

  .time li{
    grid-template-columns:68px 1fr;
    gap:26px;
  }

  .time li::before{
    left:70px;
  }

  .give,.hydration{
    flex-direction:column;
    align-items:flex-start;
  }

  .count-unit{
    flex:1 1 68px;
    padding:12px 4px;
  }

  .btn{
    width:100%;
  }

  .hdr-act .btn,.sticky .btn,.chip,.pills li,.ctile{
    width:auto;
  }

  .hero-cta .btn{
    width:100%;
  }
}

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

  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }

  .reveal{
    opacity:1;
    transform:none;
  }
}

@media print{
  .hdr,.sticky,.share,#jbk-modal,.toast{
    display:none !important;
  }

  body{
    color:#000;
  }
}
.pb-0{
  padding-bottom: 0 !important;
}