/* Livora Fun Run 2026 — public site styles. Visual reference: /mockup. */

:root {
  --green: #1B704F;
  --forest: #0B2E1F;
  --lime: #C6F052;
  --paper: #F3F7F2;
  --white: #FFFFFF;
  --ink-muted: #46604F;
  --green-muted: #CFE8DA;
  --green-soft: #E3F2E8;
  --line: #D7E5DC;
  --field: #BCD3C4;
  --tint: #E1F2E7;
  --tint-2: #EDF6F0;
  --lime-soft: #F2FAD9;
  --dash: #8FC6A5;
  --error: #B42318;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--forest); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ul, ol, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
img { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.display { font-style: italic; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.01em; line-height: .95; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--green); }
.opt { font-weight: 500; color: var(--ink-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border: 0; border-radius: 12px; font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: translate .12s ease, box-shadow .12s ease, background-color .2s ease; }
.btn svg { flex: none; }
.btn-lime { background: var(--lime); color: var(--forest); box-shadow: 0 4px 0 var(--forest); }
.btn-lime:hover { color: var(--forest); translate: 0 -2px; box-shadow: 0 6px 0 var(--forest); }
.btn-lime:active { translate: 0 3px; box-shadow: 0 1px 0 var(--forest); }
.btn-dark { background: var(--forest); color: var(--white); box-shadow: 0 4px 0 var(--green); }
.btn-dark:hover { color: var(--white); translate: 0 -2px; box-shadow: 0 6px 0 var(--green); }
.btn-dark:active { translate: 0 3px; box-shadow: 0 1px 0 var(--green); }
.btn[disabled], .btn[disabled]:hover { background: #DDE6E0; color: #55695C; box-shadow: none; translate: none; cursor: not-allowed; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; border-radius: 10px; box-shadow: 0 3px 0 var(--forest); }
.btn-lg { height: 58px; padding: 0 28px; font-size: 17px; }
.link-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; font: 700 15px var(--sans); color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--forest); }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; }
.icon-btn:hover { background: rgba(255, 255, 255, .22); color: var(--white); }

/* Wordmark */
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.wordmark:hover { color: var(--white); }
.wordmark b { font-weight: 600; font-size: 21px; letter-spacing: .18em; }
.wordmark span { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--lime); }

/* Brand-green band with the emerald glow from Livora's posters and cliff contour lines */
.band { position: relative; background: radial-gradient(60% 55% at 80% 28%, rgba(12, 180, 102, .5), rgba(12, 180, 102, 0) 70%), var(--green); color: var(--white); overflow: hidden; }
.band > .lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.band > .container { position: relative; }
.stripes { display: inline-block; width: 40px; height: 12px; background: repeating-linear-gradient(115deg, var(--lime) 0 6px, transparent 6px 11px); }

/* ---------- Landing ---------- */
.site-nav { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.site-nav__right { display: flex; align-items: center; gap: 28px; }
.site-nav__links { display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
.site-nav__links a { color: var(--white); text-decoration: none; }
.site-nav__links a:hover { color: var(--lime); }
@media (max-width: 800px) { .site-nav__links { display: none; } }

.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 48px 0 104px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--lime); }
.hero h1 { font-size: clamp(50px, 7vw, 104px); line-height: .92; }
.hero h1 span { display: block; }
.hero__lead { font-size: 19px; line-height: 1.5; color: var(--green-soft); max-width: 520px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 32px; max-width: 600px; }
.facts > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .28); }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--green-muted); }
.facts dd { font-size: 17px; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero__cta .text-link { color: var(--white); font-weight: 600; font-size: 16px; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .hero { padding: 24px 0 72px; gap: 36px; }
  .hero__lead { font-size: 17px; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .text-link { text-align: center; padding: 10px 0; }
  .hero__cta .status-stamp { align-self: center; }
}

/* ---------- Hero photo wall ---------- */
/* Full-bleed race photo behind the hero, tinted with the brand greens so the copy stays readable. */
.hero-band { isolation: isolate; }
.hero-band__photo { position: absolute; inset: 0; z-index: -1; }
.hero-band__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-band__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 46, 31, .95) 0%, rgba(11, 46, 31, .86) 36%, rgba(27, 112, 79, .7) 64%, rgba(27, 112, 79, .5) 100%); }
.hero-band > .lines { opacity: .45; }

