/* ---------- Tokens (palette lifted from the business card) ---------- */
:root{
  /* Banner-matched: light blue-gray sky tones instead of the old cream/tan neutrals. */
  --cream:        #eef3f7;
  --cream-deep:   #dbe7ef;
  --cream-line:   #c3d8e3;
  --ink:          #2c2416;
  --ink-soft:     #5a4f3a;

  --sun:          #eda155;
  --sun-cheek:    #e2645a;

  --flower-yellow:#eab63c;
  --flower-red:   #d8503c;
  /* Richer/more saturated banner-matched blue. Deliberately not lighter than the old
     #3d6fa8 -- lightening it moves the luminance toward the middle zone where neither
     white nor dark text clears 4.5:1 against it. This value improves both existing
     contrast pairs (white text on this bg: 5.85:1, this as text on --cream: 5.02:1)
     over the old blue's 5.23:1 / 4.48:1. */
  --flower-blue:  #1f66b0;
  /* Decorative-only light banner blue -- no text ever sits on this, so no contrast
     constraint applies. Used by the blue flower accent. */
  --paint-blue:   #4f92e0;
  /* Blue replacements for what used to be orange (--sun-deep) CTA/active surfaces. */
  --blue-hover:   #2a72bd;
  --blue-shadow:  #144a7a;
  --blue-deep:    #123a5e;
  /* Call-green for the mobile phone icon. Light enough to clear 3:1 non-text
     contrast on the --flower-blue button, which the icon sits on. */
  --call-green:   #7ee2a8;
  --flower-orange:#e0943a;
  --flower-pink:  #c25a7c;
  --grass:        #6b8f4e;

  --radius: 20px;
  --shadow: 0 10px 30px rgba(44,36,22,0.10);

  --font-display: 'Bevan', 'Georgia', serif;
  --font-body: 'Quicksand', 'Trebuchet MS', sans-serif;
}

*{ box-sizing: border-box; }
/* scroll-padding-top keeps in-page anchor targets clear of the sticky header. Sized to
   the two-row header; the 860px block below matches the shorter one-row mobile header. */
html{ scroll-behavior: smooth; scroll-padding-top: 108px; }
body{
  margin:0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 400;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }

.wrap{
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  color: var(--flower-red);
  margin: 0 0 .6em;
}
.center{ text-align: center; }
.section-head{ margin-bottom: 40px; }
.section-head h2{ max-width: 640px; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight:400;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 3px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--flower-blue);
  color: #fff9ec;
  box-shadow: 0 6px 0 var(--blue-shadow);
}
.btn-primary:hover{ background: var(--blue-hover); }
.btn-secondary{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover{ background: var(--ink); color: var(--cream); }
.header-call-icon{ display:none; }
.header-call-icon svg{ width: 22px; height: 22px; display:block; fill: var(--call-green); }
/* No drop shadow: these sit beside the flat .nav-toggle hamburger, and the hard shadow
   read as heavy next to it. Applies to both header pills so the pair stays consistent. */
.btn-call{
  background: var(--flower-blue);
  color: #fff;
  padding: 10px 20px;
  font-size: .85rem;
}
.btn-call:hover{ background: #4a80bc; }

/* ---------- Sun icon (shared) ---------- */
.sun-rays ellipse{ fill: var(--sun); }
.sun-face{ fill: var(--sun); }
.sun-cheek{ fill: var(--sun-cheek); opacity:.75; }
.sun-eye{ fill: var(--ink); }
.sun-mouth{ stroke: var(--ink); }

/* ---------- Language toggle ---------- */
.lang-toggle-btn{
  -webkit-appearance: none;
  appearance: none;
  border: 3px solid transparent;
  cursor: pointer;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(238,243,247,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-line);
}
/* Two-row topbar. Row 1: brand + utility buttons. Row 2: nav, centred.
   Splitting them takes the nav out of the width competition on row 1. */
.header-top-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}
.header-row-nav{ border-top: 1px solid var(--cream-line); }
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand-sun{ width: 42px; height:42px; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-name{
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand-tagline{
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--flower-red);
  white-space: nowrap;
}
/* Her legal/licensed name, kept visible at every width -- unlike .brand-tagline it is
   NOT hidden on small screens. Narrower than the tagline, so it adds no header width. */
.brand-legal{
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ink-soft);
  white-space: nowrap;
}
/* One centred group. Our Facility is simply last -- it is the only item that leaves the
   page, so it reads better after the in-page anchors than among them. */
.site-nav{
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  font-size: .92rem;
  font-weight: 700;
  padding-top: 9px;
  padding-bottom: 9px;
}
.nav-main{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.nav-lang, .nav-toggle{ display:none; }
.site-nav a:hover{ color: var(--flower-red); }

/* Hamburger: 44px touch target, three bars from one element plus its pseudo-elements */
.nav-toggle{
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 14px;
  background: var(--flower-blue);
  cursor: pointer;
  position: relative;
}
.nav-toggle:hover{ background: #4a80bc; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after{
  position:absolute;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: #fff;
  content: "";
}
.nav-toggle-bars{ left: 50%; top: 50%; margin-left: -10px; margin-top: -1.25px; }
.nav-toggle-bars::before{ left: 0; top: -7px; }
.nav-toggle-bars::after{ left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars{ background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before{ top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after{ top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position: relative; padding-top: 64px; overflow: hidden; }
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items:center;
  padding-bottom: 80px;
}
.hero h1{
  font-size: clamp(2rem, 4vw, 2.9rem);
}
.hero-tagline{
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--flower-blue);
  margin: -4px 0 18px;
}
.hero-sub{ max-width: 46ch; font-size: 1.05rem; }
.hero-actions{ display:flex; gap: 16px; flex-wrap:wrap; margin-top: 8px; }

.hero-art{ position: relative; display:flex; justify-content:center; align-items:center; min-height: 260px; }
.hero-sun-big{ width: 280px; height:280px; }
.hero-reader{ position:absolute; top: -6px; right: 6%; width: 130px; height: auto; }

.book-page{ fill: var(--flower-blue); }
.book-page-left{ opacity: .95; }
.book-page-right{ opacity: .85; }
.sparkle path{ fill: var(--flower-yellow); }
.kid-hair{ fill: #6b4632; }
.kid-head{ fill: #f2c9a0; }
.kid-body{ fill: var(--flower-red); }
.kid-strap{ fill: var(--flower-blue); }
.kid-cheek{ fill: var(--sun-cheek); opacity: .8; }

/* ---------- Flower border ---------- */
/* Rendered as an inline SVG with a native <pattern> (markup lives in the HTML, one per
   instance) instead of a CSS background-image. CSS background-repeat rasterizes and
   re-scales each tile independently, and at fractional device-pixel ratios that leaves a
   visible seam between repeats -- confirmed by isolating the old tile in a standalone test
   page. SVG <pattern> tiles are vector, not raster-repeated, so there's no seam to round. */
.flower-border{
  display: block;
  width: 100%;
  height: 100px;
}
.flower-border-footer{ margin-bottom: -2px; }

/* Cleaned-up illustration from Velinda's physical banner, replacing the flower-garland
   band under the hero on the home page only -- facility.html keeps the flower bands. */
.hero-kids-banner{
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Decoration ---------- */
/* Sections need overflow:hidden so an absolutely-positioned decoration can never trigger
   horizontal scroll -- see TASKS.md #3 for this project's history of overflow bugs. */
/* z-index:0 (not just position:relative) matters here: it makes each section its own
   stacking context, which is what actually keeps the handprint ::before layer's z-index:-1
   scoped to sinking behind *this section's* content instead of behind the whole page. */
.section, .site-footer, .facility-hero{ position: relative; z-index: 0; overflow: hidden; }

/* Paint-handprint texture (Higgsfield-generated) tiled over every page background. Applied
   as background-image alongside each element's own background-color (converted from the
   `background` shorthand to `background-color` so this doesn't get reset by it) rather than
   replacing it, so the handprints sit on top of that section's own shade of blue. Hand-drawn
   inline SVG handprints were tried first and looked too crude at this scale -- this asset
   reads as an actual painted texture instead. body covers the hero/facility-hero (which have
   no background-color of their own and show body through). */
/* The generated asset's 4 hands actually sit at ~15% of its 2048px canvas, not the ~3%
   asked for. Rather than fight hand-size vs. repeat-frequency with background-size alone
   (they're coupled to the source image's own proportions), the source SVG itself was padded
   into a transparent canvas so the hands are small relative to the file, and the tile is
   sized to keep that same on-screen hand size while repeating more or less often.
   Applied as a ::before layer (not a plain background-image on the section) so opacity can
   fade the handprints only -- a plain `opacity` on the section would also fade its own
   background-color and any text inside it. */
body{ position: relative; z-index: 0; }
body::before,
.about::before, .program::before, .peek::before, .details::before,
.gallery-section::before, .contact::before, .site-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  /* Positioned elements (even a ::before) paint above static in-flow content within the
     same stacking context, regardless of DOM order -- without this, the handprints paint
     on top of the section's real content instead of behind it (visible as hands sitting
     over the sun icon). z-index:-1 sinks this below the section's content, and the
     z-index:0 stacking context on the section (above) keeps that scoped to just this
     section rather than the whole page. */
  z-index: -1;
  background-image: url("assets/handprint-tile.svg");
  background-repeat: repeat;
  background-size: 645px 645px;
  opacity: .25;
  pointer-events: none;
}

/* Single flower unit (same construction as the .flower-border tile) used as a small
   standalone accent so the border motif reads as connected top-to-bottom. */
.flower-accent{
  position: absolute;
  width: 34px;
  height: 40px;
  pointer-events: none;
}
.flower-accent-blue   ellipse{ fill: var(--paint-blue); }
.flower-accent-red    ellipse{ fill: var(--flower-red); }
.flower-accent-yellow ellipse{ fill: var(--flower-yellow); }
.flower-accent line{ stroke: #5a7c42; }
.flower-accent circle{ fill: #8c3c28; }

/* ---------- About ---------- */
.section{ padding: 84px 0; }
.about{ background-color: var(--cream); }
.about-inner{
  display:grid;
  grid-template-columns: .55fr 1fr;
  gap: 56px;
  align-items:center;
}
.portrait-frame{
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--cream-deep);
  border: 4px dashed var(--sun);
  padding: 18px;
  margin: 0 auto;
}
.kid-cheek-big{ fill: var(--sun-cheek); opacity:.75; }
.sun-eye-big{ fill: var(--ink); }
.about-copy h2{ font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* ---------- Program ---------- */
.program{ background-color: var(--cream-deep); }
.program-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.program-card{
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align:center;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-line);
}
.program-icon{ font-size: 2.2rem; display:block; margin-bottom: 12px; }
.program-card h3{ font-size: 1.05rem; margin-bottom: .4em; }
.program-card p{ font-size: .92rem; margin:0; }

/* ---------- Facility teaser ---------- */
.peek{ background-color: var(--cream); }
.peek-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.peek-grid img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--cream);
  box-shadow: var(--shadow);
}
.peek-cta{ text-align:center; }

.bio em{ color: var(--flower-red); font-style: normal; font-weight: 700; }

/* ---------- Program details tabs ---------- */
.details{ background-color: var(--cream-deep); }
.tabs{
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--cream-line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tab-list{
  display:flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--cream-line);
}
.tab-btn{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .88rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.tab-btn:hover{ background: rgba(44,36,22,0.06); }
.tab-btn.is-active{
  background: var(--flower-blue);
  color: #fff7e9;
}
.tab-panel{ display:none; padding: 32px; }
.tab-panel.is-active{ display:block; }

.hours-table{
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.hours-table th, .hours-table td{
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--cream-line);
  font-weight: 700;
}
.hours-table th{ color: var(--ink-soft); font-weight: 600; }
.hours-table td{ color: var(--ink); }

.detail-stats{
  display:flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.detail-stat{
  background: var(--cream-deep);
  border-radius: 14px;
  padding: 14px 20px;
  text-align:center;
  min-width: 140px;
}
.detail-stat strong{
  display:block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--flower-red);
}
.detail-stat span{ font-size: .82rem; color: var(--ink-soft); }
.detail-note{ font-size: .9rem; margin: 0; }
.detail-note a{ color: var(--flower-blue); font-weight: 700; }

.pill-list{
  list-style: none;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 20px;
}
.pill-list li{
  background: var(--cream-deep);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Facility page ---------- */
.facility-hero{ padding-top: 64px; padding-bottom: 0; }
.facility-hero-inner{ padding-bottom: 56px; }
.facility-hero-sub{ max-width: 56ch; margin-left:auto; margin-right:auto; }

.gallery-section{ background-color: var(--cream); }
.filter-list{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:center;
  margin-bottom: 36px;
}
.filter-btn{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .85rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid var(--cream-line);
  background: var(--cream-deep);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-btn:hover{ border-color: var(--flower-blue); }
.filter-btn.is-active{
  background: var(--flower-blue);
  border-color: var(--flower-blue);
  color: #fff7e9;
}

.photo-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.photo-card{
  margin: 0;
  background: var(--cream-deep);
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--cream-line);
  box-shadow: var(--shadow);
}
.photo-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display:block;
}
.photo-card figcaption{
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--ink);
}

.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(44,36,22,0.86);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 12px;
  padding: 40px 20px;
  opacity: 0;
  pointer-events:none;
  transition: opacity .15s ease;
  z-index: 200;
}
.lightbox.is-open{ opacity: 1; pointer-events:auto; }
.lightbox img{
  max-width: min(90vw, 900px);
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-caption{ color: #eef3f7; font-family: var(--font-display); font-size: 1rem; margin:0; }
.lightbox-close{
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- License band ---------- */
.license-band{
  background: var(--blue-deep);
  color: #fff7e9;
  padding: 56px 0;
}
.license-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.license-band h2{ color:#fff7e9; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom:.3em; }
.license-band p{ color: #fbe6c4; margin:0; max-width: 44ch; }
.license-inner .btn-primary{
  background: var(--flower-blue);
  box-shadow: 0 6px 0 var(--blue-shadow);
}
.license-inner .btn-primary:hover{ background: var(--blue-hover); }


/* ---------- License popover ---------- */
/* Triggered from the header nav and from the footer. The footer trigger is not a
   duplicate: .site-nav is display:none under 860px, so it is the only way in on a phone. */
.nav-license{
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-license:hover{ color: var(--flower-red); }
.footer-license{ margin: 0 0 .5em; }
.link-btn{
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  color: var(--flower-blue);
  text-decoration: underline;
  cursor: pointer;
}
.link-btn:hover{ color: var(--flower-red); }

.license-pop-scrim{
  position: fixed;
  inset: 0;
  background: rgba(44,36,22,0.35);
  z-index: 90;
}
.license-pop{
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(400px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(44,36,22,0.28);
  padding: 22px;
}
.license-pop[hidden], .license-pop-scrim[hidden]{ display: none; }
.license-pop-head{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 30px;
  margin-bottom: 14px;
}
.license-pop-badge{ width: 54px; height: 54px; flex-shrink: 0; }
.license-pop h2{ font-size: 1rem; line-height: 1.3; margin: 0; }
.license-pop-facts{
  border-top: 1px solid var(--cream-line);
  padding-top: 14px;
  margin-bottom: 16px;
}
.license-pop-facts p{ margin: 0 0 .4em; font-size: .88rem; }
.license-pop-facts p:last-child{ margin-bottom: 0; }
.license-pop-facts strong{ color: var(--ink); }
.license-pop-links{ display: flex; flex-direction: column; gap: 8px; }
.license-pop-links .btn{ width: 100%; font-size: .82rem; padding: 10px 16px; }
.license-pop-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.license-pop-close:hover{ background: rgba(44,36,22,0.08); color: var(--ink); }

/* ---------- Contact ---------- */
.contact{ background-color: var(--cream); }
.contact-sub{ max-width: 46ch; margin: 0 auto; }
.contact-cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 20px;
  max-width: 640px;
  margin: 0 auto 32px;
}
.contact-card{
  background: var(--cream-deep);
  border-radius: var(--radius);
  padding: 26px;
  text-align:center;
  border: 1px solid var(--cream-line);
}
.contact-icon{ font-size: 1.8rem; display:block; margin-bottom: 8px; }
.contact-card h3{ font-size: 1rem; margin-bottom: .3em; }
.contact-card a{ font-weight: 700; color: var(--flower-blue); }
.contact-cta{ display:flex; width: fit-content; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer{ background-color: var(--cream-deep); }
.footer-inner{
  text-align:center;
  padding: 12px 0 40px;
}
.footer-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-text{ color: var(--ink); font-weight:700; margin-bottom: .3em; }
.footer-fine{ font-size: .82rem; color: var(--ink-soft); margin:0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero-inner{ grid-template-columns: 1fr; text-align:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .about-inner{ grid-template-columns: 1fr; text-align:center; }
  .program-grid{ grid-template-columns: repeat(2, 1fr); }
  .peek-grid{ grid-template-columns: repeat(2, 1fr); }
  .photo-grid{ grid-template-columns: repeat(2, 1fr); }
  .license-inner{ justify-content:center; text-align:center; }
  /* The nav row becomes a collapsible dropdown panel driven by .nav-toggle. Same nav,
     same links -- only the axis and visibility change. */
  .header-row-nav{ display:none; }
  .header-row-nav.is-open{ display:block; }
  .nav-toggle{ display:block; }
  .header-actions .lang-toggle-btn{ display:none; }
  .site-nav{
    display:flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 12px;
    padding-bottom: 14px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-main{
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-main > *{
    text-align: left;
    padding: 11px 4px;
  }
  .nav-lang{
    display: inline-flex;
    align-self: flex-start;
    margin-top: 10px;
  }
  html{ scroll-padding-top: 72px; }
}
@media (max-width: 520px){
  .program-grid{ grid-template-columns: 1fr; }
  .contact-cards{ grid-template-columns: 1fr; }
  .photo-grid{ grid-template-columns: 1fr; }
  .peek-grid{ grid-template-columns: 1fr; }
  /* Icon-only call pill. The digits do not fit beside the brand and hamburger on a 360px
     phone (measured), but calling must stay one tap -- so keep the button, drop the text.
     aria-label on the anchor still carries the full number. */
  .header-call{
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }
  .header-call-text{ display:none; }
  .header-call-icon{ display:flex; }
  .brand-name{ font-size: 1.05rem; }
  .brand-tagline{ display:none; }
  .header-top-inner{ gap: 8px; padding-left: 12px; padding-right: 12px; }
  .tab-btn{ font-size: .78rem; padding: 8px 12px; }
  .tab-panel{ padding: 22px 18px; }
  /* Decorative only -- drop them on narrow phones rather than fight the single-column
     layout for space. */
  .flower-accent{ display: none; }
}
