:root {
  --bg: #07090d;
  --bg-2: #10141c;
  --ink: #f5f1e8;
  --muted: rgba(245, 241, 232, 0.68);
  --soft: rgba(245, 241, 232, 0.1);
  --line: rgba(245, 241, 232, 0.16);
  --line-strong: rgba(245, 241, 232, 0.28);
  --cyan: #75f4dd;
  --blue: #6da8ff;
  --rose: #ff7a9a;
  --gold: #ffd36e;
  --green: #9ef0a4;
  --panel: rgba(13, 17, 24, 0.76);
  --panel-strong: rgba(12, 16, 22, 0.94);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --width: min(1240px, calc(100vw - 40px));
  --font-display: "Microsoft YaHei UI", "PingFang SC", "Bahnschrift", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 92px 92px,
    radial-gradient(circle at 16% 10%, rgba(117, 244, 221, 0.12), transparent 28%),
    radial-gradient(circle at 82% 2%, rgba(255, 122, 154, 0.1), transparent 26%),
    linear-gradient(160deg, #05070b 0%, #0c1119 48%, #05070b 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.08) 4px);
  mix-blend-mode: overlay;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  width: var(--width);
  margin: 0 auto;
  padding: 22px 0 56px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.94), rgba(7, 9, 13, 0.68));
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-width: 170px;
}

.brand-mark strong {
  font: 800 1.02rem/1 var(--font-display);
  letter-spacing: 0.2em;
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 26px);
  flex-wrap: wrap;
  color: rgba(245, 241, 232, 0.76);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 92px;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch__button {
  min-width: 34px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.lang-switch__button.is-active {
  color: #071015;
  background: var(--cyan);
}

main {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(760px, calc(100vh - 110px));
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}

.hero--page {
  min-height: 520px;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media--clickable {
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #05070b;
}

.hero__poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./assets/images/home/hero-image4.png") center / cover no-repeat;
  transition: opacity 260ms ease;
}

.hero__media--clickable video {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 260ms ease;
}

.hero__media--clickable.is-playing .hero__poster {
  opacity: 0;
}

.hero__media--clickable.is-playing video {
  opacity: 1;
}

.hero__media::after,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero__media::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.88) 0%, rgba(5, 7, 10, 0.38) 52%, rgba(5, 7, 10, 0.82) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.12), rgba(5, 7, 10, 0.82));
}

.hero::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 72%, var(--bg) 100%);
}

.hero__copy {
  width: min(820px, 100%);
  padding: clamp(34px, 8vw, 92px) 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 950px;
  font-size: clamp(2.9rem, 8.2vw, 7.8rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.5vw, 2.3rem);
  line-height: 1.08;
}

p {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.8;
}

.hero__summary {
  max-width: 720px;
  margin-bottom: 30px;
}

.hero__actions,
.card-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button--primary {
  border-color: transparent;
  color: #061015;
  background: linear-gradient(135deg, var(--cyan), #d8ffad);
}

.button:hover,
.visual-card:hover,
.work-card:hover {
  transform: translateY(-2px);
}

.section {
  display: grid;
  gap: 22px;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.section__head p {
  margin-bottom: 0;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.visual-card,
.work-card,
.info-card,
.contact-panel,
.form-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.visual-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 24px;
  transition: transform 180ms ease;
}

.visual-card__media,
.tile-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 380ms ease, opacity 220ms ease;
}

.visual-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 220ms ease;
}

.visual-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.86));
}

.visual-card:hover .visual-card__media {
  transform: scale(1.04);
}

.visual-card:hover video {
  opacity: 1;
}

.visual-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.visual-card span,
.work-card__meta,
.tag-row span,
.channel-card span {
  color: rgba(245, 241, 232, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.story-row,
.feature-row,
.contact-layout,
.series-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3.2vw, 44px);
  align-items: center;
}

.story-row--reverse .story-row__media {
  order: 2;
}

.story-row__media,
.feature-row__media,
.series-preview__media {
  min-height: 420px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.story-row__body,
.feature-row__body,
.series-preview__body,
.contact-panel,
.form-panel,
.info-card {
  padding: clamp(24px, 4vw, 48px);
}

.loop {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.loop__map {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(117, 244, 221, 0.16), transparent 26%),
    rgba(255, 255, 255, 0.04);
}

.loop__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(117, 244, 221, 0.42);
  border-radius: 999px;
  color: #061015;
  background: var(--cyan);
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: 800;
}

