:root {
  color-scheme: dark;
  --bg: #020202;
  --panel: #0b0b0c;
  --panel-2: #111113;
  --text: #f7f7f7;
  --muted: #aaa9a6;
  --line: rgba(247, 247, 247, .18);
  --red: #f01421;
  --red-hot: #ff0048;
  --cyan: #2be7d6;
  --ink: #050505;
  --max: 1180px;
  --page-gutter: clamp(14px, 3vw, 40px);
  --content-max: 1320px;
  --wide-max: 1480px;
  --header-max: 1320px;
  --section-gap: clamp(56px, 7vw, 96px);
  --header-safe-offset: 148px;
  --hero-sigil-size: clamp(280px, 34vw, 520px);
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --font-display: "Arial Black", "Segoe UI Black", Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-tap-highlight-color: transparent;
}

body {
  position: relative;
  overflow: visible;
  margin: 0;
  min-width: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background:
    radial-gradient(circle at 72% 10%, rgba(240, 20, 33, .17), transparent 30rem),
    radial-gradient(circle at 18% 24%, rgba(43, 231, 214, .09), transparent 26rem),
    linear-gradient(180deg, #050505 0%, #020202 44%, #080808 100%);
}

::selection {
  color: var(--text);
  background: rgba(43, 231, 214, .28);
}

input,
textarea,
select,
option,
pre,
code,
kbd,
samp,
var,
[contenteditable="true"],
[contenteditable]:not([contenteditable="false"]),
.allow-select,
.allow-text-select,
.is-text-selectable,
.admin-field,
.copyable {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

body::after {
  position: fixed;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .42;
  filter: blur(30px);
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(43, 231, 214, .16) 27%, transparent 38% 55%, rgba(240, 20, 33, .2) 66%, transparent 78%),
    repeating-linear-gradient(96deg, transparent 0 44px, rgba(43, 231, 214, .06) 45px 48px, transparent 49px 118px),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(240, 20, 33, .06) 73px 75px, transparent 76px 150px);
  background-size: 160% 160%, 240px 100%, 100% 220px;
  animation: backgroundSignalDrift 18s ease-in-out infinite alternate;
  transform: translate3d(0, 0, 0);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  padding: 10px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero__actions,
.toggle-showcase,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(240, 20, 33, .28));
}

.brand__name {
  font-size: 1.02rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, .62);
  box-shadow: inset 0 0 0 1px rgba(43, 231, 214, .05);
}

.nav a,
.header-action {
  position: relative;
  overflow: hidden;
  min-height: 34px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .91rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  transition: color .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nav a:hover,
.nav a[aria-current="page"],
.header-action:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(43, 231, 214, .42), 0 0 18px rgba(43, 231, 214, .12);
}

.nav a::before,
.header-action::before,
.button::before,
.feed-filter::before {
  position: absolute;
  inset: 0 auto 0 -70%;
  width: 48%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .46), transparent);
  transform: skewX(-18deg);
  transition: left .42s ease;
}

.nav a:hover::before,
.header-action:hover::before,
.button:hover::before,
.feed-filter:hover::before {
  left: 118%;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, .28);
  color: var(--text);
  background: rgba(240, 20, 33, .14);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  align-items: center;
  gap: 42px;
  width: min(100% - 32px, var(--max));
  min-height: calc(100svh - 170px);
  margin: 0 auto;
  padding: 30px 0 58px;
  scroll-margin-top: 92px;
}

.hero__copy {
  position: relative;
  z-index: 5;
  min-width: 0;
  max-width: 650px;
}

.hero::after {
  position: absolute;
  right: 8%;
  bottom: 34px;
  left: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(247, 247, 247, .38), transparent);
  opacity: .2;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--cyan);
  font-size: .76rem;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

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

h1 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: 5.45rem;
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: keep-all;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.7rem;
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
}

h1,
h2,
h3,
.button,
.feed-filter,
.choice,
.quality,
.pipeline-step,
.partner-card a,
.work-card__actions a,
.contact-card strong {
  font-family: var(--font-display);
}

p,
li,
dd {
  text-wrap: pretty;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: #dfdfdc;
  font-size: 1.62rem;
  line-height: 1.34;
  text-wrap: balance;
}

.hero h1 {
  max-width: 650px;
  font-size: 4.7rem;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(247, 247, 247, .32);
  color: var(--text);
  font-weight: 800;
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(43, 231, 214, .18), 0 0 34px rgba(240, 20, 33, .24);
}

.button__icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.button--primary {
  border-color: transparent;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .38), transparent 18px),
    linear-gradient(135deg, #9d0007, var(--red), #ff5d64);
  box-shadow: 0 0 28px rgba(240, 20, 33, .36);
}

.button--ghost {
  background: rgba(255, 255, 255, .06);
}

.hero__sigil {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  isolation: isolate;
  cursor: crosshair;
}

.hero__sigil::before {
  position: absolute;
  width: min(70vw, 560px);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 20, 33, .2), transparent 18%),
    radial-gradient(circle, rgba(43, 231, 214, .1), transparent 42%),
    #050505;
  box-shadow: inset 0 0 0 2px rgba(247, 247, 247, .12), 0 0 70px rgba(240, 20, 33, .24);
}

.hero__logo {
  position: relative;
  z-index: 2;
  width: min(62.3vw, 391px);
  border-radius: 50%;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, .68));
  transition: transform .36s ease, filter .36s ease;
}

.hero__orbit {
  position: absolute;
  z-index: 1;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(247, 247, 247, .88);
  pointer-events: none;
  transition: border-color .36s ease, opacity .36s ease;
}

.hero__orbit--outer {
  width: min(74.3vw, 592px);
  opacity: .78;
}

.hero__orbit--inner {
  width: min(58.3vw, 451px);
  opacity: .9;
}

.hero__sigil:hover .hero__logo {
  transform: scale(.985);
  filter: drop-shadow(0 28px 68px rgba(240, 20, 33, .46));
}

.hero__sigil:hover .hero__orbit--outer {
  animation: orbitSpin 5s linear infinite;
  border-color: rgba(255, 255, 255, .98);
}

.hero__sigil:hover .hero__orbit--inner {
  animation: orbitSpin 3.8s linear infinite reverse;
  border-color: rgba(43, 231, 214, .74);
}

.flight-scene {
  position: absolute;
  z-index: 4;
  width: min(70vw, 560px);
  aspect-ratio: 1;
  pointer-events: none;
}

.flight-video {
  position: absolute;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  opacity: 0;
  mix-blend-mode: lighten;
  pointer-events: none;
  transition: opacity .2s ease;
}

.flight-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flight-path__ghost,
.flight-path__trail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flight-path__ghost {
  stroke: rgba(43, 231, 214, .16);
  stroke-width: 2;
  opacity: 0;
  transition: opacity .28s ease;
}

.flight-path__trail {
  stroke: rgba(247, 247, 247, .92);
  stroke-width: 4.5;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  filter: drop-shadow(0 0 9px rgba(43, 231, 214, .46)) drop-shadow(0 0 15px rgba(240, 20, 33, .34));
}

.ship-runner {
  position: absolute;
  left: 0;
  top: 0;
  width: 124px;
  height: 52px;
  opacity: 0;
  offset-path: path("M116 424C178 366 276 392 316 318C354 248 223 248 254 182C282 122 380 154 464 88");
  offset-distance: 0%;
  offset-anchor: 50% 50%;
  offset-rotate: auto;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 14px rgba(43, 231, 214, .62)) drop-shadow(0 0 16px rgba(240, 20, 33, .44));
}

.ship {
  display: block;
  width: 124px;
  height: 52px;
}

.flight-star {
  position: absolute;
  left: 89.2%;
  top: 16.9%;
  width: 36px;
  height: 36px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.3) rotate(0deg);
  filter: drop-shadow(0 0 22px rgba(255, 0, 72, .9));
}

.flight-star::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--red-hot);
  clip-path: polygon(50% 0, 59% 36%, 100% 50%, 59% 64%, 50% 100%, 41% 64%, 0 50%, 41% 36%);
}

.hero__sigil:hover .flight-path__ghost {
  opacity: 1;
}

.hero__sigil:hover .flight-path__trail {
  animation: drawTrail 3.2s ease-out forwards;
}

.hero__sigil:hover .ship-runner {
  animation: shipFlight 3.2s cubic-bezier(.18, .76, .18, 1) forwards;
}

.hero__sigil:hover .flight-star {
  animation: starIgnite 3.2s ease-out forwards;
}

.hero__sigil.has-flight-video:hover .flight-video {
  opacity: .95;
}

.hero__sigil.has-flight-video:hover .flight-path,
.hero__sigil.has-flight-video:hover .ship-runner,
.hero__sigil.has-flight-video:hover .flight-star {
  opacity: 0;
  animation: none;
}

.spark {
  position: absolute;
  z-index: 3;
  width: 28px;
  height: 28px;
}

.spark::before,
.spark::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: var(--text);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px rgba(255, 255, 255, .65);
}

.spark::before {
  width: 2px;
  height: 100%;
}

.spark::after {
  width: 100%;
  height: 2px;
}

.spark--one {
  top: 19%;
  right: 18%;
}

.spark--two {
  bottom: 31%;
  left: 10%;
  transform: scale(.74);
}

.spark--three {
  top: 58%;
  right: 6%;
  transform: scale(.56);
}

.signal-strip,
.section,
.footer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section[id],
.footer[id],
.page-hero[id],
.anime-hero[id],
.anime-feed[id],
.anime-footer[id],
.anime-title-shell[id],
.anime-watch[id] {
  scroll-margin-top: 170px;
}

.signal-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 118px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip__label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
}

.signal-strip strong {
  font-size: 1.48rem;
  text-transform: uppercase;
}

.toggle-showcase {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.toggle-showcase img {
  display: block;
  height: 52px;
  width: auto;
}

.section {
  padding: 94px 0;
  scroll-margin-top: 92px;
}

.section--split,
.briefing {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.section__intro p,
.feature-card p,
.timeline__item p,
.work-grid p,
.briefing-panel p,
.briefing-summary p,
.dsrv-card p,
.orbit-panel__copy p,
.video-card__meta p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

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

.feature-card,
.work-grid article,
.timeline__item {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    var(--panel);
}

.feature-card__index,
.timeline__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border: 1px solid rgba(247, 247, 247, .34);
  border-radius: 50%;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
}

.briefing-console,
.dsrv-console {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018)),
    rgba(5, 5, 5, .86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.briefing-tabs,
.dsrv-steps {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.briefing-tab,
.choice,
.quality,
.dsrv-step {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
  white-space: nowrap;
}

.briefing-tab {
  padding: 8px 16px;
}

.choice,
.quality,
.dsrv-step {
  padding: 9px 14px;
}

.briefing-tab:hover,
.choice:hover,
.quality:hover,
.dsrv-step:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .38);
  transform: translateY(-1px);
}

.briefing-tab.is-active,
.choice.is-active,
.quality.is-active,
.dsrv-step.is-active {
  border-color: rgba(255, 0, 72, .68);
  color: var(--text);
  background:
    radial-gradient(circle at 25% 18%, rgba(255, 255, 255, .28), transparent 18px),
    linear-gradient(135deg, rgba(128, 0, 8, .84), rgba(240, 20, 33, .46));
}

.briefing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 14px;
  padding: 14px;
}

.briefing-panels {
  min-height: 345px;
}

.briefing-panel {
  display: none;
  min-height: 345px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(2, 2, 2, .68);
}

.briefing-panel.is-active {
  display: block;
}

.choice-grid,
.check-grid,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #dededc;
  background: rgba(255, 255, 255, .045);
}

.check-grid input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.range-field {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
}

.range-field input {
  width: 100%;
  accent-color: var(--red);
}

.range-field strong {
  color: var(--text);
}

.briefing-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 345px;
  padding: 24px;
  border: 1px solid rgba(43, 231, 214, .28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(43, 231, 214, .16), transparent 30%),
    #060808;
}

.briefing-summary > span,
.video-card__meta span {
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.briefing-summary strong {
  font-size: 4.3rem;
  line-height: .9;
}

.orbit-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .76fr) minmax(0, 1.24fr);
  gap: 42px;
  overflow: hidden;
  padding: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(43, 231, 214, .13), transparent 33%),
    radial-gradient(circle at 100% 50%, rgba(240, 20, 33, .18), transparent 31%),
    #070707;
}

.orbit-panel::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  aspect-ratio: 1;
  content: "";
  border: 3px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dsrv-console {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.dsrv-steps {
  flex-wrap: wrap;
}

.dsrv-card {
  min-height: 292px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(240, 20, 33, .15), transparent 38%),
    rgba(2, 2, 2, .62);
}

.dsrv-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 32px;
  border: 1px solid rgba(247, 247, 247, .34);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 800;
}

.dsrv-meter {
  overflow: hidden;
  height: 10px;
  margin-top: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.dsrv-meter i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--red-hot), #ff5d64);
  transition: width .28s ease;
}

.timeline__item {
  min-height: 230px;
  background: rgba(2, 2, 2, .72);
}

.studio-pipeline {
  --pipeline-x: 18%;
  --pipeline-y: 20%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 72px 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at var(--pipeline-x) var(--pipeline-y), rgba(43, 231, 214, .16), transparent 18rem),
    radial-gradient(circle at 7% 11%, rgba(43, 231, 214, .14), transparent 28rem),
    radial-gradient(circle at 94% 20%, rgba(240, 20, 33, .22), transparent 30rem),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018)),
    #050506;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 24px 70px rgba(0, 0, 0, .28);
}

.studio-pipeline::before {
  position: absolute;
  top: -210px;
  right: -140px;
  width: 560px;
  aspect-ratio: 1;
  content: "";
  border: 3px solid rgba(247, 247, 247, .14);
  border-radius: 50%;
  animation: pipelineOrbit 24s linear infinite;
}

.studio-pipeline::after {
  position: absolute;
  right: 46px;
  bottom: 36px;
  width: 84px;
  height: 84px;
  content: "";
  background: url("assets/icon-dsrv.svg") center / contain no-repeat;
  opacity: .22;
  filter: drop-shadow(0 0 20px rgba(43, 231, 214, .22));
}

.pipeline-head,
.pipeline-console {
  position: relative;
  z-index: 1;
}

.pipeline-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.pipeline-map__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid rgba(247, 247, 247, .16);
  border-radius: 999px;
  background: rgba(5, 5, 5, .58);
}

.pipeline-map__legend span {
  min-height: 32px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .045);
}

.pipeline-head .section__intro p:not(.eyebrow) {
  max-width: 720px;
}

.pipeline-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(2, 2, 2, .7);
}

.pipeline-console::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(43, 231, 214, .1), transparent),
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(255, 255, 255, .025) 19px 20px);
  opacity: .42;
  transform: translateX(-72%);
  animation: pipelineScan 7s ease-in-out infinite;
}

.pipeline-console > * {
  position: relative;
  z-index: 1;
}

.pipeline-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid rgba(247, 247, 247, .18);
  background: rgba(247, 247, 247, .12);
}

.pipeline-steps::after {
  position: absolute;
  right: 7%;
  bottom: 0;
  left: 7%;
  height: 2px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), rgba(247, 247, 247, .7), var(--red-hot));
  opacity: .38;
}

.pipeline-step {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: .92rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(5, 5, 5, .88);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.pipeline-step::before {
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 44%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .35), transparent);
  transform: skewX(-18deg);
  transition: left .38s ease;
}

.pipeline-step:hover::before,
.pipeline-step.is-active::before {
  left: 116%;
}

.pipeline-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(247, 247, 247, .24);
  border-radius: 50%;
  color: var(--cyan);
  font-size: .75rem;
}

.pipeline-step:hover,
.pipeline-step.is-active {
  color: var(--text);
  background:
    radial-gradient(circle at 30% 10%, rgba(255, 255, 255, .22), transparent 20px),
    linear-gradient(135deg, rgba(110, 0, 10, .94), rgba(240, 20, 33, .34)),
    rgba(5, 5, 5, .88);
  box-shadow: inset 0 -2px 0 rgba(43, 231, 214, .45);
}

.pipeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .38fr);
  gap: 16px;
  padding: 16px;
}

.pipeline-control {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1fr);
  gap: 16px;
}

.pipeline-stage-card,
.pipeline-options,
.pipeline-summary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 8px;
  background: rgba(2, 2, 2, .68);
}

.pipeline-stage-card::after,
.pipeline-options::after,
.pipeline-summary::after {
  position: absolute;
  inset: auto 16px 14px;
  height: 36px;
  content: "";
  pointer-events: none;
  opacity: .16;
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .8), rgba(240, 20, 33, .78)) bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(43, 231, 214, .72) 13px 15px, transparent 16px 26px, rgba(240, 20, 33, .66) 27px 30px, transparent 31px 46px);
  mask-image: linear-gradient(to top, black, transparent);
  animation: pipelineBars 2.6s ease-in-out infinite alternate;
}

.pipeline-step.is-active span {
  animation: signalPulse 1.6s ease-in-out infinite;
}

.pipeline-stage-card {
  min-height: 100%;
  padding: 24px;
}

.pipeline-answer-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.pipeline-answer-grid section {
  padding: 15px;
  border: 1px solid rgba(247, 247, 247, .11);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}

.pipeline-answer-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-answer-grid p {
  margin-bottom: 0;
}

.pipeline-stage-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border: 1px solid rgba(247, 247, 247, .34);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 900;
}

.pipeline-stage-card p:not(.eyebrow),
.pipeline-summary p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.66;
}

.pipeline-next {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(43, 231, 214, .18);
  border-radius: 8px;
  background: rgba(43, 231, 214, .045);
}

.pipeline-next span,
.pipeline-answer-grid span,
.pipeline-options__label,
.pipeline-summary > span,
.pipeline-signal dt {
  display: block;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pipeline-next strong {
  display: block;
  margin-top: 8px;
  line-height: 1.3;
}

.pipeline-options {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.pipeline-options .choice-grid,
.pipeline-options .check-grid,
.pipeline-options .quality-grid {
  margin: 10px 0 0;
}

.pipeline-summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at 84% 14%, rgba(43, 231, 214, .17), transparent 34%),
    radial-gradient(circle at 15% 90%, rgba(240, 20, 33, .12), transparent 32%),
    #060808;
}

.pipeline-summary strong {
  font-size: 4.45rem;
  line-height: .86;
}

.pipeline-meter {
  overflow: hidden;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.pipeline-meter i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--red-hot), #ff5d64, var(--cyan));
  background-size: 180% 100%;
  animation: meterFlow 2.8s linear infinite;
  transition: width .24s ease;
}

.pipeline-signal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.pipeline-signal div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.pipeline-signal dd {
  margin: 7px 0 0;
  font-weight: 900;
  line-height: 1.22;
  text-transform: uppercase;
}

.latest-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 92px;
  padding-bottom: 96px;
  border-top: 1px solid rgba(43, 231, 214, .18);
  border-bottom: 1px solid rgba(240, 20, 33, .12);
  background:
    radial-gradient(circle at 6% 0%, rgba(43, 231, 214, .12), transparent 27rem),
    radial-gradient(circle at 91% 3%, rgba(240, 20, 33, .14), transparent 31rem),
    linear-gradient(180deg, rgba(255, 255, 255, .026), rgba(255, 255, 255, .006) 42%, transparent);
}

.latest-content::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent);
}

.latest-content::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .38), rgba(240, 20, 33, .36), transparent);
}

.latest-content .section-head {
  align-items: flex-end;
  margin-bottom: 30px;
}

.latest-content .section__intro {
  max-width: 780px;
}

.latest-content .section__intro p:not(.eyebrow) {
  max-width: 590px;
}

.latest-feed {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  padding-top: 10px;
}

.latest-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  min-height: 100%;
  border: 1px solid rgba(247, 247, 247, .11);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 6%, rgba(43, 231, 214, .11), transparent 10rem),
    radial-gradient(circle at 100% 0%, rgba(240, 20, 33, .13), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, .066), rgba(255, 255, 255, .014)),
    rgba(7, 7, 8, .92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .30);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.latest-card > * {
  position: relative;
  z-index: 1;
}

.latest-card:first-child {
  grid-column: span 6;
}

.latest-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent, rgba(43, 231, 214, .13), transparent),
    linear-gradient(180deg, transparent 60%, rgba(43, 231, 214, .07));
  opacity: 0;
  transition: opacity .2s ease;
}

.latest-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 231, 214, .38);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .38), 0 0 24px rgba(43, 231, 214, .10);
}

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

.latest-card--anime {
  display: flex;
}

.latest-card--status,
.latest-card--update,
.latest-card--empty {
  justify-content: space-between;
  min-height: 312px;
  padding: 18px;
}

.latest-card__poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .14), transparent 36%),
    linear-gradient(45deg, rgba(240, 20, 33, .24), transparent 46%),
    #070708;
}

.latest-card--anime .latest-card__poster {
  aspect-ratio: 4 / 5;
}

.latest-card:first-child .latest-card__poster {
  aspect-ratio: 16 / 9;
}

.latest-card__poster--video {
  aspect-ratio: 16 / 9;
}

.latest-card__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .93;
  transform: scale(1.001);
  transition: opacity .22s ease, transform .22s ease;
}

.latest-card:hover .latest-card__poster img {
  opacity: 1;
  transform: scale(1.035);
}

.latest-card__poster::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 36%, rgba(5, 5, 5, .84)),
    linear-gradient(90deg, rgba(43, 231, 214, .10), transparent 44%, rgba(240, 20, 33, .16));
}

