/* A quiet, photo-led invitation. Shared by both family invitations. */
:root {
  --primary-gold: #80514a;
  --gold-light: #e3ccc2;
  --gold-dark: #663c36;
  --gold-gradient: linear-gradient(#783f3e, #783f3e);
  --rose-red: #783f3e;
  --bg-body: #f8f5ee;
  --text-main: #332b28;
  --text-muted: #756c64;
  --border-subtle: #e4ddd2;
  --border-light: #ded3c6;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 3px;
}
::selection { background: #e6d1c6; color: #332b28; }
:focus-visible { outline: 2px solid var(--rose-red); outline-offset: 5px; }
section { scroll-margin-top: 85px; }
.container { max-width: 1180px; padding-inline: 32px; }
.navbar { background: rgba(248,245,238,.95); border-color: var(--border-subtle); }
.nav-container { height: 76px; }
.nav-brand { font-size: 1.05rem; font-weight: 400; }
.nav-menu { gap: 24px; }
.nav-link { text-transform: none; letter-spacing: 0; font-size: .76rem; }
.nav-cta-btn { background: var(--rose-red); border-radius: 2px; font-weight: 400; }
.hero-section { margin-top: 76px; min-height: 760px; min-height: calc(100svh - 76px); padding: 72px 0; background: var(--bg-body); justify-content: flex-start; }
.hero-bg-wrapper { left: 47%; top: 28px; width: calc(53% - 32px); height: calc(100% - 56px); overflow: hidden; }
.hero-bg-img { filter: none; object-position: 53% center; transform: scale(1.015); transition: transform 1.8s cubic-bezier(.2,.6,.2,1); }
body.invitation-open .hero-bg-img { transform: scale(1); }
.hero-overlay { display: none; }
.hero-content { width: 47%; max-width: none; margin: 0; padding: 30px clamp(24px,4vw,80px); color: var(--text-main); }
.hero-subtag { color: var(--rose-red); font-size: .64rem; letter-spacing: 2.2px; margin-bottom: 30px; font-weight: 500; }
.hero-invitation-text { font-family: var(--font-sans); color: var(--text-muted); font-size: .7rem; letter-spacing: 2px; margin-bottom: 20px; }
.hero-couple-names { font-size: clamp(2.8rem,4.4vw,5rem); font-weight: 400; letter-spacing: -1.5px; text-shadow: none; line-height: 1.22; margin-bottom: 28px; }
.hero-couple-names .and-sign { display: block; color: var(--rose-red); font-family: var(--font-serif); font-size: 2.7rem; font-style: italic; line-height: 1.3; margin: 0; }
.hero-date-banner { display: flex; flex-direction: column; gap: 8px; border: 0; border-radius: 0; background: none; backdrop-filter: none; padding: 0; margin-bottom: 26px; }
.hero-date-banner .date-solar { font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; letter-spacing: 4px; }
.hero-date-banner .divider { display: none; }
.hero-date-banner .date-lunar { font-size: .7rem; color: var(--text-muted); }
.hero-countdown-box { background: none; backdrop-filter: none; border: 0; border-top: 1px solid var(--border-subtle); border-radius: 0; padding: 22px 0 0; max-width: 300px; margin-bottom: 28px; }
.countdown-title { font-size: .61rem; color: var(--text-muted); letter-spacing: 1px; text-transform: none; }
.countdown-item { background: none; border: 0; padding: 0; }
.countdown-number { font-size: 1.7rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.countdown-label { color: var(--text-muted); font-size: .58rem; text-transform: none; }
.hero-actions { gap: 16px; }
.btn { border-radius: 2px; font-weight: 500; font-size: .78rem; padding: 13px 22px; box-shadow: none; letter-spacing: 0; }
.btn-primary:hover { box-shadow: none; background: #60302f; }
.btn-outline-gold { color: var(--rose-red); border-color: var(--border-light); background: transparent; backdrop-filter: none; }
.btn-outline-gold:hover { color: white; }
.hero-actions .btn-outline-gold { border: 0; padding-inline: 0; border-bottom: 1px solid var(--border-light); }
.hero-actions .btn-outline-gold:hover { background: none; color: var(--rose-red); }
.hero-actions i { display: none; }
.section-header { margin-bottom: 48px; }
.section-subtitle { font-family: var(--font-sans); font-size: .65rem; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 15px; }
.section-title { font-size: clamp(1.8rem,3vw,2.8rem); font-weight: 400; letter-spacing: -.5px; text-transform: none; margin-bottom: 18px; }
.section-desc { font-size: .85rem; line-height: 1.9; }
.title-ornament { display: none; }
.couple-section,.events-section,.gallery-section,.gift-section,.rsvp-section { padding: 100px 0; }
.couple-section { background: var(--bg-body); }
.couple-grid { max-width: 850px; margin: auto; gap: 55px; }
.couple-card { border: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.couple-card:hover { transform: none; box-shadow: none; }
.couple-avatar-wrap { width: 100%; height: auto; aspect-ratio: 4/5; border-radius: 2px; padding: 0; background: none; box-shadow: none; overflow: hidden; margin-bottom: 25px; }
.couple-avatar { border-radius: 0; border: 0; transition: transform 1s; }
.couple-card:hover .couple-avatar { transform: scale(1.025); }
.couple-name { font-weight: 400; font-size: 1.8rem; text-transform: capitalize; }
.couple-role { font-size: .65rem; }
.couple-bio { display: none; }
.couple-heart-circle { background: none; border: 0; box-shadow: none; font-family: var(--font-serif); font-size: 2.5rem; font-style: italic; }
.events-section { background: #efeae0; }
.events-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,340px),1fr)); }
.event-card { box-shadow: none; border: 1px solid #ded6c9; background: #f8f5ee; }
.event-card:hover { box-shadow: none; transform: none; }
.event-img-wrap { height: 245px; }
.event-badge { border-radius: 0; font-size: .62rem; letter-spacing: 1.5px; background: #f8f5ee; color: var(--rose-red); }
.event-body { padding: 30px; }
.event-title { font-weight: 400; font-size: 1.5rem; }
.gallery-section { background: #fdfbf7; }
.gallery-filters { gap: 24px; }
.gallery-filter-btn { background: none; border: 0; border-bottom: 1px solid transparent; border-radius: 0; padding: 8px 0; font-size: .75rem; font-weight: 400; }
.gallery-filter-btn.active,.gallery-filter-btn:hover { background: none; color: var(--rose-red); border-bottom-color: var(--rose-red); }
.gallery-grid { grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery-item { border-radius: 1px; }
.gallery-item:nth-child(6n+2) { margin-top: 30px; }
.gallery-img { transition: transform 1s cubic-bezier(.2,.6,.2,1); }
.gallery-overlay { background: linear-gradient(transparent 50%,rgba(35,31,29,.35)); justify-content: flex-end; padding: 20px; }
.gallery-icon { display: none; }
.gallery-title { font-size: .72rem; font-weight: 400; }
.gift-tab-btn { border-radius: 2px; font-size: .76rem; font-weight: 400; padding: 11px 16px; }
.gift-tab-btn.active { box-shadow: none; }
.gift-box-card { box-shadow: none; border-radius: 2px; }
.rsvp-card { padding: 48px; box-shadow: none; border: 0; background: var(--bg-body); }
.radio-pill-label { border-radius: 2px; }
.radio-pill input:focus-visible + .radio-pill-label { outline: 2px solid var(--rose-red); outline-offset: 3px; }
.form-control { border-radius: 2px; }
.wedding-footer { background: #543634; padding: 70px 20px 90px; }
.footer-logo { font-weight: 400; }
.floating-music-player { background: rgba(248,245,238,.96); border: 1px solid var(--border-light); border-radius: 30px; gap: 8px; padding: 5px 13px 5px 5px; bottom: max(18px,env(safe-area-inset-bottom)); }
.music-disk-btn,.music-disk-btn.playing { width: 34px; height: 34px; background: var(--rose-red); border: 0; animation: none; box-shadow: none; color: white; }
.disk-grooves { background: none; width: auto; height: auto; }
.disk-center { background: none; font-size: .7rem; }
.music-equalizer { display: none; }
.music-track { font-size: .64rem; color: var(--text-muted); }
.floating-rsvp-btn { border-radius: 2px; background: var(--rose-red); box-shadow: none; font-size: .7rem; font-weight: 400; }
.floating-rsvp-btn:hover { box-shadow: none; }
.global-toast { bottom: 80px; border: 0; border-radius: 3px; font-size: .75rem; }
.reveal { transform: translateY(18px); transition-duration: .8s; will-change: auto; }
.invitation-cover { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: #f1ece2; padding: 24px; transition: opacity .8s, visibility .8s; }
.invitation-cover.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.invitation-paper { width: min(460px,100%); text-align: center; border: 1px solid #cfc1af; outline: 1px solid #ded5c8; outline-offset: -10px; padding: 64px 28px 40px; background: #faf7f0; box-shadow: 0 24px 80px #4c342313; transition: transform .8s,opacity .6s; }
.invitation-cover.entering .invitation-paper { transform: translateY(-24px); opacity: 0; }
.cover-monogram { font-family: var(--font-serif); color: var(--rose-red); font-size: 2.5rem; letter-spacing: -4px; margin-bottom: 28px; }
.cover-eyebrow { font-size: .62rem; letter-spacing: 2.8px; color: var(--text-muted); }
.cover-names { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2rem,6vw,2.8rem); line-height: 1.4; margin: 20px 0; }
.cover-names span { color: var(--rose-red); font-style: italic; font-size: 1.8rem; }
.cover-date { font-size: .8rem; letter-spacing: 4px; margin: 22px 0 32px; }
.cover-note { font-size: .66rem; margin-top: 18px; color: var(--text-muted); }
.cover-skip { display: block; margin: 18px auto 0; border: 0; border-bottom: 1px solid var(--border-light); background: none; font: inherit; font-size: .66rem; padding: 6px; cursor: pointer; color: var(--text-muted); }
@media(min-width:769px) { .couple-grid { grid-template-columns: 1fr auto 1fr; } }
@media(max-width:1100px) and (min-width:769px) { .nav-link:first-child { display: none; } .nav-menu { gap: 14px; } .nav-link { font-size: .68rem; } }
@media(max-width:768px) {
  .container { padding-inline: 22px; }
  .nav-container { height: 64px; }
  .nav-menu { visibility: hidden; opacity: 0; pointer-events: none; background: var(--bg-body); top: 64px; }
  .nav-menu.open { visibility: visible; opacity: 1; pointer-events: auto; }
  .hero-section { margin-top: 64px; padding: 0 0 45px; display: flex; flex-direction: column; min-height: 0; }
  .hero-bg-wrapper { position: relative; left: auto; top: auto; width: calc(100% - 32px); height: auto; aspect-ratio: 1.1; margin: 16px 16px 0; }
  .hero-bg-img { object-position: center 35%; }
  .hero-content { width: 100%; padding: 35px 22px 0; }
  .hero-subtag { margin-bottom: 18px; font-size: .58rem; }
  .hero-invitation-text { display: none; }
  .hero-couple-names { font-size: clamp(2rem,8.2vw,3.4rem); letter-spacing: -1px; margin-bottom: 18px; }
  .hero-couple-names .and-sign { display: inline; font-size: 1.8rem; margin: 0 6px; }
  .hero-date-banner { gap: 5px; margin-bottom: 22px; }
  .hero-countdown-box { max-width: 270px; padding-top: 16px; margin-bottom: 22px; }
  .countdown-title { margin-bottom: 12px; }
  .couple-section,.events-section,.gallery-section,.gift-section,.rsvp-section { padding: 65px 0; }
  .couple-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .couple-divider { display: none; }
  .couple-name { font-size: 1.4rem; }
  .couple-avatar-wrap { margin-bottom: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item:nth-child(6n+2) { margin-top: 0; }
  .gallery-item:nth-child(even) { transform: translateY(20px); }
  .gallery-filters { gap: 18px; }
  .rsvp-card { padding: 30px 20px; }
  .gift-tab-btn { font-size: .68rem; padding-inline: 12px; }
  .event-body { padding: 24px; }
  .floating-rsvp-btn { right: 12px; padding: 12px; }
  .floating-music-player { left: 12px; }
  .invitation-paper { padding: 40px 20px 30px; }
}

