:root {
  --bg: #000;
  --fg: #f4f5f6;
  --text: #c5ced6;
  --steel: #93a3b3;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.34);
  --pad: clamp(20px, 4vw, 72px);
  --max: 1120px;
  --nav-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("../assets/noise.png");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--fg);
  color: #000;
}

:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

main,
.footer {
  position: relative;
  z-index: 2;
}

.kicker {
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
.h1 {
  font-size: clamp(46px, 7.4vw, 104px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
}

h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.lede,
.logline {
  color: var(--fg);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.text {
  color: var(--text);
  max-width: 62ch;
}

.text + .text,
.lede + .text,
.text + .lede {
  margin-top: 1.15em;
}

.section {
  padding: clamp(88px, 12vw, 150px) 0;
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: #000;
  transition: box-shadow 0.4s var(--ease);
}

.nav.is-scrolled {
  box-shadow: none;
}

.nav-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 18px rgba(255, 255, 255, 0.35);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav-links > a {
  position: relative;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.35s var(--ease);
}

.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav-links > a:hover,
.nav-links > a[aria-current="page"] {
  color: #fff;
}

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

.nav-end {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.nav-contact {
  display: none;
}

.nav-extra {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  transition: transform 0.45s var(--ease);
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(40deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4px) rotate(-40deg);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--pad) 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(560px, 78vw);
  height: min(560px, 78vw);
  transform: translate(-50%, -62%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 34%, transparent 68%);
  pointer-events: none;
  animation: glow 8s ease-in-out infinite;
}

.hero-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: auto;
  height: auto;
  max-width: min(520px, 84vw);
  max-height: min(360px, 48svh);
  animation: appear 1.25s var(--ease) both;
}

.hero-kicker {
  margin-top: 36px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: appear 1.25s 0.18s var(--ease) both;
}

.hero-kicker br {
  display: none;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: var(--steel);
  text-decoration: none;
}

.scroll-cue-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  animation: appear 1.25s 0.4s var(--ease) both;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--steel), transparent);
  transform-origin: top;
  animation: drop 2.4s var(--ease) infinite;
}

.manifesto-grid,
.feature,
.studio-top,
.contact-layout,
.split-copy {
  display: grid;
  gap: clamp(28px, 5vw, 80px);
}

.split-copy {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.manifesto-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
}

.manifesto h1 {
  max-width: 9em;
}

