/* ===========================================================================
   Simran & Anand — 23.11.2025
   Warm ivory paper, wine ink, antique gold. Committed to a single light look.
   =========================================================================== */

:root {
  color-scheme: light;

  --paper:      #FBF7F2;
  --paper-2:    #F4ECE3;
  --paper-3:    #EDE1D6;
  --ink:        #2B211E;
  --ink-soft:   #6B5C55;
  --ink-faint:  #9C8B82;
  --wine:       #6E2233;
  --wine-soft:  #8E3A4B;
  --gold:       #B08D57;
  --gold-soft:  #D8C39C;
  --blush:      #E8CFC9;
  --line:       rgba(43, 33, 30, 0.12);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);

  --shadow-1: 0 1px 2px rgba(43,33,30,.05), 0 6px 18px rgba(43,33,30,.06);
  --shadow-2: 0 2px 4px rgba(43,33,30,.06), 0 18px 48px rgba(43,33,30,.12);
  --shadow-3: 0 4px 8px rgba(43,33,30,.08), 0 40px 90px rgba(43,33,30,.22);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 clamp(1rem, 0.94rem + 0.28vw, 1.125rem)/1.68 var(--sans);
  letter-spacing: 0.002em;             /* body sits near zero */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--wine); color: #fff; padding: .7rem 1.1rem; border-radius: 999px;
  font: 500 .85rem var(--sans); text-decoration: none;
  transition: top 160ms ease-out;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 720px; }

/* ── type scale ─────────────────────────────────────────────────────────── */
/* Tracking is size-specific: large type tightens, small type opens up. */

.h2 {
  font: 300 clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem)/1.02 var(--serif);
  letter-spacing: -0.022em;
  margin: 0 0 1.4rem;
}
.h3 {
  font: 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem)/1.12 var(--serif);
  letter-spacing: -0.012em;
  margin: 4.5rem 0 1.6rem;
}
.kicker {
  font: 500 .72rem/1 var(--sans);
  letter-spacing: 0.26em;                /* small type wants positive tracking */
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .9rem;
}
.kicker::after {
  content: ""; height: 1px; flex: 1; max-width: 5rem;
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}
.lede {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.06em;
  margin: 0 0 3rem;
}

.section { padding: clamp(5rem, 9vw, 9rem) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--tint::before,
.section--tint::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section--tint::before { top: 0; }
.section--tint::after { bottom: 0; }

/* ── nav: a translucent layer content passes beneath ────────────────────── */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: transform 320ms cubic-bezier(.32,.72,0,1);
}
.nav--hidden { transform: translateY(-102%); }
.nav__inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: .85rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
/* The material only materialises once content is actually behind it. */
.nav::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(251, 247, 242, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 260ms ease, backdrop-filter 260ms ease, border-color 260ms ease;
  pointer-events: none;
}
.nav--solid::before {
  background: rgba(251, 247, 242, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}
.nav__mark {
  position: relative;
  font: 400 1.5rem/1 var(--serif);
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--ink);
  display: flex; gap: .18em; align-items: baseline;
}
.nav__mark .amp { color: var(--gold); font-style: italic; }
.nav__links { position: relative; display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav__links a {
  font: 400 .82rem/1 var(--sans);
  letter-spacing: .11em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding: .5rem 0;
  transition: color 140ms ease-out;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--wine); }
.nav__links a:active { color: var(--wine); }

.nav__menu {
  position: relative;
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
}
.nav__menu span {
  display: block; height: 1px; background: var(--ink);
  transition: width 200ms cubic-bezier(.32,.72,0,1), transform 200ms cubic-bezier(.32,.72,0,1);
}
.nav__menu span:nth-child(1) { width: 22px; }
.nav__menu span:nth-child(2) { width: 14px; }
.nav__menu:active span { transform: scale(.92); }
.nav__menu[aria-expanded="true"] span:nth-child(2) { width: 22px; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__menu { display: flex; }
}

/* ── menu sheet (mobile) ────────────────────────────────────────────────── */

.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet[hidden] { display: none; }
.sheet__scrim {
  position: absolute; inset: 0;
  background: rgba(43, 33, 30, .38);
  opacity: 0;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.sheet__panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(251, 247, 242, .86);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-3);
  padding: .8rem 2rem calc(2.4rem + env(safe-area-inset-bottom));
  will-change: transform;
  touch-action: none;
}
.sheet__grabber {
  display: block; width: 42px; height: 4px; border-radius: 99px;
  background: var(--ink-faint); opacity: .45; margin: 0 auto 1.6rem;
}
.sheet__panel nav { display: flex; flex-direction: column; }
.sheet__panel a {
  font: 300 1.75rem/1.1 var(--serif);
  letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
}
.sheet__panel a:last-child { border-bottom: 0; }
.sheet__panel a:active { color: var(--wine); }

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: end center;   /* type sits under the photograph */
  text-align: center;
  padding: 7rem var(--gut) 5.5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--paper-3); }
.hero__video, .hero__media > img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 60% 26%;              /* keep the two of them in frame */
  transform: scale(1.04);
}
/* Narrow screens: there is no room beside the photograph, so the type drops
   below it — the two of them hold the top of the frame, the wash rises to meet
   the words. Wide screens override this and go side-by-side instead. */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(251,247,242,.3) 0%, rgba(251,247,242,.06) 20%,
                            rgba(251,247,242,.34) 48%, rgba(251,247,242,.92) 70%,
                            var(--paper) 85%);
}
/* Nothing behind the video yet? Keep the frame beautiful rather than empty. */
.hero__media--empty {
  background:
    radial-gradient(90% 70% at 20% 15%, var(--blush) 0%, transparent 60%),
    radial-gradient(80% 70% at 85% 80%, var(--gold-soft) 0%, transparent 62%),
    linear-gradient(160deg, var(--paper-2), var(--paper-3));
}

.hero__content { position: relative; max-width: 40ch; }
.hero__eyebrow {
  font: 400 .72rem/1 var(--sans);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
  white-space: nowrap;                   /* never break this into a stack */
}
.hero__names {
  margin: 0;
  font: 300 clamp(3.4rem, 1.6rem + 8.4vw, 8.5rem)/0.94 var(--serif);
  letter-spacing: -0.03em;               /* large display type tightens hard */
  display: flex; flex-direction: column; align-items: center;
}
.hero__amp {
  font-style: italic; color: var(--gold);
  font-size: .46em; line-height: 1.5;
  letter-spacing: 0;
}
.hero__date {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  margin: clamp(1.4rem, 3vw, 2.1rem) 0 0;
  font: 400 clamp(.85rem, .78rem + .3vw, 1rem)/1 var(--sans);
  letter-spacing: .32em; color: var(--ink-soft);
}
.hero__date i { width: 26px; height: 1px; background: var(--gold-soft); display: block; }
.hero__sub { margin: 1.6rem 0 0; color: var(--ink-soft); font-size: .98rem; }

/* Wide screens: stop covering the photograph. The type moves into the left of
   the frame and the wash fades out before it reaches the couple. */
@media (min-width: 900px) {
  .hero { place-items: center start; text-align: left; padding-inline: max(var(--gut), 6vw); }
  .hero__veil {
    background:
      linear-gradient(90deg, rgba(251,247,242,.94) 0%, rgba(251,247,242,.88) 26%,
                             rgba(251,247,242,.45) 52%, rgba(251,247,242,.06) 74%),
      linear-gradient(180deg, rgba(251,247,242,.55) 0%, rgba(251,247,242,0) 20%,
                              rgba(251,247,242,0) 68%, var(--paper) 100%);
  }
  .hero__content { max-width: none; }
  .hero__names { align-items: flex-start; }
  .hero__date { justify-content: flex-start; }
  .hero__sub { max-width: 26ch; }
  .hero__cue { left: max(var(--gut), 6vw); translate: 0 0; }
}

.hero__cue {
  position: absolute; bottom: 2.4rem; left: 50%; translate: -50% 0;
  width: 44px; height: 60px; display: grid; place-items: center;
}
.hero__cue-line {
  width: 1px; height: 44px; background: linear-gradient(var(--gold-soft), transparent);
  transform-origin: top;
  animation: cue 2.6s cubic-bezier(.62,.02,.34,1) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.35); opacity: .35; }
  40%      { transform: scaleY(1);   opacity: 1; }
}

/* ── story timeline ─────────────────────────────────────────────────────── */

.story { list-style: none; margin: 2rem 0 0; padding: 0; }
.story__item { display: grid; grid-template-columns: 42px 1fr; gap: clamp(1rem, 3vw, 2.4rem); }
.story__marker { position: relative; display: flex; justify-content: center; }
.story__marker::before {
  content: ""; position: absolute; top: 0; bottom: -1px; width: 1px;
  background: linear-gradient(var(--gold-soft), var(--gold-soft));
  opacity: .55;
}
.story__item--end .story__marker::before { bottom: auto; height: 14px; }
.story__marker span {
  position: relative; margin-top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gold);
}
.story__item--end .story__marker span { background: var(--gold); }
.story__body { padding-bottom: clamp(2.4rem, 5vw, 4rem); }
.story__when {
  margin: 0 0 .35rem;
  font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-faint);
}
.story__what {
  margin: 0 0 .6rem;
  font: 400 clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem)/1.14 var(--serif);
  letter-spacing: -0.012em;
}
.story__text { margin: 0; color: var(--ink-soft); max-width: 54ch; }

