/* ═══════════════════════════════════════════════════════════
   SKY VILLAIN — styles
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0A0A0A;
  --bg-2: #141010;
  --fg: #F4EFE6;
  --fg-dim: #8A8680;
  --fg-mute: #4A4742;
  --accent: #7A1E2E;
  --accent-bright: #A8283C;
  --line: rgba(244, 239, 230, 0.12);
  --serif: 'Instrument Serif', serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-heavy: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

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

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); }

/* ─── intro curtain ─────────────────────────────── */
.curtain {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: grid;
  place-items: center;
  transition: clip-path 1.4s var(--ease-heavy);
  clip-path: inset(0 0 0 0);
}
.curtain.done { clip-path: inset(100% 0 0 0); pointer-events: none; }

.curtain__inner {
  width: min(560px, 80vw);
  text-align: center;
  position: relative;
}
.curtain__mark {
  width: 140px; height: 140px;
  object-fit: contain;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 40px rgba(122, 30, 46, 0.5));
  animation: markPulse 2.5s ease-in-out infinite;
}
@keyframes markPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.9; }
}
.curtain__counter {
  font-family: var(--mono);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 24px;
  font-weight: 500;
}
.curtain__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ─── cursor ────────────────────────────────────── */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 900;
  mix-blend-mode: difference;
}
.cursor {
  width: 40px; height: 40px;
  border: 1px solid var(--fg);
  border-radius: 100px;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.25s;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  overflow: hidden;
  white-space: nowrap;
  padding: 0 14px;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--fg);
  border-radius: 100px;
  transform: translate(-50%, -50%);
}
.cursor.is-active {
  width: 120px; height: 120px;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
  mix-blend-mode: normal;
}
.cursor.is-link { width: 60px; height: 60px; }
body.no-cursor { cursor: auto; }
body.no-cursor .cursor, body.no-cursor .cursor-dot { display: none; }
body:not(.no-cursor), body:not(.no-cursor) a, body:not(.no-cursor) button { cursor: none; }

@media (max-width: 800px) {
  .cursor, .cursor-dot { display: none !important; }
  body { cursor: auto !important; }
}

/* ─── clouds (drifting) ─────────────────────────── */
.cloud-layer {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.cloud {
  position: absolute;
  background: var(--accent);
  opacity: 0;
  filter: blur(0.4px);
  will-change: transform, opacity;
  -webkit-mask: url('assets/logo-clouds.png') center/contain no-repeat;
  mask: url('assets/logo-clouds.png') center/contain no-repeat;
}
body.no-clouds .cloud-layer { display: none; }

/* ─── grain ─────────────────────────────────────── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 800;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.8 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  animation: grainShift 0.7s steps(6) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0,0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-2%, 5%); }
  80% { transform: translate(4%, 2%); }
  100% { transform: translate(0,0); }
}
body.no-grain .grain { display: none; }

/* ─── nav ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 20px 32px;
  gap: 32px;
  transition: transform 0.5s var(--ease), background 0.3s;
}
.nav.hidden { transform: translateY(-110%); }
.nav.scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav__brand img {
  width: 28px; height: 28px; object-fit: contain;
}

.nav__links {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 32px;
}
.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.3s;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.nav__links a:hover { color: var(--fg); }
.nav__num {
  font-size: 9px;
  color: var(--accent-bright);
  opacity: 0.8;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), border-color 0.4s, color 0.4s;
  position: relative;
  overflow: hidden;
}
.nav__cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-heavy);
  z-index: -1;
}
.nav__cta:hover::before { transform: translateY(0); }
.nav__cta:hover { border-color: var(--accent); }
.nav__cta svg { width: 14px; height: 14px; }

@media (max-width: 900px) {
  .nav { padding: 14px 18px; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta span { display: none; }
}

/* ─── HERO ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 96px 32px 40px;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 24px;
  align-content: start;
  overflow: hidden;
}

.hero__meta {
  position: absolute;
  top: 96px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.hero__meta--tl { left: 32px; }
.hero__meta--tr { right: 32px; }
.tick {
  color: var(--accent-bright);
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.hero__stage {
  align-self: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  max-height: 56vh;
  position: relative;
}
.hero__video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.hero__video {
  position: absolute; inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.placeholder {
  width: 100%; height: 100%;
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(244, 239, 230, 0.02) 0 2px,
      transparent 2px 18px
    ),
    linear-gradient(180deg, #181312, #0c0808);
  display: grid;
  place-items: center;
  color: var(--fg-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  overflow: hidden;
}
.placeholder__label {
  position: absolute;
  top: 16px; left: 16px;
  color: var(--accent-bright);
}
.placeholder__play {
  width: 88px; height: 88px;
  border: 1px solid var(--fg);
  border-radius: 100px;
  display: grid; place-items: center;
  transition: transform 0.5s var(--ease), background 0.4s, border-color 0.4s;
}
.hero__stage:hover .placeholder__play {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.placeholder__play svg { width: 28px; height: 28px; color: var(--fg); }
.placeholder__bars {
  position: absolute;
  bottom: 16px; left: 16px;
  display: flex; gap: 3px; align-items: end; height: 18px;
}
.placeholder__bars span {
  width: 3px;
  background: var(--fg-dim);
  animation: barPulse 1.2s var(--ease) infinite;
}
.placeholder__bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.placeholder__bars span:nth-child(2) { height: 80%; animation-delay: 0.1s; }
.placeholder__bars span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.placeholder__bars span:nth-child(4) { height: 95%; animation-delay: 0.3s; }
.placeholder__bars span:nth-child(5) { height: 55%; animation-delay: 0.4s; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.4); opacity: 1; }
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  text-align: center;
}
/* legacy line wrapper kept for fallback */
.line {
  display: block;
  overflow: hidden;
}
.line__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-heavy);
}
.line__inner--in { transform: translateY(0); }

