/* 2026 visual refresh: shared polish across all public pages. */
:root {
  --black: #050606;
  --carbon: #0a0d0a;
  --charcoal: #10140f;
  --mid: #171d15;
  --border: #293126;
  --muted: #74816c;
  --light: #b0bba6;
  --white: #f4f7f1;
  --green: #00fe00;
  --yellow: #e5ff00;
  --surface: rgba(16, 20, 15, 0.84);
  --surface-raised: rgba(20, 25, 18, 0.94);
  --edge: rgba(176, 187, 166, 0.13);
  --page-gutter: clamp(22px, 4vw, 64px);
  --section-space: clamp(64px, 7vw, 108px);
}

html {
  scroll-padding-top: 88px;
}

body {
  line-height: 1.5;
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 254, 0, 0.035), transparent 30rem),
    linear-gradient(180deg, #060807 0%, var(--black) 38%, #070907 100%);
}

body::before {
  opacity: 0.27;
}

::selection {
  color: #020302;
  background: var(--yellow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

/* More composed, spacious navigation. */
nav {
  height: 78px;
  padding-inline: var(--page-gutter);
  background: linear-gradient(180deg, rgba(5, 6, 6, 0.97), rgba(5, 6, 6, 0.9));
  border-color: rgba(229, 255, 0, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.nav-logo-img {
  height: 46px;
}

.nav-links {
  gap: clamp(18px, 2vw, 30px);
}

.nav-links a {
  color: #a8b39f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nav-submenu {
  top: calc(100% + 16px);
  min-width: 238px;
  padding: 8px;
  border: 1px solid rgba(229, 255, 0, 0.14);
  border-top-color: var(--green);
  background: rgba(8, 10, 8, 0.985);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.48);
}

.nav-submenu a {
  padding: 11px 12px;
}

.nav-submenu a:hover {
  background: rgba(0, 254, 0, 0.06);
}

.nav-cta,
.btn-primary {
  box-shadow: 0 8px 24px rgba(0, 254, 0, 0.1);
}

.nav-cta:hover,
.btn-primary:hover {
  background: #00d900 !important;
  box-shadow: 0 12px 30px rgba(0, 254, 0, 0.18);
}

/* Let the photography lead while keeping headings readable. */
.hero {
  min-height: 560px;
  padding-inline: var(--page-gutter);
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.95) 0%, rgba(5, 6, 6, 0.68) 38%, rgba(5, 6, 6, 0.2) 68%, rgba(5, 6, 6, 0.58) 100%),
    linear-gradient(to bottom, rgba(5, 6, 6, 0.04), rgba(5, 6, 6, 0.2) 52%, #050606 100%);
}

.hero-track img,
.page-header-image {
  filter: saturate(0.9) contrast(1.08) brightness(0.76);
}

.hero-title {
  max-width: 900px;
  text-wrap: balance;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.34);
}

.hero-sub,
.page-subtitle,
.section-body {
  color: var(--light);
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
}

.page-header {
  min-height: 420px;
  padding: 148px var(--page-gutter) 70px;
}

.page-header::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.94) 0%, rgba(5, 6, 6, 0.64) 44%, rgba(5, 6, 6, 0.24) 74%, rgba(5, 6, 6, 0.7) 100%),
    linear-gradient(to bottom, rgba(5, 6, 6, 0.06), rgba(5, 6, 6, 0.76));
}

.page-title,
.section-title {
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}

.page-subtitle {
  max-width: 620px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75;
}

/* Calmer section rhythm and fewer hard-edged boxes. */
section {
  padding: var(--section-space) var(--page-gutter);
}

.divider {
  margin-inline: var(--page-gutter);
  opacity: 0.7;
}

.section-label,
.hero-eyebrow {
  letter-spacing: 0.34em;
}

.section-title {
  margin-bottom: 22px;
}

.section-body {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.78;
}

.card-grid,
.services-grid,
.champ-grid,
.drivers-grid,
.team-grid,
.coach-strip,
.deals-grid,
.product-grid,
.process-grid,
.dates-grid,
.success-grid {
  gap: 14px;
  background: transparent;
}