.loop__node {
  position: absolute;
  width: min(240px, 44%);
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.72);
}

.loop__node:nth-child(2) { top: 28px; left: 50%; transform: translateX(-50%); }
.loop__node:nth-child(3) { top: 50%; right: 28px; transform: translateY(-50%); }
.loop__node:nth-child(4) { left: 50%; bottom: 28px; transform: translateX(-50%); }
.loop__node:nth-child(5) { top: 50%; left: 28px; transform: translateY(-50%); }

.work-grid,
.info-grid,
.channel-grid,
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease;
}

.work-card--link {
  cursor: pointer;
}

.work-card--link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.work-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-position: center;
  background-size: cover;
  object-fit: cover;
}

.work-card__media--contain {
  background-color: #05080d;
  background-repeat: no-repeat;
  background-size: contain;
}

.work-card__media--poster-zoom {
  transform: scale(1.32);
  transform-origin: center;
}

.work-card__media--crop-vertical {
  transform: scale(1.18);
  transform-origin: center;
}

.work-card__body {
  padding: 22px;
}

.work-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.work-card__video-trigger {
  position: absolute;
  inset: 0 0 auto 0;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.work-card__play {
  position: relative;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.48);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.work-card__play::after {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  content: "";
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #ffffff;
  transform: translate(-42%, -50%);
}

.work-card:hover .work-card__play,
.work-card:focus-within .work-card__play,
.work-card__video-trigger:hover .work-card__play,
.work-card__video-trigger:focus-visible .work-card__play {
  opacity: 1;
  transform: scale(1.06);
  background: rgba(117, 244, 221, 0.18);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 54px);
}

.video-modal[hidden] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(18px);
}

.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
}

.video-modal__player {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
}

.video-modal__close {
  position: absolute;
  top: -46px;
  right: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.video-modal__title {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  line-height: 1.5;
}

.is-video-modal-open {
  overflow: hidden;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.filter-chip.is-active {
  color: #061015;
  background: var(--gold);
}

.tile-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tile {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.72));
}

.series-preview video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.split-cast {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 46%, rgba(205, 242, 255, 0.2), transparent 24%),
    linear-gradient(115deg, rgba(2, 8, 15, 0.98), rgba(8, 22, 36, 0.82) 48%, rgba(2, 5, 10, 0.98));
}

.split-cast::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(100% / 6 - 1px),
    rgba(255, 255, 255, 0.16) calc(100% / 6 - 1px),
    rgba(255, 255, 255, 0.16) calc(100% / 6)
  );
}

.split-cast__image {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.9) contrast(1.06);
}

.split-cast__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(215, 248, 255, 0.3), rgba(72, 124, 158, 0.12) 28%, transparent 48%),
    linear-gradient(115deg, #02070c, #0e2636 46%, #03060b);
}

.split-cast__placeholder[hidden] {
  display: none;
}

.split-cast__placeholder::before,
.split-cast__placeholder::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.split-cast__placeholder::before {
  background:
    linear-gradient(105deg, transparent 5%, rgba(255, 255, 255, 0.22) 22%, transparent 32%, transparent 66%, rgba(255, 255, 255, 0.16) 82%, transparent 94%),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.2), transparent 18%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.split-cast__placeholder::after {
  background:
    linear-gradient(90deg, rgba(1, 4, 8, 0.74), transparent 26%, transparent 74%, rgba(1, 4, 8, 0.78)),
    radial-gradient(ellipse at center, transparent 20%, rgba(2, 5, 10, 0.34) 64%, rgba(2, 5, 10, 0.82));
}

.split-cast__placeholder span {
  position: relative;
  min-height: 430px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at 50% 36%, rgba(130, 220, 255, 0.18), transparent 42%);
  backdrop-filter: blur(12px) saturate(1.25);
  box-shadow: inset 18px 0 38px rgba(255, 255, 255, 0.035), inset -24px 0 54px rgba(0, 0, 0, 0.26);
}

.split-cast__placeholder span:nth-child(1),
.split-cast__placeholder span:nth-child(6) {
  filter: blur(5px);
  opacity: 0.58;
}

.split-cast__placeholder span:nth-child(2),
.split-cast__placeholder span:nth-child(5) {
  filter: blur(2.4px);
  opacity: 0.76;
}