.latest-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(48px, 5vw, 62px);
  height: clamp(48px, 5vw, 62px);
  border: 1px solid rgba(247, 247, 247, .58);
  border-radius: 50%;
  background: rgba(5, 5, 5, .46);
  box-shadow: 0 0 28px rgba(0, 0, 0, .42);
  transform: translate(-50%, -50%);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.latest-card__play::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  content: "";
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--text);
}

.latest-card:hover .latest-card__play {
  border-color: rgba(43, 231, 214, .76);
  box-shadow: 0 0 30px rgba(43, 231, 214, .17), 0 0 26px rgba(240, 20, 33, .18);
  transform: translate(-50%, -50%) scale(1.05);
}

.latest-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
}

.latest-card__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
  margin-bottom: 14px;
}

.latest-card__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 32px;
  padding: 5px 10px 5px 5px;
  border: 1px solid rgba(43, 231, 214, .28);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(5, 5, 5, .56);
}

.latest-card__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 1px solid rgba(247, 247, 247, .15);
  border-radius: 50%;
  background: rgba(247, 247, 247, .07);
}

.latest-card__icon img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.latest-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.03rem, 1.15vw, 1.18rem);
  line-height: 1.15;
  text-transform: none;
}

.latest-card:first-child h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.82rem);
  line-height: 1.06;
}

.latest-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.latest-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin-top: auto;
  padding: 8px 13px;
  border: 1px solid rgba(247, 247, 247, .22);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 900;
  background: rgba(255, 255, 255, .055);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.latest-card__link::after {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.latest-card__link:hover,
.latest-card__link:focus-visible {
  border-color: rgba(43, 231, 214, .48);
  box-shadow: 0 0 24px rgba(43, 231, 214, .16);
  transform: translateY(-1px);
}

.latest-card__poster:focus-visible,
.latest-card__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.latest-card__meter {
  overflow: hidden;
  height: 8px;
  margin: 24px 0 16px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.latest-card__meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--cyan));
}

.latest-card__progress {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.latest-card__progress strong {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: .9;
}

.latest-card__progress span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-card time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .latest-card {
    grid-column: span 4;
  }

  .latest-card:first-child {
    grid-column: span 8;
  }
}

@media (max-width: 760px) {
  .latest-content {
    padding-top: 70px;
    padding-bottom: 74px;
  }

  .latest-content .section-head {
    align-items: flex-start;
  }

  .latest-feed {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }

  .latest-card,
.latest-card:first-child {
    grid-column: span 6;
  }

  .latest-card--status,
.latest-card--update,
.latest-card--empty {
    min-height: 260px;
  }

  .latest-card--anime .latest-card__poster,
.latest-card:first-child .latest-card__poster {
    aspect-ratio: 16 / 10;
  }

  .latest-card__kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .latest-card time {
    white-space: normal;
  }
}

.work {
  padding-top: 88px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head .section__intro {
  min-width: 0;
  max-width: 820px;
}

.section-head .section__intro p:not(.eyebrow) {
  max-width: 760px;
}

.section-head__button {
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

.section-head__button--compact {
  min-height: 48px;
  padding-inline: 20px;
}

.section-head__icon {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 0 18px rgba(240, 20, 33, .28));
}

.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.feed-filter {
  position: relative;
  overflow: hidden;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-weight: 900;
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.feed-filter:hover,
.feed-filter.is-active {
  color: var(--text);
  border-color: rgba(255, 0, 72, .55);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, .26), transparent 18px),
    linear-gradient(135deg, rgba(128, 0, 8, .78), rgba(240, 20, 33, .32));
  box-shadow: 0 0 22px rgba(240, 20, 33, .14);
}

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

.work-grid article {
  min-height: 170px;
}

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

.work-embed {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(43, 231, 214, .13), transparent 18rem),
    radial-gradient(circle at 92% 0%, rgba(240, 20, 33, .18), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    #070708;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 18px 48px rgba(0, 0, 0, .32);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.work-embed::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .58), transparent 15%, transparent 85%, rgba(240, 20, 33, .58)),
    linear-gradient(180deg, rgba(247, 247, 247, .5), transparent 18%, transparent 82%, rgba(247, 247, 247, .35));
  opacity: .15;
  mask:
    linear-gradient(#000 0 0) top / 100% 1px no-repeat,
    linear-gradient(#000 0 0) bottom / 100% 1px no-repeat,
    linear-gradient(#000 0 0) left / 1px 100% no-repeat,
    linear-gradient(#000 0 0) right / 1px 100% no-repeat;
}

.work-embed::after {
  position: absolute;
  inset: 9px;
  content: "";
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--cyan) 0 38px, transparent 38px calc(100% - 38px), var(--red-hot) calc(100% - 38px)) top / 100% 2px no-repeat,
    linear-gradient(90deg, var(--red-hot) 0 38px, transparent 38px calc(100% - 38px), var(--cyan) calc(100% - 38px)) bottom / 100% 2px no-repeat,
    linear-gradient(180deg, var(--cyan) 0 38px, transparent 38px calc(100% - 38px), var(--red-hot) calc(100% - 38px)) left / 2px 100% no-repeat,
    linear-gradient(180deg, var(--red-hot) 0 38px, transparent 38px calc(100% - 38px), var(--cyan) calc(100% - 38px)) right / 2px 100% no-repeat;
  opacity: .32;
  filter: drop-shadow(0 0 9px rgba(43, 231, 214, .18));
  transition: opacity .2s ease, filter .2s ease;
}

.work-embed:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 231, 214, .38);
  background:
    radial-gradient(circle at 14% 0%, rgba(43, 231, 214, .18), transparent 18rem),
    radial-gradient(circle at 92% 0%, rgba(240, 20, 33, .24), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, .088), rgba(255, 255, 255, .018)),
    #070708;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .38), 0 0 28px rgba(43, 231, 214, .12), 0 0 22px rgba(240, 20, 33, .1);
}

.work-embed:hover::after {
  opacity: .58;
  filter: drop-shadow(0 0 12px rgba(43, 231, 214, .26));
}

.work-embed__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 76% 18%, rgba(240, 20, 33, .2), transparent 30%),
    #050505;
  box-shadow: inset 0 0 0 1px rgba(247, 247, 247, .1);
}

.work-embed__frame::before {
  position: absolute;
  inset: 0 auto 0 -45%;
  z-index: 2;
  width: 36%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .22), rgba(247, 247, 247, .16), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  transition: left .48s ease, opacity .18s ease;
}

.work-embed:hover .work-embed__frame::before {
  left: 110%;
  opacity: 1;
}

.work-embed__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.work-embed__open {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--text);
  background: radial-gradient(circle at 50% 50%, rgba(5, 5, 5, .02), rgba(5, 5, 5, .16));
  cursor: pointer;
}

.work-embed__open span {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(62px, 7vw, 82px);
  height: clamp(62px, 7vw, 82px);
  border: 2px solid rgba(247, 247, 247, .68);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .28), transparent 22px),
    linear-gradient(135deg, rgba(240, 20, 33, .94), rgba(255, 0, 72, .76));
  box-shadow: 0 0 30px rgba(240, 20, 33, .32), 0 0 18px rgba(43, 231, 214, .13);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.work-embed__open span::before {
  width: 0;
  height: 0;
  margin-left: 6px;
  content: "";
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 23px solid #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .28));
}

.work-embed__open:hover span,
.work-embed__open:focus-visible span {
  transform: scale(1.08);
  border-color: rgba(43, 231, 214, .78);
  box-shadow: 0 0 34px rgba(240, 20, 33, .42), 0 0 22px rgba(43, 231, 214, .24);
}

.work-embed__open:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -8px;
}

.work-dialog {
  overflow: hidden;
  width: min(var(--work-dialog-width, calc(100vw - 80px)), calc(100vw - 20px));
  max-width: calc(100vw - 20px);
  max-height: calc(100svh - 20px);
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
}

@supports not (height: 100svh) {
  .work-dialog {
    max-height: calc(100vh - 20px);
  }
}

.work-dialog::backdrop {
  background:
    radial-gradient(circle at 76% 22%, rgba(240, 20, 33, .2), transparent 30rem),
    rgba(0, 0, 0, .82);
  backdrop-filter: blur(12px);
}

.work-dialog[open] {
  animation: work-dialog-enter .2s ease both;
}

.work-dialog[open]::backdrop {
  animation: work-backdrop-enter .2s ease both;
}

.work-dialog[open].is-closing {
  animation: work-dialog-exit .22s ease both;
}

.work-dialog[open].is-closing::backdrop {
  animation: work-backdrop-exit .22s ease both;
}

.work-dialog__panel {
  position: relative;
  overflow: hidden;
  padding: var(--work-dialog-pad, 14px);
  border: 1px solid rgba(247, 247, 247, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 12%, rgba(240, 20, 33, .22), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(43, 231, 214, .12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    #060607;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(43, 231, 214, .08);
}

.work-dialog__panel::before {
  position: absolute;
  inset: 10px;
  content: "";
  pointer-events: none;
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--cyan) 0 56px, transparent 56px calc(100% - 56px), var(--red-hot) calc(100% - 56px)) top / 100% 2px no-repeat,
    linear-gradient(90deg, var(--red-hot) 0 56px, transparent 56px calc(100% - 56px), var(--cyan) calc(100% - 56px)) bottom / 100% 2px no-repeat,
    linear-gradient(180deg, var(--cyan) 0 56px, transparent 56px calc(100% - 56px), var(--red-hot) calc(100% - 56px)) left / 2px 100% no-repeat,
    linear-gradient(180deg, var(--red-hot) 0 56px, transparent 56px calc(100% - 56px), var(--cyan) calc(100% - 56px)) right / 2px 100% no-repeat;
  opacity: .4;
}

.work-dialog__frame {
  position: relative;
  overflow: hidden;
  height: var(--work-dialog-frame-height, auto);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(247, 247, 247, .12);
}

.work-dialog__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes work-dialog-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.965);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes work-dialog-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(18px) scale(.96);
  }
}

@keyframes work-backdrop-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes work-backdrop-exit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.partners {
  padding-top: 72px;
}

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

.partner-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 16%, rgba(240, 20, 33, .17), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018)),
    var(--panel);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.partner-card::after {
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 320px;
  aspect-ratio: 1;
  content: "";
  border: 2px solid rgba(247, 247, 247, .11);
  border-radius: 50%;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 72, .44);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .36), 0 0 28px rgba(240, 20, 33, .14);
}

.partner-card__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border: 3px solid #f7f7f7;
  border-radius: 50%;
  background: #050505;
  box-shadow: 0 0 18px rgba(43, 231, 214, .16), 0 0 24px rgba(240, 20, 33, .12);
}

.partner-card__avatar::after {
  position: absolute;
  right: -8px;
  top: -8px;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--red-hot);
  clip-path: polygon(50% 0, 59% 36%, 100% 50%, 59% 64%, 50% 100%, 41% 64%, 0 50%, 41% 36%);
}

.partner-card__avatar img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.partner-card > span:not(.partner-card__avatar) {
  color: var(--cyan);
  font-size: .78rem;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
}

.partner-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.64;
}

.partner-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 38px;
  margin-top: auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 900;
  background: rgba(255, 255, 255, .05);
}

.footer {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 36px;
  min-height: 260px;
  padding: 72px 0 82px;
  border-top: 1px solid var(--line);
}

.footer__intro p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.66;
}

.footer h2 {
  margin-bottom: 18px;
  text-wrap: wrap;
}

.page-hero,
.archive-note,
.download-catalog,
.status-intro,
.status-board {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 38px;
  min-height: 520px;
  padding: 54px 0 70px;
}

.page-hero h1 {
  max-width: 10ch;
}

.page-hero--selection {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.page-hero--selection .selection-slogan {
  max-width: 820px;
  font-size: 4.65rem;
  line-height: .94;
}

.selection-slogan span {
  display: block;
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(247, 247, 247, .35), transparent);
}

.page-hero__sigil,
.selection-manifesto {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(240, 20, 33, .2), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018)),
    rgba(5, 5, 5, .82);
}

.page-hero__sigil {
  display: grid;
  place-items: center;
  min-height: 300px;
}

.page-hero__sigil img {
  position: relative;
  z-index: 1;
  width: 138px;
  height: 138px;
  filter: drop-shadow(0 0 30px rgba(43, 231, 214, .16));
}

.page-hero__sigil span {
  position: absolute;
  width: 240px;
  aspect-ratio: 1;
  border: 2px solid rgba(247, 247, 247, .22);
  border-radius: 50%;
}

.selection-manifesto {
  min-height: 300px;
  padding: 30px;
}

.selection-manifesto span,
.download-card__topline span,
.status-card__head span,
.status-card__stage span {
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.selection-manifesto strong {
  display: block;
  max-width: 8ch;
  margin: 18px 0;
  font-size: 2.6rem;
  line-height: .94;
  text-transform: uppercase;
}

.selection-manifesto p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.66;
}

.archive-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 58px 0 0;
}

.archive-note__item,
.download-card,
.status-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    var(--panel);
}

.archive-note__item {
  padding: 24px;
}

.archive-note__item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.archive-note__item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.66;
}

.download-catalog,
.status-board {
  display: grid;
  gap: 16px;
  padding: 34px 0 92px;
}

.download-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.download-card__body {
  min-width: 0;
}

.download-card:hover,
.status-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 231, 214, .36);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .32), 0 0 24px rgba(43, 231, 214, .08);
}

.download-card__icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(247, 247, 247, .34);
  border-radius: 50%;
  background: #050505;
}

.download-card__icon img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}

.download-card__topline,
.status-card__stage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.download-card__topline small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card p,
.status-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.66;
}

.download-card__meta,
.status-card__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

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

.download-card__meta div,
.status-card__meta div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.download-card__meta dt,
.status-card__meta dt {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card__meta dd,
.status-card__meta dd {
  margin: 7px 0 0;
  color: var(--text);
  line-height: 1.24;
  font-weight: 800;
}

.download-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(247, 247, 247, .24);
  border-radius: 999px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 900;
  background: rgba(255, 255, 255, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.status-card__link:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 214, .42);
  box-shadow: 0 0 22px rgba(43, 231, 214, .11);
}

.download-dialog {
  width: min(100% - 32px, 1120px);
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
}

.download-dialog::backdrop {
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(10px);
}

.download-dialog[open] {
  animation: dialog-enter .18s ease;
}

.download-dialog__panel {
  position: relative;
  overflow: visible;
  padding: 28px;
  border: 1px solid rgba(247, 247, 247, .2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 12%, rgba(240, 20, 33, .24), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(43, 231, 214, .12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    #060607;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(43, 231, 214, .08);
}

.download-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.download-dialog__close:hover {
  transform: rotate(90deg) scale(1.04);
  filter: drop-shadow(0 0 18px rgba(240, 20, 33, .35)) drop-shadow(0 0 16px rgba(43, 231, 214, .22));
}

.download-dialog__close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.modal-close img {
  display: block;
  width: 100%;
  height: 100%;
}

.download-dialog__head {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-right: 54px;
}

.download-dialog__head img {
  width: 78px;
  height: 78px;
  border: 2px solid rgba(247, 247, 247, .45);
  border-radius: 50%;
  background: #050505;
}

.download-dialog__head span {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.download-dialog__head h2 {
  max-width: 760px;
  margin-bottom: 8px;
  font-size: 2.08rem;
  line-height: 1;
}

.download-dialog__head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 800;
}

.download-dialog__grid {
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
  gap: 16px;
  margin: 22px 0;
}

.download-dialog__grid section {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.download-dialog__grid h3 {
  color: var(--cyan);
}

.download-dialog__grid ul,
.download-dialog__grid ol {
  margin: 0;
  padding-left: 22px;
  color: #dfdfdc;
  line-height: 1.48;
}

.download-dialog__grid li + li {
  margin-top: 7px;
}

.download-dialog__note {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

.download-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.button--disabled,
.button--disabled:hover {
  cursor: not-allowed;
  color: rgba(247, 247, 247, .58);
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
  transform: none;
}

.status-intro {
  padding-top: 68px;
}

.status-intro--hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding-top: 96px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(247, 247, 247, .18);
}

.status-intro--hero h1 {
  max-width: 900px;
}

.status-intro--hero .hero__lead {
  max-width: 760px;
}

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

.status-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.status-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.status-card__head img {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(247, 247, 247, .76);
  border-radius: 50%;
  object-fit: cover;
}

.status-card__head h3 {
  margin-bottom: 0;
}

.status-card__stage strong {
  color: var(--text);
  font-size: .9rem;
  text-transform: uppercase;
}

.status-card__bar {
  overflow: hidden;
  height: 10px;
  margin: 22px 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.status-card__bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--red-hot), #ff5d64);
}

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

.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .018)),
    rgba(5, 5, 5, .76);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 231, 214, .4);
  box-shadow: 0 0 28px rgba(43, 231, 214, .09);
}

.contact-card img {
  width: 52px;
  height: 52px;
  grid-row: 1 / span 2;
}

.contact-card span,
.contact-card strong {
  display: block;
  grid-column: 2;
  min-width: 0;
}

.contact-card span {
  color: var(--cyan);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  margin-top: 5px;
  font-size: .96rem;
  line-height: 1.24;
  overflow-wrap: break-word;
  word-break: normal;
}

.contact-card__email {
  font-size: clamp(.78rem, 1.04vw, .94rem);
  line-height: 1.18;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .flight-video {
    display: none;
  }
}

@keyframes backgroundSignalDrift {
  0% {
    background-position: 0% 48%, 0 0, 0 0;
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  50% {
    background-position: 62% 52%, 80px 0, 0 48px;
    transform: translate3d(1%, 0, 0) scale(1.02);
  }

  100% {
    background-position: 100% 50%, 160px 0, 0 96px;
    transform: translate3d(2%, 1%, 0) scale(1.03);
  }
}

@keyframes pipelineOrbit {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  to {
    transform: rotate(360deg) translate3d(0, 0, 0);
  }
}

@keyframes pipelineScan {
  0%,
  34% {
    transform: translateX(-72%);
    opacity: .18;
  }

  52% {
    opacity: .55;
  }

  100% {
    transform: translateX(72%);
    opacity: .22;
  }
}

@keyframes pipelineBars {
  from {
    opacity: .12;
    transform: translateY(4px);
  }

  to {
    opacity: .24;
    transform: translateY(0);
  }
}

@keyframes signalPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(43, 231, 214, 0);
  }

  50% {
    box-shadow: 0 0 20px rgba(43, 231, 214, .24), inset 0 0 12px rgba(240, 20, 33, .18);
  }
}

@keyframes meterFlow {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 180% 0;
  }
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) scale(1);
  }
}

@keyframes drawTrail {
  0% {
    stroke-dashoffset: 620;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  68% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: .72;
  }
}

