/* Theme colors and shared tokens */
:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --panel: #121613;
  --ink: #f4f6f3;
  --muted: #a8b0a9;
  --border: #2a322c;
  --green: #80ff28;
  --accent: #80ff28;
  --header: rgba(11, 13, 12, 0.95);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
body.light {
  color-scheme: light;
  --bg: #f5f7f4;
  --panel: #e8eee7;
  --ink: #10170f;
  --muted: #4b594c;
  --border: #bdc9bb;
  --accent: #286900;
  --header: rgba(245, 247, 244, 0.96);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
}
/* Page container and header */
.wrap {
  width: min(1280px, 90%);
  margin: auto;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  line-height: 1.2;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.025em;
}
.brand img {
  width: 68px;
  height: 52px;
  object-fit: contain;
  border-radius: 3px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-top: 5px;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}
nav a:hover,
.text-link:hover,
footer a:hover {
  color: var(--accent);
}
nav .nav-cta {
  padding: 11px 17px;
  border: 1px solid var(--border);
}
.theme {
  background: none;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  font-size: 22px;
  border-radius: 50%;
}
.menu-button {
  display: none;
}
/* Hero image, headline, and calls to action */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #0b0d0c;
}
.hero-photo {
  position: absolute;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 62%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.91) 0%,
      rgba(0, 0, 0, 0.69) 36%,
      rgba(0, 0, 0, 0.09) 80%
    ),
    linear-gradient(0deg, #0b0d0c 0%, transparent 40%);
}
.hero-inner {
  padding-top: 65px;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero .eyebrow {
  color: var(--green);
}
.line {
  width: 28px;
  height: 2px;
  background: var(--green);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-family: Impact, "Arial Narrow", Arial, sans-serif;
  font-size: clamp(64px, 7.7vw, 116px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h1 span {
  color: var(--green);
}
.hero p {
  color: #d1d7d0;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  margin-top: 25px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 0;
  background: var(--green);
  color: #0b1605;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 24px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #a4ff65;
  transform: translateY(-2px);
}
.text-link {
  font-size: 15px;
  font-weight: 700;
}
.hero-
/* Footer */
footer {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff30;
  padding: 23px 0;
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #bac2b9;
}
.hero-side {
  position: absolute;
  right: 22px;
  top: 80px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.2em;
}
/* Racing disciplines strip */
.discipline {
  border-block: 1px solid var(--border);
  background: var(--panel);
}
.discipline .wrap {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-block: 25px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.discipline .wrap > span:first-child {
  font-size: 13px;
  color: var(--muted);
}
.discipline strong {
  color: var(--ink);
}
/* Shared section layout and typography */
.section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 46px;
}
.section-heading p {
  max-width: 350px;
  color: var(--muted);
  font-size: 17px;
}
.section-heading .eyebrow {
  margin-bottom: 17px;
}
h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.07;
  letter-spacing: -0.045em;
  font-weight: 850;
}
em {
  font-style: normal;
  color: var(--accent);
}
/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service {
  position: relative;
  padding: 28px 24px 34px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.25s;
}
.service:hover {
  background: var(--panel);
}
.service-number {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.service-symbol {
  display: block;
  font-size: 46px;
  line-height: 1.2;
  color: var(--accent);
  margin: 26px 0 22px;
}
.service h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
}
.service p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
/* Video showcase */
.showcase {
  background: var(--panel);
  border-block: 1px solid var(--border);
}
.featured-video {
  position: relative;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16/9;
}
.featured-video iframe,
.video-grid iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.video-caption a {
  font-size: 14px;
  letter-spacing: 0;
  color: var(--accent);
}
.more-broadcasts {
  margin-top: 16px;
  border-block: 1px solid var(--border);
}
summary {
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 700;
}
summary span {
  float: right;
  color: var(--accent);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-bottom: 25px;
}
.video-grid iframe {
  aspect-ratio: 16/9;
}
/* Client testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
figure {
  margin: 0;
  padding-right: 30px;
  border-right: 1px solid var(--border);
}
figure:last-child {
  border: 0;
}
.quote-mark {
  font:
    72px Georgia,
    serif;
  line-height: 1;
  color: var(--accent);
  display: block;
  height: 58px;
}
blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
}
figcaption {
  margin-top: 30px;
  font-weight: 700;
  font-size: 14px;
}
figcaption small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
/* Event calendar */
.events {
  background: var(--panel);
}
.events .section-heading {
  margin-bottom: 20px;
}
.events .section-heading a {
  color: var(--accent);
  font-size: 15px;
}
.calendar-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 30px;
}
.event-list {
  border-top: 1px solid var(--border);
}
.event-list article {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 27px 0;
  border-bottom: 1px solid var(--border);
}
.event-date {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  min-width: 90px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.event-date small {
  font-size: 12px;
  letter-spacing: 0.07em;
  writing-mode: vertical-rl;
}
.event-list h3 {
  font-size: 21px;
  letter-spacing: -0.025em;
}
.event-list p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 3px;
}
.event-tag {
  margin-left: auto;
  border: 1px solid var(--border);
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
/* Contact section and form */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.contact h2 {
  margin-bottom: 25px;
}
.contact-copy p {
  max-width: 410px;
  color: var(--muted);
  font-size: 17px;
}
.email {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
  font-weight: 700;
}
.contact-note {
  margin-top: 65px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
input,
textarea {
  display: block;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--ink);
  padding: 12px;
  margin-top: 8px;
  font-size: 16px;
}
textarea {
  resize: vertical;
  min-height: 130px;
  margin-top: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.optional {
  font-weight: 400;
  color: var(--muted);
}
.message-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.message-label label {
  margin-bottom: 8px;
}
.draft {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  padding: 0;
}
.submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 22px;
}
.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
#form-status {
  font-size: 14px;
  margin-top: 12px;
  color: var(--accent);
}
footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 30px;
  font-size: 12px;
  color: var(--muted);
}
.footer-brand {
  font-style: italic;
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
}
.footer-brand span {
  font-style: normal;
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  padding: 10px;
  background: var(--green);
  color: #000;
}
.skip:focus {
  top: 10px;
}
@media (min-width: 901px) {
  .hero h1 {
    animation: enter 0.7s ease both;
  }
  .hero p,
  .hero .actions {
    animation: enter 0.9s ease both;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Tablet layout */
@media (max-width: 1100px) {
  .brand span {
    display: none;
  }
  nav {
    gap: 20px;
  }
  .contact {
    gap: 45px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Mobile layout */
@media (max-width: 760px) {
  .nav {
    min-height: 76px;
    gap: 14px;
  }
  .brand span {
    display: block;
    font-size: 14px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand img {
    width: 52px;
    height: 43px;
  }
  .menu-button {
    display: block;
    background: none;
    border: 0;
    font-size: 14px;
    padding: 10px 0;
  }
  .menu-button span {
    margin-left: 5px;
  }
  .theme {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    font-size: 20px;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px 5%;
    border-bottom: 1px solid var(--border);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  nav.open {
    display: flex;
  }
  nav a {
    padding: 13px 0;
    font-size: 16px;
  }
  nav .nav-cta {
    margin-top: 12px;
  }
  .hero-inner {
    padding-top: 48px;
  }
  .hero-photo {
    object-position: 65% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.34)),
      linear-gradient(0deg, #0b0d0c, transparent 85%);
  }
  h1 {
    font-size: clamp(54px, 11.4vw, 86px);
  }
  .hero p {
    font-size: 16px;
  }
  .hero-side {
    display: none;
  }
  .actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .button {
    padding: 14px 19px;
  }
  .hero-footer {
    margin-top: 45px;
    font-size: 10px;
  }
  .hero-footer > span:nth-child(2) {
    display: none;
  }
  .discipline .wrap {
    flex-wrap: wrap;
    gap: 14px 25px;
    font-size: 10px;
    padding-block: 19px;
  }
  .discipline .wrap > span:first-child {
    flex-basis: 100%;
    font-size: 11px;
  }
  .section {
    padding-block: 65px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading p {
    margin-top: 25px;
    max-width: 100%;
    font-size: 16px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service {
    padding: 22px 17px;
  }
  .service h3 {
    font-size: 19px;
  }
  .service p {
    font-size: 15px;
  }
  .service-number {
    font-size: 10px;
  }
  .quotes {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  figure,
  figure:last-child {
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 30px;
  }
  .quote-mark {
    height: 45px;
    font-size: 60px;
  }
  .video-caption {
    align-items: flex-start;
    font-size: 10px;
  }
  .video-caption a {
    font-size: 12px;
    white-space: nowrap;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .event-list article {
    gap: 20px;
    flex-wrap: wrap;
  }
  .event-date {
    font-size: 34px;
    min-width: 65px;
    gap: 7px;
  }
  .event-list article > div:nth-child(2) {
    flex: 1;
  }
  .event-list h3 {
    font-size: 18px;
  }
  .event-list p {
    font-size: 13px;
  }
  .event-tag {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-note {
    margin-top: 30px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer-inner p {
    order: 3;
    flex-basis: 100%;
  }
}
/* Small mobile layout */
@media (max-width: 380px) {
  .brand small {
    display: none;
  }
  .brand span {
    font-size: 12px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .message-label {
    display: block;
  }
  .draft {
    margin-bottom: 10px;
  }
  .hero-footer {
    flex-wrap: wrap;
  }
  .hero h1 {
    font-size: 50px;
  }
}
/* Reduced-motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