/* Three tilted columns of race photos scrolling in alternate directions. */
.hero__wall { position: relative; flex: 1 1 420px; min-width: 0; height: 640px; perspective: 1600px; }
.wall { position: absolute; inset: -40px -80px -220px -10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; transform: rotateX(16deg) rotateY(-12deg) rotateZ(9deg); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 78%, transparent 100%); }
.wall__col { display: flex; flex-direction: column; animation: wall-up 52s linear infinite; }
.wall__col--down { animation-name: wall-down; animation-duration: 60s; }
.wall__col--slow { animation-duration: 70s; }
.hero__wall:hover .wall__col { animation-play-state: paused; }
/* Spacing is a bottom margin (not gap) so the repeated set loops seamlessly at -50%. */
.wall__card { position: relative; flex: none; margin: 0 0 18px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 3px solid var(--white); background: var(--forest); box-shadow: 0 22px 40px rgba(4, 30, 18, .45); }
.wall__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wall__card figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: var(--lime); color: var(--forest); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }

/* A race bib printed as one of the wall cards, so it scrolls with the photos. */
.wall__card--bib { background: var(--white); }
.wall-bib { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--forest); }
.wall-bib__top { display: flex; justify-content: space-between; padding: 12px 14px; background: var(--lime); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.wall-bib__big { flex: 1; display: flex; align-items: center; justify-content: center; font-size: clamp(56px, 6.4vw, 96px); line-height: .8; letter-spacing: -.03em; color: var(--green); }
.wall-bib__meta { padding: 0 14px 12px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-align: center; color: var(--ink-muted); }
.wall-bib__perf { margin: 0 12px; border-top: 2px dashed rgba(11, 46, 31, .25); }
.wall-bib__stub { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 14px; }
.wall-bib__stub small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; color: var(--ink-muted); }
.wall-bib__stub strong { font-size: 14px; font-weight: 800; }
.wall-bib .barcode { width: 64px; height: 24px; }
.wall-bib .hole { width: 9px; height: 9px; background: var(--paper); }
.wall-bib .hole--tl, .wall-bib .hole--tr { top: 48px; }
.wall-bib .hole--tl { left: 10px; }
.wall-bib .hole--tr { right: 10px; }

/* Highlights ticker under the hero. */
.hero-ticker { overflow: hidden; background: var(--lime); color: var(--forest); }
.hero-ticker__run { display: flex; width: max-content; animation: lv-tape 36s linear infinite; }
.hero-ticker__run span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 0 14px 22px; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 18px; text-transform: uppercase; white-space: nowrap; }
.hero-ticker__run span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@keyframes wall-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wall-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 900px) {
  .hero-band__photo::after { background: linear-gradient(180deg, rgba(11, 46, 31, .9) 0%, rgba(11, 46, 31, .82) 55%, rgba(27, 112, 79, .7) 100%); }
  /* Two full-width rows of photos moving in opposite directions. */
  /* Photos lead on phones: the rows sit above the headline. */
  .hero__wall { order: -1; flex-basis: 100%; height: auto; width: 100vw; margin-inline: calc(50% - 50vw); perspective: none; }
  .wall { position: relative; inset: auto; display: flex; flex-direction: column; gap: 12px; transform: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
  .wall__col { flex-direction: row; width: max-content; animation-name: wall-left; animation-duration: 46s; }
  .wall__col--down { animation-name: wall-right; animation-duration: 52s; }
  .wall__col--slow { display: none; }
  .wall__card { width: 138px; margin: 0 12px 0 0; border-radius: 14px; }
  .wall__card figcaption { left: 7px; bottom: 7px; padding: 3px 6px; font-size: 9px; letter-spacing: .04em; }
  /* The bib card is small on phones: keep the name, the 3K and the fee. */
  .wall-bib__top { padding: 9px 10px; font-size: 8px; }
  .wall-bib__top span + span { display: none; }
  .wall-bib__big { font-size: 54px; }
  .wall-bib__meta { padding: 0 8px 8px; font-size: 8px; }
  .wall-bib__perf { margin: 0 8px; }
  .wall-bib__stub { padding: 8px 10px 10px; }
  .wall-bib__stub strong { font-size: 12px; }
  .wall-bib .barcode { display: none; }
  .wall-bib .hole--tl, .wall-bib .hole--tr { top: 34px; width: 7px; height: 7px; }
}

/* Race bib (hero art) */
.bib { position: relative; width: 440px; max-width: 100%; transform: rotate(-5deg); filter: drop-shadow(0 28px 36px rgba(4, 30, 18, .45)); }
.bib__card { position: relative; background: var(--white); border-radius: 18px; color: var(--forest); overflow: hidden; }
.bib__top { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px; background: var(--lime); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; }
.bib__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 26px 24px; }
.bib__big { display: inline-block; font-size: 150px; line-height: .78; letter-spacing: -.03em; color: var(--green); }
.bib__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-align: right; }
.bib__perf { position: relative; height: 0; margin: 0 22px; border-top: 2px dashed rgba(11, 46, 31, .28); }
.bib__perf::before, .bib__perf::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); }
.bib__perf::before { left: -36px; }
.bib__perf::after { right: -36px; }
.bib__stub { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px 22px; }
.bib__stub small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--ink-muted); }
.bib__stub strong { font-size: 20px; font-weight: 800; }
.barcode { width: 120px; height: 34px; background: repeating-linear-gradient(90deg, var(--forest) 0 2px, transparent 2px 5px, var(--forest) 5px 6px, transparent 6px 9px, var(--forest) 9px 12px, transparent 12px 14px); }
.hole { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--green); }
.hole--tl { left: 12px; top: 64px; } .hole--tr { right: 12px; top: 64px; }
.hole--bl { left: 12px; bottom: 12px; } .hole--br { right: 12px; bottom: 12px; }
.pin { position: absolute; top: 46px; width: 96px; height: 28px; }
.pin--l { left: -8px; transform: rotate(-24deg); }
.pin--r { right: -10px; transform: rotate(18deg) scaleX(-1); }
@media (max-width: 640px) {
  .bib { width: 310px; }
  .bib__top { padding: 12px 20px; font-size: 11px; }
  .bib__body { padding: 16px 20px 18px; }
  .bib__big { font-size: 104px; }
  .bib__meta { font-size: 10px; }
  .bib__perf { margin: 0 16px; }
  .bib__perf::before { left: -28px; width: 24px; height: 24px; top: -13px; }
  .bib__perf::after { right: -28px; width: 24px; height: 24px; top: -13px; }
  .bib__stub { padding: 14px 20px 18px; }
  .bib__stub strong { font-size: 17px; }
  .barcode { width: 90px; height: 28px; }
  .hole--tl, .hole--tr { top: 50px; }
  .pin { top: 34px; width: 76px; height: 22px; }
}

