/* =====================================================================
   Janko Francisti — fotograf, Novi Sad
   Concept: the site is a camera and a darkroom. The hero is a live
   viewfinder (hold to expose), the selection develops like a print,
   the archive is a contact sheet on a light table.
   ===================================================================== */

:root {
  --ink: #0a0a0b;
  --ink-2: #111113;
  --ink-3: #19191c;
  --line: rgba(236, 232, 224, 0.14);
  --line-2: rgba(236, 232, 224, 0.26);
  --paper: #ece8e0;
  --paper-dim: rgba(236, 232, 224, 0.64);
  --paper-faint: rgba(236, 232, 224, 0.58);
  --red: #ff3b1f;
  --red-ink: #e3321a;
  --amber: #e9a640;
  --table: #f4f0e7;
  --table-2: #e7e0d2;
  --table-ink: #17171a;
  --table-dim: rgba(23, 23, 26, 0.72);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1680px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.7, 0, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-display);
  font-variation-settings: "wdth" 100;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

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

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: var(--ink); padding: 10px 16px;
  font-family: var(--f-mono); font-size: 13px;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.mono {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

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

/* =====================================================================
   Ambient light: the page takes on the colour of the light in the photo
   you are looking at, like a print glowing on a table in the dark.
   Sections without photos get the red of a darkroom safelight.
   ===================================================================== */
@property --amb { syntax: "<color>"; inherits: true; initial-value: #d2321e; }
.ambient {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  --amb: #d2321e; --gx: 75; --gy: 35;
  transition: --amb 1.8s ease;
}
.ambient::before, .ambient::after {
  content: ""; position: absolute; left: 0; top: 0; border-radius: 50%;
  will-change: transform;
  transition: transform 2.4s var(--ease);
}
.ambient::before {
  width: 110vmax; height: 110vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--amb) 24%, transparent), color-mix(in srgb, var(--amb) 7%, transparent) 55%, transparent);
  transform: translate(calc(var(--gx) * 1vw - 55vmax), calc(var(--gy) * 1vh - 55vmax));
}
.ambient::after {
  width: 70vmax; height: 70vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--amb) 11%, transparent), transparent);
  transform: translate(calc((100 - var(--gx)) * 1vw - 35vmax), calc((100 - var(--gy)) * 1vh - 35vmax));
}
/* No z-index here: the series preview and the loupe inside main must rise above the film edges. */
main, .foot { position: relative; }

/* Film edge down both sides on wide screens: perforations and frame
   numbers, scrolling with the page as if it were one long strip. */
.film-edge { display: none; }
@media (min-width: 1360px) and (hover: hover) {
  .film-edge {
    display: block; position: absolute; width: 28px; z-index: 40;
    pointer-events: none; overflow: hidden;
    background-repeat: repeat-y; background-size: 28px 24px;
  }
  .film-edge.l {
    left: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='24'%3E%3Cpath fill='%23100e0d' fill-opacity='.9' fill-rule='evenodd' d='M0 0h28v24H0zM6 7h4a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  }
  .film-edge.r {
    right: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='24'%3E%3Cpath fill='%23100e0d' fill-opacity='.9' fill-rule='evenodd' d='M0 0h28v24H0zM18 7h4a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  }
  .film-edge .mk {
    position: absolute; writing-mode: vertical-rl;
    font-family: var(--f-mono); font-size: 7.5px; letter-spacing: .2em; line-height: 1;
    color: var(--amber); opacity: .78; white-space: nowrap;
  }
  .film-edge.l .mk { right: 3px; }
  .film-edge.r .mk { left: 3px; transform: rotate(180deg); }
}
@media print { .film-edge, .ambient, .grain { display: none; } }

/* =====================================================================
   Navigation
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  transition: transform .55s var(--ease), opacity .3s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav > * { pointer-events: auto; }
.nav > nav { margin: 0 auto; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  font-family: var(--f-display);
  font-variation-settings: "wdth" 62;
  font-weight: 800; font-size: 15px; letter-spacing: 0;
}

.nav-links {
  display: flex; gap: clamp(14px, 2vw, 30px);
  margin: 0; padding: 0; list-style: none;
}
.nav-links a {
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.nav-tools { display: flex; align-items: center; gap: 18px; margin-left: 0; }

.clock {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em;
}
.clock svg { width: 22px; height: 22px; overflow: visible; }
.clock .face { fill: none; stroke: currentColor; stroke-width: 1.2; }
.clock .h-hand { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.clock .m-hand { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.lang { display: inline-flex; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; }
.lang button { padding: 6px 4px; opacity: 0.65; transition: opacity 0.2s; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lang span { opacity: 0.4; padding: 6px 0; }

.menu-btn {
  display: none;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  align-items: center; gap: 10px; padding: 8px 0;
}
.menu-btn i { display: grid; gap: 5px; width: 22px; }
.menu-btn i::before, .menu-btn i::after { content: ""; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.menu-open .menu-btn i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
  visibility: hidden;
}
.menu-open .sheet { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.7s var(--ease-io), visibility 0s; }
/* bottom-aligned when it fits, scrollable when it does not (phones held sideways) */
.sheet > nav { margin-top: auto; position: relative; }
.sheet-bg { position: absolute; inset: 0; opacity: 0.32; }
.sheet-bg img { width: 100%; height: 100%; object-fit: cover; }
.sheet-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,10,11,.4) 40%, var(--ink) 100%); }
.sheet ol { position: relative; list-style: none; margin: 0 0 32px; padding: 0; counter-reset: s; }
.sheet li { counter-increment: s; border-top: 1px solid var(--line); }
.sheet li a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0;
  font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase;
  font-size: clamp(29px, 8.8vw, 48px); line-height: 0.95;
}
.sheet li a::before { content: "0" counter(s); font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.1em; opacity: 0.5; transform: translateY(-1.4em); }
.sheet-foot { position: relative; display: flex; justify-content: space-between; gap: 16px; color: var(--paper-dim); }
.sheet-foot .lang { color: var(--paper); }
@media (max-height: 520px) {
  .sheet { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 16px; }
  .sheet ol { margin-bottom: 16px; }
  .sheet li a { font-size: clamp(22px, 7.4vh, 34px); padding: 7px 0; }
}

