/* ============================================================
   Voncurr — Scott Currier Photography
   Minimal gallery aesthetic (White Cube–inspired)
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #121212;
  --ink-soft: #6a6a6a;
  --ink-faint: #9a9a9a;
  --line: #e7e7e7;
  --accent: #ff7f00;
  --dark: #0e0e0e;
  --dark-soft: #b8b8b8;

  --maxw: 1500px;
  --pad: clamp(1.4rem, 5vw, 5rem);
  --section-y: clamp(4.5rem, 11vw, 9.5rem);

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h: 76px;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Shared type ---------- */
.kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--ink-faint);
}
.kicker-light { color: rgba(255, 255, 255, 0.82); }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.text-link {
  display: inline-block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.text-link:hover { color: var(--accent); }
.text-link:hover::after { background: var(--accent); transform: scaleX(1); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: block; position: relative; }
.logo img { height: 30px; width: auto; transition: opacity 0.4s var(--ease); }
.logo .logo-dark { position: absolute; inset: 0; opacity: 0; }

.nav { display: flex; gap: clamp(1.4rem, 3vw, 2.8rem); }
.nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

/* scrolled state */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
}
.site-header.scrolled .logo-light { opacity: 0; }
.site-header.scrolled .logo-dark { opacity: 1; }
.site-header.scrolled .nav a { color: var(--ink); }

.menu-toggle {
  display: none;
  width: 34px; height: 34px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.menu-toggle span {
  display: block; height: 1.5px; width: 26px;
  background: #fff;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease);
}
.site-header.scrolled .menu-toggle span { background: var(--ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0) 26%),
    linear-gradient(to top, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0) 42%);
}
.hero-content {
  position: absolute;
  left: 0; bottom: clamp(5.5rem, 14vh, 9rem);
  width: 100%;
  padding: 0 var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-content { left: 50%; transform: translateX(-50%); }
.hero-content .kicker { margin-bottom: 1.4rem; }
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero-meta {
  position: absolute;
  bottom: clamp(1.6rem, 4vh, 2.6rem);
  left: 50%; transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.fig {
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue {
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.8rem;
}
.scroll-line {
  width: 46px; height: 1px; background: rgba(255,255,255,0.6);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: #fff; transform: translateX(-100%);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%,100% { transform: translateX(100%); }
}

/* ============================================================
   Statement
   ============================================================ */
.statement {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--pad) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}
.statement .kicker { grid-column: 1; }
.statement-text {
  font-size: clamp(1.3rem, 2.7vw, 2.15rem);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -0.015em;
  max-width: 24ch;
  max-width: 30ch;
  color: var(--ink);
}
.statement-text { max-width: 1100px; }
.statement-text em { font-style: normal; }

/* ============================================================
   Section head (shared)
   ============================================================ */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}
.section-aside {
  justify-self: end;
  max-width: 360px;
  text-align: left;
}
.section-aside p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

/* ============================================================
   Work / Gallery (masonry)
   ============================================================ */
.work { padding: var(--section-y) 0; }
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  column-count: 3;
  column-gap: clamp(0.8rem, 1.6vw, 1.6rem);
}
.g-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.6rem);
  overflow: hidden;
  cursor: pointer;
  background: #f3f3f3;
}
.g-item img {
  width: 100%;
  height: auto;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.g-item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; bottom: 0;
  padding: 1.4rem 1.2rem 1rem;
  width: 100%;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; transform: translateY(0); }

/* ============================================================
   Series
   ============================================================ */
