:root {
  --ivory:#fffaf8;
  --paper:#fffdfb;
  --blush:#f8e7eb;
  --petal:#eac3ca;
  --rose:#c87989;
  --berry:#7c4352;
  --ink:#523b42;
  --sage:#87977b;
  --gold:#c4a36d;
  --script:'Allura',cursive;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Montserrat',Arial,sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:#ead5da;
  color:var(--ink);
  font:400 1rem/1.75 var(--sans);
  overflow-x:hidden
}

.invitation {
  width:100%;
  max-width:780px;
  margin:0 auto;
  background:var(--ivory);
  overflow:hidden;
  box-shadow:0 0 70px rgba(91,48,58,.14)
}

img {
  display:block;
  max-width:100%
}

button,input,textarea {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

.section {
  position:relative;
  padding:82px 24px;
  text-align:center
}

.eyebrow {
  margin:0 0 10px;
  color:var(--rose);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase
}

.script-kicker {
  margin:0;
  color:var(--sage);
  font:2.6rem/1 var(--script)
}

h2 {
  margin:8px 0 26px;
  color:var(--berry);
  font:500 clamp(2.7rem,12vw,4.5rem)/.94 var(--serif)
}

h2 em {
  color:var(--rose);
  font:400 1.35em/.75 var(--script)
}

h3 {
  font-family:var(--serif)
}

p {
  margin-top:0
}

.hero {
  position:relative;
  display:flex;
  min-height:100svh;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:110px 20px 46px;
  background:radial-gradient(circle at 50% 28%,#fff 0 18%,transparent 49%),linear-gradient(180deg,#fffaf8 0,#fae9ed 72%,#fffaf8 100%);
  isolation:isolate
}

.floral-canopy {
  position:absolute;
  z-index:-1;
  top:-18px;
  left:50%;
  width:120%;
  max-width:none;
  transform:translateX(-50%);
  pointer-events:none
}

.hero-copy {
  z-index:2;
  text-align:center
}

.hero-copy .eyebrow {
  max-width:285px;
  margin:0 auto 6px;
  color:var(--gold);
  line-height:1.55
}

.hero h1 {
  margin:0;
  color:var(--berry);
  font:500 clamp(3.25rem,17vw,6.6rem)/.75 var(--serif);
  text-shadow:0 2px 0 #fff
}

.hero h1 span {
  display:block;
  margin-bottom:2px;
  color:var(--rose);
  font:400 clamp(3.4rem,18vw,6.8rem)/.78 var(--script);
  transform:rotate(-3deg)
}

.hero-date {
  margin:18px 0 22px;
  color:var(--berry);
  font-size:.76rem;
  font-weight:600;
  letter-spacing:.34em;
  text-transform:uppercase
}

.portrait-frame {
  position:relative;
  width:min(88vw,490px);
  height:min(53svh,570px);
  min-height:390px
}

.portrait-halo {
  position:absolute;
  inset:-10px 8px 12px;
  border:1px solid rgba(196,163,109,.65);
  border-radius:52% 52% 12px 12px
}

.hero-portrait {
  width:100%;
  height:100%;
  border-radius:50% 50% 12px 12px;
  object-fit:cover;
  object-position:center 38%;
  box-shadow:0 22px 50px rgba(98,49,61,.22)
}

.portrait-flowers {
  position:absolute;
  right:-26px;
  bottom:-36px;
  width:66%;
  filter:drop-shadow(0 10px 10px rgba(105,60,68,.14));
  pointer-events:none
}

.scroll-note {
  margin:40px 0 0;
  color:#9d737d;
  font-size:.68rem;
  letter-spacing:.13em;
  text-transform:uppercase
}

.scroll-note span {
  display:block;
  color:var(--gold);
  font-size:1.25rem
}

.fairy-dust i {
  position:absolute;
  width:4px;
  height:4px;
  border-radius:50%;
  background:#d5b26e;
  box-shadow:0 0 10px 3px rgba(216,180,107,.55);
  animation:twinkle 2.8s infinite alternate
}

.fairy-dust i:nth-child(1) {
  top:19%;
  left:9%
}

.fairy-dust i:nth-child(2) {
  top:34%;
  right:8%;
  animation-delay:.7s
}

.fairy-dust i:nth-child(3) {
  top:54%;
  left:5%;
  animation-delay:1.5s
}

.fairy-dust i:nth-child(4) {
  top:68%;
  right:7%;
  animation-delay:.3s
}

.fairy-dust i:nth-child(5) {
  top:78%;
  left:14%;
  animation-delay:2s
}

.fairy-dust i:nth-child(6) {
  top:12%;
  right:19%;
  animation-delay:1.1s
}

.section-bouquet {
  width:160px;
  margin:0 auto -6px
}

.story>p:not(.script-kicker) {
  max-width:590px;
  margin:0 auto 44px;
  color:#776169
}

.family-names {
  padding:32px 16px;
  border-block:1px solid #ead2d7
}

.family-names div+div {
  margin-top:18px
}

.family-names small {
  display:block;
  color:var(--rose);
  font-size:.66rem;
  letter-spacing:.2em;
  text-transform:uppercase
}

.family-names strong {
  display:block;
  font:500 1.65rem/1.3 var(--serif)
}

.family-names>span {
  display:block;
  margin:14px;
  color:var(--gold)
}

.countdown {
  background:linear-gradient(145deg,#72404d,#9e5f6e);
  color:white
}

.countdown .eyebrow {
  color:#f3d5db
}

.countdown h2 {
  color:white
}

.timer {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:34px -8px 0;
  border-block:1px solid rgba(255,255,255,.24)
}

.timer div {
  padding:20px 3px;
  border-right:1px solid rgba(255,255,255,.2)
}

.timer div:last-child {
  border:0
}

.timer strong {
  display:block;
  font:500 clamp(1.75rem,9vw,3.6rem)/1 var(--serif)
}

.timer span {
  font-size:.6rem;
  letter-spacing:.12em;
  text-transform:uppercase
}

.floral-divider {
  position:relative;
  height:110px;
  background:var(--ivory)
}

.floral-divider img {
  position:absolute;
  top:-76px;
  left:50%;
  width:115%;
  max-width:none;
  transform:translateX(-50%) rotate(180deg);
  pointer-events:none
}

.timeline {
  padding-top:58px
}

.timeline-list {
  position:relative;
  max-width:500px;
  margin:45px auto 0;
  text-align:left
}

.timeline-list:before {
  content:'';
  position:absolute;
  top:14px;
  bottom:14px;
  left:88px;
  width:1px;
  background:linear-gradient(var(--gold),var(--petal),var(--gold))
}

.timeline-list article {
  position:relative;
  display:grid;
  grid-template-columns:75px 1fr;
  gap:30px;
  align-items:center;
  min-height:106px
}

.timeline-list article:after {
  content:'✦';
  position:absolute;
  left:82px;
  color:var(--gold);
  font-size:.7rem;
  background:var(--ivory);
  padding:3px 0
}

.timeline-list time {
  color:var(--rose);
  font:600 1.5rem/1 var(--serif);
  text-align:right
}

.timeline-list time small {
  display:block;
  margin-top:5px;
  font:600 .57rem var(--sans);
  letter-spacing:.1em;
  text-transform:uppercase
}

.timeline-list h3 {
  margin:0;
  color:var(--berry);
  font:600 1.5rem/1.2 var(--serif)
}

.timeline-list p {
  margin:3px 0;
  color:#806a70;
  font-size:.86rem
}

.photo-chapter {
  position:relative;
  height:78svh;
  min-height:610px;
  overflow:hidden
}

.photo-chapter>img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 25%
}

.photo-chapter:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(73,34,44,.64),transparent 62%)
}