.split-cast__placeholder span:nth-child(3),
.split-cast__placeholder span:nth-child(4) {
  filter: blur(0);
  opacity: 1;
}

.split-cast.is-placeholder .split-cast__image {
  visibility: hidden;
}

.channel-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.channel-card,
.roster-card {
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
}

.channel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avatar-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 84px;
}

.avatar-strip i,
.roster-face {
  display: block;
  min-height: 84px;
  background-position: center;
  background-size: cover;
}

.roster-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roster-card {
  min-height: 300px;
}

.roster-face {
  min-height: 170px;
  margin-bottom: 16px;
}

.join-page .roster-face {
  min-height: 210px;
  border-radius: 18px;
  background-position: center 36%;
  filter: saturate(1.04) contrast(1.02);
}

.join-page .two-line-heading {
  max-width: 650px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.contact-layout {
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field--full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

input,
select {
  min-height: 46px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.form-actions {
  margin-top: 16px;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(245, 241, 232, 0.18);
  color: rgba(245, 241, 232, 0.78);
  background: rgba(255, 255, 255, 0.06);
  line-height: 1.65;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-success {
  border-color: rgba(135, 255, 193, 0.38);
  color: #d8ffef;
  background: rgba(31, 173, 114, 0.12);
}

.form-status.is-error {
  border-color: rgba(255, 176, 116, 0.42);
  color: #ffe2cc;
  background: rgba(255, 118, 62, 0.12);
}

.form-status a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: rgba(245, 241, 232, 0.54);
  font-size: 0.82rem;
}

.site-footer--sig {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  margin-top: 72px;
  padding: 28px 0 32px;
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
}

.site-footer__sig {
  display: grid;
  gap: 4px;
  place-items: center;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-footer__stack {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__copy {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.82rem;
}

.site-footer__edge {
  position: absolute;
  right: 0;
  bottom: 26px;
  color: rgba(255, 255, 255, 0.26);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.site-footer--sig nav {
  display: none;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-tools {
    position: absolute;
    top: 18px;
    right: 0;
  }

  .section__head,
  .story-row,
  .feature-row,
  .contact-layout,
  .series-preview,
  .loop {
    grid-template-columns: 1fr;
  }

  .story-row--reverse .story-row__media {
    order: initial;
  }

  .visual-grid,
  .work-grid,
  .info-grid,
  .roster-grid {
    grid-template-columns: 1fr 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 28px, 1240px);
  }

  .brand-mark {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .hero,
  .hero--page {
    min-height: 610px;
  }

  .visual-grid,
  .work-grid,
  .info-grid,
  .channel-grid,
  .roster-grid,
  .tile-pair,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .visual-card,
  .story-row__media,
  .feature-row__media,
  .tile {
    min-height: 300px;
  }

  .loop__map {
    min-height: 660px;
  }

  .loop__node {
    left: 18px !important;
    right: 18px !important;
    width: auto;
    transform: none !important;
  }

  .loop__node:nth-child(2) { top: 18px; }
  .loop__node:nth-child(3) { top: 165px; }
  .loop__node:nth-child(4) { top: 312px; bottom: auto; }
  .loop__node:nth-child(5) { top: 459px; }

  .split-cast {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

/* Diff comment fixes: remove homepage gaps and widen page heroes while keeping copy inside. */
.hero--page {
  margin-left: -34px;
  margin-right: -34px;
  padding-left: 72px;
  padding-right: 72px;
}

.hero--home {
  margin-bottom: calc(clamp(46px, 6vw, 88px) * -1);
}

.hero--home + .home-portals {
  margin-top: 0;
}

.home-portals {
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.home-portals .visual-card {
  min-height: 330px;
}

.home-portals .visual-card__media {
  background-size: cover;
}

.ip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ip-grid .work-card {
  display: flex;
  flex-direction: column;
  min-height: 660px;
  background: rgba(7, 11, 18, 0.92);
}

.ip-grid .work-card__media {
  aspect-ratio: 2 / 3;
  min-height: 0;
  background-position: center;
  border-radius: 28px 28px 0 0;
}

.ip-grid .work-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 210px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(7, 11, 18, 0.94), rgba(7, 11, 18, 0.78));
}

.ip-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.ip-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(117, 244, 221, 0.24);
  border-radius: 999px;
  color: rgba(230, 249, 245, 0.88);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(117, 244, 221, 0.08);
}

.client-section {
  margin-top: 12px;
}

.client-cloud {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 16, 30, 0.9), rgba(6, 9, 15, 0.78)),
    radial-gradient(circle at 50% 0%, rgba(117, 244, 221, 0.12), transparent 40%);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.32);
}

.client-cloud span {
  display: grid;
  place-items: center;
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(245, 241, 232, 0.1);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.2vw, 1.18rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 980px) {
  .client-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .client-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero--page {
    margin-left: 0;
    margin-right: 0;
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero--home {
    margin-bottom: 0;
  }

  .ip-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .ip-grid {
    grid-template-columns: 1fr;
  }
}

/* Final scope correction: keep the previous major version proportions consistent. */
.site-header {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 72px;
  column-gap: 18px;
  align-items: start;
}

.site-nav {
  gap: clamp(14px, 1.6vw, 24px);
  justify-content: center;
  font-size: 0.94rem;
  line-height: 1.2;
}

.hero,
.hero--page {
  min-height: 560px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 0 0 28px 28px;
}

.hero__copy,
.hero--page .hero__copy,
.hero__copy--home {
  width: min(760px, 100%);
  max-width: min(760px, calc(100vw - 80px));
  padding-top: 168px;
  padding-bottom: 48px;
}

.hero__copy--home::before {
  inset: 128px -26px 12px -26px;
  background: none;
}

h1,
.hero--page h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 5.6vw, 6.4rem);
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 4rem);
}

.hero__summary {
  max-width: 660px;
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.72;
}

.visual-grid {
  margin-top: 0;
}

.visual-card {
  min-height: 300px;
}

.visual-card--idol {
  background:
    linear-gradient(180deg, rgba(4, 7, 12, 0.08), rgba(4, 7, 12, 0.88)),
    url("./assets/images/home/portal-idol-image7.png") center / cover no-repeat;
}

.visual-card--idol .visual-card__media {
  background-color: transparent;
  background-position: center top;
  background-size: auto 100%;
}

.visual-card--idol::after {
  background: linear-gradient(180deg, rgba(3, 5, 9, 0.02), rgba(3, 5, 9, 0.62));
}

.visual-card--idol .visual-card__body {
  padding-top: 0;
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    position: relative;
  }

  .hero,
  .hero--page {
    min-height: 610px;
  }
}

