@import url("https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Nunito:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --cream: #ffffff;
  --paper: #ffffff;
  --panel-yellow: #fdf4dc;
  --header-yellow: #fbf0cd;
  --header-line: #efdfa9;
  --butter: #e8d9a8;
  --butter-light: #f5eed7;
  --peach: #ddbfa3;
  --peach-light: #f5ebe0;
  --rose: #d9c2b8;
  --rose-light: #ffe7db;
  --sage: #d9b65f;
  --sage-light: #fff0d6;
  --sky: #f3c995;
  --sky-light: #fff0d6;
  --line: #e3dcd0;
  --olive: #8f6a4c;
  --olive-dark: #4d4137;
  --leaf-muted: #b89574;
  --terracotta: #9c6a4a;
  --sun: #cda860;
  --ink: #423b34;
  --muted: #6e6459;
  --shadow: 0 10px 24px rgba(101, 65, 38, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--olive-dark);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  max-width: 860px;
  margin-inline: auto;
  font-size: 3.05rem;
}

h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-weight: 600;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.35rem;
}

sup {
  font-size: 0.7em;
}

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

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  left: 1rem;
  top: 1rem;
  clip: auto;
  padding: 0.7rem 1rem;
  background: var(--olive-dark);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 0.7rem 4vw;
  background: var(--header-yellow);
  border-bottom: 1px solid var(--header-line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--olive-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-color: var(--sun);
}

.nav-toggle {
  display: none;
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--olive-dark);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.home-hero,
.page-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.home-hero {
  min-height: 0;
  padding: 3.25rem 5vw 4rem;
  background: #ffffff;
}

.home-hero::before,
.page-hero::before {
  display: none;
}

.home-hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  text-align: center;
}

.page-hero {
  min-height: 0;
  padding: 3rem 5vw 3.25rem;
  background: #ffffff;
}

.page-hero.pastel-garden,
.page-hero.pastel-sky,
.page-hero.pastel-peach,
.page-hero.pastel-yellow,
.page-hero.pastel-rose,
.page-hero.pastel-paper {
  background: #ffffff;
}