/* =====================================================================
   Hero — the viewfinder
   ===================================================================== */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  isolation: isolate;
}
.hero-media, .hero-gl, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { object-fit: cover; transition: opacity 0.9s var(--ease), filter 1.4s var(--ease); }
.js .hero-fallback { opacity: 0; }
.hero-gl { opacity: 0; transition: opacity 0.6s; }
.hero.gl-ready .hero-gl { opacity: 1; }
.hero.gl-ready .hero-fallback { opacity: 0; }

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 34%, rgba(0,0,0,0) 55%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 50%);
  transition: opacity .8s var(--ease);
}
/* While the visitor holds the shutter, the name steps back and the photograph takes the frame. */
.hero-copy, .hero-cap { transition: opacity .7s var(--ease); }
.hero.held .hero-copy { opacity: .06; }
.hero.held .hero-cap { opacity: .3; }
.hero.held::after { opacity: .35; }

.vf { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(255,255,255,.75); }
.vf-corner.tl { top: calc(var(--nav-h) + 6px); left: var(--gutter); border-top-width: 1px; border-left-width: 1px; }
.vf-corner.tr { top: calc(var(--nav-h) + 6px); right: var(--gutter); border-top-width: 1px; border-right-width: 1px; }
.vf-corner.bl { bottom: 54px; left: var(--gutter); border-bottom-width: 1px; border-left-width: 1px; }
.vf-corner.br { bottom: 54px; right: var(--gutter); border-bottom-width: 1px; border-right-width: 1px; }

.vf-af {
  position: absolute; left: 50%; top: 46%;
  width: 74px; height: 52px; transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), width 0.35s var(--ease), height 0.35s var(--ease);
}
.vf-af::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.7);
  clip-path: polygon(0 0, 14px 0, 14px 1px, 1px 1px, 1px 14px, 0 14px, 0 calc(100% - 14px), 1px calc(100% - 14px), 1px calc(100% - 1px), 14px calc(100% - 1px), 14px 100%, 0 100%, 0 0, 100% 0, 100% 14px, calc(100% - 1px) 14px, calc(100% - 1px) 1px, calc(100% - 14px) 1px, calc(100% - 14px) 0, 100% 0, 100% 100%, calc(100% - 14px) 100%, calc(100% - 14px) calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) calc(100% - 14px), 100% calc(100% - 14px), 100% 100%);
}
.hero.exposing .vf-af { width: 58px; height: 40px; }
.hero.exposing .vf-af::before { border-color: var(--red); }