/* ── events ─────────────────────────────────────────────────────────────── */

.events { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }
.event {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-1);
  transition: transform 220ms cubic-bezier(.32,.72,0,1), box-shadow 220ms ease;
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.event__time {
  font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .7rem;
}
.event__name {
  margin: 0 0 .5rem;
  font: 400 1.55rem/1.15 var(--serif); letter-spacing: -0.01em;
}
.event__where { margin: 0; color: var(--ink-soft); font-size: .93rem; }

/* ── films ──────────────────────────────────────────────────────────────── */

.film-feature { margin-bottom: 1.4rem; }
.film-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.reels { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

.film {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--paper-3);
  border-radius: 20px; overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-1);
  transition: box-shadow 240ms ease;
  text-align: left;
  isolation: isolate;
}
.film--reel { aspect-ratio: 9 / 16; border-radius: 18px; }
.film--feature { aspect-ratio: 21 / 9; border-radius: 24px; }
@media (max-width: 700px) { .film--feature { aspect-ratio: 16 / 10; } }
.film:hover { box-shadow: var(--shadow-2); }
.film > img, .film > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 620ms cubic-bezier(.32,.72,0,1), filter 300ms ease;
}
.film:hover > img { transform: scale(1.035); }
.film__fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 90% at 25% 20%, var(--blush) 0%, transparent 60%),
    radial-gradient(70% 90% at 80% 85%, var(--gold-soft) 0%, transparent 60%),
    linear-gradient(150deg, var(--paper-2), var(--paper-3));
}
.film__shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(30,20,18,.62) 0%, rgba(30,20,18,.12) 45%, rgba(30,20,18,0) 70%);
}
.film__meta { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; color: #fff; }
.film__title {
  margin: 0;
  font: 400 clamp(1.15rem, 1rem + .5vw, 1.7rem)/1.15 var(--serif);
  letter-spacing: -0.008em;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.film__sub {
  margin: .3rem 0 0;
  font: 400 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  opacity: .88;
}
.film__play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255,255,255,.45);
  display: grid; place-items: center;
  transition: transform 240ms cubic-bezier(.32,.72,0,1), background 200ms ease;
}
.film--reel .film__play { width: 54px; height: 54px; }
.film__play::after {
  content: ""; margin-left: 4px;
  border-left: 15px solid #fff;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}
.film:hover .film__play { transform: translate(-50%, -50%) scale(1.07); background: rgba(255,255,255,.3); }
.film:active .film__play { transform: translate(-50%, -50%) scale(.95); }
.film.is-playing .film__shade,
.film.is-playing .film__meta,
.film.is-playing .film__play { opacity: 0; pointer-events: none; transition: opacity 260ms ease; }

/* No poster behind it yet — drop the shade and let the meta sit in ink on the
   warm gradient, rather than white-on-almost-white. */
.film--noposter .film__shade { opacity: .18; }
.film--noposter .film__meta { color: var(--ink); }
.film--noposter .film__title { text-shadow: none; }
.film--noposter .film__sub { color: var(--ink-faint); opacity: 1; }
.film[disabled] { cursor: default; }
.film[disabled]:hover { box-shadow: var(--shadow-1); }

.film__note {
  position: absolute; right: 1.2rem; bottom: 1.2rem;
  max-width: 45%; text-align: right;
  font: 400 .66rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.film--reel .film__note { display: none; }

/* ── gallery ────────────────────────────────────────────────────────────── */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.4rem; }
.filter {
  border: 1px solid var(--line);
  background: rgba(251,247,242,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font: 500 .76rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms cubic-bezier(.32,.72,0,1), background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.filter:active { transform: scale(.96); }
.filter[aria-selected="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }

.grid {
  columns: 3 300px;
  column-gap: 14px;
}
@media (max-width: 620px) { .grid { columns: 2 140px; column-gap: 10px; } }

.tile {
  position: relative;
  display: block; width: 100%; padding: 0; border: 0;
  background: var(--paper-3);
  border-radius: 12px; overflow: hidden; cursor: zoom-in;
  margin: 0 0 14px;
  break-inside: avoid;
  box-shadow: var(--shadow-1);
  transition: transform 240ms cubic-bezier(.32,.72,0,1), box-shadow 240ms ease;
}
@media (max-width: 620px) { .tile { margin-bottom: 10px; } }
.tile img { width: 100%; height: auto; display: block; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(43,33,30,.28), rgba(43,33,30,0) 55%);
  opacity: 0; transition: opacity 240ms ease;
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.tile:hover::after { opacity: 1; }
.tile:active { transform: scale(.985); }
.tile.is-out { display: none; }

.tile--placeholder { aspect-ratio: var(--ar, 3/4); }
.tile--placeholder .ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 80% at 30% 25%, var(--blush) 0%, transparent 62%),
    radial-gradient(70% 70% at 78% 82%, var(--gold-soft) 0%, transparent 60%),
    linear-gradient(150deg, var(--paper-2), var(--paper-3));
}
.tile--placeholder .ph::after {
  content: attr(data-n);
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 300 1.6rem/1 var(--serif); color: rgba(43,33,30,.22);
}

.grid-more { display: flex; justify-content: center; margin-top: 2.6rem; }
.btn {
  border: 1px solid var(--wine); background: transparent; color: var(--wine);
  border-radius: 999px; padding: .85rem 2.1rem; cursor: pointer;
  font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  transition: transform 120ms cubic-bezier(.32,.72,0,1), background 200ms ease, color 200ms ease;
}
.btn:hover { background: var(--wine); color: #fff; }
.btn:active { transform: scale(.97); }

.empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--line); border-radius: 16px;
  padding: 3rem 2rem; text-align: center; color: var(--ink-faint);
}

/* ── lightbox ───────────────────────────────────────────────────────────── */

.lb { position: fixed; inset: 0; z-index: 150; }
.lb[hidden] { display: none; }
/* While it is flying back to its tile it must not keep swallowing clicks. */
.lb.is-closing { pointer-events: none; }
.lb__scrim {
  position: absolute; inset: 0;
  background: #191211;
  opacity: 0;
  will-change: opacity;
}
.lb__stage {
  position: absolute; inset: 0; margin: 0;
  display: grid; place-items: center;
  /* Definite track sizes on purpose: against an auto row, the image's
     percentage max-height has nothing to resolve against and is dropped,
     and a tall photograph runs straight off the bottom of the screen. */
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(1rem, 5vw, 4rem);
  touch-action: none;
  will-change: transform;
}
.lb__img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
  will-change: transform;
}
.lb__close, .lb__nav {
  position: absolute; z-index: 2;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 140ms cubic-bezier(.32,.72,0,1), background 180ms ease;
}
.lb__close {
  top: max(1rem, env(safe-area-inset-top)); right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  font: 300 1.6rem/1 var(--sans);
}
.lb__nav {
  top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%;
  font: 300 2rem/1 var(--sans); padding-bottom: 4px;
}
.lb__nav--prev { left: 1rem; }
.lb__nav--next { right: 1rem; }
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.22); }
.lb__close:active, .lb__nav:active { transform: scale(.9); }
.lb__nav:active { transform: translateY(-50%) scale(.9); }
.lb__count {
  position: absolute; left: 50%; translate: -50% 0;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  margin: 0; color: rgba(255,255,255,.72);
  font: 400 .74rem/1 var(--sans); letter-spacing: .2em;
}
@media (max-width: 620px) {
  .lb__nav { display: none; }
}

