:root {
  --black: #0b0b0e;
  --navy: #0f1a2b;
  --navy-2: #111a30;
  --brass: #b89a5a;
  --gold: #e6c28a;
  --copper: #8b5733;
  --red: #8b2e2e;
  --purple: #8a5cff;
  --purple-2: #c681ff;
  --teal: #17c0b3;
  --mist: #edeef1;
  --muted: #b8b1c8;
  --panel: rgba(15, 26, 43, 0.78);
  --line: rgba(184, 154, 90, 0.38);
  --line-strong: rgba(230, 194, 138, 0.58);
  --heading: "Cinzel", Georgia, serif;
  --body: "Inter", Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(138, 92, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 10% 48%, rgba(23, 192, 179, 0.12), transparent 28rem),
    linear-gradient(180deg, #06070b 0%, #0b0b0e 36%, #0f1a2b 100%);
  color: var(--mist);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(230, 194, 138, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 194, 138, 0.018) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 76%);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

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

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  clip: auto;
  border-radius: 4px;
  background: var(--gold);
  color: var(--black);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.9);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(1200px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.brand-lockup,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 194, 138, 0.6);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(138, 92, 255, 0.28), rgba(23, 192, 179, 0.12)),
    #0b0b0e;
  box-shadow: 0 0 26px rgba(138, 92, 255, 0.28);
}

.brand-mark svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-lockup strong,
.footer-brand strong {
  display: block;
  color: var(--mist);
  font-family: var(--heading);
  font-size: clamp(1.1rem, 2vw, 1.46rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-lockup small,
.footer-brand small {
  display: block;
  margin-top: 0.18rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  color: rgba(237, 238, 241, 0.82);
  font-size: 0.84rem;
  font-weight: 900;
}

.site-nav a {
  text-decoration: none;
}

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

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 26, 43, 0.78);
  color: var(--gold);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: clamp(720px, 90vh, 940px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.96) 0%, rgba(7, 8, 13, 0.78) 36%, rgba(7, 8, 13, 0.1) 72%),
    linear-gradient(180deg, rgba(7, 8, 13, 0.12), rgba(7, 8, 13, 0.94));
}

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

.hero-shell {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
}

