:root {
  --olive: #485033;
  --olive-dark: #272d1e;
  --olive-soft: #7f876a;
  --milk: #f8f5ef;
  --paper: #f1ede4;
  --champagne: #d8c29b;
  --gold: #ad8952;
  --sage: #b9bea8;
  --rose: #c9a99e;
  --ink: #25251f;
  --muted: #767467;
  --line: rgba(72, 80, 51, 0.24);
  --shadow: 0 22px 60px rgba(36, 40, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 194, 155, 0.24), transparent 34rem),
    linear-gradient(120deg, #303723 0%, #f1ede4 28%, #d8cfc0 100%);
  font-family: "Manrope", Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

svg {
  display: block;
}

.invite-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.92), transparent 16rem),
    repeating-linear-gradient(102deg, rgba(72, 80, 51, 0.025) 0 1px, transparent 1px 7px),
    var(--milk);
  box-shadow: 0 0 70px rgba(12, 16, 8, 0.28);
}

.invite-shell::before {
  position: fixed;
  inset: 0;
  z-index: 4;
  max-width: 520px;
  margin: 0 auto;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.72), transparent 0.34rem),
    radial-gradient(circle at 22% 72%, rgba(255, 255, 255, 0.54), transparent 0.28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(72, 80, 51, 0.03));
  mix-blend-mode: soft-light;
}

.story {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  padding: 4.5rem 1.35rem;
  isolation: isolate;
}

.music-toggle {
  position: fixed;
  top: 1rem;
  right: max(1rem, calc((100vw - 520px) / 2 + 1rem));
  z-index: 9;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--olive);
  cursor: pointer;
  background: rgba(248, 245, 239, 0.74);
  border: 1px solid rgba(72, 80, 51, 0.2);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(31, 35, 22, 0.16);
  backdrop-filter: blur(12px);
}

.music-toggle svg {
  width: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-toggle[aria-pressed="true"] {
  color: var(--milk);
  background: var(--olive);
}

.music-toggle[aria-pressed="false"] .sound-wave {
  display: none;
}

.envelope-gate {
  position: absolute;
  inset: 0;
  z-index: 8;
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 2rem 1.35rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.88), transparent 10rem),
    linear-gradient(180deg, rgba(239, 235, 224, 0.94), rgba(218, 211, 193, 0.96)),
    url("assets/fabric-milk.jpg") center / cover;
  transition: opacity 0.55s ease 1.28s, visibility 0.55s ease 1.28s;
}

.envelope-gate::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, rgba(72, 80, 51, 0.82) 0 24%, transparent 24% 76%, rgba(72, 80, 51, 0.82) 76% 100%),
    repeating-linear-gradient(98deg, rgba(72, 80, 51, 0.04) 0 1px, transparent 1px 8px);
}

.opening-letter {
  position: absolute;
  bottom: 13.2rem;
  left: 50%;
  z-index: 5;
  display: grid;
  width: min(calc(100vw - 5rem), 17.5rem);
  min-height: 22rem;
  place-items: center;
  padding: 2rem 1rem;
  color: var(--olive-dark);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(239, 234, 221, 0.98)),
    repeating-linear-gradient(98deg, rgba(72, 80, 51, 0.04) 0 1px, transparent 1px 8px);
  border: 1px solid rgba(72, 80, 51, 0.18);
  border-radius: 3px;
  box-shadow: 0 18px 42px rgba(27, 31, 19, 0.2);
  opacity: 0;
  transform: translate(-50%, 7.2rem) scale(0.78);
  transition: transform 1.15s cubic-bezier(0.19, 0.8, 0.24, 1), opacity 0.35s ease;
}

.opening-letter p {
  margin: 0 0 1.2rem;
  font-family: "Marck Script", cursive;
  font-size: 1.7rem;
}

.opening-letter strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 0.82;
  text-transform: uppercase;
}