/* ── thanks / footer ────────────────────────────────────────────────────── */

.thanks__text {
  font: 300 clamp(1.15rem, 1rem + .8vw, 1.6rem)/1.62 var(--serif);
  color: var(--ink-soft); margin: 0 0 2.4rem;
}
.thanks__sign {
  font: 400 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--serif);
  font-style: italic; color: var(--wine); margin: 0;
}

.foot {
  background: var(--wine); color: var(--paper);
  padding: clamp(3.5rem, 7vw, 6rem) 0; text-align: center;
}
.foot__mark {
  font: 300 2.6rem/1 var(--serif); letter-spacing: .04em; margin: 0 0 .9rem;
}
.foot__mark span { color: var(--gold-soft); font-style: italic; }
.foot__line {
  margin: 0 0 1.6rem;
  font: 400 .78rem/1 var(--sans); letter-spacing: .34em;
  color: rgba(251,247,242,.72);
}
.foot__small {
  margin: 0;
  font: 400 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: lowercase;
  color: rgba(251,247,242,.5);
}

/* ── reveal on scroll ───────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── accessibility preferences ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 160ms !important;
  }
  [data-reveal] { transform: none; }
  .hero__cue-line { animation: none; opacity: .6; }
  .tile:hover, .event:hover { transform: none; }
  .film:hover > img { transform: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .nav--solid::before { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sheet__panel { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filter { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lb__close, .lb__nav, .film__play {
    background: rgba(20,14,13,.86); backdrop-filter: none; -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root { --ink-soft: #4A3B35; --ink-faint: #5E4E47; --line: rgba(43,33,30,.34); }
  .nav--solid::before { background: var(--paper); backdrop-filter: none; }
  .event, .tile, .film { border: 1px solid var(--ink); }
  .filter { border-color: var(--ink); color: var(--ink); }
}

@media print {
  .nav, .hero__cue, .lb, .sheet, .film__play { display: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