.hero-copy {
  width: min(740px, 100%);
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  color: var(--mist);
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.15rem;
  font-size: clamp(3.35rem, 7.6vw, 7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 4.8vw, 4.55rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.24rem;
  line-height: 1.18;
}

.hero-copy p:not(.eyebrow),
.section-heading p,
.story-copy > p,
.broadcast-copy > p,
.enter-shell > p {
  color: rgba(237, 238, 241, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions,
.enter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.86rem 1.15rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  border: 1px solid rgba(237, 238, 241, 0.32);
  background: linear-gradient(135deg, #8a5cff, #b89a5a);
  color: #07080d;
}

.button-secondary {
  border: 1px solid rgba(184, 154, 90, 0.5);
  background: rgba(7, 8, 13, 0.68);
  color: var(--mist);
}

.signal-band {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 12, 21, 0.92);
}

.signal-band div {
  width: min(1200px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: center;
  color: rgba(230, 194, 138, 0.92);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-heading {
  width: min(850px, 100%);
  margin-bottom: 2.2rem;
}

.story-section,
.broadcast-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.4rem, 5vw, 4.2rem);
  align-items: center;
}

.story-media,
.broadcast-media {
  overflow: hidden;
  border: 1px solid rgba(184, 154, 90, 0.36);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.story-media img,
.broadcast-media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.story-points,
.show-grid,
.model-grid,
.character-grid,
.world-grid {
  display: grid;
  gap: 1rem;
}

.story-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.story-points article,
.show-grid article,
.model-grid article,
.world-grid article {
  border: 1px solid rgba(184, 154, 90, 0.28);
  border-radius: 8px;
  background: rgba(15, 26, 43, 0.68);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
}

.story-points article,
.show-grid article,
.world-grid article {
  min-height: 162px;
  padding: 1.15rem;
}

.story-points p,
.show-grid p,
.model-grid p,
.world-grid p,
.character-copy p,
.character-copy li {
  color: rgba(237, 238, 241, 0.78);
}

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

.model-grid article {
  min-height: 360px;
  padding: 1.35rem;
  position: relative;
}

.model-number {
  margin: 0 0 1rem;
  color: var(--purple-2);
  font-family: var(--heading);
  font-size: 2rem;
  line-height: 1;
}

.model-icon {
  width: 74px;
  height: 74px;
  display: block;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(230, 194, 138, 0.5);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(138, 92, 255, 0.5), rgba(23, 192, 179, 0.08) 55%, rgba(7, 8, 13, 0.9));
  position: relative;
}

.model-icon::before,
.model-icon::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid var(--gold);
}

.story-icon::before {
  border-radius: 2px;
}

.story-icon::after {
  inset: 28px 18px;
  border-width: 0 0 2px;
}

.interface-icon::before {
  border-radius: 50%;
}

.interface-icon::after {
  inset: 18px 28px;
  border-width: 0 2px;
}

.broadcast-icon::before {
  border-radius: 50% 50% 8px 8px;
}

.broadcast-icon::after {
  inset: 18px 30px 14px;
  border-width: 0 2px 2px;
}

.companions-section {
  border-top: 1px solid rgba(184, 154, 90, 0.22);
  border-bottom: 1px solid rgba(184, 154, 90, 0.22);
  background:
    linear-gradient(180deg, rgba(15, 26, 43, 0.28), rgba(7, 8, 13, 0.1)),
    transparent;
}

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

.character-card {
  overflow: hidden;
  border: 1px solid rgba(184, 154, 90, 0.36);
  border-radius: 8px;
  background: rgba(8, 10, 17, 0.86);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.character-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid rgba(184, 154, 90, 0.28);
  background: #06070b;
}

.character-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.character-card.mae .character-media img {
  object-position: 50% 8%;
}

.character-copy {
  padding: 1.35rem;
}

.character-copy .eyebrow {
  color: var(--purple-2);
  letter-spacing: 0;
  text-transform: none;
}

.character-copy h3 {
  font-size: 2rem;
}

.character-copy ul {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
}

.character-copy li {
  position: relative;
  padding-left: 1.1rem;
}

.character-copy li::before {
  content: "";
  position: absolute;
  top: 0.68rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.bob .character-copy li::before {
  background: var(--red);
}

.mae .character-copy li::before {
  background: var(--gold);
}

.broadcast-section {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.show-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.6rem;
}

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

.world-grid article {
  min-height: 218px;
}

.world-grid span {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border: 1px solid rgba(23, 192, 179, 0.42);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--heading);
  line-height: 44px;
  text-align: center;
}

.enter-section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(11, 11, 14, 0.96), rgba(15, 26, 43, 0.7)),
    #0b0b0e;
}

.enter-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.68fr);
  gap: 1.5rem 3rem;
  align-items: end;
}

.enter-shell .eyebrow,
.enter-shell h2,
.enter-shell > p {
  grid-column: 1;
}

.enter-actions {
  grid-column: 2;
  justify-content: flex-end;
}

.site-footer {
  padding: 2.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(237, 238, 241, 0.68);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1020px) {
  .story-section,
  .broadcast-section,
  .enter-shell {
    grid-template-columns: 1fr;
  }

  .enter-actions {
    grid-column: 1;
    justify-content: flex-start;
  }

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

@media (max-width: 760px) {
  .header-shell {
    min-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 8, 13, 0.98);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(138, 92, 255, 0.14);
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 8, 13, 0.04), rgba(7, 8, 13, 0.78) 42%, rgba(7, 8, 13, 0.98)),
      linear-gradient(90deg, rgba(7, 8, 13, 0.52), rgba(7, 8, 13, 0.14));
  }

  .hero-media {
    object-position: 61% center;
  }

  .hero-shell {
    padding: 5.2rem 0 3.2rem;
  }

  .signal-band div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 0;
  }

  .story-points,
  .show-grid,
  .model-grid,
  .character-grid,
  .world-grid {
    grid-template-columns: 1fr;
  }

  .story-media img,
  .broadcast-media img {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .character-media {
    aspect-ratio: 5 / 4;
  }

  .character-card.mae .character-media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .hero-shell,
  .section,
  .enter-shell,
  .site-footer,
  .header-shell,
  .signal-band div {
    width: min(100% - 24px, 1200px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-lockup strong,
  .footer-brand strong {
    font-size: 1.02rem;
  }

  .brand-lockup small {
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(2.72rem, 13vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.92rem, 9.4vw, 2.95rem);
  }

  .button {
    width: 100%;
  }

  .story-points article,
  .show-grid article,
  .model-grid article,
  .world-grid article {
    min-height: auto;
  }

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