:root {
  --black: #0a0a0a;
  --ink: #141414;
  --white: #f4f3f0;
  --paper: #e9e8e4;
  --grey: #8a8a85;
  --grey-dim: #55544f;
  --line: rgba(244, 243, 240, 0.18);
  --line-dark: rgba(10, 10, 10, 0.15);

  --display: "Anton", "Arial Narrow", sans-serif;
  --feminine: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --script: "Alex Brush", "Cormorant Garamond", cursive;
  --label: "Archivo", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
  --body: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed;
  inset: -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 500;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
  animation: grain-shift 1s steps(4) infinite;
}
.grain--footer { position: absolute; z-index: 1; opacity: 0.14; }

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ========================================================= */
/* FILM LEADER COUNTDOWN — 3, 2, 1 picture start                */
/* ========================================================= */
.bar {
  position: fixed;
  left: 0; right: 0;
  height: 12vh;
  background: var(--black);
  z-index: 1002;
  transition: transform 1s cubic-bezier(0.7, 0, 0.2, 1) 0.1s;
}
.bar.top { top: 0; }
.bar.bot { bottom: 0; }
body.rolling .bar.top { transform: translateY(-100%); }
body.rolling .bar.bot { transform: translateY(100%); }

.focus-pull {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  backdrop-filter: blur(18px);
}
body.rolling .focus-pull {
  animation: focuspull 2.4s cubic-bezier(0.3, 0.15, 0.25, 1) 0.1s 1 both;
}
@keyframes focuspull {
  0%   { backdrop-filter: blur(18px); }
  42%  { backdrop-filter: blur(2px); }
  58%  { backdrop-filter: blur(6px); }
  100% { backdrop-filter: blur(0px); }
}

.leader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}
.leader.is-gone { opacity: 0; pointer-events: none; }

.leader-x { position: absolute; background: rgba(244, 243, 240, 0.14); }
.leader-x.h { left: 0; right: 0; top: 50%; height: 1px; }
.leader-x.v { top: 0; bottom: 0; left: 50%; width: 1px; }

.leader-ring {
  position: relative;
  width: min(46vh, 46vw);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(244, 243, 240, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(244, 243, 240, 0.18);
  border-radius: 50%;
}
.leader-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(rgba(244, 243, 240, 0.16) 0deg, transparent 0deg);
}

.leader-num {
  font-family: "Instrument Serif", var(--body);
  font-size: min(24vh, 24vw);
  line-height: 1;
  color: var(--white);
}
.leader.is-flick .leader-num { animation: leader-flick 0.12s steps(2) 0s 2 normal none running; }
@keyframes leader-flick { 50% { opacity: 0.2; transform: translateX(2px); } }

.leader-cap {
  position: absolute;
  bottom: 18vh;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--label);
  font-size: 11.5px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--grey);
}

.leader-skip {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
}
.leader-skip:hover { background: var(--white); color: var(--black); }

/* ========================================================= */
/* HEADER                                                      */
/* ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5vw;
  mix-blend-mode: difference;
  color: #fff;
  font-family: var(--label);
}
.monogram { font-weight: 700; letter-spacing: 0.08em; font-size: 15px; }
.site-header__scene {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.8;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.main-nav a:hover { opacity: 1; }

/* ========================================================= */
/* HERO — AUTOPLAYING CINEMATIC VIDEO                           */
/* ========================================================= */
.reel {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
}
.reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}
.reel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 35%, rgba(0,0,0,0.15) 65%, rgba(0,0,0,0.65) 100%);
}
.reel__frame {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 5vw;
}
.reel__credits {
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}
.reel__title {
  font-family: var(--feminine);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  line-height: 0.98;
  margin: 0;
}
.reel__title .line { display: block; font-size: clamp(50px, 10.5vw, 148px); }
.reel__amp { font-size: clamp(30px, 5vw, 68px) !important; font-weight: 500; color: var(--grey); margin: 10px 0; }
.reel__meta {
  margin-top: 28px;
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
.reel__meta .dot { margin: 0 10px; color: var(--grey); }

.reel__scroll {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}
.reel__scroll-line { width: 1px; height: 40px; background: var(--paper); opacity: 0.4; animation: scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%, 100% { transform: scaleY(1); opacity: 0.2; } 50% { transform: scaleY(1.3); opacity: 0.5; } }

/* ---------- Section label ---------- */
.section-label {
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin: 0 0 40px;
  text-align: center;
}
.section-label--light { color: var(--grey); }

/* ---------- Section background photos — film-scroll reveal ---------- */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: grayscale(1) contrast(1.15) brightness(0.5);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 2s ease;
  will-change: opacity, transform;
}
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.78) 72%, rgba(10,10,10,0.92) 100%);
}
.section-bg.is-visible { opacity: 0.55; transform: scale(1); }