.envelope-card {
  position: relative;
  z-index: 6;
  width: min(calc(100vw - 3rem), 21.5rem);
  height: 22rem;
  overflow: hidden;
  color: var(--olive-dark);
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.96), rgba(238, 234, 224, 0.96)),
    url("assets/fabric-milk.jpg") center / cover;
  border-radius: 3px;
  box-shadow: 0 24px 64px rgba(27, 31, 19, 0.22);
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.7s ease 0.9s;
}

.envelope-card::before {
  position: absolute;
  inset: 1rem;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(72, 80, 51, 0.18);
}

.envelope-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 255, 255, 0.88), transparent 3.9rem),
    linear-gradient(145deg, transparent 0 49.5%, rgba(72, 80, 51, 0.22) 49.7% 50.3%, transparent 50.5%),
    linear-gradient(215deg, transparent 0 49.5%, rgba(72, 80, 51, 0.22) 49.7% 50.3%, transparent 50.5%);
}

.envelope-flap {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(249, 247, 241, 0.98), rgba(231, 226, 215, 0.96)),
    url("assets/fabric-milk.jpg") center / cover;
}

.envelope-flap-top {
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.envelope-flap-left {
  bottom: 0;
  left: 0;
  width: 58%;
  height: 64%;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  transform-origin: left bottom;
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.envelope-flap-right {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 64%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  transform-origin: right bottom;
  transition: transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.envelope-script {
  position: absolute;
  top: 4.15rem;
  left: 50%;
  z-index: 3;
  width: 100%;
  margin: 0;
  font-family: "Marck Script", cursive;
  font-size: 2.22rem;
  line-height: 1.24;
  color: rgba(39, 45, 30, 0.78);
  transform: translateX(-50%);
}

.seal-button {
  position: absolute;
  top: 61%;
  left: 50%;
  z-index: 4;
  display: grid;
  width: 5.15rem;
  height: 5.15rem;
  place-items: center;
  color: rgba(235, 228, 209, 0.95);
  cursor: pointer;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.22), transparent 16%),
    radial-gradient(circle at 50% 50%, #66704a 0 50%, #3e472d 72%, #29311f 100%);
  border: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.35rem rgba(27, 31, 19, 0.16),
    inset 0 -0.6rem 1rem rgba(12, 16, 9, 0.18),
    0 18px 32px rgba(27, 31, 19, 0.28);
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.seal-button svg {
  width: 3rem;
  height: 3rem;
  fill: none;
  stroke: rgba(245, 238, 216, 0.95);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.seal-button:hover {
  box-shadow:
    inset 0 0 0 0.35rem rgba(27, 31, 19, 0.16),
    inset 0 -0.6rem 1rem rgba(12, 16, 9, 0.18),
    0 20px 36px rgba(27, 31, 19, 0.34);
  transform: translate(-50%, -50%) scale(1.04);
}

.envelope-hint {
  position: relative;
  z-index: 3;
  width: min(100%, 20rem);
  margin: 1.2rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(39, 45, 30, 0.64);
  text-wrap: balance;
}

body:not(.invite-opened) .hero .script-line,
body:not(.invite-opened) .hero-copy,
body:not(.invite-opened) .hero-seal,
body:not(.invite-opened) .scroll-cue {
  opacity: 0;
  transform: translateY(1.2rem);
}

body.invite-opened .envelope-gate {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.invite-opened .envelope-card {
  opacity: 0;
  transform: translateY(4.6rem) scale(0.92);
}

body.invite-opened .opening-letter {
  opacity: 1;
  transform: translate(-50%, -9.6rem) scale(1);
}

body.invite-opened .envelope-flap-top {
  transform: rotateX(78deg);
}

body.invite-opened .envelope-flap-left {
  transform: rotate(-10deg) translateX(-2.5rem);
}

body.invite-opened .envelope-flap-right {
  transform: rotate(10deg) translateX(2.5rem);
}

body.invite-opened .hero .script-line,
body.invite-opened .hero-copy,
body.invite-opened .hero-seal,
body.invite-opened .scroll-cue {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease 0.35s, transform 0.7s ease 0.35s;
}

.hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 4.7rem 1.35rem 3rem;
  text-align: center;
  overflow: hidden;
  background: var(--olive-dark);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  z-index: 1;
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.68), transparent 8rem),
    radial-gradient(circle at 92% 62%, rgba(216, 194, 155, 0.42), transparent 9rem),
    linear-gradient(180deg, rgba(248, 245, 239, 0.56) 0%, rgba(248, 245, 239, 0.26) 38%, rgba(35, 39, 26, 0.18) 62%, rgba(20, 24, 15, 0.7) 100%);
}

.hero::after {
  z-index: 2;
  inset: 1rem;
  border: 1px solid rgba(248, 245, 239, 0.44);
}

.hero-frame {
  position: absolute;
  inset: 6.3rem 1.95rem 2.1rem;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(173, 137, 82, 0.4);
}

.hero-frame::before,
.hero-frame::after {
  position: absolute;
  width: 5.2rem;
  height: 1px;
  content: "";
  background: rgba(248, 245, 239, 0.7);
}

.hero-frame::before {
  top: 1.05rem;
  left: -1.2rem;
}

.hero-frame::after {
  right: -1.2rem;
  bottom: 1.05rem;
}

.script-line {
  margin: 0 auto 1.1rem;
  font-family: "Marck Script", cursive;
  font-size: 2.1rem;
  line-height: 1;
  color: #1f211b;
}

.hero .script-line {
  position: relative;
  z-index: 3;
  margin-top: 0.15rem;
  color: rgba(29, 31, 24, 0.92);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.72);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.3), rgba(248, 245, 239, 0.05) 45%, rgba(72, 80, 51, 0.28)),
    linear-gradient(180deg, rgba(248, 245, 239, 0.12), rgba(19, 22, 14, 0.42));
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.02) brightness(0.96);
  transform: scale(1.18);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: end;
  width: 100%;
  padding: 1.1rem 0 0.2rem;
  color: var(--milk);
}

