/* Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Top fade, so the upper screens fall away into the dark instead of being cut by the frame */
.hero::before {
  content: "";
  position: absolute; inset: 0 0 auto; height: 30%; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(9, 6, 5, 0.72) 0%, rgba(9, 6, 5, 0.3) 45%, rgba(9, 6, 5, 0) 100%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(9, 6, 5, 0.88) 0%, rgba(9, 6, 5, 0.45) 18%, rgba(9, 6, 5, 0) 38%);
}
.hero__text {
  position: absolute; z-index: 2;
  left: 0; right: 0; bottom: calc(6vh + env(safe-area-inset-bottom));
  padding: 0 var(--gutter);
  text-align: center;
}
.hero__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: min(14.5vw, 19vh);
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  white-space: nowrap;
}
.hero__name em { font-style: italic; color: var(--rose); font-variation-settings: "opsz" 144, "SOFT" 100; }
.hero__name em .cm { padding-right: 0.1em; margin-right: -0.1em; }
.hero__roles {
  margin: 2.6vh 0 0;
  display: flex; justify-content: center; flex-wrap: wrap;
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.5;
  color: rgba(244, 237, 227, 0.82);
  font-variation-settings: "opsz" 24;
}
.hero__roles span { padding: 0 clamp(14px, 1.6vw, 24px); }
.hero__roles span + span { border-left: 1px solid rgba(244, 237, 227, 0.22); }
.hero__roles i { font-style: italic; color: rgba(244, 237, 227, 0.45); padding: 0 0.1em; }

/* About ────────────────────────────────────────────────────── */
.about {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(100px, 13vw, 190px) var(--gutter);
}
.about__grid {
  max-width: 1120px; margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(48px, 8vw, 128px);
  align-items: center;
}
.portrait { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--cream-2); }
.portrait img { width: 100%; height: 112%; margin-top: -6%; object-fit: cover; object-position: 50% 30%; }
.about h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.about__lead {
  margin: 14px 0 clamp(32px, 4vw, 52px);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 1.9vw, 26px);
  color: var(--muted);
}
.things { list-style: none; margin: 0; padding: 0; }
.things li {
  position: relative;
  padding-left: 1.15em;
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
.things li + li { margin-top: 0.5em; }
.things li::before { content: "–"; position: absolute; left: 0; color: var(--caramel); }
.things .mail { color: var(--rose-deep); border-bottom: 1px solid currentColor; transition: opacity 0.3s; }
.things .mail:hover { opacity: 0.7; }

/* Research ─────────────────────────────────────────────────── */
.research {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(100px, 12vw, 180px) var(--gutter) clamp(80px, 9vw, 140px);
}
.research h2 {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 5.8vw, 86px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.exhibits {
  max-width: 1180px; margin: clamp(8px, 2vw, 32px) auto 0;
  display: grid; gap: 72px 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.exhibit { display: block; text-align: center; color: inherit; }
.exhibit__stage { position: relative; height: clamp(300px, 52vh, 600px); }
.exhibits > .exhibit:only-child .exhibit__stage { height: clamp(340px, 62vh, 680px); }
.exhibit__stage::before {
  content: ""; position: absolute; inset: 8% 15% 0; pointer-events: none;
  background: radial-gradient(50% 55% at 50% 48%, color-mix(in oklab, var(--accent) 24%, transparent), transparent 72%);
  transition: opacity 0.8s var(--ease);
  opacity: 0.8;
}
.exhibit:hover .exhibit__stage::before { opacity: 1; }
.exhibit__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
.exhibit__stage.is-ready canvas { opacity: 1; }
.exhibit__title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.exhibit__title em { font-style: italic; color: var(--rose); font-variation-settings: "opsz" 144, "SOFT" 100; }
.exhibit--long .exhibit__title em { color: var(--sage); }
.exhibit__more {
  position: relative; display: inline-block;
  font-size: 15px; color: rgba(244, 237, 227, 0.68);
  padding-bottom: 4px;
  transition: color 0.4s;
}
.exhibit__more::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0.3); transition: transform 0.6s var(--ease);
}
.exhibit:hover .exhibit__more { color: var(--cream); }
.exhibit:hover .exhibit__more::after { transform: scaleX(1); }

/* Namesake film ────────────────────────────────────────────── */
.namesake {
  background: var(--cream);
  padding: clamp(90px, 11vw, 160px) var(--gutter);
}
.film { max-width: 880px; margin: 0 auto; }
.film__poster, .film iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 2px;
  background: #000;
}
.film__poster { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.25) saturate(0.9); transition: transform 1.2s var(--ease), filter 0.6s; }
.film__poster:hover img { transform: scale(1.025); filter: none; }
.film__play {
  position: absolute; left: 50%; top: 50%;
  width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(244, 237, 227, 0.92);
  transition: transform 0.5s var(--ease);
}
.film__play svg { width: 26px; height: 26px; fill: var(--ink); margin-left: 3px; }
.film__poster:hover .film__play { transform: scale(1.08); }
.film figcaption {
  margin-top: 18px;
  text-align: center;
  font-size: 15px; line-height: 1.5;
  color: var(--muted);
}
.film figcaption em { font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* Small screens ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
}
@media (max-width: 640px) {
  .hero__name { font-size: min(19vw, 15vh); }
  .hero__roles { flex-direction: column; gap: 2px; }
  .hero__roles span + span { border-left: 0; }
}
