/* =====================================================================
   THE AB WEDDING — Alex & Bianca
   Black · Metallic gold · Cinematic
   ===================================================================== */

:root {
  --black: #050505;
  --ink: #0a0a09;
  --ink-2: #121110;
  --line: rgba(212, 180, 106, .18);
  --line-2: rgba(212, 180, 106, .38);
  --gold: #d4b46a;
  --gold-hi: #f6e4ae;
  --gold-lo: #8a6829;
  --text: #ece6da;
  --muted: #8e8679;
  --dim: #5a554d;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --script: 'Pinyon Script', cursive;
  --sans: 'Montserrat', system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked { overflow: hidden; height: 100svh; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: rgba(212, 180, 106, .35); color: #fff; }

/* ---------- shared gold ---------- */
.gold, .hero__amp, .hero__date, .std__date, .finale__mono, .card__mono, .finale__sign {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold) 22%, var(--gold-hi) 42%, #fff8e1 48%, var(--gold-hi) 54%, var(--gold) 72%, var(--gold-lo) 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }

.eyebrow {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- global layers ---------- */
#dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }

.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); }
}

.letterbox span {
  position: fixed; left: 0; right: 0; height: 8.5svh; background: #000; z-index: 45;
  transition: transform 1.1s var(--ease-io);
}
.letterbox span:first-child { top: 0; transform: translateY(-101%); }
.letterbox span:last-child { bottom: 0; transform: translateY(101%); }
body.is-cine .letterbox span { transform: translateY(0); }

.bloom {
  position: fixed; inset: 0; z-index: 35; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 46%, rgba(255, 244, 214, .95) 0%, rgba(230, 196, 120, .55) 22%, rgba(120, 88, 30, .25) 48%, rgba(5, 5, 5, 0) 72%);
  transition: opacity 1.4s var(--ease);
}
body.is-bloom .bloom { opacity: 1; transition-duration: .7s; }

