/* =============================================================================
   Lumiere — cinematic editorial portfolio
   -----------------------------------------------------------------------------
   The FIRST :root block below is replaced wholesale by template_modifier.py's
   apply_palette() (palette vars + typography + spacing). apply_style() then
   overwrites the --font-*/--section-pad/--radius* values. Everything here uses
   those injected custom properties, so palette + style selections flow through
   automatically. The defaults below just let the un-deployed template preview.
   Lumiere — Cinematic Editorial Portfolio (Premium 2026 Edition)
   -----------------------------------------------------------------------------
   Enhanced for maximum professional WOW factor: deeper cinematic depth, 
   luxury glassmorphism, refined typography, dramatic interactions, 
   and subtle film-grain texture. All original placeholders, tokens, 
   classes, and structure preserved for full compatibility.
   ========================================================================== */
:root {
  /* Palette: Champagne Noir */
  --bg: #0d0c0b;
  --primary: #c9a96a;
  --accent: #e8dccb;
  --text: #f4efe9;
  --overlay-color: 13, 12, 11;
  --overlay-opacity: 0.44;
  --overlay-opacity-heavy: 0.68;
  --text-on-image: #f4efe9;
  --button-bg-on-image: #c9a96a;
  --button-text-on-image: #0d0c0b;

  /* Typography System */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Layout */
  --nav-h:       72px;
  --section-pad: 7rem;
  --container:   1200px;
  --radius: 0px;
  --radius-lg: 0px;
  --transition:  .3s ease;
}

/* Custom helpers — second :root survives apply_palette */
:root {
  --lx-gutter: clamp(1.25rem, 5vw, 4.2rem);
  --lx-maxw: 1620px;
  --lx-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lx-muted: color-mix(in srgb, var(--text) 48%, transparent);
  --lx-line: color-mix(in srgb, var(--text) 13%, transparent);
  /* Subtle animated film grain for cinematic texture */
  --grain: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 400 400%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%270.85%27 numOctaves=%274%27 stitchTiles=%27stitch%27/%3E%3C/filter%3E%3Crect width=%27400%27 height=%27400%27 filter=%27url(%23n)%27 opacity=%270.045%27/%3E%3C/svg%3E');
}

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

html { 
  scroll-behavior: smooth; 
}
@media (prefers-reduced-motion: reduce) { 
  html { scroll-behavior: auto; } 
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Cinematic film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--grain);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.65;
  animation: subtle-grain 12s steps(8) infinite;
}
@keyframes subtle-grain {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-0.8%, -1.2%); }
  20% { transform: translate(1.1%, 0.7%); }
  100% { transform: translate(0, 0); }
}

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

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -0.018em;
}

