:root {
  --bg: #0f1216;
  --bg-deep: #090b0d;
  --panel: rgba(22, 27, 32, 0.88);
  --panel-strong: rgba(27, 33, 38, 0.96);
  --panel-soft: rgba(19, 23, 28, 0.74);
  --steel: #8f9daa;
  --smoke: #b8c4cf;
  --text: #e6edf3;
  --text-dim: #98a5b2;
  --line: rgba(185, 203, 217, 0.12);
  --line-strong: rgba(185, 203, 217, 0.24);
  --amber: #f3b356;
  --ember: #ff7134;
  --hazard: #ff8a00;
  --cyan: #76d7e6;
  --cyan-deep: #2a8fa5;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1240px;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-display: "Barlow Condensed", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(118, 215, 230, 0.12), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 113, 52, 0.14), transparent 24%),
    linear-gradient(180deg, #11161b 0%, var(--bg) 32%, var(--bg-deep) 100%);
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 85%);
}

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

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

button {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 24px), calc(var(--max-width) + 24px));
  margin: 12px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff0c9 0%, var(--amber) 28%, var(--ember) 58%, transparent 64%),
    #101418;
  box-shadow:
    0 0 0 1px rgba(255, 179, 86, 0.28),
    0 0 24px rgba(255, 113, 52, 0.38);
}

.brand__text,
.nav a,
.button,
.eyebrow,
.panel__label,
.panel__kicker,
.reason-card__index,
.event-card__title,
.footer__brand {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.brand__text {
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: var(--text-dim);
  font-size: 1rem;
  text-transform: uppercase;
}

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

.nav__cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 138, 0, 0.32);
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.1);
  color: #ffd39b;
}

.nav__portal {
  padding: 10px 14px;
  border: 1px solid rgba(118, 215, 230, 0.3);
  border-radius: 999px;
  background: rgba(118, 215, 230, 0.1);
  color: #d7f7fc !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  padding: 92px 0 48px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
}

.hero__glow--cyan {
  top: 8%;
  right: -8%;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, rgba(118, 215, 230, 0.28), transparent 65%);
}

.hero__glow--ember {
  left: -10%;
  bottom: -14%;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(255, 113, 52, 0.2), transparent 68%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(118, 215, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 215, 230, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.back-link:hover {
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 11vw, 7.5rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
}

h3 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.hero__tagline {
  margin: 12px 0 18px;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  color: var(--cyan);
  font-weight: 600;
}

.hero__copy,
.section-heading p,
.panel p,
.reason-card p,
.event-card__text,
.portal-list li,
.check-list li,
.gallery-card figcaption,
.cta-card p,
.footer__text {
  color: var(--text-dim);
  line-height: 1.7;
}

.hero__copy {
  max-width: 60ch;
  font-size: 1.03rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--amber), var(--ember));
  color: #1a130c;
  box-shadow: 0 14px 40px rgba(255, 113, 52, 0.24);
}

.button--ghost {
  border-color: var(--line-strong);
  background: rgba(17, 22, 27, 0.52);
  color: var(--smoke);
}

.button--ghost:hover {
  border-color: rgba(118, 215, 230, 0.35);
  background: rgba(17, 22, 27, 0.86);
}

.hero__signals {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__signals li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--smoke);
}

.hero__signals li::before,
.check-list li::before,
.portal-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--ember));
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.35);
}

.panel,
.reason-card,
.event-card,
.gallery-card,
.cta-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    var(--panel);
  box-shadow: var(--shadow);
}

.panel::after,
.reason-card::after,
.event-card::after,
.gallery-card::after,
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(118, 215, 230, 0.08), transparent 26%, transparent 74%, rgba(255, 113, 52, 0.08));
  opacity: 0.8;
}

.panel {
  padding: 24px;
}

.panel__header,
.panel__label,
.panel__status,
.hero__metrics,
.systems-band,
.footer__layout {
  position: relative;
  z-index: 1;
}

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

.panel__label,
.panel__kicker {
  color: var(--amber);
  font-size: 1rem;
  text-transform: uppercase;
}

.panel__status {
  color: var(--cyan);
  font-size: 0.92rem;
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(118, 215, 230, 0.18);
  background: linear-gradient(180deg, rgba(22, 27, 32, 0.95), rgba(14, 17, 20, 0.95));
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 22%),
    linear-gradient(90deg, transparent, rgba(118, 215, 230, 0.08), transparent);
  pointer-events: none;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame--screenshot img {
  object-fit: contain;
  background: #0d1115;
}

