:root {
  --acid: #dd0500;
  --orange: #dd0500;
  --ink: #1c1c1c;
  --paper: #ffffff;
  --muted: #a4a69d;
  --line: rgba(17, 18, 14, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 4vw;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: "Unbounded", sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 0.85;
}

.logo > span:last-child > span {
  display: block;
  margin-top: 5px;
  color: var(--acid);
  font-size: 8px;
  letter-spacing: 0.17em;
}

.logo-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: white;
  background: var(--acid);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.nav {
  display: flex;
  gap: 38px;
  font-size: 13px;
  font-weight: 700;
}

.nav a,
.header-action {
  transition: color 0.25s ease;
}

.nav a:hover,
.header-action:hover {
  color: var(--acid);
}

.nav .mobile-auth-link,
.mobile-auth-logout {
  display: none;
}

.header-account {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.header-action {
  font-size: 13px;
  font-weight: 700;
}

.header-action span {
  margin-left: 7px;
  color: var(--acid);
}

.header-logout {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.header-logout:hover {
  color: white;
  border-color: var(--acid);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: 46% 54%;
  color: white;
  background: var(--ink);
}

.hero-copy {
  z-index: 2;
  align-self: center;
  padding: 120px 0 80px 7vw;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 25px;
  height: 2px;
  background: var(--acid);
}

.eyebrow.dark {
  color: #62645d;
}

.eyebrow.dark > span {
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(52px, 6.4vw, 102px);
  line-height: 0.91;
  letter-spacing: -0.06em;
}

h1 em,
h2 em {
  color: var(--acid);
  font-style: normal;
}

.hero-description {
  max-width: 470px;
  margin: 35px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.7;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 45px;
  padding: 17px 20px;
  color: white;
  background: var(--acid);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}

.primary-button:hover {
  color: white;
  background: #990300;
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(17, 18, 14, 0.93) 0%, rgba(17, 18, 14, 0.25) 40%),
    radial-gradient(circle at 70% 35%, #a8b4b3 0%, #505c60 42%, #202425 100%);
}

.sun {
  position: absolute;
  top: 17%;
  right: 12%;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  opacity: 0.65;
  background: #ff9b74;
  filter: blur(2px);
}

.mountain {
  position: absolute;
  right: -6%;
  bottom: 18%;
  width: 110%;
  height: 55%;
  transform-origin: bottom;
}

.mountain-back {
  opacity: 0.45;
  background: #60696a;
  clip-path: polygon(0 82%, 12% 49%, 23% 72%, 38% 25%, 48% 63%, 59% 36%, 70% 71%, 85% 20%, 100% 64%, 100% 100%, 0 100%);
}

.mountain-front {
  bottom: 10%;
  background: #252a29;
  clip-path: polygon(0 78%, 18% 44%, 30% 70%, 46% 31%, 62% 75%, 76% 43%, 100% 72%, 100% 100%, 0 100%);
}

.speed-lines {
  position: absolute;
  inset: 62% -10% 0 0;
  opacity: 0.23;
  transform: skewX(-25deg);
  background: repeating-linear-gradient(0deg, transparent 0 17px, white 18px 19px);
}

.kart {
  position: absolute;
  right: 3%;
  bottom: 14%;
  width: 78%;
  height: 28%;
  transform: skewX(-4deg);
}

.kart-body {
  position: absolute;
  right: 3%;
  bottom: 23%;
  width: 86%;
  height: 43%;
  background: var(--orange);
  border-radius: 60% 18% 20% 30%;
  clip-path: polygon(0 52%, 20% 6%, 58% 17%, 70% 39%, 100% 48%, 92% 90%, 14% 100%);
  box-shadow: inset 0 -20px 0 rgba(0, 0, 0, 0.25);
}

.kart-driver {
  position: absolute;
  z-index: 2;
  left: 41%;
  bottom: 55%;
  width: 22%;
  height: 55%;
  background: #141615;
  border-radius: 50% 50% 32% 20%;
}

.kart-driver::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 17%;
  width: 69%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: inset -12px -5px 0 rgba(0, 0, 0, 0.25);
}

.wheel {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  width: 20%;
  height: 34%;
  border: 8px solid #050505;
  border-radius: 47%;
  background: #2d302d;
}

.wheel-left {
  left: 4%;
}

.wheel-right {
  right: 7%;
}

.hero-badge {
  position: absolute;
  top: 22%;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 160px;
  height: 160px;
  padding: 25px;
  color: white;
  background: var(--acid);
  border-radius: 50%;
  transform: rotate(8deg);
}

.hero-badge strong {
  font-family: "Unbounded", sans-serif;
  font-size: 37px;
}

.hero-badge span {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.altitude {
  position: absolute;
  right: 5%;
  bottom: 5%;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.hero-scroll {
  position: absolute;
  bottom: 0;
  left: 2vw;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.hero-scroll div {
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.ticker {
  overflow: hidden;
  padding: 18px 0;
  color: white;
  background: var(--acid);
  font-family: "Unbounded", sans-serif;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: ticker 24s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}

.ticker i {
  color: var(--ink);
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-33.333333%); }
}

.section {
  padding: 110px 7vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
}

.section-heading h2,
.about h2,
.subscribe h2,
.track-copy h2 {
  font-size: clamp(37px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading h2 em,
.about h2 em {
  color: var(--orange);
}

.section-heading > p,
.events-heading-side > p {
  max-width: 440px;
  margin: 0 0 7px;
  color: #666860;
  font-size: 14px;
  line-height: 1.7;
}

.events-heading-side {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.events-scope {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(28, 28, 28, 0.12);
  border-radius: 999px;
  background: #f3f2ef;
}

.events-scope-button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: #666860;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.events-scope-button:hover {
  color: var(--ink);
}

.events-scope-button.active {
  color: white;
  background: var(--ink);
}

.event-card.past {
  opacity: 0.88;
}

.event-card.past .event-tag {
  background: rgba(28, 28, 28, 0.72);
}

.events-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 20px;
  color: #696b63;
  text-align: center;
  font-size: 14px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  width: 80%;
  margin: 0 auto;
}

.event-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: #f5f4f2;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    opacity 0.25s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.event-card:hover {
  z-index: 2;
  border-color: rgba(221, 5, 0, 0.25);
  box-shadow: 0 22px 45px rgba(28, 28, 28, 0.16);
  transform: translateY(-9px);
}

.event-card.hidden {
  display: none;
}

.event-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-color: #586163;
  transition: filter 0.35s ease;
}

.event-image::before,
.event-image::after {
  content: "";
  position: absolute;
}

.event-image::before {
  inset: 0;
  background:
    linear-gradient(145deg, transparent 40%, rgba(0, 0, 0, 0.55)),
    repeating-linear-gradient(155deg, transparent 0 25px, rgba(255, 255, 255, 0.04) 26px 27px);
}

.event-image::after {
  display: none;
}

.event-card:hover .event-image {
  filter: saturate(1.2) contrast(1.05);
}

.event-card:hover .event-image::after {
  transform: rotate(-6deg) scale(1.12);
}

.image-one {
  background: #343838 url("../imgs/karting-cup.png") center 48% / cover no-repeat;
}

.image-two {
  background: #111822 url("../imgs/karting-night.png") center 54% / cover no-repeat;
}

.image-three {
  background: #554b35 url("../imgs/karting-family.png") center 48% / cover no-repeat;
}

.event-tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  color: white;
  background: var(--acid);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-date {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 15px;
  display: flex;
  align-items: end;
  gap: 7px;
  color: white;
  transition: transform 0.35s ease;
}

.event-card:hover .event-date {
  transform: translateX(-6px);
}

.event-date strong {
  font-family: "Unbounded", sans-serif;
  font-size: 45px;
  line-height: 1;
}

.event-date span {
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 800;
}

.event-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 27px;
}

.event-meta {
  display: flex;
  justify-content: space-between;
  color: #777970;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-content h3 {
  margin: 24px 0 15px;
  font-size: clamp(21px, 2.3vw, 33px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  transition: color 0.25s ease;
}

.event-card:hover .event-content h3 {
  color: var(--orange);
}

.event-content > p,
.event-description-text {
  min-height: 0;
  margin: 0;
  color: #696b63;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.event-description {
  display: grid;
  gap: 8px;
}

.event-read-more {
  justify-self: start;
  color: var(--acid);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-footer {
  display: flex;
  align-items: end;
  gap: 25px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.event-footer small {
  display: block;
  margin-bottom: 4px;
  color: #8b8d85;
  font-size: 8px;
  text-transform: uppercase;
}

.arrow-button {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.event-card:hover .arrow-button {
  color: white;
  background: var(--acid);
  transform: rotate(45deg);
}

.news {
  background:
    linear-gradient(180deg, #f7f6f3 0%, #ffffff 40%, #ffffff 100%);
}

.news-list {
  display: flex;
  gap: 18px;
  width: calc(100% + 14vw);
  max-width: none;
  margin: 0 -7vw;
  padding: 4px 7vw 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 7vw;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(221, 5, 0, 0.45) transparent;
}

.news-list::-webkit-scrollbar {
  height: 6px;
}

.news-list::-webkit-scrollbar-track {
  background: transparent;
}

.news-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(221, 5, 0, 0.45);
}

.news-list > .events-empty {
  flex: 0 0 auto;
  width: min(520px, 100%);
  padding: 28px 0;
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex: 0 0 min(900px, 88vw);
  width: min(900px, 88vw);
  padding: 0;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.25s ease, color 0.25s ease;
}

.news-card.has-preview {
  grid-template-columns: minmax(240px, 38%) 1fr;
  align-items: stretch;
  gap: 24px;
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card-media {
  width: 100%;
  min-height: 220px;
  height: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background:
    #d8d9d3
    center / cover no-repeat;
  transition: transform 0.35s ease;
}

.news-card.has-preview .news-card-media {
  aspect-ratio: auto;
  min-height: 100%;
}

.news-card:hover .news-card-media {
  transform: scale(1.03);
}

.news-card-copy {
  display: grid;
  gap: 10px;
  align-content: center;
  min-width: 0;
  padding: 8px 4px 8px 0;
}

.news-card-meta {
  color: #7a7d74;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover h3 {
  color: var(--acid);
}

.news-card p {
  margin: 0;
  color: #5f6259;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--ink, #171914);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-card-more span {
  transition: transform 0.25s ease;
}

.news-card:hover .news-card-more span {
  transform: translateX(4px);
}

.announcements {
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f3ef 55%, #f4f3ef 100%);
}

.announcements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.announcement-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 100%;
  padding: 24px 22px;
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(28, 28, 28, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.announcement-card:hover {
  transform: translateY(-3px);
  border-color: rgba(221, 5, 0, 0.28);
  box-shadow: 0 16px 36px rgba(28, 28, 28, 0.08);
}

.announcement-card.is-pinned {
  border-color: rgba(221, 5, 0, 0.35);
  background:
    linear-gradient(180deg, rgba(221, 5, 0, 0.04), transparent 42%),
    #fff;
}

.announcement-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.announcement-card time {
  color: #7a7d74;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-pin {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(221, 5, 0, 0.1);
  color: var(--orange, #dd0500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.announcement-card h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.announcement-card > p {
  margin: 0;
  color: #5f6259;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--ink, #1c1c1c);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.announcement-link span {
  transition: transform 0.25s ease;
}

.announcement-link:hover span {
  transform: translateX(4px);
}

.announcements-grid > .events-empty {
  grid-column: 1 / -1;
  padding: 12px 0;
}

.track-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 780px;
  color: white;
  background: var(--ink);
}

.track-map {
  position: relative;
  display: grid;
  min-height: 600px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 45px 45px;
}

.track-map::after {
  content: "";
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 255, 54, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(216, 255, 54, 0.025), 0 0 0 160px rgba(216, 255, 54, 0.018);
}

.track-map svg {
  z-index: 1;
  width: 78%;
}

.track-shadow,
.track-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.track-shadow {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 58;
}

.track-line {
  stroke: var(--acid);
  stroke-width: 3;
  stroke-dasharray: 10 10;
  filter: drop-shadow(0 0 7px rgba(216, 255, 54, 0.45));
}

.map-point {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

.point-one { left: var(--point-one-x, 25%); top: var(--point-one-y, 34%); }
.point-two { left: var(--point-two-x, 77%); top: var(--point-two-y, 38%); }
.point-three { left: var(--point-three-x, 47%); top: var(--point-three-y, 73%); }

.track-config-badge {
  position: absolute;
  z-index: 4;
  right: 32px;
  bottom: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(17, 18, 14, 0.72);
  font-family: "Unbounded", sans-serif;
  font-size: 8px;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s ease;
}

.track-config-badge.visible {
  opacity: 1;
  transform: translateY(0);
}

.track-map.config-changing svg {
  animation: track-config-switch 0.6s ease;
}

@keyframes track-config-switch {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  45%,
  55% {
    opacity: 0;
    transform: scale(0.97);
  }
}

.track-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 8vw 80px 5vw;
  background: #191b16;
}

.track-copy h2 {
  font-size: clamp(40px, 4.7vw, 68px);
}

.track-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 32px 0 40px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.8;
}

.track-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.track-stats div {
  padding-right: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.track-stats div + div {
  padding-left: 18px;
}

.track-stats div:last-child {
  border: 0;
}

.track-stats dt {
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.track-stats dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
  text-transform: uppercase;
}

.track-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.track-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  background: transparent;
  font-size: 17px;
  cursor: pointer;
  transition: 0.25s ease;
}

.track-arrow:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.track-pagination {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 18px;
}

.track-counter {
  color: rgba(255, 255, 255, 0.35);
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
}

.track-counter strong {
  color: white;
  font-size: 13px;
}

.track-dots {
  display: flex;
  flex: 1;
  gap: 7px;
}

.track-dot {
  position: relative;
  flex: 1;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.track-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.25s ease;
}

.track-dot.active::after,
.track-dot:hover::after {
  background: var(--orange);
}

.track-section.track-changing .track-map svg {
  animation: track-map-enter 0.4s ease;
}

.track-section.track-changing .track-copy h2,
.track-section.track-changing .track-copy > p:not(.eyebrow),
.track-section.track-changing .track-stats {
  animation: track-copy-enter 0.4s ease;
}

@keyframes track-map-enter {
  from { opacity: 0; transform: scale(0.96); }
}

@keyframes track-copy-enter {
  from { opacity: 0; transform: translateY(12px); }
}

.about {
  padding-top: 130px;
  padding-bottom: 140px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  align-items: end;
  gap: 8vw;
}

.about-grid > div p {
  color: #65675f;
  font-size: 14px;
  line-height: 1.8;
}

.about-grid > div a {
  display: inline-block;
  margin-top: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.about-grid > div a span {
  margin-left: 15px;
  color: var(--orange);
}

.subscribe {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 8vw;
  padding: 90px 7vw;
  color: white;
  background: var(--orange);
}

.subscribe .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.subscribe .eyebrow span {
  background: var(--ink);
}

.subscribe h2 {
  font-size: clamp(37px, 4.8vw, 69px);
}

.subscribe h2 em {
  color: var(--ink);
}

.subscribe-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 800;
}

.subscribe-form > div {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.65);
}

.subscribe-form input {
  width: 100%;
  min-width: 0;
  padding: 16px 0;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font-size: 20px;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.subscribe-form button {
  flex: 0 0 auto;
  border: 0;
  color: white;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.subscribe-form button span {
  margin-left: 10px;
}

.form-message {
  min-height: 19px;
  margin: 13px 0 0;
  font-size: 11px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: center;
  gap: 40px;
  padding: 35px 7vw;
  color: rgba(255, 255, 255, 0.45);
  background: var(--ink);
  font-size: 10px;
}

.footer-logo {
  color: white;
}

.footer p {
  margin: 0;
}

.footer > div {
  display: flex;
  gap: 22px;
}

.footer > div a:hover {
  color: var(--acid);
}

@media (max-width: 1000px) {
  .announcements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vw;
    opacity: 0;
    visibility: hidden;
    background: var(--ink);
    font-family: "Unbounded", sans-serif;
    font-size: 32px;
    transition: 0.3s ease;
  }

  .nav.open {
    z-index: 8;
    opacity: 1;
    visibility: visible;
  }

  .header-account {
    display: none;
  }

  .nav .mobile-auth-link,
  .nav .mobile-auth-logout:not([hidden]) {
    display: block;
  }

  .mobile-auth-logout {
    padding: 0;
    border: 0;
    color: var(--acid);
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-align: left;
    cursor: pointer;
  }

  .menu-button {
    position: relative;
    z-index: 9;
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: transparent;
  }

  .menu-button span {
    display: block;
    width: 18px;
    height: 1px;
    background: white;
    transition: 0.25s ease;
  }

  .menu-button.active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

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

  .hero-copy {
    position: absolute;
    bottom: 0;
    align-self: auto;
    padding: 130px 7vw 75px;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: 760px;
  }

  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 18, 14, 0.82), transparent), linear-gradient(0deg, rgba(17, 18, 14, 0.9), transparent 60%);
  }

  .hero-badge {
    z-index: 1;
    top: 16%;
  }

  .event-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card:last-child {
    grid-column: auto;
  }

  .track-section {
    grid-template-columns: 1fr;
  }

  .track-map {
    min-height: 530px;
  }

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

@media (max-width: 680px) {
  .header {
    padding: 17px 20px;
  }

  .news-list {
    width: calc(100% + 14vw);
    margin: 0 -7vw;
    padding: 4px 7vw 16px;
    gap: 14px;
    scroll-padding-inline: 7vw;
  }

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

  .news-card,
  .news-card.has-preview {
    flex-basis: min(820px, 92vw);
    width: min(820px, 92vw);
    grid-template-columns: minmax(140px, 36%) 1fr;
    gap: 14px;
  }

  .news-card:not(.has-preview) {
    grid-template-columns: 1fr;
  }

  .news-card-media {
    max-width: 100%;
    min-height: 160px;
  }

  .news-card-copy {
    padding: 4px 0;
  }

  .news-card h3 {
    font-size: clamp(16px, 4.5vw, 20px);
    -webkit-line-clamp: 3;
  }

  .news-card p {
    -webkit-line-clamp: 2;
  }

  .hero,
  .hero-visual {
    min-height: 700px;
  }

  .hero-copy {
    padding: 110px 23px 55px;
  }

  h1 {
    font-size: clamp(45px, 15vw, 66px);
  }

  .hero-description {
    max-width: 90%;
    font-size: 13px;
  }

  .hero-badge {
    top: 15%;
    right: -15px;
    width: 126px;
    height: 126px;
    padding: 20px;
  }

  .hero-badge strong {
    font-size: 28px;
  }

  .kart {
    right: -15%;
    bottom: 24%;
    width: 110%;
  }

  .hero-scroll,
  .altitude {
    display: none;
  }

  .section {
    padding: 80px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading h2,
  .about h2,
  .subscribe h2,
  .track-copy h2 {
    font-size: 35px;
  }

  .event-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .event-card:last-child {
    grid-column: auto;
  }

  .event-image {
    height: 230px;
  }

  .event-content > p,
  .event-description-text {
    min-height: 0;
  }

  .track-map {
    min-height: 380px;
  }

  .track-copy {
    padding: 70px 20px;
  }

  .track-stats dt {
    font-size: 13px;
  }

  .track-stats div {
    padding-right: 9px;
  }

  .track-stats div + div {
    padding-left: 9px;
  }

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

  .subscribe {
    padding: 70px 20px;
  }

  .subscribe-form > div {
    flex-direction: column;
  }

  .subscribe-form button {
    align-self: flex-start;
    padding: 15px 0;
  }

  .footer {
    grid-template-columns: 1fr auto;
    gap: 25px;
    padding: 35px 20px;
  }

  .footer p {
    grid-column: 1 / -1;
  }

  .footer > div {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