.hero-copy::before {
  position: absolute;
  inset: -1rem -0.55rem -0.85rem;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.06), rgba(28, 32, 21, 0.32)),
    radial-gradient(ellipse at 50% 100%, rgba(21, 25, 16, 0.64), transparent 70%);
  border-top: 1px solid rgba(248, 245, 239, 0.36);
  backdrop-filter: blur(1.5px);
}

.guest-kicker,
.overline {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1,
.story h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 0.92;
  color: var(--olive-dark);
}

.hero h1 {
  display: grid;
  gap: 0;
  font-size: clamp(3.65rem, 14vw, 5.05rem);
  text-transform: uppercase;
  color: var(--milk);
  text-shadow: 0 10px 24px rgba(15, 18, 10, 0.46);
}

.hero h1 .amp {
  margin: -0.95rem 0 -0.85rem;
  font-family: "Marck Script", cursive;
  font-size: clamp(4.15rem, 15vw, 5.35rem);
  font-weight: 400;
  text-transform: none;
  color: rgba(226, 203, 158, 0.9);
  text-shadow: 0 8px 18px rgba(15, 18, 10, 0.32);
}

.date-line {
  margin: 0.9rem 0 0;
  font-family: "Marck Script", cursive;
  font-size: 2.35rem;
  line-height: 1;
  color: rgba(248, 245, 239, 0.96);
  text-shadow: 0 8px 20px rgba(15, 18, 10, 0.42);
}