@keyframes shipFlight {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes starIgnite {
  0%,
  54% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.3) rotate(0deg);
  }

  76% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.18) rotate(45deg);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(45deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero,
.section--split,
.briefing,
.orbit-panel {
    grid-template-columns: 1fr;
  }

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

  .pipeline-map__legend {
    flex-wrap: wrap;
  }

  .pipeline-layout,
.pipeline-control {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 4.25rem;
  }

  h1 {
    font-size: 4.9rem;
  }

  .page-hero--selection .selection-slogan {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero__lead {
    font-size: 1.36rem;
  }

  .hero__sigil {
    min-height: 430px;
  }

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

  .toggle-showcase {
    justify-content: flex-start;
  }

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

  .briefing-layout,
.video-rail,
.partner-rail,
.footer,
.page-hero,
.archive-note,
.status-board {
    grid-template-columns: 1fr;
  }

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

  .download-dialog__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
.hero,
.signal-strip,
.section,
.footer {
    width: min(100% - 24px, var(--max));
  }

  .brand__name {
    font-size: .92rem;
  }

  .header-action {
    padding-inline: 12px;
  }

  .nav a {
    padding-inline: 7px;
    font-size: .8rem;
    white-space: nowrap;
  }

  h1 {
    font-size: 3rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .page-hero--selection .selection-slogan {
    font-size: 2.12rem;
    line-height: .98;
  }

  h2 {
    font-size: 2.16rem;
  }

  .hero__lead {
    font-size: 1.12rem;
  }

  .signal-strip strong {
    font-size: 1.16rem;
  }

  .studio-pipeline {
    padding: 38px 16px;
  }

  .pipeline-head {
    gap: 18px;
  }

  .pipeline-steps {
    display: flex;
    overflow-x: auto;
  }

  .pipeline-step {
    flex: 0 0 126px;
  }

  .pipeline-layout {
    padding: 12px;
  }

  .pipeline-stage-card,
.pipeline-options,
.pipeline-summary {
    padding: 18px;
  }

  .pipeline-summary strong {
    font-size: 3.2rem;
  }

  .button {
    width: 100%;
  }

  .hero__sigil {
    min-height: 330px;
  }

  .hero__logo {
    width: min(76vw, 330px);
  }

  .flight-scene {
    width: min(78vw, 340px);
  }

  .feature-grid,
.work-grid,
.choice-grid,
.check-grid,
.quality-grid,
.contact-grid,
.download-card__meta,
.status-card__meta {
    grid-template-columns: 1fr;
  }

  .page-hero,
.download-catalog,
.archive-note,
.status-intro,
.status-board {
    width: min(100% - 24px, var(--max));
  }

  .page-hero {
    min-height: auto;
    padding-top: 46px;
  }

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

  .download-card__icon {
    width: 76px;
    height: 76px;
  }

  .download-card__icon img {
    width: 56px;
    height: 56px;
  }

  .download-dialog {
    width: min(100% - 20px, 1120px);
  }

  .download-dialog__panel {
    overflow: auto;
    max-height: calc(100vh - 28px);
    padding: 22px 16px;
  }

  .download-dialog__head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding-right: 52px;
  }

  .download-dialog__head img {
    width: 58px;
    height: 58px;
  }

  .download-dialog__head h2 {
    font-size: 1.48rem;
  }

  .download-dialog__close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .work-dialog {
    width: min(var(--work-dialog-width, calc(100vw - 20px)), calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
  }

  .work-dialog__panel {
    padding: var(--work-dialog-pad, 8px);
  }

  .latest-feed {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .latest-card {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .latest-card:first-child {
    grid-column: 1 / -1;
  }

  .latest-card--anime {
    display: flex;
  }

  .latest-card__body,
.latest-card--status,
.latest-card--update,
.latest-card--empty {
    padding: 14px;
  }

  .orbit-panel {
    padding: 36px 18px;
  }
}

/* UI polish lock: keep the real logo readable and prevent compressed controls. */
.site-header {
  min-height: 88px;
  align-items: center;
  width: min(100% - 32px, 1260px);
}

.brand {
  position: relative;
  flex: 0 0 auto;
  gap: 14px;
  box-sizing: border-box;
  min-height: 70px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30px 50%, rgba(240, 20, 33, .20), transparent 34px),
    linear-gradient(90deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
}

.brand__mark {
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  padding: 0;
  border-radius: 50%;
  object-fit: contain;
  image-rendering: auto;
  filter: none;
}

.brand__name {
  max-width: 14ch;
  overflow: visible;
}

.nav {
  flex: 0 1 auto;
  gap: 10px;
  padding-inline: 10px;
}

.nav a,
.header-action {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

.header-action {
  flex: 0 0 auto;
}

.partner-card {
  min-height: 430px;
  height: auto;
}

.partner-card p {
  overflow-wrap: break-word;
}

.partner-card a {
  margin-top: auto;
}

.partner-card::after {
  right: 18px;
  bottom: 18px;
  width: 220px;
}

.latest-card,
.latest-card__poster {
  box-sizing: border-box;
}

.latest-card h3,
.latest-card p {
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 150px;
    align-items: center;
    gap: 10px 12px;
  }

  .nav {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    width: auto;
    min-width: max-content;
    padding-inline: 15px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 152px;
  }

  .brand {
    min-height: 68px;
    max-width: calc(100% - 138px);
  }

  .brand__mark {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .brand__name {
    font-size: .9rem;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
    font-size: .82rem;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    min-width: max-content;
    padding-inline: 14px;
    font-size: .82rem;
  }
}

/* Latest feed rebuild: compact live panel, stable with one or many items. */
.latest-content {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: clamp(66px, 8vw, 96px) 0;
  border: 0;
  background: transparent;
}

.latest-content::before {
  content: none;
}

.latest-content::after {
  content: none;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.latest-copy {
  min-width: 0;
  padding-top: 10px;
}

.latest-copy h2 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: .94;
}

.latest-copy p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.latest-copy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.latest-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(247, 247, 247, .13);
  border-radius: 999px;
  color: rgba(247, 247, 247, .72);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .035);
}

.latest-live > span[aria-hidden="true"] {
  display: inline-flex;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(43, 231, 214, .72);
}

.latest-panel {
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .07), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .062), rgba(255, 255, 255, .014)),
    rgba(7, 7, 8, .82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

.latest-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.latest-card,
.latest-card:first-child {
  display: grid;
  grid-column: auto;
  grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
  gap: 14px;
  min-height: 132px;
  padding: 10px;
  border: 1px solid rgba(247, 247, 247, .10);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(43, 231, 214, .09), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .012)),
    rgba(5, 5, 6, .84);
  box-shadow: none;
}

.latest-card:first-child {
  grid-template-columns: minmax(176px, 248px) minmax(0, 1fr);
  min-height: 176px;
  border-color: rgba(43, 231, 214, .20);
  background:
    radial-gradient(circle at 9% 0%, rgba(43, 231, 214, .14), transparent 14rem),
    radial-gradient(circle at 95% 0%, rgba(240, 20, 33, .13), transparent 15rem),
    linear-gradient(145deg, rgba(255, 255, 255, .068), rgba(255, 255, 255, .014)),
    rgba(6, 6, 7, .9);
}

.latest-card:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 214, .34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .30), 0 0 20px rgba(43, 231, 214, .08);
}

.latest-card--status,
.latest-card--update,
.latest-card--empty {
  justify-content: stretch;
  min-height: 132px;
  padding: 10px;
}

.latest-card__poster,
.latest-card--anime .latest-card__poster,
.latest-card:first-child .latest-card__poster,
.latest-card__poster--video {
  align-self: stretch;
  min-height: 112px;
  aspect-ratio: auto;
  border-radius: 6px;
}

.latest-card:first-child .latest-card__poster {
  min-height: 156px;
}

.latest-card__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-card__signal {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 112px;
  border: 1px solid rgba(247, 247, 247, .10);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 32%, rgba(43, 231, 214, .18), transparent 4.8rem),
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
}

.latest-card__signal-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(247, 247, 247, .18);
  border-radius: 50%;
  background: rgba(5, 5, 5, .46);
}

.latest-card__signal-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.latest-card__signal--progress {
  align-content: center;
  gap: 4px;
  color: var(--text);
}

.latest-card__signal--progress strong {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: .92;
}

.latest-card__signal--progress span {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px 4px 5px 0;
}

.latest-card__kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 11px;
}

.latest-card__type {
  gap: 7px;
  min-height: 28px;
  padding: 4px 9px 4px 4px;
  font-size: .66rem;
}

.latest-card__icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
}

.latest-card__icon img {
  width: 12px;
  height: 12px;
}

.latest-card h3,
.latest-card:first-child h3 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: clamp(1.02rem, 1.35vw, 1.3rem);
  line-height: 1.12;
  text-transform: none;
}

.latest-card:first-child h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  line-height: 1.08;
}

.latest-card p {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
}

.latest-card__link {
  width: fit-content;
  min-height: 34px;
  margin-top: auto;
  padding: 8px 12px;
  font-size: .8rem;
}

.latest-card__meter {
  height: 7px;
  margin: auto 0 0;
}

.latest-card time {
  color: rgba(247, 247, 247, .64);
  font-size: .74rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .latest-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .latest-copy h2 {
    max-width: 100%;
  }

  .latest-copy p:not(.eyebrow) {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .latest-content {
    padding: 58px 0;
  }

  .latest-copy h2 {
    font-size: clamp(2.1rem, 12vw, 3.1rem);
  }

  .latest-copy__actions,
.latest-copy__actions .button,
.latest-live {
    width: 100%;
  }

  .latest-live {
    justify-content: center;
  }

  .latest-feed {
    padding: 8px;
  }

  .latest-card,
.latest-card:first-child {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px;
    min-height: 112px;
    padding: 8px;
  }

  .latest-card__poster,
.latest-card:first-child .latest-card__poster,
.latest-card__signal {
    min-height: 96px;
  }

  .latest-card__signal-icon {
    width: 48px;
    height: 48px;
  }

  .latest-card__signal-icon img {
    width: 26px;
    height: 26px;
  }

  .latest-card__kicker {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
  }

  .latest-card h3,
.latest-card:first-child h3 {
    font-size: 1rem;
    line-height: 1.12;
  }

  .latest-card p {
    font-size: .82rem;
    line-height: 1.42;
  }

  .latest-card__link {
    min-height: 32px;
    margin-top: 10px;
    padding: 7px 10px;
  }
}

/* Latest content lanes: anime icons + downloadable game banners. */
.latest-lane {
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, .10);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(43, 231, 214, .08), transparent 14rem),
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)),
    rgba(5, 5, 6, .82);
}

.latest-lane__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(247, 247, 247, .08);
}

.latest-lane__head span {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-lane__head small {
  color: rgba(247, 247, 247, .56);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-anime-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(74px, 1fr));
  gap: 10px;
  padding: 10px;
}

.latest-anime-icon {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 707 / 1000;
  min-height: 0;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .13), transparent 36%),
    linear-gradient(45deg, rgba(240, 20, 33, .18), transparent 48%),
    #070708;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.latest-anime-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .94;
  transition: opacity .18s ease, transform .18s ease;
}

.latest-anime-icon::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .08), transparent 38%, rgba(5, 5, 5, .78)),
    linear-gradient(90deg, rgba(43, 231, 214, .11), transparent 42%, rgba(240, 20, 33, .14));
}

.latest-anime-icon:hover,
.latest-anime-icon:focus-visible,
.latest-game-banner:hover,
.latest-game-banner:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 214, .42);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .32), 0 0 20px rgba(43, 231, 214, .09);
}

.latest-anime-icon:hover img,
.latest-anime-icon:focus-visible img {
  opacity: 1;
  transform: scale(1.035);
}

.latest-anime-icon:focus-visible,
.latest-game-banner:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.latest-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  padding: 6px 9px;
  border: 1px solid rgba(247, 247, 247, .17);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(5, 5, 5, .64);
}

.latest-anime-icon .latest-status {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
}

.latest-status--available,
.latest-status--download {
  border-color: rgba(43, 231, 214, .42);
  color: var(--cyan);
}

.latest-status--progress {
  border-color: rgba(247, 247, 247, .28);
  color: rgba(247, 247, 247, .86);
}

.latest-status--updated {
  border-color: rgba(240, 20, 33, .42);
  color: #ff8b92;
}

.latest-game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}

.latest-game-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(247, 247, 247, .11);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 12%, rgba(43, 231, 214, .12), transparent 7rem),
    radial-gradient(circle at 100% 0%, rgba(240, 20, 33, .12), transparent 8rem),
    linear-gradient(145deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .012)),
    rgba(5, 5, 6, .86);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.latest-game-banner__logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(247, 247, 247, .18);
  border-radius: 50%;
  background: rgba(5, 5, 5, .45);
}

.latest-game-banner__logo img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.latest-game-banner__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.latest-game-banner strong {
  display: block;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1vw, 1.05rem);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.latest-game-banner small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 180px;
  color: var(--muted);
  text-align: center;
}

.download-card.is-target {
  border-color: rgba(43, 231, 214, .58);
  box-shadow: 0 0 0 1px rgba(43, 231, 214, .18), 0 20px 52px rgba(0, 0, 0, .34), 0 0 32px rgba(43, 231, 214, .13);
}

@media (max-width: 900px) {
  .latest-anime-strip {
    grid-template-columns: repeat(4, minmax(82px, 1fr));
  }

  .latest-game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .latest-lane__head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
  }

  .latest-anime-strip {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .latest-anime-icon {
    flex: 0 0 96px;
  }

  .latest-game-banner {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 86px;
    padding: 10px;
  }

  .latest-game-banner__logo {
    width: 50px;
    height: 50px;
  }

  .latest-game-banner__logo img {
    width: 34px;
    height: 34px;
  }
}

/* Latest news menu alignment lock. */
.latest-copy h2 {
  max-width: 18ch;
  text-wrap: initial;
  line-height: .92;
}

.latest-copy h2 br {
  display: block;
}

.latest-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 330px);
  margin: 22px 0 22px;
}

.latest-menu__item,
.latest-live {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid rgba(247, 247, 247, .16);
  border-radius: 999px;
  color: rgba(247, 247, 247, .86);
  font-family: var(--font-display);
  font-size: clamp(.68rem, .78vw, .76rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .045);
  white-space: nowrap;
}

.latest-menu__item:hover,
.latest-menu__item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 214, .44);
  box-shadow: 0 0 24px rgba(43, 231, 214, .12);
}

.latest-menu__item:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.latest-menu__item > span[aria-hidden="true"] {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  line-height: 1;
}

.latest-menu__item > span:not([aria-hidden]),
.latest-live > span:not([aria-hidden]) {
  display: inline;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 0 1 auto;
  line-height: 1.05;
}

.latest-live {
  color: rgba(247, 247, 247, .68);
  background: rgba(255, 255, 255, .032);
}

.latest-live > span[aria-hidden="true"] {
  display: grid;
  place-items: center;
  width: 8px;
  height: 8px;
  flex-basis: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(43, 231, 214, .72);
}

.latest-copy .latest-menu + p {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .latest-menu {
    max-width: 330px;
  }

  .latest-live {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .latest-menu {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .latest-live {
    grid-column: auto;
  }
}

/* Typography QA lock. */
.button,
.feed-filter,
.latest-menu__item,
.latest-live,
.download-card h3,
.status-card__head h3,
.partner-card h3,
.anime-card h3,
.contact-card strong {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.hero h1 {
  width: auto;
  max-width: 100%;
  font-size: clamp(3.6rem, 7.2vw, 5.1rem);
  line-height: .88;
  letter-spacing: .008em;
  text-wrap: balance;
  white-space: normal;
}

@media (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(470px, 1fr);
    gap: clamp(52px, 5vw, 72px);
  }

  .hero__copy {
    padding-left: clamp(10px, 1vw, 18px);
    padding-right: clamp(14px, 1.3vw, 26px);
  }

  .hero h1 {
    max-width: none;
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.button,
.feed-filter,
.latest-menu__item,
.latest-live {
  min-width: 0;
  max-width: 100%;
  text-align: center;
  line-height: 1.12;
}

.button {
  white-space: normal;
}

.section-head__button {
  max-width: 100%;
}

.section__intro,
.footer__intro,
.page-hero > div:first-child,
.status-intro .section__intro {
  min-width: 0;
}

.contact-card strong,
.download-card h3,
.status-card__head h3 {
  text-wrap: balance;
}

.contact-card__email {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 640px) {
  h1,
.hero h1 {
    line-height: .98;
  }

  h2 {
    line-height: 1;
  }

  .hero__lead,
.page-hero p:not(.eyebrow),
.section__intro p:not(.eyebrow) {
    line-height: 1.5;
  }

  .section-head__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1100px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 150px;
    align-items: center;
    gap: 10px 12px;
  }

  .hero h1 {
    width: auto;
    max-width: 100%;
    font-size: clamp(3.2rem, 8.2vw, 4.4rem);
    white-space: normal;
    text-wrap: balance;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    width: auto;
    min-width: max-content;
    padding-inline: 15px;
  }

  .header-action {
    margin-left: auto;
  }

  .hero,
.footer,
.section--split,
.briefing,
.orbit-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .latest-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .latest-copy h2,
.latest-copy p:not(.eyebrow) {
    max-width: 620px;
  }

  .latest-copy h2 {
    max-width: 12ch;
  }

  .hero__sigil {
    min-height: 430px;
  }

  .flight-scene {
    width: min(76vw, 520px);
  }
}

@media (max-width: 640px) {
  .hero h1 {
    white-space: normal;
    text-wrap: balance;
  }
}

/* Production visual lock: one background system, stable desktop type and calmer nav. */
:root {
  --max: 1320px;
}

html {
  background: #020202;
}

body {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 6%, rgba(240, 20, 33, .18), transparent 34rem),
    radial-gradient(circle at 16% 18%, rgba(43, 231, 214, .11), transparent 30rem),
    radial-gradient(circle at 54% 58%, rgba(240, 20, 33, .055), transparent 36rem),
    linear-gradient(180deg, #050606 0%, #020202 42%, #060303 100%);
  background-attachment: fixed;
}

body::before {
  inset: 0;
  z-index: -3;
  opacity: .72;
  filter: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-position: center top;
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .42));
}

body::after {
  inset: 0;
  z-index: -2;
  opacity: .5;
  filter: none;
  background:
    radial-gradient(ellipse at 82% 16%, rgba(240, 20, 33, .22), transparent 38rem),
    radial-gradient(ellipse at 8% 46%, rgba(43, 231, 214, .12), transparent 30rem),
    linear-gradient(112deg, transparent 0 34%, rgba(43, 231, 214, .055) 42%, transparent 54% 64%, rgba(240, 20, 33, .07) 76%, transparent 88%);
  background-attachment: fixed;
  animation: none;
  transform: none;
}

.site-header {
  width: min(100% - 40px, 1360px);
  gap: clamp(18px, 2.2vw, 30px);
}

.nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 10px;
  max-width: 850px;
  padding: 8px 12px;
}

.nav a,
.header-action {
  min-height: 40px;
  padding: 10px 18px;
  line-height: 1;
}

.header-action {
  flex: 0 0 auto;
  min-width: 154px;
}

.hero {
  width: min(100% - 40px, 1320px);
}

@media (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(560px, .95fr) minmax(440px, 1.05fr);
    gap: clamp(40px, 4.4vw, 72px);
  }

  .hero__copy {
    min-width: 0;
    padding-inline: clamp(6px, .8vw, 14px) 0;
  }

  .hero h1 {
    width: max-content;
    max-width: 100%;
    font-size: clamp(3.35rem, 4.85vw, 4.75rem);
    line-height: .96;
    letter-spacing: 0;
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

@media (min-width: 1500px) {
  .hero h1 {
    font-size: clamp(4.35rem, 4.55vw, 5.2rem);
  }
}

.latest-content,
.section,
.footer {
  background-color: transparent;
}

.latest-layout {
  grid-template-columns: minmax(430px, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 72px);
}

.latest-copy {
  padding-top: 18px;
}

.latest-copy h2 {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 4.55vw, 4.45rem);
  line-height: .95;
  letter-spacing: 0;
  text-wrap: balance;
}

.latest-menu {
  width: min(100%, 390px);
  gap: 12px;
  margin: 24px 0;
}

.latest-menu__item,
.latest-live {
  min-height: 48px;
  padding-inline: 16px;
  font-size: .75rem;
}

.latest-panel {
  border-color: rgba(247, 247, 247, .15);
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .075), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012)),
    rgba(5, 5, 6, .78);
  backdrop-filter: blur(10px);
}

.latest-lane {
  border-color: rgba(247, 247, 247, .115);
}

.latest-anime-strip {
  grid-template-columns: repeat(6, minmax(78px, 1fr));
}

.latest-game-banner {
  min-height: 106px;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
}

.latest-game-banner__logo {
  width: 60px;
  height: 60px;
}

.latest-game-banner strong {
  font-size: clamp(.92rem, .95vw, 1.02rem);
  line-height: 1.08;
}

@media (max-width: 1320px) and (min-width: 1101px) {
  .site-header,
.hero,
.section,
.footer {
    width: min(100% - 36px, 1248px);
  }

  .hero {
    grid-template-columns: minmax(520px, .96fr) minmax(400px, 1.04fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 4.62vw, 4.18rem);
  }

  .nav {
    max-width: 790px;
    gap: 8px;
  }

  .nav a,
.header-action {
    padding-inline: 14px;
  }
}

@media (max-width: 1100px) {
  .site-header,
.hero,
.section,
.footer {
    width: min(100% - 32px, 1320px);
  }

  .nav {
    flex-basis: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 8.1vw, 4.25rem);
    line-height: .98;
  }

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

  .latest-copy h2 {
    max-width: min(100%, 620px);
    font-size: clamp(2.65rem, 8vw, 4rem);
  }

  .latest-menu {
    width: min(100%, 390px);
    max-width: none;
  }
}

@media (max-width: 640px) {
  body::before {
    background-size: 48px 48px;
  }

  .site-header,
.hero,
.section,
.footer {
    width: min(100% - 24px, 1320px);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13.4vw, 3.25rem);
  }

  .latest-copy h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12.4vw, 3.05rem);
  }
}

/* Unified premium glass header shared by the main pages and anime branch. */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 60;
  width: min(100% - 40px, 1320px);
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(190px, max-content);
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(247, 247, 247, .16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 50%, rgba(43, 231, 214, .10), transparent 15rem),
    radial-gradient(circle at 86% 28%, rgba(240, 20, 33, .14), transparent 14rem),
    linear-gradient(135deg, rgba(10, 12, 12, .82), rgba(5, 5, 6, .68));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .36),
    inset 0 0 0 1px rgba(43, 231, 214, .045);
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

.site-header .brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 58px;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background:
    radial-gradient(circle at 28px 50%, rgba(240, 20, 33, .18), transparent 34px),
    rgba(255, 255, 255, .045);
}

.site-header .brand__mark {
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  object-fit: contain;
  image-rendering: auto;
  filter: none;
}

.site-header .brand__name {
  max-width: 18ch;
  overflow: hidden;
  color: var(--text);
  font-size: .95rem;
  line-height: 1;
  text-overflow: ellipsis;
}

.site-header .nav {
  position: static;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  width: max-content;
  max-width: min(58vw, 850px);
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 999px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: rgba(5, 5, 5, .48);
  box-shadow: inset 0 0 0 1px rgba(43, 231, 214, .05);
  -webkit-overflow-scrolling: touch;
}

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

.site-header .nav a,
.site-header .header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 10px 18px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.site-header .header-action {
  justify-self: end;
  min-width: clamp(128px, 11vw, 174px);
}

.site-header .header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.site-header .header-actions .header-action,
.site-header .header-actions .language-switcher {
  flex: 0 0 auto;
  justify-self: auto;
}

.language-switcher {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 5px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 999px;
  background: rgba(5, 5, 5, .46);
  box-shadow: inset 0 0 0 1px rgba(43, 231, 214, .05);
}

.language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 247, 247, .62);
  font: inherit;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
}

.language-switcher span {
  width: 1px;
  height: 18px;
  background: rgba(247, 247, 247, .14);
}

.language-switcher button.is-active {
  color: var(--text);
  background: rgba(43, 231, 214, .14);
  box-shadow:
    inset 0 0 0 1px rgba(43, 231, 214, .42),
    0 0 18px rgba(43, 231, 214, .10);
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--text);
  outline: 0;
  box-shadow:
    inset 0 0 0 1px rgba(240, 20, 33, .34),
    0 0 16px rgba(240, 20, 33, .10);
}

