/* ============================================================
   W2b ART — Main Stylesheet
   Colors: Black #090909 | Crimson #C41E3A | Silver #A8A8A8
   Fonts: Cormorant Garamond (display) | Space Mono (technical) | Inter (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Warm-ink dark — moves the page from neutral charcoal to a
     gallery-warm "darkroom" black. Preserves contrast with cream text. */
  --bg:            #0E0C09;
  --bg-2:          #15110C;
  --bg-3:          #1C1812;

  /* Crimson stays as a brand stamp on the canister itself — never
     used for hovers, section numbers, or atmosphere. It is the
     identity of 35mm film, not a UI accent. */
  --crimson:       #C41E3A;
  --crimson-dim:   #8B1528;
  --crimson-glow:  rgba(196, 30, 58, 0.10);

  /* Champagne bone — primary functional accent. Reads "museum label",
     not "fashion gold". Used for hovers, section numbers, links,
     scrollbar, CTAs. */
  --accent-warm:     #C5B999;
  --accent-warm-dim: #8A7F63;

  --silver:        #A8A8A8;
  --silver-light:  #D0D0D0;
  --text:          #ECE6DA;
  --text-muted:    #948A78;
  --film-tan:      #2A2510;
  --gold-subtle:   #8A7040;
  --border:        rgba(197, 185, 153, 0.12);
  --border-soft:   rgba(197, 185, 153, 0.06);
  --border-red:    rgba(196, 30, 58, 0.20);

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-mono:     'Space Mono', 'Courier New', monospace;
  --font-body:     'Inter', system-ui, sans-serif;

  --ease-film:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-snap:     cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

p { font-size: 1.05rem; line-height: 1.75; }

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.012;
  pointer-events: none;
  z-index: 9999;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-warm-dim); border-radius: 2px; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: linear-gradient(to bottom, rgba(14,12,9,0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.nav.scrolled {
  background: rgba(14,12,9,0.96);
  border-bottom-color: var(--border);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo svg {
  width: 52px;
  height: 32px;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-light);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-warm);
  transition: width 0.3s var(--ease-film);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
}

.lang-switcher button {
  color: var(--text-muted);
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.lang-switcher button:hover,
.lang-switcher button.active {
  color: var(--accent-warm);
  background: rgba(197, 185, 153, 0.1);
}

.lang-sep { color: var(--border); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--silver);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Hero — Curatorial title block + catalogue index ────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 3rem 4rem;
  gap: 4.5rem;
}

/* Subtle vertical hairline behind the curatorial block — gallery
   wall divider, not chrome. */
.hero::before {
  content: '';
  position: absolute;
  top: 14%; bottom: 50%;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, transparent);
  pointer-events: none;
}

/* ── Curatorial title block ─────────────────────────────────── */
.curatorial {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 1.1s var(--ease-film) 0.25s forwards;
}

.curatorial-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.curatorial-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 8.4vw, 7.8rem);
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 2.25rem;
}

.curatorial-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-warm);
}

.curatorial-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0.92;
}

.curatorial-meta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.curatorial-rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent-warm-dim);
}

/* ── Catalogue index — film as the body of work ─────────────── */
.catalogue-strip {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease-film) 0.85s forwards;
}

.catalogue-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-warm);
  text-align: center;
  padding-top: 0.25rem;
  position: relative;
}

.catalogue-label::before,
.catalogue-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--border);
}
.catalogue-label::before { right: calc(50% + 2.5rem); }
.catalogue-label::after  { left:  calc(50% + 2.5rem); }

@media (max-width: 600px) {
  .catalogue-label::before, .catalogue-label::after { width: 32px; }
}

/* Legacy class retained for animations referenced elsewhere */
.hero-tagline {
  display: none;
}

/* Scene container — flex row on desktop/tablet, column on mobile.
   max-width matches .camera-back so the canister aligns with the
   LCD screen below it. */
.film-scene {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 360px;
  overflow: hidden;
  padding: 1rem 1.5rem;
}

/* ── CANISTER ──────────────────────────────────────────────── */
.canister-wrapper {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.85);
  animation: canisterReveal 1.2s var(--ease-film) 0.6s forwards;
}

@keyframes canisterReveal {
  to { opacity: 1; transform: scale(1); }
}

