/* Studio Nomir: El cuarto oscuro. Design system: design-system/studio-nomir (MASTER.md + pages/home.md) */
:root {
  --ink: #0e0b0a;
  --ink-2: #161311;
  --ink-3: #221d1a;
  --paper: #f3efe8;
  --paper-2: #e6e0d6;
  --safelight: #b8231b;
  --safelight-hi: #e0302a;
  --muted: #9a928b;
  --muted-ink: #5e5650;
  --line: rgb(243 239 232 / .16);
  --line-ink: rgb(22 19 17 / .18);

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-text: "Archivo", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gut: clamp(20px, 4vw, 56px);
  --nav-h: 92px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* smooth anchor jumps only without the script: with it, Lenis scrolls smoothly, and a CSS smooth scroll would turn
   ScrollTrigger's instant measuring jumps into slow ones and leave every scroll animation offset after a refresh */
html:not(.js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.6 var(--f-text); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--safelight); color: var(--paper); }

:focus-visible { outline: 2px solid var(--safelight-hi); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.mono { font: 400 12px/1.5 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font: 500 12px/1.5 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--paper); opacity: .85; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 4%); } 40% { transform: translate(3%, -6%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 5%); } 100% { transform: translate(0, 0); }
}

/* ---------- cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; mix-blend-mode: difference; }
  .cursor__ring { display: block; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1.5px solid #fff; border-radius: 50%;
    transition: width var(--t-mid) var(--ease), height var(--t-mid) var(--ease), margin var(--t-mid) var(--ease), background var(--t-mid); }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgb(255 255 255 / .9); }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font: 600 14px/1 var(--f-text); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--red { background: var(--safelight); color: var(--paper); }
.btn--red:hover { background: var(--paper); color: var(--ink); }
.btn--line { border-color: rgb(243 239 232 / .6); color: var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn__arrow { transition: transform var(--t-mid) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--wide { width: 100%; }
.btn--big { min-height: 60px; padding: 0 32px; font-size: 16px; }

/* ---------- nav: the editing timeline ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; color: var(--paper);
  --nl: color-mix(in srgb, currentColor 24%, transparent);
  transition: background var(--t-mid) ease, color var(--t-mid) ease;
}
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--nl); opacity: 0; transition: opacity var(--t-mid); }
.nav.is-scrolled { background: rgb(14 11 10 / .9); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); }
.nav.is-scrolled::after { opacity: 1; }
.nav.is-light { background: rgb(243 239 232 / .93); color: var(--ink); }
.nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 60px; padding: 0 var(--gut); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font: 800 19px/1 var(--f-display); font-stretch: 75%; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--safelight-hi); box-shadow: 0 0 0 4px rgb(224 48 42 / .18); }
.nav__readout { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.nav__readout [data-ch-num] { display: inline-block; min-width: 2ch; font: 900 26px/1 var(--f-display); font-stretch: 62%; letter-spacing: 0; color: var(--safelight-hi); }
.nav__readout [data-ch-name] { display: inline-block; min-width: 10ch; }
.nav__of { opacity: .5; margin-left: -6px; }
.nav__sep { width: 28px; height: 1px; background: currentColor; opacity: .4; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav__cta { min-height: 40px; padding: 0 16px; font-size: 12px; }
.nav.is-light .nav__cta:hover { background: var(--ink); color: var(--paper); }
.nav__menu-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 14px;
  background: none; border: 1.5px solid currentColor; border-radius: 999px; cursor: pointer;
  font: 600 12px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase;
  transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.nav__menu-btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.nav.is-light .nav__menu-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav__menu-icon { position: relative; width: 16px; height: 10px; }
.nav__menu-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--t-mid) var(--ease), top var(--t-mid) var(--ease), bottom var(--t-mid) var(--ease); }
.nav__menu-icon i:first-child { top: 1px; }
.nav__menu-icon i:last-child { bottom: 1px; }
.nav__menu-btn[aria-expanded="true"] .nav__menu-icon i:first-child { top: 4px; transform: rotate(45deg); }
.nav__menu-btn[aria-expanded="true"] .nav__menu-icon i:last-child { bottom: 4.5px; transform: rotate(-45deg); }

.timeline { position: relative; height: 30px; margin: 0 var(--gut); transition: opacity var(--t-mid) ease; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--nl); }
.timeline::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--nl) 0 1px, transparent 1px 12px); }
.timeline__track { display: flex; height: 100%; }
.timeline__track li { flex: 1 1 0; min-width: 0; transition: flex-grow 600ms var(--ease); }
.timeline__track a {
  position: relative; display: flex; height: 100%; padding: 3px 10px 0 9px; text-decoration: none; color: inherit;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .5; transition: opacity var(--t-fast) ease;
}
.timeline__track a::before { content: ""; position: absolute; left: 0; bottom: 0; width: 1px; height: 14px; background: currentColor; opacity: .7; }
.timeline__track a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline__track a:hover, .timeline__track a[aria-current] { opacity: 1; }
.timeline__track a:hover span { color: var(--safelight-hi); }
.timeline__track a[aria-current]::before { background: var(--safelight-hi); opacity: 1; }
.timeline__fill { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--safelight-hi); pointer-events: none; }
.timeline__head { position: absolute; bottom: 0; left: calc(var(--p, 0) * 100%); width: 1.5px; height: 24px; background: var(--safelight-hi); transform: translateX(-50%); pointer-events: none; }
.timeline__head::before { content: ""; position: absolute; top: -2px; left: 50%; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--safelight-hi); }

body.menu-open .nav { background: transparent; color: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .nav::after, body.menu-open .timeline, body.menu-open .nav__readout { opacity: 0; pointer-events: none; }
body.menu-open .nav__readout { transition: opacity var(--t-fast); }

/* ---------- menu: opens through an iris ---------- */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--ink-2); overflow: hidden; clip-path: circle(var(--mr, 150vmax) at var(--mx, 100%) var(--my, 0%)); }
.menu[hidden] { display: none; }
.menu__ring { position: absolute; left: var(--mx, 100%); top: var(--my, 0%); width: calc(var(--mr, 0px) * 2); height: calc(var(--mr, 0px) * 2); transform: translate(-50%, -50%); border: 1.5px solid var(--safelight-hi); border-radius: 50%; pointer-events: none; opacity: var(--ro, 0); }
.menu__inner { height: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); grid-template-rows: 1fr auto; gap: 24px clamp(32px, 5vw, 80px); padding: calc(60px + 5vh) var(--gut) 28px; }
.menu__links { display: flex; flex-direction: column; justify-content: center; }
.menu__links a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: .7vh 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: opacity var(--t-mid) ease; }
.menu__no { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--safelight-hi); }
.menu__word { display: block; overflow: hidden; font: 900 clamp(56px, 8vh + 3vw, 156px)/.9 var(--f-display); font-stretch: 62%; letter-spacing: -.03em; text-transform: uppercase; }
.menu__in { display: inline-block; }
.menu__in > span { display: inline-block; transition: transform 520ms var(--ease), color var(--t-mid) ease; }
.menu__meta { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.menu__links:hover a:not(:hover) { opacity: .3; }
.menu__links a:hover .menu__in > span, .menu__links a:focus-visible .menu__in > span { transform: translateX(24px); color: var(--safelight-hi); }
.menu__preview { position: relative; align-self: center; aspect-ratio: 4 / 5; max-height: 66vh; overflow: hidden; border-radius: 2px; background: var(--ink-3); }
.menu__preview img { width: 100%; height: 100%; object-fit: cover; }
.menu__preview::after { content: "REC"; position: absolute; left: 14px; top: 14px; padding-left: 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .1em; color: var(--paper);
  background: radial-gradient(circle at 4px 50%, var(--safelight-hi) 3.5px, transparent 4px); }
.menu__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__cta { display: none; }
  .nav__menu-btn { min-height: 44px; }
  .timeline { height: 3px; margin: 0; }
  .timeline::before, .timeline::after, .timeline__track, .timeline__head { display: none; }
  .timeline__fill { height: 3px; }
  .menu__inner { grid-template-columns: 1fr; padding-top: calc(60px + 4vh); }
  .menu__preview { display: none; }
  .menu__word { font-size: clamp(52px, 15vw, 110px); }
  .menu__foot .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .nav__bar { grid-template-columns: 1fr auto; }
  .nav__readout { display: none; }
  .menu__links a { grid-template-columns: 32px minmax(0, 1fr); }
  .menu__meta { display: none; }
}