.section-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-bg__content { position: relative; z-index: 1; }

@media (max-width: 860px) {
  .section-bg { background-attachment: scroll; }
}

/* ---------- Press / Story ---------- */
.press { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 140px 6vw 100px; text-align: center; }
.press .section-bg__content { max-width: 880px; margin: 0 auto; }
.press__label { font-family: var(--label); font-size: 13px; letter-spacing: 0.2em; color: var(--grey); margin-bottom: 24px; }
.press__quote { font-family: var(--body); font-weight: 500; font-size: clamp(30px, 5vw, 52px); line-height: 1.15; margin: 0 0 48px; color: var(--white); }
.press__quote .italic { font-style: italic; color: var(--grey); }
.press__voices { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; text-align: left; }
.press__voice p { font-family: var(--body); font-style: italic; font-size: 17px; line-height: 1.7; color: var(--paper); margin: 0 0 18px; }
.press__voice p:last-child { margin-bottom: 0; }
.press__voice--right { text-align: right; }
.press__voice-name {
  display: block;
  font-family: var(--script);
  font-size: clamp(26px, 4vw, 34px);
  color: var(--white);
  margin-bottom: 14px;
}
@media (max-width: 760px) {
  .press__voices { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Details ---------- */
.details { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 20px 6vw 120px; }
.details__list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.details__row { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); font-family: var(--label); }
.details__when { display: flex; flex-direction: column; }
.details__day { font-size: 20px; font-weight: 600; }
.details__sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.details__where { display: flex; flex-direction: column; font-size: 16px; }
.details__where .details__sub { color: rgba(244,243,240,0.5); text-transform: none; letter-spacing: 0; font-size: 14px; }
.details__link { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); white-space: nowrap; border-bottom: 1px solid var(--grey); }
.details__link--muted { color: transparent; border: none; }

.details__cta {
  display: block;
  width: fit-content;
  margin: 44px auto 0;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 30px;
  transition: background 0.2s ease, color 0.2s ease;
}
.details__cta:hover { background: var(--white); color: var(--black); }

/* ---------- Travel & Lodging ---------- */
.travel { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 110px 6vw; text-align: center; }
.travel__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin: -24px 0 50px; }
.travel__list { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.travel__row { padding: 26px 0; border-bottom: 1px solid var(--line); }
.travel__name { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--label); font-size: 19px; font-weight: 600; color: var(--white); }
.travel__tag { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); font-weight: 500; }
.travel__note { margin: 8px 0 0; font-size: 16px; color: var(--paper); font-family: var(--body); }
.travel__link {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--grey);
}
.travel__link:hover { color: var(--grey); }

/* ---------- Stills — rolling film strip (home page teaser) ---------- */
.stills { background: var(--black); padding: 130px 0; text-align: center; }
.stills .section-label { padding: 0 6vw; }
.stills__more { color: var(--white); border-bottom: 1px solid var(--grey); }
.stills__more:hover { color: var(--grey); }

