/* ============================================================
   RMONRO — site styles
   A dark, cinematic shell: paper-white type, warm oxide accent,
   editorial serif, mono annotations and large plates.
   ============================================================ */

:root {
  --ink: #0b0a08;
  --ink-2: #12100c;
  --ink-3: #191510;
  --paper: #efe8dc;
  --paper-2: #cfc4b5;
  --mute: #8d8274;
  --line: rgba(239, 232, 220, 0.13);
  --line-strong: rgba(239, 232, 220, 0.3);
  --accent: #5a76f0;
  --accent-deep: #405de6;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --gutter: clamp(20px, 4vw, 64px);
  --rail: clamp(0px, 7vw, 108px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body[data-page='home'] {
  height: 100svh;
  overflow: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

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

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

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
}

.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: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip:focus-visible {
  transform: none;
}

/* ------------------------------------------------------------
   Chrome
   ------------------------------------------------------------ */

.chrome {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

body:not([data-page='home']) .chrome::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: clamp(110px, 16vh, 160px);
  background: linear-gradient(180deg, rgba(11, 10, 8, 0.92), rgba(11, 10, 8, 0.5) 55%, rgba(11, 10, 8, 0));
  pointer-events: none;
  z-index: -1;
}

.brand {
  position: absolute;
  top: clamp(20px, 3vw, 34px);
  left: clamp(18px, 3.2vw, 40px);
  display: block;
  pointer-events: auto;
}

.brand img {
  height: clamp(58px, 6.6vw, 92px);
  width: auto;
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.35));
}

body:not([data-page='home']) .brand img {
  height: clamp(50px, 4.4vw, 64px);
}

.nav {
  position: absolute;
  top: clamp(26px, 3.4vw, 40px);
  right: var(--gutter);
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
  pointer-events: auto;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--paper-2);
  padding: 6px 0;
  transition: color 0.35s var(--ease);
}

.nav__num {
  font-size: 8px;
  color: var(--mute);
  transition: color 0.35s var(--ease);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.5s var(--ease);
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--paper);
}

.nav a:hover::after,
.nav a[aria-current='page']::after {
  right: 0;
}

.nav a[aria-current='page'] .nav__num {
  color: var(--accent);
}

.chrome__stamp {
  position: absolute;
  left: clamp(26px, 3.4vw, 42px);
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  pointer-events: auto;
}

.chrome__stamp a:hover {
  color: var(--accent);
}

body[data-page='home'] .chrome__stamp {
  display: none;
}

.menu-btn {
  position: absolute;
  top: clamp(22px, 3.2vw, 34px);
  right: var(--gutter);
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: auto;
}

.menu-btn i {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--paper);
  transition: transform 0.4s var(--ease);
}

.menu-btn i + i {
  margin-top: -6px;
}

.menu-btn:hover i:first-of-type {
  transform: translateX(-4px);
}

/* ------------------------------------------------------------
   Index overlay
   ------------------------------------------------------------ */

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 36px) var(--gutter) clamp(24px, 3vw, 40px);
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(90, 118, 240, 0.1), transparent 60%),
    var(--ink-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.55s;
}

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.menu__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.menu__brand img {
  height: clamp(54px, 6vw, 78px);
  width: auto;
}

.menu__close {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-2);
}

.menu__close i {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.menu__close i::before,
.menu__close i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.menu__close i::before {
  transform: rotate(45deg);
}

.menu__close i::after {
  transform: rotate(-45deg);
}

.menu__close:hover {
  color: var(--accent);
}

.menu__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
  padding-top: clamp(30px, 6vh, 70px);
}

.menu__nav {
  display: flex;
  flex-direction: column;
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(6px, 1.2vh, 14px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease), border-color 0.5s var(--ease);
}

.menu__nav .mono {
  color: var(--mute);
  font-size: 9px;
  min-width: 26px;
  transition: color 0.4s var(--ease);
}

.menu__word {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.menu__nav a:hover {
  border-color: var(--line-strong);
  padding-left: clamp(8px, 1.5vw, 22px);
}

.menu__nav a:hover .menu__word {
  color: var(--accent);
  transform: translateX(4px);
  font-style: italic;
}

.menu__nav a:hover .mono {
  color: var(--accent);
}

.menu__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
}

.menu__plate {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.menu__plate img {
  width: 74px;
  height: 52px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.85);
  transition: filter 0.4s var(--ease);
}

.menu__plate:hover img {
  filter: none;
}

.menu__plate span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-2);
  line-height: 1.7;
}

.menu__plate i {
  display: block;
  font-style: normal;
  color: var(--mute);
}

.menu__contact {
  margin-top: 18px;
  color: var(--mute);
  line-height: 2;
}

.menu__contact a {
  color: var(--paper-2);
}

.menu__contact a:hover {
  color: var(--accent);
}

/* ------------------------------------------------------------
   Home: atmosphere, stage, panel
   ------------------------------------------------------------ */

.atmos {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  overflow: hidden;
  pointer-events: none;
}

.atmos__layer {
  position: absolute;
  inset: -6%;
  background-position: center;
  background-size: cover;
  filter: blur(46px) brightness(0.3) saturate(0.85);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), filter 0.9s var(--ease), transform 1.4s var(--ease);
}

.atmos__layer.is-on {
  opacity: 1;
}

body.is-film-hover .atmos__layer,
body.is-work-hover .atmos__layer,
body.is-soft .atmos__layer {
  filter: blur(62px) brightness(0.22) saturate(0.7);
  transform: scale(1.12);
}

.atmos__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 62% 48%, transparent 20%, rgba(11, 10, 8, 0.55) 72%, var(--ink) 100%),
    linear-gradient(180deg, rgba(11, 10, 8, 0.55), transparent 30%, transparent 70%, rgba(11, 10, 8, 0.75));
}

.atmos__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.stage.is-dragging {
  cursor: grabbing;
}

.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.stage__glow {
  position: absolute;
  left: 60%;
  top: 50%;
  width: 78vmin;
  height: 78vmin;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 118, 240, 0.16), rgba(90, 118, 240, 0.04) 42%, transparent 68%);
  filter: blur(22px);
  pointer-events: none;
  transition: opacity 0.8s var(--ease);
}