.card,
.champ-card,
.driver-card,
.team-card,
.deal-card,
.product-card,
.process-card,
.date-card,
.success-card {
  border: 1px solid var(--edge);
  background: linear-gradient(145deg, rgba(18, 23, 17, 0.94), rgba(11, 14, 11, 0.94));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.champ-card:hover,
.driver-card:hover,
.team-card:hover,
.deal-card:hover,
.product-card:hover,
.process-card:hover,
.date-card:hover,
.success-card:hover {
  border-color: rgba(0, 254, 0, 0.3);
  background: linear-gradient(145deg, rgba(22, 29, 20, 0.98), rgba(12, 16, 12, 0.98));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.card-body,
.team-copy,
.deal-copy,
.product-copy {
  color: var(--light);
  line-height: 1.72;
}

.card-icon {
  border-color: rgba(0, 254, 0, 0.32);
  background: rgba(0, 254, 0, 0.065);
}

.stats-bar {
  background: rgba(14, 18, 13, 0.92);
  border-color: var(--edge);
}

.stat-item {
  padding-block: 30px;
  border-color: var(--edge);
}

.stat-label {
  color: #839078;
}

.btn-primary,
.btn-secondary {
  min-height: 46px;
  justify-content: center;
}

.btn-secondary {
  border-color: rgba(176, 187, 166, 0.28);
  background: rgba(7, 9, 7, 0.24);
}

.results-ticker {
  padding-block: 10px;
  box-shadow: 0 0 34px rgba(0, 254, 0, 0.08);
}

/* Forms are easier to scan and use. */
input,
select,
textarea {
  border-color: rgba(176, 187, 166, 0.22) !important;
  background: rgba(6, 8, 6, 0.74) !important;
  color: var(--white) !important;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(0, 254, 0, 0.38) !important;
}

/* Footer becomes a quieter close to the page. */
footer {
  padding: 56px var(--page-gutter);
  border-color: rgba(229, 255, 0, 0.1);
  background: linear-gradient(180deg, #070907, #040504);
}

.footer-logo-img {
  height: 56px;
}

.footer-contact a,
.footer-right a {
  color: #929e89;
}

@media (max-width: 900px) {
  nav {
    height: 70px;
    padding-inline: 22px;
  }

  .nav-links {
    top: 70px;
    max-height: calc(100svh - 70px);
    padding: 10px 22px 24px;
    overflow-y: auto;
    background: rgba(5, 6, 6, 0.985);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
  }

  .nav-links a {
    padding-block: 13px;
    font-size: 15px;
  }

  .nav-submenu {
    padding: 0 0 10px 16px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-submenu a {
    padding-block: 7px;
    font-size: 11px;
    color: #8e9a85;
  }

  .nav-burger {
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(176, 187, 166, 0.16);
  }

  .nav-burger span {
    width: 20px;
  }

  .page-header {
    min-height: 360px;
    padding: 120px 22px 48px;
  }

  .stats-bar {
    gap: 1px;
  }

  .card-grid,
  .services-grid,
  .champ-grid,
  .drivers-grid,
  .team-grid,
  .coach-strip,
  .deals-grid,
  .product-grid,
  .process-grid,
  .dates-grid,
  .success-grid {
    gap: 10px;
  }

  footer {
    gap: 28px;
  }
}

@media (max-width: 700px) {
  nav {
    height: 68px;
  }

  .nav-links {
    top: 68px;
    max-height: calc(100svh - 68px);
  }

  .nav-logo-img {
    height: 34px;
  }

  .hero {
    min-height: 650px;
    padding-inline: 22px;
  }

  .hero-bg {
    background:
      linear-gradient(to right, rgba(5, 6, 6, 0.86), rgba(5, 6, 6, 0.32)),
      linear-gradient(to bottom, rgba(5, 6, 6, 0.12), rgba(5, 6, 6, 0.5) 48%, #050606 92%);
  }

  .hero-sub,
  .page-subtitle {
    max-width: 100%;
  }

  .page-header {
    min-height: 340px;
    padding: 112px 22px 44px;
  }

  .section-title {
    line-height: 1;
  }

  .stat-item {
    padding: 24px 20px;
  }

  .stat-number {
    font-size: 38px;
  }

  .card,
  .team-content {
    padding: 28px 24px;
  }

  footer {
    padding: 46px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
}

/* Editorial homepage: a distinct, photography-led direction. */
.home-hero {
  height: 92svh;
  min-height: 680px;
  max-height: 920px;
  justify-content: flex-end;
  padding: 0 var(--page-gutter) clamp(52px, 7vh, 82px);
  border-bottom: 0;
}

.home-hero .hero-track img {
  object-position: center 44%;
  filter: saturate(0.82) contrast(1.08) brightness(0.84);
  transform: scale(1.01);
}

.home-hero .hero-track::before {
  background: linear-gradient(120deg, rgba(0, 254, 0, 0.08), transparent 30%, transparent 75%, rgba(229, 255, 0, 0.06));
}

.home-hero .hero-track::after {
  display: none;
}

.home-hero .hero-bg {
  background:
    linear-gradient(90deg, rgba(4, 5, 4, 0.8) 0%, rgba(4, 5, 4, 0.32) 48%, rgba(4, 5, 4, 0.08) 75%),
    linear-gradient(to bottom, rgba(4, 5, 4, 0.24) 0%, rgba(4, 5, 4, 0.02) 32%, rgba(4, 5, 4, 0.9) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1360px);
}

.home-hero .hero-eyebrow {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--yellow);
}

.home-hero .hero-title {
  max-width: none;
  font-size: clamp(64px, 8.2vw, 118px);
  line-height: 0.82;
  letter-spacing: -0.035em;
}

.home-hero .hero-title span {
  display: inline;
}

.home-hero .hero-title em {
  margin-top: 10px;
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.home-hero-bottom {
  display: grid;
  grid-template-columns: minmax(280px, 550px) 1fr;
  gap: 52px;
  align-items: end;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 247, 241, 0.23);
}

.home-hero .hero-sub {
  margin: 0;
  max-width: 540px;
  color: #d2d9cd;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
}

.home-hero .hero-actions {
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.home-text-link::after {
  content: '';
  width: 38px;
  height: 1px;
  background: var(--green);
  transition: width 0.25s ease, background 0.25s ease;
}

.home-text-link:hover {
  color: var(--yellow);
}

.home-text-link:hover::after {
  width: 58px;
  background: var(--yellow);
}

.home-hero-index {
  position: absolute;
  z-index: 3;
  right: var(--page-gutter);
  top: 122px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: rgba(244, 247, 241, 0.66);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.2em;
}

.home-hero-index span {
  font-size: 10px;
}

.home-hero-index strong {
  color: var(--yellow);
  font-size: 14px;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 9vw;
  padding-top: clamp(92px, 10vw, 150px);
  padding-bottom: clamp(76px, 9vw, 130px);
  background: #f0f2ec;
  color: #0a0d0a;
}

.home-intro .section-label {
  color: #4f5a49;
}

.home-intro .section-label::before {
  background: #00a800;
}

.home-intro h2,
.home-story h2,
.home-programme h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-intro h2 em,
.home-story h2 em,
.home-programme h2 em {
  color: #00b600;
  font-style: normal;
}

.home-intro-copy {
  align-self: end;
  padding-bottom: 4px;
}

.home-intro-copy > p {
  color: #3e483a;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.72;
}

.home-intro-copy > p + p {
  margin-top: 18px;
}

.home-intro-copy .home-text-link {
  margin-top: 34px;
  color: #0a0d0a;
}

.home-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 26px;
  padding-top: 36px;
  border-top: 1px solid rgba(10, 13, 10, 0.18);
}

.home-proof div {
  display: flex;
  align-items: baseline;
  gap: 13px;
}

.home-proof strong {
  color: #0a0d0a;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.home-proof span {
  color: #596353;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  gap: 0;
  padding: 0;
  background: #070907;
}

.home-story-image {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}

.home-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 5, 4, 0.82), transparent 48%);
}

.home-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.82) contrast(1.08) brightness(0.85);
  transition: transform 1.1s ease;
}