/* ─── hero title v2 ──────────────────────────────── */
.hero__title--v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 24px auto 0;
  padding: 0 24px;
  max-width: 14ch;
}
.hero__title--v2 .hero__rule {
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent-bright);
  margin-bottom: 22px;
  opacity: 0;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1) 0.2s, opacity 0.6s 0.2s;
}
.loaded .hero__title--v2 .hero__rule { width: 84px; opacity: 0.9; }

.hero__title--v2 .hero__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s 0.45s, transform 0.7s 0.45s;
}
.loaded .hero__title--v2 .hero__eyebrow { opacity: 1; transform: none; }
.hero__title--v2 .hero__eyebrow .tick {
  font-size: 7px;
  color: var(--accent-bright);
  animation: pulse 2s ease-in-out infinite;
}

.hero__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28em;
  line-height: 0.92;
}
.hero__line--bot { margin-top: 0.04em; }

.word {
  display: inline-block;
  overflow: hidden;
  padding: 0.05em 0.05em 0.32em;
  vertical-align: top;
}
.word > span {
  display: inline-block;
  transform: translateY(110%);
  filter: blur(14px);
  opacity: 0;
  transition:
    transform 1.05s cubic-bezier(0.22,1,0.36,1),
    filter   0.9s ease,
    opacity  0.9s ease;
}
.loaded .word > span { transform: translateY(0); filter: blur(0); opacity: 1; }

/* word-by-word stagger */
.hero__line--top .word:nth-child(1) > span { transition-delay: 0.65s, 0.65s, 0.65s; }
.hero__line--bot .word:nth-child(1) > span { transition-delay: 0.95s, 0.95s, 0.95s; }
.hero__line--bot .word:nth-child(2) > span { transition-delay: 1.05s, 1.05s, 1.05s; }
.hero__line--bot .word:nth-child(3) > span { transition-delay: 1.18s, 1.18s, 1.18s; }
.hero__line--bot .word:nth-child(4) > span { transition-delay: 1.30s, 1.30s, 1.30s; }

/* the italic emphasis word — wine red, true italic */
.word--em .story-mark {
  font-style: normal;
  color: var(--accent-bright);
  font-feature-settings: "ss01" on;
  position: relative;
}
/* underline draws in after word lands */
.word--em .story-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.06em;
  height: 2px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1) 1.85s;
}
.loaded .word--em .story-mark::after { transform: scaleX(1); }

.word--dot { margin-left: -0.18em; }
.word--dot > span { color: var(--accent-bright); }

@media (max-width: 640px) {
  .hero__title--v2 { font-size: clamp(48px, 14vw, 96px); }
  .hero__title--v2 .hero__rule { margin-bottom: 16px; }
  .hero__title--v2 .hero__eyebrow { margin-bottom: 18px; font-size: 10px; letter-spacing: 0.28em; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
/* legacy hero title (kept minimal — overridden by .hero__title--v2) */
.hero__title { line-height: 0.88; letter-spacing: -0.035em; }

.hero__caption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  gap: 24px;
  padding: 0 8px;
}
.cap-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.cap-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.scroll-hint {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.scroll-hint svg {
  width: 12px; height: 18px;
  animation: scrollBob 2s var(--ease) infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(4px); opacity: 0.5; }
}

/* ─── marquee ───────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}
.marquee__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  font-style: italic;
  letter-spacing: -0.02em;
}
.marquee__track > span:nth-child(odd) { color: var(--fg); }
.marquee__track > span:nth-child(even) { color: var(--accent); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── sections ──────────────────────────────────── */
.section {
  position: relative;
  padding: 160px 32px;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 3;
}
.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 8px 32px;
  margin-bottom: 120px;
  align-items: end;
}
.section__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 28px;
}
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  grid-column: 2;
}
.section__title em { color: var(--accent-bright); font-style: italic; }
.section__lede {
  grid-column: 2;
  max-width: 620px;
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.5;
  justify-self: end;
  align-self: end;
  padding-bottom: 24px;
  text-wrap: pretty;
}

