@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-garamond.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("assets/great-vibes.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --forest: #11271f;
  --forest-deep: #0a1a15;
  --wine: #4b1524;
  --cream: #f9f4e9;
  --paper: #f1e8d8;
  --gold: #d5b177;
  --gold-dark: #805b32;
  --ink: #26332a;
  --serif: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --script: "Great Vibes", "Gabriola", "Palatino Linotype", cursive;
  --sans: system-ui, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b57428; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 5; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--cream); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { background: #0e2019; color: var(--cream); border-bottom: 1px solid #d5b17745; position: sticky; top: 0; z-index: 3; }
.header-inner { width: min(100% - 100px, 1320px); min-height: 70px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.wordmark { display: inline-flex; width: fit-content; align-items: center; gap: .65rem; text-decoration: none; font: 500 1.45rem var(--serif); white-space: nowrap; }
.site-header nav { display: flex; gap: clamp(1rem, 3vw, 2.6rem); align-items: center; }
.site-header nav a { text-decoration: none; color: #e2d7c7; font-size: .82rem; white-space: nowrap; }
.site-header a:hover { color: var(--gold); }
.site-header nav .nav-rsvp { color: var(--gold); }
.music-toggle { justify-self: end; border: 1px solid #d5b17768; display: inline-flex; align-items: center; gap: .55rem; background: transparent; color: var(--gold); padding: .38rem .9rem; border-radius: 100px; white-space: nowrap; font-size: .8rem; }
.music-toggle:hover { background: #d5b17718; }
.music-icon { font-size: 1rem; }
.hero { isolation: isolate; color: var(--cream); position: relative; background: radial-gradient(ellipse at 19% 37%, #491c2a 0%, transparent 64%), radial-gradient(ellipse at 76% 28%, #304135 0%, transparent 48%), #0f221b; border-bottom: 1px solid #b7965e; }
.hero::before, .closing::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: url("assets/grain.svg"); opacity: .23; pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 15px; border: 1px solid #d5b17738; pointer-events: none; }
.hero-inner { width: min(100% - 116px, 1160px); min-height: min(755px, calc(100svh - 70px)); margin: auto; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: clamp(2.25rem, 6vw, 6rem); padding: clamp(3rem, 5.1vw, 5.2rem) 0; }
.hero-copy { min-width: 0; text-align: center; animation: enter .95s ease both; }
.eyebrow { margin: 0 0 .9rem; color: var(--gold-dark); font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase; }
.hero-eyebrow { color: #ebc58f; display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 1.35rem; }
.hero-eyebrow span { width: 27px; height: 1px; background: var(--gold); opacity: .7; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: .94; }
h2 em { font-weight: 500; }
h1 { font-size: clamp(4.4rem, 9vw, 9.5rem); }
.hero-title-first { display: block; overflow-wrap: anywhere; }
.hero-title-last { display: block; width: max-content; max-width: 100%; margin: -.015em auto 0; padding: 0 .13em .045em; color: #eac58d; font: normal 400 1.07em/.88 var(--script); letter-spacing: -.02em; text-shadow: 0 3px 20px #170e0d85; }
.hero-year { display: flex; align-items: center; justify-content: center; gap: .86rem; margin: .8rem 0 1.25rem; color: #ebc58f; font: 500 .88rem/1.2 var(--sans); letter-spacing: .28em; }
.hero-year::before, .hero-year::after { content: ""; width: 35px; height: 1px; background: #d8ac6a88; }
.hero-copy p { margin: 0 auto; max-width: 375px; font-size: clamp(1rem, 1.45vw, 1.135rem); line-height: 1.58; color: #f4e9d9; }
.hero-copy p strong { font-weight: 600; color: white; }
.hero-copy .hero-wish { margin-top: .48rem; color: #e7d6ba; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.32rem; }
.button { text-decoration: none; padding: .78rem 1.25rem; min-height: 46px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: .9rem; font-weight: 650; border-radius: 2px; line-height: 1.35; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.button:not([aria-disabled=true]):hover { transform: translateY(-2px); }
.button-gold { background: #e1bd82; color: #281c12; }
.button-gold:not([aria-disabled=true]):hover { background: #f2d29b; }
.button-outline { border-color: #d5b17780; color: var(--cream); background: transparent; }
.button-outline:hover { background: #d5b17720; }
.button-green { color: var(--cream); background: var(--forest); }
.button-green:hover { background: #244233; }
.button[aria-disabled=true] { cursor: default; color: #e0c9a7; border-color: #d5b17757; background: transparent; }
.text-link { text-underline-offset: .36em; text-decoration-thickness: 1px; font-size: .9rem; }
.hero .text-link:hover { color: var(--gold); }
.hero-visual { justify-self: center; position: relative; width: min(100%, 454px); padding: 12px; animation: enter 1.2s .1s ease both; }
.arch-outline, .arch { border-radius: 50% 50% 2px 2px / 39% 39% 2px 2px; }
.arch-outline { position: absolute; inset: 0; border: 1px solid #d5b177bd; box-shadow: inset 0 0 0 4px #14241a, inset 0 0 0 5px #d5b1775b, 0 16px 50px #100a0a55; }
.arch-crown { position: absolute; z-index: 1; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 3px; filter: drop-shadow(0 0 9px #c9904388); }
.arch { aspect-ratio: .78; position: relative; isolation: isolate; clip-path: inset(0 round 50% 50% 2px 2px / 39% 39% 2px 2px); background: #321a20 url("assets/christmas-poster.webp") center 46% / cover no-repeat; overflow: hidden; }
.arch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; opacity: 0; transition: opacity .65s ease; }
.arch video.is-playing { opacity: 1; }
.arch-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #1b130ca3, transparent 28%, transparent 82%, #1b130c26); }
.arch-star { position: absolute; color: #efd190; text-shadow: 0 0 20px #ebbc65aa; pointer-events: none; }
.star-left { left: -15px; top: 65%; font-size: 1.8rem; }
.star-right { right: -13px; top: 25%; font-size: 1.4rem; }
.replay { position: absolute; bottom: 24px; right: 23px; color: white; background: #0a1a15c9; border: 1px solid #efd19083; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; font-size: 1.35rem; }
.replay:hover { background: var(--forest-deep); }
.snow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.flake { position: absolute; top: -6%; left: var(--left); width: var(--size); height: var(--size); background: #fff1d7; border-radius: 50%; opacity: 0; filter: blur(.45px); animation: snow var(--duration) var(--delay) linear infinite; }
@keyframes snow { 12% { opacity: .8; } 90% { opacity: .65; } 100% { transform: translate3d(var(--drift), 66vh, 0); opacity: 0; } }
@keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-date { margin: 1.2rem 0 0; text-align: center; color: #ebc58f; font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.date-separator { margin: 0 .9rem; font-size: .68rem; vertical-align: .08em; }
.section { padding: clamp(3.2rem, 8vw, 7.4rem) 0; }
.section-inner { width: min(100% - 96px, 1150px); margin: 0 auto; }
.section-star { margin: 0 auto 1rem; }
.section h2 { font-size: clamp(3.05rem, 6.2vw, 6.35rem); }
.section h2 em { color: var(--gold-dark); }
.countdown { text-align: center; padding-top: clamp(3rem, 6vw, 5.3rem); padding-bottom: clamp(3rem, 6vw, 5.3rem); border-bottom: 1px solid #ddcfb6; }
.countdown h2 { font-size: clamp(2.55rem, 4.5vw, 4.7rem); }
.countdown p { margin: .85rem auto 1.75rem; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: min(100%, 610px); margin: auto; border-block: 1px solid #d9c4a2; }
.countdown-grid div { padding: .9rem .25rem; }
.countdown-grid div + div { border-left: 1px solid #d9c4a2; }
.countdown-grid span { display: block; color: var(--wine); font: 400 clamp(2.35rem, 5vw, 4.5rem)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.countdown-grid small { color: #69563f; letter-spacing: .11em; text-transform: uppercase; font-size: .75rem; }
.celebration { background: var(--paper); }
.editorial { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(2.5rem, 7vw, 7.5rem); align-items: center; }
.editorial-copy h2 em, .rsvp h2 em { display: block; }
.editorial-copy > p:not(.eyebrow), .rsvp-copy > p:not(.eyebrow) { max-width: 360px; margin: 1.4rem 0 0; }
.editorial-copy > .section-star, .rsvp-copy > .section-star { margin: 1.5rem 0 0; }
.framed { margin: 0; position: relative; padding: 8px; border: 1px solid #ae85578c; }
.framed img { aspect-ratio: 1.42; width: 100%; height: auto; object-fit: cover; }
.details { background: var(--wine); color: var(--cream); text-align: center; }
.details .eyebrow, .details h2 em, .closing h2 em { color: var(--gold); }
.event-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; width: min(100%, 850px); margin: 2.15rem auto 1.8rem; border-block: 1px solid #d5b1775c; }
.event-grid div { padding: 1.15rem .55rem; }
.event-grid div + div { border-left: 1px solid #d5b1775c; }
.event-grid dt { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; margin-bottom: .35rem; }
.event-grid dd { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.65rem); line-height: 1.2; margin: 0; }
.event-grid dd small { display: block; font: .8rem/1.45 var(--sans); margin-top: .35rem; }
.detail-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.small-status { font-size: .83rem; line-height: 1.5; margin: .7rem 0 0; }
.details .small-status { color: #ebd5bd; }
.attire { padding-block: clamp(2.65rem, 5.5vw, 4.9rem); }
.attire-layout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(1.5rem, 6vw, 6rem); }
.attire .editorial-copy h2 { font-size: clamp(2.8rem, 5.4vw, 5.3rem); }
.attire .editorial-copy h2 em { display: inline; }
.attire .editorial-copy > p:not(.eyebrow) { margin-top: .75rem; }
.palette { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(.65rem, 3.6vw, 3rem); padding: 0; margin: 0; list-style: none; }
.palette li { display: grid; gap: .65rem; text-align: center; justify-items: center; font-size: .8rem; line-height: 1.3; }
.swatch { width: 42px; height: 42px; border-radius: 50%; outline: 1px solid #bba47f; outline-offset: 4px; }
.burgundy { background: #631f33; } .forest { background: #1b4232; } .gold { background: #c69b50; } .black { background: #191719; }
.tasting { background: radial-gradient(ellipse at left, #54222c, #34151e 75%); color: var(--cream); }
.tasting .eyebrow, .tasting h2 em { color: #e6bd83; }
.tasting h2 { font-size: clamp(2.9rem, 5.1vw, 5.5rem); }
.tasting .framed { border-color: #dbb77a8c; }
.tasting-photo img { aspect-ratio: 1.5; }
.festive-break { position: relative; margin: 0; height: clamp(170px, 28vw, 340px); overflow: hidden; background: var(--wine); }
.festive-break img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.festive-break::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #1f120c63, transparent 45%, #1f120c63); }
.rsvp { background: var(--paper); }
.rsvp-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2rem, 8vw, 8rem); }
.rsvp-form { padding: clamp(1.25rem, 3.5vw, 2.5rem); background: var(--cream); border: 1px solid #d3bd9a; }
.rsvp-form > label, #guest-field > label, .rsvp-form legend { display: block; font-weight: 650; margin: 0 0 .36rem; font-size: .9rem; }
.rsvp-form fieldset { border: 0; padding: 0; margin: 1rem 0; min-width: 0; }
.rsvp-form input:not([type=radio]), .rsvp-form textarea { width: 100%; color: var(--ink); border: 1px solid #b29c7e; background: transparent; border-radius: 2px; padding: .53rem .72rem; }
.rsvp-form textarea { display: block; resize: vertical; }
.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: #6d695f; }
#guest-field { margin-bottom: 1rem; }
.response-choices { display: flex; flex-wrap: wrap; gap: .45rem .6rem; }
.choice { flex: 1 1 155px; display: flex; align-items: center; gap: .45rem; padding: .48rem .54rem; border: 1px solid #b29c7e; border-radius: 2px; cursor: pointer; font-size: .85rem; }
.choice:has(:checked) { border-color: var(--forest); background: #e7ebde; }
.choice input { width: 16px; height: 16px; accent-color: var(--forest); margin: 0; }
.field-aside { font-weight: 400; color: #665c4e; }
.rsvp-form .button { width: 100%; margin-top: 1.05rem; }
.rsvp-form .small-status:empty { display: none; }
.rsvp-form .text-link { display: inline-block; margin-top: .3rem; }
.closing { position: relative; isolation: isolate; text-align: center; background: radial-gradient(ellipse at center top, #264438, var(--forest-deep)); color: var(--cream); }
.closing p { max-width: 560px; margin: 1.25rem auto 0; }
.closing p + p { margin-top: .35rem; }
.sign-off { margin-top: 1.35rem; color: #e5ca9e; font: italic 1.55rem/1.16 var(--serif); }
.sign-off strong { display: inline-block; margin-top: .28rem; font-weight: 400; }
footer { background: #0a1813; padding: 1.1rem 1rem; display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: .35rem .55rem; color: #e4d4b9; font-size: .82rem; }
footer a { text-underline-offset: 3px; }
.reveal { animation: enter .7s ease both; animation-play-state: paused; }
.reveal:not(.is-visible) { animation: none; }
.reveal.is-visible { animation-play-state: running; }
@media (max-width: 1020px) {
  .hero-inner { width: min(100% - 72px, 900px); gap: 2.5rem; }
  .header-inner { width: calc(100% - 64px); }
}
@media (max-width: 730px) {
  .header-inner { width: calc(100% - 36px); min-height: 60px; grid-template-columns: 1fr auto; gap: .5rem; }
  .site-header nav { display: none; }
  .wordmark { font-size: 1.24rem; gap: .48rem; }
  .wordmark img { width: 19px; }
  .music-toggle { padding: .3rem .62rem; }
  .hero::after { inset: 9px; }
  .hero-inner { width: min(100% - 48px, 530px); display: flex; flex-direction: column; gap: 2.05rem; padding: 2.45rem 0 1.9rem; text-align: center; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.5rem, 15.2vw, 6.6rem); }
  .hero-eyebrow { margin-bottom: 1rem; font-size: .7rem; gap: .65rem; }
  .hero-eyebrow span { width: 19px; }
  .hero-year { margin: .54rem 0 .95rem; font-size: .78rem; }
  .hero-copy p { max-width: 325px; }
  .hero-date { margin-top: .9rem; font-size: .74rem; }
  .hero-actions { margin-top: 1rem; gap: .5rem 1rem; }
  .hero-visual { width: min(100%, 365px); padding: 9px; }
  .arch-crown { width: 30px; height: 30px; }
  .arch { aspect-ratio: 1; }
  .section-inner { width: min(100% - 38px, 550px); }
  .editorial, .attire-layout, .rsvp-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .celebration .editorial-copy, .tasting .editorial-copy { grid-row: 1; }
  .palette { width: min(100%, 340px); grid-template-columns: repeat(4, 1fr); }
  .swatch { width: 36px; height: 36px; }
  .editorial-copy > p:not(.eyebrow), .rsvp-copy > p:not(.eyebrow) { margin-top: .85rem; }
  .editorial-copy > .section-star, .rsvp-copy > .section-star { margin-top: .95rem; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .event-grid div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #d5b1775c; }
}
@media (max-width: 355px) {
  .header-inner { width: calc(100% - 22px); }
  .hero-inner { width: calc(100% - 32px); }
  h1 { font-size: 3.35rem; }
  .countdown-grid small { font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