/* Cabin Sketch is reserved for the headline directly beneath the logo. */
.home-hero h1,
.page-hero h1 {
  font-family: "Cabin Sketch", "Segoe Print", "Comic Sans MS", cursive;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-logo {
  width: 340px;
  height: 340px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.inset-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 1.5rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-label {
  margin: 0 0 0.5rem;
  color: var(--olive-dark);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* The sentence that follows a section-label reads as its subheading, so it
   should be visually quieter than the label itself. */
.section-label + h2 {
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: normal;
}

.label-icon {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.label-icon .feature-icon {
  flex: none;
  margin-top: 0.2rem;
}

.hero-copy {
  max-width: 720px;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.17rem;
}

/* Page headline + subtext relocated out of the hero, above the first block. */
.lead-copy {
  max-width: 720px;
  margin: 1.1rem auto 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.center-heading .lead-copy {
  margin-bottom: 0;
}

.section {
  padding: 6.25rem 5vw;
}

.section-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.75rem;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.center-heading h2 {
  margin-bottom: 0;
}

.pastel-paper,
.pastel-rose {
  background: #ffffff;
}

.pastel-garden,
.pastel-sky,
.pastel-peach,
.pastel-yellow {
  background: var(--panel-yellow);
}

.intro-grid,
.story-grid,
.split-copy,
.rhythm-wrap,
.enrollment-grid,
.contact-grid {
  display: grid;
  gap: 2.75rem;
  align-items: start;
}

.intro-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
}

.story-grid,
.enrollment-grid,
.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.split-copy,
.rhythm-wrap {
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
}

.intro-grid h2,
.story-block h2,
.split-copy h2,
.rhythm-intro h2,
.program-card h2 {
  margin-bottom: 1.1rem;
}

.intro-grid p,
.story-block p,
.split-copy p,
.wide-copy,
.wide-copy p,
.program-card p,
.feature-card p,
.rhythm-intro p {
  color: var(--muted);
}

.quiet-panel,
.program-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: none;
}

.quiet-panel {
  border-color: var(--header-line);
  background: var(--panel-yellow);
}

.quiet-panel,
.program-card {
  padding: 1.9rem;
}

.quiet-panel h3 {
  margin-bottom: 0.9rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(205, 168, 96, 0.14);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  display: block;
  min-height: 250px;
  padding: 1.7rem;
  text-decoration: none;
}

.feature-card h3 {
  margin: 1.1rem 0 0.75rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.97rem;
}

.feature-icon {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
}

.sun-icon {
  border-radius: 50%;
  background: var(--butter);
  box-shadow: inset 0 0 0 11px var(--sun);
}

.sun-icon::after {
  content: "";
  position: absolute;
  inset: 19px;
  border-radius: 50%;
  background: #8b6041;
}

.leaf-icon {
  border-radius: 50% 0 50% 0;
  background: var(--leaf-muted);
  transform: rotate(-18deg);
}

.garden-icon::before,
.garden-icon::after {
  content: "";
  position: absolute;
  bottom: 3px;
  width: 18px;
  height: 42px;
  border-radius: 50% 50% 0 0;
  background: var(--rose);
}

.garden-icon::before {
  left: 8px;
  transform: rotate(-18deg);
}

.garden-icon::after {
  right: 8px;
  background: var(--butter);
  transform: rotate(16deg);
}

.circle-icon {
  border: 4px solid var(--peach);
  border-radius: 50%;
}

.circle-icon::before,
.circle-icon::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
}

.circle-icon::before {
  left: 3px;
  top: 7px;
}

.circle-icon::after {
  right: 5px;
  bottom: 8px;
  background: var(--sun);
}

.story-block {
  padding-block: 0.5rem;
}

.founder-head {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 1.4rem;
}

.founder-head .section-label {
  margin-bottom: 0.35rem;
}

.founder-head h2 {
  margin-bottom: 0;
}

.founder-portrait {
  flex: none;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px var(--panel-yellow), 0 10px 22px rgba(101, 65, 38, 0.16);
}

/* Inside a yellow panel the ring would vanish, so ring in white instead. */
.legacy-band .founder-portrait {
  box-shadow: 0 0 0 6px #ffffff, 0 10px 22px rgba(101, 65, 38, 0.16);
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.25rem;
  margin-top: 3.25rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin: 0;
}

.team-portrait {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #ffffff, 0 10px 22px rgba(101, 65, 38, 0.16);
}

.team-member figcaption h2 {
  margin: 0;
}

.facility-band {
  padding-top: 1.5rem;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.facility-tile {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.facility-tile:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 2 / 1;
}

.facility-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cta-label {
  margin: 2rem 0 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--olive-dark);
}

.contact-cta {
  margin: 0;
}

.email-button {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  background: var(--olive-dark);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background 160ms ease, transform 160ms ease;
}

.email-button:hover,
.email-button:focus-visible {
  background: var(--olive);
  transform: translateY(-1px);
}

.care-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.care-list article {
  min-height: 245px;
  padding: 1.8rem;
  background: var(--paper);
}

.care-list h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

.care-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.58;
}

.pillar-stack {
  display: grid;
  gap: 1.15rem;
}

.pillar-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(78, 62, 38, 0.06);
}

.pillar-row.is-flipped {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
}

.pillar-row.is-flipped .pillar-art {
  order: 2;
}

.pillar-art {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 1.5rem;
}

