@font-face { font-family: "Cormorant Garamond Local"; src: url("font-cormorant-cyrillic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400 700; }
@font-face { font-family: "Cormorant Garamond Local"; src: url("font-cormorant-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400 700; unicode-range: U+0000-024F; }

:root {
  color-scheme: light;
  --ivory: #f2ead8;
  --paper: #fbf7ec;
  --sage: #657254;
  --sage-deep: #314d58;
  --rose: #bf704e;
  --gold: #b48a45;
  --ink: #334146;
  --display: "Cormorant Garamond Local", Georgia, "Times New Roman", serif;
  --body: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--ivory); font-family: var(--body); line-height: 1.6; }
body.is-locked { overflow: hidden; }
button, input, textarea, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #b87345; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; }
h1 { margin-bottom: 1.2rem; font-size: clamp(3.7rem, 19vw, 7.6rem); letter-spacing: -.055em; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.45rem, 11vw, 5.5rem); }
h3 { margin: 1.3rem 0 .4rem; font-size: clamp(1.7rem, 7vw, 2.6rem); }
.eyebrow { margin-bottom: .85rem; font-size: .73rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.section { position: relative; padding: 5.7rem max(1.25rem, calc((100vw - 1040px) / 2)); text-align: center; }
.section > p { max-width: 42rem; margin-left: auto; margin-right: auto; }
.section--green { color: var(--paper); background: var(--sage-deep); }
.section--green h2 { color: inherit; }
.section--linen { background: repeating-linear-gradient(90deg, rgba(77,87,59,.035) 0 1px, transparent 1px 4px), #e7dfcc; }

.opening { position: fixed; inset: 0; z-index: 20; width: 100%; min-height: 100svh; padding: 0; overflow: hidden; border: 0; color: white; background: var(--ivory); cursor: pointer; }
.opening__panel { position: absolute; inset: 0; width: 100%; background-color: #eee9dd; background-image: repeating-linear-gradient(105deg, rgba(76,68,55,.025) 0 1px, transparent 1px 5px); box-shadow: inset 0 0 0 1px rgba(85,81,67,.14); transition: transform 1.15s cubic-bezier(.65,0,.25,1); }
.opening__panel::after { content: ""; position: absolute; inset: 0; border: 0; }
.opening__panel--left { left: 0; clip-path: polygon(0 0, 100% 0, 50% 58%, 0 32%); transform-origin: top center; }
.opening__panel--right { right: 0; clip-path: polygon(0 100%, 100% 100%, 100% 32%, 50% 58%, 0 32%); transform-origin: bottom center; background-color: #f6f1e8; }
.opening__bow { position: absolute; left: 50%; top: 58%; width: 6.4rem; height: 6.4rem; transform: translate(-50%, -50%) rotate(-5deg); border: .65rem double rgba(255,255,255,.75); border-radius: 50%; background: #893c36; box-shadow: 0 .9rem 1.7rem rgba(39,44,35,.2); transition: opacity .35s ease, transform .65s ease; }
.opening__bow::after { content: "E · R"; position: absolute; inset: 0; display: grid; place-items: center; color: #f6e7d0; font-family: var(--display); font-size: 1.2rem; }
.opening__hint { position: absolute; left: 50%; bottom: 3.1rem; min-height: 44px; transform: translateX(-50%); display: grid; align-items: center; white-space: nowrap; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; text-shadow: 0 1px 8px #314534; }
.opening.is-open { pointer-events: none; background: transparent; transition: visibility 0s linear 1.2s; visibility: hidden; }
.opening.is-open .opening__panel--left { transform: translateY(-101%); }
.opening.is-open .opening__panel--right { transform: translateY(101%); }
.opening.is-open .opening__bow { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
.opening[hidden] { display: none; }

.hero { min-height: 100svh; display: grid; place-items: center; padding: 4.5rem 1.25rem; overflow: hidden; color: var(--paper); text-align: center; background: linear-gradient(180deg, rgba(49,77,88,.34), rgba(35,54,60,.78)), radial-gradient(circle at 50% 70%, #c59f64 0 4rem, transparent 4.1rem), linear-gradient(155deg, #7595a1 0 48%, #74805a 49% 100%); }
.hero__ornament { position: absolute; left: 50%; bottom: 10%; width: min(78vw, 31rem); height: 34%; transform: translateX(-50%); border: .28rem solid rgba(246,238,218,.38); border-bottom: 0; border-radius: 8rem 8rem 0 0; opacity: .65; }
.hero__ornament::before, .hero__ornament::after { content: ""; position: absolute; bottom: 0; width: 24%; height: 62%; border: .22rem solid rgba(246,238,218,.38); border-bottom: 0; border-radius: 4rem 4rem 0 0; }
.hero__ornament::before { left: 12%; }
.hero__ornament::after { right: 12%; }
.hero::before, .hero::after { display: none; }
.hero__frame { z-index: 1; width: min(100%, 42rem); padding: 4.3rem 1.1rem; border: 1px solid rgba(243,236,223,.65); border-radius: 50% / 42%; box-shadow: inset 0 0 0 10px rgba(243,236,223,.06); }
.hero__date { margin-bottom: 2rem; font-family: var(--display); font-size: 1.45rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.2rem; border: 1px solid var(--sage); border-radius: 999px; color: var(--paper); background: var(--sage); text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--sage-deep); border-color: var(--paper); background: var(--paper); }
.button--outline { color: var(--sage-deep); background: transparent; }
.button-row { display: grid; gap: .75rem; margin-top: 2rem; }
.monogram { width: 6.5rem; height: 6.5rem; margin: 2.5rem auto 0; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--sage); font-family: var(--display); font-size: 1.45rem; }
.countdown__grid { max-width: 38rem; margin: 2.3rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.countdown__grid span { min-width: 0; padding: .9rem .15rem; border-block: 1px solid rgba(255,255,255,.28); }
.countdown__grid strong, .countdown__grid small { display: block; }
.countdown__grid strong { font-family: var(--display); font-size: clamp(2rem, 10vw, 4rem); font-weight: 400; }
.countdown__grid small { font-size: clamp(.55rem, 2.7vw, .8rem); }
.embroidered-card { max-width: 46rem; margin: 0 auto; padding: 3.2rem 1.3rem; border: 1px solid rgba(69,99,72,.36); border-radius: 48% 52% 46% 54% / 9% 8% 12% 10%; background: radial-gradient(circle at 5% 12%, var(--rose) 0 .35rem, transparent .4rem), radial-gradient(circle at 95% 88%, var(--sage) 0 .3rem, transparent .35rem), var(--paper); box-shadow: 0 18px 60px rgba(44,61,47,.12), inset 0 0 0 8px var(--ivory); }
.venue__time { font-weight: 600; }
.timeline { max-width: 40rem; margin: 2.5rem auto 0; padding: 0; list-style: none; text-align: left; }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(38,51,41,.2); }
.timeline time { font-family: var(--display); font-size: 1.65rem; }
.timeline strong, .timeline small { display: block; }
.timeline small { margin-top: .2rem; color: rgba(38,51,41,.72); }
.palette { display: flex; justify-content: center; gap: .65rem; margin-top: 2rem; }
.palette span { width: 44px; height: 44px; border: 1px solid rgba(38,51,41,.22); border-radius: 50%; background: var(--swatch); }
.embroidered-card--form { border-radius: 2rem; }
form { max-width: 34rem; margin: 2rem auto 0; display: grid; gap: 1.25rem; text-align: left; }
form > label { display: grid; gap: .45rem; }
input, textarea { width: 100%; min-height: 48px; padding: .75rem .9rem; border: 1px solid rgba(38,51,41,.38); border-radius: .55rem; color: var(--ink); background: rgba(255,255,255,.68); }
textarea { resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: .55rem; }
.choice { min-height: 48px; display: flex; align-items: center; gap: .75rem; }
.choice input { width: 22px; min-height: 22px; accent-color: var(--sage); }
.honeypot { display: none; }
.button--submit { width: 100%; border: 0; cursor: pointer; }
.form-status { min-height: 1.6rem; margin-bottom: 0; text-align: center; }
footer { padding: 3rem 1.25rem; color: var(--paper); background: #1e3425; text-align: center; }
footer a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }
.demo-notice { position: relative; z-index: 2; min-height: 44px; display: grid; place-items: center; padding: .55rem 1rem; color: var(--paper); background: #17281d; font-size: .78rem; text-align: center; }

@media (min-width: 720px) {
  .section { padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .button-row { grid-template-columns: repeat(2, max-content); justify-content: center; }
  .embroidered-card { padding: 5rem 4rem; }
}

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