:root {
  --navy: #071a2e;
  --navy-soft: #0e2a45;
  --orange: #ff5a1f;
  --cream: #f6f0e5;
  --ink: #11161c;
  --muted: #718092;
  --line: rgba(7, 26, 46, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.site-header { align-items: center; background: var(--navy); color: white; display: flex; height: 78px; justify-content: space-between; padding: 0 clamp(24px, 5vw, 76px); position: sticky; top: 0; z-index: 20; }
.brand { align-items: center; display: flex; font-family: "League Spartan", sans-serif; font-size: 17px; font-weight: 800; gap: 10px; letter-spacing: -.02em; line-height: .78; }
.brand small { color: var(--orange); font-size: 8px; letter-spacing: .16em; }
.brand-mark { align-items: center; background: var(--orange); border-radius: 50%; color: var(--navy); display: flex; font-size: 13px; height: 38px; justify-content: center; letter-spacing: -.08em; transform: rotate(-9deg); width: 38px; }
.site-nav { align-items: center; display: flex; gap: 30px; }
.site-nav > a { color: #d8e1e9; font-size: 13px; font-weight: 700; }
.site-nav > a:hover { color: var(--orange); }
.button { background: var(--orange); border: 2px solid var(--orange); border-radius: 100px; color: var(--navy); cursor: pointer; display: inline-flex; font-weight: 800; gap: 24px; justify-content: center; padding: 15px 24px; transition: transform .2s, box-shadow .2s; }
.button:hover { box-shadow: 5px 5px 0 white; transform: translate(-2px, -2px); }
.button-small { font-size: 12px; padding: 10px 18px; }
.menu-toggle { background: none; border: 0; color: white; display: none; font-weight: 800; }

.hero { background: var(--navy); color: white; display: grid; gap: 28px; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); overflow: hidden; padding: 44px clamp(24px, 5vw, 76px) 94px; position: relative; }
.hero-splash { background: var(--orange); border-radius: 32px; color: var(--navy); display: flex; flex-direction: column; justify-content: space-between; min-height: 650px; overflow: hidden; padding: 40px 46px; position: relative; }
.hero-copy { max-width: 690px; position: relative; z-index: 2; }
.eyebrow { color: inherit; font-size: 11px; font-weight: 800; letter-spacing: .2em; margin: 0 0 20px; }
.eyebrow.orange { color: var(--orange); }
.hero h1, .section-heading h2, .closing-cta h2, .run-dialog h2 { font-family: "League Spartan", sans-serif; font-weight: 800; letter-spacing: -.07em; line-height: .78; margin: 0; text-transform: uppercase; }
.hero h1 { font-size: clamp(82px, 9.2vw, 148px); }
.hero h1 span { color: white; }
.splash-top, .splash-footer { align-items: flex-end; display: flex; justify-content: space-between; position: relative; z-index: 2; }
.hero-sticker { border: 2px solid var(--navy); border-radius: 100px; display: inline-flex; font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 9px 13px; text-transform: uppercase; transform: rotate(-2deg); }
.hero-intro { color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.45; margin: 0; max-width: 390px; }
.splash-button { align-items: center; background: var(--navy); border-radius: 100px; color: white; display: flex; flex: none; font-size: 12px; font-weight: 800; gap: 22px; padding: 15px 20px; text-transform: uppercase; transition: transform .2s; }
.splash-button:hover { transform: scale(1.03); }.splash-button span { color: var(--orange); font-size: 20px; }
.splash-orbit { border-radius: 50%; position: absolute; right: -55px; }
.splash-orbit-small { border: 34px solid rgba(7, 26, 46, .1); height: 215px; top: 35px; width: 215px; }
.splash-orbit-large { border: 48px solid rgba(255, 255, 255, .18); bottom: -125px; height: 345px; right: 55px; width: 345px; }
.next-run-card { align-self: stretch; background: white; border-radius: 32px; color: var(--ink); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 40px; position: relative; z-index: 3; }
.card-stripe { background: repeating-linear-gradient(135deg, var(--orange), var(--orange) 8px, var(--navy) 8px, var(--navy) 16px); height: 9px; left: 0; position: absolute; right: 0; top: 0; }
.micro-label, .event-kind { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.event-date { align-items: center; display: flex; gap: 12px; margin: 18px 0; }
.event-date strong { font-family: "League Spartan"; font-size: 65px; line-height: .7; }
.event-date span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.next-run-card h2 { font-family: "League Spartan"; font-size: 30px; letter-spacing: -.04em; margin: 12px 0 22px; text-transform: uppercase; }
.event-facts { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: .7fr 1.35fr .8fr; margin: 0 0 22px; padding: 16px 0; }
dl { margin: 0; } dt { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; } dd { font-size: 12px; font-weight: 700; margin: 5px 0 0; }
.rsvp-button { background: var(--navy); border: 0; border-radius: 100px; color: white; cursor: pointer; font-size: 12px; font-weight: 800; padding: 11px 16px; }
.rsvp-button.is-going { background: #d9f3df; color: #17672e; }
.next-run-action { align-items: center; display: flex; font-size: 10px; font-weight: 700; justify-content: space-between; }
.ticker { background: var(--orange); bottom: 0; color: var(--navy); display: block; font-family: "League Spartan"; font-size: 19px; font-weight: 800; left: 0; letter-spacing: .05em; overflow: hidden; padding: 13px 0; position: absolute; white-space: nowrap; width: 100%; }
.ticker-track { animation: ticker 40s linear infinite; display: flex; width: max-content; will-change: transform; }
.ticker span { flex: 0 0 auto; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 100px clamp(24px, 7vw, 110px); }
.section-heading { align-items: end; display: grid; gap: 50px; grid-template-columns: 1.7fr 1fr; margin-bottom: 50px; }
.section-heading h2 { font-size: clamp(52px, 7vw, 92px); }
.section-heading > p { color: var(--muted); line-height: 1.7; margin: 0; max-width: 440px; }
.challenge-section, .rankings-section { background: #f7f2e9; }
.challenge-grid { display: grid; gap: 22px; grid-template-columns: 1.2fr 1fr; }
.challenge-card { background: var(--navy); color: white; overflow: hidden; padding: 50px; position: relative; }
.challenge-card::after { border: 70px solid var(--orange); border-radius: 50%; content: ""; height: 180px; opacity: .12; position: absolute; right: -100px; top: -100px; width: 180px; }
.challenge-numbers { align-items: baseline; display: flex; gap: 12px; }
.challenge-numbers strong { color: var(--orange); font-family: "League Spartan"; font-size: clamp(72px, 9vw, 120px); letter-spacing: -.08em; line-height: 1; }
.challenge-numbers span { color: #b8c3cd; font-weight: 700; }
.progress-track { background: #30465a; height: 9px; margin-top: 25px; overflow: hidden; }
.progress-track div { background: var(--orange); height: 100%; }
.challenge-meta { color: #a9b8c5; display: flex; font-size: 11px; justify-content: space-between; margin-top: 9px; text-transform: uppercase; }
.challenge-callout { border-top: 1px solid #30465a; font-family: "League Spartan"; font-size: 24px; margin: 36px 0 0; padding-top: 25px; text-transform: uppercase; }
.feed { background: white; border: 1px solid var(--line); padding: 30px; }
.feed-head { align-items: center; display: flex; justify-content: space-between; }
.feed-head h3 { font-family: "League Spartan"; font-size: 24px; margin: 0; text-transform: uppercase; }
.icon-button { background: var(--orange); border: 0; border-radius: 50%; cursor: pointer; font-size: 24px; height: 38px; width: 38px; }
.run-row { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: auto 1fr auto; margin-top: 20px; padding-top: 20px; }
.avatar { align-items: center; background: var(--avatar); border-radius: 50%; color: white; display: flex; font-size: 11px; font-weight: 800; height: 42px; justify-content: center; width: 42px; }
.run-copy p { font-size: 13px; margin: 0 0 4px; }.run-copy small, .runner-name small { color: var(--muted); font-size: 10px; }.cheer-button { background: #fff4ef; border: 0; border-radius: 100px; color: var(--orange); cursor: pointer; font-weight: 800; padding: 8px 10px; }

.calendar-section { background: var(--navy); color: white; }
.calendar-section .section-heading > p { color: #9eb0c0; }
.events-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.event-tile { background: var(--navy-soft); border: 1px solid #27445e; display: flex; flex-direction: column; min-height: 430px; padding: 28px; transition: transform .2s; }
.event-tile:hover { transform: translateY(-6px) rotate(-.5deg); }.event-tile.featured { background: var(--orange); color: var(--navy); }.event-tile.featured .event-kind, .event-tile.featured dt { color: var(--navy); opacity: .7; }.tile-date { align-items: baseline; display: flex; gap: 8px; }.tile-date strong { font-family: "League Spartan"; font-size: 67px; line-height: 1; }.tile-date span { font-weight: 800; }.event-tile h3 { font-family: "League Spartan"; font-size: 29px; line-height: .95; margin: 20px 0 12px; text-transform: uppercase; }.event-tile > p:not(.event-kind) { color: #aebbc7; font-size: 13px; line-height: 1.55; }.event-tile.featured > p { color: var(--navy) !important; }.event-tile dl { border-top: 1px solid currentColor; display: grid; gap: 14px; margin-top: auto; opacity: .9; padding-top: 20px; }.attendee-line { align-items: center; display: flex; font-size: 10px; font-weight: 700; justify-content: space-between; margin-top: 24px; }.featured .rsvp-button { background: var(--navy); }

.leaderboard { border-top: 2px solid var(--navy); }.leaderboard-head, .leader-row { align-items: center; display: grid; grid-template-columns: minmax(250px, 1fr) 100px 120px; }.leaderboard-head { color: var(--muted); font-size: 10px; letter-spacing: .14em; padding: 14px 0; text-transform: uppercase; }.leader-row { border-top: 1px solid var(--line); min-height: 82px; }.leader-row .rank { color: var(--orange); font-family: "League Spartan"; font-size: 29px; }.leader-row { grid-template-columns: 50px 55px minmax(150px, 1fr) 100px 120px; }.runner-name { display: flex; flex-direction: column; }.leader-row > strong:last-child { font-family: "League Spartan"; font-size: 20px; }

.gallery-section { background: #e9e0d2; }.photo-grid { display: grid; gap: 13px; grid-auto-rows: 240px; grid-template-columns: 1.3fr .8fr 1fr; }.photo-card { border: 0; cursor: zoom-in; overflow: hidden; padding: 0; position: relative; }.photo-card img { height: 100%; object-fit: cover; transition: transform .6s; width: 100%; }.photo-card:hover img { transform: scale(1.06); }.photo-card span { background: linear-gradient(transparent, rgba(7,26,46,.8)); bottom: 0; color: white; display: flex; flex-direction: column; font-size: 10px; left: 0; padding: 50px 18px 17px; position: absolute; text-align: left; width: 100%; }.photo-card span strong { font-family: "League Spartan"; font-size: 18px; text-transform: uppercase; }.photo-1 { grid-row: span 2; }.photo-4 { grid-column: span 2; }
.closing-cta { background: var(--orange); padding: 90px 24px; text-align: center; }.closing-cta h2 { color: var(--navy); font-size: clamp(52px, 8vw, 105px); }.closing-cta h2 span { color: white; }.button-dark { background: var(--navy); border-color: var(--navy); color: white; margin-top: 35px; }.site-footer { align-items: center; background: #041321; color: #9babb9; display: flex; justify-content: space-between; padding: 45px clamp(24px, 7vw, 110px); }.footer-slogan { color: var(--orange); font-family: "League Spartan"; font-weight: 800; }

dialog { border: 0; box-shadow: 16px 16px 0 var(--orange); }.run-dialog { max-width: 530px; padding: 45px; width: calc(100% - 40px); }.run-dialog::backdrop, .lightbox::backdrop { background: rgba(2, 13, 24, .86); }.run-dialog h2 { color: var(--navy); font-size: 55px; margin-bottom: 25px; }.dialog-close { background: none; border: 0; cursor: pointer; font-size: 32px; position: absolute; right: 16px; top: 10px; }.run-dialog form { display: grid; gap: 15px; }.run-dialog label { color: var(--muted); display: grid; font-size: 10px; font-weight: 800; gap: 6px; letter-spacing: .08em; text-transform: uppercase; }.run-dialog input, .run-dialog select { background: #f5f2eb; border: 1px solid #d5cec1; font-size: 15px; padding: 12px; }.form-error { color: #c02828; text-transform: none; }.lightbox { background: transparent; box-shadow: none; color: white; max-width: 1000px; }.lightbox img { max-height: 78vh; max-width: 90vw; object-fit: contain; }.lightbox button { background: var(--orange); border: 0; border-radius: 50%; cursor: pointer; font-size: 28px; height: 42px; position: absolute; right: 10px; top: 10px; width: 42px; }.lightbox p { font-weight: 700; text-align: center; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s, transform .65s; }.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 950px) {
  .hero { grid-template-columns: 1fr; }.hero-splash { min-height: 620px; }.next-run-card { min-height: 420px; }.hero-copy { max-width: 100%; }.challenge-grid, .section-heading { grid-template-columns: 1fr; }.events-grid { grid-template-columns: repeat(2, 1fr); }.photo-grid { grid-template-columns: 1fr 1fr; }.photo-4 { grid-column: auto; }
}
@media (max-width: 680px) {
  .challenge-section { padding-inline: 0; }
  .challenge-section > .section-heading { padding-inline: 24px; }
  .site-header { height: 68px; }.menu-toggle { display: block; }.site-nav { background: var(--navy); display: none; flex-direction: column; left: 0; padding: 25px; position: absolute; right: 0; top: 68px; }.site-nav.is-open { display: flex; }.hero { padding: 22px 18px 72px; }.hero-splash { border-radius: 24px; min-height: 590px; padding: 26px 24px; }.hero h1 { font-size: 72px; }.splash-footer { align-items: flex-start; flex-direction: column; gap: 24px; }.next-run-card { border-radius: 24px; min-height: 390px; padding: 30px; }.section { padding-block: 72px; }.section-heading { gap: 20px; }.section-heading h2 { font-size: 51px; }.challenge-card { padding: 30px; }.events-grid { grid-template-columns: 1fr; }.event-tile { min-height: 380px; }.leaderboard-head { display: none; }.leader-row { grid-template-columns: 42px 48px 1fr auto; }.leader-row > span:nth-last-child(2) { display: none; }.photo-grid { display: grid; grid-auto-rows: 240px; grid-template-columns: 1fr; }.photo-1 { grid-row: auto; }.site-footer { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
