/* Comfortable reading while preserving Eden's serif headings and fine details. */
:root { --muted: #bdc6b9; }
body { -webkit-text-size-adjust: 100%; }
.hero-picture { display: block; position: absolute; inset: 0; }
.hero { height: auto; min-height: max(840px, 100svh); max-height: none; }
.eyebrow { font-size: 12px; letter-spacing: 1.8px; line-height: 1.8; }
.desktop-nav { font-size: 14px; gap: 26px; margin-left: 0; }
.header-cta { font-size: 13px; min-height: 48px; }
.language-switch, .language-switch button { font-size: 12px; }
.language-switch button { min-height: 44px; min-width: 24px; }
.hero-content .eyebrow { font-size: 11px; letter-spacing: 1.7px; }
.hero-copy { font-size: 17px; line-height: 1.75; max-width: 460px; color: #e3e6dc; }
.hero-note { font-size: 13px; line-height: 1.65; color: #c8d1c0; }
.button { font-size: 15px; min-height: 54px; padding: 16px 23px; }
.text-link, .underlined-link { font-size: 15px; line-height: 1.6; }
.text-link { min-height: 44px; }
.hero-bottom { font-size: 11px; letter-spacing: 1px; }
.hero-bottom-center, .scroll-indicator { font-size: 10px; letter-spacing: 1px; }
.intro-copy > p, .intro-copy > p.muted { font-size: 17px; line-height: 1.85; }
.intro-copy > p.muted { color: var(--muted); }
.section-aside { font-size: 15px; line-height: 1.8; }
.moment-filters button { font-size: 14px; min-height: 48px; padding: 12px 0; }
.card-top { font-size: 11px; letter-spacing: 1px; }
.card-label { font-size: 11px; line-height: 1.6; letter-spacing: .8px; margin-bottom: 10px; }
.card-description { font-size: 15px; line-height: 1.7; color: #e0e5d7; }
.card-shade { background: linear-gradient(180deg, #00080545, transparent 22%, #020a073d 38%, #020a07f5 100%); }
.moments-footnote { font-size: 13px; line-height: 1.8; color: var(--muted); max-width: 670px; }
.image-caption { font-size: 11px; letter-spacing: 1.6px; }
.destination-copy > .eyebrow { font-size: 11px; letter-spacing: 1.5px; }
.destination-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.85; color: #d1dacb; }
.destination-places { font-size: 14px; gap: 14px 20px; }
.destination-copy .underlined-link { font-size: 15px; line-height: 1.7; }
.principle-number { font-size: 12px; }
.principles h3 { font-size: 29px; }
.principles p { font-size: 16px; line-height: 1.85; }
.invitation-inner > .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
.invitation-inner > p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: #d2ddcb; }
.invitation-inner .button { font-size: 15px; min-width: 240px; }
.invite-small { font-size: 13px; line-height: 1.8; letter-spacing: .25px; color: #bbcbb5; }
.back-top { font-size: 13px; }
.footer-bottom, .footer-bottom > span:last-child { font-size: 11px; letter-spacing: .5px; color: #b4c1ae; }
.footer-bottom button { font-size: 13px; min-height: 44px; color: #d3ddcb; }
.dialog-close { width: 44px; height: 44px; top: 9px; right: 9px; }
.dialog-inner > .eyebrow { font-size: 11px; letter-spacing: 1.3px; padding-right: 26px; }
.dialog-description { font-size: 15px; line-height: 1.8; color: #c8d2c0; }
.experience-fieldset legend { font-size: 14px; }
.experience-options label > span { font-size: 22px; }
.experience-options small { font-size: 12px; line-height: 1.5; color: #b8c7af; }
.form-fields > label, .phone-field > label { font-size: 14px; line-height: 1.5; color: #dce3d3; }
.form-fields input, .form-fields select, .form-fields textarea { font-size: 16px; min-height: 48px; padding: 13px 12px; border-color: #8fa98466; }
.form-fields input[type=date], .form-fields select { height: 48px; }
.form-fields input::placeholder, .form-fields textarea::placeholder { font-size: 16px; color: #a7b69e; }
.form-fields textarea { min-height: 94px; line-height: 1.6; }
.optional { font-size: 12px; color: #b7c5ad; }
.phone-hint { font-size: 13px; line-height: 1.7; color: #b3c3a9; }
.phone-field .iti { font-size: 16px; }
.phone-field .iti input[type=tel] { height: 50px; font-size: 16px; }
.phone-field .iti__selected-country { font-size: 15px; }
.iti__country-selector-container, .iti__country-selector { font-size: 16px; }
.iti__country-name, .iti__dial-code { font-size: 15px; }
.iti__country { min-height: 48px; padding: 13px; }
.iti__search-input { font-size: 16px; min-height: 50px; }
.iti__search-input::placeholder { color: #b6c6ac; }
.consent-check { font-size: 14px; line-height: 1.75; color: #c6d3bc; gap: 12px; }
.consent-check input { width: 20px; height: 20px; margin-top: 2px; }
.form-privacy { font-size: 12px; line-height: 1.8; color: #b2c2a7; }
.submission-status, .live-status { font-size: 14px; line-height: 1.75; }
.legal-content { font-size: 16px; line-height: 1.85; color: #d0dcc6; }
.confirmation-kicker { font-size: 11px !important; letter-spacing: 1.6px !important; }
.invitation-result > .result-note { font-size: 16px; line-height: 1.8; color: #d3dfc8; }
.confirmation-person { font-size: 24px; }
.confirmation-moment { font-size: 14px; line-height: 1.7; color: #d1ddc3; }
.confirmation-date { font-size: 13px; color: #bdcfac; }
.confirmation-actions .button { font-size: 15px; min-height: 52px; }
.confirmation-detail { font-size: 12px; line-height: 1.75; color: #b7caa8; }
.confirmation-keepsake > summary { font-size: 14px; min-height: 48px; }
.confirmation-keepsake .result-actions .button { font-size: 13px; min-height: 48px; }
.preview-kicker, .preview-footer { font-size: 11px; line-height: 1.8; }
.preview-name { font-size: 16px; }
.preview-place { font-size: 14px; }

@media (min-width: 801px) and (max-width: 1100px) {
  .desktop-nav { font-size: 12px; gap: 18px; }
  .header-actions { gap: 12px; }
  .header-cta { font-size: 12px; padding: 12px; }
  .hero-content { max-width: 680px; }
  .destination-copy { padding-left: 5vw; padding-right: 5vw; }
}

/* The portrait composition scales with width so neither person is cropped away. */
@media (max-width: 800px) {
  .hero { height: auto; min-height: 100svh; max-height: none; background: #080e0c; }
  .hero-picture { inset: 0 0 auto; width: 100%; height: auto; aspect-ratio: 9 / 16; }
  .hero-image { object-position: 50% 0; filter: brightness(.98); }
  .hero-picture::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #030d0940 0%, transparent 15%, transparent 32%, #080e0c70 43%, #080e0cf5 66%, #080e0c 75%); }
  .hero-shade { background: none; }
  .hero-content { padding: clamp(350px, 69vw, 460px) max(6.3vw, 24px) 105px; max-width: 710px; }
  .hero-content .eyebrow { font-size: 11px; line-height: 1.8; max-width: 440px; letter-spacing: 1.3px; }
  .hero h1 { font-size: 88px; margin: 20px 0 22px; }
  html[lang=en] .hero h1 { font-size: clamp(72px, 14vw, 88px); }
  .hero-copy { font-size: 17px; line-height: 1.75; }
  .hero-buttons { flex-wrap: wrap; gap: 22px; }
  .hero-note { font-size: 13px; }
  .hero-bottom { bottom: 25px; font-size: 10px; letter-spacing: .7px; }
  .hero-bottom-center { display: none; }
  .header-cta { font-size: 13px; }
  .principles { display: flex; flex-direction: column; gap: 25px; }
  .principles article { padding: 0 0 25px 38px; border-top: 0; border-bottom: 1px solid var(--border); }
  .principle-number { top: 6px; }
  .principles h3 { font-size: 29px; }
  .principles p { font-size: 16px; }
  .section-aside { font-size: 15px; }
  .moment-card, .moment-card:nth-child(2) { height: 440px; }
  .moment-card:nth-child(3) { height: 340px; }
  .destination { grid-template-columns: 1fr; }
  .destination-image { height: 410px; min-height: 0; }
  .destination-copy { padding: 52px max(6.3vw, 24px) 60px; }
  .destination-copy > p:not(.eyebrow) { max-width: 510px; }
  .footer-bottom > span:last-child { width: 100%; font-size: 11px; }
}

@media (max-width: 540px) {
  .site-header { padding: 0 22px; gap: 10px; }
  .header-actions { gap: 10px; }
  .language-switch { gap: 2px; }
  .language-switch button { min-width: 28px; font-size: 11px; padding: 9px 2px; }
  .menu-toggle { width: 40px; height: 44px; padding: 10px 7px; }
  .mobile-nav a, .mobile-nav > button { font-size: 27px; line-height: 1.5; }
  .hero-content { padding: clamp(285px, 83vw, 360px) 24px 88px; max-width: none; }
  .hero-content .eyebrow { font-size: 11px; max-width: 370px; gap: 9px; letter-spacing: 1px; }
  .hero h1 { font-size: clamp(62px, 17.5vw, 86px); letter-spacing: -2px; line-height: 1.02; margin: 18px 0 20px; }
  html[lang=en] .hero h1 { font-size: clamp(47px, 13.5vw, 74px); }
  html[lang=pt] .hero h1 { font-size: clamp(46px, 13.6vw, 74px); }
  .hero-copy { font-size: 16px; line-height: 1.7; max-width: 405px; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 7px; margin-top: 24px; }
  .hero-buttons .button { width: 100%; font-size: 16px; min-height: 56px; padding: 17px 20px; gap: 23px; }
  .hero-buttons .text-link { align-self: center; font-size: 14px; gap: 14px; }
  .hero-note { font-size: 12px; line-height: 1.8; letter-spacing: 0; margin-top: 13px; }
  .hero-bottom { left: 24px; right: 24px; font-size: 9px; line-height: 1.6; }
  .scroll-indicator { font-size: 9px; letter-spacing: .5px; }
  .eyebrow { font-size: 11px; letter-spacing: 1.3px; }
  .intro-copy > p, .intro-copy > p.muted { font-size: 16px; line-height: 1.85; }
  .underlined-link { font-size: 14px; line-height: 1.7; gap: 20px; }
  .moment-filters { gap: 23px; }
  .moment-filters button { font-size: 14px; min-height: 48px; padding: 12px 0; }
  .moment-card, .moment-card:nth-child(2), .moment-card:nth-child(3) { height: 440px; }
  .moment-grid.filtered .moment-card { height: 440px; }
  .card-label { font-size: 10px; letter-spacing: .65px; }
  .card-description { font-size: 15px; }
  .card-top { font-size: 10px; letter-spacing: .6px; }
  .moments-footnote { font-size: 13px; max-width: 100%; }
  .destination-image { height: 380px; }
  .destination-copy > .eyebrow { font-size: 11px; letter-spacing: 1.3px; }
  .destination-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.85; max-width: 100%; }
  .destination-places { font-size: 14px; gap: 14px 20px; }
  .destination-copy .underlined-link { font-size: 14px; }
  .image-caption { font-size: 11px; letter-spacing: 1.5px; }
  .invitation-inner > .eyebrow { font-size: 11px; letter-spacing: 1.3px; }
  .invitation-inner > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; }
  .invitation-inner .button { font-size: 16px; min-width: 240px; }
  .footer-top { gap: 19px; }
  .footer-top > p { font-size: 22px; }
  .footer-bottom { font-size: 11px; gap: 12px 20px; }
  .footer-bottom > div { gap: 16px; }
  .footer-bottom button { font-size: 12px; }
  .footer-bottom > span:last-child { font-size: 10px; line-height: 1.8; letter-spacing: .6px; }
  .dialog-inner { padding: 38px 22px 28px; }
  .dialog-inner > .eyebrow { font-size: 11px; letter-spacing: .9px; }
  .dialog-description { font-size: 15px; line-height: 1.8; }
  .experience-fieldset legend { font-size: 14px; }
  .experience-options { gap: 7px; }
  .experience-options label > span { font-size: 20px; padding: 13px 8px; min-height: 84px; }
  .experience-options small { font-size: 11px; line-height: 1.5; }
  .form-fields { gap: 19px 13px; }
  .form-fields > label, .phone-field > label { font-size: 14px; }
  .form-fields input, .form-fields select, .form-fields textarea { font-size: 16px; }
  .phone-hint { font-size: 13px; }
  .iti__country-name, .iti__dial-code { font-size: 15px; }
  .consent-check { font-size: 14px; }
  .form-privacy { font-size: 12px; }
  .legal-content { font-size: 16px; }
  .is-confirmed .dialog-inner { padding: 28px 22px 23px; }
  .confirmation-title { font-size: 36px; }
  .confirmation-kicker { font-size: 10px !important; letter-spacing: 1.2px !important; }
  .invitation-result > .result-note { font-size: 16px; line-height: 1.8; }
  .confirmation-person { font-size: 24px; }
  .confirmation-moment { font-size: 14px; }
  .confirmation-date { font-size: 13px; }
  .confirmation-actions .button { font-size: 16px; min-height: 54px; }
  .confirmation-detail { font-size: 12px; }
  .confirmation-keepsake > summary { font-size: 14px; }
  .confirmation-keepsake .result-actions { flex-direction: column; }
  .confirmation-keepsake .result-actions .button { font-size: 14px; min-height: 48px; }
}

@media (max-width: 420px) {
  .form-fields { grid-template-columns: minmax(0, 1fr); }
  .experience-options { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .experience-options label > span { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; min-height: 58px; padding: 13px; }
  .experience-options small { font-size: 12px; margin-top: 0; }
  .confirmation-title { font-size: 32px; }
}
