:root {
  --bg: #09090b;
  --surface: #121217;
  --surface-strong: #16111f;
  --surface-aetherion: #0a0b10;
  --ink: #f2eee6;
  --muted: #b6afbf;
  --line: rgba(242, 238, 230, 0.14);
  --line-strong: rgba(242, 238, 230, 0.28);
  --lime: #b8ff4f;
  --purple: #7f41ff;
  --purple-deep: #27103f;
  --danger: #fe685f;
  --max: 1200px;
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --shadow-soft: 0 28px 80px rgba(0, 0, 0, 0.32);
  --shadow-line: inset 0 0 0 1px var(--line);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(127, 65, 255, 0.08), transparent 28%),
    linear-gradient(160deg, rgba(184, 255, 79, 0.05), transparent 34%),
    var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(9, 9, 11, 0.76);
  border-bottom: 1px solid rgba(242, 238, 230, 0.08);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  display: block;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  color: var(--bg);
  background:
    linear-gradient(135deg, var(--lime), #d3ff95 60%, #ffffff 100%);
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-name,
.nav-link,
.eyebrow,
.list-row strong,
.footer-title,
.cta,
.topic-tag {
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

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

.nav-link {
  position: relative;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--muted);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.cta-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.25rem;
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
}

.cta-primary {
  color: var(--bg);
  border-color: transparent;
  background: linear-gradient(135deg, var(--lime), #d7ff8f 70%);
}

.cta-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.cta-ghost {
  color: var(--lime);
  border-color: rgba(184, 255, 79, 0.3);
  background: rgba(184, 255, 79, 0.06);
}

.cta-center {
  justify-content: center;
}

.cta-lg {
  min-height: 4.2rem;
  padding: 0 2.4rem;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(242, 238, 230, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(127, 65, 255, 0.28), transparent 32%),
    linear-gradient(180deg, transparent 54%, rgba(9, 9, 11, 0.92) 100%);
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  will-change: opacity, transform;
  transform: scale(1.08);
}

.hero-slide-1 {
  opacity: 0.35;
  transform: scale(1.08);
  animation: heroCrossfadeFirst 20s infinite ease-in-out;
}

.hero-slide-2 {
  animation: heroCrossfade 20s infinite ease-in-out 4s;
}

.hero-slide-3 {
  animation: heroCrossfade 20s infinite ease-in-out 8s;
}

.hero-slide-4 {
  animation: heroCrossfade 20s infinite ease-in-out 12s;
}

.hero-slide-5 {
  animation: heroCrossfade 20s infinite ease-in-out 16s;
}

@keyframes heroCrossfadeFirst {
  0% {
    opacity: 0.35;
    transform: scale(1.08);
  }
  17% {
    opacity: 0.35;
    transform: scale(1.00);
  }
  21% {
    opacity: 0;
    transform: scale(0.99);
  }
  96% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0.35;
    transform: scale(1.08);
  }
}

@keyframes heroCrossfade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  4% {
    opacity: 0.35;
    transform: scale(1.06);
  }
  17% {
    opacity: 0.35;
    transform: scale(1.00);
  }
  21% {
    opacity: 0;
    transform: scale(0.99);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.hero-grid {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: end;
  padding: 5rem 0 4rem;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 52rem;
}

.eyebrow,
.micro-label {
  font-size: 0.78rem;
  font-weight: 800;
}

.eyebrow {
  color: var(--lime);
}

.hero h1,
.page-hero h1 {
  margin: 0.55rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero p,
.page-hero p {
  max-width: 36rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.hero-side {
  align-self: stretch;
  display: grid;
  gap: 1rem;
  align-content: end;
}

.poster-block,
.feature-panel,
.quote-panel,
.contact-panel,
.manifesto-block,
.catalog-row,
.list-row,
.form-shell,
.spotlight-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow-line);
}

.poster-block {
  padding: 1.5rem;
  min-height: 24rem;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(160deg, rgba(127, 65, 255, 0.24), transparent 40%),
    linear-gradient(180deg, rgba(184, 255, 79, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface-strong);
}

.poster-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 92%, rgba(242, 238, 230, 0.1) 92% 93%, transparent 93%),
    linear-gradient(180deg, transparent 0 78%, rgba(242, 238, 230, 0.1) 78% 79%, transparent 79%);
  opacity: 0.45;
}

.poster-heading {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.88;
  text-transform: uppercase;
  margin: 0;
}

.poster-meta,
.kicker,
.caption,
.stat-label,
.footer-note {
  color: var(--muted);
  font-size: 0.85rem;
}

.poster-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(184, 255, 79, 0.28);
  background: rgba(184, 255, 79, 0.07);
  color: var(--lime);
}