.series { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.series-row {
  max-width: var(--maxw);
  margin: 0 auto clamp(3rem, 6vw, 5.5rem);
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}
.series-row:last-child { margin-bottom: 0; }
.series-row.reverse .series-media { order: 2; }
.series-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f3f3f3;
}
.series-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.series-row:hover .series-media img { transform: scale(1.04); }
.series-no {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.series-title {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.series-desc {
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 42ch;
  margin-bottom: 1.4rem;
}
.series-meta {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: 1.6rem;
}

/* ============================================================
   About
   ============================================================ */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-y) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  border-top: 1px solid var(--line);
}
.about-media { aspect-ratio: 4 / 5; overflow: hidden; background: #f3f3f3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-info .kicker { margin-bottom: 1.4rem; }
.about-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}
.about-info p {
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  max-width: 46ch;
}
.about-info .text-link { margin-top: 0.6rem; }
.about-meta { margin-top: 1.9rem; font-size: 0.82rem; letter-spacing: 0.03em; color: var(--ink-faint); }
.about-meta a { color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.about-meta a:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad) 2.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.footer-logo { height: 30px; width: auto; margin-bottom: 1.4rem; }
.footer-brand p { color: var(--dark-soft); max-width: 32ch; font-size: 0.95rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-cols h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
}
.footer-cols a {
  display: block;
  color: var(--dark-soft);
  font-size: 0.92rem;
  padding: 0.32rem 0;
  transition: color 0.3s var(--ease);
}
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 99;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--pad);
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu nav a {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 0.4rem 0;
}
.mobile-menu-foot { margin-top: 3rem; }
.mobile-menu-foot a { color: var(--ink-soft); letter-spacing: 0.04em; }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 200;
  background: rgba(8,8,8,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.8rem);
  max-width: 92vw; max-height: 86vh;
}
.lb-img {
  max-width: min(76vw, 1100px); max-height: 84vh;
  width: auto; height: auto; object-fit: contain; display: block;
}
.lb-meta { flex: 0 0 232px; align-self: center; text-align: left; }
.lbm-title {
  color: #fff; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; line-height: 1.4;
}
.lbm-row {
  display: flex; gap: 0.8rem; padding: 0.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.72rem; line-height: 1.45;
}
.lbm-k {
  flex: 0 0 78px; color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6rem; padding-top: 2px;
}
.lbm-v { color: rgba(255,255,255,0.85); letter-spacing: 0.02em; }
.lbm-sub { color: rgba(255,255,255,0.5); }
.lb-stage.no-meta { flex-direction: column; }
.lb-stage.no-meta .lb-meta { flex: none; text-align: center; margin-top: 1.1rem; }
.lb-stage.no-meta .lbm-title { margin-bottom: 0; color: rgba(255,255,255,0.7); }

@media (max-width: 760px) {
  .lb-stage { flex-direction: column; gap: 1rem; max-height: 90vh; }
  .lb-img { max-width: 92vw; max-height: 62vh; }
  .lb-meta { flex: none; width: min(92vw, 360px); }
}
.lb-close, .lb-nav {
  position: absolute;
  background: none; border: none; color: #fff; cursor: pointer;
  opacity: 0.7; transition: opacity 0.3s var(--ease);
}
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 1.6rem; right: 2rem; font-size: 2.4rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 1.4rem; }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }

/* ============================================================
   Motion / Film (dark band)
   ============================================================ */
.motion {
  background: var(--dark);
  color: #fff;
  padding: var(--section-y) 0;
  border-top: 1px solid var(--line);
}
.motion .section-title { color: #fff; }
.motion .section-aside p { color: var(--dark-soft); }
.motion .text-link { color: #fff; }
.motion .text-link::after { background: #fff; }
.motion-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.media-scrim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.04) 55%, rgba(0,0,0,0.18));
  pointer-events: none;
}
.play-btn {
  position: absolute; top: 50%; left: 50%;
  width: 84px; height: 84px; border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.9);
  background: rgba(18,18,18,0.25);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.play-btn.sm { width: 56px; height: 56px; }
