:root {
  --bg: #000;
  --panel: #060606;
  --panel-soft: #0b0b0d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #f6f6f6;
  --muted: #a1a1aa;
  --dim: #5f5f66;
  --white: #fff;
  --black: #000;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.88)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.84)),
    url("../backgrounds/st-andrae-9433.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: clamp(1100px, 122vw, 1900px) auto;
  opacity: 0.5;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(100%, 1280px);
  min-height: 80px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.footer-mark,
.hero-watermark,
.hero-logo {
  filter: invert(1);
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand strong {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  text-transform: uppercase;
}

.brand small {
  margin-top: 5px;
  color: var(--dim);
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 34px;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a,
.nav-action,
.footer-links a,
.tag,
.meta,
.eyebrow {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active,
.footer-links a:hover {
  color: var(--white);
}

.nav-action,
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--white);
  font-size: 14px;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.nav-action {
  justify-self: end;
}

.nav-action:hover,
.button-secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.button {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: 80px;
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-watermark {
  position: absolute;
  top: 48px;
  right: -18vw;
  width: min(62vw, 860px);
  height: calc(100% - 96px);
  object-fit: contain;
  opacity: 0.1;
}

.hero-inner,
.section-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 32px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.eyebrow {
  border: 0;
}

.hero-title,
.page-title {
  margin: 0;
  color: var(--white);
  font-size: clamp(64px, 12vw, 142px);
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-title span,
.page-title span {
  display: block;
  color: #55565c;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-panel {
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.72);
  padding: 20px;
}

.logo-stage {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--black);
  padding: 42px;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
}

.stat,
.route-card,
.team-card,
.partner-card,
.contact-card,
.legal-card {
  background: var(--black);
}

.stat {
  padding: 20px;
}

.stat strong {
  display: block;
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 32px;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--dim);
  font-size: 14px;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
}

.page-head {
  border-bottom: 1px solid var(--line);
  padding: 66px 0 58px;
}

.partner-intro {
  display: grid;
  gap: 14px;
  width: min(100%, 920px);
  margin-top: 30px;
  padding-left: 24px;
  border-left: 1px solid var(--line-strong);
}

.partner-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 40px;
}

.section-title,
.card-title {
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
}

.section-title {
  margin-top: 12px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 950;
  line-height: 0.92;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.route-card,
.team-card {
  min-height: 260px;
  padding: 28px;
  transition: background 180ms ease;
}

.route-card:hover {
  background: var(--panel-soft);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 54px;
}

.icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--white);
}

.contact-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.arrow {
  color: var(--dim);
  font-size: 22px;
}

.card-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.card-text,
.team-card p,
.partner-card p,
.news-text,
.contact-card p,
.legal-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.team-grid,
.partner-grid,
.contact-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.team-grid,
.partner-grid,
.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-card,
.partner-card,
.contact-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
}

.team-card {
  border: 0;
  cursor: pointer;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.team-card:hover,
.team-card:focus-visible,
.team-card.is-selected {
  background: #0d0d10;
}

.team-card:focus-visible {
  outline: 1px solid var(--white);
  outline-offset: -1px;
}

.team-card.is-selected {
  box-shadow: inset 0 -3px 0 var(--white);
}

.team-emblem {
  display: grid;
  height: 150px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
}

.team-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.team-code {
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.tag {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
}

.team-card h2,
.partner-card h2,
.contact-card h2,
.legal-card h2 {
  margin: 26px 0 0;
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}

.team-card .meta {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--dim);
  font-size: 14px;
}

.lineup-area {
  margin-top: 1px;
  background: var(--line);
}

.lineup-area[hidden] {
  display: none;
}

.lineup-panel {
  border: 1px solid var(--line);
  background: rgba(6, 6, 6, 0.92);
  padding: 32px;
}

.lineup-panel[hidden] {
  display: none;
}

.lineup-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.lineup-head h2 {
  margin: 10px 0 0;
  color: var(--white);
  font-size: 36px;
  line-height: 1;
}

.lineup-group + .lineup-group {
  margin-top: 36px;
}

.lineup-group h3 {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.lineup-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.lineup-player {
  min-height: 128px;
  background: var(--black);
  padding: 20px;
}

.lineup-player span,
.lineup-player small {
  display: block;
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.lineup-player strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--white);
  font-size: 24px;
  line-height: 1;
}

.lineup-slots-standins {
  grid-template-columns: repeat(3, 1fr);
}

.lineup-slots-standins-two {
  grid-template-columns: repeat(2, 1fr);
}

.player-card {
  display: flex;
  min-height: 272px;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.78);
}

.player-top,
.player-facts,
.player-socials {
  display: flex;
}