/* =====================================================================
   INTRO
   ===================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 20; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.6rem, 5svh, 3rem);
  padding: 4rem 1.25rem calc(2rem + var(--safe-b));
  background:
    radial-gradient(ellipse 80% 55% at 50% 45%, #15120c 0%, #090807 55%, var(--black) 100%);
  overflow: hidden;
  transition: opacity 1.2s var(--ease), visibility 1.2s;
}
.intro::after { /* dim layer during ceremony */
  content: ''; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none;
  transition: opacity 1.4s var(--ease);
}
.intro.is-opening::after { opacity: .35; }
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__halo {
  position: absolute; left: 50%; top: 46%; width: 130vmax; height: 130vmax;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(212, 180, 106, .16) 0%, rgba(212, 180, 106, .05) 22%, transparent 45%);
  animation: breathe 7s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes breathe { from { opacity: .6; transform: translate(-50%, -50%) scale(.92); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }

.intro__beam {
  position: absolute; top: -20%; left: 50%; width: 60vmax; height: 140%;
  transform: translateX(-50%) rotate(14deg);
  background: linear-gradient(90deg, transparent, rgba(246, 228, 174, .045) 45%, rgba(246, 228, 174, .08) 50%, rgba(246, 228, 174, .045) 55%, transparent);
  filter: blur(8px);
  animation: beam 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes beam { from { transform: translateX(-70%) rotate(14deg); } to { transform: translateX(-30%) rotate(8deg); } }

.intro__brand {
  position: absolute; top: calc(1.6rem + env(safe-area-inset-top, 0px)); left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  opacity: 0; animation: fadeUp 1.6s .3s var(--ease) forwards;
  transition: opacity .8s, filter .8s;
}
.brand-mark { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .12em; color: var(--gold); }
.brand-line { width: 28px; height: 1px; background: var(--line-2); }
.brand-text { font-size: .56rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }

/* ---------- stage + envelope ---------- */
.stage {
  position: relative; z-index: 2;
  perspective: 1300px;
  transition: transform 2.2s var(--ease-io);
  opacity: 0; animation: envIn 2.2s .5s var(--ease) forwards;
}
@keyframes envIn { from { opacity: 0; transform: translateY(30px) scale(.94); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.env {
  --rx: 0deg; --ry: 0deg; --mx: 50%;
  position: relative;
  width: min(84vw, 400px);
  aspect-ratio: 10 / 6.6;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  cursor: pointer;
  outline: none;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.env__shadow {
  position: absolute; left: 6%; right: 6%; bottom: -14%; height: 22%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .9), transparent 70%);
  filter: blur(10px); transform: translateZ(-30px);
}

.env__back {
  position: absolute; inset: 0; border-radius: 3px; transform: translateZ(0);
  background:
    linear-gradient(160deg, #1a1916 0%, #0e0d0c 55%, #090908 100%);
  box-shadow: 0 30px 60px -20px #000, 0 0 0 1px rgba(212, 180, 106, .22) inset;
  overflow: hidden;
}
.env__back::after { /* paper tooth */
  content: ''; position: absolute; inset: 0; opacity: .35; 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='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
}
.env__lining {
  position: absolute; left: 4%; right: 4%; top: 3%; height: 64%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background:
    repeating-linear-gradient(45deg, rgba(212, 180, 106, .16) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(-45deg, rgba(212, 180, 106, .16) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #2a2112, #120e07);
}

.env__glow {
  position: absolute; inset: -10% 0 20%; transform: translateZ(.5px);
  background: radial-gradient(ellipse 60% 55% at 50% 60%, rgba(255, 236, 190, .95), rgba(212, 170, 90, .45) 40%, transparent 72%);
  opacity: 0; filter: blur(6px);
  transition: opacity 1.6s var(--ease);
  pointer-events: none;
}

/* card */
.card {
  position: absolute; left: 6%; right: 6%; top: 7%; height: 86%;
  transform: translateZ(1px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  text-align: center;
  background: linear-gradient(170deg, #1c1914 0%, #100f0c 60%, #0c0b09 100%);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(212, 180, 106, .35), 0 20px 40px -10px rgba(0, 0, 0, .8);
  transition: transform 1.8s var(--ease-io), box-shadow 1.8s;
}
.card__frame { position: absolute; inset: 7px; border: 1px solid rgba(212, 180, 106, .28); pointer-events: none; }
.card__eyebrow { font-size: .5rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }
.card__mono { font-family: var(--serif); font-size: clamp(1.8rem, 9vw, 2.6rem); font-weight: 300; line-height: 1; letter-spacing: .06em; }
.card__names { font-family: var(--serif); font-size: clamp(.95rem, 4.2vw, 1.2rem); letter-spacing: .08em; color: var(--text); }
.card__names i { font-family: var(--script); color: var(--gold); font-style: normal; padding: 0 .15em; }
.card__date { font-size: .52rem; letter-spacing: .45em; color: var(--gold); }

/* pocket */
.env__pocket {
  position: absolute; inset: 0; transform: translateZ(2px); pointer-events: none;
  filter: drop-shadow(0 -1px 0 rgba(212, 180, 106, .55)) drop-shadow(0 -10px 14px rgba(0, 0, 0, .55));
}
.env__fold { position: absolute; inset: 0; }
.env__fold--l {
  clip-path: polygon(0 0, 53% 56%, 0 100%);
  background: linear-gradient(100deg, #151412 0%, #0f0e0d 100%);
}
.env__fold--r {
  clip-path: polygon(100% 0, 47% 56%, 100% 100%);
  background: linear-gradient(260deg, #151412 0%, #0f0e0d 100%);
}
.env__fold--b {
  clip-path: polygon(0 100%, 50% 47%, 100% 100%);
  background: linear-gradient(0deg, #0d0c0b 0%, #1a1815 100%);
  border-radius: 0 0 3px 3px;
}

/* flap */
.env__flap {
  position: absolute; left: 0; right: 0; top: 0; height: 57%;
  transform-origin: 50% 0;
  transform: translateZ(3px) rotateX(0deg);
  transform-style: preserve-3d;
  pointer-events: none;
}
.env__flap-face {
  position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.env__flap-face--out {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolyline points='0,0 50,100 100,0' fill='none' stroke='%23d4b46a' stroke-opacity='.75' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    linear-gradient(180deg, #1d1c19 0%, #131210 60%, #0e0d0c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.env__flap-face--in {
  transform: rotateX(180deg);
  background:
    repeating-linear-gradient(45deg, rgba(212, 180, 106, .14) 0 1px, transparent 1px 9px),
    linear-gradient(0deg, #2b2213, #0f0c07);
}
.env__flap.is-open { animation: flapOpen 1.5s var(--ease-io) forwards; }
@keyframes flapOpen {
  0%   { transform: translateZ(3px) rotateX(0deg); }
  50%  { transform: translateZ(3px) rotateX(92deg); }
  51%  { transform: translateZ(-1px) rotateX(93deg); }
  100% { transform: translateZ(-1px) rotateX(178deg); }
}

/* seal */
.seal {
  position: absolute; left: 50%; top: 57%;
  width: clamp(64px, 20vw, 88px); aspect-ratio: 1;
  transform: translate(-50%, -50%) translateZ(5px);
  pointer-events: none;
}
.seal__half { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1s var(--ease), opacity 1s; overflow: visible; }
.seal__half--l { clip-path: polygon(0 0, 52% 0, 47% 30%, 54% 52%, 46% 74%, 51% 100%, 0 100%); }
.seal__half--r { clip-path: polygon(52% 0, 100% 0, 100% 100%, 51% 100%, 46% 74%, 54% 52%, 47% 30%); }
.seal__shine {
  position: absolute; inset: 8%; border-radius: 50%; overflow: hidden; mix-blend-mode: screen; pointer-events: none;
}
.seal__shine::before {
  content: ''; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 214, .9), transparent);
  transform: skewX(-18deg);
  animation: sealGlint 5s 2.6s ease-in-out infinite;
}
@keyframes sealGlint { 0%, 70% { left: -60%; } 90%, 100% { left: 130%; } }

.seal.is-lit { animation: sealLit .7s var(--ease) forwards; }
@keyframes sealLit { to { filter: drop-shadow(0 0 18px rgba(246, 220, 150, .85)) brightness(1.18); transform: translate(-50%, -50%) translateZ(5px) scale(1.07); } }
.seal.is-broken .seal__half--l { transform: translate(-22%, 14%) rotate(-16deg); opacity: 0; }
.seal.is-broken .seal__half--r { transform: translate(24%, 20%) rotate(18deg); opacity: 0; }
.seal.is-broken .seal__shine { opacity: 0; }

/* sheen following pointer */
.env__sheen {
  position: absolute; inset: 0; transform: translateZ(6px); pointer-events: none; border-radius: 3px;
  background: linear-gradient(115deg, transparent calc(var(--mx) - 22%), rgba(246, 228, 174, .10) calc(var(--mx) - 4%), rgba(255, 245, 215, .22) var(--mx), rgba(246, 228, 174, .10) calc(var(--mx) + 4%), transparent calc(var(--mx) + 22%));
  mix-blend-mode: screen;
}
.env__sheen.is-sweep { animation: sweep 1.3s var(--ease-io) forwards; }
@keyframes sweep { from { --mx: -30%; } to { --mx: 130%; } }
@property --mx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

/* ---------- ceremony states ---------- */
.intro.is-opening .env { animation: none; }
.intro.is-opening .stage,
.intro.is-opening .intro__copy,
.intro.is-opening .intro__brand { animation: none; }
.intro.is-opening .stage { opacity: 1; transform: translateY(4svh) scale(1.08); }
.intro.is-opening .intro__copy,
.intro.is-opening .intro__brand { opacity: 0; filter: blur(10px); transform: translateY(10px); }
.intro.is-glow .env__glow { opacity: 1; }
.intro.is-rise .card { transform: translateY(-58%) translateZ(1px); box-shadow: 0 0 0 1px rgba(212, 180, 106, .5), 0 -10px 60px rgba(246, 220, 150, .25); }
.intro.is-rise .stage { transform: translateY(14svh) scale(1.22); }
.intro.is-lift .card { transform: translateY(-64%) translateZ(60px) scale(1.06); transition-duration: 1.2s; }
.intro.is-lift .stage { transform: translateY(20svh) scale(1.5); transition-duration: 1.6s; }
.intro.is-fill .stage { transform: translateY(26svh) scale(3.2); transition: transform 1.4s cubic-bezier(.7, 0, .84, 0); }

/* ---------- intro copy ---------- */
.intro__copy {
  position: relative; z-index: 2; text-align: center;
  opacity: 0; animation: fadeUp 1.6s 1.2s var(--ease) forwards;
  transition: opacity .8s, filter .8s, transform .8s;
}
.intro__names {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.9rem, 8.6vw, 3rem);
  letter-spacing: .04em; color: var(--text); line-height: 1.1;
}
.intro__names span { font-family: var(--script); color: var(--gold); font-size: 1.05em; padding: 0 .12em; }
.intro__cta {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .9rem;
  padding: .9rem .4rem; color: var(--gold);
}
.cta-text { font-size: .66rem; letter-spacing: .48em; text-transform: uppercase; padding-left: .48em; }
.cta-line { width: 26px; height: 1px; background: var(--gold); opacity: .55; transition: width .5s var(--ease); }
.intro__cta:hover .cta-line, .intro__cta:focus-visible .cta-line { width: 44px; }
.intro__hint { margin-top: .4rem; font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--dim); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   SITE / SCENES
   ===================================================================== */
.site { position: relative; z-index: 1; opacity: 0; visibility: hidden; }
.site.is-on { opacity: 1; visibility: visible; transition: opacity 1.4s var(--ease); }

.scene { position: relative; overflow: hidden; }
.sec-head { padding: 0 1.5rem; margin-bottom: clamp(3rem, 10vw, 5rem); }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.sec-title {
  margin-top: .9rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 12vw, 5rem); line-height: .95; letter-spacing: -.01em;
  color: var(--text);
}
.sec-title em { font-family: var(--script); font-style: normal; color: var(--gold); font-size: 1.05em; letter-spacing: 0; }

/* reveal system */
.r { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease); transition-delay: var(--d, 0s); }
.r.in { opacity: 1; transform: none; filter: none; }
.mask { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-io); }
.mask img { transform: scale(1.25); transition: transform 2.4s var(--ease); }
.mask.in { clip-path: inset(0 0 0 0); }
.mask.in img { transform: scale(1); }

/* ---------- HERO ---------- */
.hero { height: 100svh; min-height: 560px; display: flex; align-items: flex-end; justify-content: center; }
.hero__media { position: absolute; inset: -6% 0 -6%; will-change: transform; }
.hero__media picture, .hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 32%; transform: scale(1.15); transition: transform 9s cubic-bezier(.2, .6, .2, 1); }
.site.is-on .hero__img { transform: scale(1); }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, .75) 0%, rgba(5, 5, 5, .1) 26%, rgba(5, 5, 5, .15) 45%, rgba(5, 5, 5, .85) 74%, var(--black) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 40%, rgba(0, 0, 0, .55) 100%);
}
.hero__content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 1.25rem calc(18svh + var(--safe-b));
  will-change: transform, opacity;
}
.hero__eyebrow { opacity: 0; transition: opacity 1.4s .2s var(--ease); }
.hero__eyebrow span { font-family: var(--serif); letter-spacing: .12em; font-size: .85rem; }
.hero__names {
  margin: 1.2rem 0 .4rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.6rem, 18vw, 8rem); line-height: .88; letter-spacing: -.015em;
  color: #f5efe3;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
.hero__names .split { display: block; overflow: hidden; padding: .04em 0 .08em; }
.split .ch { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
.site.is-on .split .ch { transform: none; opacity: 1; }
.hero__amp {
  display: block; font-family: var(--script); font-size: .62em; line-height: 1.05; margin: -.04em 0 -.02em;
  opacity: 0; transform: scale(.8); transition: opacity 1.6s 1.1s var(--ease), transform 1.6s 1.1s var(--ease);
}
.hero__sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 5vw, 1.6rem); color: var(--text);
  opacity: 0; transform: translateY(14px); transition: all 1.4s 1.5s var(--ease);
}
.hero__rule { width: 0; height: 1px; margin: 1.1rem auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); transition: width 1.6s 1.8s var(--ease); }
.hero__date {
  font-family: var(--sans); font-weight: 400; font-size: .72rem; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em;
  opacity: 0; transition: opacity 1.4s 2.1s var(--ease);
}
.site.is-on .hero__eyebrow, .site.is-on .hero__date { opacity: 1; }
.site.is-on .hero__amp { opacity: 1; transform: none; }
.site.is-on .hero__sub { opacity: 1; transform: none; }
.site.is-on .hero__rule { width: 120px; }

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: calc(3.5svh + var(--safe-b)); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  opacity: 0; transition: opacity 1s 2.8s;
}
.site.is-on .scroll-cue { opacity: 1; }
.scroll-cue__line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.4s var(--ease-io) infinite; }
.scroll-cue__txt { font-size: .5rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); padding-left: .5em; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- SAVE THE DATE ---------- */
.std { padding: clamp(7rem, 22vw, 11rem) 0 clamp(6rem, 18vw, 9rem); }
.std__glow { position: absolute; left: 50%; top: 42%; width: 120vw; height: 120vw; max-width: 900px; max-height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(212, 180, 106, .10), transparent 60%); pointer-events: none; }
.std__inner { position: relative; padding: 0 1.25rem; max-width: 760px; margin: 0 auto; }
.std__inner > .eyebrow { text-align: center; }
.std__title {
  margin: 2rem 0 1.6rem; display: flex; flex-direction: column;
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  font-size: clamp(5rem, 30vw, 13rem); line-height: .8; letter-spacing: -.02em;
}
.std__word {
  color: transparent; -webkit-text-stroke: 1px rgba(212, 180, 106, .7);
  background: linear-gradient(90deg, var(--gold-hi), var(--gold) 40%, var(--gold-lo));
  -webkit-background-clip: text; background-clip: text;
  background-size: 0% 100%; background-repeat: no-repeat;
  transition: background-size 2.2s var(--ease-io), opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s;
}
.std__word.in { background-size: 100% 100%; }
.std__word:first-child { align-self: flex-start; }
.std__word:last-child { align-self: flex-end; }
.std__word--mid {
  align-self: center; -webkit-text-stroke: 0; background: none;
  font-size: .32em; line-height: 1.3; text-transform: none; margin: -.1em 0 -.05em;
}
.std__word--mid em { font-family: var(--script); font-style: normal; color: var(--gold); letter-spacing: 0; }
.std__date {
  text-align: center; font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 8vw, 2.6rem); letter-spacing: .22em;
}
.std__date i { font-style: normal; font-size: .5em; vertical-align: middle; padding: 0 .3em; }