.play-tri {
  width: 0; height: 0; margin-left: 5px;
  border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
.play-btn.sm .play-tri { border-width: 6px 0 6px 11px; margin-left: 4px; }

.showreel {
  position: relative; display: block; width: 100%;
  margin: 0 0 clamp(0.8rem, 1.6vw, 1.6rem);
  padding: 0; border: none; background: #000;
  aspect-ratio: 2.39 / 1; overflow: hidden;   /* cinematic headline viewer (CinemaScope) */
}
/* 16:9 embed scaled to COVER the 21:9 frame (crops top/bottom; strips YouTube's letterbox) */
.showreel iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 100%;
  border: 0; display: block; pointer-events: none;
}
.showreel img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.92); transition: transform 1s var(--ease); }
.showreel:hover img { transform: scale(1.03); }
.showreel:hover .play-btn,
.film:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); border-color: var(--accent); }
.showreel-label { position: absolute; left: 0; bottom: 0; padding: clamp(1.2rem, 3vw, 2.2rem); text-align: left; }
.showreel-title { display: block; color: #fff; font-weight: 600; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -0.02em; margin-top: 0.5rem; }
.film-cat { display: block; color: var(--accent); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; }

.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.6vw, 1.6rem); align-items: start; }
.film { display: block; padding: 0; border: none; background: none; cursor: pointer; text-align: left; font: inherit; }
.film-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.film-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.9); transition: transform 1s var(--ease); }
.film:hover .film-media img { transform: scale(1.04); }
.film-meta { display: block; padding-top: 1rem; }
.film-meta .film-cat { margin-bottom: 0.5rem; }
.film-title { display: block; color: #fff; font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em; }
.film-dur { display: block; color: var(--dark-soft); font-size: 0.78rem; margin-top: 0.35rem; letter-spacing: 0.04em; }

/* ============================================================
   Video modal
   ============================================================ */
.video-modal {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 210;
  background: rgba(8,8,8,0.97);
  display: flex; align-items: center; justify-content: center;
  padding: var(--pad);
  opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.vm-stage {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  width: min(1180px, 94vw); max-height: 88vh;
}
.vm-inner { flex: 1 1 auto; min-width: 0; max-width: 860px; aspect-ratio: 16 / 9; background: #000; position: relative; }
.vm-inner iframe, .vm-inner video { width: 100%; height: 100%; border: 0; display: block; }
/* metadata sidebar — like the photo lightbox, smaller than body, muted gray */
.vm-meta { flex: 0 0 248px; align-self: center; text-align: left; max-height: 84vh; overflow-y: auto; }
.vmm-title { color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4; margin-bottom: 1.1rem; }
.vmm-row { display: flex; gap: 0.8rem; padding: 0.4rem 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.78rem; line-height: 1.45; }
.vmm-k { flex: 0 0 70px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6rem; padding-top: 2px; }
.vmm-v { color: #aaaaaa; letter-spacing: 0.02em; }
.vmm-summary { margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.12); color: #aaaaaa; font-size: 0.85rem; line-height: 1.55; }
@media (max-width: 820px) {
  .vm-stage { flex-direction: column; gap: 1rem; width: 92vw; max-height: 92vh; overflow-y: auto; }
  .vm-inner { width: 100%; max-width: 100%; }
  .vm-meta { flex: none; width: 100%; max-height: none; }
  .vmm-row { font-size: 0.82rem; }
}
.vm-placeholder {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 2rem;
  border: 1px solid rgba(255,255,255,0.14);
}
.vm-placeholder .film-cat { margin-bottom: 1rem; }
.vm-placeholder strong { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 600; letter-spacing: -0.01em; }
.vm-placeholder span { color: var(--dark-soft); font-size: 0.9rem; margin-top: 0.9rem; max-width: 38ch; line-height: 1.5; }
.vm-close { position: absolute; top: 1.4rem; right: 1.9rem; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: 0.75; transition: opacity 0.3s var(--ease); }
.vm-close:hover { opacity: 1; }

/* ============================================================
   Colophon (closing end-matter)
   ============================================================ */
.colophon {
  border-top: 1px solid var(--line);
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
}
.colophon-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.colophon-stats {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center;
  row-gap: 0.5rem;
  color: var(--ink-soft);
  font-size: clamp(0.9rem, 1.7vw, 1.12rem);
  letter-spacing: 0.01em;
}
.colophon-stats .stat { white-space: nowrap; }
.colophon-stats .stat strong { color: var(--ink); font-weight: 600; }
.colophon-stats .stat:not(:first-child)::before {
  content: "·"; margin: 0 1.5rem; color: var(--ink-faint);
}
.colophon-link { margin-top: 2.1rem; }

/* ============================================================
   Section rail (right-side index)
   ============================================================ */
.section-rail {
  position: fixed;
  right: clamp(1.1rem, 2.2vw, 2.2rem);
  top: 50%; transform: translateY(-50%);
  z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1.05rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
  /* auto-contrast against whatever scrolls behind it (white, photos, dark band) */
  mix-blend-mode: difference;
}
.section-rail.visible { opacity: 1; pointer-events: auto; }
.section-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 0.7rem; }
.rail-label {
  font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600;
  color: #fff; white-space: nowrap;
  opacity: 0; transform: translateX(5px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.rail-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: transparent; border: 1.5px solid #fff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.section-rail:hover .rail-label { opacity: 0.55; transform: translateX(0); }
.section-rail a.active .rail-label { opacity: 1; transform: translateX(0); }
.section-rail a.active .rail-dot { background: #fff; transform: scale(1.25); }
.section-rail a:hover .rail-dot { background: #fff; }

@media (max-width: 1024px) { .section-rail { display: none; } }

/* ============================================================
   Sub-page header (always solid) + page head
   ============================================================ */
.site-header.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
}
.site-header.solid .logo-light { opacity: 0; }
.site-header.solid .logo-dark { opacity: 1; }
.site-header.solid .nav a { color: var(--ink); }
.site-header.solid .menu-toggle span { background: var(--ink); }

.page-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)) var(--pad) clamp(2rem, 5vw, 3.2rem);
}
.page-head .section-head { max-width: none; margin: 0; padding: 0; }
.page-head .section-title { font-size: clamp(2.4rem, 6vw, 4rem); }
/* Index archive: filter sidebar + justified gallery */
.archive {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) var(--section-y);
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

/* Justified rows — JS sets each tile's width/height (left→right, then down) */
.gallery.justified {
  max-width: none; margin: 0; padding: 0;
  column-count: initial;
  display: flex; flex-wrap: wrap; gap: clamp(0.8rem, 1.6vw, 1.6rem);
  align-items: flex-start;
}
.gallery.justified .g-item { margin: 0; width: auto; }
.gallery.justified .g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item.is-hidden { display: none; }

/* Filter sidebar */
.filterbar {
  position: sticky;
  top: calc(var(--header-h) + 1.4rem);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 2.8rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  display: flex; flex-direction: column; gap: 1.4rem;
}
.filter-count {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-faint);
}
.facet { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.facet-label {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 600; color: var(--ink-faint); margin: 0 0 0.5rem;
}
.chip {
  display: block; text-align: left; width: 100%;
  font: inherit; font-size: 0.86rem; color: var(--ink-soft);
  background: none; border: none; cursor: pointer; padding: 1px 0;
  transition: color 0.25s var(--ease);
}
.chip:hover { color: var(--ink); }
.chip.on { color: var(--accent); font-weight: 600; }

@media (max-width: 860px) {
  .archive { grid-template-columns: 1fr; gap: 1.4rem; }
  .filterbar {
    position: static; flex-direction: row; flex-wrap: wrap;
    gap: 0.3rem 1.6rem; align-items: baseline;
    max-height: none; overflow: visible; padding-right: 0;
    padding-bottom: 0.9rem; border-bottom: 1px solid var(--line);
  }
  .filter-count { width: 100%; }
  .facet { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.7rem; }
  .facet-label { margin: 0 0.3rem 0 0; }
  .chip { display: inline-block; width: auto; }
}

/* ============================================================
   Reveal animations
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }
.gallery .g-item { transition-delay: var(--d, 0s); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .gallery { column-count: 2; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }

  .section-head { grid-template-columns: 1fr; gap: 1.2rem; align-items: start; }
  .section-aside { justify-self: start; }

  .series-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .series-row.reverse .series-media { order: 0; }

  .film-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .series-info { padding-top: 0.4rem; }

  .about { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; max-height: 460px; }

  .hero-title { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

@media (max-width: 460px) {
  .gallery { column-count: 1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* Open-menu state: hamburger -> X, dark logo on white overlay */
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); background: var(--ink); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); background: var(--ink); }
body.menu-open { overflow: hidden; }
body.menu-open .logo-light { opacity: 0; }
body.menu-open .logo-dark { opacity: 1; }

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