/* Course (how to register) */
.section { padding-top: 96px; padding-bottom: 40px; }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.course { position: relative; }
.course ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.course li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 30px; border-top: 3px dashed var(--green); }
.course .dot { position: absolute; left: 0; top: -12px; width: 21px; height: 21px; border-radius: 50%; background: var(--green); border: 3px solid var(--paper); }
.course .dot--finish { top: -14px; width: 25px; height: 25px; background: var(--lime); border-color: var(--forest); }
.course .km { font-family: var(--mono); font-size: 13px; color: var(--green); }
.course h3 { font-size: 20px; font-weight: 800; }
.course p { font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.runner { position: absolute; z-index: 1; top: -8.5px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); border: 3px solid var(--forest); animation: lv-run 5.5s cubic-bezier(.45, .05, .55, .95) 1s infinite; }
@media (max-width: 860px) {
  .course ol { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .course li { border-top: 0; border-left: 3px dashed var(--green); padding: 0 0 30px 26px; }
  .course li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .course .dot { left: -12px; top: 0; }
  .course .dot--finish { left: -14px; top: -2px; }
  .runner { left: -4.5px; animation-name: lv-run-v; animation-duration: 5s; }
}
@media (max-width: 640px) { .section { padding-top: 64px; padding-bottom: 24px; } .section__head { margin-bottom: 36px; } }

/* Kit and venue cards */
.cards { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 40px; padding-bottom: 96px; }
.card { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); transition: translate .25s var(--ease), box-shadow .25s ease; }
.card:hover { translate: 0 -6px; box-shadow: 0 22px 44px rgba(11, 46, 31, .14); }
.card h2 { font-size: 34px; line-height: 1; }
.card p.body { font-size: 15px; line-height: 1.55; color: var(--ink-muted); }
.icon-tile { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: var(--tint); color: var(--green); }
.card:hover .swing { animation: lv-swing .7s ease; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes li { display: flex; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--field); font-weight: 700; }
.placeholder { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 16px; border-radius: 14px; border: 2px dashed var(--dash); background: var(--tint-2); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--green); text-align: center; }
@media (max-width: 640px) { .cards { padding-top: 24px; padding-bottom: 64px; gap: 16px; } .card { padding: 24px; } .card h2 { font-size: 28px; } }

.cta-band { position: relative; background: var(--green); color: var(--white); overflow: hidden; }
.cta-band .stripes { position: absolute; left: 0; right: 0; top: 0; width: auto; height: 10px; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1; }
@media (max-width: 640px) {
  .cta-band .container { flex-direction: column; align-items: stretch; padding-top: 48px; padding-bottom: 44px; }
  .cta-band .status-stamp { align-self: center; }
}

.site-footer { background: var(--forest); color: var(--green-muted); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; padding-top: 28px; padding-bottom: 32px; }

