/* Closure at Shalimar — landing page
   Palette, typeface and button treatment are Shalimar's own (shalimarblr.com):
   espresso ground, cream type, sand / gold / ember / terracotta accents,
   Copperplate Gothic for the brand voice. Motion lives in script.js; every
   hidden starting state is scoped to .js so the page reads without it. */

@font-face { font-family: "Copperplate Gothic"; font-weight: 100 450; font-display: swap; src: url("./assets/fonts/copperplate-light.woff2") format("woff2"); }
@font-face { font-family: "Copperplate Gothic"; font-weight: 451 900; font-display: swap; src: url("./assets/fonts/copperplate-bold.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --espresso: #120e0a;
  --espresso-2: #1a140e;
  --char: #241a12;
  --char-line: #3a2a1d;
  --cream: #f4e7ce;
  --cream-dim: #c9b492;
  --muted: #8c7a60;
  --sand: #debb83;
  --sand-light: #ead4a8;
  --gold: #e4b873;
  --ember: #e07a4d;
  --terracotta: #c75b39;
  --terracotta-deep: #a8492b;
  --grad: linear-gradient(105deg, #debb83 0%, #e4b873 26%, #fff7e6 42%, #e4b873 58%, #c75b39 82%, #e4b873 100%);
  --grad-btn: linear-gradient(135deg, #e4b873, #e07a4d 45%, #c75b39);
  --brand: "Copperplate Gothic", Copperplate, Manrope, system-ui, sans-serif;
  --sans: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --max: 78rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--espresso);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* fine film grain over everything, as on the main site */
body::after { position: fixed; z-index: 46; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .92 0 0 0 0 .8 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); content: ""; opacity: .055; pointer-events: none; }
img, picture, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--terracotta); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 5.5rem; }
.hero, .ritual, .inside { scroll-margin-top: 0; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; border-radius: 999px; background: var(--cream); color: var(--espresso); font-size: .8rem; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- shared type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; color: var(--gold); font-family: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .3em; line-height: 1.5; text-transform: uppercase; }
.ritual-head .eyebrow, .say .eyebrow, .section-head-center .eyebrow, .closing .eyebrow { justify-content: center; text-align: center; }
.spark { display: inline-block; color: var(--terracotta); font-size: .7em; animation: twinkle 3.2s ease-in-out infinite; }
.grad { background: var(--grad) 100% 0 / 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shine 7s ease-in-out infinite; }
.display { font-family: var(--brand); font-size: clamp(1.9rem, 4.5vw, 3.9rem); font-weight: 700; letter-spacing: .015em; line-height: 1.08; }
.display em { padding-right: .06em; background: var(--grad) 100% 0 / 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--serif); font-size: 1.14em; font-style: italic; font-weight: 400; letter-spacing: -.01em; -webkit-text-fill-color: transparent; animation: shine 7s ease-in-out infinite; }
.display-xl { font-size: clamp(2.1rem, 5.6vw, 4.9rem); }
.display .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.display .line > span { display: block; }
.section-head { display: grid; gap: 1.3rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head-center { justify-items: center; text-align: center; }
.link { color: var(--gold); font-family: var(--brand); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: .2rem; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* ---------- buttons (Shalimar's pill) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .75rem; overflow: hidden; isolation: isolate; padding: 1.05rem 1.7rem; border: 0; border-radius: 999px; background: var(--grad-btn); color: var(--espresso); font-family: var(--brand); font-size: .84rem; font-weight: 700; letter-spacing: .07em; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 8px 30px -8px rgba(199, 91, 57, .65); cursor: pointer; transition: translate .45s var(--ease-out), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.btn::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(135deg, var(--sand-light), var(--gold)); content: ""; opacity: 0; transition: opacity .45s var(--ease); }
.btn:hover::after { opacity: 1; }
.btn:hover { box-shadow: 0 14px 40px -10px rgba(228, 184, 115, .6); }
.btn i { width: .42rem; height: .42rem; flex: none; border-radius: 50%; background: var(--espresso); }
.btn-small { padding: .78rem 1.15rem; font-size: .7rem; }
.btn-ghost { border: 1px solid var(--char-line); background: rgba(36, 26, 18, .35); color: var(--cream); box-shadow: none; }
.btn-ghost::after { background: rgba(228, 184, 115, .1); }
.btn-ghost i { background: var(--ember); }
.btn-ghost:hover { border-color: var(--gold); box-shadow: none; }

/* ---------- chrome ---------- */
.progress { position: fixed; z-index: 60; inset: 0 0 auto 0; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--terracotta), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; }
.glow { position: fixed; z-index: 45; top: 0; left: 0; width: 38rem; height: 38rem; margin: -19rem 0 0 -19rem; border-radius: 50%; background: radial-gradient(circle, rgba(224, 122, 77, .13), rgba(228, 184, 115, .05) 42%, transparent 68%); opacity: 0; pointer-events: none; transition: opacity .8s ease; will-change: transform; }
.glow.is-on { opacity: 1; }

.nav {
  position: fixed; z-index: 50; top: max(.75rem, env(safe-area-inset-top)); left: 50%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(calc(100% - 1.5rem), 76rem); padding: .45rem .45rem .45rem 1.1rem;
  border: 1px solid rgba(58, 42, 29, .9); border-radius: 999px;
  background: rgba(18, 14, 10, .62); color: var(--cream);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .9);
  transform: translateX(-50%);
  transition: background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), opacity .9s ease, transform .9s var(--ease-out);
}
.nav.is-top { border-color: transparent; background: rgba(18, 14, 10, 0); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.js .nav { opacity: 0; transform: translate(-50%, -1rem); }
.js.is-loaded .nav { opacity: 1; transform: translate(-50%, 0); transition-delay: 0s, 0s, 0s, .6s, .6s; }
.nav-actions { position: relative; display: flex; align-items: center; gap: .5rem; }
.sound { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; flex: none; min-width: 2.35rem; height: 2.35rem; padding: 0 .85rem; border: 1px solid rgba(228, 184, 115, .35); border-radius: 999px; background: rgba(36, 26, 18, .5); color: var(--gold); cursor: pointer; transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.sound-label { font-family: var(--brand); font-size: .58rem; font-weight: 700; letter-spacing: .14em; line-height: 1; white-space: nowrap; }
.sound-tip { position: absolute; top: calc(100% + .95rem); left: 0; padding: .6rem .8rem; border: 1px solid rgba(228, 184, 115, .4); border-radius: .7rem; background: rgba(18, 14, 10, .92); color: var(--sand-light); font-family: var(--brand); font-size: .58rem; font-weight: 700; letter-spacing: .14em; line-height: 1; white-space: nowrap; opacity: 0; transform: translateY(-.35rem); transition: opacity .5s ease, transform .5s var(--ease-out); pointer-events: none; }
.sound-tip.is-on { opacity: 1; transform: none; }
html:not(.js) .sound-tip { display: none; }
.sound::before { position: absolute; inset: -.4rem; content: ""; }
.sound:hover, .sound.is-on { border-color: var(--gold); }
.sound:not(.is-on) { color: var(--cream-dim); }
.sound-bars { display: flex; align-items: center; gap: 2px; height: .85rem; }
.sound-bars i { width: 2px; height: 100%; border-radius: 1px; background: currentColor; transform: scaleY(.2); transition: transform .5s var(--ease); }
.sound.is-on .sound-bars i:nth-child(1) { transform: scaleY(.55); }
.sound.is-on .sound-bars i:nth-child(2) { transform: scaleY(1); }
.sound.is-on .sound-bars i:nth-child(3) { transform: scaleY(.7); }
.sound.is-on .sound-bars i:nth-child(4) { transform: scaleY(.4); }
.sound.is-hint::after { position: absolute; inset: -1px; border: 1px solid var(--gold); border-radius: inherit; content: ""; animation: ring 2.4s ease-out 2s 4 both; }
html:not(.js) .sound { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sound.is-on .sound-bars i { animation: bars 1.15s ease-in-out infinite; }
  .sound.is-on .sound-bars i:nth-child(2) { animation-delay: -.4s; }
  .sound.is-on .sound-bars i:nth-child(3) { animation-delay: -.75s; }
  .sound.is-on .sound-bars i:nth-child(4) { animation-delay: -.2s; }
}
.nav-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ember); font-family: var(--brand); font-size: .92rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.nav-brand img { width: auto; height: 1.75rem; }
.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav-links a { position: relative; padding: .4rem 0; color: var(--cream-dim); font-family: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-decoration: none; white-space: nowrap; transition: color .3s ease; }
.nav-links a::after { position: absolute; right: 0; bottom: .1rem; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

/* ---------- 01 hero (pinned) ---------- */
.hero { position: relative; background: var(--espresso); }
.js .hero { height: 270vh; height: calc(100svh + 170vh); }
.hero-stage { position: sticky; top: 0; display: grid; height: 100vh; height: 100svh; overflow: hidden; place-items: center; }
.hero-fallback, .hero-fallback img, .hero-shatter, .hero-shade, .hero .sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback img { object-fit: cover; object-position: 60% 58%; }
@media (max-width: 700px) and (orientation: portrait) { .hero-fallback img { object-position: 25% 58%; } }
.js .hero-fallback { opacity: 0; }
.hero-shade { background: radial-gradient(ellipse 78% 48% at 50% 46%, rgba(18, 14, 10, .62) 0%, rgba(18, 14, 10, .28) 55%, transparent 100%), linear-gradient(180deg, rgba(18, 14, 10, .7) 0%, rgba(18, 14, 10, .1) 30%, rgba(18, 14, 10, .1) 62%, var(--espresso) 100%); pointer-events: none; }
.sparkles { pointer-events: none; }
.hero-a, .hero-b { position: relative; z-index: 2; display: grid; grid-area: 1 / 1; justify-items: center; width: 100%; padding: 0 1.25rem 7vh; text-align: center; will-change: transform, opacity; }
.hero-b { display: none; }
.js .hero-b { display: grid; opacity: 0; pointer-events: none; }
.js .hero-b.is-on { pointer-events: auto; }
.hero-kicker { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .3rem .8rem; margin-bottom: clamp(1rem, 3vh, 1.8rem); color: var(--gold); font-family: var(--brand); font-size: .66rem; font-weight: 700; letter-spacing: .32em; text-shadow: 0 2px 20px rgba(18, 14, 10, .9); text-transform: uppercase; }
.hero-kicker span { color: var(--terracotta); font-size: .7em; align-self: center; }
.hero-title { color: var(--cream); font-family: var(--brand); font-size: clamp(2.2rem, 8.8vw, 6.1rem); font-weight: 700; letter-spacing: .02em; line-height: 1.03; text-shadow: 0 2px 4px rgba(18, 14, 10, .5), 0 6px 60px rgba(18, 14, 10, .95); }
.hero-line { display: block; overflow: hidden; padding-bottom: .1em; }
.hero-line > span { display: block; }
.hero-ask { margin-top: .08em; font-family: var(--serif); font-size: 1.3em; font-style: italic; font-weight: 400; letter-spacing: -.01em; text-shadow: none; }
.hero-ask > span { padding: 0 .08em .08em; background: var(--grad) 100% 0 / 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: shine 6s ease-in-out 2s infinite; }
.hero-word { font-family: var(--brand); font-size: clamp(3rem, 14.6vw, 10.5rem); font-weight: 700; letter-spacing: .05em; line-height: 1; margin-right: -.05em; text-transform: uppercase; filter: drop-shadow(0 6px 40px rgba(18, 14, 10, .85)); }
.hero-tag { margin-block: clamp(.9rem, 2.4vh, 1.5rem) clamp(1.4rem, 3.4vh, 2.2rem); color: var(--cream); font-size: clamp(.92rem, 1.25vw, 1.08rem); line-height: 1.7; text-shadow: 0 1px 2px rgba(18, 14, 10, .6), 0 2px 26px rgba(18, 14, 10, .95); }
.hero-tag em { color: var(--gold); font-family: var(--serif); font-size: 1.22em; }
.js .hero-line > span { transform: translateY(112%); }
.js.is-loaded .hero-line > span { transform: none; transition: transform 1.3s var(--ease-out); }
.js.is-loaded .hero-line:nth-child(1) > span { transition-delay: .35s; }
.js.is-loaded .hero-line:nth-child(2) > span { transition-delay: .47s; }
.js.is-loaded .hero-line:nth-child(3) > span { transition-delay: .75s; }
.js .hero-a .hero-kicker, .js .hero-cue > * { opacity: 0; }
.js.is-loaded .hero-a .hero-kicker { animation: rise 1.2s var(--ease-out) .2s both; }
.js.is-loaded .hero-cue > * { animation: fade 1.2s ease 1.5s both; }
.hero-cue { position: absolute; z-index: 2; bottom: max(1.3rem, env(safe-area-inset-bottom)); left: 50%; display: grid; justify-items: center; gap: .7rem; color: var(--cream-dim); font-family: var(--brand); font-size: .6rem; font-weight: 700; letter-spacing: .3em; text-decoration: none; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); }
.hero-cue span { margin-right: -.3em; }
.hero-cue i { position: relative; width: 1px; height: 2.6rem; overflow: hidden; background: rgba(244, 231, 206, .2); }
.hero-cue i::after { position: absolute; inset: 0; background: var(--gold); content: ""; animation: drip 2.2s var(--ease) infinite; }

/* ---------- 02 story ---------- */
.story { position: relative; padding-block: clamp(5rem, 12vw, 10rem) clamp(4rem, 9vw, 7.5rem); }
.statement { max-width: 62rem; margin-top: 1.6rem; color: var(--cream); font-family: var(--brand); font-size: clamp(1.6rem, 4.3vw, 3.5rem); font-weight: 400; letter-spacing: .01em; line-height: 1.2; }
.statement em { color: var(--gold); font-family: var(--serif); font-size: 1.1em; font-style: italic; letter-spacing: -.01em; }
.word { display: inline-block; opacity: .2; transition: opacity .55s ease; }
.word.is-lit { opacity: 1; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; margin-top: clamp(3rem, 7vw, 6rem); }
.story-copy { display: grid; justify-items: start; gap: 1.2rem; }
.lede { max-width: 32rem; color: var(--cream); font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-style: italic; line-height: 1.55; }
.note { color: var(--cream-dim); font-size: .92rem; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; width: 100%; margin-top: 1.6rem; border-top: 1px solid var(--char-line); }
.stats li { display: grid; gap: .35rem; padding: 1.4rem 1rem 1.4rem 0; border-bottom: 1px solid var(--char-line); }
.stats li:nth-child(odd) { border-right: 1px solid var(--char-line); }
.stats li:nth-child(even) { padding-left: 1.4rem; }
.stats strong { background: var(--grad) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--brand); font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-variant-numeric: tabular-nums; font-weight: 700; line-height: 1; -webkit-text-fill-color: transparent; }
.stats span { color: var(--cream-dim); font-family: var(--brand); font-size: .7rem; letter-spacing: .12em; line-height: 1.5; }
.story-figure { justify-self: end; width: min(100%, 23rem); }
.arch { overflow: hidden; aspect-ratio: 5 / 7; border: 1px solid var(--char-line); border-radius: 13rem 13rem 1.4rem 1.4rem; background: var(--char); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(199, 91, 57, .35); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); will-change: transform; }
.arch img { object-position: 88% 50%; }
figcaption { margin-top: 1rem; color: var(--muted); font-family: var(--brand); font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-align: center; text-transform: uppercase; }
figcaption span { color: var(--terracotta); font-size: .7em; padding-inline: .4em; }

/* ---------- band ---------- */
.band { overflow: hidden; padding-block: 1.35rem; border-block: 1px solid var(--char-line); background: var(--espresso-2); }
.band-track { display: flex; width: max-content; animation: marquee 44s linear infinite; }
.band-track span { padding-right: 1.2em; color: var(--cream-dim); font-family: var(--brand); font-size: clamp(1.05rem, 2.3vw, 1.75rem); letter-spacing: .08em; white-space: nowrap; }
.band-track b { padding-inline: .9em .0em; color: var(--terracotta); font-size: .5em; font-weight: 400; vertical-align: middle; }

/* ---------- 03 ritual (pinned) ---------- */
.ritual { position: relative; background: var(--espresso); }
.js .ritual { height: 380vh; height: calc(100svh + 280vh); }
.ritual-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ritual-bgs, .ritual-bg, .ritual-bg img, .ritual-shade, .ritual-out { position: absolute; inset: 0; width: 100%; height: 100%; }
.ritual-bg { opacity: 0; transform: scale(1.14); transition: opacity 1.2s ease, transform 2.6s var(--ease-out); will-change: opacity, transform; }
.ritual-bg.is-on { opacity: 1; transform: scale(1.02); }
html:not(.js) .ritual-bg:first-child { opacity: 1; transform: none; }
.ritual-bg img { object-fit: cover; filter: saturate(.9) brightness(.82); }
.ritual-bg-drink img { object-position: 78% 58%; filter: none; }
@media (max-width: 700px) and (orientation: portrait) { .ritual-bg-drink img { object-position: 25% 58%; } }
.ritual-bg-shots img { object-position: 64% 42%; }
.ritual-bg-sign img { object-position: 6% 45%; }
.ritual-shade { background: linear-gradient(180deg, rgba(18, 14, 10, .88) 0%, rgba(18, 14, 10, .42) 32%, rgba(18, 14, 10, .3) 52%, rgba(18, 14, 10, .92) 100%), linear-gradient(90deg, rgba(18, 14, 10, .55) 0%, transparent 60%); }
.ritual-out { z-index: 5; background: var(--espresso); opacity: 0; pointer-events: none; will-change: opacity; }
.ritual-head { position: absolute; z-index: 2; top: clamp(5.5rem, 13vh, 8rem); right: 0; left: 0; display: grid; justify-items: center; gap: 1rem; padding-inline: 1.25rem; text-align: center; }
.js .ritual-head { opacity: 0; transform: translateY(1.5rem); transition: opacity .9s ease, transform 1.1s var(--ease-out); }
.js .ritual-head.is-on { opacity: 1; transform: none; }
.ritual-cards { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(3rem, 9vh, 6rem); left: var(--pad); display: grid; gap: .6rem; width: min(calc(100% - 2 * var(--pad)), var(--max)); margin-inline: auto; }
.glass {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1rem, 2.4vw, 1.8rem);
  width: min(100%, 36rem); padding: clamp(1.1rem, 2.2vw, 1.7rem) clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid rgba(228, 184, 115, .24); border-radius: 1.5rem;
  background: rgba(36, 26, 18, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(244, 231, 206, .09);
}
.js .glass { grid-area: 1 / 1; align-self: end; opacity: 0; transform: translateY(2.2rem) scale(.96); transition: opacity .7s ease, transform 1s var(--ease-out); }
.js .glass.is-current { opacity: 1; transform: none; }
.js .glass.is-on:not(.is-current) { transform: translateY(-1.6rem) scale(.97); }
.glass-no { background: var(--grad) 0 0 / 100% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--brand); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; line-height: 1; -webkit-text-fill-color: transparent; }
.glass-kicker { color: var(--gold); font-family: var(--brand); font-size: .6rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.glass h3 { margin-block: .35rem .4rem; color: var(--cream); font-family: var(--brand); font-size: clamp(1.1rem, 1.9vw, 1.5rem); font-weight: 700; letter-spacing: .03em; line-height: 1.15; }
.glass p:last-child { color: var(--cream-dim); font-size: .9rem; line-height: 1.55; }
.ritual-rail { position: absolute; z-index: 2; top: 50%; right: var(--pad); display: grid; gap: .5rem; transform: translateY(-50%); }
.ritual-rail i { width: 2px; height: 2.4rem; border-radius: 2px; background: rgba(244, 231, 206, .2); transition: background-color .6s var(--ease); }
.ritual-rail i.is-on { background: var(--gold); }
html:not(.js) .ritual-stage { position: relative; height: auto; min-height: 100vh; padding: 8rem 0 3rem; }
html:not(.js) .ritual-head, html:not(.js) .ritual-cards { position: relative; inset: auto; }
html:not(.js) .ritual-cards { margin-top: 3rem; }
html:not(.js) .ritual-rail { display: none; }

/* ---------- 04 say it ---------- */
.say { position: relative; display: grid; min-height: 100vh; min-height: 100svh; overflow: hidden; padding: clamp(5rem, 14vh, 9rem) 1.25rem; background: radial-gradient(ellipse 85% 60% at 50% 46%, rgba(199, 91, 57, .2) 0%, rgba(36, 26, 18, .6) 45%, var(--espresso) 100%); place-items: center; text-align: center; }
.say .sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.say-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.2rem; }
.say-lead { color: var(--cream-dim); font-size: .95rem; }
.say-quote { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .24em; max-width: 12ch; color: var(--cream); font-family: var(--serif); font-size: clamp(3.1rem, 10.5vw, 8.6rem); font-style: italic; font-weight: 400; letter-spacing: -.02em; line-height: .98; }
.w { display: inline-block; padding: 0 .04em .12em; }
.say-after { min-height: 1.7em; margin-top: .4rem; color: var(--cream-dim); font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-style: italic; }
.say-btn { margin-top: .8rem; }
.js .say-inner > .eyebrow, .js .say-lead, .js .say-after, .js .say-btn { opacity: 0; transform: translateY(1rem); transition: opacity 1s ease, transform 1.1s var(--ease-out), translate .45s var(--ease-out), border-color .4s var(--ease); }
.js .say-inner.is-in > .eyebrow, .js .say-inner.is-in .say-lead, .js .say-inner.is-in .say-after, .js .say-inner.is-in .say-btn { opacity: 1; transform: none; }
.js .say-inner.is-in .say-lead { transition-delay: .12s; }
.js .say-inner.is-in .say-after { transition-delay: 1.15s, 1.15s, 0s, 0s; }
.js .say-inner.is-in .say-btn { transition-delay: 1.35s, 1.35s, 0s, 0s; }
.js .w { opacity: 0; filter: blur(12px); transform: translateY(.35em); transition: opacity 1s ease, filter 1.1s ease, transform 1.2s var(--ease-out); transition-delay: calc(.3s + var(--i) * .13s); }
.js .say-inner.is-in .w { opacity: 1; filter: blur(0); transform: none; }
.say-quote.is-said { animation: said .9s var(--ease-out); }