.punch {
  margin-top: 22px;
  color: var(--fg);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.star-rule {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.star-rule span {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.star-rule img {
  height: 18px;
  width: auto;
}

.feature {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: stretch;
}

.feature h2 {
  margin: 14px 0 18px;
  font-size: clamp(48px, 6.2vw, 88px);
}

.feature .text {
  margin-top: 18px;
}

.feature .btn {
  margin-top: 32px;
}

.instrument {
  border: 1px solid var(--line);
  min-height: 100%;
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
}

.instrument-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.instrument-top img {
  height: 36px;
  width: auto;
}

.instrument-top .instrument-icon {
  height: auto;
  width: 72px;
}

.instrument-num {
  font-size: clamp(120px, 12vw, 188px);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.instrument-word {
  font-size: clamp(64px, 7vw, 92px);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.instrument-cap {
  margin-top: 12px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.instrument-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.instrument-meta li span:first-child {
  color: var(--steel);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.section-head h2 {
  max-width: 8em;
}

.principle {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.7fr) 1.3fr;
  gap: 20px 28px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-no {
  color: var(--steel);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease);
}

.principle:hover .principle-no {
  color: var(--fg);
}

.principle p:last-child {
  color: var(--text);
}

.signal {
  padding-bottom: clamp(28px, 4vw, 48px);
}

.signal h2 {
  margin: 16px 0 28px;
}

.signal-email {
  display: inline-block;
  max-width: 100%;
  color: var(--fg);
  font-size: clamp(28px, 4.8vw, 64px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-decoration: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease);
}

.signal-email:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.signal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.signal-links a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.signal-links a span:last-child {
  font-size: clamp(16px, 1.5vw, 18px);
  letter-spacing: -0.02em;
}

.signal-links a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.btn:hover svg,
.btn:focus-visible svg {
  transform: translateX(4px);
}

.footer {
  padding: clamp(72px, 10vw, 120px) 0 36px;
  text-align: center;
}

.footer-logo {
  width: min(210px, 62vw);
  margin-inline: auto;
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--steel);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.socials a:hover,
.socials a:focus-visible {
  color: #000;
  background: #fff;
  border-color: #fff;
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 22px;
}

.footer-nav a {
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.35s var(--ease);
}

.footer-nav a:hover {
  color: var(--fg);
}

.legal {
  margin-top: 22px;
  color: var(--steel);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.legal-copy h2 {
  margin-top: 2.2em;
  margin-bottom: 0.45em;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p + p,
.legal-copy ul + p,
.legal-copy p + ul {
  margin-top: 0.9em;
}

.legal-copy a {
  color: var(--fg);
}

.legal-copy ul {
  max-width: 62ch;
  padding-left: 1.15em;
  color: var(--text);
  list-style: disc;
}

.legal-copy li + li {
  margin-top: 0.35em;
}

.chapter {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + clamp(36px, 7vw, 92px)) 0 clamp(28px, 5vw, 56px);
}

.chapter .kicker {
  display: block;
  margin-bottom: 18px;
}

.chapter h1 {
  max-width: 10em;
}

.chapter .lede {
  margin-top: 28px;
  max-width: 22em;
}

.chapter-mark {
  height: 64px;
  width: auto;
  margin-bottom: 28px;
}

.studio-top {
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  align-items: end;
  padding-bottom: clamp(20px, 4vw, 40px);
}

.studio-star {
  width: min(240px, 54vw);
  height: auto;
  justify-self: start;
}

.studio-copy {
  display: grid;
  gap: 0 64px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: clamp(36px, 5vw, 64px) 0;
}

.facts div {
  padding: 22px 22px 22px 0;
}

.facts div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.facts dt {
  color: var(--steel);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.facts dd {
  margin: 8px 0 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.block-title {
  margin-bottom: 22px;
}

.steps {
  margin-top: 8px;
}

.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px 28px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-no {
  color: var(--steel);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding-top: 8px;
}

.step p {
  margin-top: 10px;
  color: var(--text);
  max-width: 62ch;
}

.band {
  margin-top: clamp(56px, 8vw, 96px);
}

.home-link h2 {
  margin: 14px 0 0;
  font-size: clamp(48px, 6.2vw, 88px);
}

.home-link-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.home-link .text {
  margin-top: 0;
  max-width: 42ch;
}

.home-link .btn {
  margin-top: 32px;
}

.home-link .text + .text {
  margin-top: 1.15em;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.team-person {
  text-align: center;
  cursor: pointer;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid transparent;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.team-person:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.team-person:focus {
  outline: none;
}

.team-person:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.team-portrait {
  display: block;
  width: 72px;
  height: auto;
  margin: 0 auto 20px;
  opacity: 0.9;
}

.team-focus {
  position: fixed;
  inset: 0;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  margin: auto;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 48px);
  overflow: auto;
  border: 1px solid var(--line);
  background: #000;
  color: var(--fg);
}

.team-focus::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.team-focus-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  color: var(--steel);
  font-size: 28px;
  line-height: 1;
  transition: color 0.35s var(--ease);
}

.team-focus-close:hover,
.team-focus-close:focus-visible {
  color: var(--fg);
}

.team-focus-stage .team-person {
  cursor: default;
  opacity: 1;
  outline: none;
}

.team-focus-stage .team-portrait {
  width: 120px;
  margin-bottom: 28px;
}

.team-focus-stage .team-person h3 {
  font-size: clamp(36px, 5vw, 52px);
}

.team-focus-stage .team-person .text {
  max-width: 42ch;
}

.team-person h3 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.team-role {
  margin: 0 auto 18px;
  max-width: 28ch;
  color: var(--fg);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.team-person .text {
  margin-inline: auto;
  max-width: 40ch;
}

.team-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.team-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.35s var(--ease);
}

.team-socials a:hover,
.team-socials a:focus-visible {
  color: var(--fg);
}

.team-socials svg {
  width: 20px;
  height: 20px;
}

.horizon-scroll {
  position: relative;
  z-index: 2;
}

.horizon-scroll-track {
  height: 300vh;
}

.horizon-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--pad);
  text-align: center;
}

.horizon-phrase {
  --horizon-scale: 0.94;
  grid-area: 1 / 1;
  margin: 0;
  max-width: 12em;
  color: var(--fg);
  font-size: clamp(42px, 8.5vw, 112px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px) scale(var(--horizon-scale));
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
  will-change: transform, opacity;
}

.horizon-phrase.is-active {
  opacity: 1;
  transform: translateY(0) scale(var(--horizon-scale));
  transition: opacity 0.45s var(--ease), transform 0.05s linear;
}

.manifesto .btn {
  margin-top: 32px;
}

.manifesto-grid h2 {
  margin: 14px 0 0;
  font-size: clamp(48px, 6.2vw, 88px);
}

.next-work {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.next-work strong {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.next-work span:last-child {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.next-work:hover,
.next-work:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.project {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px 32px;
  align-items: start;
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.project-static {
  cursor: default;
}

.project:last-child {
  border-bottom: 1px solid var(--line);
}

.project-index {
  color: var(--steel);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding-top: 8px;
  transition: color 0.4s var(--ease);
}

.project-main {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 36px);
  min-width: 0;
}

.game-icon {
  display: block;
  width: clamp(88px, 12vw, 128px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18%;
  flex-shrink: 0;
}

.project-icon {
  width: clamp(88px, 12vw, 128px);
  margin-top: 2px;
}

.project-cover {
  display: block;
  width: clamp(112px, 16vw, 168px);
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  margin-top: 2px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.03) 10px,
      rgba(255, 255, 255, 0.03) 11px
    );
  border: 1px solid var(--line);
}

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

.chapter-icon {
  width: clamp(120px, 18vw, 168px);
  margin-bottom: 28px;
}

.project-title {
  display: block;
  margin: 12px 0 16px;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.project-line {
  display: block;
  margin-bottom: 14px;
  color: var(--fg);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.project .text {
  max-width: 58ch;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-arrow {
  padding-top: 8px;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.4s var(--ease);
}

.project:hover .project-index,
.project:focus-visible .project-index {
  color: var(--fg);
}

.project:hover .project-arrow,
.project:focus-visible .project-arrow {
  transform: translateX(6px);
}

.contact-layout {
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.1fr);
  align-items: start;
  margin-top: clamp(36px, 6vw, 72px);
}

.contact-list li + li {
  margin-top: 22px;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field {
  display: block;
  margin-bottom: 26px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.01em;
}

textarea {
  min-height: 150px;
  resize: vertical;
  border: 1px solid var(--line);
  padding: 14px;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: #fff;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--fg);
  box-shadow: 0 0 0 1000px #000 inset;
  caret-color: var(--fg);
}

.form-note {
  margin: 14px 0 22px;
  color: var(--steel);
  font-size: 14px;
  max-width: 46ch;
}

.form-feedback {
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  max-width: 36ch;
}

.form-feedback .kicker {
  margin-bottom: 10px;
}

.form-feedback-text {
  margin: 0;
  color: var(--fg);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.form-feedback[data-state="error"] .form-feedback-text {
  color: var(--text);
  font-size: clamp(16px, 1.6vw, 18px);
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.contact-form .btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

@keyframes drop {
  0% {
    transform: scaleY(0.2);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    margin-left: 0;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 108px var(--pad) 48px;
    background: #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }

  .nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links > a {
    font-size: clamp(40px, 10vw, 60px);
    font-weight: 300;
    letter-spacing: -0.045em;
    text-transform: none;
    color: #fff;
    line-height: 1.05;
  }

  .nav-links > a::after {
    display: none;
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 36px;
  }

  .nav-extra a {
    color: var(--steel);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .nav-extra a[href^="mailto:"] {
    letter-spacing: 0.04em;
    text-transform: none;
  }
}

@media (max-width: 860px) {
  .manifesto-grid,
  .feature,
  .studio-top,
  .contact-layout,
  .split-copy,
  .home-link-split,
  .team-grid,
  .signal-links,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .studio-star {
    width: min(160px, 42vw);
  }

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

  .facts div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .facts div:nth-child(3),
  .facts div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .principle {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .principle p:last-child {
    grid-column: 2;
  }

  .project {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .project-main,
  .project-body {
    grid-column: 1 / -1;
  }

  .project-arrow {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .project-main {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-kicker br {
    display: block;
  }
}

@media (max-width: 560px) {
  .facts {
    grid-template-columns: 1fr;
  }

  .facts div,
  .facts div + div {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .facts div:first-child {
    border-top: 0;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-no {
    padding-top: 0;
  }
}

@media (max-height: 740px) {
  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .horizon-scroll-track {
    height: auto;
  }

  .horizon-scroll-sticky {
    position: relative;
    height: auto;
    min-height: 50vh;
    padding-block: clamp(72px, 12vw, 140px);
  }

  .horizon-phrase {
    position: static;
    opacity: 0.28;
    transform: none;
  }

  .horizon-phrase.is-active {
    opacity: 1;
  }
}
