/* Escala común para todas las páginas. Los tamaños pequeños son secundarios, no navegación. */
:root {
  --text-body: 1.0625rem;
  --text-control: 1rem;
  --text-small: .875rem;
  --text-label: .8125rem;
}
body { font-size: var(--text-body); line-height: 1.7; }
.site-header .header { min-height: 108px; height: auto; gap: 32px; padding-block: 20px; }
.site-header .brand { flex-shrink: 0; gap: 13px; }
.site-header .brand > span { font-size: 27px; letter-spacing: -.8px; line-height: 1.2; }
.site-header .brand small { font-size: 15px; line-height: 1.35; font-weight: 400; letter-spacing: .35px; margin-top: 6px; }
.header nav { gap: 28px; }
.header nav > a { font-size: 17px; font-weight: 500; line-height: 1.5; }
.header .access { font-size: 15px; line-height: 1.5; padding: 11px 16px; gap: 9px; white-space: nowrap; }
.header .access svg { width: 20px; height: 20px; }
.eyebrow, .hero .eyebrow, .memory-story .eyebrow { font-size: var(--text-label); line-height: 1.6; letter-spacing: 1.35px; }
.intro, .hero .intro, .page-intro .intro, .inner-hero > .intro { font-size: 18px; line-height: 1.8; max-width: 620px; }
.hero .intro { max-width: 470px; }
.button, .hero .actions .button, .text-link, .header .access, .story-read { font-size: var(--text-control); line-height: 1.5; }
.button { min-height: 48px; padding: 13px 20px; }
.text-link { padding-bottom: 7px; }
.about-copy, .about-copy > p:first-child, .memory-story p:not(.eyebrow), .christmas-copy > p, .story-card > p, .more-plans > p, .history-body p, .neighborhood-notes p:not(.eyebrow), .event-preview p, .album-pending > p:not(.eyebrow), .contest-rules p, .contact-card p:not(.eyebrow), dialog p, dialog ul { font-size: var(--text-body); line-height: 1.8; }
.christmas-copy p.fine, .small-note, .join-note, .join-inner p:not(.eyebrow), .story-invite p, .image-footnote, .form-status, .proposal-form .fine, .contest-instagram, .draft-note p, .email-planned p { font-size: var(--text-small) !important; line-height: 1.75; }
.pill, .story-category, .chapter-number, .floating-note small, .memory-tag, .art-label, .art-caption, .history-art small, .view-art small, .gallery-tile small, .contest-dates small { font-size: var(--text-label); line-height: 1.55; letter-spacing: 1px; }
.floating-note { gap: 12px; padding: 18px 20px; }
.floating-note strong { font-size: 17px; line-height: 1.5; }
.floating-note small { font-size: 12px; }
.round-seal { font-size: 12px; letter-spacing: 1px; }
.way p { font-size: 15px; line-height: 1.65; }
.way p em { font-size: 25px; }
.source { font-size: 14px; line-height: 1.7; }
.history-side .fact-note p, .fact-note p { font-size: 16px; line-height: 1.75; }
.join-note { max-width: 300px; }
.story-card h3 { font-size: 29px; }
.story-category { color: #5e7056; }
.christmas-copy { padding: 40px; }
.more-plans { flex-wrap: wrap; }
.more-plans > p { max-width: 430px; flex: 1; min-width: 200px; }
.more-plans > .text-link { margin-left: 0; }
.memory-story > div { min-height: 52vh; }
.whatsapp-float { font-size: 15px; padding: 13px 18px; }
.gallery-filters button, .album-nav a, .topic-nav a, .photo-controls button { font-size: 15px; line-height: 1.5; min-height: 44px; }
.gallery-filters button span, .photo-counter, .album-video figcaption > span { font-size: 14px; }
.album-cover figcaption, .event-film figcaption, .film-stills figcaption, .album-video figcaption { font-size: 15px; line-height: 1.7; }
.album-cover figcaption span, .event-film figcaption span { font-size: 13px; line-height: 1.7; letter-spacing: 1px; }
.proposal-form label, dialog label { font-size: 16px; line-height: 1.6; }
.proposal-form label span, .dialog-status, dialog .fine { font-size: 14px !important; line-height: 1.7; }
.proposal-form input, .proposal-form select, .proposal-form textarea, dialog input, dialog textarea { font-size: 17px; }
.footer { flex-wrap: wrap; row-gap: 30px; padding-bottom: 100px; }
.footer .brand > span { font-size: 25px; line-height: 1.25; }
.footer .brand small { font-size: 14px; letter-spacing: .3px; }
.footer > div { font-size: 16px; gap: 15px 24px; }
.footer > div > button { font-size: 16px; }
.footer small { font-size: 13px; line-height: 1.7; }
.breadcrumb { font-size: 15px; }
@media (min-width: 761px) and (max-width: 1180px) {
  html { scroll-padding-top: 170px; }
  .site-header .header { display: grid; grid-template-columns: 1fr; gap: 17px; padding-block: 17px; }
  .site-header .brand > span { font-size: 27px; }
  .header nav { justify-content: space-between; gap: 25px; width: 100%; }
  .header nav > a { font-size: 17px; }
  .header .access { font-size: 15px; }
  .memory-visual { top: 180px; }
  .floating-note { left: 12px; right: 12px; }
  .floating-note strong { font-size: 16px; }
  .floating-note small { font-size: 11px; }
  .christmas { grid-template-columns: .85fr 1fr; }
  .christmas-copy { padding: 32px; }
  .story-grid { gap: 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 110px; }
  .site-header .header { display: flex; min-height: 94px; gap: 12px; padding-block: 17px; }
  .site-header .brand { gap: 9px; min-width: 0; }
  .site-header .brand > span { font-size: 20px; letter-spacing: -.6px; }
  .site-header .brand small { font-size: 14px; letter-spacing: .1px; margin-top: 5px; }
  .site-header .brand img { width: 31px; height: 43px; flex-shrink: 0; }
  .menu-toggle { font-size: 15px; padding: 9px 10px; gap: 7px; min-height: 44px; flex-shrink: 0; }
  .header nav { top: calc(100% - 5px); gap: 22px; padding: 25px; }
  .header nav > a { font-size: 18px; }
  .header .access { font-size: 16px; }
  .hero { padding-top: 28px; }
  .intro, .hero .intro, .page-intro .intro, .inner-hero > .intro { font-size: 17px; }
  .eyebrow, .memory-story .eyebrow { font-size: 13px; letter-spacing: 1px; }
  .hero .actions { gap: 18px; align-items: flex-start; }
  .hero .actions .button, .button, .text-link { font-size: 16px; }
  .floating-note { padding: 15px; left: 10px; right: 18px; }
  .floating-note small { font-size: 11px; letter-spacing: .6px; }
  .floating-note strong { font-size: 15px; }
  .art-label { font-size: 11px; left: 18px; bottom: 22px; letter-spacing: .7px; }
  .round-seal { font-size: 10px; letter-spacing: .6px; }
  .memory-story > div { min-height: 0; }
  .memory-tag { font-size: 10px; letter-spacing: .6px; }
  .way p { font-size: 14px; }
  .way p em { font-size: 20px; }
  .ways-section { gap: 15px; }
  .way { gap: 12px; }
  .christmas-copy { padding: 28px 25px; }
  .story-card h3 { font-size: 28px; }
  .story-read { font-size: 16px; }
  .pill { font-size: 12px; letter-spacing: .6px; }
  .whatsapp-float { padding: 13px; }
  .gallery-filters { gap: 9px; }
  .gallery-filters button, .album-nav a, .topic-nav a { font-size: 14px; padding: 9px 12px; }
  .gallery-filters button span { font-size: 13px; }
  .gallery-tile small { font-size: 12px; letter-spacing: .5px; }
  .gallery-tile figcaption > span { font-size: 20px; line-height: 1.4; }
  .album-cover figcaption, .album-video figcaption, .event-film figcaption { font-size: 14px; }
  .album-cover figcaption span, .event-film figcaption span { font-size: 12px; }
  .contest-dates small { font-size: 12px; letter-spacing: .4px; min-height: 38px; }
  .contest-dates strong { font-size: 23px; line-height: 1.3; }
  .draft-note strong { font-size: 16px; }
  .contest-rules h3 { font-size: 25px; line-height: 1.3; }
  .contact-card { padding: 26px; }
  .footer .brand > span { font-size: 22px; }
  .footer .brand small { font-size: 14px; }
  .footer > div { font-size: 16px; gap: 16px; grid-template-columns: auto auto; }
  .footer > div > button { font-size: 16px; }
  .footer small { font-size: 13px; }
}
@media (max-width: 390px) {
  .site-header .brand > span { font-size: 18px; }
  .site-header .brand small { font-size: 13px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 28px; }
  .menu-toggle { font-size: 14px; padding: 8px; gap: 5px; }
  .site-header .header { gap: 8px; }
  .wrap { width: calc(100% - 32px); }
  .ways-section { grid-template-columns: 1fr; gap: 0; padding-top: 5px; }
  .way { flex-direction: row; align-items: center; gap: 20px; padding: 21px 0; }
  .way p { font-size: 15px; }
  .way p em { font-size: 24px; }
  .contest-dates { grid-template-columns: 1fr; gap: 8px; }
  .contest-dates small { min-height: 0; }
}
.round-seal { gap: 4px; line-height: 1.1; }
.round-seal .seal-words { font: 11px/1.2 var(--sans); color: var(--ink); letter-spacing: .8px; }
.round-seal .seal-heart { font-size: 23px; line-height: 1.1; }
@media (max-width: 760px) {
  .round-seal { gap: 3px; }
  .round-seal .seal-words { font-size: 10px; letter-spacing: .6px; }
  .round-seal .seal-heart { font-size: 20px; }
}
/* Cabecera en una fila y portada centrada en el mensaje. */
.site-header .header { display: flex; gap: 24px; min-height: 96px; padding-block: 16px; }
.header nav { width: auto; margin-left: auto; justify-content: flex-end; }
.hero.hero-text-only { display: block; padding-top: 65px; padding-bottom: 72px; }
.hero-text-only .hero-copy { max-width: 1130px; }
.hero-text-only h1 { font-size: clamp(68px,7.3vw,108px); line-height: 1.07; letter-spacing: -4px; }
.hero-text-only .intro { max-width: 710px; margin-top: 30px; margin-bottom: 29px; }
.hero-text-only .actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 30px; align-items: center; }
.album-walkthrough { margin-bottom: 80px; }
.video-help { font-size: 15px; color: var(--muted); margin-top: 13px; }
.event-poster-section { border-top: 1px solid var(--line); padding-top: 48px; margin-bottom: 70px; }
.event-poster { margin: 0 0 25px; max-width: 700px; }
.event-poster img { width: 100%; height: auto; border-radius: 8px; }
.event-poster figcaption { font-size: 15px; color: var(--muted); margin-top: 15px; }
@media (min-width:761px) and (max-width:1180px) {
  html { scroll-padding-top: 120px; }
  .site-header .header { display: flex; flex-direction: row; gap: 20px; min-height: 94px; width: calc(100% - 48px); }
  .site-header .brand { gap: 9px; }
  .site-header .brand > span { font-size: 22px; }
  .site-header .brand img { width: 35px; height: 44px; }
  .site-header .brand small { font-size: 14px; }
  .header nav { width: auto; gap: 20px; justify-content: flex-end; }
  .header nav > a { font-size: 16px; white-space: nowrap; }
  .header .access { font-size: 14px; padding: 10px 12px; }
  .memory-visual { top: 126px; }
}
@media (min-width:761px) and (max-width:900px) {
  .site-header .header { width: calc(100% - 32px); gap: 14px; }
  .site-header .brand > span { font-size: 20px; }
  .site-header .brand img { width: 30px; }
  .header nav { gap: 14px; }
  .header nav > a { font-size: 15px; }
  .header .access { font-size: 13px; padding: 10px; gap: 6px; }
}
@media (max-width:760px) {
  .hero.hero-text-only { padding-top: 42px; padding-bottom: 43px; }
  .hero-text-only h1 { font-size: clamp(48px,10.8vw,76px); letter-spacing: -2.6px; }
  .hero-text-only .intro { margin-top: 25px; }
  .hero-text-only .actions { gap: 18px; }
  .site-header .header { gap: 10px; }
  .album-walkthrough { margin-bottom: 45px; }
  .event-poster-section { padding-top: 30px; margin-bottom: 45px; }
}
.email-address { font-size: 16px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* El álbum conserva la proporción de cada original, también antes de reproducir. */
.event-album .album-cover { max-width: 960px; margin: 0 auto 44px; }
.event-album .album-cover > img { display: block; height: auto; max-height: none; background: transparent; }
.event-album .album-video video, .event-album .event-film video {
  width: 100%; height: auto; max-height: none; aspect-ratio: auto var(--media-ratio, 16 / 9);
  object-fit: contain; background: transparent;
}
.event-album .photo-gallery { display: block; columns: 3; column-gap: 24px; }
.event-album .gallery-tile { display: inline-block; width: 100%; break-inside: avoid; margin-bottom: 20px; vertical-align: top; }
.event-album .gallery-tile img { display: block; width: 100%; height: auto; object-fit: contain; }
.event-album .gallery-tile figcaption { padding: 10px 0 0; }
.event-album .album-video-grid { display: block; columns: 2; column-gap: 28px; max-width: 840px; margin-inline: auto; }
.event-album .featured-video:has(video[data-orientation="portrait"]) { max-width: 420px; margin-inline: auto; }
.event-album .album-video-grid .album-video { display: inline-block; width: 100%; break-inside: avoid; margin-bottom: 22px; vertical-align: top; }
.event-album .album-teaser-section { border: 0; padding-top: 0; margin-bottom: 44px; }
.album-teaser-section .event-film { margin-bottom: 0; }
.event-album .album-walkthrough, .event-album .album-photo-section, .event-album .album-video-section { margin-bottom: 44px; }
.event-poster-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 22px; border-block: 1px solid var(--line); margin-bottom: 40px; }
.event-poster-note p { flex: 1 1 380px; margin: 0; font-size: 16px; color: var(--muted); }
.event-poster-note strong { color: var(--ink); }
.event-poster-note a { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width:1100px) { .event-album .photo-gallery { columns: 2; } }
@media (max-width:760px) {
  .event-album .photo-gallery { column-gap: 16px; }
  .event-album .gallery-tile { margin-bottom: 18px; }
  .event-album .gallery-tile figcaption > span { font-size: 18px; }
  .event-album .album-video-grid { columns: 1; }
  .event-album .album-teaser-section, .event-album .album-cover, .event-album .album-walkthrough, .event-album .album-photo-section, .event-album .album-video-section { margin-bottom: 32px; }
}
