/* =====================================
   DRIFT PAGE — GLOBAL OVERRIDES & RESET
   ===================================== */

html {
  height: auto !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body.drift-page {
  width: 100%;
  min-height: 100vh !important;
  height: auto !important;
  margin: 0;
  background: #080808;
  color: #f5f5f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.drift-page * {
  box-sizing: border-box;
}

.drift-page a {
  color: inherit;
  text-decoration: none;
}

/* =====================================
   SITE HEADER & NAVIGATION
   ===================================== */

.drift-page .site-header {
  width: min(1320px, calc(100% - 100px));
  margin: 0 auto;
  height: clamp(70px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 50;
}

.drift-page .brand {
  display: flex;
  align-items: center;
  width: clamp(120px, 13vw, 175px);
  height: auto;
  transition: opacity 0.25s ease;
}

.drift-page .brand:hover {
  opacity: 0.85;
}

.drift-page .brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.drift-page .header-right {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
}

.drift-page .social-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.drift-page .social-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0.72;
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.drift-page .social-nav a svg {
  display: block;
}

.drift-page .social-nav a:hover {
  opacity: 1;
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.drift-page .menu-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.25s ease;
  touch-action: manipulation;
}

.drift-page .menu-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 44px;
  min-height: 44px;
}

.drift-page .menu-toggle:hover {
  opacity: 0.75;
}

.drift-page .menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #ffffff;
  border-radius: 1px;
}

/* =====================================
   FULLSCREEN / DRAWER MENU OVERLAY
   ===================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4.5vw, 60px) clamp(24px, 6vw, 100px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.overlay-logo {
  width: clamp(120px, 13vw, 175px);
  height: auto;
  display: block;
}

.overlay-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.overlay-close:hover {
  opacity: 0.75;
  transform: rotate(90deg);
}

.overlay-nav {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vh, 20px);
  margin: auto 0;
  padding: 20px 0;
}

.overlay-link {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(12px, 1.8vw, 24px);
  font-size: clamp(26px, 4.8vw, 54px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  color: #ffffff;
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.25s ease;
  width: fit-content;
}

.overlay-link .link-num {
  font-size: clamp(11px, 1.2vw, 15px);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.12em;
  color: #666666;
  transition: color 0.2s ease;
}

.overlay-link:hover {
  color: #efff00;
  transform: translateX(10px);
}

.overlay-link:hover .link-num {
  color: #efff00;
}

.overlay-link.yellow-accent {
  color: #efff00;
}

.overlay-link.yellow-accent .link-num {
  color: #efff00;
}

.overlay-link.pink-accent {
  color: #ff2a9d;
}

.overlay-link.pink-accent .link-num {
  color: #ff2a9d;
}

.overlay-link.pink-accent:hover {
  color: #ff2a9d;
}

.overlay-link.pink-accent:hover .link-num {
  color: #ff2a9d;
}

.overlay-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(9px, 0.95vw, 11px);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #666666;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.overlay-footer a {
  color: #aaaaaa;
  transition: color 0.2s ease;
}

.overlay-footer a:hover {
  color: #efff00;
}

.drift-page main {
  width: 100%;
}

.drift-page section {
  width: min(1320px, calc(100% - 100px));
  margin: 0 auto;
}

/* HERO */

.drift-hero {
  padding-top: 55px;
  padding-bottom: 75px;
}

.drift-hero-heading {
  display: flex;
  align-items: baseline;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #aaa;
}

.drift-hero .eyebrow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e8ed00;
  border-radius: 50%;
  margin-right: 8px;
}

.drift-hero h1 {
  font-size: clamp(64px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.85;
  margin: 0;
}

.drift-hero h1 span,
.about-content h2 span,
.partner-copy h2 span,
.media-heading h2 span {
  color: #e8ed00;
}

.hero-subtitle {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: #aaa;
}

.drift-main-photo {
  width: 100%;
  overflow: hidden;
  background: #111;
}

.drift-main-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Original image: no filters, no cropping, no mirroring */
}

.photo-caption {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #777;
}

/* SECTION LABEL */

.section-label {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-bottom: 25px;
  border-bottom: 1px solid #292929;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #888;
}

.section-label span:first-child {
  color: #e8ed00;
}

/* ABOUT */

.about-section {
  padding-top: 70px;
  padding-bottom: 100px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 45px;
}

.about-content h2,
.partner-copy h2,
.media-heading h2 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.07em;
  margin: 0;
}

.about-text {
  max-width: 540px;
}

.about-text p {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
}

.about-text p,
.partner-copy>p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: #aaa;
  margin: 0 0 18px;
}

.about-text p:first-child {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.driver-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 20px;
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #292929;
}

.driver-details div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.driver-details span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #777;
  font-weight: 700;
}

.driver-details strong {
  font-size: 12px;
  font-weight: 600;
}

/* RESULTS */

.results-section {
  padding-top: 20px;
  padding-bottom: 110px;
}

.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 45px 0 35px;
}

.results-heading h2 {
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.07em;
  line-height: 1;
  margin: 12px 0 0;
  font-weight: 900;
}

.results-heading h2 span {
  color: #e8ed00;
}

.results-note {
  color: #777;
  font-size: 12px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #292929;
}

.result-card {
  position: relative;
  min-height: 270px;
  padding: 35px;
  border-right: 1px solid #292929;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.result-card:last-child {
  border-right: 0;
}

