:root {
  --ink: #121116;
  --paper: #f3ead7;
  --muted: #b9b0a4;
  --cyan: #45e6df;
  --violet: #9b67ff;
  --orange: #ff6b35;
  --line: rgba(243, 234, 215, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 80% 4%, rgba(155, 103, 255, 0.13), transparent 23rem),
    var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

main,
footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr);
  gap: clamp(2rem, 6vw, 7rem);
  min-height: 710px;
  padding: clamp(4rem, 9vw, 8.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.hero__copy { min-width: 0; }

.eyebrow,
.section-number {
  margin: 0 0 2rem;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1 {
  margin: 0;
  font-size: clamp(4rem, 7.4vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.79;
  text-transform: uppercase;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--violet);
  text-shadow: 7px 7px 0 rgba(155, 103, 255, 0.15);
}

.lead {
  max-width: 43rem;
  margin: 3.5rem 0 0;
  color: #d9d0c0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.4rem;
  color: var(--ink);
  background: var(--cyan);
  border: 2px solid var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 rgba(69, 230, 223, 0.2);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 rgba(69, 230, 223, 0.2); }

.status {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  max-width: 13rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.status span {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--orange);
}

.city {
  position: relative;
  align-self: center;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(rgba(69, 230, 223, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 230, 223, 0.06) 1px, transparent 1px),
    linear-gradient(155deg, #242030, #15141a 65%);
  background-size: 32px 32px, 32px 32px, auto;
  border: 1px solid rgba(69, 230, 223, 0.38);
  box-shadow: 16px 16px 0 rgba(155, 103, 255, 0.13);
}

.city__moon {
  position: absolute;
  top: 52px;
  right: 55px;
  width: 80px;
  height: 80px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(255, 107, 53, 0.36);
}

.city__signal {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
}

.city__signal::before,
.city__signal::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35px;
  height: 35px;
  content: "";
  border: 1px solid rgba(69, 230, 223, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.city__signal::after { width: 62px; height: 62px; opacity: 0.45; }
.city__signal--one { top: 23%; left: 21%; }
.city__signal--two { top: 39%; right: 26%; }
.city__signal--three { top: 50%; left: 47%; }

.city__building {
  position: absolute;
  bottom: 53px;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  gap: 18px;
  align-content: start;
  justify-content: center;
  padding-top: 25px;
  background: #211f28;
  border: 1px solid #5d556b;
  box-shadow: inset 12px 0 0 rgba(155, 103, 255, 0.06);
}

.city__building i { width: 8px; height: 10px; background: var(--paper); opacity: 0.62; }
.city__building i:nth-child(2n) { background: var(--cyan); }
.city__building--one { left: 4%; width: 22%; height: 46%; }
.city__building--two { left: 29%; width: 21%; height: 63%; }
.city__building--three { left: 53%; width: 18%; height: 40%; }
.city__building--four { right: 4%; width: 22%; height: 56%; }

.city__road {
  position: absolute;
  right: -15%;
  bottom: -110px;
  left: -15%;
  height: 180px;
  background: #0c0c0f;
  border-top: 3px solid var(--orange);
  transform: perspective(220px) rotateX(42deg);
}

.city__road::after {
  position: absolute;
  top: 58px;
  right: 10%;
  left: 10%;
  height: 3px;
  content: "";
  background: repeating-linear-gradient(90deg, transparent 0 40px, var(--paper) 40px 76px);
  opacity: 0.65;
}

.city__caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  margin: 0;
  padding: 0.45rem 0.65rem;
  color: var(--ink);
  background: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.manifesto { padding: clamp(5rem, 11vw, 9rem) 0; border-bottom: 1px solid var(--line); }

.manifesto h2,
.studio-preview h2,
.subscribe h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6.8vw, 6.2rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: uppercase;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 780px;
  margin: 4rem 0 0 auto;
  color: var(--muted);
}

.manifesto__grid p { margin: 0; }

.studio-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding: clamp(5rem, 11vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.studio-preview h2 { margin: 0; }

.studio-preview__copy {
  align-self: end;
  color: var(--muted);
  font-size: 1.05rem;
}

.studio-preview__copy p { margin: 0 0 2rem; }

.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span { transition: transform 150ms ease; }
.text-link:hover span,
.text-link:focus-visible span { transform: translateX(0.35rem); }

.panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.panel {
  position: relative;
  min-height: 310px;
  padding: 2rem;
  color: var(--ink);
  overflow: hidden;
}

.panel::after {
  position: absolute;
  right: -3rem;
  bottom: -6rem;
  width: 13rem;
  height: 13rem;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.17;
}

.panel--cyan { background: var(--cyan); }
.panel--violet { background: var(--violet); }
.panel--orange { background: var(--orange); }
.panel > span { font-family: ui-monospace, monospace; font-size: 0.72rem; font-weight: 800; }
.panel h3 { margin: 5.5rem 0 1rem; font-size: 2rem; text-transform: uppercase; }
.panel p { max-width: 15rem; margin: 0; font-weight: 620; }

.subscribe {
  padding: clamp(5rem, 11vw, 9rem) 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.subscribe .section-number { color: var(--orange); }
.subscribe .button { margin-top: 3rem; }
.button--light { background: var(--paper); border-color: var(--paper); box-shadow: 6px 6px 0 rgba(243, 234, 215, 0.16); }

footer {
  min-height: 100px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Studio and profile pages */

.page-main { padding-bottom: clamp(5rem, 10vw, 9rem); }

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  min-height: 510px;
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(3.8rem, 8.5vw, 8rem);
  line-height: 0.85;
}

.page-hero h1 em {
  display: block;
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 2px var(--violet);
}

.page-hero__aside {
  max-width: 29rem;
  color: #d9d0c0;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.page-hero__aside p { margin: 0 0 2rem; }

.disclosure {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.disclosure::before {
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  background: var(--orange);
  border-radius: 50%;
}

.org-chart { padding: clamp(5rem, 10vw, 8rem) 0; }

.org-chart__lead {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(2rem, 8vw, 8rem);
  margin-bottom: 4rem;
}

.org-chart__lead h2,
.process-intro h2,
.profile-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.org-chart__lead p { max-width: 37rem; margin: 0; color: var(--muted); }

.showrunner-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  margin: 0 auto 3.5rem;
  padding: 1.5rem;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  box-shadow: 10px 10px 0 rgba(243, 234, 215, 0.12);
}

.showrunner-card::after { content: "↓"; font-size: 2rem; font-weight: 900; }

.avatar {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  border: 2px solid currentColor;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.avatar--violet { background: var(--violet); }
.avatar--orange { background: var(--orange); }
.avatar--paper { background: var(--paper); }

.card-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.showrunner-card strong,
.team-card h3 { display: block; font-size: 1.55rem; text-transform: uppercase; }
.showrunner-card p { margin: 0.35rem 0 0; color: #504b45; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.team-card {
  min-height: 390px;
  padding: 1.6rem;
  color: var(--paper);
  background: var(--ink);
  text-decoration: none;
}

.team-card:nth-child(2) { background: #19171f; }
.team-card:nth-child(3) { background: #201a22; }
.team-card:nth-child(4) { background: #1b1918; }
.team-card .avatar { margin-bottom: 4.5rem; }
.team-card h3 { margin: 0 0 0.65rem; }
.team-card p { margin: 0; color: var(--muted); }
.team-card .text-link { margin-top: 1.7rem; }

.process-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: clamp(4rem, 9vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  background: var(--cyan);
}

.process-teaser h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; text-transform: uppercase; }
.process-teaser .text-link { color: var(--ink); }

.process-intro,
.profile-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
}

.process-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.process-intro p { max-width: 42rem; margin: 0; color: var(--muted); font-size: 1.05rem; }

.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }

.process-step {
  display: grid;
  grid-template-columns: 5rem minmax(150px, 0.55fr) minmax(280px, 1.45fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: process;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-step h2 { margin: 0; font-size: 1.25rem; text-transform: uppercase; }
.process-step p { margin: 0; color: var(--muted); }

.role-chip {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.25rem 0.45rem;
  color: var(--ink);
  background: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.role-chip--human { background: var(--orange); }
.role-chip--audience { background: var(--paper); }

.gates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.gate { min-height: 220px; padding: 1.6rem; background: #19171d; }
.gate span { color: var(--orange); font-family: ui-monospace, monospace; font-size: 0.7rem; }
.gate h3 { margin: 3.5rem 0 0.7rem; text-transform: uppercase; }
.gate p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.profile-hero { align-items: center; }

.profile-page--paper { --profile-color: var(--paper); }
.profile-page--cyan { --profile-color: var(--cyan); }
.profile-page--violet { --profile-color: var(--violet); }
.profile-page--orange { --profile-color: var(--orange); }

.profile-portrait {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  color: var(--ink);
  background: var(--profile-color, var(--cyan));
  border: 1px solid var(--paper);
  box-shadow: 14px 14px 0 color-mix(in srgb, var(--profile-color, var(--cyan)) 20%, transparent);
}

.profile-portrait::before,
.profile-portrait::after {
  position: absolute;
  width: 18rem;
  height: 18rem;
  content: "";
  border: 3px solid currentColor;
  border-radius: 50%;
  opacity: 0.2;
}

.profile-portrait::after { width: 11rem; height: 11rem; }
.profile-portrait span { position: relative; z-index: 1; font-size: clamp(5rem, 10vw, 9rem); font-weight: 950; letter-spacing: -0.11em; }

.profile-title { font-size: clamp(3.7rem, 8vw, 7.2rem) !important; }
.profile-role { margin: 1.4rem 0 0; color: var(--cyan); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.profile-fact { min-height: 230px; padding: 1.8rem; background: var(--ink); }
.profile-fact span { color: var(--cyan); font-family: ui-monospace, monospace; font-size: 0.68rem; text-transform: uppercase; }
.profile-fact h3 { margin: 3.5rem 0 0.7rem; font-size: 1.25rem; text-transform: uppercase; }
.profile-fact p { margin: 0; color: var(--muted); }

.quote {
  margin: 0;
  padding: clamp(5rem, 10vw, 9rem) 0;
  color: var(--paper);
  font-size: clamp(2.5rem, 6.5vw, 6rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.quote::before { color: var(--profile-color, var(--violet)); content: "«"; }
.quote::after { color: var(--profile-color, var(--violet)); content: "»"; }

.profile-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .city { min-height: 430px; }
  .panels { grid-template-columns: 1fr; gap: 0.75rem; }
  .panel { min-height: 230px; }
  .panel h3 { margin-top: 2.5rem; }
  .studio-preview,
  .page-hero,
  .org-chart__lead,
  .process-intro { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 3rem minmax(130px, 0.5fr) minmax(220px, 1fr); }
}

@media (max-width: 600px) {
  main,
  footer { width: min(100% - 30px, 1180px); }
  .hero { min-height: auto; padding-top: 4.5rem; }
  h1 { font-size: clamp(3rem, 16.7vw, 4.6rem); }
  h1 span { -webkit-text-stroke-width: 1.5px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .status { max-width: none; }
  .city { min-height: 340px; }
  .city__moon { top: 35px; right: 35px; width: 55px; height: 55px; }
  .manifesto__grid { grid-template-columns: 1fr; margin-top: 3rem; }
  .manifesto h2,
  .studio-preview h2,
  .subscribe h2 { font-size: clamp(2.2rem, 10.6vw, 4rem); }
  .team-grid,
  .gates,
  .profile-grid { grid-template-columns: 1fr; }
  .showrunner-card { grid-template-columns: 4rem 1fr; }
  .showrunner-card::after { display: none; }
  .showrunner-card .avatar { width: 4rem; height: 4rem; font-size: 1.6rem; }
  .team-card { min-height: 310px; }
  .team-card .avatar { margin-bottom: 2.7rem; }
  .process-teaser { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 2.5rem 1fr; }
  .process-step > p { grid-column: 2; }
  .profile-portrait { min-height: 280px; }
  .profile-nav { align-items: flex-start; flex-direction: column; gap: 1rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 0.25rem; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
