/* Estilos compartidos por todas las páginas. Sin dependencias externas. */
:root {
  --paper: #ffffff;
  --white: #fff;
  --ink: #30262a;
  --muted: #655b60;
  --line: #e6d9d9;
  --brand: #b30e28;
  --gold: #edc44b;
  --soft: #fcf0ed;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
::selection { background: var(--gold); color: var(--brand); }
:focus-visible { outline: 3px solid #a47525; outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: white; }
.skip-link:focus { top: 12px; }
.topbar { background: var(--brand); color: #fff5ef; font-size: 12px; letter-spacing: 1.2px; }
.topbar .wrap { display: flex; justify-content: space-between; padding-block: 9px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 116px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; width: 66px; height: 72px; object-fit: contain; flex-shrink: 0; }
.brand-name { color: var(--brand); display: block; font: 26px/1.05 var(--serif); letter-spacing: -.6px; }
.brand-label { display: block; font-size: 12px; line-height: 1.8; letter-spacing: 1.65px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 33px; }
.main-nav a { position: relative; padding-block: 15px; font-size: 14px; text-decoration: none; }
.main-nav a::after { content: ''; position: absolute; bottom: 7px; left: 0; width: 100%; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.main-nav a[aria-current='page']::after, .main-nav a:hover::after { transform: scaleX(1); }
.main-nav .nav-contact { border: 1px solid var(--ink); padding: 10px 20px; }
.main-nav .nav-contact::after { left: 20px; width: calc(100% - 40px); bottom: 6px; }
.eyebrow { display: block; font-size: 12px; font-weight: 500; letter-spacing: 2.3px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(55px, 6.6vw, 96px); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.12; letter-spacing: -.02em; }
h3 { font-size: 22px; line-height: 1.3; }
p { margin-bottom: 24px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 15px 22px; min-height: 52px; background: var(--brand); color: white; border: 1px solid var(--brand); text-decoration: none; font-size: 14px; transition: transform .18s ease, background .18s ease; }
.btn-light { color: var(--brand); background: var(--paper); border-color: var(--paper); }
.btn-outline { color: var(--ink); background: transparent; }
.arrow { font: 22px/1 var(--sans); transition: transform .18s ease; }
.btn:hover { transform: translateY(-1px); background: #8f1025; }
.btn-light:hover { background: #ffe5a1; }
.btn-outline:hover { color: white; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 14px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.home-hero { padding-block: 60px 0; }
.hero-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.hero-top .small-note { color: var(--muted); font-size: 12px; }
.hero-title { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; padding-block: 43px 44px; align-items: end; }
.hero-title h1 { margin-bottom: 0; }
.hero-title h1 em { font-weight: 400; color: var(--brand); }
.hero-intro { max-width: 360px; justify-self: end; padding-bottom: 5px; }
.hero-intro p { color: var(--muted); font-size: 16px; }
.name-band { background: var(--brand); color: var(--paper); padding: 44px 52px 30px; position: relative; }
.identity-row { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 36px; padding-bottom: 24px; }
.hero-crest { display: block; width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.identity-motto { font-size: 16px; color: #fff3e7; margin: 0; }
.name-band::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--gold); }
.name-band .eyebrow { color: #ffe3a0; }
.school-word { margin: 14px 0 22px; font: clamp(62px, 8vw, 112px)/1 var(--serif); letter-spacing: -.02em; }
.band-bottom { border-top: 1px solid #d57786; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #fff3e7; }
.band-bottom span:last-child { text-align: right; }
.section { padding-block: 100px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin: 16px 0 0; }
.section-head p { max-width: 400px; margin: 0 0 4px; justify-self: end; color: var(--muted); }
.directory { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.directory-item { display: flex; flex-direction: column; padding: 32px; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.directory-item:first-child { padding-left: 0; }
.directory-item:last-child { border: 0; }
.directory-item .number { color: #a0122c; font: italic 24px var(--serif); margin-bottom: 40px; }
.directory-item h3 { margin-bottom: 15px; }
.directory-item p { font-size: 14px; color: var(--muted); }
.directory-item .item-link { margin-top: auto; display: flex; justify-content: space-between; font-size: 12px; }
.directory-item:hover { background: #fff0ec; transform: translateY(-2px); }
.alumni { background: var(--soft); padding-block: 66px; }
.alumni .wrap { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.alumni h2 { font-size: 40px; margin: 12px 0 16px; }
.alumni p { margin: 0; color: var(--muted); max-width: 580px; }
.alumni .btn { flex-shrink: 0; }
.site-footer { padding: 58px 0 24px; background: #510e1c; color: #fff8ef; border-top: 4px solid var(--gold); }
.site-footer .brand-name { color: #fff8ef; }
.site-footer .footer-description, .site-footer .footer-bottom { color: #ead6d8; }
.site-footer .footer-bottom { border-color: #86414d; }
.site-footer :focus-visible { outline-color: var(--gold); }
.facebook-resource { border-top: 3px solid var(--brand); padding-top: 24px !important; }
.page-hero h1 { color: var(--brand); }
.footer-main { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; }
.footer-description { max-width: 340px; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.footer-nav { display: flex; gap: 30px; align-items: start; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; color: var(--muted); font-size: 12px; }
.breadcrumb { padding-top: 30px; display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.page-hero { padding-block: 57px 66px; }
.page-hero h1 { max-width: 850px; margin: 20px 0 25px; font-size: clamp(50px, 6vw, 82px); }
.page-hero .lead { max-width: 625px; font-size: 19px; color: var(--muted); margin: 0; }
.editorial { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; padding-block: 62px; border-top: 1px solid var(--line); }
.editorial h2 { font-size: 42px; margin: 16px 0 24px; }
.editorial-copy { max-width: 630px; }
.editorial-copy p { color: var(--muted); }
.editorial-copy .large-text { color: var(--ink); font: 29px/1.45 var(--serif); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 20px; }
.values article { border-top: 2px solid var(--gold); padding-top: 20px; }
.values h3 { font-size: 17px; }
.values p { font-size: 14px; margin-bottom: 0; }
.quote-panel { background: var(--brand); color: var(--paper); padding: 56px; margin-block: 12px 72px; display: grid; grid-template-columns: 1fr 1.6fr; align-items: center; gap: 70px; }
.quote-panel .eyebrow { color: #ffe3a0; }
.quote-panel p { font: 35px/1.35 var(--serif); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; padding-block: 10px 80px; }
.contact-panel { background: var(--brand); color: var(--paper); padding: 42px; }
.contact-panel .eyebrow { color: var(--gold); }
.contact-panel h2 { font-size: 42px; margin: 28px 0 20px; }
.contact-panel p { color: #fff2ee; font-size: 15px; }
.contact-panel .btn { margin-top: 12px; }
.contact-note { font-size: 12px !important; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid #d57786; }
.resource-list { margin: 0; }
.resource { padding-block: 23px; border-bottom: 1px solid var(--line); }
.resource:first-child { padding-top: 0; }
.resource h3 { margin-bottom: 9px; font-size: 20px; }
.resource p { font-size: 14px; color: var(--muted); margin-bottom: 17px; }
.resource .text-link { font-size: 14px; }
.faq { padding: 65px 0 85px; background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq h2 { font-size: 42px; margin-top: 16px; }
.faq article { border-top: 1px solid #e6c7c7; padding-top: 22px; margin-top: 24px; }
.faq article:first-child { margin-top: 0; }
.faq h3 { font-size: 17px; }
.faq p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
@media (min-width: 1440px) { .home-hero { padding-top: 68px; } }
@media (min-width: 701px) and (max-width: 1050px) {
  .main-nav { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
  .identity-row { grid-template-columns: minmax(0, 1fr) 210px; }
  .school-word { font-size: 72px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-title { gap: 35px; }
  .hero-title h1 { font-size: 64px; }
  .editorial, .contact-grid, .faq-grid { gap: 45px; }
  .name-band { padding-inline: 36px; }
  .school-word { letter-spacing: -.02em; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .topbar { font-size: 12px; letter-spacing: .8px; }
  .topbar .topbar-extra { display: none; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 20px 10px; }
  .brand-logo { width: 54px; height: 60px; }
  .brand-name { font-size: 24px; }
  .main-nav { gap: 6px 12px; flex-wrap: wrap; justify-content: space-between; width: 100%; }
  .main-nav a { font-size: 12px; padding-block: 10px; }
  .main-nav .nav-contact { padding: 7px 13px; }
  .home-hero { padding-top: 30px; }
  .hero-top { padding-bottom: 20px; }
  .hero-top .small-note { display: none; }
  .eyebrow { font-size: 12px; letter-spacing: 1.8px; }
  .hero-title { grid-template-columns: 1fr; gap: 25px; padding-block: 30px 34px; }
  .hero-title h1 { font-size: clamp(47px, 12vw, 72px); letter-spacing: -.02em; }
  .hero-intro { justify-self: start; max-width: none; }
  .hero-intro p { font-size: 15px; margin-bottom: 20px; }
  .name-band { padding: 26px 22px 22px; }
  .identity-row { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-crest { width: 200px; justify-self: center; }
  .identity-motto { font-size: 14px; }
  .school-word { font-size: clamp(44px, 11.5vw, 75px); letter-spacing: -.02em; margin: 20px 0 25px; }
  .band-bottom { font-size: 12px; gap: 16px; padding-top: 17px; }
  .section { padding-block: 62px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 30px; }
  .section-head p { justify-self: start; font-size: 15px; }
  .directory { grid-template-columns: 1fr; }
  .directory-item, .directory-item:first-child { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .directory-item .number { margin-bottom: 14px; font-size: 20px; }
  .directory-item h3 { margin-bottom: 8px; }
  .directory-item p { margin-bottom: 19px; }
  .alumni { padding-block: 44px; }
  .alumni .wrap { flex-direction: column; align-items: flex-start; gap: 26px; }
  .alumni h2 { font-size: 35px; }
  .alumni p { font-size: 15px; }
  .footer-main { flex-direction: column; gap: 25px; padding-bottom: 30px; }
  .footer-nav { gap: 24px; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .page-hero { padding-block: 38px 42px; }
  .page-hero h1 { font-size: 49px; letter-spacing: -.02em; }
  .page-hero .lead { font-size: 17px; }
  .editorial { grid-template-columns: 1fr; gap: 10px; padding-block: 35px; }
  .editorial h2 { font-size: 35px; }
  .editorial-copy .large-text { font-size: 25px; }
  .values { grid-template-columns: 1fr; gap: 24px; }
  .values p { font-size: 14px; }
  .quote-panel { grid-template-columns: 1fr; padding: 30px 24px; gap: 24px; margin-bottom: 44px; }
  .quote-panel p { font-size: 28px; }
  .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { padding-bottom: 48px; }
  .contact-panel { padding: 30px 25px; }
  .contact-panel h2 { font-size: 35px; }
  .faq { padding-block: 44px; }
  .faq h2 { font-size: 35px; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .btn:active, .directory-item:hover, .btn:hover .arrow, .text-link:hover .arrow { transform: none; }
}

/* Servicios para familias: enlaces reales, sin formularios simulados. */
[hidden] { display: none !important; }
.quick-access { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.quick-access a { padding: 26px 20px; text-decoration: none; border-right: 1px solid var(--line); }
.quick-access a:last-child { border-right: 0; }
.quick-access a:hover { background: var(--soft); }
.quick-access strong, .quick-access span { display: block; }
.quick-access strong { font-size: 15px; font-weight: 500; color: var(--brand); }
.quick-access span { font-size: 13px; margin-top: 6px; }
.source-note { font-size: 12px; color: var(--muted); margin: 24px 0 0; line-height: 1.7; }
.academic-section { background: var(--soft); padding-block: 60px; margin-bottom: 60px; }
.academic-list article { display: grid; grid-template-columns: 140px minmax(0,1fr) 210px; gap: 24px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.academic-list h3 { margin-bottom: 8px; }
.academic-list p { margin: 0; color: var(--muted); font-size: 15px; }
.academic-list a { font-size: 14px; }
.academic-shift { color: var(--brand); font-size: 14px; font-weight: 500; }
.school-updates { padding-block: 65px; border-top: 1px solid var(--line); }
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.updates-grid article { border-top: 3px solid var(--gold); padding-top: 25px; }
.updates-grid h3 { margin-block: 18px 14px; }
.updates-grid p { color: var(--muted); font-size: 15px; }
.contact-panel { align-self: start; }
.contact-details { margin: 0 0 28px; }
.contact-details dt { font-size: 13px; color: #ffe3a0; margin-top: 22px; }
.contact-details dd { margin: 8px 0 0; font-size: 18px; }
.contact-details dd:first-of-type { font: 34px var(--serif); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions .btn { margin: 0; }
.contact-download { display: inline-block; margin-top: 24px; font-size: 14px; }
.contact-panel .source-note { color: #fff3e7; }
.consultation { padding-block: 0 80px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.steps-grid article { border-top: 2px solid var(--gold); padding-top: 24px; }
.steps-grid .number { color: var(--brand); font-size: 15px; }
.steps-grid h3 { margin-block: 18px; }
.steps-grid p { font-size: 15px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gallery-card { min-width: 0; display: flex; flex-direction: column; }
.gallery-heading { min-height: 132px; border-top: 3px solid var(--gold); padding-top: 22px; }
.gallery-heading h3 { margin: 12px 0 8px; font-size: 22px; }
.gallery-heading time { display: block; color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.gallery-image { display: block; overflow: hidden; background: #f1f2f3; border: 1px solid var(--line); }
.gallery-image img { display: block; width: 100%; height: 460px; object-fit: contain; transition: transform .3s ease; }
.gallery-image:hover img { transform: scale(1.02); }
.gallery-copy { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.gallery-copy p { color: var(--muted); font-size: 15px; }
.gallery-copy .text-link { margin-top: auto; }
.facebook-section { border-top: 1px solid var(--line); padding-block: 76px; background: #f3f4f5; }
.facebook-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.facebook-intro h2 { margin: 20px 0 28px; }
.facebook-intro > p { color: var(--muted); max-width: 480px; }
.facebook-widget { background: white; border: 1px solid var(--line); padding: 28px; min-width: 0; }
.facebook-launch { text-align: center; padding-block: 20px; }
.feed-logo { display: block; width: 90px; height: 90px; object-fit: contain; margin: 0 auto 22px; }
.facebook-launch p { font-size: 14px; color: var(--muted); }
.facebook-launch button { cursor: pointer; }
#facebook-frame { width: 100%; max-width: 500px; margin-inline: auto; }
#facebook-frame iframe { display: block; border: 0; max-width: 100%; }
.feed-help { font-size: 13px; color: var(--muted); margin: 22px 0 0; }
@media (min-width: 701px) and (max-width: 1100px) {
 .header-inner { flex-wrap: wrap; padding-block: 18px; gap: 12px; }
 .main-nav { justify-content: flex-start; }
 .gallery-grid { gap: 20px; }
 .gallery-heading { min-height: 165px; }
 .gallery-image img { height: 360px; }
 .facebook-layout { gap: 32px; }
}
@media (max-width: 700px) {
 .quick-access, .updates-grid, .steps-grid { grid-template-columns: 1fr; }
 .quick-access a { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
 .quick-access a:last-child { border-bottom: 0; }
 .academic-section { padding-block: 40px; margin-bottom: 35px; }
 .academic-list article { grid-template-columns: 1fr; gap: 15px; }
 .school-updates { padding-block: 45px; }
 .updates-grid { gap: 35px; }
 .contact-actions { flex-direction: column; align-items: stretch; }
 .contact-details dd { font-size: 16px; }
 .consultation { padding-bottom: 45px; }
 .gallery-grid, .facebook-layout { grid-template-columns: 1fr; gap: 38px; }
 .gallery-heading { min-height: 0; }
 .gallery-image img { height: auto; max-height: 600px; }
 .gallery-copy { padding-top: 20px; }
 .facebook-section { padding-block: 45px; }
 .facebook-widget { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-image:hover img { transform: none; } }

/* Galería independiente y movimiento moderado, sin dependencias. */
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --motion-fast: 160ms; --motion-ui: 220ms; }
button { cursor: pointer; }
.gallery-hero { padding: 38px 0 54px; border-bottom: 4px solid var(--gold); }
.gallery-hero h1 { margin: 22px 0 28px; font-size: clamp(48px, 6.2vw, 84px); }
.gallery-hero h1 span { color: var(--brand); }
.gallery-hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.gallery-hero-bottom p { max-width: 590px; color: var(--muted); margin: 0; }
.gallery-hero-bottom .text-link { flex-shrink: 0; }
.gallery-archive { padding: 56px 0 72px; }
.archive-intro { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.archive-intro h2 { font-size: 32px; }
.archive-intro p { max-width: 460px; color: var(--muted); font-size: 14px; }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 12px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.gallery-filters button { border: 1px solid var(--line); background: white; color: var(--ink); padding: 10px 20px; min-height: 44px; font-size: 14px; }
.gallery-filters button[aria-pressed='true'] { background: var(--brand); color: white; border-color: var(--brand); }
#gallery-count { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.gallery-archive .gallery-grid { row-gap: 48px; }
.gallery-archive .gallery-heading { min-height: 145px; }
.gallery-archive .gallery-image { position: relative; padding: 12px; }
.gallery-archive .gallery-image::after { content: 'Ampliar ↗'; position: absolute; bottom: 12px; right: 12px; padding: 8px 12px; font-size: 12px; background: var(--brand); color: white; }
.gallery-archive .gallery-image img { height: 330px; }
.gallery-invite { padding-block: 64px; background: #f3f4f5; }
.gallery-invite .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.gallery-invite h2 { margin: 18px 0 24px; }
.gallery-invite p { color: var(--muted); max-width: 430px; }
.invite-photo { display: block; overflow: hidden; }
.invite-photo img { width: 100%; height: auto; display: block; }
.viewer-open { overflow: hidden; }
.image-viewer { width: min(1060px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; padding: 24px; background: white; color: var(--ink); }
.image-viewer::backdrop { background: rgb(25 16 20 / 85%); }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.viewer-top { margin-bottom: 16px; }
.viewer-top h2 { font: 20px/1.3 var(--sans); margin: 0; }
.image-viewer button { padding: 10px 14px; min-height: 44px; background: white; color: var(--brand); border: 1px solid var(--line); flex-shrink: 0; }
.image-viewer button:disabled { color: var(--muted); opacity: .5; cursor: default; }
#viewer-image { display: block; width: 100%; height: min(65dvh, 700px); object-fit: contain; background: #f3f4f5; }
.viewer-bottom { margin-top: 16px; }
.viewer-bottom p { margin: 0; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
 .gallery-image img, .invite-photo img { transition: transform var(--motion-ui) ease; }
 .gallery-image:hover img, .invite-photo:hover img { transform: scale(1.025); }
 .directory-item, .gallery-filters button, .image-viewer button { transition: transform var(--motion-fast) ease; }
 .directory-item:hover, .gallery-filters button:hover, .image-viewer button:not(:disabled):hover { transform: translateY(-2px); }
 .text-link span, .quick-access strong { display: inline-block; transition: transform var(--motion-fast) ease; }
 .text-link:hover span, .quick-access a:hover strong { transform: translateX(3px); }
}
@media (hover: none), (pointer: coarse) {
 .btn:hover, .directory-item:hover, .gallery-image:hover img, .btn:hover .arrow, .text-link:hover .arrow { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
 .image-viewer[open] { animation: viewer-enter var(--motion-ui) var(--ease-out); }
 @keyframes viewer-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1000px) and (min-width: 701px) { .gallery-archive .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) {
 .gallery-hero { padding: 24px 0 36px; }
 .gallery-hero-bottom, .archive-intro, .gallery-tools { flex-direction: column; align-items: start; gap: 16px; }
 .gallery-archive { padding-block: 36px; }
 .archive-intro h2 { margin-bottom: 0; }
 .gallery-filters button { padding-inline: 16px; }
 .gallery-archive .gallery-heading { min-height: 0; }
 .gallery-archive .gallery-image img { height: auto; max-height: 420px; }
 .gallery-invite { padding-block: 40px; }
 .gallery-invite .wrap { grid-template-columns: 1fr; gap: 28px; }
 .image-viewer { padding: 16px; }
 .viewer-top { align-items: start; }
 .viewer-top h2 { font-size: 17px; }
 .image-viewer button { padding-inline: 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
 .gallery-image:hover img, .invite-photo:hover img, .directory-item:hover, .gallery-filters button:hover, .image-viewer button:hover, .text-link:hover span, .quick-access a:hover strong { transform: none; }
}