.photo-chapter>div {
  position:absolute;
  z-index:2;
  right:24px;
  bottom:55px;
  left:24px;
  color:white;
  text-align:center;
  text-shadow:0 3px 16px rgba(53,25,31,.5)
}

.photo-chapter span {
  display:block;
  font:3.6rem/.7 var(--script)
}

.photo-chapter strong {
  display:block;
  font:500 4.2rem/.9 var(--serif)
}

.photo-chapter small {
  display:block;
  margin-top:14px;
  font-size:.68rem;
  letter-spacing:.2em;
  text-transform:uppercase
}

.locations {
  background:#fffdfb
}

.edge-vine {
  position:absolute;
  top:10px;
  right:-62px;
  width:170px;
  pointer-events:none
}

.location-card {
  position:relative;
  margin:20px auto;
  padding:42px 25px;
  border:1px solid #dfc3c9;
  border-radius:120px 120px 18px 18px;
  background:rgba(255,255,255,.84);
  box-shadow:0 18px 45px rgba(107,66,75,.08)
}

.location-card.rose-card {
  background:#f8e8eb
}

.card-number {
  display:grid;
  width:42px;
  height:42px;
  margin:0 auto 18px;
  place-items:center;
  border:1px solid var(--gold);
  border-radius:50%;
  color:var(--gold);
  font:600 1rem var(--serif)
}

.location-card h3 {
  margin:8px 0;
  color:var(--berry);
  font:600 1.75rem/1.15 var(--serif)
}

.location-card p {
  margin-bottom:12px
}

.location-card a {
  display:inline-block;
  margin-top:10px;
  padding:11px 20px;
  border:1px solid var(--rose);
  border-radius:99px;
  color:var(--rose);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.13em;
  text-decoration:none;
  text-transform:uppercase
}

.details {
  background:linear-gradient(#f8e8eb,#fff8f7)
}

.detail-list {
  margin-top:38px;
  text-align:left
}

.detail-list article {
  display:grid;
  grid-template-columns:48px 1fr;
  gap:18px;
  padding:24px 0;
  border-bottom:1px solid #dfc8cd
}

.detail-list article>span {
  display:grid;
  width:46px;
  height:46px;
  place-items:center;
  border:1px solid var(--gold);
  border-radius:50%;
  color:var(--gold);
  font-size:1.25rem
}

.detail-list h3 {
  margin:0 0 3px;
  color:var(--berry);
  font:600 1.4rem var(--serif)
}

.detail-list p {
  margin:0;
  color:#76636a;
  font-size:.9rem;
  line-height:1.65
}

.gallery {
  padding-inline:14px
}

.gallery-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-auto-rows:230px;
  gap:8px;
  margin-top:35px
}

.gallery-grid figure {
  margin:0;
  overflow:hidden;
  border-radius:100px 100px 12px 12px
}

.gallery-grid figure:nth-child(2),.gallery-grid figure:nth-child(3) {
  border-radius:12px
}

.gallery-grid img {
  width:100%;
  height:100%;
  object-fit:cover
}

.gallery-grid figure:nth-child(3) img {
  object-position:center 30%
}

.wishbox,.rsvp {
  background:linear-gradient(180deg,#fffaf8,#f7e6ea)
}

.wishbox,.playlist,.gifts,.rsvp {
  isolation:isolate
}

.form-flower {
  width:175px;
  margin:0 auto -8px;
  filter:drop-shadow(0 8px 12px rgba(105,60,68,.12))
}

.form-intro {
  max-width:560px;
  margin:0 auto 30px;
  color:#78656c
}

form {
  display:grid;
  gap:14px;
  max-width:560px;
  margin:0 auto;
  text-align:left
}

label span {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0)
}

input,textarea {
  width:100%;
  border:1px solid #dfcbd0;
  border-radius:16px;
  background:rgba(255,255,255,.86);
  color:var(--ink);
  padding:17px 16px;
  font-size:1rem;
  outline:none;
  box-shadow:0 8px 24px rgba(101,61,70,.04)
}

textarea {
  resize:vertical;
  min-height:130px
}

input:focus,textarea:focus {
  border-color:var(--rose);
  box-shadow:0 0 0 3px rgba(200,121,137,.12)
}

button {
  min-height:52px;
  border:0;
  border-radius:99px;
  background:var(--rose);
  color:white;
  padding:14px 23px;
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(143,78,93,.2)
}

form button {
  justify-self:stretch;
  margin-top:8px
}

.playlist {
  background:#745063;
  color:white
}

.playlist h2 {
  color:white
}

.playlist .eyebrow {
  color:#f0ced4
}

.playlist .form-intro {
  color:#f5e7ea
}

.playlist form {
  padding:22px;
  border:1px solid rgba(255,255,255,.32);
  border-radius:24px;
  background:rgba(255,255,255,.08)
}

.playlist input {
  border-color:rgba(255,255,255,.3);
  background:white
}

.playlist button {
  background:#f5d9de;
  color:var(--berry)
}

.gifts>p:not(.script-kicker) {
  max-width:560px;
  margin:0 auto 28px;
  color:#776269
}

.gifts button,.rsvp>button {
  min-width:220px
}

.thanks {
  position:relative;
  min-height:720px
}

.thanks>img {
  width:100%;
  height:720px;
  object-fit:cover
}

.thanks:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(65,31,40,.78),transparent 68%)
}

.thanks>div {
  position:absolute;
  z-index:2;
  right:24px;
  bottom:46px;
  left:24px;
  color:white;
  text-align:center
}

.thanks span,.thanks strong {
  display:block;
  font:3.1rem/1 var(--script)
}

.thanks h2 {
  margin:5px auto 18px;
  color:white;
  font-size:3rem
}

.thanks p {
  margin:0 auto 12px
}

.thanks strong {
  font-size:3.8rem
}

.rsvp>small {
  display:block;
  margin-top:18px;
  color:#96737b
}

.rsvp>p:not(.script-kicker) {
  margin-bottom:30px
}