.vf-top {
  position: absolute; top: calc(var(--nav-h) + 16px); left: calc(var(--gutter) + 44px); right: calc(var(--gutter) + 44px);
  display: flex; justify-content: space-between; gap: 16px;
  color: rgba(255,255,255,.82);
}
.vf-top .rec { display: inline-flex; align-items: center; gap: 8px; }
.vf-top .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); opacity: .35; transition: opacity .2s; }
.hero.exposing .vf-top .rec::before { opacity: 1; animation: blink 0.5s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.vf-bar {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 18px; z-index: 3;
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px);
  color: rgba(255,255,255,.88);
  pointer-events: none;
}
.vf-bar > * { white-space: nowrap; }
.vf-bar .mode { border: 1px solid currentColor; padding: 1px 6px; }
.vf-bar .val b { font-weight: 500; color: #fff; }
.vf-bar .val.live b { color: var(--red); }
.vf-bar .spacer { flex: 1; }
.vf-bar .snow-btn { pointer-events: auto; opacity: 0.85; padding: 6px 0; }
.vf-bar .snow-btn[aria-pressed="false"] { opacity: .75; text-decoration: line-through; text-decoration-thickness: 1px; }

.meter { position: relative; display: inline-flex; align-items: flex-end; gap: 0; height: 18px; width: 150px; }
.meter i { flex: 1; height: 5px; border-left: 1px solid rgba(255,255,255,.6); }
.meter i:nth-child(4) { height: 9px; border-left-color: #fff; }
.meter i:last-of-type { border-right: 1px solid rgba(255,255,255,.6); }
.meter .needle {
  position: absolute; bottom: -6px; left: 0; width: 0; height: 0;
  border: 5px solid transparent; border-bottom-color: var(--red); border-top: 0;
  transform: translateX(calc(var(--m, 1) * 150px - 5px));
  transition: transform 0.12s linear;
}
.meter-labels { position: absolute; top: -13px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 8.5px; opacity: .7; }

.hero-copy {
  position: absolute; z-index: 3;
  left: var(--gutter); bottom: 112px;
  max-width: min(80vw, 1100px);
  pointer-events: none;
}
.hero-kicker { margin: 0 0 18px; color: rgba(255,255,255,.85); display: flex; gap: 14px; align-items: center; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero-title {
  margin: 0;
  font-variation-settings: "wdth" 62;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(45px, 8.4vw, 144px);
  line-height: 0.8;
  letter-spacing: -0.012em;
  color: #fff;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .ln > span { display: inline-block; transition: transform 1.3s var(--ease); }
.js .hero-title .ln > span { transform: translateY(105%); }
.hero-title .ln:nth-child(2) > span { transition-delay: 0.08s; }
.is-in .hero-title .ln > span { transform: none; }
.hero-lede {
  margin: 22px 0 0;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(18px, 1.76vw, 27px); line-height: 1.15;
  color: rgba(255,255,255,.92);
  max-width: 22ch;
  text-wrap: balance;
  transition: opacity 1s 0.5s, transform 1s 0.5s var(--ease);
}
.js .hero-lede { opacity: 0; transform: translateY(14px); }
.js .is-in .hero-lede { opacity: 1; transform: none; }

.hero-side {
  position: absolute; z-index: 4; right: var(--gutter); bottom: 96px;
  display: flex; align-items: flex-end; gap: 26px;
}
.hero-cap { text-align: right; color: #fff; max-width: 280px; pointer-events: none; }
.hero-cap .t { display: block; font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.1; }
.hero-cap .l { display: block; margin-top: 6px; color: rgba(255,255,255,.7); }
.hero-cap .t, .hero-cap .l { transition: opacity 0.4s, transform 0.5s var(--ease); }
.hero-cap.swap .t, .hero-cap.swap .l { opacity: 0; transform: translateY(6px); }

.shutter {
  position: relative; flex: none;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.shutter svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.shutter .track { fill: rgba(0,0,0,.25); stroke: rgba(255,255,255,.45); stroke-width: 1; }
.shutter .prog { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.shutter .core {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.15;
  transition: transform 0.25s var(--ease), background 0.25s;
  box-shadow: 0 0 0 0 rgba(255,59,31,.5);
  animation: pulse 2.6s infinite;
}
.shutter:hover .core { transform: scale(1.05); }
.hero.exposing .shutter .core { transform: scale(0.86); background: var(--red); color: var(--ink); animation: none; }
.shutter-hint { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; color: rgba(255,255,255,.75); font-size: 9.5px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.35); }
  70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.flash.go { animation: flash 0.5s ease-out; }
@keyframes flash { 0% { opacity: 0.55; } 100% { opacity: 0; } }

.hero-toast {
  position: absolute; z-index: 6; left: 50%; top: 58%;
  transform: translate(-50%, 8px);
  padding: 8px 12px; background: rgba(0,0,0,.6); color: #fff;
  opacity: 0; transition: opacity 0.3s, transform 0.3s var(--ease);
  pointer-events: none; white-space: nowrap;
}
.hero-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   Section scaffolding
   ===================================================================== */
.section { position: relative; padding: clamp(64px, 7.5vw, 116px) 0 clamp(40px, 5vw, 80px); }

.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 68px); }
/* Section labels are printed like the edge markings of a film strip. */
.sec-num {
  grid-column: 1 / -1; margin-bottom: 24px;
  display: flex; gap: 10px; align-items: center;
  font-size: 10.5px; letter-spacing: .18em;
  color: var(--amber);
}
.sec-title {
  grid-column: 1 / span 8;
  margin: 0;
  font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase;
  font-size: clamp(37px, 6.1vw, 109px); line-height: 0.92; letter-spacing: -0.01em;
}
.sec-title em, .serif-em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.sec-title em { font-size: 0.92em; }
.sec-sub { grid-column: 9 / -1; margin: 0; color: var(--paper-dim); max-width: 38ch; font-size: 15.5px; text-wrap: pretty; }

[data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================
   Intro statement
   ===================================================================== */
.intro { padding-top: clamp(80px, 10vw, 150px); }
.statement {
  margin: 0;
  font-variation-settings: "wdth" 75; font-weight: 700;
  font-size: clamp(24px, 3.5vw, 61px); line-height: 1.04; letter-spacing: -0.015em;
  text-transform: none;
  max-width: 20ch;
}
.statement .nw { white-space: nowrap; }
/* Words come into focus like a lens pulling focus. */
.statement .w { opacity: .3; filter: blur(.06em); transition: opacity .6s, filter .7s var(--ease); }
.statement .w.on { opacity: 1; filter: none; }
.statement em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-variation-settings: normal; }
.chip {
  position: relative;
  display: inline-block; vertical-align: middle;
  width: 1.7em; height: 0.82em; margin: -0.1em 0.04em 0 0.08em;
  border-radius: 999px; overflow: hidden;
  transform: translateY(-0.06em);
  background: var(--ink-3);
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
/* Hovering a photo pill enlarges it above the text without moving a word.
   (Changing its width re-wrapped the sentence and pushed the pill out from
   under the cursor, so it flickered.) */
.statement .chip.w { transition: opacity .6s, filter .7s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .statement .chip:hover { z-index: 2; transform: translateY(-0.06em) scale(1.9); box-shadow: 0 .3em .9em rgba(0,0,0,.55); }
}
.intro-foot { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: clamp(30px, 4vw, 60px); }
.intro-foot p { grid-column: 7 / span 5; margin: 0; color: var(--paper-dim); font-size: 16px; max-width: 46ch; }
.intro-foot .sig { grid-column: 7 / span 5; margin-top: 26px; font-family: var(--f-hand); font-size: 27px; color: var(--paper); transform: rotate(-3deg); transform-origin: left; }

/* =====================================================================
   Selected work — prints that develop
   ===================================================================== */
.picks { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: clamp(48px, 6.5vw, 104px); }
.pick { margin: 0; position: relative; }
.pick .frame-wrap {
  position: relative; overflow: hidden;
  background: var(--ink-2);
  cursor: zoom-in;
  display: block; width: 100%;
}
/* A print in the developer tray: it starts as near-white paper, the darks
   build up first, and the red safelight clears last. */
/* The whole photo is shown, edge to edge, signature included. */
.pick .frame-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  filter: grayscale(.6) contrast(.35) brightness(1.95);
  transition: filter 3.2s cubic-bezier(.55, 0, .25, 1);
}
.pick:not(.developed) .frame-wrap img { will-change: filter; }
.pick .frame-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: #ff2a12;
  mix-blend-mode: multiply;
  opacity: .6;
  transition: opacity 1.1s ease 2.6s;
}
.pick.developed .frame-wrap img { filter: grayscale(0) contrast(1) brightness(1); }
.pick.developed .frame-wrap::after { opacity: 0; }

.pick figcaption {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px;
  margin-top: 18px; align-items: baseline;
}
.pick .p-num { grid-row: span 3; font-family: var(--f-mono); font-size: 11.5px; color: var(--red); letter-spacing: .08em; }
.pick .p-title { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.84vw, 27px); line-height: 1.05; }
.pick .p-loc { color: var(--paper-dim); }
.pick .p-exif { color: var(--paper-faint); }

/* Hand-placed rhythm (desktop) */
.pick.l1 { grid-column: 1 / span 8; }
.pick.l2 { grid-column: 9 / span 4; align-self: end; }
.pick.l3 { grid-column: 3 / span 9; }
.pick.l4 { grid-column: 1 / span 5; }
.pick.l5 { grid-column: 7 / span 6; margin-top: 9vw; }
.pick.l6 { grid-column: 2 / span 10; }
.pick.l7 { grid-column: 1 / span 4; }
.pick.l8 { grid-column: 6 / span 7; align-self: center; }
.pick.l9 { grid-column: 4 / span 6; }
.pick.l10 { grid-column: 1 / span 7; }
.pick.l11 { grid-column: 9 / span 4; align-self: end; }

.picks-end { margin-top: clamp(44px, 5.5vw, 80px); display: flex; justify-content: center; }

.btn-line {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 28px; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .35s, color .35s, border-color .35s;
}
.btn-line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* =====================================================================
   Series index
   ===================================================================== */
.series-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.series-list li { border-top: 1px solid var(--line); }
.sx {
  width: 100%;
  display: grid; grid-template-columns: 70px 1fr auto 60px; align-items: center; gap: 20px;
  padding: clamp(14px, 1.7vw, 22px) 0;
  text-align: left;
  transition: color .35s, padding .5s var(--ease);
}
.sx-num { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--paper-faint); }
.sx-name {
  font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase;
  font-size: clamp(26px, 4vw, 70px); line-height: .92;
  transition: transform .6s var(--ease);
}
.sx-name em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-variation-settings: normal; font-size: .82em; color: var(--paper-dim); }
.sx-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--paper-dim); }
.sx-arrow { justify-self: end; font-size: 21px; transition: transform .5s var(--ease); }
.series-list:hover .sx { color: rgba(236,232,224,.28); }
.series-list .sx:hover, .series-list .sx:focus-visible { color: var(--paper); }
.sx:hover .sx-name { transform: translateX(22px); }
.sx:hover .sx-arrow { transform: translateX(-6px) rotate(-45deg); }
.sx-thumbs { display: none; }