.canister {
  width: 180px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Symmetric vertical padding reserves room for the protruding stem
     below cap-bottom (an absolute pseudo-element) so the bounding box
     matches the visible canister and the body's vertical center
     aligns with the canister's flex center — and therefore with the
     film strip when the parent flex uses align-items: center. */
  padding: 11px 0;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,0.7)) drop-shadow(0 6px 14px rgba(0,0,0,0.85));
  cursor: pointer;
  transition: transform 0.4s var(--ease-film), filter 0.4s ease;
  outline: none;
}

.canister:hover {
  transform: translateY(-3px) scale(1.02);
  filter: drop-shadow(0 22px 44px rgba(0,0,0,0.78)) drop-shadow(0 6px 16px rgba(0,0,0,0.9));
}

.canister:focus-visible {
  filter: drop-shadow(0 0 0 2px var(--crimson)) drop-shadow(0 10px 36px rgba(196,30,58,0.45));
}

/* Retracting animation when canister is clicked.
   Uses Material standard easing (slow start, gentle end) for a polished feel. */
.film-scene.retracting .canister {
  transform: scale(0.88) translateY(10px);
  opacity: 0.45;
  filter: drop-shadow(0 8px 22px rgba(196,30,58,0.18))
          drop-shadow(0 4px 10px rgba(0,0,0,0.7));
  transition: transform 0.85s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.85s cubic-bezier(0.4, 0, 0.2, 1),
              filter    0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.film-scene.retracting .film-strip-container {
  transform: scaleX(0);
  opacity: 0;
  /* Strip retracts slightly after the canister starts moving — feels
     like the film is being pulled back into the cartridge. */
  transition: transform 0.95s cubic-bezier(0.5, 0, 0.1, 1) 0.06s,
              opacity   0.55s ease 0.12s;
}

@media (max-width: 768px) {
  .film-scene.retracting .film-strip-container {
    transform: scaleY(0);
    transition: transform 0.95s cubic-bezier(0.5, 0, 0.1, 1) 0.06s,
                opacity   0.55s ease 0.12s;
  }
  /* Compose the retract transform with the mobile rotation so the
     canister stays horizontal while it shrinks. */
  .film-scene.retracting .canister {
    transform: rotate(90deg) scale(0.88) translateY(10px);
  }
}

/* Tiny "tap to open" hint that pulses subtly under the canister */
.canister-hint {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  text-align: center;
  animation: hintFade 1.2s ease 2.5s forwards, hintPulse 2.4s ease-in-out 4s infinite;
}

@keyframes hintFade  { to { opacity: 1; } }
@keyframes hintPulse {
  0%, 100% { color: var(--text-muted); }
  50%      { color: var(--crimson); }
}

/* Top metal end-cap — same width as body for clean cylinder profile */
.canister-cap-top {
  width: 180px;
  height: 20px;
  background:
    linear-gradient(180deg, #353535 0%, #1a1a1a 35%, #0a0a0a 65%, #2a2a2a 100%);
  border-radius: 6px 6px 2px 2px;
  position: relative;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.18),
    inset 0 -1px 2px rgba(0,0,0,0.85),
    0 1px 0 rgba(0,0,0,0.6);
}

/* Felt slit on the top cap — the real film exit on a 35mm cartridge */
.canister-cap-top::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 14px;
  right: 14px;
  height: 5px;
  background: linear-gradient(180deg, #050505 0%, #1a1a1a 50%, #050505 100%);
  border-radius: 1px;
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,0.95),
    inset 0 -1px 1px rgba(40,40,40,0.6);
}

/* Specular highlight on the cap */
.canister-cap-top::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 18%;
  width: 28%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.35), transparent);
  border-radius: 50%;
  pointer-events: none;
}

/* Body — cylindrical 35mm cartridge seen from the side */
.canister-body {
  width: 180px;
  height: 240px;
  background:
    linear-gradient(90deg,
      #000 0%, #161616 5%,
      #2a2a2a 14%, #1a1a1a 32%, #262626 50%,
      #1a1a1a 68%, #2a2a2a 86%,
      #161616 95%, #000 100%);
  border-radius: 2px;
  position: relative;
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.07),
    inset 0 -3px 7px rgba(0,0,0,0.65);
}

/* Subtle vertical sheen left-of-center, simulates curved surface */
.canister-body::before {
  content: '';
  position: absolute;
  top: 4px; bottom: 4px;
  left: 36%;
  width: 5px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.14), transparent);
  pointer-events: none;
  border-radius: 4px;
}

