:root { --coral: #ff827a; --wine: #65051a; --blue: #0648df; --cream: #fff8ef; --ink: #3c1320; --line: rgba(101,5,26,.18); --serif: Georgia, 'Times New Roman', 'Noto Serif CJK SC', 'Songti SC', SimSun, serif; --sans: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--cream); color: var(--wine); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font-size: 15px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, input, textarea, select { border-radius: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button { color: inherit; }
button, a { touch-action: manipulation; }
input, textarea, select { min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: white; }
.skip-link { position: fixed; top: -70px; left: 15px; background: var(--cream); padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 12px; }
.masthead { position: absolute; z-index: 8; top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 4%; color: var(--wine); }
.monogram { font: bold 24px var(--serif); letter-spacing: -2px; }
.monogram span { font-size: 15px; margin: 0 2px; }
.monogram .monogram__dot { font-size: 28px; margin: 0; }
.masthead__date { font: 10px Arial, sans-serif; letter-spacing: 3px; }
.sound-button { border: 1px solid rgba(101,5,26,.35); background: rgba(255,130,122,.6); border-radius: 30px; padding: 8px 13px; display: flex; gap: 8px; align-items: center; min-height: 38px; font-size: 10px; }
.sound-bars { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.sound-bars i { display: block; width: 2px; height: 5px; background: currentColor; }
.sound-bars i:nth-child(2) { height: 12px; }
.sound-bars i:nth-child(3) { height: 8px; }
.sound-bars i:nth-child(4) { height: 14px; }
[aria-pressed='true'] .sound-bars i { animation: sound .8s infinite alternate ease-in-out; }
[aria-pressed='true'] .sound-bars i:nth-child(2n) { animation-delay: -.5s; }
@keyframes sound { to { transform: scaleY(.25); } }
.hero { position: relative; isolation: isolate; overflow: hidden; height: 100svh; min-height: 820px; max-height: 1200px; background: radial-gradient(ellipse at 70% 26%,#ff938a 0%,var(--coral) 52%,#f87a76 100%); }
.hero__topline { position: absolute; z-index: 1; top: 79px; left: 4%; letter-spacing: 3px; font-size: 9px; }
.hero__headline { position: absolute; z-index: 1; top: 98px; left: 2.7%; width: 94.6%; margin: 0; font-family: Impact, 'Arial Narrow', 'Arial Black', sans-serif; font-weight: 900; font-size: clamp(110px,18vw,270px); letter-spacing: -.04em; line-height: .86; white-space: nowrap; }
.hero__headline span { color: var(--wine); }
.hero__subtitle { position: absolute; z-index: 1; right: 4.2%; top: 305px; margin: 0; font: 25px var(--serif); color: var(--cream); letter-spacing: 4px; }
.hero__subtitle span { display: block; width: 45px; height: 1px; margin: 13px 0 0 auto; background: currentColor; }
.hero__couple { position: absolute; z-index: 2; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%); object-fit: contain; user-select: none; pointer-events: none; }
.hero__date { position: absolute; z-index: 4; right: max(4.2%,calc((100vw - 1000px)/2)); top: 40%; width: 110px; padding: 14px 8px; display: grid; justify-items: center; gap: 7px; color: white; background: var(--blue); box-shadow: 7px 7px 0 rgba(101,5,26,.06); font-family: var(--serif); }
.hero__date span, .hero__date strong { font-size: 34px; font-weight: 400; letter-spacing: 2px; }
.hero__date i { width: 16px; height: 1px; background: currentColor; }
.hero__shade { position: absolute; z-index: 3; inset: 58% 0 0; pointer-events: none; background: linear-gradient(transparent,rgba(50,0,15,.44)); }
.hero__bottom { position: absolute; z-index: 5; bottom: 27px; left: 50%; width: min(630px,86%); transform: translateX(-50%); color: white; }
.hero__names { margin: 0; font: 60px var(--serif); text-align: right; letter-spacing: 4px; text-shadow: 0 1px 15px rgba(28,0,9,.25); }
.hero__names span { color: #ffa8ad; font-style: italic; }
.hero__caption { margin: 12px 0 28px; text-align: right; font-size: 12px; letter-spacing: 4px; }
.button { min-height: 58px; padding: 16px 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--wine); background: transparent; font-size: 15px; letter-spacing: 2px; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button--hero { display: flex; border: 1px solid rgba(255,248,239,.9); background: rgba(92,0,23,.91); color: white; width: 100%; font: 25px var(--serif); letter-spacing: 5px; padding: 18px 28px; }
.button--hero:hover { background: #7b0927; }
.arrow { font: 28px Arial, sans-serif; }
.hero__scroll { display: flex; justify-content: space-between; margin-top: 18px; font: 8px Arial, sans-serif; letter-spacing: 3px; opacity: .85; }
.marquee { overflow: hidden; background: var(--wine); color: var(--cream); padding: 20px 0; font: 14px var(--serif); letter-spacing: 4px; }
.marquee div { display: inline-block; white-space: nowrap; animation: marquee 35s linear infinite; }
.marquee span { margin: 0 35px; color: var(--coral); }
@keyframes marquee { to { transform: translateX(-50%); } }
.section-pad { padding: 110px max(6%,calc((100% - 1200px)/2)); }
.eyebrow { font: 10px Arial, sans-serif; letter-spacing: 3px; margin: 0 0 35px; line-height: 1.7; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px,5.2vw,72px); font-weight: 400; line-height: 1.24; letter-spacing: -1px; }
.coral-dot { color: var(--coral); }
.lead { font-family: var(--serif); font-size: 23px; line-height: 1.8; margin: 28px 0 18px; }
.body-copy { color: #795c62; font-size: 14px; line-height: 2.1; margin: 20px 0; }
.invitation { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 10%; }
.invitation__copy { position: relative; }
.invite-stamp { position: absolute; top: 50px; right: 0; border: 1px solid var(--wine); border-radius: 50%; padding: 22px 16px; font: 14px/1.2 var(--serif); transform: rotate(12deg); text-align: center; }
.signature { margin: 25px 0 0; font: 25px var(--serif); }
.signature span { color: #c45f61; font-style: italic; margin: 0 10px; }
.invitation__date { background: var(--blue); padding: 45px 35px 32px; color: var(--cream); transform: rotate(-2deg); }
.invitation__date .eyebrow { margin-bottom: 22px; }
.date-art { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; font: 100px/.95 var(--serif); letter-spacing: -8px; }
.date-art i { font-size: 75px; font-weight: 400; margin: 0 4px; }
.date-caption { text-align: center; font-size: 11px; letter-spacing: 4px; margin: 25px 0 35px; }
.countdown { display: grid; grid-template-columns: repeat(4,1fr); padding-top: 28px; border-top: 1px solid rgba(255,248,239,.4); }
.countdown div { display: grid; justify-items: center; gap: 8px; }
.countdown strong { font: 31px var(--serif); font-variant-numeric: tabular-nums; }
.countdown div span { font-size: 10px; opacity: .8; }
.count-caption { text-align: center; font-size: 11px; margin: 25px 0; letter-spacing: 2px; }
.text-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 10px 0; min-height: 44px; font-size: 12px; }
.invitation__date .text-button { width: 100%; }
.schedule { background: #fffdfa; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10%; border-top: 1px solid var(--line); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 85px 1fr; gap: 25px; padding: 23px 0 27px; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__index { font: italic 65px/.95 var(--serif); color: #e9a09b; }
.timeline time { color: var(--blue); font: 24px var(--serif); }
.timeline h3 { font: 22px var(--serif); margin: 8px 0 10px; }
.timeline p { margin: 0; font-size: 12px; line-height: 1.7; color: #795c62; }
.venue { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10%; background: var(--coral); align-items: center; }
.venue__name { font-family: var(--serif); font-size: 22px; margin: 30px 0 10px; }
.venue__copy > p:not(.eyebrow):not(.venue__name) { font-size: 13px; line-height: 1.9; }
.demo-tag { border: 1px solid rgba(101,5,26,.4); padding: 3px 7px; font-size: 9px; letter-spacing: 1px; }
.venue__actions { margin-top: 28px; display: flex; flex-direction: column; align-items: start; gap: 8px; }
.button--outline { min-height: 50px; font-size: 12px; letter-spacing: 1px; }
.button--outline:hover { background: var(--wine); color: var(--cream); }
.venue-art { position: relative; background: var(--cream); border: 1px solid var(--wine); padding: 12px; transform: rotate(3deg); box-shadow: 9px 9px 0 rgba(101,5,26,.11); }
.venue-art svg { display: block; width: 100%; height: auto; }
.map-water { fill: none; stroke: #d8e2f4; stroke-width: 45; }
.map-streets { fill: none; stroke: #e8dece; stroke-width: 23; }
.map-garden { fill: #e2e5c8; }
.map-route { fill: none; stroke: var(--wine); stroke-width: 3; stroke-dasharray: 5 8; }
.map-start, .map-pin { fill: var(--wine); }
.map-pin-ring { fill: #ff827a; opacity: .6; }
.map-caption { fill: var(--wine); font: 11px Arial; letter-spacing: 1px; }
.map-note { fill: var(--wine); font: 10px Arial; letter-spacing: 3px; }
.venue-art__tag { position: absolute; left: 23px; top: 23px; font: 9px Arial; letter-spacing: 2px; }
.rsvp { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10%; }
.rsvp__demo { color: #936c73; font-size: 10px; line-height: 1.8; margin-top: 30px; }
.rsvp-form { padding-top: 4px; }
.field { display: block; margin-bottom: 27px; font-size: 12px; }
.field > span:not(.optional) { color: #a34452; }
.optional { color: #947680; font-size: 10px; margin-left: 8px; }
.field input, .field select, .field textarea { width: 100%; display: block; color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid #bb9399; margin-top: 8px; padding: 15px 0; outline-offset: 4px; font-size: 16px; }
.field textarea { resize: vertical; min-height: 104px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a08a8c; font-size: 13px; }
.attendance { border: 0; padding: 0; margin: 0 0 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.attendance legend { padding: 0 0 13px; font-size: 12px; }
.attendance label { position: relative; cursor: pointer; }
.attendance input { position: absolute; left: 12px; top: 20px; opacity: 0; }
.attendance label span { display: flex; justify-content: space-between; gap: 10px; padding: 17px 16px; border: 1px solid #bb9399; font-size: 12px; transition: background .2s; }
.attendance label i { font-style: normal; }
.attendance input:checked + span { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.attendance input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.button--submit { width: 100%; background: var(--wine); color: var(--cream); }
.button--submit:hover { background: #850f2c; }
.form-note { font-size: 10px; color: #947680; text-align: center; line-height: 1.7; margin: 15px 0 0; }
.reset-rsvp { display: block; margin: 8px auto 0; padding: 8px; background: none; border: 0; text-decoration: underline; font-size: 10px; color: #947680; }
.footer { position: relative; background: var(--coral); padding-top: 70px; padding-bottom: 60px; }
.footer .eyebrow { margin-bottom: 20px; }
.footer__title { font: 900 clamp(37px,7vw,100px)/.95 Impact, 'Arial Narrow', sans-serif; letter-spacing: -2px; margin: 0 0 35px; }
.footer__title span { color: var(--blue); }
.footer__names { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; font: 20px var(--serif); }
.footer__names span { font: 9px Arial; letter-spacing: 3px; }
.demo-disclaimer { font-size: 10px; line-height: 1.8; opacity: .7; margin: 35px 0 10px; }
.back-top { font-size: 10px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.bottom-nav { position: fixed; z-index: 15; bottom: max(15px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; background: var(--cream); border: 1px solid var(--wine); border-radius: 60px; padding: 5px; box-shadow: 0 3px 20px rgba(50,0,15,.12); white-space: nowrap; }
.bottom-nav a { padding: 14px 23px; font-size: 12px; border-radius: 40px; }
.bottom-nav a:last-child { background: var(--wine); color: var(--cream); }
.toast { position: fixed; z-index: 40; bottom: 95px; left: 50%; transform: translateX(-50%); max-width: 88%; width: max-content; background: var(--wine); color: var(--cream); padding: 14px 20px; font-size: 12px; box-shadow: 0 3px 20px rgba(50,0,15,.15); }
.confirmation { width: min(440px,90%); border: 1px solid var(--wine); background: var(--cream); padding: 45px 28px 30px; color: var(--wine); text-align: center; }
.confirmation::backdrop { background: rgba(43,0,15,.6); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; right: 8px; top: 5px; background: none; border: 0; font-size: 28px; width: 40px; height: 40px; }
.confirmation .eyebrow { font-size: 8px; margin-bottom: 15px; }
.confirmation__heart { font: 80px/.9 var(--serif); color: #d3636c; }
.confirmation h2 { font-size: 30px; margin: 20px 0; }
.confirmation > p:not(.eyebrow) { font-size: 13px; line-height: 1.8; }
.confirmation .confirmation__demo { color: #9b7c84; font-size: 10px; margin: 20px 0 25px; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s, transform .65s; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .invitation__date.is-visible { transform: rotate(-2deg); }
.js .venue-art.is-visible { transform: rotate(3deg); }
@media (min-width: 1600px) { .hero__headline { width: 1400px; left: 50%; transform: translateX(-50%); font-size: 270px; } .hero__subtitle { right: calc((100% - 1400px)/2); } }
@media (max-width: 760px) {
  .masthead { height: 53px; padding: 0 6%; }
  .masthead__date { font-size: 8px; letter-spacing: 2px; }
  .monogram { font-size: 21px; }
  .sound-button { padding: 7px 10px; min-height: 33px; }
  .hero { min-height: 720px; max-height: 1000px; }
  .hero__topline { top: 65px; left: 6%; font-size: 7px; letter-spacing: 2px; }
  .hero__headline { top: 84px; left: 3.5%; width: 93%; font-size: 27vw; letter-spacing: -.04em; }
  .hero__subtitle { top: 184px; right: 6%; font-size: 16px; letter-spacing: 2px; }
  .hero__date { top: 31%; right: 5%; width: 68px; padding: 11px 5px; gap: 6px; }
  .hero__date span, .hero__date strong { font-size: 23px; letter-spacing: 1px; }
  .hero__couple { height: 85%; }
  .hero__bottom { bottom: 23px; width: 88%; }
  .hero__names { font-size: clamp(34px,9vw,52px); letter-spacing: 2px; }
  .hero__caption { font-size: 10px; letter-spacing: 3px; margin: 10px 0 20px; }
  .button--hero { min-height: 60px; padding: 15px 20px; font-size: 21px; letter-spacing: 4px; }
  .hero__scroll { font-size: 7px; margin-top: 16px; }
  .marquee { font-size: 11px; padding: 16px 0; }
  .marquee span { margin: 0 25px; }
  .section-pad { padding: 70px 7%; }
  .eyebrow { font-size: 9px; margin-bottom: 28px; letter-spacing: 2px; }
  h2 { font-size: clamp(38px,10.5vw,58px); }
  .lead { font-size: 20px; margin-top: 25px; }
  .body-copy { font-size: 13px; line-height: 2.1; }
  .invitation, .schedule, .venue, .rsvp { grid-template-columns: 1fr; gap: 48px; }
  .invite-stamp { top: 50px; right: 5px; font-size: 12px; padding: 19px 13px; }
  .signature { font-size: 22px; }
  .invitation__date { padding: 35px 25px 25px; max-width: 440px; width: 95%; justify-self: center; }
  .date-art { font-size: 99px; }
  .date-caption { font-size: 10px; letter-spacing: 3px; }
  .countdown strong { font-size: 29px; }
  .schedule { gap: 32px; }
  .timeline li { grid-template-columns: 65px 1fr; gap: 22px; padding: 23px 0; }
  .timeline__index { font-size: 57px; }
  .timeline h3 { font-size: 21px; }
  .timeline p { font-size: 11px; }
  .venue { gap: 40px; }
  .venue__name { font-size: 22px; }
  .venue-art { width: 95%; justify-self: center; padding: 8px; }
  .rsvp { gap: 26px; }
  .rsvp__demo { margin-top: 22px; }
  .field { margin-bottom: 25px; }
  .attendance { gap: 10px; }
  .attendance label span { padding: 16px 13px; }
  .footer { padding-bottom: 100px; }
  .footer__title { font-size: 10vw; letter-spacing: -1px; }
  .bottom-nav a { padding: 13px 21px; }
}
@media (max-width: 360px) { .hero { min-height: 700px; } .hero__subtitle { top: 176px; font-size: 14px; } .hero__date { width: 52px; right: 3%; top: 31%; padding: 9px 4px; } .hero__date span, .hero__date strong { font-size: 19px; } .invite-stamp { right: -5px; } .date-art { font-size: 85px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } }
