@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 750;
  font-display: swap;
  src: url('/sites/midvalleyparenting/fonts/fraunces-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500 750;
  font-display: swap;
  src: url('/sites/midvalleyparenting/fonts/fraunces-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/sites/midvalleyparenting/fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/sites/midvalleyparenting/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --cream: #f7f0e4;
  --cream-2: #fffaf1;
  --sand: #e7d4bb;
  --sage: #a9b18d;
  --sage-light: #dfe4c8;
  --forest: #294d38;
  --forest-2: #173428;
  --teal: #0d7186;
  --bluegreen: #1f6670;
  --clay: #c66a37;
  --gold: #e8b118;
  --coral: #d88468;
  --ink: #1d231c;
  --muted: #676a5f;
  --line: rgba(41, 77, 56, 0.18);
  --shadow: 0 22px 60px rgba(38, 55, 42, 0.13);
  --shadow-soft: 0 14px 34px rgba(38, 55, 42, 0.1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --max: 1180px;
  /* Full-bleed bands: each band's inline padding is
     max(<own pad>, calc(50% - var(--shell-max)/2 + <own pad>)), written out
     per rule — backgrounds span the viewport while content stays on the old
     1320px shell column. Below ~1352px viewports the formula collapses to
     the band's own padding, so tablet/mobile behavior is unchanged. */
  --shell-max: 1320px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(232, 177, 24, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 15%, rgba(13, 113, 134, 0.16), transparent 30rem),
    var(--cream);
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; }

a { color: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--forest);
  color: white;
  border-radius: 999px;
}

.skip-link:focus { top: 16px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: 100%;
  margin: 0;
  background: var(--cream-2);
  overflow: visible;
}

.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 9px 18px;
  background: var(--teal);
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.announcement p { margin: 0; }

.announcement a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px max(clamp(18px, 4vw, 54px), calc(50% - var(--shell-max) / 2 + clamp(18px, 4vw, 54px)));
  background: rgba(255, 250, 241, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 26px rgba(38, 55, 42, 0.08);
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, gap 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 250, 241, 0.985);
  box-shadow: 0 12px 28px rgba(38, 55, 42, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(150px, 16vw, 226px);
  height: auto;
  transition: width 220ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: clamp(112px, 10vw, 156px);
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  align-items: center;
}

.primary-nav a,
.header-cta {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav a {
  color: var(--forest-2);
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  transition: min-height 220ms ease, padding 220ms ease, background 180ms ease;
}

.site-header.is-scrolled .header-cta {
  min-height: 38px;
  padding: 9px 16px;
}

.menu-toggle { display: none; }

.section-pad {
  padding: clamp(56px, 8vw, 118px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
}

.hero {
  position: relative;
  display: grid;
  /* 0.76fr of the old 0.76fr/1fr split = 43.2%; +14vw widens the copy column */
  grid-template-columns: minmax(0, calc(43.2% + 14vw)) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(540px, calc(100svh - 150px), 680px);
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(34px, 4vw, 54px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(41, 77, 56, 0.94) 0%, rgba(41, 77, 56, 0.86) 36%, rgba(41, 77, 56, 0.42) 62%, rgba(41, 77, 56, 0.08) 80%),
    url("/sites/midvalleyparenting/img/hero.jpg") center right / cover no-repeat;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1, h2, h3 { margin-top: 0; line-height: 0.98; }

h1, h2 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.045em; }

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4.85vw, 4.8rem);
}

h2 { font-size: clamp(2.2rem, 5vw, 4.7rem); }

h3 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 10px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero .eyebrow { color: var(--gold); }
.hero h1 { color: white; text-shadow: 0 2px 24px rgba(0,0,0,.22); max-width: none; }

.hero-text {
  max-width: 680px;
  margin: 0 0 30px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,.86);
}

.button-row {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
  font-family: var(--sans);
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.btn-primary { background: var(--clay); color: white; }
.btn-secondary { background: var(--sage-light); color: var(--forest-2); border-color: var(--line); }
.hero .btn-secondary { background: rgba(255, 250, 241, .92); color: var(--forest-2); border-color: rgba(255,255,255,.7); }
.btn-light { background: var(--cream-2); color: var(--forest-2); }

.hero-art {
  display: none;
}

.hero-arch {
  width: min(680px, 100%);
  height: 650px;
  border-radius: 310px 310px 34px 34px;
  overflow: hidden;
  background: var(--sage);
  box-shadow: var(--shadow);
  border: 14px solid var(--cream);
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.floating-card {
  position: absolute;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 250, 241, 0.8);
}

.support-card {
  left: -20px;
  bottom: 96px;
  max-width: 235px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--forest);
  color: white;
}