/* Right-edge seam — the visual exit line for the film strip */
.canister-slot {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 78%;
  background: linear-gradient(180deg, #050505 0%, #1a1a1a 50%, #050505 100%);
  box-shadow:
    inset 1px 0 2px rgba(0,0,0,0.9),
    inset -1px 0 2px rgba(0,0,0,0.85),
    0 0 6px rgba(0,0,0,0.6);
  border-radius: 1px 0 0 1px;
  pointer-events: none;
}

/* Label — minimal layout, centered on the body. Right padding accounts for slot. */
.canister-label {
  position: absolute;
  top: 24px; bottom: 24px;
  left: 14px; right: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  text-align: center;
}

.label-logo {
  width: 120px;
  height: auto;
  display: block;
}

/* Cartridge wordmark — quiet GD monogram, gallery-restrained */
.label-mark {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.94);
  line-height: 1;
}

.label-accent {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--crimson);  /* preserved — red ID stays on the cartridge itself */
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(196,30,58,0.5);
}

.label-bw {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

/* Bottom metal end-cap — same width as body, with spool stem */
.canister-cap-bottom {
  width: 180px;
  height: 20px;
  background: linear-gradient(0deg, #050505 0%, #1a1a1a 30%, #353535 60%, #2a2a2a 100%);
  border-radius: 2px 2px 6px 6px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.15),
    inset 0 -1px 2px rgba(0,0,0,0.85),
    0 6px 14px rgba(0,0,0,0.7);
  position: relative;
}

/* Specular highlight on bottom cap */
.canister-cap-bottom::before {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 18%;
  width: 28%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
  border-radius: 50%;
  pointer-events: none;
}

/* Spool stem — the small protrusion that sits in the camera */
.canister-cap-bottom::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 11px;
  background: linear-gradient(180deg, #2a2a2a 0%, #050505 100%);
  border-radius: 0 0 3px 3px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.12),
    0 3px 5px rgba(0,0,0,0.8);
}

/* ── FILM STRIP ────────────────────────────────────────────── */
.film-strip-container {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 5;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 1.4s var(--ease-film), opacity 0.6s ease;
  margin-left: -2px;            /* tuck strip up against canister slot */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  max-width: 100%;
}
.film-strip-container::-webkit-scrollbar { display: none; }

.film-scene.revealed .film-strip-container {
  transform: scaleX(1);
  opacity: 1;
  pointer-events: all;
}

.film-strip {
  display: flex;
  flex-direction: column;
  background: var(--film-tan);
  position: relative;
  width: max-content;
  /* No max-width here: the strip must keep its full max-content width so the
     perforation rails span every frame. The .film-strip-container caps width
     and scrolls (overflow-x:auto), so the page never overflows. */
}

/* Perforation rails (top + bottom in horizontal mode) */
.perforations {
  display: flex;
  flex-direction: row;
  padding: 5px 8px;
  gap: 14px;
  background: #1e1a08;
  justify-content: space-around;
}

.perf {
  width: 12px;
  height: 9px;
  background: var(--bg);
  border-radius: 1.5px;
  flex-shrink: 0;
  box-shadow: inset 0 0 2px rgba(0,0,0,0.85);
}

/* Frames row */
.film-frames {
  display: flex;
  flex-direction: row;
  background: #241f0c;
  padding: 0 4px;
  gap: 3px;
}

/* Individual gallery frame — sized so all 5 series fit visible at once
   in the strip area on standard desktop viewports. */
.film-frame {
  position: relative;
  width: 140px;
  height: 144px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #0a0a0a;
  transition: transform 0.3s var(--ease-film);
  scroll-snap-align: start;
}

.film-frame::before {
  content: attr(data-number);
  position: absolute;
  top: 4px; left: 5px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: rgba(168,168,168,0.5);
  z-index: 2;
  letter-spacing: 0.1em;
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Show the artist's intended image — never desaturate fine art thumbnails. */
  transition: transform 0.5s var(--ease-film);
}

.film-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,12,9,0.9) 0%, rgba(14,12,9,0.15) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px 8px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.film-frame-overlay .frame-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.film-frame-overlay .frame-cta {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-top: 2px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}

.film-frame:hover {
  transform: translateY(-4px);
  z-index: 2;
}

.film-frame:hover img {
  transform: scale(1.04);
}

.film-frame:hover .frame-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Placeholder frame (no image yet) */
.film-frame.empty img {
  display: none;
}

