/* Thiệp Cưới - MODERN */
:root { --ink:#101010; --muted:#767676; --line:#e2e2e2; --paper:#ffffff; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 30; height: 3px; width: 0%; background: var(--ink); transition: width .1s linear; }
.wedding-modern { max-width: 512px; margin: 0 auto; overflow: hidden; color: var(--ink); background: var(--paper); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; letter-spacing: .01em; }
.wedding-modern * { box-sizing: border-box; }
.wedding-modern img { display: block; max-width: 100%; }
.section { padding: 64px 24px; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 26px; }
.couple-names { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; font-weight: 300; font-size: clamp(30px, 9vw, 46px); text-transform: uppercase; letter-spacing: .06em; }
.divider { display: block; width: 40px; height: 1px; background: var(--ink); }
.hero-photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.date-intro { display: flex; align-items: baseline; gap: 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.date-intro strong { font-size: 16px; }
.guest-line { margin: 0; color: #767676; font: 13px Arial, sans-serif; }.guest-line strong { color: #101010; }
.countdown { width: 100%; max-width: 340px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { padding: 14px 4px; border: 1px solid var(--line); }
.countdown strong { display: block; font-size: 22px; font-weight: 300; color: var(--ink); }
.countdown span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.family { border-top: 1px solid var(--line); text-align: center; }
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.parent-card { display: grid; gap: 4px; }
.parent-card strong { font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.parent-card p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.announcement h2 { margin: 14px 0; font-size: 24px; font-weight: 300; letter-spacing: .04em; }
.roles { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

.timeline { background: #fafafa; }
.timeline h2 { margin: 0 0 34px; text-align: center; font-size: 22px; font-weight: 300; letter-spacing: .1em; text-transform: uppercase; }
.timeline ol { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 28px 56px 1fr; align-items: start; gap: 12px; }
.timeline-index { color: var(--line); font-size: 22px; font-weight: 700; }
.timeline time { color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.timeline b { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.timeline p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.event { text-align: center; }
.event-heading h2 { margin: 0 0 28px; font-size: 22px; font-weight: 300; letter-spacing: .06em; }
.venue-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.venue-cards-single { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
.venue-card { padding: 28px 20px; border: 1px solid var(--ink); }
.venue-card h2 { margin: 8px 0; font-size: 22px; font-weight: 300; }
.venue-card > p:last-of-type { margin: 0 0 20px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }

.mung-cuoi { text-align: center; }
.mung-cuoi h2 { margin: 0 0 24px; font-size: 22px; font-weight: 300; letter-spacing: .06em; }
.mung-cuoi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mung-cuoi-card { padding: 16px; border: 1px solid var(--line); }
.mung-cuoi-card img { width: 100%; margin-bottom: 10px; }
.mung-cuoi-card p { margin: 3px 0; font-size: 12px; }

.button, .attendance button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--ink); border-radius: 0; padding: 10px 26px; color: #fff; background: var(--ink); font: 700 11px Arial, sans-serif; letter-spacing: .12em; text-decoration: none; cursor: pointer; text-transform: uppercase; }
.button-dark { width: 100%; }

.rsvp { text-align: center; background: #fafafa; }
.rsvp-form { display: grid; gap: 16px; margin-top: 30px; text-align: left; }
.rsvp-form input, .rsvp-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; color: var(--ink); background: transparent; font: 14px Arial, sans-serif; outline: 0; }
.rsvp-form textarea { resize: vertical; }
.attendance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.attendance button { color: var(--muted); background: transparent; border-color: var(--line); }
.attendance button.is-selected { color: #fff; border-color: var(--ink); background: var(--ink); }
.form-status { min-height: 20px; margin: 0; text-align: center; color: var(--ink); font: 12px Arial, sans-serif; }

.gallery h2 { margin: 0 0 24px; text-align: center; font-size: 22px; font-weight: 300; letter-spacing: .06em; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.gallery-item { aspect-ratio: 3/4; overflow: hidden; }
.gallery-item img { filter: grayscale(1); transition: transform .4s ease, filter .4s ease; }
.gallery-item:hover img { transform: scale(1.05); filter: grayscale(0); }

.thank-you { padding: 80px 24px; text-align: center; background: var(--ink); color: #fff; }
.thank-you h2 { margin: 0 0 14px; font-size: 26px; font-weight: 300; letter-spacing: .3em; text-transform: uppercase; }
.thank-you p { margin: 0; color: #cfcfcf; font-size: 13px; line-height: 1.7; }

.music-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: #fff; font-size: 20px; cursor: pointer; }
.music-toggle[aria-pressed='true'] { animation: modern-pulse 1.5s infinite; }
@keyframes modern-pulse { 50% { transform: scale(1.08); } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
@media (min-width: 768px) { .music-toggle { top: 20px; bottom: auto; } .section { padding-left: 32px; padding-right: 32px; } }