@media (max-width: 1320px) and (min-width: 1101px) {
  .site-header {
    width: min(100% - 36px, 1248px);
    grid-template-columns: minmax(210px, 1fr) auto minmax(190px, max-content);
    gap: 14px;
  }

  .site-header .nav {
    max-width: min(59vw, 790px);
    gap: 8px;
  }

  .site-header .nav a,
.site-header .header-action {
    padding-inline: 14px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    top: 8px;
    width: min(100% - 32px, 1320px);
    min-height: 126px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px;
    border-radius: 28px;
  }

  .site-header .brand {
    max-width: min(100%, 430px);
  }

  .site-header .header-action {
    justify-self: end;
  }

  .site-header .header-actions {
    justify-self: end;
  }

  .site-header .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .site-header .nav a {
    min-width: max-content;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 24px, 1320px);
    min-height: auto;
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: 24px;
  }

  .site-header .brand {
    justify-self: stretch;
    min-height: 54px;
    max-width: none;
    padding-right: 12px;
  }

  .site-header .brand__mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .site-header .brand__name {
    max-width: none;
    font-size: .88rem;
  }

  .site-header .header-action {
    display: none;
  }

  .site-header .header-actions {
    justify-self: stretch;
    justify-content: center;
    width: 100%;
  }

  .site-header .language-switcher {
    justify-self: stretch;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .site-header .nav {
    grid-column: auto;
    padding: 6px;
  }

  .site-header .nav a {
    min-height: 36px;
    padding: 9px 14px;
    font-size: .8rem;
  }
}

/* Responsive pass: viewport-safe layout without changing the visual system. */
@media (min-width: 2200px) {
  :root {
    --content-max: var(--wide-max);
    --header-max: var(--wide-max);
  }
}

html {
  scroll-padding-top: var(--header-safe-offset);
  overflow-x: hidden;
}

body,
main,
header,
footer,
section,
.hero,
.hero__copy,
.latest-layout,
.latest-panel,
.download-card,
.status-card,
.footer,
.contact-card {
  min-width: 0;
}

.site-header,
.hero,
.section,
.footer,
.page-hero,
.archive-note,
.download-catalog,
.status-intro,
.status-board {
  width: min(100% - calc(var(--page-gutter) * 2), var(--content-max));
}

.site-header {
  width: min(100% - calc(var(--page-gutter) * 2), var(--header-max));
  top: clamp(6px, 1.2vw, 10px);
  grid-template-columns: minmax(176px, 1fr) minmax(0, auto) minmax(126px, 1fr);
  gap: clamp(10px, 1.8vw, 18px);
}

.site-header .brand,
.site-header .brand__name {
  min-width: 0;
}

.site-header .brand__name {
  line-height: 1.08;
  white-space: normal;
}

.site-header .nav {
  min-width: 0;
  max-width: min(52vw, 780px);
  overscroll-behavior-inline: contain;
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 18px), transparent);
}

.site-header .nav a,
.site-header .header-action {
  line-height: 1.05;
}

.site-header .header-action {
  min-width: clamp(118px, 10vw, 164px);
}

.hero {
  min-height: auto;
  padding-block: clamp(38px, 6vw, 88px);
}

@media (min-width: 1101px) {
  .hero {
    grid-template-columns: minmax(0, .96fr) minmax(380px, 1.04fr);
    gap: clamp(34px, 4vw, 64px);
  }

  .hero h1 {
    width: auto;
    max-width: min(100%, 13ch);
    font-size: 4.45rem;
    line-height: .96;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (min-width: 1500px) {
  .hero h1 {
    font-size: 5rem;
  }
}

.hero__sigil {
  min-height: clamp(300px, 34vw, 520px);
}

.hero__logo,
.flight-scene {
  max-width: 100%;
}

.latest-layout {
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 64px);
}

.latest-copy h2 {
  font-size: 4rem;
  line-height: .96;
}

.latest-menu {
  width: min(100%, 360px);
}

.latest-menu__item,
.latest-live {
  min-width: 0;
  white-space: normal;
}

.latest-anime-strip {
  overscroll-behavior-inline: contain;
  mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}

.download-card__meta {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.status-card__meta {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
}

.download-card__meta dd,
.status-card__meta dd,
.download-card h3,
.status-card__head h3,
.contact-card strong {
  overflow-wrap: anywhere;
}

.contact-card__email {
  white-space: normal;
  overflow-wrap: anywhere;
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.page-hero {
  min-height: clamp(360px, 44vw, 520px);
  padding-block: clamp(38px, 6vw, 70px);
}

.page-hero--selection .selection-slogan {
  font-size: 4.2rem;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) and (min-width: 1101px) {
  .hero h1 {
    font-size: 3.95rem;
  }

  .site-header .nav {
    max-width: min(50vw, 720px);
  }
}

@media (min-width: 1101px) and (max-height: 760px) {
  :root {
    --header-safe-offset: 108px;
  }

  .site-header {
    min-height: 68px;
    padding-block: 6px;
  }

  .site-header .brand {
    min-height: 52px;
  }

  .site-header .brand__mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .site-header .nav a,
.site-header .header-action {
    min-height: 36px;
    padding-block: 8px;
  }

  .hero {
    padding-block: 28px 44px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .hero__lead {
    font-size: 1.08rem;
  }

  .hero__sigil {
    min-height: 300px;
  }

  .flight-scene {
    width: min(42vw, 400px);
  }

  .latest-content {
    padding-block: 54px;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-safe-offset: 158px;
  }

  .site-header {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header .nav {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .hero,
.latest-layout,
.footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: 3.65rem;
    white-space: normal;
    text-wrap: balance;
  }

  .hero__sigil {
    min-height: 360px;
  }

  .latest-copy h2 {
    max-width: 620px;
    font-size: 3.45rem;
  }

  .latest-menu {
    width: min(100%, 390px);
  }

  .status-board {
    grid-template-columns: 1fr;
  }

  .download-card {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .download-card {
    grid-template-columns: 1fr;
  }

  .download-card__icon {
    width: 76px;
    height: 76px;
  }

  .download-card__icon img {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-safe-offset: 154px;
  }

  .site-header,
.hero,
.section,
.footer,
.page-hero,
.archive-note,
.download-catalog,
.status-intro,
.status-board {
    width: min(100% - calc(var(--page-gutter) * 2), var(--content-max));
  }

  .site-header {
    grid-template-columns: 1fr;
  }

  .site-header .nav {
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 12px), transparent);
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.7rem;
    line-height: 1;
  }

  .hero__sigil {
    min-height: 300px;
  }

  .latest-copy h2 {
    font-size: 2.65rem;
    line-height: 1;
  }

  .latest-menu {
    grid-template-columns: 1fr;
  }

  .page-hero--selection .selection-slogan {
    font-size: 2.35rem;
  }
}

@media (max-width: 420px) {
  :root {
    --page-gutter: 12px;
    --header-safe-offset: 148px;
  }

  .site-header .brand__mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .site-header .brand__name {
    font-size: .82rem;
  }

  .site-header .nav a {
    min-height: 34px;
    padding: 8px 11px;
    font-size: .76rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__sigil {
    min-height: 260px;
  }

  .latest-card,
.latest-card:first-child {
    grid-template-columns: 1fr;
  }

  .latest-card__poster,
.latest-card:first-child .latest-card__poster,
.latest-card__signal {
    min-height: 150px;
  }

  .download-card,
.status-card {
    padding: 18px;
  }
}

/* Header visibility hotfix: do not fade out the first/last nav labels. */
.site-header .nav {
  mask-image: none;
  -webkit-mask-image: none;
  scroll-padding-inline: 10px;
}

@media (min-width: 1181px) {
  .site-header {
    grid-template-columns: minmax(150px, .72fr) minmax(0, max-content) minmax(112px, .72fr);
    gap: clamp(8px, 1vw, 14px);
  }

  .site-header .brand__name {
    max-width: 12ch;
  }

  .site-header .nav {
    width: max-content;
    max-width: min(72vw, 980px);
    gap: 6px;
    padding: 6px;
  }

  .site-header .nav a {
    min-height: 38px;
    padding: 9px clamp(10px, .9vw, 14px);
    font-size: clamp(.78rem, .78vw, .88rem);
  }

  .site-header .header-action {
    min-width: 112px;
    min-height: 38px;
    padding-inline: 12px;
    font-size: .82rem;
  }
}

@media (max-width: 1180px) {
  .site-header .nav {
    padding-inline: 8px;
  }
}

/* Visual effects stabilization: lock decorative layers to section-local geometry. */
body {
  background-attachment: scroll;
}

body::before,
body::after {
  pointer-events: none;
  transform-origin: center center;
}

.hero {
  overflow: clip;
}

.hero__sigil {
  width: min(100%, var(--hero-sigil-size));
  height: auto;
  min-height: 0;
  justify-self: center;
  align-self: center;
  aspect-ratio: 1;
  overflow: visible;
  contain: layout;
  transform-origin: center center;
}

.hero__sigil::before,
.hero__orbit,
.flight-scene,
.flight-video-shell {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.hero__sigil::before {
  width: 86%;
  height: auto;
}

.hero__logo {
  width: 80%;
  height: auto;
  max-width: 416px;
  aspect-ratio: 1;
  object-fit: contain;
  transform-origin: center center;
  image-rendering: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .54));
}

.hero__sigil:hover .hero__logo {
  transform: none;
  filter: drop-shadow(0 22px 44px rgba(240, 20, 33, .34));
}

.hero__orbit {
  pointer-events: none;
  will-change: transform, opacity, border-color;
  transition: border-color .32s ease, opacity .32s ease, filter .32s ease;
}

.hero__orbit--outer {
  width: 92%;
  opacity: .62;
}

.hero__orbit--inner {
  width: 72%;
  opacity: .78;
}

.hero__sigil:hover .hero__orbit--outer {
  animation: orbitSpin 8s linear infinite;
  opacity: .68;
  border-color: rgba(255, 255, 255, .9);
  filter: drop-shadow(0 0 12px rgba(247, 247, 247, .12));
}

.hero__sigil:hover .hero__orbit--inner {
  animation: orbitSpin 6.2s linear infinite reverse;
  opacity: .82;
  border-color: rgba(43, 231, 214, .68);
  filter: drop-shadow(0 0 10px rgba(43, 231, 214, .16));
}

.flight-scene {
  width: 92%;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  contain: layout;
  transform-box: fill-box;
}

.flight-video-shell {
  position: absolute;
  z-index: 8;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0;
  mix-blend-mode: lighten;
  pointer-events: none;
  transition: opacity .22s ease;
}

.flight-video,
.flight-path {
  transform-origin: center center;
}

.flight-video {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
  clip-path: none;
  opacity: 1;
}

.hero__sigil.has-flight-video:hover .flight-video-shell {
  opacity: .9;
}

.hero__sigil.has-flight-video:hover .flight-video {
  opacity: 1;
}

.flight-path {
  overflow: visible;
}

.ship-runner {
  left: 22.3%;
  top: 81.5%;
  width: clamp(58px, 23.8%, 124px);
  height: auto;
  aspect-ratio: 148 / 62;
  offset-path: none;
  transform: translate(-50%, -50%) rotate(-33deg) scale(.78);
  transform-origin: center center;
}

.ship {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flight-star {
  left: 89.2%;
  top: 16.9%;
  width: clamp(18px, 7%, 36px);
  height: auto;
  aspect-ratio: 1;
  transform-origin: center center;
}

.spark {
  width: clamp(14px, 5.4%, 28px);
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  transform-origin: center center;
}

.spark--one {
  top: 18%;
  right: 17%;
}

.spark--two {
  bottom: 30%;
  left: 11%;
}

.spark--three {
  top: 57%;
  right: 7%;
}

.page-hero__sigil {
  min-height: clamp(220px, 24vw, 300px);
  contain: layout paint;
  overflow: clip;
}

.page-hero__sigil img {
  width: clamp(96px, 13vw, 138px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.page-hero__sigil span {
  width: clamp(170px, 23vw, 240px);
  max-width: 82%;
  transform-origin: center center;
  pointer-events: none;
}

@keyframes shipFlight {
  0% {
    left: 22.3%;
    top: 81.5%;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-33deg) scale(.72);
  }

  8% {
    opacity: 1;
  }

  36% {
    left: 60.8%;
    top: 61.2%;
    transform: translate(-50%, -50%) rotate(-12deg) scale(.9);
  }

  58% {
    left: 48.8%;
    top: 35%;
    transform: translate(-50%, -50%) rotate(-72deg) scale(.86);
  }

  82% {
    left: 74%;
    top: 29.6%;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(10deg) scale(.94);
  }

  100% {
    left: 89.2%;
    top: 16.9%;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-27deg) scale(.72);
  }
}

@media (min-width: 901px) and (min-height: 760px) {
  body {
    background-attachment: fixed;
  }
}

@media (max-height: 780px) and (min-width: 900px) {
  :root {
    --hero-sigil-size: clamp(300px, 29vw, 420px);
  }

  .hero {
    min-height: auto;
    padding-block: 24px 48px;
  }
}

@media (max-width: 980px) {
  :root {
    --hero-sigil-size: clamp(260px, 58vw, 420px);
  }
}

@media (max-width: 640px) {
  :root {
    --hero-sigil-size: clamp(230px, 76vw, 330px);
  }

  body::before {
    opacity: .5;
    background-size: 48px 48px;
  }

  body::after {
    opacity: .34;
    background-size: 150% 150%, 180px 100%, 100% 180px;
  }

  .hero {
    overflow: hidden;
  }

  .hero__sigil {
    contain: layout;
  }

  .flight-path__ghost {
    stroke-width: 1.5;
  }

  .flight-path__trail {
    stroke-width: 3.4;
  }
}

@media (max-width: 420px) {
  :root {
    --hero-sigil-size: clamp(220px, 74vw, 292px);
  }

  .spark--one {
    right: 12%;
  }

  .spark--three {
    right: 4%;
  }
}

@media (min-width: 2200px) {
  :root {
    --hero-sigil-size: clamp(430px, 18vw, 560px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
.hero__orbit--outer,
.hero__orbit--inner,
.flight-path__trail,
.ship-runner,
.flight-star {
    animation: none !important;
  }

  .hero__sigil:hover .flight-path__trail {
    stroke-dashoffset: 0;
    opacity: .55;
  }

  .hero__sigil:hover .ship-runner {
    left: 89.2%;
    top: 16.9%;
    opacity: .85;
    transform: translate(-50%, -50%) rotate(-27deg) scale(.72);
  }

  .hero__sigil:hover .flight-star {
    opacity: .9;
    transform: translate(-50%, -50%) scale(.86) rotate(45deg);
  }
}

/* Projects center */
.projects-board,
.project-detail-grid,
.project-updates,
.project-detail-loading {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.page-hero--projects h1,
.page-hero--project-detail h1 {
  max-width: 12ch;
}

.projects-board {
  padding: 26px 0 94px;
}

.projects-board__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.projects-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.projects-legend span,
.project-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 999px;
  color: var(--text);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .045);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 16px;
}

.project-card,
.project-panel,
.project-update,
.project-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .068), rgba(255, 255, 255, .018)),
    rgba(8, 8, 9, .88);
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px minmax(0, 1fr);
  min-height: 430px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 231, 214, .34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34), 0 0 24px rgba(43, 231, 214, .08);
}

.project-card__media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: 0;
  color: rgba(247, 247, 247, .84);
  background:
    radial-gradient(circle at 76% 18%, rgba(240, 20, 33, .22), transparent 32%),
    radial-gradient(circle at 20% 78%, rgba(43, 231, 214, .16), transparent 36%),
    #050505;
}

.project-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, .52));
}

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

.project-card__media span,
.project-detail__cover strong {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 5.4rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(43, 231, 214, .22);
}

.project-card__body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 20px;
}

.project-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card__meta span {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.project-card p,
.project-panel p,
.project-update p,
.project-empty span {
  color: var(--muted);
  line-height: 1.62;
}

.project-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.project-card__open {
  min-height: 38px;
  padding: 9px 14px;
}

.project-status--in_progress {
  border-color: rgba(43, 231, 214, .28);
  color: var(--cyan);
  background: rgba(43, 231, 214, .08);
}

.project-status--done {
  border-color: rgba(126, 255, 184, .28);
  color: #a7f4c1;
  background: rgba(126, 255, 184, .08);
}

.project-status--frozen {
  border-color: rgba(180, 190, 205, .24);
  color: #c8d1df;
  background: rgba(180, 190, 205, .07);
}

.project-status--recruiting {
  border-color: rgba(255, 0, 72, .28);
  color: #ff8aaa;
  background: rgba(255, 0, 72, .08);
}

.project-empty {
  grid-column: 1 / -1;
  padding: 28px;
}

.project-empty strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.22rem;
  text-transform: uppercase;
}

.project-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

.project-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.project-detail__cover img {
  width: min(76%, 220px);
  height: auto;
  max-height: 240px;
  border-radius: 8px;
  object-fit: cover;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 16px;
  padding: 18px 0 74px;
}

.project-panel {
  padding: 24px;
}

.project-panel > p:last-child {
  margin-bottom: 0;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.project-action-muted {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .035);
}

.project-participants {
  margin-top: 22px;
}

.project-participants strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: .78rem;
  text-transform: uppercase;
}

.project-participants div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-participants span {
  padding: 7px 10px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 999px;
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .045);
}

.project-updates {
  padding-bottom: 96px;
}

.project-updates__list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.project-update {
  padding: 18px;
}

.project-update time {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-update strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.project-update a {
  color: var(--cyan);
  font-weight: 900;
}

.project-detail-loading {
  padding: 140px 0 96px;
}

@media (max-width: 860px) {
  .projects-board__head,
.project-detail-grid {
    grid-template-columns: 1fr;
  }

  .projects-board__head {
    display: grid;
    align-items: start;
  }

  .projects-legend {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .project-card {
    grid-template-rows: 160px minmax(0, 1fr);
    min-height: 390px;
  }

  .project-card__footer,
.project-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .project-card__open,
.project-actions .button,
.project-action-muted {
    justify-content: center;
    width: 100%;
  }
}

/* Project catalog pass: compact catalog structure. */
.projects-library,
.project-detail-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.projects-library {
  padding: clamp(84px, 9vh, 110px) 0 clamp(56px, 7vw, 88px);
}

.projects-library__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.projects-library__head h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  letter-spacing: 0;
  line-height: 1;
}

.projects-library__head p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.projects-library__summary {
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(247, 247, 247, .13);
  border-radius: 999px;
  color: rgba(247, 247, 247, .72);
  font-size: .78rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .04);
}

.projects-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 320px);
  gap: 12px;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid rgba(247, 247, 247, .1);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 14%, rgba(43, 231, 214, .12), transparent 34%),
    radial-gradient(circle at 84% 88%, rgba(240, 20, 51, .12), transparent 34%),
    rgba(8, 8, 9, .64);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.projects-showcase__main {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 76% 24%, rgba(240, 20, 51, .2), transparent 38%),
    radial-gradient(circle at 24% 72%, rgba(43, 231, 214, .18), transparent 42%),
    rgba(10, 10, 14, .9);
}

.projects-showcase__featured {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  isolation: isolate;
}

.projects-showcase__media,
.projects-showcase__media picture,
.projects-showcase__media img,
.projects-showcase-preview__image picture,
.projects-showcase-preview__image img {
  width: 100%;
  height: 100%;
}

.projects-showcase__media {
  display: grid;
  place-items: center;
}

.projects-showcase__media picture,
.projects-showcase-preview__image picture {
  display: block;
}

.projects-showcase__media img,
.projects-showcase-preview__image img {
  object-fit: cover;
}

.projects-showcase__media span,
.projects-showcase-preview__image span {
  color: rgba(247, 247, 247, .72);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
}

.projects-showcase__featured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: inherit;
  pointer-events: none;
}

.projects-showcase__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .02) 32%, rgba(0, 0, 0, .54) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, transparent 58%);
  pointer-events: none;
}

.projects-showcase__caption {
  position: absolute;
  left: clamp(16px, 3vw, 34px);
  right: clamp(16px, 10vw, 260px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 2;
  display: grid;
  gap: 8px;
}

.projects-showcase__caption span {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(43, 231, 214, .26);
  border-radius: 999px;
  color: rgba(247, 247, 247, .82);
  font-size: .64rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(5, 10, 14, .62);
}

.projects-showcase__caption h2 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: .98;
  text-shadow: 0 8px 22px rgba(0, 0, 0, .5);
}

.projects-showcase__caption p {
  display: -webkit-box;
  max-width: 560px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(247, 247, 247, .74);
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  line-height: 1.4;
}

.projects-showcase__side {
  min-width: 0;
  display: grid;
  grid-auto-rows: max-content;
  align-content: start;
  gap: 10px;
}

.projects-showcase-preview {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(96px, 42%) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(247, 247, 247, .095);
  border-radius: 10px;
  padding: 7px;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, .04);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.projects-showcase-preview:hover,
.projects-showcase-preview:focus-visible {
  transform: translateX(-2px);
  border-color: rgba(43, 231, 214, .24);
  background: rgba(255, 255, 255, .065);
}

.projects-showcase-preview__image {
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: rgba(10, 10, 14, .9);
}

.projects-showcase__media picture,
.projects-showcase-preview__image picture,
.project-card__media picture,
.project-detail-hero__cover picture {
  position: relative;
  z-index: 1;
}

.project-image-fallback {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  padding: 6px 9px;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 999px;
  color: rgba(247, 247, 247, .58);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(5, 7, 10, .56);
}