@media (max-width: 680px) {
  .hero__copy,
  .hero--page .hero__copy,
  .hero__copy--home {
    max-width: 100%;
    padding-top: 78px;
  }

  h1,
  .hero--page h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }
}

/* Restore the previous VIRGO visual direction: cinematic, image-led, and lighter chrome. */
.page-shell {
  position: relative;
  padding-top: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  min-height: 88px;
  padding: 26px 0 12px;
  background: transparent;
  backdrop-filter: none;
}

.brand-mark {
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}

.brand-mark strong {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  letter-spacing: 0.26em;
}

.brand-mark small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.site-nav a::after {
  display: none;
}

.lang-switch {
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

.lang-switch__button {
  min-width: auto;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
  background: transparent;
}

.lang-switch__button.is-active {
  color: #ffffff;
  background: transparent;
}

main {
  gap: clamp(46px, 6vw, 88px);
}

.hero {
  min-height: min(760px, 100vh);
  margin-left: calc((100vw - var(--width)) / -2);
  margin-right: calc((100vw - var(--width)) / -2);
  padding-left: calc((100vw - var(--width)) / 2);
  padding-right: calc((100vw - var(--width)) / 2);
  border-radius: 0;
}

.hero--page {
  min-height: 520px;
  margin-left: 0;
  margin-right: 0;
  padding-left: 30px;
  padding-right: 30px;
  border-radius: 0 0 28px 28px;
}

.hero__media {
  background-position: center;
}

.hero__media::after {
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.72) 0%, rgba(4, 8, 14, 0.24) 52%, rgba(4, 8, 14, 0.52) 100%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.08) 0%, rgba(4, 8, 14, 0.12) 50%, rgba(4, 8, 14, 0.92) 100%);
}

.hero::before {
  display: none;
  content: none;
}

.hero--page::before {
  display: none;
}

.hero__copy {
  padding-top: 150px;
  padding-bottom: 58px;
}

.hero__copy--home {
  position: relative;
  max-width: min(760px, calc(100vw - 64px));
  padding-left: 0;
  padding-right: 0;
}