body.no-webgl .stage canvas,
body.no-webgl .stage__glow {
  display: none;
}

.stage__hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
  pointer-events: none;
  white-space: nowrap;
}

.stage__hint::before {
  content: '';
  display: block;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong));
}

.stage__hint::after {
  content: '↔';
  font-size: 12px;
  color: var(--accent);
}

.stage:not(.is-ready) ~ .panel .panel__title {
  opacity: 0.4;
}

.panel {
  position: fixed;
  left: var(--gutter);
  bottom: clamp(42px, 7vh, 76px);
  z-index: 3;
  width: min(430px, 34vw);
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.panel a {
  pointer-events: auto;
}

.panel__index {
  color: var(--accent);
  font-size: 9.5px;
  margin-bottom: 16px;
}

.panel__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), font-size 0.35s var(--ease);
}

.panel__title em {
  color: var(--accent);
}

.panel__meta {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--mute);
}

.panel__text {
  margin-top: 18px;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper-2);
}

.panel__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), gap 0.35s var(--ease);
}

.panel__link span:last-child {
  color: var(--accent);
}

.panel__link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 22px;
}

.panel__foot {
  margin-top: 42px;
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.2em;
}

.panel.is-swapping .panel__title,
.panel.is-swapping .panel__index,
.panel.is-swapping .panel__meta,
.panel.is-swapping .panel__text {
  opacity: 0;
  transform: translateY(6px);
}

.panel__index,
.panel__meta,
.panel__text {
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}

/* Fallback when WebGL is unavailable */
.stage-fallback {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  padding: 15vh var(--gutter) 26vh calc(var(--rail) + var(--gutter));
  overflow: auto;
}

body.no-webgl .stage-fallback {
  display: block;
}

.stage-fallback__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 900px;
  margin-left: auto;
}

.stage-fallback__grid a {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.stage-fallback__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.4s var(--ease);
}

.stage-fallback__grid a:hover img {
  filter: none;
}

.stage-fallback__grid span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ------------------------------------------------------------
   Inner pages
   ------------------------------------------------------------ */

.page {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 15vh, 180px) var(--gutter) 0 calc(var(--gutter) + var(--rail));
}

.wrap {
  width: min(100%, 1460px);
  margin-inline: auto;
}

.page-head {
  padding-bottom: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 8.4vw, 8.6rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.page-title em {
  color: var(--accent);
}

.page-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-top: clamp(30px, 4vw, 50px);
}

.page-lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
  color: var(--paper-2);
}

.page-note {
  justify-self: end;
  max-width: 30ch;
  color: var(--mute);
  font-size: 11px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   Interior index
   ------------------------------------------------------------ */

.index {
  margin-top: clamp(30px, 4vw, 60px);
}

.project-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(26px, 5vw, 84px);
  align-items: center;
  padding: clamp(44px, 6vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}

.project-row__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.project-row__frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-3);
}

.project-row__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.92);
  transform: scale(1.01);
  transition: transform 1.2s var(--ease), filter 0.7s var(--ease);
}

.project-row__media:hover .project-row__frame img {
  transform: scale(1.045);
  filter: none;
}

.project-row__open {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 12px 16px;
  background: rgba(11, 10, 8, 0.78);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 9px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.project-row__open i {
  font-style: normal;
  color: var(--accent);
  margin-left: 6px;
}

.project-row__media:hover .project-row__open,
.project-row__media:focus-visible .project-row__open {
  opacity: 1;
  transform: none;
}

.project-row:nth-child(even) .project-row__media {
  order: 2;
}

@media (min-width: 981px) {
  .project-row:nth-child(even) {
    grid-template-columns: 5fr 7fr;
  }
}

.project-row__meta {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--mute);
  font-size: 9px;
}

.project-row__meta span {
  color: var(--accent);
}

.project-row__title {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.1vw, 4.4rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.project-row__title em {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.project-row__title a:hover {
  color: var(--accent);
}

.project-row__lede {
  margin-top: 20px;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper-2);
}

.project-row__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px 26px;
  justify-content: start;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.project-row__facts dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.project-row__facts dd {
  margin-top: 5px;
  font-size: 11px;
  color: var(--paper-2);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), gap 0.35s var(--ease);
}

.arrow-link i {
  font-style: normal;
  color: var(--accent);
}

.arrow-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 22px;
}

/* ------------------------------------------------------------
   Project page
   ------------------------------------------------------------ */

.work {
  width: min(100%, 1460px);
  margin-inline: auto;
}

.work__crumb {
  display: flex;
  gap: 10px;
  color: var(--mute);
  margin-bottom: clamp(26px, 4vw, 44px);
}

.work__crumb a {
  color: var(--paper-2);
}

.work__crumb a:hover {
  color: var(--accent);
}

.work__title {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.04em;
}

.work__title span {
  display: block;
  margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--mono);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute);
}

.work__kicker {
  margin-top: clamp(20px, 3vw, 32px);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  color: var(--accent);
  max-width: 30ch;
}

.work__intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.work__lede {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  line-height: 1.5;
  color: var(--paper);
  max-width: 46ch;
}

.work__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.work__facts dt {
  color: var(--mute);
  font-size: 8px;
}

.work__facts dd {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-2);
}

.work__hero {
  margin-top: clamp(44px, 6vw, 80px);
}

.work__hero img {
  width: 100%;
  height: clamp(320px, 66vh, 820px);
  object-fit: cover;
  background: var(--ink-3);
}

.work__hero figcaption {
  margin-top: 12px;
  color: var(--mute);
  font-size: 9px;
}

.work__text {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) 7fr;
  gap: clamp(20px, 4vw, 60px);
  margin-top: clamp(60px, 9vw, 130px);
}

.section-label {
  color: var(--accent);
  font-size: 9px;
  padding-top: 8px;
}

.work__prose {
  max-width: 66ch;
}

.work__prose p {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.7;
  color: var(--paper-2);
}

.work__prose p + p {
  margin-top: 1.3em;
}