.peek {
  position: fixed; left: 0; top: 0; z-index: 60;
  width: 300px; aspect-ratio: 4 / 5;
  pointer-events: none; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .3s, transform .4s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.peek.on { opacity: 1; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   Archive — contact sheet on a light table
   ===================================================================== */
.table {
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, #fffdf8 0%, rgba(255,253,248,0) 70%),
    linear-gradient(180deg, var(--table) 0%, var(--table-2) 100%);
  color: var(--table-ink);
  overflow: hidden;
}
.table::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(23,23,26,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,26,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.table .sec-num, .table .sec-sub { color: var(--table-dim); }
.table .sec-title { color: var(--table-ink); }

/* The tube switches on: a short flicker, then steady light. */
.js .table::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  background: var(--ink); pointer-events: none;
}
.js .table.lit::after { animation: tube 1.15s linear forwards; }
@keyframes tube {
  0% { opacity: 1; } 9% { opacity: .3; } 13% { opacity: .92; } 21% { opacity: .12; }
  26% { opacity: .7; } 33%, 100% { opacity: 0; visibility: hidden; }
}
.table:not(.lit) .strip { transition-delay: .7s; }

.table .sec-head { position: relative; }
.tape {
  position: absolute; top: -10px; right: 0;
  transform: rotate(4deg);
  padding: 10px 26px 8px;
  background: rgba(232, 218, 178, .82);
  font-family: var(--f-hand); font-size: 21px; line-height: 1; color: #2b2a26;
  clip-path: polygon(2% 8%, 6% 0, 12% 6%, 20% 0, 30% 5%, 42% 0, 55% 6%, 66% 0, 78% 5%, 90% 0, 98% 6%, 100% 50%, 97% 94%, 88% 100%, 76% 95%, 62% 100%, 50% 94%, 38% 100%, 25% 95%, 12% 100%, 4% 94%, 0 50%);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  z-index: 2;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; position: relative; z-index: 2; }
.filters button {
  padding: 10px 16px; border: 1px solid rgba(23,23,26,.22); border-radius: 999px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.filters button sup { font-size: 9px; margin-left: 4px; }
.filters button:hover { border-color: var(--table-ink); }
.filters button[aria-pressed="true"] { background: var(--table-ink); color: var(--table); border-color: var(--table-ink); }

.sheet-wrap { position: relative; z-index: 1; }
.contact { display: grid; gap: 22px; }
.strip {
  position: relative;
  background: #0f0f10;
  padding: 26px 12px 36px;
  display: flex; gap: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6), 0 18px 40px -18px rgba(0,0,0,.45);
  transform: rotate(var(--rot, 0deg));
  opacity: 0; translate: 0 24px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
}
.strip.is-in { opacity: 1; translate: 0 0; }
.strip::before, .strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='9'%3E%3Crect x='6' y='0' width='10' height='9' rx='2' fill='%23f6f2ea'/%3E%3C/svg%3E") repeat-x;
  background-size: 22px 9px;
  opacity: .92;
}
.strip::before { top: 8px; }
.strip::after { bottom: 8px; }
.strip-edge {
  position: absolute; left: 14px; top: -1px; height: 9px; line-height: 9px;
  font-family: var(--f-mono); font-size: 7.5px; letter-spacing: .18em; color: var(--amber); opacity: .8;
  pointer-events: none; white-space: nowrap;
}
.frame {
  position: relative; flex: none;
  height: var(--row-h, 220px);
  background: #070708;
  cursor: zoom-in;
  outline-offset: 4px;
}
.frame img { width: 100%; height: 100%; object-fit: contain; }
.frame .f-no {
  position: absolute; left: 2px; bottom: -17px;
  font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .14em; color: var(--amber); opacity: .85;
  white-space: nowrap; pointer-events: none;
}
.table-note {
  margin-top: 26px; display: flex; justify-content: flex-end;
  color: var(--table-dim); position: relative; z-index: 2;
}

.loupe {
  position: fixed; left: 0; top: 0; z-index: 70;
  width: 230px; height: 230px; border-radius: 50%;
  pointer-events: none;
  background-color: #111; background-repeat: no-repeat;
  box-shadow:
    0 0 0 9px #141416,
    0 0 0 10px rgba(255,255,255,.25),
    0 0 0 18px rgba(20,20,22,.92),
    0 28px 60px rgba(0,0,0,.45),
    inset 0 0 30px rgba(0,0,0,.45);
  opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .25s, transform .35s var(--ease);
}
.loupe.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.loupe::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.28), rgba(255,255,255,0) 36%);
}

