:root {
  --ink: #5a1723;
  --forest: #6f1d2c;
  --paper: #f2ede3;
  --sand: #d7c7ae;
  --white: #fffdf8;
  --serif: "Italiana", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-weight: 300; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.grain { position: fixed; inset: 0; z-index: 100; opacity: .055; 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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }

.intro {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3vh;
  overflow: hidden;
  color: #e0ac69;
  background:
    radial-gradient(circle at 50% 50%, rgba(137,45,59,.5) 0%, rgba(111,29,44,.18) 35%, transparent 62%),
    linear-gradient(145deg, #591321 0%, var(--forest) 52%, #480d19 100%);
  transition: opacity 1s .5s, visibility 1s .5s;
}
.intro::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .32;
  background:
    repeating-linear-gradient(102deg, transparent 0 9px, rgba(255,205,180,.025) 10px, transparent 12px 25px),
    repeating-linear-gradient(78deg, transparent 0 17px, rgba(25,0,8,.055) 18px, transparent 21px 40px),
    radial-gradient(ellipse at center, transparent 38%, rgba(28,0,9,.2) 72%, rgba(20,0,7,.48) 100%);
  pointer-events: none;
}
.intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .14;
  background-image:
    radial-gradient(circle at 8% 18%, #e0ac69 0 1px, transparent 1.4px),
    radial-gradient(circle at 22% 74%, #d4a45f 0 .7px, transparent 1.2px),
    radial-gradient(circle at 38% 12%, #e0ac69 0 .8px, transparent 1.3px),
    radial-gradient(circle at 54% 82%, #c99750 0 .7px, transparent 1.2px),
    radial-gradient(circle at 69% 28%, #e0ac69 0 .9px, transparent 1.4px),
    radial-gradient(circle at 83% 68%, #d4a45f 0 .7px, transparent 1.2px),
    radial-gradient(circle at 94% 16%, #e0ac69 0 .8px, transparent 1.3px);
  background-size: 190px 220px, 240px 260px, 310px 280px, 270px 320px, 230px 250px, 330px 300px, 290px 270px;
  pointer-events: none;
  animation: gold-dust 20s ease-in-out infinite;
}
@keyframes gold-dust {
  0%, 100% { opacity: .1; transform: translateY(0); }
  50% { opacity: .16; transform: translateY(-2px); }
}
.intro.opened { opacity: 0; visibility: hidden; }
.intro-copy { text-align: center; transition: opacity .45s, transform .7s; }
.intro.opening .intro-copy, .intro.opening .open-label { opacity: 0; transform: translateY(-15px); }
.intro-copy h1 { margin: 0; font: 4.5rem/1 var(--serif); }
.intro-copy .eyebrow { margin: 22px 0 0; }
.intro-copy h1 i, .hero h2 i, .closing h2 i {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: .65em;
  line-height: 1;
}
.intro-copy h1 i {
  margin-inline: .08em;
  transform: translateY(.08em);
  vertical-align: middle;
}
.eyebrow { margin: 0 0 20px; font: 500 .68rem/1.4 "Montserrat", sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow.light, .display.light { color: var(--white); }
.envelope { position: relative; width: min(520px, 84vw); aspect-ratio: 1.52; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 1000px; filter: drop-shadow(0 28px 34px rgba(26,4,10,.42)); }
.envelope-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 23% 10%, rgba(246,235,208,.16), transparent 42%),
    linear-gradient(145deg, #d9c08e, #ccb17b 48%, #b99a65);
  box-shadow: inset 0 0 25px rgba(91,57,22,.18);
}
.envelope-front {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  background:
    linear-gradient(155deg, transparent 49.7%, #c8ab74 50%, #ad8d5c 100%) left/50% 100% no-repeat,
    linear-gradient(205deg, transparent 49.7%, #d3b984 50%, #b79863 100%) right/50% 100% no-repeat,
    linear-gradient(35deg, transparent 49.5%, #cdb17a 50%, #ab8958 100%) bottom/100% 57% no-repeat;
}
.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  clip-path: polygon(0 0,100% 0,50% 45%);
  background:
    radial-gradient(ellipse at 20% 3%, rgba(247,237,211,.2), transparent 42%),
    linear-gradient(160deg, #d9c28f 0%, #cbb07a 68%, #b29260 100%);
  box-shadow: inset 0 1px rgba(255,240,207,.48);
  transform-origin: top;
  transition: transform .9s cubic-bezier(.6,0,.3,1), z-index 0s .45s;
}
.envelope-back::before,
.envelope-front::before,
.envelope-flap::before,
.envelope-back::after,
.envelope-front::after,
.envelope-flap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.envelope-back::before,
.envelope-front::before,
.envelope-flap::before {
  opacity: .3;
  background:
    linear-gradient(112deg, transparent 18%, rgba(255,247,223,.16) 35%, transparent 49%),
    radial-gradient(circle at 17% 23%, rgba(255,247,220,.28) 0 .55px, transparent .9px),
    radial-gradient(circle at 63% 72%, rgba(245,225,183,.2) 0 .5px, transparent .85px),
    radial-gradient(circle at 84% 31%, rgba(255,242,210,.22) 0 .45px, transparent .8px);
  background-size: 100% 100%, 97px 83px, 131px 109px, 157px 137px;
  mix-blend-mode: soft-light;
}
.envelope-back::after,
.envelope-front::after,
.envelope-flap::after {
  opacity: .42;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 420 280' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='stock'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.22 .65' numOctaves='3' seed='29' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='.34 0 0 0 .56 0 .3 0 0 .5 0 0 .22 0 .38 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23stock)' opacity='.23'/%3E%3Cg fill='none' stroke='%23f4e5bd' stroke-width='.34' opacity='.34'%3E%3Cpath d='M9 18l87 2M24 55l141 3M5 104l118-1M170 31l132 2M230 88l174 3M16 177l161 2M201 154l198-2M70 244l188 3M286 226l121 1'/%3E%3Cpath d='M31 4l2 87M114 28l3 138M197 5l1 104M279 63l3 180M365 12l2 139' opacity='.55'/%3E%3C/g%3E%3C/svg%3E"),
    repeating-linear-gradient(89deg, transparent 0 3px, rgba(247,235,207,.075) 4px, transparent 5px 9px);
  background-size: cover, 11px 100%;
  mix-blend-mode: soft-light;
}
.envelope-front::before,
.envelope-front::after { clip-path: polygon(0 0,50% 59%,100% 0,100% 100%,0 100%); }
.envelope-flap::before,
.envelope-flap::after { clip-path: polygon(0 0,100% 0,50% 45%); }
.seal {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 51%;
  width: 64px;
  height: 64px;
  transform: translate(-50%,-50%) rotate(-4deg);
  transition: opacity .3s .25s, transform .5s;
}
.wax-seal { display: block; width: 100%; height: 100%; overflow: visible; }
.wax-overflow, .wax-body { shape-rendering: geometricPrecision; }
.wax-overflow { opacity: .98; }
.wax-body { opacity: 1; }
.wax-rim-light { opacity: .7; }
.wax-center { shape-rendering: geometricPrecision; }
.wax-highlight {
  fill: none;
  stroke: rgba(255,186,196,.42);
  stroke-width: 1.45;
  stroke-linecap: round;
}
.wax-specular {
  fill: none;
  stroke: rgba(255,220,224,.68);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: .72;
}
.wax-ridge {
  fill: none;
  stroke: rgba(37,4,11,.42);
  stroke-width: 1.25;
  stroke-linecap: round;
}
.stamp-pressure {
  fill: none;
  stroke: rgba(34,4,10,.46);
  stroke-width: 1;
  opacity: .58;
}
.wax-letter {
  font-family: var(--serif);
  font-size: 31px;
  font-style: normal;
  font-weight: 400;
  text-anchor: middle;
  fill: #e0ac69;
  stroke: rgba(89,38,20,.38);
  stroke-width: .35;
}
.wax-letter-s { transform: translateX(1px) rotate(-6deg); transform-origin: 40px 54px; }
.wax-letter-d { transform: translateX(-2px) rotate(4deg); transform-origin: 61px 54px; }
.card { position: absolute; z-index: 2; left: 8%; right: 8%; top: 8%; bottom: 5%; display: grid; place-content: center; gap: 12px; color: #6a1a27; background: radial-gradient(circle at 50% 35%, #f5e6c7 0%, #dfc496 70%, #c9a56c 100%); border: 1px solid #e3bd78; box-shadow: inset 0 0 32px rgba(104,48,18,.15), 0 8px 18px rgba(38,7,12,.2); transition: transform 1s .5s; }
.card::before, .card::after { content: ""; position: absolute; pointer-events: none; }
.card::before { inset: 8px; border: 1px solid rgba(111,29,44,.55); }
.card::after { inset: 13px; border: 1px solid rgba(177,120,54,.7); }
.card small { letter-spacing: .2em; text-transform: uppercase; }
.card b { color: #711d2d; font: 3rem var(--serif); text-shadow: 0 1px #f5d9a8; }
.intro.opening .envelope-flap { z-index: 1; transform: rotateX(180deg); }
.intro.opening .seal { opacity: 0; transform: translate(-50%,-60%) rotate(-4deg) scale(.7); }
.intro.opening .card { transform: translateY(-70%); }
.open-label { margin: 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; transition: opacity .4s; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }

#site { opacity: 0; transition: opacity 1s; }
#site.visible { opacity: 1; }
.nav { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 78px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; color: white; }
.nav-mark { color: #e0ac69; font: 1.45rem var(--serif); letter-spacing: .08em; }
.nav-links { display: flex; gap: 32px; font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; }
.menu-toggle { display: none; }
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; color: #e0ac69; }
.hero-image, .closing-image { position: absolute; inset: -7%; background: url("assets/garden-couple.png") center 42%/cover no-repeat; transform: scale(1.03); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(71,10,26,.2), rgba(92,18,35,.15) 45%, rgba(62,8,22,.7)); }
.hero-content { position: absolute; z-index: 2; left: 5vw; right: 5vw; bottom: 10vh; text-align: center; }
.hero .eyebrow.light { color: #e0ac69; }
.hero-content h2, .closing h2 { display: flex; align-items: center; justify-content: center; gap: .22em; margin: 0; font: clamp(4.5rem, 11vw, 10rem)/.8 var(--serif); }
.hero-content h2 i { transform: translateY(.1em); }
.hero-date { margin-top: 34px; font-size: .72rem; letter-spacing: .23em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; right: 4vw; bottom: 5vh; display: flex; align-items: center; gap: 10px; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 1px; background: currentColor; }
.paper { background: var(--paper); }
.welcome {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 95vh;
  padding: 14vh 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #e0ac69;
  background: linear-gradient(145deg, #591321 0%, var(--forest) 52%, #480d19 100%);
  text-align: center;
}
.welcome > :not(.luxury-lights) {
  position: relative;
  z-index: 1;
}

/* Reusable, CSS-only canopy of layered luxury wedding starlights. */
.luxury-lights {
  --strand-opacity: .58;
  --strand-opacity-low: .31;
  --glow-size: 10px;
  --glow-spread: 20px;
  --sparkle-size: 3px;
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: min(31vh, 330px);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}
.light-strand {
  position: absolute;
  top: 0;
  left: var(--x);
  width: var(--strand-width, 1px);
  height: var(--length);
  opacity: var(--strand-opacity);
  background: linear-gradient(
    to bottom,
    rgba(224, 172, 105, .08),
    rgba(244, 196, 132, .76) 48%,
    rgba(214, 137, 112, .42) 82%,
    rgba(239, 189, 124, .2)
  );
  box-shadow:
    0 0 4px rgba(244, 196, 132, .45),
    0 0 9px rgba(205, 116, 101, .18);
  transform-origin: top;
  animation: strand-shimmer var(--duration) ease-in-out var(--delay) infinite;
  will-change: opacity, transform;
}
.light-strand::before,
.light-strand::after {
  content: "";
  position: absolute;
  left: 50%;
  width: var(--star-size, 4px);
  height: var(--star-size, 4px);
  border-radius: 0;
  background: #d8b06a;
  filter: drop-shadow(0 0 2px rgba(216, 176, 106, .3));
  transform: translateX(-50%) scale(.95);
  animation: star-glint var(--twinkle-duration, 3.8s) ease-in-out var(--twinkle-delay, -1.3s) infinite;
}
.light-strand::before {
  top: 42%;
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%);
}
.light-strand::after {
  top: 96%;
  --star-size: 3px;
  clip-path: polygon(50% 0, 55% 39%, 75% 15%, 61% 43%, 100% 50%, 61% 57%, 75% 85%, 55% 61%, 50% 100%, 45% 61%, 25% 85%, 39% 57%, 0 50%, 39% 43%, 25% 15%, 45% 39%);
  animation-delay: var(--twinkle-delay-end, -2.6s);
}
.light-strand:nth-child(3n + 1) { --twinkle-duration: 2.9s; --twinkle-delay: -.7s; --twinkle-delay-end: -2.1s; }
.light-strand:nth-child(3n + 2) { --twinkle-duration: 4.6s; --twinkle-delay: -3.2s; --twinkle-delay-end: -1.4s; }
.light-strand:nth-child(3n) { --twinkle-duration: 3.7s; --twinkle-delay: -1.8s; --twinkle-delay-end: -4.1s; }
.light-strand:nth-child(5n) { --twinkle-duration: 2.4s; --twinkle-delay: -1.1s; --twinkle-delay-end: -.3s; }
.light-strand:nth-child(7n) { --twinkle-duration: 4.9s; --twinkle-delay: -4.3s; --twinkle-delay-end: -2.8s; }
.depth-back {
  --strand-opacity: .36;
  --strand-opacity-low: .2;
  --star-size: 2.5px;
  filter: blur(.25px);
}
.depth-mid {
  --strand-opacity: .58;
  --strand-opacity-low: .31;
  --star-size: 3.5px;
}
.depth-front {
  --strand-opacity: .76;
  --strand-opacity-low: .4;
  --star-size: 4.5px;
  --strand-width: 1.25px;
}

/* A few strand endpoints catch a slightly brighter, jewelry-like glint. */
.star-four::after,
.star-six::after {
  width: var(--hero-star-size, 7px);
  height: var(--hero-star-size, 7px);
  background: #ddb66f;
  filter:
    drop-shadow(0 0 2px rgba(232, 196, 126, .52))
    drop-shadow(0 0 5px rgba(216, 176, 106, .22));
}
.star-four::after {
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.star-six::after {
  --hero-star-size: 6px;
  clip-path: polygon(50% 0, 55% 39%, 75% 15%, 61% 43%, 100% 50%, 61% 57%, 75% 85%, 55% 61%, 50% 100%, 45% 61%, 25% 85%, 39% 57%, 0 50%, 39% 43%, 25% 15%, 45% 39%);
}
@keyframes strand-shimmer {
  0%, 100% { opacity: var(--strand-opacity-low); transform: translateX(0) scaleY(.995); }
  43% { opacity: var(--strand-opacity); transform: translateX(.5px) scaleY(1); }
  71% { opacity: calc(var(--strand-opacity) * .8); transform: translateX(-.35px) scaleY(.998); }
}
@keyframes star-glint {
  0%, 100% { opacity: .22; transform: translateX(-50%) scale(.95); }
  46% { opacity: .5; transform: translateX(-50%) scale(1); }
  54% { opacity: .78; transform: translateX(-50%) scale(1.1); }
  64% { opacity: .36; transform: translateX(-50%) scale(.98); }
}
.flourish { margin-bottom: 52px; font: 2rem var(--serif); }
.flourish i {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-size: .65em;
}
.display { margin: 0; font: clamp(3rem, 6vw, 6.5rem)/1.05 var(--serif); font-weight: 400; }
.body-copy { max-width: 580px; margin: 35px auto 0; font-size: .95rem; line-height: 1.9; }
.date-lockup { display: flex; align-items: center; gap: 28px; margin-top: 60px; }
.date-lockup span { padding: 12px 0; border-block: 1px solid currentColor; font-size: .66rem; letter-spacing: .2em; }
.date-lockup strong { font: 5rem/1 var(--serif); font-weight: 400; }
.story { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #d9d0c2; }
.story-photo { min-height: 750px; background: linear-gradient(rgba(111,29,44,.2),rgba(111,29,44,.2)), url("assets/garden-couple.png") 30% center/cover; background-blend-mode: color; filter: saturate(.75) sepia(.08); }
.story-copy { padding: 10vw; display: flex; flex-direction: column; justify-content: center; }
.story-copy .display { font-size: clamp(3rem,5vw,5.7rem); }
.story-copy .body-copy { margin-left: 0; max-width: 510px; }
.script { margin: 45px 0 0; font: italic 1.4rem Georgia, serif; }
.image-section { position: relative; background: linear-gradient(rgba(89,15,34,.62),rgba(64,8,23,.74)), url("assets/garden-couple.png") center/cover fixed; background-blend-mode: multiply; color: white; }
.countdown { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.countdown-inner { padding: 100px 20px; }
.timer { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(25px,7vw,100px); margin-top: 70px; }
.timer div { display: grid; gap: 12px; }
.timer strong { font: clamp(2.4rem,5vw,5rem) var(--serif); font-weight: 400; }
.timer span { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.details { padding: 14vh 7vw; }
.section-heading { text-align: center; margin-bottom: 80px; }
.event-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; }
.event-card { position: relative; min-height: 620px; padding: clamp(45px,7vw,90px); display: flex; flex-direction: column; justify-content: center; border: 1px solid #bdb29f; }
.event-card.dark { color: var(--white); border-color: var(--forest); background: var(--forest); }
.event-card .eyebrow { margin-bottom: 30px; }
.event-card h3 { margin: 0 0 40px; font: 3.2rem var(--serif); font-weight: 400; }
.event-card p { line-height: 1.9; }
.event-card b { font-weight: 500; }
.card-number { position: absolute; top: 30px; right: 35px; opacity: .55; font: 1rem var(--serif); }
.line { width: 45px; height: 1px; margin: 28px 0; background: currentColor; opacity: .45; }
.text-link { align-self: flex-start; margin-top: 25px; padding-bottom: 5px; border-bottom: 1px solid; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }
.attire { margin-top: 35px; font-size: .67rem; letter-spacing: .17em; text-transform: uppercase; }
.schedule { padding: 14vh 20px; background: #d8d0c2; }
.timeline { max-width: 850px; padding: 0; margin: auto; list-style: none; border-top: 1px solid rgba(111,29,44,.35); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; padding: 30px 5px; border-bottom: 1px solid rgba(111,29,44,.35); align-items: baseline; }
.timeline time { font: 1.8rem var(--serif); }
.timeline span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.rsvp { min-height: 110vh; padding: 12vh 20px; display: grid; place-items: center; background-attachment: scroll; }
.rsvp-card { width: min(700px,94vw); padding: clamp(40px,7vw,80px); color: var(--ink); background: rgba(245,240,230,.96); text-align: center; }
.rsvp-card > p { line-height: 1.7; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 45px; text-align: left; }
form label, fieldset { display: grid; gap: 8px; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
fieldset { grid-column: 1/-1; grid-template-columns: 1fr 1fr; padding: 0; border: 0; }
legend { margin-bottom: 12px; }
.radio { display: flex; align-items: center; padding: 15px; border: 1px solid #bdb29f; cursor: pointer; }
input, select, textarea { width: 100%; padding: 13px 2px; border: 0; border-bottom: 1px solid #958b7b; border-radius: 0; outline: 0; color: var(--ink); background: transparent; text-transform: none; letter-spacing: normal; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
input[type=radio] { width: auto; margin-right: 8px; accent-color: var(--forest); }
form label:has(textarea), .button, .form-message { grid-column: 1/-1; }
.button { margin-top: 12px; padding: 17px 30px; border: 1px solid var(--forest); color: white; background: var(--forest); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: .25s; }
.button:hover { color: var(--forest); background: transparent; }
.form-message { margin: 0; text-align: center; font-size: .75rem; }
.faq { padding: 14vh 20px; }
.accordion { max-width: 850px; margin: auto; border-top: 1px solid #a79d8e; }
details { border-bottom: 1px solid #a79d8e; }
summary { display: flex; justify-content: space-between; padding: 28px 0; cursor: pointer; list-style: none; font: 1.3rem var(--serif); }
summary::-webkit-details-marker { display: none; }
details p { max-width: 650px; margin: -5px 0 30px; line-height: 1.8; }
details[open] summary span { transform: rotate(45deg); }
summary span { transition: transform .25s; }
.closing { position: relative; height: 100svh; min-height: 650px; overflow: hidden; color: white; }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(104,20,40,.2),rgba(61,7,21,.72)); }
.closing-image { background-position: center; filter: saturate(.8); }
.closing-copy { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px; }
.closing-copy p:last-child { margin-top: 32px; }
.credit { position: absolute; z-index: 3; bottom: 25px; width: 100%; text-align: center; font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .9s, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  .intro-copy h1 { font-size: 3.1rem; }
  .envelope { width: 88vw; }
  .nav { height: 66px; padding: 0 22px; mix-blend-mode: normal; }
  .menu-toggle { position: relative; z-index: 2; display: grid; gap: 6px; padding: 10px 0 10px 10px; border: 0; background: transparent; }
  .menu-toggle span { display: block; width: 25px; height: 1px; background: white; transition: .3s; }
  .menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; color: white; background: var(--forest); transform: translateX(100%); transition: transform .5s; font-size: .8rem; }
  .nav-links.open { transform: translateX(0); }
  .hero-content { bottom: 15vh; }
  .hero-content h2, .closing h2 { flex-direction: column; gap: .05em; font-size: clamp(4rem,20vw,6.5rem); }
  .hero-content h2 i { margin: -.12em 0; }
  .hero-date { font-size: .6rem; }
  .scroll-cue { right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .welcome { min-height: 100vh; }
  .luxury-lights {
    --strand-opacity: .54;
    --strand-opacity-low: .29;
    height: min(28vh, 245px);
  }
  .light-strand:nth-child(6n) { display: none; }
  .depth-back { --star-size: 2px; }
  .depth-mid { --star-size: 3px; }
  .depth-front { --star-size: 4px; }
  .star-mobile-glow::after {
    --hero-star-size: 5px;
  }
  .display { font-size: 2.9rem; }
  .story { grid-template-columns: 1fr; }
  .story-photo { min-height: 65vh; }
  .story-copy { padding: 16vh 8vw; }
  .story-copy .display { font-size: 3rem; }
  .image-section { background-attachment: scroll; }
  .countdown { min-height: 70vh; }
  .timer { gap: 12px; }
  .timer strong { font-size: 2.1rem; }
  .timer span { font-size: .5rem; letter-spacing: .08em; }
  .details, .schedule, .faq { padding-block: 12vh; }
  .section-heading { margin-bottom: 55px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 530px; padding: 55px 35px; }
  .event-card h3 { font-size: 2.8rem; }
  .timeline li { grid-template-columns: 90px 1fr; }
  .rsvp-card { padding: 50px 25px; }
  form { grid-template-columns: 1fr; }
  form > *, fieldset, form label:has(textarea), .button, .form-message { grid-column: 1; }
  fieldset { grid-template-columns: 1fr; }
  summary { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .intro::before, .intro::after { animation: none; }
  .light-strand, .light-strand::before, .light-strand::after { animation: none; }
}