.work__prose blockquote {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-left: clamp(20px, 3vw, 34px);
  border-left: 1px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.7vw, 2.6rem);
  line-height: 1.15;
  color: var(--paper);
  max-width: 24ch;
}

.work__gallery {
  margin-top: clamp(70px, 10vw, 140px);
}

.work__gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 38px);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.work__gallery-note {
  color: var(--mute);
  font-size: 8.5px;
}

.work__plates {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2.4vw, 32px) clamp(14px, 2vw, 24px);
}

.plate {
  grid-column: span 6;
  margin: 0;
}

.plate--wide,
.plate--full {
  grid-column: span 12;
}

.plate__open {
  display: block;
  overflow: hidden;
  background: var(--ink-3);
  cursor: zoom-in;
}

.plate__open img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease), filter 0.5s var(--ease);
}

.plate__open:hover img {
  transform: scale(1.02);
  filter: brightness(1.04);
}

.plate figcaption {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  color: var(--mute);
  font-size: 11px;
  line-height: 1.5;
}

.plate figcaption .mono {
  color: var(--accent);
  font-size: 8.5px;
  flex: none;
}

.work__materials {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) 7fr;
  gap: clamp(20px, 4vw, 60px);
  margin-top: clamp(70px, 9vw, 120px);
}

.material-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
}

.material-list > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.material-list dt {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.1;
}

.material-list dt .mono {
  color: var(--accent);
  font-size: 8px;
}

.material-list dd {
  color: var(--mute);
  font-size: 12px;
  line-height: 1.6;
  max-width: 34ch;
}

.material-list--specs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.material-list--specs dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}

.material-list--specs dd {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--paper);
  line-height: 1.25;
}

.work__next {
  position: relative;
  display: block;
  margin-top: clamp(80px, 11vw, 160px);
  padding-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.work__next .mono {
  color: var(--mute);
  font-size: 9px;
}

.work__next-title {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  transition: color 0.4s var(--ease);
}

.work__next-title em {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.work__next-media {
  display: block;
  height: clamp(200px, 34vw, 440px);
  margin-top: clamp(24px, 3vw, 40px);
  overflow: hidden;
}

.work__next-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.9);
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}

.work__next:hover .work__next-title {
  color: var(--accent);
}

.work__next:hover .work__next-media img {
  transform: scale(1.03);
  filter: none;
}

/* ------------------------------------------------------------
   Film gallery
   ------------------------------------------------------------ */

.film-page .page-head {
  border-bottom: 0;
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px) clamp(16px, 2.4vw, 34px);
  margin-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.film-card {
  display: block;
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.8s var(--ease);
}

.film-card:nth-child(even) {
  transform: translateY(clamp(0px, 4vw, 56px));
}

.film-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-3);
}

.film-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 8, 0.2), transparent 30%, transparent 62%, rgba(11, 10, 8, 0.7));
  pointer-events: none;
}

.film-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.88);
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}

.film-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  color: var(--paper);
  font-size: 9px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.film-card__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 232, 220, 0.55);
  border-radius: 50%;
  font-size: 13px;
  color: var(--paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}

.film-card__body {
  padding-top: 16px;
}

.film-card__series {
  color: var(--accent);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.film-card__title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease);
}

.film-card__meta {
  margin-top: 8px;
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.14em;
}

.film-card__logline {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 38ch;
  transition: color 0.5s var(--ease);
}

.film-card:hover .film-card__media img,
.film-card:focus-visible .film-card__media img {
  transform: scale(1.05);
  filter: none;
}

.film-card:hover .film-card__arrow,
.film-card:focus-visible .film-card__arrow {
  opacity: 1;
  transform: none;
  background: rgba(11, 10, 8, 0.5);
}

.film-card:hover .film-card__title {
  color: var(--accent);
}

.film-card:hover .film-card__logline {
  color: var(--paper-2);
}

.film-grid:hover .film-card:not(:hover) {
  opacity: 0.32;
  filter: blur(2px) saturate(0.45);
}

.film-grid:hover .film-card:not(:hover) .film-card__title {
  color: var(--paper);
}

.film-note,
.index-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: clamp(24px, 4vw, 40px);
  color: var(--mute);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.film-note::before,
.index-note::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */

.about-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: clamp(40px, 7vw, 120px);
  margin-top: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-prose p {
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: var(--paper-2);
  max-width: 62ch;
}

.about-prose p + p {
  margin-top: 1.35em;
}

.about-prose .lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.9vw, 2.7rem);
  line-height: 1.15;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.about-pull {
  margin: clamp(50px, 7vw, 90px) 0;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.1;
  color: var(--accent);
  max-width: 22ch;
}

.about-side {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-side__media {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8px;
}

.about-side__media figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.about-side__media figure:first-child {
  aspect-ratio: 3 / 4;
}

.about-side__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85);
}

.about-side__media figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.about-details {
  display: grid;
  gap: 0;
}

.about-details > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.about-details h3 {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.about-details p,
.about-details li {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--paper-2);
}

.about-details li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
}

.about-details li span:last-child {
  color: var(--mute);
  text-align: right;
  flex: none;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skills span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-2);
}

.about-cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  margin-top: clamp(40px, 6vw, 70px);
  align-items: start;
}

.contact-aside p {
  max-width: 34ch;
  color: var(--paper-2);
  font-size: 15px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: clamp(30px, 4vw, 50px);
  border-top: 1px solid var(--line);
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-2);
  transition: color 0.35s var(--ease), padding 0.4s var(--ease);
}

.contact-links a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.contact-links a span:last-child {
  color: var(--mute);
}

.contact-form {
  display: grid;
  gap: 26px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.35s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--paper-2) 50%),
    linear-gradient(135deg, var(--paper-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) calc(50% + 3px), calc(100% - 5px) calc(50% + 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field select option {
  background: var(--ink-2);
  color: var(--paper);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f574d;
}

.field__error {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-height: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--accent-deep);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 26px;
  border: 1px solid var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), opacity 0.3s;
}

.submit:hover {
  background: var(--paper);
  color: var(--ink);
}

.submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.submit i {
  font-style: normal;
  color: var(--accent);
}

.form-status {
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--accent);
  max-width: 30ch;
}

.form-success {
  border-top: 1px solid var(--accent);
  padding-top: 30px;
}

.form-success h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1;
  font-weight: 400;
}

.form-success p {
  margin-top: 16px;
  color: var(--paper-2);
  max-width: 40ch;
  line-height: 1.7;
  font-size: 14px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(80px, 12vw, 160px);
  padding: 0 var(--gutter) 26px calc(var(--gutter) + var(--rail));
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 120px);
  padding: clamp(44px, 6vw, 80px) 0;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
}

.footer__logo {
  height: 74px;
  width: auto;
  opacity: 0.9;
}

.footer__line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  color: var(--paper-2);
  max-width: 20ch;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer__cols > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer__cols a,
.footer__cols p {
  font-size: 12px;
  color: var(--paper-2);
  line-height: 1.6;
}

.footer__cols a:hover {
  color: var(--accent);
}

.footer__label {
  color: var(--mute);
  font-size: 8px;
  margin-bottom: 6px;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px clamp(16px, 3vw, 40px) 30px;
  background: rgba(8, 7, 6, 0.97);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
}

.lightbox__bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox__count {
  color: var(--mute);
  font-size: 9px;
}

.lightbox__close {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-2);
}

.lightbox__close span {
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
}

.lightbox__figure {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0;
  min-height: 0;
}

.lightbox__figure img {
  max-width: min(84vw, 1500px);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__figure figcaption {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  text-align: center;
}

.lightbox__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--paper);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.lightbox__arrow:hover {
  background: var(--paper);
  color: var(--ink);
}

.lightbox.is-single .lightbox__arrow {
  visibility: hidden;
}

/* ------------------------------------------------------------
   Cursor, ink, veil
   ------------------------------------------------------------ */

body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}

body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select {
  cursor: text;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 130;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cursor.is-visible {
  opacity: 1;
}

.cursor__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--paper);
}

.cursor__ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(239, 232, 220, 0.5);
  border-radius: 50%;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.cursor__label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%) scale(0.8);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease);
}

.cursor.has-label .cursor__ring {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  background: var(--paper);
  border-color: var(--paper);
}

.cursor.has-label .cursor__dot {
  opacity: 0;
}

.cursor.has-label .cursor__label {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.cursor.is-link .cursor__ring {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-color: var(--accent);
}

.cursor.is-press .cursor__ring {
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
}

.cursor.has-label.is-press .cursor__ring {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0s linear 0.32s;
}

.veil.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.32s var(--ease);
}

.veil img {
  height: 96px;
  width: auto;
  animation: veil-breathe 1.6s ease-in-out infinite alternate;
}

@keyframes veil-breathe {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 1;
  }
}

/* ------------------------------------------------------------
   Reveals
   ------------------------------------------------------------ */

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

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

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .panel {
    width: min(390px, 38vw);
  }
  .page-title {
    font-size: clamp(3rem, 8vw, 7rem);
  }
}

