/* Nocturne — a cinematic theme for photographers and film-makers.
   Letterboxed frames, slate lines, a sliding film strip, and a faint grain
   over a near-black canvas. No theme JavaScript. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body-font, system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 3.5vw, 52px);
  --radius: var(--frame-radius, 4px);
}
a { color: inherit; text-underline-offset: .25em; }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button, input, textarea, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--color-accent, currentColor); outline-offset: 3px; }
::selection { background: var(--color-accent); color: var(--color-background); }
.ab-scheme { background: var(--color-background); color: var(--color-text); }

/* Grain: one fixed layer over the page, faint and slow. Off under reduced motion. */
body.has-grain::after {
  content: "";
  position: fixed;
  inset: -120%;
  z-index: 9999;
  pointer-events: none;
  opacity: calc(var(--grain, 4) / 100);
  background-image:
    radial-gradient(currentColor .5px, transparent .6px),
    radial-gradient(currentColor .5px, transparent .6px);
  background-size: 3px 3px, 4px 4px;
  background-position: 0 0, 1px 2px;
  animation: nocturne-grain 900ms steps(3) infinite;
}
@keyframes nocturne-grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

h1, h2, h3, h4, .h0, .h1, .h2, .h3, .h4, .footer-title, .reel__title, .page-hero__title {
  font-family: var(--font-heading-font, system-ui);
  font-weight: var(--heading-weight, 700);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.nocturne h1, .nocturne h2, .nocturne h3, .nocturne .footer-title,
.nocturne .reel__title, .nocturne .page-hero__title { text-transform: var(--heading-case, none); }
h1, .h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2, .h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); letter-spacing: 0; }
.h0 { font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing: -.03em; }
h4, .h4 { font-size: clamp(1rem, 1.3vw, 1.15rem); letter-spacing: .01em; }
.eyebrow {
  display: block; margin: 0 0 1.1rem;
  font-family: var(--font-body-font, system-ui);
  font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--color-accent);
}
p { margin: 0 0 1rem; }
.muted { color: var(--color-muted); }
.measure { max-width: 36rem; }
.rte > :last-child { margin-bottom: 0; }
.rte a { color: var(--color-accent); }

