/*
 * Boda de Mónica & Jesús Adrián
 * Paleta: papel, terracota, salvia y rosa empolvado.
 * Sitio estático: HTML + CSS + JS. Sin frameworks ni compilación.
 */
:root {
  --paper: #f8f2e9;
  --paper-dark: #f0e6d9;
  --paper-light: #fffaf3;
  --terracotta: #ab452e;
  --terracotta-deep: #8f3929;
  --terracotta-light: #ca7757;
  --ink: #49352e;
  --muted: #80665b;
  --sage: #7f8669;
  --border: #dfc9b5;
  --script: 'Allura', 'Lobster Two', 'Brush Script MT', cursive;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shadow-soft: 0 15px 46px rgba(103, 65, 39, .095);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 2% 3%, rgba(207, 167, 132, .14), transparent 28rem),
    radial-gradient(circle at 90% 40%, rgba(220, 182, 166, .09), transparent 35rem),
    radial-gradient(circle at 20% 80%, rgba(210, 175, 131, .075), transparent 33rem),
    repeating-linear-gradient(0deg, rgba(115, 83, 58, .008) 0, rgba(115, 83, 58, .008) 1px, transparent 1px, transparent 4px);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #d58d60; outline-offset: 4px; }
img { display: block; max-width: 100%; }
svg { display: block; }
.svg-library { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
[hidden] { display: none !important; }

/* HEADER */
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(249, 243, 234, .93);
  border-bottom: 1px solid rgba(178, 140, 106, .2);
}
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: baseline; gap: 18px; text-decoration: none; color: var(--terracotta); }
.brand-monogram { font-family: var(--script); font-size: 43px; line-height: .75; letter-spacing: -2px; white-space: nowrap; }
.brand-heart { font-family: Georgia, serif; font-size: 13px; padding-inline: 6px; vertical-align: 10px; letter-spacing: 0; }
.brand-line { font-family: var(--sans); color: var(--muted); letter-spacing: .14em; font-size: 10px; font-weight: 700; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 33px); }
.site-nav a { text-decoration: none; font-family: var(--serif); font-size: 19px; font-weight: 600; transition: color .2s; padding-block: 12px; position: relative; }
.site-nav a:hover { color: var(--terracotta); }
.site-nav a::after { content: ''; position: absolute; bottom: 6px; left: 0; right: 100%; height: 1px; background: var(--terracotta); transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.mobile-toggle { display: none; width: 43px; height: 43px; background: transparent; border: 1px solid var(--border); border-radius: 8px; color: var(--terracotta); align-items: center; justify-content: center; cursor: pointer; }

/* HERO */
.hero { position: relative; padding-top: 44px; padding-bottom: 70px; overflow: visible; }
.section-paper {
  background-image:
    radial-gradient(ellipse at 15% 40%, rgba(219, 178, 151, .17), transparent 36%),
    radial-gradient(ellipse at 70% 10%, rgba(255, 255, 255, .66), transparent 42%),
    linear-gradient(180deg, #faf5ed 0%, #f7f0e7 100%);
  border-bottom: 1px solid rgba(184, 151, 118, .26);
}
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(26px, 3vw, 46px); }
.hero-photo-column { min-width: 0; height: 560px; position: relative; isolation: isolate; }
.photograph-frame {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 20%;
  width: min(340px, 70%);
  padding: 13px 13px 9px;
  background: #fffdf8;
  box-shadow: 0 17px 28px rgba(78, 51, 35, .19), 0 5px 8px rgba(72, 49, 40, .07);
  transform: rotate(-7deg);
}
.photograph-frame > img { width: 100%; height: 408px; object-fit: cover; object-position: center 39%; filter: saturate(.93) contrast(.98); }
.photo-caption { padding: 12px 4px 0; min-height: 44px; font-family: var(--script); font-size: 27px; line-height: 1; text-align: center; color: #86634e; white-space: nowrap; }
.photo-caption span { font: 14px Georgia, serif; color: var(--terracotta); padding-left: 5px; }
.photo-tape { z-index: 4; position: absolute; top: 45px; left: 57%; width: 92px; height: 25px; background: rgba(214, 196, 169, .59); border-left: 1px solid rgba(141, 115, 94, .08); transform: rotate(14deg); clip-path: polygon(0 10%, 100% 0%, 97% 100%, 3% 92%); }
.hero-flowers { position: absolute; z-index: 1; max-width: none; pointer-events: none; filter: drop-shadow(0 4px 3px rgba(99, 83, 62, .07)); }
.hero-flowers-top { width: 365px; top: -112px; left: -195px; transform: rotate(-11deg); }
.hero-flowers-bottom { width: 350px; left: -150px; bottom: -83px; transform: rotate(-25deg); }
.hero-copy { position: relative; z-index: 5; text-align: center; padding-top: 0; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 15px; font-family: var(--sans); letter-spacing: .25em; font-weight: 500; font-size: 15px; color: #684d3f; text-transform: uppercase; white-space: nowrap; }
.eyebrow-rule { width: 40px; height: 1px; background: var(--border); }
.small-heart { font: 14px Georgia, serif; color: var(--terracotta); padding: 12px 0 0; }
.script-title { font-family: var(--script); color: var(--terracotta-deep); font-size: clamp(72px, 8.2vw, 115px); line-height: .81; margin: 32px 0 29px; font-weight: 400; letter-spacing: -.035em; }
.script-title .amp { font-family: var(--script); font-size: .78em; }
.hero-date { font-family: var(--serif); text-transform: uppercase; letter-spacing: .095em; font-size: clamp(17px, 1.85vw, 24px); line-height: 1.2; font-weight: 700; }
.hero-time { margin: 4px 0 10px; font-size: 27px; font-weight: 600; }
.ornament { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--terracotta-light); }
.ornament span { display: block; width: 63px; height: 1px; background: #cca687; }
.ornament b { font: 18px Georgia, serif; }
.hero-place { font-family: var(--serif); letter-spacing: .075em; text-transform: uppercase; font-size: clamp(16px, 1.75vw, 21px); font-weight: 600; line-height: 1.25; margin: 19px 0 17px; }
.hero-place span { font-size: .9em; }
.hero-message { max-width: 475px; margin: 0 auto; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.15; }

/* ACTIONS + MENU */
.quick-actions { position: relative; z-index: 15; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 1px; }
.quick-button {
  width: 100%; min-height: 78px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 16px;
  border-radius: 5px; background: var(--terracotta); border: 1px solid var(--terracotta); color: #fffaf4;
  box-shadow: 0 4px 9px rgba(117, 57, 39, .14); cursor: pointer;
  text-decoration: none; text-align: left; font-family: var(--serif); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.05; letter-spacing: .025em;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.quick-button:hover { transform: translateY(-2px); background: var(--terracotta-deep); box-shadow: 0 9px 20px rgba(117, 57, 39, .19); }
.quick-button .icon { width: 28px; height: 28px; stroke-width: 1.6; }
.quick-button .mini-chevron { width: 14px; height: 14px; margin-left: -7px; }
.calendar-action { position: relative; }
.calendar-action .quick-button { height: 100%; }
.calendar-menu { position: absolute; top: calc(100% + 9px); right: 0; z-index: 70; width: min(325px, calc(100vw - 38px)); border: 1px solid #e6d3c1; border-radius: 9px; background: #fffaf4; box-shadow: 0 18px 42px rgba(77, 52, 38, .19); padding: 11px; text-align: left; font-family: var(--sans); }
.calendar-menu::before { content: ''; position: absolute; right: 30px; top: -6px; width: 10px; height: 10px; border-top: 1px solid #e6d3c1; border-left: 1px solid #e6d3c1; transform: rotate(45deg); background: #fffaf4; }
.calendar-menu a { display: flex; align-items: center; gap: 11px; padding: 12px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.calendar-menu a:hover { background: #f5e6d9; }
.calendar-menu a .icon { color: var(--terracotta); width: 19px; height: 19px; }
.calendar-menu .end-icon { margin-left: auto; width: 14px; height: 14px; opacity: .65; }
.calendar-menu .menu-heading { display: block; padding: 6px 10px 4px; font-family: var(--serif); color: var(--terracotta); font-size: 18px; font-weight: 700; }
.calendar-menu small { display: block; color: #887368; font-size: 11px; line-height: 1.5; padding: 5px 11px 4px; }
.calendar-menu-left { left: 0; right: auto; }
.calendar-menu-left::before { left: 30px; right: auto; }

/* COUNTDOWN */
.countdown-wrap { margin: 42px auto 0; text-align: center; max-width: 620px; }
.countdown-intro { margin: 0 0 13px; color: var(--muted); font-family: var(--sans); font-size: 11px; text-transform: uppercase; letter-spacing: .22em; font-weight: 600; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 16px 8px; background: rgba(255, 250, 243, .58); border: 1px solid #e9dbce; border-radius: 7px; box-shadow: 0 8px 25px rgba(81, 59, 42, .07); }
.countdown-unit { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.countdown-unit + .countdown-unit::before { content: ''; position: absolute; left: 0; width: 1px; height: 54px; background: #ddc4ae; }
.countdown-unit span { color: var(--terracotta-deep); font-family: var(--serif); font-size: clamp(34px, 4.4vw, 51px); line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.countdown-unit small { margin-top: 5px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.countdown-ended { color: var(--terracotta); font-family: var(--script); font-size: 45px; margin: 0; }

/* DETAILS */
.event-details { padding-block: 78px 70px; }
.section-heading { text-align: center; margin-bottom: 35px; }
.section-kicker { font-family: var(--sans); letter-spacing: .19em; font-size: 12px; font-weight: 600; color: #947463; text-transform: uppercase; margin: 0; }
.section-heading h2 { text-transform: uppercase; letter-spacing: .24em; font-size: 24px; line-height: 1.2; font-weight: 600; margin: 10px 0 12px; }
.event-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.event-card { position: relative; background: rgba(255, 250, 242, .68); min-height: 336px; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-soft); overflow: visible; }
.ceremony-card { display: grid; grid-template-columns: 130px 1fr; gap: 13px; align-items: center; padding: 27px 26px 28px 16px; }
.church-art { align-self: end; width: 129px; max-height: 225px; object-fit: contain; filter: sepia(.17); }
.event-card-content { position: relative; z-index: 2; }
.script-heading { color: var(--terracotta); font-family: var(--script); font-weight: 400; font-size: clamp(50px, 5vw, 67px); line-height: .92; margin: 0 0 15px; }
.detail-row { display: flex; align-items: flex-start; gap: 9px; font-size: 17px; line-height: 1.22; margin: 0 0 11px; }
.detail-row .icon { width: 17px; height: 17px; color: var(--terracotta); margin-top: 3px; }
.detail-row strong { font-weight: 700; }
.detail-row small { font-size: .85em; color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; padding: 12px 18px; border-radius: 6px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.button .icon { width: 20px; height: 20px; }
.button .mini-chevron { width: 13px; height: 13px; margin-left: -5px; }
.button .end-icon { width: 14px; height: 14px; margin-left: 1px; }
.button:hover { transform: translateY(-1px); }
.button-solid { border: 1px solid var(--terracotta); background: var(--terracotta); color: #fffaf4; box-shadow: 0 4px 10px rgba(135, 69, 47, .13); }
.button-solid:hover { background: var(--terracotta-deep); }
.button-outline { border: 1px solid var(--terracotta); color: var(--terracotta); background: transparent; }
.button-outline:hover { background: #f6e4d4; }
.button-small { min-height: 38px; font-size: 15px; padding: 8px 12px; }
.button-small .icon { width: 16px; height: 16px; }
.button-large { padding: 15px 26px; min-height: 57px; font-size: clamp(17px, 2vw, 21px); }
.reception-card { padding: 30px 42px 28px 49px; overflow: hidden; }
.glasses-icon { color: var(--terracotta-light); width: 43px; height: 43px; stroke-width: 1.3; margin: -5px 0 7px; }
.reception-card .script-heading { margin-bottom: 17px; }
.reception-card p { font-size: 21px; max-width: 380px; line-height: 1.21; margin: 0 0 14px; position: relative; z-index: 2; }
.reception-card .reception-flowers { position: absolute; right: -80px; bottom: -115px; width: 255px; max-width: none; opacity: .37; transform: rotate(32deg); pointer-events: none; }

/* RSVP */
.rsvp-section { position: relative; background: linear-gradient(110deg, #f1e0d4 0%, #f6e8df 52%, #f2e1d6 100%); border-block: 1px solid #e5cfc2; }
.rsvp-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(circle at 14% 56%, rgba(234, 194, 156, .55), transparent 25%), radial-gradient(circle at 92% 24%, rgba(255, 255, 255, .66), transparent 40%); }
.rsvp-inner { position: relative; display: grid; grid-template-columns: minmax(135px, .62fr) minmax(0, 1.4fr) minmax(160px, .7fr); align-items: center; gap: 25px; min-height: 287px; padding-block: 43px; }
.rsvp-illustration svg { max-width: 230px; width: 100%; filter: drop-shadow(0 13px 18px rgba(116, 66, 53, .12)); }
.rsvp-content .script-heading { margin-top: 8px; margin-bottom: 12px; }
.rsvp-content p { font-size: 23px; line-height: 1.2; margin: 0 0 22px; max-width: 410px; }
.rsvp-note { color: #bd8066; font-family: var(--script); font-size: 44px; line-height: .85; transform: rotate(-7deg); text-align: center; }
.rsvp-note span { font: 18px Georgia, serif; display: block; margin-top: 17px; }

/* PHOTOS */
.photos-section { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(45px, 6vw, 90px); padding-block: 92px 100px; }
.photos-info { position: relative; z-index: 2; padding-left: 48px; }
.photos-info .section-kicker { margin-bottom: 9px; }
.photos-info .script-heading { font-size: clamp(55px, 5.2vw, 73px); margin-bottom: 15px; }
.photos-info p:not(.section-kicker) { font-size: 24px; line-height: 1.25; max-width: 450px; margin: 0 0 23px; }
.photos-picture { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.small-photo-frame { position: relative; z-index: 2; background: #fffdf8; width: min(450px, 90%); padding: 13px 13px 36px; transform: rotate(5deg); box-shadow: 0 17px 29px rgba(94, 60, 47, .17); }
.small-photo-frame img { width: 100%; aspect-ratio: 1.43; object-fit: cover; object-position: center center; }
.photo-decoration { position: absolute; z-index: 3; width: 260px; max-width: none; bottom: -73px; right: -58px; transform: rotate(28deg); pointer-events: none; }

/* FAREWELL */
.farewell { position: relative; isolation: isolate; min-height: 350px; display: flex; align-items: center; justify-content: center; text-align: center; border-top: 1px solid #e6d5c2; overflow: hidden; background: radial-gradient(ellipse at 48% 18%, #fff9ee 0%, rgba(249,239,224,.7) 78%), #f1e3d3; }
.farewell-content { position: relative; z-index: 2; padding-block: 74px 57px; }
.farewell .ornament { margin-bottom: 19px; }
.farewell .script-heading { font-size: clamp(43px, 5vw, 75px); margin-bottom: 16px; line-height: 1.05; }
.farewell blockquote { margin: 0 auto 17px; font-size: 22px; font-style: italic; }
.farewell blockquote cite { display: block; font-style: normal; font-size: 18px; }
.signoff { font-family: var(--serif); font-size: 18px; color: #836b5d; }
.signoff strong { font-weight: 700; color: var(--terracotta-deep); }
.farewell-flowers { position: absolute; z-index: 1; pointer-events: none; width: 360px; max-width: none; opacity: .8; }
.farewell-left { left: -165px; bottom: -125px; transform: rotate(-31deg); }
.farewell-right { right: -175px; top: -105px; transform: rotate(154deg); }
.site-footer { background: #efe4d8; border-top: 1px solid #e0cbb6; padding: 15px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 15px; font-family: var(--sans); font-size: 11px; letter-spacing: .04em; color: #90796b; }
.site-footer .wrap > span:last-child { white-space: nowrap; }
.site-footer .wrap > span:last-child span { color: var(--terracotta); }

@media (max-width: 1060px) {
  .hero-photo-column { height: 535px; }
  .photograph-frame { width: 70%; left: 17%; }
  .hero-flowers-top { width: 345px; }
  .hero-flowers-bottom { width: 345px; }
  .script-title { font-size: clamp(67px, 8.9vw, 98px); }
  .quick-button { gap: 10px; font-size: 17px; padding-inline: 10px; }
  .quick-button .icon { width: 25px; height: 25px; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .ceremony-card { grid-template-columns: 75px 1fr; gap: 9px; padding: 25px 17px; }
  .church-art { width: 75px; }
  .detail-row { font-size: 16px; }
  .reception-card { padding: 29px 28px; }
  .rsvp-inner { grid-template-columns: 150px 1fr 180px; gap: 20px; }
  .rsvp-note { font-size: 35px; }
  .photos-info { padding-left: 0; }
}

@media (max-width: 800px) {
  .wrap { width: min(100% - 40px, 680px); }
  .header-inner { height: 70px; }
  .brand-line { display: none; }
  .site-nav { gap: 19px; }
  .site-nav a { font-size: 17px; }
  .hero { padding-top: 30px; }
  .hero-layout { gap: 0; grid-template-columns: 45% 55%; }
  .hero-photo-column { height: 425px; }
  .photograph-frame { top: 40px; left: 13%; width: 80%; }
  .photograph-frame > img { height: 295px; }
  .photo-caption { font-size: 22px; min-height: 37px; }
  .hero-flowers-top { width: 255px; top: -70px; left: -125px; }
  .hero-flowers-bottom { width: 240px; left: -120px; bottom: -75px; }
  .hero-copy { padding-left: 10px; }
  .script-title { font-size: clamp(62px, 9.3vw, 78px); margin: 25px 0 22px; }
  .eyebrow { font-size: 12px; gap: 8px; }
  .eyebrow-rule { width: 20px; }
  .hero-date { font-size: 17px; }
  .hero-time { font-size: 21px; }
  .hero-place { font-size: 15px; }
  .hero-message { font-size: 20px; }
  .event-grid { grid-template-columns: 1fr; }
  .ceremony-card { grid-template-columns: 145px 1fr; min-height: 300px; padding: 28px; }
  .church-art { width: 145px; }
  .reception-card { min-height: 280px; }
  .reception-card p { max-width: 590px; }
  .rsvp-inner { grid-template-columns: 140px 1fr; }
  .rsvp-note { display: none; }
  .photos-section { gap: 18px; }
  .photos-info p:not(.section-kicker) { font-size: 21px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 75px; }
  .mobile-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; background: #fffaf3; padding: 15px 22px 20px; box-shadow: 0 13px 25px rgba(67, 43, 31, .12); border-top: 1px solid var(--border); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 10px 5px; font-size: 19px; border-bottom: 1px solid rgba(166,119,88,.13); }
  .site-nav a:last-child { border-bottom: 0; }
  .hero-layout { display: flex; flex-direction: column; }
  .hero-photo-column { height: 432px; width: 100%; max-width: 490px; }
  .photograph-frame { top: 36px; left: 50%; width: min(282px, 68%); transform: translateX(-50%) rotate(-6deg); }
  .photograph-frame > img { height: 315px; }
  .photo-caption { font-size: 22px; }
  .photo-tape { top: 27px; left: 60%; }
  .hero-flowers-top { width: 305px; top: -105px; left: -125px; }
  .hero-flowers-bottom { width: 289px; left: -120px; bottom: -75px; }
  .hero-copy { padding: 5px 10px 0; }
  .script-title { font-size: clamp(77px, 14.4vw, 111px); margin-block: 27px 24px; }
  .hero-date { font-size: clamp(18px, 4.1vw, 23px); }
  .hero-time { font-size: 24px; }
  .hero-place { font-size: clamp(17px, 3.8vw, 21px); }
  .hero-message { font-size: clamp(22px, 4.9vw, 26px); max-width: 410px; margin-top: 15px; }
  .quick-actions { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .quick-button { min-height: 71px; font-size: 15px; }
  .quick-button .icon { width: 23px; height: 23px; }
  .quick-button .mini-chevron { width: 12px; height: 12px; }
  .quick-actions > .calendar-action .calendar-menu { left: 0; right: auto; }
  .quick-actions > .calendar-action .calendar-menu::before { left: 30px; right: auto; }
  .countdown-wrap { margin-top: 34px; }
  .event-details { padding-block: 58px; }
  .section-heading h2 { font-size: 22px; }
  .photos-section { display: flex; flex-direction: column; gap: 30px; text-align: center; padding-block: 65px 70px; }
  .photos-info .script-heading { font-size: 66px; }
  .photos-info p:not(.section-kicker) { max-width: 480px; margin-inline: auto; }
  .photos-picture { min-height: 345px; width: 100%; }
  .small-photo-frame { width: min(410px, 79%); }
  .photo-decoration { right: -30px; bottom: -42px; width: 220px; }
}
@media (max-width: 500px) {
  .wrap { width: calc(100% - 32px); }
  .brand-monogram { font-size: 40px; }
  .hero { padding-top: 20px; padding-bottom: 44px; }
  .hero-photo-column { height: 365px; }
  .photograph-frame { top: 37px; width: min(236px, 65%); padding: 9px 9px 4px; }
  .photograph-frame > img { height: 269px; }
  .photo-caption { font-size: 19px; padding-top: 9px; min-height: 29px; }
  .hero-flowers-top { width: 255px; top: -98px; left: -128px; }
  .hero-flowers-bottom { width: 260px; bottom: -78px; left: -145px; }
  .hero-copy { margin-top: 10px; }
  .eyebrow { font-size: 12px; }
  .script-title { font-size: clamp(68px, 15.2vw, 84px); margin: 26px 0 26px; }
  .hero-place { font-size: 16px; margin-bottom: 11px; }
  .hero-message { font-size: 22px; max-width: 340px; }
  .quick-actions { gap: 9px; }
  .quick-button { font-size: 13.5px; letter-spacing: 0; min-height: 67px; padding: 9px 6px; gap: 8px; }
  .quick-button .icon { width: 21px; height: 21px; }
  .quick-button .mini-chevron { width: 10px; margin-left: -7px; }
  .countdown-intro { font-size: 9px; letter-spacing: .16em; }
  .countdown { padding: 14px 4px; }
  .countdown-unit span { font-size: clamp(34px, 8.8vw, 44px); }
  .countdown-unit small { font-size: 10px; }
  .countdown-unit + .countdown-unit::before { height: 41px; }
  .section-kicker { font-size: 10px; }
  .section-heading h2 { letter-spacing: .16em; font-size: 20px; }
  .ceremony-card { grid-template-columns: 80px 1fr; min-height: 0; gap: 7px; padding: 23px 14px; }
  .church-art { width: 80px; }
  .ceremony-card .script-heading { font-size: 55px; }
  .detail-row { font-size: 15px; gap: 7px; margin-bottom: 9px; }
  .detail-row .icon { width: 15px; height: 15px; }
  .card-actions { gap: 7px; }
  .button-small { min-height: 37px; padding: 8px 10px; font-size: 13px; }
  .button-small .icon { width: 14px; height: 14px; }
  .reception-card { padding: 29px 25px; min-height: 320px; }
  .reception-card .script-heading { font-size: 59px; }
  .reception-card p { font-size: 20px; }
  .rsvp-inner { display: flex; flex-direction: column; text-align: center; padding-block: 42px 48px; gap: 2px; }
  .rsvp-illustration { width: 135px; margin-bottom: 4px; }
  .rsvp-content .script-heading { font-size: 59px; }
  .rsvp-content p { font-size: 20px; margin-inline: auto; }
  .button-large { font-size: 17px; min-height: 53px; padding: 13px 16px; }
  .photos-info .script-heading { font-size: 61px; }
  .photos-info p:not(.section-kicker) { font-size: 21px; }
  .photos-picture { min-height: 265px; }
  .small-photo-frame { width: 83%; padding: 8px 8px 28px; }
  .photo-decoration { width: 172px; right: -48px; bottom: -40px; }
  .farewell { min-height: 325px; }
  .farewell-content { padding-block: 65px 60px; }
  .farewell .script-heading { font-size: 50px; }
  .farewell blockquote { font-size: 19px; max-width: 280px; }
  .farewell-flowers { width: 220px; opacity: .5; }
  .farewell-left { left: -120px; bottom: -75px; }
  .farewell-right { right: -120px; top: -65px; }
  .site-footer .wrap { flex-direction: column; text-align: center; align-items: center; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* V1.3 — four-language selector, exact photo caption and footer credit */
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}
.header-inner { gap: 20px; }
.site-nav { margin-left: auto; gap: clamp(15px, 2vw, 26px); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: none; }
.language-picker {
  position: relative; display: flex; align-items: center; gap: 7px;
  padding: 0 10px 0 12px; height: 43px; border-radius: 24px;
  background: #fff8ef; border: 1px solid #dec7b4;
  color: var(--terracotta-deep);
}
.language-picker > .icon { height: 18px; width: 18px; flex-shrink: 0; stroke-width: 1.7; }
.language-picker .select-chevron { width: 14px; height: 14px; pointer-events: none; }
.language-picker select {
  appearance: none; -webkit-appearance: none; border: 0; outline: none; padding: 0 1px;
  background: transparent; color: var(--terracotta-deep); font: 600 13px/1.3 var(--sans);
  max-width: 110px; cursor: pointer;
}
.language-picker select:focus-visible { outline: 2px solid #ab452e; outline-offset: 5px; border-radius: 2px; }
.language-picker select option { color: #3b2923; background: #fffaf3; }
.hero-date { display: block; }
.photo-caption > span:last-child { font: 14px Georgia, serif; color: var(--terracotta); padding-left: 5px; }
.photo-caption > span:first-child { font: inherit; color: inherit; padding-left: 0; }
.rsvp-note > span:first-child { font: inherit; display: inline; margin: 0; }
.rsvp-note > span:last-child { font: 18px Georgia, serif; display: block; margin-top: 17px; }
.site-footer a { color: var(--terracotta-deep); text-decoration-color: rgba(143,57,41,.5); text-underline-offset: 3px; }
.site-footer a:hover { text-decoration-color: currentColor; }

@media (max-width: 980px) {
  .mobile-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0;
    z-index: 100; background: #fffaf3; padding: 14px max(22px, calc((100vw - 680px)/2)) 20px;
    border-top: 1px solid var(--border); box-shadow: 0 13px 25px rgba(67,43,31,.12);
  }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav a { padding: 10px 5px; font-size: 19px; border-bottom: 1px solid rgba(166,119,88,.13); }
  .site-nav a:last-child { border-bottom: 0; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 500px) {
  .header-inner { gap: 8px; }
  .header-tools { gap: 8px; }
  .language-picker { height: 41px; padding-inline: 8px; gap: 5px; }
  .language-picker select { font-size: 12px; max-width: 100px; }
  .language-picker > .icon { width: 16px; height: 16px; }
  .mobile-toggle { width: 41px; height: 41px; }
  .quick-button { overflow-wrap: anywhere; }
  .reception-card p { overflow-wrap: break-word; }
}
/* Correct native image sizing in the photo card; dimensions are responsive. */
.small-photo-frame img { height: auto; }
/* Decorative flowers may extend past page bounds; prevent sideways scroll. */
html, body { overflow-x: clip; }
@media (min-width: 721px) {
  /* Longer French/Italian welcome text must never touch the action buttons. */
  .quick-actions { margin-top: 28px; }
}
