/* Layout corrections measured against the original desktop pages. */
:root { --pale:#eef6fa; }
.about-section { padding:112px 0; text-align:left; }
.about-section .about-heading { max-width:760px; }
.about-section h2 { margin:0; max-width:650px; font-size:52px; line-height:1.08; }
.about-row { display:grid; grid-template-columns:560px minmax(0,560px); justify-content:start; gap:48px; align-items:start; margin-top:56px; }
.about-section .intro-copy { max-width:none; margin:0; color:#526574; text-align:left; align-self:center; }
.about-section .intro-copy p { margin:0 0 22px; }
.about-section .intro-copy strong { color:#172838; font-weight:700; }
.about-section .carousel { position:relative; width:100%; height:440px; max-width:none; margin:0; }
.about-section .carousel-track img { height:440px; }
.about-section .carousel-controls { position:absolute; left:0; right:0; bottom:16px; margin:0; }

.home-events .event-grid, .event-grid { display:grid; grid-template-columns:1fr; gap:24px; margin:62px 0 40px; }
.home-events h2 { font-size:52px; line-height:1.08; }
.event-card { display:grid; grid-template-columns:492px 1fr; min-height:352px; border-radius:20px; align-items:stretch; }
.event-card>img { width:460px; height:320px; margin:16px; border-radius:12px; object-fit:cover; }
.event-card-body { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:24px 32px 24px 24px; }
.event-tags { display:flex; gap:8px; align-items:center; }
.event-card h3 { margin:16px 0 12px; font-size:36px; line-height:1.1; }
.event-card p { max-width:600px; margin:0 0 18px; }
.event-card strong { margin-top:auto; }

.contact-section { padding:150px 0 50px; }
.contact-section .wrap { width:min(1201px,calc(100% - 64px)); }
.contact-section .contact-heading { max-width:none; margin:0 auto 64px; }
.contact-section .contact-heading h2 { max-width:560px; margin-left:auto; margin-right:auto; }
.contact-section .contact-heading h2 { font-size:64px; line-height:1.1; font-weight:700; }
.contact-section .contact-heading .lead { max-width:560px; }
.contact-layout:not(.with-photo) { display:flex; flex-direction:column; gap:0; }
.contact-layout:not(.with-photo) .contact-form { order:0; width:100%; }
.contact-layout:not(.with-photo) .contact-details { order:1; width:100%; }
.contact-form { padding:24px; border-radius:16px; }
.contact-form .form-grid { column-gap:16px; row-gap:24px; }
.contact-form .form-grid label { gap:10px; line-height:14px; }
.contact-form .form-grid input:not([type=checkbox]) { height:48px; min-height:48px; }
.contact-form .form-grid select { height:55px; min-height:55px; }
.contact-form .form-grid textarea { min-height:140px; }
.contact-form .submit { width:100%; }
.contact-details { margin-top:0; grid-template-columns:repeat(3,minmax(0,1fr)); }

.cycle-section { background:#01162a; min-height:784px; padding:112px 0; }
.cycle-section .wrap { display:grid; grid-template-columns:340px 700px; justify-content:start; align-items:center; gap:48px; }
.cycle-copy { width:340px; }
.cycle-copy h2 { max-width:340px; }
.cycle-copy .lead { max-width:340px; margin:24px 0; }
.cycle-copy .lead strong { color:#fff; font-weight:700; }
.cycle-diagram { position:relative; width:700px; height:560px; flex:none; color:white; }
.cycle-ring { position:absolute; inset:0; width:100%; height:100%; transform-origin:center; animation:cycle-rotate 32s linear infinite; }
@keyframes cycle-rotate { to { transform:rotate(360deg); } }
.cycle-center { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); text-align:center; width:280px; }
.cycle-center .cycle-logo { width:256px; height:auto; max-height:104px; object-fit:contain; }
.cycle-center p { margin:20px 0 0; color:#d1e0eb; font:600 16px Raleway,sans-serif; }
.cycle-node { position:absolute; z-index:2; width:68px; height:68px; transform:translate(-50%,-50%); border:0; padding:0; color:white; }
.cycle-node b { display:grid; place-items:center; width:68px; height:68px; background:#0597bd; border-radius:50%; font:800 25px Raleway,sans-serif; transition:background .2s, transform .2s; }
.cycle-node:hover b, .cycle-node:focus-visible b { background:#31bee9; transform:scale(1.08); }
.cycle-node span { position:absolute; display:block; width:125px; font:700 18px/1.18 Raleway,sans-serif; text-align:left; color:white; }
.cycle-node-1 { left:50%; top:16%; }
.cycle-node-2 { left:73.6%; top:33%; }
.cycle-node-3 { left:73.6%; top:67%; }
.cycle-node-4 { left:50%; top:84%; }
.cycle-node-5 { left:26.4%; top:67%; }
.cycle-node-6 { left:26.4%; top:33%; }
.cycle-node-1 span { width:160px; left:50%; bottom:calc(100% + 10px); transform:translateX(-50%); text-align:center; }
.cycle-node-4 span { width:180px; left:50%; top:calc(100% + 10px); transform:translateX(-50%); text-align:center; }
.cycle-node-2 span, .cycle-node-3 span { left:calc(100% + 14px); top:50%; transform:translateY(-50%); }
.cycle-node-5 span, .cycle-node-6 span { right:calc(100% + 14px); top:50%; transform:translateY(-50%); text-align:right; }
@media (prefers-reduced-motion:reduce) { .cycle-ring { animation:none; } }

.step-detail { padding:90px 0; }
.step-layout { display:grid; grid-template-columns:380px minmax(0,725px); justify-content:space-between; gap:80px; align-items:start; }
.step-title { display:flex; flex-direction:column; align-items:flex-start; }
.step-number { font:800 128px/1 Raleway,sans-serif; color:#d5eaf3; margin-bottom:0; }
.step-title .eyebrow { margin:0 0 8px; }
.step-title h2 { margin:0; }
.step-content { max-width:725px; }
.step-content .lead { margin-top:0; max-width:725px; color:#435666; }

@media (max-width:1190px) {
  .about-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .event-card { grid-template-columns:42% 1fr; }
  .event-card>img { width:calc(100% - 32px); }
  .cycle-section .wrap { grid-template-columns:minmax(260px,340px) minmax(0,700px); gap:18px; }
  .cycle-diagram { width:100%; height:auto; aspect-ratio:5/4; }
  .step-layout { grid-template-columns:34% 1fr; gap:6%; }
}
@media (max-width:1000px) {
  .cycle-section { min-height:0; }
  .cycle-section .wrap { display:block; }
  .cycle-copy { width:auto; max-width:560px; }
  .cycle-copy h2, .cycle-copy .lead { max-width:560px; }
  .cycle-diagram { width:min(700px,100%); margin:56px auto 0; }
}
@media (max-width:800px) {
  .about-section { padding:80px 0; }
  .about-section h2 { font-size:clamp(32px,7vw,46px); }
  .about-row { grid-template-columns:1fr; gap:28px; }
  .about-section .carousel { height:320px; }
  .about-section .carousel-track img { height:320px; }
  .event-card { grid-template-columns:1fr; }
  .event-card>img { width:calc(100% - 24px); height:240px; margin:12px; }
  .event-card-body { padding:16px 24px 26px; }
  .home-events h2 { font-size:clamp(32px,7vw,46px); }
  .event-card h3 { font-size:28px; }
  .contact-section { padding:80px 0; }
  .contact-section .contact-heading h2 { font-size:clamp(34px,8vw,56px); }
  .contact-section .wrap { width:calc(100% - 40px); }
  .cycle-section { min-height:0; padding:80px 0; }
  .cycle-section .wrap { display:block; }
  .cycle-copy { width:auto; max-width:520px; }
  .cycle-copy h2, .cycle-copy .lead { max-width:520px; }
  .cycle-diagram { width:min(700px,100%); margin:56px auto 0; }
  .cycle-node b { width:54px; height:54px; font-size:20px; }
  .cycle-node { width:54px; height:54px; }
  .cycle-node span { font-size:14px; width:95px; }
  .cycle-center .cycle-logo { width:180px; }
  .cycle-center p { font-size:13px; }
  .step-layout { grid-template-columns:1fr; gap:32px; }
  .step-number { font-size:76px; }
}
@media (max-width:520px) {
  .cycle-diagram { margin:40px auto 0; min-height:310px; }
  .cycle-node b { width:40px; height:40px; font-size:15px; }
  .cycle-node { width:40px; height:40px; }
  .cycle-node span { width:70px; font-size:10px; }
  .cycle-node-2 span, .cycle-node-3 span { left:calc(100% + 6px); }
  .cycle-node-5 span, .cycle-node-6 span { right:calc(100% + 6px); }
  .cycle-center { width:150px; }
  .cycle-center .cycle-logo { width:138px; }
  .cycle-center p { margin-top:8px; font-size:11px; }
  .contact-form .form-grid { gap:18px; }
}

/* Full reference audit: shared typography, palettes and responsive grids. */
@font-face { font-family:Inter; src:url('../assets/fonts/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:Inter; src:url('../assets/fonts/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2') format('woff2'); font-weight:700; font-display:swap; }
:root { --navy:#01162a; --ink:#01162a; --blue:#50c0f8; --muted:#4a6475; }
h1,h2,h3 { letter-spacing:normal; }
h2 { font-size:52px; line-height:1.08; }
.section { padding:112px 0; }
.section>.wrap>h2 { max-width:760px; }
.eyebrow { font-size:13px; line-height:1.55; letter-spacing:.14em; color:#0090b8; margin-bottom:18px; }
.dark .eyebrow,.hero .eyebrow { color:#50c0f8; }
.site-header { position:fixed; }
.hero:not(.hero-home) { min-height:560px; align-items:flex-end; }
.hero:not(.hero-home) .hero-content { width:min(1120px,calc(100% - 80px)); padding:180px 0 48px; }
.hero:not(.hero-home) h1 { font-size:64px; line-height:1.05; max-width:900px; margin-bottom:18px; }
.hero:not(.hero-home) .lead { font-size:19px; line-height:1.55; max-width:640px; color:#c8dce8; margin-bottom:0; }
.hero .actions:empty { display:none; }
.hero:not(.hero-home) .actions:not(:empty) { margin-top:24px; }
[data-page=events] .hero,[data-page=motorsport-club] .hero { min-height:640px; }
.hero-home h1 { font-size:56px; line-height:1.04; max-width:1000px; }
.hero-home .lead { max-width:620px; color:#c8dce8; line-height:1.5; }
.about-section h2 { max-width:760px; }
.about-section .intro-copy { font-family:Inter,Arial,sans-serif; line-height:1.4; }
.home-steps a { grid-template-columns:64px 340px 1fr; min-height:110px; gap:24px; }
.home-steps h3 { font-size:26px; line-height:1.15; }
.home-steps p { font-size:17px; line-height:1.45; }
.market-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.market-card,.market-card:nth-child(4),.market-card:nth-child(5) { grid-column:auto; height:360px; }
.event-card-body { justify-content:center; padding:32px; }
.event-card strong { margin-top:0; }
.contact-section .contact-heading h1,.contact-section .contact-heading h2 { font-size:64px; line-height:1.1; letter-spacing:-.05em; font-weight:700; max-width:720px; margin:0 auto 16px; }
.contact-heading .lead { font-size:16px; line-height:1.4; }
.cycle-copy h2 { font-size:48px; line-height:1.08; }
.cycle-copy .lead { font-size:18px; line-height:1.4; }
.step-title h2 { font-size:44px; line-height:1.08; }
.step-content .lead { font-size:19px; line-height:1.55; }
.step-detail { scroll-margin-top:120px; }
.step-detail:nth-of-type(even) .step-tip { background:white; }
[data-page=events] main>.section:nth-of-type(3) .button { background:var(--navy); color:white; }
[data-page=events] main>.section:nth-of-type(4) .button { background:white; color:var(--ink); }
.service-end { text-align:left; }
.service-end .lead { color:#c8dce8; }
.service-end .button { background:white; color:var(--ink); }
.footer-top h2 { font-size:56px; line-height:1.1; letter-spacing:-.04em; }
.footer-top>p:not(.eyebrow) { max-width:560px; font-size:16px; line-height:1.4; color:#ffffffa3; }
.legal-section { background:var(--pale); min-height:408px; padding:150px 0 80px; }
.legal-section .wrap { max-width:800px; }
.legal-section h1 { text-align:center; font-size:64px; font-weight:700; letter-spacing:-.05em; margin-bottom:24px; }
.legal-section p { font-size:16px; line-height:1.4; color:var(--muted); }
.legal-section p:first-of-type { text-align:center; }
.carousel-controls { justify-content:space-between; padding:0 20px; pointer-events:none; }
.carousel-controls button { pointer-events:auto; }
.carousel-controls>[data-prev],.carousel-controls>[data-next] { position:absolute; top:-224px; background:#ffffffd9; }
.carousel-controls>[data-prev] { left:20px; }
.carousel-controls>[data-next] { right:20px; }
.carousel-dots { display:flex; justify-content:center; gap:8px; width:100%; }
.carousel-dots button { width:8px; height:8px; padding:0; border:0; background:#ffffff80; }
.carousel-dots button[aria-current=true] { background:white; }
.marquee:hover .marquee-track { animation-play-state:paused; }
.reveal { transition:opacity .7s ease, transform .7s ease, filter .7s ease; }
.reveal-pending { opacity:0; transform:translateY(28px); filter:blur(5px); }
@media(max-width:1000px) {
 .home-steps a { grid-template-columns:44px 260px 1fr; gap:16px; }
 .market-card,.market-card:nth-child(4),.market-card:nth-child(5) { height:280px; }
}
@media(max-width:760px) {
 h2,.home-events h2,.about-section h2 { font-size:34px; line-height:1.08; }
 .section { padding:80px 0; }
 .hero:not(.hero-home) .hero-content { width:calc(100% - 32px); padding:150px 0 48px; }
 .hero:not(.hero-home) h1 { font-size:40px; }
 .hero:not(.hero-home) .lead { font-size:16px; }
 .hero-home h1 { font-size:34px; }
 .home-steps a { display:block; min-height:0; padding:24px 0; }
 .market-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; }
 .market-card,.market-card:nth-child(4),.market-card:nth-child(5) { flex:0 0 80%; height:300px; margin:0; scroll-snap-align:start; }
 .contact-section .contact-heading h1,.contact-section .contact-heading h2 { font-size:40px; }
 .cycle-copy h2 { font-size:34px; }
 .step-title h2 { font-size:34px; }
 .contact-details { grid-template-columns:1fr; gap:10px; }
 .footer-top h2 { font-size:40px; }
 .legal-section h1 { font-size:40px; }
 .legal-section { padding-top:150px; }
 .carousel-controls>[data-prev],.carousel-controls>[data-next] { top:-164px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 .reveal { transition:none; }
 .reveal-pending { opacity:1; transform:none; filter:none; }
 .marquee-track,.cycle-ring { animation:none!important; }
}
.contact-layout.with-photo { grid-template-columns:36% minmax(0,1fr); gap:16px; }
.contact-layout.with-photo .contact-photo { height:581px; }
.event-gallery { position:relative; max-width:none; width:100%; aspect-ratio:16/9; }
.event-gallery .carousel-track,.event-gallery .carousel-track img { height:100%; }
.event-gallery .carousel-track img { aspect-ratio:16/9; }
.event-gallery .carousel-controls { position:absolute; bottom:20px; left:0; right:0; }
.event-gallery .carousel-controls>[data-prev],.event-gallery .carousel-controls>[data-next] { top:auto; bottom:calc(100cqw * 0); transform:translateY(-250px); }
.speaker-grid { gap:24px; }
.speaker-grid img { height:244px; }
@media(max-width:760px) {
 .contact-layout.with-photo { grid-template-columns:1fr; }
 .contact-layout.with-photo .contact-photo { height:300px; }
 .speaker-grid img { height:160px; }
 .event-gallery .carousel-controls>[data-prev],.event-gallery .carousel-controls>[data-next] { transform:none; bottom:30px; }
}
.event-gallery .carousel-controls { inset:0; padding:0; }
.event-gallery .carousel-controls>[data-prev],.event-gallery .carousel-controls>[data-next] { top:50%; bottom:auto; transform:translateY(-50%); }
.event-gallery .carousel-dots { position:absolute; bottom:20px; }
@media(max-width:520px) {
 .cycle-diagram { min-height:0; aspect-ratio:5/4; }
 .step-content .lead { font-size:17px; }
}
@media(max-width:760px) {
 .hero-home h1 { font-size:36px; }
 .markets-section .wrap { width:calc(100% - 80px); }
 .market-grid { display:grid; grid-template-columns:1fr; overflow:visible; gap:16px; }
 .market-card,.market-card:nth-child(4),.market-card:nth-child(5) { width:100%; height:240px; }
 .contact-section .contact-heading h1,.contact-section .contact-heading h2 { font-family:'Open Sans',Arial,sans-serif; }
 .footer-top h2 { font-size:56px; }
}
.record-accordion { display:flex; gap:10px; height:400px; margin-top:56px; padding:10px; border-radius:16px; background:white; }
.record-panel { position:relative; overflow:hidden; flex:1; border:0; border-radius:12px; background:var(--pale); color:var(--ink); padding:0; transition:flex .55s ease; text-align:left; }
.record-panel.active { flex:3.5; }
.record-index { position:absolute; z-index:2; left:0; right:0; top:14px; text-align:center; font-size:18px; }
.record-panel:first-child .record-index { text-align:left; left:12px; color:white; }
.record-panel>img { width:100%; height:100%; object-fit:cover; }
.record-caption { position:absolute; bottom:0; left:0; right:0; padding:60px 20px 20px; color:white; background:linear-gradient(transparent,#01162ae6); opacity:0; transition:opacity .25s; }
.record-panel.active .record-caption { opacity:1; }
.record-caption strong { display:block; font:800 30px Raleway,sans-serif; margin-bottom:8px; }
.record-caption>span { display:block; font-size:15px; line-height:1.4; }
@media(max-width:760px) { .record-accordion { height:340px; gap:6px; padding:6px; } .record-panel.active { flex:6; } .record-caption { padding:50px 10px 12px; } .record-caption>span { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .record-panel,.record-caption { transition:none; } }
.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea { background:var(--pale); }
/* Optical logo sizing: white cards preserve supplied brand colours and proportions. */
body .logo-marquee .marquee-track { align-items:center; gap:16px; padding-right:16px; }
body .logo-marquee .marquee-track>span { flex:0 0 200px; width:200px; height:108px; padding:12px 16px; display:flex; align-items:center; justify-content:center; border:1px solid #d5e6ef; border-radius:16px; background:white; }
body .logo-marquee .marquee-track .slider-logo img { width:var(--logo-width); height:var(--logo-height); max-width:100%; object-fit:contain; }
body .logo-marquee .marquee-track .slider-label { flex-basis:auto; width:auto; min-width:200px; white-space:nowrap; }
@media(max-width:809px) {
 body .logo-marquee .marquee-track>span { flex-basis:176px; width:176px; height:96px; padding:10px 12px; }
 body .logo-marquee .marquee-track .slider-logo img { max-height:72px; max-width:144px; }
 body .logo-marquee .marquee-track .slider-label { flex-basis:auto; width:auto; min-width:176px; }
}
/* About us: keep the team’s faces inside the hero instead of cropping the photo centre. */
[data-page=about] .hero { background-position:center top; }