/* =====================================================================
   About
   ===================================================================== */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.about-photo { grid-column: 1 / span 5; position: relative; }
.about-photo .sticky { position: sticky; top: 100px; }
.about-photo figure { margin: 0; }
.about-photo img { width: 100%; height: auto; }
.about-photo figcaption { margin-top: 14px; color: var(--paper-dim); display: flex; justify-content: space-between; gap: 12px; }
.about-photo figcaption .serif-em { font-size: 16px; color: var(--paper); }
.about-text { grid-column: 7 / span 6; }
.about-text .lead {
  margin: 0 0 24px;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.7vw, 43px); line-height: 1.08;
}
.about-text p { color: var(--paper-dim); font-size: 16px; max-width: 54ch; margin: 0 0 20px; }
.about-text p strong { color: var(--paper); font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); margin: 38px 0 0; border-top: 1px solid var(--line); }
.stat { padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.stat:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 28px; }
.stat b {
  display: block;
  font-variation-settings: "wdth" 62; font-weight: 800;
  font-size: clamp(35px, 3.7vw, 61px); line-height: .9; letter-spacing: -0.01em;
}
.stat span { display: block; margin-top: 10px; color: var(--paper-dim); }

.bag { margin-top: 34px; }
.bag h3 { margin: 0 0 14px; color: var(--paper-faint); font-weight: 400; }
.bag ul { list-style: none; margin: 0; padding: 0; }
.bag li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.bag li span:last-child { color: var(--paper-faint); }

