:root {
  --olive-950: #20230f;
  --olive-900: #2c3015;
  --olive-800: #3a3f1b;
  --olive-700: #53592a;
  --olive-500: #7f8745;
  --pistachio: #b8c273;
  --pistachio-soft: #dce2b4;
  --fuchsia: #8b234f;
  --fuchsia-bright: #bd3f6c;
  --coral: #d97b67;
  --champagne: #c5a466;
  --gold: #a9823e;
  --cream: #f5eddf;
  --cream-deep: #e8d8c1;
  --paper: #fffaf0;
  --paper-warm: #f8efe0;
  --ink: #2d2c24;
  --ink-soft: #696457;
  --serif: "Bodoni 72", Didot, "Baskerville", "Times New Roman", serif;
  --body: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --script: "Bickham Script Pro 3", "Edwardian Script ITC", "Monotype Corsiva", cursive;
  --shadow-soft: 0 24px 70px rgba(27, 30, 12, 0.16);
  --shadow-paper: 0 16px 42px rgba(40, 34, 18, 0.16);
  --rule: 1px solid rgba(169, 130, 62, 0.42);
  --section-width: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper-warm);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.entry-active {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.25em;
}

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

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

::selection {
  color: var(--paper);
  background: var(--fuchsia);
}

:focus-visible {
  outline: 3px solid var(--fuchsia-bright);
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--olive-950);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Invitation opening */

.entry {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(14px, 3vw, 34px);
  background:
    radial-gradient(circle at 8% 4%, rgba(186, 196, 109, 0.25), transparent 32%),
    radial-gradient(circle at 95% 92%, rgba(139, 35, 79, 0.2), transparent 27%),
    var(--olive-950);
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition: none;
}

.entry::before,
.entry::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 48vw;
  height: 160vh;
  top: -30vh;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.38;
  pointer-events: none;
}

.entry::before {
  left: -18vw;
  background: linear-gradient(95deg, transparent 20%, rgba(255, 255, 255, 0.18) 52%, transparent 74%);
  transform: rotate(-13deg);
}

.entry::after {
  right: -22vw;
  background: linear-gradient(80deg, transparent 28%, rgba(197, 164, 102, 0.13) 54%, transparent 75%);
  transform: rotate(18deg);
}

.entry.is-opening .entry__scene {
  transform: translateY(-1.8vh) scale(1.025);
}

.entry.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry[hidden] {
  display: none;
}

.entry__scene {
  position: relative;
  width: min(71vw, 760px);
  height: min(88vh, 900px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 2px;
  color: var(--paper);
  background:
    linear-gradient(rgba(38, 43, 18, 0.27), rgba(26, 30, 12, 0.38)),
    url("./images/intro-satin-texture-v2.png") center / cover no-repeat,
    var(--olive-900);
  box-shadow: 0 38px 90px rgba(7, 9, 3, 0.42), 0 0 0 8px rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transform: scale(1);
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 700ms ease;
}

.entry__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.14) 45%, transparent 63%);
  transform: translateX(-120%);
  animation: invitation-glint 5.5s 1.3s ease-in-out infinite;
  pointer-events: none;
}

.entry__scene:hover {
  transform: translateY(-6px) scale(1.006);
  box-shadow: 0 46px 110px rgba(7, 9, 3, 0.48), 0 0 0 8px rgba(255, 255, 255, 0.035);
}

