:root {
  --paper: #f3eee6;
  --paper-light: #faf7f1;
  --ink: #292923;
  --muted: #747166;
  --line: rgba(54, 58, 48, .18);
  --pine: #35463a;
  --pine-light: #667568;
  --gold: #aa8960;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --script: "Marck Script", cursive;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(48, 45, 37, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; opacity: .28; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.09'/%3E%3C/svg%3E"); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: auto; padding: 0 28px; background: rgba(243, 238, 230, .86); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.site-header::before { content: ""; position: fixed; z-index: -1; top: 0; left: 0; right: 0; height: 72px; background: rgba(243, 238, 230, .86); border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; gap: 34px; }
.site-header nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 600; }
.site-header nav a:hover { color: var(--pine-light); }
.monogram { font: 500 27px/1 var(--serif); text-decoration: none; letter-spacing: .06em; }
.monogram i { color: var(--gold); font-family: var(--script); font-weight: 400; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid var(--pine); border-radius: 99px; cursor: pointer; color: #fff; background: var(--pine); text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); background: var(--ink); }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.button--small { min-height: 38px; padding: 0 18px; }
.text-link { padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; font-size: 13px; }
.text-link:hover { color: var(--pine-light); }
.section { max-width: 1180px; margin: 0 auto; padding: 120px 32px; }
.eyebrow { margin: 0 0 12px; color: var(--pine-light); text-transform: uppercase; letter-spacing: .22em; font-size: 10px; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 24px; font: 500 clamp(42px, 5vw, 68px)/.98 var(--serif); letter-spacing: -.025em; }
h3 { font: 500 31px/1.1 var(--serif); }
.script-label { color: var(--gold); font: 400 34px/1.1 var(--script); }
.section-heading { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-heading > p:last-child { max-width: 600px; margin-inline: auto; color: var(--muted); }

.hero { position: relative; display: grid; grid-template-columns: 1fr .88fr; gap: clamp(50px, 8vw, 110px); align-items: center; max-width: 1240px; min-height: calc(100vh - 72px); margin: auto; padding: 72px 48px 118px; }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin: 0; font: 500 clamp(64px, 8vw, 110px)/.82 var(--serif); letter-spacing: -.055em; }
.hero h1 span { display: inline-block; margin: 0 .02em; color: var(--gold); font: 400 .57em/1 var(--script); letter-spacing: 0; transform: rotate(-6deg); }
.hero__script { margin: 24px 0 26px; color: var(--gold); font: 400 clamp(30px, 3.3vw, 44px)/1 var(--script); }
.hero__lead { max-width: 570px; color: var(--muted); font-size: 15px; }
.date-lockup { display: flex; max-width: 500px; margin: 34px 0; border-block: 1px solid var(--line); }
.date-lockup > div { display: flex; flex: 1; gap: 15px; align-items: center; padding: 16px 20px 16px 0; }
.date-lockup > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.date-lockup strong { font: 500 50px/1 var(--serif); }
.date-lockup span { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; line-height: 1.5; }
.hero__actions { display: flex; align-items: center; gap: 28px; }
.portrait { position: relative; overflow: hidden; background: #d5d1c6; box-shadow: var(--shadow); }
.portrait::after { content: ""; position: absolute; inset: 14px; z-index: 3; border: 1px solid rgba(255,255,255,.48); border-radius: inherit; pointer-events: none; }
.portrait img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.portrait__fallback { position: absolute; inset: 0; display: grid; place-content: center; gap: 16px; text-align: center; color: rgba(41, 41, 35, .55); background: radial-gradient(circle at 50% 35%, #ebe7dc, #c9c6bb); }
.portrait__fallback::before, .portrait__fallback::after { content: ""; position: absolute; width: 260px; height: 360px; border: 1px solid rgba(53, 70, 58, .24); border-radius: 50%; transform: rotate(28deg); }
.portrait__fallback::after { transform: rotate(-28deg); }
.portrait__fallback span { position: relative; z-index: 1; font: 500 72px/1 var(--serif); }
.portrait__fallback small { position: relative; z-index: 1; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.portrait--hero { justify-self: end; width: min(100%, 470px); aspect-ratio: 4/5.4; border-radius: 50% 50% 22px 22px / 31% 31% 22px 22px; transform: rotate(1.2deg); }
.portrait--hero p { position: absolute; z-index: 4; left: 0; right: 0; bottom: 22px; margin: 0; color: white; text-align: center; text-shadow: 0 2px 20px rgba(0,0,0,.45); font: 400 31px/1 var(--script); }
.countdown { position: absolute; left: 50%; bottom: 26px; width: max-content; display: flex; gap: 32px; align-items: center; transform: translateX(-50%); }
.countdown > p { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.countdown > div { display: flex; gap: 28px; }
.countdown span { display: grid; text-align: center; }
.countdown strong { font: 500 28px/1 var(--serif); }
.countdown small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 8px; }
.winter-branch { position: absolute; z-index: -1; width: 440px; height: 440px; opacity: .09; background: repeating-radial-gradient(ellipse at bottom left, transparent 0 33px, var(--pine) 34px 35px, transparent 36px 48px); transform: rotate(25deg); }
.winter-branch--one { left: -190px; top: 40px; }

.story { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(60px, 9vw, 120px); }
.story::before { content: ""; position: absolute; left: 0; right: 0; height: 720px; z-index: -1; background: rgba(255,255,255,.32); }
.portrait--story { width: min(100%, 390px); aspect-ratio: 4/5; border-radius: 200px 200px 20px 20px; }
.story__copy > p:not(.script-label,.signature) { max-width: 650px; color: var(--muted); }
.signature { margin-top: 38px; font: 400 28px/1 var(--script); }
.signature span { color: var(--gold); }

.program { padding-top: 140px; }
.timeline { position: relative; max-width: 920px; margin: auto; }
.timeline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 114px; width: 1px; background: var(--line); }
.day { display: grid; grid-template-columns: 115px 1fr; gap: 54px; padding: 0 0 70px; }
.day__date { position: relative; z-index: 1; align-self: start; width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-light); }
.day__date strong { font: 500 45px/1 var(--serif); }
.day__date span { color: var(--muted); text-transform: uppercase; letter-spacing: .09em; font-size: 8px; line-height: 1.5; }
.day h3 { margin: 0 0 18px; font-size: 42px; }
.day ul { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; color: var(--muted); }
.day time { display: inline-block; width: 86px; color: var(--ink); font: 600 12px var(--sans); }
.day small { color: var(--pine-light); }

.photo-break { position: relative; width: min(920px, calc(100% - 40px)); height: min(76vw, 720px); margin: 10px auto 120px; overflow: hidden; border-radius: 300px 300px 24px 24px; box-shadow: var(--shadow); background: #d5d1c6; }
.photo-break::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.48); border-radius: inherit; pointer-events: none; }
.photo-break img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.photo-break figcaption { position: absolute; left: 24px; right: 24px; bottom: 34px; color: white; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.55); font: 400 clamp(28px, 4vw, 46px)/1 var(--script); }

.place { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 8vw, 100px); align-items: center; max-width: none; padding-inline: max(32px, calc((100vw - 1180px)/2 + 32px)); background: var(--pine); color: #f6f0e7; }
.place__visual { position: relative; height: 520px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 50% 50% 22px 22px; background: #45584a; }
.map-lines { position: absolute; inset: -20%; opacity: .25; background: repeating-radial-gradient(ellipse at 40% 60%, transparent 0 22px, #fff 23px 24px, transparent 25px 46px); transform: rotate(-12deg); }
.map-pin { position: absolute; left: 53%; top: 39%; display: grid; width: 66px; height: 66px; place-content: center; border-radius: 50% 50% 50% 8px; background: var(--paper); color: var(--pine); font-size: 28px; transform: rotate(-45deg); }
.map-pin::first-letter { transform: rotate(45deg); }
.place__visual > p { position: absolute; left: 10%; bottom: 8%; font: 500 44px/1 var(--serif); }
.place__visual small { opacity: .65; text-transform: uppercase; letter-spacing: .15em; font: 500 9px var(--sans); }
.place .eyebrow { color: #c7b597; }
.place__copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.place dl { margin: 34px 0; border-block: 1px solid rgba(255,255,255,.17); }
.place dl div { display: grid; grid-template-columns: 105px 1fr; padding: 12px 0; }
.place dt { color: rgba(255,255,255,.55); font-size: 12px; }
.place dd { margin: 0; font-size: 13px; }
.place .button { border-color: var(--paper); color: var(--pine); background: var(--paper); }
.place .text-link { color: white; }
.place__actions { display: flex; align-items: center; gap: 25px; }

.packing__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.packing article { min-height: 290px; padding: 38px; }
.packing article + article { border-left: 1px solid var(--line); }
.packing article > span { color: var(--gold); font: 500 13px var(--serif); }
.packing h3 { margin: 40px 0 16px; }
.packing article p { color: var(--muted); font-size: 13px; }
.swatches { display: flex; gap: 8px; margin-top: 26px; }
.swatches i { width: 26px; height: 26px; border: 1px solid rgba(0,0,0,.08); border-radius: 50%; background: #e8dfcf; }
.swatches i:nth-child(2) { background: #cbb99e; }.swatches i:nth-child(3) { background: #92765e; }.swatches i:nth-child(4) { background: #5f604d; }.swatches i:nth-child(5) { background: #394a3e; }

.rsvp { max-width: none; padding-inline: max(20px, calc((100vw - 1180px)/2 + 32px)); background: rgba(255,255,255,.38); }
.rsvp-shell { max-width: 820px; margin: auto; padding: clamp(24px, 5vw, 60px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-light); box-shadow: var(--shadow); }
.rsvp-progress { display: flex; gap: 22px; align-items: center; margin-bottom: 50px; color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.rsvp-progress > div { flex: 1; height: 2px; overflow: hidden; background: var(--line); }
.rsvp-progress i { display: block; width: 25%; height: 100%; background: var(--gold); transition: width .35s; }
.form-step { display: none; margin: 0; padding: 0; border: 0; }
.form-step.is-active { display: block; animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.form-step legend { margin-bottom: 2px; padding: 0; font: 500 clamp(36px, 5vw, 50px)/1.05 var(--serif); }
.step-note { margin-bottom: 34px; color: var(--muted); font-size: 13px; }
.form-step > label, .field-group { display: grid; gap: 9px; margin-bottom: 25px; font-size: 13px; font-weight: 600; }
.form-step em { color: #986d5c; font-style: normal; }
.field-hint { margin-top: -3px; color: var(--muted); font-size: 10px; font-weight: 400; }
input[type="text"], input[type="tel"], select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 13px; outline: 0; color: var(--ink); background: #fff; padding: 14px 16px; font-size: 14px; transition: border .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(170,137,96,.12); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #a35e54; }
textarea { resize: vertical; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid--three { grid-template-columns: repeat(3, 1fr); }
.choice input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span { display: grid; min-height: 105px; align-content: center; padding: 16px; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; background: #fff; font-weight: 500; transition: .2s; }
.choice small { color: var(--muted); font-size: 10px; font-weight: 400; }
.choice input:checked + span { border-color: var(--pine); color: white; background: var(--pine); box-shadow: 0 8px 25px rgba(53,70,58,.15); }
.choice input:checked + span small { color: rgba(255,255,255,.68); }
.choice input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span { display: block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; background: white; font-size: 11px; font-weight: 500; transition: .2s; }
.chips input:checked + span { border-color: var(--pine); color: white; background: var(--pine); }
.review { display: grid; margin-bottom: 28px; border-block: 1px solid var(--line); }
.review div { display: grid; grid-template-columns: minmax(110px, .4fr) 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.review div:last-child { border-bottom: 0; }
.review dt { color: var(--muted); }.review dd { margin: 0; font-weight: 600; }
.conditional-field { margin: -4px 0 25px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(170,137,96,.08); }
.conditional-field label { display: grid; gap: 9px; font-size: 13px; font-weight: 600; }
.consent { display: grid !important; grid-template-columns: auto 1fr; gap: 13px !important; align-items: start; font-size: 15px !important; line-height: 1.5; font-weight: 500 !important; cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--pine); cursor: pointer; }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 38px; }
.form-actions [data-next], .form-actions [data-submit] { margin-left: auto; }
.form-error { margin-top: 15px; padding: 12px 15px; border: 1px solid rgba(163,94,84,.4); border-radius: 10px; color: #7d413a; background: rgba(163,94,84,.08); font-size: 12px; }
.honeypot { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.success { padding: 60px 0 30px; text-align: center; }
.success > span { display: block; color: var(--gold); font: 400 70px/1 var(--serif); }
.success h3 { margin: 10px 0; font-size: 52px; }
.success p { max-width: 490px; margin: 0 auto 30px; color: var(--muted); }
.success__community { max-width: 610px; margin: 36px auto 0; padding-top: 30px; border-top: 1px solid var(--line); }
.success__community > p { max-width: 570px; font-size: 13px; }
.success__links { display: flex; justify-content: center; gap: 25px; }
.success__links .button { min-width: 175px; }
.button--outline { color: var(--pine); background: transparent; }
.button--outline:hover { color: white; background: var(--pine); }

footer { padding: 70px 20px; text-align: center; }
footer .script-label { margin-bottom: 12px; }
footer strong { display: block; font: 500 34px var(--serif); }
footer small { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; padding: 11px 18px; border-radius: 99px; pointer-events: none; opacity: 0; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 11px; transform: translate(-50%, 10px); transition: .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 840px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 52px 24px 118px; text-align: center; }
  .hero__copy { order: 1; }.portrait--hero { order: 2; justify-self: center; width: min(90%, 450px); }.countdown { left: 50%; bottom: 24px; width: max-content; transform: translateX(-50%); }
  .hero__lead, .date-lockup { margin-inline: auto; }.hero__actions { justify-content: center; }
  .story, .place { grid-template-columns: 1fr; }.portrait--story { justify-self: center; }.story::before { height: 1100px; }
  .place__visual { height: 430px; }.packing__grid { grid-template-columns: 1fr; }.packing article + article { border-left: 0; border-top: 1px solid var(--line); }
  .photo-break { height: min(120vw, 680px); }
}

@media (max-width: 560px) {
  body { font-size: 14px; }.site-header { height: 62px; padding-inline: 18px; }.site-header::before { height: 62px; }.button--small { min-height: 34px; padding: 0 14px; }
  .section { padding: 88px 20px; }.hero { min-height: auto; padding-top: 45px; }.hero h1 { font-size: 61px; }.hero__script { font-size: 29px; }.hero__actions { flex-direction: column; gap: 17px; }
  .date-lockup > div { gap: 8px; padding-left: 8px; padding-right: 8px; }.date-lockup > div + div { padding-left: 15px; }.date-lockup strong { font-size: 38px; }
  .countdown { gap: 15px; }.countdown > div { gap: 16px; }.countdown > p { display: none; }.section-heading { margin-bottom: 45px; }
  .timeline::before { left: 40px; }.day { grid-template-columns: 80px 1fr; gap: 20px; padding-bottom: 52px; }.day__date { width: 80px; height: 80px; flex-direction: column; gap: 0; }.day__date strong { font-size: 31px; }.day__date span { text-align: center; font-size: 7px; }.day h3 { font-size: 32px; }.day time { display: block; width: auto; }
  .place { padding-inline: 20px; }.place__visual { height: 350px; }.place__actions { align-items: flex-start; flex-direction: column; }
  .photo-break { width: calc(100% - 32px); height: 130vw; margin-bottom: 70px; border-radius: 180px 180px 18px 18px; }
  .packing article { min-height: auto; padding: 30px 12px; }.packing h3 { margin-top: 22px; }
  .rsvp-shell { padding: 28px 18px; border-radius: 18px; }.rsvp-progress { margin-bottom: 35px; }.choice-grid--three { grid-template-columns: 1fr; }.choice > span { min-height: 72px; }.review div { grid-template-columns: 1fr; gap: 2px; }.success__links { flex-direction: column; gap: 10px; }
}

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