/* ---------------------------------------------------------------- Top bar — Glassmorphic Luxury */
.topbar {
  position: fixed; 
  inset: 0 0 auto 0; 
  z-index: 100;
  height: var(--nav-h);
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 var(--lx-gutter);
  background: rgba(var(--overlay-color), 0.68);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.topbar.is-stuck {
  background: rgba(var(--bg), 0.94);
  border-bottom-color: var(--lx-line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.topbar__brand { 
  display: flex; 
  flex-direction: column; 
  line-height: 1.12; 
}
.topbar__name {
  font-family: var(--font-display); 
  font-size: 1.25rem; 
  font-weight: 600;
  letter-spacing: 0.015em;
}
.topbar__repd { 
  font-size: .68rem; 
  letter-spacing: .24em; 
  text-transform: uppercase; 
  color: var(--lx-muted); 
}
.topbar__nav { 
  display: flex; 
  gap: clamp(1.2rem, 3.5vw, 2.8rem); 
}
.topbar__nav a {
  font-size: .76rem; 
  letter-spacing: .2em; 
  text-transform: uppercase;
  color: var(--lx-muted); 
  transition: color var(--transition); 
  position: relative; 
  padding: .35rem 0;
}
.topbar__nav a:hover, 
.topbar__nav a:focus-visible { 
  color: var(--text); 
}
.topbar__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition);
}
.topbar__nav a:hover::after {
  width: 100%;
}

/* ------------------------------------------------------------------- Hero — More Dramatic & Immersive */
.hero {
  position: relative; 
  min-height: 100svh;
  display: flex; 
  align-items: flex-end;
  padding: var(--lx-gutter); 
  padding-bottom: clamp(4.5rem, 11vh, 9rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; 
  inset: 0; 
  z-index: 0;
  background-size: cover; 
  background-position: center;
  background-color: color-mix(in srgb, var(--bg) 82%, #000);
  transform: scale(1.085); 
  will-change: transform;
  transition: transform 0.8s var(--lx-ease);
}
.hero__scrim {
  position: absolute; 
  inset: 0; 
  z-index: 1;
  background: linear-gradient(
    to top, 
    rgba(var(--overlay-color), var(--overlay-opacity-heavy)) 0%,
    rgba(var(--overlay-color), 0.72) 28%,
    rgba(var(--overlay-color), 0.28) 58%,
    rgba(var(--overlay-color), 0.58) 100%
  );
}
.hero__inner { 
  position: relative; 
  z-index: 2; 
  max-width: var(--lx-maxw); 
  width: 100%; 
}
.hero__kicker {
  font-size: .82rem; 
  letter-spacing: .36em; 
  text-transform: uppercase;
  color: var(--primary); 
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(var(--overlay-color), .6);
}
.hero__name {
  color: var(--text-on-image);
  font-size: clamp(3.4rem, 12vw, 10.2rem);
  line-height: .92; 
  letter-spacing: -0.025em;
  margin-bottom: .7rem;
  text-shadow: 0 4px 40px rgba(var(--overlay-color), .55);
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.3vw, 1.65rem); 
  max-width: 48ch; 
  color: var(--text-on-image);
  opacity: .96; 
  text-shadow: 0 2px 24px rgba(var(--overlay-color), .55);
}
.hero__status {
  margin-top: 1.6rem; 
  display: inline-flex; 
  align-items: center; 
  gap: .6rem;
  font-size: .76rem; 
  letter-spacing: .18em; 
  text-transform: uppercase; 
  color: var(--lx-muted);
}
.hero__status::before {
  content: ""; 
  width: 8px; 
  height: 8px; 
  border-radius: 50%;
  background: var(--primary); 
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 28%, transparent);
}
.hero__cue {
  position: absolute; 
  z-index: 2; 
  right: var(--lx-gutter); 
  bottom: clamp(2.5rem, 7vh, 5rem);
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: .7rem;
  font-size: .62rem; 
  letter-spacing: .32em; 
  text-transform: uppercase; 
  color: var(--lx-muted);
}
.hero__cue-line { 
  width: 1px; 
  height: 52px; 
  background: linear-gradient(to bottom, var(--primary), transparent); 
}
@media (max-width: 640px) { 
  .hero__cue { display: none; } 
}

/* ------------------------------------------------------------- Collections */
.work { display: block; }
.collection { 
  position: relative; 
  padding: var(--section-pad) var(--lx-gutter); 
}
.collection + .collection { 
  border-top: 1px solid var(--lx-line); 
}
.collection__bg {
  position: absolute; 
  inset: 0; 
  z-index: 0; 
  opacity: .12;
  background-size: cover; 
  background-position: center;
  -webkit-mask-image: radial-gradient(130% 85% at 50% 0%, #000 0%, transparent 78%);
          mask-image: radial-gradient(130% 85% at 50% 0%, #000 0%, transparent 78%);
}
.collection > * { 
  position: relative; 
  z-index: 1; 
}
.collection__head {
  max-width: var(--lx-maxw); 
  margin: 0 auto clamp(2rem, 4.5vw, 3.5rem);
  display: flex; 
  align-items: baseline; 
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.collection__num {
  font-family: var(--font-mono); 
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  letter-spacing: .15em; 
  color: var(--primary); 
  opacity: .88;
  font-weight: 500; 
  flex-shrink: 0; 
  padding-top: .25rem;
}
.collection__title { 
  font-size: clamp(2.1rem, 6vw, 4.4rem); 
  flex: 1; 
  line-height: 1.05;
}
.collection__head::after {
  content: ""; 
  flex: 0 0 clamp(2.5rem, 9vw, 7rem); 
  height: 1px;
  align-self: center; 
  background: var(--lx-line);
}
@media (max-width: 560px) { 
  .collection__head::after { display: none; } 
}

.grid {
  max-width: var(--lx-maxw); 
  margin: 0 auto;
  display: grid; 
  gap: clamp(.8rem, 1.6vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 295px), 1fr));
  grid-auto-flow: dense;
}
.shot {
  position: relative; 
  overflow: hidden; 
  cursor: pointer;
  background: color-mix(in srgb, var(--text) 7.5%, var(--bg));
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  transition: transform .6s var(--lx-ease), box-shadow .6s var(--lx-ease);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.shot:focus-visible { 
  outline: 3px solid var(--primary); 
  outline-offset: 4px; 
}
.shot--wide { 
  grid-column: span 2; 
  aspect-ratio: 3 / 2; 
}
@media (max-width: 560px) { 
  .shot--wide { grid-column: span 1; } 
}
.shot__img {
  position: absolute; 
  inset: 0;
  background-size: cover; 
  background-position: center;
  transition: transform .85s var(--lx-ease), filter .5s var(--lx-ease);
}
.shot::after {
  content: ""; 
  position: absolute; 
  inset: 0;
  background: linear-gradient(to top, rgba(var(--overlay-color), .45), transparent 48%);
  opacity: 0; 
  transition: opacity var(--transition);
}
/* Premium tactile hover */
.shot:hover, .shot:focus-visible { 
  transform: translateY(-10px) scale(1.015); 
  box-shadow: 0 30px 70px rgba(var(--overlay-color), 0.5);
  z-index: 5;
}
.shot:hover .shot__img, .shot:focus-visible .shot__img { 
  transform: scale(1.09); 
  filter: brightness(1.14) contrast(1.08); 
}
.shot:hover::after, .shot:focus-visible::after { 
  opacity: 1; 
}
@media (prefers-reduced-motion: reduce) {
  .shot:hover, .shot:focus-visible { transform: none; }
  .shot:hover .shot__img, .shot:focus-visible .shot__img { transform: none; }
}
body.fit-contain .shot__img { 
  background-size: contain; 
  background-repeat: no-repeat; 
}
body.fit-contain .shot { 
  aspect-ratio: auto; 
  min-height: 340px; 
}

/* ---------------------------------------------------------------- Contact — Elevated */
.contact {
  position: relative; 
  overflow: hidden;
  padding: clamp(6rem, 14vw, 10rem) var(--lx-gutter);
  text-align: center;
}
.contact__bg {
  position: absolute; 
  inset: 0; 
  z-index: 0;
  background-size: cover; 
  background-position: center;
  background-color: color-mix(in srgb, var(--bg) 88%, #000);
}
.contact__scrim {
  position: absolute; 
  inset: 0; 
  z-index: 1;
  background: rgba(var(--overlay-color), var(--overlay-opacity-heavy));
}
.contact__inner { 
  position: relative; 
  z-index: 2; 
  max-width: 820px; 
  margin: 0 auto; 
}
.contact__eyebrow { 
  font-size: .78rem; 
  letter-spacing: .34em; 
  text-transform: uppercase; 
  color: var(--primary); 
}
.contact__heading { 
  font-size: clamp(2.4rem, 7.5vw, 5.4rem); 
  margin: .9rem 0 1.3rem; 
  color: var(--text-on-image); 
  line-height: 1.05;
}
.contact__body { 
  font-size: clamp(1.05rem, 2.1vw, 1.35rem); 
  color: var(--text-on-image); 
  opacity: .92; 
  max-width: 56ch; 
  margin: 0 auto; 
}
.contact__channels {
  margin: 2.8rem auto 0; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1.2rem; 
  justify-content: center;
}
.channel {
  display: flex; 
  flex-direction: column; 
  gap: .3rem; 
  align-items: center;
  padding: 1.3rem 2rem; 
  min-width: 210px;
  border: 1px solid var(--lx-line); 
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg) 38%, transparent);
  transition: all var(--transition);
}
.channel:hover { 
  border-color: var(--primary); 
  transform: translateY(-4px) scale(1.02); 
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  box-shadow: 0 12px 40px rgba(var(--overlay-color), 0.3);
}
.channel__label { 
  font-size: .66rem; 
  letter-spacing: .24em; 
  text-transform: uppercase; 
  color: var(--lx-muted); 
}
.channel__value { 
  font-size: 1.05rem; 
  color: var(--text-on-image); 
  word-break: break-word; 
}
.social {
  margin-top: 2.6rem; 
  display: flex; 
  flex-wrap: wrap; 
  gap: 1.6rem; 
  justify-content: center;
}
.social a {
  font-size: .76rem; 
  letter-spacing: .16em; 
  text-transform: uppercase; 
  color: var(--lx-muted);
  padding-bottom: 4px; 
  border-bottom: 1px solid transparent; 
  transition: all var(--transition);
}
.social a:hover { 
  color: var(--text); 
  border-color: var(--primary); 
}
.contact__mark { 
  margin-top: 3.5rem; 
  font-size: .74rem; 
  letter-spacing: .12em; 
  color: var(--lx-muted); 
}

/* ----------------------------------------------------------- Reveal motion */
.reveal { 
  opacity: 0; 
  transform: translateY(32px); 
  transition: opacity .9s var(--lx-ease), transform .9s var(--lx-ease); 
}
.reveal.is-visible { 
  opacity: 1; 
  transform: none; 
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__bg, .shot__img { transition: none; }
}

/* --------------------------------------------------------------- Lightbox — Refined */
.lightbox {
  position: fixed; 
  inset: 0; 
  z-index: 200; 
  display: none;
  align-items: center; 
  justify-content: center;
  background: rgba(var(--overlay-color), .96); 
  backdrop-filter: blur(12px);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__media { 
  max-width: 94vw; 
  max-height: 90vh; 
  width: auto; 
  height: auto; 
  box-shadow: 0 40px 100px rgba(0,0,0,.7); 
  border-radius: 4px;
}
.lightbox__close, .lightbox__nav {
  position: absolute; 
  background: color-mix(in srgb, var(--bg) 58%, transparent);
  color: var(--text); 
  border: 1px solid var(--lx-line); 
  cursor: pointer;
  width: 52px; 
  height: 52px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all var(--transition);
}
.lightbox__close:hover, .lightbox__nav:hover { 
  border-color: var(--primary); 
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  transform: scale(1.1);
}
.lightbox__close { 
  top: clamp(1.2rem, 3vw, 2.2rem); 
  right: clamp(1.2rem, 3vw, 2.2rem); 
  font-size: 1.8rem; 
  line-height: 1; 
}
.lightbox__nav { 
  top: 50%; 
  transform: translateY(-50%); 
}
.lightbox__nav svg { 
  width: 24px; 
  height: 24px; 
}
.lightbox__nav--prev { left: clamp(.8rem, 3vw, 2.2rem); }
.lightbox__nav--next { right: clamp(.8rem, 3vw, 2.2rem); }
.lightbox__count {
  position: absolute; 
  bottom: clamp(1.2rem, 3vw, 2.2rem); 
  left: 50%; 
  transform: translateX(-50%);
  font-family: var(--font-mono); 
  font-size: .82rem; 
  letter-spacing: .12em; 
  color: var(--lx-muted);
}

/* ------------------------------------------------------------ Breakpoints */
@media (max-width: 900px) {
  .collection { 
    padding-top: clamp(4rem, 12vw, 7rem); 
    padding-bottom: clamp(4rem, 12vw, 7rem); 
  }
}
@media (max-width: 560px) {
  .topbar__nav { gap: 1.2rem; }
  .grid { 
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); 
  }
  .channel { 
    min-width: 0; 
    flex: 1 1 150px; 
  }
}
:root {
  --bg: #0d0c0b;
  --primary: #c9a96a;
  --accent: #e8dccb;
  --text: #f4efe9;
  --overlay-color: 13, 12, 11;
  --overlay-opacity: 0.44;
  --overlay-opacity-heavy: 0.68;
  --text-on-image: #f4efe9;
  --button-bg-on-image: #c9a96a;
  --button-text-on-image: #0d0c0b;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
  --section-pad: 7rem;
  --container: 1200px;
  --radius: 0px;
  --radius-lg: 0px;
  --transition: .3s ease;
}

/* Custom helpers — second :root survives apply_palette (replaces first only).
   Names are deliberately prefixed so apply_style's font/pad/radius regexes
   never touch them. */
:root {
  --lx-gutter: clamp(1.1rem, 4vw, 3.5rem);
  --lx-maxw: 1500px;
  --lx-ease: cubic-bezier(.22, .61, .36, 1);
  --lx-muted: color-mix(in srgb, var(--text) 55%, transparent);
  --lx-line: color-mix(in srgb, var(--text) 16%, transparent);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

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

.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------- Top bar -- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--lx-gutter);
  background: linear-gradient(to bottom, rgba(var(--overlay-color), .55), transparent);
  transition: background var(--transition), backdrop-filter var(--transition);
}
.topbar.is-stuck {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lx-line);
}
.topbar__brand { display: flex; flex-direction: column; line-height: 1.15; }
.topbar__name {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .02em;
}
.topbar__repd { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lx-muted); }
.topbar__nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
.topbar__nav a {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lx-muted); transition: color var(--transition); position: relative; padding: .3rem 0;
}
.topbar__nav a:hover, .topbar__nav a:focus-visible { color: var(--text); }