.hero__copy--home::before {
  display: none;
  content: none;
}

.hero--page .hero__copy {
  padding-top: 160px;
  padding-bottom: 46px;
}

h1 {
  max-width: 780px;
  color: #f4f7ff;
  font-size: clamp(4.4rem, 9vw, 9.4rem);
  font-weight: 900;
  line-height: 0.9;
  text-shadow: 0 10px 46px rgba(0, 0, 0, 0.36);
}

.hero--page h1 {
  max-width: 850px;
  font-size: clamp(4.2rem, 7.4vw, 7.8rem);
}

.eyebrow {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.32em;
}

.hero__summary {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.hero__subline {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero__actions {
  display: none;
}

.visual-grid {
  gap: 0;
  margin-top: calc(clamp(46px, 6vw, 88px) * -1);
}

.visual-card {
  min-height: 260px;
  border: 0;
  box-shadow: none;
}

.visual-card::after {
  background: linear-gradient(180deg, rgba(3, 5, 9, 0.08), rgba(3, 5, 9, 0.82));
}

.visual-card strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
}

.visual-card--idol .visual-card__media,
.story-row__media--characters {
  background-color: #070b12;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
}

.visual-card--idol .visual-card__body {
  padding-top: 142px;
}

.section__head {
  align-items: start;
}

.story-row,
.series-preview,
.info-card,
.contact-panel,
.form-panel,
.work-card,
.channel-card,
.roster-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(7, 11, 18, 0.72);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.32);
}

.story-row {
  overflow: hidden;
}

.story-row__body,
.series-preview__body,
.contact-panel,
.form-panel,
.info-card {
  padding: clamp(30px, 4vw, 56px);
}

.story-row__media,
.series-preview__media,
.feature-row__media {
  border-radius: 20px;
}

.series-preview {
  padding: 28px;
}

.series-preview video {
  border-radius: 20px;
}

.tile,
.split-cast {
  border-radius: 28px;
  border-color: rgba(255, 255, 255, 0.08);
}

.tile-pair {
  gap: 28px;
}

.tag-row span {
  color: rgba(212, 255, 245, 0.88);
  border-color: rgba(117, 244, 221, 0.28);
}

.site-footer {
  color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    padding-top: 20px;
    background: rgba(7, 9, 13, 0.82);
  }

  .header-tools {
    top: 20px;
  }

  .hero,
  .hero--page {
    margin-left: 0;
    margin-right: 0;
    padding-left: 22px;
    padding-right: 22px;
  }

  .visual-grid {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .hero,
  .hero--page {
    min-height: 650px;
  }

  .hero__copy,
  .hero--page .hero__copy {
    padding-top: 70px;
  }

  h1,
  .hero--page h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }
}

/* Homepage final layout fixes requested after visual review. */
.text-ember {
  color: #c85c3c;
}

.hero,
.hero--page {
  min-height: 560px;
}

.hero__copy,
.hero--page .hero__copy,
.hero__copy--home {
  width: min(700px, 100%);
  max-width: min(700px, calc(100vw - 80px));
  padding-top: 170px;
  padding-bottom: 42px;
}

.hero__copy--home::before {
  inset: 130px -24px 8px -24px;
}

h1,
.hero--page h1 {
  max-width: 700px;
  font-size: clamp(3rem, 4.8vw, 5.4rem);
  line-height: 0.98;
}

.series-hero h1 {
  max-width: 760px;
  font-size: 66px;
  line-height: 0.96;
}

.hero__summary {
  max-width: 640px;
}

.home-portals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.home-portals .visual-card {
  min-height: 300px;
}

.section--home-copy {
  margin-top: clamp(28px, 4vw, 58px);
}

.section--home-copy .section__head {
  align-items: start;
}

.section--home-copy h2 {
  max-width: 850px;
  font-size: clamp(2.25rem, 4.2vw, 4.8rem);
  line-height: 1.02;
}

.section--home-copy .section__head > p {
  padding-top: 42px;
}

.visual-card--idol {
  background: #10131a;
}

.visual-card--idol .visual-card__media {
  background-color: transparent;
  background-position: center;
  background-size: cover;
}

.visual-card--idol::after {
  background: linear-gradient(180deg, rgba(3, 5, 9, 0.02), rgba(3, 5, 9, 0.48));
}

.visual-card--idol .visual-card__body {
  padding-top: 0;
}