@media (max-width: 980px) {
  :root {
    --rail: 0px;
  }

  .nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .chrome__stamp {
    display: none;
  }

  body:not([data-page='home']) .brand img {
    height: 54px;
  }

  .panel {
    left: var(--gutter);
    right: var(--gutter);
    bottom: 20px;
    width: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, transparent, rgba(11, 10, 8, 0.72) 30%);
  }

  .panel__index {
    font-size: 8.5px;
    margin-bottom: 10px;
  }

  .panel__title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    max-width: 12ch;
  }

  .panel__meta {
    margin-top: 10px;
    font-size: 8px;
  }

  .panel__text {
    margin-top: 10px;
    font-size: 12.5px;
    line-height: 1.5;
    max-width: 46ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .panel__link {
    margin-top: 14px;
    font-size: 9px;
    padding-bottom: 5px;
  }

  .panel__foot {
    display: none;
  }

  .stage__hint {
    top: 96px;
    bottom: auto;
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .stage__hint::before {
    width: 26px;
  }

  .stage__glow {
    left: 50%;
    top: 30%;
    width: 86vmin;
    height: 86vmin;
  }

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

  .project-row:nth-child(even) .project-row__media {
    order: 0;
  }

  .project-row__frame {
    aspect-ratio: 16 / 10;
  }

  .project-row__body {
    max-width: 44rem;
  }

  .page-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-note {
    justify-self: start;
  }

  .work__intro,
  .work__text,
  .work__materials {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .work__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 30rem;
  }

  .work__hero img {
    height: clamp(260px, 52vh, 560px);
  }

  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .film-card:nth-child(even) {
    transform: none;
  }

  .footer {
    padding-left: var(--gutter);
  }

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

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

  .about-side {
    position: static;
    max-width: 34rem;
  }

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

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

  .menu__side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    padding-bottom: 0;
  }

  .menu__plate {
    display: block;
    padding: 0;
    border: 0;
  }

  .menu__plate img {
    width: 100%;
    height: clamp(64px, 18vw, 92px);
  }

  .menu__plate span {
    display: block;
    margin-top: 7px;
    font-size: 8px;
    line-height: 1.5;
  }

  .menu__contact {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 8.5px;
    line-height: 1.9;
  }

  .menu__word {
    font-size: clamp(2.6rem, 11vw, 5rem);
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 54px;
  }

  .chrome__stamp {
    display: none;
  }

  .page {
    padding-top: 108px;
  }

  .page-title {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }

  .page-lede {
    font-size: 0.98rem;
  }

  .project-row__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .project-row__facts {
    grid-template-columns: repeat(2, auto);
  }

  .work__title {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .work__kicker {
    font-size: 1.4rem;
  }

  .work__lede {
    font-size: 1.05rem;
  }

  .work__facts {
    gap: 14px 18px;
  }

  .work__plates {
    display: block;
  }

  .plate {
    margin-bottom: 24px;
  }

  .plate figcaption {
    font-size: 10px;
  }

  .material-list,
  .material-list--specs {
    grid-template-columns: 1fr;
  }

  .work__next-media {
    height: 200px;
  }

  .film-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .film-card__media {
    aspect-ratio: 4 / 5;
  }

  .film-card__logline {
    font-size: 12px;
  }

  .film-grid:hover .film-card:not(:hover) {
    opacity: 1;
    filter: none;
  }

  .about-side__media {
    grid-template-columns: 1fr 1fr;
  }

  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__base {
    flex-direction: column;
    gap: 8px;
  }

  .form-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    padding: 14px 14px 22px;
  }

  .lightbox__bar {
    grid-column: 1 / -1;
  }

  .lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .lightbox__figure img {
    max-width: 92vw;
    max-height: 68vh;
  }

  .lightbox__arrow {
    grid-row: 3;
    justify-self: center;
  }

  .lightbox__arrow--prev {
    grid-column: 1;
  }

  .lightbox__arrow--next {
    grid-column: 2;
    justify-self: end;
  }

  .menu__top {
    align-items: center;
  }

  .menu__nav a {
    gap: 14px;
  }

  .menu__word {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .stage-fallback {
    padding: 14vh var(--gutter) 42vh;
  }

  .stage-fallback__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-height: 720px) and (min-width: 981px) {
  .panel {
    bottom: 36px;
  }
  .panel__title {
    font-size: clamp(2.6rem, 4.2vw, 4rem);
  }
  .panel__text {
    font-size: 13px;
    max-width: 38ch;
  }
  .panel__foot {
    display: none;
  }
  .brand img {
    height: 68px;
  }
  .stage__hint {
    bottom: 16px;
  }
}

@media (max-height: 620px) and (max-width: 980px) {
  .panel__text {
    display: none;
  }
  .panel__foot {
    display: none;
  }
  .stage__hint {
    top: 74px;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --line: rgba(239, 232, 220, 0.3);
    --mute: #b3a798;
  }
}

/* ============================================================
   REFINEMENTS — two spheres, split pages, one-screen contact
   ============================================================ */

/* Transparent chrome — names only */
.nav a {
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}

.brand img {
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
}

body[data-page='about'] .chrome__stamp,
body[data-page='contact'] .chrome__stamp {
  display: none;
}

body[data-page='about'],
body[data-page='contact'] {
  height: 100svh;
  overflow: hidden;
}

body.film-open {
  overflow: hidden;
}

/* ------------------------------------------------------------
   Landing — two spheres
   ------------------------------------------------------------ */

.stage__glow {
  left: 50%;
  top: 50%;
  width: 112vmin;
  height: 112vmin;
  opacity: 0.8;
}

body.is-project-focus .atmos__layer {
  filter: blur(66px) brightness(0.18) saturate(0.72);
  transform: scale(1.12);
}

body.is-project-focus .stage__glow {
  opacity: 0.32;
}

.panel {
  width: min(420px, 32vw);
}

.panel__title.is-detail {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.panel__text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 760px) {
  .panel {
    left: var(--gutter);
    bottom: 14px;
    width: calc(100% - var(--gutter) * 2);
    padding-top: 34px;
    background: linear-gradient(180deg, transparent, rgba(11, 10, 8, 0.82) 34%);
  }

  .panel__title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .panel__title.is-detail {
    font-size: clamp(1.6rem, 6.6vw, 2.2rem);
  }

  .panel__meta {
    margin-top: 10px;
  }

  .panel__text {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .panel__link {
    margin-top: 12px;
  }

  .stage__hint {
    display: none;
  }
}

/* ------------------------------------------------------------
   Interior index — Selected Work, images left, info right
   ------------------------------------------------------------ */

.interior-page {
  padding-top: clamp(96px, 12vh, 130px);
}

.index-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.selected-work {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.index-timeline {
  display: grid;
  gap: 4px;
  text-align: right;
}

.index-timeline p {
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.14em;
}

.index-timeline p:last-child {
  color: var(--paper-2);
}

.index {
  margin-top: 0;
}

.project-row,
.project-row:nth-child(even) {
  grid-template-columns: 7.2fr 4.8fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(38px, 5vw, 64px) 0;
}

.project-row:nth-child(even) .project-row__media {
  order: 0;
}

.project-row__frame {
  aspect-ratio: 3 / 2;
}

.project-row__meta {
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.12em;
}

.project-row__meta span {
  color: inherit;
}

.project-row__title {
  margin-top: 12px;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
}

.project-row__title em {
  margin-top: 10px;
}

.project-row__lede {
  margin-top: 16px;
  font-size: 13.5px;
}

.project-row__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.project-row__link::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 118, 240, 0.5), rgba(90, 118, 240, 0) 70%);
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
  pointer-events: none;
}

.project-row__link:hover::before {
  transform: translate(-50%, -50%) scale(16);
  opacity: 0.6;
}

.project-row__link span,
.project-row__link i {
  position: relative;
  z-index: 1;
}

.project-row__link i {
  font-style: normal;
  color: var(--accent);
}

.project-row__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 900px) {
  .index-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .index-timeline {
    text-align: left;
  }

  .project-row,
  .project-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project-row__frame {
    aspect-ratio: 16 / 10;
  }

  .project-row__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}

/* ------------------------------------------------------------
   Project page — information left, gallery right
   ------------------------------------------------------------ */

body[data-page='work'] .page {
  padding-top: clamp(96px, 12vh, 130px);
}

.work-detail {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  width: min(100%, 1600px);
  margin-inline: auto;
}

.work-info {
  position: sticky;
  top: clamp(100px, 12vh, 130px);
  align-self: start;
  padding-right: 10px;
}

.work-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--mute);
  transition: color 0.3s var(--ease);
}

.work-back:hover {
  color: var(--accent);
}

.work-kicker {
  color: var(--accent);
  font-size: 8.5px;
}

.work-name {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.2vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.work-name em {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.work-statement {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  color: var(--accent);
}

.work-lede {
  margin-top: 16px;
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: var(--paper);
}

.work-copy {
  margin-top: 16px;
}

.work-copy p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper-2);
}

.work-copy p + p {
  margin-top: 0.9em;
}