.reveal { display: block; overflow: hidden; padding-bottom: 0.18em; }
.reveal > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-heavy);
}
.reveal.in > span { transform: translateY(0); }
.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease) 0.2s, transform 0.9s var(--ease) 0.2s;
}
.reveal-fade.in { opacity: 1; transform: translateY(0); }

/* ─── past-work archive page ───────────────────── */
.page-past { padding-top: 0; }
.page-past .section.work { padding-top: 32px; padding-bottom: 120px; }
.past-hero {
  padding: 180px 32px 24px;
  max-width: 1600px;
  margin: 0 auto;
}
.past-hero__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.past-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.past-hero__title em { color: var(--accent-bright); font-style: italic; }
.past-hero__lede {
  max-width: 640px;
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.5;
  text-wrap: pretty;
}

.archive { padding-top: 40px; padding-bottom: 120px; }
.archive__list { list-style: none; }
.archive__row {
  border-top: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.archive__row:last-child { border-bottom: 1px solid var(--line); }
.archive__row:not(.archive__row--empty):hover {
  background: linear-gradient(90deg, rgba(122, 30, 46, 0.12), transparent);
}
.archive__link {
  display: grid;
  grid-template-columns: 60px 80px 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 32px 24px;
  transition: padding 0.5s var(--ease);
}
.archive__row:not(.archive__row--empty):hover .archive__link { padding-left: 40px; }
.archive__idx {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent-bright);
}
.archive__year {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
}
.archive__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s, transform 0.5s var(--ease);
}
.archive__row:hover .archive__title { color: var(--accent-bright); transform: translateX(10px); }
.archive__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.archive__host {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s, transform 0.5s var(--ease);
}
.archive__row:hover .archive__host { opacity: 1; transform: translateX(0); }
.archive__row--empty {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 24px;
  color: var(--fg-mute);
  font-style: italic;
  font-family: var(--serif);
  font-size: 16px;
}
.archive__row--empty .archive__idx { color: var(--fg-mute); font-style: normal; }
.archive__row--empty code {
  font-family: var(--mono);
  font-style: normal;
  font-size: 13px;
  background: rgba(244,239,230,0.06);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--fg-dim);
}
.nav__links a.is-active { color: var(--fg); }
.nav__links a.is-active .nav__num { color: var(--accent-bright); opacity: 1; }
@media (max-width: 900px) {
  .archive__link { grid-template-columns: 40px 1fr; }
  .archive__year, .archive__tag, .archive__host { display: none; }
}

/* ─── current projects (compact) ────────────────── */
.section__head--center {
  display: block;
  text-align: center;
  margin-bottom: 80px;
}
.section__head--center .section__num {
  display: block;
  text-align: center;
  padding: 0;
  margin-bottom: 18px;
}
.current-projects-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: inline-block;
}
.current-projects-title em { color: var(--accent-bright); font-style: italic; }

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}
.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: transform 0.5s var(--ease);
}
.project:hover { transform: translateY(-6px); }
.project__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.project:hover .project__title { color: var(--accent-bright); transition: color 0.3s; }
.project__poster {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050303;
  transition: border-color 0.4s;
}
.project:hover .project__poster { border-color: var(--accent); }
.project__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.04);
}
.project__poster--placeholder .placeholder { position: absolute; inset: 0; }
.project__status {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 10px;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.project__desc {
  font-size: 15px;
  color: var(--fg-dim);
  max-width: 38ch;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (max-width: 700px) {
  .projects { grid-template-columns: 1fr; gap: 48px; }
}

/* ─── slate (work) ──────────────────────────────── */
.slate { display: flex; flex-direction: column; gap: 120px; }

/* featured: big poster + copy side-by-side */
.slate__feature {
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  gap: 64px;
  align-items: center;
}
.slate__poster {
  position: relative;
  border: 1px solid var(--line);
  background: #050303;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  transition: transform 0.7s var(--ease);
}
.slate__feature:hover .slate__poster { transform: translateY(-6px); }
.slate__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.95) contrast(1.04);
}
.slate__status {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.slate__feat-copy { max-width: 560px; }
.slate__meta {
  display: flex;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  text-transform: uppercase;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.slate__idx { color: var(--accent-bright); }
.slate__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.slate__desc {
  font-size: 17px;
  color: var(--fg-dim);
  max-width: 540px;
  margin-bottom: 40px;
  text-wrap: pretty;
  line-height: 1.55;
}
.slate__credits {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.slate__credits > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }

/* grid of supporting cards */
.slate__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); }
.card__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: border-color 0.4s;
}
.card:hover .card__thumb { border-color: var(--accent); }
.card__thumb .placeholder { position: absolute; inset: 0; }
.card__status {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 9px;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
}
.card__meta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--fg-dim);
  text-transform: uppercase;
  padding-top: 4px;
}
.card__meta > span:first-child { color: var(--accent-bright); }
.card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  transition: color 0.3s;
}
.card:hover .card__title { color: var(--accent-bright); }
.card--tbd .card__title { color: var(--fg-mute); letter-spacing: -0.05em; }
.card__desc { font-size: 14px; color: var(--fg-dim); line-height: 1.5; max-width: 34ch; text-wrap: pretty; }

