:root {
  --bg-0: #081425;
  --bg-1: #0f2140;
  --bg-2: #1a3562;
  --panel: rgba(13, 28, 53, 0.84);
  --panel-strong: rgba(16, 35, 66, 0.94);
  --panel-halo: rgba(86, 213, 255, 0.18);
  --text: #e8f4ff;
  --muted: #9db8d6;
  --line: rgba(119, 177, 231, 0.35);
  --brand: #56d5ff;
  --brand-soft: #35f2d0;
  --accent: #ffb869;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Orbitron", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 16% -5%, rgba(86, 213, 255, 0.24), transparent 33%),
    radial-gradient(circle at 84% 10%, rgba(53, 242, 208, 0.16), transparent 31%),
    linear-gradient(162deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image:
    linear-gradient(rgba(123, 186, 241, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 186, 241, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}

body::after {
  background:
    radial-gradient(circle at 74% 65%, rgba(255, 184, 105, 0.13), transparent 34%),
    radial-gradient(circle at 24% 88%, rgba(86, 213, 255, 0.08), transparent 38%);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.site-shell {
  width: min(1280px, 94vw);
  margin: 0 auto;
  padding: 1rem 0 2.8rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
  background: #102443;
  color: #d5ecff;
  text-decoration: none;
  padding: 0.52rem 0.72rem;
  font-size: 0.84rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.topbar {
  position: sticky;
  top: 0.8rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(15, 33, 63, 0.94), rgba(13, 27, 50, 0.86)),
    radial-gradient(circle at 78% 28%, rgba(86, 213, 255, 0.14), transparent 42%);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  padding: 0.56rem 0.8rem 0.56rem 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  height: clamp(34px, 5.2vw, 46px);
  width: auto;
  filter: drop-shadow(0 0 10px rgba(86, 213, 255, 0.2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  text-decoration: none;
  color: #c3ddf8;
  padding: 0.52rem 0.88rem;
  border-radius: 0.62rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  color: #ecfbff;
  border-color: rgba(86, 213, 255, 0.48);
  background: rgba(86, 213, 255, 0.12);
  transform: translateY(-1px);
}

.site-nav a.active {
  color: #f2feff;
  border-color: rgba(53, 242, 208, 0.58);
  background: linear-gradient(130deg, rgba(86, 213, 255, 0.17), rgba(53, 242, 208, 0.11));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.62rem;
  background: rgba(10, 24, 46, 0.9);
  color: #d9efff;
  padding: 0.42rem 0.76rem;
  font-size: 0.86rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

main {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.25rem;
}

.hero,
.panel,
.page-hero {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 82% -18%, var(--panel-halo), transparent 42%),
    linear-gradient(155deg, var(--panel), var(--panel-strong));
  overflow: hidden;
}

.hero::before,
.panel::before,
.page-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(86, 213, 255, 0.66), transparent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.76fr);
  gap: 0.9rem;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 0.3rem;
  padding: clamp(1.5rem, 3vw, 2.55rem);
}

.kicker {
  margin: 0 0 0.72rem;
  color: var(--brand);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.14;
  color: #f3fbff;
}

h1 {
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  text-shadow: 0 0 22px rgba(86, 213, 255, 0.2);
}

h2 {
  font-size: clamp(1.34rem, 2.45vw, 2rem);
}

h3 {
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p {
  margin: 1rem 0 0;
  max-width: 60ch;
}

.hero-metrics {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
  max-width: 640px;
}

.metric {
  border: 1px solid rgba(86, 213, 255, 0.3);
  border-radius: 0.78rem;
  background: linear-gradient(160deg, rgba(15, 36, 67, 0.84), rgba(13, 26, 48, 0.7));
  padding: 0.58rem 0.62rem;
  min-height: 78px;
}

.metric-value,
.metric-label {
  margin: 0;
}

.metric-value {
  color: #dcf8ff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.42rem);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.metric-label {
  margin-top: 0.24rem;
  color: #9fc2df;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  border-radius: 0.7rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.64rem 1.02rem;
  border: 1px solid transparent;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-primary {
  color: #032033;
  background: linear-gradient(140deg, var(--brand), var(--brand-soft));
  box-shadow: 0 9px 24px rgba(53, 242, 208, 0.24);
}

.btn-secondary {
  color: #e7f6ff;
  border-color: rgba(86, 213, 255, 0.36);
  background: rgba(13, 31, 58, 0.72);
}

.hero-art {
  position: relative;
  min-height: clamp(280px, 45vh, 430px);
  overflow: hidden;
  background:
    conic-gradient(from 220deg at 66% 42%, rgba(53, 242, 208, 0.18), rgba(86, 213, 255, 0.2), transparent 62%),
    radial-gradient(circle at 22% 24%, rgba(255, 184, 105, 0.23), transparent 40%),
    linear-gradient(160deg, rgba(8, 25, 48, 0.6), rgba(9, 21, 39, 0.88));
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 191, 247, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 191, 247, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.52;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 8% 5% auto auto;
  width: min(48%, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 213, 255, 0.16), transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}

#studio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

.hero-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(86, 213, 255, 0.42);
  background: linear-gradient(160deg, rgba(10, 23, 44, 0.88), rgba(9, 20, 37, 0.75));
  backdrop-filter: blur(7px);
  padding: 0.65rem 0.72rem;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.hero-overlay-kicker {
  margin: 0;
  color: #9de9ff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.64rem;
}

.hero-overlay-list {
  margin: 0.44rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-overlay-list li {
  border: 1px solid rgba(53, 242, 208, 0.35);
  border-radius: 999px;
  background: rgba(53, 242, 208, 0.12);
  color: #c8fff8;
  padding: 0.2rem 0.52rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.panel,
.page-hero {
  padding: clamp(1.25rem, 2.8vw, 2rem);
}

.page-hero .lead {
  max-width: 68ch;
  margin-top: 0.9rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.95rem;
}

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

.lineup-grid .card {
  grid-column: span 4;
}

.lineup-grid .featured-card {
  grid-column: span 8;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid rgba(124, 185, 236, 0.34);
  border-radius: 1rem;
  padding: 1rem 1.02rem;
  background: linear-gradient(154deg, rgba(17, 37, 68, 0.92), rgba(15, 30, 54, 0.82));
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  position: relative;
  isolation: isolate;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(86, 213, 255, 0.16), transparent 40%, rgba(53, 242, 208, 0.16));
  z-index: -1;
  opacity: 0;
  transition: opacity 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(86, 213, 255, 0.54);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.card:hover::before {
  opacity: 1;
}

.card p {
  margin: 0.58rem 0 0;
}

.card h3 {
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0.62rem;
  border: 1px solid rgba(53, 242, 208, 0.42);
  background: rgba(53, 242, 208, 0.12);
  color: #9df7ea;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.54rem;
  margin: 0 0 0.66rem;
  line-height: 1;
  align-self: flex-start;
  transform: translateY(-1px);
}

.text-link {
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.text-link::after {
  content: ">";
  transform: translateY(-1px);
  color: var(--accent);
}

.text-link:hover {
  color: #beecff;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.24rem;
}

.feature-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  margin: 0.56rem 0;
  padding-left: 1rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 0.12rem;
  background: linear-gradient(140deg, var(--brand), var(--brand-soft));
  box-shadow: 0 0 10px rgba(86, 213, 255, 0.5);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.46rem;
  align-content: start;
}

.legal-nav a {
  display: block;
  border: 1px solid rgba(86, 213, 255, 0.2);
  border-radius: 0.78rem;
  padding: 0.64rem 0.78rem;
  text-decoration: none;
  color: #cde7ff;
  background: rgba(12, 27, 50, 0.54);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.legal-nav a:hover {
  border-color: rgba(86, 213, 255, 0.46);
  background: rgba(16, 35, 65, 0.86);
  transform: translateY(-1px);
}

.legal-content {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.legal-block h2 {
  margin-top: 0.18rem;
}

.legal-block p {
  margin: 0.7rem 0 0;
  max-width: 74ch;
}

.legal-block + .legal-block {
  padding-top: 1rem;
  border-top: 1px solid rgba(119, 177, 231, 0.24);
}

.legal-list {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.legal-list li {
  margin: 0.52rem 0;
  line-height: 1.7;
}

.legal-note {
  border-left: 3px solid rgba(86, 213, 255, 0.6);
  border-radius: 0 0.72rem 0.72rem 0;
  background: rgba(86, 213, 255, 0.08);
  padding: 0.85rem 1rem;
}

.legal-table {
  width: 100%;
  margin-top: 0.85rem;
  border-collapse: collapse;
  border-spacing: 0;
  min-width: 720px;
}

.legal-table-wrap {
  margin-top: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-table th,
.legal-table td {
  padding: 0.8rem 0.85rem;
  border-bottom: 1px solid rgba(119, 177, 231, 0.24);
  text-align: left;
  vertical-align: top;
  color: var(--muted);
  line-height: 1.6;
}

.legal-table th {
  color: #e7f6ff;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-hero {
  display: grid;
  gap: 0.86rem;
}

.app-meta {
  margin: 0;
  color: #b8d4ef;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-status {
  display: inline-flex;
  align-items: center;
  border-radius: 0.62rem;
  border: 1px solid rgba(255, 184, 105, 0.48);
  background: rgba(255, 184, 105, 0.15);
  color: #ffd2a0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.56rem;
  text-transform: uppercase;
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.app-section h2 {
  font-size: clamp(1.2rem, 2.15vw, 1.54rem);
  margin-bottom: 0.45rem;
}

.app-section p {
  margin: 0.68rem 0 0;
}

.app-showcase {
  margin: 0;
  align-self: start;
  border: 1px solid rgba(124, 185, 236, 0.34);
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(154deg, rgba(17, 37, 68, 0.92), rgba(15, 30, 54, 0.82));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.app-showcase img {
  width: 100%;
  height: auto;
}

.app-showcase.is-portrait {
  max-width: min(360px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.app-showcase.is-compact {
  max-width: min(420px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.article-pager {
  margin-top: 0.95rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.pager-link,
.pager-spacer {
  flex: 1 1 240px;
}

.pager-link {
  border: 1px solid rgba(124, 185, 236, 0.34);
  border-radius: 0.9rem;
  text-decoration: none;
  background: rgba(12, 28, 52, 0.78);
  padding: 0.62rem 0.76rem;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.pager-link:hover {
  border-color: rgba(86, 213, 255, 0.54);
  background: rgba(15, 35, 66, 0.92);
  transform: translateY(-2px);
}

.pager-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9dc1e2;
}

.pager-title {
  display: block;
  margin-top: 0.16rem;
  color: #eaf7ff;
  font-weight: 700;
  line-height: 1.35;
}

.pager-link.next {
  text-align: right;
}

.footer {
  margin-top: 1.28rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: end;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #95b4d3;
  padding: 0.3rem 0.15rem;
}

.footer p {
  margin: 0;
}

.footer-legal {
  order: 1;
  flex-basis: 100%;
  min-width: 0;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(149, 180, 211, 0.16);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #6f8bab;
  opacity: 0.85;
}

.footer-meta {
  text-align: right;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  align-items: flex-end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.95rem;
  justify-content: flex-end;
}

.footer-links a {
  text-decoration: none;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: #dff9ff;
}

main > * {
  opacity: 0;
  transform: translateY(15px) scale(0.992);
  animation: section-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

main > *:nth-child(1) {
  animation-delay: 80ms;
}

main > *:nth-child(2) {
  animation-delay: 160ms;
}

main > *:nth-child(3) {
  animation-delay: 240ms;
}

main > *:nth-child(4) {
  animation-delay: 320ms;
}

main > *:nth-child(5) {
  animation-delay: 400ms;
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(1240px, 95vw);
  }

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

  .hero-art {
    min-height: clamp(250px, 42vh, 340px);
  }

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

  .lineup-grid .card,
  .lineup-grid .featured-card {
    grid-column: auto;
  }

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

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

  .legal-nav {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: 100%;
    padding: 0.64rem 0.72rem 2.1rem;
  }

  .topbar {
    top: 0.4rem;
    padding: 0.52rem 0.56rem 0.52rem 0.66rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 0.74rem;
    top: calc(100% + 0.4rem);
    width: min(88vw, 330px);
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.32);
    background: linear-gradient(160deg, rgba(12, 29, 56, 0.96), rgba(10, 23, 45, 0.96));
    padding: 0.5rem;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    border-radius: 0.6rem;
    padding: 0.64rem 0.72rem;
  }

  .brand-logo {
    height: clamp(28px, 8vw, 36px);
    width: auto;
  }

  .hero-copy,
  .panel,
  .page-hero {
    padding: 1rem;
  }

  h1 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .hero-copy p {
    max-width: 100%;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-art {
    min-height: 230px;
  }

  .hero-overlay {
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.72rem;
    padding: 0.56rem 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

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

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .legal-table {
    min-width: 640px;
  }

  .footer {
    align-items: start;
  }

  .footer-meta {
    margin-left: 0;
    text-align: left;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .site-nav {
    width: min(92vw, 320px);
  }

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

  .metric {
    min-height: 0;
  }

  .kicker {
    margin-bottom: 0.52rem;
    letter-spacing: 0.12em;
  }

  .btn {
    padding: 0.62rem 0.88rem;
  }

  .article-pager {
    gap: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  main > * {
    opacity: 1;
    transform: none;
  }
}

/*
 * Studio refresh — a wider, editorial control-room direction. The language is
 * intentionally adjacent to Bulkhead (quiet labels, active-line navigation,
 * sharp utility framing) without borrowing its security-product aesthetic.
 */
:root {
  --bg-0: #050a12;
  --bg-1: #091421;
  --bg-2: #10273b;
  --panel: rgba(9, 20, 33, 0.88);
  --panel-strong: rgba(11, 26, 42, 0.96);
  --panel-halo: rgba(79, 217, 255, 0.14);
  --text: #edf7fa;
  --muted: #a2b7c4;
  --line: rgba(155, 209, 225, 0.23);
  --brand: #83e2f5;
  --brand-soft: #b7f36f;
  --accent: #edaa68;
  --shadow: none;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  background:
    radial-gradient(ellipse 55% 35% at 87% 2%, rgba(50, 205, 234, 0.11), transparent 72%),
    radial-gradient(ellipse 44% 34% at 3% 86%, rgba(183, 243, 111, 0.06), transparent 76%),
    linear-gradient(160deg, var(--bg-0) 4%, var(--bg-1) 47%, #0b1c2c 100%);
  font-size: 1.02rem;
  text-rendering: optimizeLegibility;
}

body::before {
  background-image:
    linear-gradient(rgba(154, 207, 222, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(154, 207, 222, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.28;
}

body::after {
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.42), transparent 36%, rgba(5, 10, 18, 0.18)),
    radial-gradient(circle at 75% 64%, rgba(237, 170, 104, 0.08), transparent 31%);
}

.site-shell {
  width: min(1600px, 96vw);
  padding: 0 0 3.6rem;
}

.topbar {
  position: sticky;
  top: 0;
  min-height: 5.25rem;
  /* Keep the last navigation label clear of the viewport edge. The header
     * needs its own inset because it deliberately spans the whole site shell. */
  padding: 1rem clamp(0.85rem, 1.8vw, 1.75rem) 0.9rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(5, 10, 18, 0.74);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.brand-logo {
  height: clamp(31px, 3vw, 42px);
  filter: none;
}

.site-nav {
  gap: clamp(0.8rem, 1.8vw, 1.65rem);
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  border: 0;
  border-radius: 0;
  color: #91aab8;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.9rem;
  left: 0;
  height: 2px;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(131, 226, 245, 0.54);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  border: 0;
  background: transparent;
  color: var(--text);
  transform: none;
}

.site-nav a:hover::after {
  opacity: 0.45;
  transform: scaleX(1);
}

.site-nav a.active {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
}

.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  gap: 0;
  margin-top: 0;
}

.hero,
.panel,
.page-hero {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.hero::before,
.panel::before,
.page-hero::before {
  display: none;
}

.home-hero {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 0.94fr) minmax(25rem, 0.92fr);
  gap: clamp(1.7rem, 4vw, 4.7rem);
  min-height: min(760px, calc(100svh - 5.25rem));
  border-bottom: 1px solid var(--line);
}

.hero-context {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0 2.35rem;
  color: #86a2ad;
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-context span:first-child {
  color: var(--brand-soft);
  font-size: 0.85rem;
}

.hero-copy {
  align-content: end;
  gap: 0;
  padding: clamp(3.5rem, 9vh, 7.5rem) 0 clamp(3.1rem, 7vh, 5.6rem);
}

.kicker {
  margin-bottom: 1.1rem;
  color: var(--brand-soft);
  font-family: var(--font-body);
  font-size: 0.69rem;
  letter-spacing: 0.17em;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: -0.025em;
  text-shadow: none;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 4.55vw, 5.35rem);
  line-height: 0.99;
}

h2 {
  font-size: clamp(1.75rem, 2.9vw, 3.15rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.22rem;
}

p {
  color: var(--muted);
}

.hero-copy > p:not(.kicker) {
  max-width: 45rem;
  margin-top: 1.55rem;
  font-size: clamp(1rem, 1.2vw, 1.17rem);
  line-height: 1.65;
}

.hero-metrics {
  max-width: none;
  margin-top: 2rem;
  gap: 0;
}

.metric {
  min-height: 0;
  padding: 0 1.1rem;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.metric:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric-value {
  color: var(--text);
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.metric-label {
  color: #89a4af;
  font-family: var(--font-body);
  font-size: 0.59rem;
  letter-spacing: 0.13em;
}

.hero-actions {
  margin-top: 2rem;
  gap: 0.7rem;
}

.btn {
  min-height: 2.9rem;
  border-radius: 0;
  padding: 0.78rem 1.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #77cfe3);
  box-shadow: none;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(9, 22, 36, 0.28);
}

.hero-art {
  min-height: 100%;
  background:
    linear-gradient(0deg, rgba(5, 10, 18, 0.88) 0%, rgba(5, 10, 18, 0.04) 58%),
    linear-gradient(90deg, rgba(5, 10, 18, 0.55), transparent 48%),
    /* The key art carries a large title lock-up on its left. The image panel
       intentionally anchors to the artwork-only side instead of cropping a
       lone letter into the composition on tall screens. */
    url("assets/deep/deep_game_art.png") right center / cover no-repeat;
}

.hero-art::before {
  background-image:
    linear-gradient(rgba(162, 227, 237, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 227, 237, 0.16) 1px, transparent 1px);
  background-size: 76px 76px;
  mix-blend-mode: screen;
  opacity: 0.28;
}

.hero-art::after {
  top: 0;
  right: 10%;
  width: 1px;
  height: 100%;
  border-radius: 0;
  background: linear-gradient(transparent, rgba(183, 243, 111, 0.8), transparent);
  filter: none;
}

#studio-canvas {
  opacity: 0.66;
  mix-blend-mode: screen;
}

.hero-overlay {
  right: clamp(1.15rem, 2.6vw, 2.4rem);
  bottom: clamp(1.15rem, 3.4vw, 2.7rem);
  left: clamp(1.15rem, 2.6vw, 2.4rem);
  max-width: 30rem;
  padding: 0.9rem 0 0.2rem 1.05rem;
  border: 0;
  border-left: 2px solid var(--brand-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-overlay-kicker {
  color: var(--brand-soft);
  font-family: var(--font-body);
  font-size: 0.61rem;
  letter-spacing: 0.14em;
}

.hero-overlay-title {
  margin: 0.3rem 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-overlay-copy {
  margin: 0.45rem 0 0;
  max-width: 34ch;
  color: #bdd0d7;
  font-size: 0.86rem;
  line-height: 1.48;
}

.hero-overlay .text-link {
  margin-top: 0.8rem;
}

.panel,
.page-hero {
  padding: clamp(3.5rem, 8vw, 6.7rem) 0;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding-top: clamp(4rem, 10vw, 8.25rem);
}

.section-heading {
  max-width: 56rem;
  margin-bottom: clamp(1.8rem, 3.7vw, 3.7rem);
}

.lineup-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem 4rem;
  max-width: none;
}

.section-note {
  max-width: 27rem;
  margin: 0;
  padding-bottom: 0.18rem;
  color: #95adb9;
  font-size: 0.94rem;
  line-height: 1.55;
}

.lineup-grid {
  counter-reset: studio-project;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.lineup-grid .card,
.lineup-grid .featured-card {
  grid-column: auto;
}

.lineup-grid .featured-card {
  grid-column: span 2;
}

.card {
  min-height: 15.5rem;
  padding: 1.35rem 1.35rem 1.2rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(12, 28, 44, 0.96), rgba(7, 16, 28, 0.97));
  box-shadow: none;
  isolation: isolate;
}

.lineup-grid .card {
  counter-increment: studio-project;
}

.lineup-grid .card::before {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(130deg, rgba(131, 226, 245, 0.12), transparent 44%),
    linear-gradient(310deg, rgba(183, 243, 111, 0.07), transparent 48%);
  opacity: 0;
}

.lineup-grid .card::after {
  content: "/" counter(studio-project, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  right: 1.15rem;
  color: rgba(184, 220, 227, 0.37);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.lineup-grid .featured-card h3 {
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
}

.card:hover {
  border: 0;
  box-shadow: none;
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

.card p {
  position: relative;
  z-index: 1;
  margin-top: 0.65rem;
  font-size: 0.93rem;
  line-height: 1.58;
}

.badge {
  position: relative;
  z-index: 1;
  margin-bottom: 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-soft);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.text-link {
  position: relative;
  z-index: 1;
  color: var(--brand);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

.text-link::after {
  content: "↗";
  color: var(--brand-soft);
}

.split {
  grid-template-columns: minmax(0, 0.83fr) minmax(22rem, 1.17fr);
  gap: clamp(2rem, 8vw, 10rem);
  align-items: start;
}

.split > div > p:not(.kicker) {
  max-width: 42rem;
  margin: 1rem 0 0;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-list li {
  margin: 0;
  padding: 0.85rem 1rem 0.85rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  top: 1.42rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 0;
  box-shadow: none;
}

.app-showcase {
  border-color: var(--line);
  border-radius: 0;
  background: #07111d;
  box-shadow: none;
}

.legal-nav a,
.pager-link {
  border-color: var(--line);
  border-radius: 0;
  background: rgba(7, 17, 29, 0.7);
}

.footer {
  margin-top: 0;
  padding: 1.45rem 0 0;
  font-size: 0.8rem;
}

.footer-legal {
  color: #738b97;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

@media (max-width: 1180px) {
  .home-hero {
    grid-template-columns: 1rem minmax(0, 1fr) minmax(23rem, 0.83fr);
    gap: 2rem;
  }

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

  .lineup-grid .featured-card {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(1600px, 94vw);
  }

  .home-hero {
    grid-template-columns: 0.85rem minmax(0, 1fr);
    gap: 1.35rem;
  }

  .hero-art {
    grid-column: 1 / -1;
    min-height: min(80vw, 40rem);
    margin-left: -0.85rem;
  }

  .hero-copy {
    padding-bottom: 3.7rem;
  }

  .lineup-heading {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  .section-note {
    max-width: 38rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: 100%;
    padding: 0 0.85rem 2.8rem;
  }

  .topbar {
    min-height: 4.35rem;
    padding: 0.8rem 0;
  }

  .menu-toggle {
    border-color: var(--line);
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .site-nav {
    right: 0;
    top: calc(100% + 1px);
    width: min(92vw, 22rem);
    padding: 0.8rem;
    border-color: var(--line);
    border-radius: 0;
    background: rgba(5, 10, 18, 0.97);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
  }

  .site-nav a {
    padding: 0.65rem 0.15rem;
  }

  .site-nav a::after {
    bottom: 0.25rem;
  }

  .home-hero {
    grid-template-columns: 0.65rem minmax(0, 1fr);
    min-height: 0;
    gap: 0.9rem;
  }

  .hero-context {
    padding-top: 2rem;
    padding-bottom: 1.3rem;
    font-size: 0.53rem;
  }

  .hero-copy {
    padding: 3rem 0 3rem;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-copy > p:not(.kicker) {
    margin-top: 1.2rem;
    font-size: 0.99rem;
  }

  .hero-metrics {
    margin-top: 1.6rem;
  }

  .metric {
    padding: 0 0.65rem;
  }

  .hero-actions {
    margin-top: 1.7rem;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 0;
  }

  .hero-art {
    min-height: 27rem;
    margin-left: -0.65rem;
  }

  .panel,
  .page-hero {
    padding: 3.25rem 0;
  }

  .lineup-grid,
  .lineup-grid .featured-card {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .card {
    min-height: 0;
    padding: 1.2rem 1.15rem 1.1rem;
  }

  .lineup-grid .featured-card h3 {
    font-size: 1.45rem;
  }

  .footer,
  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-value {
    font-size: 1.08rem;
  }

  .metric-label {
    font-size: 0.52rem;
    letter-spacing: 0.09em;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
