/* Owner-requested Waterloo parity: actual live reference geometry, Crystal artwork/content/colors. */
.hero-home{min-height:clamp(500px,47vw,620px);--hero-position:center 53%}
.hero-home:before{background-image:linear-gradient(90deg,rgba(9,36,29,.93),rgba(9,36,29,.73) 46%,rgba(9,36,29,.08)),var(--hero)}
.hero-home .wrap{width:min(1160px,90vw);max-width:none;margin-inline:auto;padding:clamp(54px,5vw,78px) 0}
.hero-home .eyebrow{color:#fff0c5;font:800 clamp(14px,1.5vw,21px)/1.2 Poppins,Arial,sans-serif;letter-spacing:.07em}
.hero-home .hero-date{margin:4px 0 0;color:#f2ce7b;font:800 clamp(22px,3vw,43px)/1.1 Poppins,Arial,sans-serif;letter-spacing:-.035em}
.hero-home h1{max-width:1100px;margin-top:26px;font:700 clamp(67px,8.3vw,138px)/.96 "Roboto Slab",Georgia,serif;letter-spacing:-.062em}
.hero-home h1 span{color:#f2ce7b}
.hero-home .wrap>p:not(.eyebrow):not(.hero-date){max-width:780px;font-size:clamp(17px,1.55vw,22px);line-height:1.5}
.glance{min-height:0;padding:clamp(38px,4vw,70px) 5vw;background:var(--forest);border-top:3px solid var(--gold)}
.glance>div{min-width:0;min-height:140px;padding:clamp(20px,2.1vw,32px) clamp(16px,2.6vw,48px)!important;border-right:1px solid #ffffff42}
.glance span{color:#f2ce7b;font:700 clamp(12px,.95vw,15px)/1.2 Poppins,Arial,sans-serif;letter-spacing:.055em}
.glance strong{margin-top:12px;color:#fff;font:700 clamp(20px,1.75vw,30px)/1.13 Poppins,Arial,sans-serif!important;letter-spacing:-.035em}
.glance strong.event-categories{font-size:clamp(16px,1.2vw,21px)!important;line-height:1.35;letter-spacing:-.025em}
.glance.is-ready>div{opacity:0;transform:translateY(24px)}
.glance.is-ready.is-visible>div{animation:glance-arrive .6s both}
.glance.is-ready.is-visible>div:nth-child(2){animation-delay:.12s}
.glance.is-ready.is-visible>div:nth-child(3){animation-delay:.24s}
.glance.is-ready.is-visible>div:nth-child(4){animation-delay:.36s}
@keyframes glance-arrive{to{opacity:1;transform:none}}
.series-bar{gap:24px;padding:42px 5vw;background:#fff}
.series-bar a{display:flex;text-decoration:none;align-items:center;gap:22px;min-height:140px;justify-content:center;color:var(--forest);font:700 clamp(16px,1.3vw,22px)/1.2 Poppins,Arial,sans-serif;transition:transform .2s}
.series-bar a:hover,.series-bar a:focus-visible{transform:translateY(-4px)}
.series-bar .series-logo{position:relative;display:block;flex:0 0 175px;width:175px;height:115px;max-width:none;overflow:hidden}
.series-bar .series-logo img{display:block;width:100%;height:100%;object-fit:contain}
.series-bar .series-logo--grand{height:73px}
.series-bar .series-logo--grand img{position:absolute;inset:0 auto auto 0;width:175px;height:auto;max-width:none}
.series-bar a>span:last-child{max-width:230px}


.series-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line)}
.series-bar .series-logo{height:140px;overflow:visible}.series-bar .series-logo img{position:static;width:100%;height:100%;object-fit:contain}.series-bar a>span:last-child{max-width:260px}
.answers-fast{position:relative;isolation:isolate;background:var(--forest);color:#fff}
.answers-fast::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,36,29,.8),rgba(9,36,29,.67)),url("assets/hero.jpg") center 48%/cover no-repeat}
.answers-fast h2{max-width:none;margin:0 0 54px;color:#fff}
.answers-fast h2 em{font-style:normal;color:#f2ce7b}
.answers-fast .answers-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.8vw,26px);margin-top:0}
.answers-fast .path{position:relative;isolation:isolate;min-height:350px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:26px;border:2px solid var(--gold);background:#173b30;color:#fff;text-decoration:none;transition:transform .25s,box-shadow .25s}
.answers-fast .path::before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--card-image);background-size:cover;background-position:var(--card-position,center);transition:transform .4s}
.answers-fast .path::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(23,59,48,.96) 0%,rgba(23,59,48,.72) 34%,rgba(23,59,48,.08) 74%)}
.answers-fast .path:hover,.answers-fast .path:focus-visible{transform:translateY(-4px);box-shadow:0 12px 30px #0005}
.answers-fast .path:hover::before,.answers-fast .path:focus-visible::before{transform:scale(1.06)}
.answers-fast .path h3{margin:0 0 8px;color:#fff;font:700 clamp(23px,2vw,32px)/1.08 "Roboto Slab",Georgia,serif;letter-spacing:-.035em}
.answers-fast .path p{margin:0;color:#fff;font:500 15px/1.42 Poppins,Arial,sans-serif}
.answers-fast .path-race{--card-image:url("assets/hero.jpg");--card-position:center 61%}
.answers-fast .path-routes{--card-image:url("assets/elite.jpg");--card-position:center 48%}
.answers-fast .path-weekend{--card-image:url("assets/beginner.jpg");--card-position:center 50%}
.answers-fast .path-answers{--card-image:url("assets/sport.jpg");--card-position:center 38%}


.answers-fast h2{font:600 clamp(44px,5vw,82px)/1.08 "Roboto Slab",Georgia,serif;letter-spacing:-.045em;text-wrap:balance}
.hero-home h1 em{font-style:normal;color:#f2ce7b}
.hero-home .button:not(.alt),.site-header .nav .button{background:#f2ce7b;color:var(--forest)}
.hero-home .button:not(.alt):hover,.site-header .nav .button:hover,.site-header .nav .button:focus-visible{background:#e3bb61;color:var(--forest)}
.hero-home .button.alt{background:transparent;border-color:#fff;color:#fff}
.hero-home .button.alt:hover{background:#fff;color:var(--forest)}
.site-header .menu{background:var(--forest);color:#fff}
.footer-top{background:var(--forest)}
.footer .footer-signup:hover,.footer .footer-signup:focus-visible{background:#0c251d}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
/* All existing subpages share the compact reference header; no floating title offsets. */
.subpage-hero{min-height:390px;align-content:start}
.subpage-hero .wrap{width:min(1160px,90vw);max-width:none;margin-inline:auto;padding:47px 0 32px}
.subpage-hero .eyebrow{margin:0;font:800 12px/1.4 Poppins,Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.subpage-hero h1{max-width:730px;margin:12px 0 0;font:700 clamp(48px,5.4vw,68px)/1 "Roboto Slab",Georgia,serif;letter-spacing:-.045em}
.subpage-hero .wrap>p:not(.eyebrow){max-width:760px;margin:12px 0 0;font-size:21px;line-height:1.55}
@media(max-width:1100px){.series-bar{gap:14px}.series-bar a{flex-direction:column;text-align:center}.answers-fast .answers-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .hero-home{min-height:500px;--hero-position:61% center}
 .hero-home:before{background-image:linear-gradient(90deg,rgba(9,36,29,.92),rgba(9,36,29,.63)),var(--hero)}
 .hero-home .wrap{padding:22px 0}
 .hero-home h1{font-size:clamp(45px,11.5vw,72px);margin-top:16px}
 .hero-home .hero-date{font-size:clamp(22px,6vw,32px)}
 .hero-home .eyebrow{font-size:14px!important}
 .glance{padding:18px 0}.glance>div{min-height:115px;padding:22px 5vw!important}
 .glance span{font-size:12px}.glance strong{font-size:18px!important}
 .series-bar{grid-template-columns:1fr;gap:0;padding:20px 6vw}
 .series-bar a{flex-direction:row;justify-content:flex-start;text-align:left;min-height:125px;gap:24px;padding:12px 0;border-bottom:1px solid #ddd;font-size:17px}
 .series-bar a:last-child{border-bottom:0}
 .series-bar .series-logo{flex-basis:120px;width:120px;height:105px}
 .answers-fast h2{font-size:clamp(40px,9vw,60px);margin-bottom:36px}
 .answers-fast .answers-tiles{grid-template-columns:1fr;gap:14px}.answers-fast .path{min-height:280px}
 .subpage-hero{min-height:390px}
 .subpage-hero .wrap{padding:34px 0}
 .subpage-hero h1{font-size:clamp(42px,9vw,58px);margin-top:12px;max-width:100%}
 .subpage-hero .wrap>p:not(.eyebrow){max-width:100%;font-size:17px;line-height:1.5}
}
@media(prefers-reduced-motion:reduce){.glance.is-ready>div{opacity:1;transform:none}.glance.is-ready.is-visible>div{animation:none}.series-bar a,.answers-fast .path,.answers-fast .path::before{transition:none}}

/* Same photo, narrower copy measure and responsive crop keep the featured face clear. */
@media(min-width:701px){.hero-quick-answers h1{max-width:min(500px,38vw)}.hero-quick-answers .wrap>p:not(.eyebrow){max-width:min(460px,36vw)}}
@media(max-width:700px){.hero-quick-answers:before{background-position:center,0% 0%}}
/* Inherit Waterloo's course-choice hierarchy and single-column tablet/phone cards. */
.ride-choice h2{font:600 clamp(44px,5vw,82px)/1.08 "Roboto Slab",Georgia,serif;letter-spacing:-.045em;text-wrap:balance}
.ride-choice h2 em{color:var(--forest);font-style:normal}
.ride-choice h2+p{margin-top:26px}.ride-choice .tiles{margin-top:38px;gap:24px}
.ride-choice .tile{min-height:300px;display:flex;flex-direction:column;padding:32px}
.ride-choice .tile h3{font-size:38px;margin:14px 0}.ride-choice .tile .text-link{margin-top:auto}
@media(max-width:1024px){.ride-choice .tiles{grid-template-columns:1fr}}
@media(max-width:700px){.ride-choice h2{font-size:clamp(40px,9vw,60px)}.ride-choice .tile{padding:26px}}
@media(max-width:700px){.hero-quick-answers .wrap>p:not(.eyebrow){max-width:64%}}

/* Latest owner amendment: display only the Grand Prix wordmark, retaining the original asset. */
.series-bar .series-logo--grand{flex:0 0 auto;height:78px;overflow:hidden}
.series-bar .series-logo--grand img{position:absolute;inset:0 auto auto 0;width:175px;height:auto;max-width:none}
@media(max-width:700px){.series-bar .series-logo--grand{height:55px}.series-bar .series-logo--grand img{width:120px}}