.project-image-fallback--error {
  display: none;
}

.projects-showcase__media.is-missing > .project-image-fallback--error,
.projects-showcase-preview__image.is-missing > .project-image-fallback--error,
.project-card__media.is-missing > .project-image-fallback--error,
.project-detail-hero__cover.is-missing > .project-image-fallback--error {
  display: inline-flex;
}

.projects-showcase__media.is-missing,
.projects-showcase-preview__image.is-missing,
.project-card__media.is-missing,
.project-detail-hero__cover.is-missing {
  background:
    radial-gradient(circle at 76% 24%, rgba(240, 20, 51, .12), transparent 38%),
    radial-gradient(circle at 24% 72%, rgba(43, 231, 214, .1), transparent 42%),
    rgba(10, 10, 14, .9);
}

.projects-showcase-preview__image span {
  font-size: 1.8rem;
}

.projects-showcase__media .project-image-fallback,
.projects-showcase-preview__image .project-image-fallback,
.project-card__media .project-image-fallback {
  color: rgba(247, 247, 247, .58);
  font-family: var(--font-body);
  font-size: .72rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
}

.projects-showcase-preview__text {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.projects-showcase-preview__text small {
  overflow: hidden;
  color: rgba(247, 247, 247, .5);
  font-size: .6rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.projects-showcase-preview__text strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: rgba(247, 247, 247, .84);
  font-size: .84rem;
  line-height: 1.18;
}

.projects-showcase__nav {
  position: absolute;
  left: 24px;
  right: calc(332px + 24px);
  top: 50%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.projects-showcase__nav button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 999px;
  color: rgba(247, 247, 247, .78);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(6, 8, 10, .56);
  pointer-events: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.projects-showcase__nav button:hover,
.projects-showcase__nav button:focus-visible {
  transform: scale(1.04);
  color: var(--text);
  border-color: rgba(43, 231, 214, .24);
  background: rgba(43, 231, 214, .1);
}

.projects-showcase__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.projects-showcase__dots button {
  width: 26px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(247, 247, 247, .34);
  transition: width .18s ease, background .18s ease;
}

.projects-showcase__dots button.is-active {
  width: 38px;
  background: linear-gradient(90deg, rgba(43, 231, 214, .92), rgba(240, 20, 51, .9));
}

.projects-showcase.is-single {
  grid-template-columns: 1fr;
}

.projects-showcase.is-single .projects-showcase__side,
.projects-showcase.is-single .projects-showcase__nav,
.projects-showcase.is-single .projects-showcase__dots {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .projects-showcase-preview,
.projects-showcase__nav button,
.projects-showcase__dots button,
body.is-project-transitioning main,
.dsrvos-loader,
.dsrvos-loader__core,
.project-route-origin,
.project-slug-panel,
.project-slug-control,
.project-action {
    transition: none;
  }

  .dsrvos-loader__veil,
.dsrvos-loader__scan,
.dsrvos-loader__noise,
.dsrvos-loader__ripple,
.dsrvos-loader__edge,
.dsrvos-loader__artifact,
.dsrvos-loader__core,
.dsrvos-loader__mark,
.dsrvos-loader__mark::before,
.dsrvos-loader__mark::after,
.dsrvos-loader__bottom,
.dsrvos-loader__hud::after,
.dsrvos-loader__dots i,
.dsrvos-loader__bar::after,
.dsrvos-loader__bar i,
.dsrvos-loader__bar span,
.project-route-origin,
.project-slug-shell__system,
.project-slug-panel,
.project-slug-panel::after,
.project-slug-panel__frame::before,
.project-slug-panel__frame::after {
    animation: none;
  }

  body.is-project-transitioning main {
    transform: none;
    filter: none;
  }
}

/* Project tabs simplification: the library uses status tabs, not a filter matrix. */
.projects-status-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 26px;
  padding: 6px;
  border: 1px solid rgba(247, 247, 247, .1);
  border-radius: 12px;
  background: rgba(8, 8, 9, .58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.projects-status-tab {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: rgba(247, 247, 247, .66);
  font: inherit;
  font-size: .86rem;
  font-weight: 900;
  cursor: pointer;
  background: transparent;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.projects-status-tab:hover,
.projects-status-tab:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, .055);
}

.projects-status-tab.is-active {
  color: var(--text);
  border-color: rgba(43, 231, 214, .22);
  background: linear-gradient(135deg, rgba(43, 231, 214, .12), rgba(240, 20, 51, .08));
}

.projects-status-tab strong {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: rgba(247, 247, 247, .74);
  font-size: .72rem;
  background: rgba(255, 255, 255, .07);
}

.projects-sections {
  display: grid;
  gap: 34px;
}

.projects-section {
  display: grid;
  gap: 14px;
}

.projects-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(247, 247, 247, .08);
}

.projects-section__head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  letter-spacing: 0;
}

.projects-section__head > span {
  color: rgba(247, 247, 247, .5);
  font-size: .8rem;
  font-weight: 900;
}

.projects-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 244px), 1fr));
  gap: 14px;
}

.project-card {
  grid-template-rows: 132px minmax(0, 1fr);
  min-height: 0;
  border-radius: 8px;
}

.project-card__media {
  min-height: 0;
}

.project-card__media picture,
.project-detail-hero__cover picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card__media::after {
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .62));
}

.project-card__media .project-status {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 25px;
  padding: 5px 9px;
  font-family: var(--font-body);
  font-size: .68rem;
  text-shadow: none;
  text-transform: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.project-card__placeholder {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(43, 231, 214, .22);
}

.project-card__body {
  gap: 10px;
  padding: 14px;
}

.project-card__meta {
  gap: 7px;
}

.project-card__meta span {
  font-size: .66rem;
}

.project-card h3 {
  display: -webkit-box;
  min-height: 2.24em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.12;
}

.project-card h3 a {
  color: inherit;
  text-decoration: none;
}

.project-card p {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: .82rem;
  line-height: 1.4;
}

.project-card__work,
.project-detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-card__work span,
.project-detail__badges > span:not(.project-status) {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(247, 247, 247, .1);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(247, 247, 247, .62);
  font-size: .67rem;
  font-weight: 800;
  background: rgba(255, 255, 255, .035);
}

.project-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 8px;
}

.project-progress progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(247, 247, 247, .1);
}

.project-progress progress::-webkit-progress-bar {
  border-radius: 999px;
  background: rgba(247, 247, 247, .1);
}

.project-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 20, 51, .92), rgba(43, 231, 214, .88));
}

.project-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(240, 20, 51, .92), rgba(43, 231, 214, .88));
}

.project-progress strong {
  color: rgba(247, 247, 247, .58);
  font-size: .68rem;
}

.project-card__footer {
  justify-content: flex-start;
  margin-top: 0;
}

.project-card__open {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--text);
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, .045);
}

.project-card__open:hover,
.project-card__open:focus-visible {
  border-color: rgba(43, 231, 214, .28);
  background: rgba(43, 231, 214, .08);
}

.project-status--released,
.project-status--done {
  border-color: rgba(126, 255, 184, .28);
  color: #a7f4c1;
  background: rgba(126, 255, 184, .08);
}

.project-status--hidden {
  border-color: rgba(180, 190, 205, .16);
  color: rgba(247, 247, 247, .48);
  background: rgba(180, 190, 205, .05);
}

.project-detail-shell {
  padding: clamp(92px, 12vh, 124px) 0 20px;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
}

.project-detail-hero__cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(247, 247, 247, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 22%, rgba(240, 20, 51, .2), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(43, 231, 214, .18), transparent 38%),
    rgba(8, 8, 9, .9);
}

.project-detail-download-card {
  align-self: start;
}

.project-detail-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero__body h1 {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .98;
}

.project-detail-hero__body p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

body.is-project-transitioning {
  overflow-x: clip;
}

body.is-project-transitioning main {
  transform: translate3d(min(8vw, 150px), 0, 0) scale(.988);
  transition: transform .92s cubic-bezier(.18, .82, .22, 1), opacity .72s ease;
  opacity: .26;
  pointer-events: none;
  will-change: transform, opacity;
}

body:not(.is-dsrvos-loading) .site-header,
body.is-dsrvos-loading .site-header {
  transition: opacity .42s ease, transform .42s cubic-bezier(.2, .78, .2, 1);
}

body.is-dsrvos-loading .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-18px) scale(.985);
}

body.is-project-slug-boot .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px) scale(.988);
}

body[data-projects-page="detail"] {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 50% 0, rgba(43, 231, 214, .08), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(240, 20, 51, .08), transparent 32rem),
    #050507;
}

body[data-projects-page="detail"] .site-header {
  display: none;
}

.dsrvos-loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(43, 231, 214, .15), transparent 28%),
    radial-gradient(circle at 58% 48%, rgba(240, 20, 51, .085), transparent 38%),
    linear-gradient(180deg, rgba(3, 5, 8, .96), rgba(3, 4, 7, .91)),
    rgba(4, 5, 8, .94);
  opacity: 0;
  transition: opacity .45s ease;
  contain: layout paint style;
  will-change: opacity;
}

.dsrvos-loader.is-active {
  opacity: 1;
}

.dsrvos-loader__veil,
.dsrvos-loader__scan,
.dsrvos-loader__noise,
.dsrvos-loader__ripple,
.dsrvos-loader__edge,
.dsrvos-loader__artifact {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dsrvos-loader__veil {
  background-image:
    linear-gradient(rgba(247, 247, 247, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 247, .014) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0 42%, transparent 76%);
  opacity: .42;
  animation: dsrvosGrid 3.8s linear infinite;
}

.dsrvos-loader__scan {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, transparent 0 42%, rgba(43, 231, 214, .065) 48%, rgba(240, 20, 51, .035) 50%, transparent 57% 100%);
  mix-blend-mode: screen;
  opacity: .3;
  animation: dsrvosScan 2.65s ease-in-out infinite;
}

.dsrvos-loader__noise {
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .055) 0 1px, transparent 1px),
    radial-gradient(circle at 78% 62%, rgba(43, 231, 214, .06) 0 1px, transparent 1px),
    radial-gradient(circle at 48% 80%, rgba(240, 20, 51, .045) 0 1px, transparent 1px);
  background-size: 17px 19px, 23px 29px, 31px 37px;
  opacity: .24;
  mix-blend-mode: screen;
  animation: dsrvosNoise 1.8s steps(2, end) infinite;
}

.dsrvos-loader__ripple {
  inset: -18% -10%;
  background:
    repeating-linear-gradient(180deg, transparent 0 26px, rgba(43, 231, 214, .035) 27px 28px, transparent 29px 52px),
    linear-gradient(90deg, transparent, rgba(43, 231, 214, .08), transparent 48%, rgba(240, 20, 51, .045), transparent);
  opacity: .42;
  transform: translateY(-4%);
  mask-image: radial-gradient(ellipse at 50% 51%, #000 0 48%, transparent 78%);
  animation: dsrvosRipple 4.8s ease-in-out infinite;
}

.dsrvos-loader__edge {
  top: 12vh;
  bottom: 12vh;
  width: 1px;
  opacity: .34;
  background: linear-gradient(180deg, transparent, rgba(43, 231, 214, .44), rgba(247, 247, 247, .08), rgba(240, 20, 51, .28), transparent);
  filter: drop-shadow(0 0 12px rgba(43, 231, 214, .22));
  animation: dsrvosEdgeInterference 3.2s steps(2, end) infinite;
}

.dsrvos-loader__edge--left {
  left: clamp(20px, 7vw, 108px);
}

.dsrvos-loader__edge--right {
  right: clamp(20px, 7vw, 108px);
  animation-delay: 1.18s;
}

.dsrvos-loader__artifact {
  width: min(42vw, 520px);
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .52), rgba(240, 20, 51, .28), transparent);
  filter: blur(.2px);
  animation: dsrvosArtifact 2.65s steps(1, end) infinite;
}

.dsrvos-loader__artifact--one {
  top: 38%;
  left: 50%;
  transform: translateX(-54%);
}

.dsrvos-loader__artifact--two {
  top: 54%;
  left: 50%;
  width: min(32vw, 420px);
  transform: translateX(-43%);
  animation-delay: 1.15s;
}

.project-route-origin {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px solid rgba(43, 231, 214, .28);
  color: rgba(247, 247, 247, .78);
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 50% 44%, rgba(43, 231, 214, .16), transparent 26%),
    radial-gradient(circle at 58% 52%, rgba(240, 20, 51, .1), transparent 32%),
    rgba(6, 9, 12, .78);
  box-shadow:
    inset 0 0 0 1px rgba(247, 247, 247, .06),
    0 0 60px rgba(43, 231, 214, .1);
  opacity: 0;
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.project-route-origin[hidden] {
  display: none;
}

.project-route-origin.is-active {
  opacity: .2;
}

.project-route-origin span {
  display: none;
  max-width: min(78vw, 780px);
  overflow-wrap: anywhere;
  font-size: clamp(1.3rem, 3.2vw, 3.2rem);
  line-height: 1;
}

.project-route-origin small {
  display: none;
  color: rgba(43, 231, 214, .68);
  font-size: .72rem;
  letter-spacing: .16em;
}

.project-card.is-route-opening,
.projects-showcase__featured.is-route-opening {
  z-index: 4;
  outline: 1px solid rgba(43, 231, 214, .56);
  box-shadow:
    0 0 0 1px rgba(43, 231, 214, .18),
    0 24px 70px rgba(0, 0, 0, .44),
    0 0 48px rgba(43, 231, 214, .18);
  transform: translateY(-2px) scale(1.012);
}

.dsrvos-loader__core {
  position: relative;
  width: min(100% - 40px, 960px);
  min-height: clamp(240px, 32vh, 380px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 1px solid rgba(43, 231, 214, .18);
  border-radius: 8px;
  padding: clamp(30px, 5vw, 54px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(43, 231, 214, .11), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)),
    rgba(7, 9, 13, .7);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, .54),
    0 0 80px rgba(43, 231, 214, .07),
    inset 0 0 0 1px rgba(255, 255, 255, .045);
  clip-path: polygon(0 14px, 14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px));
  transform: translate3d(0, 0, 0) scale(.965);
  opacity: 0;
  animation: dsrvosCoreIn .72s cubic-bezier(.2, .78, .2, 1) .08s forwards;
  transition: transform .48s cubic-bezier(.2, .78, .2, 1), opacity .48s ease;
}

.dsrvos-loader.is-resolving .dsrvos-loader__core {
  animation: none;
  transform: translate3d(0, 0, 0) scaleX(1.08) scaleY(.95);
  opacity: .78;
}

.dsrvos-loader.is-resolving .dsrvos-loader__core::before {
  opacity: .95;
}

.dsrvos-loader.is-resolving .dsrvos-loader__mark {
  opacity: 1;
}

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

.dsrvos-loader__core::before {
  inset: 18px;
  border-top: 1px solid rgba(43, 231, 214, .25);
  border-bottom: 1px solid rgba(240, 20, 51, .14);
  opacity: .65;
  animation: dsrvosLinePulse 2.4s ease-in-out infinite;
}

.dsrvos-loader__core::after {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(43, 231, 214, .11) 12% 12.4%, transparent 12.4% 87.6%, rgba(240, 20, 51, .09) 87.6% 88%, transparent 88%),
    radial-gradient(circle at 50% 50%, transparent 0 46%, rgba(43, 231, 214, .08) 48%, transparent 58%);
  pointer-events: none;
  opacity: .55;
}

.dsrvos-loader__mark {
  position: relative;
  display: block;
  color: #2be7d6;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 8vw, 7.8rem);
  line-height: .82;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  text-shadow:
    0 0 22px rgba(43, 231, 214, .34),
    0 0 70px rgba(43, 231, 214, .18);
  animation: dsrvosMarkPulse 2.8s ease-in-out infinite;
}

.dsrvos-loader__mark::before,
.dsrvos-loader__mark::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.dsrvos-loader__mark::before {
  color: rgba(240, 20, 51, .72);
  transform: translateX(1px);
  animation: dsrvosMicroGlitch 2.9s steps(1, end) infinite;
}

.dsrvos-loader__mark::after {
  color: rgba(255, 255, 255, .5);
  transform: translateX(-1px);
  animation: dsrvosMicroGlitch 3.4s steps(1, end) infinite reverse;
}

.dsrvos-loader__core strong {
  color: rgba(247, 247, 247, .82);
  font-family: var(--font-display);
  font-size: clamp(.98rem, 1.5vw, 1.28rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dsrvos-loader__core small {
  color: rgba(247, 247, 247, .46);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.dsrvos-loader__bottom {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 6.6vh, 84px);
  width: min(100% - 48px, 760px);
  transform: translateX(-50%);
  color: rgba(247, 247, 247, .78);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: 0;
  animation: dsrvosBottomIn .62s cubic-bezier(.2, .78, .2, 1) .58s forwards;
  transition: opacity .42s ease, transform .42s cubic-bezier(.2, .78, .2, 1);
}

.dsrvos-loader.is-resolving .dsrvos-loader__bottom {
  animation: none;
  opacity: .42;
  transform: translateX(-50%) translateY(10px);
}

.dsrvos-loader__hud {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 231, 214, .18);
  border-radius: 8px;
  padding: 13px 15px 12px;
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .08), transparent 38%, rgba(240, 20, 51, .07)),
    rgba(5, 8, 12, .78);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, .42),
    inset 0 0 0 1px rgba(247, 247, 247, .035);
  clip-path: polygon(0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
}

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

.dsrvos-loader__hud::before {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(43, 231, 214, .16) 10% 10.3%, transparent 10.3% 89.7%, rgba(240, 20, 51, .13) 89.7% 90%, transparent 90%),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, .035) 24px 25px, transparent 25px 52px);
  opacity: .52;
}

.dsrvos-loader__hud::after {
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .18), transparent);
  transform: translateX(-130%) skewX(-16deg);
  animation: dsrvosHudSweep 2.9s ease-in-out .2s infinite;
}

.dsrvos-loader__hud-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(72px, .24fr) minmax(0, 1fr) minmax(120px, .36fr);
  gap: 14px;
  align-items: center;
  min-height: 30px;
}

.dsrvos-loader__phase,
.dsrvos-loader__sync,
.dsrvos-loader__hud-meta {
  color: rgba(247, 247, 247, .46);
  font-size: .66rem;
  line-height: 1;
}

.dsrvos-loader__phase {
  color: rgba(43, 231, 214, .82);
}

.dsrvos-loader__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 11px;
  color: rgba(247, 247, 247, .86);
  font-size: clamp(.78rem, 1vw, .92rem);
  line-height: 1;
  letter-spacing: .12em;
}

.dsrvos-loader__sync {
  justify-self: end;
  color: rgba(240, 20, 51, .62);
}

.dsrvos-loader__hud-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 9px;
  letter-spacing: .12em;
}

.dsrvos-loader__hud-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsrvos-loader__dots {
  display: inline-flex;
  gap: 7px;
}

.dsrvos-loader__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2be7d6;
  box-shadow: 0 0 14px rgba(43, 231, 214, .45);
  animation: dsrvosDot 1.15s ease-in-out infinite;
}

.dsrvos-loader__dots i:nth-child(2) {
  animation-delay: .16s;
}

.dsrvos-loader__dots i:nth-child(3) {
  animation-delay: .32s;
  background: #f01433;
  box-shadow: 0 0 14px rgba(240, 20, 51, .38);
}

.dsrvos-loader__bar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(43, 231, 214, .26);
  border-radius: 0;
  background: rgba(247, 247, 247, .055);
  box-shadow: inset 0 0 14px rgba(0, 0, 0, .45);
  transform: translate3d(0, 0, 0);
  transition: filter .16s ease, transform .16s ease;
}

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

.dsrvos-loader__bar::before {
  background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(5, 8, 12, .72) 30px 34px);
  opacity: .78;
  z-index: 2;
}

.dsrvos-loader__bar::after {
  z-index: 4;
  opacity: 0;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(43, 231, 214, .7) 9% 12%, transparent 12% 38%, rgba(247, 247, 247, .55) 38% 39%, transparent 39% 66%, rgba(240, 20, 51, .62) 66% 69%, transparent 69%),
    repeating-linear-gradient(180deg, transparent 0 2px, rgba(255, 255, 255, .18) 2px 3px, transparent 3px 6px);
  mix-blend-mode: screen;
  transform: translateX(-2%) scaleX(.98);
}

.dsrvos-loader.is-bar-glitch .dsrvos-loader__bar {
  filter: drop-shadow(0 0 10px rgba(43, 231, 214, .24));
  transform: translate3d(0, -1px, 0) skewX(-1.2deg);
}

.dsrvos-loader.is-bar-glitch .dsrvos-loader__bar::after {
  opacity: .88;
  animation: dsrvosBarGlitch .18s steps(2, end) both;
}

.dsrvos-loader.is-bar-glitch .dsrvos-loader__status {
  color: rgba(247, 247, 247, .94);
  text-shadow:
    1px 0 rgba(43, 231, 214, .35),
    -1px 0 rgba(240, 20, 51, .26);
}

.dsrvos-loader__bar i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(.04);
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .95), rgba(43, 231, 214, .68) 66%, rgba(240, 20, 51, .82));
  box-shadow: 0 0 18px rgba(43, 231, 214, .28);
  animation: dsrvosProgress 3.08s cubic-bezier(.18, .72, .22, 1) forwards;
}

.dsrvos-loader__bar span {
  position: absolute;
  inset: -2px auto -2px 0;
  z-index: 3;
  width: 74px;
  background: linear-gradient(90deg, transparent, rgba(247, 247, 247, .7), transparent);
  filter: blur(.2px);
  opacity: .72;
  transform: translateX(-86px);
  animation: dsrvosProgressPulse 3.08s cubic-bezier(.18, .72, .22, 1) forwards;
}

