/* Refinamento editorial: papel, verde-oliva profundo e fotografias impressas. */
:root { --ivory: #f6f1e7; --olive-dark: #414932; --sand: #dcd3c0; --gold: #a39470; }
.site-header { background: var(--ivory); border-bottom-color: #b5ad953d; }
.nav-container { min-height: 88px; max-width: 1480px; padding-inline: 5%; }
.brand { font-size: 38px; }
nav a { font-size: 17px; }
.nav-rsvp { border-color: var(--gold); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; padding: 0; min-height: 0; overflow: hidden; text-align: center; align-items: stretch; }
.hero-content { position: relative; padding: 30px 40px 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 825px; }
.hero-frame { inset: 22px; border-color: #a394704f; }
.hero-frame::after { content: ''; position: absolute; inset: 6px; border: 1px solid #a3947025; }
.hero-branch { display: none; }
.hero-logo { width: 152px; height: 152px; margin-bottom: 12px; mix-blend-mode: multiply; }
.hero .eyebrow { font-size: 10px; letter-spacing: .23em; }
.hero h1 { flex-direction: column; gap: 0; font-size: clamp(76px, 7.5vw, 116px); line-height: .86; letter-spacing: -.045em; margin: 30px 0 22px; }
.hero h1 .ampersand { font-size: 49px; line-height: .9; padding: 8px 0 11px; color: var(--gold); }
.hero-invitation { font-size: 19px; max-width: 260px; line-height: 1.45; margin-top: 0; }
.hero-date { margin-top: 24px; gap: 15px; }
.hero-date time { font-size: 21px; letter-spacing: .2em; }
.date-rule { width: 27px; background: var(--gold); }
.hero-place { font-size: 14px; }
.hero .text-link { margin-top: 18px; font-size: 14px; }
.hero-note { font-size: 26px; margin-top: 16px; }
.hero-art { position: relative; min-width: 0; background: #69684e; padding: 27px 27px 0; display: flex; flex-direction: column; }
.hero-art img { width: 100%; flex: 1; min-height: 0; height: 735px; object-fit: cover; }
.hero-art figcaption { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 63px; color: #f6f1e7; font-size: 14px; font-style: italic; }
.hero-art figcaption span:last-child { font-size: 10px; letter-spacing: .15em; font-style: normal; }
.countdown-section { background: #414932; color: var(--ivory); padding: 48px max(6%, calc((100vw - 1120px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.countdown-intro .eyebrow { color: #d8d2bb; font-size: 10px; letter-spacing: .22em; }
.countdown-intro h2 { color: var(--ivory); font-size: 39px; margin-top: 9px; white-space: nowrap; }
.countdown { display: flex; align-items: flex-start; gap: 25px; font-variant-numeric: tabular-nums; }
.countdown div { display: flex; flex-direction: column; align-items: center; min-width: 63px; }
.countdown span { font-size: 57px; line-height: 1; font-weight: 400; }
.countdown small { text-transform: uppercase; letter-spacing: .2em; font-size: 10px; margin-top: 14px; }
.countdown i { font-size: 27px; color: #bbb899; font-style: normal; padding-top: 7px; }
.blessing { padding-block: 110px; background: linear-gradient(90deg, transparent 49.95%, #a3947015 50%, transparent 50.05%); }
.blessing blockquote { max-width: 760px; }
.blessing blockquote p { font-size: clamp(30px, 3.6vw, 48px); }
.cross { color: var(--gold); }
.story { gap: 115px; padding-block: 95px 130px; }
.story .editorial-image { padding: 15px 15px 0; border: 1px solid #b8aa8b; transform: rotate(-3deg); }
.story .editorial-image img { aspect-ratio: 4 / 4.8; }
.story .editorial-image figcaption { padding-bottom: 17px; font-size: 15px; }
.story h2 { font-size: clamp(48px, 5.6vw, 75px); }
.story h2 em, .album-copy h2 em { font-family: var(--script); font-weight: 400; }
.story .signature { margin-top: 30px; }
.gallery-section { background: #e9e4d7; padding-block: 120px; overflow: hidden; border-block: 1px solid #c4b99f88; }
.album-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; text-align: left; }
.album-copy h2 { font-size: clamp(46px, 5.2vw, 70px); line-height: 1.1; margin: 22px 0 27px; }
.album-copy > p:not(.eyebrow):not(.album-disclaimer) { font-size: 22px; }
.album-controls { display: flex; align-items: center; gap: 20px; margin-top: 38px; }
.album-controls button { background: transparent; border: 1px solid #a79e87; min-width: 46px; height: 46px; font-size: 23px; color: var(--olive-dark); transition: background 220ms, color 220ms; }
.album-controls button:hover { background: var(--olive-dark); color: var(--ivory); }
#album-counter { font-size: 14px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
#album-pause { font-size: 14px; border: 0; border-bottom: 1px solid #a79e87; padding: 0 5px; }
.album-copy .album-disclaimer { font-size: 13px; margin-top: 24px; color: #645d4e; }
.album-stage { min-width: 0; padding: 28px 24px 0; }
.photo-stack { width: 100%; max-width: 390px; aspect-ratio: 4 / 5.1; position: relative; margin: 0 auto; touch-action: pan-y; }
.photo-card { position: absolute; inset: 0; width: 100%; padding: 15px 15px 54px; border: 1px solid #e0d7c5; background: #fffcf4; box-shadow: 0 18px 32px -18px #40371e88; transform-origin: center 75%; transition: transform 850ms cubic-bezier(.22,.75,.2,1), opacity 650ms; color: var(--olive-dark); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.photo-card[data-position="0"] { transform: rotate(-4deg); z-index: 4; opacity: 1; }
.photo-card[data-position="1"] { transform: translate(15px, -9px) rotate(6deg) scale(.97); z-index: 3; pointer-events: none; }
.photo-card[data-position="2"] { transform: translate(-10px, -14px) rotate(-9deg) scale(.94); z-index: 2; pointer-events: none; }
.photo-card[data-position="3"] { transform: translate(25px, -22px) rotate(12deg) scale(.9); opacity: 0; z-index: 1; pointer-events: none; }
.photo-caption { position: absolute; bottom: 13px; left: 16px; right: 35px; font-family: var(--script); font-size: 25px; text-align: center; }
.photo-card small { position: absolute; bottom: 19px; right: 16px; font-size: 10px; letter-spacing: .1em; }
.album-footnote { font-family: var(--script); font-size: 23px; display: block; text-align: center; margin-top: 38px; color: var(--brown); }
.ceremony { padding-block: 120px; gap: 105px; }
.ceremony-copy h2 { font-size: clamp(48px, 5.4vw, 72px); }
.invitation-image { position: relative; padding: 15px; border: 1px solid var(--gold); border-radius: 48% 48% 0 0; }
.invitation-image img { border-radius: 48% 48% 0 0; aspect-ratio: 4 / 5.5; }
.invitation-image figcaption { font-family: var(--script); font-size: 23px; font-style: normal; }
.gifts { background: #414932; color: var(--ivory); padding-block: 95px; }
.gifts h2, .gifts .eyebrow, .gifts .status, .gifts .button { color: var(--ivory); }
.gifts .eyebrow { color: #d4ceb7; }
.gifts .status { border-color: #9c9f83; }
.rsvp { padding-block: 110px 85px; }
.rsvp .status { border: 0; border-block: 1px solid #b9ad94; border-radius: 0; }
footer { background: #eee7d9; }
footer .footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin: 22px 0 0; font-family: var(--serif); font-size: 16px; letter-spacing: .04em; color: var(--olive-dark); }
footer .footer-social a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid transparent; }
footer .footer-social a:hover { border-color: currentColor; }
footer .footer-social span { display: inline-flex; align-items: center; }
@media (min-width: 1500px) { .hero-content { min-height: 900px; } .hero-art img { height: 810px; } }
@media (max-width: 1050px) { .hero-content { padding-inline: 26px; min-height: 770px; } .hero h1 { font-size: 84px; } .hero-art { padding: 18px 18px 0; } .hero-art img { height: 680px; } .hero-art figcaption { font-size: 12px; } .countdown-section { gap: 25px; padding-inline: 5%; } .countdown { gap: 16px; } .countdown-intro h2 { font-size: 32px; } .countdown span { font-size: 49px; } .album-layout { gap: 32px; } .story,.ceremony { gap: 55px; } }
@media (max-width: 760px) {
  .nav-container { min-height: 70px; }
  .hero { grid-template-columns: 1fr; }
  .hero-content { min-height: 760px; padding: 28px 25px 40px; }
  .hero-frame { inset: 13px; }
  .hero h1 { font-size: clamp(76px, 17vw, 100px); }
  .hero-logo { width: 144px; height: 144px; }
  .hero .eyebrow { font-size: 9px; }
  .hero-art { margin: 0; padding: 19px 19px 0; }
  .hero-art img { height: 410px; width: 100%; object-position: 50% 45%; }
  .hero-art figcaption { min-height: 51px; font-size: 13px; }
  .countdown-section { flex-direction: column; padding: 40px 20px 43px; gap: 30px; text-align: center; }
  .countdown-intro h2 { font-size: 38px; }
  .countdown { width: min(100%, 380px); justify-content: space-between; gap: 6px; }
  .countdown div { min-width: 48px; }
  .countdown span { font-size: 43px; }
  .countdown small { font-size: 9px; letter-spacing: .12em; }
  .countdown i { font-size: 22px; }
  .blessing { padding-block: 75px; }
  .story,.ceremony { padding-block: 75px; gap: 45px; }
  .story .editorial-image { width: calc(100% - 22px); }
  .album-layout { grid-template-columns: 1fr; gap: 43px; }
  .gallery-section { padding-block: 72px; }
  .album-copy { text-align: center; }
  .album-copy h2 { font-size: 51px; }
  .album-controls { justify-content: center; gap: 17px; margin-top: 27px; }
  .album-stage { padding: 18px 20px 0; }
  .photo-stack { max-width: 340px; }
  .photo-card { padding: 11px 11px 49px; }
  .photo-caption { font-size: 22px; }
  .album-footnote { font-size: 23px; }
  .invitation-image { width: calc(100% - 16px); }
  .rsvp { padding-block: 75px; }
}
@media (prefers-reduced-motion: reduce) { .photo-card { transition: none; } }