.film-frame.empty {
  background: linear-gradient(135deg, #1a1508, #0d0d05);
  border: 1px dashed rgba(138,112,64,0.2);
}

.film-frame.empty::after {
  content: '+';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: rgba(138,112,64,0.2);
}

/* Scroll hint */
.hero-scroll-hint {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 2.8s forwards;
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--crimson-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ── Sections ───────────────────────────────────────────────── */
.section {
  padding: 5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-warm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* ── CAMERA-BACK GALLERY SELECTOR ───────────────────────────── */
.camera-back-section { padding-bottom: 6rem; }

/* When the canister is clicked, the camera-back panel "rises" into the
   viewport — paired with the simultaneous smooth scroll, the effect is
   that the gallery selector ascends from below to take the top of the
   screen as the film retracts above it. */
@keyframes cameraBackRise {
  from {
    transform: translateY(90px) scale(0.97);
    opacity: 0;
    filter: blur(3px);
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

body.galleries-revealed .camera-back {
  animation: cameraBackRise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
}

/* Hero gently recedes during the same motion so the eye follows the
   camera-back upward instead of being held by the canister. */
.hero {
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

body.galleries-revealed .hero {
  transform: translateY(-20px);
  opacity: 0.55;
}

.camera-back {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 130px;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  background: linear-gradient(180deg, #131313 0%, #1a1a1a 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 30px 60px rgba(0,0,0,0.6),
    0 4px 12px rgba(0,0,0,0.5);
  position: relative;
  align-items: stretch;
}

/* Subtle camera body texture (top + bottom edges) */
.camera-back::before,
.camera-back::after {
  content: '';
  position: absolute;
  left: 1.5rem; right: 1.5rem;
  height: 4px;
  background: repeating-linear-gradient(90deg, #2a2a2a 0 6px, #1a1a1a 6px 12px);
  border-radius: 2px;
  opacity: 0.4;
}
.camera-back::before { top: 8px; }
.camera-back::after  { bottom: 8px; }

/* ── LCD SCREEN ─────────────────────────────────────────────── */
/* display:contents lets bezel + info participate as siblings in the
   parent .camera-back grid (3 columns instead of stacking). */
.camera-screen {
  display: contents;
}

.screen-bezel {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  box-shadow:
    inset 0 0 0 1px #050505,
    inset 0 2px 4px rgba(0,0,0,0.7),
    0 1px 0 rgba(255,255,255,0.02);
}

/* Top status bar above the screen */
.screen-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 8px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--silver);
  text-transform: uppercase;
}

.status-rec {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--crimson);
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 6px var(--crimson);
  animation: recBlink 1.4s ease-in-out infinite;
}

@keyframes recBlink { 50% { opacity: 0.3; } }

.status-counter { color: var(--silver-light); }
.status-iso     { color: var(--text-muted); }

/* The screen glass (LCD with subtle scanline + tint) */
.screen-glass {
  position: relative;
  flex: 1;
  min-height: 240px;
  aspect-ratio: 16/10;
  background: #050505;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(0,255,200,0.05);
}

.screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: opacity 0.4s ease;
}

/* Subtle rule-of-thirds grid like a real camera */
.screen-grid-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
  background-position: 33.33% 33.33%;
}

/* Corner brackets */
.screen-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1.5px solid rgba(196,30,58,0.7);
  pointer-events: none;
}
.screen-corner-tl { top: 8px; left: 8px;  border-right: none; border-bottom: none; }
.screen-corner-tr { top: 8px; right: 8px; border-left: none;  border-bottom: none; }
.screen-corner-bl { bottom: 8px; left: 8px;  border-right: none; border-top: none; }
.screen-corner-br { bottom: 8px; right: 8px; border-left: none;  border-top: none; }

/* Bottom info row under the screen image */
.screen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 4px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.foot-blink {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #6affb0;
  box-shadow: 0 0 4px #6affb0;
  animation: recBlink 2s ease-in-out infinite;
}

/* Screen flicker on selection change */
@keyframes screenFlicker {
  0%   { opacity: 0.35; filter: brightness(1.4); }
  20%  { opacity: 1; filter: brightness(1); }
  30%  { opacity: 0.7; }
  100% { opacity: 1; filter: brightness(1); }
}

.flicker { animation: screenFlicker 0.45s ease-out; }

/* Info panel — sits to the right of the LCD bezel */
.screen-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  min-width: 0;
  padding: 0.5rem 0;
}

.info-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.005em;
  line-height: 1.05;
}

.info-desc {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--silver-light);
}

.info-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: 0.3rem;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  border: 1px solid var(--accent-warm-dim);
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.info-cta:hover {
  background: var(--accent-warm);
  color: var(--bg);
  border-color: var(--accent-warm);
  transform: translateY(-1px);
}