.filmstrip {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background:
    radial-gradient(circle, var(--black) 3px, transparent 3.5px) repeat-x,
    radial-gradient(circle, var(--black) 3px, transparent 3.5px) repeat-x;
  background-size: 26px 100%, 26px 100%;
  background-position: 0 6px, 0 calc(100% - 6px);
  background-color: #1c1c1a;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.filmstrip__track {
  display: inline-flex;
  width: max-content;
  gap: 4px;
  padding: 0 6vw;
  animation: filmstrip-scroll 320s linear infinite;
}
.filmstrip:hover .filmstrip__track,
.filmstrip__track.is-paused {
  animation-play-state: paused;
}
@keyframes filmstrip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .filmstrip__track { animation: none; }
  .filmstrip { overflow-x: auto; }
}
.frame {
  position: relative;
  flex: 0 0 auto;
  width: 260px;
  margin: 0;
  border: 2px solid var(--black);
}
.frame img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}
.frame__n {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(244, 243, 240, 0.8);
  background: rgba(10, 10, 10, 0.55);
  padding: 2px 6px;
}

/* ---------- Invite page — auto-playing card deck ---------- */
.invite-deck {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--black);
}
.invite-track {
  display: flex;
  width: 600%;
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.slide {
  position: relative;
  flex: 0 0 calc(100% / 6);
  width: calc(100% / 6);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 7vw;
}

/* envelope slides — full-bleed photographed envelope that actually opens */
.slide--envelope { background: var(--black); padding: 0; }
.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05);
}
.envelope--closed { background-image: url('assets/img/envelope.png'); z-index: 2; clip-path: inset(0% 0 0 0); }
.envelope--open { background-image: url('assets/img/envelope-open.png'); z-index: 1; }
/* opening slide — one real video of the flap lifting (generated from the
   closed/open photos as start/end frames), not a transition between stills */
.envelope-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.slide--envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.1) 0%, rgba(10,10,10,0.55) 68%, rgba(10,10,10,0.8) 100%);
  pointer-events: none;
}
.envelope__seal {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  font-family: var(--script);
  font-size: clamp(26px, 5vw, 42px);
  color: rgba(244, 243, 240, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.envelope__prompt {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}
/* seal/prompt overlays timed to the 5.06s opening video: the seal fades as
   the video's own wax visibly melts and drips away, the prompt fades in once
   the flap has fully settled open. */
@keyframes env-seal-seq {
  0%, 15%  { opacity: 1; }
  45%, 100% { opacity: 0; }
}
@keyframes env-prompt-seq {
  0%, 88%  { opacity: 0; transform: translateX(-50%) translateY(10px); }
  100%     { opacity: 1; transform: translateX(-50%) translateY(0); }
}
body.rolling .slide--envelope:not(.slide--close) .envelope__seal {
  animation: env-seal-seq 5.06s ease both;
}
body.rolling .slide--envelope:not(.slide--close) .envelope__prompt {
  animation: env-prompt-seq 5.06s ease both;
}
/* closing envelope — simple static reveal, no opening sequence */
body.rolling .slide--close .envelope__seal,
body.rolling .slide--close .envelope__prompt {
  opacity: 1;
}
.slide--close .invite-enter {
  position: relative;
  z-index: 4;
  margin-top: 4px;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--grey);
}
.slide--close .invite-enter:hover { color: var(--grey); }

/* image / video slides (invited, names) */
.slide--photo { color: var(--white); }
.slide--photo .section-bg { opacity: 0.6; transform: scale(1); }
.slide--photo .invite-eyebrow { font-family: var(--label); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); margin-bottom: 20px; }
.slide--photo .invite-names { font-family: var(--feminine); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 9vw, 84px); letter-spacing: 0.04em; line-height: 1.2; margin: 0; }
.slide--photo .invite-names .amp { display: block; font-family: var(--script); font-weight: 400; font-size: clamp(30px, 6vw, 52px); color: var(--grey); text-transform: none; letter-spacing: 0; margin: 2px 0; line-height: 1.2; }
.slide--photo .invite-sub { font-family: var(--script); font-size: clamp(34px, 8vw, 58px); color: var(--white); margin: 0; }

