/* Crown of Maine Gravel - shared styles (light theme: blue / red / orange) */
:root {
  --ink: #0f1b2d; --muted: #566377; --line: #dfe5ee; --alt: #f2f5f9; --navy: #0d1b2e;
  --blue: #1d6fb8; --red: #c0281a; --orange: #f07020; --orange-deep: #c2540a;
  --blue-soft: #e8f1fa; --red-soft: #fbeceb; --orange-soft: #fdf0e3;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { font-family: 'Barlow', sans-serif; font-weight: 400; color: var(--ink); background: #fff; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- sticky header ---------- */
.sticky-top { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--line); }
.stripe { display: flex; height: 6px; }
.stripe span { flex: 1; }
.s-blue { background: var(--blue); } .s-red { background: var(--red); } .s-orange { background: var(--orange); }
.nav-wrap { position: relative; }
.site-nav { display: flex; align-items: center; justify-content: space-between; padding: .8rem 2.5rem; }
.wordmark { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: .08em; line-height: 1; text-decoration: none; color: var(--ink); }
.wordmark span { color: var(--red); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: .4rem 0; border-bottom: 3px solid transparent; transition: border-color .2s; }
.nav-links a:hover { border-color: var(--orange); }
.nav-links a.active { border-color: var(--red); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(13,27,46,.12); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: .95rem 1.5rem; border-bottom: 1px solid var(--line); }
.mobile-menu a.active { color: var(--red); background: var(--red-soft); }
.subbar { display: flex; background: var(--navy); padding: 0 2.5rem; overflow-x: auto; white-space: nowrap; }
.subbar a, .subbar button { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: #b9c7d8; background: none; border: none; border-bottom: 3px solid transparent; padding: .85rem 1.2rem; cursor: pointer; transition: color .2s, border-color .2s; }
.subbar a:hover, .subbar button:hover { color: #fff; border-color: var(--orange); }
.subbar .active { color: #fff; border-color: var(--orange); }
@media (max-width: 768px) {
  .nav-links { display: none; } .hamburger { display: flex; }
  .site-nav { padding: .7rem 1.25rem; } .wordmark { font-size: 1.45rem; }
  .subbar { padding: 0 .5rem; }
}

/* ---------- shared pieces ---------- */
.eyebrow, .section-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .6rem; }
.h2, .section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: .95; color: var(--ink); margin-bottom: 1.5rem; }
.h2 span { color: var(--red); }
.section { padding: 4.5rem 6vw; }
.section.alt { background: var(--alt); }
.tri-divider { display: flex; height: 4px; width: 160px; margin-top: 1.5rem; }
.tri-divider span { flex: 1; }
.d-blue { background: var(--blue); } .d-red { background: var(--red); } .d-orange { background: var(--orange); }
.btn { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: .95rem 2rem; border: 2px solid transparent; cursor: pointer; transition: background .2s, transform .2s, color .2s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #9c1f14; transform: translateY(-2px); }
.btn-outline { clip-path: none; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.page-banner { color: #fff; padding: 5rem 6vw 3.5rem; background: linear-gradient(to top, rgba(13,27,46,.92), rgba(13,27,46,.5)), var(--bn) center 45% / cover no-repeat; }
.page-banner .eyebrow { color: #ffb27a; }
.page-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.2rem, 9vw, 7rem); line-height: .9; }
.page-title span { color: var(--orange); }
.page-subtitle { font-family: 'Barlow Condensed', sans-serif; font-size: 1.2rem; letter-spacing: .05em; color: #e4ebf3; margin-top: 1rem; max-width: 640px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #b9c7d8; padding: 2.5rem 6vw 1.75rem; border-top: 6px solid var(--orange); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: .08em; color: #fff; line-height: 1; }
.footer-links { display: flex; gap: 1.75rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #b9c7d8; }
.footer-links a:hover { color: var(--orange); }
.footer-copy { margin-top: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-size: .9rem; letter-spacing: .06em; color: #7f93aa; }

/* ---------- home ---------- */
.hero { position: relative; min-height: calc(100vh - 110px); display: flex; align-items: flex-end; color: #fff; background: linear-gradient(to top, rgba(13,27,46,.93) 0%, rgba(13,27,46,.5) 50%, rgba(13,27,46,.2) 100%), url('hero-bg.jpg') center 40% / cover no-repeat; }
.hero-inner { padding: 5rem 6vw 3.5rem; width: 100%; max-width: 1400px; animation: fadeUp .8s ease both; }
.hero-chip { display: inline-block; background: var(--red); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; padding: .45rem 1rem; margin-bottom: 1.2rem; }
.hero-title { font-family: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif; font-size: clamp(4.5rem, 13vw, 11rem); line-height: .86; }
.hero-title .o { color: var(--orange); }
.hero-meta { margin-top: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-size: 1.35rem; letter-spacing: .06em; color: #eef3f8; }
.hero-meta strong { color: #fff; }
.hero-meta small { display: block; font-size: 1.05rem; color: #cbd6e4; margin-top: .2rem; }
.hero-rides { display: flex; gap: 1rem; margin-top: 1.8rem; flex-wrap: wrap; }
.ride-pill { width: 104px; height: 104px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #fff; border: 3px solid #fff; transition: transform .2s, box-shadow .2s; }
.ride-pill:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(0,0,0,.35); }
.ride-pill .miles { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; line-height: 1; }
.ride-pill .unit { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; }
.balloon-blue { background: var(--blue); } .balloon-red { background: var(--red); } .balloon-orange { background: var(--orange); color: var(--navy); }
.hero-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.ride-card { --c: var(--blue); background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--c); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ride-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(13,27,46,.13); }
.ride-card.red { --c: var(--red); } .ride-card.orange { --c: var(--orange); }
.rc-top { display: flex; align-items: baseline; gap: .6rem; }
.rc-miles { font-family: 'Bebas Neue', sans-serif; font-size: 4.4rem; line-height: .9; color: var(--c); }
.rc-unit { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.rc-name { font-family: 'Bebas Neue', sans-serif; font-size: 2.1rem; line-height: 1; }
.rc-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; }
.rc-row span:first-child { font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); align-self: center; }
.rc-link { margin-top: auto; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c); }

.thanks-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
.thanks-body { font-size: 1.1rem; line-height: 1.8; color: var(--ink); max-width: 560px; }
.thanks-link { display: inline-block; margin-top: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--red); border-bottom: 2px solid var(--red); }
.thanks-link:hover { color: var(--orange-deep); border-color: var(--orange-deep); }
.thanks-list { display: flex; flex-direction: column; gap: 1rem; }
.thanks-card { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--orange); padding: 1.1rem 1.4rem; }
.thanks-card:nth-child(2) { border-left-color: var(--red); } .thanks-card:nth-child(3) { border-left-color: var(--blue); }
.thanks-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: .04em; }
.thanks-card p { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; color: var(--muted); }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 1rem; background: #fff; border: 1px solid var(--line); text-decoration: none; text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: .05em; line-height: 1.1; color: var(--ink); transition: border-color .2s, transform .2s; }
.partner:hover { border-color: var(--orange); transform: translateY(-3px); }
.partner img { max-height: 72px; width: auto; object-fit: contain; }

/* ---------- routes ---------- */
.rides-wrap { padding: 3rem 6vw 1rem; }
.tab-bar { display: flex; gap: .5rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab-btn { font-family: 'Bebas Neue', sans-serif; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .8rem 1.7rem; background: none; border: none; border-bottom: 4px solid transparent; margin-bottom: -1px; color: var(--muted); cursor: pointer; transition: color .2s, background .2s; }
.tab-btn .tab-dist { font-size: 1.9rem; line-height: 1; }
.tab-btn .tab-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.active-blue { color: var(--blue); border-bottom-color: var(--blue); background: var(--blue-soft); }
.tab-btn.active-red { color: var(--red); border-bottom-color: var(--red); background: var(--red-soft); }
.tab-btn.active-orange { color: var(--orange-deep); border-bottom-color: var(--orange); background: var(--orange-soft); }
.tab-panel { display: none; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; padding: 2.5rem 0 1rem; }
.tab-panel.active { display: block; }
.tab-panel.revealed { opacity: 1; transform: none; }
.blue-route { --route: var(--blue); } .red-route { --route: var(--red); } .orange-route { --route: var(--orange); }
.route-info { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: 3rem; row-gap: 1.5rem; align-items: start; }
.route-badge { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2rem; }
.route-stats, .time-badge, .terrain-notes { grid-column: 1; }
.route-info > div:last-child { grid-column: 2; grid-row: 2 / span 3; background: var(--alt); border-top: 4px solid var(--route); padding: 1.25rem 1.5rem; }
.route-circle { width: 92px; height: 92px; border-radius: 50%; background: var(--route); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.blue-route .route-circle { color: #fff; } .orange-route .route-circle { color: var(--navy); }
.route-circle .dist { font-family: 'Bebas Neue', sans-serif; font-size: 2.3rem; line-height: 1; }
.route-circle .unit { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; }
.route-name { font-family: 'Bebas Neue', sans-serif; font-size: 3.4rem; line-height: 1; letter-spacing: .03em; color: var(--route); }
.orange-route .route-name { color: var(--orange-deep); }
.route-stats { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.stat-unit { font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; color: var(--muted); }
.time-badge { display: inline-flex; width: fit-content; padding: .55rem 1.1rem; background: var(--route); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; }
.orange-route .time-badge { color: var(--navy); }
.terrain-notes { font-size: 1.05rem; line-height: 1.75; border-left: 3px solid var(--route); padding-left: 1rem; }
.aid-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .75rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.aid-item { display: flex; align-items: flex-start; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; letter-spacing: .03em; }
.aid-item:last-child { border-bottom: none; }
.aid-item a { text-decoration: none; }
.aid-item a:hover { color: var(--route); }
.aid-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--route); margin-top: .5rem; flex-shrink: 0; }
.aid-distance { margin-left: auto; padding-left: 1rem; font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; color: var(--route); white-space: nowrap; }
.orange-route .aid-distance { color: var(--orange-deep); }
.rwgps-section { padding: 2rem 6vw 1rem; }
.rwgps-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .8rem; }
.rwgps-wrap { border: 1px solid var(--line); overflow: hidden; }
.disclaimer-bar { padding: 1rem 6vw 4rem; }
.route-disclaimer { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; color: var(--muted); border-left: 3px solid var(--orange); padding: .5rem .9rem; max-width: 640px; }
.year-panel { padding: 3rem 0 4rem; max-width: 680px; }
.y27-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .8rem; }
.y27-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 7vw, 5rem); line-height: .92; }
.y27-title span { color: var(--red); }
.y27-body { font-size: 1.1rem; line-height: 1.8; margin-top: 1.2rem; border-left: 3px solid var(--blue); padding-left: 1rem; }
.y27-link { display: inline-block; margin-top: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--red); border-bottom: 2px solid var(--red); }

/* ---------- FAQ & register ---------- */
.main-content { padding: 3rem 6vw 5rem; display: flex; flex-direction: column; gap: 4.5rem; }
.register-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; background: var(--alt); border: 1px solid var(--line); padding: 2.75rem 2.75rem 2.75rem 3.25rem; }
.register-cta::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(to bottom, var(--blue), var(--red), var(--orange)); }
.cta-left h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); line-height: .95; margin-bottom: 1rem; }
.cta-left h2 span { color: var(--red); }
.donation-badge { display: inline-flex; flex-direction: column; padding: 1rem 1.5rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); margin-bottom: 1.2rem; }
.fee-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.fee-amount { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; line-height: 1; color: var(--orange-deep); }
.fee-sub { font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; color: var(--muted); }
.cta-left p { max-width: 420px; }
.cta-left p a { color: var(--red); }
.cta-right { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.btn-register { display: block; width: 100%; text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: .12em; padding: 1.15rem 2rem; text-decoration: none; }
.btn-register.coming-soon { background: #fff; color: var(--red); border: 2px dashed var(--red); }
.bikereg-note { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; color: var(--muted); }
.schedule-note { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; color: var(--muted); border-left: 3px solid var(--orange); padding-left: .8rem; margin: -.5rem 0 1.75rem; max-width: 640px; }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.schedule-item { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.1rem 1.4rem; background: var(--alt); border: 1px solid var(--line); border-left: 5px solid var(--orange); }
.schedule-time { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; line-height: 1; min-width: 78px; color: var(--orange-deep); }
.schedule-time.blue { color: var(--blue); } .schedule-time.red { color: var(--red); } .schedule-time.white { color: var(--ink); }
.schedule-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; }
.schedule-detail { font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; color: var(--muted); }
.faq-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.faq-photo-wrap { position: relative; overflow: hidden; }
.faq-photo-wrap img { width: 100%; height: 300px; object-fit: cover; transition: transform .4s; }
.faq-photo-wrap:hover img { transform: scale(1.03); }
.photo-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .9rem; background: linear-gradient(to top, rgba(13,27,46,.85), transparent); font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.faq-list { border: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.6rem; background: #fff; border: none; text-align: left; cursor: pointer; transition: background .2s; }
.faq-question:hover, .faq-question.open { background: var(--alt); }
.faq-q-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: .05em; color: var(--ink); }
.faq-chevron { color: var(--red); transition: transform .3s; flex-shrink: 0; }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 1.6rem; transition: max-height .4s ease, padding .3s ease; }
.faq-answer.open { max-height: 700px; padding: 0 1.6rem 1.4rem; }
.faq-answer p { line-height: 1.75; border-left: 3px solid var(--orange); padding-left: 1rem; }
.faq-answer a { color: var(--red); }

