:root {
  --ink: #24372f;
  --forest: #314b3f;
  --sage: #718779;
  --gold: #b59255;
  --gold-light: #d9c49a;
  --ivory: #faf6ee;
  --cream: #f2eadc;
  --blush: #ddc6b8;
  --white: #fffdf8;
  --serif: "Italiana", "Times New Roman", serif;
  --script: "Parisienne", "Brush Script MT", cursive;
  --sans: "Manrope", Arial, sans-serif;
  --shadow: 0 28px 80px rgba(58, 67, 59, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

body.is-locked {
  height: 100svh;
  overflow: hidden;
}

body::selection {
  color: var(--white);
  background: var(--sage);
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  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='.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .96) 0 16%, rgba(250, 246, 238, .78) 46%, transparent 70%),
    linear-gradient(145deg, #efe5d4, #fffdf8 52%, #e9e1d2);
  transition: opacity .9s ease, visibility .9s ease;
}

.welcome::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(181, 146, 85, .35);
  pointer-events: none;
}

.welcome.is-closing {
  opacity: 0;
  visibility: hidden;
}

.welcome-card {
  position: relative;
  z-index: 3;
  width: min(620px, 100%);
  text-align: center;
  animation: welcomeIn 1.15s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes welcomeIn {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.welcome-rings,
.welcome-rings i {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(181, 146, 85, .16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.welcome-rings {
  width: min(72vw, 720px);
  aspect-ratio: 1;
}

.welcome-rings i:nth-child(1) { width: 82%; height: 82%; }
.welcome-rings i:nth-child(2) { width: 108%; height: 108%; }
.welcome-rings i:nth-child(3) { width: 126%; height: 126%; }

.welcome-sprig {
  position: absolute;
  bottom: -130px;
  width: 270px;
  height: 650px;
  opacity: .27;
  border-left: 2px solid var(--sage);
  border-radius: 50%;
  transform: rotate(27deg);
}

.welcome-sprig::before,
.welcome-sprig::after {
  content: "";
  position: absolute;
  width: 75px;
  height: 145px;
  border: 1px solid var(--sage);
  border-radius: 100% 0 100% 0;
}

.welcome-sprig::before { top: 150px; left: -26px; transform: rotate(-30deg); }
.welcome-sprig::after { top: 310px; left: 18px; transform: rotate(35deg); }
.welcome-sprig-left { left: -70px; }
.welcome-sprig-right { right: -70px; transform: scaleX(-1) rotate(27deg); }

.welcome-kicker {
  margin: 0;
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.welcome-lotus {
  width: 72px;
  margin: 25px auto 12px;
  color: var(--gold);
  font-size: 17px;
}

.welcome-lotus::before,
.welcome-lotus::after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 1px;
  margin: 0 8px 5px;
  background: var(--gold-light);
}

.welcome h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(75px, 11vw, 128px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .62;
}

.welcome h2 i {
  z-index: 1;
  margin: -.08em 0 -.09em;
  color: var(--gold);
  font-family: var(--serif);
  font-size: .3em;
  font-style: normal;
  letter-spacing: 0;
}

.welcome-date {
  margin: 50px 0 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.open-button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
  padding: 17px 24px 17px 28px;
  color: var(--white);
  border: 1px solid var(--forest);
  background: var(--forest);
  box-shadow: 0 16px 40px rgba(49, 75, 63, .18);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s ease, background .3s ease, transform .3s ease;
}

.open-button:hover,
.open-button:focus-visible {
  color: var(--forest);
  background: rgba(255, 253, 248, .8);
  transform: translateY(-3px);
}

.open-button i {
  color: var(--gold-light);
  font-size: 15px;
  font-style: normal;
}

.welcome-note {
  display: flex;
  gap: 9px;
  justify-content: center;
  align-items: center;
  margin: 17px 0 0;
  color: #7f8d84;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.note-bars {
  display: flex;
  gap: 2px;
  align-items: end;
  height: 10px;
}

.note-bars i {
  display: block;
  width: 1px;
  height: 5px;
  background: var(--gold);
  animation: sound 1s ease-in-out infinite alternate;
}

.note-bars i:nth-child(2) { height: 9px; animation-delay: -.4s; }
.note-bars i:nth-child(3) { height: 6px; animation-delay: -.7s; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 86px;
  padding: 0 clamp(22px, 5vw, 82px);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.site-header.scrolled {
  height: 70px;
  background: rgba(250, 246, 238, 0.88);
  box-shadow: 0 8px 35px rgba(49, 75, 63, 0.07);
  backdrop-filter: blur(16px);
}

.monogram {
  justify-self: start;
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 22px;
  text-decoration: none;
}

.monogram i {
  width: 1px;
  height: 23px;
  background: var(--gold);
  transform: rotate(28deg);
}

.site-header nav {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
}

.site-header nav a {
  position: relative;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

.sound-toggle {
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 76px;
  padding: 9px 12px;
  color: var(--forest);
  border: 1px solid rgba(181, 146, 85, .35);
  background: rgba(255, 253, 248, .36);
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease;
}

.sound-toggle:hover {
  border-color: var(--gold);
  background: rgba(255, 253, 248, .72);
}

.sound-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sound-bars {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 14px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: var(--gold);
}

.sound-toggle[aria-pressed="true"] .sound-bars i {
  animation: sound 0.8s ease-in-out infinite alternate;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) {
  animation-delay: -0.35s;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) {
  animation-delay: -0.6s;
}

@keyframes sound {
  to { height: 14px; }
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 120px 22px 70px;
  overflow: hidden;
  min-width: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.97) 0 15%, rgba(250,246,238,.4) 48%, transparent 70%),
    linear-gradient(135deg, #f4eadc 0%, #fffdf7 48%, #ede6d5 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: min(55vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(181, 146, 85, 0.2);
  border-radius: 50%;
}

.hero::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
}

.hero::after {
  top: 50%;
  left: 50%;
  width: min(48vw, 625px);
  border-color: rgba(181, 146, 85, 0.1);
  transform: translate(-50%, -52%);
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 247, 223, 0.7);
  filter: blur(55px);
  transform: translate(-50%, -50%);
}

.botanical {
  position: absolute;
  bottom: -10%;
  left: -3%;
  width: clamp(250px, 33vw, 500px);
  color: rgba(69, 100, 82, 0.35);
  filter: drop-shadow(0 15px 25px rgba(45, 66, 54, 0.08));
  opacity: 0.82;
}

.botanical g[stroke] {
  stroke-width: 2.2;
}

.botanical-fill {
  fill: rgba(89, 120, 99, 0.16);
}

.botanical .flower {
  fill: rgba(255, 252, 243, 0.92);
  stroke: rgba(181, 146, 85, 0.45);
  stroke-width: 1.2;
}

.botanical .flower circle {
  fill: rgba(181, 146, 85, 0.55);
}

.botanical-right {
  right: -3%;
  left: auto;
  transform: scaleX(-1);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(850px, 100%);
  min-width: 0;
  text-align: center;
}

.eyebrow,
.section-label,
.card-label {
  margin: 0;
  color: var(--sage);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.lotus-mark {
  position: relative;
  display: flex;
  justify-content: center;
  width: 92px;
  height: 42px;
  margin: 25px auto 2px;
}

.lotus-mark span {
  position: absolute;
  bottom: 2px;
  width: 24px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 90% 0 90% 0;
  transform-origin: bottom;
}

.lotus-mark span:nth-child(1) { transform: rotate(-62deg); }
.lotus-mark span:nth-child(2) { transform: rotate(-31deg); }
.lotus-mark span:nth-child(3) { transform: rotate(0); }
.lotus-mark span:nth-child(4) { transform: rotate(31deg); }
.lotus-mark span:nth-child(5) { transform: rotate(62deg); }

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px 0 12px;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.61;
}

.hero h1 span:first-child {
  transform: translateX(-0.23em);
}

.hero h1 span:last-child {
  transform: translateX(0.23em);
}

.hero h1 b {
  z-index: 2;
  margin: -0.04em 0 -0.11em;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.31em;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-invitation {
  max-width: min(92vw, 620px);
  margin: 38px auto 32px;
  color: #68766e;
  font-family: var(--serif);
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.04em;
}

.hero-date {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(570px, 95%);
  margin: 0 auto;
  color: var(--forest);
  border-top: 1px solid rgba(181, 146, 85, 0.55);
  border-bottom: 1px solid rgba(181, 146, 85, 0.55);
}

.hero-date span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(9px, 1.2vw, 12px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-date strong {
  display: grid;
  place-items: center;
  min-width: 105px;
  min-height: 90px;
  color: var(--gold);
  border-right: 1px solid rgba(181, 146, 85, 0.35);
  border-left: 1px solid rgba(181, 146, 85, 0.35);
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  margin-top: 38px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(181, 146, 85, 0.25);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  55%, 100% { top: 100%; }
}

.invitation-section {
  position: relative;
  padding: clamp(100px, 13vw, 185px) clamp(22px, 8vw, 130px);
  background: var(--white);
  text-align: center;
}

.section-ornament {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 38px;
  color: var(--gold);
}

.section-ornament i {
  width: 42px;
  height: 1px;
  background: var(--gold-light);
}

.section-ornament span {
  font-size: 13px;
}

.script-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--script);
  font-size: clamp(27px, 4vw, 42px);
}

.invitation-copy h2,
.details-heading h2,
.countdown-content h2,
.rsvp-panel h2 {
  margin: 0;
  color: var(--forest);
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.invitation-copy > p:last-child {
  width: min(650px, 100%);
  margin: 30px auto 0;
  color: #66726c;
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.8;
}

.families {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 45px;
  align-items: center;
  width: min(970px, 100%);
  margin: clamp(70px, 9vw, 115px) auto 0;
}

.families article {
  padding: 32px 20px;
  border-top: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}

.families article span {
  color: var(--sage);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.families h3 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 400;
}

.family-seal {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  width: 96px;
  height: 96px;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  font-family: var(--serif);
  line-height: 0.6;
}

.family-seal span {
  font-size: 23px;
}

.family-seal i {
  font-family: var(--script);
  font-size: 18px;
}

.details-section {
  position: relative;
  padding: clamp(100px, 12vw, 170px) clamp(22px, 6vw, 100px);
  overflow: hidden;
  background: #e9e1d2;
}

.details-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background:
    linear-gradient(rgba(235, 226, 209, .92), rgba(235, 226, 209, .92)),
    radial-gradient(circle at 15% 20%, #fff 0 3%, transparent 3.5%),
    radial-gradient(circle at 83% 78%, #d3b78b 0 4%, transparent 4.5%);
}

.details-backdrop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, rgba(181,146,85,.28), transparent);
}

.details-heading {
  position: relative;
  text-align: center;
}

.details-heading .section-label,
.countdown-content .section-label {
  margin-bottom: 17px;
  color: var(--gold);
}

.details-heading > p:last-child {
  margin: 19px 0 0;
  color: #6f756d;
  font-family: var(--serif);
  font-size: 18px;
}

.details-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1180px, 100%);
  margin: 70px auto 0;
}

.detail-card {
  position: relative;
  min-height: 410px;
  padding: 52px 30px 38px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 18px 55px rgba(67, 75, 65, 0.07);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.detail-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.detail-card.featured {
  background: var(--forest);
  color: var(--white);
}

.card-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 12px;
}

.detail-icon {
  position: relative;
  width: 55px;
  height: 55px;
  margin: 0 auto 34px;
  color: var(--gold);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.calendar-icon::before,
.calendar-icon::after {
  content: "";
  position: absolute;
  left: 15px;
  width: 23px;
}

.calendar-icon::before {
  top: 17px;
  height: 20px;
  border: 1px solid currentColor;
}

.calendar-icon::after {
  top: 23px;
  border-top: 1px solid currentColor;
}

.sun-icon::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 19px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 -12px 0 -9px currentColor, 0 12px 0 -9px currentColor, 12px 0 0 -9px currentColor, -12px 0 0 -9px currentColor;
}

.pin-icon::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 18px;
  width: 17px;
  height: 23px;
  border: 1px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin-icon::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 25px;
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.detail-card .card-label {
  margin-bottom: 16px;
  color: var(--gold);
}

.detail-card h3 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.35;
}

.detail-card.featured h3 {
  color: var(--white);
}

.text-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 4px 0;
  color: var(--forest);
  border: 0;
  border-bottom: 1px solid var(--gold-light);
  background: transparent;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.text-button span {
  color: var(--gold);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.text-button:hover span {
  transform: translate(3px, -3px);
}

.card-note {
  color: #c7d1ca;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.countdown-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
  padding: 100px 22px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(28, 52, 42, .93), rgba(28, 52, 42, .95)),
    radial-gradient(circle at center, #6d8878, #21382e);
}

.countdown-section::before,
.countdown-section::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(213, 189, 143, 0.13);
  border-radius: 50%;
}

.countdown-section::before { top: -340px; left: -180px; }
.countdown-section::after { right: -180px; bottom: -340px; }

.countdown-content {
  position: relative;
  z-index: 2;
  width: min(1000px, 100%);
  text-align: center;
}

.countdown-content h2 {
  color: var(--white);
}

.countdown {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: clamp(12px, 4vw, 45px);
  align-items: center;
  width: 100%;
  min-width: 0;
  margin-top: 75px;
}

.countdown div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.countdown strong {
  min-width: 1.8em;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(45px, 8vw, 94px);
  font-weight: 400;
  line-height: 1;
}

.countdown span {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.countdown > i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 11px 0 var(--gold);
}

.rsvp-section {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 770px;
  padding: 100px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.85), transparent 58%),
    var(--cream);
}