@media (max-width: 980px) {
  .home-portals {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .section--home-copy .section__head > p {
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .hero__copy,
  .hero--page .hero__copy,
  .hero__copy--home {
    max-width: 100%;
    padding-top: 78px;
  }

  h1,
  .hero--page h1 {
    font-size: clamp(2.65rem, 12vw, 4.1rem);
  }

  .series-hero h1 {
    font-size: 40px;
  }

  .home-portals {
    grid-template-columns: 1fr;
  }
}

/* Homepage refinement: scoped so the rest of the site keeps its current layout. */
body:not(.home-page) .brand-mark {
  margin-left: 24px;
}

body:not(.home-page) .header-tools {
  transform: translateX(-96px);
}

.home-page {
  min-width: 0;
  overflow-x: hidden;
}

.home-page .page-shell {
  width: min(1240px, calc(100vw - 40px));
}

.home-page .brand-mark {
  margin-left: 0;
}

.home-page .header-tools {
  transform: none;
}

.home-page .site-header {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(180px, 236px) minmax(0, 1fr) auto;
  column-gap: clamp(14px, 2.4vw, 34px);
  align-items: start;
  min-height: 88px;
  padding: 24px 20px 12px;
  background: linear-gradient(180deg, rgba(5, 8, 13, 0.72), rgba(5, 8, 13, 0));
}

.home-page .site-nav {
  gap: clamp(12px, 1.7vw, 24px);
  justify-content: center;
  font-size: 0.9rem;
}

.home-page .site-nav a::after {
  display: block;
  bottom: -4px;
  height: 2px;
  background: rgba(117, 244, 221, 0.9);
}

.home-page .site-nav a:focus-visible,
.home-page .lang-switch__button:focus-visible,
.home-page .hero__media--clickable:focus-visible,
.home-page .visual-card:focus-visible {
  outline: 2px solid rgba(117, 244, 221, 0.9);
  outline-offset: 5px;
}

.home-page main {
  gap: clamp(54px, 7vw, 92px);
}

.home-page .hero,
.home-page .hero--home {
  min-height: clamp(560px, 76dvh, 720px);
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-right: clamp(22px, 5vw, 64px);
  padding-left: clamp(22px, 5vw, 64px);
  border-radius: 0 0 30px 30px;
  overflow: visible;
}

.home-page .hero__media {
  background-position: center;
  overflow: hidden;
  border-radius: inherit;
}

.home-page .hero__media::after {
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.74) 0%, rgba(5, 8, 13, 0.2) 52%, rgba(5, 8, 13, 0.5) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.04) 0%, rgba(5, 8, 13, 0.18) 48%, rgba(5, 8, 13, 0.98) 100%);
}

.home-page .hero--home::before {
  position: absolute;
  right: 0;
  bottom: -190px;
  left: 0;
  z-index: -1;
  height: 330px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0) 0%, rgba(5, 8, 13, 0.92) 36%, rgba(5, 8, 13, 0.98) 62%, rgba(5, 8, 13, 0) 100%),
    radial-gradient(ellipse at 50% 18%, rgba(117, 244, 221, 0.09), transparent 58%);
}

.home-page .hero__media--clickable {
  transform: translateZ(0);
}

.home-page .hero__media--clickable:active {
  transform: scale(0.998);
}

.home-page .hero__copy,
.home-page .hero__copy--home {
  width: min(520px, 100%);
  min-width: 0;
  max-width: 520px;
  padding-top: 170px;
  padding-bottom: clamp(54px, 9dvh, 90px);
}

.home-page .hero__copy.reveal,
.home-page .home-portals .reveal {
  opacity: 1;
  transform: none;
}

.home-page .hero__copy--home .eyebrow {
  margin-bottom: 10px;
}

.home-page h1 {
  max-width: 520px;
  font-size: 6.8rem;
  line-height: 0.86;
  letter-spacing: 0;
}

.home-page .hero__summary {
  max-width: min(34rem, 100%);
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.home-page .hero__subline {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
}

.home-page .home-portals {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: clamp(-170px, -10vw, -110px);
  grid-template-columns: 1.12fr 1.06fr 0.92fr 0.9fr;
  gap: 12px;
}

.home-page .home-portals .visual-card {
  min-height: 286px;
  border-radius: 18px;
  background: rgba(9, 13, 20, 0.64);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
  transform: translateZ(0);
}

.home-page .visual-card::after {
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.02), rgba(5, 7, 10, 0.76)),
    linear-gradient(90deg, rgba(117, 244, 221, 0.08), transparent 42%);
}