.hero-seal {
  position: absolute;
  right: 2rem;
  bottom: 7.3rem;
  z-index: 3;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  color: rgba(248, 245, 239, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  line-height: 0.78;
  border: 1px solid rgba(248, 245, 239, 0.42);
  border-radius: 50%;
  background: rgba(72, 80, 51, 0.52);
  box-shadow: inset 0 0 0 0.25rem rgba(255, 255, 255, 0.06), 0 18px 28px rgba(14, 17, 9, 0.22);
  backdrop-filter: blur(10px);
}

.pearl {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, #fff 0 7%, #fbfbfb 10%, #dcd9d1 38%, #fff 56%, #b8b5ae 100%);
  box-shadow: inset -6px -8px 15px rgba(76, 72, 63, 0.12), 0 12px 18px rgba(42, 44, 34, 0.1);
  opacity: 0.94;
}

.pearl-one {
  top: 5.5rem;
  left: 2rem;
  width: 2.4rem;
  height: 2.4rem;
}

.pearl-two {
  top: 9rem;
  right: 2.8rem;
  width: 3.15rem;
  height: 3.15rem;
}

.pearl-three {
  right: 3.1rem;
  bottom: 12rem;
  width: 2.1rem;
  height: 2.1rem;
}

.scroll-cue {
  position: absolute;
  right: 1.5rem;
  bottom: 1.2rem;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--milk);
  background: var(--olive);
  border-radius: 50%;
  text-decoration: none;
}

.scroll-cue svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.invitation-band {
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(248, 245, 239, 0.86), rgba(248, 245, 239, 0.9)),
    url("assets/floral-pearls.jpg") center / cover;
}

.editorial-card,
.framed-panel {
  position: relative;
  z-index: 1;
  padding: 2.2rem 1.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(242, 238, 229, 0.91)),
    repeating-linear-gradient(90deg, rgba(72, 80, 51, 0.035) 0 1px, transparent 1px 6px);
  box-shadow: var(--shadow);
}

.intro-card {
  text-align: center;
}

.story h2 {
  font-size: 3.65rem;
}

.editorial-card p {
  margin: 1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.74;
  color: #4f5148;
}

.editorial-card .lead {
  margin-top: 1.5rem;
  font-family: "Marck Script", cursive;
  font-size: 2rem;
  line-height: 1.15;
  color: var(--olive);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.countdown span {
  display: grid;
  min-height: 4.6rem;
  place-items: center;
  padding: 0.65rem 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid rgba(72, 80, 51, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.44);
}

.countdown strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--olive-dark);
}

.location-band {
  display: block;
  min-height: auto;
  padding: 4.5rem 1.35rem;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.7), rgba(36, 41, 27, 0.7)),
    url("assets/lake-ceremony.jpg") center / cover;
}

.framed-panel {
  width: calc(100% - 2.7rem);
  margin: 0 auto;
  text-align: center;
  border: 3px double rgba(72, 80, 51, 0.65);
  box-shadow: none;
}

.location-panel {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(240, 235, 224, 0.84)),
    repeating-linear-gradient(90deg, rgba(72, 80, 51, 0.035) 0 1px, transparent 1px 7px);
  backdrop-filter: blur(10px);
}

.framed-panel h2 {
  font-size: 4.2rem;
  text-transform: uppercase;
}

.muted,
.address {
  color: var(--muted);
}

.venue {
  margin: 0.35rem 0 0.35rem;
  font-size: 1.28rem;
  font-weight: 500;
}

.address {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.2rem;
  color: var(--olive);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(72, 80, 51, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
}

.button svg {
  width: 1.05rem;
  margin-right: 0.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.solid {
  color: var(--milk);
  background: var(--olive);
  border-color: var(--olive);
}

.button.ghost {
  color: var(--olive);
  background: rgba(255, 255, 255, 0.58);
}

.location-collage {
  position: relative;
  height: 32rem;
  margin: 2rem -0.2rem 0;
}

.location-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 0.45rem solid rgba(248, 245, 239, 0.78);
  border-radius: 3px;
  box-shadow: 0 24px 52px rgba(21, 25, 14, 0.24);
}

.location-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-main {
  top: 0;
  left: 0.35rem;
  width: 72%;
  height: 23.5rem;
}

.shot-one {
  top: 4.8rem;
  right: 0;
  width: 42%;
  height: 13rem;
}

.shot-two {
  right: 1.35rem;
  bottom: 3.7rem;
  width: 36%;
  height: 10.5rem;
}

.shot-three {
  bottom: 0.2rem;
  left: 2.2rem;
  width: 47%;
  height: 9rem;
}

.welcome-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.45rem;
  width: min(100%, 25rem);
  margin: -3.4rem auto 0;
  padding: 1.25rem 1.2rem;
  text-align: center;
  color: var(--milk);
  border: 1px solid rgba(248, 245, 239, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.18), transparent 8rem),
    rgba(55, 62, 39, 0.88);
  box-shadow: 0 18px 42px rgba(21, 25, 14, 0.28);
  backdrop-filter: blur(10px);
}