/* =====================================================================
   Services
   ===================================================================== */
/* Services as a darkroom test strip: four exposure steps on one sheet,
   each step a little longer, marked in grease pencil. */
.services { display: flex; gap: 0; height: min(68vh, 600px); min-height: 460px; }
.svc {
  position: relative; flex: 1 1 0; min-width: 0;
  overflow: hidden; background: var(--ink-2);
  transition: flex-grow .9s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 24px;
  isolation: isolate;
}
.svc + .svc { border-left: 1px solid rgba(0,0,0,.75); }
.svc:nth-child(1) { --ex: .26; }
.svc:nth-child(2) { --ex: .38; }
.svc:nth-child(3) { --ex: .52; }
.svc:nth-child(4) { --ex: .68; }
.svc.open { flex-grow: 2.6; }
.svc img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: brightness(var(--ex, .45));
  transform: scale(1.08);
  transition: filter 1s var(--ease), transform 1.4s var(--ease);
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.35) 100%); }
.svc.open img { filter: brightness(.9); transform: scale(1); }
.svc-num {
  position: absolute; top: 18px; left: 24px;
  font-family: var(--f-hand); font-size: 26px; line-height: 1;
  color: var(--red); transform: rotate(-5deg);
  text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 0 14px rgba(0,0,0,.45);
}
.svc h3 {
  margin: 0;
  font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase;
  font-size: clamp(21px, 1.8vw, 35px); line-height: .92;
}
.svc h3 em { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-variation-settings: normal; font-size: .62em; color: var(--paper-dim); margin-top: 6px; }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.svc-body > div { overflow: hidden; padding: 0 0 6px 6px; margin-left: -6px; }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body p { margin: 16px 0 18px; color: rgba(236,232,224,.82); max-width: 40ch; font-size: 15px; }
.svc-body a { display: inline-flex; gap: 10px; align-items: center; color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; }
.svc-body a:hover { border-color: var(--red); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: clamp(40px, 5vw, 72px) 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); counter-reset: p; }
.process li { list-style: none; counter-increment: p; }
.process li::before { content: "0" counter(p); display: block; font-family: var(--f-mono); font-size: 11.5px; color: var(--red); letter-spacing: .08em; margin-bottom: 14px; }
.process h3 { margin: 0 0 8px; font-variation-settings: "wdth" 75; font-weight: 700; font-size: 18px; }
.process p { margin: 0; color: var(--paper-dim); font-size: 15.5px; max-width: 30ch; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-sec { padding-bottom: clamp(56px, 6.5vw, 96px); }
.big-cta {
  margin: 0 0 clamp(34px, 4.2vw, 60px);
  font-variation-settings: "wdth" 62; font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 7.2vw, 131px); line-height: .82; letter-spacing: -0.012em;
}
.big-cta em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-variation-settings: normal; }
.big-cta .sweep {
  background: linear-gradient(100deg, var(--paper) 0%, var(--paper) 40%, #fff6d8 48%, var(--red) 52%, var(--paper) 60%, var(--paper) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sweep 6s var(--ease-io) infinite;
}
@keyframes sweep { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0% 0; } }

.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 36px; }
.contact-info { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 22px; }
.contact-info .row span { display: block; color: var(--paper-faint); margin-bottom: 6px; }
.contact-info .row a, .contact-info .row p { margin: 0; font-size: clamp(17px, 1.45vw, 21px); font-variation-settings: "wdth" 75; font-weight: 600; }
.contact-info .row a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-info .row a:hover { background-size: 100% 1px; }