.result-number {
  position: absolute;
  top: 25px;
  right: 28px;
  font-size: 10px;
  color: #555;
}

.result-place {
  font-size: clamp(55px, 7vw, 85px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.result-place span {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-left: 4px;
}

.result-line {
  width: 35px;
  height: 3px;
  background: #e8ed00;
  margin: 22px 0;
}

.result-card h3 {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 0 0 8px;
}

.result-card p {
  font-size: 11px;
  color: #888;
  margin: 0;
}

.result-highlight {
  background: #e8ed00;
  color: #080808;
}

.result-highlight .result-place,
.result-highlight h3 {
  color: #080808;
}

.result-highlight .result-line {
  background: #080808;
}

.result-highlight .result-number,
.result-highlight p {
  color: #333;
}

/* PARTNER */

.partner-section {
  padding-top: 20px;
  padding-bottom: 110px;
}

.partner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 55px;
}

.partner-copy h2 {
  margin: 15px 0 25px;
}

.partner-copy>p:not(.eyebrow) {
  max-width: 440px;
}

.partner-link {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  margin-top: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8ed00;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  transition: color .2s ease;
}

.partner-link:hover {
  color: #e8ed00;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 35px;
  background: #111;
  border: 1px solid #242424;
}

.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* MEDIA */

.media-section {
  padding-top: 20px;
  padding-bottom: 100px;
}

.media-heading {
  padding: 45px 0;
}

.media-heading h2 {
  margin-top: 15px;
}

.media-links {
  border-top: 1px solid #292929;
}

.media-links a {
  display: grid;
  grid-template-columns: 1fr 2fr 40px;
  align-items: center;
  padding: 25px 10px;
  border-bottom: 1px solid #292929;
  transition: padding .25s ease, color .25s ease;
}

.media-links a:hover {
  padding-left: 22px;
  color: #e8ed00;
}

.media-links a>span:first-child {
  font-size: 9px;
  color: #777;
  letter-spacing: 2px;
}

.media-links strong {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -1px;
}

.media-arrow {
  font-size: 22px;
  text-align: right;
}

/* FOOTER */

.drift-footer {
  width: min(1320px, calc(100% - 100px));
  margin: 0 auto;
  padding: 25px 0 35px;
  border-top: 1px solid #292929;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #777;
}

.drift-footer a {
  color: #f5f5f5 !important;
  transition: color 0.2s ease;
}

.drift-footer .back-home:hover {
  color: #efff00 !important;
}

.drift-footer .cross-link:hover {
  color: #ff2a9d !important;
}

/* RESPONSIVE */

@media (max-width: 800px) {

  .drift-page .site-header,
  .drift-page section,
  .drift-footer {
    width: calc(100% - 40px);
  }

  .drift-page .site-header {
    height: 70px;
  }

  .menu-overlay {
    padding: 24px 20px;
  }

  .drift-hero {
    padding-top: 35px;
    padding-bottom: 50px;
  }

  .drift-hero-heading {
    gap: 15px;
  }

  .drift-hero h1 {
    font-size: clamp(60px, 17vw, 110px);
  }

  .about-content,
  .partner-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-section,
  .partner-section {
    padding-bottom: 70px;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid #292929;
  }

  .result-card:last-child {
    border-bottom: 0;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .partner-logo {
    min-height: 160px;
  }

  .media-links a {
    grid-template-columns: 75px 1fr 25px;
    padding: 22px 5px;
  }

  .drift-footer {
    flex-wrap: wrap;
    line-height: 1.8;
  }
}

@media (max-width: 550px) {

  .drift-page .site-header,
  .drift-page section,
  .drift-footer {
    width: calc(100% - 30px);
  }
}

@media (max-width: 480px) {
  .drift-page .brand {
    width: clamp(100px, 28vw, 130px);
  }

  .drift-page .social-nav {
    gap: 12px;
  }

  .drift-page .social-nav a svg {
    width: 18px;
    height: 18px;
  }

  .drift-page .header-right {
    gap: 14px;
  }

  .photo-caption {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .about-content h2,
  .partner-copy h2,
  .media-heading h2 {
    font-size: 48px;
  }

  .driver-details {
    gap: 22px 10px;
  }

  .driver-details strong {
    font-size: 11px;
  }

  .result-card {
    padding: 28px;
  }

  .media-links a>span:first-child {
    font-size: 8px;
    letter-spacing: 1px;
  }
}

/* =====================================
   LANGUAGE SWITCHER (HEADER & OVERLAY)
   ===================================== */
.language-switcher {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  z-index: 5;
}

.language-switcher a {
  color: #777777;
  transition: color 0.2s ease;
  padding: 2px 4px;
}

.language-switcher a:hover {
  color: #ffffff;
}

.language-switcher a.active {
  color: #efff00;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switcher .lang-divider {
  color: #333333;
  font-size: 10px;
  user-select: none;
}

.overlay-languages {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.overlay-languages a {
  color: #777777;
  transition: color 0.2s ease;
  padding: 4px 6px;
}

.overlay-languages a:hover {
  color: #ffffff;
}

.overlay-languages a.active {
  color: #efff00;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.overlay-languages .lang-divider {
  color: #444444;
  font-size: 11px;
  user-select: none;
}

@media (max-width: 700px) {
  .language-switcher {
    display: none;
  }
}