:root {
  --ink: #081359;
  --nav: #091353;
  --indigo: #222e77;
  --cyan: #33c3eb;
  --muted: #47516e;
  --line: #dce1eb;
  --paper: #fff;
  --frame: clamp(1.25rem, 2.1vw, 1.875rem);
  --outer: clamp(1.25rem, 7vw, 6.25rem);
  --shell: 73.75rem;
  font-family: "Bai Jamjuree", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; line-height: 1.55; font-size: 1.125rem; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
figure, dl, dd { margin: 0; }
h1,h2,h3,h4,p { margin: 0 0 1em; }
h1,h2,h3,h4 { line-height: 1.18; }
h1,h2 { text-wrap: balance; }
h1 { font-size: clamp(2.2rem,4.15vw,3.75rem); }
h2,.section-heading { font-size: clamp(2rem,4.15vw,3.75rem); line-height: 1.1; }
h3 { font-size: clamp(1.15rem,1.65vw,1.45rem); }
a { color: var(--indigo); text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { text-decoration-thickness: .12em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #4e66c1; outline-offset: 4px; }
[hidden] { display: none !important; }
.site-frame { margin: var(--frame); }
.content-shell { width: min(calc(100% - 2 * var(--outer)), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 25; top: .5rem; left: .7rem; transform: translateY(-180%); padding: .65rem 1rem; background: white; }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; background: white; }
.masthead { width: min(calc(100% - 2 * var(--outer)),var(--shell)); min-height: 11.25rem; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) 10rem minmax(0,1fr); align-items: center; gap: clamp(1.5rem,6.8vw,6.5rem); }
.brand { display: grid; place-items: center; justify-self: center; width: 9.4rem; padding: .6rem; }
.brand-logo { width: 100%; height: 8.2rem; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 0 1.1rem; flex-wrap: wrap; }
.nav-secondary { justify-content: flex-end; text-align: right; }
.nav-link,.media-menu summary,.drawer-media,.drawer-back { text-transform: uppercase; font-size: .84rem; line-height: 1.35; letter-spacing: .075em; font-weight: 500; color: var(--nav); text-decoration: none; }
.nav-link,.media-menu summary { display: block; padding: .39rem 0; }
.nav-link:hover,.nav-link[aria-current],.media-menu summary:hover { text-decoration: underline; text-underline-offset: .27em; }
.language-divider { opacity: .7; }
.media-menu { position: relative; }
.media-menu summary { list-style: none; cursor: pointer; }
.media-menu summary::-webkit-details-marker { display: none; }
.media-popover { position: absolute; z-index: 6; top: 100%; left: -.85rem; width: max-content; max-width: min(24rem,80vw); padding: .65rem .9rem; background: white; box-shadow: 0 6px 20px #12184121; }
.media-popover .nav-link { font-size: .88rem; letter-spacing: .045em; }
.menu-toggle,.search-toggle,.basic-nav,.mobile-menu,.lightbox:not([open]) { display: none; }
.button, .content-card .button, .page-band .button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 2.9rem; padding: .86rem 1.55rem; border: 2px solid var(--indigo); border-radius: 999px; background: var(--indigo); color: white; text-decoration: none; text-align: center; text-transform: uppercase; font-size: .83rem; line-height: 1.4; letter-spacing: .105em; font-weight: 700; gap: .25em; transition: background-color .18s, color .18s, border-color .18s; }
.button:hover { background: #121d5b; border-color: #121d5b; color: white; }
.button.button-outline { color: var(--ink); background: transparent; border-color: currentColor; }
.button.button-outline:hover { background: var(--ink); color: white; border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.image-band { isolation: isolate; position: relative; overflow: hidden; color: white; background-color: #303e4d; }
.image-band > .band-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgb(0 0 0 / 26%); pointer-events: none; }
.image-band .button-outline { color: white; border-color: white; }
.image-band .button-outline:hover { color: var(--ink); background: white; border-color: white; }
.home-hero { width: 100%; min-height: clamp(34rem,42.1vw,41.5rem); display: grid; place-items: center; text-align: center; }
.home-hero > img { object-position: 50% 50%; }
.hero-content { width: min(100% - 2rem,48rem); margin: auto; padding: 4.75rem 0; }
.welcome { text-transform: uppercase; letter-spacing: .055em; font-size: 1.25rem; margin-bottom: 1rem; }
.home-hero h1 { text-transform: uppercase; margin-bottom: 1.6rem; font-size: clamp(2.05rem,4.2vw,3.85rem); line-height: 1.09; letter-spacing: -.025em; }
.thai-title { font-weight: 600; font-size: clamp(1.68rem,2.25vw,2.1rem); margin-bottom: 1.65rem; }
.home-hero .button { min-height: 3.65rem; padding-inline: 2.15rem; letter-spacing: .15em; }
.impact-activities { padding-block: 2.6rem 4.7rem; }
.impact { text-align: center; }
.impact h2 { margin-bottom: .88em; }
.impact-subtitle { margin: 0 auto 1.5rem; font-size: clamp(1.35rem,2.1vw,2rem); font-weight: 600; line-height: 1.28; font-style: italic; }
.stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.25rem; max-width: 65rem; margin: 1.5rem auto 3.7rem; }
.stats dt { font-size: 2rem; font-weight: 600; margin-bottom: .75rem; }
.stats dd { max-width: 17.5rem; margin: auto; }
.stats dd span { display: block; }
.stats dd span+span { margin-top: .6rem; }
.section-heading { text-align: center; margin: 0 0 2rem; }
.activity-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.25rem,2.5vw,2.2rem); }
.activity-card,.content-card { min-width: 0; }
.activity-card h3 a,.content-card h2 a,.content-card h3 a,.profile-card a { color: inherit; text-decoration: none; }
.activity-card h3 a:hover,.content-card h2 a:hover,.content-card h3 a:hover,.profile-card a:hover { text-decoration: underline; }
.activity-card h3 { margin: 1.45rem 0 .7rem; font-size: 1.22rem; }
.activity-card p { margin-bottom: 1.4rem; }
.card-photo { display: block; overflow: hidden; }
.card-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .25s ease; }
.card-photo:hover img { transform: scale(1.025); }
.parenting-feature { text-align: center; padding-block: 2.7rem 3rem; }
.parenting-feature .section-heading { margin-bottom: 1.3rem; line-height: 1.25; }
.feature-subtitle { font-size: clamp(1.2rem,1.8vw,1.65rem); }
.parenting-feature .photo-slider { margin-top: 2.4rem; }
.photo-slider { position: relative; min-width: 0; }
.slide-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .6rem; scrollbar-width: thin; }
.slide { flex: 0 0 76%; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.slider-controls,.viewer-controls { display: flex; justify-content: center; gap: .6rem; margin-top: .7rem; }
.slider-controls button,.viewer-controls button,.lightbox-top button { background: white; color: var(--ink); border: 1px solid #abb3ca; border-radius: 2rem; font-size: .88rem; font-weight: 600; padding: .35rem .95rem; }
.slider-controls button:disabled { opacity: .48; cursor: default; }
.grooming-feature { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; padding-block: 3.4rem 4rem; }
.grooming-image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.grooming-copy { text-align: right; z-index: 1; padding-left: 1.25rem; }
.grooming-copy h2,.feature-copy h2,.outreach-inner h2 { margin-bottom: .45em; }
.grooming-copy p { font-size: 1.35rem; }
.feature-banner { min-height: clamp(29rem,40vw,40rem); display: flex; align-items: center; }
.feature-inner { padding-block: 6rem; }
.feature-copy { max-width: 34rem; }
.feature-copy p,.outreach-inner p { font-size: clamp(1.12rem,1.5vw,1.4rem); line-height: 1.55; }
.feature-right .feature-copy { margin-left: auto; text-align: right; }
.feature-right::before { background: linear-gradient(90deg,#14182a13,#0b10258c); }
.feature-left::before { background: linear-gradient(90deg,#10252e92,#111e221a); }
.home-media { padding-block: clamp(3rem,6vw,6rem); text-align: center; }
.media-cover { min-height: clamp(16rem,29.4vw,29rem); display: grid; place-items: center; }
.media-cover h2 { margin-bottom: .2em; }
.media-cover p { margin: 0; font-size: 1.3rem; }
.resource-actions { margin-top: 1.65rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.outreach-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(2rem,6vw,6.5rem); align-items: center; padding-block: clamp(4rem,8vw,8rem); }
.outreach-inner > div:last-child { text-align: right; }
.outreach-inner .actions { justify-content: flex-end; }
.outreach-inner .slide { flex-basis: 100%; }
.outreach-inner .slide img { aspect-ratio: 3/2; }
.outreach-feature::before { background: rgb(33 33 34 / 50%); }
.home-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: clamp(9rem,20vw,19rem); }
.home-gallery a { overflow: hidden; }
.home-gallery a:first-child,.home-gallery a:nth-child(6) { grid-column: span 2; }
.home-gallery a:first-child { grid-row: span 2; }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.home-gallery a:hover img { transform: scale(1.025); }
.site-footer { background: var(--cyan); color: var(--ink); text-align: center; padding: 3.6rem 1.3rem 4.5rem; }
.site-footer h2 { font-size: 2rem; font-weight: 600; margin-bottom: 1.3rem; }
.social-links,.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.25rem; }
.social-links { margin: 0 auto 2rem; max-width: 55rem; }
.social-links a,.footer-nav a { color: var(--ink); font-size: .96rem; font-weight: 600; }
.footer-nav { margin: 1.8rem 0; }
.footer-nav a { text-transform: uppercase; font-size: .86rem; letter-spacing: .09em; }
.footer-logo { width: 8rem; height: 8rem; object-fit: contain; margin: 1.1rem auto; }
.site-footer address { font-style: normal; line-height: 1.8; margin: 1rem auto 1.55rem; }
.site-footer address a { color: inherit; white-space: nowrap; }
/* Migrated sections and archives */
.breadcrumbs { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .95rem; padding-top: 1.4rem; }
.page-band { padding-block: clamp(2.25rem,5.25vw,5.25rem); }
.page-band + .page-band:not(.has-background):not(:has(.photo-grid:only-child)) { padding-top: 1.4rem; }
.section-wrap { min-width: 0; }
.page-band .section-wrap > :last-child,.prose > :last-child { margin-bottom: 0; }
.page-band.has-background { padding-block: clamp(5rem,8vw,8.5rem); min-height: 20rem; display: grid; align-items: center; }
.page-band.has-background::before { background: rgb(11 15 28 / 46%); }
.page-band.has-background .section-wrap { text-align: center; }
.page-band.has-background .section-wrap .prose { text-align: center; max-width: 56rem; margin-inline: auto; }
.page-band.has-background .actions { justify-content: center; }
.page-band.has-background a:not(.button) { color: white; }
.page-band.has-background a.button { color: white; }
.page-band.has-background .prose p { margin-inline: auto; }
.page-band.first-band.has-background:has(h1) { min-height: clamp(21rem,33vw,34rem); }
.page-band .prose { max-width: 54rem; margin-inline: auto; }
.page-band .prose+.prose,.page-band .prose+.content-grid,.page-band .prose+.profile-grid,.page-band .prose+.photo-grid { margin-top: 2rem; }
.page-band h1,.page-band h2 { margin-bottom: .62em; }
.page-band h2 { font-size: clamp(1.7rem,3.2vw,2.9rem); }
.page-band h3 { font-size: clamp(1.15rem,1.8vw,1.53rem); }
.page-band p,.page-band li { line-height: 1.65; }
.page-band .page-title { margin-bottom: 1.25em; }
.page-band ul,.page-band ol { padding-left: 1.4em; }
.page-band li+li { margin-top: .3em; }
.page-band hr,.contact-details hr { margin: 2rem 0; border: 0; border-top: 1px solid var(--line); }
.page-band blockquote { border-inline-start: .2rem solid var(--indigo); margin: 1.6rem 0; padding: .1rem 1.25rem; font-size: 1.12em; }
.page-band figure { margin: 1.2rem 0; }
.page-band figcaption { font-size: .94rem; color: var(--muted); margin-top: .45rem; }
.page-band.has-background figcaption { color: white; }
.page-band img { max-width: 100%; }
.page-band .section-wrap > figure > img,.page-band .section-wrap > figure > a > img,.prose figure img { margin-inline: auto; max-height: 49rem; object-fit: contain; }
.content-grid,.profile-grid,.photo-grid { display: grid; align-items: start; gap: 2.2rem; grid-template-columns: repeat(3,minmax(0,1fr)); }
.content-grid,.profile-grid { margin-block: 1.4rem 2.25rem; }
.content-grid img { width: 100%; max-height: 33rem; object-fit: cover; }
.content-card { height: 100%; }
.content-card > a:first-child { display: block; }
.content-card h2,.content-card h3,.profile-card h2,.profile-card h3 { font-size: clamp(1.15rem,1.6vw,1.4rem); line-height: 1.4; margin: .75rem 0 .4rem; }
.profile-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap: 1.5rem; text-align: center; }
.profile-card { max-width: 17rem; justify-self: center; }
.profile-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.profile-card p,.entry-meta,.card-meta, time { font-size: .95rem; color: var(--muted); }
.photo-grid { gap: .75rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,14rem),1fr)); }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; height: auto; max-height: 23rem; object-fit: contain; }
.event-card { border-top: 1px solid var(--line); padding-block: 2rem; }
.event-card h2,.event-card h3 { font-size: clamp(1.45rem,2.35vw,2.1rem); }
.embed { margin-block: 1.6rem; }
.embed iframe,.page-band iframe { width: 100%; height: auto; aspect-ratio: 16/9; border: 0; }
.page-band table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.page-band th,.page-band td { padding: .5rem .8rem; border: 1px solid var(--line); }
.page-article .section-wrap,.page-event .section-wrap { max-width: 57rem; }
.page-article .section-wrap .prose,.page-event .section-wrap .prose { max-width: none; }
.page-article h1,.page-event h1 { font-size: clamp(1.9rem,3.7vw,3.2rem); }
.contact-hero { min-height: clamp(19rem,30vw,28rem); display: grid; place-items: center; text-align: center; }
.contact-hero h1 { text-transform: uppercase; margin-bottom: 1.2rem; }
.contact-content { padding-block: clamp(3rem,5.5vw,6rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: clamp(2rem,8vw,8rem); align-items: start; }
.contact-form,.contact-form label { display: grid; gap: .35rem; }
.contact-form { gap: 1.05rem; }
.contact-form label,.search-form label { font-size: 1rem; font-weight: 600; }
.name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
input,textarea { font-size: 1.06rem; min-width: 0; width: 100%; padding: .67rem .8rem; border: 1px solid #adb4c5; background: #fafafa; color: var(--ink); border-radius: .12rem; }
textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.contact-details h2 { font-size: clamp(1.75rem,2.7vw,2.6rem); margin-bottom: .45em; }
.contact-details a { overflow-wrap: anywhere; }
.form-note { font-size: .98rem; color: var(--muted); margin: 0; }
.location-map { display: block; width: 100%; height: 25rem; margin-top: 2.75rem; border: 0; background: #edf1ed; }
.search-page { padding-block: clamp(2.5rem,6vw,6rem); min-height: 60vh; }
.search-form { max-width: 48rem; }
.search-form > div { display: flex; gap: .75rem; align-items: stretch; margin-top: .55rem; }
.search-page h2 { font-size: 1.75rem; }
#search-status { margin: 1.5rem 0; }
.browse-links { columns: 2; padding: 0; list-style: none; }
.browse-links li { margin: .5rem 0; break-inside: avoid; }
.search-results { list-style: none; padding: 0; max-width: 57rem; }
.search-results li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.search-results a { font-size: 1.25rem; font-weight: 600; }
.search-results p { margin: .35rem 0 0; color: var(--muted); }
.lightbox[open] { display: flex; flex-direction: column; width: min(94vw,76rem); max-height: 94dvh; border: 0; padding: .9rem; color: var(--ink); background: white; }
.lightbox::backdrop,.mobile-menu::backdrop { background: rgb(7 14 42 / 72%); }
.lightbox-top { text-align: right; margin-bottom: .5rem; }
.lightbox figure { overflow: auto; text-align: center; }
.lightbox figure img { width: auto; max-height: 72dvh; margin: auto; object-fit: contain; }
.lightbox figcaption { margin-top: .5rem; }
html:has(dialog[open]) { overflow: hidden; }
.not-found { padding-block: 5rem; }
.content-grid.columns-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-grid.columns-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.page-band .eyebrow { text-transform: uppercase; font-size: 1.1rem; letter-spacing: .09em; margin-bottom: .85rem; }
.page-band .lead { font-size: clamp(1.12rem,1.6vw,1.4rem); }
.page-band .actions { margin-block: 1.3rem; }
.page-band .with-image .actions { justify-content: center; }
.has-background .prose h2 { font-size: clamp(1.35rem,2.5vw,2rem); }
.has-background .prose + .prose,.has-background .actions + .prose { margin-top: 1.8rem; }
.page-band.has-background .section-wrap > blockquote { max-width: 54rem; margin: 1.2rem auto 0; border: 0; font-style: italic; }
.publication-card > a:first-child img { aspect-ratio: 1; object-fit: cover; }
.publication-card .entry-meta { text-transform: uppercase; letter-spacing: .065em; margin: .8rem 0 .25rem; }
.publication-card h2 { margin-block: .3rem .6rem; font-weight: 600; }
.publication-grid { text-align: center; row-gap: 3rem; }
.entry-tags,.calendar-links,.breadcrumb { font-size: .95rem; }
.entry-tags { line-height: 1.45; }
.entry-tags a,.calendar-links a { margin-inline-end: .45rem; }
.profile-card a { display: block; }
.profile-card a img { margin-bottom: .5rem; }
.profile-card a span { display: block; }
.profile-grid,.profile-grid .profile-card { width: 100%; }
.page-band:has(> .section-wrap > .profile-grid) > .section-wrap > .prose { text-align: center; }
.event-card { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(1.5rem,4vw,4rem); }
.event-card figure { margin: 0; }
.event-card figure img { width: 100%; }
.event-card > :only-child { grid-column: 1/-1; }
.event-card h2 a { color: inherit; text-decoration: none; }
.event-card h2 a:hover { text-decoration: underline; }
.poster-gallery { max-width: 52rem; margin-inline: auto; }
.poster-gallery .poster > a > img { max-height: 65rem; width: auto; margin-inline: auto; }
.poster-gallery figcaption { margin: 1.35rem auto; max-width: 48rem; }
.content-card .prose p:empty { display: none; }
@media (max-width: 1050px) and (min-width: 851px) {
  .masthead { width: calc(100% - 2rem); gap: 1rem; grid-template-columns: minmax(0,1fr) 7rem minmax(0,1fr); }
  .brand { width: 7rem; }
  .nav-link,.media-menu summary { font-size: .8rem; }
}
@media (max-width: 850px) {
  :root { --outer: 1.25rem; --frame: 1.25rem; }
  .masthead { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 4.55rem; gap: .4rem; }
  .site-frame { margin-top: .25rem; }
  .desktop-nav { display: none; }
  .brand { grid-column: 2; width: 5rem; height: 5.5rem; padding: .3rem; }
  .brand-logo { height: 4.75rem; }
  .icon-button { display: inline-grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 0; background: transparent; color: var(--nav); text-decoration: none; }
  .menu-toggle { justify-self: start; margin-left: -.45rem; }
  .search-toggle { justify-self: end; margin-right: -.5rem; }
  .hamburger,.hamburger::before,.hamburger::after { display: block; width: 1.45rem; height: 2px; background: currentColor; }
  .hamburger { position: relative; }
  .hamburger::before,.hamburger::after { content: ""; position: absolute; left: 0; }
  .hamburger::before { top: -.38rem; }
  .hamburger::after { bottom: -.38rem; }
  .search-icon { width: 1.03rem; height: 1.03rem; border: 2px solid; border-radius: 50%; position: relative; }
  .search-icon::after { content: ""; width: .55rem; height: 2px; background: currentColor; position: absolute; right: -.4rem; bottom: -.17rem; transform: rotate(45deg); }
  .mobile-menu[open] { display: grid; position: fixed; inset: 0; grid-template-columns: minmax(0,1fr) 3.6rem; width: min(100vw,28rem); height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; border: 0; background: var(--ink); color: var(--ink); }
  .drawer-sheet { background: white; overflow-y: auto; padding: 2rem 1.3rem 2.5rem 2.1rem; }
  .drawer-sheet a,.drawer-sheet button { display: block; font-weight: 700; font-size: .94rem; letter-spacing: .115em; line-height: 1.4; text-align: left; padding: .44rem 0; text-transform: uppercase; }
  .drawer-sheet button { color: inherit; }
  .drawer-media,.drawer-back,.drawer-close { border: 0; background: transparent; }
  .drawer-close { color: white; height: 3.5rem; font-size: 2rem; line-height: 1; }
  .drawer-programs { margin-top: .75rem; }
  .drawer-back { margin-bottom: .65rem; }
  .disclosure-mark { display: inline-block; width: .48rem; height: .48rem; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 .3rem .1rem .6rem; }
  .basic-nav { display: flex; padding-bottom: 1rem; flex-wrap: wrap; gap: .4rem 1rem; }
  .home-hero { min-height: clamp(31rem,71.7vh,40rem); }
  .home-hero h1 { font-size: clamp(2.05rem,5.6vw,3rem); }
  .hero-content { padding: 3.5rem 0; }
  .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .content-grid.columns-2,.content-grid.columns-4,.event-card { grid-template-columns: minmax(0,1fr); }
  body { font-size: 1.06rem; }
  .home-hero .button { padding-inline: 1.45rem; }
  .stats,.activity-grid,.grooming-feature,.outreach-inner,.contact-grid { grid-template-columns: minmax(0,1fr); }
  .stats { gap: 2rem; margin-bottom: 2.8rem; }
  .stats dt { margin: 0 0 .45rem; }
  .impact-activities { padding-block: 3.2rem 2.3rem; }
  .impact-subtitle { font-size: 1.55rem; }
  .activity-grid { gap: 2.6rem; }
  .activity-card h3 { margin-top: 1.2rem; }
  .parenting-feature,.grooming-feature { padding-block: 2.1rem; }
  .parenting-feature h2 { font-size: 1.8rem; }
  .slide { flex-basis: 88%; }
  .grooming-copy { text-align: center; padding: 1.25rem 0 0; }
  .feature-inner { padding-block: 4rem; }
  .feature-copy,.feature-right .feature-copy,.outreach-inner > div:last-child { text-align: left; }
  .feature-banner { min-height: 30rem; }
  .feature-banner::before { background: rgb(11 19 39 / 49%); }
  .outreach-inner { gap: 1.6rem; }
  .outreach-inner .actions { justify-content: flex-start; }
  .home-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: clamp(8rem,39vw,15rem); }
  .home-gallery a:first-child { grid-row: auto; }
  .content-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .name-fields,.browse-links { display: block; columns: 1; }
  .name-fields label+label { margin-top: 1rem; }
  .site-footer { padding: 2.65rem 1.2rem 3rem; }
  .social-links { gap: .65rem 1rem; }
  .contact-grid { gap: 2.5rem; }
  .location-map { height: 18rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* The foundation's centered logo, bilingual identity and original navy palette. */
.masthead {position:relative;grid-template-columns:minmax(0,1fr) 7.3rem minmax(0,1fr);gap:clamp(.7rem,2vw,2.1rem);width:min(calc(100% - 3rem),82rem);min-height:7.8rem;padding:.65rem 0 .8rem;}
.brand {width:7.3rem;padding:.2rem;grid-area:1/2;}
.brand-logo {height:6.3rem;}
.desktop-nav {gap:clamp(.7rem,1.45vw,1.5rem);flex-wrap:nowrap;padding-top:1.05rem;}
.nav-primary {grid-area:1/1;}
.nav-secondary {grid-area:1/3;justify-content:flex-end;}
.nav-link,.nav-group summary {font:600 1rem/1.35 "Bai Jamjuree",Tahoma,sans-serif;letter-spacing:.01em;text-transform:none;color:var(--nav);text-decoration:none;white-space:nowrap;}
.nav-group {position:relative;}
.nav-group summary {cursor:pointer;list-style:none;padding:.55rem 0;}
.nav-group summary::-webkit-details-marker {display:none;}
.nav-group summary::after {display:inline-block;content:"";margin:0 .1rem .18rem .45rem;width:.34rem;height:.34rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);}
.nav-group[open]>summary::after {transform:rotate(225deg);margin-bottom:0;}
.nav-popover {position:absolute;z-index:9;top:100%;left:-.9rem;min-width:12rem;width:max-content;max-width:21rem;padding:.45rem .9rem;background:white;border:1px solid var(--line);box-shadow:0 9px 23px #1119381a;text-align:left;}
.nav-secondary .nav-popover {left:auto;right:0;}
.nav-popover .nav-link {white-space:normal;display:block;padding:.55rem .2rem;}
.donate-link {border:1.5px solid var(--indigo);border-radius:2rem;padding:.43rem 1.05rem;}
.nav-tools {position:absolute;right:0;top:-.55rem;display:flex;align-items:center;gap:1.25rem;}
.language-switch {display:inline-flex;align-items:center;white-space:nowrap;gap:.1rem;}
.language-switch a,.header-search {text-decoration:none;color:var(--nav);font-size:.875rem;padding:.25rem .45rem;font-weight:500;}
.language-switch a[aria-current] {font-weight:700;box-shadow:inset 0 -2px var(--indigo);}
.language-switch a:hover,.header-search:hover {text-decoration:underline;}
.header-search {display:inline-flex;gap:.4rem;align-items:center;}
.search-mark {display:inline-block;width:.66rem;height:.66rem;border:1.5px solid;border-radius:50%;position:relative;}
.search-mark::after {content:"";position:absolute;height:1.5px;width:.35rem;bottom:-.12rem;right:-.23rem;transform:rotate(45deg);background:currentColor;}
.home-hero::before {background:linear-gradient(90deg,#07122733,#071227a9 41%,#071227a9 59%,#07122733);}
.home-hero h1 {margin-bottom:.35em;}
.brand-other {font-weight:600;font-size:clamp(1.3rem,2vw,1.85rem);margin-bottom:.6em;}
.hero-mission {font-size:clamp(1.05rem,1.55vw,1.36rem);line-height:1.48;max-width:36rem;margin:0 auto 1.4rem;text-wrap:balance;}
.hero-content {padding:3.4rem .3rem;}
.activity-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(1rem,2.2vw,2rem);}
.activity-card {display:flex;flex-direction:column;align-items:flex-start;}
.activity-card .card-photo {width:100%;}
.activity-card .button {margin-top:auto;font-size:.875rem;letter-spacing:.035em;text-transform:none;padding:.66rem 1.15rem;}
.impact {padding-top:clamp(3rem,6vw,6rem);}
.stats {margin-bottom:0;}
.home-gallery a:nth-child(6) {grid-column:span 1;}
#about-1.has-background::before,#about-page-th.has-background::before {background:linear-gradient(90deg,#0b132366,#0b1323c2 35%,#0b1323c2 65%,#0b132366);}
#committee .profile-grid,#committee-th .profile-grid {display:flex;flex-wrap:wrap;justify-content:center;gap:2rem clamp(.8rem,2vw,2rem);max-width:65rem;margin:1.6rem auto;}
#committee .profile-card,#committee-th .profile-card {width:calc(25% - 2rem);max-width:13.3rem;}
#committee .profile-card img,#committee-th .profile-card img {width:min(100%,9rem);margin-inline:auto;}
.section-alias {position:absolute;width:0;height:0;pointer-events:none;}
.report-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10.5rem),1fr));gap:1.35rem;margin:2rem auto;max-width:65rem;}
.report-card a {display:grid;gap:.75rem;justify-items:center;text-align:center;text-decoration:none;font-weight:600;}
.report-card a:hover span:last-child {text-decoration:underline;}
.report-card img,.report-document {width:100%;height:clamp(8rem,12vw,12rem);object-fit:contain;}
.report-document {background:#eef3f6;display:grid;place-items:center;color:var(--nav);}
.class-times {max-width:37rem;margin:0 auto 1.25rem;}
.class-times table {width:100%;border-collapse:collapse;}
.class-times caption {caption-side:top;text-align:left;margin-bottom:.65rem;color:var(--muted);}
.class-times th,.class-times td {text-align:left;padding:.65rem .8rem;border-bottom:1px solid var(--line);}
.class-times thead {background:#eef2f7;}
.class-poster {max-width:37rem;margin:1rem auto;}
.class-poster summary {cursor:pointer;color:var(--indigo);font-weight:600;}
.class-poster figure {margin:1rem 0;}
.event-group+ .event-group {margin-top:3rem;}
.event-group>h2 {font-size:clamp(1.65rem,3.4vw,2.5rem);margin-bottom:1.15rem;}
.no-dates {border-left:.2rem solid var(--indigo);padding:.7rem 1rem;background:#f4f6f9;}
.entry-meta .time-zone {font-size:.91em;}
@media(min-width:1101px){.menu-toggle{display:none;}}
@media(max-width:1100px){
 .masthead {width:100%;min-height:5.5rem;grid-template-columns:1fr auto 1fr;gap:.35rem;padding:0;}
 .desktop-nav,.nav-tools>.header-search {display:none;}
 .brand {grid-area:1/2;width:5.2rem;height:auto;padding:.2rem;}
 .brand-logo {height:4.75rem;}
 .nav-tools {position:static;grid-area:1/3;justify-self:end;}
 .language-switch a {padding:.45rem .42rem;}
 .icon-button.menu-toggle {grid-area:1/1;display:inline-grid;place-items:center;justify-self:start;width:2.75rem;height:2.75rem;border:0;background:transparent;color:var(--nav);padding:0;margin-left:-.4rem;}
 .hamburger,.hamburger::before,.hamburger::after {display:block;width:1.45rem;height:2px;background:currentColor;}
 .hamburger {position:relative;}
 .hamburger::before,.hamburger::after {position:absolute;left:0;content:"";}
 .hamburger::before {top:-.37rem;}.hamburger::after {top:.37rem;}
 .mobile-menu[open] {position:fixed;inset:0;display:grid;grid-template-columns:minmax(0,1fr) 3.6rem;height:100dvh;width:min(100vw,28rem);max-width:none;max-height:none;margin:0;padding:0;border:0;background:var(--ink);}
 .drawer-sheet {background:white;overflow:auto;padding:2rem 1.5rem;}
 .drawer-main a,.drawer-main summary {display:block;padding:.7rem .35rem;font-size:1.06rem;text-transform:none;letter-spacing:0;white-space:normal;}
 .drawer-main .nav-popover {position:static;box-shadow:none;border:0;border-left:2px solid var(--line);padding:0 0 0 1rem;margin-left:.4rem;max-width:100%;min-width:0;}
 .drawer-main {display:grid;gap:.1rem;}
 .drawer-close {border:0;background:transparent;color:white;height:3.4rem;font-size:2rem;}
 .activity-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:650px){
 .home-hero {min-height:clamp(28rem,63svh,35rem);}
 .home-hero::before {background:linear-gradient(0deg,#08112470,#081124aa 43%,#081124a8 65%,#08112435);}
 .hero-content {padding:2.4rem 0;}
 .activity-grid {grid-template-columns:1fr;}
 .home-gallery a:nth-child(6){grid-column:span 2;}
 #committee .profile-card,#committee-th .profile-card {width:calc(50% - 1rem);}
 .report-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .class-times th,.class-times td {padding:.55rem .35rem;}
}

.editorial-section .section-wrap,.editor-prose{overflow-wrap:anywhere}.editorial-section .section-wrap>*+*,.section-wrap>.editor-video,.section-wrap>.editor-photo{margin-top:1.4rem}.editor-photo img,.editorial-section figure img{display:block;max-width:100%;height:auto;margin-inline:auto}.editor-video{width:min(100%,54rem);margin-inline:auto}.editor-video video,.embed video{display:block;width:100%;height:100%;object-fit:contain}.editor-photo figcaption,.editor-video figcaption{margin:.5rem 0;text-align:center}.section-wrap>.profile-card{display:inline-block;vertical-align:top;width:min(14rem,100%);margin:1rem}.embed:empty,figure:empty{display:none}
.team-preview{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:clamp(1rem,4vw,4rem);padding-block:clamp(2.75rem,7vw,6rem)}.team-preview .section-heading{margin:0;text-align:left}.team-portraits{display:flex;align-items:center;justify-content:center;gap:clamp(.4rem,1.5vw,1.2rem)}.team-portraits img{display:block;width:min(11vw,8rem);aspect-ratio:1;object-fit:cover;border-radius:50%}.team-portraits a{display:block}@media(max-width:650px){.team-preview{grid-template-columns:1fr;text-align:center}.team-preview .section-heading{text-align:center}.team-portraits img{width:min(23vw,7rem)}}