.count {
  margin: 3.4rem auto 2.6rem; max-width: 560px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.count__cell { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 0 1.2rem; position: relative; }
.count__cell + .count__cell::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--line); }
.count__num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 11vw, 3.6rem); line-height: 1;
  color: var(--gold-hi); font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(212, 180, 106, .35);
}
.count__num.tick { animation: tick .6s var(--ease); }
@keyframes tick { 0% { opacity: .2; transform: translateY(-6px); } 100% { opacity: 1; transform: none; } }
.count__lbl { margin-top: .6rem; font-size: .5rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); padding-left: .38em; }

.link-gold {
  display: table; margin: 0 auto; position: relative; padding: .5rem 0;
  font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold);
}
.link-gold::after { content: ''; position: absolute; left: 0; right: .4em; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(.35); transform-origin: left; transition: transform .6s var(--ease); }
.link-gold:hover::after, .link-gold:focus-visible::after { transform: scaleX(1); }

/* ---------- STORY ---------- */
.story { padding: clamp(5rem, 16vw, 8rem) 0 clamp(4rem, 12vw, 7rem); }
.chapter { position: relative; padding: 0 1.25rem; margin-bottom: clamp(5rem, 20vw, 9rem); }
.chapter__img { position: relative; width: 82%; aspect-ratio: 3 / 4; overflow: hidden; }
.chapter__img img, .chapter__float img { width: 100%; height: 100%; object-fit: cover; }
.chapter__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 5, 5, .7)); }
.chapter--b .chapter__img { margin-left: auto; }
.chapter__float {
  position: absolute; left: 1.25rem; top: 46%; width: 40%; aspect-ratio: 3 / 4; overflow: hidden; z-index: 2;
  box-shadow: 0 30px 60px -10px #000, 0 0 0 1px var(--line);
}
.chapter__text { position: relative; z-index: 3; margin-top: -22%; padding-left: 12%; max-width: 30rem; }
.chapter--b .chapter__text { padding-left: 0; padding-right: 8%; margin-top: 20%; }
.chapter__num {
  display: block; font-family: var(--serif); font-weight: 300; font-size: 5.5rem; line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(212, 180, 106, .55);
}
.chapter__title { margin-top: 1rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 7.4vw, 2.6rem); line-height: 1.12; color: #f3ede1; }
.chapter__body { margin-top: 1rem; font-size: .86rem; line-height: 1.85; color: var(--muted); max-width: 22rem; }
.chapter__body em { font-family: var(--script); font-size: 1.5em; color: var(--gold); font-style: normal; }