.card-kicker {
  display: block;
  margin-bottom: 5px;
  font-size: .75rem;
  color: var(--sage-light);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.circle-card {
  right: 0;
  top: 82px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
}

.circle-card svg { width: 68px; fill: rgba(255,255,255,.78); }

.class-search {
  padding: clamp(56px, 8vw, 118px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px))) clamp(58px, 7vw, 90px);
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(260px, .84fr) minmax(280px, 1.16fr);
  gap: 34px;
  align-items: end;
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: white;
  position: relative;
  overflow: hidden;
}

.search-panel::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(232, 177, 24, .22);
}

.search-panel h2 { font-size: clamp(2rem, 3.9vw, 4rem); margin-bottom: 14px; }
.search-panel p { color: rgba(255,255,255,.76); margin: 0; }

.search-form { position: relative; }
.search-form label { display: block; font-weight: 800; margin-bottom: 10px; }
.search-row { display: flex; gap: 10px; }
.search-row input {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font: inherit;
  background: var(--cream-2);
  color: var(--ink);
}

.search-row input:focus { outline: 4px solid rgba(232, 177, 24, .38); }

.filter-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.filter-pill {
  border: 1px solid rgba(255,255,255,.28);
  color: white;
  background: transparent;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  cursor: pointer;
}

.filter-pill.active,
.filter-pill:hover,
.filter-pill:focus-visible {
  background: var(--sage-light);
  color: var(--forest-2);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.class-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(38, 55, 42, 0.06);
}

.date-block {
  width: 66px;
  height: 78px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--sage-light);
  color: var(--forest);
  align-self: start;
}

.date-block span,
.date-block strong { display: block; line-height: .95; }
.date-block span { font-size: .73rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; }
.date-block strong { font-size: 2rem; font-family: var(--serif); }
.badge-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.badge-row span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(198, 106, 55, .12);
  color: var(--clay);
  font-size: .72rem;
  font-weight: 900;
}
.class-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.class-card p { color: var(--muted); margin: 0 0 14px; }
.class-card a { color: var(--forest); font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.no-results { padding: 16px; border-radius: var(--radius-sm); background: var(--sage-light); font-weight: 700; }

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading p:last-child { color: var(--muted); margin-inline: auto; max-width: 620px; }

.bento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(245px, auto);
  gap: 18px;
}

.path-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 245px;
  padding: 26px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: white;
  border: 1px solid var(--line);
  transition: transform 180ms ease, box-shadow 180ms ease;
  overflow: hidden;
  position: relative;
}

.path-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -44px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(169, 177, 141, .18);
}


.path-card.image-card {
  padding-top: 190px;
  background: var(--sage-light);
}

.path-photo {
  position: absolute;
  inset: 0 0 auto 0;
  height: 170px;
  background-image: linear-gradient(rgba(23,52,40,.04), rgba(23,52,40,.10)), url("/sites/midvalleyparenting/img/how-can-we-help.jpg");
  background-size: cover;
  background-position: center 42%;
}

.path-card.image-card .path-icon,
.path-card.image-card h3,
.path-card.image-card p,
.path-card.image-card strong {
  position: relative;
  z-index: 1;
}

.path-card:hover,
.path-card:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.path-card.large { grid-row: span 2; background: var(--sage-light); }
.path-card.warm { background: #f5dfc9; }
.path-card.sage { background: #e7ecd2; }
.path-card.dark { background: var(--forest); color: white; }
.path-card.dark p { color: rgba(255,255,255,.74); }
.path-icon { font-weight: 900; color: var(--clay); letter-spacing: .14em; }
.path-card p { color: var(--muted); }
.path-card strong { color: inherit; }

.story-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--forest);
  color: white;
  min-height: 520px;
}
.story-image { min-height: 520px; overflow: hidden; order: 1; }
.story-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: right center;
  transform: scaleX(-1);
}
.story-copy {
  display: grid;
  align-content: center;
  padding: clamp(36px, 6vw, 76px);
  /* Grid item: % resolves against the half-band, so use vw to keep the
     copy's right edge on the shell column when the band goes full-bleed. */
  padding-right: max(clamp(36px, 6vw, 76px), calc(50vw - var(--shell-max) / 2 + clamp(36px, 6vw, 76px)));
  order: 2;
}
.story-copy p { max-width: 640px; color: rgba(255,255,255,.76); }

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--sage-light);
  text-align: center;
}
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  font-weight: 900;
}
.step-card p { color: var(--muted); margin-bottom: 0; }

.resources-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background-color: #f2e4d2;
  background-image:
    linear-gradient(rgba(242, 228, 210, .58), rgba(242, 228, 210, .58)),
    url('/sites/midvalleyparenting/img/bg-pattern.jpg');
  background-position: center, center;
  background-size: auto, 820px auto;
  background-repeat: repeat, repeat;
}
.feature-panel {
  min-height: 440px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}