.placeholder--work {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(244, 239, 230, 0.03) 0 1px,
      transparent 1px 8px
    ),
    linear-gradient(135deg, #1a1414, #0a0606);
}
.placeholder--redacted {
  background: repeating-linear-gradient(45deg, #1a1414 0 12px, #0a0606 12px 24px);
}

@media (max-width: 1100px) {
  .slate__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .slate__feature { grid-template-columns: 1fr; gap: 32px; }
  .slate__poster { max-width: 420px; }
  .slate__credits { grid-template-columns: 1fr 1fr; gap: 20px; }
  .slate__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ─── roster ────────────────────────────────────── */
.roster__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.member {
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.6s var(--ease);
}
.member:hover { transform: translateY(-8px); }
.member__portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.5s;
}
.member:hover .member__portrait { border-color: var(--accent); }

.placeholder--portrait {
  background:
    repeating-linear-gradient(45deg, rgba(244,239,230,0.03) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #1a1414, #0a0606);
}

.member__body { padding: 0 4px; }
.member__role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.member__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.member p { font-size: 14px; color: var(--fg-dim); line-height: 1.55; max-width: 38ch; text-wrap: pretty; }

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

/* ─── vision ────────────────────────────────────── */
.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 80px;
}
.engine {
  background: var(--bg);
  padding: 56px 40px;
  transition: background 0.5s;
}
.engine:hover { background: #110c0c; }
.engine__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  margin-bottom: 24px;
}
.engine__title {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  margin-bottom: 32px;
}
.engine--alt .engine__title { color: var(--accent-bright); font-style: italic; }
.engine__list {
  list-style: none;
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
}
.engine__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  transition: color 0.3s, padding 0.4s var(--ease);
}
.engine__list li::before {
  content: "—";
  color: var(--fg-dim);
  font-family: var(--mono);
}
.engine__list li:hover { padding-left: 10px; color: var(--accent-bright); }
.engine__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--fg-dim);
}

.pullquote {
  max-width: 1000px;
  margin: 0 auto 120px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.pullquote p {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.pullquote em { color: var(--accent-bright); }

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.timeline__col {
  background: var(--bg);
  padding: 40px;
}
.timeline__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  margin-bottom: 24px;
}
.timeline__col ul { list-style: none; }
.timeline__col li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg);
}
.timeline__col li:last-child { border: 0; }

@media (max-width: 900px) {
  .vision__grid, .timeline { grid-template-columns: 1fr; }
}

/* ─── contact ───────────────────────────────────── */
.contact {
  text-align: left;
  padding-top: 120px;
}
.contact__shout {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 24px auto 80px;
  max-width: 14ch;
}
.contact__shout em { color: var(--accent-bright); font-style: italic; }