/* ---------- 05 step inside (pinned horizontal gallery) ---------- */
.inside { position: relative; background: var(--espresso-2); border-block: 1px solid var(--char-line); }
.inside-stage { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: clamp(1.2rem, 4vh, 2.6rem); height: 100vh; height: 100svh; overflow: hidden; padding-block: clamp(5.2rem, 12vh, 7.5rem) clamp(1.5rem, 5vh, 3.5rem); }
.inside-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.inside-head > div:first-child { display: grid; gap: 1rem; }
.inside-bar { flex: none; width: min(14rem, 26vw); height: 2px; margin-bottom: .8rem; background: var(--char-line); }
.inside-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--terracotta), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; }
.inside-track { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); width: max-content; height: 100%; padding-inline: var(--pad); will-change: transform; }
.shot { display: grid; flex: none; gap: .9rem; }
.shot-frame { width: min(58vw, 46rem); overflow: hidden; aspect-ratio: 3 / 2; max-height: 56svh; border: 1px solid var(--char-line); border-radius: 1.5rem; background: var(--char); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.shot-tall .shot-frame { width: min(32vw, 25rem); aspect-ratio: 4 / 5; }
.shot-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); will-change: transform; }
.shot > p { display: flex; gap: .9rem; color: var(--cream-dim); font-family: var(--brand); font-size: .7rem; letter-spacing: .16em; }
.shot > p span { color: var(--gold); font-weight: 700; }
.shot-end { justify-items: start; align-content: center; gap: 1.6rem; width: min(80vw, 30rem); padding-left: clamp(0rem, 3vw, 3rem); }
.shot-end > p.display { display: block; color: var(--cream); font-size: clamp(1.7rem, 3.4vw, 2.9rem); letter-spacing: .015em; }
html:not(.js) .inside-stage { position: relative; height: auto; }
html:not(.js) .inside-track { width: auto; overflow-x: auto; }