footer {
  padding:54px 24px calc(90px + env(safe-area-inset-bottom));
  background:#4e2b35;
  color:#f7e9ec;
  text-align:center
}

.footer-monogram {
  display:grid;
  width:66px;
  height:66px;
  margin:0 auto 22px;
  place-items:center;
  border:1px solid #dfb67b;
  border-radius:50%;
  font:500 1.65rem var(--serif)
}

footer p {
  font-size:.7rem;
  letter-spacing:.18em
}

footer small {
  opacity:.65
}

.music-credit {
  letter-spacing:0
}

footer a {
  color:#e9c994
}

.music-toggle {
  position:fixed;
  z-index:30;
  right:max(14px,env(safe-area-inset-right));
  bottom:max(14px,env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  gap:8px;
  min-height:0;
  padding:8px 13px 8px 8px;
  border:1px solid rgba(255,255,255,.65);
  background:rgba(106,57,69,.94);
  box-shadow:0 12px 35px rgba(55,22,31,.28);
  backdrop-filter:blur(8px)
}

.music-icon {
  display:grid;
  width:38px;
  height:38px;
  place-items:center;
  border-radius:50%;
  background:white;
  color:var(--rose);
  font-size:1.05rem
}

.music-toggle.playing .music-icon {
  animation:pulse 1.8s infinite
}

.music-label {
  font-size:.62rem
}

.toast {
  position:fixed;
  z-index:40;
  right:14px;
  bottom:78px;
  left:14px;
  max-width:480px;
  margin:auto;
  padding:15px 18px;
  border:1px solid #edd9dd;
  border-radius:15px;
  background:#fff;
  color:var(--ink);
  box-shadow:0 18px 50px rgba(53,25,32,.24);
  text-align:center;
  transform:translateY(140px);
  opacity:0;
  transition:.35s
}

.toast.show {
  transform:translateY(0);
  opacity:1
}

.reveal {
  opacity:0;
  transform:translateY(18px);
  transition:opacity .7s ease,transform .7s ease
}

.reveal.visible {
  opacity:1;
  transform:none
}

@keyframes twinkle {
  to {
  opacity:.22;
  transform:scale(.55)
}


}

@keyframes pulse {
  50% {
  box-shadow:0 0 0 7px rgba(255,255,255,.18)
}


}


@media(min-width:640px) {
  .section {
  padding:100px 70px
}

.hero {
  padding-inline:50px
}

.family-names {
  display:grid;
  grid-template-columns:1fr 38px 1fr;
  align-items:center
}

.family-names div+div {
  margin-top:0
}

.family-names>span {
  margin:0
}

.timer {
  margin-inline:0
}

.locations {
  padding-inline:90px
}

.gallery {
  padding-inline:26px
}

.gallery-grid {
  grid-auto-rows:340px;
  gap:12px
}

.location-card {
  padding:54px
}

.playlist form {
  grid-template-columns:1fr 1fr;
  padding:30px
}

.playlist form button {
  grid-column:1/3;
  justify-self:center;
  min-width:270px
}

.wishbox form button {
  justify-self:center;
  min-width:270px
}

.photo-chapter,.thanks,.thanks>img {
  height:850px
}

.music-toggle {
  right:calc(50vw - 376px)
}


}


@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}

.fairy-dust i,.music-toggle.playing .music-icon {
  animation:none
}

.reveal {
  opacity:1;
  transform:none;
  transition:none
}


}



body.invitation-locked {
  overflow:hidden
}

.invitation {
  max-width:1440px
}

.envelope-gate {
  position:fixed;
  z-index:100;
  inset:0;
  display:grid;
  place-items:center;
  overflow:hidden;
  padding:24px;
  background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.96) 0 14%,rgba(250,235,239,.96) 48%,#ecd4da 100%);
  opacity:1;
  transition:opacity .7s ease,visibility .7s ease
}

.envelope-gate.leaving {
  opacity:0;
  visibility:hidden;
  pointer-events:none
}

.gate-canopy {
  position:absolute;
  top:-10px;
  left:50%;
  width:max(720px,110vw);
  max-width:none;
  transform:translateX(-50%);
  pointer-events:none
}

.gate-content {
  position:relative;
  width:min(94vw,760px);
  text-align:center
}

.gate-kicker {
  margin:0;
  color:var(--sage);
  font:2.35rem/1 var(--script)
}

.envelope-gate h2 {
  margin:4px 0 0;
  color:var(--berry);
  font-size:clamp(2.25rem,9vw,4.5rem)
}

.envelope-button {
  display:block;
  width:100%;
  min-height:0;
  margin:2vh auto 0;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
  color:var(--berry);
  text-transform:none
}

.envelope-stage {
  position:relative;
  display:block;
  width:min(92vw,680px);
  aspect-ratio:3/2;
  margin:auto;
  filter:drop-shadow(0 24px 25px rgba(94,48,59,.22));
  transition:transform .8s cubic-bezier(.2,.8,.2,1)
}

.envelope-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  transition:opacity .65s ease,transform 1s cubic-bezier(.18,.82,.25,1)
}

.envelope-open {
  opacity:0;
  transform:translateY(8%) scale(.93)
}

.envelope-gate.opening .envelope-stage {
  transform:translateY(-2%) scale(1.04)
}

.envelope-gate.opening .envelope-closed {
  opacity:0;
  transform:translateY(12%) scale(.9)
}

.envelope-gate.opening .envelope-open {
  opacity:1;
  transform:translateY(-2%) scale(1)
}

.open-label {
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:-2px;
  padding:11px 22px;
  border:1px solid rgba(124,67,82,.28);
  border-radius:99px;
  background:rgba(255,255,255,.75);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  box-shadow:0 10px 28px rgba(110,62,74,.09);
  animation:gatePulse 2s ease-in-out infinite
}

.open-label b {
  color:var(--gold);
  font-weight:400
}

.envelope-gate.opening .open-label {
  opacity:0;
  transition:opacity .3s
}

.gate-date {
  margin:18px 0 0;
  color:#a0707b;
  font-size:.66rem;
  font-weight:600;
  letter-spacing:.34em
}

.gate-sparkles i {
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#d6b36f;
  box-shadow:0 0 14px 4px rgba(214,179,111,.55);
  animation:twinkle 2.7s infinite alternate
}

.gate-sparkles i:nth-child(1) {
  top:19%;
  left:9%
}

.gate-sparkles i:nth-child(2) {
  top:29%;
  right:11%;
  animation-delay:.6s
}

.gate-sparkles i:nth-child(3) {
  top:59%;
  left:7%;
  animation-delay:1.2s
}

.gate-sparkles i:nth-child(4) {
  bottom:13%;
  right:14%;
  animation-delay:1.8s
}

.gate-sparkles i:nth-child(5) {
  bottom:20%;
  left:22%;
  animation-delay:.9s
}

@keyframes gatePulse {
  50% {
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(110,62,74,.16)
}


}