.section {
  position: relative;
  padding: 4.6rem 0;
}

.section.tight {
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
  background: #000;
}

.section-black {
  background: #000;
}

.section-alt {
  background: rgba(128, 65, 255, 0.295);
}

.section-green {
  background: rgba(79, 255, 103, 0.1);
}

.section-inner {
  display: grid;
  gap: 1.8rem;
}

.section-head {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-summary {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1rem;
}

.manifesto-grid,
.split-grid,
.two-up,
.stats-grid,
.contact-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.page-hero-grid,
.catalog-grid,
.detail-grid {
  display: grid;
  gap: 1.3rem;
}

.manifesto-grid,
.split-grid,
.two-up,
.page-hero-grid,
.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manifesto-block,
.feature-panel,
.quote-panel,
.contact-panel,
.form-shell {
  padding: 1.5rem;
}

.manifesto-block strong,
.list-row strong,
.stat-number {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
}

.manifesto-block strong {
  margin-bottom: 0.55rem;
  color: var(--lime);
  font-size: 0.82rem;
}

.img-card-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-line);
  background: var(--surface);
}

.char-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.char-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-line);
  background: var(--surface);
  display: grid;
  gap: 0.5rem;
  padding-bottom: 1rem;
}

.char-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: var(--surface-strong);
}

.char-name {
  padding: 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.char-ability {
  padding: 0 0.9rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
}

.kindle-badge {
  margin-top: 1rem;
}

.kindle-img {
  max-height: 2.6rem;
  width: auto;
  display: block;
}

/* Review Section */
.review-section {
  padding: 2.5rem 0;
  background: #000;
}

.review-strip {
  width: min(calc(100% - 2rem), 1680px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.review-strip img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .review-strip {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 1.2rem), 26rem);
  }
}

/* Review + Flagship IP side-by-side band (desktop) */
@media (min-width: 1100px) {
  .duo-band {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
  }

  .duo-band .review-section {
    display: grid;
    align-content: center;
  }

  .duo-band .review-strip {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 2rem), 32rem);
  }

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

/* In Development Section (White Theme) */
.section-white {
  background: #ffffff;
  color: #09090b;
}

.section-white .eyebrow {
  color: var(--purple);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  display: inline-block;
  margin-bottom: 0.3rem;
}