/* ------------------------------------------------------------------- Hero -- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: var(--lx-gutter); padding-bottom: clamp(3rem, 9vh, 7rem);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-color: color-mix(in srgb, var(--bg) 88%, #000);
  transform: scale(1.06); will-change: transform;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* bottom-weighted scrim so the headline always reads over ANY uploaded image,
     with a soft top vignette for depth */
  background:
    linear-gradient(to top, rgba(var(--overlay-color), var(--overlay-opacity-heavy)) 0%,
                            rgba(var(--overlay-color), .55) 22%,
                            rgba(var(--overlay-color), .12) 55%,
                            rgba(var(--overlay-color), .40) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--lx-maxw); width: 100%; }
.hero__kicker {
  font-size: .78rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 1.1rem;
  text-shadow: 0 1px 12px rgba(var(--overlay-color), .5);
}
.hero__name {
  color: var(--text-on-image);
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: .94; letter-spacing: -0.02em;
  margin-bottom: .65rem;
  text-shadow: 0 2px 30px rgba(var(--overlay-color), .45);
}
.hero__tagline {
  font-size: clamp(1rem, 2.1vw, 1.5rem); max-width: 46ch; color: var(--text-on-image);
  opacity: .95; text-shadow: 0 1px 16px rgba(var(--overlay-color), .5);
}
.hero__status {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-muted);
}
.hero__status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 25%, transparent);
}
.hero__cue {
  position: absolute; z-index: 2; right: var(--lx-gutter); bottom: clamp(2rem, 6vh, 4rem);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--lx-muted);
}
.hero__cue-line { width: 1px; height: 46px; background: linear-gradient(var(--primary), transparent); }
@media (max-width: 640px) { .hero__cue { display: none; } }