.work-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.work-specs dt {
  color: var(--mute);
  font-size: 7.5px;
}

.work-specs dd {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--paper-2);
}

.goals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 22px;
}

.goal {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(239, 232, 220, 0.12);
  border-radius: 12px;
  background: rgba(239, 232, 220, 0.045);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--paper-2);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.goal .mono {
  flex: none;
  padding-top: 2px;
  color: var(--accent);
  font-size: 8px;
}

.goal:hover {
  background: rgba(239, 232, 220, 0.075);
  border-color: rgba(90, 118, 240, 0.42);
  color: var(--paper);
  box-shadow: 0 0 26px rgba(90, 118, 240, 0.16);
}

.work-next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.work-next .mono {
  color: var(--mute);
  font-size: 8px;
}

.work-next__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.15;
  transition: color 0.35s var(--ease);
}

.work-next__name i {
  font-style: normal;
  color: var(--accent);
}

.work-next:hover .work-next__name {
  color: var(--accent);
}

.work-gallery {
  position: sticky;
  top: clamp(100px, 12vh, 130px);
  height: calc(100svh - clamp(120px, 15vh, 160px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.gallery-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}

.gallery-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-frame img {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.work-gallery.is-changing .gallery-frame img {
  opacity: 0.25;
  transform: scale(0.995);
}

.gallery-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(239, 232, 220, 0.35);
  border-radius: 50%;
  background: rgba(11, 10, 8, 0.32);
  backdrop-filter: blur(8px);
  color: var(--paper);
  font-size: 15px;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.gallery-arrow:hover {
  opacity: 1;
  background: var(--paper);
  color: var(--ink);
}

.gallery-arrow--prev {
  left: 12px;
}

.gallery-arrow--next {
  right: 12px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: none;
  width: 72px;
  height: 48px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--ink-3);
  opacity: 0.45;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

.work-gallery.is-single .gallery-arrow,
.work-gallery.is-single .gallery-thumbs {
  display: none;
}

@media (max-width: 980px) {
  .work-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .work-gallery {
    position: static;
    order: -1;
    height: auto;
  }

  .gallery-stage {
    height: min(58svh, 520px);
  }

  .work-info {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .work-name {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
  }

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

/* ------------------------------------------------------------
   About — one screen, portrait right
   ------------------------------------------------------------ */

body[data-page='about'] .page,
body[data-page='contact'] .page {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.about-page {
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(92px, 12vh, 130px);
  padding-bottom: clamp(20px, 4vh, 50px);
}

.about-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
}

.about-title {
  max-width: 13ch;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 6.4vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.about-title em {
  color: var(--accent);
}

.about-body {
  max-width: 44ch;
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
  color: var(--paper-2);
}

.about-body + .about-body {
  margin-top: 1.1em;
}

.about-figure {
  justify-self: end;
  width: min(100%, 360px);
  display: grid;
  gap: 14px;
}

.portrait-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 2px;
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.portrait-hint__pixel {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--accent);
  animation: hint-pixel 3.8s ease-in-out infinite;
}

.about-figure.is-used .portrait-hint {
  opacity: 0;
  transform: translateY(-2px);
}

@media (hover: none) {
  .portrait-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portrait-hint__pixel {
    animation: none;
    opacity: 0.8;
  }
}

@keyframes hint-pixel {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(14px);
    opacity: 1;
  }
}

.about-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.96);
}

@media (max-width: 900px) {
  .about-page {
    padding-top: 92px;
  }

  .about-stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
  }

  .about-figure {
    order: -1;
    justify-self: start;
    width: min(52vw, 220px);
    gap: 10px;
  }

  .about-portrait {
    max-height: 34svh;
  }

  .portrait-hint {
    font-size: 7.6px;
    letter-spacing: 0.12em;
  }

  .about-title {
    max-width: 16ch;
    font-size: clamp(2.3rem, 9vw, 3.4rem);
  }

  .about-body {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

@media (max-width: 640px) {
  .portrait-hint {
    display: none;
  }

  .about-figure {
    width: min(46vw, 190px);
  }

  .about-portrait {
    max-height: 30svh;
  }
}

/* ------------------------------------------------------------
   Contact — one screen, ripple
   ------------------------------------------------------------ */

.contact-page {
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 18px;
}

.contact-shell {
  width: min(100%, 720px);
  margin-inline: auto;
}

.contact-form-wrap {
  position: relative;
  z-index: 60;
}

.contact-title {
  margin-bottom: clamp(22px, 4vh, 34px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.contact-title em {
  color: var(--accent);
}

body.contact-sent .contact-title {
  display: none;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  gap: 5px;
}

.field label {
  font-size: 8px;
}

.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(239, 232, 220, 0.04);
  font-size: 14px;
}

.field textarea {
  min-height: 84px;
  resize: none;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.submit {
  padding: 12px 22px;
  border-color: var(--paper);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}

.submit:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.submit i {
  color: inherit;
}

.form-status {
  color: var(--accent);
  font-size: 9px;
}

.form-success {
  border-top: 0;
  padding-top: 0;
  outline: none;
}

.form-success h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.form-success p {
  margin-top: 12px;
}

.contact-ripple {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  mix-blend-mode: screen;
}

.contact-noscript {
  margin-top: 20px;
  color: var(--paper-2);
}

.contact-noscript a {
  color: var(--accent);
}

@media (max-width: 720px) {
  .contact-page {
    align-items: flex-start;
    padding-top: 84px;
    padding-bottom: 12px;
  }

  .contact-title {
    margin-bottom: 16px;
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-form {
    gap: 10px;
  }

  .field textarea {
    min-height: 64px;
  }

  .submit {
    padding: 11px 18px;
  }
}

@media (max-height: 720px) {
  .contact-title {
    margin-bottom: 14px;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
  }

  .contact-form {
    gap: 8px;
  }

  .field input,
  .field select {
    padding: 8px 10px;
  }

  .field textarea {
    min-height: 60px;
  }
}

/* ------------------------------------------------------------
   Film player
   ------------------------------------------------------------ */

.film-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px clamp(14px, 3vw, 32px) 18px;
  background: rgba(8, 7, 6, 0.96);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.film-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease);
}

.film-modal__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.film-modal__title {
  color: var(--paper);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.film-modal__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.film-modal__link {
  color: var(--accent);
  font-size: 8.5px;
}

.film-modal__close {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-2);
}

.film-modal__close span {
  margin-left: 6px;
  color: var(--accent);
  font-size: 16px;
}

.film-modal__frame {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
}

.film-modal__frame iframe {
  width: min(420px, 100%);
  height: 100%;
  max-height: 78vh;
  border: 0;
  background: #000;
}

.film-modal__note {
  text-align: center;
  color: var(--mute);
  font-size: 7.5px;
  letter-spacing: 0.1em;
}

@media (max-width: 720px) {
  .film-modal__frame iframe {
    width: 100%;
    max-height: 72vh;
  }

  .film-modal__note {
    display: none;
  }
}


/* ============================================================
   2026 refinement — Instagram blue, selected work, portrait dots
   ============================================================ */

/* Landing panel: the name replaces "Spaces & stories." */
.panel__title.is-name {
  font-size: clamp(2rem, 3.9vw, 4.1rem);
  letter-spacing: -0.03em;
}

/* Interior index: SELECTED WORK, with its notes beside the heading */
.selected-work {
  text-transform: uppercase;
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  letter-spacing: -0.005em;
}

.index-head {
  align-items: baseline;
}

.index-timeline {
  padding-bottom: 3px;
}

@media (max-width: 900px) {
  .selected-work {
    font-size: clamp(1.9rem, 7.4vw, 2.7rem);
  }
}

/* About portrait — the dot canvas sits over the photo */
.about-portrait {
  position: relative;
}

.about-portrait__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  filter: saturate(0.9) brightness(0.96);
  touch-action: none;
}

.about-portrait__fx:not([width]) {
  display: none;
}


/* ============================================================
   Selected Work — floating project cubes
   ============================================================ */

.work-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 92px);
  margin-top: clamp(30px, 4.4vw, 58px);
}

.work-lane {
  min-width: 0;
}

.lane-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vw, 54px);
}