/* ---------- TIMELINE ---------- */
.timeline { padding: clamp(5rem, 16vw, 8rem) 0; background: linear-gradient(180deg, var(--black), #0b0a08 50%, var(--black)); }
.tl { list-style: none; position: relative; padding: 0 1.25rem; max-width: 620px; margin: 0 auto; --col: 6.2rem; }
.tl__rail { position: absolute; top: .9rem; bottom: .9rem; left: calc(1.25rem + var(--col) + .9rem); width: 1px; background: var(--line); }
.tl__fill { position: absolute; left: 0; top: 0; width: 1px; height: 0; background: linear-gradient(var(--gold-hi), var(--gold)); box-shadow: 0 0 10px rgba(212, 180, 106, .7); }
.tl__item { position: relative; display: grid; grid-template-columns: var(--col) 1.8rem 1fr; align-items: start; padding: 0 0 3.2rem; }
.tl__item:last-child { padding-bottom: 0; }
.tl__time {
  font-family: var(--serif); font-weight: 300; font-size: 2.3rem; line-height: 1; color: var(--dim);
  transition: color 1s var(--ease);
}
.tl__dot {
  grid-column: 2; grid-row: 1; justify-self: center; margin-top: .75rem;
  width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--line-2); background: var(--black);
  transition: all .8s var(--ease);
}
.tl__time { grid-column: 1; grid-row: 1; }
.tl__info { grid-column: 3; padding-left: .6rem; opacity: .35; transform: translateX(10px); transition: all 1s var(--ease); }
.tl__icon { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .55rem; }
.tl__info h3 { font-family: var(--sans); font-weight: 500; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text); }
.tl__info p { margin-top: .3rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.tl__item.on .tl__time { color: var(--gold-hi); }
.tl__item.on .tl__dot { background: var(--gold); border-color: var(--gold-hi); box-shadow: 0 0 14px rgba(246, 220, 150, .8); }
.tl__item.on .tl__info { opacity: 1; transform: none; }

/* ---------- PLACES ---------- */
.places { padding: clamp(5rem, 16vw, 8rem) 0 clamp(3rem, 10vw, 6rem); }
.place { position: relative; margin-bottom: clamp(5rem, 18vw, 8rem); }
.place__img { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.place__img img { width: 100%; height: 100%; object-fit: cover; }
.place__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, .35), transparent 30%, transparent 55%, var(--black)); }
.place__panel {
  position: relative; z-index: 2; margin: -34% 1.25rem 0; padding: 2.2rem 1.6rem 1.9rem;
  background: rgba(12, 11, 10, .62);
  backdrop-filter: blur(18px) saturate(120%); -webkit-backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid var(--line);
}
.corner { position: absolute; width: 18px; height: 18px; border-color: var(--gold); border-style: solid; }
.corner--tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corner--br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.place__kind { font-size: .6rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold); }
.place__name { margin: .7rem 0 .9rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1; color: #f5efe3; }
.place__addr { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--muted); }
.place__time { margin-top: 1rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--gold-hi); }
.btn-map {
  margin-top: 1.6rem; display: inline-flex; align-items: center; gap: .8rem;
  padding: .95rem 1.4rem; border: 1px solid var(--line-2); position: relative; overflow: hidden;
  font-size: .6rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-hi);
  transition: color .5s var(--ease), border-color .5s;
}
.btn-map svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.2; position: relative; z-index: 1; }
.btn-map span { position: relative; z-index: 1; }
.btn-map::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--gold-lo), var(--gold), var(--gold-hi)); transform: translateX(-101%); transition: transform .6s var(--ease); }
.btn-map:hover, .btn-map:focus-visible { color: #0a0a09; border-color: var(--gold); }
.btn-map:hover::before, .btn-map:focus-visible::before { transform: none; }
.btn-map:active { transform: scale(.98); }

/* ---------- GALLERY ---------- */
.gallery { padding: clamp(5rem, 16vw, 8rem) 0 clamp(5rem, 14vw, 7rem); }
.gallery .sec-head { margin-bottom: 2.4rem; }
.gallery__count { font-family: var(--serif); font-size: 1.1rem; color: var(--muted); letter-spacing: .1em; }
.gallery__count span:first-child { color: var(--gold-hi); }
.reel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 11vw; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.reel::-webkit-scrollbar { display: none; }
.reel__slide {
  flex: 0 0 78vw; max-width: 460px; aspect-ratio: 3 / 4; position: relative; overflow: hidden;
  scroll-snap-align: center; cursor: zoom-in;
  transform: scale(.9); opacity: .4; transition: transform .8s var(--ease), opacity .8s var(--ease);
}
.reel__slide.is-active { transform: none; opacity: 1; }
.reel__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease); }
.reel__slide.is-active img { transform: scale(1); }
.reel__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .75)); box-shadow: inset 0 0 0 1px var(--line); }
.reel__slide figcaption { position: absolute; z-index: 2; left: 1.2rem; bottom: 1.1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--text); }
.reel__bar { margin: 2rem auto 0; width: 140px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.reel__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(.16); transition: transform .5s var(--ease); }
.reel__hint { margin-top: 1rem; text-align: center; font-size: .52rem; letter-spacing: .38em; text-transform: uppercase; color: var(--dim); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .96); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage { width: 100%; height: 78svh; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .7s var(--ease), transform 6s var(--ease); }
.lb__stage img.is-fading { opacity: 0; transform: scale(1.04); transition: opacity .45s, transform .45s; }
.lb__cap { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-hi); }
.lb__close { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; width: 44px; height: 44px; font-size: 1.8rem; font-weight: 200; color: var(--gold); }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); opacity: .7; }
.lb__nav--p { left: .2rem; } .lb__nav--n { right: .2rem; }