/* ---------- section heads ---------- */
.section-head { display: grid; gap: 14px; padding: 0 var(--gut); margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .mono { color: var(--safelight-hi); }
.section-title { font: 800 clamp(34px, 5vw, 72px)/1 var(--f-display); font-stretch: 75%; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.section-head--ink .mono { color: var(--safelight); }

/* ---------- 01 hero / visor ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero__frame { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink-2); }
.hero__media { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: brightness(.52) contrast(1.12) saturate(.85); transform-origin: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgb(14 11 10 / .65) 100%); }

.hud { position: absolute; inset: calc(var(--nav-h) + 8px) var(--gut) clamp(20px, 3vw, 32px); pointer-events: none; }
.hud__c { position: absolute; width: 26px; height: 26px; border: 0 solid rgb(243 239 232 / .85); }
.hud__c--tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.hud__c--tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.hud__c--bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hud__c--br { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hud__focus { position: absolute; left: 62%; top: 38%; width: 64px; height: 44px; border: 1px solid rgb(243 239 232 / .5); }
.hud__focus::before, .hud__focus::after { content: ""; position: absolute; background: rgb(243 239 232 / .5); }
.hud__focus::before { left: 50%; top: -8px; bottom: -8px; width: 1px; }
.hud__focus::after { top: 50%; left: -8px; right: -8px; height: 1px; }
.hud__rec, .hud__spec { position: absolute; top: 16px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--paper); }
.hud__rec { left: 40px; display: flex; align-items: center; gap: 8px; }
.hud__spec { right: 40px; opacity: .8; }
.hud__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--safelight-hi); animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: .1; } }
.hero.is-paused .hud__dot { animation-play-state: paused; }

.hero__copy { position: absolute; left: calc(var(--gut) + 40px); top: calc(var(--nav-h) + 13vh); max-width: min(720px, 60vw); display: grid; gap: 22px; }
.hero__title { font: 800 clamp(42px, 6.4vw, 104px)/.92 var(--f-display); font-stretch: 70%; letter-spacing: -.025em; text-wrap: balance; }
.hero__lead { max-width: 44ch; font-size: clamp(16px, 1.25vw, 19px); color: rgb(243 239 232 / .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero__word {
  position: absolute; left: 0; right: 0; bottom: -0.11em; z-index: -1; text-align: center; pointer-events: none;
  font: 900 21vw/.8 var(--f-display); font-stretch: 62%; letter-spacing: -.035em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgb(243 239 232 / .5);
}
.hero__word span { -webkit-text-stroke-color: var(--safelight-hi); }
.hero__pause {
  position: absolute; right: calc(var(--gut) + 40px); bottom: calc(clamp(20px, 3vw, 32px) + 20px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: rgb(14 11 10 / .55); border: 1px solid var(--line); border-radius: 2px; cursor: pointer;
  font: 500 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.hero__pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero.is-paused .hero__pause-icon { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hero__pause:hover { border-color: var(--paper); }

/* ---------- 02 aperture ---------- */
.aperture { position: relative; background: var(--ink); }
.aperture__stage { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.aperture__iris { position: absolute; inset: 0; clip-path: circle(var(--r, 24vmin) at var(--cx, 74%) 50%); }
.aperture__iris img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.8) contrast(1.05); }
.aperture__ring { position: absolute; left: var(--cx, 74%); top: 50%; width: calc(var(--r, 24vmin) * 2); height: calc(var(--r, 24vmin) * 2);
  transform: translate(-50%, -50%); border: 1.5px solid var(--safelight-hi); border-radius: 50%; pointer-events: none; }
.aperture__ring::before { content: ""; position: absolute; inset: -14px; border: 1px dashed rgb(243 239 232 / .25); border-radius: 50%; }
.aperture__text { position: absolute; left: var(--gut); top: 50%; transform: translateY(-50%); width: min(52vw, 820px); display: grid; gap: 28px; }
.aperture__f { color: var(--safelight-hi); font-size: 14px; }
.manifesto { font: 800 clamp(34px, 4.6vw, 76px)/1 var(--f-display); font-stretch: 68%; letter-spacing: -.02em; text-wrap: pretty; }
.manifesto em { font-style: normal; color: var(--safelight-hi); }
.manifesto .w { display: inline-block; }

/* ---------- 03 services ---------- */
.services { position: relative; padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 10vw, 140px); }
.svc { border-top: 1px solid var(--line); }
.svc__row {
  position: relative; display: grid; grid-template-columns: 80px 1fr minmax(240px, 30%); align-items: center; gap: 24px;
  padding: clamp(10px, 1.6vw, 22px) var(--gut); border-bottom: 1px solid var(--line); cursor: default; overflow: hidden;
}
.svc__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--safelight); transform: scaleY(0); transform-origin: bottom; transition: transform 520ms var(--ease); }
.svc__name {
  font: 900 clamp(72px, 15vw, 240px)/.82 var(--f-display); font-stretch: 62%; letter-spacing: -.03em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px var(--paper); transition: color 420ms var(--ease), transform 520ms var(--ease);
}
.svc__num { color: var(--muted); }
.svc__desc { color: rgb(243 239 232 / .82); font-size: 16px; max-width: 34ch; }
.svc__img { display: none; }
@media (hover: hover) and (pointer: fine) {
  .svc__row:hover::before { transform: scaleY(1); }
  .svc__row:hover .svc__name { color: var(--paper); -webkit-text-stroke-color: var(--paper); transform: translateX(16px); }
  .svc__row:hover .svc__num, .svc__row:hover .svc__desc { color: var(--paper); }
}
@media (hover: none), (pointer: coarse), (max-width: 900px) {
  .svc__row { grid-template-columns: 1fr; gap: 12px; padding-block: 28px; }
  .svc__name { color: var(--paper); -webkit-text-stroke: 0; font-size: clamp(64px, 22vw, 140px); }
  .svc__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; margin-top: 8px; }
  .svc__num { color: var(--safelight-hi); }
}