.project-slug-shell {
  position: relative;
  isolation: isolate;
  width: min(100% - calc(var(--page-gutter) * 2), 1520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 4.5vh, 58px) 0 clamp(42px, 7vh, 84px);
}

.project-slug-shell__system {
  position: absolute;
  inset: clamp(58px, 8vh, 96px) 0 auto;
  z-index: -1;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(43, 231, 214, .16);
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  opacity: .22;
  transform: translateY(6px);
}

.project-slug-shell__system span {
  font-size: clamp(3.4rem, 10vw, 11rem);
  line-height: .8;
  letter-spacing: .04em;
  text-shadow: 0 0 62px rgba(43, 231, 214, .12);
}

.project-slug-shell__system small {
  color: rgba(247, 247, 247, .24);
  font-size: .72rem;
  letter-spacing: .18em;
}

body.is-project-slug-boot .project-slug-shell__system {
  animation: projectSystemGhost .52s cubic-bezier(.2, .78, .2, 1) both;
}

.project-slug-controls {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}

.project-slug-control,
.project-action-modal__close {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid rgba(43, 231, 214, .24);
  border-radius: 8px;
  padding: 8px 12px;
  color: rgba(247, 247, 247, .8);
  font: inherit;
  font-family: var(--font-display);
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .09), rgba(247, 247, 247, .025)),
    rgba(4, 8, 11, .72);
  box-shadow: inset 0 0 0 1px rgba(247, 247, 247, .035);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.project-slug-control::before,
.project-action-modal__close::before {
  position: absolute;
  inset: 0 auto 0 -54%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .2), transparent);
  transform: skewX(-16deg);
  transition: left .36s ease;
}

.project-slug-control:hover,
.project-slug-control:focus-visible,
.project-action-modal__close:hover,
.project-action-modal__close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 214, .46);
  color: var(--text);
  background: rgba(43, 231, 214, .1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22), 0 0 18px rgba(43, 231, 214, .08);
}

.project-slug-control:hover::before,
.project-slug-control:focus-visible::before,
.project-action-modal__close:hover::before,
.project-action-modal__close:focus-visible::before {
  left: 118%;
}

.project-slug-control svg,
.project-action-modal__close svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 0 8px rgba(43, 231, 214, .22));
}

.project-slug-control span {
  position: relative;
  z-index: 1;
}

.project-slug-control--close {
  border-color: rgba(240, 20, 51, .24);
  background:
    linear-gradient(90deg, rgba(240, 20, 51, .08), rgba(247, 247, 247, .02)),
    rgba(8, 5, 7, .72);
}

.project-slug-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 247, 247, .13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 247, 247, .07), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(240, 20, 51, .12), transparent 30%),
    rgba(8, 9, 12, .88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
  opacity: 0;
  transform: translateY(20px) scale(.975);
  transform-origin: 50% 14%;
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
  transition:
    opacity .62s ease,
    transform .78s cubic-bezier(.2, .78, .2, 1);
  will-change: transform, opacity;
}

.project-slug-shell.is-ready .project-slug-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.is-project-slug-boot .project-slug-shell.is-ready .project-slug-panel {
  animation: projectPanelBoot .52s cubic-bezier(.2, .78, .2, 1) both;
}

.project-slug-panel::before,
.project-slug-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.project-slug-panel::before {
  z-index: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(247, 247, 247, .018) 29px 30px),
    linear-gradient(90deg, transparent 0 9%, rgba(43, 231, 214, .07) 9% 9.2%, transparent 9.2% 90.8%, rgba(240, 20, 51, .055) 90.8% 91%, transparent 91%);
  opacity: .68;
}

.project-slug-panel::after {
  z-index: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .11), transparent);
  transform: translateX(-120%) skewX(-14deg);
  animation: projectPanelSweep 5.8s ease-in-out 1.2s infinite;
}

.project-slug-panel__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(43, 231, 214, .1);
  pointer-events: none;
}

.project-slug-panel__frame::before,
.project-slug-panel__frame::after {
  position: absolute;
  width: min(34%, 320px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(43, 231, 214, .42), transparent);
  transform: scaleX(.54);
  transform-origin: left center;
  animation: projectFrameSignal 3.4s ease-in-out infinite;
}

.project-slug-panel__frame::before {
  top: -1px;
  left: 0;
}

.project-slug-panel__frame::after {
  right: 0;
  bottom: -1px;
  transform: scaleX(.54);
  transform-origin: right center;
  animation-delay: 1.1s;
}

.project-slug-panel__system-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 9px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(43, 231, 214, .11);
  color: rgba(247, 247, 247, .38);
  font-family: var(--font-display);
  font-size: .66rem;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(2, 5, 8, .34);
}

.project-slug-panel__system-strip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-slug-panel__system-strip span:nth-child(2) {
  justify-self: center;
  color: rgba(43, 231, 214, .58);
}

.project-slug-panel__system-strip span:nth-child(3) {
  justify-self: end;
  color: rgba(240, 20, 51, .5);
}

.project-slug-panel__header,
.project-slug-panel__hero,
.project-slug-panel__content {
  position: relative;
  z-index: 1;
}

.project-slug-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: clamp(18px, 3vw, 34px);
  border-bottom: 1px solid rgba(247, 247, 247, .1);
}

.project-slug-panel__header h1 {
  margin: 0;
  max-width: 980px;
  overflow-wrap: anywhere;
  font-size: clamp(2.1rem, 4vw, 4.85rem);
  line-height: .95;
}

.project-slug-panel__id {
  margin: 10px 0 0;
  color: rgba(247, 247, 247, .5);
  font-family: var(--font-display);
  font-size: .84rem;
  text-transform: uppercase;
}

.project-slug-panel__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.project-slug-panel__badges > span:first-child {
  border: 1px solid rgba(43, 231, 214, .25);
  border-radius: 999px;
  padding: 7px 10px;
  color: #9ff6ed;
  background: rgba(43, 231, 214, .08);
  font-family: var(--font-display);
  font-size: .74rem;
}

.project-slug-panel__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  gap: clamp(18px, 2.4vw, 34px);
  padding: clamp(18px, 3vw, 34px);
}

.project-slug-panel__banner {
  min-height: 0;
}

.project-slug-panel__banner.project-detail-hero__cover {
  width: 100%;
  max-width: none;
  min-height: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035), 0 24px 60px rgba(0, 0, 0, .28);
}

.project-video-player {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .09), rgba(240, 20, 51, .08)),
    rgba(2, 5, 8, .92);
}

.project-video-player__ambient {
  position: absolute;
  inset: -12%;
  z-index: -1;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(34px) saturate(1.14);
  opacity: .22;
  transform: scale(1.06);
  pointer-events: none;
}

.project-video-player__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.project-video-player__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(56px, 6vw, 82px);
  height: clamp(56px, 6vw, 82px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(43, 231, 214, .42);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 10, 12, .72);
  box-shadow: 0 0 28px rgba(43, 231, 214, .18), inset 0 0 0 1px rgba(255, 255, 255, .05);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, opacity .18s ease, background .18s ease;
}

.project-video-player__play svg {
  width: 42%;
  height: 42%;
  margin-left: 4%;
}

.project-video-player__play:hover,
.project-video-player__play:focus-visible {
  border-color: rgba(240, 20, 51, .52);
  background: rgba(20, 4, 8, .8);
  transform: translate(-50%, -50%) scale(1.04);
}

.project-video-player__meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(247, 247, 247, .78);
  font-family: var(--font-display);
  font-size: clamp(.66rem, .8vw, .78rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  pointer-events: none;
}

.project-video-player.is-playing .project-video-player__play,
.project-video-player.is-loading .project-video-player__play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
  pointer-events: none;
}

.project-video-player.is-error::after {
  position: absolute;
  inset: auto 14px 14px;
  content: attr(data-project-video-status);
  color: rgba(255, 208, 215, .88);
  font-family: var(--font-body);
  font-size: .82rem;
}

.project-slug-panel__stats {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.project-slug-panel__stats div {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(247, 247, 247, .1);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, .045);
}

.project-slug-panel__stats dt {
  color: rgba(247, 247, 247, .48);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.project-slug-panel__stats dd {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
}

.project-slug-actions {
  display: grid;
  gap: 10px;
}

.project-action {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(0, auto) minmax(72px, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(43, 231, 214, .22);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .09), rgba(255, 255, 255, .025)),
    rgba(4, 8, 11, .62);
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.18;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.project-action::before {
  position: absolute;
  inset: 0 auto 0 -42%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(43, 231, 214, .2), transparent);
  transform: skewX(-16deg);
  transition: left .42s ease;
}

.project-action:hover::before,
.project-action:focus-visible::before {
  left: 118%;
}

.project-action__label,
.project-action__meta {
  position: relative;
  z-index: 1;
}

.project-action__label {
  grid-column: 2;
  justify-self: center;
  min-width: 0;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.project-action__meta {
  grid-column: 3;
  justify-self: end;
  color: rgba(247, 247, 247, .38);
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-action:hover,
.project-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(43, 231, 214, .42);
  background: rgba(43, 231, 214, .13);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22), 0 0 18px rgba(43, 231, 214, .08);
}

.project-action--instructions {
  border-color: rgba(247, 247, 247, .16);
  background: rgba(247, 247, 247, .06);
}

.project-action--zbtAccess {
  border-color: rgba(240, 20, 51, .42);
  background:
    linear-gradient(90deg, rgba(240, 20, 51, .18), rgba(43, 231, 214, .045)),
    rgba(14, 6, 9, .76);
  box-shadow: inset 0 0 0 1px rgba(240, 20, 51, .08), 0 12px 30px rgba(0, 0, 0, .18);
}

.project-action--zbtAccess::before {
  background: linear-gradient(90deg, transparent, rgba(240, 20, 51, .32), transparent);
}

.project-action--zbtAccess .project-action__meta {
  color: rgba(255, 88, 112, .78);
}

.project-action--zbtAccess:hover,
.project-action--zbtAccess:focus-visible {
  border-color: rgba(240, 20, 51, .62);
  background:
    linear-gradient(90deg, rgba(240, 20, 51, .24), rgba(43, 231, 214, .06)),
    rgba(20, 6, 10, .84);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28), 0 0 22px rgba(240, 20, 51, .12);
}

.project-action--source {
  border-color: rgba(240, 20, 51, .24);
  background: rgba(240, 20, 51, .08);
}

.project-action--disabled,
.project-action:disabled {
  color: rgba(247, 247, 247, .34);
  border-color: rgba(247, 247, 247, .08);
  background: rgba(247, 247, 247, .035);
  cursor: not-allowed;
  transform: none;
}

.project-action--disabled .project-action__label,
.project-action:disabled .project-action__label {
  font-weight: 650;
}

.project-action--disabled::before,
.project-action:disabled::before {
  content: none;
}

.project-slug-panel__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(18px, 2.4vw, 34px);
  padding: 0 clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px);
}

.project-slug-panel__content section {
  min-width: 0;
  border: 1px solid rgba(247, 247, 247, .09);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 24px);
  background: rgba(255, 255, 255, .035);
}

.project-slug-block {
  align-self: start;
}

.project-slug-block .eyebrow {
  color: rgba(43, 231, 214, .72);
}

.project-slug-panel__content p,
.project-action-modal__content p,
.project-action-modal__content li {
  color: rgba(247, 247, 247, .72);
  line-height: 1.65;
}

.project-action-modal[hidden] {
  display: none;
}

.project-action-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 42px);
}

.project-action-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.project-action-modal__panel {
  position: relative;
  isolation: isolate;
  width: min(100%, 780px);
  max-height: min(760px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid rgba(43, 231, 214, .18);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background:
    radial-gradient(circle at 86% 18%, rgba(240, 20, 51, .12), transparent 30%),
    rgba(8, 10, 13, .96);
  box-shadow: 0 32px 90px rgba(0, 0, 0, .5);
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
}

.project-action-modal__panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    repeating-linear-gradient(180deg, transparent 0 24px, rgba(247, 247, 247, .018) 25px 26px),
    linear-gradient(90deg, rgba(43, 231, 214, .06), transparent 36%, rgba(240, 20, 51, .055));
  opacity: .72;
  pointer-events: none;
}

.project-action-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
}

.project-action-modal__panel h2 {
  margin: 0 42px 18px 0;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1;
}

.project-action-modal__content ul,
.project-action-modal__content ol {
  padding-left: 1.2rem;
}

.project-action-modal[data-project-action-key="zbtAccess"] .project-action-modal__panel {
  border-color: rgba(240, 20, 51, .3);
  background:
    radial-gradient(circle at 86% 18%, rgba(240, 20, 51, .18), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(43, 231, 214, .1), transparent 30%),
    rgba(8, 9, 12, .97);
}

.project-action-modal[data-project-action-key="zbtAccess"] .project-action-modal__panel::before {
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(240, 20, 51, .03) 19px 20px),
    linear-gradient(90deg, rgba(43, 231, 214, .055), transparent 42%, rgba(240, 20, 51, .09));
}

.project-zbt-console {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.project-zbt-console__signal {
  grid-column: 1 / -1;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-zbt-console__signal::before {
  content: "консоль доступа / закрытая бета";
  color: rgba(43, 231, 214, .82);
}

.project-zbt-console__signal span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(240, 20, 51, .76);
  box-shadow: 0 0 12px rgba(240, 20, 51, .32);
}

.project-zbt-console__signal span:first-child {
  background: rgba(43, 231, 214, .78);
  box-shadow: 0 0 12px rgba(43, 231, 214, .32);
}

.project-zbt-console__text {
  min-width: 0;
}

.project-zbt-console__boosty {
  overflow: hidden;
  border: 1px solid rgba(240, 20, 51, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035);
}

.project-zbt-console__boosty img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(0, 0, 0, .38);
}

.project-zbt-console__boosty div {
  padding: 12px;
}

.project-zbt-console__boosty strong,
.project-zbt-console__boosty span {
  display: block;
  font-family: var(--font-display);
}

.project-zbt-console__boosty strong {
  margin-bottom: 4px;
  color: var(--text);
}

.project-zbt-console__boosty span {
  color: rgba(247, 247, 247, .78);
  font-size: .84rem;
}

.project-zbt-console__boosty p {
  margin: 8px 0 0;
  font-size: .88rem;
}

.project-zbt-console__links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-zbt-console__links a {
  border: 1px solid rgba(43, 231, 214, .22);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--text);
  background: rgba(43, 231, 214, .07);
  font-family: var(--font-display);
  font-size: .82rem;
  text-decoration: none;
}

.project-zbt-console__links a:last-child {
  border-color: rgba(240, 20, 51, .32);
  background: rgba(240, 20, 51, .12);
}

.has-project-modal {
  overflow: hidden;
}

@keyframes dsrvosProgress {
  to {
    transform: scaleX(1);
  }
}

@keyframes dsrvosProgressPulse {
  0% {
    transform: translateX(-86px);
  }
  100% {
    transform: translateX(820px);
  }
}

@keyframes dsrvosBarGlitch {
  0% {
    clip-path: inset(0 0 58% 0);
    transform: translateX(-3%) scaleX(.98);
  }
  45% {
    clip-path: inset(42% 0 20% 0);
    transform: translateX(3%) scaleX(1.02);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translateX(0) scaleX(1);
  }
}