@media(min-width:900px) {
  .section {
  padding:120px clamp(70px,8vw,130px)
}

.hero {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:clamp(50px,7vw,120px);
  min-height:100svh;
  padding:110px clamp(70px,8vw,130px) 70px
}

.hero-copy {
  text-align:left
}

.hero-copy .eyebrow {
  max-width:360px;
  margin:0 0 12px;
  text-align:left
}

.hero h1 {
  font-size:clamp(5rem,8vw,8.5rem)
}

.hero h1 span {
  font-size:clamp(5.5rem,8vw,9rem)
}

.hero-date {
  margin-top:30px
}

.portrait-frame {
  width:min(42vw,600px);
  height:min(76vh,760px)
}

.portrait-flowers {
  right:-70px;
  width:62%
}

.scroll-note {
  position:absolute;
  bottom:24px;
  left:50%;
  margin:0;
  transform:translateX(-50%)
}

.story {
  padding-inline:max(15vw,180px)
}

.story>p:not(.script-kicker) {
  font-size:1.08rem
}

.countdown {
  display:grid;
  grid-template-columns:.7fr 1.3fr;
  gap:7vw;
  align-items:center;
  text-align:left
}

.countdown h2 {
  margin-bottom:0
}

.timer {
  margin-top:0
}

.floral-divider {
  height:145px
}

.floral-divider img {
  top:-115px
}

.timeline-list {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  max-width:1120px
}

.timeline-list:before {
  top:84px;
  right:8%;
  bottom:auto;
  left:8%;
  width:auto;
  height:1px
}

.timeline-list article {
  display:flex;
  min-height:180px;
  flex-direction:column;
  gap:50px;
  text-align:center
}

.timeline-list article:after {
  top:77px;
  left:50%;
  transform:translateX(-50%)
}

.timeline-list time {
  text-align:center
}

.photo-chapter {
  height:850px
}

.photo-chapter>div {
  right:8vw;
  bottom:80px;
  left:auto;
  max-width:540px;
  text-align:right
}

.photo-chapter span {
  font-size:5rem
}

.photo-chapter strong {
  font-size:7rem
}

.location-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
  max-width:1050px;
  margin:55px auto 0
}

.location-card {
  display:flex;
  min-height:430px;
  flex-direction:column;
  justify-content:center;
  margin:0
}

.details .detail-list {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  max-width:1160px;
  margin:55px auto 0
}

.detail-list article {
  display:block;
  padding:38px 30px;
  border:1px solid #dfc8cd;
  border-radius:110px 110px 18px 18px;
  background:rgba(255,255,255,.48);
  text-align:center
}

.detail-list article>span {
  margin:0 auto 22px
}

.gallery-grid {
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:520px;
  max-width:1320px;
  margin:45px auto 0
}

.gallery-grid figure:nth-child(2),.gallery-grid figure:nth-child(3) {
  border-radius:160px 160px 12px 12px
}

.wishbox,.playlist,.gifts,.rsvp {
  padding-block:125px
}

.wishbox form {
  grid-template-columns:1fr 1.5fr;
  align-items:start;
  max-width:900px
}

.wishbox form button {
  grid-column:1/3
}

.playlist form {
  max-width:900px
}

.thanks {
  min-height:880px
}

.thanks>img {
  height:880px
}

.thanks>div {
  right:8vw;
  bottom:85px;
  left:auto;
  max-width:620px;
  text-align:right
}

.thanks h2 {
  font-size:4.5rem
}

.music-toggle {
  right:24px
}

.gate-content {
  width:min(84vw,900px)
}

.envelope-stage {
  width:min(62vw,700px)
}

.gate-canopy {
  width:max(1100px,100vw)
}


}



@media(max-height:720px) {
  .gate-kicker {
  font-size:1.9rem
}

.envelope-gate h2 {
  font-size:2.35rem
}

.envelope-stage {
  width:min(78vw,520px)
}

.gate-date {
  margin-top:8px
}


}



@media(prefers-reduced-motion:reduce) {
  .open-label,.gate-sparkles i {
  animation:none
}

.envelope-image,.envelope-stage,.envelope-gate {
  transition-duration:.01ms
}


}


.invitation:focus {
  outline:none
}


.fairy-dust {
  position:absolute;
  inset:0;
  pointer-events:none
}



@media(min-width:900px) {
  .hero-copy {
  grid-column:1
}

.portrait-frame {
  grid-column:2
}

.hero-copy,.portrait-frame {
  grid-row:1
}


}



/* Mobile-only invitation and full-screen envelope entrance */
.sr-only {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important
}


.invitation {
  width:100%;
  max-width:430px;
  margin-inline:auto
}