.feature-panel h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
.feature-panel p:not(.eyebrow) { max-width: 560px; }
.resources-panel {
  background-color: #fff8eb;
  border: 1px solid rgba(223, 166, 63, .26);
}
.events-panel { background: var(--gold); color: var(--forest-2); }
.mini-events { display: grid; gap: 9px; margin: 10px 0 24px; }
.mini-events div {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,.42);
  border-radius: 999px;
}

.provider-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 118px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
  background: var(--bluegreen);
  color: white;
}
.provider-section p { color: rgba(255,255,255,.76); }
.provider-list {
  display: grid;
  gap: 14px;
}
.provider-list span {
  padding: 20px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 900;
}

.spanish-section {
  padding: clamp(56px, 8vw, 118px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
  background-color: #fff8eb;
  background-image:
    linear-gradient(rgba(255, 248, 235, .50), rgba(255, 248, 235, .50)),
    url('/sites/midvalleyparenting/img/bg-pattern.jpg');
  background-position: center, center;
  background-size: auto, 820px auto;
  background-repeat: repeat, repeat;
}
.spanish-card {
  max-width: 860px;
  margin: auto;
  padding: clamp(34px, 6vw, 72px);
  border-radius: 52px;
  background: rgba(231, 236, 210, .78);
  border: 1px solid rgba(82, 106, 52, .18);
  text-align: center;
  backdrop-filter: blur(1px);
}

.contact-cta {
  padding: clamp(56px, 8vw, 118px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
  background: var(--forest-2);
  color: white;
  text-align: center;
}
.contact-cta p:not(.eyebrow) { max-width: 680px; margin-inline: auto; color: rgba(255,255,255,.78); }

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(360px, 1.25fr);
  align-items: start;
  gap: clamp(28px, 6vw, 76px);
  padding: 42px max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
  background: #11261e;
  color: white;
}
.site-footer > div { max-width: 380px; }
.site-footer p { color: rgba(255,255,255,.65); margin-bottom: 0; }
.site-footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 14px clamp(18px, 4vw, 42px);
  justify-items: start;
  align-content: start;
  width: 100%;
}
.site-footer a { text-decoration: none; font-weight: 800; }
.site-footer nav a { line-height: 1.25; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms ease, transform 680ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 4px solid rgba(232, 177, 24, .65); outline-offset: 4px; }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-header.is-scrolled { padding-top: 8px; padding-bottom: 8px; }
  .header-cta { justify-self: end; }
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    grid-column: 3;
    justify-self: end;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--cream-2);
    cursor: pointer;
    order: 3;
    justify-self: end;
  }
  .header-cta { display: none; }
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--forest);
    content: "";
    transition: transform 180ms ease;
  }
  .menu-icon::before { transform: translateY(-7px); }
  .menu-icon::after { transform: translateY(5px); }
  .menu-open .menu-icon { background: transparent; }
  .menu-open .menu-icon::before { transform: translateY(2px) rotate(45deg); }
  .menu-open .menu-icon::after { transform: translateY(0) rotate(-45deg); }
  .primary-nav.is-open {
    display: grid;
    position: fixed;
    inset: 92px 16px auto 16px;
    padding: 24px;
    gap: 0;
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }
  .site-header.is-scrolled .primary-nav.is-open { top: 72px; }
  .primary-nav.is-open a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .hero, .search-panel, .story-band, .provider-section, .resources-events { grid-template-columns: 1fr; }
  .hero {
    min-height: min(620px, calc(100svh - 108px));
    background:
      linear-gradient(180deg, rgba(41, 77, 56, 0.92) 0%, rgba(41, 77, 56, 0.78) 44%, rgba(41, 77, 56, 0.2) 100%),
      url("/sites/midvalleyparenting/img/hero.jpg") center / cover no-repeat;
    align-items: end;
  }
  .hero-copy {
    max-width: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .class-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .path-card.large { grid-row: span 1; }
  .story-image { min-height: 360px; order: 1; }
  .story-copy { order: 2; }
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer nav {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}


@media (max-width: 700px) {
  .site-shell { width: 100%; margin: 0; border-left: 0; border-right: 0; }
  .announcement { flex-direction: column; gap: 4px; font-size: .67rem; }
  .site-header { padding: 15px 16px; }
  .site-header.is-scrolled { padding-top: 8px; padding-bottom: 8px; }
  .brand-logo { width: 144px; }
  .site-header.is-scrolled .brand-logo { width: 106px; }
  .site-header.is-scrolled .menu-toggle { width: 42px; height: 42px; }
  .section-pad, .class-search, .provider-section, .spanish-section, .contact-cta { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero { min-height: min(590px, calc(100svh - 98px)); }
  .hero-copy { padding: 0; }
  .search-panel { border-radius: 28px; padding: 24px; }
  .search-row { flex-direction: column; }
  .search-row .btn { width: 100%; }
  .bento-grid, .step-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 215px; }
  .class-card { grid-template-columns: 1fr; }
  .date-block { width: 72px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .mini-events div { align-items: flex-start; border-radius: 18px; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .site-footer nav {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   SiteHub additions — interior pages, platform components.
   Everything below extends the designer's homepage system
   (mvp_homepage_v13) to full-site use. Same tokens, same idiom.
   ============================================================ */

/* ---- Interior page hero band ---- */
.page-hero {
  padding: clamp(44px, 6vw, 84px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
  background:
    linear-gradient(100deg, rgba(41, 77, 56, 0.96), rgba(41, 77, 56, 0.82)),
    var(--forest);
  color: white;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 0; }
.page-hero .page-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

/* ---- Interior content container + typography ---- */
.page-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 72px);
}
.page-wrap.wide { max-width: 1180px; }

.prose h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  letter-spacing: -0.02em;
  margin-top: 2.2em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink); max-width: 68ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--teal); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--bluegreen); }