/* ---------- 04 lightbox / contact sheet ---------- */
.lightbox { background: var(--paper); color: var(--ink); position: relative; }
.lightbox__pin { min-height: 100svh; padding: calc(var(--nav-h) + clamp(32px, 5vw, 64px)) 0 clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.lightbox .section-head { margin-bottom: clamp(28px, 4vw, 48px); grid-template-columns: 1fr auto; align-items: end; }
.lightbox .section-head .mono { grid-column: 1 / -1; }
.lightbox__lead { color: var(--muted-ink); max-width: 34ch; justify-self: end; text-align: right; }
.strip { position: relative; background: var(--ink); }
.strip__track { position: relative; display: flex; gap: 14px; padding: 34px var(--gut); width: max-content; }
.strip__track::before, .strip__track::after { content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(90deg, var(--paper) 0 14px, transparent 14px 30px); opacity: .92; }
.strip__track::before { top: 11px; }
.strip__track::after { bottom: 11px; }
.frame { position: relative; flex: none; width: clamp(280px, 34vw, 560px); }
.frame figure { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease), filter 600ms ease; filter: saturate(.9); }
.frame:hover img { transform: scale(1.04); filter: saturate(1.05); }
.frame__no { position: absolute; left: 4px; bottom: -26px; font: 500 11px/1 var(--f-mono); color: #d98a3b; letter-spacing: .1em; }
.frame__circle { position: absolute; inset: -18px -22px; width: calc(100% + 44px); height: calc(100% + 36px); overflow: visible; pointer-events: none; }
.frame__circle--tall { display: none; }
.frame__circle path { fill: none; stroke: var(--safelight-hi); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.lightbox__edge { margin-top: 22px; padding: 0 var(--gut); color: var(--muted-ink); letter-spacing: .3em; white-space: nowrap; overflow: hidden; text-overflow: clip; }
@media (max-width: 767px) {
  /* no pin on a phone, so the section fits its content instead of filling a screen and centring it */
  .lightbox__pin { min-height: 0; justify-content: flex-start; padding: 72px 0 48px; }
  .services { padding-bottom: 0; }
  .svc__row:last-child { border-bottom: 0; }
  .lightbox .section-head { grid-template-columns: 1fr; }
  .lightbox__lead { justify-self: start; text-align: left; }
  .strip { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .frame { width: 86vw; scroll-snap-align: center; }
  .frame figure { aspect-ratio: 4 / 5; }
  .frame__circle--wide { display: none; }
  .frame__circle--tall { display: block; }
  .strip__track { gap: 10px; padding-block: 38px; }
  .strip__track::before { top: 13px; }
  .strip__track::after { bottom: 13px; }
  .frame__no { bottom: -28px; }
}

/* ---------- 05 develop ---------- */
.develop { padding: clamp(110px, 14vw, 200px) 0 clamp(60px, 8vw, 120px); }
.steps { display: grid; gap: clamp(72px, 10vw, 140px); padding: 0 var(--gut); }
.step { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.step:nth-child(even) .neg { order: 2; }
.neg { --dev: 1; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-3); border-radius: 2px; }
.neg img { width: 100%; height: 100%; object-fit: cover;
  filter: invert(calc(1 - var(--dev))) grayscale(calc((1 - var(--dev)) * .9)) contrast(calc(1 + (1 - var(--dev)) * .25)); }
.neg::after { content: ""; position: absolute; inset: 0; background: var(--safelight); mix-blend-mode: multiply; opacity: calc((1 - var(--dev)) * .85); pointer-events: none; }
.neg::before { content: ""; position: absolute; inset: 10px; z-index: 1; border: 1px solid rgb(243 239 232 / calc((1 - var(--dev)) * .5)); pointer-events: none; }
.step__text { display: grid; gap: 16px; }
.step__no { color: var(--safelight-hi); }
.step h3 { font: 800 clamp(30px, 3.6vw, 56px)/1 var(--f-display); font-stretch: 70%; letter-spacing: -.02em; }
.step p:not(.mono) { color: rgb(243 239 232 / .82); max-width: 40ch; }
@media (max-width: 767px) {
  .steps { gap: 72px; }
  .step { grid-template-columns: 1fr; gap: 24px; }
  .step:nth-child(even) .neg { order: 0; }
  /* full bleed and portrait on a phone, so the negative-to-print change has the whole screen width */
  .neg { margin-inline: calc(-1 * var(--gut)); aspect-ratio: 4 / 5; border-radius: 0; }
  .neg::before { inset: 14px; }
}

/* ---------- 06 contact ---------- */
.contact { padding: clamp(100px, 12vw, 180px) var(--gut) clamp(80px, 8vw, 120px); border-top: 1px solid var(--line); }
.contact__title { font: 900 clamp(64px, 14.5vw, 260px)/.82 var(--f-display); font-stretch: 62%; letter-spacing: -.035em; text-transform: uppercase; color: var(--safelight-hi); margin-bottom: clamp(48px, 6vw, 88px); }
.contact__title .line { overflow: hidden; padding-bottom: .04em; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info { display: grid; gap: 36px; }
.contact__lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; max-width: 32ch; }
.contact__facts { display: grid; gap: 14px; }
.contact__facts div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.contact__facts dt { color: var(--muted); }
.contact__facts dd { color: var(--paper); text-align: right; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0; background: transparent; color: var(--paper);
  border: 0; border-bottom: 1.5px solid rgb(243 239 232 / .35); border-radius: 0; font: 400 18px/1.4 var(--f-text);
  transition: border-color var(--t-fast) ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--safelight-hi); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--safelight-hi); }
.field input[aria-invalid="true"] { border-bottom-color: var(--safelight-hi); }
.field__err { font-size: 14px; color: #ff8a80; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form__status { color: var(--paper); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px var(--gut) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer a.mono, .footer .mono a { text-decoration: none; }
.footer .mono a:hover, .footer__top:hover { color: var(--paper); }

/* ---------- phones and small tablets ---------- */
@media (max-width: 767px) {
  :root { --nav-h: 64px; }
  .hud__spec, .hud__focus { display: none; }
  .hud__rec { left: 32px; }
  .hero__copy { left: var(--gut); right: var(--gut); top: auto; bottom: 24vw; max-width: none; gap: 16px; }
  .hero__title { font-size: clamp(40px, 12vw, 60px); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__word { font-size: 24vw; bottom: auto; top: calc(var(--nav-h) + 48px); }
  .hero__pause { right: calc(var(--gut) + 16px); bottom: calc(var(--gut) + 8px); }
  .hero__pause [data-pause-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__pause { min-width: 44px; padding: 0; justify-content: center; }
  .aperture__stage { height: auto; min-height: 0; display: grid; gap: 40px; padding: 110px var(--gut) 40px; }
  .aperture__iris { position: relative; inset: auto; aspect-ratio: 1; width: min(78vw, 420px); margin-left: auto; clip-path: circle(50% at 50% 50%); }
  .aperture__ring { left: auto; right: var(--gut); top: 110px; width: min(78vw, 420px); height: min(78vw, 420px); transform: none; }
  .aperture__text { position: relative; left: auto; top: auto; transform: none; width: auto; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .hero__copy { max-width: 74vw; }
}
@media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
  .hero__copy { top: auto; bottom: 22vw; right: calc(var(--gut) + 40px); max-width: none; }
  .hero__title { font-size: clamp(56px, 10vw, 96px); }
  .hero__word { font-size: 24vw; bottom: auto; top: calc(var(--nav-h) + 64px); }
  .hud__focus { display: none; }
  .aperture__text { width: 58vw; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hud__dot { animation: none; }
  *, *::before, *::after { transition-duration: 1ms !important; }
}