/* ============================================================
   Series page (single curated series)
   ============================================================ */
.series-head .kicker { margin-bottom: 1.1rem; }
.series-head .section-title { max-width: 18ch; }
.series-intro {
  margin-top: 1.5rem;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}
.series-line {
  margin-top: 1.9rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-faint);
}
.series-line .sl:not(:first-child)::before {
  content: "·"; margin: 0 0.7rem; color: var(--ink-faint);
}
.series-back { margin-top: 1.6rem; }

.series-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) var(--section-y);
}

/* Narrative sequence (e.g. Proposal) — chronological single column */
.gallery.sequence {
  max-width: 940px; margin: 0 auto; padding: 0;
  column-count: initial; display: block;
}
.gallery.sequence .g-item {
  width: auto; margin: 0 0 clamp(2.4rem, 6vw, 5rem);
}
.gallery.sequence .g-item:last-child { margin-bottom: 0; }
.gallery.sequence .g-item img { width: 100%; height: auto; object-fit: initial; }
.gallery.sequence .g-item:hover img { transform: none; }
.gallery.sequence .g-item::after { display: none; }
.seq-cap {
  margin-top: 0.85rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ink-faint);
}

/* Prev / next series */
.series-pager {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 4rem) var(--pad);
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.series-pager .series-pager-mid { color: var(--ink-faint); }
@media (max-width: 560px) {
  .series-pager { font-size: 0.84rem; }
}

/* Justified galleries (Index + Series) use roomier, homepage-matching whitespace;
   the JS layout reads this gap from CSS (see .gallery.justified above). */

/* ============================================================
   Series landing (browse all) — dual-mode with the single view
   ============================================================ */