.envelope-gate {
  padding:0;
  background:radial-gradient(circle at 50% 48%,#fff9f7 0 10%,#f8e5e9 52%,#e8ccd3 100%)
}


.gate-content {
  width:100%;
  height:100svh
}


.gate-canopy {
  top:-3.5rem;
  width:max(760px,190vw);
  opacity:.78
}


.envelope-button {
  position:relative;
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
  border-radius:0
}


.envelope-stage {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  filter:drop-shadow(0 28px 34px rgba(94,48,59,.3))
}


.envelope-image {
  inset:50% auto auto 50%;
  width:auto;
  max-width:none;
  height:100%;
  object-fit:contain;
  transform:translate(-50%,-50%) scale(1.36)
}


.envelope-open {
  opacity:0;
  transform:translate(-50%,-43%) scale(1.23)
}


.envelope-gate.opening .envelope-stage {
  transform:none
}


.envelope-gate.opening .envelope-closed {
  opacity:0;
  transform:translate(-50%,-42%) scale(1.18)
}


.envelope-gate.opening .envelope-open {
  opacity:1;
  transform:translate(-50%,-50%) scale(1.34)
}


.open-label {
  position:absolute;
  z-index:3;
  right:50%;
  bottom:max(28px,calc(env(safe-area-inset-bottom) + 18px));
  margin:0;
  white-space:nowrap;
  transform:translateX(50%);
  background:rgba(255,253,251,.9);
  box-shadow:0 12px 32px rgba(78,43,53,.2)
}


@keyframes gatePulse {
  50% {
  transform:translate(50%,-4px);
  box-shadow:0 16px 36px rgba(78,43,53,.24)
}


}



/* Keep the invitation phone-sized at every viewport width. */
@media(min-width:640px) {

  .section {
  padding:82px 24px
}


  .hero {
  display:flex;
  min-height:100svh;
  flex-direction:column;
  padding:110px 20px 46px
}


  .hero-copy {
  text-align:center
}


  .hero-copy .eyebrow {
  max-width:285px;
  margin:0 auto 6px;
  text-align:center
}


  .hero h1 {
  font-size:6.6rem
}


  .hero h1 span {
  font-size:6.8rem
}


  .hero-date {
  margin:18px 0 22px
}


  .portrait-frame {
  width:min(88vw,390px);
  height:min(53svh,570px)
}


  .portrait-flowers {
  right:-26px;
  width:66%
}


  .scroll-note {
  position:static;
  margin:40px 0 0;
  transform:none
}


  .family-names {
  display:block;
  padding:32px 16px
}


  .family-names div+div {
  margin-top:18px
}


  .family-names>span {
  margin:14px
}


  .timer {
  margin:34px -8px 0
}


  .countdown {
  display:block;
  text-align:center
}


  .floral-divider {
  height:110px
}


  .floral-divider img {
  top:-76px
}


  .timeline-list {
  display:block;
  max-width:500px;
  margin:45px auto 0;
  text-align:left
}


  .timeline-list:before {
  top:14px;
  right:auto;
  bottom:14px;
  left:88px;
  width:1px;
  height:auto
}


  .timeline-list article {
  display:grid;
  grid-template-columns:75px 1fr;
  gap:30px;
  min-height:106px;
  text-align:left
}


  .timeline-list article:after {
  top:auto;
  left:82px;
  transform:none
}


  .timeline-list time {
  text-align:right
}


  .photo-chapter {
  height:78svh;
  min-height:610px
}


  .photo-chapter>div {
  right:24px;
  bottom:55px;
  left:24px;
  max-width:none;
  text-align:center
}


  .photo-chapter span {
  font-size:3.6rem
}


  .photo-chapter strong {
  font-size:4.2rem
}


  .locations {
  padding-inline:24px
}


  .location-grid {
  display:block;
  margin:0
}


  .location-card {
  display:block;
  min-height:0;
  margin:20px auto;
  padding:42px 25px
}


  .details .detail-list {
  display:block;
  margin-top:38px
}


  .detail-list article {
  display:grid;
  grid-template-columns:48px 1fr;
  gap:18px;
  padding:24px 0;
  border:0;
  border-bottom:1px solid #dfc8cd;
  border-radius:0;
  background:none;
  text-align:left
}


  .detail-list article>span {
  margin:0
}


  .gallery {
  padding-inline:14px
}


  .gallery-grid {
  grid-template-columns:1fr 1fr;
  grid-auto-rows:230px;
  gap:8px;
  margin-top:35px
}


  .gallery-grid figure:nth-child(2),.gallery-grid figure:nth-child(3) {
  border-radius:12px
}


  .wishbox,.playlist,.gifts,.rsvp {
  padding-block:82px
}


  .wishbox form {
  display:grid;
  grid-template-columns:1fr;
  max-width:560px
}


  .wishbox form button {
  grid-column:auto;
  justify-self:stretch;
  min-width:0
}


  .playlist form {
  grid-template-columns:1fr;
  padding:22px
}


  .playlist form button {
  grid-column:auto;
  justify-self:stretch;
  min-width:0
}


  .thanks {
  min-height:720px
}


  .thanks>img {
  height:720px
}


  .thanks>div {
  right:24px;
  bottom:46px;
  left:24px;
  max-width:none;
  text-align:center
}


  .thanks h2 {
  font-size:3rem
}


  .music-toggle {
  right:calc(50% - 201px)
}


  .toast {
  max-width:402px
}



}



@media(max-width:360px) {
  .envelope-image {
  height:92%;
  transform:translate(-50%,-50%) scale(1.3)
}

.envelope-open {
  transform:translate(-50%,-43%) scale(1.18)
}

.envelope-gate.opening .envelope-closed {
  transform:translate(-50%,-42%) scale(1.14)
}

.envelope-gate.opening .envelope-open {
  transform:translate(-50%,-50%) scale(1.28)
}


}

/* Latest invitation format */

.invitation {
  max-width:430px;
}

.hero {
  position:relative;
  display:block;
  min-height:100svh;
  padding:0;
  overflow:hidden;
  background:#6f4653;
  isolation:isolate;
}

.hero .floral-canopy {
  z-index:5;
  top:-8px;
  width:112%;
  filter:drop-shadow(0 8px 12px rgba(82,42,53,.22));
}

.hero-copy {
  position:absolute;
  z-index:4;
  right:28px;
  bottom:92px;
  left:28px;
  color:white;
  text-align:center;
  text-shadow:0 3px 22px rgba(58,25,35,.78);
}

.hero-copy .eyebrow {
  max-width:360px;
  margin:0 auto 8px;
  color:#f9e8eb;
  line-height:1.55;
  text-align:center;
}

.hero h1 {
  color:white;
  font-size:clamp(3.8rem,18vw,6.6rem);
  text-shadow:0 3px 24px rgba(58,25,35,.72);
}

.hero h1 span {
  color:#f5dce1;
  font-size:clamp(3.8rem,19vw,6.8rem);
}

.hero-date {
  margin:20px 0 0;
  color:white;
}

.portrait-frame {
  position:absolute;
  z-index:0;
  inset:0;
  width:100%;
  height:100%;
  min-height:0;
}

.portrait-frame::after {
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,rgba(83,48,58,.18),transparent 34%,rgba(63,30,40,.12) 50%,rgba(63,30,40,.82) 100%);
  content:"";
  pointer-events:none;
}

.portrait-halo {
  z-index:3;
  inset:18px;
  border:1px solid rgba(255,244,238,.72);
  border-radius:18px;
}

.hero-portrait {
  width:100%;
  height:100%;
  border-radius:0;
  object-fit:cover;
  object-position:center 30%;
  box-shadow:none;
}

.scroll-note {
  position:absolute;
  z-index:5;
  right:0;
  bottom:20px;
  left:0;
  margin:0;
  color:rgba(255,255,255,.78);
  text-align:center;
  transform:none;
}

.scroll-note span {
  color:#f4d6dc;
}

.envelope-gate {
  display:block;
  padding:0;
  background:#ead5da;
}

.gate-canopy,
.gate-kicker,
.envelope-gate h2:not(.sr-only),
.gate-date {
  display:none;
}

.gate-content {
  width:min(100vw,430px);
  height:100svh;
  margin:0 auto;
}

.envelope-button {
  position:relative;
  width:100%;
  height:100%;
  margin:0;
}

.envelope-stage {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  filter:none;
}

.envelope-image {
  inset:0;
  width:100%;
  max-width:none;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1);
}

.envelope-open {
  opacity:0;
  transform:scale(1.05);
}

.envelope-gate.opening .envelope-stage {
  transform:none;
}

.envelope-gate.opening .envelope-closed {
  opacity:0;
  transform:scale(1.06);
}

.envelope-gate.opening .envelope-open {
  opacity:1;
  transform:scale(1);
}

.open-label {
  position:absolute;
  z-index:3;
  right:50%;
  bottom:max(24px,calc(env(safe-area-inset-bottom) + 18px));
  margin:0;
  border-color:rgba(255,255,255,.68);
  background:rgba(91,47,59,.78);
  color:white;
  white-space:nowrap;
  transform:translateX(50%);
  backdrop-filter:blur(8px);
}