.home-story-image:hover img {
  transform: scale(1.025);
}

.home-story-image > p {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 4vw, 62px);
  right: clamp(24px, 4vw, 62px);
  bottom: 42px;
  max-width: 430px;
  color: #d2d9cd;
  font-size: 14px;
  line-height: 1.6;
}

.home-story-image > p span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.home-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(72px, 7vw, 120px) clamp(36px, 6vw, 96px);
}

.home-story-copy > p:not(.section-label) {
  margin-top: 28px;
  color: var(--light);
  font-size: 17px;
  line-height: 1.75;
}

.home-principles {
  margin: 38px 0 42px;
  list-style: none;
  border-top: 1px solid rgba(176, 187, 166, 0.18);
}

.home-principles li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(176, 187, 166, 0.18);
}

.home-principles li > span {
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-principles strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-principles p {
  color: #8f9b86;
  font-size: 13px;
  line-height: 1.6;
}

.home-story-copy .btn-primary {
  align-self: flex-start;
}

.home-programme {
  padding-top: clamp(88px, 9vw, 142px);
  padding-bottom: clamp(88px, 9vw, 142px);
}

.home-programme-head {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 500px);
  gap: 70px;
  align-items: end;
  margin-bottom: 54px;
}

.home-programme-head > p {
  color: var(--light);
  font-size: 16px;
  line-height: 1.7;
}

.home-programme-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 12px;
}

.home-programme-card {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  color: var(--white);
  text-decoration: none;
}

.home-programme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 5, 4, 0.96) 0%, rgba(4, 5, 4, 0.3) 54%, rgba(4, 5, 4, 0.08) 100%);
  transition: background 0.35s ease;
}

.home-programme-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.82);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.home-programme-card:nth-child(2) img {
  object-position: 58% center;
}

.home-programme-card:hover img {
  transform: scale(1.045);
  filter: saturate(0.95) contrast(1.08) brightness(0.9);
}

.home-programme-number {
  position: absolute;
  z-index: 2;
  top: 24px;
  right: 24px;
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-programme-card > div {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 3vw, 42px);
  right: clamp(24px, 3vw, 42px);
  bottom: 34px;
}