.rsvp-panel {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: clamp(48px, 8vw, 90px) clamp(25px, 7vw, 80px);
  border: 1px solid var(--gold-light);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(8px);
}

.rsvp-panel::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(181, 146, 85, 0.25);
  pointer-events: none;
}

.rsvp-panel > p:not(.script-kicker) {
  width: min(530px, 100%);
  margin: 23px auto 35px;
  color: #66726c;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(530px, 100%);
  margin: 0 auto;
}

.contact-actions a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  color: var(--forest);
  border: 1px solid rgba(181, 146, 85, 0.35);
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.contact-actions a:hover {
  color: var(--white);
  background: var(--forest);
  transform: translateY(-3px);
}

.contact-actions span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-actions strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.contact-actions small {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.rsvp-flower {
  position: absolute;
  color: rgba(181, 146, 85, 0.2);
  font-size: 330px;
  line-height: 1;
}

.flower-one { top: -80px; left: -50px; transform: rotate(-18deg); }
.flower-two { right: -55px; bottom: -100px; transform: rotate(20deg); }

footer {
  padding: 60px 20px;
  color: var(--white);
  background: #1f332b;
  text-align: center;
}

.footer-monogram {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 29px;
}

.footer-monogram span {
  padding: 0 7px;
  font-family: var(--script);
}

footer p {
  margin: 14px 0 12px;
  color: #cbd2cd;
  font-family: var(--serif);
  font-size: 15px;
}

footer small {
  color: var(--gold-light);
  font-size: 8px;
  letter-spacing: 0.34em;
}

.music-credit {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 22px auto 0;
  color: #98a49e;
  font-size: 8px;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .25s ease;
}

.music-credit:hover {
  color: var(--gold-light);
}

.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  z-index: 60;
  padding: 12px 20px;
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .3s ease, transform .3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.details-grid .reveal:nth-child(2) { transition-delay: .13s; }
.details-grid .reveal:nth-child(3) { transition-delay: .26s; }

.petal {
  position: absolute;
  z-index: 2;
  top: -30px;
  width: 8px;
  height: 13px;
  border-radius: 90% 10% 90% 10%;
  background: rgba(221, 198, 184, .62);
  pointer-events: none;
  animation: falling linear forwards;
}

@keyframes falling {
  to { transform: translate3d(var(--drift), 110vh, 0) rotate(520deg); opacity: 0; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .botanical { width: 44vw; opacity: .55; }
  .hero::before { width: 82vw; }
  .hero::after { width: 72vw; }
  .families { grid-template-columns: 1fr; gap: 20px; }
  .family-seal { margin: 0 auto; }
  .details-grid { grid-template-columns: 1fr; width: min(480px, 100%); }
  .detail-card { min-height: 350px; }
}

@media (max-width: 560px) {
  .welcome { padding: 24px 22px; }
  .welcome::after { inset: 8px; }
  .welcome-rings { width: 118vw; }
  .welcome h2 { font-size: clamp(72px, 25vw, 103px); line-height: .69; }
  .welcome-date { margin-top: 38px; font-size: 12px; letter-spacing: .17em; }
  .welcome-sprig { opacity: .17; }
  .site-header {
    height: calc(68px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 18px 0;
  }
  .sound-toggle { min-width: 42px; padding: 9px 11px; }
  .sound-label { display: none; }
  .hero { min-height: 900px; padding-top: 95px; }
  .hero h1 { font-size: clamp(74px, 25vw, 110px); line-height: .7; }
  .hero h1 span:first-child,
  .hero h1 span:last-child { transform: none; }
  .hero h1 b { margin: -.05em 0 -.03em; }
  .hero-date { width: 100%; }
  .hero-date strong { min-width: 78px; min-height: 78px; font-size: 40px; }
  .hero-invitation { max-width: 285px; line-height: 1.55; }
  .hero-date span { padding: 0 5px; font-size: 7px; letter-spacing: .08em; line-height: 1.5; }
  .hero-date span:last-child { width: 100%; max-width: 90px; justify-self: center; }
  .botanical { bottom: -1%; width: 58vw; }
  .invitation-section,
  .details-section { padding-right: 18px; padding-left: 18px; }
  .families article { padding: 25px 10px; }
  .countdown-section {
    min-height: 690px;
    padding: 92px 18px;
  }
  .countdown-content h2 {
    max-width: 310px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.12;
  }
  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: min(320px, 100%);
    margin: 48px auto 0;
    border-top: 1px solid rgba(217, 196, 154, .22);
    border-bottom: 1px solid rgba(217, 196, 154, .22);
  }
  .countdown div {
    min-height: 124px;
    padding: 25px 8px;
    justify-content: center;
  }
  .countdown div:nth-of-type(even) {
    border-left: 1px solid rgba(217, 196, 154, .22);
  }
  .countdown div:nth-of-type(n + 3) {
    border-top: 1px solid rgba(217, 196, 154, .22);
  }
  .countdown strong {
    min-width: 0;
    font-size: clamp(42px, 14vw, 58px);
  }
  .countdown span { font-size: 7px; letter-spacing: .17em; }
  .countdown > i { display: none; }
  .contact-actions { grid-template-columns: 1fr; }
  .rsvp-panel { padding: 55px 23px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .petals { display: none; }
}