/* details slide — black card with line icons, like the reference */
.slide--details { background: var(--black); color: var(--white); }
.invite-details__eyebrow { font-family: var(--label); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); margin-bottom: 0; }
.invite-details__script { font-family: var(--script); font-weight: 400; font-size: clamp(50px, 11vw, 88px); color: var(--white); margin: 0 0 18px; line-height: 1; }
.invite-details__date {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--label);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 26px;
}
.invite-details__date::before,
.invite-details__date::after { content: ""; width: 34px; height: 1px; background: var(--grey); }
.invite-details__date b { font-family: var(--feminine); font-size: 30px; color: var(--white); font-weight: 700; }
.invite-details__list { display: grid; gap: 20px; }
.invite-details__row { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.invite-details__icon { width: 22px; height: 22px; color: var(--white); opacity: 0.85; }
.invite-details__row span { font-family: var(--label); font-size: 13px; letter-spacing: 0.05em; color: var(--white); line-height: 1.5; }
.invite-details__row span.is-muted { color: var(--grey); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* rsvp card — the "Kindly RSVP" design, shared by the homepage and both invite
   pages so there's one consistent look site-wide. Sized to fit one screen
   without scrolling on the invite deck; on the homepage it just flows normally. */
.rsvp-card {
  position: relative;
  z-index: 1;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(18px, 4vh, 30px) 26px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  text-align: center;
}
.slide--rsvp .rsvp-card { max-height: 94vh; max-height: 94dvh; overflow-y: auto; }
.rsvp-card__kicker { font-family: var(--script); font-size: clamp(22px, 5vh, 32px); color: var(--white); margin-bottom: -4px; }
.rsvp-card__title { font-family: var(--feminine); font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 9vh, 60px); letter-spacing: 0.1em; color: var(--white); line-height: 1; margin: 0 0 4px; }
.rsvp-card__divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0 12px; }
.rsvp-card__divider span:not(.heart) { width: 38px; height: 1px; background: var(--grey); }
.rsvp-card__divider .heart { color: var(--grey); font-size: 12px; }
.rsvp-card__to { font-family: var(--label); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.rsvp-card__names { font-family: var(--script); font-size: clamp(26px, 5.5vh, 36px); color: var(--white); margin-bottom: 0; }
.rsvp-card__names .amp { color: var(--grey); }
.rsvp-card__surname { font-family: var(--label); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--white); margin-bottom: 4px; }
.rsvp-card__date { font-family: var(--label); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; }

.rsvp-card__form { display: flex; flex-direction: column; gap: 11px; text-align: left; }
.rsvp-card__field { display: flex; flex-direction: column; gap: 3px; }
.rsvp-card__field span { font-family: var(--label); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.rsvp-card__field input {
  font-family: var(--body);
  font-size: 15px;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 5px 2px;
}
.rsvp-card__field input:focus { outline: none; border-bottom-color: var(--white); }

.rsvp-card__attending-label { display: block; text-align: center; font-family: var(--label); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.rsvp-card__choices { display: flex; justify-content: center; gap: 30px; }
.rsvp-card__choice { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; }
.rsvp-card__choice input { width: 14px; height: 14px; accent-color: var(--white); }
.rsvp-card__choice-script { font-family: var(--script); font-size: 20px; color: var(--white); }
.rsvp-card__choice-caps { font-family: var(--label); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }

.rsvp-card__deadline {
  text-align: center;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.rsvp-card__deadline b { display: block; margin-top: 2px; font-family: var(--feminine); font-size: 15px; letter-spacing: 0.03em; color: var(--white); font-weight: 700; }

.rsvp-card__closing { text-align: center; font-family: var(--body); font-style: italic; font-size: 13px; color: var(--paper); margin: 2px 0 0; line-height: 1.35; }

.rsvp-card .ticket__submit { align-self: center; margin-top: 0; padding: 10px 26px; font-size: 11px; }

/* nav chevrons */
.invite-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.invite-nav:hover { background: rgba(10, 10, 10, 0.8); }
.invite-nav--prev { left: 18px; }
.invite-nav--next { right: 18px; }
.invite-nav.is-hidden { opacity: 0; pointer-events: none; }

/* page counter, styled like the SC 0x scene indicator */
.invite-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--paper);
  opacity: 0.75;
  mix-blend-mode: difference;
}

@media (max-width: 560px) {
  .invite-nav { width: 38px; height: 38px; font-size: 17px; }
  .invite-nav--prev { left: 10px; }
  .invite-nav--next { right: 10px; }
}

/* desktop / windows optimization — give the deck room to breathe on wide screens */
.invite-track { cursor: grab; }
.invite-track:active { cursor: grabbing; }
.slide--photo .section-bg__content { max-width: 720px; margin: 0 auto; }

@media (min-width: 860px) {
  .invite-details__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    max-width: 920px;
    margin: 0 auto;
  }
  .invite-nav { width: 50px; height: 50px; font-size: 22px; }
  .invite-nav--prev { left: 36px; }
  .invite-nav--next { right: 36px; }
}