/* The slate line: small, spaced capitals, the way a clapperboard reads. */
.slate {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-body-font, system-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.slate::before { content: ""; width: .45rem; height: .45rem; background: currentColor; }

.page-width { width: min(100% - var(--gutter) * 2, var(--page-width, 1520px)); margin-inline: auto; }
.section { padding-block: calc(var(--section-spacing, 120px) * .5); }
.section:first-child { padding-top: var(--section-spacing, 120px); }
.section--tight { padding-block: calc(var(--section-spacing, 120px) * .35); }
.section--panel { padding-block: calc(var(--section-spacing, 120px) * .4); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head__hint { margin: 0; font-size: .8rem; max-width: 22rem; }

.skip-link { position: fixed; top: -8rem; left: 1rem; z-index: 10000; padding: .85rem 1.5rem; background: var(--color-text); color: var(--color-background); }
.skip-link:focus { top: 1rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border: 1px solid var(--color-button); border-radius: 2px;
  background: var(--color-button); color: var(--color-button-text);
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.button--secondary { background: transparent; color: var(--color-text); border-color: rgba(var(--color-text-rgb), .38); }
.button--link {
  min-height: 0; padding: 0 0 .2rem; gap: .5rem;
  background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0;
  color: var(--color-accent);
}
.button--small { min-height: 40px; padding: .55rem 1.1rem; font-size: .68rem; }
.button--large { min-height: 58px; padding: 1rem 2.2rem; font-size: .8rem; }
.button-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (hover: hover) {
  .button:hover { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-background); }
  .button--link:hover { background: none; border-color: currentColor; color: var(--color-text); }
  .button--secondary:hover { color: var(--color-background); }
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header { position: relative; z-index: 50; background: var(--color-background); border-bottom: 1px solid rgba(var(--color-text-rgb), .12); }
.site-header--sticky { position: sticky; top: 0; }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.wordmark { flex-shrink: 0; font-family: var(--font-heading-font, system-ui); font-weight: var(--heading-weight, 700); font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.wordmark img { width: auto; max-width: 150px; max-height: 40px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav a { position: relative; padding: .4rem 0; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.desktop-nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) { .desktop-nav a:hover::after { transform: scaleX(1); } }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.desktop-nav + .header-actions { margin-left: 0; }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(var(--color-text-rgb), .3); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger span { display: block; height: 1px; background: currentColor; }
.mobile-nav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.25rem var(--gutter) 1.75rem;
  background: var(--color-background);
  border-bottom: 1px solid rgba(var(--color-text-rgb), .16);
}
.mobile-nav__panel a:not(.button) { padding: .75rem 0; border-bottom: 1px solid rgba(var(--color-text-rgb), .1); font-family: var(--font-heading-font, system-ui); font-size: 1.5rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.mobile-nav__panel .button { margin-top: 1rem; }

/* ── Reel ───────────────────────────────────────────────────── */
.reel { position: relative; }
.reel__frame { position: relative; display: flex; align-items: flex-end; overflow: hidden; aspect-ratio: var(--reel-aspect, 2.39); min-height: 420px; }
.reel__frame--full { aspect-ratio: auto; min-height: 100svh; }
.reel__frame > .reel__media { position: absolute; inset: 0; }
.reel__media img, .reel__media svg, .reel__media iframe, .reel__media video { width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.82) 100%); }
.reel__copy { position: relative; padding-block: clamp(2.5rem, 6vw, 5.5rem); color: #f7f5f1; }
.reel__title { font-size: clamp(2.6rem, 7.2vw, 7rem); line-height: .96; white-space: pre-line; margin: 0 0 1.25rem; max-width: 18ch; }
.reel__intro { max-width: 34rem; font-size: 1.02rem; color: rgba(247, 245, 241, .82); }
.reel__copy .slate { color: #f0c88a; }
.reel__copy .button--secondary { color: #f7f5f1; border-color: rgba(247, 245, 241, .5); }
.reel__meta { position: absolute; right: var(--gutter); bottom: 1.1rem; margin: 0; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 245, 241, .62); }

/* ── Film strip ─────────────────────────────────────────────── */
.strip {
  --inset: max(var(--gutter), (100vw - var(--page-width, 1520px)) / 2);
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  padding: 0 var(--inset) 1.25rem;
  scrollbar-width: thin;
}
.frame { flex: 0 0 auto; scroll-snap-align: start; margin: 0; width: min(78vw, 520px); }
.frame__media { overflow: hidden; border-radius: var(--radius); background: rgba(var(--color-text-rgb), .07); }
.frame__media img, .frame__media svg { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1; }
.media--cinema { aspect-ratio: 2.39; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--natural img { height: auto; }
.frame--portrait, .frame:has(.media--portrait) { width: min(64vw, 380px); }
.frame__slate { display: flex; align-items: baseline; gap: .75rem; margin: .7rem 0 0; font-size: .72rem; letter-spacing: .06em; color: var(--color-muted); }
.frame__timecode { font-variant-numeric: tabular-nums; letter-spacing: .12em; color: var(--color-accent); }

/* ── Film index ─────────────────────────────────────────────── */
.film-index { list-style: none; margin: 0; padding: 0; counter-reset: film; border-bottom: 1px solid var(--color-border); }
.film-row { counter-increment: film; border-top: 1px solid var(--color-border); }
.film-row__link {
  position: relative; display: grid; align-items: center; gap: .4rem 1.5rem;
  grid-template-columns: 3.5rem minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) 5rem;
  padding: clamp(1.1rem, 2vw, 1.9rem) 0; text-decoration: none;
}
.film-row__num::before { content: counter(film, decimal-leading-zero); font-size: .72rem; letter-spacing: .14em; color: var(--color-muted); }
.film-row__title { font-family: var(--font-heading-font, system-ui); font-size: clamp(1.3rem, 2.4vw, 2.2rem); letter-spacing: -.01em; transition: color .3s var(--ease), transform .5s var(--ease); }
.nocturne .film-row__title { text-transform: var(--heading-case, none); }
.film-row__place, .film-row__format { font-size: .84rem; color: var(--color-muted); }
.film-row__year { font-size: .78rem; letter-spacing: .12em; color: var(--color-muted); text-align: right; font-variant-numeric: tabular-nums; }
.film-row__peek {
  position: absolute; z-index: 3; right: 18%; top: 50%; width: clamp(180px, 16vw, 260px); aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; pointer-events: none;
  opacity: 0; transform: translateY(-50%) scale(.94); transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.film-row__peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) {
  .film-row__link:hover .film-row__title { color: var(--color-accent); transform: translateX(.5rem); }
  .film-row__link:hover .film-row__peek { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* ── Split note ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--flip .split__media { order: 2; }
.split__copy h2 { max-width: 16ch; }
.split__blocks { margin-top: 1.5rem; }

/* ── Figures ────────────────────────────────────────────────── */
.figures-heading { max-width: 20ch; margin-bottom: 2.5rem; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--color-border); }
.figure { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .6rem; padding: 1.75rem 1.25rem 0 0; }
.figure + .figure { padding-left: 1.25rem; border-left: 1px solid var(--color-border); }
.figure__value { margin: 0; font-family: var(--font-heading-font, system-ui); font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.03em; }
.figure__label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); }
.figures-note { margin-top: 1.75rem; font-size: .74rem; }

/* ── Quotes ─────────────────────────────────────────────────── */
.quote-track {
  --inset: max(var(--gutter), (100vw - var(--page-width, 1520px)) / 2);
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--inset);
  padding: 0 var(--inset) 1.25rem; scrollbar-width: thin;
}
.quote-card {
  flex: 0 0 min(82vw, 460px); scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem;
  min-height: 300px; margin: 0; padding: clamp(1.4rem, 2.4vw, 2.2rem);
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius);
}
.quote-card__mark { font-family: var(--font-heading-font, system-ui); font-size: 3rem; line-height: .6; height: 1.4rem; color: var(--color-accent); }
.quote-card blockquote { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.quote-card figcaption { display: grid; gap: .15rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.quote-card figcaption span { color: var(--color-muted); }

/* ── Steps, packages, questions ─────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0; border-top: 1px solid var(--color-border); }
.step { counter-increment: step; display: grid; gap: .6rem; padding: 1.75rem 1.5rem 0 0; }
.step + .step { padding-left: 1.5rem; border-left: 1px solid var(--color-border); }
.step__num { font-size: .72rem; letter-spacing: .16em; color: var(--color-accent); }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step__title { margin: 0; font-size: 1.15rem; letter-spacing: .02em; }
.step p { margin: 0; color: var(--color-muted); font-size: .92rem; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.4rem, 2.4vw, 2.2rem); border: 1px solid var(--color-border); border-radius: var(--radius); }
.plan--featured { border-color: var(--color-accent); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.plan__name { margin: 0; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; }
.plan__price { margin: 0; font-family: var(--font-heading-font, system-ui); font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; }
.plan__text { margin: 0; color: var(--color-muted); font-size: .92rem; }
.plan__list { list-style: none; margin: .25rem 0 auto; padding: 1rem 0 0; display: grid; gap: .6rem; border-top: 1px solid var(--color-border); font-size: .9rem; }
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; }
.plan__list .ab-icon { width: 1rem; height: 1rem; color: var(--color-accent); margin-top: .2rem; }
.chip, .chip--small { display: inline-flex; padding: .25rem .6rem; border: 1px solid currentColor; border-radius: 999px; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; margin: 0; }

.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq details:first-child { border-top: 1px solid var(--color-border); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-size: 1.02rem; letter-spacing: .01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 1.6rem; height: 1.6rem; border: 1px solid rgba(var(--color-text-rgb), .35); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .6rem; height: 1px; margin: 0 0 0 -.3rem; background: currentColor; }
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-background); }
.faq details[open] .faq__icon::after { transform: none; }
.faq .rte { padding: 0 3rem 1.5rem 0; color: var(--color-muted); max-width: 44rem; }

/* ── Invitation ─────────────────────────────────────────────── */
.invitation { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; text-align: center; min-height: clamp(320px, 42vw, 520px); padding: clamp(2rem, 5vw, 4.5rem); border-radius: var(--radius); }
.invitation__bg { position: absolute; inset: 0; z-index: -2; }
.invitation__bg img { width: 100%; height: 100%; object-fit: cover; }
.invitation--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 8, 9, .66); }
.invitation--image { color: #f7f5f1; }
.invitation__title { margin: 0; font-size: clamp(2.2rem, 5.4vw, 4.6rem); max-width: 16ch; }
.invitation__text { max-width: 34rem; margin: 1.25rem auto 0; color: inherit; opacity: .84; }
.invitation .button { margin-top: 2rem; }

/* ── Pages, forms, galleries ────────────────────────────────── */
.page-hero { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(1.5rem, 3vw, 3rem); }
.page-hero__title { font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 18ch; margin: 0; }
.page-hero__body { max-width: 36rem; margin-top: 1.5rem; color: var(--color-muted); }
.not-found { padding: clamp(4rem, 9vw, 8rem) 0; min-height: 60vh; }
.not-found h1 { max-width: 14ch; }
.not-found__text { max-width: 30rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-aside h2 { max-width: 12ch; }
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-details li { display: grid; gap: .25rem; padding-top: 1rem; border-top: 1px solid var(--color-border); }
.contact-details__label { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); }
.contact-details a, .contact-details span:not(.contact-details__label) { font-size: 1.05rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-card { padding: clamp(1.4rem, 2.5vw, 2.4rem); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-muted); }
.field input, .field textarea, .field select { width: 100%; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--color-border); border-radius: 2px; background: var(--color-background); color: inherit; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); }
.field textarea { min-height: 140px; resize: vertical; }
.form__notice { margin: 0; padding: 1rem 1.2rem; border: 1px solid currentColor; border-radius: 2px; }
.form__notice--error { color: #e0763a; }
.form__inert { font-size: .78rem; margin: 0; }

.media { overflow: hidden; background: rgba(var(--color-text-rgb), .07); border-radius: var(--radius); }
.media img, .media svg { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 9; }
.grid { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); gap: 12px; }
.card { padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.section-heading { margin-bottom: 2.5rem; max-width: 60rem; }
.text-center { text-align: center; }
.measure--center { margin-inline: auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: rgba(var(--color-text-rgb), .08); }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; }
.spacer { height: var(--height, 24px); }
.text--large { font-size: 1.15em; }
.text--small { font-size: .875em; }
.content-card { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.flex-grid { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); gap: 1.5rem; }

/* Client galleries */
.gallery-page { padding-top: clamp(2.5rem, 6vw, 5rem); }
.gallery-page .section-heading { max-width: none; }
.gallery-page h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.gallery-page .gallery-actions { justify-content: flex-start; margin-bottom: 2rem; }
:is(.gallery-grid--grid, .gallery-grid--editorial) { display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); gap: 12px; }
.gallery-grid--masonry { columns: var(--columns, 3); column-gap: 12px; }
.gallery-item { margin: 0 0 12px; break-inside: avoid; min-width: 0; }
.gallery-item .media { border-radius: var(--radius); }
:is(.gallery-grid--grid, .gallery-grid--editorial) .gallery-item .media { aspect-ratio: 3 / 2; }
:is(.gallery-grid--grid, .gallery-grid--editorial) .gallery-item img { height: 100%; object-fit: cover; }
.gallery-item__bar { padding-top: .5rem; font-size: .72rem; flex-wrap: wrap; }
.gallery-gate, .gallery-favorites { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); }
.gallery-gate { max-width: 32rem; margin: 2rem auto; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: .9rem; }
.album-tile__media { border-radius: var(--radius); }
.album-tile__title { font-size: 1.1rem; letter-spacing: .1em; text-transform: uppercase; }
.album-tile__lock { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.collection-entry .media { border-radius: var(--radius); }
.collection-entry.card { padding: 0; border: 0; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { padding: clamp(3.5rem, 7vw, 6rem) 0 1.5rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); }
.footer-title { font-family: var(--font-heading-font, system-ui); font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.05; margin: 0 0 1.5rem; max-width: 18ch; }
.footer-email { font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; overflow-wrap: anywhere; }
.footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; align-content: start; }
.footer-label { margin: 0 0 .9rem; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--color-muted); }
.footer-columns nav, .footer-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.footer-columns a { text-decoration: none; }
@media (hover: hover) { .footer-columns a:hover { color: var(--color-accent); } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); }
.footer-top-link { text-decoration: none; }