.home-programme-card > div > p {
  margin-bottom: 10px;
  color: var(--yellow);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-programme-card h3 {
  max-width: 360px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.home-card-link {
  display: block;
  margin-top: 22px;
  color: #c2ccba;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-partners {
  display: grid;
  grid-template-columns: auto minmax(180px, auto) minmax(40px, 1fr) auto minmax(320px, auto);
  gap: 24px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
  border-top: 1px solid rgba(176, 187, 166, 0.15);
  border-bottom: 1px solid rgba(176, 187, 166, 0.15);
  background: #0b0e0b;
}

.home-partners p {
  color: #6f7b67;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-partners strong {
  color: #d8ded3;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-partners > span {
  height: 1px;
  background: rgba(176, 187, 166, 0.2);
}

/* Interior pages use quieter headings and more open panels. */
.page-title {
  max-width: 920px;
  font-size: clamp(48px, 5.7vw, 78px);
  font-weight: 800;
  line-height: 0.94;
}

.page-header {
  min-height: 46svh;
  max-height: 560px;
}

.card,
.champ-card,
.team-card,
.deal-card,
.product-card,
.process-card,
.date-card,
.success-card {
  box-shadow: none;
}

@media (max-width: 1000px) {
  .home-hero-bottom,
  .home-intro,
  .home-story,
  .home-programme-head {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-actions {
    justify-content: flex-start;
  }

  .home-intro {
    gap: 44px;
  }

  .home-story-image {
    min-height: 620px;
  }

  .home-programme-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-programme-card:first-child {
    grid-column: 1 / -1;
  }

  .home-partners {
    grid-template-columns: auto 1fr;
  }

  .home-partners > span {
    display: none;
  }
}

@media (max-width: 700px) {
  .home-hero {
    height: 84svh;
    min-height: 650px;
    max-height: 780px;
    padding: 0 22px 42px;
  }

  .home-hero .hero-track img {
    object-position: 61% center;
  }

  .home-hero .hero-bg {
    background:
      linear-gradient(90deg, rgba(4, 5, 4, 0.65), rgba(4, 5, 4, 0.08)),
      linear-gradient(to bottom, rgba(4, 5, 4, 0.26), rgba(4, 5, 4, 0.06) 34%, rgba(4, 5, 4, 0.96) 90%);
  }

  .home-hero .hero-eyebrow {
    margin-bottom: 16px;
    font-size: 9px;
  }

  .home-hero .hero-title {
    font-size: clamp(54px, 16vw, 76px);
    line-height: 0.86;
  }

  .home-hero .hero-title em {
    font-size: 0.48em;
    letter-spacing: 0.17em;
  }

  .home-hero-bottom {
    gap: 24px;
    margin-top: 26px;
    padding-top: 18px;
  }

  .home-hero .hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .home-hero .hero-actions .home-text-link {
    justify-content: center;
    padding: 12px;
  }

  .home-hero-index {
    display: none;
  }

  .home-intro {
    gap: 34px;
    padding: 74px 22px 70px;
  }

  .home-intro h2,
  .home-story h2,
  .home-programme h2 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .home-proof {
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
    margin-top: 10px;
  }

  .home-proof div {
    display: block;
  }

  .home-proof span {
    display: block;
    margin-top: 7px;
  }

  .home-story-image {
    min-height: 480px;
  }

  .home-story-copy {
    padding: 68px 22px 76px;
  }

  .home-story-copy > p:not(.section-label) {
    font-size: 15px;
  }

  .home-programme {
    padding: 76px 22px;
  }

  .home-programme-head {
    gap: 26px;
    margin-bottom: 38px;
  }

  .home-programme-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-programme-card:first-child {
    grid-column: auto;
  }

  .home-programme-card {
    min-height: 430px;
  }

  .home-programme-card h3 {
    font-size: 38px;
  }

  .home-partners {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 36px 22px;
  }

  .home-partners strong + p {
    margin-top: 20px;
  }
}

/* Editorial interior pages. */
.editorial-page > .page-header {
  min-height: 58svh;
  max-height: 650px;
  padding: 160px var(--page-gutter) clamp(54px, 7vh, 82px);
  border-bottom: 0;
}

.editorial-page > .page-header::before {
  background:
    linear-gradient(90deg, rgba(4, 5, 4, 0.86), rgba(4, 5, 4, 0.32) 55%, rgba(4, 5, 4, 0.08) 78%),
    linear-gradient(to bottom, rgba(4, 5, 4, 0.14), rgba(4, 5, 4, 0.78));
}

.editorial-page > .page-header::after {
  opacity: 0.34;
}

.editorial-page > .page-header .page-header-image {
  filter: saturate(0.86) contrast(1.08) brightness(0.82);
}

.editorial-page > .page-header .page-header-ghost {
  right: var(--page-gutter) !important;
  top: 112px;
  transform: none;
  font-size: clamp(74px, 11vw, 150px);
  -webkit-text-stroke-color: rgba(229, 255, 0, 0.1);
}

.editorial-page > .page-header .page-title {
  max-width: 820px;
  font-size: clamp(56px, 6.3vw, 88px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.9;
}

.editorial-page > .page-header .page-title em {
  margin-top: 3px;
}

.editorial-page > .page-header .page-subtitle {
  max-width: 620px;
  color: #c7d0c0;
  font-size: clamp(15px, 1.2vw, 17px);
}

.editorial-page > .stats-bar {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0 var(--page-gutter);
  border: 0;
  background: #f0f2ec;
}

.editorial-page > .stats-bar .stat-item {
  padding: 36px 0 38px;
  border-right: 0;
  border-bottom: 1px solid rgba(10, 13, 10, 0.17);
}

.editorial-page > .stats-bar .stat-number {
  color: #0a0d0a;
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 700;
}

.editorial-page > .stats-bar .stat-label {
  color: #596353;
}

.editorial-page > section:first-of-type {
  background: #f0f2ec;
  color: #0a0d0a;
}

.editorial-page > section:first-of-type .section-label {
  color: #4f5a49;
}

.editorial-page > section:first-of-type .section-label::before {
  background: #00a800;
}

.editorial-page > section:first-of-type .section-title,
.editorial-page > section:first-of-type .section-title strong {
  color: #0a0d0a;
}

.editorial-page > section:first-of-type .section-title em {
  color: #00b600;
}

.editorial-page > section:first-of-type .section-body {
  color: #465040;
}

.editorial-page > section:first-of-type .card-grid,
.editorial-page > section:first-of-type .services-grid,
.editorial-page > section:first-of-type .champ-grid {
  gap: 0;
  border-top: 1px solid rgba(10, 13, 10, 0.18);
  border-bottom: 1px solid rgba(10, 13, 10, 0.18);
}

.editorial-page > section:first-of-type .card {
  padding: 38px 32px 42px;
  border: 0;
  border-right: 1px solid rgba(10, 13, 10, 0.16);
  background: transparent;
  box-shadow: none;
}

.editorial-page > section:first-of-type .card:last-child {
  border-right: 0;
}

.editorial-page > section:first-of-type .card:hover {
  border-color: rgba(10, 13, 10, 0.16);
  background: rgba(0, 182, 0, 0.045);
  box-shadow: none;
  transform: none;
}

.editorial-page > section:first-of-type .card-title {
  color: #0a0d0a;
}

.editorial-page > section:first-of-type .card-body {
  color: #4b5546;
}

.editorial-page > section:first-of-type .card-icon {
  border: 0;
  background: transparent;
  clip-path: none;
}

.editorial-page > section:first-of-type .card-icon svg {
  width: 27px;
  height: 27px;
  stroke: #00a800;
}

.editorial-page > section:first-of-type .card-tag {
  border-color: rgba(0, 168, 0, 0.36);
  background: transparent;
  color: #007f00;
}

/* Championship and service pages use open editorial columns. */
.page-championships .champ-grid,
.page-race-with-us .services-grid {
  margin-top: 48px;
}

.page-championships .champ-icon {
  max-width: 280px;
  min-height: 92px;
  color: #00a800;
  font-size: clamp(34px, 3.5vw, 54px);
  font-weight: 700;
}

.page-championships .card-title,
.page-race-with-us .card-title {
  font-size: 17px;
  letter-spacing: 0.12em;
}

.page-race-with-us .service-num {
  top: 18px;
  color: rgba(10, 13, 10, 0.035);
  -webkit-text-stroke-color: rgba(10, 13, 10, 0.12);
}

/* People pages become image-led profiles rather than boxed directories. */
.page-drivers > section:first-of-type,
.page-team > section:first-of-type {
  padding-top: clamp(82px, 8vw, 126px);
}

.page-drivers .drivers-grid,
.page-team .team-grid,
.page-team .coach-strip {
  gap: 18px;
  background: transparent;
}

.page-drivers .driver-card,
.page-team .team-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-drivers .driver-card:hover,
.page-team .team-card:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.page-drivers .driver-photo,
.page-team .team-photo {
  border: 0;
  min-height: 390px;
}

.page-drivers .driver-photo img,
.page-team .team-photo.has-image img {
  filter: saturate(0.86) contrast(1.06) brightness(0.9);
}

.page-drivers .driver-info,
.page-team .team-content {
  padding: 23px 2px 34px;
  background: transparent;
}

.page-drivers .driver-name,
.page-team .team-name {
  color: #0a0d0a;
  font-size: clamp(28px, 3vw, 42px);
}

.page-drivers .driver-role,
.page-team .team-role {
  color: #64705e;
}

.page-drivers .driver-bio,
.page-team .team-copy,
.page-team .team-note {
  color: #4c5647;
}

.page-team .team-note {
  background: transparent;
  border-color: #00b600;
}

.page-team .team-tag {
  color: #007f00;
  background: transparent;
}

.page-drivers .driver-card-cta {
  min-height: 520px;
  border: 1px solid rgba(10, 13, 10, 0.17);
  background: transparent;
  color: #0a0d0a;
}

.page-drivers .cta-body {
  color: #4c5647;
}

/* Pricing and deals mix light editorial space with decisive dark offers. */
.page-pricing .pricing-hero-row,
.page-pricing .pricing-grid,
.page-pricing .detail-grid,
.page-pricing .fee-table,
.page-deals .deals-grid,
.page-deals .compare-band {
  gap: 14px;
  background: transparent;
}

.page-pricing .price-card,
.page-deals .deal-card {
  border: 0;
  background: #0a0d0a;
  box-shadow: none;
}

.page-pricing .price-card:hover,
.page-deals .deal-card:hover {
  background: #10150f;
  transform: none;
}

.page-pricing .fee-table {
  border-top: 1px solid rgba(10, 13, 10, 0.18);
}

.page-pricing .fee-row {
  gap: 0;
  background: transparent;
  border-bottom: 1px solid rgba(10, 13, 10, 0.16);
}

.page-pricing .fee-row:hover {
  background: rgba(0, 182, 0, 0.04);
}

.page-pricing .fee-row > div {
  border-color: rgba(10, 13, 10, 0.12);
  color: #4c5647;
}

.page-pricing .fee-row.header > div {
  color: #556050;
  background: transparent;
}

.page-pricing .fee-name,
.page-pricing .fee-price {
  color: #0a0d0a !important;
}

.page-pricing .detail-card,
.page-deals .compare-item {
  border: 0;
  border-top: 1px solid rgba(10, 13, 10, 0.2);
  background: transparent;
}

.page-pricing .detail-card .price-list-title,
.page-pricing .detail-card .price-includes li,
.page-deals .compare-item h3 {
  color: #0a0d0a;
}

.page-pricing .detail-card .price-note,
.page-deals .compare-item p {
  color: #4c5647;
}

.page-pricing .download-panel,
.page-deals .cta-panel {
  border: 0;
  background: #0a0d0a;
}

.page-pricing .download-copy p,
.page-deals .cta-copy p {
  color: #a8b39f;
}

/* Contact is a spacious enquiry page with a paper-like form surface. */
.page-contact .contact-grid {
  gap: clamp(40px, 6vw, 90px);
}

.page-contact .contact-form,
.page-contact form {
  border: 0;
  background: transparent;
}

.page-contact label {
  color: #33402f;
}

.page-contact input,
.page-contact select,
.page-contact textarea {
  border: 1px solid rgba(10, 13, 10, 0.2) !important;
  background: rgba(255, 255, 255, 0.55) !important;
  color: #0a0d0a !important;
}

.page-contact input:focus,
.page-contact select:focus,
.page-contact textarea:focus {
  border-color: #00a800 !important;
}

.page-contact .services-grid {
  border: 0 !important;
}

/* Calendar reads like a season planner rather than a wall of cards. */
.page-calendar .legend-grid {
  gap: 0;
  border-top: 1px solid rgba(10, 13, 10, 0.17);
  border-bottom: 1px solid rgba(10, 13, 10, 0.17);
  background: transparent;
}

.page-calendar .legend-card {
  padding: 24px 18px;
  border: 0;
  border-right: 1px solid rgba(10, 13, 10, 0.14);
  background: transparent;
}

.page-calendar .legend-card:last-child {
  border-right: 0;
}

.page-calendar .legend-abbr {
  color: #008f00;
}

.page-calendar .legend-name {
  color: #4b5546;
}

.page-calendar .calendar-note {
  border-color: rgba(10, 13, 10, 0.16);
  background: rgba(255, 255, 255, 0.38);
}

.page-calendar .month-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}

.page-calendar .month-card {
  border: 1px solid rgba(176, 187, 166, 0.15);
  border-top: 2px solid rgba(0, 254, 0, 0.5);
  background: linear-gradient(145deg, #111510, #090b09);
}

.page-calendar .event-row {
  border-color: rgba(176, 187, 166, 0.14);
}

/* Rotax pathway pages use a clear dark-to-light progression. */
.editorial-page > main.hero {
  min-height: 78svh;
  max-height: 850px;
}

.editorial-page > main.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(4, 5, 4, 0.05), rgba(4, 5, 4, 0.84));
}

.editorial-page > main.hero > * {
  position: relative;
  z-index: 2;
}

.page-experience > section:first-of-type .card-grid,
.page-rental-rotax > section:first-of-type .card-grid,
.page-scholarship > section:first-of-type .card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.page-experience #book,
.page-rental-rotax > section:nth-of-type(2),
.page-scholarship > section:nth-of-type(2) {
  background: #080a08;
}

.page-experience .booking-card,
.page-experience .booking-form-panel,
.page-experience .booking-aside,
.page-rental-rotax .process-card,
.page-scholarship .process-card {
  border-color: rgba(176, 187, 166, 0.16);
  background: linear-gradient(145deg, #141913, #0b0e0b);
  box-shadow: none;
}

/* Gallery becomes a dark exhibition after a concise light introduction. */
.page-gallery .gallery-intro {
  gap: 60px;
}

.page-gallery .gallery-section {
  padding-top: 42px;
  background: #070907;
}

.page-gallery .gallery-toolbar {
  border-color: rgba(176, 187, 166, 0.15);
}

.page-gallery .gallery-card {
  border: 0;
  background: #0b0e0b;
}

.page-gallery .gallery-card img {
  filter: saturate(0.84) contrast(1.06) brightness(0.88);
}

.page-gallery .gallery-card:hover img {
  filter: saturate(1) contrast(1.06) brightness(0.96);
}

/* Teamwear uses product photography as the focus and a quieter basket. */
.page-teamwear .teamwear-layout {
  gap: clamp(34px, 5vw, 72px);
}

.page-teamwear .product-grid {
  gap: 18px;
}

.page-teamwear .product-card {
  border: 1px solid rgba(10, 13, 10, 0.15);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.page-teamwear .product-card:hover {
  border-color: rgba(0, 168, 0, 0.38);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.page-teamwear .product-title,
.page-teamwear .product-price,
.page-teamwear .product-copy,
.page-teamwear .product-card label {
  color: #0a0d0a;
}

.page-teamwear .product-card select {
  border-color: rgba(10, 13, 10, 0.2) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  color: #0a0d0a !important;
}

.page-teamwear .cart-panel {
  border: 0;
  background: #0a0d0a;
  box-shadow: none;
}

@media (max-width: 1000px) {
  .page-calendar .month-grid,
  .page-experience > section:first-of-type .card-grid,
  .page-rental-rotax > section:first-of-type .card-grid,
  .page-scholarship > section:first-of-type .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .editorial-page > .page-header {
    min-height: 58svh;
    max-height: 540px;
    padding: 120px 22px 48px;
  }

  .editorial-page > .page-header .page-title {
    font-size: clamp(46px, 14vw, 64px);
  }

  .editorial-page > .page-header .page-header-ghost {
    top: 94px;
    right: 18px !important;
    font-size: 84px;
  }

  .editorial-page > .stats-bar {
    padding: 0 22px;
  }

  .editorial-page > .stats-bar .stat-item {
    padding: 26px 0;
  }

  .editorial-page > section:first-of-type .card,
  .page-calendar .legend-card {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 13, 10, 0.15);
  }

  .page-championships .champ-icon {
    min-height: 0;
  }

  .page-drivers .drivers-grid,
  .page-team .team-grid {
    gap: 30px;
  }

  .page-drivers .driver-photo,
  .page-team .team-photo {
    min-height: 340px;
  }

  .page-calendar .month-grid,
  .page-experience > section:first-of-type .card-grid,
  .page-rental-rotax > section:first-of-type .card-grid,
  .page-scholarship > section:first-of-type .card-grid {
    grid-template-columns: 1fr;
  }

  .editorial-page > main.hero {
    min-height: 720px;
    max-height: none;
  }

  .page-experience .booking-summary {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .page-experience .booking-layout,
  .page-experience .booking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-experience .booking-field.wide,
  .page-experience .booking-field.full {
    grid-column: 1;
  }

  .page-experience .booking-panel,
  .page-experience .booking-aside {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .page-experience .booking-summary {
    grid-template-columns: 1fr;
  }
}

/* Dark editorial palette: retain the new layouts without light page panels. */
.home-intro,
.editorial-page > .stats-bar,
.editorial-page > section:first-of-type {
  background:
    radial-gradient(circle at 88% 12%, rgba(0, 254, 0, 0.055), transparent 30rem),
    linear-gradient(145deg, #111610, #090c09 72%);
  color: var(--white);
}

.home-intro {
  border-top: 1px solid rgba(229, 255, 0, 0.12);
  border-bottom: 1px solid rgba(176, 187, 166, 0.14);
}

.home-intro .section-label,
.editorial-page > section:first-of-type .section-label {
  color: var(--yellow);
}

.home-intro .section-label::before,
.editorial-page > section:first-of-type .section-label::before {
  background: var(--yellow);
}

.home-intro h2,
.editorial-page > section:first-of-type .section-title,
.editorial-page > section:first-of-type .section-title strong {
  color: var(--white);
}

.home-intro h2 em,
.editorial-page > section:first-of-type .section-title em {
  color: var(--green);
}

.home-intro-copy > p,
.editorial-page > section:first-of-type .section-body {
  color: #aab5a1;
}

.home-intro-copy .home-text-link {
  color: var(--white);
}

.home-proof {
  border-color: rgba(176, 187, 166, 0.18);
}

.home-proof strong {
  color: var(--white);
}

.home-proof span {
  color: #84907b;
}

.editorial-page > .stats-bar .stat-item {
  border-color: rgba(176, 187, 166, 0.16);
}

.editorial-page > .stats-bar .stat-number {
  color: var(--white);
}

.editorial-page > .stats-bar .stat-label {
  color: #84907b;
}

.editorial-page > section:first-of-type .card-grid,
.editorial-page > section:first-of-type .services-grid,
.editorial-page > section:first-of-type .champ-grid,
.page-calendar .legend-grid {
  border-color: rgba(176, 187, 166, 0.17);
}

.editorial-page > section:first-of-type .card,
.page-calendar .legend-card {
  border-color: rgba(176, 187, 166, 0.15);
}

.editorial-page > section:first-of-type .card:hover {
  border-color: rgba(176, 187, 166, 0.15);
  background: rgba(0, 254, 0, 0.035);
}

.editorial-page > section:first-of-type .card-title,
.page-championships .champ-icon,
.page-race-with-us .card-title {
  color: var(--white);
}

.page-championships .champ-icon {
  color: var(--green);
}

.editorial-page > section:first-of-type .card-body {
  color: #9da995;
}

.editorial-page > section:first-of-type .card-icon svg {
  stroke: var(--green);
}

.editorial-page > section:first-of-type .card-tag {
  border-color: rgba(0, 254, 0, 0.3);
  color: var(--green);
}

.page-race-with-us .service-num {
  color: rgba(244, 247, 241, 0.02);
  -webkit-text-stroke-color: rgba(244, 247, 241, 0.12);
}

.page-drivers .driver-name,
.page-team .team-name {
  color: var(--white);
}

.page-drivers .driver-role,
.page-team .team-role {
  color: var(--yellow);
}

.page-drivers .driver-bio,
.page-team .team-copy,
.page-team .team-note,
.page-drivers .cta-body {
  color: #9da995;
}

.page-team .team-tag {
  color: var(--green);
}

.page-drivers .driver-card-cta {
  border-color: rgba(176, 187, 166, 0.17);
  color: var(--white);
}

.page-pricing .fee-table,
.page-pricing .fee-row,
.page-pricing .detail-card,
.page-deals .compare-item {
  border-color: rgba(176, 187, 166, 0.16);
}

.page-pricing .fee-row:hover {
  background: rgba(0, 254, 0, 0.035);
}

.page-pricing .fee-row > div,
.page-pricing .detail-card .price-note,
.page-deals .compare-item p {
  border-color: rgba(176, 187, 166, 0.12);
  color: #9da995;
}

.page-pricing .fee-row.header > div {
  color: var(--yellow);
}

.page-pricing .fee-name,
.page-pricing .fee-price,
.page-pricing .detail-card .price-list-title,
.page-pricing .detail-card .price-includes li,
.page-deals .compare-item h3 {
  color: var(--white) !important;
}

.page-contact label {
  color: #c7d0c0;
}

.page-contact input,
.page-contact select,
.page-contact textarea {
  border-color: rgba(176, 187, 166, 0.22) !important;
  background: rgba(4, 6, 4, 0.58) !important;
  color: var(--white) !important;
}

.page-calendar .legend-card {
  background: transparent;
}

.page-calendar .legend-abbr {
  color: var(--green);
}

.page-calendar .legend-name {
  color: #9da995;
}

.page-calendar .calendar-note {
  border-color: rgba(176, 187, 166, 0.16);
  background: rgba(0, 254, 0, 0.035);
}

.page-teamwear .product-card {
  border-color: rgba(176, 187, 166, 0.16);
  background: linear-gradient(145deg, #151a14, #0b0e0b);
}

.page-teamwear .product-card:hover {
  border-color: rgba(0, 254, 0, 0.3);
  background: linear-gradient(145deg, #192018, #0d110d);
}

.page-teamwear .product-title,
.page-teamwear .product-price,
.page-teamwear .product-copy,
.page-teamwear .product-card label {
  color: var(--white);
}

.page-teamwear .product-copy {
  color: #9da995;
}

.page-teamwear .product-card select {
  border-color: rgba(176, 187, 166, 0.22) !important;
  background: #080a08 !important;
  color: var(--white) !important;
}
