/* Readable type and comfortable touch targets, layered after the original theme. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-size: 16px; }
main, section, article, figure, .shell, .nav-inner, .hero-copy, .video-copy,
.history-intro, .member-name, .section-heading > *, .footer-main > * { min-width: 0; }
button, input, select, textarea { touch-action: manipulation; }
button, a, input, select { scroll-margin-block: 110px; }

html[lang] .desktop-nav { gap: 18px; font-size: 14px; }
.nav-inner { gap: 24px; }
html[lang] .brand small { font-size: 11px; letter-spacing: .055em; }
.brand strong { letter-spacing: .08em; }
html[lang] .language-switch button { min-width: 40px; min-height: 40px; font-size: 13px; }
.association-inner { font-size: 12px; }
html[lang] .association-out { font-size: 12px; }
html[lang] .eyebrow, html[lang] .hero .eyebrow,
html[lang] .section-heading .eyebrow, html[lang] .about-copy .eyebrow,
html[lang] .history-intro .eyebrow, html[lang] .connect-section .eyebrow {
  font-size: 12px; letter-spacing: .12em;
}
html[lang] .hero-pretitle { font-size: 15px; letter-spacing: .06em; }
html[lang] .hero-description, html[lang] .section-heading > p,
html[lang] .event-card p, html[lang] .about-copy p:not(.eyebrow),
html[lang] .values-grid p, html[lang] .video-copy p:not(.eyebrow),
html[lang] .video-highlight p:not(.eyebrow),
html[lang] .history-intro > p:not(.eyebrow), html[lang] .timeline-item p,
html[lang] .connect-section p:not(.eyebrow), html[lang] .detail-body p {
  font-size: 16px; line-height: 1.9;
}
html[lang] .hero-description { max-width: 450px; }
html[lang] .hero-seal { font-size: 13px; }
html[lang] .values-grid p { max-width: none; }
html[lang] .section-heading > p { max-width: 350px; }
html[lang] .button { font-size: 15px; min-height: 48px; white-space: normal; text-align: center; max-width: 100%; }
html[lang] .text-link, html[lang] .section-bottom .text-link,
html[lang] .about-copy .text-link, html[lang] .video-copy .text-link,
html[lang] .connect-actions > .text-link, html[lang] .event-link,
html[lang] .timeline-item a { font-size: 14px; min-height: 44px; }
html[lang] .filter-group button { font-size: 14px; min-height: 44px; }
html[lang] .media-tabs button { font-size: 15px; min-height: 48px; }
html[lang] .search-box input, html[lang] .history-controls select { font-size: 16px; min-height: 42px; }
html[lang] .search-box { min-width: 180px; }
html[lang] .event-meta, html[lang] .event-meta .event-category,
html[lang] .album-card small, html[lang] .photo-date,
html[lang] .timeline-date, html[lang] .timeline-scope,
html[lang] .role-label, html[lang] .member-role,
html[lang] .history-controls, html[lang] .video-cover-label,
html[lang] .committee-heading span { font-size: 12px; line-height: 1.8; }
html[lang] .event-meta, html[lang] .album-card small { color: #62715c; }
html[lang] .event-meta .event-category { color: #506847; }
html[lang] .event-card h3 { font-size: 23px; line-height: 1.6; }
html[lang] .album-card h3 { font-size: 20px; line-height: 1.65; }
html[lang] .album-count { font-size: 12px; padding: 5px 9px; }
html[lang] .hero-footnote, html[lang] .hero-image figcaption,
html[lang] .announcement-label, html[lang] .announcement-description,
html[lang] .about-caption span, html[lang] .value-number,
html[lang] .team-banner p, html[lang] .member-index,
html[lang] .footer-main p, html[lang] .footer-bottom,
html[lang] .quiet, html[lang] .section-bottom .quiet,
html[lang] .album-top .eyebrow, html[lang] .album-credit,
html[lang] .video-fallback, html[lang] .toast { font-size: 12px; line-height: 1.8; }
html[lang] .quiet, html[lang] .footer-main p, html[lang] .footer-bottom,
html[lang] .album-credit { color: #68745e; }
html[lang] .history-intro .history-note,
html[lang] .detail-body .detail-source { font-size: 12px !important; color: #68745e !important; }
html[lang] .announcement strong { font-size: 16px; }
html[lang] .leader p, html[lang] .committee-member p { font-size: 14px; line-height: 1.7; color: #63735a; }
html[lang] .leader:first-child p { color: #d1dfc9; }
html[lang] .committee-member h4 { font-size: 21px; line-height: 1.6; }
html[lang=en] .member-name h4 { font-size: 17px; }
html[lang] .member-name { overflow-wrap: anywhere; }
html[lang] .footer-links { font-size: 14px; }
html[lang] .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
html[lang] .photo-caption { font-size: 14px; line-height: 1.8; }
.photo-nav { width: 44px; height: 44px; }
.photo-thumbnails button { min-width: 44px; min-height: 44px; }
.album-top > div { min-width: 0; }
.video-dialog-top h2 { min-width: 0; }

/* Seven clear top-level links fit on wide screens; use the menu earlier on tablets. */
@media (min-width: 1201px) {
  .mobile-nav { display: none !important; }
}
@media (max-width: 1200px) {
  .desktop-nav { display: none; }
  .menu-toggle.icon-button { display: flex; width: 44px; height: 44px; }
  .nav-inner { gap: 20px; }
  .mobile-nav a { font-size: 16px; line-height: 1.6; min-height: 48px; display: flex; align-items: center; }
}