/* ── Narrow ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .film-row__link { grid-template-columns: 3rem minmax(0, 2fr) minmax(0, 1.2fr) 4.5rem; }
  .film-row__format { display: none; }
}
@media (max-width: 989px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .header-actions { margin-left: auto; }
  .faq-layout, .split, .contact-layout { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
@media (max-width: 749px) {
  .section { padding-block: min(calc(var(--section-spacing, 120px) * .45), 56px); }
  .section:first-child { padding-top: min(var(--section-spacing, 120px), 72px); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .reel__frame { aspect-ratio: auto; min-height: 76vh; }
  .reel__title { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .reel__meta { left: var(--gutter); right: auto; }
  .frame, .frame:has(.media--portrait) { width: min(84vw, 340px); }
  .film-row__link { grid-template-columns: 2.5rem minmax(0, 1fr) 4rem; }
  .film-row__place { grid-column: 2 / -1; }
  .film-row__peek { display: none; }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure { padding: 1.25rem 1rem 0 0; }
  .figure + .figure { padding-left: 0; border-left: 0; }
  .figure:nth-child(2n) { padding-left: 1rem; border-left: 1px solid var(--color-border); }
  .figure:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--color-border); }
  .form__row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.gallery-grid--grid, .gallery-grid--editorial) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery-grid--masonry { columns: 2; column-gap: 8px; }
  .grid, .flex-grid { grid-template-columns: repeat(var(--columns-mobile, 1), minmax(0, 1fr)); }
  .gallery-item__favorite button { min-width: 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  body.has-grain::after { display: none; }
}