/* ---------- Gallery page hero banner ---------- */
.gallery-hero { padding: 150px 6vw 30px; text-align: center; background: var(--black); }
.gallery-hero__eyebrow { font-family: var(--label); font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
.gallery-hero__title { font-family: var(--feminine); font-style: italic; font-weight: 600; font-size: clamp(44px, 8vw, 100px); color: var(--white); margin: 0 0 16px; line-height: 1; }
.gallery-hero__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin: 0; }

.lookbook-pages {
  background: var(--black);
  padding: 50px 6vw 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.lookbook-pages img {
  width: 100%;
  max-width: 640px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* ---------- Gallery — collage ---------- */
.gallery { background: var(--black); padding: 60px 0 150px; text-align: center; }
.gallery .section-label { padding: 0 6vw; }
.gallery__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin: -24px 0 50px; padding: 0 6vw; }

/* masonry-style collage, referenced from ghost-pitcher.com's treatment boards */
.collage {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 6vw;
}
.cg-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cg-col.c1 { flex: 38 1 0; }
.cg-col.c2 { flex: 34 1 0; }
.cg-col.c3 { flex: 28 1 0; }

.cg {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: var(--r);
  background: #141412;
}
.cg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
}

.reveal {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(24px) scale(0.99);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.3, 1), filter 1.2s cubic-bezier(0.22, 1, 0.3, 1), transform 1.2s cubic-bezier(0.22, 1, 0.3, 1);
}
.reveal.in { opacity: 1; filter: blur(0); transform: none; }
.reveal.in img { filter: grayscale(1) contrast(1.1); }

@media (max-width: 760px) {
  .collage { flex-direction: column; align-items: stretch; }
  .cg-col { flex: 1 1 auto; }
}

/* ---------- Registry ---------- */
.registry { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 120px 6vw; text-align: center; }
.registry__copy { max-width: 520px; margin: -20px auto 36px; font-size: 18px; line-height: 1.6; color: var(--paper); font-family: var(--body); }
.registry__btn {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--label);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 30px;
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- RSVP ---------- */
.rsvp { position: relative; overflow: hidden; background: var(--black); padding: 100px 6vw 180px; display: flex; justify-content: center; }
input, select, textarea {
  font-family: var(--body);
  font-size: 16px;
  padding: 10px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--white); }
select option { background: var(--black); color: var(--white); }
.ticket__submit {
  margin-top: 10px;
  align-self: flex-start;
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.ticket__submit:hover { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }

/* ---------- Footer / Credits ---------- */
.site-footer {
  position: relative;
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 90px 6vw 70px;
  font-family: var(--label);
  overflow: hidden;
}
.site-footer__credits { max-width: 560px; margin: 0 auto 40px; display: grid; gap: 14px; }
.site-footer__row { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.site-footer__row span:first-child { color: var(--grey); }
.site-footer__small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.45; margin-top: 60px; }

/* ========================================================= */
/* MARQUEE TICKER — fixed bottom band                          */
/* ========================================================= */
.ticker {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  height: 34px;
  background: var(--white);
  border-top: 1px solid var(--line-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ticker__track {
  display: inline-flex;
  gap: 22px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  padding-left: 100%;
  animation: ticker-scroll 26s linear infinite;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .details__row { grid-template-columns: 1fr; gap: 6px; text-align: left; }
  .main-nav { gap: 16px; }
  .site-header__scene { display: none; }
}
@media (max-width: 560px) {
  .main-nav a:not(.nav-rsvp) { display: none; }
  .intro__scenes { display: none; }
}