.lane-label {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.22em;
}

.lane-count {
  color: var(--mute);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.lane-cubes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(46px, 5.4vw, 88px) clamp(24px, 2.8vw, 48px);
  justify-items: center;
  align-items: start;
}

.cube {
  --s: clamp(150px, 15vw, 236px);
  --d: calc(var(--s) * 0.32);
  width: calc(var(--s) + 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 11px 6px;
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
}

.cube__scene {
  position: relative;
  width: var(--s);
  height: var(--s);
  transform-style: preserve-3d;
  animation: cube-float var(--float-duration, 8s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.cube__body {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, -13deg)) rotateY(var(--ry, 19deg));
  transition: transform 0.6s var(--ease);
}

.cube__face {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  border-radius: 12px;
  background: #12100c;
}

.cube__face--front,
.cube__face--back {
  width: var(--s);
  height: var(--s);
  margin-left: calc(var(--s) / -2);
  margin-top: calc(var(--s) / -2);
}

.cube__face--top,
.cube__face--bottom {
  width: var(--s);
  height: var(--d);
  margin-left: calc(var(--s) / -2);
  margin-top: calc(var(--d) / -2);
}

.cube__face--left,
.cube__face--right {
  width: var(--d);
  height: var(--s);
  margin-left: calc(var(--d) / -2);
  margin-top: calc(var(--s) / -2);
}

.cube__face--front {
  transform: translateZ(calc(var(--d) / 2));
  overflow: hidden;
  background: #191510;
  box-shadow: inset 0 0 0 1px rgba(239, 232, 220, 0.1);
}

.cube__face--front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  /* Own raster layer: keeps covers painted inside the 3D face */
  transform: translateZ(0.01px);
}

/* Portrait film covers keep their title band instead of a dark centre crop */
.cube--film .cube__face--front img {
  object-position: 50% 24%;
}

.cube__face--front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 44%, rgba(11, 10, 8, 0.22));
  pointer-events: none;
}

.cube__face--top {
  transform: rotateX(90deg) translateZ(calc(var(--s) / 2));
  background: linear-gradient(120deg, rgba(90, 118, 240, 0.42), rgba(26, 24, 34, 0.98) 64%);
}

.cube__face--right {
  transform: rotateY(90deg) translateZ(calc(var(--s) / 2));
  background: linear-gradient(180deg, #23222c, #0d0c0a);
}

.cube__face--left {
  transform: rotateY(-90deg) translateZ(calc(var(--s) / 2));
  background: #0e0d11;
}

.cube__face--bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--s) / 2));
  background: #08070a;
}

.cube__face--back {
  transform: translateZ(calc(var(--d) / -2)) rotateY(180deg);
  background: #0b0a08;
}

.cube__shadow {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -34px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 6, 10, 0.72),
    rgba(6, 6, 10, 0.34) 42%,
    rgba(90, 118, 240, 0.16) 62%,
    rgba(90, 118, 240, 0) 78%
  );
  filter: blur(6px);
  pointer-events: none;
}

.cube:hover .cube__body,
.cube:focus-visible .cube__body {
  scale: 1.04;
}

.cube:hover .cube__scene,
.cube:focus-visible .cube__scene {
  animation-play-state: paused;
}

.cube:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 12px;
  border-radius: 20px;
}

.cube__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.cube__kicker {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.2em;
  transition: color 0.3s var(--ease);
}

.cube__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  line-height: 1.05;
}

.cube__name em {
  display: block;
  margin-top: 2px;
  font-size: 0.8em;
  color: var(--paper-2);
}

.cube__meta {
  margin-top: 4px;
  color: var(--mute);
  font-size: 7.4px;
  letter-spacing: 0.12em;
}

.cube:hover .cube__kicker {
  color: var(--paper);
}

@keyframes cube-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -9px, 0);
  }
}

@media (max-width: 1080px) {
  .work-field {
    gap: clamp(30px, 4vw, 60px);
  }

  .lane-cubes {
    gap: clamp(40px, 5vw, 64px) clamp(18px, 2.4vw, 30px);
  }

  .cube {
    --s: clamp(136px, 17vw, 200px);
    width: calc(var(--s) + 16px);
    padding: 0 8px 4px;
  }
}

