:root {
  --red: #ff0000;
  --blue: #0000ff;
  --purple: #800080;
  --grey: #808080;
  --bg: #ffffff;
  --bg-soft: #f7f5f2;
  --text: #2c2a28;
  --muted: #6d6862;
  --glass: rgba(255, 255, 255, 0.78);
  --line: rgba(44, 42, 40, 0.08);
  --shadow: 0 18px 50px rgba(44, 42, 40, 0.07);
  --sans: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #ffffff;
  color: var(--text);
  font-family: var(--sans);
}

body {
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

.nav,
main,
footer {
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: max(0.85rem, env(safe-area-inset-top)) 6vw 0.85rem;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 30;
  border-bottom: 1px solid transparent;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 1.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.9rem;
  cursor: pointer;
}

#site-nav {
  display: flex;
  align-items: center;
}

.nav a:hover {
  color: var(--text);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0 !important;
  color: var(--text) !important;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: visible;
}

.mark--sm {
  width: 36px;
  height: 36px;
}

.mark--hero {
  width: 112px;
  height: 112px;
  --split: 20px;
  animation: ident-turn 18s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  animation-delay: 0s;
}

.mark--hero .sq {
  animation-duration: 18s;
  animation-delay: 0s;
  animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  animation-iteration-count: infinite;
}

.mark-stage {
  width: 240px;
  height: 240px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  cursor: grab;
  touch-action: none;
}

.mark-stage:active {
  cursor: grabbing;
}

.mark--hero.is-tracking,
.mark--hero.is-tracking .sq {
  animation: none !important;
}

.sq {
  display: block;
  border-radius: 0;
}

.sq-red {
  background: var(--red);
}
.sq-blue {
  background: var(--blue);
}
.sq-purple {
  background: var(--purple);
}
.sq-grey {
  background: var(--grey);
}

.mark--hero .sq-red {
  animation-name: split-tl;
}
.mark--hero .sq-blue {
  animation-name: split-tr;
}
.mark--hero .sq-purple {
  animation-name: split-bl;
}
.mark--hero .sq-grey {
  animation-name: split-br;
}

@keyframes ident-turn {
  0% {
    transform: rotate(0deg);
  }
  18% {
    transform: rotate(90deg);
  }
  25% {
    transform: rotate(90deg);
  }
  43% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(180deg);
  }
  68% {
    transform: rotate(270deg);
  }
  75% {
    transform: rotate(270deg);
  }
  93% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes split-tl {
  0% {
    transform: translate(0, 0);
  }
  7%,
  12% {
    transform: translate(calc(var(--split) * -1), calc(var(--split) * -1));
  }
  20%,
  32% {
    transform: translate(0, 0);
  }
  39%,
  44% {
    transform: translate(calc(var(--split) * -1), calc(var(--split) * -1));
  }
  52%,
  64% {
    transform: translate(0, 0);
  }
  71%,
  76% {
    transform: translate(calc(var(--split) * -1), calc(var(--split) * -1));
  }
  84%,
  100% {
    transform: translate(0, 0);
  }
}

@keyframes split-tr {
  0% {
    transform: translate(0, 0);
  }
  7%,
  12% {
    transform: translate(var(--split), calc(var(--split) * -1));
  }
  20%,
  32% {
    transform: translate(0, 0);
  }
  39%,
  44% {
    transform: translate(var(--split), calc(var(--split) * -1));
  }
  52%,
  64% {
    transform: translate(0, 0);
  }
  71%,
  76% {
    transform: translate(var(--split), calc(var(--split) * -1));
  }
  84%,
  100% {
    transform: translate(0, 0);
  }
}

@keyframes split-bl {
  0% {
    transform: translate(0, 0);
  }
  7%,
  12% {
    transform: translate(calc(var(--split) * -1), var(--split));
  }
  20%,
  32% {
    transform: translate(0, 0);
  }
  39%,
  44% {
    transform: translate(calc(var(--split) * -1), var(--split));
  }
  52%,
  64% {
    transform: translate(0, 0);
  }
  71%,
  76% {
    transform: translate(calc(var(--split) * -1), var(--split));
  }
  84%,
  100% {
    transform: translate(0, 0);
  }
}