.form { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--paper-faint); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 17px; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: 8px 0 12px;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ece8e0' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
  padding-right: 26px;
}
.field select option { background: var(--ink-2); color: var(--paper); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid transparent; outline-offset: 2px; border-bottom-color: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: rgba(236,232,224,.6); }
.field .req { color: var(--red); }
.form-req { grid-column: 1 / -1; margin: 0 0 -8px; color: var(--paper-faint); }
.form-req .req { color: var(--red); }
.field [aria-invalid="true"] { border-bottom-color: var(--red); }
.field input[type="date"] { color-scheme: dark; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form-foot small { color: var(--paper-faint); font-size: 13px; max-width: 42ch; }
.btn-send {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 20px 30px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.btn-send .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.btn-send:hover { background: var(--red); color: var(--ink); }
.btn-send:hover .dot { background: var(--ink); }
.form-status { grid-column: 1 / -1; min-height: 1.4em; color: var(--paper-dim); margin: -8px 0 0; }

/* =====================================================================
   Footer
   ===================================================================== */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.tower { width: clamp(150px, 16vw, 230px); }
.tower svg { width: 100%; height: auto; display: block; overflow: visible; }
.tower .dial { fill: #f2efe8; }
.tower .rim { fill: none; stroke: #0b0b0c; stroke-width: 3; }
.tower .tick { stroke: #0b0b0c; stroke-width: 2; }
.tower .tick.major { stroke-width: 3.2; }
.tower .num { font-family: var(--f-serif); font-size: 15px; fill: #0b0b0c; text-anchor: middle; dominant-baseline: central; }
.tower .hh { stroke: #0b0b0c; stroke-width: 3; stroke-linecap: round; }
.tower .mh { stroke: #0b0b0c; stroke-width: 6; stroke-linecap: round; }
.tower .pin { fill: #0b0b0c; }
.foot-text .lead { margin: 0 0 12px; font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.76vw, 26px); line-height: 1.15; max-width: 34ch; }
.foot-text p { margin: 0; color: var(--paper-dim); max-width: 60ch; font-size: 15.5px; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; color: var(--paper-faint); }
.foot-bottom a:hover { color: var(--paper); }
.foot-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* =====================================================================
   Lightbox
   ===================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(6,6,7,.97);
  display: grid; grid-template-rows: auto 1fr auto;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s .45s;
}
.lb.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.lb[hidden] { display: none; }
.lb-top, .lb-bot { display: flex; align-items: center; gap: 20px; padding: 18px var(--gutter); }
.lb-top { justify-content: space-between; color: var(--paper-dim); }
.lb-close { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); padding: 8px 0; }
.lb-close i { position: relative; width: 18px; height: 18px; }
.lb-close i::before, .lb-close i::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.lb-close i::after { transform: rotate(-45deg); }
.lb-stage { --lb-pad: clamp(64px, 7vw, 120px); position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
.lb-stage img {
  position: absolute; top: 0; left: var(--lb-pad);
  width: calc(100% - 2 * var(--lb-pad)); height: 100%;
  max-width: none; object-fit: contain;
  transition: opacity .5s var(--ease), transform .7s var(--ease), filter .9s var(--ease);
}
body.lb-open .nav, body.lb-open .cursor .label { opacity: 0; pointer-events: none; }
.lb-stage img.loading { opacity: 0; transform: scale(.985); filter: brightness(.3); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 20px; transition: background .3s, color .3s; }
.lb-nav:hover { background: var(--paper); color: var(--ink); }
.lb-prev { left: clamp(10px, 2vw, 40px); }
.lb-next { right: clamp(10px, 2vw, 40px); }
.lb-bot { justify-content: space-between; align-items: flex-end; flex-wrap: wrap; }
.lb-title { font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 1.9vw, 27px); line-height: 1.1; }
.lb-loc { display: block; margin-top: 6px; color: var(--paper-dim); }
.lb-exif { display: flex; gap: 18px; flex-wrap: wrap; color: var(--paper-dim); }
.lb-exif b { color: var(--paper); font-weight: 500; }

/* =====================================================================
   Custom cursor (fine pointers only)
   ===================================================================== */
.cursor { display: none; }
@media (hover: none), (max-width: 860px) { .fine-only { display: none; } }
@media (forced-colors: active) {
  .has-cursor, .has-cursor * { cursor: auto !important; }
  .cursor { display: none !important; }
  .filters button[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .nav-links a::after { forced-color-adjust: none; background: CanvasText; }
}
@media (1100px < width <= 1320px) { .svc h3 { font-size: 19px; } }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor * { cursor: none !important; }
  .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto !important; }
  .cursor {
    display: block; position: fixed; left: 0; top: 0; z-index: 160;
    pointer-events: none; mix-blend-mode: difference; color: #fff;
  }
  .cursor .dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
  .cursor .ring {
    position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  }
  .cursor .ring::before {
    content: ""; position: absolute; inset: 0; border: 1px solid #fff;
    clip-path: polygon(0 0, 30% 0, 30% 1px, 1px 1px, 1px 30%, 0 30%, 0 70%, 1px 70%, 1px calc(100% - 1px), 30% calc(100% - 1px), 30% 100%, 0 100%, 0 0, 100% 0, 100% 30%, calc(100% - 1px) 30%, calc(100% - 1px) 1px, 70% 1px, 70% 0, 100% 0, 100% 100%, 70% 100%, 70% calc(100% - 1px), calc(100% - 1px) calc(100% - 1px), calc(100% - 1px) 70%, 100% 70%, 100% 100%);
  }
  .cursor .label {
    position: absolute; left: 30px; top: 18px; white-space: nowrap;
    font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
    opacity: 0; transition: opacity .25s;
  }
  .cursor.is-media .ring { width: 70px; height: 50px; margin: -25px 0 0 -35px; }
  .cursor.is-media .label, .cursor.is-hold .label { opacity: 1; }
  .cursor.is-link .ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
  .cursor.is-hold .ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
  .cursor.is-loupe, .cursor.is-out { opacity: 0; }
  .cursor.is-down .ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .nav > nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-tools { margin-left: auto; }
  .services { flex-direction: column; height: auto; min-height: 0; }
  .svc { min-height: 300px; flex: none; }
  .svc + .svc { border-left: 0; border-top: 1px solid rgba(0,0,0,.75); }
  .svc img, .svc.open img { filter: brightness(calc(var(--ex, .45) + .14)); transform: none; }
  .svc-num { position: static; align-self: flex-start; margin-bottom: auto; padding-bottom: 18px; }
  .svc-body { grid-template-rows: 1fr; }
  .svc.open { flex-grow: 0; }
  .about-text { grid-column: 6 / span 7; }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav .lang { display: none; }
  .vf-top { left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 12px); }
  .vf-top .hide-sm { display: none; }
  .vf-corner { display: none; }
  .vf-af { top: 30%; }
  .vf-bar .hide-sm { display: none; }
  .vf-bar { bottom: 16px; gap: 14px; }
  .hero-copy { bottom: 150px; max-width: calc(100vw - 2 * var(--gutter)); }
  .hero-title { font-size: clamp(42px, 12vw, 84px); }
  .hero-lede { max-width: 18ch; }
  .hero-side { left: var(--gutter); right: var(--gutter); bottom: 46px; justify-content: space-between; align-items: center; gap: 16px; }
  .hero-cap { text-align: left; max-width: 62%; }
  .hero-cap .t { font-size: 16px; }
  .shutter { width: 80px; height: 80px; }
  .shutter .core { width: 52px; height: 52px; font-size: 9px; }
  .shutter-hint { display: none; }

  .sec-head { display: block; }
  .sec-sub { margin-top: 16px; }
  .intro-foot p, .intro-foot .sig { grid-column: 1 / -1; }

  .picks { display: flex; flex-direction: column; gap: 48px; }
  .pick { width: 100%; margin: 0 !important; }
  .pick.portrait { width: 82%; }
  .pick:nth-child(even).portrait { align-self: flex-end; }

  .sx { grid-template-columns: 36px 1fr; gap: 0 12px; align-items: start; }
  .sx-num { padding-top: .9em; }
  .sx-name em { display: block; margin-top: 6px; white-space: nowrap; }
  .sx-count { grid-column: 2; margin-top: 10px; }
  .sx-arrow { display: none; }
  .sx-thumbs { display: flex; gap: 6px; grid-column: 2; margin-top: 12px; }
  .sx-thumbs img { width: 64px; height: 48px; object-fit: cover; }
  .peek { display: none; }

  .tape { position: relative; top: auto; right: auto; display: inline-block; margin: 0 0 22px 4px; font-size: 18px; }
  .strip { padding: 22px 8px 32px; gap: 4px; }
  .frame .f-no { font-size: 7.5px; bottom: -15px; }
  .loupe { display: none; }

  .about-photo, .about-text { grid-column: 1 / -1; }
  .about-photo .sticky { position: static; }
  .stat:nth-child(even) { padding-left: 16px; }

  .process { grid-template-columns: 1fr 1fr; row-gap: 28px; }

  .contact-info, .form { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; gap: 22px; }

  .foot-grid { grid-template-columns: 1fr; }
  .tower { width: 150px; }

  .lb-stage { --lb-pad: 8px; }
  .lb-nav { top: auto; bottom: 10px; transform: none; width: 44px; height: 44px; font-size: 16px; background: rgba(0,0,0,.55); }
  .lb-bot { gap: 12px; }
}

@media (max-width: 480px) {
  .hide-xs { display: none; }
  .brand > span:last-child { display: none; }
  .nav-tools { gap: 16px; }
  .clock { white-space: nowrap; }
  .section { padding: 56px 0 36px; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 10.5px; }
  .process { grid-template-columns: 1fr; }
  .big-cta { font-size: clamp(35px, 10.4vw, 56px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .shutter .core { animation: none; }
  .big-cta .sweep { animation: none; color: var(--paper); background: none; }
  [data-reveal], .strip, .hero-title .ln > span, .hero-lede { opacity: 1 !important; transform: none !important; translate: none !important; transition: none !important; }
  .pick .frame-wrap img { filter: none; transition: none; transform: none; }
  .pick .frame-wrap::after { display: none; }
  .statement .w { opacity: 1; filter: none; }
  .table::after { display: none; }
  .ambient, .ambient::before, .ambient::after { transition: none; }
  .hero.exposing .vf-top .rec::before { animation: none; }
  .svc, .svc img, .svc-body, .sx, .sx-name, .sx-arrow, .chip, .statement .chip.w, .nav, .hero-copy, .hero-cap { transition: none; }
  .sheet, .menu-open .sheet, .lb, .lb.open, .lb-stage img, .peek, .loupe, .hero-cap .t, .hero-cap .l { transition: none; }
}