.home-page .visual-card:hover,
.home-page .visual-card:focus-visible,
.home-page .visual-card.is-previewing {
  transform: translateY(-4px);
}

.home-page .visual-card:hover video,
.home-page .visual-card:focus-visible video,
.home-page .visual-card.is-previewing video {
  opacity: 1;
}

.home-page .visual-card__body {
  gap: 8px;
}

.home-page .visual-card span {
  color: rgba(117, 244, 221, 0.82);
  font-weight: 900;
}

.home-page .visual-card strong {
  max-width: 9ch;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.85rem;
  line-height: 1.05;
}

.home-page .section--home-copy {
  margin-top: 0;
}

.home-page .section--home-copy h2 {
  font-size: 4.4rem;
  line-height: 0.98;
}

.home-page .section--home-copy .section__head {
  align-items: center;
}

.home-page .section--home-copy .section__head > p {
  padding-top: 0;
  color: rgba(245, 241, 232, 0.74);
  line-height: 1.78;
}

@media (max-width: 1080px) {
  .home-page .site-header {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .home-page .site-nav {
    justify-content: flex-start;
  }

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

  .home-page h1 {
    font-size: 5.6rem;
  }

  .home-page .section--home-copy h2 {
    font-size: 3.6rem;
  }
}

@media (max-width: 720px) {
  .home-page .page-shell {
    width: min(100% - 28px, 1240px);
  }

  .home-page .site-header {
    position: relative;
    padding: 18px 0 12px;
    background: transparent;
  }

  .home-page .site-nav {
    gap: 12px 16px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    font-size: 0.82rem;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
    scrollbar-width: none;
  }

  .home-page .site-nav::-webkit-scrollbar {
    display: none;
  }

  .home-page .site-nav a {
    flex: 0 0 auto;
  }

  .home-page .hero,
  .home-page .hero--home {
    min-height: 560px;
    padding-right: 20px;
    padding-left: 20px;
    border-radius: 22px;
  }

  .home-page .hero__copy,
  .home-page .hero__copy--home {
    width: min(300px, 100%);
    max-width: 300px;
    padding-top: 120px;
    padding-bottom: 42px;
  }

  .home-page h1 {
    font-size: 4.4rem;
  }

  .home-page .hero__summary {
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .home-page .section--home-copy h2 {
    font-size: 2.7rem;
  }

  .home-page .visual-card strong {
    font-size: 1.55rem;
  }

  .home-page .home-portals {
    margin-top: -82px;
    grid-template-columns: 1fr;
  }

  .home-page .home-portals .visual-card {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .visual-card,
  .home-page .visual-card__media,
  .home-page .visual-card video,
  .home-page .hero__media--clickable {
    transition: none;
  }
}

/* Series project carousel and enlarged development preview. */
.series-hero {
  overflow: hidden;
}

.series-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 54px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(4, 8, 14, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  opacity: 0;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.series-hero:hover .series-hero__nav,
.series-hero:focus-within .series-hero__nav {
  opacity: 1;
}

.series-hero__nav:hover,
.series-hero__nav:focus-visible {
  background: rgba(117, 244, 221, 0.2);
  transform: translateY(-50%) scale(1.04);
}

.series-hero__nav--prev {
  left: clamp(16px, 3vw, 42px);
}

.series-hero__nav--next {
  right: clamp(16px, 3vw, 42px);
}

.series-project-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(8, 28, 48, 0.86), rgba(7, 11, 18, 0.74)),
    radial-gradient(circle at 14% 20%, rgba(117, 244, 221, 0.14), transparent 32%);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.32);
}

.series-project-intro > div {
  min-width: 0;
}

.series-project-intro h2 {
  margin-bottom: 0;
  max-width: none;
  white-space: normal;
  font-size: clamp(2rem, 4.1vw, 4.1rem);
  line-height: 0.96;
  text-wrap: balance;
}

.series-project-intro p:last-child {
  align-self: center;
  margin-bottom: 0;
  max-width: 30ch;
  color: rgba(245, 250, 255, 0.82);
  line-height: 1.75;
  transform: none;
}

.series-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.series-preview__media {
  aspect-ratio: var(--series-video-ratio, 16 / 9);
  min-height: 0;
  overflow: hidden;
  background: #000;
}

.series-preview video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

.series-preview__body {
  display: grid;
  grid-template-areas:
    "kicker tags"
    "copy copy";
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px clamp(20px, 3vw, 42px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(135deg, rgba(8, 36, 62, 0.82), rgba(7, 11, 18, 0.76)),
    radial-gradient(circle at 85% 12%, rgba(117, 244, 221, 0.12), transparent 28%);
}

.series-preview__body .eyebrow {
  grid-area: kicker;
  margin: 0;
}

.series-preview__body h2 {
  grid-area: title;
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  line-height: 1.02;
}

.series-preview__body p:not(.eyebrow) {
  grid-area: copy;
  margin: 0;
  max-width: 760px;
  color: rgba(245, 250, 255, 0.74);
}

.series-preview__body .tag-row {
  grid-area: tags;
  justify-self: end;
  margin-top: 0;
  padding-top: 0;
}

.deployment-bay {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 3vw, 36px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(8, 20, 34, 0.94), rgba(6, 12, 19, 0.82) 56%, rgba(9, 27, 43, 0.9)),
    radial-gradient(circle at 18% 20%, rgba(117, 244, 221, 0.12), transparent 28%);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.32);
}