/* ─── contact form ────────────────────────────── */
.contact__form {
  max-width: 880px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cf__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.cf__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cf__field:nth-child(odd) {
  padding-right: 28px;
  border-right: 1px solid var(--line);
}
.cf__field:nth-child(even) { padding-left: 28px; }
.cf__field--full {
  grid-column: 1 / -1;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-right: 0 !important;
}
.cf__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cf__num {
  color: var(--accent-bright);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.cf__field input,
.cf__field textarea,
.cf__field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 6px 0 10px;
  color: var(--fg);
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  outline: none;
  width: 100%;
  resize: none;
  transition: border-color 0.4s var(--ease), color 0.4s;
  caret-color: var(--accent-bright);
}
.cf__field textarea {
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 17px;
  line-height: 1.55;
  min-height: 120px;
  padding-top: 4px;
}
.cf__field select {
  font-family: var(--sans, 'Inter Tight', sans-serif);
  font-size: 17px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-dim) 50%),
                    linear-gradient(135deg, var(--fg-dim) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.cf__field select option {
  background: var(--bg);
  color: var(--fg);
}
.cf__field input:focus,
.cf__field textarea:focus,
.cf__field select:focus {
  border-bottom-color: var(--accent-bright);
}
.cf__field input::placeholder,
.cf__field textarea::placeholder {
  color: var(--fg-dim);
  opacity: 0.4;
}

.cf__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 8px;
}
.cf__send-to {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--fg);
}
.cf__submit {
  background: var(--accent);
  color: var(--fg);
  border: 0;
  padding: 22px 36px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), letter-spacing 0.4s var(--ease);
}
.cf__submit svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.cf__submit:hover {
  background: var(--accent-bright);
  letter-spacing: 0.28em;
}
.cf__submit:hover svg { transform: translateX(4px); }
.cf__submit.is-sent {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-dim);
  pointer-events: none;
}

.cf__note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin: 0;
}
.cf__note a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.3s, text-decoration-color 0.3s;
}
.cf__note a:hover {
  color: var(--accent-bright);
  text-decoration-color: var(--accent-bright);
}

@media (max-width: 720px) {
  .cf__grid { grid-template-columns: 1fr; }
  .cf__field:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }
  .cf__field:nth-child(even) { padding-left: 0; }
  .cf__foot { flex-direction: column; align-items: flex-start; }
  .cf__submit { width: 100%; justify-content: center; }
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 80px;
}
.contact__link {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-right: 40px;
  padding-left: 40px;
  gap: 24px;
  transition: background 0.4s, padding-left 0.5s var(--ease);
  position: relative;
}
.contact__link:nth-child(odd) { border-right: 1px solid var(--line); }
.contact__link:hover {
  background: linear-gradient(90deg, rgba(122, 30, 46, 0.15), transparent);
  padding-left: 56px;
}
.contact__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  text-transform: uppercase;
}
.contact__val {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 36px);
}
.contact__link:hover .contact__val { color: var(--accent-bright); }

.contact__open {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact__open .cap-label {
  display: block;
  margin-bottom: 16px;
}
.contact__open p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  margin-top: 12px;
  text-wrap: pretty;
}

@media (max-width: 800px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__link:nth-child(odd) { border-right: 0; }
}

/* ─── footer ────────────────────────────────────── */
.foot {
  padding: 60px 32px 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 3;
}
.foot__mark {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.foot__mark img { width: 32px; height: 32px; object-fit: contain; }
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  justify-content: end;
  font-size: 13px;
  color: var(--fg-dim);
}
.foot__tick {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
}

@media (max-width: 700px) {
  .foot { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; justify-content: start; gap: 24px; }
}

/* ─── tweaks ────────────────────────────────────── */
.tweaks {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 280px;
  background: #0f0a0a;
  border: 1px solid var(--line);
  z-index: 950;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tweaks[hidden] { display: none; }
.tweaks__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tweaks__head button { font-size: 16px; }
.tweaks__body { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.tweaks__body label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.tweaks__body select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 8px;
  font: inherit;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
}
.swatches { display: flex; gap: 6px; }
.swatches button {
  width: 24px; height: 24px;
  background: var(--sw);
  border: 1px solid var(--line);
  transition: transform 0.2s, border-color 0.2s;
}
.swatches button:hover { transform: scale(1.12); border-color: var(--fg); }
.swatches button.active { border-color: var(--fg); transform: scale(1.12); }

/* responsive hero */
@media (max-width: 700px) {
  .section { padding: 100px 20px; }
  .section__head { grid-template-columns: 1fr; margin-bottom: 60px; }
  .section__num { grid-column: 1; grid-row: 1; padding-top: 0; margin-bottom: 16px; }
  .section__title { grid-column: 1; grid-row: 2; }
  .section__lede { grid-column: 1; grid-row: 3; justify-self: start; padding-bottom: 0; margin-top: 16px; }
  .hero { padding: 100px 20px 40px; }
  .hero__meta--tl, .hero__meta--tr { position: static; }
  .hero { gap: 20px; }
  .hero__meta--tr { text-align: right; }
  .hero__stage { aspect-ratio: 4/3; }
  .contact__shout { margin-bottom: 60px; }
  .foot { padding: 40px 20px 30px; }
}
