:root {
  color-scheme: dark;
  --night: #11100d;
  --raised: #1b1812;
  --paper: #f5efdf;
  --muted: #a9a08f;
  --gold: #c6a363;
  --gold-light: #ead39a;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--night); color: var(--paper); font: 300 16px/1.65 var(--sans); }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 8px 12px; transform: translateY(-150%); background: var(--paper); color: var(--night); }
.skip-link:focus { transform: translateY(0); }
.demo-banner { padding: 7px 12px; background: #352a17; color: var(--gold-light); font-size: .56rem; letter-spacing: .14em; text-align: center; }
.demo-banner span { padding-inline: 5px; color: var(--gold); }
.topbar { display: flex; width: min(1120px,calc(100% - 40px)); min-height: 67px; align-items: center; justify-content: space-between; margin-inline: auto; border-bottom: 1px solid rgba(255,255,255,.09); }
.topbar a { color: rgba(245,239,223,.75); font-size: .63rem; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--paper) !important; font-size: .62rem !important; letter-spacing: .13em; }
.brand span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); font: italic .8rem var(--serif); }
.layout { display: grid; width: min(1040px,calc(100% - 48px)); min-height: calc(100svh - 160px); grid-template-columns: 1fr .78fr; align-items: center; gap: clamp(42px,8vw,110px); margin-inline: auto; padding-block: 55px; }
.intro { max-width: 490px; }
.eyebrow { margin-bottom: 16px; color: var(--gold); font-size: .61rem; letter-spacing: .2em; }
.intro h1 { margin: 0; font: 400 clamp(2.8rem,6.1vw,5rem)/.99 var(--serif); }
.intro h1 em { color: var(--gold-light); font-weight: 400; }
.intro > p:not(.eyebrow) { max-width: 420px; margin: 23px 0; color: var(--muted); font-size: .78rem; }
.format-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.format-tags span { padding: 6px 8px; border: 1px solid rgba(198,163,99,.25); color: var(--gold-light); font-size: .47rem; letter-spacing: .09em; }
.intro .asset-note { margin-top: 24px; padding-left: 12px; border-left: 1px solid var(--gold); font-size: .68rem; }
.asset-note b { color: var(--gold-light); font-weight: 500; }
.script-link { display: inline-block; margin-top: 2px; color: var(--gold-light); font-size: .66rem; text-underline-offset: 4px; }
.preview-column { justify-self: center; }
.phone { width: min(76vw,310px); padding: 11px; border: 1px solid rgba(198,163,99,.4); border-radius: 19px; background: #080807; box-shadow: 0 25px 75px rgba(0,0,0,.4),0 0 50px rgba(198,163,99,.08); }
.phone__top { display: flex; min-height: 27px; align-items: center; justify-content: space-between; padding-inline: 4px; color: var(--muted); font-size: .42rem; letter-spacing: .11em; }
.reel { position: relative; display: grid; aspect-ratio: 9/16; overflow: hidden; place-items: center; isolation: isolate; background: radial-gradient(ellipse at 50% 35%,#554122,#1a160f 52%,#0d0c0a 85%); }
.reel::before,.reel::after { position: absolute; z-index: -1; width: 75%; aspect-ratio: 1; border: 1px solid rgba(234,211,154,.25); border-radius: 50%; content: ""; transform: scaleY(.65) rotate(-25deg); }
.reel::after { width: 97%; opacity: .48; transform: scaleY(.65) rotate(35deg); }
.reel__light { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: rgba(198,163,99,.19); filter: blur(40px); }
.reel__grain { position: absolute; z-index: 2; inset: 0; opacity: .1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }
.reel__scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; opacity: 0; text-align: center; transform: translateY(12px) scale(.98); transition: opacity .55s ease,transform .7s ease; pointer-events: none; }
.reel__scene--active { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.reel__caption { color: var(--gold-light); font-size: .42rem; letter-spacing: .2em; }
.reel__big { margin-top: 27px; font: italic clamp(3rem,12vw,4.2rem)/.78 var(--serif); }
.reel__names { margin-top: 26px; font: 500 clamp(2.3rem,9vw,3rem)/.93 var(--serif); }
.reel__names i { color: var(--gold-light); font-size: .76em; font-weight: 400; }
.reel__date { margin-top: 25px; color: var(--gold-light); font: 400 4rem/.83 var(--serif); }
.reel__date small { color: var(--gold); font-size: .48em; }
.reel__venue { margin-top: 24px; font: 500 3.2rem/.8 var(--serif); }
.reel__ornament { margin-top: 28px; color: var(--gold); font-size: .48rem; letter-spacing: .18em; }
.reel__map { margin-top: 29px; padding: 10px 12px; border: 1px solid rgba(234,211,154,.65); color: var(--gold-light); font-size: .49rem; letter-spacing: .12em; text-decoration: none; }
.progress { display: flex; gap: 4px; padding: 10px 3px 4px; }
.progress__item { height: 2px; flex: 1; overflow: hidden; background: #38342a; }
.progress__item i { display: block; width: 0; height: 100%; background: var(--gold-light); }
.progress__item.is-complete i { width: 100%; }
.progress__item.is-current i { animation: fill 3s linear forwards; }
.phone__controls { display: flex; min-height: 39px; align-items: center; justify-content: space-between; padding-inline: 4px; }
.phone__controls button { min-width: 44px; min-height: 35px; border: 0; background: transparent; color: var(--paper); cursor: pointer; font-size: .65rem; }
.phone__controls #playPause { color: var(--gold-light); font-size: .56rem; }
.share-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.share-actions a,.share-actions button { padding: 9px 10px; border: 1px solid rgba(198,163,99,.36); background: transparent; color: var(--gold-light); cursor: pointer; font-size: .53rem; text-decoration: none; }
.share-actions a { display: grid; align-items: center; }
.share-status { margin: 9px 0 0; color: var(--gold-light); font-size: .58rem; }
footer { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px max(24px,calc((100% - 1040px)/2)); border-top: 1px solid rgba(255,255,255,.08); }
footer a,footer span { color: var(--muted); font-size: .48rem; letter-spacing: .1em; text-decoration: none; }
footer a { color: var(--gold-light); }
@keyframes fill { to { width: 100%; } }
@media (max-width: 760px) {
  .layout { width: min(560px,calc(100% - 38px)); grid-template-columns: 1fr; gap: 40px; padding-block: 55px; }
  .intro { margin-inline: auto; text-align: center; }
  .intro > p:not(.eyebrow) { margin-inline: auto; }
  .format-tags { justify-content: center; }
  .intro .asset-note { text-align: left; }
  .phone { width: min(78vw,320px); }
}
@media (max-width: 420px) {
  .topbar { width: calc(100% - 30px); }
  .topbar > a:last-child { font-size: .55rem; }
  footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