.info-cta svg { width: 14px; height: 14px; }

/* ── CONTROL DIAL ───────────────────────────────────────────── */
.camera-controls-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0 2rem;     /* bottom space for SET badge */
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 1px #050505,
    inset 0 1px 0 rgba(255,255,255,0.03);
}

.wheel-arrow {
  width: 36px; height: 28px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  font-size: 0.7rem;
  color: var(--silver);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wheel-arrow:hover { background: #2a2520; color: var(--accent-warm); border-color: var(--accent-warm-dim); }
.wheel-arrow:active { transform: scale(0.95); }

.control-wheel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  will-change: transform;
}

/* Bounded viewport so the wheel actually scrolls visibly */
.camera-controls {
  width: 130px;
  height: 250px;
  overflow: hidden;
  position: relative;
}

/* Soft fade at top + bottom of the viewport to suggest off-screen items */
.camera-controls::before,
.camera-controls::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 36px;
  pointer-events: none;
  z-index: 5;
}
.camera-controls::before {
  top: 0;
  background: linear-gradient(180deg, #0d0d0d 20%, transparent);
}
.camera-controls::after {
  bottom: 0;
  background: linear-gradient(0deg, #0d0d0d 20%, transparent);
}

/* Subtle "selection window" indicator — two crimson tick marks */
.wheel-indicator {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 78px;
  border-top: 1px solid rgba(196,30,58,0.5);
  border-bottom: 1px solid rgba(196,30,58,0.5);
  pointer-events: none;
  z-index: 4;
}
.wheel-indicator::before,
.wheel-indicator::after {
  content: '';
  position: absolute;
  width: 4px; height: 8px;
  background: var(--accent-warm);
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 4px rgba(197,185,153,0.6);
}
.wheel-indicator::before { left: 0; }
.wheel-indicator::after  { right: 0; }

/* Active-segment pulse on selection */
@keyframes segPulse {
  0%   { transform: scale(1.04); }
  50%  { transform: scale(1.09); }
  100% { transform: scale(1.04); }
}

.wheel-segment.active {
  animation: segPulse 0.45s ease-out;
}

/* Each gallery slot in the wheel */
.wheel-segment {
  flex-shrink: 0;
  height: 74px;
  display: grid;
  grid-template-columns: 22px 50px 1fr;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  background: #131313;
  border: 1px solid #232323;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
  text-align: left;
  overflow: hidden;
}

.wheel-segment:hover {
  background: #1a1a1a;
  border-color: #3a3a3a;
  color: var(--silver);
}

.wheel-segment.active {
  background: linear-gradient(135deg, rgba(197,185,153,0.16), rgba(197,185,153,0.06));
  border-color: var(--accent-warm);
  color: var(--text);
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px var(--accent-warm-dim),
    0 0 14px rgba(197,185,153,0.18);
}

.seg-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-warm);
  letter-spacing: 0.05em;
}