/* ------------------------------------------------------------- Collections -- */
.work { display: block; }
.collection { position: relative; padding: var(--section-pad) var(--lx-gutter); }
.collection + .collection { border-top: 1px solid var(--lx-line); }
.collection__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .10;
  background-size: cover; background-position: center;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 75%);
}
.collection > * { position: relative; z-index: 1; }
.collection__head {
  max-width: var(--lx-maxw); margin: 0 auto clamp(1.8rem, 4vw, 3rem);
  display: flex; align-items: baseline; gap: clamp(1rem, 2.2vw, 1.8rem);
}
.collection__num {
  font-family: var(--font-mono); font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: .14em; color: var(--primary); opacity: .85;
  font-weight: 500; flex-shrink: 0; padding-top: .2rem;
}
.collection__title { font-size: clamp(1.9rem, 5.5vw, 4rem); flex: 1; }
/* thin accent rule trailing the title — editorial section divider */
.collection__head::after {
  content: ""; flex: 0 0 clamp(2rem, 8vw, 6rem); height: 1px;
  align-self: center; background: var(--lx-line);
}
@media (max-width: 560px) { .collection__head::after { display: none; } }

.grid {
  max-width: var(--lx-maxw); margin: 0 auto;
  display: grid; gap: clamp(.6rem, 1.4vw, 1.3rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-auto-flow: dense;
}
.shot {
  position: relative; overflow: hidden; cursor: pointer;
  background: color-mix(in srgb, var(--text) 6%, var(--bg));
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  transition: transform var(--transition), box-shadow var(--transition);
}
.shot:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.shot--wide { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (max-width: 560px) { .shot--wide { grid-column: span 1; } }
.shot__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .7s var(--lx-ease), filter var(--transition);
}
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(var(--overlay-color), .38), transparent 45%);
  opacity: 0; transition: opacity var(--transition);
}
/* tactile hover: gentle lift + soft shadow + image zoom & brighten */
.shot:hover, .shot:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(var(--overlay-color), .35); }
.shot:hover .shot__img, .shot:focus-visible .shot__img { transform: scale(1.05); filter: brightness(1.05); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .shot:hover, .shot:focus-visible { transform: none; }
  .shot:hover .shot__img, .shot:focus-visible .shot__img { transform: none; }
}
body.fit-contain .shot__img { background-size: contain; background-repeat: no-repeat; }
body.fit-contain .shot { aspect-ratio: auto; min-height: 320px; }