.series-single-view { display: none; }
body.is-single .series-single-view { display: block; }
body.is-single .series-landing-view { display: none; }
.series-list { padding-bottom: var(--section-y); }

/* ============================================================
   Film page
   ============================================================ */
.film-lead { max-width: var(--maxw); margin: 0 auto clamp(1.8rem, 4vw, 3rem); padding: 0 var(--pad); }
.film-page { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) var(--section-y); }
.film-filters {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
  padding-bottom: 1.1rem; border-bottom: 1px solid var(--line);
}
.film-filters .chip { width: auto; display: inline-block; }
/* light-page overrides for the .film card (its defaults target the dark band) */
.film-page .film-title { color: var(--ink); }
.film-page .film-dur { color: var(--ink-soft); }

/* ============================================================
   About page
   ============================================================ */
.page-head > .kicker { margin-bottom: 1.1rem; }

.about-lead {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-lead .portrait { aspect-ratio: 4 / 5; overflow: hidden; background: #f3f3f3; }
.about-lead .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-bio .lead {
  font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.45;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 1.5rem;
}
.about-bio .lead em { font-style: normal; color: var(--accent); }
.about-bio p { color: var(--ink-soft); margin-bottom: 1.15rem; max-width: 62ch; }
.about-bio p:last-child { margin-bottom: 0; }

.about-practice { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad) 0; }
.practice-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}
.practice-cols h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.7rem; }
.practice-cols p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 44ch; }

.about-contact { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--pad); }
.about-contact .kicker { margin-bottom: 1rem; }
.about-contact .contact-line {
  font-size: clamp(1.1rem, 2vw, 1.45rem); line-height: 1.5; letter-spacing: -0.01em;
  max-width: 52ch; color: var(--ink);
}
.about-contact .contact-line a { border-bottom: 1px solid var(--line); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.about-contact .contact-line a:hover { color: var(--accent); border-color: var(--accent); }
.about-contact .contact-social { margin-top: 1.7rem; display: flex; gap: 1.6rem; }

@media (max-width: 760px) {
  .about-lead { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-lead .portrait { aspect-ratio: 4 / 3; max-height: 460px; }
  .practice-cols { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ============================================================
   Legal pages (Privacy / Cookies / Terms)
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; padding: 0 var(--pad) var(--section-y); }
.legal .updated {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink-faint); margin-bottom: 2rem;
}
.legal h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; margin: 2.4rem 0 0.8rem; }
.legal p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }
.legal ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.legal li { color: var(--ink-soft); line-height: 1.7; padding-left: 1.3rem; position: relative; margin-bottom: 0.6rem; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.legal a:hover { color: var(--accent); border-color: var(--accent); }

/* Consistent page-head height across Photography / Film / Series (so a longer
   summary doesn't make one header taller than the others). */
.page-head .section-head { min-height: 9.5rem; align-items: start; }
@media (max-width: 760px) { .page-head .section-head { min-height: 0; } }

/* ============================================================
   Résumé page
   ============================================================ */
.resume { max-width: 880px; margin: 0 auto; padding: 0 var(--pad) var(--section-y); }
.resume-role { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 600; margin-top: 0.9rem; }
.resume-contact { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.01em; }
.resume-contact a { color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.resume-contact a:hover { color: var(--accent); border-color: var(--accent); }
.resume-section { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.4rem, 3vw, 2rem); border-top: 1px solid var(--line); }
.resume-section > h2 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-faint); font-weight: 600; margin-bottom: 1.3rem; }
.resume-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.55; color: var(--ink); max-width: 64ch; }
.resume-entry { margin-bottom: 1.8rem; }
.resume-entry:last-child { margin-bottom: 0; }
.resume-entry-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.resume-entry-role { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink); }
.resume-entry-date { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); white-space: nowrap; }
.resume-entry-org { color: var(--ink-soft); font-size: 0.95rem; margin: 0.15rem 0 0.55rem; }
.resume ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.resume li { color: var(--ink-soft); line-height: 1.6; padding-left: 1.25rem; position: relative; margin-bottom: 0.5rem; font-size: 0.95rem; }
.resume li::before { content: "—"; position: absolute; left: 0; color: var(--ink-faint); }
.resume .skill-group { margin-bottom: 0.7rem; color: var(--ink-soft); line-height: 1.6; font-size: 0.95rem; max-width: 70ch; }
.resume .skill-group strong { color: var(--ink); font-weight: 600; }

/* About page "The work" header sat inside its section's padding twice — align it
   with the practice columns below (no extra indent). */
.about-practice .section-head { max-width: none; margin-left: 0; margin-right: 0; padding: 0; }