.seg-thumb {
  width: 50px; height: 36px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(40%);
  transition: filter 0.3s ease;
}
.seg-thumb-empty { background: #1a1a1a; border: 1px dashed #333; }

.wheel-segment.active .seg-thumb { filter: grayscale(0%); }

.seg-label {
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wheel-set {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-warm);
  color: var(--bg);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(197,185,153,0.25);
}

/* ── Camera-back responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  /* On mobile the skeuomorphic camera-back is replaced with a clean
     vertical card list. Strip out the bezel, status bar, LCD,
     wheel arrows, indicator, and SET pill. Each gallery becomes a
     full-width tap target that navigates straight to its page. */
  .camera-back {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .camera-back::before,
  .camera-back::after { display: none; }

  /* Hide the LCD + info column entirely on mobile — wasted real
     estate on a phone. Tap-the-card-to-open is the affordance. */
  .screen-bezel,
  .screen-info { display: none; }

  /* Strip wheel chrome */
  .camera-controls-wrapper {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .camera-controls {
    height: auto;
    width: 100%;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .camera-controls::before,
  .camera-controls::after { display: none; }
  .wheel-indicator { display: none; }
  .wheel-arrow    { display: none; }
  .wheel-set      { display: none; }

  /* Wheel becomes a clean vertical stack of gallery cards */
  .control-wheel {
    flex-direction: column;
    transform: none !important;
    width: 100%;
    padding: 0;
    gap: 0.75rem;
  }

  .wheel-segment {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 96px 1fr 24px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "thumb num   arrow"
      "thumb label arrow";
    column-gap: 1rem;
    row-gap: 0.25rem;
    padding: 0.5rem 0.5rem 0.5rem 0;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    transition: background 0.25s ease;
  }
  .wheel-segment:last-child { border-bottom: 0; }

  .wheel-segment:hover,
  .wheel-segment:active {
    background: rgba(197,185,153,0.04);
    border-color: var(--accent-warm-dim);
    transform: none;
    color: var(--text);
  }

  .wheel-segment.active {
    background: transparent;
    border-color: var(--border);
    transform: none;
    box-shadow: none;
  }

  .seg-thumb {
    grid-area: thumb;
    width: 96px;
    height: 96px;
    border-radius: 2px;
    object-fit: cover;
    filter: grayscale(0%);
  }

  .seg-num {
    grid-area: num;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.18em;
    align-self: end;
    text-transform: uppercase;
  }

  .seg-label {
    grid-area: label;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.005em;
    color: var(--text);
    line-height: 1.15;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    align-self: start;
  }

  .wheel-segment::after {
    content: '→';
    grid-area: arrow;
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-warm);
    align-self: center;
    justify-self: end;
    transition: transform 0.25s ease;
  }
  .wheel-segment:active::after { transform: translateX(3px); }
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 1rem;
}

/* ── Gallery Grid (homepage overview) ───────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg-2);
  cursor: pointer;
  display: block;
}

.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-film), filter 0.4s ease;
  filter: grayscale(20%);
}

.gallery-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(14,12,9,0.9) 0%, transparent 100%);
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-card-info { transform: translateY(0); }

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.gallery-card-count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-warm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Film strip decorative border on cards */
.gallery-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--film-tan) 0px, var(--film-tan) 4px,
    transparent 4px, transparent 10px,
    var(--film-tan) 10px, var(--film-tan) 14px,
    var(--bg) 14px, var(--bg) 24px
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-card:hover::before { opacity: 1; }

/* ── About Section (homepage snippet) ──────────────────────── */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: 1.5rem;
}

.about-text .signature {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--text);
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Film frame border around about image */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  right: 10px; bottom: 10px;
  border: 1px solid var(--border-red);
  pointer-events: none;
}

/* ── CTA / Pro Site Bridge ──────────────────────────────────── */
.pro-bridge {
  border-top: 1px solid var(--border);
  padding: 4rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.bridge-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-style: italic;
  color: var(--silver);
}

.bridge-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.85rem 2rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.bridge-link:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--bg);
}

.bridge-link svg {
  width: 16px; height: 16px;
  transition: transform 0.3s ease;
}

.bridge-link:hover svg { transform: translateX(4px); }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-light);
  transition: color 0.25s ease;
}

.footer-social a:hover { color: var(--accent-warm); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--silver);
  letter-spacing: 0.1em;
}

/* ── Gallery Page Styles ────────────────────────────────────── */
.gallery-page-hero {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 3rem 3rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.gallery-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(14,12,9,0.3), rgba(14,12,9,0.9));
  z-index: 1;
}

.gallery-page-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
}

.gallery-page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.25s;
}

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

.gallery-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
}

.gallery-page-desc {
  font-size: 1rem;
  color: var(--silver);
  font-style: italic;
  margin-top: 1rem;
  max-width: 500px;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* Masonry-style photo grid */
.photo-grid {
  columns: 3;
  column-gap: 1rem;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.photo-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.photo-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-film);
}

.photo-item:hover img {
  transform: scale(1.03);
}

.photo-item-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(14,12,9,0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-item:hover .photo-item-overlay { opacity: 1; }

.photo-item-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--silver-light);
}

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4,4,4,0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.25s;
}

.lightbox-close:hover { color: var(--accent-warm); }

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  max-width: 80vw;
  pointer-events: none;
}

.lightbox-caption-alt {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.45;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.lightbox-caption-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lightbox-caption-edition {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 0.25rem;
}

.lightbox-inquire {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent-warm);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lightbox-inquire:hover {
  background: var(--text);
  transform: translateY(-1px);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--text-muted);
  padding: 1rem;
  transition: color 0.25s;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-nav:hover { color: var(--text); }

/* ── About Page ─────────────────────────────────────────────── */
.about-page {
  padding: 8rem 3rem 5rem;
  max-width: 980px;
  margin: 0 auto;
}

.about-page-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.75rem;
}

.about-page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2.5rem;
  line-height: 1;
}