/* ---------------------------------------------------------------- Contact -- */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 13vw, 9rem) var(--lx-gutter);
  text-align: center;
}
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  background-color: color-mix(in srgb, var(--bg) 92%, #000);
}
.contact__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(var(--overlay-color), var(--overlay-opacity-heavy));
}
.contact__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.contact__eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--primary); }
.contact__heading { font-size: clamp(2.2rem, 7vw, 5rem); margin: .8rem 0 1.1rem; color: var(--text-on-image); }
.contact__body { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-on-image); opacity: .9; max-width: 54ch; margin: 0 auto; }
.contact__channels {
  margin: 2.4rem auto 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}
.channel {
  display: flex; flex-direction: column; gap: .25rem; align-items: center;
  padding: 1rem 1.6rem; min-width: 200px;
  border: 1px solid var(--lx-line); border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--bg) 35%, transparent);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.channel:hover { border-color: var(--primary); transform: translateY(-2px); background: color-mix(in srgb, var(--bg) 50%, transparent); }
.channel__label { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lx-muted); }
.channel__value { font-size: 1rem; color: var(--text-on-image); word-break: break-word; }
.social {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center;
}
.social a {
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-muted);
  padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color var(--transition), border-color var(--transition);
}
.social a:hover { color: var(--text); border-color: var(--primary); }
.contact__mark { margin-top: 3rem; font-size: .72rem; letter-spacing: .1em; color: var(--lx-muted); }

/* ----------------------------------------------------------- Reveal motion -- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--lx-ease), transform .8s var(--lx-ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__bg, .shot__img { transition: none; }
}

/* --------------------------------------------------------------- Lightbox -- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(var(--overlay-color), .94); backdrop-filter: blur(6px);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox__media { max-width: 92vw; max-height: 88vh; width: auto; height: auto; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: color-mix(in srgb, var(--bg) 55%, transparent);
  color: var(--text); border: 1px solid var(--lx-line); cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--primary); background: color-mix(in srgb, var(--bg) 75%, transparent); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); font-size: 1.6rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: clamp(.6rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(.6rem, 3vw, 2rem); }
.lightbox__count {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .1em; color: var(--lx-muted);
}

/* ------------------------------------------------------------ Breakpoints -- */
@media (max-width: 900px) {
  .collection { padding-top: clamp(3.5rem, 11vw, 6rem); padding-bottom: clamp(3.5rem, 11vw, 6rem); }
}
@media (max-width: 560px) {
  .topbar__nav { gap: 1.1rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
  .channel { min-width: 0; flex: 1 1 140px; }
}