.entry__envelope {
  position: absolute;
  z-index: 5;
  top: 52%;
  left: 50%;
  width: min(79%, 650px);
  aspect-ratio: 1.55;
  filter: drop-shadow(0 24px 30px rgba(28, 24, 12, 0.3));
  perspective: 1200px;
  transform: translate(-50%, -50%);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry__envelope-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(129, 97, 51, 0.35);
  border-radius: 3px;
  background:
    repeating-linear-gradient(115deg, rgba(156, 118, 67, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #f1dfc7, #d8ba91);
}

.entry__card {
  position: absolute;
  z-index: 0;
  top: 18%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82%;
  aspect-ratio: 1.48;
  padding: 8% 7%;
  border: 1px solid rgba(169, 130, 62, 0.34);
  color: var(--olive-900);
  background:
    repeating-linear-gradient(98deg, rgba(169, 130, 62, 0.035) 0 1px, transparent 1px 4px),
    var(--paper);
  box-shadow: 0 10px 30px rgba(48, 36, 18, 0.16);
  transform: translate(-50%, -5%);
  text-align: center;
}

.entry__card::before {
  content: "";
  position: absolute;
  inset: 4.5%;
  border: 1px solid rgba(169, 130, 62, 0.32);
  pointer-events: none;
}

.entry__card > small {
  color: var(--fuchsia);
  font-size: clamp(0.48rem, 1.1vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.entry__card > strong {
  margin: 0.04em 0 -0.02em;
  color: var(--olive-900);
  font-family: var(--script);
  font-size: clamp(2.35rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 0.9;
}

.entry__card > span {
  color: var(--olive-800);
  font-family: var(--serif);
  font-size: clamp(0.8rem, 2vw, 1.4rem);
  letter-spacing: 0.04em;
}

.entry__card > span i {
  margin-inline: 0.3em;
  color: var(--gold);
  font-family: var(--script);
  font-size: 1.25em;
  font-style: normal;
}

.entry__card > em {
  margin-top: 0.45em;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(0.55rem, 1.3vw, 0.82rem);
  font-style: normal;
  letter-spacing: 0.2em;
}

.entry__pocket {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 68%;
  border: 1px solid rgba(129, 97, 51, 0.28);
  border-top: 0;
  border-radius: 0 0 3px 3px;
  background:
    repeating-linear-gradient(115deg, rgba(156, 118, 67, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(155deg, #eedbc2 0%, #d8b98e 100%);
  clip-path: polygon(0 0, 50% 43%, 100% 0, 100% 100%, 0 100%);
}

.entry__pocket::before,
.entry__pocket::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 51%;
  height: 100%;
  opacity: 0.45;
}

.entry__pocket::before {
  left: 0;
  background: linear-gradient(35deg, rgba(169, 130, 62, 0.2), transparent 65%);
}

.entry__pocket::after {
  right: 0;
  background: linear-gradient(-35deg, rgba(169, 130, 62, 0.2), transparent 65%);
}

.entry__flap {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  height: 73%;
  border-top: 1px solid rgba(129, 97, 51, 0.28);
  background:
    repeating-linear-gradient(115deg, rgba(156, 118, 67, 0.035) 0 1px, transparent 1px 5px),
    linear-gradient(160deg, #f7ead9 0%, #d5b285 100%);
  backface-visibility: hidden;
  clip-path: polygon(0 0, 100% 0, 50% 84%);
  filter: drop-shadow(0 3px 2px rgba(101, 72, 36, 0.32));
  transform: rotateX(0deg);
  transform-origin: top center;
}

.entry__seal {
  position: absolute;
  z-index: 7;
  top: 49%;
  left: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: clamp(58px, 8vw, 78px);
  height: clamp(58px, 8vw, 78px);
  border: 4px double rgba(255, 250, 240, 0.52);
  border-radius: 50%;
  color: var(--paper);
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.26), transparent 30%),
    var(--fuchsia);
  box-shadow: 0 8px 20px rgba(71, 22, 40, 0.28);
  font-family: var(--serif);
  font-size: clamp(0.92rem, 2vw, 1.3rem);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.entry__seal span {
  margin-inline: 0.15em;
  color: var(--pistachio-soft);
  font-family: var(--script);
  font-size: 1.2em;
}

.entry.is-opening .entry__flap {
  animation: envelope-open 760ms cubic-bezier(0.55, 0.08, 0.32, 1) forwards;
}

.entry.is-opening .entry__seal {
  animation: seal-break 420ms ease-in forwards;
}

.entry.is-opening .entry__card {
  animation: invitation-rise 1.45s 640ms cubic-bezier(0.2, 0.9, 0.22, 1) forwards;
}

.entry.is-opening .entry__envelope {
  transform: translate(-50%, -43%);
}

.entry.is-opening .entry__prompt {
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
}

.entry__prompt {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(20px, 4vh, 46px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 24px;
  width: min(84%, 500px);
  padding: 18px 21px;
  border: 1px solid rgba(255, 250, 240, 0.5);
  color: var(--paper);
  background: rgba(32, 35, 15, 0.72);
  box-shadow: 0 10px 32px rgba(17, 18, 8, 0.22);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  text-align: left;
  transition: opacity 260ms ease, transform 460ms ease;
}

.entry__prompt small {
  grid-column: 1;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.82;
}

.entry__prompt strong {
  grid-column: 1;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.025em;
}

.entry__prompt i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 250, 240, 0.56);
  border-radius: 50%;
  font-style: normal;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.entry__scene:hover .entry__prompt i {
  color: var(--olive-950);
  background: var(--paper);
  transform: rotate(45deg);
}

.entry__skip {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 26px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.45);
  color: rgba(255, 250, 240, 0.88);
  background: transparent;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

@keyframes invitation-glint {
  0%, 42% { transform: translateX(-120%); }
  65%, 100% { transform: translateX(120%); }
}

@keyframes envelope-open {
  0% { transform: rotateX(0deg); }
  58% { transform: rotateX(-112deg); }
  100% { z-index: 1; transform: rotateX(-180deg); }
}

@keyframes seal-break {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
  45% { opacity: 1; transform: translate(-50%, -50%) rotate(6deg) scale(1.08); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-18deg) scale(0.28); }
}

@keyframes invitation-rise {
  0%, 12% { z-index: 0; transform: translate(-50%, -5%); }
  13% { z-index: 2; transform: translate(-50%, -5%); }
  72% { transform: translate(-50%, -82%) scale(1.018); }
  100% { z-index: 2; transform: translate(-50%, -76%) scale(1.01); }
}

@keyframes invitation-breathe {
  from { transform: scale(1.018); }
  to { transform: scale(1.055); }
}

/* Exact photographed invitation layers */

.entry__scene {
  width: min(71vw, 760px, 66svh);
  height: auto;
  aspect-ratio: 1086 / 1448;
  background: var(--olive-950);
  transition: none;
}

.entry__scene::after {
  z-index: 5;
  background: none;
  box-shadow: none;
  transform: none;
  animation: none;
}

.entry__scene:disabled {
  color: inherit;
  cursor: default;
}

.entry__scene:not(:disabled):hover {
  transform: none;
  box-shadow: 0 38px 90px rgba(7, 9, 3, 0.42), 0 0 0 8px rgba(255, 255, 255, 0.025);
}

.entry__art,
.entry__art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.entry__art {
  z-index: 1;
  display: block;
  overflow: hidden;
  background: var(--olive-900);
}

.entry__art > img {
  display: block;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.entry__art-photo {
  z-index: 1;
}

.entry__prompt {
  z-index: 7;
  bottom: clamp(16px, 3vh, 34px);
  row-gap: 5px;
  background: rgba(32, 35, 15, 0.78);
  transition: none;
}

.entry__prompt small {
  font-family: var(--serif);
  font-size: clamp(0.72rem, 1.35vw, 0.9rem);
  letter-spacing: 0.08em;
  text-transform: none;
}

.entry__prompt strong {
  max-width: 390px;
  line-height: 1.18;
}

.entry__prompt em {
  grid-column: 1;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.6rem;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.entry__prompt i {
  grid-row: 1 / 4;
}


.entry__scene:hover .entry__prompt i {
  color: inherit;
  background: transparent;
  transform: none;
  transition: none;
}

/* Header and shared type */

.ed-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(169, 130, 62, 0.25);
  background: rgba(255, 250, 240, 0.92);
  box-shadow: 0 3px 20px rgba(43, 44, 21, 0.04);
  backdrop-filter: blur(18px);
}

.ed-monogram {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  min-width: 0;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
  text-decoration: none;
}

.ed-monogram__letter:first-child {
  margin-right: -0.38em;
}

.ed-monogram__letter {
  text-align: inherit;
}

.ed-monogram__amp {
  color: var(--gold);
  font-family: var(--script);
  font-size: 1.25em;
}

.ed-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
}

.ed-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.ed-nav a:not(.ed-nav__rsvp)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--fuchsia);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.ed-nav a:not(.ed-nav__rsvp):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.ed-nav__rsvp {
  padding: 10px 19px;
  border: 1px solid var(--olive-800);
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.ed-nav__rsvp:hover {
  color: var(--paper);
  background: var(--olive-900);
}

.ed-menu-toggle {
  display: none;
}

.ed-kicker {
  margin: 0 0 10px;
  color: var(--fuchsia);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ed-section {
  position: relative;
  padding: clamp(88px, 10vw, 150px) max(20px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.ed-section-heading {
  max-width: 720px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.ed-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ed-section-heading h2,
.ed-menu__copy h2,
.ed-story__copy h2,
.ed-closing h2 {
  margin: 0 0 22px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: clamp(2.65rem, 6vw, 5.35rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.ed-section-heading h2 em,
.ed-menu__copy h2 em,
.ed-story__copy h2 em,
.ed-closing h2 em {
  color: var(--fuchsia);
  font-family: var(--script);
  font-size: 1.18em;
  font-weight: 400;
  letter-spacing: 0;
}

.ed-section-heading > p:last-child,
.ed-menu__copy > p,
.ed-story__intro {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.ed-section-heading--center > p:last-child {
  margin-inline: auto;
}

.ed-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.ed-button:hover {
  transform: translateY(-2px);
}

.ed-button--dark {
  color: var(--paper);
  background: var(--olive-900);
  border-color: var(--olive-900);
}

.ed-button--dark:hover {
  background: var(--fuchsia);
  border-color: var(--fuchsia);
}

.ed-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--olive-800);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.ed-text-link span {
  color: var(--fuchsia);
}

/* Hero */

.ed-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  min-height: calc(100svh - 76px);
  background: var(--cream);
}

.ed-hero__art {
  position: relative;
  min-height: 760px;
  margin: 0;
  overflow: hidden;
  background: var(--olive-800);
}

.ed-hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 18px solid rgba(255, 250, 240, 0.08);
  pointer-events: none;
}

.ed-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  animation:
    hero-art-arrive 1.6s cubic-bezier(0.22, 1, 0.36, 1) both,
    hero-art-drift 12s 1.6s ease-in-out infinite alternate;
}

.ed-hero__petals {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ed-hero__petals i {
  position: absolute;
  top: -12%;
  left: var(--x);
  width: clamp(7px, 0.8vw, 11px);
  height: clamp(12px, 1.25vw, 18px);
  border-radius: 80% 12% 72% 30%;
  background: var(--petal);
  box-shadow: 0 2px 7px rgba(32, 35, 15, 0.16);
  opacity: 0.58;
  animation: hero-petal-fall var(--duration) var(--delay) linear infinite;
}

.ed-hero__paper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(66px, 8vw, 126px) clamp(34px, 7vw, 104px);
  background:
    linear-gradient(rgba(255, 250, 240, 0.76), rgba(255, 250, 240, 0.76)),
    repeating-linear-gradient(90deg, rgba(169, 130, 62, 0.045) 0 1px, transparent 1px 5px),
    var(--paper);
  isolation: isolate;
}

.ed-hero__paper::before,
.ed-hero__paper::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-color: rgba(169, 130, 62, 0.38);
  pointer-events: none;
}

.ed-hero__paper::before {
  top: 34px;
  right: 34px;
  border-top: 1px solid;
  border-right: 1px solid;
}

.ed-hero__paper::after {
  bottom: 34px;
  left: 34px;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.ed-hero h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 4px 0 24px;
  color: var(--olive-900);
  font-family: var(--script);
  font-size: clamp(5rem, 8vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.62;
}

.ed-hero h1 span:last-child {
  margin-left: 0.62em;
}

.ed-hero h1 i {
  z-index: -1;
  align-self: center;
  margin: -0.04em 0 -0.11em;
  color: var(--champagne);
  font-family: var(--serif);
  font-size: 0.27em;
  font-style: normal;
  letter-spacing: 0;
}

.ed-hero__date {
  margin: 0 0 5px;
  color: var(--olive-800);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ed-hero__place {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ed-hero__intro {
  max-width: 440px;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

.ed-hero__invitee {
  display: grid;
  gap: 3px;
  margin: -8px 0 28px;
  padding: 13px 17px;
  border-left: 2px solid var(--fuchsia);
  color: var(--olive-800);
  background: rgba(184, 194, 115, 0.12);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ed-hero__invitee span {
  font-size: 0.62rem;
}

.ed-hero__invitee strong {
  color: var(--fuchsia);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 400;
  letter-spacing: 0.035em;
  text-transform: none;
}

@keyframes hero-art-arrive {
  from { opacity: 0; transform: scale(1.07) translateY(18px); }
  to { opacity: 1; transform: scale(1.035) translateY(0); }
}

@keyframes hero-art-drift {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-0.8%, -0.6%, 0); }
}

@keyframes hero-petal-fall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(0deg); }
  10% { opacity: 0.58; }
  88% { opacity: 0.46; }
  100% { opacity: 0; transform: translate3d(var(--drift), 118svh, 0) rotate(var(--turn)); }
}

.ed-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.ed-hero__deadline {
  margin: 21px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

/* Countdown */

.ed-countdown {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  padding: clamp(32px, 4vw, 50px) max(20px, calc((100vw - 1180px) / 2));
  color: var(--paper);
  background:
    linear-gradient(98deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--olive-900);
}

.ed-countdown__heading p:last-child {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.ed-countdown .ed-kicker {
  color: var(--pistachio-soft);
}

.ed-countdown__units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255, 250, 240, 0.18);
}

.ed-countdown__units > span {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0 8px;
}

.ed-countdown__units > span + span::before {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 1px;
  background: rgba(255, 250, 240, 0.16);
}

.ed-countdown b {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
}

.ed-countdown small {
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.64);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Events */

.ed-celebrations {
  background:
    radial-gradient(circle at 100% 0, rgba(184, 194, 115, 0.16), transparent 32%),
    var(--paper-warm);
}

.ed-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 38px);
}

.ed-event-card {
  position: relative;
  padding: clamp(34px, 5vw, 60px);
  overflow: hidden;
  border: 1px solid rgba(169, 130, 62, 0.32);
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}

.ed-event-card::before,
.ed-gift-card::before,
.ed-closing__paper::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(169, 130, 62, 0.2);
  pointer-events: none;
}

.ed-event-card--accent {
  color: var(--paper);
  border-color: var(--olive-900);
  background: var(--olive-900);
}

.ed-event-card--accent::before {
  border-color: rgba(255, 250, 240, 0.16);
}

.ed-event-card__number {
  position: absolute;
  top: 15px;
  right: 35px;
  margin: 0;
  color: rgba(169, 130, 62, 0.2);
  font-family: var(--serif);
  font-size: clamp(5rem, 9vw, 8rem);
  line-height: 1;
}

.ed-event-card--accent .ed-event-card__number {
  color: rgba(255, 250, 240, 0.08);
}

.ed-event-card h3 {
  position: relative;
  margin: 18px 0 32px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.65rem);
  font-weight: 400;
  line-height: 1.02;
}

.ed-event-card--accent h3 {
  color: var(--paper);
}

.ed-event-card dl {
  position: relative;
  margin: 0;
  border-top: var(--rule);
}

.ed-event-card dl > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: var(--rule);
}

.ed-event-card--accent dl,
.ed-event-card--accent dl > div {
  border-color: rgba(255, 250, 240, 0.17);
}

.ed-event-card dt {
  color: var(--fuchsia);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ed-event-card--accent dt {
  color: var(--pistachio-soft);
}

.ed-event-card dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.5;
}

.ed-event-card__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  margin-top: 28px;
}

.ed-event-card__actions a,
.ed-event-card__actions button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.ed-travel-note {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  width: min(900px, 100%);
  margin: 34px auto 0;
  padding: 24px 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}

.ed-travel-note span {
  color: var(--fuchsia);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ed-travel-note p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1rem;
}

/* Programme */

.ed-programme {
  color: var(--paper);
  background:
    radial-gradient(circle at 15% 25%, rgba(184, 194, 115, 0.14), transparent 28%),
    radial-gradient(circle at 85% 70%, rgba(139, 35, 79, 0.13), transparent 30%),
    var(--olive-950);
}

.ed-programme .ed-section-heading h2,
.ed-programme .ed-section-heading > p:last-child {
  color: var(--paper);
}

.ed-programme .ed-section-heading h2 em {
  color: var(--pistachio-soft);
}

.ed-programme .ed-kicker {
  color: var(--coral);
}

.ed-programme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 52px);
}

.ed-programme-card {
  display: grid;
  grid-template-rows: auto;
  min-width: 0;
}

.ed-programme-card figure {
  position: relative;
  margin: 0;
  padding: clamp(9px, 1.4vw, 15px);
  border: 1px solid rgba(255, 250, 240, 0.13);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 28px 70px rgba(6, 7, 3, 0.32);
}

.ed-programme-card figure img {
  width: 100%;
  aspect-ratio: 1086 / 1448;
  object-fit: contain;
}

.ed-programme-card__label {
  margin-top: 10px;
  padding: 14px 16px 10px;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.025em;
  text-align: center;
}

.ed-programme-card__copy {
  position: relative;
  margin: -4px 18px 0;
  padding: clamp(28px, 4vw, 44px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}

.ed-programme-card__copy h3 {
  margin: 0 0 22px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.ed-programme-card__note {
  margin: -6px 0 20px;
  padding: 12px 15px;
  border-left: 3px solid var(--fuchsia);
  color: var(--ink-soft);
  background: rgba(184, 194, 115, 0.13);
  font-size: 0.78rem;
  line-height: 1.55;
}

.ed-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 15px;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid rgba(169, 130, 62, 0.2);
}

.ed-timeline li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fuchsia);
}

