:root {
  --red: #d9272e;
  --red-dark: #a51c22;
  --yellow: #f5b700;
  --ink: #111318;
  --muted: #686868;
  --paper: #f7f3ea;
  --line: #d8d0c2;
  --surface: #fffdf8;
  --section-soft: #ece5d8;
  --dark-surface: #1c2027;
  --dark-surface-2: #252a33;
  --dark-border: #3a414d;
  --copy: #52545a;
  --copy-soft: #666870;
  --copy-dark: #b5b7bd;
  --header-bg: rgba(17,19,24,.96);
  --hero-start: #0c0e12;
  --hero-mid: #171a20;
  --hero-end: #321015;
  --accent-glow: rgba(217,39,46,.68);
  --accent-translucent: rgba(217,39,46,.9);
  --donate-copy: #ffe2df;
  --footer-bg: #0b0d11;
  --shadow: 0 18px 50px rgba(0,0,0,.10);
  --heading-font: "Barlow Condensed", sans-serif;
  --body-font: Inter, sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; font-family: var(--body-font); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-tap-highlight-color: transparent; }
/* clip (unlike hidden) does not create a scroll container, so the sticky header keeps working */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
body.scroll-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
/* Sticky can't work while the body is pinned, so counter the body's offset to keep the header on screen */
body.scroll-locked .site-header { position: relative; top: var(--locked-scroll, 0px); }
a { color: inherit; text-decoration: none; }
button, input, textarea { -webkit-appearance: none; appearance: none; }
[id] { scroll-margin-top: 78px; }
.site-header { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 14px 5vw; background: var(--header-bg); color: white; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 78px; height: 46px; flex: 0 0 78px; filter: drop-shadow(0 5px 7px rgba(0,0,0,.5)); transition: transform .2s ease; }
.brand:hover .brand-mark { transform: translateX(2px) rotate(-2deg); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; line-height: 1.1; }
.brand strong { font: 800 19px var(--heading-font); letter-spacing: .5px; }
.brand .brand-title { white-space: nowrap; font-size: 17px; letter-spacing: .45px; }
.nav { display: flex; align-items: center; gap: 25px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.nav a { opacity: .82; transition: .2s; }
.nav a:hover { opacity: 1; color: var(--yellow); }
.nav-donate { background: var(--red); padding: 9px 15px; opacity: 1 !important; }
.menu-toggle { display: none; background: none; color: white; border: 0; font-size: 28px; }

.hero { min-height: 78vh; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(115deg, var(--hero-start) 0%, var(--hero-mid) 48%, var(--hero-end) 100%); color: white; }
.hero:after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.1) 19px 20px); }
.hero-overlay { position: absolute; width: 58vw; height: 58vw; right: -10vw; top: -5vw; border-radius: 50%; background: radial-gradient(circle, var(--accent-glow), transparent 62%); filter: blur(2px); }
.hero-variety-logo { position: absolute; z-index: 3; top: 32px; right: 6vw; width: min(220px, 18vw); padding: 11px 15px 9px; background: rgba(255,255,255,.94); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.hero-variety-logo img { display: block; width: 100%; height: auto; }
.hero-car { position: absolute; z-index: 1; right: 2vw; top: 10%; width: min(62vw, 980px); pointer-events: none; filter: drop-shadow(0 28px 32px rgba(0,0,0,.48)); }
.hero-car img { display: block; width: 100%; height: auto; }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 100px 7vw; }
.eyebrow { margin: 0 0 13px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; }
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3, h4 { font-family: var(--heading-font); text-transform: uppercase; margin: 0; line-height: .98; }
h1 { font-size: clamp(60px, 8vw, 108px); letter-spacing: -2px; }
h1 span, h2 span { color: var(--red); }
.hero-copy { max-width: 650px; margin: 26px 0 30px; font-size: 17px; color: #ddd; }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font-family: var(--body-font); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,.45); background: transparent; color: white; }
.btn-outline:hover { border-color: white; }
.btn-dark { background: var(--ink); color: white; }
.btn-light { background: var(--surface); color: var(--ink); }
.text-link { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.section { padding: 105px 7vw; }
.split-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: 6vw; align-items: center; width: 100%; }
h2 { font-size: clamp(48px, 6vw, 82px); }
.split-section h2 { margin-bottom: 25px; }
.split-section p { color: var(--copy); max-width: 720px; }
.variety-video { min-width: 0; }
.variety-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--ink); box-shadow: var(--shadow); }
.variety-video p { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }

.dark-section { background: var(--ink); color: white; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading-wide { max-width: none; }
.one-line-title { white-space: nowrap; font-size: clamp(48px, 5vw, 70px); }
.dark-section .section-heading p:last-child { color: var(--copy-dark); }
#team .section-heading { margin-bottom: 58px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1200px; }
.person-card { overflow: hidden; display: grid; grid-template-columns: 200px minmax(0, 1fr); border: 1px solid var(--dark-border); background: var(--dark-surface); box-shadow: 0 18px 42px rgba(0,0,0,.18); }
.person-media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--dark-surface-2); }
.person-media:after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, rgba(0,0,0,.28)); pointer-events: none; }
.person-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .45s ease; }
.person-card:hover .person-media img { transform: scale(1.025); }
.person-copy { min-width: 0; padding: 22px 24px; border-left: 4px solid var(--red); }
.person-role { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.person-card h3 { margin-top: 7px; font-size: 38px; }
.person-card p { margin: 10px 0 0; color: var(--copy-dark); font-size: 14px; line-height: 1.5; }

.car-section { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: center; background: var(--surface); }
.car-visual { min-height: 430px; display: flex; flex-direction: column; justify-content: center; position: relative; background: var(--dark-surface); overflow: hidden; padding: 24px; }
.car-compare { --reveal: 50%; position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; box-shadow: 0 22px 55px rgba(0,0,0,.38); isolation: isolate; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.car-compare-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.car-standard-wrap { position: absolute; inset: 0; overflow: hidden; -webkit-clip-path: inset(0 calc(100% - var(--reveal)) 0 0); clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.car-standard { object-position: center; }
.compare-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--reveal); width: 3px; transform: translateX(-50%); background: #fff; box-shadow: 4px 0 7px rgba(0,0,0,.35); pointer-events: none; }
.compare-divider span { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; transform: translate(-50%, -50%); border: 4px solid #fff; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; line-height: 1; box-shadow: 0 5px 18px rgba(0,0,0,.4); }
/* Pointer dragging is handled in script.js (iOS won't drag an invisible range track); the input stays for keyboard/screen readers */
.compare-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.car-compare:has(.compare-range:focus-visible) .compare-divider span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.compare-label { position: absolute; z-index: 2; top: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(17,17,17,.78); color: white; font: 800 12px var(--heading-font); letter-spacing: 1px; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; }
.compare-standard-label { left: 14px; }
.compare-built-label { right: 14px; background: var(--accent-translucent); }
.compare-help { margin: 12px 0 0; color: var(--copy-dark); font: 700 11px var(--heading-font); letter-spacing: 1.5px; text-align: center; text-transform: uppercase; }
.car-content p { max-width: 600px; color: var(--copy); }
.spec-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 35px; border-top: 1px solid var(--line); padding-top: 22px; }
.spec-row strong, .spec-row span { display: block; }
.spec-row strong { font: 800 31px var(--heading-font); }
.spec-row span { color: #777; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; }

.build-section { padding-top: 72px; padding-bottom: 72px; background: var(--section-soft); }
.build-section .section-heading { margin-bottom: 28px; }
.build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.build-card { min-height: 0; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.build-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.build-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; color: var(--red); background: var(--paper); border: 1px solid var(--line); }
.build-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.build-card h3 { display: flex; align-items: baseline; gap: 7px; margin: 0; font-size: 25px; text-transform: uppercase; }
.build-number { color: var(--red); font: 800 22px var(--heading-font); }
.build-separator { color: #999; }
.build-card p { margin: 0; color: var(--copy-soft); font-size: 13px; line-height: 1.5; }

.build-progress { margin-top: 16px; padding: 25px 28px 28px; background: var(--yellow); }
.build-progress + .build-grid { margin-top: 16px; }
.progress-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.progress-header .eyebrow { margin-bottom: 6px; color: var(--ink); }
.progress-header h3 { font-size: 34px; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 2px solid rgba(0,0,0,.22); padding-top: 20px; }
.timeline-item { position: relative; }
.timeline-item > span { position: absolute; left: 0; top: -29px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 4px solid var(--yellow); }
.timeline-item.active > span { background: var(--red); }
.timeline-item small { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.timeline-item h3 { font-size: 25px; margin: 4px 0; }
.timeline-item p { margin: 0; font-size: 13px; }

.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-card { display: flex; flex-direction: column; overflow: hidden; background: var(--dark-surface); border: 1px solid var(--dark-border); color: inherit; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.event-card:hover { border-color: var(--yellow); transform: translateY(-2px); }
.event-card:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.event-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark-surface-2); }
.event-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.event-card:hover .event-media img { transform: scale(1.035); }
.event-content { flex: 1; padding: 21px 26px 24px; }
.event-card h3 { margin: 0 0 8px; font-size: 27px; }
.event-card p { color: var(--copy-dark); margin: 0; font-size: 13px; line-height: 1.5; }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 35px; padding: 35px; background: var(--dark-surface-2); border-left: 5px solid var(--yellow); }
.callout h3 { font-size: 32px; }
.callout p { margin: 8px 0 0; color: var(--copy-dark); max-width: 800px; }

.support-section { background: var(--surface); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.support-video { min-width: 0; }
.support-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--ink); box-shadow: var(--shadow); }
.support-video p { margin: 12px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.support-card { padding: 24px; border: 1px solid var(--line); min-height: 245px; display: flex; flex-direction: column; }
.support-card.featured { background: var(--ink); color: white; border-color: var(--ink); }
.support-card > span { font: 800 27px var(--heading-font); color: var(--red); }
.support-card h3 { font-size: 28px; margin: 25px 0 10px; }
.support-card p { color: var(--copy-soft); font-size: 13px; }
.support-card.featured p { color: var(--copy-dark); }
.support-card a { display: inline-block; margin-top: auto; padding-top: 10px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--red); }

.sponsor-section { background: var(--section-soft); }
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.sponsor-card { padding: 30px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.sponsor-card.major { border: 3px solid var(--yellow); }
.sponsor-top { display: flex; align-items: center; justify-content: space-between; }
.sponsor-top span { font-size: 24px; }
.sponsor-top small { font-size: 10px; font-weight: 800; letter-spacing: 1px; color: #777; }
.sponsor-card h3 { font-size: 32px; margin: 28px 0 3px; }
.sponsor-card > strong { color: var(--red); font: 800 24px var(--heading-font); }
.sponsor-card p { min-height: 65px; margin: 13px 0 8px; color: var(--copy-soft); font-size: 13px; }
.sponsor-card ul { flex: 1; padding-left: 17px; margin: 0; color: var(--copy); font-size: 12px; }
.sponsor-card li { margin: 7px 0; }
.sponsor-card .btn { margin-top: 18px; }
.inkind { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; margin: 0 0 25px; padding: 30px; background: var(--surface); border-left: 5px solid var(--red); }
.inkind h3 { font-size: 30px; }
.inkind p { margin: 0; color: var(--copy-soft); font-size: 13px; }

.sponsor-benefits { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; margin-top: 64px; padding: 64px 0 0; border-top: 1px solid #cfcbc2; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 150px; padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.why-image-slot { width: 96px; aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.why-image-slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.why-image-impact { object-position: 10% center; }
.why-image-convoy { object-position: center 72%; }
.why-grid h3 { font-size: 25px; }
.why-grid p { margin-bottom: 0; color: var(--copy-soft); font-size: 13px; }

.donate-section { padding: 70px 7vw; display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--red); color: white; }
.donate-section .eyebrow { color: var(--yellow); }
.donate-section h2 { font-size: clamp(48px, 5vw, 70px); }
.donate-section p:last-child { max-width: 700px; color: var(--donate-copy); }

footer { background: var(--footer-bg); color: white; padding: 70px 7vw 20px; }
.footer-main { display: grid; grid-template-columns: 1.7fr .6fr .6fr; gap: 8vw; padding-bottom: 60px; }
.footer-brand { margin-bottom: 22px; }
.footer-brand .brand-title { font-size: 15px; }
.footer-main > div:first-child > p { max-width: 520px; color: #888; font-size: 13px; }
.facebook-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 9px 13px; border: 1px solid #3d66a3; border-radius: 4px; background: #1877f2; color: white; font-size: 12px; font-weight: 800; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.facebook-button:hover { background: #0d65d9; transform: translateY(-1px); }
.facebook-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.facebook-button svg { width: 20px; height: 20px; fill: currentColor; }
.footer-links h4 { color: var(--yellow); font-size: 19px; margin-bottom: 17px; }
.footer-links a, .footer-link-button { display: block; color: var(--copy-dark); font: 400 12px var(--body-font); margin: 8px 0; padding: 0; border: 0; background: none; cursor: pointer; }
.footer-links a:hover, .footer-link-button:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 20px; border-top: 1px solid #292929; color: #666; font-size: 10px; text-transform: uppercase; letter-spacing: .7px; }
.site-credit { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; opacity: .7; transition: opacity .2s ease; }
.site-credit:hover { opacity: 1; }
.site-credit:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.site-credit img { display: block; width: auto; height: 16px; }

body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.modal-dialog { position: relative; width: min(720px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 38px; border-top: 6px solid var(--red); background: var(--surface); color: var(--ink); box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.modal-dialog .eyebrow { margin-right: 54px; }
.modal-dialog h2 { margin-right: 54px; font-size: clamp(42px, 6vw, 62px); }
.modal-dialog > p:not(.eyebrow) { margin: 14px 0 24px; color: var(--muted); }
.modal-dialog:focus { outline: none; }
.modal-close { position: absolute; top: 17px; right: 18px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.modal-close:hover { border-color: var(--red); color: var(--red); }
.form-honeypot { display: none !important; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label { display: grid; align-content: start; gap: 7px; color: #333; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.form-grid input, .form-grid textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); font: 400 16px var(--body-font); text-transform: none; outline: none; }
.form-grid textarea { min-height: 120px; resize: vertical; }
/* iOS renders an empty date input with no height and centred text */
.form-grid input { height: 46px; }
.form-grid input[type="date"] { display: block; text-align: left; }
.form-grid input::-webkit-date-and-time-value { text-align: left; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 14%, transparent); }
.form-full { grid-column: 1 / -1; }
.label-optional { color: var(--muted); font-size: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; }
.form-grid input[aria-invalid="true"], .form-grid textarea[aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red-dark); font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 22px; }

@media (max-width: 1200px) {
  /* Stack the heading above the cards so the two card columns get the full width */
  .sponsor-benefits { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1050px) {
  .nav { gap: 10px; font-size: 10px; }
  .hero-car { right: -24vw; width: 72vw; opacity: .68; }
  h1 { font-size: clamp(54px, 6.5vw, 68px); }
  .one-line-title { font-size: 42px; }
  .split-section, .car-section, .sponsor-benefits { gap: 5vw; }
  .support-layout { grid-template-columns: 1fr; }
  .support-grid, .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; gap: 22px; max-width: 760px; }
  .person-card { grid-template-columns: 180px minmax(0, 1fr); }
  .build-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  body.menu-open { overflow: hidden; }
  .site-header { min-height: 67px; padding: 10px 5vw; }
  .brand { gap: 9px; }
  .brand-mark { width: 66px; height: 40px; flex-basis: 66px; }
  .brand strong { font-size: 17px; }
  .brand .brand-title { font-size: 11.2px; letter-spacing: .1px; }
  .menu-toggle { display: grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid #333; font-size: 27px; line-height: 1; cursor: pointer; }
  .nav { display: none; position: fixed; z-index: 110; left: 0; right: 0; top: 67px; max-height: calc(100vh - 67px); max-height: calc(100dvh - 67px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 5vw 18px; background: #111; box-shadow: 0 18px 35px rgba(0,0,0,.4); }
  .nav.open { display: flex; }
  .nav a { display: flex; min-height: 48px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #292929; font-size: 12px; }
  .nav .nav-donate { justify-content: center; margin-top: 8px; padding-inline: 15px; border-bottom: 0; }
  .hero { min-height: calc(100vh - 67px); min-height: calc(100svh - 67px); display: block; }
  .hero-overlay { width: 140vw; height: 140vw; right: -65vw; top: -10vw; }
  .hero-variety-logo { top: 22px; right: 7vw; width: 142px; padding: 8px 10px 7px; }
  .hero-car { right: -32vw; top: auto; bottom: -4%; width: 138vw; max-width: none; opacity: .5; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
  .hero-content { max-width: none; padding: 110px 7vw 300px; }
  .hero .eyebrow { max-width: 310px; font-size: 10.5px; line-height: 1.45; letter-spacing: 1.8px; }
  h1 { font-size: clamp(50px, 15vw, 66px); line-height: .92; letter-spacing: -1px; }
  h2 { font-size: clamp(40px, 12vw, 54px); }
  .one-line-title { white-space: normal; font-size: clamp(40px, 12vw, 54px); }
  .hero-copy { margin: 20px 0 24px; font-size: 15px; line-height: 1.55; }
  .button-row { gap: 10px; }
  .btn { min-height: 50px; padding: 12px 18px; }
  .section { padding: 64px 7vw; }
  .section-heading { margin-bottom: 32px; }
  .split-section, .car-section, .sponsor-benefits { grid-template-columns: 1fr; }
  .split-section, .car-section, .sponsor-benefits { gap: 34px; }
  .split-section h2 { margin-bottom: 20px; }
  .variety-video p { font-size: 11px; }
  #team .section-heading { margin-bottom: 38px; }
  .team-grid { gap: 18px; }
  .person-card { grid-template-columns: 110px minmax(0, 1fr); box-shadow: none; }
  .person-media { align-self: center; }
  .person-copy { padding: 16px 15px 17px; border-left-width: 3px; }
  .person-role { font-size: 8px; letter-spacing: .9px; }
  .person-card h3 { margin-top: 5px; font-size: 28px; }
  .person-card p { margin-top: 8px; font-size: 12px; line-height: 1.45; }
  .car-section { gap: 30px; }
  .car-content { order: 1; }
  .car-visual { min-height: 0; order: 2; margin-inline: -7vw; padding: 18px 6vw; }
  .car-compare { border-radius: 12px; }
  .compare-label { top: 9px; padding: 6px 9px; font-size: 10px; }
  .compare-standard-label { left: 9px; }
  .compare-built-label { right: 9px; }
  .compare-divider span { width: 42px; height: 42px; }
  .spec-row { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; padding-top: 18px; }
  .spec-row > div { padding: 12px; background: var(--paper); }
  .build-section { padding-top: 56px; padding-bottom: 56px; }
  .build-card { padding: 20px; }
  .build-card-heading { gap: 12px; }
  .build-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .build-card h3 { font-size: 23px; }
  .build-progress { padding: 24px 20px; }
  .progress-header { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .progress-header .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; gap: 12px; border-top: 0; padding-top: 0; }
  .timeline-item { padding: 16px; background: rgba(255,255,255,.32); }
  .timeline-item > span { display: none; }
  .team-grid, .event-grid, .support-grid, .sponsor-grid, .build-grid { grid-template-columns: 1fr; }
  .event-grid { gap: 12px; }
  .event-content { padding: 18px 20px 21px; }
  .support-card { min-height: 0; padding: 24px; }
  .support-card h3 { margin-top: 18px; }
  .sponsor-card { padding: 24px; }
  .sponsor-card h3 { margin-top: 20px; }
  .sponsor-card p { min-height: 0; }
  .inkind { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .inkind .btn { width: 100%; }
  .sponsor-benefits { margin-top: 48px; padding-top: 48px; }
  .callout, .donate-section, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .callout { gap: 20px; margin-top: 24px; padding: 24px; }
  .callout .btn, .donate-section .btn { width: 100%; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .donate-section { padding: 56px 7vw; gap: 24px; }
  footer { padding: 56px 7vw 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 8px; }
  /* Compact forms so the submit button fits on screen without scrolling */
  .modal { padding: 8px; }
  .modal-dialog { max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 20px 18px 18px; border-top-width: 5px; }
  .modal-close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 26px; }
  .modal-dialog .eyebrow { margin-right: 44px; margin-bottom: 4px; font-size: 10px; }
  .modal-dialog h2 { margin-right: 44px; font-size: 34px; }
  .modal-dialog > p:not(.eyebrow) { margin: 8px 0 14px; font-size: 13px; line-height: 1.45; }
  .form-grid { gap: 10px; }
  .form-grid label { gap: 4px; font-size: 10px; line-height: 1.2; }
  /* Shorten long labels in half-width columns so they stay on one line */
  .label-long { display: none; }
  .field-error { font-size: 11px; }
  .form-grid input, .form-grid textarea { padding: 9px 11px; }
  .form-grid input { height: 40px; }
  .form-grid textarea { height: 84px; min-height: 84px; }
  .form-wide { grid-column: 1 / -1; }
  .form-actions { margin-top: 14px; }
  .form-actions .btn { width: 100%; }
}
@media (max-width: 900px) and (max-height: 640px) {
  /* Short phones (e.g. iPhone SE): drop the intro line so the longest form still fits */
  .modal-dialog > p:not(.eyebrow) { display: none; }
  .modal-dialog h2 { margin-bottom: 14px; }
  .form-grid textarea { height: 64px; min-height: 64px; }
}
@media (max-width: 430px) {
  .hero-content { padding-top: 106px; padding-bottom: 280px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > div:first-child { grid-column: auto; }
  .button-row .btn { width: 100%; }
  .button-row .text-link { display: block; width: 100%; padding: 8px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 10px; }
  .why-card { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; min-height: 0; padding: 14px; background: var(--surface); }
  .why-image-slot { width: 72px; }
  /* No room for "(optional)" in half-width labels; the field placeholder says it instead */
  .label-optional { display: none; }
}

/* Touch browsers (notably iOS Safari) keep :hover applied after a tap, leaving cards and buttons stuck mid-lift */
@media (hover: none) {
  .btn:hover, .event-card:hover, .facebook-button:hover, .brand:hover .brand-mark,
  .person-card:hover .person-media img, .event-card:hover .event-media img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