.gallery {
  padding-inline:26px;
}

.gallery-carousel {
  position:relative;
  margin:36px auto 0;
}

.gallery-viewport {
  overflow-x:auto;
  border-radius:18px;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
}

.gallery-viewport::-webkit-scrollbar {
  display:none;
}

.gallery-track {
  display:flex;
}

.gallery-track figure {
  flex:0 0 100%;
  aspect-ratio:4 / 5;
  margin:0;
  overflow:hidden;
  border-radius:18px;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}

.gallery-track img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.gallery-track figure:nth-child(3) img {
  object-position:center;
}

.gallery-arrow {
  position:absolute;
  z-index:3;
  top:50%;
  display:grid;
  width:46px;
  min-height:46px;
  padding:0 0 4px;
  place-items:center;
  border:1px solid rgba(255,255,255,.76);
  border-radius:50%;
  background:rgba(106,57,69,.82);
  color:white;
  font-family:Georgia,serif;
  font-size:2rem;
  font-weight:400;
  line-height:1;
  letter-spacing:0;
  text-transform:none;
  transform:translateY(-50%);
  backdrop-filter:blur(8px);
}

.gallery-prev {
  left:12px;
}

.gallery-next {
  right:12px;
}

.gallery-arrow:disabled {
  opacity:.3;
  cursor:default;
}

.gallery-status {
  margin:16px 0 0;
  color:var(--rose);
  font-size:.68rem;
  letter-spacing:.16em;
}

@media(min-width:640px) {
  .hero {
    display:block;
    padding:0;
  }

  .hero-copy,
  .portrait-frame {
    grid-column:auto;
    grid-row:auto;
  }

  .hero-copy .eyebrow {
    margin-inline:auto;
    text-align:center;
  }

  .gallery {
    padding-inline:26px;
  }

  .music-toggle {
    right:calc(50% - 201px);
  }
}

@media(max-width:360px) {
  .envelope-image,
  .envelope-open,
  .envelope-gate.opening .envelope-closed,
  .envelope-gate.opening .envelope-open {
    height:100%;
  }
}

/* Enchanted Garden theme */

:root {
  --ivory:#fbf7e9;
  --paper:#fffdf4;
  --blush:#ead5cf;
  --petal:#e4b9b4;
  --rose:#b56f71;
  --berry:#173f35;
  --ink:#29473e;
  --sage:#718b6b;
  --gold:#d7bd78;
}

body {
  background:#0d2b24;
  color:var(--ink);
}

.invitation {
  background:var(--ivory);
  box-shadow:0 0 80px rgba(3,18,14,.55);
}

.envelope-gate {
  background:#0d2b24;
}

.gate-sparkles i,
.fairy-dust i {
  background:#f6e7a9;
  box-shadow:0 0 12px 4px rgba(246,231,169,.75);
  animation-duration:3.8s;
}

.open-label {
  border-color:rgba(238,217,145,.7);
  background:rgba(8,42,34,.78);
  color:#fff9df;
  box-shadow:0 10px 35px rgba(2,24,18,.3);
}

.hero {
  background:#173f35;
}

.hero .floral-canopy {
  top:-16px;
  width:120%;
  filter:drop-shadow(0 14px 16px rgba(4,28,21,.5));
}

.hero-copy {
  bottom:86px;
  text-shadow:0 4px 24px rgba(4,30,23,.92);
}

.hero-copy .eyebrow {
  color:#fff0be;
}

.hero h1 span {
  color:#f1d99d;
}

.hero-date {
  color:#fff8dc;
}

.portrait-frame::after {
  background:
    linear-gradient(180deg,rgba(7,42,33,.35),transparent 36%,rgba(7,42,33,.14) 52%,rgba(5,35,27,.9) 100%);
}

.portrait-halo {
  inset:18px;
  border-color:rgba(238,217,145,.8);
  box-shadow:inset 0 0 0 4px rgba(14,60,47,.18);
}

.scroll-note {
  color:rgba(255,248,220,.8);
}

.scroll-note span {
  color:#f1d99d;
}

.section {
  padding-block:88px;
}

.story,
.details,
.wishbox,
.gifts,
.rsvp {
  background:
    radial-gradient(circle at 10% 8%,rgba(215,189,120,.12) 0 1px,transparent 2px),
    radial-gradient(circle at 88% 20%,rgba(215,189,120,.14) 0 1.5px,transparent 2.5px),
    var(--ivory);
  background-size:70px 70px,96px 96px,auto;
}

.story .section-bouquet,
.gifts .section-bouquet {
  width:260px;
  max-height:120px;
  margin-bottom:8px;
  object-fit:contain;
}

.form-flower {
  width:300px;
  max-height:130px;
  object-fit:contain;
  opacity:.95;
}

.edge-vine {
  filter:hue-rotate(38deg) saturate(.8);
}

.script-kicker {
  color:#7d956f;
}

h2 {
  color:var(--berry);
}

h2 em {
  color:#b57574;
}

.family-names {
  border-color:rgba(23,63,53,.22);
}

.family-names strong {
  color:#173f35;
}

.countdown,
.timeline,
.gallery,
.playlist {
  background:
    radial-gradient(circle at 18% 18%,rgba(248,231,169,.18) 0 1px,transparent 2px),
    radial-gradient(circle at 78% 32%,rgba(248,231,169,.14) 0 1px,transparent 2px),
    #153c32;
  background-size:74px 74px,108px 108px,auto;
  color:#f8f3df;
}

.countdown h2,
.timeline h2,
.gallery h2,
.playlist h2 {
  color:#fff8df;
}

.countdown .eyebrow,
.timeline .script-kicker,
.gallery .script-kicker,
.playlist .eyebrow {
  color:#d7bd78;
}

.timer {
  border-color:rgba(215,189,120,.4);
}

.timer strong,
.timer span {
  color:#fff8df;
}

.floral-divider {
  height:150px;
  background:#153c32;
}

.floral-divider img {
  width:120%;
  height:100%;
  margin-left:-10%;
  object-fit:contain;
  transform:rotate(180deg);
}

.timeline-list::before,
.timeline-list article::after {
  background:#d7bd78;
}

.timeline-list time,
.timeline-list h3 {
  color:#fff8df;
}

.timeline-list p {
  color:#b9cbbd;
}

.photo-chapter::after,
.thanks::after {
  background:linear-gradient(180deg,transparent 28%,rgba(6,42,32,.9) 100%);
}

.locations {
  background:#f4efdd;
}

.location-card {
  border:1px solid rgba(23,63,53,.16);
  background:#fffdf4;
  box-shadow:0 18px 45px rgba(20,61,49,.1);
}

.location-card::before {
  border-color:rgba(215,189,120,.7);
}

.location-card.rose-card {
  border-color:rgba(215,189,120,.55);
  background:#173f35;
  color:#eef2df;
}