.pillar-art img {
  width: min(210px, 70%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pillar-copy {
  display: grid;
  align-content: center;
  padding: 2.15rem;
}

.pillar-copy h3 {
  max-width: 620px;
  margin-bottom: 0.85rem;
  font-size: 1.65rem;
}

.pillar-copy p {
  max-width: 680px;
  color: var(--muted);
}

.pillar-copy a {
  justify-self: start;
  min-height: 36px;
  color: var(--olive-dark);
  font-weight: 700;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.story-accent {
  padding: 1.8rem;
  border-left: 4px solid var(--sun);
  border-radius: 0 8px 8px 0;
  background: var(--panel-yellow);
}

.legacy-band {
  padding: 2rem;
  border-radius: 8px;
  background: var(--panel-yellow);
}

.wide-copy {
  max-width: 870px;
  font-size: 1.04rem;
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2.75rem 0 2rem;
}

.activity-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-yellow);
  color: var(--olive-dark);
}

.activity-list span::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.photo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-yellow);
  color: var(--muted);
  font-size: 0.95rem;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  transform: scale(1.04);
}

.photo-tile:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  background: rgba(28, 22, 16, 0.9);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(88vw, 1100px);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  transition: background 150ms ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1.25rem;
}

.lightbox-next {
  right: 1.25rem;
}

@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-close {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
}

.rhythm-intro {
  position: sticky;
  top: 104px;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--butter-light);
  color: var(--olive-dark);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  width: 210px;
  color: var(--olive-dark);
  font-weight: 700;
}

.hours-card {
  background: var(--paper);
}

.program-card p a {
  color: var(--olive-dark);
  font-weight: 700;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-title {
  margin-bottom: 0.5rem;
  color: var(--olive-dark);
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.2;
}

.card-subtitle {
  margin: 0 0 1.1rem;
  color: var(--terracotta);
  font-size: 0.92rem;
  font-weight: 600;
}

.hours-line {
  color: var(--olive-dark);
  font-weight: 700;
}

dl {
  display: grid;
  gap: 0.8rem;
  margin: 1.15rem 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--olive-dark);
  font-weight: 700;
  text-align: right;
}

.site-footer {
  padding: 2.25rem 5vw;
  text-align: center;
  background: var(--panel-yellow);
  border-top: 1px solid var(--header-line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-contact {
  color: var(--olive-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-contact a {
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.site-footer p:last-child {
  margin-top: 0.85rem;
}

@media (max-width: 980px) {
  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 1rem 4vw 1.4rem;
    background: var(--header-yellow);
    border-bottom: 1px solid var(--header-line);
    transform: translateY(-135%);
    transition: transform 200ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    box-shadow: 0 18px 28px rgba(70, 62, 55, 0.12);
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--header-line);
  }

  .nav-toggle {
    display: block;
  }

  .intro-grid,
  .story-grid,
  .split-copy,
  .rhythm-wrap,
  .enrollment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .feature-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .care-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-row,
  .pillar-row.is-flipped {
    grid-template-columns: 1fr;
  }

  .pillar-row.is-flipped .pillar-art {
    order: 0;
  }

  .rhythm-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.58rem;
  }

  .site-header {
    padding-inline: 1rem;
  }

  .brand span {
    max-width: 145px;
    line-height: 1.15;
  }

  .home-hero {
    min-height: auto;
    padding: 2rem 1.25rem 2.75rem;
  }

  .page-hero {
    min-height: auto;
    padding: 3.75rem 1.25rem 4.5rem;
  }

  .hero-logo {
    width: 250px;
    height: 250px;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .section {
    padding: 4.75rem 1.25rem;
  }

  .feature-grid,
  .feature-grid.three {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .care-list {
    grid-template-columns: 1fr;
  }

  .care-list article {
    min-height: auto;
  }

  .facility-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .pillar-art {
    min-height: 190px;
  }

  .pillar-copy {
    padding: 1.35rem;
  }

  .pillar-copy h3 {
    font-size: 1.35rem;
  }

  .founder-head {
    gap: 1rem;
  }

  .founder-portrait {
    width: 108px;
    height: 108px;
  }

  .story-accent,
  .legacy-band,
  .program-card,
  .quiet-panel {
    padding: 1.25rem;
  }

  .activity-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-inline: 1.25rem;
  }

  dl div {
    display: grid;
  }

  dd {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
