.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-intro p { margin: 0; font-size: inherit; line-height: 1.7; color: inherit; }
.news-layout { grid-template-columns: minmax(0, 960px); justify-content: center; }
.menu-grid { grid-template-columns: repeat(var(--menu-count, 7), minmax(0, 1fr)); }
@media (min-width: 1001px) and (max-width: 1400px) {
  .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 44px; padding: 10px 16px; border: 1px solid currentColor; border-radius: 4px; font-size: 14px; line-height: 1.4; font-weight: 750; text-align: center; }
.home-button:hover, .home-button.primary { color: white; border-color: var(--red); background: var(--red); }
body.is-inner .hero-links { display: none; }

.home-content { background: #f7f8f6; }
.home-content :where(h2, h3, p, a, strong, span), .hero :where(h1, p, a), .menu-grid strong { overflow-wrap: anywhere; }
.hero-content { padding-bottom: 28px; min-width: 0; }
.hero-note { inset: auto; min-width: 0; margin-inline-end: max(56px, calc((100% - 1440px) / 2)); }
.home-content h2 { font-size: 56px; line-height: 1.06; font-weight: 750; margin-bottom: 24px; }
.home-content h3 { font-size: 28px; line-height: 1.15; margin-bottom: 16px; }
.home-content p { font-size: 17px; color: var(--muted); margin-bottom: 24px; }
.home-content .eyebrow, .home-content .section-kicker { margin-bottom: 16px; color: var(--green); font-size: 12px; font-weight: 800; line-height: 1.5; text-transform: uppercase; }
.intro-section, .knowledge-section { padding: 104px max(40px, calc((100% - 1440px) / 2)); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: end; }
.intro-grid p { margin-bottom: 0; }
.stat-row { display: grid; grid-template-columns: repeat(var(--stat-count, 3), minmax(0, 1fr)); border: 1px solid var(--line); background: white; }
.stat-row > div { min-width: 0; padding: 24px 16px; border-right: 1px solid var(--line); }
.stat-row > div:last-child { border: 0; }
.stat-row strong { display: block; margin-bottom: 20px; font-size: 40px; line-height: 1.15; color: #165a7d; overflow-wrap: anywhere; }
.stat-row span { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; font-weight: 600; }

.feature-band, .rally-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 660px; }
.feature-band { background: #101c21; color: white; }
.feature-copy, .rally-content, .safety-section > div:first-child { align-self: center; padding: 72px 56px; min-width: 0; }
.feature-copy p:not(.eyebrow), .safety-section p:not(.eyebrow), .story-card.large p:not(.eyebrow) { color: #c8ced0; }
.feature-image, .rally-media, .safety-section figure { position: relative; min-height: 480px; margin: 0; }
.feature-image img, .rally-media img, .safety-section figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.story-grid { display: grid; grid-template-columns: repeat(var(--story-columns, 4), minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.story-card { display: grid; grid-template-rows: 280px 1fr; min-width: 0; background: white; }
.story-card > img { width: 100%; height: 100%; object-fit: cover; }
.story-card > div { padding: 36px 32px; align-self: center; min-width: 0; }
.story-card p:not(.eyebrow) { font-size: 16px; }
.story-card.large { grid-column: span 2; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); grid-template-rows: auto; background: #1b2024; color: white; }
.story-card.large > img { min-height: 600px; }
.story-card h3 { font-size: 26px; overflow-wrap: break-word; }

.rally-section { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.race-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 30px; }
.race-cards article { padding: 20px 0; border-block: 1px solid var(--line); }
.race-cards span { font-size: 12px; font-weight: 750; text-transform: uppercase; color: var(--red); }
.race-cards h3 { margin-block: 12px; font-size: 22px; }
.race-cards p { margin: 0; font-size: 15px; }

.safety-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(240px, .55fr) minmax(0, .9fr); min-height: 640px; background: #26312d; color: white; }
.safety-tiles { display: grid; align-self: center; padding: 32px 32px 32px 0; }
.safety-tiles article { padding: 24px 0; border-bottom: 1px solid #ffffff30; }
.safety-tiles article:first-child { border-top: 1px solid #ffffff30; }
.safety-tiles h3 { font-size: 20px; }
.safety-tiles p { margin: 0; font-size: 15px; }

.home-content .updates h2 { font-size: 32px; }
.home-content .news-grid { grid-template-columns: repeat(var(--news-columns, 3), minmax(0, 1fr)); }
.home-content .updates h3 { font-size: 23px; }
.home-content .news-meta { font-size: 12px; margin-bottom: 12px; }
.home-content .news-item > p:not(.news-meta) { font-size: 15px; margin-bottom: 12px; }
.knowledge-section { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; background: white; }
.knowledge-header { position: sticky; top: 40px; align-self: start; }
.article-list { border-top: 1px solid var(--line); }
.article-list a { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 0; min-height: 100px; border-bottom: 1px solid var(--line); }
.article-list a:hover { color: var(--green); }
.article-list span { font-size: 12px; font-weight: 750; text-transform: uppercase; color: var(--green); }
.article-list strong { font-size: 24px; line-height: 1.25; }
.gallery-strip { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; }
.gallery-strip.is-uniform { display: flex; flex-wrap: wrap; }
.gallery-strip.is-uniform > a { flex: 1 1 240px; }
.gallery-strip a { display: block; min-width: 0; height: 320px; overflow: hidden; }
.gallery-strip img { height: 100%; width: 100%; object-fit: cover; transition: transform .25s; }
.gallery-strip a:hover img { transform: scale(1.03); }
.site-footer { color: white; background: #101c21; }
.footer-inner div > a { color: #c8ced0; }
.home-content > section { scroll-margin-top: 24px; }
.rich-content { overflow-wrap: break-word; }
.rich-content img { max-width: 100%; height: auto; margin-block: 24px; }
.rich-content figure { margin: 24px 0; }
.rich-content figcaption { color: var(--muted); font-size: 14px; }

@media (min-width: 1001px) {
  .feature-band.media-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .feature-band.media-left .feature-image { grid-column: 1; grid-row: 1; }
  .feature-band.media-left .feature-copy { grid-column: 2; grid-row: 1; }
  .rally-section.media-right { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
  .rally-section.media-right .rally-media { grid-column: 2; grid-row: 1; }
  .rally-section.media-right .rally-content { grid-column: 1; grid-row: 1; }
}

@media (min-width: 1251px) {
  .safety-section.media-left { grid-template-columns: minmax(0, .9fr) minmax(0, .85fr) minmax(240px, .55fr); }
  .safety-section.media-left figure { grid-column: 1; grid-row: 1; }
  .safety-section.media-left > div:first-child { grid-column: 2; grid-row: 1; }
  .safety-section.media-left .safety-tiles { grid-column: 3; grid-row: 1; }
}

@media (max-width: 1250px) {
  .hero-note { margin-inline-end: 36px; }
  .home-content h2 { font-size: 44px; }
  .intro-grid { gap: 36px; }
  .feature-copy, .rally-content, .safety-section > div:first-child { padding: 56px 36px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card.large { grid-column: 1 / -1; }
  .story-grid.has-featured[data-story-count="1"], .story-grid.has-featured[data-story-count="2"] { grid-template-columns: 1fr; }
  .story-grid:not(.has-featured) > .story-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .story-card.large > img { min-height: 480px; }
  .safety-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .safety-section figure { grid-column: 1 / -1; height: 440px; min-height: 0; }
  .safety-tiles { padding-right: 36px; }
  .knowledge-section { gap: 40px; }
  .article-list a { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 1000px) {
  .intro-grid { grid-template-columns: 1fr; }
  .feature-copy, .rally-content, .safety-section > div:first-child { padding: 48px 32px; }
  .home-content h2 { font-size: 38px; }
  .story-card h3 { font-size: 25px; }
  .race-cards { grid-template-columns: 1fr; gap: 0; }
  .race-cards article + article { border-top: 0; }
  .hero-links { max-width: 540px; }
  .feature-band, .rally-section, .safety-section, .knowledge-section { grid-template-columns: 1fr; }
  .story-card.large { grid-template-columns: 1fr; grid-template-rows: 360px auto; }
  .story-card.large > img { min-height: 0; }
  .feature-image, .rally-media { min-height: 400px; }
  .safety-tiles { padding: 0 32px 40px; }
  .safety-section figure { grid-column: auto; }
  .knowledge-header { position: static; }
}

@media (max-width: 720px) {
  .hero-note { margin-inline-end: 20px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { --hero-expanded-height: max(680px, calc(100svh - 80px)); }
  .hero-content { padding-bottom: 28px; }
  .hero-links { gap: 8px; margin-top: 20px; }
  .hero-links .home-button { font-size: 13px; padding: 10px 12px; }
  .home-content h2 { font-size: 34px; }
  .home-content h3 { font-size: 25px; }
  .home-content p { font-size: 16px; }
  .intro-section, .knowledge-section { padding: 56px 20px; }
  .intro-grid { gap: 28px; }
  .stat-row > div { padding: 20px 12px; }
  .stat-row strong { font-size: 32px; margin-bottom: 16px; }
  .stat-row span { font-size: 12px; }
  .feature-band, .rally-section, .story-grid, .safety-section, .knowledge-section { grid-template-columns: 1fr; }
  .feature-copy, .rally-content, .safety-section > div:first-child { padding: 56px 20px; }
  .feature-image, .rally-media { min-height: 360px; }
  .story-card.large { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 320px auto; }
  .story-card.large > img { min-height: 0; }
  .story-card { grid-template-rows: 280px auto; }
  .story-card > div { padding: 32px 20px; }
  .race-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .race-cards article + article { border-top: 1px solid var(--line); }
  .race-cards h3 { font-size: 20px; }
  .race-cards p { font-size: 14px; }
  .safety-tiles { padding: 0 20px 40px; }
  .safety-section figure { grid-column: auto; height: 400px; }
  .home-content .updates h2 { font-size: 28px; }
  .home-content .news-grid { grid-template-columns: 1fr; }
  .knowledge-section { gap: 16px; }
  .knowledge-header { position: static; }
  .article-list strong { font-size: 22px; }
  .gallery-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-strip.is-uniform > a { flex-basis: 50%; }
  .gallery-strip a { height: 220px; }
}

@media (max-width: 374px) {
  .home-content h2 { font-size: 30px; }
  .hero { --hero-expanded-height: max(700px, calc(100svh - 60px)); }
  .hero-links .home-button { padding-inline: 10px; font-size: 12px; }
  .stat-row strong { font-size: 28px; }
}
