/* ==========================================================================
   Homepage. Loaded on the homepage only (the way results.css loads on
   Past Results), on top of site.css. Site tokens only (site.css :root), so
   the page reads as the rest of the site: photo washes, striped cards,
   Pacifico for the big lines, Ubuntu headings, Roboto Slab labels.
   ========================================================================== */

/* ------------------------------------------------------------- shared */
.hp-band{padding-block:clamp(64px,7vw,104px)}
.hp-band.is-tint{background:var(--paper-2)}
.hp-head{display:flex; flex-direction:column; align-items:flex-start; gap:14px; max-width:760px;
  margin-bottom:clamp(30px,4vw,46px)}
.hp-head.is-center{align-items:center; text-align:center; margin-inline:auto}
.hp-head > p:not([class]){font-size:18px; line-height:1.6; text-wrap:pretty}
.hp-head h2{line-height:1.12}
.eyebrow.is-gold{background-image:none; background-color:var(--gold); color:var(--ink)}
.eyebrow.is-gold-grad{background-image:linear-gradient(-90deg, #BE9D3A 0%, #F2D06B 100%); color:var(--ink)}
.hp-more{display:inline-flex; align-items:center; gap:7px; font-weight:600; color:var(--red-deep)}
.hp-more .ic{width:17px; height:17px; flex:none}
.hp-links{display:flex; flex-wrap:wrap; justify-content:center; gap:10px 28px; margin-top:28px}
.hp-chip{display:inline-grid; place-items:center; width:50px; height:50px; flex:none;
  border-radius:14px; background:#B81C35; color:#fff}
.hp-chip .ic{width:25px; height:25px}
.hp-chip.is-green{background:#1B6139}
.hp-chip.is-gold{background:#DAB641; color:var(--ink)}
.hp-card{display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:28px 28px 26px;
  background:var(--paper); border-radius:15px; border-top:4px solid var(--stripe,#B81C35);
  box-shadow:var(--shadow-2)}
.hp-card h3{margin-top:4px}
.hp-card > p{font-size:16px; line-height:1.6}
.hp-card .hp-more{margin-top:auto; padding-top:4px}

/* --------------------------------------------------------------- hero */
/* The hero is the classified Elementor band (site.css paints it); these add
   its two buttons and the admission line under the countdown, so the first
   screen says how to get in. */
.hp-hero-btns{display:flex; flex-wrap:wrap; gap:12px}
.hp-hero-btns .btn{min-height:50px}
.hp-hero .hp-lede{max-width:34em}
.hp-hero .hp-lede p{font-size:clamp(17px,.35vw + 15.5px,19px); line-height:1.6}
.hp-admit{display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
  margin-top:16px; padding-top:16px; border-top:1px solid rgba(255,255,255,.22);
  color:#fff; font-size:16px; line-height:1.35}
.hp-admit .ic{width:22px; height:22px; flex:none; color:var(--gold)}
.hp-admit b{font-weight:700; color:var(--gold)}

/* -------------------------------------------------------- how to get in */
.hp-ticket{position:relative; z-index:3; margin-top:-72px}
.hp-ticket-card{display:grid; grid-template-columns:minmax(210px,.75fr) 2.5fr; gap:22px 44px; align-items:center;
  padding:32px 38px 26px; background:var(--paper); border-radius:20px; border-top:5px solid #DAB641;
  box-shadow:0 2px 6px rgba(10,10,10,.06), 0 30px 60px -30px rgba(10,10,10,.45)}
.hp-kicker{font:700 .8rem/1.2 var(--font-body); letter-spacing:.09em; text-transform:uppercase; color:#B81C35}
.hp-ticket-head h2{margin-top:8px; font-size:clamp(28px,1.4vw + 18px,38px)}
.hp-steps{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px}
.hp-steps li{display:flex; align-items:flex-start; gap:14px}
.hp-step-ic{display:grid; place-items:center; width:48px; height:48px; flex:none; border-radius:14px;
  background:#FBF1D2; color:var(--red-deep)}
.hp-step-ic .ic{width:24px; height:24px}
.hp-step-text{display:flex; flex-direction:column; gap:4px; padding-top:2px}
.hp-step-text b{font:700 18px/1.25 var(--font-alt); color:var(--ink)}
.hp-step-text span{font-size:15.5px; line-height:1.5; color:var(--muted)}
.hp-ticket-note{grid-column:1 / -1; padding-top:16px; border-top:1px solid var(--line); font-size:16px}
.hp-ticket-note a{font-weight:600; white-space:nowrap}

/* -------------------------------------------------------- the weekend */
.hp-weekend{padding-top:clamp(56px,6vw,88px)}
.hp-days{display:grid; grid-template-columns:1fr 1fr .9fr; gap:22px; align-items:stretch}
.hp-day{padding:24px 26px 14px; background:var(--paper); border-radius:15px;
  border-top:4px solid var(--stripe); box-shadow:var(--shadow-2)}
.hp-day h3{display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:10px; font-size:24px}
.hp-day-date{font:400 15px/1.2 "Roboto Slab",Georgia,serif; color:var(--muted)}
.hp-times{list-style:none; margin:0; padding:0}
.hp-times li{display:grid; grid-template-columns:6.7em 1fr; gap:12px; padding:12px 0;
  border-top:1px solid var(--line); font-size:16px; line-height:1.45}
.hp-time{font:600 14.5px/1.45 var(--font-body); color:var(--red-deep); font-variant-numeric:tabular-nums}
.hp-track{position:relative; margin:0; min-height:280px; border-radius:15px; overflow:hidden;
  background:#2A2224; box-shadow:var(--shadow-2)}
.hp-track img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.hp-track figcaption{position:absolute; left:14px; bottom:14px; padding:8px 14px; border-radius:var(--radius-pill);
  background:#fff; color:var(--ink); font:600 14px/1.2 var(--font-body); box-shadow:0 4px 14px rgba(0,0,0,.2)}
.hp-where{display:flex; flex-wrap:wrap; align-items:center; gap:10px 28px; margin-top:22px; padding:14px 20px;
  background:var(--paper-2); border-radius:14px; font-size:16px}
.hp-where-addr{display:flex; align-items:center; gap:9px; flex:1 1 auto}
.hp-where-addr .ic{width:19px; height:19px; flex:none; color:#B81C35}
.hp-where-links{display:flex; gap:22px; font-weight:600}
.hp-partner{display:flex; align-items:center; gap:10px; font:400 14px/1.2 "Roboto Slab",Georgia,serif; color:var(--muted)}
.hp-partner img{width:auto; height:26px}

.hp-rule{display:flex; align-items:center; gap:18px; margin:clamp(44px,5vw,64px) 0 24px; font-size:26px; white-space:nowrap}
.hp-rule::after{content:""; flex:1; height:1px; background:var(--line)}
.hp-extras{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px}
.hp-extra{display:flex; flex-direction:column; overflow:hidden; background:var(--paper); border-radius:15px;
  border-top:4px solid var(--stripe); box-shadow:var(--shadow-2)}
.hp-extra-photo{aspect-ratio:16/10; overflow:hidden; background:#2A2224}
.hp-extra-photo img{width:100%; height:100%; object-fit:cover}
.hp-extra-photo.is-product{display:grid; place-items:center; background:radial-gradient(circle at 50% 60%, #FFFFFF 0%, #FBF3DC 70%)}
.hp-extra-photo.is-product img{width:auto; height:86%; object-fit:contain; mix-blend-mode:multiply}
.hp-extra-body{flex:1; display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:20px 24px 24px}
.hp-extra-when{font:600 13px/1.2 var(--font-body); letter-spacing:.07em; text-transform:uppercase; color:var(--muted)}
.hp-extra h3{font-size:25px}
.hp-price{font:700 17px/1.3 var(--font-alt); color:var(--red-deep)}
.hp-extra-body > p:not([class]){font-size:16px; line-height:1.6}
.hp-extra-body .btn{margin-top:auto}
.hp-extra-body > p:not([class]) + .btn,.hp-extra-body > p:not([class]) + .hp-carshow{margin-top:auto}
.hp-carshow{display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:auto}
.hp-soon{display:inline-flex; align-items:center; gap:8px; min-height:46px; padding:0 18px; border-radius:var(--radius-pill);
  background:var(--paper-3); color:var(--body); font-weight:600; font-size:15.5px}
.hp-soon .ic{width:18px; height:18px; color:#1B6139}

/* --------------------------------------------------------- from home */
/* Race cars under the red wash. */
.hp-home{position:relative; isolation:isolate; padding-block:clamp(64px,7vw,104px); color:rgba(255,255,255,.9);
  background-color:#5A0000;
  background-image:linear-gradient(90deg, rgba(120,0,0,.93) 0%, rgba(176,0,0,.86) 100%),
    url('/wp-content/uploads/2025/10/race-car-background.webp');
  background-size:cover; background-position:center 60%}
.hp-home .hp-head > p:not([class]){color:rgba(255,255,255,.9); font-size:19px}
.hp-script{font:400 clamp(40px,2.6vw + 24px,62px)/1.25 var(--font-script); color:#fff; text-shadow:0 2px 18px rgba(0,0,0,.25)}
.hp-home-grid{display:grid; grid-template-columns:1.1fr 1fr; gap:22px; align-items:stretch; max-width:1080px; margin-inline:auto}
.hp-give{display:flex; flex-direction:column; align-items:flex-start; gap:12px; padding:30px 32px 28px;
  background:var(--paper); color:var(--body); border-radius:18px; border-top:4px solid #DAB641;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.hp-give h3{margin-top:6px; font-size:28px}
.hp-give > p{font-size:17px}
.hp-amounts{list-style:none; margin:8px 0 6px; padding:0; width:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px}
.hp-amounts a{display:flex; align-items:center; justify-content:center; min-height:58px; border-radius:12px;
  border:2px solid #E9C9CD; background:#fff; color:var(--red-deep); font:700 21px/1 var(--font-alt);
  transition:border-color .15s ease, background-color .15s ease, transform .15s ease}
.hp-amounts a:hover{border-color:var(--red-deep); background:#FDF3F4; text-decoration:none; transform:translateY(-1px)}
.hp-amounts a.is-other{font-size:17px}
.hp-give .hp-more{margin-top:auto; padding-top:6px}
.hp-home-list{list-style:none; margin:0; padding:0; display:grid; gap:14px; align-content:stretch}
.hp-row{display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px; height:100%;
  padding:18px 20px; border-radius:16px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.26);
  color:#fff; transition:background-color .15s ease}
a.hp-row:hover{background:rgba(255,255,255,.18); text-decoration:none}
.hp-row-ic{display:grid; place-items:center; width:46px; height:46px; border-radius:13px; background:var(--gold); color:var(--ink)}
.hp-row-ic .ic{width:23px; height:23px}
.hp-row-text{display:flex; flex-direction:column; gap:3px}
.hp-row-text b{font:700 19px/1.25 var(--font-alt); color:#fff}
.hp-row-text span{font-size:15.5px; line-height:1.5; color:rgba(255,255,255,.86)}
.hp-row-go{width:20px; height:20px; color:var(--gold)}
.hp-row-tag{padding:6px 11px; border-radius:var(--radius-pill); background:rgba(255,255,255,.16);
  color:#fff; font:600 13px/1.2 var(--font-body); white-space:nowrap}

/* -------------------------------------------------------- where it goes */
.hp-logos{list-style:none; margin:0 auto; padding:0; max-width:1100px;
  display:flex; flex-wrap:wrap; justify-content:center; gap:14px}
.hp-logos li{flex:0 0 calc((100% - 4 * 14px) / 5); display:grid; place-items:center; height:108px; padding:14px 18px;
  background:#fff; border:1px solid var(--line); border-radius:14px}
.hp-logos img{max-width:100%; max-height:72px; width:auto; height:auto; object-fit:contain}

/* ------------------------------------------------------------ the record */
.hp-proof{position:relative; overflow:hidden; padding-block:clamp(64px,7vw,104px); color:rgba(255,255,255,.9);
  background-color:#0F4A19;
  background-image:linear-gradient(180deg, rgba(20,102,31,.80) 0%, rgba(9,52,18,.92) 100%),
    url('/wp-content/uploads/2025/10/christmas-background.webp');
  background-size:cover; background-position:center}
.hp-proof-in{display:grid; grid-template-columns:1fr 1.08fr; gap:clamp(32px,4.5vw,64px); align-items:center}
.hp-proof-copy{display:flex; flex-direction:column; align-items:flex-start; gap:16px}
.hp-proof h2{color:#fff; line-height:1.12}
.hp-proof-copy > p:not([class]){font-size:18px; line-height:1.6; text-wrap:pretty}
/* A scoreboard: one bar per total, the number in a fixed column so the
   count-up never pushes the label around. */
.hp-totals{list-style:none; margin:8px 0 12px; padding:0; width:100%; display:grid; gap:10px}
.hp-totals li{display:flex; align-items:baseline; gap:16px;
  padding:14px 20px; border-radius:16px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22)}
.hp-totals .stat-num{flex:none; min-width:5.2em; font:700 clamp(26px,1vw + 18px,34px)/1.1 var(--font-alt); color:var(--gold);
  font-variant-numeric:tabular-nums; white-space:nowrap}
.hp-totals .stat-label{font:400 17px/1.3 "Roboto Slab",Georgia,serif; color:rgba(255,255,255,.92)}
.hp-years{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px}
.hp-years li:first-child{grid-column:1 / -1}
.hp-years a{position:relative; display:block; aspect-ratio:4/3; overflow:hidden; border-radius:14px;
  background:#0A2810; box-shadow:0 18px 40px -22px rgba(0,0,0,.65)}
.hp-years li:first-child a{aspect-ratio:16/8}
.hp-years img{width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out)}
.hp-years a:hover img{transform:scale(1.04)}
.hp-year-tag{position:absolute; left:10px; bottom:10px; padding:6px 11px; border-radius:var(--radius-pill);
  background:#fff; color:var(--ink); font:700 14px/1.2 var(--font-alt); box-shadow:0 4px 12px rgba(0,0,0,.25)}
.hp-years li:first-child .hp-year-tag{left:14px; bottom:14px; padding:8px 14px; font-size:15px}

/* -------------------------------------------------------------- sponsors */
.hp-sponsors-in{display:grid; grid-template-columns:minmax(300px,1fr) 2.4fr; gap:clamp(24px,3vw,44px); align-items:start}
.hp-become{display:flex; flex-direction:column; align-items:flex-start; gap:10px; width:100%; padding:24px 24px 26px;
  background:var(--paper); border-radius:15px; border-top:4px solid #B81C35; box-shadow:var(--shadow-2)}
.hp-become .btn{margin-top:4px}
.hp-become .hp-more{font-size:15.5px}
.hp-become > p{font-size:16px; line-height:1.55}
.hp-levels{list-style:none; margin:4px 0 8px; padding:0; width:100%; display:grid; gap:8px}
.hp-levels li{display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:10px; background:var(--paper-2); font-size:15.5px}
.hp-levels i{width:12px; height:12px; flex:none; border-radius:50%; background:var(--c)}
.hp-levels b{min-width:3.4em; font-family:var(--font-alt); color:var(--ink)}
.hp-wall{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px}
.hp-wall li{display:grid; place-items:center; height:96px; padding:14px 18px; background:#fff;
  border:1px solid var(--line); border-radius:12px}
.hp-wall li.is-dark{background:var(--tile); border-color:transparent}
.hp-wall img{max-width:100%; max-height:58px; width:auto; height:auto; object-fit:contain}
.hp-sponsor-side .hp-links{justify-content:flex-end; margin-top:18px}

/* ------------------------------------------------------------ lend a hand */
.hp-crew{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px}
.hp-contact{display:flex; flex-direction:column; gap:2px; font-weight:600}

/* ----------------------------------------------------------- responsive */
@media (max-width:1100px){
  .hp-days{grid-template-columns:1fr 1fr}
  .hp-track{grid-column:1 / -1; min-height:0; aspect-ratio:21/9}
  .hp-ticket-card{grid-template-columns:1fr}
  .hp-sponsors-in{grid-template-columns:1fr}
  .hp-wall{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:900px){
  .hp-ticket{margin-top:-44px}
  .hp-ticket-card{padding:26px 22px 20px}
  .hp-steps{grid-template-columns:1fr; gap:18px}
  .hp-days{grid-template-columns:1fr}
  .hp-extras{grid-template-columns:1fr; max-width:560px; margin-inline:auto}
  .hp-home-grid{grid-template-columns:1fr}
  .hp-proof-in{grid-template-columns:1fr}
  .hp-crew{grid-template-columns:1fr; max-width:560px; margin-inline:auto}
  .hp-logos li{flex-basis:calc((100% - 2 * 14px) / 3)}
  .hp-wall{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hp-where{flex-direction:column; align-items:flex-start}
}
@media (max-width:620px){
  .hp-hero-btns .btn{flex:1 1 100%}
  .hp-head > p:not([class]){font-size:17px}
  .hp-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-give{padding:24px 20px 22px}
  .hp-row{grid-template-columns:auto 1fr; padding:16px; gap:8px 13px}
  .hp-row-go{display:none}
  .hp-row-tag{grid-column:2; justify-self:start}
  .hp-totals li{gap:12px; padding:12px 16px}
  .hp-totals .stat-label{font-size:16px}
  .hp-years{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hp-years li:first-child a{aspect-ratio:16/10}
  .hp-years li:nth-child(4){display:none}
  .hp-logos li{flex-basis:calc((100% - 14px) / 2); height:96px}
  .hp-wall{grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
  .hp-wall li{height:70px; padding:10px 10px; border-radius:10px}
  .hp-wall img{max-height:44px}
  .hp-track{aspect-ratio:4/3}
  .hp-times li{grid-template-columns:6.6em 1fr}
  .hp-rule{font-size:22px; white-space:normal}
  .hp-day h3{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  .hp-years img,.hp-amounts a{transition:none}
  .hp-years a:hover img{transform:none}
}
