:root {
  color-scheme: light;
  --sand: #f6ead4;
  --paper: #fff8e9;
  --ink: #392519;
  --rust: #a94329;
  --orange: #e67931;
  --ochre: #c69032;
  --teal: #2f7774;
  --olive: #6e7440;
  --line: rgba(57,37,25,.22);
  font-family: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--sand); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.cover { min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: repeating-linear-gradient(105deg, rgba(111,78,43,.025) 0 2px, transparent 2px 6px), var(--paper); }
.cover__open { width: 100%; min-height: 100svh; position: relative; display: grid; place-items: center; align-content: center; gap: 34px; padding: 40px 24px; overflow: hidden; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.cover__flap { position: absolute; top: -37vw; left: 50%; width: min(122vw, 1000px); aspect-ratio: 1; transform: translateX(-50%) rotate(45deg); border: 1px solid rgba(57,37,25,.12); border-radius: 0 0 24px; background: linear-gradient(135deg, #fffaf0, #eadbc1); box-shadow: 14px 18px 32px rgba(81,49,30,.12); }
.cover__open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(34deg, transparent 49.8%, rgba(57,37,25,.1) 50%, transparent 50.2%), linear-gradient(-34deg, transparent 49.8%, rgba(57,37,25,.1) 50%, transparent 50.2%); pointer-events: none; }
.cover__seal, .cover__title, .cover__hint { position: relative; z-index: 1; }
.cover__seal { width: 116px; height: 108px; display: grid; place-items: center; margin-top: 8vh; border: 5px double #6f1f13; border-radius: 48% 52% 45% 55% / 54% 43% 57% 46%; color: #5f1b12; background: radial-gradient(circle at 33% 28%, #cc5d3e, #9b2d1d 62%, #6d1e15); box-shadow: 0 9px 20px rgba(91,31,18,.25), inset 0 0 0 3px rgba(241,144,102,.22); font: italic 2rem/1 Georgia, serif; text-shadow: 0 1px rgba(245,137,92,.35); }
.cover__title { color: var(--rust); font-size: clamp(1.25rem, 5vw, 1.7rem); font-style: italic; }
.cover__hint { min-height: 44px; display: inline-flex; align-items: center; font: .68rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.cover__open:focus-visible, .button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.hero, .section, .footer { width: min(100%, 900px); margin-inline: auto; }
.hero { min-height: 100svh; position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 92px 44px 210px; text-align: center; background: var(--paper); }
.hero__art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.hero__copy { width: min(100%, 610px); display: grid; justify-items: center; gap: 24px; padding: 46px 0; }
.eyebrow { margin: 0; color: var(--rust); font: 700 .66rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .21em; text-transform: uppercase; }
.hero h1 { min-width: 0; margin: 0; display: grid; justify-items: center; color: var(--ink); font: italic clamp(3rem, 15vw, 7rem)/.86 Georgia, serif; letter-spacing: -.05em; }
.hero h1 span { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.hero h1 i { padding-block: .12em; color: var(--rust); font-size: .38em; font-weight: 400; }
.hero__date { margin: 0; font: 700 .72rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font: 700 .64rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }

.section { position: relative; padding: 96px 22px; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.section::before { content: "☼"; display: block; margin-bottom: 24px; color: var(--orange); font-size: 1.9rem; }
.section h2 { max-width: 760px; margin: 16px auto 0; color: var(--ink); font: italic clamp(2.8rem, 12vw, 5.9rem)/.95 Georgia, serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.section > p:not(.eyebrow, .venue__time, .rsvp__status) { max-width: 610px; margin: 28px auto 0; font-size: clamp(1.05rem, 4vw, 1.28rem); line-height: 1.7; }
.welcome { background: var(--paper); }
.date { color: var(--paper); background: var(--teal); }
.date::before, .date h2, .date .eyebrow { color: #fff1ca; }
.countdown { max-width: 550px; margin: 38px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid rgba(255,241,202,.55); border-radius: 80px 80px 16px 16px; }
.countdown span { min-width: 0; padding: 24px 5px; border-right: 1px solid rgba(255,241,202,.35); }
.countdown span:last-child { border: 0; }
.countdown b { display: block; font: 400 clamp(2.2rem, 10vw, 4.7rem)/1 Georgia, serif; }
.countdown small { display: block; margin-top: 8px; font: .63rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.venue { background: #edc775; }
.venue__time { margin: 13px 0 0; font-weight: 700; }
.button-row { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--rust); border-radius: 999px; color: #fff; background: var(--rust); text-decoration: none; cursor: pointer; }
.button--light { color: var(--rust); background: transparent; }
.schedule { background: var(--paper); }
.schedule ol { max-width: 610px; margin: 40px auto 0; padding: 0; list-style: none; text-align: left; }
.schedule li { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; padding: 24px 6px; border-top: 1px dashed var(--line); }
.schedule time { color: var(--rust); font-weight: 700; }
.schedule h3 { margin: 0 0 6px; font-size: 1.15rem; }
.schedule p { margin: 0; line-height: 1.55; }
.dress { background: #e5d6c0; }
.swatches { margin-top: 30px; display: flex; justify-content: center; gap: 10px; }
.swatches i { width: 48px; height: 48px; border: 1px solid rgba(57,37,25,.12); border-radius: 44% 56% 48% 52%; background: #e9b15e; transform: rotate(8deg); }
.swatches i:nth-child(2) { background: #cf744e; transform: rotate(-8deg); }
.swatches i:nth-child(3) { background: var(--teal); }
.swatches i:nth-child(4) { background: var(--olive); transform: rotate(5deg); }
.rsvp { background: var(--paper); }
form { max-width: 580px; margin: 38px auto 0; display: grid; gap: 10px; text-align: left; }
label { margin-top: 8px; font: 700 .67rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--rust); border-radius: 8px; color: var(--ink); background: rgba(255,255,255,.65); }
textarea { resize: vertical; }
form .button { margin-top: 14px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; }
.rsvp__status { min-height: 28px; margin: 20px 0 0; font-weight: 700; }
.footer { padding: 58px 22px; display: grid; gap: 15px; color: var(--paper); text-align: center; background: var(--rust); }
.footer p { margin: 0; }
.footer a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.demo-order { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid #f0c87b; border-radius: 999px; color: #fff; text-decoration: none; }
@media (max-width: 420px) { .hero { padding-inline: 35px; padding-bottom: 210px; } .hero__copy { padding-top: 78px; } }
@media (min-width: 760px) { .hero { padding-inline: 86px; } .section { padding: 120px 52px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