@media (max-width: 900px) {
  .section { padding: 3.25rem 5vw; }
  .cards-3, .thanks-grid, .register-cta, .schedule-grid, .faq-photos { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .route-info { grid-template-columns: 1fr; }
  .route-info > div:last-child, .route-stats, .time-badge, .terrain-notes { grid-column: 1; grid-row: auto; }
  .rides-wrap, .rwgps-section, .disclaimer-bar, .main-content { padding-left: 5vw; padding-right: 5vw; }
  .page-banner { padding: 3.5rem 5vw 2.5rem; }
  .register-cta { padding: 2rem 1.5rem 2rem 2rem; }
  .faq-photo-wrap img { height: 220px; }
}
@media (max-width: 600px) {
  .tab-btn { padding: .7rem 1rem; } .tab-btn .tab-dist { font-size: 1.4rem; }
  .route-name { font-size: 2.6rem; }
  .hero-inner { padding-bottom: 2.5rem; }
}
@media (max-width: 600px) {
  .hero-rides { gap: .6rem; }
  .ride-pill { width: 88px; height: 88px; }
  .ride-pill .miles { font-size: 2rem; }
}

@media (min-width: 901px) {
  .hero-title { white-space: nowrap; font-size: clamp(4rem, 9vw, 9.5rem); }
  .hero-title br { display: none; }
}
@media (min-width: 769px) {
  .subbar { justify-content: flex-end; padding: 0 1.3rem 0 2.5rem; }
}

/* 2027 tentative map */
.year-panel { max-width: none; }
.y27-eyebrow, .y27-title, .y27-body, .y27-notice { max-width: 680px; }
.y27-notice { margin-top: 1.5rem; background: var(--orange-soft); border: 1px solid #f3c99b; border-left: 6px solid var(--orange); padding: 1rem 1.25rem; font-size: 1.05rem; }
.y27-notice strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .25rem; }
.y27-map { margin-top: 2rem; border: 1px solid var(--line); overflow: hidden; }
.y27-map iframe { display: block; width: 100%; height: 560px; border: 0; }
@media (max-width: 600px) { .y27-map iframe { height: 420px; } }
