:root {
  color-scheme: dark;
  --bg: #050403;
  --fg: #f7f0e8;
  --muted: rgba(247, 240, 232, 0.66);
  --dim: rgba(247, 240, 232, 0.38);
  --line: rgba(247, 240, 232, 0.16);
  --accent: #8de4ef;
  --warm: #f4b45d;
  --nav-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans SC",
    sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1.25rem;
  top: -4rem;
  z-index: 30;
  padding: 0.6rem 0.85rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.studio-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.15rem 2.5rem;
  background: linear-gradient(rgba(5, 4, 3, 0.78), rgba(5, 4, 3, 0));
}

.studio-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  font-weight: 650;
  font-size: 1rem;
}

.studio-brand span:last-child {
  color: var(--dim);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.65rem;
}

.studio-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.9rem;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.studio-links a {
  color: var(--muted);
  transition: color 160ms ease;
}

.studio-links a:hover {
  color: var(--fg);
}

.studio-links .studio-cta {
  color: var(--bg);
  background: var(--fg);
  padding: 0.8rem 1.05rem;
}

.stage-wrap {
  position: relative;
  height: 620vh;
}

.stage-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #050403;
}

.stage-bg,
.stage-bg picture,
.stage-bg img,
.stage-shade,
.stage-vignette {
  position: absolute;
  inset: 0;
}

.stage-bg {
  z-index: 0;
  overflow: hidden;
  transform: scale(1);
  transform-origin: 55% 54%;
  will-change: transform;
}

.stage-bg picture,
.stage-bg img {
  display: block;
  width: 100%;
  height: 100%;
}

.stage-bg img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
}

.stage-shade {
  background: rgba(0, 0, 0, 0.5);
}

.stage-vignette {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 38%, rgba(0, 0, 0, 0.32)),
    radial-gradient(ellipse at center, transparent 46%, rgba(0, 0, 0, 0.66) 100%);
}

.stage-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8.5rem 3rem 4.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.5rem);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    visibility 260ms ease;
}

.stage-layer.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.stage-hero {
  justify-content: flex-end;
}

.hero-kicker {
  position: absolute;
  right: 3rem;
  top: 8.5rem;
  max-width: 16rem;
  text-align: right;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-kicker p,
.hero-active p,
.hero-active li,
.hero-actions p,
.chapter-meta p,
.section-label {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-active {
  position: absolute;
  left: 3rem;
  top: 8.5rem;
  color: var(--dim);
  font-size: 0.62rem;
}

.hero-active p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.hero-active ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-active li + li {
  margin-top: 0.25rem;
}

.hero-copy {
  width: min(100%, 68rem);
}

.hero-copy h1,
.manifesto-copy h2,
.chapter-title h2,
.featured-work h2,
.studio-footer h2 {
  margin: 0;
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: 4.8rem;
}

.hero-copy h1 span,
.manifesto-copy h2 span,
.studio-footer h2 span {
  display: block;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero-actions p,
.chapter-meta,
.section-label {
  color: var(--muted);
  font-size: 0.68rem;
}

.hero-actions a,
.featured-copy a,
.studio-footer a[data-scroll-top] {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  padding: 0.78rem 1rem;
  color: var(--fg);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.hero-actions a:hover,
.featured-copy a:hover,
.studio-footer a[data-scroll-top]:hover {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--bg);
}

.manifesto-copy {
  width: min(100%, 72rem);
  margin: auto;
}

.manifesto-copy h2 {
  font-size: 3.25rem;
}

.manifesto-grid {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  width: min(100%, 58rem);
}

.manifesto-grid h3 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.manifesto-grid p,
.chapter-copy p,
.featured-copy p,
.studio-footer p {
  margin: 0;
  color: var(--muted);
}

.chapter-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.chapter-number {
  color: var(--fg);
  font-family: inherit;
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.chapter-title {
  margin: auto 0;
}

.chapter-title h2 {
  font-size: 8.8rem;
  text-transform: uppercase;
}

.chapter-title p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chapter-copy {
  width: min(100%, 42rem);
}

.chapter-copy p:first-child {
  color: var(--fg);
  font-size: 1.45rem;
}

.chapter-copy p + p {
  margin-top: 1rem;
}

.featured-work {
  position: relative;
  z-index: 4;
  min-height: 62svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 34rem);
  gap: 4rem;
  align-items: end;
  padding: 8rem 3rem 6rem;
  background: #070604;
  border-top: 1px solid var(--line);
}

.featured-work h2 {
  margin-top: 0.8rem;
  max-width: 48rem;
  font-size: 4rem;
}

.featured-copy {
  display: grid;
  gap: 1.4rem;
}

.featured-copy a {
  justify-self: start;
}

.studio-footer {
  position: relative;
  z-index: 4;
  padding: 8rem 3rem 3rem;
  background: #050403;
}

.studio-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
}

.studio-footer h2 {
  font-size: 5.2rem;
}

.studio-footer > p {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.studio-footer p a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (max-width: 1080px) {
  .hero-copy h1 {
    font-size: 4rem;
  }

  .chapter-title h2 {
    font-size: 7rem;
  }

  .featured-work h2,
  .studio-footer h2 {
    font-size: 3.7rem;
  }
}

@media (max-width: 860px) {
  :root {
    --nav-height: 76px;
  }

  .studio-nav {
    padding: 0.9rem 1.15rem;
  }

  .studio-links {
    gap: 0.9rem;
  }

  .studio-links a:not(.studio-cta):nth-child(2),
  .studio-links a:not(.studio-cta):nth-child(3) {
    display: none;
  }

  .stage-wrap {
    height: auto;
  }

  .stage-pin {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .stage-bg {
    position: fixed;
    transform: none !important;
  }

  .stage-layer {
    position: relative;
    min-height: 100svh;
    padding: 7.5rem 1.25rem 3rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero-kicker,
  .hero-active {
    display: none;
  }

  .hero-copy h1 {
    font-size: 2.55rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .manifesto-copy h2,
  .featured-work h2,
  .studio-footer h2 {
    font-size: 2.45rem;
  }

  .manifesto-grid,
  .featured-work,
  .studio-footer > div {
    grid-template-columns: 1fr;
    display: grid;
    gap: 2rem;
  }

  .manifesto-grid {
    margin-top: 3rem;
  }

  .chapter-title h2 {
    font-size: 4.2rem;
    overflow-wrap: anywhere;
  }

  .chapter-copy p:first-child {
    font-size: 1.15rem;
  }

  .featured-work,
  .studio-footer {
    padding-inline: 1.25rem;
  }
}

@media (max-width: 520px) {
  .studio-brand {
    gap: 0.4rem;
    font-size: 0.92rem;
  }

  .studio-brand span:last-child {
    display: none;
  }

  .studio-links {
    font-size: 0.62rem;
  }

  .studio-links .studio-cta {
    padding: 0.65rem 0.75rem;
  }

  .stage-layer {
    padding-top: 6.5rem;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .manifesto-copy h2,
  .featured-work h2,
  .studio-footer h2 {
    font-size: 2rem;
  }

  .chapter-title h2 {
    font-size: 3.2rem;
  }
}

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