@media (max-width: 860px) {
  .work-field {
    grid-template-columns: 1fr;
    gap: clamp(46px, 8vw, 80px);
  }

  .lane-cubes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 18px;
  }

  .cube {
    --s: clamp(128px, 36vw, 190px);
    width: calc(var(--s) + 12px);
    padding: 0 6px;
  }
}

@media (max-width: 420px) {
  .cube__name {
    font-size: 1rem;
  }

  .cube__meta {
    font-size: 7px;
  }
}

/* ============================================================
   Contact — pixel asteroid field
   ============================================================ */

.asteroid-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ============================================================
   About — portrait positioning, blue shadow, glitch canvas
   ============================================================ */

.about-stage {
  padding-inline: clamp(0px, 2.4vw, 38px);
}

.about-portrait {
  border-radius: 20px;
  border: 1px solid rgba(239, 232, 220, 0.1);
  box-shadow:
    0 34px 74px -34px rgba(90, 118, 240, 0.85),
    0 14px 40px -18px rgba(64, 93, 230, 0.5);
}

.about-portrait.has-fx {
  background: transparent;
}

.about-portrait.has-fx img {
  visibility: hidden;
}

.about-portrait__fx {
  border-radius: inherit;
}

/* ------------------------------------------------------------
   Interior index — films as objects above the project previews
   ------------------------------------------------------------ */

.work-field--stacked {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(54px, 7vw, 104px);
}

.lane-cubes--films {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(46px, 5vw, 76px) clamp(24px, 3vw, 52px);
}

.lane-cubes--films .cube {
  --s: clamp(150px, 17vw, 226px);
}

@media (min-width: 1000px) {
  .lane-cubes--films {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-list .project-row:last-child {
  border-bottom: 0;
}

@media (max-width: 760px) {
  .lane-cubes--films {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 18px;
  }
}

/* ============================================================
   Selected Work — the film gallery's language, for interiors
   ============================================================ */

.interior-page {
  padding-top: clamp(120px, 15vh, 180px);
}

.interior-page .page-head {
  border-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px) clamp(16px, 2.4vw, 34px);
  margin-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.work-card {
  display: block;
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.8s var(--ease);
}

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-3);
}

.work-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 10, 8, 0.2), transparent 30%, transparent 62%, rgba(11, 10, 8, 0.7));
  pointer-events: none;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.88);
  transform: scale(1.01);
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}

.work-card__num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  color: var(--paper);
  font-size: 9px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.work-card__arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 232, 220, 0.55);
  border-radius: 50%;
  font-size: 13px;
  color: var(--paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}

.work-card__body {
  padding-top: 16px;
}

.work-card__series {
  color: var(--accent);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.work-card__title {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease);
}

.work-card__title em {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color 0.35s var(--ease);
}

.work-card__meta {
  margin-top: 8px;
  color: var(--mute);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-card__logline {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mute);
  max-width: 38ch;
  transition: color 0.5s var(--ease);
}

.work-card:hover .work-card__media img,
.work-card:focus-visible .work-card__media img {
  transform: scale(1.05);
  filter: none;
}

.work-card:hover .work-card__arrow,
.work-card:focus-visible .work-card__arrow {
  opacity: 1;
  transform: none;
  background: rgba(11, 10, 8, 0.5);
}

.work-card:hover .work-card__title {
  color: var(--accent);
}

.work-card:hover .work-card__title em,
.work-card:hover .work-card__logline {
  color: var(--paper-2);
}

.work-grid:hover .work-card:not(:hover) {
  opacity: 0.32;
  filter: blur(2px) saturate(0.45);
}

.work-grid:hover .work-card:not(:hover) .work-card__title {
  color: var(--paper);
}

@media (max-width: 980px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .work-card__media {
    aspect-ratio: 16 / 11;
  }

  .work-card__logline {
    font-size: 12px;
  }

  .work-grid:hover .work-card:not(:hover) {
    opacity: 1;
    filter: none;
  }
}

/* ============================================================
   About — the glitch covers the page; the portrait keeps its own
   ============================================================ */

.page-glitch {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

@keyframes about-blue-glitch {
  0% {
    text-shadow: -1.5px 0 rgba(90, 118, 240, 0.55), 1.5px 0 rgba(64, 93, 230, 0.4);
    transform: translate3d(0, 0, 0);
  }
  16% {
    text-shadow: 2.5px 0 rgba(90, 118, 240, 0.9), -2px 0 rgba(64, 93, 230, 0.6);
    transform: translate3d(-1px, 0, 0) skewX(-1.4deg);
  }
  32% {
    text-shadow: -3px 0 rgba(142, 162, 255, 0.7), 2px 0 rgba(90, 118, 240, 0.5);
    transform: translate3d(1px, 0, 0);
  }
  48% {
    text-shadow: 1px 0 rgba(90, 118, 240, 0.85), -3px 1px rgba(64, 93, 230, 0.55);
    transform: translate3d(0, -1px, 0) skewX(1deg);
  }
  64% {
    text-shadow: -2px 0 rgba(90, 118, 240, 0.7), 3px 0 rgba(142, 162, 255, 0.4);
    transform: translate3d(-1px, 0, 0);
  }
  80% {
    text-shadow: 3px 0 rgba(64, 93, 230, 0.8), -1px 0 rgba(90, 118, 240, 0.6);
    transform: translate3d(1px, 0, 0) skewX(-0.8deg);
  }
  100% {
    text-shadow: -1.5px 0 rgba(90, 118, 240, 0.55), 1.5px 0 rgba(64, 93, 230, 0.4);
    transform: translate3d(0, 0, 0);
  }
}

.about-copy.is-cursor-glitch .about-title,
.about-copy.is-cursor-glitch .about-body {
  animation: about-blue-glitch 0.45s steps(1, end) infinite;
}

/* The interior title runs the width of the page, as the film title does */
.interior-page .page-title {
  max-width: none;
}