/* ---------- Registration ---------- */
.reg-head .container { padding-bottom: 32px; }
.reg-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.reg-top__count { min-width: 44px; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--lime); }
@media (max-width: 640px) { .reg-top .wordmark span { display: none; } }

.progress ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 18px; }
.progress li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 24px; border-top: 3px dashed rgba(255, 255, 255, .45); transition: border-color .3s ease; }
.progress li .dot { position: absolute; left: 0; top: -11px; width: 19px; height: 19px; border-radius: 50%; background: var(--green); border: 3px solid var(--white); transition: background-color .3s ease, border-color .3s ease; }
.progress li .km { font-family: var(--mono); font-size: 12px; color: var(--green-muted); }
.progress li .name { font-weight: 600; font-size: 15px; color: var(--green-soft); }
.progress li.is-done, .progress li.is-current { border-top-style: solid; border-top-color: var(--lime); }
.progress li.is-done .dot { background: var(--lime); border-color: var(--forest); }
.progress li.is-current .dot { left: -2px; top: -13px; width: 23px; height: 23px; background: var(--lime); border-color: var(--forest); animation: lv-pulse 1.8s ease-out infinite; }
.progress li.is-current .km { color: var(--lime); }
.progress li.is-current .name { color: var(--white); font-weight: 800; }
@media (max-width: 700px) {
  .progress li { padding-top: 0; min-height: 12px; }
  .progress li .km, .progress li .name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.reg-title { display: flex; flex-direction: column; gap: 8px; padding-top: 28px; }
.reg-title .eyebrow { color: var(--lime); font-size: 12px; }
.reg-title h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1; }
.reg-title p { font-size: 16px; line-height: 1.45; color: var(--green-soft); }

/* overflow-x: clip, so a step sliding in (lv-step) never makes a phone page scroll sideways; clip keeps the aside sticky. */
.reg-main { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-top: 40px; padding-bottom: 80px; overflow-x: clip; }
.reg-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.reg-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.reg-aside p { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
@media (max-width: 900px) {
  .reg-main { flex-direction: column; align-items: stretch; padding-top: 28px; }
  .reg-form, .reg-aside { flex: none; width: 100%; }
  .reg-aside { order: -1; position: static; }
  body:not([data-step="1"]) .reg-aside { display: none; }
}
@media (max-width: 640px) {
  .reg-form { padding: 0; background: transparent; border: 0; border-radius: 0; }
  .reg-main { padding-bottom: 48px; }
}

/* Without JavaScript every step is shown, stacked; with it, one step at a time. */
.step { display: flex; flex-direction: column; gap: 24px; }
.step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px dashed var(--line); }
.step__heading { font-size: 22px; font-weight: 800; }
.js .step { display: none; }
.js .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
.js .step.is-active { display: flex; animation: lv-step .45s var(--ease) both; }
.js .step__heading { display: none; }
.no-js .summary { display: none; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label, .field > .label, .group-label { font-size: 15px; font-weight: 700; }
.group-label { margin-bottom: 10px; }
/* Required fields: a red asterisk after the label. Screen readers get "required" from the input instead. */
.req { margin-left: 3px; color: var(--error); font-weight: 800; }
.req-note { font-size: 13px; color: var(--ink-muted); }
.req-note .req { margin: 0 4px 0 0; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--white); font: 500 16px var(--sans); color: var(--forest); color-scheme: light; }
textarea.input { height: auto; padding: 14px 16px; line-height: 1.45; resize: vertical; }
select.input { padding: 0 14px; }
.input::placeholder, .input-group input::placeholder { color: #61786A; }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(27, 112, 79, .18); }
.input-group { display: flex; align-items: center; height: 52px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--white); overflow: hidden; }
.input-group:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(27, 112, 79, .18); }
.input-group select { align-self: stretch; width: 92px; border: 0; border-right: 1.5px solid #DCE8E0; padding: 0 10px; background: #F5F9F6; font: 600 16px var(--sans); color: var(--forest); }
.input-group input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0 14px; font: 500 16px var(--sans); color: var(--forest); background: var(--white); }
.input-group select:focus, .input-group input:focus { outline: none; }
.input-group .prefix { padding-left: 14px; font-weight: 700; color: var(--ink-muted); }
.input-group .prefix + input { padding-left: 4px; }
.hint { font-size: 13px; line-height: 1.45; color: var(--ink-muted); }
.hint--ok { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); }
.error-msg { font-size: 13px; font-weight: 600; color: var(--error); }