.location-card.rose-card h3,
.location-card.rose-card .eyebrow,
.location-card.rose-card a {
  color:#f4df9f;
}

.detail-list article > span {
  color:#b6924e;
}

.gallery-carousel {
  filter:drop-shadow(0 18px 28px rgba(2,24,18,.4));
}

.gallery-viewport,
.gallery-track figure {
  border-radius:18px;
}

.gallery-arrow {
  border-color:rgba(244,223,159,.82);
  background:rgba(12,53,42,.86);
  color:#fff2c3;
}

.gallery-status {
  color:#d7bd78;
}

.wishbox form,
.playlist form {
  border-color:rgba(23,63,53,.16);
  background:rgba(255,253,244,.92);
}

.playlist form {
  color:var(--ink);
}

input,
textarea {
  border-color:rgba(23,63,53,.25);
  background:#fffef9;
}

button,
.location-card a {
  background:#173f35;
  color:#fff8df;
}

.playlist button {
  background:#d7bd78;
  color:#173f35;
}

.thanks strong {
  color:#f1d99d;
}

footer {
  background:#0d2b24;
  color:#dce8d9;
}

.footer-monogram {
  border-color:#d7bd78;
  color:#f1d99d;
}

.music-toggle {
  border-color:rgba(215,189,120,.75);
  background:rgba(13,43,36,.9);
  color:#fff8df;
}

.toast {
  background:#173f35;
  color:#fff8df;
}

/* Beauty and the Rose theme */

:root {
  --ivory:#fff8ed;
  --paper:#fffdf7;
  --blush:#f2d8d8;
  --petal:#d99a9f;
  --rose:#a51e36;
  --berry:#4a0f1c;
  --ink:#4a2930;
  --sage:#756457;
  --gold:#d9b86c;
}

body {
  background:#22070e;
  color:var(--ink);
}

.invitation {
  background:var(--ivory);
  box-shadow:0 0 90px rgba(15,2,6,.72);
}

.envelope-gate {
  background:#21070d;
}

.gate-sparkles i,
.fairy-dust i {
  background:#ffe9a7;
  box-shadow:0 0 14px 5px rgba(255,220,125,.72);
  animation-duration:4.4s;
}

.open-label {
  border-color:rgba(229,197,118,.82);
  background:rgba(63,7,20,.82);
  color:#fff4d3;
  box-shadow:0 12px 38px rgba(26,2,8,.45);
}

.hero {
  background:#4a0f1c;
}

.hero .floral-canopy {
  top:-12px;
  width:118%;
  filter:drop-shadow(0 15px 18px rgba(20,1,6,.6));
}

.hero-copy {
  bottom:86px;
  text-shadow:0 4px 26px rgba(31,2,9,.96);
}

.hero-copy .eyebrow {
  color:#ffe9ac;
}

.hero h1 span {
  color:#efc4b7;
}

.hero-date {
  color:#fff4d3;
}

.portrait-frame::after {
  background:
    linear-gradient(180deg,rgba(54,4,17,.38),transparent 34%,rgba(54,4,17,.13) 50%,rgba(39,2,12,.92) 100%);
}

.portrait-halo {
  border-color:rgba(229,197,118,.9);
  box-shadow:inset 0 0 0 4px rgba(92,8,29,.2);
}

.scroll-note {
  color:rgba(255,244,211,.82);
}

.scroll-note span {
  color:#e5c576;
}

.story,
.details,
.wishbox,
.gifts,
.rsvp {
  background:
    radial-gradient(circle at 12% 12%,rgba(165,30,54,.1) 0 1px,transparent 2px),
    radial-gradient(circle at 86% 22%,rgba(217,184,108,.15) 0 1.5px,transparent 2.5px),
    #fff8ed;
  background-size:72px 72px,98px 98px,auto;
}

.story .section-bouquet,
.gifts .section-bouquet,
.form-flower {
  filter:drop-shadow(0 12px 18px rgba(69,4,20,.18));
}

.edge-vine {
  filter:hue-rotate(-38deg) saturate(1.25) brightness(.76);
}

.script-kicker {
  color:#a51e36;
}

h2 {
  color:#4a0f1c;
}

h2 em {
  color:#b82340;
}

.family-names {
  border-color:rgba(74,15,28,.22);
}

.family-names strong {
  color:#4a0f1c;
}

.countdown,
.timeline,
.gallery,
.playlist {
  background:
    radial-gradient(circle at 16% 18%,rgba(255,229,155,.18) 0 1px,transparent 2px),
    radial-gradient(circle at 82% 34%,rgba(255,229,155,.14) 0 1px,transparent 2px),
    linear-gradient(145deg,#4a0f1c,#2b0710 76%);
  background-size:78px 78px,112px 112px,auto;
  color:#fff4df;
}

.countdown h2,
.timeline h2,
.gallery h2,
.playlist h2 {
  color:#fff7e5;
}

.countdown .eyebrow,
.timeline .script-kicker,
.gallery .script-kicker,
.playlist .eyebrow {
  color:#e5c576;
}

.timer {
  border-color:rgba(229,197,118,.46);
}

.timer strong,
.timer span {
  color:#fff7e5;
}

.floral-divider {
  background:#2b0710;
}

.timeline-list::before,
.timeline-list article::after {
  background:#d9b86c;
}

.timeline-list time,
.timeline-list h3 {
  color:#fff7e5;
}

.timeline-list p {
  color:#d8c1bd;
}

.photo-chapter::after,
.thanks::after {
  background:linear-gradient(180deg,transparent 28%,rgba(47,2,13,.92) 100%);
}

.locations {
  background:#f3e8d7;
}

.location-card {
  border-color:rgba(74,15,28,.18);
  background:#fffaf0;
  box-shadow:0 18px 50px rgba(74,15,28,.12);
}

.location-card::before {
  border-color:rgba(217,184,108,.82);
}

.location-card.rose-card {
  border-color:rgba(229,197,118,.6);
  background:#4a0f1c;
  color:#fff3dc;
}

.location-card.rose-card h3,
.location-card.rose-card .eyebrow,
.location-card.rose-card a {
  color:#f0d18a;
}

.detail-list article > span {
  color:#a51e36;
}

.gallery-carousel {
  filter:drop-shadow(0 20px 30px rgba(22,1,7,.5));
}

.gallery-arrow {
  border-color:rgba(240,209,138,.84);
  background:rgba(74,15,28,.88);
  color:#fff2c9;
}

.gallery-status {
  color:#e5c576;
}

.wishbox form,
.playlist form {
  border-color:rgba(74,15,28,.18);
  background:rgba(255,250,240,.94);
}

.playlist form {
  color:var(--ink);
}

input,
textarea {
  border-color:rgba(74,15,28,.25);
  background:#fffdf8;
}

button,
.location-card a {
  background:#4a0f1c;
  color:#fff4df;
}

.playlist button {
  background:#d9b86c;
  color:#3b0a15;
}

.thanks strong {
  color:#f0d18a;
}

footer {
  background:#21070d;
  color:#eadbd4;
}

.footer-monogram {
  border-color:#d9b86c;
  color:#f0d18a;
}

.music-toggle {
  border-color:rgba(217,184,108,.78);
  background:rgba(55,7,18,.92);
  color:#fff4df;
}

.toast {
  background:#4a0f1c;
  color:#fff4df;
}

/* Emerald Elegance theme */

:root {
  --ivory: #fbf8ef;
  --paper: #fffdf7;
  --blush: #e8e0ca;
  --petal: #bba769;
  --rose: #b79645;
  --berry: #063f35;
  --ink: #173a34;
  --sage: #55786f;
  --gold: #d7b763;
}

body {
  background: #061d19;
  color: var(--ink);
}

.invitation {
  background: var(--ivory);
  box-shadow: 0 0 90px rgba(0, 0, 0, .52);
}

.envelope-gate {
  background:
    radial-gradient(circle at 50% 40%, rgba(41, 116, 93, .3), transparent 48%),
    #041815;
}

.gate-sparkles i,
.fairy-dust i {
  background: #f5dc94;
  box-shadow: 0 0 13px 4px rgba(233, 202, 112, .56);
  animation-duration: 5.6s;
}

.open-label {
  border-color: rgba(225, 193, 105, .84);
  background: rgba(3, 42, 35, .82);
  color: #fffaf0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .42);
}

.hero {
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #052f28;
}

.hero .floral-canopy {
  z-index: 4;
  top: -1px;
  width: min(118%, 900px);
  filter: drop-shadow(0 13px 18px rgba(0, 0, 0, .42));
}

.portrait-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 25, 21, .42), transparent 31%, transparent 53%, rgba(1, 25, 21, .92) 100%),
    linear-gradient(90deg, rgba(1, 25, 21, .14), transparent 30%, transparent 70%, rgba(1, 25, 21, .14));
}