.section-white .section-title {
  color: #09090b;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-white .section-summary {
  color: #4a4455;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Four Theatres Hero Block */
.dev-hero-block {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 2.8rem;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(127, 65, 255, 0.35), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(184, 255, 79, 0.12), transparent 45%),
    linear-gradient(135deg, #16111f 0%, #09090b 100%);
  border: 1px solid rgba(127, 65, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 1.3rem;
}

.dev-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dev-hero-block .eyebrow {
  color: var(--lime);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* Scroll Animation Loop for Four Theatres */
.theatre-roller-container {
  overflow: hidden;
  height: 1.25em;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.theatre-roller-track {
  display: flex;
  flex-direction: column;
  animation: theatreScrollLoop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  will-change: transform;
}

.theatre-roller-item {
  height: 1.25em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  color: #F8F8FF;
  text-shadow: 0 4px 30px rgba(184, 255, 79, 0.2);
  white-space: nowrap;
}

@keyframes theatreScrollLoop {
  0%, 18% {
    transform: translateY(0%);
  }
  25%, 43% {
    transform: translateY(-20%);
  }
  50%, 68% {
    transform: translateY(-40%);
  }
  75%, 93% {
    transform: translateY(-60%);
  }
  100% {
    transform: translateY(-80%);
  }
}

/* Sub cards below hero block */
.dev-sub-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-white .dev-card {
  position: relative;
  overflow: hidden;
  padding: 2.4rem;
  background: #f7f6fa;
  border: 1px solid rgba(127, 65, 255, 0.18);
  border-top: 3px solid var(--purple);
  box-shadow: 0 8px 24px rgba(39, 16, 63, 0.06);
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.section-white .dev-card .eyebrow {
  color: var(--purple);
  font-size: 1.05rem;
  font-weight: 900;
}

.section-white .dev-card p {
  margin: 0;
  color: #1a1721;
  font-size: 1.25rem;
  line-height: 1.62;
  font-weight: 500;
}

/* Team Section */
.team-grid {
  display: grid;
  gap: 1.3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow-line);
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-strong);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 320ms ease;
}

.team-card:hover .team-photo {
  transform: scale(1.03);
}

.team-card-body {
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
  flex: 1;
}

.team-name {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.team-title {
  margin: 0;
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.team-roles {
  margin: 0;
  padding: 0 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.team-roles li + li {
  margin-top: 0.3rem;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--purple);
  transition: opacity 180ms ease;
}

.team-linkedin:hover {
  opacity: 0.7;
}

.img-card {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 26rem;
}

.feature-panel {
  min-height: 20rem;
}

.feature-panel.aetherion {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, rgba(127, 65, 255, 0.16), transparent 52%),
    var(--surface-aetherion);
}

.feature-panel h3,
.quote-panel h3,
.contact-panel h3,
.form-shell h3 {
  margin: 0 0 0.8rem;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.feature-panel p,
.quote-panel p,
.contact-panel p,
.manifesto-block p,
.form-shell p {
  margin: 0;
  color: var(--muted);
}

.list-stack {
  display: grid;
  gap: 0.9rem;
}

.list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 1.1rem;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.list-row strong {
  font-size: 0.82rem;
}

.list-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.accent-note {
  color: var(--lime);
}

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

.stat-box {
  padding: 1.15rem 1rem 1.25rem;
  border-top: 3px solid var(--lime);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-line);
}

.stat-number {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.catalog-row {
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.catalog-row h3,
.detail-block h3 {
  margin: 0;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.catalog-row p,
.detail-block p {
  margin: 0;
  color: var(--muted);
}

.spotlight-band {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  background:
    linear-gradient(90deg, rgba(184, 255, 79, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(127, 65, 255, 0.14), transparent 55%),
    var(--surface);
}

.spotlight-band h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.micro-label {
  color: var(--muted);
}

.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero-grid {
  align-items: end;
}

.page-hero-panel {
  min-height: 19rem;
  padding: 1.4rem;
  background:
    linear-gradient(160deg, rgba(127, 65, 255, 0.22), transparent 44%),
    var(--surface);
  box-shadow: var(--shadow-line);
}

.page-hero-panel.dark {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 44%),
    linear-gradient(180deg, rgba(127, 65, 255, 0.16), transparent 48%),
    var(--surface-aetherion);
}

.detail-block {
  padding: 1.4rem;
  box-shadow: var(--shadow-line);
  background: rgba(255, 255, 255, 0.02);
}

.detail-block ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.detail-block li + li {
  margin-top: 0.4rem;
}

.form-shell {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.field select option {
  color: var(--ink);
  background: var(--surface);
}

.field textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-note,
.form-privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.inline-link {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.inline-link:hover {
  color: #ffffff;
}

.policy-block {
  padding: 2.2rem;
  display: grid;
  gap: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--surface);
  box-shadow: var(--shadow-line);
}

.policy-block h2 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--lime);
}

.policy-block h2:first-child {
  margin-top: 0;
}

.policy-block p,
.policy-block li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.policy-block ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}

.policy-block li + li {
  margin-top: 0.35rem;
}

.status-text {
  min-height: 1.2rem;
  color: var(--lime);
  font-size: 0.84rem;
}

.footer {
  padding: 2rem 0 2.8rem;
  border-top: 1px solid rgba(242, 238, 230, 0.08);
}

.footer-inner {
  display: grid;
  gap: 1.2rem;
}

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

.footer-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-reg {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .manifesto-grid,
  .split-grid,
  .two-up,
  .page-hero-grid,
  .detail-grid,
  .footer-grid,
  .stats-grid,
  .catalog-grid,
  .contact-grid,
  .char-grid,
  .team-grid,
  .dev-sub-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 4.2rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    background: rgba(13, 13, 16, 0.96);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
  }

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

  .poster-block,
  .page-hero-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(calc(100% - 1.2rem), var(--max));
  }

  .hero-grid {
    width: min(calc(100% - 1.2rem), var(--max));
    padding-bottom: 3rem;
  }

  .field-grid,
  .cta-row,
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .cta,
  .cta-row > *,
  .hero-actions > * {
    width: 100%;
  }
}