.deployment-bay[hidden] {
  display: none !important;
}

.deployment-bay::before,
.deployment-bay::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.deployment-bay::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 84px 84px;
  opacity: 0.34;
}

.deployment-bay::after {
  inset: auto 24px 24px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(117, 244, 221, 0.18), transparent 68%);
  filter: blur(12px);
}

.deployment-bay__identity,
.deployment-bay__meta {
  position: relative;
  z-index: 1;
}

.deployment-bay__identity {
  display: grid;
  gap: 18px;
  align-content: start;
}

.deployment-bay__brandline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  align-items: start;
}

.deployment-bay__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(84px, 9vw, 108px);
  aspect-ratio: 1;
  border: 1px solid rgba(117, 244, 221, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(117, 244, 221, 0.16), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.deployment-bay__mark span {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(215, 255, 250, 0.96), rgba(117, 244, 221, 0.22));
}

.deployment-bay__mark span:nth-child(1) {
  width: 24%;
  height: 52%;
  transform: skewX(-24deg) translateX(-16px);
}

.deployment-bay__mark span:nth-child(2) {
  width: 24%;
  height: 52%;
  transform: skewX(-24deg) translateX(16px);
}

.deployment-bay__mark span:nth-child(3) {
  width: 52%;
  height: 12%;
  transform: rotate(-28deg) translateY(4px);
}

.deployment-bay__titlelock {
  min-width: 0;
}

.deployment-bay__label,
.deployment-bay__card-label {
  margin: 0 0 12px;
  color: rgba(117, 244, 221, 0.82);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.deployment-bay__titlelock h2 {
  margin-bottom: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 0.98;
}

.deployment-bay__summary {
  margin: 0;
  max-width: 62ch;
  color: rgba(245, 250, 255, 0.74);
}

.deployment-bay__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #031016;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), #d8ffad);
  box-shadow: 0 18px 44px rgba(117, 244, 221, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.deployment-bay__link:hover,
.deployment-bay__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(117, 244, 221, 0.28);
}

.deployment-bay__meta {
  display: grid;
  gap: 14px;
  align-content: center;
}

.deployment-bay__card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(7, 11, 18, 0.7);
  backdrop-filter: blur(10px);
}

.deployment-bay__card strong {
  color: #f7fbff;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.2;
}

.deployment-bay__card span {
  color: rgba(245, 250, 255, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .series-project-intro,
  .series-preview {
    grid-template-columns: 1fr;
  }

  .deployment-bay {
    grid-template-columns: 1fr;
  }

  .deployment-bay__meta {
    grid-template-columns: 1fr;
  }

  .series-preview__body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "copy"
      "tags";
  }

  .series-preview__body .tag-row {
    grid-column: auto;
    justify-self: start;
  }

  .series-hero__nav {
    opacity: 1;
  }
}

@media (max-width: 680px) {
  .series-project-intro {
    padding: 24px;
  }

  .deployment-bay {
    padding: 22px;
  }

  .deployment-bay__brandline {
    grid-template-columns: 1fr;
  }

  .deployment-bay__titlelock h2 {
    max-width: none;
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .series-hero__nav {
    width: 42px;
    height: 58px;
  }
}
