:root {
    --red: #ed1c24;
    --red-dark: #c90e15;
    --ink: #17181b;
    --ink-2: #25272c;
    --muted: #686d76;
    --line: #e6e8eb;
    --soft: #f5f6f8;
    --soft-blue: #f3f6fa;
    --white: #ffffff;
    --dark: #101216;
    --radius: 18px;
    --shadow: 0 20px 54px rgba(17, 24, 39, .09);
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { border: 0; }
svg { display: block; }

.container-wide { width: min(1380px, calc(100% - 80px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-label { margin-bottom: 11px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-head { margin-bottom: 40px; }
.section-head h2, .about-copy h2, .testimonial-intro h2 { margin: 0; font-size: clamp(32px, 3vw, 44px); line-height: 1.12; letter-spacing: -.035em; font-weight: 770; }
.section-head p { max-width: 650px; margin: 13px 0 0; color: var(--muted); }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; height: 92px; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(20,22,25,.07); transition: box-shadow .25s ease, height .25s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(15,23,42,.08); }
.header-inner { width: min(1450px, calc(100% - 72px)); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { width: 120px; height: auto; object-fit: contain; }
.primary-nav { justify-self: center; display: flex; align-items: center; gap: 34px; }
.primary-nav a { position: relative; padding: 34px 0 31px; color: #292b31; font-size: 13px; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 25px; height: 2px; background: var(--red); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.whatsapp-help { min-width: 178px; padding-left: 24px; border-left: 1px solid #e4e5e7; display: flex; align-items: center; gap: 12px; }
.wa-icon { width: 43px; height: 43px; display: grid; place-items: center; }
.wa-icon img { width: 31px; height: 31px; object-fit: contain; }
.wa-copy { display: grid; line-height: 1.1; }
.wa-copy small { margin-bottom: 6px; color: #6f7480; font-size: 12px; }
.wa-copy strong { font-size: 15px; font-weight: 800; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 690px; height: calc(100vh - 92px); max-height: 830px; overflow: hidden; background: #17191d; color: #fff; }
.hero-poster, .hero-video, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-poster { z-index: 0; background: url('../img/home-slide.jpg') center center / cover no-repeat; transform: scale(1.015); }
.hero-video { z-index: 1; opacity: 0; transition: opacity 1s ease; overflow: hidden; pointer-events: none; }
.hero-video.is-ready { opacity: 1; }
.hero-video iframe { position: absolute; top: 50%; left: 50%; width: 177.77777778vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%) scale(1.07); border: 0; }
.hero-shade { z-index: 2; background: linear-gradient(90deg, rgba(8,10,13,.36) 0%, rgba(8,10,13,.30) 35%, rgba(8,10,13,.58) 100%), linear-gradient(180deg, rgba(8,10,13,.08), rgba(8,10,13,.38)); }
.hero-grid { z-index: 3; opacity: .09; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(to left, #000, transparent 72%); }
.hero-shell { position: relative; z-index: 4; width: min(1380px, calc(100% - 80px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: flex-end; }
.hero-copy { width: min(730px, 56vw); margin-right: 4%; position: relative; min-height: 280px; display: flex; align-items: center; }
.hero-slide { position: absolute; width: 100%; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .65s ease, transform .65s ease, visibility .65s; }
.hero-slide.is-active { opacity: 1; transform: translateY(0); visibility: visible; }
.hero-kicker { margin: 0 0 20px; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: .045em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(43px, 4.4vw, 67px); line-height: 1.08; letter-spacing: -.045em; font-weight: 760; }
.hero h1 span { font-weight: 330; }
.hero-progress { position: absolute; right: 0; bottom: 4px; display: flex; gap: 10px; }
.hero-progress span { width: 9px; height: 9px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; transition: background .25s ease; }
.hero-progress span.is-active { background: #fff; }
.hero-bottom { position: absolute; z-index: 4; left: 50%; bottom: 24px; width: min(1380px, calc(100% - 80px)); transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 760; letter-spacing: .16em; text-transform: uppercase; }
.hero-bottom i { width: 3px; height: 3px; background: var(--red); border-radius: 50%; }

/* Buttons and links */
.svg-arrow { width: 18px; height: 18px; display: inline-flex; flex: 0 0 auto; }
.svg-arrow svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button { min-height: 48px; padding: 0 21px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-red { color: #fff; background: var(--red); box-shadow: 0 12px 30px rgba(237,28,36,.16); }
.button-red:hover { background: var(--red-dark); }
.button-outline { border: 1px solid #d7d9dd; background: #fff; }
.button-outline:hover { border-color: #b7bbc1; }
.text-link, .card-link { width: fit-content; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 760; }
.text-link { margin-top: 26px; color: var(--red); }
.card-link { color: #272a2f; }
.card-link:hover, .text-link:hover { color: var(--red); }

/* About */
.about-section { background: var(--soft-blue); }
.about-layout { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); align-items: center; gap: 76px; }
.about-photo-wrap { position: relative; overflow: hidden; border-radius: 4px 28px 4px 28px; box-shadow: var(--shadow); background: #d9dde3; }
.about-photo-wrap > img { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; object-position: center 44%; }
.about-photo-wrap::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 24%, #f7b70c 24% 50%, #151619 50%); }
.journey-link { position: absolute; left: 24px; bottom: 24px; z-index: 2; padding: 10px 16px 10px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); font-size: 13px; font-weight: 750; }
.play-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red); }
.play-icon svg { width: 20px; height: 20px; fill: #fff; }
.about-year-mark { position: absolute; right: 0; bottom: 0; z-index: 2; width: 205px; padding: 17px 20px 19px; background: rgba(15,17,20,.92); color: #fff; }
.about-year-mark strong { display: block; font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.about-year-mark span { display: block; margin-top: 7px; color: rgba(255,255,255,.7); font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.about-copy p { max-width: 690px; margin: 24px 0 0; color: #5f6570; font-size: 16px; line-height: 1.78; }
.feature-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.feature-list > div { min-height: 48px; padding: 12px 0; border-bottom: 1px solid #dfe3e8; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 690; }
.tick { width: 15px; height: 15px; position: relative; flex: 0 0 auto; }
.tick::before { content: ""; position: absolute; width: 8px; height: 4px; left: 2px; top: 3px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

/* Initiatives */
.initiatives-section { background: #fff; }
.initiative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.initiative-card { border: 1px solid var(--line); background: #fff; border-radius: 16px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.initiative-card:hover { transform: translateY(-5px); border-color: #d5d8dd; box-shadow: 0 22px 55px rgba(20,24,30,.09); }
.initiative-image { display: block; overflow: hidden; background: #ddd; }
.initiative-image img { width: 100%; aspect-ratio: 1.58 / 1; object-fit: cover; transition: transform .55s cubic-bezier(.2,.65,.25,1); }
.initiative-card:hover .initiative-image img { transform: scale(1.035); }
.initiative-body { padding: 24px 24px 25px; }
.initiative-body h3 { margin: 0 0 11px; font-size: 20px; line-height: 1.25; letter-spacing: -.02em; }
.initiative-body p { min-height: 76px; margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Quick links */
.quick-section { background: #f3f5f7; }
.quick-shell { position: relative; }
.quick-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 31.5%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.quick-track::-webkit-scrollbar { display: none; }
.quick-card { position: relative; height: 365px; overflow: hidden; border-radius: 14px; scroll-snap-align: start; color: #fff; background: #25272b; box-shadow: 0 16px 38px rgba(15,23,42,.10); }
.quick-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.quick-card:hover img { transform: scale(1.045); }
.quick-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.02) 12%, rgba(10,11,13,.24) 52%, rgba(10,11,13,.92) 100%); }
.quick-content { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.quick-content small { margin-bottom: 8px; color: #f7c6c8; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.quick-content strong { font-size: 22px; line-height: 1.2; }
.quick-content em { max-width: 330px; margin-top: 9px; color: rgba(255,255,255,.78); font-size: 13px; font-style: normal; line-height: 1.55; }
.quick-content b { margin-top: 15px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.carousel-arrow { position: absolute; z-index: 5; top: 50%; width: 44px; height: 44px; border-radius: 50%; transform: translateY(-50%); display: grid; place-items: center; background: rgba(255,255,255,.95); box-shadow: 0 10px 30px rgba(15,23,42,.16); cursor: pointer; }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }
.carousel-arrow svg, .testimonial-btn svg { width: 19px; height: 19px; fill: none; stroke: #17191c; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Testimonials */
.testimonial-section { overflow: hidden; background: #fff; }
.testimonial-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 82px; align-items: center; }
.testimonial-stage { position: relative; min-height: 440px; padding: 52px 56px 44px; overflow: hidden; border-radius: 4px 26px 4px 26px; background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.testimonial-stage::after { content: ""; position: absolute; right: -90px; bottom: -100px; width: 310px; height: 310px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,255,255,.025), 0 0 0 78px rgba(255,255,255,.018); }
.quote-mark { position: absolute; top: 14px; right: 36px; color: rgba(237,28,36,.75); font-family: Georgia, serif; font-size: 116px; line-height: 1; }
.testimonial-track { position: relative; min-height: 280px; z-index: 2; }
.testimonial-card { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .4s ease, transform .4s ease, visibility .4s; }
.testimonial-card.is-active { opacity: 1; visibility: visible; transform: translateX(0); }
.testimonial-text { max-width: 720px; margin: 0; color: rgba(255,255,255,.86); font-size: clamp(18px, 1.45vw, 23px); line-height: 1.62; font-weight: 400; }
.testimonial-person { margin-top: 27px; display: flex; align-items: center; gap: 13px; }
.testimonial-person img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); }
.testimonial-person div { display: grid; }
.testimonial-person strong { font-size: 14px; }
.testimonial-person span, .testimonial-person small { color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.45; }
.testimonial-controls { position: absolute; z-index: 3; left: 56px; right: 56px; bottom: 31px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.testimonial-btn { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.testimonial-btn svg { stroke: #fff; }
.testimonial-counter { margin: 0 6px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.55); font-size: 11px; }
.testimonial-counter b { color: #fff; }
.testimonial-counter i { width: 24px; height: 1px; background: rgba(255,255,255,.28); }
.testimonial-intro p { max-width: 510px; margin: 22px 0 0; color: var(--muted); line-height: 1.75; }
.testimonial-rule { width: 58px; height: 3px; margin: 29px 0 18px; background: var(--red); }
.micro-copy { color: #8a8e96; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* Gallery */
.gallery-section { background: var(--soft-blue); }
.gallery-grid { display: grid; grid-template-columns: 1.65fr .95fr .95fr; grid-template-rows: 245px 245px; gap: 18px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; background: #dfe2e6; }
.gallery-large { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,6,8,.70) 100%); opacity: .84; transition: opacity .3s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item > span { position: absolute; z-index: 2; left: 22px; bottom: 19px; display: grid; color: #fff; }
.gallery-item strong { font-size: 16px; }
.gallery-item small { margin-top: 2px; color: rgba(255,255,255,.7); font-size: 11px; }

/* Footer */
.site-footer { position: relative; background: #101216; color: #aeb2b9; }
.footer-accent { height: 3px; background: linear-gradient(90deg, var(--red) 0 28%, #f1b400 28% 38%, #34383e 38%); }
.footer-inner { width: min(1380px, calc(100% - 80px)); margin: 0 auto; padding: 70px 0 58px; display: grid; grid-template-columns: 1.45fr .7fr .8fr .72fr; gap: 62px; }
.footer-brand img { width: 90px; height: auto; }
.footer-brand p { max-width: 410px; margin: 22px 0; font-size: 13px; line-height: 1.78; }
.footer-cta { display: inline-flex; min-height: 42px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; font-weight: 750; }
.footer-app-card { width: min(100%, 295px); margin: 7px 0 0; padding: 11px 12px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.footer-app-copy span { display: block; color: var(--red); font-size: 9px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.footer-app-copy strong { display: block; margin-top: 3px; color: #fff; font-size: 14px; line-height: 1.15; }
.footer-store-badges { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: 10px; }
.footer-store-badges span { display: block; width: 96px; }
.footer-store-badges img { display: block; width: 100%; height: auto; border-radius: 5px; box-shadow: 0 10px 18px rgba(0,0,0,.18); }
.social-row { display: flex; gap: 9px; margin-top: 20px; }
.social-row a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #363a40; border-radius: 50%; color: #d8dade; font-size: 11px; font-weight: 750; }
.social-row a:hover { border-color: var(--red); color: #fff; background: var(--red); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h3 { margin: 4px 0 13px; color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a { color: #aeb2b9; font-size: 13px; }
.footer-column a:hover { color: #fff; }
.footer-bottom { width: min(1380px, calc(100% - 80px)); margin: 0 auto; padding: 20px 0 24px; border-top: 1px solid #272a2f; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Governance page */
.subpage-hero { position: relative; height: 300px; overflow: hidden; display: flex; align-items: center; color: #fff; background: #17191d; }
.subpage-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.subpage-hero::after { content: ""; position: absolute; inset: 0; background: rgba(10,11,13,.48); }
.subpage-hero .container-wide { position: relative; z-index: 2; }
.subpage-hero h1 { margin: 0; font-size: 42px; line-height: 1.1; }
.subpage-hero p { margin: 10px 0 0; color: rgba(255,255,255,.78); font-size: 13px; }
.governance-intro { max-width: 780px; margin-bottom: 42px; }
.governance-intro p { color: var(--muted); }
.hierarchy { margin: 36px 0 70px; display: grid; justify-content: center; gap: 26px; }
.hierarchy-card { width: min(580px, 90vw); padding: 24px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 13px 34px rgba(20,25,35,.06); }
.hierarchy-card small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hierarchy-card h3 { margin: 5px 0 0; font-size: 21px; }
.hierarchy-line { width: 1px; height: 26px; margin: -13px auto; background: #cfd3d8; }
.committee-title { margin: 0 0 28px; font-size: 30px; }
.committee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.member-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.member-photo { width: 100%; aspect-ratio: .94 / 1; object-fit: cover; background: #e8eaed; }
.member-copy { padding: 18px 18px 20px; }
.member-copy h4 { margin: 0; font-size: 16px; }
.member-copy strong { display: block; margin-top: 5px; color: var(--red); font-size: 12px; }
.member-copy span, .member-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.committee-block + .committee-block { margin-top: 72px; }

@media (max-width: 1180px) {
    .header-inner { grid-template-columns: 150px 1fr auto; width: min(100% - 40px, 1220px); gap: 18px; }
    .primary-nav { gap: 22px; }
    .primary-nav a { font-size: 12px; }
    .whatsapp-help { min-width: 154px; padding-left: 18px; }
    .about-layout { gap: 48px; }
    .initiative-body p { min-height: 98px; }
    .committee-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
    .container-wide, .hero-shell, .hero-bottom, .footer-inner, .footer-bottom { width: min(100% - 42px, 900px); }
    .site-header { height: 78px; }
    .header-inner { width: calc(100% - 34px); grid-template-columns: 1fr auto auto; }
    .brand img { width: 103px; }
    .nav-toggle { width: 42px; height: 42px; display: grid; align-content: center; justify-items: center; gap: 5px; background: transparent; cursor: pointer; }
    .nav-toggle span { width: 24px; height: 2px; background: #181a1d; transition: .25s; }
    .primary-nav { position: fixed; top: 78px; right: 0; bottom: 0; width: min(360px, 88vw); padding: 26px 30px; background: #fff; box-shadow: -15px 20px 45px rgba(15,23,42,.13); display: flex; flex-direction: column; align-items: stretch; gap: 0; transform: translateX(105%); transition: transform .28s ease; }
    .nav-open .primary-nav { transform: translateX(0); }
    .primary-nav a { padding: 17px 0; border-bottom: 1px solid #eceef1; font-size: 13px; }
    .primary-nav a::after { display: none; }
    .whatsapp-help { padding-left: 0; border-left: 0; min-width: 44px; }
    .wa-copy { display: none; }
    .hero { height: 640px; min-height: 0; max-height: none; }
    .hero-shell { justify-content: center; }
    .hero-copy { width: 100%; margin: 0; min-height: 240px; }
    .hero h1 { max-width: 680px; font-size: clamp(40px, 7vw, 58px); }
    .about-layout, .testimonial-layout { grid-template-columns: 1fr; }
    .about-layout { gap: 42px; }
    .about-photo-wrap > img { aspect-ratio: 1.55 / 1; }
    .initiative-grid { grid-template-columns: repeat(2, 1fr); }
    .initiative-body p { min-height: 76px; }
    .quick-track { grid-auto-columns: minmax(310px, 48%); }
    .testimonial-layout { gap: 40px; }
    .testimonial-intro { grid-row: 1; }
    .gallery-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: 250px 250px 250px; }
    .gallery-large { grid-row: span 2; }
    .gallery-item:nth-child(5) { grid-column: 1 / -1; }
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-contact { grid-column: 2; }
    .committee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    body { font-size: 15px; }
    .section { padding: 68px 0; }
    .container-wide, .hero-shell, .hero-bottom, .footer-inner, .footer-bottom { width: calc(100% - 30px); }
    .site-header { height: 72px; }
    .header-inner { height: 72px; }
    .primary-nav { top: 72px; }
    .brand img { width: 92px; }
    .hero { height: 560px; }
    .hero-shade { background: linear-gradient(180deg, rgba(8,10,13,.30), rgba(8,10,13,.68)); }
    .hero-grid { display: none; }
    .hero-copy { align-items: flex-end; padding-bottom: 88px; min-height: 100%; }
    .hero-kicker { margin-bottom: 13px; font-size: 12px; }
    .hero h1 { font-size: clamp(34px, 10.7vw, 46px); line-height: 1.06; }
    .hero-progress { bottom: 44px; left: 0; right: auto; }
    .hero-bottom { bottom: 18px; gap: 8px; font-size: 8px; letter-spacing: .11em; }
    .section-head h2, .about-copy h2, .testimonial-intro h2 { font-size: 32px; }
    .split-head { align-items: flex-start; flex-direction: column; gap: 20px; }
    .about-photo-wrap > img { aspect-ratio: 1.05 / 1; }
    .about-year-mark { width: 170px; padding: 14px 16px 16px; }
    .about-year-mark strong { font-size: 26px; }
    .journey-link { left: 14px; bottom: 14px; }
    .feature-list { grid-template-columns: 1fr; }
    .initiative-grid { grid-template-columns: 1fr; }
    .initiative-body p { min-height: 0; }
    .quick-track { grid-auto-columns: 87%; gap: 16px; }
    .quick-card { height: 350px; }
    .carousel-arrow { display: none; }
    .testimonial-stage { min-height: 500px; padding: 42px 24px 76px; }
    .testimonial-track { min-height: 350px; }
    .testimonial-text { font-size: 17px; }
    .testimonial-controls { left: 24px; right: 24px; bottom: 23px; }
    .gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px 190px; gap: 11px; }
    .gallery-large { grid-column: 1 / -1; grid-row: auto; }
    .gallery-item:nth-child(5) { grid-column: auto; }
    .gallery-item > span { left: 14px; bottom: 12px; }
    .gallery-item strong { font-size: 13px; }
    .gallery-item small { display: none; }
    .footer-inner { padding: 55px 0 40px; grid-template-columns: 1fr 1fr; gap: 38px 28px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contact { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom div { gap: 15px; flex-wrap: wrap; }
    .subpage-hero { height: 220px; }
    .subpage-hero h1 { font-size: 34px; }
    .committee-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .member-copy { padding: 14px; }
}

/* =========================================================
   V3 refinement layer — compact premium motorsport direction
   ========================================================= */
:root {
    --race-yellow: #f5ca28;
    --race-red: #ed1c24;
    --race-ink: #14171b;
}

/* Tighter global rhythm */
.container-wide { width: min(1360px, calc(100% - 72px)); }
.section { position: relative; padding: 62px 0; overflow: hidden; }
.section-head { margin-bottom: 28px; }
.section-head h2, .about-copy h2, .testimonial-intro h2 { font-size: clamp(30px, 2.65vw, 42px); }
.section-label { margin-bottom: 8px; }

/* Header: closer to the current ISNEE proportions, with a restrained racing accent */
.site-header { height: 84px; }
.header-inner { width: min(1430px, calc(100% - 72px)); grid-template-columns: 170px 1fr auto; }
.brand img { width: 112px; height: auto; }
.site-header::after { display: none !important; content: none !important; }
.primary-nav { gap: 30px; }
.primary-nav a { font-size: 12px; letter-spacing: .055em; }
.whatsapp-help { min-width: 176px; }

/* Hero: fit the landing composition within the first screen on normal desktop zoom. */
.hero {
    min-height: 500px;
    height: min(640px, calc(100svh - 84px));
    max-height: 640px;
    background: #111419;
}
.hero-poster {
    transform: none;
    background:
        radial-gradient(circle at 78% 34%, rgba(237,28,36,.18), transparent 23%),
        radial-gradient(circle at 23% 72%, rgba(245,202,40,.11), transparent 23%),
        linear-gradient(115deg, rgba(255,255,255,.045) 0 1px, transparent 1px 72px),
        linear-gradient(180deg, #1b2027 0%, #0d1014 72%, #090b0e 100%);
    overflow: hidden;
}
.hero-poster::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -14%;
    height: 72%;
    opacity: .58;
    background:
        linear-gradient(73deg, transparent 0 35%, rgba(255,255,255,.10) 35.15% 35.45%, transparent 35.6% 47%, rgba(255,255,255,.06) 47.15% 47.35%, transparent 47.5%),
        linear-gradient(107deg, transparent 0 35%, rgba(255,255,255,.10) 35.15% 35.45%, transparent 35.6% 47%, rgba(255,255,255,.06) 47.15% 47.35%, transparent 47.5%);
    transform: perspective(500px) rotateX(56deg);
    transform-origin: bottom center;
}
.hero-poster::after {
    content: "";
    position: absolute;
    width: 410px;
    height: 210px;
    right: -70px;
    top: 34px;
    opacity: .13;
    transform: rotate(-8deg);
    background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 42px 42px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent);
}
.hero-video { transition: opacity .55s ease; }
.hero-video iframe { transform: translate(-50%, -50%) scale(1.015); }
.hero-shade { background: linear-gradient(90deg, rgba(8,10,13,.22), rgba(8,10,13,.18) 48%, rgba(8,10,13,.42)), linear-gradient(180deg, rgba(8,10,13,.03), rgba(8,10,13,.28)); }
.hero-grid { opacity: .045; background-size: 72px 72px; }
.hero-shell { width: min(1360px, calc(100% - 72px)); }
.hero-copy { width: min(660px, 50vw); margin-right: 5.5%; min-height: 230px; }
.hero-kicker { margin-bottom: 12px; font-size: 12px; letter-spacing: .055em; }
.hero h1 { font-size: clamp(38px, 3.85vw, 58px); line-height: 1.04; max-width: 660px; }
.hero-progress { bottom: 6px; }
.hero-bottom { width: min(1360px, calc(100% - 72px)); bottom: 14px; }
.hero::after {
    content: "";
    position: absolute;
    z-index: 6;
    left: 0;
    bottom: 0;
    width: 320px;
    height: 5px;
    background: linear-gradient(90deg, var(--race-yellow) 0 31%, transparent 31% 33%, var(--race-red) 33% 65%, transparent 65% 68%, #3a3f47 68% 100%);
    clip-path: polygon(2% 0,100% 0,98% 100%,0 100%);
}

/* Reusable subtle motorsport graphics — visual energy without template gimmicks */
.initiatives-section::before,
.quick-section::before,
.gallery-section::before {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 320px;
    height: 150px;
    right: -42px;
    top: 12px;
    opacity: .038;
    transform: rotate(-8deg);
    background: conic-gradient(#101216 25%, transparent 0 50%, #101216 0 75%, transparent 0) 0 0 / 34px 34px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
    mask-image: linear-gradient(90deg, transparent, #000 42%, #000);
}
.initiatives-section::after,
.quick-section::after,
.testimonial-section::after,
.gallery-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: max(36px, calc((100% - 1360px)/2));
    top: 28px;
    width: 126px;
    height: 4px;
    background: linear-gradient(90deg, var(--race-yellow) 0 29%, transparent 29% 33%, var(--race-red) 33% 68%, transparent 68% 72%, #2e3238 72% 100%);
    transform: skewX(-18deg);
    opacity: .9;
}

/* About */
.about-section { padding-top: 56px; padding-bottom: 56px; }
.about-layout { gap: 54px; align-items: center; }
.about-photo-wrap > img { aspect-ratio: 1.55 / 1; }
.about-copy p { margin-top: 18px; line-height: 1.72; }
.feature-list { margin-top: 22px; gap: 0 28px; }
.feature-list > div { min-height: 42px; }
.about-year-mark { padding-top: 14px; padding-bottom: 14px; }

/* Initiatives: compact editorial cards */
.initiatives-section { padding-top: 58px; padding-bottom: 58px; }
.initiative-grid { gap: 18px; }
.initiative-card { border-radius: 12px; box-shadow: 0 8px 24px rgba(20,24,30,.035); }
.initiative-image img { aspect-ratio: 1.85 / 1; }
.initiative-body { padding: 18px 19px 19px; }
.initiative-body h3 { margin-bottom: 7px; font-size: 18px; }
.initiative-body p { min-height: 66px; margin-bottom: 12px; font-size: 13px; line-height: 1.55; }

/* Quick links: lower height and stronger motorsport crop */
.quick-section { padding-top: 58px; padding-bottom: 58px; }
.quick-track { grid-auto-columns: minmax(285px, 30.5%); gap: 17px; }
.quick-card { height: 300px; border-radius: 12px; box-shadow: 0 12px 30px rgba(15,23,42,.09); }
.quick-content { left: 20px; right: 20px; bottom: 18px; }
.quick-content strong { font-size: 21px; }
.quick-content em { max-width: 300px; font-size: 12px; line-height: 1.5; }

/* Testimonials: profile first, constrained review body, Read More only when needed */
.testimonial-section { padding-top: 58px; padding-bottom: 58px; }
.testimonial-layout { grid-template-columns: 1.2fr .8fr; gap: 54px; align-items: center; }
.testimonial-stage { min-height: 390px; padding: 40px 48px 68px; border-radius: 12px; }
.quote-mark { right: 36px; top: 12px; font-size: 92px; opacity: .72; }
.testimonial-track { min-height: 278px; }
.testimonial-card { justify-content: flex-start; }
.testimonial-person { order: 0; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.10); }
.testimonial-person img { width: 52px; height: 52px; }
.testimonial-person strong { font-size: 14px; color: #fff; }
.testimonial-person span, .testimonial-person small { font-size: 11px; }
.testimonial-copy { position: relative; }
.testimonial-text {
    max-width: 760px;
    height: 154px;
    overflow: hidden;
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 16px;
    line-height: 1.6;
    transition: height .25s ease;
}
.testimonial-card.is-expanded .testimonial-text { height: 226px; overflow-y: auto; padding-right: 7px; }
.testimonial-more {
    display: none;
    margin-top: 10px;
    padding: 0;
    background: transparent;
    color: #fff;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.42);
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.testimonial-more.is-visible { display: inline-block; }
.testimonial-controls { left: 48px; right: 48px; bottom: 20px; }
.testimonial-intro p { margin-top: 16px; line-height: 1.65; }
.testimonial-rule { margin: 22px 0 15px; }

/* Gallery tightened */
.gallery-section { padding-top: 58px; padding-bottom: 58px; }
.gallery-grid { grid-template-rows: 215px 215px; gap: 14px; }

/* Footer: shorter, with subtle racing geometry */
.site-footer { overflow: hidden; background: linear-gradient(145deg, #111419, #0b0d10 72%); }
.site-footer::before {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 330px;
    height: 210px;
    right: -76px;
    top: 42px;
    opacity: .12;
    transform: rotate(-8deg);
    background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 30px 30px;
    -webkit-mask-image: radial-gradient(circle at 42% 50%, #000, transparent 73%);
    mask-image: radial-gradient(circle at 42% 50%, #000, transparent 73%);
}
.site-footer::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: -90px;
    bottom: 35px;
    width: 560px;
    height: 190px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 50%;
    transform: rotate(-9deg);
    box-shadow: 0 0 0 30px rgba(255,255,255,.012), 0 0 0 64px rgba(255,255,255,.008);
}
.footer-accent { height: 4px; background: linear-gradient(90deg, var(--race-red) 0 24%, var(--race-yellow) 24% 35%, #34383e 35% 48%, transparent 48%); }
.footer-inner { position: relative; z-index: 1; padding: 52px 0 40px; gap: 50px; }
.footer-brand p { margin: 17px 0; line-height: 1.66; }
.social-row { margin-top: 16px; }
.footer-column { gap: 9px; }
.footer-column h3 { margin-bottom: 9px; }
.footer-bottom { position: relative; z-index: 1; padding-top: 16px; padding-bottom: 18px; }

@media (max-width: 1180px) {
    .hero-copy { width: min(620px, 54vw); margin-right: 2%; }
    .testimonial-layout { gap: 38px; }
}

@media (max-width: 980px) {
    .site-header { height: 76px; }
    .header-inner { height: 76px; }
    .primary-nav { top: 76px; }
    .hero { height: min(600px, calc(100svh - 76px)); min-height: 500px; }
    .hero-shell { justify-content: center; }
    .hero-copy { width: 100%; margin: 0; }
    .testimonial-layout { grid-template-columns: 1fr; gap: 26px; }
    .testimonial-intro { grid-row: 1; }
    .testimonial-stage { min-height: 370px; }
    .initiative-image img { aspect-ratio: 1.75 / 1; }
    .quick-card { height: 285px; }
}

@media (max-width: 680px) {
    .section { padding: 48px 0; }
    .site-header { height: 70px; }
    .header-inner { height: 70px; }
    .primary-nav { top: 70px; }
    .hero { height: min(540px, calc(100svh - 70px)); min-height: 460px; }
    .hero-copy { padding-bottom: 65px; }
    .hero h1 { font-size: clamp(32px, 10vw, 43px); }
    .hero-bottom { bottom: 12px; }
    .hero::after { width: 210px; }
    .about-section, .initiatives-section, .quick-section, .testimonial-section, .gallery-section { padding-top: 48px; padding-bottom: 48px; }
    .initiative-grid { gap: 14px; }
    .quick-track { grid-auto-columns: 84%; gap: 13px; }
    .quick-card { height: 270px; }
    .testimonial-stage { min-height: 405px; padding: 30px 22px 62px; }
    .testimonial-person { margin-bottom: 16px; padding-bottom: 14px; }
    .testimonial-text { height: 176px; font-size: 15px; }
    .testimonial-card.is-expanded .testimonial-text { height: 242px; }
    .testimonial-controls { left: 22px; right: 22px; bottom: 18px; }
    .gallery-grid { grid-template-rows: 220px 165px 165px; }
    .footer-inner { padding-top: 44px; padding-bottom: 32px; }
}

/* =========================================================
   V4 — instant first paint + richer code-generated hero scene
   ========================================================= */
.hero-poster {
    overflow: hidden;
    transform: none;
    background:
        radial-gradient(circle at 78% 39%, rgba(237,28,36,.16), transparent 29%),
        radial-gradient(circle at 18% 76%, rgba(247,183,12,.07), transparent 24%),
        linear-gradient(118deg, #11161d 0%, #0d1117 44%, #101217 70%, #080a0d 100%);
}
.hero-poster::before {
    content: "";
    position: absolute;
    inset: -18% -8%;
    opacity: .22;
    background:
        repeating-linear-gradient(116deg, transparent 0 76px, rgba(255,255,255,.035) 77px 78px, transparent 79px 154px),
        linear-gradient(105deg, transparent 0 52%, rgba(237,28,36,.06) 52.2% 60%, transparent 60.2%);
    transform: translate3d(-1.5%,0,0);
    animation: heroSurfaceDrift 10s ease-in-out infinite alternate;
}
.hero-poster::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -31%;
    height: 62%;
    border-radius: 50% 50% 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow:
        0 -23px 0 -22px rgba(255,255,255,.055),
        0 -76px 0 -75px rgba(255,255,255,.035),
        0 -132px 0 -131px rgba(237,28,36,.05);
    transform: perspective(700px) rotateX(61deg) rotateZ(-3deg);
    transform-origin: 50% 100%;
    opacity: .62;
}
.hero-ambient { position: absolute; border-radius: 50%; filter: blur(58px); opacity: .55; will-change: transform, opacity; }
.hero-ambient-red { width: 440px; height: 300px; right: 10%; top: 19%; background: rgba(237,28,36,.16); animation: ambientFloatRed 6.8s ease-in-out infinite alternate; }
.hero-ambient-gold { width: 300px; height: 210px; left: 7%; bottom: 2%; background: rgba(247,183,12,.075); animation: ambientFloatGold 8s ease-in-out infinite alternate; }
.hero-checker {
    position: absolute;
    right: -2%;
    top: 4%;
    width: 390px;
    height: 235px;
    opacity: .115;
    transform: rotate(-7deg) skewX(-8deg);
    background: conic-gradient(from 90deg, rgba(255,255,255,.72) 25%, transparent 0 50%, rgba(255,255,255,.72) 0 75%, transparent 0) 0 0 / 34px 34px;
    -webkit-mask-image: linear-gradient(115deg, transparent 2%, #000 32%, #000 67%, transparent 96%);
    mask-image: linear-gradient(115deg, transparent 2%, #000 32%, #000 67%, transparent 96%);
    animation: checkerBreathe 5.6s ease-in-out infinite alternate;
}
.hero-speed-lines { position: absolute; inset: 0; overflow: hidden; opacity: .28; }
.hero-speed-lines i { position: absolute; display: block; height: 1px; width: 34vw; max-width: 560px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.23), transparent); transform: rotate(-13deg); }
.hero-speed-lines i:nth-child(1) { left: -12%; top: 33%; animation: speedLine 5.5s linear infinite; }
.hero-speed-lines i:nth-child(2) { left: 5%; top: 48%; width: 24vw; animation: speedLine 7s linear 1.1s infinite; }
.hero-speed-lines i:nth-child(3) { left: -6%; top: 67%; width: 42vw; opacity: .62; animation: speedLine 8.4s linear 2.2s infinite; }
.hero-speed-lines i:nth-child(4) { left: 21%; top: 84%; width: 22vw; opacity: .45; animation: speedLine 6.4s linear .4s infinite; }
.hero-track-code { position: absolute; left: 4%; bottom: 0; width: 42%; height: 24%; opacity: .22; perspective: 500px; }
.hero-track-code::before, .hero-track-code::after, .hero-track-code span { content: ""; position: absolute; bottom: -12%; height: 138%; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.34)); transform-origin: bottom; }
.hero-track-code::before { left: 12%; transform: rotate(26deg); }
.hero-track-code::after { right: 12%; transform: rotate(-26deg); }
.hero-track-code span:nth-child(1) { left: 37%; transform: rotate(10deg); }
.hero-track-code span:nth-child(2) { left: 50%; background: linear-gradient(180deg, transparent, rgba(247,183,12,.5)); }
.hero-track-code span:nth-child(3) { left: 63%; transform: rotate(-10deg); }
.hero-telemetry { position: absolute; left: 4%; top: 14%; width: min(44vw, 670px); height: 90px; opacity: .16; }
.hero-telemetry svg { width: 100%; height: 100%; }
.hero-telemetry path { fill: none; stroke: rgba(255,255,255,.78); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 920; stroke-dashoffset: 920; animation: telemetryDraw 5.4s ease-in-out infinite; }
.hero-race-tabs { position: absolute; left: 4%; top: 4%; display: flex; gap: 7px; transform: skewX(-18deg); opacity: .8; }
.hero-race-tabs b { width: 78px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.18); }
.hero-race-tabs b:nth-child(1) { background: rgba(247,183,12,.82); }
.hero-race-tabs b:nth-child(2) { background: rgba(237,28,36,.9); }
.hero-race-tabs b:nth-child(3) { width: 42px; }
.hero-grid { opacity: .055; background-size: 96px 96px; }
.hero-video { background: #090b0e; }
.hero-video.is-ready { animation: heroVideoReveal 1.05s ease both; }

@keyframes heroSurfaceDrift { to { transform: translate3d(1.5%,-1%,0); opacity: .72; } }
@keyframes ambientFloatRed { to { transform: translate(-28px,18px) scale(1.08); opacity: .72; } }
@keyframes ambientFloatGold { to { transform: translate(25px,-14px) scale(.94); opacity: .38; } }
@keyframes checkerBreathe { to { transform: rotate(-5deg) skewX(-8deg) translate(-12px,8px); opacity: .16; } }
@keyframes speedLine { 0% { transform: translateX(-10vw) rotate(-13deg); opacity: 0; } 18% { opacity: .5; } 72% { opacity: .22; } 100% { transform: translateX(70vw) rotate(-13deg); opacity: 0; } }
@keyframes telemetryDraw { 0%, 12% { stroke-dashoffset: 920; opacity: .25; } 48%, 72% { stroke-dashoffset: 0; opacity: .95; } 100% { stroke-dashoffset: -920; opacity: .2; } }
@keyframes heroVideoReveal { from { opacity: 0; } to { opacity: 1; } }

/* Async review placeholder — database access never blocks first paint. */
.testimonial-avatar-placeholder { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: linear-gradient(110deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.16) 40%, rgba(255,255,255,.08) 55%) 0 0 / 220% 100%; animation: reviewShimmer 1.4s linear infinite; }
.testimonial-placeholder .testimonial-text { color: rgba(255,255,255,.58); }
@keyframes reviewShimmer { to { background-position: -220% 0; } }

@media (prefers-reduced-motion: reduce) {
    .hero-poster::before, .hero-ambient, .hero-checker, .hero-speed-lines i, .hero-telemetry path, .testimonial-avatar-placeholder { animation: none !important; }
}

@media (max-width: 980px) {
    .hero-checker { width: 280px; height: 180px; opacity: .09; }
    .hero-telemetry { width: 56vw; top: 10%; }
    .hero-track-code { width: 56%; }
}

@media (max-width: 680px) {
    .hero-checker { right: -28%; top: 8%; width: 260px; height: 180px; }
    .hero-telemetry { left: -8%; top: 12%; width: 78vw; opacity: .11; }
    .hero-track-code { left: -7%; width: 75%; opacity: .16; }
    .hero-race-tabs { left: 21px; top: 18px; }
    .hero-race-tabs b { width: 54px; }
}

/* =========================================================
   V5 — hero refinement, staged media loading, richer quick links
   ========================================================= */

:root {
    --hero-panel: rgba(8, 10, 13, .68);
}

.section { padding-top: 54px; padding-bottom: 54px; }
.about-section, .initiatives-section, .quick-section, .testimonial-section, .gallery-section { padding-top: 54px; padding-bottom: 54px; }
.quick-section, .testimonial-section, .gallery-section { content-visibility: auto; contain-intrinsic-size: 760px; }

.lazy-media {
    opacity: 0;
    filter: saturate(.92) blur(2px);
    transition: opacity .42s ease, filter .42s ease, transform .55s cubic-bezier(.2,.65,.25,1);
}
.lazy-media.is-loaded {
    opacity: 1;
    filter: none;
}
.about-photo-wrap, .initiative-image, .quick-card, .gallery-item {
    background: linear-gradient(135deg, #e8edf2, #dfe5eb);
}
.quick-card,
.gallery-item,
.initiative-card,
.testimonial-stage,
.about-photo-wrap { transform: translateZ(0); }

/* Hero scene: remove the left checker slab feel and replace it with subtle circuit/vector energy. */
.hero-poster {
    background:
        radial-gradient(circle at 76% 36%, rgba(237,28,36,.17), transparent 30%),
        radial-gradient(circle at 20% 70%, rgba(245,182,25,.08), transparent 26%),
        linear-gradient(118deg, #10151c 0%, #0d1117 44%, #0d1015 73%, #080a0d 100%);
}
.hero-poster::before {
    inset: -14% -8%;
    opacity: .20;
    background:
        repeating-linear-gradient(116deg, transparent 0 84px, rgba(255,255,255,.026) 85px 86px, transparent 87px 170px),
        linear-gradient(107deg, transparent 0 48%, rgba(237,28,36,.06) 48.2% 58%, transparent 58.2%),
        linear-gradient(72deg, transparent 0 36%, rgba(247,183,12,.045) 36.2% 41%, transparent 41.2%);
}
.hero-poster::after {
    left: auto;
    right: -7%;
    bottom: -32%;
    width: 78%;
    height: 67%;
    border-radius: 50% 50% 0 0;
    border-top: 1px solid rgba(255,255,255,.07);
    box-shadow:
        0 -24px 0 -23px rgba(255,255,255,.05),
        0 -70px 0 -69px rgba(255,255,255,.026),
        0 -115px 0 -114px rgba(237,28,36,.04);
    transform: perspective(840px) rotateX(64deg) rotateZ(-4deg);
    opacity: .58;
}
.hero-shade {
    background:
        linear-gradient(90deg, rgba(8,10,13,.28), rgba(8,10,13,.18) 40%, rgba(8,10,13,.44)),
        linear-gradient(180deg, rgba(8,10,13,.02), rgba(8,10,13,.30));
}
.hero-grid {
    opacity: .04;
    background-size: 88px 88px;
    mask-image: linear-gradient(to left, #000, transparent 72%);
}
.hero-copy::before {
    content: "";
    position: absolute;
    inset: -28px -36px -20px -26px;
    border-radius: 28px;
    background: linear-gradient(90deg, rgba(8,10,13,.10), rgba(8,10,13,.02) 52%, rgba(8,10,13,.14));
    pointer-events: none;
}
.hero-copy > * { position: relative; z-index: 1; }
.hero-ambient-red { width: 470px; height: 300px; right: 11%; top: 18%; opacity: .6; }
.hero-ambient-gold { width: 280px; height: 200px; left: 7%; bottom: 6%; opacity: .38; }
.hero-speed-lines { inset: 0; overflow: hidden; opacity: .34; }
.hero-speed-lines i { height: 2px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), rgba(237,28,36,.28), transparent); box-shadow: 0 0 18px rgba(237,28,36,.06); }
.hero-speed-lines i:nth-child(1) { left: -14%; top: 26%; width: 30vw; animation-duration: 5.3s; }
.hero-speed-lines i:nth-child(2) { left: 2%; top: 40%; width: 24vw; animation-duration: 6.4s; animation-delay: .8s; }
.hero-speed-lines i:nth-child(3) { left: -8%; top: 57%; width: 40vw; animation-duration: 7.4s; animation-delay: 1.6s; }
.hero-speed-lines i:nth-child(4) { left: 10%; top: 74%; width: 26vw; animation-duration: 6.7s; animation-delay: .2s; }
.hero-speed-lines i:nth-child(5) { left: 18%; top: 85%; width: 16vw; animation-duration: 5.7s; animation-delay: 2.2s; }
.hero-glow-rails {
    position: absolute;
    left: 2%;
    bottom: 2%;
    width: 34%;
    height: 28%;
    opacity: .24;
    pointer-events: none;
}
.hero-glow-rails span {
    position: absolute;
    display: block;
    inset: auto 0 0 auto;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), rgba(247,183,12,.36), transparent);
    transform-origin: left center;
}
.hero-glow-rails span:nth-child(1) { bottom: 20%; transform: rotate(-9deg); }
.hero-glow-rails span:nth-child(2) { bottom: 48%; transform: rotate(-18deg); opacity: .72; }
.hero-glow-rails span:nth-child(3) { bottom: 74%; width: 85%; transform: rotate(-28deg); opacity: .44; }
.hero-circuit-map {
    position: absolute;
    left: 3%;
    top: 18%;
    width: min(21vw, 305px);
    aspect-ratio: 1 / 1;
    opacity: .14;
    transform: rotate(-10deg);
    filter: drop-shadow(0 0 24px rgba(255,255,255,.02));
}
.hero-circuit-map svg { width: 100%; height: 100%; }
.hero-circuit-map path {
    fill: none;
    stroke: rgba(255,255,255,.72);
    stroke-width: 10;
    stroke-linejoin: round;
    stroke-dasharray: 1450;
    stroke-dashoffset: 1450;
    animation: circuitReveal 10s ease-in-out infinite;
}
.hero-telemetry { left: 3.8%; top: 12.8%; width: min(40vw, 630px); opacity: .15; }
.hero-telemetry path { stroke-width: 1; }
.hero-decal {
    position: absolute;
    pointer-events: none;
    opacity: .22;
    border-radius: 999px;
    filter: blur(.1px);
}
.hero-decal-a {
    left: 15%;
    top: 22%;
    width: 230px;
    height: 60px;
    transform: rotate(-23deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.02), rgba(255,255,255,.08), transparent);
}
.hero-decal-b {
    left: 10%;
    bottom: 13%;
    width: 320px;
    height: 90px;
    transform: rotate(-16deg);
    background: linear-gradient(90deg, transparent, rgba(237,28,36,.045), rgba(247,183,12,.045), transparent);
}
.hero-video { background: radial-gradient(circle at 72% 40%, rgba(237,28,36,.06), transparent 28%), transparent; }
.hero-video iframe { transform: translate(-50%, -50%) scale(1.01); }

/* Compact section pacing. */
.about-layout { gap: 50px; }
.initiative-grid { gap: 16px; }
.gallery-grid { gap: 12px; }

/* Quick links: stronger readability with a controlled panel. */
.quick-section {
    background:
        linear-gradient(180deg, #f6f7f9 0%, #f3f5f7 100%);
}
.quick-shell { padding-top: 2px; }
.quick-track { gap: 16px; }
.quick-card {
    height: 312px;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.quick-card img,
.gallery-item img,
.initiative-image img,
.about-photo-wrap > img { opacity: 0; }
.quick-card img.is-loaded,
.gallery-item img.is-loaded,
.initiative-image img.is-loaded,
.about-photo-wrap > img.is-loaded { opacity: 1; }
.quick-overlay {
    background: linear-gradient(180deg, rgba(10,11,13,.04) 0%, rgba(10,11,13,.18) 36%, rgba(10,11,13,.72) 74%, rgba(10,11,13,.92) 100%);
}
.quick-content {
    left: 16px;
    right: 16px;
    bottom: 14px;
    padding: 15px 16px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(11,14,18,.24), rgba(11,14,18,.62) 24%, rgba(11,14,18,.88) 100%);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 32px rgba(0,0,0,.18);
}
.quick-content small { color: #ffd2d5; }
.quick-content strong { font-size: 22px; text-shadow: 0 2px 12px rgba(0,0,0,.42); }
.quick-content em {
    max-width: none;
    margin-top: 8px;
    color: rgba(255,255,255,.82);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quick-content b { margin-top: 12px; }
.quick-card:hover img { transform: scale(1.035); }

/* Gallery/initiative placeholders look intentional while content is deferred. */
.initiative-image,
.gallery-item,
.quick-card { position: relative; }
.initiative-image::before,
.gallery-item::before,
.quick-card::before,
.about-photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.06) 20%, transparent 42% 100%);
    z-index: 0;
}
.initiative-image img,
.gallery-item img,
.quick-card img,
.about-photo-wrap > img { position: relative; z-index: 1; }

/* Footer: extra vectors without becoming loud. */
.site-footer::before {
    top: 155px;
    right: 1070px;
    width: 390px;
    height: 210px;
    opacity: .02;
    background-size: 30px 30px;
}
.site-footer::after { opacity: .95; }
.footer-inner::before {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 34%;
    bottom: 18px;
    width: 260px;
    height: 110px;
    opacity: .09;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;
    transform: rotate(-12deg);
    box-shadow: 0 0 0 24px rgba(255,255,255,.01), 0 0 0 48px rgba(255,255,255,.008);
}
.footer-inner::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 16%;
    top: 34px;
    width: 180px;
    height: 80px;
    opacity: .08;
    transform: rotate(-12deg);
    background: linear-gradient(90deg, transparent 0 5%, rgba(247,183,12,.85) 5% 32%, transparent 32% 38%, rgba(237,28,36,.9) 38% 72%, transparent 72% 78%, rgba(255,255,255,.28) 78% 100%);
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}
.footer-column,
.footer-brand,
.footer-bottom {
    position: relative;
    z-index: 2;
}

@keyframes circuitReveal {
    0%, 15% { stroke-dashoffset: 1450; opacity: .06; }
    45%, 68% { stroke-dashoffset: 0; opacity: .82; }
    100% { stroke-dashoffset: -1450; opacity: .08; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-circuit-map path,
    .hero-glow-rails span,
    .hero-speed-lines i { animation: none !important; }
}

@media (max-width: 980px) {
    .hero-circuit-map { left: -2%; top: 16%; width: min(31vw, 250px); opacity: .11; }
    .hero-glow-rails { width: 46%; opacity: .18; }
    .hero-copy::before { inset: -18px -18px -16px -16px; }
    .quick-card { height: 292px; }
}

@media (max-width: 680px) {
    .section,
    .about-section, .initiatives-section, .quick-section, .testimonial-section, .gallery-section { padding-top: 46px; padding-bottom: 46px; }
    .hero-circuit-map { display: none; }
    .hero-telemetry { width: 78vw; left: -6%; top: 16%; opacity: .11; }
    .hero-glow-rails { width: 62%; left: -4%; opacity: .14; }
    .hero-copy::before { inset: -10px -10px 36px -10px; border-radius: 18px; }
    .quick-track { gap: 13px; }
    .quick-card { height: 276px; }
    .quick-content { left: 12px; right: 12px; bottom: 12px; padding: 13px 13px 12px; border-radius: 14px; }
    .quick-content strong { font-size: 20px; }
    .footer-inner::before,
    .footer-inner::after { display: none; }
}

/* V5 small stacking fix */
.quick-overlay { z-index: 2; }
.quick-content { z-index: 3; }

/* =========================================================
   V6 — compact homepage scale + original-style quick link cards
   ========================================================= */

/* Overall desktop scale: more information per viewport, less scrolling. */
.container-wide { width: min(1240px, calc(100% - 64px)); }
.section { padding-top: 44px; padding-bottom: 44px; }
.about-section, .initiatives-section, .quick-section, .testimonial-section, .gallery-section { padding-top: 44px; padding-bottom: 44px; }
.section-head { margin-bottom: 22px; }
.section-head h2, .about-copy h2, .testimonial-intro h2 { font-size: clamp(28px, 2.25vw, 36px); line-height: 1.1; }
.section-head p { margin-top: 9px; font-size: 14px; line-height: 1.55; }
.section-label { font-size: 10px; letter-spacing: .17em; margin-bottom: 6px; }
.button { min-height: 42px; padding: 0 18px; font-size: 12px; }

/* Header remains premium but a little less dominant. */
.site-header { height: 78px; }
.header-inner { width: min(1370px, calc(100% - 64px)); grid-template-columns: 150px 1fr auto; }
.brand img { width: 104px; }
.primary-nav { gap: 28px; }
.primary-nav a { padding-top: 28px; padding-bottom: 27px; font-size: 11px; }
.primary-nav a::after { bottom: 21px; }
.whatsapp-help { min-width: 166px; }
.wa-icon { width: 40px; height: 40px; }

/* Hero: keep strong presence without oversized wrapping. */
.hero { min-height: 480px; height: min(590px, calc(100svh - 78px)); max-height: 590px; }
.hero-shell { width: min(1280px, calc(100% - 64px)); }
.hero-copy { width: min(740px, 56vw); margin-right: 3.5%; min-height: 215px; }
.hero h1 { max-width: 740px; font-size: clamp(34px, 3vw, 48px); line-height: 1.035; letter-spacing: -.038em; }
.hero-kicker { margin-bottom: 10px; font-size: 11px; }
.hero-bottom { width: min(1280px, calc(100% - 64px)); font-size: 10px; bottom: 12px; }
.hero-copy::before { inset: -18px -24px -15px -18px; }
.hero-circuit-map { width: min(18vw, 255px); opacity: .11; }
.hero-telemetry { width: min(34vw, 520px); opacity: .11; }
.hero-speed-lines { opacity: .25; }

/* About: landscape image and tighter copy, closer to current-site density. */
.about-layout { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: 40px; }
.about-photo-wrap { border-radius: 4px 22px 4px 22px; }
.about-photo-wrap > img { aspect-ratio: 1.48 / 1; object-position: center 48%; }
.about-copy p { margin-top: 15px; font-size: 14px; line-height: 1.65; }
.feature-list { margin-top: 16px; column-gap: 24px; }
.feature-list > div { min-height: 36px; padding: 8px 0; font-size: 12px; }
.text-link { margin-top: 18px; font-size: 12px; }
.about-year-mark { width: 178px; padding: 12px 16px 13px; }
.about-year-mark strong { font-size: 25px; }
.about-year-mark span { font-size: 9px; }
.journey-link { left: 16px; bottom: 16px; padding: 7px 13px 7px 8px; font-size: 11px; }
.play-icon { width: 30px; height: 30px; }

/* Initiatives: clearly smaller than V5. */
.initiatives-section { padding-top: 42px; padding-bottom: 42px; }
.initiative-grid { gap: 14px; }
.initiative-card { border-radius: 11px; }
.initiative-image img { aspect-ratio: 1.92 / 1; }
.initiative-body { padding: 14px 15px 15px; }
.initiative-body h3 { margin-bottom: 5px; font-size: 16px; line-height: 1.2; }
.initiative-body p { min-height: 54px; margin-bottom: 9px; font-size: 11.5px; line-height: 1.48; }
.card-link { font-size: 11px; }

/* Quick links: image is allowed to make its impression; copy gets its own dark lower deck. */
.quick-section { padding-top: 42px; padding-bottom: 42px; }
.quick-track { grid-auto-columns: minmax(250px, 25.5%); gap: 14px; padding-bottom: 6px; }
.quick-card {
    height: 360px;
    border-radius: 12px;
    background: #0d1014;
    border: 1px solid rgba(15,23,42,.07);
    box-shadow: 0 10px 24px rgba(15,23,42,.08);
}
.quick-card img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 224px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.quick-overlay {
    z-index: 2;
    inset: 150px 0 132px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,12,15,.15) 30%, rgba(10,12,15,.78) 100%);
}
.quick-content {
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    height: 142px;
    padding: 15px 18px 14px;
    border: 0;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(180deg, #171a1f 0%, #0d1014 100%);
    backdrop-filter: none;
    box-shadow: none;
    justify-content: flex-start;
}
.quick-content small { margin-bottom: 5px; font-size: 8px; letter-spacing: .15em; color: #f1b6b9; }
.quick-content strong { font-size: 17px; line-height: 1.15; text-shadow: none; }
.quick-content em {
    margin-top: 6px;
    font-size: 10.5px;
    line-height: 1.42;
    color: rgba(255,255,255,.70);
    -webkit-line-clamp: 2;
}
.quick-content b { margin-top: auto; padding-top: 7px; font-size: 10px; }
.quick-card:hover img { transform: scale(1.025); }
.carousel-arrow { width: 38px; height: 38px; }
.carousel-arrow.prev { left: -18px; }
.carousel-arrow.next { right: -18px; }

/* Testimonials compacted to keep page rhythm brisk. */
.testimonial-section { padding-top: 44px; padding-bottom: 44px; }
.testimonial-layout { grid-template-columns: 1.12fr .88fr; gap: 42px; }
.testimonial-stage { min-height: 330px; padding: 30px 36px 58px; }
.testimonial-track { min-height: 228px; }
.testimonial-person { margin-bottom: 14px; padding-bottom: 12px; }
.testimonial-person img, .testimonial-avatar-placeholder { width: 44px; height: 44px; flex-basis: 44px; }
.testimonial-text { height: 132px; font-size: 14px; line-height: 1.55; }
.testimonial-card.is-expanded .testimonial-text { height: 190px; }
.testimonial-controls { left: 36px; right: 36px; bottom: 15px; }
.quote-mark { font-size: 76px; }

/* Gallery compact. */
.gallery-section { padding-top: 42px; padding-bottom: 42px; }
.gallery-grid { grid-template-rows: 185px 185px; gap: 11px; }
.gallery-item > span { left: 16px; bottom: 13px; }
.gallery-item strong { font-size: 14px; }

/* Footer remains visual but shorter. */
.footer-inner { width: min(1240px, calc(100% - 64px)); padding: 44px 0 34px; gap: 40px; }
.footer-bottom { width: min(1240px, calc(100% - 64px)); padding: 14px 0 16px; }
.footer-brand p { margin: 14px 0; font-size: 11.5px; line-height: 1.6; }
.footer-column { gap: 7px; }
.footer-column h3 { margin-bottom: 6px; }
.footer-column a { font-size: 11.5px; }

@media (max-width: 1180px) {
    .container-wide { width: min(1080px, calc(100% - 42px)); }
    .hero-copy { width: min(660px, 58vw); }
    .quick-track { grid-auto-columns: minmax(260px, 32%); }
}

@media (max-width: 980px) {
    .site-header { height: 74px; }
    .header-inner { min-height: 74px; height: 74px; }
    .primary-nav { top: 74px; }
    .hero { height: min(560px, calc(100svh - 74px)); min-height: 470px; }
    .hero-shell { justify-content: center; }
    .hero-copy { width: 100%; margin: 0; }
    .hero h1 { max-width: 660px; font-size: clamp(34px, 5.6vw, 47px); }
    .about-photo-wrap > img { aspect-ratio: 1.6 / 1; }
    .initiative-image img { aspect-ratio: 1.78 / 1; }
    .quick-track { grid-auto-columns: minmax(265px, 43%); }
    .quick-card { height: 350px; }
    .quick-card img { height: 216px; }
    .quick-content { height: 136px; }
}

@media (max-width: 680px) {
    .section, .about-section, .initiatives-section, .quick-section, .testimonial-section, .gallery-section { padding-top: 38px; padding-bottom: 38px; }
    .hero { height: min(520px, calc(100svh - 70px)); min-height: 450px; }
    .hero h1 { font-size: clamp(30px, 9.4vw, 40px); }
    .section-head h2, .about-copy h2, .testimonial-intro h2 { font-size: 29px; }
    .quick-track { grid-auto-columns: 82%; }
    .quick-card { height: 344px; }
    .quick-card img { height: 210px; }
    .quick-content { height: 136px; }
    .testimonial-stage { min-height: 355px; padding: 26px 20px 56px; }
    .testimonial-track { min-height: 240px; }
    .testimonial-text { height: 146px; font-size: 13.5px; }
    .gallery-grid { grid-template-rows: 210px 150px 150px; }
    .footer-app-card { max-width: 100%; }
    .footer-store-badges span { width: 96px; }
}

/* =========================================================
   V7 — corrections from 08 Aug review
   1) no dark panel behind hero copy
   2) wider/larger hero typography
   3) compact About media
   4) compact Initiative cards with fixed image height
   ========================================================= */

/* Hero: text sits directly over the video; only the global video shade remains. */
.hero-copy::before { display: none !important; }
.hero-shade {
    background:
        linear-gradient(90deg, rgba(7,9,12,.14) 0%, rgba(7,9,12,.08) 38%, rgba(7,9,12,.18) 100%),
        linear-gradient(180deg, rgba(7,9,12,.02) 0%, rgba(7,9,12,.22) 100%);
}
.hero-shell { width: min(1360px, calc(100% - 64px)); }
.hero-copy {
    width: min(900px, 66vw);
    margin-right: 2.5%;
    min-height: 245px;
}
.hero h1 {
    max-width: 900px;
    font-size: clamp(44px, 4vw, 62px);
    line-height: 1.025;
    letter-spacing: -.04em;
}
.hero-kicker { font-size: 12px; margin-bottom: 12px; letter-spacing: .06em; }
.hero-progress { right: 2px; bottom: 1px; }

/* About: the visual is now a deliberate compact landscape block, not a tall poster. */
.about-layout {
    grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
    gap: 46px;
    justify-content: center;
}
.about-visual {
    width: 100%;
    max-width: 520px;
    justify-self: end;
}
.about-photo-wrap {
    width: 100%;
    height: 390px;
    border-radius: 4px 20px 4px 20px;
}
.about-photo-wrap > img {
    width: 100%;
    height: 390px !important;
    aspect-ratio: auto !important;
    object-fit: cover;
    object-position: center 54%;
}
.about-year-mark { width: 166px; padding: 11px 14px 12px; }
.about-year-mark strong { font-size: 23px; }
.about-year-mark span { margin-top: 5px; font-size: 8.5px; }
.journey-link { left: 14px; bottom: 14px; }

/* Initiatives: force media height; do not let the source image ratio enlarge the cards. */
.initiatives-section { padding-top: 40px; padding-bottom: 40px; }
.initiative-grid { gap: 14px; }
.initiative-card { border-radius: 10px; }
.initiative-image {
    height: 198px;
}
.initiative-image img {
    width: 100%;
    height: 198px !important;
    aspect-ratio: auto !important;
    object-fit: cover;
}
.initiative-body { padding: 13px 14px 14px; }
.initiative-body h3 { font-size: 15.5px; margin-bottom: 5px; }
.initiative-body p {
    min-height: 50px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.45;
}
.card-link { font-size: 10.5px; }

@media (max-width: 1180px) {
    .hero-copy { width: min(820px, 68vw); }
    .hero h1 { max-width: 820px; font-size: clamp(42px, 4.3vw, 58px); }
    .about-layout { grid-template-columns: minmax(360px, 470px) minmax(0, 1fr); gap: 36px; }
    .about-visual { max-width: 470px; }
    .about-photo-wrap, .about-photo-wrap > img { height: 350px !important; }
    .initiative-image, .initiative-image img { height: 182px !important; }
}

@media (max-width: 980px) {
    .hero-copy { width: 100%; max-width: 780px; margin: 0 auto; }
    .hero h1 { max-width: 780px; font-size: clamp(40px, 6vw, 54px); }
    .about-layout { grid-template-columns: 1fr; }
    .about-visual { max-width: 650px; justify-self: center; }
    .about-photo-wrap, .about-photo-wrap > img { height: 390px !important; }
    .initiative-image, .initiative-image img { height: 200px !important; }
}

@media (max-width: 680px) {
    .hero-copy { max-width: 100%; }
    .hero h1 { max-width: 100%; font-size: clamp(32px, 10vw, 43px); }
    .about-photo-wrap, .about-photo-wrap > img { height: 300px !important; }
    .initiative-image, .initiative-image img { height: 190px !important; }
}

/* =========================================================
   Hero text refinement — wider editorial block, 3-line maximum
   ========================================================= */
.hero-copy {
    width: min(1060px, 74vw);
    max-width: 1060px;
    margin-right: 1.25%;
    min-height: 255px;
}
.hero-title {
    width: 100%;
    max-width: 1060px !important;
    font-size: clamp(44px, 4vw, 64px) !important;
    line-height: 1.025 !important;
    letter-spacing: -.041em !important;
}
.hero-title .hero-line {
    display: block;
}
.hero-title .hero-accent {
    color: #f22931;
    font-weight: 800;
    text-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.hero-title .hero-light {
    color: #ffffff;
    font-weight: 330;
    letter-spacing: -.035em;
}
.hero-kicker {
    margin-bottom: 13px;
}

/* Keep the deliberate editorial line breaks on normal desktop widths. */
@media (min-width: 1181px) {
    .hero-title .hero-line { white-space: nowrap; }
}

@media (max-width: 1180px) {
    .hero-copy {
        width: min(920px, 72vw);
        max-width: 920px;
        margin-right: 1.5%;
    }
    .hero-title {
        max-width: 920px !important;
        font-size: clamp(42px, 4.3vw, 58px) !important;
    }
}

@media (max-width: 980px) {
    .hero-copy {
        width: 100%;
        max-width: 820px;
        margin: 0 auto;
    }
    .hero-title {
        max-width: 820px !important;
        font-size: clamp(40px, 6vw, 54px) !important;
    }
    .hero-title .hero-line { white-space: normal; }
}

@media (max-width: 680px) {
    .hero-title {
        max-width: 100% !important;
        font-size: clamp(32px, 10vw, 43px) !important;
        line-height: 1.04 !important;
    }
    .hero-title .hero-line { display: inline; white-space: normal; }
    .hero-title .hero-line::after { content: " "; }
}

/* =========================================================
   HERO FINAL ALIGNMENT PATCH — consistent position + stronger type
   ========================================================= */
@media (min-width: 1181px) {
    .hero-shell {
        width: min(1460px, calc(100% - 72px));
        justify-content: flex-end;
    }

    .hero-copy {
        flex: 0 0 min(960px, 61vw);
        width: min(960px, 61vw);
        max-width: 960px;
        margin-right: 5.25%;
        min-height: 278px;
        display: flex;
        align-items: center;
        text-align: left;
    }

    .hero-slide {
        left: 0;
        right: 0;
        width: 100%;
    }

    .hero-title {
        width: 100%;
        max-width: 960px !important;
        margin: 0;
        font-size: clamp(46px, 4vw, 64px) !important;
        line-height: 1.02 !important;
        letter-spacing: -.039em !important;
        font-weight: 720 !important;
    }

    .hero-title .hero-line {
        display: block;
        white-space: nowrap;
        font-weight: 720;
    }

    .hero-title .hero-accent {
        color: #f1262f;
        font-weight: 850 !important;
        text-shadow: 0 2px 16px rgba(0,0,0,.15);
    }

    .hero-title .hero-light {
        color: #fff;
        font-weight: 520 !important;
        letter-spacing: -.032em;
    }

    .hero-kicker {
        margin-bottom: 14px;
        font-size: 13px;
        font-weight: 720;
        letter-spacing: .065em;
    }

    .hero-progress {
        right: 0;
        bottom: 0;
    }
}

/* The YouTube iframe is deliberately non-interactive and slightly overscanned.
   This keeps transient player chrome outside the visible composition. */
.hero-video {
    pointer-events: none !important;
}
.hero-video iframe {
    pointer-events: none !important;
    transform: translate(-50%, -50%) scale(1.065) !important;
}

@media (max-width: 1180px) and (min-width: 981px) {
    .hero-copy {
        width: min(880px, 68vw);
        max-width: 880px;
        margin-right: 3.5%;
    }
    .hero-title {
        max-width: 880px !important;
        font-size: clamp(44px, 4.35vw, 58px) !important;
        font-weight: 720 !important;
    }
    .hero-title .hero-line { font-weight: 720; }
    .hero-title .hero-accent { font-weight: 850 !important; }
    .hero-title .hero-light { font-weight: 520 !important; }
}

@media (max-width: 980px) {
    .hero-title,
    .hero-title .hero-line { font-weight: 710 !important; }
    .hero-title .hero-accent { font-weight: 840 !important; }
    .hero-title .hero-light { font-weight: 500 !important; }
}

/* =========================================================
   HERO POSITION + PREMIUM VIDEO OVERLAY — FINAL PATCH
   Only affects the homepage hero. No other section is changed.
   ========================================================= */

/* Cinematic full-frame shade: no box behind the copy. */
.hero-shade {
    background:
        linear-gradient(90deg,
            rgba(5,7,10,.14) 0%,
            rgba(5,7,10,.16) 38%,
            rgba(5,7,10,.20) 58%,
            rgba(5,7,10,.27) 100%),
        linear-gradient(180deg,
            rgba(4,6,8,.035) 0%,
            rgba(4,6,8,.08) 48%,
            rgba(4,6,8,.16) 100%) !important;
}

/* Keep both slider messages anchored to exactly the same place. */
@media (min-width: 1181px) {
    .hero-shell {
        width: min(1500px, calc(100% - 72px));
        justify-content: flex-end;
    }

    .hero-copy {
        position: relative;
        flex: 0 0 min(1100px, 68vw);
        width: min(1100px, 68vw);
        max-width: 1100px;
        margin-right: 5.5%;
        min-height: 286px;
        display: flex;
        align-items: center;
        text-align: left;
    }

    .hero-slide {
        position: absolute;
        left: 0 !important;
        right: auto !important;
        top: 50%;
        width: 100% !important;
        max-width: 1100px;
        transform: translateY(calc(-50% + 14px));
    }

    .hero-slide.is-active {
        transform: translateY(-50%);
    }

    .hero-title {
        width: 100%;
        max-width: 1100px !important;
        margin: 0;
        font-size: clamp(46px, 4vw, 64px) !important;
        line-height: 1.025 !important;
        letter-spacing: -.039em !important;
        font-weight: 760 !important;
    }

    .hero-title .hero-line {
        display: block;
        white-space: nowrap;
        font-weight: 760 !important;
    }

    .hero-title .hero-accent {
        color: #f1262f;
        font-weight: 860 !important;
    }

    .hero-title .hero-light {
        color: #fff;
        font-weight: 600 !important;
    }

    .hero-kicker {
        margin-bottom: 13px;
        font-size: 13px;
        font-weight: 760;
        letter-spacing: .065em;
    }

    .hero-progress {
        right: 0;
        bottom: 2px;
    }
}

@media (max-width: 1180px) and (min-width: 981px) {
    .hero-copy {
        width: min(930px, 72vw);
        max-width: 930px;
        margin-right: 3.5%;
    }

    .hero-title {
        max-width: 930px !important;
        font-weight: 750 !important;
    }

    .hero-title .hero-line { font-weight: 750 !important; }
    .hero-title .hero-accent { font-weight: 850 !important; }
    .hero-title .hero-light { font-weight: 590 !important; }
}

@media (max-width: 980px) {
    .hero-shade {
        background:
            linear-gradient(180deg, rgba(5,7,10,.10), rgba(5,7,10,.25)) !important;
    }
}

/* =========================================================
   HERO SLIDER POSITION — HARD OVERRIDE
   Purpose: keep BOTH slides fully inside viewport on desktop.
   This block intentionally overrides all earlier hero positioning.
   ========================================================= */
@media (min-width: 1181px) {
    #homeHero .hero-shell {
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: block !important;
    }

    #homeHero .hero-copy {
        position: absolute !important;
        left: 45% !important;
        right: auto !important;
        top: 50% !important;
        bottom: auto !important;
        width: 50% !important;
        max-width: 840px !important;
        min-height: 300px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-50%) !important;
        display: block !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    #homeHero .hero-slide,
    #homeHero .hero-slide.is-active {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: 50% !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 840px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #homeHero .hero-slide {
        transform: translateY(calc(-50% + 14px)) !important;
    }

    #homeHero .hero-slide.is-active {
        transform: translateY(-50%) !important;
    }

    #homeHero .hero-title {
        width: 100% !important;
        max-width: 840px !important;
        margin: 0 !important;
        font-size: clamp(50px, 4vw, 64px) !important;
        line-height: 1.025 !important;
        letter-spacing: -.038em !important;
        font-weight: 780 !important;
    }

    #homeHero .hero-title .hero-line {
        display: block !important;
        width: max-content !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        font-weight: 780 !important;
    }

    #homeHero .hero-title .hero-accent {
        color: #f1262f !important;
        font-weight: 880 !important;
    }

    #homeHero .hero-title .hero-light {
        color: #fff !important;
        font-weight: 650 !important;
    }

    #homeHero .hero-kicker {
        margin: 0 0 13px !important;
        font-size: 13px !important;
        font-weight: 760 !important;
        letter-spacing: .065em !important;
    }

    #homeHero .hero-progress {
        position: absolute !important;
        left: auto !important;
        right: 0 !important;
        bottom: -6px !important;
    }
}

/* Slightly narrower desktops: preserve the same anchor without clipping. */
@media (max-width: 1440px) and (min-width: 1181px) {
    #homeHero .hero-copy {
        left: 43% !important;
        width: 54% !important;
        max-width: 780px !important;
    }
    #homeHero .hero-slide,
    #homeHero .hero-slide.is-active,
    #homeHero .hero-title {
        max-width: 780px !important;
    }
    #homeHero .hero-title {
        font-size: clamp(48px, 4.1vw, 60px) !important;
    }
}

/* Full-frame cinematic overlay; no local black panel behind text. */
#homeHero .hero-shade {
    background:
        linear-gradient(90deg,
            rgba(5,7,10,.11) 0%,
            rgba(5,7,10,.13) 36%,
            rgba(5,7,10,.20) 58%,
            rgba(5,7,10,.30) 100%),
        linear-gradient(180deg,
            rgba(4,6,8,.025) 0%,
            rgba(4,6,8,.07) 52%,
            rgba(4,6,8,.15) 100%) !important;
}

#homeHero .hero-copy::before {
    display: none !important;
}

/* =========================================================
   V9 — premium loading graphics + circuit visibility + SVG socials
   ========================================================= */

/* Two subtle motorsport loading rails inspired by race-livery decals.
   They live only in the generated hero background, behind the video. */
#homeHero .hero-racing-loader {
    position: absolute;
    left: 3.4%;
    width: min(31vw, 470px);
    height: 34px;
    display: flex;
    align-items: center;
    gap: 0;
    opacity: .30;
    transform: skewX(18deg);
    pointer-events: none;
    overflow: hidden;
    filter: drop-shadow(0 0 12px rgba(237,28,36,.06));
}
#homeHero .hero-racing-loader-top { top: 28%; }
#homeHero .hero-racing-loader-bottom { top: 36%; left: 5.1%; }

#homeHero .hero-racing-loader span {
    position: relative;
    display: block;
    height: 13px;
    border: 1px solid rgba(255,255,255,.23);
    box-sizing: border-box;
}
#homeHero .hero-racing-loader .loader-red {
    flex: 0 0 34%;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(237,28,36,.94) 0 29px,
            rgba(255,255,255,.80) 30px 32px,
            rgba(237,28,36,.94) 33px 62px,
            rgba(255,255,255,.80) 63px 65px
        );
    box-shadow: inset 0 -2px 0 rgba(255,255,255,.18), 0 0 16px rgba(237,28,36,.11);
}
#homeHero .hero-racing-loader .loader-dark {
    flex: 1 1 auto;
    background: linear-gradient(90deg, rgba(29,30,34,.92), rgba(13,14,17,.94));
    box-shadow: inset 0 2px 0 rgba(255,255,255,.12);
}
#homeHero .hero-racing-loader-top {
    animation: raceRailIn 2.6s cubic-bezier(.22,.75,.24,1) infinite alternate;
}
#homeHero .hero-racing-loader-bottom {
    animation: raceRailInReverse 3.1s cubic-bezier(.22,.75,.24,1) .35s infinite alternate;
}
#homeHero .hero-racing-loader-bottom .loader-dark { flex-basis: 66%; }
#homeHero .hero-racing-loader-bottom .loader-red { flex-basis: 34%; }

@keyframes raceRailIn {
    0% { clip-path: inset(0 96% 0 0); opacity: .08; transform: translateX(-24px) skewX(18deg); }
    42%, 100% { clip-path: inset(0 0 0 0); opacity: .30; transform: translateX(0) skewX(18deg); }
}
@keyframes raceRailInReverse {
    0% { clip-path: inset(0 0 0 96%); opacity: .07; transform: translateX(22px) skewX(18deg); }
    42%, 100% { clip-path: inset(0 0 0 0); opacity: .26; transform: translateX(0) skewX(18deg); }
}

/* Make the technical circuit outline slightly more present without turning it into a focal graphic. */
#homeHero .hero-circuit-map {
    opacity: .19 !important;
    filter: drop-shadow(0 0 18px rgba(255,255,255,.035));
}
#homeHero .hero-circuit-map path {
    stroke: rgba(255,255,255,.82) !important;
}

/* Real vector social icons: no icon-font dependency, so no text/special-character fallback. */
.site-footer .social-row a {
    width: 36px;
    height: 36px;
    font-size: 0;
}
.site-footer .social-row a svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}
.site-footer .social-row a[aria-label="Instagram"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.site-footer .social-row a[aria-label="Instagram"] .social-dot {
    fill: currentColor;
    stroke: none;
}
.site-footer .social-row a[aria-label="YouTube"] .social-cut {
    fill: #111419;
}
.site-footer .social-row a:hover[aria-label="YouTube"] .social-cut {
    fill: var(--red);
}

@media (max-width: 1180px) {
    #homeHero .hero-racing-loader { width: min(38vw, 410px); opacity: .22; }
    #homeHero .hero-racing-loader-top { top: 24%; }
    #homeHero .hero-racing-loader-bottom { top: 31%; }
    #homeHero .hero-circuit-map { opacity: .16 !important; }
}

@media (max-width: 680px) {
    #homeHero .hero-racing-loader {
        left: 18px;
        width: 220px;
        height: 26px;
        opacity: .18;
    }
    #homeHero .hero-racing-loader-top { top: 18%; }
    #homeHero .hero-racing-loader-bottom { top: 24%; left: 34px; }
    #homeHero .hero-racing-loader span { height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
    #homeHero .hero-racing-loader-top,
    #homeHero .hero-racing-loader-bottom { animation: none !important; clip-path: none !important; }
}

/* =========================================================
   V10 — single RPM/loading rail + faster circuit trace
   ========================================================= */

/* Retire the V9 double rails completely. */
#homeHero .hero-racing-loader,
#homeHero .hero-racing-loader-top,
#homeHero .hero-racing-loader-bottom {
    display: none !important;
}

/* One loading/RPM rail positioned below the hero copy on the right.
   The illuminated red segments build in discrete steps instead of swiping. */
#homeHero .hero-rpm-loader {
    position: absolute;
    z-index: 1;
    right: clamp(86px, 8vw, 150px);
    top: 72%;
    width: min(39vw, 610px);
    height: 28px;
    pointer-events: none;
    transform: skewX(-18deg);
    opacity: .78;
    filter: drop-shadow(0 0 8px rgba(237,28,36,.05));
}

#homeHero .hero-rpm-loader span {
    position: absolute;
    inset: 7px 0 auto 0;
    height: 14px;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.28);
    background: linear-gradient(90deg, rgba(29,31,35,.94), rgba(12,14,17,.96));
    box-shadow: inset 0 2px 0 rgba(255,255,255,.09), 0 0 0 1px rgba(0,0,0,.18);
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
}

/* Fixed dark rail underneath. */
#homeHero .hero-rpm-loader span::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .48;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 55px,
            rgba(255,255,255,.13) 56px 58px,
            transparent 59px 64px
        );
}

/* Red blocks reveal one-by-one with steps(8), mimicking RPM/speed build-up. */
#homeHero .hero-rpm-loader span::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(237,28,36,.98) 0 52px,
            rgba(255,255,255,.78) 53px 55px,
            transparent 56px 64px
        );
    clip-path: inset(0 100% 0 0);
    filter: drop-shadow(0 0 8px rgba(237,28,36,.48));
    animation: rpmBlockBuild 2.75s steps(8, end) infinite;
}

/* Small end-cap accent to make the rail feel engineered rather than decorative. */
#homeHero .hero-rpm-loader::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 4px;
    width: 3px;
    height: 20px;
    background: rgba(247,183,12,.72);
    box-shadow: 0 0 9px rgba(247,183,12,.28);
}

@keyframes rpmBlockBuild {
    0%, 7% {
        clip-path: inset(0 100% 0 0);
        opacity: .55;
        filter: drop-shadow(0 0 2px rgba(237,28,36,.14));
    }
    70% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        filter: drop-shadow(0 0 11px rgba(237,28,36,.58));
    }
    84% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
        filter: drop-shadow(0 0 16px rgba(237,28,36,.72));
    }
    100% {
        clip-path: inset(0 100% 0 0);
        opacity: .5;
        filter: drop-shadow(0 0 2px rgba(237,28,36,.12));
    }
}

/* Circuit trace completes much faster, then pauses briefly before restarting. */
#homeHero .hero-circuit-map {
    opacity: .21 !important;
}
#homeHero .hero-circuit-map path {
    animation: circuitRevealV10 4.2s ease-in-out infinite !important;
    stroke: rgba(255,255,255,.84) !important;
}

@keyframes circuitRevealV10 {
    0%, 7% {
        stroke-dashoffset: 1450;
        opacity: .20;
    }
    53% {
        stroke-dashoffset: 0;
        opacity: .92;
    }
    78% {
        stroke-dashoffset: 0;
        opacity: .86;
    }
    100% {
        stroke-dashoffset: -1450;
        opacity: .20;
    }
}

@media (max-width: 1180px) {
    #homeHero .hero-rpm-loader {
        right: 54px;
        top: 74%;
        width: min(43vw, 500px);
    }
}

@media (max-width: 980px) {
    #homeHero .hero-rpm-loader {
        right: 36px;
        top: 76%;
        width: 50vw;
        opacity: .62;
    }
}

@media (max-width: 680px) {
    #homeHero .hero-rpm-loader {
        right: 20px;
        top: auto;
        bottom: 54px;
        width: min(72vw, 330px);
        height: 23px;
        opacity: .58;
    }
    #homeHero .hero-rpm-loader span {
        height: 11px;
        inset: 6px 0 auto 0;
    }
    #homeHero .hero-rpm-loader span::before {
        background: repeating-linear-gradient(90deg, transparent 0 35px, rgba(255,255,255,.13) 36px 38px, transparent 39px 44px);
    }
    #homeHero .hero-rpm-loader span::after {
        background: repeating-linear-gradient(90deg, rgba(237,28,36,.98) 0 33px, rgba(255,255,255,.76) 34px 36px, transparent 37px 44px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #homeHero .hero-rpm-loader span::after {
        animation: none !important;
        clip-path: inset(0 35% 0 0);
    }
    #homeHero .hero-circuit-map path {
        animation: none !important;
        stroke-dashoffset: 0 !important;
    }
}


/* =========================================================
   V11 — user-approved pre-video background
   Integrated from the supplied "ISNEE Hero Background Clean Fixed v3".
   ========================================================= */

    .hero-poster{
      position:absolute;
      inset:0;
      overflow:hidden;
      isolation:isolate;
      background:
        radial-gradient(circle at 78% 32%, rgba(237,28,36,.16), transparent 24%),
        radial-gradient(circle at 20% 74%, rgba(247,183,12,.08), transparent 24%),
        linear-gradient(115deg, #0d131b 0%, #0a0f16 34%, #090d13 58%, #07090d 100%);
    }

    .hero-poster::before{
      content:"";
      position:absolute;
      inset:-10% -6%;
      background:
        linear-gradient(120deg, transparent 0 18%, rgba(255,255,255,.025) 18.2% 18.35%, transparent 18.6% 100%),
        linear-gradient(120deg, transparent 0 28%, rgba(237,28,36,.032) 28.2% 37%, transparent 37.2% 100%),
        linear-gradient(120deg, transparent 0 70%, rgba(255,255,255,.018) 70.2% 70.35%, transparent 70.6% 100%),
        repeating-linear-gradient(116deg, transparent 0 118px, rgba(255,255,255,.022) 118px 119px, transparent 120px 240px);
      opacity:.58;
      transform:translate3d(0,0,0);
      animation:heroSurfaceDrift 14s ease-in-out infinite alternate;
    }

    .hero-poster::after{
      content:"";
      position:absolute;
      right:-4%;
      bottom:-28%;
      width:74%;
      height:66%;
      border-radius:50% 50% 0 0;
      border-top:1px solid rgba(255,255,255,.08);
      box-shadow:
        0 -22px 0 -21px rgba(255,255,255,.055),
        0 -64px 0 -63px rgba(255,255,255,.03),
        0 -104px 0 -103px rgba(237,28,36,.04);
      transform:perspective(900px) rotateX(65deg) rotateZ(-5deg);
      opacity:.52;
      pointer-events:none;
    }

    .hero-grid,
    .hero-content-safe,
    .hero-diagonal-sweep,
    .hero-ambient,
    .hero-telemetry,
    .hero-circuit-map,
    .hero-airflow,
    .hero-particles,
    .hero-sector-arcs,
    .hero-glow-rails,
    .hero-rpm-wrap,
    .hero-race-tabs,
    .hero-speedometer{
      position:absolute;
      pointer-events:none;
    }

    .hero-grid{
      inset:0;
      opacity:.20;
      background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
      background-size: 66px 66px, 66px 66px;
      mask-image:linear-gradient(90deg, rgba(0,0,0,1) 0 58%, rgba(0,0,0,.25) 80%, transparent 100%);
    }

    .hero-content-safe{
      inset:0;
      background:linear-gradient(90deg, rgba(8,11,16,0) 0 52%, rgba(8,11,16,.14) 64%, rgba(8,11,16,.46) 76%, rgba(8,11,16,.76) 100%);
      z-index:1;
    }

    .hero-diagonal-sweep{
      left:-8%;
      top:8%;
      width:66%;
      height:42%;
      transform:rotate(-9deg);
      border-radius:44px;
      background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.035), rgba(237,28,36,.06), rgba(255,255,255,0));
      filter:blur(1px);
      opacity:.62;
    }

    .hero-ambient{
      border-radius:50%;
      filter:blur(65px);
      will-change:transform,opacity;
    }
    .hero-ambient-red{
      width:520px;height:270px;right:12%;top:16%;
      background:linear-gradient(135deg, rgba(237,28,36,.05), rgba(237,28,36,.16), rgba(237,28,36,.03));
      opacity:.58;transform:rotate(-13deg);animation:ambientFloatRed 8s ease-in-out infinite alternate;
    }
    .hero-ambient-gold{
      width:320px;height:200px;left:4%;bottom:6%;
      background:linear-gradient(135deg, rgba(247,183,12,.05), rgba(247,183,12,.10), rgba(247,183,12,.02));
      opacity:.40;transform:rotate(-18deg);animation:ambientFloatGold 10s ease-in-out infinite alternate;
    }

    .hero-race-tabs{left:4%;top:4%;display:flex;gap:8px;transform:skewX(-18deg);opacity:.9;z-index:2}
    .hero-race-tabs b{width:88px;height:4px;border-radius:3px;background:rgba(255,255,255,.15)}
    .hero-race-tabs b:nth-child(1){background:rgba(247,183,12,.92)}
    .hero-race-tabs b:nth-child(2){background:rgba(237,28,36,.92)}
    .hero-race-tabs b:nth-child(3){width:48px;background:rgba(255,255,255,.22)}

    .hero-telemetry{left:5%;top:12%;width:min(42vw,660px);height:96px;opacity:.16;z-index:1}
    .hero-telemetry svg{width:100%;height:100%}
    .hero-telemetry path{fill:none;stroke:rgba(255,255,255,.78);stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:920;stroke-dashoffset:920;animation:telemetryDraw 6.5s ease-in-out infinite}

    .hero-circuit-map{
      left:5.5%;top:18.5%;width:min(28vw,430px);aspect-ratio:1/1;opacity:.78;transform:rotate(-8deg);
      filter:drop-shadow(0 0 16px rgba(255,255,255,.04)) drop-shadow(0 0 10px rgba(237,28,36,.03));z-index:2;
    }
    .hero-circuit-map svg{width:100%;height:100%;overflow:visible}

    .track-base{
      fill:none;
      stroke:rgba(255,255,255,.14);
      stroke-width:7;
      stroke-linejoin:round;
      stroke-linecap:round;
    }
    .track-outline{
      fill:none;
      stroke:rgba(255,255,255,.34);
      stroke-width:7;
      stroke-linejoin:round;
      stroke-linecap:round;
      opacity:0;
    }
    .track-glow{
      fill:none;
      stroke:var(--red-soft);
      stroke-width:12;
      stroke-linejoin:round;
      stroke-linecap:round;
      filter:blur(3px);
      opacity:0;
    }
    .track-sheen{
      fill:none;
      stroke:rgba(255,255,255,.22);
      stroke-width:3;
      stroke-linejoin:round;
      stroke-linecap:round;
      opacity:0;
    }

    .hero-airflow,
    .hero-airflow::before,
    .hero-airflow::after{
      content:"";
      border-radius:999px;
      background:linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.12), rgba(237,28,36,.10), rgba(255,255,255,0));
      height:2px;filter:blur(.2px);
    }
    .hero-airflow{left:2%;top:35%;width:20vw;opacity:.26;transform:rotate(-10deg);animation:airflowOne 10s linear infinite;z-index:0}
    .hero-airflow::before{content:"";position:absolute;width:26vw;left:12vw;top:90px;transform:rotate(-3deg);opacity:.6;animation:airflowTwo 11s linear infinite}
    .hero-airflow::after{content:"";position:absolute;width:18vw;left:4vw;top:208px;opacity:.44;transform:rotate(-6deg);animation:airflowThree 8.4s linear infinite}

    .hero-particles{inset:0;opacity:.42;z-index:0}
    .hero-particles i{position:absolute;display:block;width:2px;height:2px;background:rgba(255,255,255,.42);border-radius:50%;box-shadow:0 0 8px rgba(255,255,255,.25);animation:particleFloat 12s linear infinite}
    .hero-particles i:nth-child(1){left:14%;top:19%;animation-duration:10s;animation-delay:-2s}
    .hero-particles i:nth-child(2){left:18%;top:34%;animation-duration:13s;animation-delay:-5s}
    .hero-particles i:nth-child(3){left:26%;top:58%;animation-duration:11.5s;animation-delay:-1.5s}
    .hero-particles i:nth-child(4){left:34%;top:22%;animation-duration:14s;animation-delay:-8s}
    .hero-particles i:nth-child(5){left:38%;top:74%;animation-duration:9.5s;animation-delay:-3s}
    .hero-particles i:nth-child(6){left:48%;top:30%;animation-duration:12.4s;animation-delay:-7s}
    .hero-particles i:nth-child(7){left:58%;top:66%;animation-duration:13.7s;animation-delay:-6s}
    .hero-particles i:nth-child(8){left:66%;top:18%;animation-duration:10.8s;animation-delay:-4s}

    .hero-sector-arcs{right:7%;top:16%;width:min(22vw,300px);aspect-ratio:1/1;opacity:.22;z-index:0}
    .hero-sector-arcs svg{width:100%;height:100%}
    .hero-sector-arcs path,.hero-sector-arcs circle{fill:none;stroke:rgba(255,255,255,.30);stroke-width:1.5}

    .hero-glow-rails{left:3%;bottom:2%;width:36%;height:30%;opacity:.22;z-index:0}
    .hero-glow-rails span{position:absolute;display:block;right:0;bottom:0;width:100%;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),rgba(247,183,12,.34),transparent);transform-origin:left center}
    .hero-glow-rails span:nth-child(1){bottom:18%;transform:rotate(-9deg)}
    .hero-glow-rails span:nth-child(2){bottom:46%;transform:rotate(-18deg);opacity:.72}
    .hero-glow-rails span:nth-child(3){bottom:72%;width:86%;transform:rotate(-28deg);opacity:.44}

    .hero-rpm-wrap{right:6%;bottom:16%;width:min(36vw,580px);z-index:3}
    .hero-rpm-loader{
      position:relative;height:26px;display:flex;align-items:center;gap:5px;transform:skewX(-16deg);opacity:.92;
    }
    .hero-rpm-loader::before{content:"";position:absolute;inset:auto -8px 50% -8px;height:2px;transform:translateY(-50%);background:rgba(255,255,255,.06);box-shadow:0 0 8px rgba(255,255,255,.025)}
    .hero-rpm-loader span{position:relative;flex:1;height:12px;opacity:.12;background:rgba(237,28,36,.18);border:1px solid rgba(255,255,255,.08);clip-path:polygon(12% 0,100% 0,88% 100%,0 100%);animation-duration:3.1s;animation-iteration-count:infinite;animation-timing-function:steps(1,end)}
    .hero-rpm-loader span:nth-child(1){animation-name:rpmBlock1}
    .hero-rpm-loader span:nth-child(2){animation-name:rpmBlock2}
    .hero-rpm-loader span:nth-child(3){animation-name:rpmBlock3}
    .hero-rpm-loader span:nth-child(4){animation-name:rpmBlock4}
    .hero-rpm-loader span:nth-child(5){animation-name:rpmBlock5}
    .hero-rpm-loader span:nth-child(6){animation-name:rpmBlock6}
    .hero-rpm-loader span:nth-child(7){animation-name:rpmBlock7}
    .hero-rpm-loader span:nth-child(8){animation-name:rpmBlock8}
    .hero-rpm-loader span:nth-child(9){animation-name:rpmBlock9}
    .hero-rpm-loader span:nth-child(10){animation-name:rpmBlock10}

    .hero-speedometer{
      right:5.7%;
      bottom:4.8%;
      width:min(37vw,600px);
      height:120px;
      opacity:.58;
      z-index:2;
    }
    .hero-speedometer svg{width:100%;height:100%;overflow:visible}
    .hero-speedometer .g-arc1{fill:none;stroke:rgba(255,255,255,.07);stroke-width:2}
    .hero-speedometer .g-arc2{fill:none;stroke:rgba(255,126,132,.08);stroke-width:1.6}
    .hero-speedometer .g-tick-major{stroke:rgba(255,126,132,.24);stroke-width:1.8;stroke-linecap:round}
    .hero-speedometer .g-tick-minor{stroke:rgba(255,255,255,.12);stroke-width:1;stroke-linecap:round}

    @keyframes heroSurfaceDrift{to{transform:translate3d(1.6%,-1.1%,0);opacity:.68}}
    @keyframes ambientFloatRed{to{transform:rotate(-13deg) translate(-32px,18px) scale(1.08);opacity:.72}}
    @keyframes ambientFloatGold{to{transform:rotate(-18deg) translate(28px,-16px) scale(.94);opacity:.48}}
    @keyframes telemetryDraw{0%,12%{stroke-dashoffset:920;opacity:.18}42%,72%{stroke-dashoffset:0;opacity:.96}84%{stroke-dashoffset:0;opacity:.55}100%{stroke-dashoffset:-920;opacity:.15}}
    @keyframes airflowOne{0%{transform:translateX(-4vw) rotate(-10deg);opacity:0}16%{opacity:.30}84%{opacity:.08}100%{transform:translateX(20vw) rotate(-10deg);opacity:0}}
    @keyframes airflowTwo{0%{transform:translateX(-6vw) rotate(-3deg);opacity:0}18%{opacity:.26}82%{opacity:.08}100%{transform:translateX(16vw) rotate(-3deg);opacity:0}}
    @keyframes airflowThree{0%{transform:translateX(-5vw) rotate(-6deg);opacity:0}18%{opacity:.22}78%{opacity:.06}100%{transform:translateX(18vw) rotate(-6deg);opacity:0}}
    @keyframes particleFloat{0%{transform:translate3d(0,0,0);opacity:0}10%{opacity:.44}70%{opacity:.16}100%{transform:translate3d(26px,-18px,0);opacity:0}}
    @keyframes rpmBlock1{0%{opacity:.12}6%,88%{opacity:1;background:#891016;box-shadow:0 0 6px rgba(237,28,36,.18)}100%{opacity:.12}}
    @keyframes rpmBlock2{0%,6%{opacity:.12}12%,88%{opacity:1;background:#a3121a;box-shadow:0 0 6px rgba(237,28,36,.22)}100%{opacity:.12}}
    @keyframes rpmBlock3{0%,12%{opacity:.12}18%,88%{opacity:1;background:#bb151d;box-shadow:0 0 6px rgba(237,28,36,.26)}100%{opacity:.12}}
    @keyframes rpmBlock4{0%,18%{opacity:.12}24%,88%{opacity:1;background:#c9181f;box-shadow:0 0 7px rgba(237,28,36,.30)}100%{opacity:.12}}
    @keyframes rpmBlock5{0%,24%{opacity:.12}30%,88%{opacity:1;background:#d81a21;box-shadow:0 0 7px rgba(237,28,36,.36)}100%{opacity:.12}}
    @keyframes rpmBlock6{0%,30%{opacity:.12}36%,88%{opacity:1;background:#e51b23;box-shadow:0 0 8px rgba(237,28,36,.42)}100%{opacity:.12}}
    @keyframes rpmBlock7{0%,36%{opacity:.12}42%,88%{opacity:1;background:#ed1c24;box-shadow:0 0 9px rgba(237,28,36,.50),0 0 16px rgba(237,28,36,.18)}100%{opacity:.12}}
    @keyframes rpmBlock8{0%,42%{opacity:.12}48%,88%{opacity:1;background:#f9252d;box-shadow:0 0 9px rgba(237,28,36,.62),0 0 18px rgba(237,28,36,.22)}100%{opacity:.12}}
    @keyframes rpmBlock9{0%,48%{opacity:.12}54%,88%{opacity:1;background:#ff2d36;box-shadow:0 0 10px rgba(237,28,36,.74),0 0 20px rgba(237,28,36,.28)}100%{opacity:.12}}
    @keyframes rpmBlock10{0%,54%{opacity:.12}60%,88%{opacity:1;background:#ff3a42;box-shadow:0 0 12px rgba(237,28,36,.84),0 0 24px rgba(237,28,36,.36)}100%{opacity:.12}}

    @media (max-width:1200px){
      .hero-rpm-wrap{width:min(40vw,520px)}
      .hero-speedometer{width:min(42vw,540px)}
    }
    @media (max-width:960px){
      .hero-sector-arcs{display:none}
      .hero-circuit-map{left:5%;top:20%;width:min(38vw,360px)}
      .hero-rpm-wrap{right:5%;bottom:12%;width:48vw}
      .hero-speedometer{right:4.7%;bottom:3.8%;width:50vw}
      .hero-content-safe{background:linear-gradient(180deg, rgba(8,11,16,.08), rgba(8,11,16,.30))}
    }
    @media (max-width:720px){
      .hero-circuit-map{width:min(52vw,300px);left:6%;top:22%}
      .hero-telemetry{width:74vw;left:6%;top:13%}
      .hero-rpm-wrap{left:6%;right:6%;width:auto;bottom:12%}
      .hero-speedometer{left:6%;right:6%;width:auto;bottom:2.5%;height:88px}
      .hero-race-tabs b{width:64px}
      .hero-race-tabs b:nth-child(3){width:36px}
      .hero-grid{opacity:.10}
      .hero-poster::after{opacity:.35}
    }
    @media (prefers-reduced-motion:reduce){
      .hero-poster::before,.hero-ambient,.hero-telemetry path,.hero-airflow,.hero-airflow::before,.hero-airflow::after,.hero-particles i,.hero-rpm-loader span{animation:none!important}
    }
  

/* V11 integration overrides: neutralize older V10 background/loading rules
   without changing the approved slider, video, or homepage sections. */
#homeHero .hero-poster {
    transform: none !important;
    z-index: 0;
}
#homeHero .hero-poster .hero-grid {
    z-index: 0 !important;
}
#homeHero .hero-content-safe { z-index: 1; }
#homeHero .hero-diagonal-sweep { z-index: 0; }

#homeHero .hero-circuit-map {
    left: 5.5% !important;
    top: 18.5% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(28vw,430px) !important;
    aspect-ratio: 1 / 1;
    opacity: .78 !important;
    transform: rotate(-8deg) !important;
    filter: drop-shadow(0 0 16px rgba(255,255,255,.04)) drop-shadow(0 0 10px rgba(237,28,36,.03)) !important;
}
#homeHero .hero-circuit-map path {
    animation: none !important;
}

#homeHero .hero-rpm-wrap {
    right: 6% !important;
    bottom: 16% !important;
    top: auto !important;
    left: auto !important;
    width: min(36vw,580px) !important;
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}
#homeHero .hero-rpm-loader {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    transform: skewX(-16deg) !important;
    opacity: .92 !important;
    filter: none !important;
}
#homeHero .hero-rpm-loader::after { content: none !important; }
#homeHero .hero-rpm-loader::before {
    content: "" !important;
    position: absolute !important;
    left: -8px !important;
    right: -8px !important;
    top: 50% !important;
    bottom: auto !important;
    height: 2px !important;
    transform: translateY(-50%) !important;
    background: rgba(255,255,255,.06) !important;
    box-shadow: 0 0 8px rgba(255,255,255,.025) !important;
}
#homeHero .hero-rpm-loader span {
    position: relative !important;
    inset: auto !important;
    flex: 1 1 0 !important;
    width: auto !important;
    height: 12px !important;
    display: block !important;
    overflow: visible !important;
    opacity: .12;
    background: rgba(237,28,36,.18);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: none;
    clip-path: polygon(12% 0,100% 0,88% 100%,0 100%) !important;
    animation-duration: 3.1s !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: steps(1,end) !important;
}
#homeHero .hero-rpm-loader span::before,
#homeHero .hero-rpm-loader span::after { content: none !important; display: none !important; }

@media (max-width:1200px){
    #homeHero .hero-rpm-wrap{width:min(40vw,520px) !important;}
}
@media (max-width:960px){
    #homeHero .hero-circuit-map{left:5% !important;top:20% !important;width:min(38vw,360px) !important;}
    #homeHero .hero-rpm-wrap{right:5% !important;bottom:12% !important;width:48vw !important;}
}
@media (max-width:720px){
    #homeHero .hero-circuit-map{width:min(52vw,300px) !important;left:6% !important;top:22% !important;}
    #homeHero .hero-rpm-wrap{left:6% !important;right:6% !important;width:auto !important;bottom:12% !important;}
}

/* =========================================================
   FINAL HERO CHECKER / PERSPECTIVE PATTERN SOFTENING
   Maximum visibility intentionally kept extremely subtle.
   ========================================================= */
#homeHero .hero-checker,
#homeHero .hero-checker::before,
#homeHero .hero-checker::after {
    opacity: .018 !important;
}

#homeHero .hero-checker {
    animation: checkerBreatheUltraSoft 7s ease-in-out infinite alternate !important;
}

@keyframes checkerBreatheUltraSoft {
    0% {
        opacity: .012;
        transform: rotate(-7deg) skewX(-8deg) translate(0, 0);
    }
    100% {
        opacity: .022;
        transform: rotate(-6deg) skewX(-8deg) translate(-4px, 3px);
    }
}

/* The large perspective floor/checker element must remain background-only. */
#homeHero .hero-poster::after {
    opacity: .06 !important;
}

/* Keep the approved pre-video hero on top while YouTube warms underneath. */
#homeHero .hero-poster {
    z-index: 1 !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 1.15s ease, visibility 0s linear 1.15s;
}
#homeHero .hero-video {
    z-index: 0 !important;
    opacity: 1 !important;
    background: transparent !important;
    transition: none !important;
}
#homeHero .hero-video iframe {
    background: transparent !important;
}
#homeHero.is-video-ready .hero-poster {
    opacity: 0;
    visibility: hidden;
}

/* =========================================================
   Global Mobile Navigation Drawer
   Shared by homepage and subpage masters.
   ========================================================= */
.nav-backdrop {
    display: none;
}

@media (max-width: 980px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header {
        z-index: 1200;
        isolation: isolate;
    }

    .header-inner {
        position: relative;
        z-index: 1202;
    }

    .nav-toggle {
        position: relative;
        z-index: 1204;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(18,22,28,.11);
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 8px 20px rgba(15,23,42,.055);
    }

    .nav-toggle span {
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #17191d;
        transform-origin: center;
    }

    .nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
        transform: scaleX(.35);
    }

    .nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1100;
        display: block;
        width: auto;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        pointer-events: none;
        opacity: 0;
        background: rgba(10,13,18,.48);
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        transition: opacity .24s ease;
    }

    .nav-open .nav-backdrop {
        pointer-events: auto;
        opacity: 1;
    }

    .primary-nav {
        position: fixed !important;
        top: 74px !important;
        right: 10px !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 1203;
        width: min(318px, calc(100vw - 24px)) !important;
        max-height: calc(100vh - 88px);
        max-height: calc(100svh - 88px);
        padding: 9px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 2px !important;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 1px solid rgba(18,22,28,.10);
        border-radius: 8px 0 0 8px;
        background:
            linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,249,251,.98)),
            #fff !important;
        box-shadow: -18px 24px 48px rgba(15,23,42,.20);
        transform: translateX(calc(100% + 22px)) !important;
        visibility: hidden;
        pointer-events: none;
        transition: transform .26s ease, visibility 0s linear .26s;
    }

    .nav-open .primary-nav {
        transform: translateX(0) !important;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    .primary-nav a {
        min-height: 44px;
        padding: 12px 13px !important;
        display: flex;
        align-items: center;
        border: 0 !important;
        border-radius: 6px;
        color: #1d2026;
        font-size: 12px !important;
        line-height: 1.2;
        font-weight: 780;
        letter-spacing: .055em;
        background: transparent;
    }

    .primary-nav a + a {
        border-top: 1px solid rgba(15,23,42,.07) !important;
    }

    .primary-nav a:hover,
    .primary-nav a.active {
        color: #111317;
        background: rgba(237,28,36,.065);
    }

    .primary-nav a::after {
        display: none !important;
    }
}

@media (max-width: 680px) {
    .primary-nav {
        top: 74px !important;
        right: 8px !important;
        width: min(306px, calc(100vw - 16px)) !important;
        max-height: calc(100vh - 86px);
        max-height: calc(100svh - 86px);
    }
}