.welcome-card p {
  margin: 0;
  font-family: "Marck Script", cursive;
  font-size: 2.05rem;
  line-height: 1;
}

.welcome-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 0.85;
}

.welcome-card span {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(248, 245, 239, 0.76);
}

.map-frame {
  display: block;
  width: 100%;
  height: 16.5rem;
  margin-top: 1.35rem;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(21, 25, 14, 0.22);
  filter: saturate(0.72) contrast(0.96);
}

.timing-band {
  display: grid;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(33, 38, 24, 0.72), rgba(33, 38, 24, 0.82)),
    url("assets/champagne-flowers.jpg") center / cover;
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.timing-band .section-heading {
  width: min(100%, 26rem);
  margin-inline: auto;
  padding: 1.25rem 1rem 1.1rem;
  color: var(--milk);
  border: 1px solid rgba(248, 245, 239, 0.25);
  border-radius: 8px;
  background: rgba(248, 245, 239, 0.08);
  backdrop-filter: blur(12px);
}

.timing-band h2 {
  color: var(--milk);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 0.55rem;
  bottom: 0.55rem;
  left: 5.7rem;
  width: 1px;
  content: "";
  background: rgba(248, 245, 239, 0.28);
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  align-items: start;
  min-height: 4.5rem;
  padding: 0.95rem 1rem 0.95rem 0;
  border: 1px solid rgba(248, 245, 239, 0.18);
  border-radius: 8px;
  background: rgba(248, 245, 239, 0.1);
  backdrop-filter: blur(10px);
}

.timeline li::before {
  position: absolute;
  top: 0.5rem;
  left: 5.42rem;
  width: 0.6rem;
  height: 0.6rem;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0.38rem rgba(248, 245, 239, 0.16);
}

.timeline time {
  font-family: "Marck Script", cursive;
  font-size: 2rem;
  line-height: 1;
  color: rgba(248, 245, 239, 0.96);
  text-align: right;
}

.timeline span {
  display: block;
  padding-top: 0.1rem;
  font-size: 0.96rem;
  line-height: 1.55;
  color: rgba(248, 245, 239, 0.82);
}

.dress-band {
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(72, 80, 51, 0.66), rgba(72, 80, 51, 0.72)),
    url("assets/lake-ceremony.jpg") center / cover;
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin: 1.45rem 0 0.8rem;
}

.swatches span {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(62, 63, 55, 0.13);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 0.24rem rgba(255, 255, 255, 0.18);
}

.fabric-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  align-items: start;
  margin-top: 1.55rem;
}

.fabric-swatches figure {
  min-width: 0;
  margin: 0;
}

.fabric-swatches img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(62, 63, 55, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 0.25rem rgba(255, 255, 255, 0.18),
    0 10px 20px rgba(31, 35, 22, 0.1);
}

.fabric-swatches figure:nth-child(1) img {
  filter: saturate(0.98) brightness(0.96);
}

.fabric-swatches figure:nth-child(3) img {
  filter: saturate(0.95) brightness(1.03);
}

.fabric-swatches figcaption {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  line-height: 1.2;
  color: rgba(79, 81, 72, 0.76);
  text-align: center;
}

.editorial-card .small-note {
  font-size: 0.88rem;
  color: #66675c;
}

.details-band {
  display: grid;
  align-items: center;
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.42), rgba(31, 36, 22, 0.72)),
    url("assets/champagne-setup.jpg") center / cover;
}