.portrait-halo {
  display: none;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center 28%;
  box-shadow: none;
}

.hero-copy {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 74px;
  left: 20px;
  color: #fffaf0;
  text-shadow: 0 4px 28px rgba(0, 18, 15, .94);
}

.hero-copy .eyebrow {
  color: #f4dfa3;
}

.hero h1 {
  color: #fffdf5;
  text-shadow: 0 4px 30px rgba(0, 18, 15, .9);
}

.hero h1 span {
  color: #ecd080;
}

.hero-date {
  color: #fffaf0;
}

.scroll-note {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  color: rgba(255, 250, 240, .82);
}

.scroll-note span {
  color: #ecd080;
}

.story,
.details,
.wishbox,
.gifts,
.rsvp {
  background:
    linear-gradient(135deg, rgba(215, 183, 99, .06) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(315deg, rgba(215, 183, 99, .05) 25%, transparent 25%) 0 0 / 34px 34px,
    linear-gradient(180deg, #fffdf7, #f4efe2);
}

.story .section-bouquet,
.gifts .section-bouquet,
.form-flower,
.edge-vine {
  filter: drop-shadow(0 12px 18px rgba(7, 63, 53, .2));
}

.script-kicker {
  color: #587c70;
}

h2 {
  color: #063f35;
}

h2 em {
  color: #ad8d3f;
}

.family-names {
  border-color: rgba(6, 63, 53, .2);
}

.family-names strong {
  color: #063f35;
}

.countdown,
.timeline,
.gallery,
.playlist {
  background:
    radial-gradient(circle at 14% 18%, rgba(237, 211, 135, .14) 0 1px, transparent 2px),
    linear-gradient(145deg, #0b5144, #031e1a 82%);
  background-size: 86px 86px, auto;
  color: #f9f5e9;
}

.countdown h2,
.timeline h2,
.gallery h2,
.playlist h2 {
  color: #fffaf0;
}

.countdown .eyebrow,
.timeline .script-kicker,
.gallery .script-kicker,
.playlist .eyebrow {
  color: #e4c873;
}

.timer {
  border-color: rgba(228, 200, 115, .45);
}

.timer strong,
.timer span {
  color: #fffaf0;
}

.floral-divider {
  height: 150px;
  overflow: hidden;
  background: #07382f;
}

.floral-divider img {
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  margin-left: 0;
  object-fit: cover;
  object-position: center 58%;
  transform: translateX(-50%) rotate(180deg);
}

.timeline-list::before,
.timeline-list article::after {
  background: #d7b763;
}

.timeline-list time,
.timeline-list h3 {
  color: #fffaf0;
}

.timeline-list p {
  color: #d9e0d9;
}

.photo-chapter::after,
.thanks::after {
  background: linear-gradient(180deg, transparent 26%, rgba(2, 36, 30, .92) 100%);
}

.locations {
  background: #e9e5d9;
}

.location-card {
  border-color: rgba(6, 63, 53, .2);
  background: #fffdf7;
  box-shadow: 0 18px 50px rgba(4, 48, 40, .12);
}

.location-card::before {
  border-color: rgba(215, 183, 99, .82);
}

.location-card.rose-card {
  border-color: rgba(215, 183, 99, .62);
  background: #063f35;
  color: #fffaf0;
}

.location-card.rose-card h3,
.location-card.rose-card .eyebrow,
.location-card.rose-card a {
  color: #ecd080;
}

.locations .edge-vine {
  top: -58px;
  right: auto;
  left: 50%;
  width: 100%;
  max-width: none;
  height: auto;
  clip-path: none;
  object-fit: initial;
  transform: translateX(-50%);
}

.detail-list article > span {
  color: #a9893e;
}

.gallery-carousel {
  filter: drop-shadow(0 20px 30px rgba(0, 15, 12, .52));
}

.gallery-viewport,
.gallery-track figure,
.gallery-track img {
  border-radius: 18px;
}

.gallery-arrow {
  border-color: rgba(238, 210, 128, .84);
  background: rgba(5, 63, 52, .86);
  color: #fffaf0;
}

.gallery-status {
  color: #e4c873;
}

.wishbox form,
.playlist form {
  border-color: rgba(6, 63, 53, .18);
  background: rgba(255, 253, 247, .95);
}

.playlist form {
  color: var(--ink);
}

input,
textarea {
  border-color: rgba(6, 63, 53, .24);
  background: #fffdf7;
}

button,
.location-card a {
  background: #063f35;
  color: #fffaf0;
}

.playlist button {
  background: #d7b763;
  color: #052f28;
}

.thanks strong {
  color: #ecd080;
}

footer {
  background: #031e1a;
  color: #dce3dc;
}

.footer-monogram {
  border-color: #d7b763;
  color: #ecd080;
}

.music-toggle {
  border-color: rgba(215, 183, 99, .78);
  background: rgba(3, 48, 40, .92);
  color: #fffaf0;
}

.toast {
  background: #063f35;
  color: #fffaf0;
}
