:root {
  color-scheme: light;
  --cream: #f8f4e9;
  --olive: #41563a;
  --olive-dark: #253921;
  --sage: #859475;
  --gold: #c69a52;
  --pink: #cf7e78;
  --line: rgba(65, 86, 58, .25);
  font-family: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--olive-dark); background: var(--cream); }
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(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 7px), var(--olive); }
.cover__open { width: 100%; min-height: 100svh; position: relative; display: grid; place-items: center; align-content: center; gap: 44px; padding: 40px 24px; border: 0; background: transparent; color: #f8f1db; cursor: pointer; }
.cover__flap { position: absolute; z-index: 0; top: -34vw; left: 50%; width: min(120vw, 960px); height: min(120vw, 960px); transform: translateX(-50%) rotate(45deg); border: 1px solid rgba(242,228,190,.18); border-radius: 0 0 34px 0; box-shadow: 10px 12px 32px rgba(19,32,17,.28); background: linear-gradient(135deg, #596c4e, #3c5036); }
.cover__monogram, .cover__title, .cover__hint { position: relative; z-index: 1; }
.cover__monogram { margin-top: 8vh; color: #e1b569; font: italic clamp(3.2rem, 17vw, 6.5rem)/1 Georgia, serif; text-shadow: 0 2px 0 #2b3e28; }
.cover__title { font-size: 1.35rem; font-style: italic; }
.cover__hint { font: .72rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .24em; 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(--gold); outline-offset: 4px; }

.hero, .section, .footer { width: min(100%, 900px); margin-inline: auto; }
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0,1fr); align-content: center; justify-items: center; gap: 22px; padding: 72px 20px 40px; text-align: center; }
.eyebrow { margin: 0; color: var(--pink); font: .72rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.hero > .eyebrow { color: var(--olive); }
.hero h1 { margin: 0; display: grid; justify-items: center; font: italic clamp(3.5rem, 17vw, 7.8rem)/.82 Georgia, serif; letter-spacing: -.05em; color: var(--olive-dark); }
.hero h1 i { color: var(--gold); font-size: .5em; }
.fun-mark { width: min(94%, 540px); height: auto; }
.hero__date { margin: 0; font: .72rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue { min-height: 48px; display: inline-flex; align-items: center; gap: 12px; font: .72rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.section { position: relative; padding: 92px 20px; text-align: center; border-top: 1px solid var(--line); }
.section::before { content: "✦"; display: block; margin-bottom: 24px; color: var(--gold); font-size: 1.3rem; }
.section h2 { margin: 16px 0 0; font: italic clamp(3rem, 13vw, 6.2rem)/.95 Georgia, serif; color: var(--olive); letter-spacing: -.04em; }
.section > p:not(.eyebrow, .venue__time, .rsvp__status) { max-width: 600px; margin: 28px auto 0; font-size: clamp(1.08rem, 4vw, 1.3rem); line-height: 1.65; }
.date { background: var(--olive-dark); color: var(--cream); }
.date h2, .date .eyebrow { color: #f2d59c; }
.countdown { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 540px; margin: 38px auto 0; border: 1px solid rgba(248,244,233,.35); border-radius: 28px; }
.countdown span { padding: 22px 5px; border-right: 1px solid rgba(248,244,233,.25); }
.countdown span:last-child { border: 0; }
.countdown b { display: block; font: 400 clamp(2.3rem, 10vw, 4.7rem)/1 Georgia, serif; }
.countdown small { display: block; margin-top: 8px; font: .65rem ui-sans-serif, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.venue__time { margin: 12px 0 0; font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid var(--olive-dark); border-radius: 999px; background: var(--olive-dark); color: var(--cream); text-decoration: none; cursor: pointer; }
.button--light { background: transparent; color: var(--olive-dark); }
.schedule ol { list-style: none; max-width: 590px; margin: 38px auto 0; padding: 0; text-align: left; }
.schedule li { position: relative; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; padding: 24px 6px; border-top: 1px dashed var(--line); }
.schedule time { color: var(--pink); font-weight: 700; }
.schedule h3 { margin: 0 0 6px; font-size: 1.15rem; }
.schedule p { margin: 0; line-height: 1.5; }
.swatches { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.swatches i { width: 48px; height: 48px; border-radius: 38% 62% 55% 45%; background: #efe3bd; transform: rotate(8deg); }
.swatches i:nth-child(2) { background: #c99a65; transform: rotate(-9deg); }
.swatches i:nth-child(3) { background: #859475; }
.swatches i:nth-child(4) { background: #41563a; transform: rotate(-4deg); }
form { max-width: 580px; margin: 38px auto 0; display: grid; gap: 10px; text-align: left; }
label { margin-top: 8px; font: .72rem 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(--olive); border-radius: 12px; background: rgba(255,255,255,.46); color: var(--olive-dark); }
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: 56px 20px; display: grid; gap: 16px; text-align: center; color: var(--cream); background: var(--olive-dark); }
.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 var(--gold); border-radius: 999px; color: #fff; text-decoration: none; }
@media (min-width: 760px) { .hero { padding-inline: 52px; } .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; } }