@keyframes split-br {
  0% {
    transform: translate(0, 0);
  }
  7%,
  12% {
    transform: translate(var(--split), var(--split));
  }
  20%,
  32% {
    transform: translate(0, 0);
  }
  39%,
  44% {
    transform: translate(var(--split), var(--split));
  }
  52%,
  64% {
    transform: translate(0, 0);
  }
  71%,
  76% {
    transform: translate(var(--split), var(--split));
  }
  84%,
  100% {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark--hero,
  .mark--hero .sq {
    animation: none;
  }
}

.brand-text {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.hero {
  text-align: center;
  padding: 3.5rem 6vw 5rem;
}

.kicker {
  display: none;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 560;
}

h1 {
  font-size: clamp(1.7rem, 6.2vw, 3.6rem);
  line-height: 1.2;
  margin: 0.6rem 0 1rem;
  overflow-wrap: anywhere;
}

.lede {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  overflow-wrap: break-word;
}

.countdown-label {
  font-family: var(--display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-size: clamp(0.72rem, 3vw, 0.85rem);
  padding: 0 0.5rem;
}

.clock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  margin: 1.25rem auto 2.5rem;
  width: min(100%, 28rem);
}

.flip {
  width: 100%;
  min-height: 4.25rem;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: var(--shadow);
}

.flip span,
.flip .curr {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5.5vw, 2.15rem);
  font-weight: 600;
  color: #000;
  line-height: 1;
  opacity: 1;
  transform: none;
}

h1 span {
  color: var(--muted);
  font-style: italic;
  font-weight: 450;
  display: block;
}

.unit label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta,
form button {
  display: inline-block;
  background: #000;
  color: #fff;
  border: 0;
  padding: 0.95rem 1.7rem;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
  min-height: 44px;
}

.cta:hover,
form button:hover {
  transform: translateY(-1px);
  background: #000;
}

.tracks,
.arena,
.access {
  padding: 2rem 6vw 4rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.section-head p {
  color: var(--muted);
  margin: 0.4rem 0 0;
  line-height: 1.6;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 1.5rem;
}

.section-head h2 {
  margin-bottom: 0;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.arena-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  max-width: 56rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.arena-side {
  padding: 2.5rem 2rem;
  min-width: 0;
}

.arena-side--red {
  border-right: 1px solid var(--line);
}

.arena-side--blue {
  text-align: right;
  border-left: 1px solid var(--line);
}

.arena-swatch {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 1.35rem;
}

.arena-side--red .arena-swatch {
  background: var(--red);
}

.arena-side--blue .arena-swatch {
  background: var(--blue);
  margin-left: auto;
}

.arena-side h3 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

.arena-side > p:not(.tag) {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.arena-side--blue > p:not(.tag) {
  margin-left: auto;
}

.arena-core {
  display: grid;
  place-items: center;
  padding: 0 1.25rem;
  position: relative;
}

.arena-core::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.vs {
  position: relative;
  z-index: 1;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #000;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #000;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.track h3 {
  margin-top: 0;
}

.track p,
.form-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.t-red {
  box-shadow: inset 3px 0 0 var(--red), var(--shadow);
}
.t-blue {
  box-shadow: inset 3px 0 0 var(--blue), var(--shadow);
}
.t-purple {
  box-shadow: inset 3px 0 0 var(--purple), var(--shadow);
}
.t-grey {
  box-shadow: inset 3px 0 0 var(--grey), var(--shadow);
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card {
  max-width: min(32rem, 100%);
  margin: 0 auto;
  background: #fff;
  position: relative;
}

form {
  display: grid;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.85rem 0.9rem;
  font-family: var(--sans);
  border-radius: 12px;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.9rem;
}

.form-status.ok {
  color: var(--blue);
}
.form-status.err {
  color: var(--red);
}

footer {
  text-align: center;
  padding: 2.5rem 6vw calc(2.5rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}

.footer-meta {
  margin: 0 0 1.25rem;
}

.social-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.75rem;
}

.linkedin-btn,
.github-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.7rem 1.15rem;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.linkedin-btn {
  background: #0a66c2;
  border: 1px solid #0a66c2;
}

.github-btn {
  background: #111;
  border: 1px solid #111;
}

.linkedin-btn svg,
.github-btn svg {
  flex-shrink: 0;
}

.linkedin-btn:hover {
  background: #004182;
  border-color: #004182;
}

.github-btn:hover {
  background: #000;
  border-color: #000;
}

.linkedin-btn:active,
.github-btn:active {
  transform: translateY(1px);
}

.nav-linkedin,
.nav-github {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}

.nav-linkedin svg,
.nav-github svg {
  flex-shrink: 0;
}

.developer {
  max-width: 36rem;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.developer-label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.developer-name {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 560;
  color: var(--text);
}

.developer-role {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.developer-links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.developer-links a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s ease;
}

.developer-links a:hover {
  border-bottom-color: var(--text);
}

.developer-links span {
  color: var(--line);
  user-select: none;
}

.footer-version {
  margin: 1.5rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav-dev {
  color: var(--text) !important;
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chat-widget {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 80;
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.chat-guide {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-end;
  gap: 0;
  width: min(220px, calc(100vw - 5rem));
  pointer-events: auto;
}

.chat-guide[hidden] {
  display: none !important;
}

.chat-guide__card {
  width: 100%;
  padding: 0.85rem 0.9rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(44, 42, 40, 0.12);
  text-align: center;
}

.chat-guide__sub {
  min-height: 2.8rem;
  margin: 0 auto 0.7rem;
  max-width: 14rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text);
  text-align: center;
}

.chat-guide__sub::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 2px;
  background: #000;
  vertical-align: text-bottom;
  animation: guide-caret 0.8s steps(1) infinite;
}

.chat-guide.is-done .chat-guide__sub::after {
  display: none;
}

.chat-guide__ok {
  border: 0;
  background: #000;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  min-height: 38px;
  padding: 0 1rem;
  cursor: pointer;
}

.chat-guide__pointer {
  width: 58px;
  height: 36px;
  display: grid;
  place-items: center;
  margin: 0.2rem 0 0.15rem;
  flex-shrink: 0;
  animation: guide-point 1.1s ease-in-out infinite;
}

.chat-guide__pointer svg {
  display: block;
}

@keyframes guide-point {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

@keyframes guide-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-guide__pointer,
  .chat-guide__sub::after {
    animation: none;
  }
}

.chat-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.18s ease;
  padding: 0;
}

.chat-toggle:hover {
  transform: translateY(-2px);
}

.chat-toggle__svg {
  display: block;
}

.chat-widget.is-open .chat-toggle {
  display: grid;
}

.chat-panel__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.chat-mail-icon {
  flex-shrink: 0;
  color: #000;
}

.chat-panel {
  width: min(360px, calc(100vw - 1.6rem));
  height: min(520px, calc(100vh - 6.5rem));
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(44, 42, 40, 0.16);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel[hidden] {
  display: none !important;
}

.chat-widget.is-open .chat-panel:not([hidden]) {
  display: flex;
}

.chat-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 0.8rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.chat-panel__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--text);
}

.chat-panel__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chat-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.chat-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}

.chat-modes button {
  border: 0;
  background: #fff;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 0.4rem;
  cursor: pointer;
  min-height: 44px;
}

.chat-modes button.is-active {
  color: #000;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 #000;
}

.chat-log {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #fff;
}

.chat-bubble {
  max-width: 92%;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-bubble--assistant {
  align-self: flex-start;
  background: var(--bg-soft);
  color: var(--text);
}

.chat-bubble--user {
  align-self: flex-end;
  background: #000;
  color: #fff;
}

.chat-status {
  min-height: 1.1rem;
  margin: 0;
  padding: 0 0.9rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.chat-status.err {
  color: var(--red);
}

.chat-form {
  border-top: 1px solid var(--line);
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  background: #fff;
}

.chat-contact {
  display: grid;
  gap: 0.45rem;
}

.chat-contact[hidden] {
  display: none !important;
}

.chat-contact input,
.chat-compose textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  padding: 0.65rem 0.7rem;
  border-radius: 0;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: end;
}

.chat-compose textarea {
  resize: none;
  min-height: 52px;
}

.chat-compose button {
  background: #000;
  color: #fff;
  border: 0;
  padding: 0 1rem;
  min-height: 44px;
  font-family: var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  cursor: pointer;
}

.chat-compose button:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 560px) {
  .chat-panel {
    width: calc(100vw - 1.2rem);
    height: min(70vh, 560px);
  }
}

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0.4rem;
  }

  .nav.is-open #site-nav {
    display: flex;
  }

  #site-nav a {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    border-top: 1px solid var(--line);
    padding: 0.35rem 0;
  }

  .hero {
    padding: 1.5rem 5vw 2.5rem;
  }

  .mark-stage {
    width: min(100%, 168px);
    height: 148px;
    margin-bottom: 0.4rem;
  }

  .mark--hero {
    width: 84px;
    height: 84px;
    --split: 12px;
  }

  .tracks,
  .arena,
  .access {
    padding: 1.5rem 5vw 2.5rem;
  }

  .arena-board {
    grid-template-columns: 1fr;
  }

  .arena-side,
  .arena-side--red,
  .arena-side--blue {
    text-align: left;
    padding: 1.75rem 0;
    border: 0;
  }

  .arena-side--red {
    border-bottom: 1px solid var(--line);
  }

  .arena-side--blue .arena-swatch {
    margin-left: 0;
  }

  .arena-side--blue > p:not(.tag) {
    margin-left: 0;
  }

  .arena-core {
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .arena-core::before {
    display: none;
  }

  .cta,
  form button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .track-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.1rem;
    border-radius: 16px;
  }

  footer {
    padding: 1.5rem 5vw calc(1.5rem + env(safe-area-inset-bottom));
  }
}

@media (pointer: coarse) {
  .mark-stage {
    touch-action: pan-y;
    cursor: default;
    height: auto;
    padding: 0.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark--hero,
  .mark--hero .sq,
  .flip.tick span {
    animation: none;
  }

  .cta:hover,
  form button:hover {
    transform: none;
  }
}