/* Searchable dropdown (select-search.js): a button and a panel with a search box and the list. */
.ss-host { position: relative; }
.ss__native { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.ss__button { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer; }
.ss__button.input:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(27, 112, 79, .18); }
.ss__button.is-placeholder .ss__value { color: #61786A; }
.ss__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss__chevron { flex: none; color: var(--ink-muted); transition: transform .2s var(--ease); }
.ss__button[aria-expanded="true"] .ss__chevron { transform: rotate(180deg); }
.ss__button--compact { align-self: stretch; flex: none; width: 92px; padding: 0 8px 0 12px; border: 0; border-right: 1.5px solid #DCE8E0; background: #F5F9F6; font: 600 16px var(--sans); color: var(--forest); }
.ss__button--compact:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--green); }
.field.has-error .ss__button.input { border-color: var(--error); }
.ss__panel { position: absolute; left: 0; right: 0; z-index: 30; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--field); box-shadow: 0 18px 40px rgba(11, 46, 31, .18); }
.ss__panel[hidden] { display: none; }
.ss__search { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--field); background: #F5F9F6; font: 500 16px var(--sans); color: var(--forest); }
.ss__search::placeholder { color: #61786A; }
.ss__search:focus { outline: none; border-color: var(--green); background: var(--white); }
.ss__list { max-height: 264px; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.ss__option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 8px; font-weight: 500; cursor: pointer; }
.ss__option[hidden] { display: none; }
.ss__option:hover, .ss__option.is-active { background: #EEF6F1; }
.ss__option[aria-selected="true"] { font-weight: 800; color: var(--green); }
.ss__option[aria-selected="true"]::after { content: "\2713"; margin-left: auto; }
.ss__option--none { color: #61786A; }
.ss__hint { color: var(--ink-muted); font-weight: 500; }
.ss__empty { padding: 10px 12px; font-size: 14px; color: var(--ink-muted); }
.field.has-error .input, .field.has-error .input-group, .has-error .chips .chip, .has-error .choice { border-color: var(--error); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px 24px; }
.grid-2--tight { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--field); background: var(--white); color: var(--forest); font: 700 15px var(--sans); cursor: pointer; transition: scale .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { border-color: var(--forest); }
.chip:active { scale: .96; }
.chip:has(input:checked) { background: var(--forest); border-color: var(--forest); color: var(--white); }
.chip input, .choice input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible), .choice:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.chip--pill { height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; }
.size-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 440px; }
.size-grid .chip { height: 60px; padding: 0; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 18px; }
.size-grid .chip:has(input:checked) { color: var(--lime); }

.choice { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--field); background: var(--white); color: var(--forest); text-align: left; font-family: var(--sans); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, scale .15s ease; }
.choice:active { scale: .98; }
.choice + .choice { margin-top: 10px; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--lime-soft); }
.choice .radio { display: flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--forest); background: var(--white); }
.choice .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: transparent; transition: background-color .2s ease; }
.choice:has(input:checked) .radio::after { background: var(--green); }
.choice b { display: block; font-size: 16px; font-weight: 800; }
.choice small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); }

.panel { display: flex; flex-direction: column; gap: 20px; padding: 22px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.panel--dashed { border: 1.5px dashed var(--dash); animation: lv-open .35s var(--ease) both; }
.panel__head { display: flex; align-items: flex-start; gap: 12px; }
.panel__head h2 { font-size: 19px; font-weight: 800; }
.panel__head p { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.tile { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 12px; }
.tile--lime { background: #EAF6C8; color: var(--forest); }
.tile--green { background: var(--green); color: var(--white); }
.tag-new { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--lime); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; color: var(--forest); vertical-align: middle; }
.inline-label { display: flex; align-items: center; gap: 8px; }
.info-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--tint); }
.info-row small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--green); }
.info-row b { font-size: 15px; }
.notice { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--lime-soft); font-size: 14px; line-height: 1.45; }
.notice svg { flex: none; margin-top: 1px; }