.silk-ribbon {
  position: absolute;
  top: 2.7rem;
  right: -3.6rem;
  z-index: 0;
  width: 14rem;
  height: 18rem;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.1), rgba(28, 32, 21, 0.12)),
    url("assets/pearls.jpg") center / cover;
  border: 0.45rem solid rgba(248, 245, 239, 0.64);
  border-radius: 3px;
  box-shadow: 0 22px 52px rgba(21, 25, 14, 0.25);
  opacity: 0.86;
  transform: rotate(8deg);
}

.detail-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  padding: 2rem 1.25rem;
  border: 1px solid rgba(248, 245, 239, 0.34);
  border-radius: 8px;
  background: rgba(248, 245, 239, 0.86);
  box-shadow: 0 22px 56px rgba(21, 25, 14, 0.28);
  backdrop-filter: blur(12px);
}

.detail-list .overline {
  color: var(--gold);
}

.detail-list section {
  padding: 1.05rem 0 1.05rem 1rem;
  border-left: 1px solid rgba(72, 80, 51, 0.28);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent);
}

.detail-list h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--olive-dark);
}

.detail-list p {
  margin: 0.45rem 0 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #55564b;
}

.rsvp-band {
  display: grid;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.84), rgba(231, 223, 210, 0.9)),
    url("assets/floral-pearls.jpg") center / cover;
}

.rsvp-card {
  text-align: left;
}

.rsvp-card h2 {
  margin-bottom: 1.35rem;
  text-align: center;
}

.rsvp-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span,
.choice-group legend,
.check-list legend {
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--olive-dark);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  border: 1px solid rgba(72, 80, 51, 0.22);
  border-radius: 6px;
  outline: none;
  background: rgba(255, 255, 255, 0.58);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(72, 80, 51, 0.1);
}

.choice-group,
.check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-group label,
.check-list label {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  color: #4f5148;
  border: 1px solid rgba(72, 80, 51, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.42);
}

.choice-group input,
.check-list input {
  accent-color: var(--olive);
  margin-right: 0.55rem;
}

.choice-group.compact {
  grid-template-columns: repeat(3, 1fr);
}

.choice-group.compact legend {
  grid-column: 1 / -1;
}

.choice-group.compact label {
  justify-content: center;
  min-height: 3rem;
  padding-inline: 0.45rem;
  text-align: center;
}

.choice-group.compact input {
  margin-right: 0.35rem;
}

.submit-button {
  width: 100%;
  margin-top: 0.3rem;
}

.rsvp-result {
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid rgba(72, 80, 51, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.48);
}

.rsvp-result p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.contacts-band {
  display: grid;
  min-height: 80svh;
  align-content: center;
  text-align: center;
  color: var(--milk);
  background:
    linear-gradient(180deg, rgba(37, 42, 27, 0.86), rgba(37, 42, 27, 0.88)),
    url("assets/floral-pearls.jpg") center / cover;
}

.contacts-band .script-line {
  color: rgba(248, 245, 239, 0.92);
}

.contacts-band h2 {
  color: var(--milk);
  font-size: 3.5rem;
}

.contacts-band > p:not(.script-line) {
  margin: 1rem 0 2rem;
  font-family: "Marck Script", cursive;
  font-size: 2rem;
}

.contact-card {
  width: min(100%, 22rem);
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(248, 245, 239, 0.24);
  border-radius: 8px;
  background: rgba(248, 245, 239, 0.08);
  backdrop-filter: blur(12px);
}

.contact-card p {
  margin: 0;
  color: rgba(248, 245, 239, 0.72);
}

.contact-card strong,
.contact-card a {
  display: block;
  margin-top: 0.4rem;
}

.contact-card a {
  text-decoration: none;
}

@media (max-width: 390px) {
  .story {
    padding-inline: 1rem;
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero h1 .amp {
    font-size: 4.15rem;
  }

  .story h2 {
    font-size: 3.05rem;
  }

  .framed-panel h2 {
    font-size: 3.55rem;
  }

  .choice-group.compact {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 700px) {
  .invite-shell {
    margin-block: 2rem;
    border-radius: 18px;
  }
}