.about-page p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--silver);
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* Portrait wrapper with film-frame-style border accent */
.about-portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 0 3rem;
}
.about-portrait-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  background: var(--bg-2);
}
.about-portrait-frame {
  position: absolute;
  top: -8px; left: -8px;
  right: 8px; bottom: 8px;
  border: 1px solid rgba(196,30,58,0.3);
  pointer-events: none;
}

.about-bio {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

/* Studio metadata block — like a museum wall label */
.about-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 2.5rem;
  row-gap: 1rem;
  padding: 2rem 0;
  margin: 2rem 0 4rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
}
.about-meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 0.25rem;
}
.about-meta dd {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}
.about-meta dd em { color: var(--accent-warm); font-style: italic; }

.about-meta-link {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--accent-warm);
  border-bottom: 1px dotted var(--accent-warm-dim);
  width: max-content;
  padding-bottom: 1px;
  transition: color 0.25s, border-color 0.25s;
}
.about-meta-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Selected exhibitions / publications lists */
.about-list {
  margin: 0 0 3rem;
}
.about-list h2 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.about-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
}
.about-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.5;
}
.about-list li:last-child { border-bottom: none; }
.about-list li em { color: var(--text-muted); font-style: italic; }

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-film);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid var(--border-red);
  color: var(--text);
  transition: background 0.3s, border-color 0.3s;
}

.btn:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--bg);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--silver);
}

.btn-ghost:hover {
  background: var(--bg-2);
  border-color: var(--silver);
  color: var(--text);
}

/* ── FILM SLIDER CONTROLS (under the strip) ─────────────────── */
.film-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease 2.4s forwards;
}