/* ---------- RSVP ---------- */
.rsvp { padding: clamp(5rem, 16vw, 8rem) 0 clamp(5rem, 16vw, 8rem); }
.rsvp__glow { position: absolute; left: 50%; top: 55%; width: 140vw; height: 100vw; max-width: 1000px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(212, 180, 106, .09), transparent 62%); pointer-events: none; }
.rsvp .sec-head { text-align: center; }
.rsvp__lead { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.rsvp__panel {
  position: relative; margin: 0 1.1rem; max-width: 540px; padding: 2.4rem 1.5rem 2.2rem;
  background: linear-gradient(160deg, rgba(26, 24, 20, .55), rgba(10, 10, 9, .7));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .04);
}
@media (min-width: 600px) { .rsvp__panel { margin: 0 auto; padding: 3.2rem 3rem 3rem; } }

.form { display: flex; flex-direction: column; gap: 2rem; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.form.is-hidden { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.field { position: relative; padding-top: 1.1rem; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; outline: 0; resize: none;
  padding: .55rem 0 .7rem; font-family: var(--serif); font-size: 1.35rem; color: var(--text);
  border-radius: 0;
}
.field label {
  position: absolute; left: 0; top: 1.65rem; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted);
  transform-origin: left top; transition: transform .5s var(--ease), color .5s, letter-spacing .5s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.55rem) scale(.62); color: var(--gold);
  font-style: normal; font-family: var(--sans); letter-spacing: .3em; text-transform: uppercase;
}
.field__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(236, 230, 218, .14); }
.field__line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold-lo)); transform: scaleX(0); transition: transform .7s var(--ease); box-shadow: 0 0 10px rgba(212, 180, 106, .6); }
.field input:focus ~ .field__line::after, .field textarea:focus ~ .field__line::after { transform: scaleX(1); }
.field__err { position: absolute; left: 0; bottom: -1.3rem; font-size: .6rem; letter-spacing: .1em; color: #d79a7c; opacity: 0; transition: opacity .4s; }
.field.is-err .field__err { opacity: 1; }
.field.is-err .field__line { background: rgba(215, 154, 124, .6); }

.choice { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); }
.choice__opt { position: relative; z-index: 1; padding: 1.05rem .4rem; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); transition: color .5s var(--ease); }
.choice__opt.is-on { color: #0b0a08; font-weight: 500; }
.choice__pill { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; background: linear-gradient(100deg, var(--gold-lo), var(--gold) 45%, var(--gold-hi)); transition: transform .6s var(--ease); }
.choice.is-no .choice__pill { transform: translateX(100%); }

.collapse { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .8s var(--ease), opacity .6s; }
.collapse.is-closed { grid-template-rows: 0fr; opacity: 0; }
.collapse__inner { overflow: hidden; display: flex; flex-direction: column; gap: 1.2rem; }

.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stepper { border: 1px solid var(--line); padding: 1rem .8rem .9rem; text-align: center; }
.stepper__lbl, .form__lbl { font-size: .55rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.form__lbl { margin-top: .6rem; }
.stepper__ctl { margin-top: .7rem; display: flex; align-items: center; justify-content: space-between; }
.stepper__ctl button { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--gold-hi); font-size: 1.1rem; line-height: 1; transition: background .4s, transform .2s; }
.stepper__ctl button:active { transform: scale(.9); background: rgba(212, 180, 106, .15); }
.stepper__ctl output { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: var(--text); min-width: 2ch; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { padding: .7rem 1.05rem; border: 1px solid var(--line); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: all .45s var(--ease); }
.chip.is-on { border-color: var(--gold); color: var(--gold-hi); background: rgba(212, 180, 106, .1); box-shadow: 0 0 18px rgba(212, 180, 106, .15) inset; }

.btn-confirm {
  position: relative; overflow: hidden; height: 60px; margin-top: .4rem;
  border: 1px solid var(--gold); background: #070707;
  color: var(--gold-hi); font-size: .68rem; font-weight: 500; letter-spacing: .44em; text-transform: uppercase;
  transition: color .6s var(--ease), transform .2s, box-shadow .6s;
  box-shadow: 0 0 0 rgba(212, 180, 106, 0);
}
.btn-confirm::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, var(--gold-lo), var(--gold) 40%, var(--gold-hi) 60%, var(--gold)); transform: translateX(-101%); transition: transform .8s var(--ease); }
.btn-confirm::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255, 245, 215, .35), transparent); transform: skewX(-20deg); animation: btnGlint 4.5s 1s ease-in-out infinite; }
@keyframes btnGlint { 0%, 65% { left: -40%; } 95%, 100% { left: 120%; } }
.btn-confirm__txt { position: relative; z-index: 1; padding-left: .44em; }
.btn-confirm:hover, .btn-confirm:focus-visible { color: #0b0a08; box-shadow: 0 10px 40px -8px rgba(212, 180, 106, .5); }
.btn-confirm:hover::before, .btn-confirm:focus-visible::before { transform: none; }
.btn-confirm:active { transform: scale(.985); }
.btn-confirm__spin { position: absolute; z-index: 1; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1px solid rgba(212, 180, 106, .25); border-top-color: var(--gold-hi); border-radius: 50%; opacity: 0; }
.btn-confirm.is-loading .btn-confirm__txt { opacity: 0; }
.btn-confirm.is-loading .btn-confirm__spin { opacity: 1; animation: spin .8s linear infinite; }
.btn-confirm.is-loading::before { transform: translateX(-101%); }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 1s .2s var(--ease), visibility 1s; }
.thanks.is-on { opacity: 1; visibility: visible; }
.thanks__mark { width: 78px; height: 78px; fill: none; stroke: var(--gold); stroke-width: 1; }
.thanks__mark circle { stroke-dasharray: 227; stroke-dashoffset: 227; }
.thanks__mark path { stroke-dasharray: 50; stroke-dashoffset: 50; stroke: var(--gold-hi); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.thanks.is-on .thanks__mark circle { animation: draw 1.4s .4s var(--ease-io) forwards; }
.thanks.is-on .thanks__mark path { animation: draw .8s 1.5s var(--ease-io) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks__title { margin-top: 1.8rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1; color: #f5efe3; opacity: 0; transform: translateY(14px); }
.thanks__txt { margin: 1rem 0 2rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-hi); opacity: 0; transform: translateY(14px); }
.thanks .link-gold { opacity: 0; }
.thanks.is-on .thanks__title { animation: fadeUp 1.2s 1.9s var(--ease) forwards; }
.thanks.is-on .thanks__txt { animation: fadeUp 1.2s 2.3s var(--ease) forwards; }
.thanks.is-on .link-gold { animation: fadeUp 1.2s 2.8s var(--ease) forwards; }

/* ---------- FINALE ---------- */
.finale {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1.5rem calc(5rem + var(--safe-b));
  background: radial-gradient(ellipse 70% 50% at 50% 42%, #14110b, var(--black) 70%);
}
.finale::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, #000); pointer-events: none; }
.finale__glow { position: absolute; left: 50%; top: 40%; width: 90vw; height: 90vw; max-width: 640px; max-height: 640px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(232, 200, 130, .22), transparent 62%); animation: breathe2 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes breathe2 { from { opacity: .5; transform: translate(-50%, -50%) scale(.9); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
.finale__mono {
  position: relative; font-family: var(--serif); font-weight: 300;
  font-size: clamp(8rem, 46vw, 17rem); line-height: .85; letter-spacing: -.04em;
  filter: drop-shadow(0 0 30px rgba(212, 180, 106, .35));
}
.finale__quote { position: relative; margin-top: 2rem; max-width: 22rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 6.4vw, 2rem); line-height: 1.35; color: var(--text); }
.finale__rule { width: 70px; height: 1px; margin: 2.2rem auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.finale__sign { position: relative; font-family: var(--script); font-size: clamp(2.2rem, 10vw, 3.2rem); line-height: 1.1; }
.finale__sign span { display: block; margin-bottom: .6rem; font-family: var(--sans); font-size: .58rem; letter-spacing: .45em; text-transform: uppercase; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.finale__foot { position: absolute; z-index: 2; bottom: calc(1.6rem + var(--safe-b)); font-size: .5rem; letter-spacing: .45em; text-transform: uppercase; color: var(--dim); }

/* ---------- MUSIC ---------- */
.music {
  position: fixed; z-index: 60; right: 1rem; bottom: calc(1rem + var(--safe-b));
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(10, 10, 9, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); color: var(--gold);
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .4s, box-shadow .4s;
}
.music.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.music:hover { border-color: var(--gold); box-shadow: 0 0 20px rgba(212, 180, 106, .3); }
.music__note { grid-area: 1 / 1; font-size: 1.15rem; transition: opacity .3s; }
.music__bars { grid-area: 1 / 1; display: flex; gap: 3px; align-items: flex-end; height: 14px; opacity: 0; transition: opacity .3s; }
.music__bars i { width: 2px; height: 100%; background: var(--gold); transform-origin: bottom; animation: bar 1s ease-in-out infinite; }
.music__bars i:nth-child(2) { animation-delay: -.4s; } .music__bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes bar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.music.is-playing .music__note { opacity: 0; }
.music.is-playing .music__bars { opacity: 1; }

/* =====================================================================
   DESKTOP
   ===================================================================== */
@media (min-width: 900px) {
  .sec-head { max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 3rem; }
  .hero { align-items: center; justify-content: flex-start; }
  .hero__content { text-align: left; padding: 0 0 0 8vw; max-width: 760px; }
  .hero__names { font-size: clamp(5rem, 9vw, 9rem); }
  .hero__amp { margin-left: .9em; }
  .hero__rule { margin-left: 0; }
  .site.is-on .hero__rule { width: 160px; }

  .chapter { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 3rem; }
  .chapter__img { width: 100%; }
  .chapter__text { margin-top: 0 !important; padding: 0 !important; }
  .chapter--b .chapter__img { order: 2; }
  .chapter--b .chapter__text { order: 1; }
  .chapter__float { left: auto; right: 38%; top: 55%; width: 22%; }

  .place { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 3rem; }
  .place__img { aspect-ratio: 4 / 3; }
  .place__panel { margin: 0 0 0 -18%; padding: 3rem 2.6rem; }
  .place--rev { grid-template-columns: 1fr 1.4fr; }
  .place--rev .place__img { order: 2; }
  .place--rev .place__panel { order: 1; margin: 0 -18% 0 0; }

  .reel { padding: 0 calc(50vw - 230px); }
  .reel__slide { flex-basis: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
}