@media (min-width: 701px) and (max-width: 980px) {
  .hero { grid-template-columns: 1fr 1fr; }
  html[lang] .hero .eyebrow { font-size: 11px; letter-spacing: .05em; }
  .hero-image { min-height: 540px; }
  .content-toolbar { flex-wrap: wrap; }
  .filter-group { flex: 1; }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: flex-start; }
  html[lang] .section-heading > p { max-width: 260px; }
  .about-grid { align-items: stretch; }
  .about-visual > img { height: 100%; min-height: 400px; }
  .history-grid { gap: 38px; }
  .committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 96px; }
  .shell { width: calc(100% - 40px); }
  .nav-inner { min-height: 84px; gap: 12px; }
  .nav-actions { gap: 6px; flex-shrink: 0; }
  .brand { gap: 9px; }
  .brand img { width: 36px; }
  html[lang] .site-header .brand strong { font-size: 21px; }
  html[lang=en] .site-header .brand strong { font-size: 18px; letter-spacing: -.03em; }
  html[lang] .site-header .brand small { display: none; }
  .language-switch { padding: 2px; }
  html[lang] .language-switch button { min-width: 36px; min-height: 40px; font-size: 13px; }
  .menu-toggle.icon-button { width: 40px; height: 44px; }
  .association-inner { min-height: 42px; gap: 10px; }
  .association-inner img { width: 180px; }
  .association-out { max-width: 110px; margin-left: auto; text-align: right; letter-spacing: 0; }
  html[lang] .association-out { font-size: 11px; }
  html[lang] .hero .eyebrow { font-size: 11px; letter-spacing: .07em; flex-wrap: wrap; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(32px, 8.6vw, 42px); }
  html[lang=en] .hero h1 { font-size: clamp(32px, 9.4vw, 42px); }
  html[lang] .hero-description { max-width: none; }
  .hero-actions { gap: 12px 24px; flex-wrap: wrap; }
  html[lang] .hero-actions .button { font-size: 15px; }
  .hero-footnote { align-items: flex-start; }
  .flower-mark { margin-top: 4px; }
  .hero-image { height: 330px; }
  html[lang=en] .hero-image { height: 330px; }
  .hero-image figcaption { display: grid; grid-template-columns: minmax(0, 1fr) 30px; left: 20px; right: 20px; gap: 3px 8px; }
  .hero-image figcaption .photo-date { grid-column: 1; }
  .hero-image figcaption > span:not(.photo-date) { grid-column: 1; line-height: 1.6; }
  .hero-image figcaption a { grid-column: 2; grid-row: 1 / span 2; width: 30px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  html[lang] .hero-image figcaption, html[lang] .hero-image .photo-date { font-size: 12px; }
  .announcement { gap: 12px; padding: 18px 16px; align-items: flex-start; }
  html[lang] .announcement-label { font-size: 12px; white-space: normal; max-width: 65px; padding-right: 12px; }
  html[lang] .announcement strong { font-size: 16px; }
  .announcement-arrow { flex-shrink: 0; margin-top: 3px; }
  .section-heading { display: block; }
  html[lang] .section-heading > p { max-width: none; }
  .content-toolbar { display: block; }
  .filter-group { gap: 6px; margin-bottom: 16px; }
  html[lang] .search-box { min-width: 0; max-width: none; width: 100%; }
  html[lang] .search-box input { min-height: 44px; }
  .event-meta { flex-wrap: wrap; gap: 8px; }
  .event-link { padding-top: 12px; }
  .image-link-mark { width: 36px; height: 36px; font-size: 20px; }
  .about-copy, .video-copy, .history-intro { width: 100%; }
  .values-grid { gap: 28px; }
  .value-number { position: static; display: block; margin-bottom: 8px; }
  .values-grid h3 { font-size: 21px; }
  html[lang] .media-tabs button { font-size: 15px; }
  .album-count svg { width: 15px; height: 15px; }
  .video-highlight { padding: 24px; }
  .video-highlight .button { width: 100%; }
  .video-copy .button { margin-right: 0; }
  .history-controls { flex-wrap: wrap; gap: 10px 18px; }
  .history-controls select { min-width: 170px; }
  .timeline-scope { margin-left: 10px; padding-left: 10px; }
  .timeline-item h3 { font-size: 22px; }
  .team-banner { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .team-term { border: 0; padding: 0; font-size: 27px; width: 100%; line-height: 1.4; }
  html[lang] .team-banner h3 { font-size: 22px; }
  .team-flower { right: 12px; top: 20px; opacity: .35; }
  .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leader:first-child { grid-template-columns: 1fr 1fr; padding: 22px; }
  html[lang] .leader h4 { font-size: 25px; }
  html[lang=en] .leader h4 { font-size: 19px; }
  html[lang=en] .leader:first-child h4 { font-size: 23px; }
  .committee-heading { align-items: flex-start; flex-wrap: wrap; gap: 7px; }
  .committee-heading span { max-width: none; text-align: left; }
  .committee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .committee-member { align-items: flex-start; gap: 8px; }
  html[lang] .committee-member h4 { font-size: 21px; }
  html[lang=en] .committee-member h4 { font-size: 16px; }
  html[lang] .committee-member p { font-size: 13px; }
  .connect-actions { max-width: none; gap: 10px 20px; }
  .connect-actions > .button { max-width: none; }
  .site-footer .brand small { display: block; font-size: 11px; letter-spacing: .02em; }
  .footer-main p { margin-left: 45px; }
  .footer-links { gap: 8px 20px; }
  .footer-bottom { padding-right: 0; }
  .back-top { position: static; display: inline-flex; max-width: none; align-items: center; min-height: 44px; margin-top: 5px; }
  .detail-dialog, .album-dialog, .video-dialog { width: calc(100% - 24px); max-width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .detail-body { padding: 24px 20px; }
  .detail-body h2 { font-size: 27px; }
  .detail-actions { gap: 8px 18px; }
  .detail-actions .button { width: 100%; }
  .album-dialog { padding: 16px; }
  .album-top { padding-right: 45px; }
  .album-top h2 { font-size: 23px; line-height: 1.6; }
  .album-top .dialog-close { width: 44px; height: 44px; top: 12px; right: 10px; }
  .lightbox-stage { min-height: 200px; height: 40dvh; }
  .photo-nav { width: 44px; height: 44px; font-size: 30px; }
  .photo-nav.previous { left: 6px; }
  .photo-nav.next { right: 6px; }
  .photo-caption { gap: 7px 14px; flex-wrap: wrap; }
  .photo-caption p { flex: 1 1 200px; }
  .photo-position { flex-shrink: 0; }
  .photo-thumbnails img { width: 68px; height: 48px; }
  .album-credit { display: block; }
  .album-credit a { display: inline-flex; align-items: center; min-height: 44px; }
  .video-dialog { padding: 16px; }
  .video-dialog h2 { font-size: 20px; }
  .video-dialog-top { gap: 12px; align-items: flex-start; }
  .video-dialog-top .icon-button { width: 44px; height: 44px; }
  .toast { width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; }
}

@media (max-width: 600px) {
  .events-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .event-card .event-image { aspect-ratio: 1.55 !important; }
  .values-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .about-visual > img { height: 300px; }
  .footer-main > div { min-width: 0; }
  .connect-inner { min-width: 0; }
}

@media (max-width: 500px) {
  .albums-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .album-cover { aspect-ratio: 1.55; }
  .album-card h3 { margin-top: 6px; }
}

@media (max-width: 370px) {
  .shell { width: calc(100% - 32px); }
  .nav-inner { gap: 8px; }
  .brand { gap: 7px; }
  .site-header .brand img { width: 29px; }
  html[lang] .site-header .brand strong { font-size: 20px; letter-spacing: .015em; }
  html[lang=en] .site-header .brand strong { font-size: 16px; letter-spacing: -.03em; }
  .nav-actions { gap: 3px; }
  html[lang] .language-switch button { min-width: 32px; }
  .association-inner img { width: 160px; }
  html[lang] .hero .eyebrow { font-size: 11px; }
  .hero-image { height: 300px; }
  html[lang=en] .hero-image { height: 300px; }
  .hero h1 { font-size: 32px; }
  html[lang=en] .hero h1 { font-size: 33px; }
  .announcement { gap: 10px; padding-inline: 13px; }
  html[lang] .announcement strong { font-size: 15px; }
  .leadership-grid { grid-template-columns: minmax(0, 1fr); }
  .leader:first-child { grid-column: auto; }
  .committee-grid { grid-template-columns: minmax(0, 1fr); }
  .member-role { display: block; }
  .site-footer .brand strong { font-size: 22px; }
  .site-footer .brand small { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
