:root {
  --bg: #071019;
  --bg-deep: #04070c;
  --panel: rgba(10, 18, 28, 0.82);
  --panel-strong: rgba(8, 14, 22, 0.92);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f6fa;
  --muted: #a8b8cb;
  --blue-soft: #82ceff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(45, 140, 255, 0.15), transparent 24%),
    radial-gradient(circle at 92% 6%, rgba(255, 98, 66, 0.12), transparent 20%),
    linear-gradient(180deg, #0b1625 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

body.is-lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.25;
  pointer-events: none;
}

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

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

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

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

.site-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-hero {
  position: relative;
  z-index: 10;
  padding-top: 20px;
}

.site-topbar {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 14, 22, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand-home-link {
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(112px, 10vw, 148px);
}

.brand-logo {
  width: 100%;
  height: auto;
}

.hero-banner-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 2048 / 767;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  display: none;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  position: relative;
  z-index: 40;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(7, 13, 21, 0.88);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-left: auto;
  position: relative;
  z-index: 35;
  min-width: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(7, 13, 21, 0.7);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
  backdrop-filter: blur(10px);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(130, 206, 255, 0.35);
  background: rgba(18, 32, 49, 0.88);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 8vw, 7.2rem);
}

.page-title {
  max-width: none;
  font-size: clamp(3rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.28rem;
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-lead,
.hero-support,
.section-copy,
.footer-copy {
  max-width: 66ch;
}

.hero-lead {
  margin-top: 18px;
  font-size: 1.04rem;
}

.hero-support {
  margin-top: 14px;
  font-size: 1rem;
}

.section-copy + .section-copy {
  margin-top: 14px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-nav-panel .action-row {
  margin-top: 0;
}

.home-nav-panel .button {
  min-width: 170px;
}

.home-why-panel {
  align-items: start;
}

.page-title-panel .section-copy {
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #07111c;
  background: linear-gradient(135deg, var(--blue-soft), #ffffff 94%);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.tagline-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.tagline-strip li,
.pill-list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d6e0ec;
  font-size: 0.92rem;
}

.page-main {
  display: grid;
  gap: 24px;
  padding: 30px 0 88px;
}

.content-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 26, 39, 0.92), rgba(7, 12, 19, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.content-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 280px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(45, 140, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  min-width: 0;
}

.card-grid,
.admin-team-grid,
.rules-media-grid,
.rules-contact-list,
.link-grid,
.field-grid,
.steps-grid,
.pill-list {
  display: grid;
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid-three,
.field-grid,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rules-media-grid,
.rules-contact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.link-card,
.field-card,
.step-card,
.summary-panel,
.member-card,
.quote-panel {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.split-panel > *,
.cta-panel > *,
.route-card > *,
.route-card-body > *,
.route-card-head > * {
  min-width: 0;
}

.feature-index,
.step-number,
.link-label,
.quote-kicker,
.subtle-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.subtle-label {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
}

.step-number {
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(45, 140, 255, 0.14);
  font-family: "Teko", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
}

.feature-card h3,
.link-card h3,
.field-card h3,
.step-card h3,
.member-card h3 {
  margin-bottom: 10px;
}

.split-panel,
.cta-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top right, rgba(255, 98, 66, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.04);
}

.quote-text {
  color: var(--text);
  font-family: "Teko", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 0.03em;
  line-height: 0.94;
}

.quote-support {
  margin-top: 10px;
}

.link-card,
.feature-card,
.field-card,
.step-card,
.member-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.link-card:hover,
.link-card:focus-visible,
.feature-card:hover,
.field-card:hover,
.step-card:hover,
.member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(130, 206, 255, 0.25);
  background: rgba(255, 255, 255, 0.055);
}

.pill-list {
  padding: 0;
  margin: 0;
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-card h3 {
  font-size: 1.12rem;
}

.admin-card {
  padding: 0;
  overflow: hidden;
}

.admin-card-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.admin-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 26%;
  border-bottom: 1px solid var(--line);
}

.admin-card-image-jax {
  aspect-ratio: 4 / 3;
  object-position: center top;
}

.admin-card-body {
  padding: 20px 22px 22px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 8, 14, 0.86);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 1080px);
}

.lightbox-close {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(7, 13, 21, 0.92);
  color: var(--text);
  cursor: pointer;
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 120px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 14, 22, 0.96);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.rules-media-card {
  padding: 0;
  overflow: hidden;
}

.rules-media-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.rules-media-body {
  padding: 20px 22px 22px;
}

.rules-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.rules-list li {
  line-height: 1.65;
}

.route-updated-copy {
  margin-top: 12px;
  color: var(--blue-soft);
}

.route-grid {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.route-card {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.route-card-empty {
  grid-template-columns: 1fr;
}

.route-media {
  display: block;
  padding: 0;
  max-width: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.route-media-button {
  width: 100%;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.route-media img {
  width: 100%;
  height: auto;
}

.route-card-body {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.route-card-head {
  display: flex;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
  min-width: 0;
}

.route-card-head h3 {
  font-family: "Teko", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.route-date {
  color: var(--text);
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.route-summary {
  color: #dbe6f3;
  font-size: 1rem;
}

.route-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.route-field {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.route-field .subtle-label {
  margin-bottom: 8px;
}

.route-field p:last-child {
  color: var(--text);
  white-space: pre-line;
}

.route-gallery {
  display: grid;
  gap: 14px;
}

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

.route-gallery-item {
  margin: 0;
}

.route-gallery-item a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.route-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.route-gallery-caption {
  margin-top: 8px;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 20px;
}

.site-footer {
  padding-bottom: 32px;
}

.footer-inner {
  display: grid;
  gap: 16px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin-bottom: 8px;
  color: var(--text);
  font-family: "Teko", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

.footer-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .home-nav-panel .action-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-nav-panel .button {
    width: 100%;
    min-width: 0;
  }

  .rules-media-grid,
  .rules-contact-list,
  .card-grid-five,
  .card-grid-three,
  .field-grid,
  .link-grid,
  .steps-grid,
  .route-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(1200px, calc(100% - 20px));
  }

  .site-topbar {
    align-items: flex-start;
    padding: 14px;
    border-radius: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: rgba(7, 13, 21, 0.92);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
    margin-left: 0;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .route-card {
    grid-template-columns: 1fr;
  }

  .route-media {
    max-width: min(100%, 320px);
  }

  .route-card-head {
    display: grid;
    gap: 8px;
  }

  .route-date {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-topbar {
    gap: 12px;
  }

  .brand-home-link {
    width: min(116px, 28vw);
  }

  .nav-toggle {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .content-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .page-main {
    gap: 20px;
    padding: 24px 0 72px;
  }

  .hero-banner-shell {
    min-height: 132px;
    border-radius: 24px;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .button,
  .home-nav-panel .button {
    width: 100%;
    min-width: 0;
  }

  .route-card,
  .admin-team-grid,
  .rules-media-grid,
  .rules-contact-list,
  .card-grid-five,
  .card-grid-three,
  .field-grid,
  .link-grid,
  .steps-grid,
  .pill-list,
  .route-field-grid,
  .route-gallery-grid {
    grid-template-columns: 1fr;
  }

  .route-card-head {
    display: grid;
    gap: 8px;
  }

  .site-nav a {
    width: 100%;
    justify-content: center;
  }

  .route-media {
    max-width: min(100%, 300px);
  }

  .route-date {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: calc(100% - 12px);
  }

  .site-hero {
    padding-top: 10px;
  }

  .site-topbar {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .brand-home-link {
    width: min(104px, 31vw);
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .content-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .page-main {
    gap: 16px;
    padding: 18px 0 56px;
  }

  .hero-banner-shell {
    min-height: 108px;
    border-radius: 20px;
  }

  .route-card {
    padding: 18px;
    gap: 16px;
    border-radius: 20px;
  }

  .route-field,
  .feature-card,
  .link-card,
  .field-card,
  .step-card,
  .summary-panel,
  .member-card,
  .quote-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .faq-item summary {
    padding: 18px;
  }

  .faq-item p {
    padding: 0 18px 18px;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-image {
    max-height: calc(100vh - 88px);
    border-radius: 18px;
  }
}