@keyframes dsrvosDot {
  0%, 100% {
    opacity: .35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes dsrvosGrid {
  to {
    background-position: 58px 58px;
  }
}

@keyframes dsrvosNoise {
  0%, 100% {
    transform: translate3d(0, 0, 0);
    opacity: .18;
  }
  50% {
    transform: translate3d(1px, -1px, 0);
    opacity: .28;
  }
}

@keyframes dsrvosRipple {
  0%, 100% {
    transform: translateY(-4%) scaleY(1);
    opacity: .28;
  }
  45% {
    transform: translateY(3%) scaleY(1.015);
    opacity: .48;
  }
  72% {
    transform: translateY(1%) scaleY(.992);
    opacity: .34;
  }
}

@keyframes dsrvosEdgeInterference {
  0%, 72%, 100% {
    opacity: .18;
    transform: translateX(0) scaleY(1);
  }
  73% {
    opacity: .48;
    transform: translateX(1px) scaleY(.96);
  }
  74% {
    opacity: .12;
    transform: translateX(-1px) scaleY(1.02);
  }
  88% {
    opacity: .38;
  }
  89% {
    opacity: .2;
  }
}

@keyframes dsrvosHudSweep {
  0%, 34% {
    transform: translateX(-130%) skewX(-16deg);
    opacity: 0;
  }
  48% {
    opacity: .78;
  }
  72%, 100% {
    transform: translateX(340%) skewX(-16deg);
    opacity: 0;
  }
}

@keyframes dsrvosCoreIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dsrvosBottomIn {
  to {
    opacity: 1;
  }
}

@keyframes projectSystemGhost {
  0% {
    opacity: .5;
    transform: translateY(28px) scale(.92);
  }
  56% {
    opacity: .3;
  }
  100% {
    opacity: .14;
    transform: translateY(0) scale(1.02);
  }
}

@keyframes projectPanelBoot {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(.94);
  }
  42% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes projectPanelSweep {
  0%, 58% {
    transform: translateX(-120%) skewX(-14deg);
    opacity: 0;
  }
  70% {
    opacity: .72;
  }
  100% {
    transform: translateX(300%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes projectFrameSignal {
  0%, 100% {
    opacity: .24;
    transform: scaleX(.54);
  }
  50% {
    opacity: .72;
    transform: scaleX(1);
  }
}

@keyframes dsrvosMarkPulse {
  0%, 100% {
    opacity: .96;
  }
  50% {
    opacity: 1;
  }
}

@keyframes dsrvosLinePulse {
  0%, 100% {
    opacity: .42;
  }
  50% {
    opacity: .78;
  }
}

@keyframes dsrvosMicroGlitch {
  0%, 88%, 100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
  89% {
    opacity: .42;
    clip-path: inset(18% 0 62% 0);
  }
  90% {
    opacity: 0;
  }
  96% {
    opacity: .26;
    clip-path: inset(64% 0 18% 0);
  }
  97% {
    opacity: 0;
  }
}

@keyframes dsrvosArtifact {
  0%, 72%, 100% {
    opacity: 0;
  }
  73% {
    opacity: .42;
  }
  74% {
    opacity: 0;
  }
  91% {
    opacity: .28;
  }
  92% {
    opacity: 0;
  }
}

@keyframes dsrvosScan {
  0%, 100% {
    transform: translateY(-1.8%);
    opacity: .18;
  }
  50% {
    transform: translateY(1.8%);
    opacity: .28;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-project-transitioning main,
.dsrvos-loader,
.dsrvos-loader__core,
.project-route-origin,
.project-slug-panel,
.project-slug-control,
.project-action {
    transition: none;
  }

  .dsrvos-loader__veil,
.dsrvos-loader__scan,
.dsrvos-loader__noise,
.dsrvos-loader__ripple,
.dsrvos-loader__edge,
.dsrvos-loader__artifact,
.dsrvos-loader__core,
.dsrvos-loader__mark,
.dsrvos-loader__mark::before,
.dsrvos-loader__mark::after,
.dsrvos-loader__bottom,
.dsrvos-loader__hud::after,
.dsrvos-loader__dots i,
.dsrvos-loader__bar::after,
.dsrvos-loader__bar i,
.dsrvos-loader__bar span,
.project-route-origin,
.project-slug-shell__system,
.project-slug-panel,
.project-slug-panel::after,
.project-slug-panel__frame::before,
.project-slug-panel__frame::after {
    animation: none;
  }

  body.is-project-transitioning main {
    transform: none;
    filter: none;
  }
}

@media (max-width: 860px) {
  .projects-library__head,
.project-detail-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .projects-library__summary {
    justify-self: start;
  }

  body.is-project-transitioning main {
    transform: translateX(34px);
  }

  .dsrvos-loader {
    top: 0;
  }

  .dsrvos-loader__bottom {
    width: min(100% - 28px, 620px);
  }

  .dsrvos-loader__hud-row,
.dsrvos-loader__hud-meta,
.project-slug-panel__system-strip {
    grid-template-columns: 1fr;
  }

  .project-zbt-console {
    grid-template-columns: 1fr;
  }

  .dsrvos-loader__phase,
.dsrvos-loader__sync,
.project-slug-panel__system-strip span,
.project-slug-panel__system-strip span:nth-child(2),
.project-slug-panel__system-strip span:nth-child(3) {
    justify-self: center;
    text-align: center;
  }

  .dsrvos-loader__hud-meta {
    display: none;
  }

  .project-slug-panel__header,
.project-slug-panel__hero,
.project-slug-panel__content {
    grid-template-columns: 1fr;
  }

  .project-slug-panel__badges {
    justify-content: flex-start;
  }

  .projects-status-tabs {
    gap: 6px;
  }

  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .projects-showcase__side {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .projects-showcase-preview {
    grid-template-columns: 1fr;
  }

  .projects-showcase-preview__text small {
    display: none;
  }

  .projects-showcase__nav {
    left: 24px;
    right: 24px;
  }
}

@media (max-width: 620px) {
  .projects-library,
.project-detail-shell,
.project-slug-shell {
    width: min(100% - 24px, var(--max));
  }

  .projects-library {
    padding-top: 82px;
  }

  .project-slug-shell {
    padding-top: 20px;
  }

  .project-slug-controls {
    justify-content: stretch;
  }

  .project-slug-control {
    flex: 1 1 0;
    min-width: 0;
  }

  .project-slug-panel__header,
.project-slug-panel__hero,
.project-slug-panel__content {
    padding-inline: 14px;
  }

  .project-slug-panel__header h1 {
    font-size: clamp(1.75rem, 12vw, 2.7rem);
  }

  .dsrvos-loader__core {
    width: min(100% - 24px, 760px);
    min-height: clamp(190px, 34vh, 260px);
    padding: 26px 18px;
  }

  .dsrvos-loader__mark {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .dsrvos-loader__hud {
    padding: 12px;
  }

  .dsrvos-loader__status {
    letter-spacing: .08em;
  }

  .project-action {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    text-align: center;
  }

  .project-action__label,
.project-action__meta {
    grid-column: 1;
    justify-self: center;
  }

  .project-action__meta {
    white-space: normal;
  }

  .project-action-modal {
    padding: 10px;
  }

  .project-action-modal__panel {
    max-height: calc(100vh - 20px);
  }

  .projects-showcase {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
    padding: 10px;
  }

  .projects-showcase__side {
    display: none;
  }

  .projects-showcase__caption {
    left: 14px;
    right: 14px;
    bottom: 18px;
    gap: 6px;
  }

  .projects-showcase__caption h2 {
    font-size: clamp(1.35rem, 8vw, 2.2rem);
  }

  .projects-showcase__caption p {
    -webkit-line-clamp: 1;
    font-size: .84rem;
  }

  .projects-showcase__nav {
    left: 16px;
    right: 16px;
  }

  .projects-showcase__nav button {
    width: 34px;
    height: 34px;
  }

  .projects-showcase__dots {
    bottom: 12px;
  }

  .projects-showcase__dots button {
    width: 20px;
  }

  .projects-status-tabs {
    margin-bottom: 20px;
    padding: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-status-tab {
    min-height: 40px;
    gap: 4px;
    padding: 0 4px;
    font-size: clamp(.7rem, 3vw, .78rem);
  }

  .projects-status-tab:nth-child(3) {
    grid-column: 1 / -1;
  }

  .projects-status-tab strong {
    min-width: 19px;
    height: 19px;
    font-size: .6rem;
  }

  .projects-status-tab strong {
    display: none;
  }

  .project-card {
    grid-template-rows: 118px minmax(0, 1fr);
  }

  .project-card__body {
    padding: 12px;
  }
}

/* Logo, project typography and interaction polish. */
.site-header {
  --brand-mark-size: 46px;
}

.brand__mark,
.site-header .brand__mark {
  display: block;
  width: var(--brand-mark-size);
  height: var(--brand-mark-size);
  flex: 0 0 var(--brand-mark-size);
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  transform: none;
  filter: none;
}

.hero__logo,
.page-hero__sigil img {
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  -webkit-user-drag: none;
}

.hero__logo {
  width: min(80%, 416px);
  height: auto;
  max-width: 416px;
}

.projects-library,
.project-detail-shell {
  width: min(100% - clamp(24px, 4vw, 48px), 1360px);
}

.projects-library {
  padding-top: clamp(42px, 5vh, 66px);
}

.projects-library__head {
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.projects-library__head .eyebrow,
.project-detail-hero__body .eyebrow {
  margin-bottom: 10px;
  font-size: clamp(.68rem, .72vw, .78rem);
  line-height: 1.1;
}

.projects-library__head h1,
.project-detail-hero__body h1 {
  max-width: 920px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 4.35vw, 4.5rem);
  line-height: .96;
  text-wrap: balance;
}

.projects-library__head p:not(.eyebrow),
.project-detail-hero__body p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(.95rem, 1.05vw, 1.08rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.projects-library__summary {
  min-height: 34px;
  align-self: center;
  font-size: .74rem;
  line-height: 1;
}

.projects-showcase {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.projects-showcase__caption {
  right: clamp(16px, 12vw, 320px);
}

.projects-showcase__caption span {
  font-size: clamp(.6rem, .68vw, .72rem);
  letter-spacing: .02em;
}

.projects-showcase__caption h2 {
  max-width: 760px;
  font-size: clamp(1.55rem, 3.55vw, 3.35rem);
  line-height: 1;
  text-wrap: balance;
}

.projects-showcase__caption p {
  max-width: 620px;
  font-size: clamp(.86rem, 1.15vw, 1.02rem);
  line-height: 1.42;
}

.projects-showcase-preview__text strong {
  font-size: clamp(.78rem, .8vw, .9rem);
  line-height: 1.22;
}

.projects-status-tabs {
  gap: 7px;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.projects-status-tab {
  min-height: 42px;
  font-size: clamp(.78rem, .9vw, .9rem);
  line-height: 1;
}

.projects-section__head {
  align-items: center;
}

.projects-section__head h2 {
  font-size: clamp(1.4rem, 2.1vw, 2.3rem);
  line-height: 1.06;
  text-wrap: balance;
}

.projects-section__head > span {
  font-size: .76rem;
}

.project-card h3 {
  min-height: 2.34em;
  font-size: clamp(1rem, 1.08vw, 1.18rem);
  line-height: 1.17;
  text-wrap: balance;
}

.project-card p {
  min-height: 2.9em;
  color: rgba(247, 247, 247, .64);
  font-size: clamp(.8rem, .82vw, .9rem);
  line-height: 1.45;
}

.project-card__meta span,
.project-card__work span,
.project-detail__badges > span:not(.project-status),
.project-status {
  line-height: 1;
  white-space: nowrap;
}

.project-card__work span,
.project-detail__badges > span:not(.project-status) {
  font-size: clamp(.64rem, .7vw, .72rem);
}

.project-detail-hero {
  align-items: center;
}

.project-detail-shell {
  padding-top: clamp(56px, 7vh, 88px);
}

.project-detail-hero__cover {
  max-width: 280px;
}

.no-select,
.site-header,
.site-header .brand,
.site-header .nav,
.site-header .nav a,
.site-header .header-action,
.button,
button,
.eyebrow,
.project-status,
.projects-status-tabs,
.projects-status-tab,
.projects-showcase,
.projects-showcase__featured,
.projects-showcase-preview,
.projects-showcase__nav,
.projects-showcase__dots,
.project-card,
.project-card__meta,
.project-card__work,
.project-card__footer,
.project-card__open,
.anime-embed__bar,
.anime-control-button,
.anime-progress,
.anime-quality,
.anime-settings-menu,
.anime-settings-panel,
.anime-settings-root,
.anime-settings-submenu,
.anime-player-next,
.anime-player-gesture {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.brand__mark,
.hero__logo,
.projects-showcase img,
.project-card img {
  -webkit-user-drag: none;
}

input,
textarea,
select,
option,
pre,
code,
kbd,
samp,
var,
[contenteditable="true"],
.allow-text-select,
.is-text-selectable,
.admin-field,
.allow-select,
.copyable {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -webkit-touch-callout: default;
}

@media (max-width: 1100px) {
  .site-header {
    --brand-mark-size: 44px;
  }

  .projects-library__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .projects-library__summary {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    --brand-mark-size: 40px;
  }

  .projects-library,
.project-detail-shell {
    width: min(100% - 24px, 1360px);
  }

  .projects-library {
    padding-top: 36px;
  }

  .projects-library__head h1,
.project-detail-hero__body h1 {
    font-size: clamp(1.85rem, 8.8vw, 2.55rem);
  }

  .projects-showcase__caption {
    right: 14px;
  }

  .projects-showcase__caption h2 {
    font-size: clamp(1.28rem, 7.4vw, 2.1rem);
  }

  .projects-showcase__caption p {
    max-width: 92%;
  }

  .projects-section__head {
    align-items: start;
  }

  .projects-section__head h2 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }
}

/* Home ecosystem rebuild: global routes, calmer first screen, operational hub. */
.site-header .nav a[aria-current="page"] {
  color: var(--text);
}

@media (min-width: 1181px) {
  .site-header .nav {
    max-width: min(74vw, 920px);
  }

  .site-header .nav a {
    padding-inline: 13px;
  }
}

.home-hero.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 690px;
  padding-block: 72px 76px;
  overflow: hidden;
}

.home-hero.hero::before {
  position: absolute;
  inset: 34px 0 28px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(247, 247, 247, .11);
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .10), transparent 1px) 0 0 / 68px 100%,
    radial-gradient(circle at 74% 38%, rgba(240, 20, 33, .16), transparent 26rem),
    radial-gradient(circle at 24% 8%, rgba(43, 231, 214, .10), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .008));
  box-shadow:
    inset 0 0 0 1px rgba(43, 231, 214, .045),
    0 30px 90px rgba(0, 0, 0, .28);
}

.home-hero.hero::after {
  right: 28px;
  bottom: 54px;
  left: 28px;
  opacity: .34;
}

.home-hero .hero__copy {
  max-width: 760px;
}

.home-hero h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: 5.15rem;
  line-height: .94;
}

.home-hero .hero__lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(247, 247, 247, .84);
  font-size: 1.32rem;
  line-height: 1.48;
}

.home-hero__brief {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-top: 22px;
}

.home-hero__brief span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(247, 247, 247, .13);
  border-radius: 999px;
  color: rgba(247, 247, 247, .76);
  font-size: .84rem;
  font-weight: 800;
  background: rgba(0, 0, 0, .22);
}

.home-hero > .hero__sigil {
  position: absolute;
  top: 44%;
  right: -16px;
  z-index: 1;
  width: 510px;
  opacity: .66;
  transform: translateY(-50%);
}

.home-hero > .hero__sigil::before {
  background:
    radial-gradient(circle, rgba(240, 20, 33, .24), transparent 18%),
    radial-gradient(circle, rgba(43, 231, 214, .12), transparent 42%),
    rgba(5, 5, 5, .72);
}

.ecosystem-routes {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 980px);
  margin-top: 54px;
}

.ecosystem-route {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 138px;
  padding: 16px;
  border: 1px solid rgba(247, 247, 247, .14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .070), rgba(255, 255, 255, .018)),
    rgba(4, 4, 5, .56);
  box-shadow: inset 0 0 0 1px rgba(43, 231, 214, .025);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ecosystem-route::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .52;
  background:
    linear-gradient(90deg, rgba(43, 231, 214, .18), transparent 1px) 0 0 / 46px 100%,
    radial-gradient(circle at 86% 18%, rgba(240, 20, 33, .14), transparent 7rem);
  pointer-events: none;
}

.ecosystem-route:hover,
.ecosystem-route:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(43, 231, 214, .38);
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .10), rgba(255, 255, 255, .030)),
    rgba(4, 4, 5, .70);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28), 0 0 26px rgba(43, 231, 214, .10);
}

.ecosystem-route span,
.ecosystem-route strong,
.ecosystem-route small {
  position: relative;
  z-index: 1;
}

.ecosystem-route span {
  width: max-content;
  color: var(--cyan);
  font-size: .72rem;
  font-family: var(--font-display);
  font-weight: 900;
}

.ecosystem-route strong {
  font-size: 1rem;
  font-family: var(--font-display);
  line-height: 1.08;
  text-transform: uppercase;
}

.ecosystem-route small {
  color: rgba(247, 247, 247, .66);
  font-size: .86rem;
  line-height: 1.45;
}

.home-ops.latest-content {
  padding-top: 82px;
}

.home-ops .latest-copy h2 {
  max-width: 12ch;
}

.home-ops .latest-menu {
  width: min(100%, 520px);
}

.home-ops .latest-menu__item {
  min-width: 132px;
}

.work .section__intro p:not(.eyebrow),
.projects-gateway__copy p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.66;
}

.projects-gateway {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .58fr);
  gap: 32px;
  align-items: center;
  padding-block: 76px;
}

.projects-gateway::before {
  position: absolute;
  inset: 12px 0;
  z-index: -1;
  content: "";
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 16%, rgba(43, 231, 214, .12), transparent 19rem),
    radial-gradient(circle at 86% 68%, rgba(240, 20, 33, .16), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .012));
}

.projects-gateway__copy {
  padding-left: min(36px, 4vw);
}

.projects-gateway__copy h2 {
  max-width: 13ch;
  font-size: 3.45rem;
}

.projects-gateway__matrix {
  display: grid;
  gap: 10px;
  padding-right: min(34px, 4vw);
}

.projects-gateway__matrix span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px 14px 46px;
  border: 1px solid rgba(247, 247, 247, .12);
  border-radius: 14px;
  color: rgba(247, 247, 247, .76);
  font-size: .82rem;
  font-family: var(--font-display);
  font-weight: 900;
  background: rgba(2, 2, 2, .44);
}

.projects-gateway__matrix span::before {
  position: absolute;
  left: 16px;
  width: 14px;
  height: 14px;
  content: "";
  border: 1px solid rgba(43, 231, 214, .58);
  box-shadow: 0 0 18px rgba(43, 231, 214, .12);
  transform: rotate(45deg);
}

@media (min-width: 1800px) {
  .home-hero.hero {
    min-height: 760px;
  }

  .home-hero h1 {
    font-size: 5.65rem;
  }

  .home-hero > .hero__sigil {
    right: 4%;
    width: 560px;
  }
}

@media (max-width: 1180px) {
  .home-hero.hero {
    min-height: auto;
    padding-block: 46px 58px;
  }

  .home-hero h1 {
    font-size: 4rem;
  }

  .home-hero > .hero__sigil {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    width: min(100%, 430px);
    margin: 18px auto 0;
    opacity: .78;
    transform: none;
  }

  .ecosystem-routes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 34px;
  }

  .projects-gateway {
    grid-template-columns: 1fr;
    padding-block: 58px;
  }

  .projects-gateway__copy,
.projects-gateway__matrix {
    padding-inline: 22px;
  }
}

@media (max-width: 640px) {
  .site-header .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  .site-header .nav a {
    min-width: 0;
    width: 100%;
    padding-inline: 6px;
  }

  .home-hero.hero {
    padding-block: 30px 48px;
  }

  .home-hero.hero::before {
    inset: 16px 0 20px;
    border-radius: 24px;
    background:
      radial-gradient(circle at 70% 22%, rgba(240, 20, 33, .14), transparent 16rem),
      radial-gradient(circle at 16% 0%, rgba(43, 231, 214, .10), transparent 15rem),
      linear-gradient(135deg, rgba(255, 255, 255, .046), rgba(255, 255, 255, .010));
  }

  .home-hero h1 {
    font-size: 2.7rem;
  }

  .home-hero .hero__lead {
    font-size: 1.04rem;
  }

  .home-hero .hero__actions .button {
    width: 100%;
  }

  .home-hero__brief {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ecosystem-routes {
    grid-template-columns: 1fr;
  }

  .ecosystem-route {
    min-height: 112px;
  }

  .projects-gateway__copy h2 {
    font-size: 2.35rem;
  }

  .projects-gateway__matrix {
    display: none;
  }
}

@media (max-width: 390px) {
  .site-header .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Home central page pass: strong brand page without architecture-map language. */
@media (min-width: 1181px) {
  .site-header {
    grid-template-columns: minmax(150px, .82fr) minmax(0, max-content) minmax(112px, .82fr);
  }

  .site-header .nav {
    max-width: min(58vw, 620px);
  }
}

.home-hero.hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(620px, 76vh, 820px);
  padding-block: clamp(60px, 8vw, 104px) clamp(54px, 7vw, 88px);
}

.home-hero.hero::before {
  inset: 32px 0 28px;
  border-radius: clamp(22px, 2.5vw, 34px);
  background:
    radial-gradient(circle at 72% 38%, rgba(240, 20, 33, .18), transparent 28rem),
    radial-gradient(circle at 18% 12%, rgba(43, 231, 214, .10), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, .046), rgba(255, 255, 255, .010));
}

.home-hero .hero__copy {
  z-index: 3;
  max-width: 790px;
}

.home-hero h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: .9;
}

.home-hero .hero__lead {
  max-width: 710px;
  color: rgba(247, 247, 247, .86);
  font-size: clamp(1.12rem, 1.8vw, 1.48rem);
  line-height: 1.44;
}

.home-hero > .hero__sigil {
  top: 45%;
  right: clamp(-72px, -3vw, -18px);
  z-index: 1;
  width: clamp(360px, 38vw, 590px);
  opacity: .48;
  pointer-events: auto;
}

.home-hero__brief {
  margin-top: 24px;
}

.home-hero__brief span {
  border-color: rgba(247, 247, 247, .14);
  color: rgba(247, 247, 247, .74);
}

.home-direction-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 900px);
  margin-top: clamp(34px, 5vw, 56px);
}

.home-direction {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(247, 247, 247, .13);
  border-radius: 16px;
  background: rgba(5, 5, 5, .48);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.home-direction::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .34;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 20, 33, .16), transparent 8rem),
    linear-gradient(90deg, rgba(43, 231, 214, .10), transparent 1px) 0 0 / 58px 100%;
  pointer-events: none;
}

.home-direction:hover,
.home-direction:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(43, 231, 214, .34);
  background: rgba(8, 9, 10, .66);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.home-direction strong,
.home-direction span {
  position: relative;
  z-index: 1;
}

.home-direction strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.home-direction span {
  color: rgba(247, 247, 247, .66);
  font-size: .88rem;
  line-height: 1.48;
}

.home-activity.latest-content {
  padding-block: clamp(58px, 8vw, 96px);
}

.home-activity .latest-layout {
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
}

.home-activity .latest-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 4.7vw, 4.1rem);
}

.home-activity .latest-copy p:not(.eyebrow) {
  max-width: 480px;
}

.home-activity .latest-menu {
  width: auto;
  margin-top: 22px;
}

.work .section__intro p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.66;
}


@media (min-width: 1800px) {
  .home-hero.hero {
    min-height: 780px;
  }

  .home-hero > .hero__sigil {
    right: 2%;
  }
}

@media (max-width: 1180px) {
  .home-hero.hero {
    min-height: auto;
    padding-block: 44px 60px;
  }

  .home-hero > .hero__sigil {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 420px);
    margin: 22px auto 0;
    opacity: .74;
    transform: none;
  }

  .home-direction-strip {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .home-activity .latest-layout {
    grid-template-columns: 1fr;
  }

  
}

@media (max-width: 640px) {
  .site-header .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero.hero::before {
    inset: 16px 0 20px;
    border-radius: 24px;
  }

  .home-direction {
    min-height: 104px;
  }

  
}

/* Index repair pass: sharp brand mark, clean hero split, no placeholder blocks. */
.site-header .brand {
  background:
    radial-gradient(circle at 31px 50%, rgba(240, 20, 33, .15), transparent 32px),
    linear-gradient(90deg, rgba(255, 255, 255, .060), rgba(255, 255, 255, .018));
}

.site-header .brand__mark,
.brand__mark {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  object-fit: contain;
  image-rendering: auto;
  filter: none;
  transform: translateZ(0);
}

.home-hero.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(330px, .64fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: clamp(560px, 72vh, 760px);
  overflow: clip;
}

.home-hero.hero::before {
  background:
    radial-gradient(circle at 76% 42%, rgba(240, 20, 33, .13), transparent 25rem),
    radial-gradient(circle at 18% 14%, rgba(43, 231, 214, .09), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, .044), rgba(255, 255, 255, .010));
}

.home-hero .hero__copy {
  grid-column: 1;
  max-width: 760px;
}

.home-hero h1 {
  font-size: clamp(3.5rem, 6vw, 5.75rem);
}

.home-hero .hero__lead {
  max-width: 650px;
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
}

.home-hero > .hero__sigil {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  grid-column: 2;
  width: min(100%, clamp(300px, 31vw, 480px));
  margin: 0;
  opacity: 1;
  justify-self: center;
  transform: none;
}

.home-hero > .hero__sigil::before {
  width: 88%;
  opacity: .9;
  background:
    radial-gradient(circle, rgba(240, 20, 33, .15), transparent 18%),
    radial-gradient(circle, rgba(43, 231, 214, .075), transparent 43%),
    rgba(5, 5, 5, .58);
  box-shadow:
    inset 0 0 0 1px rgba(247, 247, 247, .12),
    0 0 58px rgba(240, 20, 33, .16);
}

.home-hero .hero__logo {
  width: 76%;
  max-width: 390px;
  opacity: 1;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .52));
  image-rendering: auto;
}

.home-hero .hero__orbit {
  border-width: 2px;
  opacity: .44;
}

.home-hero .hero__orbit--inner {
  opacity: .58;
}

.home-hero .spark {
  opacity: .66;
}

.home-direction-strip {
  display: none;
}


.home-activity.latest-content {
  padding-block: clamp(44px, 6.2vw, 74px);
}

.home-activity .latest-layout {
  grid-template-columns: minmax(250px, .52fr) minmax(0, 1.48fr);
  align-items: center;
}

.home-activity .latest-copy h2 {
  max-width: 12ch;
  margin-bottom: 14px;
  font-size: clamp(1.95rem, 3.45vw, 3rem);
  line-height: 1;
}

.home-activity .latest-copy p:not(.eyebrow) {
  max-width: 390px;
  font-size: .96rem;
  line-height: 1.58;
}

.home-activity .latest-menu {
  display: flex;
  width: auto;
  gap: 10px;
  margin-top: 18px;
}

.home-activity .latest-menu__item {
  min-width: 0;
}

.home-activity .latest-panel {
  min-width: 0;
}

.home-activity .latest-feed {
  min-height: 180px;
}

.home-activity .latest-lane__head span {
  font-size: .96rem;
}

.home-activity .latest-anime-strip {
  grid-auto-columns: clamp(112px, 12vw, 150px);
}

.work .section__intro h2,
.partners .section__intro h2,
.footer h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1;
}