.film-ctl-btn {
  width: 44px;
  height: 44px;
  background: #131313;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  color: var(--silver-light);
  font-size: 1.4rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.film-ctl-btn:hover {
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  color: var(--bg);
  transform: scale(1.05);
}
.film-ctl-btn:active { transform: scale(0.95); }

.film-slider-track {
  flex: 1;
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
}

/* Crimson progress fill behind the native slider */
.film-slider-progress {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-warm-dim), var(--accent-warm));
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Native range slider — dark track + crimson thumb */
.film-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  margin: 0;
}
.film-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(168,168,168,0.18);
  border-radius: 2px;
}
.film-slider::-moz-range-track {
  height: 4px;
  background: rgba(168,168,168,0.18);
  border-radius: 2px;
}
.film-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent-warm);
  border: 2px solid var(--bg);
  border-radius: 50%;
  margin-top: -7px;
  box-shadow: 0 0 12px rgba(197,185,153,0.5), 0 2px 4px rgba(0,0,0,0.6);
  cursor: grab;
  transition: transform 0.15s ease;
}
.film-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent-warm);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(197,185,153,0.5), 0 2px 4px rgba(0,0,0,0.6);
  cursor: grab;
}
.film-slider:active::-webkit-slider-thumb { transform: scale(1.2); cursor: grabbing; }
.film-slider:active::-moz-range-thumb     { transform: scale(1.2); cursor: grabbing; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  /* Tablet: smaller frames so all 5 series stay reachable in the strip */
  .film-frame { width: 110px; height: 114px; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(14,12,9,0.98); padding: 1.5rem;
    border-top: 1px solid var(--border); gap: 1.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  /* Footer: wrap the social row + tighten padding so 4 links never
     overflow a phone width. */
  .footer { padding: 2rem 1.5rem; }
  .footer-social { flex-wrap: wrap; gap: 1rem 1.25rem; justify-content: center; }

  /* Hero compact on mobile — keeps the curatorial typography
     readable but tighter so the canister+feed fit on a phone screen. */
  .hero {
    padding: 5rem 1rem 2rem;
    gap: 2.5rem;
  }
  .hero::before { display: none; }
  .curatorial-eyebrow { font-size: 0.62rem; letter-spacing: 0.24em; margin-bottom: 1.25rem; }
  .curatorial-title   { font-size: clamp(2.6rem, 14vw, 4.2rem); margin-bottom: 1.5rem; }
  .curatorial-statement { font-size: 1rem; margin-bottom: 1.5rem; }
  .curatorial-meta    { font-size: 0.6rem; letter-spacing: 0.22em; gap: 0.75rem; }
  .curatorial-rule    { width: 22px; }

  /* MOBILE film scene: vertical TikTok-style feed.
     Canister is rotated 90° clockwise so it lies horizontal at the
     top — the film body's seam (canister-slot, originally on the
     right edge) now sits at the bottom of the rotated cylinder, so
     the film visually pours straight down into the scrolling feed. */
  .film-scene {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    padding: 0.5rem 0 0;
    overflow: visible;
    gap: 0;
  }

  /* Wrapper reserves a horizontal box matching the rotated canister
     (the cylinder's height becomes its visual width). */
  .canister-wrapper {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -8px;          /* tuck strip up against the seam */
  }

  /* Rotate the canister so the cap-top points right and the seam
     points down — film exits straight into the feed. */
  .canister {
    width: 92px;
    transform: rotate(90deg);
    transform-origin: center;
    /* Even shadow — drop-shadow's Y offset would point sideways
       after rotation. */
    filter: drop-shadow(0 0 18px rgba(0,0,0,0.55))
            drop-shadow(0 0 6px rgba(0,0,0,0.7));
  }
  .canister:hover {
    transform: rotate(90deg) translateY(-3px) scale(1.02);
    filter: drop-shadow(0 0 22px rgba(0,0,0,0.65))
            drop-shadow(0 0 6px rgba(0,0,0,0.8));
  }

  /* Canister inner dimensions — same proportional scale as before */
  .canister-cap-top { width: 92px; height: 11px; }
  .canister-cap-top::before { top: 3px; left: 7px; right: 7px; height: 3px; }
  .canister-body { width: 92px; height: 124px; }
  .canister-cap-bottom { width: 92px; height: 11px; }
  .canister-cap-bottom::after { width: 16px; height: 6px; }
  .canister-label { top: 12px; bottom: 12px; left: 7px; right: 11px; padding: 2px; }
  .label-mark   { font-size: 1.1rem; letter-spacing: 0.14em; }
  .label-accent { font-size: 0.55rem; padding-top: 0.2rem; letter-spacing: 0.24em; }
  .label-bw     { font-size: 0.55rem; }

  /* Strip = vertical scroll-snap feed below the rotated canister */
  /* Flow the strip in the normal page scroll — NOT a nested 70vh
     scroll-snap feed. The old inner scroll trapped the gesture and the
     browser restored a stale inner position (landing mid-list), so the
     page appeared stuck and the earlier galleries were unreachable. */
  .film-strip-container {
    flex: 0 0 auto;
    margin-left: 0;
    margin-top: 0;
    transform: none;
    opacity: 1;
    width: 100%;
    max-width: 420px;
    height: auto;
    overflow: visible;
    justify-content: center;
  }
  /* No unroll animation on mobile — show the roll immediately so there's
     no tall empty gap while it would otherwise wait to reveal. */
  .film-scene.revealed .film-strip-container { transform: none; }

  .film-scene.revealed .film-strip-container { transform: scaleY(1); }

  /* Strip orientation: rails on the sides (vertical), frames stacked */
  .film-strip { flex-direction: row; width: 100%; }
  .perforations { flex-direction: column; padding: 8px 5px; gap: 16px; }
  .film-frames  { flex-direction: column; padding: 4px 0; gap: 3px; flex: 1; }

  /* Each frame is a compact card in the in-page film roll. */
  .film-frame {
    width: 100%;
    height: 32vh;
  }
  .film-frame .frame-cta { display: none; }
  .film-frame-overlay .frame-title { font-size: 1.6rem; }

  /* Slider hidden — vertical scrolling is the natural gesture */
  .film-controls { display: none; }

  /* On phones the film roll above IS the gallery index — hide the
     redundant camera-back "Selected Work" wheel section, and make the
     canister decorative so its tap can't scroll to the hidden section. */
  .camera-back-section { display: none; }
  #canister-trigger { pointer-events: none; cursor: default; }

  /* Catalogue label rules: shorter on tiny screens */
  .catalogue-label::before, .catalogue-label::after { width: 24px; }

  /* Section headers: drop the long horizontal rule on mobile,
     stack PLATE label above the title for a cleaner block. */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 2rem;
  }
  .section-header .section-line { display: none; }
  .section-number { font-size: 0.66rem; letter-spacing: 0.28em; }
  .section-title  { font-size: clamp(2rem, 8.5vw, 2.6rem); }

  .gallery-grid { grid-template-columns: 1fr; }
  .about-snippet { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { order: -1; }

  .photo-grid { columns: 2; }

  .section  { padding: 3rem 1.5rem; }
  .footer   { flex-direction: column; align-items: flex-start; }
  .pro-bridge { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .photo-grid { columns: 1; }
}