.panel--hero {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(118, 215, 230, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    var(--panel-strong);
}

.hero-shot {
  aspect-ratio: 0.95;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.hero__metrics--overview {
  margin-top: 0;
  margin-bottom: 16px;
}

.hero__metrics article {
  padding: 14px;
  border: 1px solid rgba(185, 203, 217, 0.1);
  border-radius: 14px;
  background: rgba(10, 12, 14, 0.4);
}

.hero__metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.hero__metrics strong {
  color: var(--text);
  font-size: 1.05rem;
}

.section {
  position: relative;
  padding: 88px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), var(--max-width));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(185, 203, 217, 0.14), transparent);
}

.section--dark {
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.18), rgba(7, 8, 10, 0.44)),
    rgba(3, 4, 5, 0.24);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 1.02rem;
}

.split-cards,
.progression-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

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

.reason-card__index {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 1.1rem;
}

.reason-card h3 {
  margin-bottom: 14px;
  font-size: 1.9rem;
}

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

.event-card {
  padding: 22px;
  min-height: 190px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%),
    var(--panel-soft);
}

.event-card:nth-child(1),
.event-card:nth-child(2) {
  grid-column: span 6;
}

.event-card:nth-child(n + 3) {
  grid-column: span 3;
}

.event-card--gold {
  background:
    radial-gradient(circle at top right, rgba(243, 179, 86, 0.18), transparent 42%),
    var(--panel-soft);
}

.event-card--heavy {
  background:
    radial-gradient(circle at top right, rgba(255, 113, 52, 0.18), transparent 42%),
    var(--panel-soft);
}

.event-card__title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.55rem;
  text-transform: uppercase;
}

.check-list,
.portal-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.portal-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid rgba(185, 203, 217, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.systems-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 113, 52, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(118, 215, 230, 0.08), transparent 55%),
    rgba(10, 12, 14, 0.52);
}

.systems-band__copy h3 {
  margin-top: 10px;
  line-height: 1;
}

.systems-band__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.systems-band__stats span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--smoke);
  background: rgba(255, 255, 255, 0.03);
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 26px;
  align-items: center;
}

.frame--wide {
  aspect-ratio: 1.35;
}

.frame--tilted-scroll {
  aspect-ratio: 1.28;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(118, 215, 230, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(22, 27, 32, 0.96), rgba(10, 12, 14, 0.96));
}

.frame--tall {
  aspect-ratio: 0.72;
}

.frame--square {
  aspect-ratio: 1;
}

.tilted-scroll {
  width: min(56%, 260px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.tilted-scroll__screen {
  width: 100%;
  height: 92%;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(118, 215, 230, 0.2);
  background: #0d1115;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(118, 215, 230, 0.12);
  transform: rotate(-10deg) rotateY(-12deg) rotateX(4deg);
}

.tilted-scroll__screen img {
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  animation: panelScroll 16s ease-in-out infinite alternate;
}

@keyframes panelScroll {
  0%,
  16% {
    transform: translateY(0);
  }
  84%,
  100% {
    transform: translateY(-62%);
  }
}

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

.gallery-card {
  padding: 16px;
}

.gallery-card .frame {
  aspect-ratio: 1.28;
}

.gallery-card figcaption {
  position: relative;
  z-index: 1;
  padding: 16px 8px 8px;
}

.gallery-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.cta-section {
  padding-bottom: 110px;
}

.cta-card {
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at center top, rgba(118, 215, 230, 0.14), transparent 38%),
    radial-gradient(circle at bottom left, rgba(255, 113, 52, 0.1), transparent 30%),
    var(--panel-strong);
}

.cta-card p {
  max-width: 720px;
  margin: 16px auto 0;
}

.footer {
  padding: 0 0 40px;
}

.footer__layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer__brand {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--smoke);
  text-transform: uppercase;
}

.footer__text {
  margin: 0;
  max-width: 56ch;
}

.footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--text-dim);
  text-transform: uppercase;
  font-family: var(--font-display);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .hero__layout,
  .portal-layout,
  .systems-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 12, 14, 0.96);
  }

  .topbar.is-open .nav {
    display: flex;
  }

  .split-cards,
  .progression-layout,
  .staff-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .event-card:nth-child(1),
  .event-card:nth-child(2),
  .event-card:nth-child(n + 3) {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .topbar {
    width: min(calc(100% - 14px), calc(var(--max-width) + 24px));
    padding: 12px 14px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero__metrics,
  .reasons-grid,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .hero__metrics article,
  .event-card:nth-child(1),
  .event-card:nth-child(2),
  .event-card:nth-child(n + 3) {
    grid-column: auto;
  }

  .panel,
  .reason-card,
  .event-card,
  .cta-card {
    padding: 20px;
  }

  .tilted-scroll {
    width: min(72%, 230px);
  }

  .footer__layout {
    flex-direction: column;
    align-items: flex-start;
  }
}