/* ---------- reserve ---------- */
.reserve { padding-block: clamp(5rem, 11vw, 9rem); }
.reserve-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.reserve-head { display: grid; justify-items: start; gap: 1.3rem; }
.reserve-lede { max-width: 26rem; color: var(--cream-dim); font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.3rem); font-style: italic; line-height: 1.55; }
.reserve-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .5rem; }
.notes { display: grid; }
.notes li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: .2rem 0; padding-block: 1.25rem; border-bottom: 1px solid var(--char-line); }
.notes li:first-child { border-top: 1px solid var(--char-line); }
.notes-no { grid-row: span 2; padding-top: .35rem; color: var(--terracotta); font-family: var(--brand); font-size: .68rem; font-weight: 700; letter-spacing: .18em; }
.notes h3 { color: var(--cream); font-family: var(--brand); font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.notes p { color: var(--cream-dim); font-size: .9rem; }

/* ---------- 07 sundays ---------- */
.sundays { padding-block: clamp(5rem, 11vw, 9rem); border-block: 1px solid var(--char-line); background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(199, 91, 57, .13), transparent 70%), var(--espresso-2); }
.dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.date { perspective: 900px; }
.date-inner { position: relative; display: grid; justify-items: center; gap: .55rem; overflow: hidden; padding: clamp(1.6rem, 3.2vw, 2.5rem) .75rem clamp(1.3rem, 2.6vw, 1.9rem); border: 1px solid var(--char-line); border-radius: 1.5rem; background: linear-gradient(160deg, rgba(36, 26, 18, .95), rgba(26, 20, 14, .95)); text-align: center; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--ease-out), border-color .5s var(--ease), box-shadow .6s var(--ease); }
.date-inner::before { position: absolute; inset: 0; background: radial-gradient(circle 14rem at var(--mx, 50%) var(--my, 0%), rgba(228, 184, 115, .2), transparent 70%); content: ""; opacity: 0; transition: opacity .5s ease; }
.date-inner > * { position: relative; }
.date span, .date small { color: var(--cream-dim); font-family: var(--brand); font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.date strong { background: var(--grad) 100% 0 / 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; font-family: var(--brand); font-size: clamp(3rem, 7.4vw, 5.8rem); font-weight: 700; line-height: 1; -webkit-text-fill-color: transparent; animation: shine 7s ease-in-out infinite; }
.date-add { margin-top: .8rem; padding: .6rem .95rem; border: 1px solid rgba(228, 184, 115, .35); border-radius: 999px; background: transparent; color: var(--gold); font-family: var(--brand); font-size: .58rem; font-weight: 700; letter-spacing: .16em; cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.date-add:hover, .date-add.is-done { border-color: var(--gold); background: var(--gold); color: var(--espresso); }
html:not(.js) .date-add { display: none; }
@media (hover: hover) {
  .date:hover .date-inner { border-color: rgba(228, 184, 115, .55); box-shadow: 0 40px 70px -40px rgba(199, 91, 57, .7); }
  .date:hover .date-inner::before { opacity: 1; }
}
.dates-note { margin-top: 2.2rem; color: var(--cream-dim); font-family: var(--brand); font-size: .66rem; letter-spacing: .2em; line-height: 2; text-align: center; text-transform: uppercase; }
.dates-note span { padding-inline: .6em; color: var(--terracotta); font-size: .7em; }

/* ---------- 08 details ---------- */
.details { padding-block: clamp(5rem, 11vw, 9rem); }
.details-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.details-head { position: sticky; top: 7rem; display: grid; justify-items: start; gap: 1.3rem; }
.terms > div { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: .4rem 1.5rem; padding-block: 1.15rem; border-bottom: 1px solid var(--char-line); }
.terms > div:first-child { border-top: 1px solid var(--char-line); }
.terms dt { padding-top: .2rem; color: var(--gold); font-family: var(--brand); font-size: .66rem; font-weight: 700; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.terms dd { color: var(--cream-dim); font-size: .93rem; line-height: 1.65; }
.approval-note { display: flex; gap: .75rem; margin-top: 1.6rem; padding: 1rem 1.15rem; border: 1px dashed rgba(224, 122, 77, .6); border-radius: .9rem; background: rgba(199, 91, 57, .1); color: var(--sand-light); font-size: .8rem; line-height: 1.6; }
.approval-note span { color: var(--ember); }

/* ---------- 09 closing + footer ---------- */
.closing { position: relative; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem) clamp(4.5rem, 9vw, 7rem); border-top: 1px solid var(--char-line); background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(199, 91, 57, .22), transparent 70%), var(--espresso-2); text-align: center; }
.closing .sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.closing-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.5rem; }
.closing-mark { width: auto; height: clamp(3.4rem, 7vw, 5rem); margin-bottom: .4rem; animation: float 6s ease-in-out infinite; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 1rem; }
.footer { padding-bottom: 1.5rem; background: var(--espresso-2); }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--terracotta) 20%, var(--gold) 50%, var(--terracotta) 80%, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.8rem, 5vw, 4.2rem); }
.footer-col { display: grid; align-content: start; justify-items: start; gap: .9rem; }
.footer-label { color: var(--gold); font-family: var(--brand); font-size: .64rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.footer-big { color: var(--cream); font-family: var(--brand); font-size: 1.12rem; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.footer-quote { color: var(--cream); font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.35; }
.footer-small { max-width: 21rem; color: var(--cream-dim); font-size: .85rem; line-height: 1.6; }
.hours { display: grid; width: 100%; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .7rem; border-bottom: 1px solid var(--char-line); color: var(--cream-dim); font-family: var(--brand); font-size: .78rem; letter-spacing: .08em; }
.hours li span:last-child { color: var(--cream); }
.signoff { padding-block: clamp(2.6rem, 6vw, 4.6rem); border-top: 1px solid var(--char-line); color: var(--cream); font-family: var(--brand); font-size: clamp(1.5rem, 3.8vw, 3.1rem); font-weight: 700; letter-spacing: .02em; line-height: 1.2; text-align: center; }
.signoff em { padding-right: .08em; font-family: var(--serif); font-size: 1.16em; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--char-line); color: var(--muted); font-family: var(--brand); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-bottom a { color: var(--cream); text-decoration: none; }

/* ---------- reveal states (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity 1s ease, transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="lines"], .js [data-reveal="words"] { opacity: 1; transform: none; }
.js [data-reveal="lines"] .line > span { transform: translateY(115%); transition: transform 1.25s var(--ease-out); }
.js [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: .09s; }
.js [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: .18s; }
.js [data-reveal="lines"].is-in .line > span { transform: none; }
.js [data-reveal="image"] { transform: translateY(2.5rem) scale(.95); transition: opacity 1.1s ease, transform 1.5s var(--ease-out); }
.js [data-reveal="rule"] { opacity: 1; transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.js [data-reveal="rule"].is-in { transform: scaleX(1); }

/* ---------- keyframes ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(1.1rem); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shine { 0% { background-position: 100% 0; } 50%, 100% { background-position: 0 0; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); } 50% { opacity: .4; transform: scale(.7) rotate(90deg); } }
@keyframes drip { 0% { transform: translateY(-101%); } 55%, 100% { transform: translateY(101%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bars { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.5rem); } }
@keyframes said { 0% { transform: scale(1); } 35% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .story-grid, .reserve-grid, .details-grid { grid-template-columns: minmax(0, 1fr); }
  .story-figure { justify-self: center; width: min(80%, 20rem); }
  .details-head { position: static; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .js .ritual { height: 340vh; height: calc(100svh + 240vh); }
  .ritual-head { top: clamp(4.8rem, 11vh, 6.5rem); }
  .ritual-cards { right: .9rem; bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 1.6rem); left: .9rem; width: auto; justify-items: center; }
  .ritual-rail { top: auto; right: 0; bottom: max(1rem, env(safe-area-inset-bottom)); left: 0; display: flex; justify-content: center; gap: .4rem; transform: none; }
  .ritual-rail i { width: 1.6rem; height: 2px; }
}
@media (max-width: 700px) {
  .shot-frame { width: 78vw; aspect-ratio: 4 / 5; max-height: 50svh; }
  .shot-tall .shot-frame { width: 62vw; aspect-ratio: 3 / 4; }
  .inside-bar { display: none; }
}
@media (max-width: 560px) {
  .nav { padding-left: .9rem; }
  .nav-brand span { display: none; }
  .sound { gap: .45rem; padding: 0 .7rem; }
  .sound-word { display: none; }
  .nav-brand img { height: 1.9rem; }
  .hero-kicker { font-size: .58rem; letter-spacing: .26em; }
  .hero-cue { font-size: .54rem; letter-spacing: .24em; }
  .hero-cue span { margin-right: -.24em; }
  .terms > div { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { justify-content: center; text-align: center; }
  .closing-actions, .reserve-actions { flex-direction: column; align-items: stretch; width: min(100%, 20rem); }
  .closing-actions .btn, .reserve-actions .btn { justify-content: center; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .band-track, .closing-mark { animation: none; }
  .word { opacity: 1; }
}