@media (min-width: 1800px) {
  .home-hero.hero {
    grid-template-columns: minmax(0, .9fr) minmax(420px, .58fr);
    min-height: 760px;
  }

  .home-hero > .hero__sigil {
    width: min(100%, 520px);
  }
}

@media (max-width: 1180px) {
  .home-hero.hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero > .hero__sigil {
    grid-column: auto;
    width: min(100%, 400px);
    margin: 18px auto 0;
  }

  .home-activity .latest-layout {
    grid-template-columns: 1fr;
  }

  
}

@media (max-width: 640px) {
  .site-header .brand__mark,
.brand__mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .home-hero > .hero__sigil {
    width: min(100%, 300px);
  }

  .home-hero .hero__logo {
    width: 78%;
  }

  .home-activity .latest-menu {
    align-items: stretch;
    flex-direction: column;
  }

  .home-activity .latest-menu__item,
.home-activity .latest-live {
    width: 100%;
    justify-content: center;
  }
}

/* Index mobile repair: keep the brand readable without horizontal spill. */
@media (max-width: 640px) {
  .site-header .nav {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .nav a {
    min-width: 0;
    justify-content: center;
    padding-inline: 10px;
    font-size: .78rem;
  }

  .home-hero.hero {
    padding-inline: 16px;
    gap: 22px;
  }

  .home-hero .hero__copy {
    min-width: 0;
    max-width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .home-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 7.7vw, 2.8rem);
    line-height: .94;
  }

  .home-hero .hero__lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .home-hero .eyebrow {
    max-width: 29ch;
    font-size: .68rem;
    line-height: 1.35;
    white-space: normal;
    text-wrap: pretty;
  }

  .home-hero .hero__actions {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .home-hero .hero__actions .button {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    width: min(100%, 340px);
    justify-content: center;
    padding-inline: 18px;
    white-space: normal;
  }

  .home-hero__brief {
    display: none;
  }

  .home-hero > .hero__sigil {
    width: min(78vw, 280px);
    margin-top: 2px;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: clamp(1.95rem, 8vw, 2.15rem);
    white-space: normal;
    overflow-wrap: normal;
    letter-spacing: 0;
  }

  .site-header .nav a {
    font-size: .74rem;
  }
}

/* Compact DSRV-OS preview for the home projects entry. */


@keyframes projectEntryGrid {
  to {
    background-position: 32px 32px;
  }
}

@keyframes projectEntrySweep {
  0%, 40% {
    opacity: 0;
    transform: translateX(-130%) skewX(-16deg);
  }
  56% {
    opacity: .72;
  }
  82%, 100% {
    opacity: 0;
    transform: translateX(330%) skewX(-16deg);
  }
}

@keyframes projectEntryDot {
  0%, 100% {
    opacity: .34;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes projectEntryBarSweep {
  0%, 24% {
    opacity: 0;
    transform: translateX(-70px);
  }
  44% {
    opacity: .7;
  }
  78%, 100% {
    opacity: 0;
    transform: translateX(390px);
  }
}

@media (max-width: 1180px) {
  

  
}

@media (max-width: 640px) {
  

  

  

  

  

  

  

  

  
}

/* Mobile shell containment after project preview additions. */
@media (max-width: 640px) {
  body {
    max-width: 100%;
    overflow: visible;
  }

  .site-header,
.hero,
.section,
.footer {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    box-sizing: border-box;
  }

  .site-header {
    overflow: hidden;
  }

  .site-header .nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: hidden;
    mask-image: none;
  }

  .site-header .nav a {
    min-width: 0 !important;
    max-width: 100%;
  }

  .home-hero.hero {
    overflow: hidden;
  }
}

/* Index surface pass: keep hero/projects on one shared DarkSpeech scene, not boxed panels. */
.home-hero.hero {
  min-height: clamp(560px, 66vh, 700px);
  padding-block: clamp(64px, 7vw, 96px) clamp(32px, 5vw, 60px);
  overflow: visible;
}

.home-hero.hero::before {
  display: none;
}

.home-hero.hero::after {
  display: none;
}

.home-hero .hero__copy {
  padding-left: clamp(0px, 1.2vw, 18px);
}

.home-hero > .hero__sigil::before {
  box-shadow:
    inset 0 0 0 1px rgba(247, 247, 247, .08),
    0 0 58px rgba(240, 20, 33, .14);
}


@media (max-width: 1180px) {
  .home-hero.hero {
    overflow: hidden;
  }

  
}

@media (max-width: 640px) {
  

  
}

/* Index scene pacing: hero first, projects as the next scroll scene. */
:root {
  --home-hero-min: clamp(620px, 84svh, 880px);
  --home-hero-pad-top: clamp(72px, 8svh, 118px);
  --home-hero-pad-bottom: clamp(52px, 7svh, 96px);
  --home-scene-gap: clamp(84px, calc(8svh + 3vw), 190px);
}

.home-hero.hero {
  min-height: var(--home-hero-min);
  padding-block: var(--home-hero-pad-top) var(--home-hero-pad-bottom);
}


@media (min-width: 1800px) {
  :root {
    --home-hero-min: clamp(720px, 82svh, 960px);
    --home-scene-gap: clamp(120px, calc(8svh + 3.5vw), 230px);
  }

  .home-hero.hero {
    min-height: var(--home-hero-min);
  }

  
}

@media (max-width: 1180px) {
  :root {
    --home-hero-min: clamp(580px, 78svh, 740px);
    --home-hero-pad-bottom: clamp(44px, 6svh, 72px);
    --home-scene-gap: clamp(70px, calc(7svh + 2.4vw), 132px);
  }

  .home-hero.hero {
    min-height: var(--home-hero-min);
    padding-bottom: var(--home-hero-pad-bottom);
  }

  
}

@media (max-width: 640px) {
  :root {
    --home-hero-min: clamp(540px, 74svh, 660px);
    --home-scene-gap: clamp(46px, 7svh, 78px);
  }

  .home-hero.hero {
    min-height: var(--home-hero-min);
    padding-block: 64px 42px;
  }

  

  
}

@media (prefers-reduced-motion: reduce) {
  
}

@media (max-height: 720px) and (min-width: 900px) {
  :root {
    --home-hero-min: clamp(520px, 76svh, 660px);
    --home-hero-pad-top: clamp(54px, 7svh, 86px);
    --home-hero-pad-bottom: clamp(36px, 5svh, 62px);
    --home-scene-gap: clamp(56px, calc(5svh + 2vw), 112px);
  }
}

@media (min-width: 2400px) {
  :root {
    --home-hero-min: clamp(760px, 78svh, 980px);
    --home-scene-gap: clamp(140px, 11svh, 240px);
  }

  .home-hero.hero,
.section {
    width: min(100% - calc(var(--page-gutter) * 2), 1680px);
  }
}

@media (min-width: 3200px) {
  :root {
    --home-scene-gap: clamp(150px, 9svh, 250px);
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  :root {
    --home-hero-min: auto;
    --home-scene-gap: 44px;
  }

  .home-hero.hero {
    padding-block: 42px 28px;
  }
}

/* Responsive stabilization pass for project library and DSRV-OS slug panels. */
.projects-library,
.project-slug-shell {
  max-width: min(100% - calc(var(--page-gutter) * 2), 1640px);
}

.projects-showcase,
.project-card,
.project-slug-panel,
.dsrvos-loader__core,
.dsrvos-loader__hud {
  backface-visibility: hidden;
  transform: translateZ(0);
}

@media (min-width: 1900px) {
  .projects-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 14px;
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }

  .project-slug-panel__hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
  }
}

@media (min-width: 2600px) {
  .projects-library,
.project-slug-shell {
    max-width: min(100% - 120px, 1760px);
  }

  .project-slug-panel__header h1 {
    font-size: clamp(3.2rem, 3.2vw, 5.4rem);
  }
}

@media (max-width: 980px) {
  .project-slug-shell {
    min-height: auto;
    padding-bottom: clamp(34px, 7svh, 64px);
  }

  .project-slug-panel__content {
    grid-template-columns: 1fr;
  }
}

/* Final tuning: repeatable home reveal, compact project cards, and restored project showcase cadence. */
.home-back-top {
  position: fixed;
  left: max(14px, calc((100vw - var(--max)) / 2 - 58px));
  bottom: clamp(78px, 13svh, 140px);
  z-index: 80;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(43, 231, 214, .32);
  border-radius: 12px;
  color: rgba(247, 247, 247, .86);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-12px, 0, 0);
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .1), rgba(240, 20, 51, .08)),
    rgba(5, 7, 10, .66);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, .28),
    inset 0 0 0 1px rgba(247, 247, 247, .035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    opacity .22s ease,
    transform .24s cubic-bezier(.2, .78, .2, 1),
    border-color .18s ease,
    background .18s ease;
}

.home-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.home-back-top:hover,
.home-back-top:focus-visible {
  border-color: rgba(240, 20, 51, .48);
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .16), rgba(240, 20, 51, .14)),
    rgba(5, 7, 10, .78);
}

.projects-showcase {
  grid-template-columns: minmax(0, 1fr) minmax(238px, 340px);
  align-items: stretch;
}

.projects-showcase__main {
  contain: paint;
}

.projects-showcase__main.is-swipe-right .projects-showcase__featured {
  animation: projectShowcaseSwipeRight .64s cubic-bezier(.2, .78, .2, 1) both;
}

.projects-showcase__main.is-swipe-left .projects-showcase__featured {
  animation: projectShowcaseSwipeLeft .58s cubic-bezier(.2, .78, .2, 1) both;
}

.projects-showcase-preview:nth-child(n + 4) {
  display: none;
}

.projects-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 320px));
  justify-content: start;
  align-items: start;
}

.project-card {
  width: 100%;
  max-width: 320px;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.project-card__media {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

.project-card__media picture,
.project-card__media img {
  width: 100%;
  height: 100%;
}

.project-card__media img {
  object-fit: cover;
  object-position: center;
}

@keyframes projectShowcaseSwipeRight {
  from {
    opacity: 0;
    transform: translate3d(-38px, 0, 0) scale(.986);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes projectShowcaseSwipeLeft {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale(.988);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (min-width: 1900px) {
  .projects-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  }

  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 330px));
  }

  .project-card {
    max-width: 330px;
  }
}

@media (max-width: 860px) {
  .projects-showcase__side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .home-back-top {
    left: 12px;
    bottom: 82px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-back-top,
.projects-showcase__main.is-swipe-right .projects-showcase__featured,
.projects-showcase__main.is-swipe-left .projects-showcase__featured {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* Corrective pass: shared header behavior, scene reveal, and stable project media framing. */
.site-header {
  transition:
    opacity .24s ease,
    transform .32s cubic-bezier(.2, .78, .2, 1),
    box-shadow .22s ease,
    border-color .22s ease;
  will-change: transform, opacity;
}

body.is-header-hidden:not(.is-dsrvos-loading) .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, calc(-100% - 24px), 0);
}

body.is-header-floating:not(.is-header-hidden) .site-header {
  border-color: rgba(43, 231, 214, .2);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .32),
    inset 0 0 0 1px rgba(43, 231, 214, .07);
}

.home-back-top {
  left: max(18px, calc((100vw - var(--max)) / 2 - 112px));
  bottom: clamp(92px, 14svh, 160px);
  width: 64px;
  height: 64px;
  border-radius: 16px;
  font-size: 1.62rem;
  transform: translate3d(-18px, 0, 0);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, .34),
    0 0 24px rgba(43, 231, 214, .08),
    inset 0 0 0 1px rgba(247, 247, 247, .04);
}


.projects-grid .project-card:nth-child(2) {
  transition-delay: .05s;
}

.projects-grid .project-card:nth-child(3) {
  transition-delay: .1s;
}

.projects-grid .project-card:nth-child(4) {
  transition-delay: .15s;
}

.projects-showcase__media,
.projects-showcase-preview__image,
.project-card__media,
.project-detail-hero__cover {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.projects-showcase__media picture,
.projects-showcase-preview__image picture,
.project-card__media picture,
.project-detail-hero__cover picture {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.projects-showcase__media img,
.projects-showcase-preview__image img,
.project-card__media img,
.project-detail-hero__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 720px) {
  .home-back-top {
    left: 12px;
    bottom: 92px;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    font-size: 1.34rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
.home-back-top {
    transition: none;
    transform: none;
    will-change: auto;
  }

  body.is-header-hidden:not(.is-dsrvos-loading) .site-header {
    opacity: 1;
  }
}

/* Corrective pass: DSRV-style scroll rail and refined top-return control. */
html,
body {
  --scrollbar-track: #020304;
  --scrollbar-corner: #020304;
  --scrollbar-thumb: linear-gradient(180deg, rgba(43, 231, 214, .72), rgba(240, 20, 51, .64));
  --scrollbar-thumb-hover: linear-gradient(180deg, rgba(43, 231, 214, .92), rgba(255, 42, 76, .82));
  --scrollbar-thumb-soft: rgba(43, 231, 214, .55);
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-soft) var(--scrollbar-track);
}

html.page-projects,
body[data-projects-page] {
  --scrollbar-track: #020506;
  --scrollbar-thumb: linear-gradient(180deg, rgba(43, 231, 214, .78), rgba(240, 20, 51, .58));
  --scrollbar-thumb-hover: linear-gradient(180deg, rgba(43, 231, 214, .96), rgba(255, 44, 79, .72));
  --scrollbar-thumb-soft: rgba(43, 231, 214, .64);
}

html.page-project-detail,
body.project-slug-mode {
  --scrollbar-track: #010607;
  --scrollbar-thumb: linear-gradient(180deg, rgba(43, 231, 214, .92), rgba(43, 231, 214, .38));
  --scrollbar-thumb-hover: linear-gradient(180deg, rgba(87, 255, 239, .98), rgba(240, 20, 51, .45));
  --scrollbar-thumb-soft: rgba(43, 231, 214, .72);
}

html.page-anime,
body.anime-page,
body.anime-player-page {
  --scrollbar-track: #020304;
  --scrollbar-thumb: linear-gradient(180deg, rgba(43, 231, 214, .55), rgba(240, 20, 51, .46));
  --scrollbar-thumb-hover: linear-gradient(180deg, rgba(43, 231, 214, .76), rgba(240, 20, 51, .62));
  --scrollbar-thumb-soft: rgba(43, 231, 214, .48);
}

html.page-anime-player,
body.anime-player-page {
  --scrollbar-track: #010102;
  --scrollbar-thumb: linear-gradient(180deg, rgba(247, 247, 247, .28), rgba(43, 231, 214, .34));
  --scrollbar-thumb-hover: linear-gradient(180deg, rgba(247, 247, 247, .4), rgba(43, 231, 214, .48));
  --scrollbar-thumb-soft: rgba(247, 247, 247, .34);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background:
    linear-gradient(180deg, rgba(247, 247, 247, .028), transparent 34% 66%, rgba(43, 231, 214, .035)),
    var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  min-height: 42px;
  border: 3px solid var(--scrollbar-track);
  border-radius: 999px;
  background: var(--scrollbar-thumb);
  box-shadow:
    inset 0 0 0 1px rgba(247, 247, 247, .07),
    0 0 12px rgba(43, 231, 214, .12);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-corner);
}

.download-dialog__panel,
.project-action-modal__panel,
.project-action-modal__content,
.project-detail-info__text,
.project-slug-panel,
.project-slug-panel__main,
.project-slug-actions,
.projects-page,
.projects-grid {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-soft) var(--scrollbar-track);
}

.home-back-top {
  --scroll-top-size: clamp(70px, 4.6vw, 88px);
  left: clamp(
    18px,
    calc(((100vw - min(calc(100vw - var(--page-gutter) - var(--page-gutter)), var(--max))) / 4) - (var(--scroll-top-size) / 2)),
    220px
  );
  bottom: clamp(104px, 14svh, 174px);
  width: var(--scroll-top-size);
  height: var(--scroll-top-size);
  border-radius: clamp(16px, 1.3vw, 22px);
  color: rgba(43, 231, 214, .92);
  font-size: 0;
  background:
    linear-gradient(135deg, rgba(43, 231, 214, .14), rgba(240, 20, 51, .09)),
    radial-gradient(circle at 50% 22%, rgba(43, 231, 214, .18), transparent 62%),
    rgba(4, 7, 9, .76);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, .4),
    0 0 28px rgba(43, 231, 214, .12),
    inset 0 0 0 1px rgba(247, 247, 247, .045);
}

.home-back-top__icon {
  display: block;
  width: 64%;
  height: 64%;
  filter: drop-shadow(0 0 10px rgba(43, 231, 214, .28));
}

.home-back-top__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-back-top__corner {
  opacity: .58;
  stroke-width: 2.2;
}

.home-back-top__rail {
  opacity: .5;
  stroke: rgba(240, 20, 51, .82);
  stroke-width: 2.4;
}

.home-back-top:hover,
.home-back-top:focus-visible {
  color: rgba(255, 255, 255, .94);
  border-color: rgba(43, 231, 214, .54);
  box-shadow:
    0 24px 62px rgba(0, 0, 0, .44),
    0 0 34px rgba(43, 231, 214, .18),
    inset 0 0 0 1px rgba(43, 231, 214, .1);
}

@media (max-width: 1500px) {
  .home-back-top {
    --scroll-top-size: clamp(54px, 5vw, 66px);
    left: clamp(10px, 1.7vw, 22px);
    bottom: clamp(88px, 12svh, 128px);
    border-radius: 15px;
  }
}

@media (max-width: 720px) {
  .home-back-top {
    --scroll-top-size: 56px;
    left: 10px;
    bottom: 88px;
    border-radius: 14px;
  }

  ::-webkit-scrollbar {
    width: 9px;
    height: 9px;
  }

  ::-webkit-scrollbar-thumb {
    border-width: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-back-top__icon {
    filter: none;
  }
}
/* Telegram WebView safety mode: reduce GPU-heavy layers and decorative loops. */
html.is-telegram-webview {
  scroll-behavior: auto;
}

html.is-telegram-webview body::before,
html.is-telegram-webview body::after,
html.is-telegram-webview .flight-scene {
  animation: none !important;
  filter: none !important;
}

html.is-telegram-webview .flight-scene {
  display: none !important;
}

html.is-telegram-webview .site-header,
html.is-telegram-webview .home-back-top,
html.is-telegram-webview .project-card,
html.is-telegram-webview .projects-showcase,
html.is-telegram-webview .project-slug-panel,
html.is-telegram-webview .project-action-modal__panel {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.is-telegram-webview .home-hero.hero::before,
html.is-telegram-webview .home-hero.hero::after,
html.is-telegram-webview .projects-library::before,
html.is-telegram-webview .project-slug-shell::before,
html.is-telegram-webview .project-slug-shell::after {
  opacity: .18 !important;
  animation: none !important;
  filter: none !important;
}


html.is-telegram-webview .dsrvos-loader,
html.is-telegram-webview [data-dsrvos-loader] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Mobile parity pass: keep Projects in the same mobile shell as the main page. */
:root {
  --mobile-page-gutter: clamp(12px, 4.8vw, 24px);
  --mobile-header-top: 8px;
  --mobile-header-radius: 24px;
  --mobile-header-padding: 10px;
  --mobile-section-gap: clamp(42px, 10svh, 76px);
  --mobile-hero-padding: clamp(56px, 14svh, 96px);
}

@media (max-width: 760px) {
  body[data-projects-page="index"] .projects-library {
    width: calc(100% - (var(--mobile-page-gutter) * 2));
    padding-top: clamp(28px, 8svh, 54px);
  }

  body[data-projects-page="index"] .projects-showcase {
    grid-template-columns: 1fr !important;
    gap: 0;
    padding: 8px;
    margin-bottom: clamp(22px, 7vw, 34px);
    border-radius: 14px;
  }

  body[data-projects-page="index"] .projects-showcase__side {
    display: none !important;
  }

  body[data-projects-page="index"] .projects-showcase__main {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  body[data-projects-page="index"] .projects-showcase__featured,
body[data-projects-page="index"] .projects-showcase__media {
    min-height: 0;
  }

  body[data-projects-page="index"] .projects-showcase__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .04) 28%, rgba(0, 0, 0, .7) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, .54) 0%, transparent 68%);
  }

  body[data-projects-page="index"] .projects-showcase__caption {
    left: 14px;
    right: 14px;
    bottom: clamp(22px, 7vw, 34px);
    gap: 6px;
  }

  body[data-projects-page="index"] .projects-showcase__caption h2 {
    max-width: 100%;
    font-size: clamp(1.38rem, 7.4vw, 2.35rem);
    line-height: .98;
  }

  body[data-projects-page="index"] .projects-showcase__caption p {
    max-width: 100%;
    -webkit-line-clamp: 2;
    font-size: clamp(.82rem, 3.6vw, .94rem);
  }

  body[data-projects-page="index"] .projects-showcase__nav {
    left: 14px;
    right: 14px;
  }

  body[data-projects-page="index"] .projects-showcase__nav button {
    width: 38px;
    height: 38px;
  }

  body[data-projects-page="index"] .projects-showcase__dots {
    bottom: 12px;
  }

  body[data-projects-page="index"] .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-projects-page="index"] .project-card {
    max-width: none;
    grid-template-rows: auto minmax(0, 1fr);
  }

  body[data-projects-page="index"] .project-card__media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 430px) {
  body[data-projects-page="index"] .projects-showcase__main {
    aspect-ratio: 16 / 10;
  }

  body[data-projects-page="index"] .projects-showcase__caption h2 {
    font-size: clamp(1.28rem, 7.9vw, 2rem);
  }

  body[data-projects-page="index"] .projects-showcase__caption p {
    -webkit-line-clamp: 1;
  }
}