/* Live bib (form) */
.live-bib { position: relative; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(11, 46, 31, .16); animation: lv-rise .7s var(--ease) .3s both, lv-float-sm 6s ease-in-out 1.2s infinite; }
.live-bib__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 22px; background: var(--lime); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.live-bib__name { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 16px 22px; overflow: hidden; }
.live-bib__name span { font-style: italic; font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -.01em; white-space: nowrap; color: var(--forest); font-size: 80px; }
.live-bib__name span.is-empty { color: #7E9888; }
.live-bib__name span.len-m { font-size: 60px; }
.live-bib__name span.len-l { font-size: 44px; }
.live-bib__name span.len-xl { font-size: 36px; }
.live-bib__name span.bump { animation: lv-bump .25s ease; }
.live-bib__perf { margin: 0 18px; border-top: 2px dashed rgba(11, 46, 31, .25); }
.live-bib__foot { display: flex; justify-content: space-between; padding: 12px 22px 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.live-bib .hole { width: 10px; height: 10px; background: var(--paper); border: 1px solid var(--line); }
.live-bib .hole--tl, .live-bib .hole--tr { top: 52px; }
@media (max-width: 640px) {
  .live-bib__name { min-height: 112px; }
  .live-bib__name span { font-size: 70px; }
  .live-bib__name span.len-m { font-size: 50px; }
  .live-bib__name span.len-l { font-size: 36px; }
  .live-bib__name span.len-xl { font-size: 29px; }
}

/* Tee preview */
.tee-card { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.tee-card__art { position: relative; display: flex; align-items: center; justify-content: center; flex: none; width: 96px; height: 96px; border-radius: 16px; background: var(--green); }
.tee-card__art svg { transform-origin: 50% 8%; animation: lv-sway 4s ease-in-out infinite; }
.tee-card__art span { position: absolute; top: 44px; left: 0; right: 0; text-align: center; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 18px; color: var(--green); }
.tee-card small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--green); }
.tee-card b { display: block; margin: 4px 0; font-size: 20px; font-weight: 800; }
.tee-card p { font-size: 14px; color: var(--ink-muted); }

/* Payment */
.amount { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 22px 20px; border-radius: 18px; background: var(--forest); color: var(--white); }
.amount small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--green-muted); }
.amount strong { display: inline-block; margin: 6px 0; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 38px; line-height: 1; color: var(--lime); animation: lv-count .7s var(--ease) .3s both; }
.amount p { font-size: 13px; color: var(--green-muted); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; border-radius: 10px; font: 700 14px var(--sans); cursor: pointer; transition: scale .12s ease, background-color .2s ease, color .2s ease; }
.copy-btn:active { scale: .95; }
.copy-btn--light { background: rgba(255, 255, 255, .14); color: var(--white); }
.copy-btn--dark { background: var(--forest); color: var(--white); }
.copy-btn.is-copied { background: var(--lime); color: var(--forest); }
.bank-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bank-head h2 { font-size: 17px; font-weight: 800; }
.bank-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--tint); font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--green); }
.acct { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 12px; background: var(--paper); }
.acct dt, .acct-name dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-muted); }
.acct dd { margin-top: 4px; font-family: var(--mono); font-size: 22px; font-weight: 500; letter-spacing: .04em; }
.acct-name dd { margin-top: 4px; font-size: 16px; font-weight: 700; }
.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 170px; padding: 20px; border-radius: 16px; border: 2px dashed var(--dash); background: var(--tint-2); text-align: center; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.dropzone:hover, .dropzone.is-over { background: var(--tint); border-color: var(--green); }
.dropzone:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(27, 112, 79, .18); }
.dropzone .tile { width: 52px; height: 52px; border-radius: 14px; animation: lv-bob 2.2s ease-in-out infinite; }
.dropzone b { font-size: 16px; font-weight: 800; }
.dropzone .hint { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.has-error .dropzone { border-color: var(--error); }

/* Review */
.summary { border-radius: 18px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.summary__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--forest); color: var(--white); }
.summary__head small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--lime); }
.summary__head b { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 30px; line-height: 1; }
.summary__head span { font-family: var(--mono); font-size: 12px; color: var(--green-muted); }
.summary dl > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #E8F0EB; }
.summary dl > div:last-child { border-bottom: 0; }
.summary dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-muted); }
.summary dd { margin-top: 3px; font-size: 15px; font-weight: 600; line-height: 1.45; white-space: pre-line; }
.summary .link-btn { margin-top: -10px; font-size: 14px; }
.consent { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; background: var(--white); border: 1.5px solid var(--field); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.consent + .consent { margin-top: 12px; }
.consent:has(input:checked) { border-color: var(--green); background: #F4FAF6; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.consent b { display: block; font-size: 15px; font-weight: 800; }
.consent > span > span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

.reg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 20px; border-top: 1px solid #E1ECE5; }
.reg-actions .btn { min-width: 240px; }
.reg-actions .btn.is-ready { animation: lv-ready .45s ease; }
.reg-actions__hint { flex-basis: 100%; text-align: right; font-size: 13px; color: var(--ink-muted); }
@media (max-width: 640px) {
  .reg-actions { flex-direction: column-reverse; align-items: stretch; border-top: 0; padding-top: 4px; }
  .reg-actions .btn { width: 100%; min-width: 0; }
  .reg-actions__hint { text-align: center; }
}

/* Done */
.done { min-height: 100vh; }
.done > .container { max-width: 620px; padding-bottom: 56px; }
.tape { position: relative; height: 42px; margin: 18px -40px 0; background: var(--lime); color: var(--forest); overflow: hidden; display: flex; align-items: center; transform: rotate(-3deg); box-shadow: 0 8px 18px rgba(4, 30, 18, .3); animation: lv-snap .7s var(--ease) .1s both; }
.tape__run { display: flex; gap: 22px; white-space: nowrap; font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 18px; animation: lv-tape 9s linear infinite; }
.done__copy { display: flex; flex-direction: column; gap: 12px; padding-top: 40px; }
.done__copy .eyebrow { color: var(--lime); font-size: 12px; }
.done__copy h1 { font-size: clamp(28px, 8.6vw, 56px); line-height: .95; }
.done__copy p { font-size: 16px; line-height: 1.5; color: var(--green-soft); }
.done__bib { display: flex; justify-content: center; padding: 32px 0 28px; }
.done__bib .live-bib { width: 300px; transform: rotate(3deg); animation: lv-pin-in .9s var(--ease) .5s both; border: 0; box-shadow: 0 20px 36px rgba(4, 30, 18, .4); }
.done__bib .live-bib .hole { background: var(--green); border: 0; }
/* The done bib is narrower than the form preview, so names step down one size. */
.done__bib .live-bib__name span { font-size: 64px; }
.done__bib .live-bib__name span.len-m { font-size: 46px; }
.done__bib .live-bib__name span.len-l { font-size: 36px; }
.done__bib .live-bib__name span.len-xl { font-size: 29px; }
.status { padding: 20px; border-radius: 18px; background: var(--white); color: var(--forest); animation: lv-rise .6s var(--ease) .9s both; }
.status h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--green); margin-bottom: 16px; }
.status li { position: relative; display: flex; gap: 14px; padding-bottom: 18px; }
.status li:last-child { padding-bottom: 0; }
.status li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; border-left: 2px dashed var(--dash); }
.status li:first-child::before { border-left-style: solid; border-left-color: var(--green); }
.status li:last-child::before { display: none; }
.status .st { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; }
.status .st--done { background: var(--green); color: var(--white); }
.status .st--done path { stroke-dasharray: 24; animation: lv-check .5s ease 1.2s both; }
.status .st--now { width: 22px; height: 22px; margin: 0 3px; background: var(--lime); border: 3px solid var(--forest); animation: lv-pulse 1.6s ease-out infinite; }
.status .st--next { width: 22px; height: 22px; margin: 0 3px; background: var(--white); border: 3px solid var(--dash); }
.status b { display: block; font-size: 15px; font-weight: 800; }
.status small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-muted); }
.done__actions { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; animation: lv-rise .6s var(--ease) 1.05s both; }
.done__actions .link-btn { color: var(--white); }
.done__actions .link-btn:hover { color: var(--lime); }
.done__foot { margin-top: 18px; font-size: 13px; text-align: center; color: var(--green-muted); }