.player-top {
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.player-card .player-role,
.player-card .player-nationality {
  display: inline-block;
  color: var(--muted);
}

.player-card .player-nationality {
  color: var(--dim);
}

.player-photo {
  height: 190px;
  margin: 18px -20px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel-soft);
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.lineup-slots-prodigy .player-photo,
.lineup-slots-ascend .player-photo,
.lineup-slots-main .player-photo {
  height: auto;
  aspect-ratio: 874 / 1348;
}

.player-photo-real {
  position: relative;
  background: #050505;
}

.player-photo-real img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.player-photo-real:not(.player-photo-frost) img {
  transform: none;
}

.player-photo-ascend img {
  object-fit: cover;
  object-position: center bottom;
}

.player-photo-d4verr img,
.player-photo-linchex img {
  right: -4%;
  left: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
}

.player-photo-freddy img {
  right: -27.5%;
  left: -27.5%;
  width: 155%;
  height: 155%;
  max-width: none;
}

.player-photo-chi4pie img {
  right: -32.5%;
  left: -32.5%;
  width: 165%;
  height: 165%;
  max-width: none;
}

.player-photo-frost img {
  position: absolute;
  top: -11.8%;
  right: auto;
  bottom: auto;
  left: -12.6%;
  width: 120.25%;
  max-width: none;
  height: auto;
  object-fit: initial;
  object-position: initial;
  transform: none;
}

.player-card > strong {
  margin: 20px 0 18px;
}

.player-facts {
  gap: 18px;
}

.player-card .player-fact {
  display: grid;
  gap: 5px;
}

.player-card .player-fact small,
.player-card .player-fact b {
  display: block;
}

.player-card .player-fact small {
  color: var(--dim);
  font-size: 12px;
}

.player-card .player-fact b {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.player-socials {
  gap: 6px;
  margin-top: auto;
  padding-top: 22px;
}

.player-card .player-social {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--dim);
  cursor: help;
}

.player-social img {
  width: 15px;
  height: 15px;
  filter: invert(1);
  opacity: 0.38;
}

.player-card a.player-social {
  border-color: var(--line-strong);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.player-card a.player-social img {
  opacity: 0.9;
}

.player-card a.player-social:hover,
.player-card a.player-social:focus-visible {
  border-color: var(--white);
  background: var(--white);
  transform: translateY(-1px);
}

.player-card a.player-social:hover img,
.player-card a.player-social:focus-visible img {
  filter: none;
}

.player-card a.player-social:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.partner-logo {
  display: grid;
  height: 120px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 28px;
}

.partner-logo img {
  width: 96px;
  max-width: 86%;
  height: 96px;
  max-height: 86%;
  object-fit: contain;
}

.partner-logo-light {
  background: var(--white);
}

.partner-logo-text span {
  border-block: 1px solid var(--white);
  padding: 10px 2px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.partner-logo-soon {
  position: relative;
  padding: 22px;
  border-color: var(--line-strong);
  overflow: hidden;
}

.partner-logo-soon::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.partner-logo-soon span {
  position: relative;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.partner-card-empty {
  display: grid;
  cursor: default;
}

.partner-card-empty .partner-logo-soon {
  height: 100%;
  min-height: 260px;
}

.partner-card-empty:hover {
  border-color: var(--line);
  background: var(--panel);
  transform: none;
}

.partner-card {
  display: flex;
  flex-direction: column;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.partner-card:hover {
  border-color: var(--line-strong);
  background: #0d0d10;
  transform: translateY(-1px);
}

.partner-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 24px;
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.news-feed-head {
  align-items: end;
}

.news-profile-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  transition: border-color 180ms ease;
}

.news-profile-link:hover,
.news-profile-link:focus-visible {
  border-color: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  min-height: 0;
  background: var(--line);
}

.news-card {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  min-width: 0;
  min-height: 300px;
  background: var(--panel);
  transition: background 180ms ease;
}

.news-card:hover,
.news-card:focus-visible {
  background: #0d0d10;
}

.news-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.news-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--black);
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

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

.news-media-fallback {
  display: grid;
  place-items: center;
  background: #08080a;
}

.news-media-fallback img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  opacity: 0.72;
}

.news-card-body {
  display: flex;
  min-height: 300px;
  flex: 1;
  flex-direction: column;
  padding: 32px;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.news-card-title {
  margin: 22px 0 0;
  color: var(--white);
  font-size: 24px;
  line-height: 1.15;
}

.news-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card-action {
  margin-top: auto;
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.news-skeleton {
  min-height: 300px;
  background: var(--panel-soft);
  animation: news-loading 1.25s ease-in-out infinite alternate;
}

.news-status {
  min-height: 140px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 54px 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.news-grid:empty {
  display: none;
}

@keyframes news-loading {
  from { opacity: 0.42; }
  to { opacity: 0.82; }
}

.contact-page-head {
  padding: 76px 0 96px;
}

.contact-intro {
  margin-bottom: 56px;
}

.contact-page-head .page-title {
  margin-top: 8px;
  font-size: 104px;
  line-height: 0.88;
}

.contact-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-page-head .contact-grid {
  gap: 18px;
  background: transparent;
}

.contact-card {
  display: flex;
  min-height: 276px;
  flex-direction: column;
  border-radius: 6px;
  background: rgba(6, 6, 6, 0.94);
  padding: 32px;
}

a.contact-card {
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
  border-color: var(--line-strong);
  background: var(--panel-soft);
  transform: translateY(-2px);
}

a.contact-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.contact-card .card-top {
  margin-bottom: 34px;
}

.contact-card-body h2 {
  margin: 0;
  font-size: 28px;
}

.contact-card-body p {
  max-width: 320px;
  margin: 12px 0 0;
  line-height: 1.55;
}

.contact-action {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 28px;
  color: var(--white);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.contact-card-muted {
  background: rgba(6, 6, 6, 0.72);
}

.contact-card-muted .contact-action {
  color: var(--dim);
}

.application-section {
  scroll-margin-top: 96px;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 16px;
}

.application-copy,
.application-form {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(6, 6, 6, 0.92);
  padding: 32px;
}

.application-copy .section-title {
  margin-top: 12px;
  font-size: 54px;
  line-height: 0.96;
}

.application-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.application-points {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.application-point {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.66);
  padding: 20px;
}

.application-point span,
.application-point small,
.field label,
.checkbox-field {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
}

.application-point strong,
.application-point small {
  display: block;
}

.application-point strong {
  margin-top: 14px;
  color: var(--white);
  font-size: 20px;
  line-height: 1;
}

.application-point small {
  margin-top: 8px;
  font-family: inherit;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.field {
  display: grid;
  gap: 8px;
  align-content: start;
}

.field-wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--black);
  color: var(--text);
  padding: 0 14px;
  outline: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.field textarea {
  min-height: 132px;
  padding-top: 13px;
  padding-bottom: 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--dim);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--white);
  box-shadow: inset 0 -2px 0 var(--white);
}

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}

.checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--white);
}

.role-details-control {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px 12px;
  margin-top: 4px;
  align-items: center;
}

.role-details-control > label {
  cursor: pointer;
  line-height: 1.55;
}

.field .role-details-checkbox {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  accent-color: var(--white);
}

.role-details-field {
  display: none;
  grid-column: 1 / -1;
  gap: 8px;
  margin-top: 2px;
}

.role-details-checkbox:checked ~ .role-details-field {
  display: grid;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.form-status {
  flex: 1 1 260px;
  min-height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  padding: 11px 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status[hidden] {
  display: none;
}

[data-delivery-notice] {
  margin-bottom: 18px;
}

.form-status.is-success {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(22, 101, 52, 0.14);
  color: #bbf7d0;
}

.form-status.is-error {
  border-color: rgba(248, 113, 113, 0.52);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
}

.button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-wrap {
  max-width: 860px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-meta {
  margin: 0 0 30px;
  color: var(--dim);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
}

.legal-meta + h2 {
  margin-top: 0;
}

.legal-contact {
  margin: 20px 0 0;
  color: var(--muted);
  font-style: normal;
  font-size: 16px;
  line-height: 1.8;
}

.legal-contact a {
  color: var(--white);
  overflow-wrap: anywhere;
}

.legal-contact a:hover,
.legal-contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card > h2 {
  margin-top: 42px;
  line-height: 1.25;
}

.legal-card > p,
.legal-list {
  max-width: 72ch;
}

.legal-card a,
.checkbox-field a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.legal-card a:hover,
.legal-card a:focus-visible,
.checkbox-field a:hover,
.checkbox-field a:focus-visible {
  text-decoration-color: var(--white);
}

.legal-list {
  margin: 16px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-list li + li {
  margin-top: 6px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 32px;
  color: var(--dim);
  font-size: 14px;
}

.footer-mark {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: start;
    order: 3;
    width: calc(100vw - 40px);
    overflow-x: auto;
    padding: 16px 0 18px;
  }

  #app {
    padding-top: 132px;
  }

  .hero {
    min-height: calc(100vh - 132px);
  }

  .hero-inner,
  .section-head,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .hero-inner {
    display: flex;
  }

  .route-grid,
  .team-grid,
  .partner-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-intro {
    margin-bottom: 44px;
  }

  .contact-page-head .page-title {
    font-size: 78px;
  }

  .contact-page-head .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .application-layout {
    grid-template-columns: 1fr;
  }

  .application-section {
    scroll-margin-top: 150px;
  }

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

  .news-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .news-card {
    grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
    min-height: 280px;
  }

  .news-media,
  .news-card-body {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .nav,
  .hero-inner,
  .section-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero-title,
  .page-title {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-panel {
    padding: 14px;
  }

  .route-grid,
  .team-grid,
  .partner-grid,
  .contact-grid,
  .form-grid,
  .lineup-slots,
  .stats {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .news-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .news-card-body {
    min-height: 220px;
    padding: 22px;
  }

  .contact-page-head .page-title {
    font-size: 56px;
  }

  .contact-page-head .contact-card:last-child {
    grid-column: auto;
  }

  .contact-card {
    min-height: 240px;
    padding: 26px;
  }

  .application-copy .section-title {
    font-size: 40px;
  }

  .application-copy,
  .application-form {
    padding: 24px 20px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button,
  .form-status {
    width: 100%;
  }

  .form-actions .form-status {
    flex: 0 1 auto;
  }

  .section,
  .page-head {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

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

  .news-skeleton {
    animation: none;
  }
}