.prose .eyebrow { margin-top: 2.4em; }

/* ---- Resource link cards (family resources page) ---- */
.resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.resource-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.resource-list a { color: var(--forest); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.resource-list p { margin: .35em 0 0; font-size: .92rem; color: var(--muted); }

/* ---- Toolkit download cards ---- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.doc-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--sage-light);
  border: 1px solid var(--line);
}
.doc-card strong { font-family: var(--serif); font-size: 1.12rem; color: var(--forest-2); }
.doc-card .doc-links { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.doc-card a { color: var(--forest); font-weight: 800; }
.doc-card .doc-unavailable { color: var(--muted); font-size: .88rem; }

/* ---- Contact / staff cards ---- */
.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.county-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
}
.county-card h3 { margin-bottom: 4px; }
.county-card .role { color: var(--muted); margin: 0 0 10px; font-size: .95rem; }
.county-card p { margin: .3em 0; }
.county-card a { color: var(--teal); font-weight: 700; }

/* ---- Platform form component (x-site-form) ---- */
.sh-form { max-width: 560px; margin-top: 26px; }
.sh-form__field { margin-bottom: 16px; }
.sh-form__field label { display: block; font-weight: 800; margin-bottom: 7px; color: var(--forest-2); }
.sh-form__field input,
.sh-form__field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: white;
  color: var(--ink);
}
.sh-form__field input:focus,
.sh-form__field textarea:focus { outline: 4px solid rgba(232, 177, 24, .38); border-color: var(--sage); }
.sh-form__hp { position: absolute; left: -9999px; }
.sh-form__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.sh-form__actions button:hover,
.sh-form__actions button:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.sh-form__success { background: var(--sage-light); border: 1px solid var(--sage); padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 700; }
.sh-form__error { background: rgba(216, 132, 104, .16); border: 1px solid var(--coral); padding: 14px 18px; border-radius: var(--radius-sm); }

/* ---- CTA band reused on interior pages ---- */
.cta-band {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(36px, 5vw, 60px) max(clamp(20px, 5vw, 72px), calc(50% - var(--shell-max) / 2 + clamp(20px, 5vw, 72px)));
  background: var(--forest-2);
  color: white;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 620px; margin-inline: auto; }
.cta-band .btn { margin-top: 10px; }

.search-cta { display: flex; align-items: end; }

/* ---- Platform events component (x-site-events) ---- */
.sh-events {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 22px;
}
/* Desktop class-card widths follow the count: 1, 2, or 4 cards sit on a
   2-col grid (halves; 4 makes a 2×2), exactly 3 or 5+ go to thirds. */
.home-classes .sh-events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-classes .sh-events:has(> .sh-event:nth-child(3):last-child),
.home-classes .sh-events:has(> .sh-event:nth-child(5)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sh-event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(38, 55, 42, 0.06);
}
.sh-event--class { border-top: 4px solid var(--clay); }
.sh-event--event { border-top: 4px solid var(--gold); }
.sh-event__date {
  width: 66px;
  height: 78px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--sage-light);
  color: var(--forest);
  align-self: start;
}
.sh-event__month { display: block; font-size: .73rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 900; line-height: .95; }
.sh-event__day { display: block; font-size: 2rem; font-family: var(--serif); line-height: .95; }
.sh-event__title { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 8px; }
.sh-event__when, .sh-event__location { margin: 0 0 4px; font-size: .92rem; color: var(--muted); max-width: none; }
.sh-event__description { margin: 10px 0 0; color: var(--ink); }
.sh-event__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--clay);
  color: white;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.sh-event__register:hover,
.sh-event__register:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.prose .sh-event__register { color: white; }

@media (max-width: 1080px) {
  .home-classes .sh-events { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sh-event { grid-template-columns: 1fr; }
}

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.note-muted { color: var(--muted); font-size: .92rem; }