/* ---------- Server-rendered form extras ---------- */
.error-summary { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 14px; border: 2px solid var(--error); background: #FDF2F1; color: var(--forest); }
.error-summary:focus { outline: 3px solid var(--lime); outline-offset: 3px; }
.draft-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--lime-soft); color: var(--forest); font-size: 14px; }
.draft-note[hidden] { display: none; }
.draft-note .link-btn { font-weight: 700; }
.draft-hint { flex-basis: 100%; font-size: 12px; color: var(--ink-muted); text-align: right; }
.no-js .draft-hint { display: none; } /* answers are only saved with JavaScript on */
@media (max-width: 640px) { .draft-hint { text-align: center; } }
.error-summary h2 { font-size: 16px; font-weight: 800; color: var(--error); }
.error-summary ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.error-summary a { color: var(--error); font-weight: 600; text-underline-offset: 3px; }
.panel--tight { gap: 16px; }
.acct-list { display: flex; flex-direction: column; gap: 14px; }
.eyebrow--sm { font-size: 11px; }
.link-inherit { color: inherit; }
.is-muted { color: var(--ink-muted); }
/* Shown instead of the register button when registration is full or closed.
   It is a status, not a control, so it looks like a ticket stamp, not a button. */
.status-stamp { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; padding: 10px 20px 12px; border-radius: 12px; background: var(--white); color: var(--forest); outline: 2px dashed var(--green); outline-offset: -6px; box-shadow: 0 10px 24px rgba(4, 30, 18, .25); transform: rotate(-3deg); text-transform: uppercase; }
.status-stamp b { font-style: italic; font-weight: 900; font-stretch: 125%; font-size: 26px; line-height: 1; }
.status-stamp small { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--ink-muted); }
.spots-left { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--lime); }
.done__code { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--green-muted); }
.done__code b { color: var(--lime); font-weight: 500; }
.done__copy .done__sent { font-size: 14px; color: var(--green-muted); }
.done__sent b { color: var(--white); font-weight: 600; }
.done__message { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .1); border-left: 4px solid var(--lime); }
.done__message b { font-size: 13px; letter-spacing: .04em; color: var(--lime); }
.done__copy .done__message p { color: var(--white); white-space: pre-line; }
.status .st--rejected { background: var(--error); color: var(--white); }