.ed-timeline time {
  color: var(--olive-700);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.ed-timeline span {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Dress */

.ed-attire {
  background: var(--cream);
}

.ed-attire::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 38%;
  background: linear-gradient(135deg, transparent 12%, rgba(184, 194, 115, 0.14));
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.ed-attire__art {
  position: relative;
  margin: 0;
  padding: clamp(8px, 1.3vw, 15px);
  border: 1px solid rgba(169, 130, 62, 0.32);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.ed-attire__art img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.ed-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(820px, 94%);
  margin: -24px auto 0;
  padding: 22px 28px;
  border: 1px solid rgba(169, 130, 62, 0.34);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 12px 32px rgba(40, 34, 18, 0.12);
}

.ed-palette > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-palette i {
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(45, 44, 36, 0.2);
  border-radius: 50%;
  background: var(--swatch);
}

.ed-palette__no {
  color: var(--fuchsia) !important;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

/* Menu */

.ed-menu {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(42px, 7vw, 98px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.03), transparent),
    var(--olive-800);
}

.ed-menu::after {
  content: "";
  position: absolute;
  right: -9vw;
  bottom: -9vw;
  width: 28vw;
  height: 28vw;
  border: 1px solid rgba(184, 194, 115, 0.2);
  border-radius: 50%;
}

.ed-menu__art {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(8px, 1.1vw, 13px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 78px rgba(10, 11, 4, 0.32);
}

.ed-menu__art img {
  width: 100%;
  aspect-ratio: 1087 / 1447;
  object-fit: contain;
}

.ed-menu__copy {
  position: relative;
  z-index: 1;
  color: var(--paper);
}

.ed-menu__copy h2,
.ed-menu__copy > p {
  color: var(--paper);
}

.ed-menu__copy h2 em {
  color: var(--pistachio-soft);
}

.ed-menu__copy .ed-kicker {
  color: var(--coral);
}

.ed-menu-list {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
}

.ed-menu-list section {
  display: grid;
  grid-template-columns: minmax(120px, 0.38fr) 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
}

.ed-menu-list h3 {
  margin: 0;
  color: var(--pistachio-soft);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ed-menu-list p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.55;
}

/* Guest planning accordions */

.ed-planning {
  background:
    radial-gradient(circle at 20% 10%, rgba(217, 123, 103, 0.09), transparent 25%),
    var(--paper-warm);
}

.ed-accordion-list {
  display: grid;
  gap: 15px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.ed-fold {
  border: 1px solid rgba(169, 130, 62, 0.32);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(43, 44, 21, 0.06);
}

.ed-fold summary,
.ed-story-chapter summary,
.ed-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

.ed-fold summary::-webkit-details-marker,
.ed-story-chapter summary::-webkit-details-marker,
.ed-faq-item summary::-webkit-details-marker {
  display: none;
}

.ed-fold summary {
  padding: 25px clamp(24px, 4vw, 42px);
}

.ed-fold summary span {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.ed-fold summary small {
  color: var(--fuchsia);
  font-family: var(--body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ed-fold summary i,
.ed-story-chapter summary i,
.ed-faq-item summary i {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(169, 130, 62, 0.45);
  border-radius: 50%;
  transition: transform 250ms ease, background 250ms ease;
}

.ed-fold summary i::before,
.ed-fold summary i::after,
.ed-story-chapter summary i::before,
.ed-story-chapter summary i::after,
.ed-faq-item summary i::before,
.ed-faq-item summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.ed-fold summary i::after,
.ed-story-chapter summary i::after,
.ed-faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 250ms ease;
}

.ed-fold[open] summary i,
.ed-story-chapter[open] summary i,
.ed-faq-item[open] summary i {
  color: var(--paper);
  background: var(--olive-800);
  transform: rotate(180deg);
}

.ed-fold[open] summary i::after,
.ed-story-chapter[open] summary i::after,
.ed-faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.ed-fold__body {
  padding: 0 clamp(24px, 4vw, 42px) clamp(30px, 5vw, 50px);
  border-top: 1px solid rgba(169, 130, 62, 0.2);
}

.ed-fold__lead {
  max-width: 720px;
  margin: 28px 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.ed-hotel-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.ed-hotel-groups h3 {
  margin: 0 0 13px;
  color: var(--fuchsia);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ed-hotel-groups ul,
.ed-transport ul,
.ed-guest-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ed-hotel-groups li {
  border-top: 1px solid rgba(169, 130, 62, 0.18);
}

.ed-hotel-groups a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-family: var(--serif);
  line-height: 1.35;
  text-decoration: none;
}

.ed-hotel-groups a small {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--body);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-fold__body > small {
  display: block;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.7rem;
}

.ed-transport,
.ed-guest-notes {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) 1fr;
  gap: clamp(24px, 5vw, 64px);
  padding-top: 30px;
}

.ed-transport > div,
.ed-guest-notes > div {
  padding: 25px;
  border-left: 3px solid var(--pistachio);
  background: rgba(184, 194, 115, 0.12);
}

.ed-transport h3,
.ed-coordinator h3 {
  margin: 0 0 12px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.ed-transport p,
.ed-coordinator p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.ed-transport a,
.ed-coordinator a {
  color: var(--fuchsia);
  font-weight: 700;
}

.ed-transport li,
.ed-guest-notes li {
  position: relative;
  padding: 10px 0 10px 19px;
  border-bottom: 1px solid rgba(169, 130, 62, 0.18);
}

.ed-transport li::before,
.ed-guest-notes li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fuchsia);
}

/* Gifts */

.ed-gifts {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  color: var(--paper);
  background:
    radial-gradient(circle at 8% 8%, rgba(217, 123, 103, 0.15), transparent 24%),
    var(--olive-950);
}

.ed-gifts .ed-section-heading {
  margin: 0;
}

.ed-gifts .ed-section-heading h2,
.ed-gifts .ed-section-heading > p:last-child {
  color: var(--paper);
}

.ed-gifts .ed-section-heading h2 em {
  color: var(--pistachio-soft);
}

.ed-gifts .ed-kicker {
  color: var(--coral);
}

.ed-gift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ed-gift-card {
  position: relative;
  padding: clamp(32px, 4vw, 48px) clamp(26px, 3.6vw, 42px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(6, 7, 3, 0.25);
}

.ed-gift-card h3 {
  margin: 0 0 10px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.ed-gift-card > p {
  min-height: 50px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.ed-gift-card button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  color: var(--olive-900);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.ed-gift-card button span {
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 0.9rem;
}

.ed-gift-card button small {
  flex: 0 0 auto;
  color: var(--fuchsia);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Story */

.ed-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: start;
  background: var(--cream);
}

.ed-story__photo {
  position: sticky;
  top: 106px;
  margin: 0;
  padding: clamp(8px, 1.1vw, 13px);
  border: 1px solid rgba(169, 130, 62, 0.34);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.ed-story__photo::after {
  content: none;
}

.ed-story__photo img {
  width: 100%;
  aspect-ratio: 1086 / 1448;
  object-fit: cover;
  object-position: center;
}

.ed-story__photo figcaption {
  padding: 14px 8px 6px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.45;
}

.ed-story__copy {
  padding-top: clamp(20px, 4vw, 60px);
}

.ed-story__intro {
  margin-bottom: 34px;
}

.ed-story-chapter {
  border-top: var(--rule);
}

.ed-story-chapter:last-child {
  border-bottom: var(--rule);
}

.ed-story-chapter summary {
  padding: 22px 0;
}

.ed-story-chapter summary span {
  display: grid;
  gap: 3px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.ed-story-chapter summary small {
  color: var(--fuchsia);
  font-family: var(--body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ed-story-chapter > div {
  padding: 0 46px 28px 0;
}

.ed-story-chapter p {
  margin: 0 0 1.15em;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.8;
}

.ed-story-chapter h3 {
  margin: 8px 0 18px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 400;
}

.ed-story-chapter blockquote {
  margin: 28px 0;
  padding: 3px 0 3px 23px;
  border-left: 3px solid var(--fuchsia);
  color: var(--olive-800);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-style: italic;
}

.ed-transport address {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-style: normal;
}

.ed-transport .ed-parking-note {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.ed-transport .ed-parking-note strong {
  color: var(--olive-800);
}

.ed-story-chapter p:first-child::first-letter {
  float: left;
  margin: 0.09em 0.08em 0 0;
  color: var(--fuchsia);
  font-family: var(--serif);
  font-size: 3.5em;
  line-height: 0.75;
}

/* FAQ */

.ed-faq {
  background:
    linear-gradient(180deg, rgba(184, 194, 115, 0.08), transparent 30%),
    var(--paper-warm);
}

.ed-faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(169, 130, 62, 0.35);
}

.ed-faq-item {
  border-bottom: 1px solid rgba(169, 130, 62, 0.35);
}

.ed-faq-item summary {
  padding: 21px 3px;
}

.ed-faq-item summary span {
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

.ed-faq-item > p {
  max-width: 700px;
  margin: -3px 0 25px;
  padding-right: 50px;
  color: var(--ink-soft);
}

.ed-faq-item a {
  color: var(--fuchsia);
  font-weight: 700;
}

/* Closing and footer */

.ed-closing {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82svh;
  padding: 80px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(184, 194, 115, 0.24), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(139, 35, 79, 0.22), transparent 30%),
    var(--olive-950);
}

.ed-closing::before,
.ed-closing::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(197, 164, 102, 0.18);
  border-radius: 50%;
}

.ed-closing::before {
  top: -210px;
  left: -160px;
}

.ed-closing::after {
  right: -180px;
  bottom: -190px;
}

.ed-closing__paper {
  position: relative;
  z-index: 1;
  width: min(730px, 100%);
  padding: clamp(58px, 9vw, 100px) clamp(28px, 8vw, 90px);
  border: 1px solid rgba(197, 164, 102, 0.48);
  background: var(--paper);
  box-shadow: 0 35px 90px rgba(6, 7, 3, 0.36);
  text-align: center;
}

.ed-closing h2 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.ed-closing__signature {
  margin: 20px 0 5px;
  color: var(--olive-900);
  font-family: var(--script);
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 1;
}

.ed-closing__signature span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.45em;
}

.ed-closing__paper > p:not(.ed-kicker):not(.ed-closing__signature) {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ed-closing__paper > small {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.ed-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  min-height: 120px;
  padding: 26px clamp(20px, 5vw, 70px);
  color: rgba(255, 250, 240, 0.72);
  background: #171909;
  font-size: 0.65rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ed-footer .ed-monogram {
  color: var(--paper);
}

.ed-footer p {
  margin: 0;
  text-align: center;
}

.ed-footer > a:last-child {
  justify-self: end;
  text-decoration: none;
}

/* RSVP and FAQ pages */

.ed-subpage {
  min-height: 100svh;
  background: var(--paper-warm);
}

.ed-subpage .ed-header {
  position: sticky;
}

.ed-page-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 54svh;
  padding: 110px 20px 90px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 194, 115, 0.22), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(139, 35, 79, 0.17), transparent 28%),
    var(--olive-950);
  text-align: center;
}

.ed-page-hero::before,
.ed-page-hero::after {
  content: "";
  position: absolute;
  width: min(28vw, 360px);
  height: min(28vw, 360px);
  border: 1px solid rgba(197, 164, 102, 0.2);
  border-radius: 50%;
}

.ed-page-hero::before {
  top: -18vw;
  left: -12vw;
}

.ed-page-hero::after {
  right: -12vw;
  bottom: -18vw;
}

.ed-page-hero__inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.ed-page-hero .ed-kicker {
  color: var(--coral);
}

.ed-page-hero h1 {
  margin: 0 0 25px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(3.8rem, 10vw, 8.6rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.ed-page-hero h1 em {
  color: var(--pistachio-soft);
  font-family: var(--script);
  font-size: 1.13em;
  font-weight: 400;
}

#rsvp-title em {
  display: block;
  margin-top: 0.1em;
  font-size: 0.7em;
  line-height: 0.84;
}

.ed-page-hero p:last-child {
  max-width: 610px;
  margin: 0 auto;
  color: rgba(255, 250, 240, 0.72);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.ed-rsvp-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  padding: clamp(70px, 9vw, 120px) max(20px, calc((100vw - 1080px) / 2));
  background:
    radial-gradient(circle at 100% 10%, rgba(184, 194, 115, 0.13), transparent 27%),
    var(--paper-warm);
}

.ed-form-card,
.ed-rsvp-details {
  position: relative;
  border: 1px solid rgba(169, 130, 62, 0.34);
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}

.ed-form-card {
  padding: clamp(34px, 5vw, 62px);
}

.ed-form-card::before,
.ed-rsvp-details::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(169, 130, 62, 0.18);
  pointer-events: none;
}

.ed-form-card h2 {
  position: relative;
  margin: 0 0 10px;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 400;
}

.ed-form-card__note {
  position: relative;
  margin: 0 0 32px;
  padding: 13px 16px;
  border-left: 3px solid var(--fuchsia);
  color: var(--ink-soft);
  background: rgba(184, 194, 115, 0.12);
  font-size: 0.82rem;
}

.ed-form-preview {
  position: relative;
  display: grid;
  gap: 23px;
}

.ed-form-preview label,
.ed-form-preview legend {
  color: var(--olive-900);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ed-form-preview input[type="text"],
.ed-form-preview input[type="email"] {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(169, 130, 62, 0.48);
  color: var(--ink-soft);
  background: transparent;
  font-family: var(--serif);
  font-size: 1rem;
}

.ed-form-preview fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ed-form-preview .ed-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.ed-form-preview button {
  min-height: 52px;
  border: 0;
  color: rgba(255, 250, 240, 0.68);
  background: var(--olive-700);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ed-form-card__footnote {
  position: relative;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.ed-rsvp-details {
  padding: clamp(30px, 4vw, 44px);
}

.ed-rsvp-details dl {
  position: relative;
  margin: 0 0 26px;
}

.ed-rsvp-details dl > div {
  padding: 16px 0;
  border-bottom: var(--rule);
}

.ed-rsvp-details dt {
  color: var(--fuchsia);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ed-rsvp-details dd {
  margin: 3px 0 0;
  color: var(--olive-900);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.ed-rsvp-details > p {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.ed-rsvp-details a:not(.ed-button) {
  color: var(--fuchsia);
  font-weight: 700;
}

.ed-sub-faq {
  padding: clamp(72px, 9vw, 120px) 20px;
  background: var(--paper-warm);
}

.ed-sub-faq .ed-faq-list {
  width: min(900px, 100%);
}

.ed-sub-cta {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(900px, 100%);
  margin: 70px auto 0;
  padding: clamp(48px, 8vw, 82px) 24px;
  overflow: hidden;
  color: var(--paper);
  background: var(--olive-900);
  text-align: center;
}

.ed-sub-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(197, 164, 102, 0.25);
  border-radius: 50%;
}

.ed-sub-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.ed-sub-cta h2 em {
  color: var(--pistachio-soft);
  font-family: var(--script);
  font-weight: 400;
}

.ed-sub-cta .ed-button {
  position: relative;
  z-index: 1;
  color: var(--olive-950);
  background: var(--paper);
  border-color: var(--paper);
}

/* Reveals */

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

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal-delay {
  transition-delay: 120ms;
}

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

/* Tablet */

@media (max-width: 980px) {
  :root {
    --section-width: min(100% - 32px, 860px);
  }

  .ed-menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(169, 130, 62, 0.38);
    background: transparent;
    cursor: pointer;
  }

  .ed-menu-toggle i {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--olive-900);
    transition: transform 220ms ease;
  }

  .ed-menu-toggle[aria-expanded="true"] i:first-of-type {
    transform: translateY(3.5px) rotate(45deg);
  }

  .ed-menu-toggle[aria-expanded="true"] i:last-of-type {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .ed-nav {
    position: fixed;
    z-index: 1;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 14px 20px 24px;
    border-bottom: 1px solid rgba(169, 130, 62, 0.35);
    background: rgba(255, 250, 240, 0.98);
    box-shadow: 0 20px 40px rgba(32, 35, 15, 0.1);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 320ms ease, visibility 320ms;
  }

  .ed-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .ed-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(169, 130, 62, 0.17);
  }

  .ed-nav__rsvp {
    margin-top: 10px;
    border: 1px solid var(--olive-800) !important;
    text-align: center;
  }

  .ed-hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .ed-hero__art {
    min-height: 650px;
  }

  .ed-hero__paper {
    padding-inline: clamp(28px, 5vw, 58px);
  }

  .ed-event-card {
    padding: 40px 32px;
  }

  .ed-event-card dl > div {
    grid-template-columns: 72px 1fr;
  }

  .ed-programme-card__copy {
    margin-inline: 8px;
  }

  .ed-menu {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 44px;
  }

  .ed-menu-list section {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ed-gifts {
    grid-template-columns: 1fr;
  }

  .ed-gifts .ed-section-heading {
    max-width: 700px;
  }

  .ed-story {
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 50px;
  }
}

/* Mobile */

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 15px;
  }

  .entry {
    padding: 12px;
  }

  .entry__scene {
    width: min(92vw, 520px, 64.5svh);
    height: auto;
  }

  .entry__envelope {
    top: 50%;
    width: 88%;
  }

  .entry__seal {
    width: 58px;
    height: 58px;
  }

  .entry__skip {
    top: 14px;
    right: 18px;
    padding: 7px 11px;
    border: 1px solid rgba(255, 250, 240, 0.38);
    background: rgba(32, 35, 15, 0.48);
  }

  .entry__prompt {
    bottom: 16px;
    width: calc(100% - 30px);
  }

  .ed-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .ed-nav {
    top: 68px;
  }

  .ed-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .ed-hero__art {
    min-height: 0;
    aspect-ratio: 1086 / 1300;
  }

  .ed-hero__art img {
    object-position: center top;
  }

  .ed-hero__art::after {
    border-width: 10px;
  }

  .ed-hero__paper {
    align-items: center;
    padding: 76px 24px 84px;
    text-align: center;
  }

  .ed-hero__paper::before {
    top: 24px;
    right: 24px;
  }

  .ed-hero__paper::after {
    bottom: 24px;
    left: 24px;
  }

  .ed-hero h1 {
    align-items: center;
    font-size: clamp(4.8rem, 24vw, 7.2rem);
  }

  .ed-hero h1 span:last-child {
    margin-left: 0.25em;
  }

  .ed-hero__intro {
    max-width: 340px;
  }

  .ed-actions {
    justify-content: center;
  }

  .ed-countdown {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 35px 20px;
    text-align: center;
  }

  .ed-countdown__units {
    border-left: 0;
  }

  .ed-countdown b {
    font-size: clamp(1.75rem, 9vw, 3.1rem);
  }

  .ed-countdown small {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .ed-section {
    padding: 84px 20px;
  }

  .ed-section-heading {
    margin-bottom: 42px;
  }

  .ed-section-heading h2,
  .ed-menu__copy h2,
  .ed-story__copy h2,
  .ed-closing h2 {
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .ed-event-grid,
  .ed-programme-grid,
  .ed-menu,
  .ed-gift-grid,
  .ed-story {
    grid-template-columns: 1fr;
  }

  .ed-event-card {
    padding: 42px 26px;
  }

  .ed-event-card dl > div {
    grid-template-columns: 68px 1fr;
    gap: 12px;
  }

  .ed-travel-note {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .ed-programme {
    padding-inline: 14px;
  }

  .ed-programme .ed-section-heading {
    padding-inline: 6px;
  }

  .ed-programme-grid {
    gap: 58px;
  }

  .ed-programme-card__copy {
    margin-inline: 5px;
    padding: 28px 23px;
  }

  .ed-timeline li {
    grid-template-columns: 70px 1fr;
  }

  .ed-palette {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
    width: calc(100% - 20px);
    margin-top: -10px;
    padding: 20px 14px;
  }

  .ed-menu {
    gap: 52px;
  }

  .ed-menu__art {
    order: 2;
  }

  .ed-menu__copy {
    order: 1;
  }

  .ed-menu-list section {
    grid-template-columns: 1fr;
  }

  .ed-fold summary {
    padding: 20px;
  }

  .ed-fold summary span {
    display: grid;
    gap: 3px;
  }

  .ed-fold__body {
    padding: 0 20px 30px;
  }

  .ed-hotel-groups {
    grid-template-columns: 1fr;
  }

  .ed-transport,
  .ed-guest-notes {
    grid-template-columns: 1fr;
  }

  .ed-gifts {
    gap: 45px;
  }

  .ed-story {
    gap: 38px;
  }

  .ed-story__photo {
    position: relative;
    top: auto;
  }

  .ed-story__copy {
    padding-top: 0;
  }

  .ed-story-chapter > div {
    padding-right: 5px;
  }

  .ed-faq-item > p {
    padding-right: 10px;
  }

  .ed-closing {
    min-height: 76svh;
    padding: 54px 14px;
  }

  .ed-closing__paper {
    padding: 64px 24px;
  }

  .ed-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 13px;
    padding: 34px 20px;
    text-align: center;
  }

  .ed-footer > a:last-child {
    justify-self: center;
  }

  .ed-page-hero {
    min-height: 48svh;
    padding: 86px 20px 72px;
  }

  .ed-page-hero h1 {
    font-size: clamp(3.6rem, 19vw, 6.3rem);
  }

  .ed-rsvp-section {
    grid-template-columns: 1fr;
    padding: 64px 18px 80px;
  }

  .ed-form-card,
  .ed-rsvp-details {
    padding: 34px 25px;
  }
}

@media (max-width: 430px) {
  .entry__scene {
    width: min(94vw, 61.5svh);
    height: auto;
  }

  .entry__prompt {
    padding: 14px 16px;
  }

  .ed-nav {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
  }

  .ed-nav a {
    padding: 11px 15px;
  }

  .ed-actions {
    flex-direction: column;
    gap: 19px;
  }

  .ed-countdown__units > span {
    padding-inline: 3px;
  }

  .ed-event-card__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ed-gift-card {
    padding-inline: 24px;
  }

  .ed-gift-card button {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Clear, comfortable type for reading, while keeping the couple's names ornamental. */
:root {
  --body: "Segoe UI", Arial, Helvetica, sans-serif;
  --ink-soft: #514e42;
}

body {
  font-size: 1.125rem;
  line-height: 1.65;
}

.entry__prompt {
  row-gap: 8px;
}

.entry__prompt small,
.entry__prompt strong {
  font-family: var(--body);
  letter-spacing: 0.015em;
  line-height: 1.4;
}

.entry__prompt small { font-size: 1.0625rem; }
.entry__prompt strong { font-size: clamp(1.125rem, 2.1vw, 1.425rem); font-weight: 600; }
.entry__prompt em { color: var(--paper); }

.ed-nav {
  gap: clamp(12px, 1.25vw, 23px);
}

.ed-section-heading h2,
.ed-menu__copy h2,
.ed-story__copy h2,
.ed-closing h2 {
  font-family: var(--body);
  font-size: clamp(2.125rem, 4.2vw, 4.05rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.ed-section-heading h2 em,
.ed-menu__copy h2 em,
.ed-story__copy h2 em,
.ed-closing h2 em {
  font-family: inherit;
  font-size: 1em;
  font-style: normal;
  font-weight: inherit;
}

.ed-event-card h3,
.ed-gift-card h3,
.ed-transport h3,
.ed-coordinator h3,
.ed-fold summary span,
.ed-story-chapter summary span,
.ed-story-chapter h3,
.ed-faq-item summary span {
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.3;
}

.ed-event-card h3 { font-size: clamp(1.8125rem, 3.45vw, 2.75rem); }
.ed-fold summary span { font-size: clamp(1.25rem, 2.35vw, 1.675rem); }
.ed-story-chapter summary span,.ed-story-chapter h3,.ed-faq-item summary span { font-size: clamp(1.2rem, 2.1vw, 1.5rem); }

.ed-section-heading > p:last-child,
.ed-menu__copy > p,
.ed-hero__intro,
.ed-event-card dd,
.ed-travel-note p,
.ed-fold__lead,
.ed-hotel-groups a,
.ed-story-chapter p,
.ed-story-chapter blockquote,
.ed-transport address,
.ed-gift-card button span,
.ed-faq-item > p {
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  letter-spacing: 0.005em;
}

.ed-story-chapter blockquote { font-style: normal; }
.ed-story-chapter p:first-child::first-letter {
  float: none;
  margin: 0;
  color: inherit;
  font: inherit;
}

.ed-hero__date {
  font-family: var(--body);
  font-size: 1.1875rem;
  letter-spacing: 0.035em;
  text-transform: none;
  font-weight: 600;
}

.ed-hero__invitee strong {
  font-family: var(--body);
  font-size: 1.1875rem;
  font-weight: 600;
}

.ed-countdown b, .ed-countdown__heading p:last-child,
.ed-programme-card__label {
  font-family: var(--body);
}

.ed-programme-card__label { font-size: 1.1875rem; line-height: 1.4; font-weight: 600; }

.ed-nav a,
.ed-kicker,
.ed-button,
.ed-text-link,
.ed-event-card dt,
.ed-event-card__actions a,
.ed-event-card__actions button,
.ed-travel-note span,
.ed-countdown small,
.ed-hero__place,
.ed-hero__invitee span,
.ed-fold summary small,
.ed-hotel-groups h3,
.ed-hotel-groups a small,
.ed-story-chapter summary small,
.ed-gift-card button small,
.ed-palette > span,
.ed-footer,
.entry__prompt em {
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.45;
}

.ed-hero__place { color: var(--olive-700); }
.ed-hotel-groups a small { color: var(--olive-700); }
.ed-hotel-details {
  margin: 0 0 13px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.ed-hotel-groups .ed-hotel-details a {
  display: inline;
  padding: 0;
  color: var(--fuchsia);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.ed-event-card__actions a,.ed-event-card__actions button { min-height: 40px; align-items: center; }
.ed-transport .ed-parking-note,.ed-gift-card > p,.ed-fold__body > small { font-size: 1.0625rem; line-height: 1.6; }

/* Light pistachio balances the ivory traditional-wedding stationery. */
.ed-event-card--accent {
  color: var(--olive-900);
  border-color: rgba(83, 89, 42, 0.35);
  background: #e3e8c7;
}

.ed-event-card--accent::before { border-color: rgba(83, 89, 42, 0.24); }
.ed-event-card--accent h3 { color: var(--olive-900); }
.ed-event-card--accent dt { color: var(--fuchsia); }
.ed-event-card--accent dl,
.ed-event-card--accent dl > div { border-color: rgba(83, 89, 42, 0.28); }
.ed-event-card--accent .ed-event-card__number { color: rgba(83, 89, 42, 0.14); }

/* A lighter pistachio-and-champagne palette, with dark ink for readable contrast. */
:root {
  --pistachio-light: #e3e8c7;
  --pistachio-mist: #edf0dc;
}

.entry {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 250, 240, 0.86), transparent 44%),
    radial-gradient(circle at 94% 92%, rgba(217, 123, 103, 0.10), transparent 40%),
    var(--pistachio-mist);
}
.entry__scene,
.entry__art,
.ed-hero__art { background: var(--pistachio-light); }
.entry__scene,
.entry__scene:not(:disabled):hover {
  border-color: rgba(83, 89, 42, 0.28);
  box-shadow: 0 20px 64px rgba(49, 52, 26, 0.20), 0 0 0 8px rgba(255, 250, 240, 0.45);
}
.entry__prompt {
  color: var(--olive-900);
  background: rgba(255, 250, 240, 0.95);
  border-color: rgba(83, 89, 42, 0.35);
  box-shadow: 0 12px 32px rgba(49, 52, 26, 0.14);
}
.entry__prompt em { color: var(--olive-800); }
.entry__prompt i { border-color: rgba(83, 89, 42, 0.47); }

.ed-countdown {
  color: var(--olive-900);
  background: linear-gradient(105deg, var(--pistachio-mist), var(--pistachio-light));
  border-block: 1px solid rgba(83, 89, 42, 0.14);
}
.ed-countdown__heading p:last-child,
.ed-countdown small { color: var(--ink-soft); }
.ed-countdown .ed-kicker { color: var(--fuchsia); }
.ed-countdown__units { border-color: rgba(83, 89, 42, 0.25); }
.ed-countdown__units > span + span::before { background: rgba(83, 89, 42, 0.23); }

.ed-programme {
  color: var(--olive-900);
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 250, 240, 0.70), transparent 42%),
    linear-gradient(145deg, var(--pistachio-mist), var(--pistachio-light));
}
.ed-programme .ed-section-heading h2,
.ed-menu__copy h2,
.ed-gifts .ed-section-heading h2 { color: var(--olive-900); }
.ed-programme .ed-section-heading > p:last-child,
.ed-menu__copy > p,
.ed-gifts .ed-section-heading > p:last-child { color: var(--ink-soft); }
.ed-programme .ed-section-heading h2 em,
.ed-menu__copy h2 em,
.ed-gifts .ed-section-heading h2 em,
.ed-programme .ed-kicker,
.ed-menu__copy .ed-kicker,
.ed-gifts .ed-kicker { color: var(--fuchsia); }
.ed-programme-card figure {
  border-color: rgba(83, 89, 42, 0.23);
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}
.ed-programme-card__label {
  color: var(--olive-900);
  border-color: rgba(83, 89, 42, 0.24);
}

.ed-menu {
  background: linear-gradient(120deg, var(--pistachio-light), var(--pistachio-mist));
}
.ed-menu::after { border-color: rgba(83, 89, 42, 0.15); }
.ed-menu__art {
  background: var(--paper);
  box-shadow: var(--shadow-paper);
}
.ed-menu__copy { color: var(--olive-900); }
.ed-menu-list,
.ed-menu-list section { border-color: rgba(83, 89, 42, 0.25); }
.ed-menu-list h3 { color: var(--fuchsia); }

.ed-gifts {
  color: var(--olive-900);
  background: linear-gradient(145deg, var(--pistachio-mist), #f2eddf);
}
.ed-gift-card { box-shadow: var(--shadow-paper); }

.ed-closing {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 250, 240, 0.65), transparent 44%),
    radial-gradient(circle at 86% 84%, rgba(217, 123, 103, 0.11), transparent 42%),
    var(--pistachio-light);
}
.ed-closing__paper { box-shadow: var(--shadow-soft); }
.ed-footer {
  color: var(--olive-800);
  background: #dce2b4;
  border-top: 1px solid rgba(83, 89, 42, 0.16);
  padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
}
.ed-footer .ed-monogram { color: var(--olive-900); }
.ed-fold[open] summary i,
.ed-story-chapter[open] summary i,
.ed-faq-item[open] summary i {
  color: var(--olive-900);
  background: var(--pistachio-light);
}

/* A single, clearly labelled control stays available through the invitation and site. */
.ed-music-toggle {
  position: fixed;
  z-index: 10001;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid rgba(83, 89, 42, 0.5);
  border-radius: 2px;
  color: var(--olive-900);
  background: var(--paper);
  box-shadow: 0 5px 20px rgba(32, 35, 15, 0.16);
  font-family: var(--body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.ed-music-toggle[hidden] { display: none; }
.ed-music-toggle__note { color: var(--fuchsia); font-size: 1.15rem; }
.ed-music-toggle.is-playing { background: #e3e8c7; }
body.entry-active .ed-music-toggle {
  top: max(16px, env(safe-area-inset-top));
  bottom: auto;
}

@media (max-width: 700px) {
  .ed-nav { gap: 0; }
  .ed-event-card dl > div { grid-template-columns: minmax(74px, 0.34fr) minmax(0, 1fr); }
  .ed-countdown small { font-size: 0.875rem; letter-spacing: 0; }
  .ed-fold summary span { flex-wrap: wrap; gap: 6px 12px; }
  .ed-hotel-groups a { flex-wrap: wrap; gap: 6px 12px; }
  .ed-section-heading h2,.ed-menu__copy h2,.ed-story__copy h2,.ed-closing h2 { font-size: clamp(1.95rem, 7.25vw, 2.85rem); }
  .ed-story-chapter > div { padding-right: 12px; }
  .ed-faq-item > p { padding-right: 20px; }
}

/* Keep the supplied invitation's landscape proportions without cropping or stretching. */
.entry {
  overflow: hidden;
}

.entry__scene,
.entry__scene:not(:disabled):hover {
  display: grid;
  gap: 12px;
  width: min(90vw, 650px, max(180px, calc(135svh - 350px)));
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.entry__art {
  position: relative;
  aspect-ratio: 357 / 265;
  height: auto;
  border: 1px solid rgba(83, 89, 42, 0.28);
  border-radius: 3px;
  box-shadow: 0 20px 48px rgba(49, 52, 26, 0.20), 0 0 0 6px rgba(255, 250, 240, 0.45);
  container-type: inline-size;
}

.entry__composition {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.entry__card-greeting {
  fill: #403421;
  font-family: "Snell Roundhand", "Edwardian Script ITC", "Segoe Script", "Apple Chancery", "Monotype Corsiva", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
}

.entry__prompt {
  position: relative;
  inset: auto;
  width: 100%;
  padding: 14px 18px;
  margin: 0;
  border-radius: 3px;
  transform: none;
  transition: opacity 180ms ease;
}

.entry__prompt strong { max-width: none; }

.entry__prompt [hidden] { display: none !important; }
.entry__prompt { grid-template-columns: minmax(0, 1fr) auto; }
.entry__prompt [data-entry-greeting] {
  grid-column: 1 / -1;
  min-width: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}
.entry__prompt [data-entry-open-icon] { grid-row: 2 / 4; }
.entry__scene:disabled .entry__prompt { cursor: default; }

.entry__animation-hint {
  display: none;
  position: absolute;
  top: calc(100% - 64px);
  left: 0;
  width: 100%;
  color: var(--olive-800);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

.entry__animation-hint span { color: var(--fuchsia); }
.entry.is-animation-playing .entry__prompt { opacity: 0; }
.entry.is-animation-playing .entry__animation-hint { display: block; }
.entry.is-leaving {
  visibility: visible;
  transition: opacity 360ms ease;
}

/* The invitation, rather than a repeated set of names, is the home panel's headline. */
.ed-hero__paper {
  align-items: center;
  text-align: center;
}

.ed-hero__invitation-line {
  color: var(--olive-900);
  font-size: clamp(1.125rem, 1.9vw, 1.375rem);
  line-height: 1.5;
  margin: 0 0 12px;
}

.ed-hero h1.ed-hero__wedding-title {
  display: block;
  margin: 0 0 18px;
  font-family: var(--body);
  font-size: clamp(3rem, 5.5vw, 5.75rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.ed-hero h1.ed-hero__wedding-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  background: var(--champagne);
  margin: 24px auto 0;
}

@media (max-width: 700px) {
  .ed-hero h1.ed-hero__wedding-title { font-size: clamp(2.85rem, 12.5vw, 4.7rem); }
  .entry__scene, .entry__scene:not(:disabled):hover { width: min(91vw, 520px, max(180px, calc(135svh - 350px))); }
  .entry__prompt { gap: 5px 12px; }
  .entry__prompt i { width: 36px; height: 36px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .entry__scene, .entry__scene:not(:disabled):hover {
    width: min(90vw, 760px);
    grid-template-columns: min(36vw, 68svh) minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }
  .entry__animation-hint { position: absolute; top: 50%; left: 50%; width: 50%; transform: translateY(-50%); }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .ed-hero__petals { display: none; }
}

@media print {
  .entry,
  .ed-header,
  .ed-footer,
  .ed-music-toggle,
  .ed-event-card__actions,
  .ed-actions {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .ed-section {
    padding: 30px 0;
    break-inside: avoid;
  }
}