/* ---------- Status pages (errors, closed registration) ---------- */
.status-page { min-height: 100vh; display: flex; align-items: center; }
.status-page__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 72px; padding-bottom: 72px; }
.status-page .eyebrow { color: var(--lime); }
.status-page h1 { font-size: clamp(28px, 8.6vw, 80px); line-height: .95; max-width: 900px; }
.status-page__lead { font-size: 18px; line-height: 1.5; color: var(--green-soft); max-width: 560px; }
.status-page__ref { font-family: var(--mono); font-size: 12px; color: var(--green-muted); }
.status-page .wordmark { margin-bottom: 24px; }
.find-form { display: flex; flex-direction: column; gap: 18px; width: min(460px, 100%); padding: 24px; border-radius: 18px; background: var(--white); color: var(--forest); box-shadow: 0 24px 60px rgba(4, 30, 18, .35); }
.find-form .btn { width: 100%; }

/* ---------- Motion ---------- */
@keyframes lv-dash-in { from { opacity: 0; transform: translateX(-56px) skewX(-14deg); } to { opacity: 1; transform: none; } }
@keyframes lv-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lv-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lv-pop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@keyframes lv-pin { 0% { opacity: 0; transform: translateY(-80px) rotate(-18deg) scale(1.06); } 55% { opacity: 1; transform: translateY(8px) rotate(-2deg) scale(1); } 78% { transform: translateY(-3px) rotate(-6deg); } 100% { opacity: 1; transform: rotate(-5deg); } }
@keyframes lv-pin-in { 0% { opacity: 0; transform: translateY(-60px) rotate(-14deg); } 60% { opacity: 1; transform: translateY(6px) rotate(2deg); } 100% { opacity: 1; transform: rotate(3deg); } }
@keyframes lv-float { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3.5deg) translateY(-10px); } }
@keyframes lv-float-sm { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes lv-stripes { to { background-position: 44px 0; } }
@keyframes lv-run { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { left: var(--run-end-x, calc(100% - 20px)); opacity: 0; } }
@keyframes lv-run-v { 0% { top: 0; opacity: 0; } 6% { opacity: 1; } 90% { opacity: 1; } 100% { top: var(--run-end-y, calc(100% - 20px)); opacity: 0; } }
@keyframes lv-pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 240, 82, .75); } 100% { box-shadow: 0 0 0 14px rgba(198, 240, 82, 0); } }
@keyframes lv-swing { 0% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(7deg); } 100% { transform: rotate(0); } }
@keyframes lv-tag { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes lv-step { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes lv-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes lv-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes lv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes lv-count { from { opacity: 0; transform: translateY(14px) skewX(-10deg); } to { opacity: 1; transform: none; } }
@keyframes lv-bump { 0% { scale: 1; } 40% { scale: 1.06; } 100% { scale: 1; } }
@keyframes lv-ready { 0% { scale: 1; } 40% { scale: 1.03; } 100% { scale: 1; } }
@keyframes lv-tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lv-snap { 0% { opacity: 0; transform: scaleX(.2) rotate(-3deg); } 60% { opacity: 1; transform: scaleX(1.04) rotate(-3deg); } 100% { opacity: 1; transform: scaleX(1) rotate(-3deg); } }
@keyframes lv-check { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

.a-dash { animation: lv-dash-in .75s var(--ease) both; }
.a-rise { animation: lv-rise .7s var(--ease) both; }
.a-fade { animation: lv-fade .6s ease both; }
.a-stripes { animation: lv-stripes 1.1s linear infinite; }
.a-tag { animation: lv-tag 2.4s ease-in-out infinite; }
.a-pulse { animation: lv-pulse 1.8s ease-out infinite; }
.bib.a-bib { animation: lv-pin 1s var(--ease) .35s both, lv-float 6s ease-in-out 1.6s infinite; }
.bib.a-bib .pin { animation: lv-fade .4s ease 1.05s both; }
.bib.a-bib .bib__big { animation: lv-dash-in .6s var(--ease) .9s both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .18s; } .d3 { animation-delay: .28s; } .d4 { animation-delay: .38s; }
.d5 { animation-delay: .48s; } .d6 { animation-delay: .58s; } .d7 { animation-delay: .7s; } .d8 { animation-delay: .82s; }

@supports (animation-timeline: view()) {
  .a-scroll { animation: lv-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
  .a-scroll-pop { animation: lv-pop linear both; animation-timeline: view(); animation-range: entry 20% entry 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .runner { display: none; }
}
