/* ============ TOKENS — derived from PPP logo ============ */
:root {
  --blue:        #1d5a8c;   /* primary — the ocean blue of the logo ring */
  --blue-deep:   #154775;
  --blue-soft:   #4a82b0;
  --blue-pale:   #d9e7f2;

  --orange:      #ea7f2d;   /* warm accent — the banner orange */
  --orange-deep: #d46a18;
  --orange-soft: #f5a565;

  --green:       #5fb142;   /* nature accent — grass + middle P */
  --green-deep:  #4a9032;
  --green-forest: #2f6b22;  /* dark pine — schedule + trees */
  --bark:        #6f4e2e;   /* tree bark — schedule accent */
  --bark-soft:   #8a6a44;

  --yellow:      #f4be3f;   /* sun highlight — used sparingly */

  --cream:       #fefaf0;   /* warm white background */
  --cream-warm:  #f9eed5;   /* cream accent */
  --rule:        #ebe2cc;   /* soft dividers */

  --white:       #ffffff;
  --ink:         #1a1a1a;
  --ink-soft:    #4a4a4a;
  --ink-muted:   #7a7a7a;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Archivo', system-ui, sans-serif;
  --font-narrow:  'Archivo Narrow', 'Archivo', sans-serif;

  --max:    1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ============ TYPOGRAPHY ============ */
.kicker {
  font-family: var(--font-narrow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker--orange { color: var(--orange-deep); }
.kicker--light  { color: var(--orange-soft); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--blue);
}
h1 { font-size: clamp(44px, 6.5vw, 84px); font-weight: 500; line-height: 1.0; }
h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 500; }
h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; }
h4 { font-size: 22px; font-weight: 600; }

.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============ LAYOUT ============ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  min-height: 56px;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover { background: var(--blue-deep); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--orange {
  background: var(--orange);
  color: var(--white);
}
.btn--orange:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand__logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--font-narrow);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: 4px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--blue-deep); }
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--blue);
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--blue);
}
.nav__toggle span::before { top: -8px; }
.nav__toggle span::after  { top: 8px; }

/* ============ HERO ============ */
.hero {
  background:
    /* Sky scene — clouds at three depths + birds + faint horizon line */
    url("/assets/img/sky.svg") top center / 100% 100% no-repeat,
    /* Top blue sky glow */
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(74,130,176,0.26) 0%, transparent 55%),
    /* Faint warm sun-hint in upper-right corner */
    radial-gradient(ellipse 55% 35% at 95% 8%, rgba(244,190,63,0.10) 0%, transparent 55%),
    /* Warm sunrise glow at the bottom */
    radial-gradient(ellipse 90% 35% at 50% 100%, rgba(234,127,45,0.23) 0%, rgba(234,127,45,0.08) 35%, transparent 65%),
    /* Base gradient: sky blue at top fading to warm cream at bottom */
    linear-gradient(180deg, #b4d1e9 0%, #cbe0f0 30%, #ecf2f7 55%, #f8e7c2 80%, #fcdcae 100%);
  padding-top: clamp(56px, 7vw, 100px);
  padding-bottom: clamp(72px, 9vw, 130px);
  overflow: hidden;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.85fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__text { max-width: 580px; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero__kicker::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--blue);
}
.hero h1 { margin-bottom: 28px; }
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange-deep);
}
.hero__lede { margin-bottom: 40px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--blue);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(29, 90, 140, 0.4);
}
.hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 18px -8px rgba(29, 90, 140, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.hero__photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -8px rgba(29, 90, 140, 0.42);
}
.hero__photo:hover img {
  transform: scale(1.06);
}

/* ============ TICKER STRIP ============ */
.strip {
  background:
    radial-gradient(circle at 1px 1px, rgba(244,190,63,0.06) 1px, transparent 0),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  background-size: 24px 24px, auto;
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  flex-wrap: wrap;
  padding: 0 var(--gutter);
  font-family: var(--font-narrow);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.strip__dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============ SECTION HEADERS ============ */
.section-header { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-header .kicker { margin-bottom: 20px; display: inline-flex; align-items: center; gap: 12px; }
.section-header .kicker::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
}
.section-header h2 { margin-bottom: 24px; }
.section-header p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 640px;
}

/* ============ PROGRAMS ============ */
.programs {
  background:
    radial-gradient(circle at 1px 1px, rgba(29,90,140,0.04) 1px, transparent 0),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(234,127,45,0.08) 0%, transparent 55%),
    var(--cream);
  background-size: 32px 32px, auto, auto;
  position: relative;
  overflow: hidden;
}
.programs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.program {
  background: var(--white);
  padding: 44px 36px 40px;
  transition: background 0.3s ease;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.program:hover { background: var(--cream); }
.program__num {
  font-family: var(--font-narrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange-deep);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.program h3 { margin-bottom: 16px; }
.program__link {
  color: inherit;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  transition: color 0.2s ease;
}
.program__link:hover { color: var(--orange-deep); }
.program p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: auto;
}
.program__tag {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--orange);
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease;
}
a.program__tag:hover { color: var(--orange-deep); border-bottom-color: var(--orange-deep); }

/* ============ SCHEDULE ============ */
.schedule {
  background:
    url("/assets/img/schedule-trees.svg") center / 100% 100% no-repeat,
    radial-gradient(ellipse 60% 50% at 95% 8%, rgba(47,107,34,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 90%, rgba(111,78,46,0.07) 0%, transparent 55%),
    var(--cream);
  position: relative;
  overflow: hidden;
}
.schedule__masthead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 3px solid var(--green-forest);
  padding-bottom: 24px;
  margin-bottom: 8px;
}
.schedule__masthead-left .kicker { margin-bottom: 12px; }
.schedule__masthead h2 { margin: 0; color: var(--green-forest); }
.schedule__cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.day-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.day-card:hover {
  border-color: var(--green-forest);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(29, 90, 140, 0.18);
}
.day-card__head {
  padding: 20px 15px 16px;
  background: #dce8c6;
  border-bottom: 2px solid var(--bark);
}
.day-card__day {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 1.8vw, 28px);
  color: var(--green-forest);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.day-card__count {
  font-family: var(--font-narrow);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark);
  font-weight: 600;
}
.day-card__list {
  padding: 18px 15px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}
.day-card__item { line-height: 1.4; }
.day-card__time {
  font-family: var(--font-narrow);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--green-forest);
  display: block;
  white-space: nowrap;
  margin-bottom: 4px;
}
.day-card__class {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.3;
  display: block;
}
.day-card__class em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--blue-soft);
  font-size: 15px;
  display: block;
  margin-top: 2px;
}

/* ============ ABOUT / MISSION ============ */
.about {
  background:
    radial-gradient(circle at 1px 1px, rgba(29,90,140,0.04) 1px, transparent 0),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(234,127,45,0.08) 0%, transparent 55%),
    var(--cream);
  background-size: 32px 32px, auto, auto;
  position: relative;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about__image {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, rgba(29,90,140,0.85) 0%, rgba(29,90,140,0.5) 60%, rgba(234,127,45,0.55) 100%),
    repeating-linear-gradient(35deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px);
  background-color: var(--blue);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(29, 90, 140, 0.35);
}
.about__image-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.about__image-label span {
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}
.about__text .kicker { margin-bottom: 20px; display: inline-flex; align-items: center; gap: 12px; }
.about__text .kicker::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
}
.about__text h2 { margin-bottom: 32px; max-width: 520px; }
.about__text p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 560px;
}
.about__text p strong { color: var(--ink); font-weight: 600; }
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
}
.about__value h4 {
  font-family: var(--font-narrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 10px;
}
.about__value:nth-child(2) h4 { color: var(--blue); }
.about__value:nth-child(3) h4 { color: var(--green-deep); }
.about__value:nth-child(4) h4 { color: var(--orange-deep); }
.about__value p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ============ PRICING ============ */
.pricing {
  background:
    radial-gradient(circle at 1px 1px, rgba(29,90,140,0.04) 1px, transparent 0),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(234,127,45,0.08) 0%, transparent 55%),
    var(--cream);
  background-size: 32px 32px, auto, auto;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: -10%; left: -8%;
  width: 600px; height: 600px;
  background:
    radial-gradient(circle at 50% 50%, rgba(244,190,63,0.14) 0%, transparent 60%),
    radial-gradient(circle at 30% 70%, rgba(95,177,66,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.pricing__inner { position: relative; z-index: 1; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(32px, 3.5vw, 44px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(29, 90, 140, 0.2);
}
.price-card--featured {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
  box-shadow: 0 24px 50px -20px rgba(29, 90, 140, 0.35);
}
.price-card--featured:hover {
  border-color: var(--orange);
  background: var(--blue);
}
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  white-space: nowrap;
}
.price-card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  min-height: 2.3em;
  color: var(--blue);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.price-card--featured .price-card__name { color: var(--cream); }
.price-card__kicker {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 24px;
}
.price-card--featured .price-card__kicker { color: var(--orange-soft); }
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.price-card__currency {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--blue);
  line-height: 1;
}
.price-card--featured .price-card__currency { color: var(--cream); }
.price-card__price {
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 72px);
  font-weight: 600;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.price-card--featured .price-card__price { color: var(--cream); }
.price-card__period {
  font-family: var(--font-narrow);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.price-card--featured .price-card__period { color: rgba(254,250,240,0.7); }
.price-card__divider {
  border: none;
  height: 1px;
  background: var(--rule);
  margin-bottom: 24px;
}
.price-card--featured .price-card__divider { background: rgba(244,190,63,0.25); }
.price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.price-card__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}
.price-card--featured .price-card__list li { color: var(--cream); }
.price-card__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--orange);
}
.price-card--featured .price-card__check { color: var(--orange-soft); }
.price-card__cta {
  width: 100%;
  justify-content: center;
}
.price-card--featured .price-card__cta {
  background: var(--orange);
  color: var(--white);
}
.price-card--featured .price-card__cta:hover { background: var(--orange-deep); }

.pricing__note {
  margin-top: clamp(36px, 4vw, 56px);
  text-align: center;
  font-family: var(--font-narrow);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============ RESEARCH ============ */
.research {
  background:
    radial-gradient(circle at 1px 1px, rgba(29,90,140,0.04) 1px, transparent 0),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(234,127,45,0.08) 0%, transparent 55%),
    var(--cream);
  background-size: 32px 32px, auto, auto;
  position: relative;
  overflow: hidden;
}
.research::before {
  content: '';
  position: absolute;
  top: 10%; right: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(95,177,66,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.research::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -8%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(234,127,45,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.research__inner { position: relative; z-index: 1; }

.research__lead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 48px) clamp(32px, 4vw, 56px);
  background: var(--cream);
  border-left: 4px solid var(--orange);
  margin-bottom: clamp(56px, 7vw, 88px);
  border-radius: 0 4px 4px 0;
}
.research__lead-stat {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 600;
  line-height: 0.95;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.research__lead-stat-unit {
  display: block;
  font-family: var(--font-narrow);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-top: 8px;
}
.research__lead-text p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 400;
}
.research__lead-source {
  font-family: var(--font-narrow);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.research__lead-source a { color: var(--blue); border-bottom: 1px solid var(--orange); }
.research__lead-source a:hover { color: var(--orange-deep); }

.research__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.finding {
  background: var(--white);
  border: 1.5px solid var(--blue-deep);
  padding: 36px clamp(24px, 3vw, 36px);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.finding:hover { border-color: var(--orange); transform: translateY(-2px); }
.finding__topline {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}
.finding__stat {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.finding:nth-child(1) .finding__stat { color: var(--orange-deep); }
.finding:nth-child(2) .finding__stat { color: var(--blue); }
.finding:nth-child(3) .finding__stat { color: var(--green-deep); }
.finding:nth-child(4) .finding__stat { color: var(--orange-deep); }
.finding__label {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.finding h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--blue);
}
.finding p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.finding__source {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.finding__source a {
  color: var(--blue);
  border-bottom: 1px solid var(--orange);
  transition: color 0.2s ease;
}
.finding__source a:hover { color: var(--orange-deep); }

.research__close {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--rule);
}
.research__close p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.research__sources-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.research__sources-list a { color: var(--blue); border-bottom: 1px solid var(--orange); }
.research__sources-list a:hover { color: var(--orange-deep); }
.research__close-attr {
  font-family: var(--font-narrow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.research__close-attr a {
  color: var(--blue);
  border-bottom: 1px solid var(--orange);
  transition: color 0.2s ease;
}
.research__close-attr a:hover { color: var(--orange-deep); }

/* ============ TESTIMONIALS ============ */
.testimonials {
  background:
    /* Soft topographic dot pattern */
    radial-gradient(circle at 1px 1px, rgba(29, 90, 140, 0.05) 1px, transparent 0),
    /* Warm ambient glow upper left */
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(234,127,45,0.07) 0%, transparent 55%),
    /* Cool soft ambient lower right */
    radial-gradient(ellipse 55% 45% at 85% 80%, rgba(95,177,66,0.06) 0%, transparent 55%),
    var(--cream);
  background-size: 32px 32px, auto, auto, auto;
  position: relative;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 72px);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial {
  background: var(--white);
  padding: 44px 36px;
  border-radius: 4px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.5;
  color: var(--orange);
  margin-bottom: 8px;
  height: 30px;
  font-weight: 500;
}
.testimonial:nth-child(2) .testimonial__quote-mark { color: var(--blue-soft); }
.testimonial p {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 28px;
  flex-grow: 1;
  letter-spacing: -0.005em;
}
.testimonial__attr {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.testimonial__name {
  font-weight: 600;
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 4px;
}
.testimonial__role {
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============ CONTACT ============ */
.contact {
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(234,127,45,0.05) 0%, transparent 55%),
    radial-gradient(ellipse 80% 35% at 50% 100%, rgba(74,130,176,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 25% at 50% 100%, rgba(74,130,176,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 20% 90%, rgba(74,130,176,0.06) 0%, transparent 55%),
    var(--white);
  text-align: center;
  position: relative;
  padding-bottom: clamp(140px, 16vw, 220px);
  overflow: hidden;
}
.contact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: clamp(60px, 7vw, 90px);
  background: url("/assets/img/wave.svg") no-repeat center / 100% 100%;
  pointer-events: none;
}
.contact__intro {
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}
.contact__intro .kicker {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.contact__intro .kicker::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--orange);
}
.contact__intro h2 { margin-bottom: 24px; }
.contact__intro p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}
.contact__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}
.contact__detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px 20px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact__detail:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.contact__detail-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--orange-soft);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-soft);
  border-radius: 2px;
  opacity: 0.85;
}
.contact__detail-label {
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.contact__detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  word-break: break-word;
}
.contact__detail-value a { transition: color 0.2s ease; }
.contact__detail-value a:hover { color: var(--orange-deep); }

/* ============ FOOTER ============ */
.footer {
  background:
    /* Light blue hue at top — connects to the wave above */
    radial-gradient(ellipse 110% 35% at 50% 0%, rgba(74,130,176,0.50) 0%, rgba(74,130,176,0.20) 30%, transparent 65%),
    /* Starry dots upper area */
    radial-gradient(circle at 1px 1px, rgba(244,190,63,0.08) 1px, transparent 0),
    /* Slight color depth variation */
    linear-gradient(170deg, var(--blue) 0%, var(--blue-deep) 100%);
  background-size: auto, 38px 38px, auto;
  color: var(--cream);
  padding: clamp(60px, 7vw, 100px) 0 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -15%; right: -10%;
  width: 820px; height: 820px;
  background:
    radial-gradient(circle at 50% 50%, rgba(74,130,176,0.20) 0%, transparent 55%),
    radial-gradient(circle at 30% 30%, rgba(244,190,63,0.08) 0%, transparent 45%);
  pointer-events: none;
  animation: footer-glow 30s ease-in-out infinite;
  will-change: transform;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 700px; height: 700px;
  background:
    radial-gradient(circle at 50% 50%, rgba(234,127,45,0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(95,177,66,0.05) 0%, transparent 50%);
  pointer-events: none;
}
@keyframes footer-glow {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50%      { transform: scale(1.08) translate(-25px, 15px); }
}
@media (prefers-reduced-motion: reduce) {
  .footer::before { animation: none; }
}
.footer__top {
  position: relative;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(244,190,63,0.2);
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.footer__logo {
  width: clamp(180px, 22vw, 240px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}
.footer__title-block {
  flex: 1;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer__wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--orange-soft);
}
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 24px);
  color: rgba(254,250,240,0.85);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.4;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}
.footer__col h4 {
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 20px;
}
.footer__col p,
.footer__col li {
  font-size: 15px;
  color: rgba(254,250,240,0.75);
  line-height: 1.7;
}
.footer__col ul { list-style: none; }
.footer__col a { color: rgba(254,250,240,0.75); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--orange-soft); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(254,250,240,0.5);
  position: relative;
  z-index: 1;
}
.footer__bottom__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__bottom__brand strong {
  color: var(--orange-soft);
  font-weight: 600;
}
.footer__bottom a:hover { color: var(--orange-soft); }

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE — 980px ============ */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .brand__logo { width: 56px; height: 56px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 9px; }

  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    padding: 24px var(--gutter) 32px;
    gap: 18px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 28px -16px rgba(29,90,140,0.2);
  }
  .nav__links.is-open a { font-size: 18px; }
  .nav__links.is-open .nav__cta-mobile {
    display: inline-block;
    margin-top: 8px;
    background: var(--blue);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 2px;
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 100%; }

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

  .about__grid { grid-template-columns: 1fr; }
  .about__image { max-width: 480px; aspect-ratio: 16/10; }

  .testimonials__grid { grid-template-columns: 1fr; gap: 24px; }

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

  .footer__top { grid-template-columns: 1fr; text-align: center; }
  .footer__logo { margin: 0 auto; }
  .footer__tagline { margin: 0 auto; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }

  .schedule__masthead { flex-direction: column; align-items: flex-start; gap: 20px; }
  .schedule__cards { grid-template-columns: repeat(3, 1fr); }

  .pricing__grid { grid-template-columns: 1fr; gap: 32px; max-width: 520px; margin: 0 auto; }

  .research__lead { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .research__grid { grid-template-columns: 1fr; }
}

/* ============ RESPONSIVE — 540px ============ */
@media (max-width: 540px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }

  .brand__sub { display: none; }
  .brand__logo { width: 48px; height: 48px; }
  .brand__name { font-size: 16px; max-width: 180px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .programs__grid { grid-template-columns: 1fr; }
  .program { min-height: 0; padding: 36px 28px; }

  .schedule__cards {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .day-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
  }
  .day-card__day {
    font-size: 20px;
    margin-bottom: 0;
  }
  .day-card__count {
    font-size: 10px;
  }
  .day-card__list {
    padding: 12px 18px 14px;
    gap: 6px;
  }
  .day-card__item {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    align-items: baseline;
    line-height: 1.3;
  }
  .day-card__time {
    margin-bottom: 0;
    font-size: 12px;
  }
  .day-card__class {
    font-size: 15px;
  }

  .about__values { grid-template-columns: 1fr; gap: 24px; }

  .testimonial { padding: 36px 28px; }
  .testimonial p { font-size: 19px; }

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

  .footer__cols { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---- About portrait + desktop feature-image sizing (edit) ---- */
.about__image--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.about__image-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 16px 20px;
  font-family: var(--font-narrow);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(29,90,140,0.92) 0%, rgba(29,90,140,0) 100%);
}
@media (min-width: 981px) {
  .feature-image {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .feature-image--smile { max-width: 64%; }
}

/* ---- side-by-side feature pair (edit) ---- */
.feature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  margin: 0 auto;
}
.feature-pair .feature-image {
  max-width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 18px 44px -22px rgba(29, 90, 140, 0.4);
}
.feature-pair .feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 540px) {
  .feature-pair { grid-template-columns: 1fr; }
}
.feature-pair .feature-image--stretch img { object-position: left center; }
/* ---- schedule tree theme + programs orange (edit) ---- */
.schedule .kicker { color: var(--green-forest); }
.programs .section-header .kicker { color: var(--orange-deep); }
.programs h2 em { font-style: italic; font-weight: 400; color: var(--orange-deep); }
.program { border-top: 3px solid var(--orange); }

/* =====================================================================
   ADDITIONS FOR THE MULTI-PAGE SITE (2026-11)
   ===================================================================== */

/* ---- skip link for keyboard users ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: var(--white);
  padding: 12px 18px; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- current page in the menu ---- */
.nav__links a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- inner page heading band ---- */
.page-head {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,130,176,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 90% 45% at 50% 100%, rgba(234,127,45,0.14) 0%, transparent 65%),
    linear-gradient(180deg, #cbe0f0 0%, #ecf2f7 60%, #fbf1dd 100%);
  padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 72px);
}
.page-head .kicker { margin-bottom: 16px; }
.page-head h1 { font-size: clamp(40px, 5.5vw, 68px); }
.page-head p.lede { margin-top: 20px; max-width: 720px; }

/* ---- calendar subscribe links ---- */
.subscribe {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 22px;
  font-size: 16px;
}
.subscribe__label {
  font-family: var(--font-narrow);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-forest);
}
.subscribe a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.subscribe a:hover { color: var(--orange-deep); }
.subscribe__note { flex-basis: 100%; font-size: 15px; color: var(--ink-soft); }

/* ---- live calendar: the next seven days ---- */
.upcoming { background: var(--white); }
.upcoming .section-header { margin-bottom: 32px; }
.upcoming .kicker { color: var(--green-forest); }
.upcoming h2 { color: var(--green-forest); }
.upcoming .schedule__cards { grid-template-columns: repeat(7, 1fr); }
.day-card--today { border-color: var(--green-forest); box-shadow: 0 0 0 2px var(--green-forest) inset; }
.day-card__date {
  font-family: var(--font-narrow);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bark);
}
.day-card__item--cancelled .day-card__class { text-decoration: line-through; color: var(--ink-muted); }
.day-card__flag {
  display: inline-block; margin-top: 4px;
  font-family: var(--font-narrow); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px;
}
.day-card__flag--cancelled { background: #f6dddd; color: #8a2a2a; }
.day-card__flag--event { background: #fde6d2; color: #8a4410; }
.day-card__flag--closed { background: #f6dddd; color: #8a2a2a; }
.day-card__empty { font-size: 15px; color: var(--ink-muted); }

.cal-status {
  padding: 20px 24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---- closures and special events ---- */
.events { background: var(--cream); }
.events .kicker { color: var(--orange-deep); }
.events__list { display: grid; gap: 16px; list-style: none; max-width: 900px; }
.event {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--orange);
  border-radius: 4px;
}
.event--closed { border-left-color: #b03a3a; }
.event__date { text-align: center; line-height: 1.05; }
.event__month {
  font-family: var(--font-narrow); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-deep);
}
.event--closed .event__month { color: #8a2a2a; }
.event__day { font-family: var(--font-display); font-size: 40px; font-weight: 500; color: var(--blue); }
.event__weekday { font-family: var(--font-narrow); font-size: 12px; color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.event__title { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--blue); line-height: 1.2; }
.event__when { font-family: var(--font-narrow); font-size: 15px; font-weight: 600; color: var(--ink-soft); margin-top: 4px; }
.event__desc { font-size: 16px; color: var(--ink-soft); margin-top: 8px; line-height: 1.5; white-space: pre-line; }

/* ---- visit us: address and map ---- */
.visit { background: var(--white); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.visit__details { display: grid; gap: 16px; align-content: start; }
.visit__details .contact__detail { text-align: left; }
.visit__map {
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  min-height: 360px;
  background: var(--cream);
}
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.visit__directions { margin-top: 4px; }
.visit__directions a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---- programs preview on the home page ---- */
.programs--teaser .programs__grid { margin-top: 0; }
.programs--teaser .program h3 a:hover { color: var(--orange-deep); }
.section-more { margin-top: 40px; }

/* ---- contact page: map under the cards ---- */
.contact .visit__map { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 1100px; text-align: left; }

@media (max-width: 980px) {
  .upcoming .schedule__cards { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .upcoming .schedule__cards { grid-template-columns: 1fr; }
  .event { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .event__day { font-size: 32px; }
}

/* ---- an h1 that keeps the size of a section heading ---- */
h1.h2-size { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.contact__intro h1 { margin-bottom: 24px; }
.section-header h1 { margin-bottom: 24px; }
.about__text h1 { margin-bottom: 32px; max-width: 520px; }
.programs h1 em { font-style: italic; font-weight: 400; color: var(--orange-deep); }
.schedule__masthead h1 { margin: 0; color: var(--green-forest); }

/* ---- keep the seven-item menu on one line at medium widths ---- */
.nav__cta { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1200px) {
  .nav__inner { gap: 18px; }
  .nav__links { gap: 18px; }
  .nav__links a { font-size: 15px; }
  .nav__cta { padding: 10px 16px; font-size: 14px; }
  .brand { gap: 10px; }
  .brand__logo { width: 52px; height: 52px; }
  .brand__name { font-size: 16px; }
}

/* ---- keep section headings clear of the sticky menu when jumping to them ---- */
section[id] { scroll-margin-top: 96px; }

/* ---- four programs: four across on wide screens, two by two below ---- */
@media (min-width: 1200px) {
  .programs__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 541px) and (max-width: 1199px) {
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 541px) and (max-width: 980px) {
  .programs__grid > .program:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---- two membership plans side by side on the home page ---- */
@media (min-width: 981px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
}

/* ---- nonprofit status line under the footer ---- */
.footer__legal {
  position: relative;
  margin-top: 16px;
  font-size: 14px;
  color: rgba(254, 250, 240, 0.75);
}

/* ---- Donate button in the menu: money green ---- */
.nav__cta--donate,
.nav__links.is-open .nav__cta-mobile.nav__cta--donate {
  display: inline-flex; align-items: center; gap: 8px;
  background: #37802a; color: var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(47, 107, 34, 0.7);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nav__cta--donate::before {
  content: ''; display: inline-block; width: 15px; height: 14px; flex-shrink: 0; vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.6 10.3 20C4.2 14.5 0 10.7 0 6.1 0 2.6 2.7 0 6.1 0c1.9 0 3.8.9 5.9 2.9C14.1.9 16 0 17.9 0 21.3 0 24 2.6 24 6.1c0 4.6-4.2 8.4-10.3 13.9z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21.6 10.3 20C4.2 14.5 0 10.7 0 6.1 0 2.6 2.7 0 6.1 0c1.9 0 3.8.9 5.9 2.9C14.1.9 16 0 17.9 0 21.3 0 24 2.6 24 6.1c0 4.6-4.2 8.4-10.3 13.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav__links.is-open .nav__cta-mobile.nav__cta--donate::before { margin-right: 8px; }
@media (max-width: 980px) { .nav__cta.nav__cta--donate { display: none; } }
.nav__cta.nav__cta--donate { padding: 14px 28px; font-size: 16px; }
@media (min-width: 981px) and (max-width: 1200px) { .nav__cta.nav__cta--donate { padding: 12px 22px; font-size: 15px; } }
.nav__cta--donate:hover { background: var(--green-forest); color: var(--white); box-shadow: 0 8px 20px -8px rgba(47, 107, 34, 0.8); }

/* ---- Home hero: Explore Our Programs in brand orange ---- */
.hero--a .btn--primary { background: #c2600f; color: var(--white); }
.hero--a .btn--primary:hover { background: #a9530d; color: var(--white); }

/* ---- Donate page: text on the left, Zeffy form on the right ---- */
.donate {
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(74,130,176,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #ecf2f7 0%, var(--white) 45%);
  padding-top: clamp(48px, 6vw, 88px);
}
.donate__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.donate__text > p, .donate__ways { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin-top: 16px; }
.donate__title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; color: var(--blue); line-height: 1.2; margin-top: 0; }
.donate__text > p.donate__callout { font-weight: 600; color: var(--green-forest); margin-top: 8px; }
.donate__text > p.donate__how { font-weight: 600; color: var(--ink); margin-top: 20px; }
.donate__ways { padding-left: 1.4em; margin-top: 8px; }
.donate__ways li { margin-top: 8px; }
.donate__ways strong { color: var(--ink); }
.donate__text > p.donate__thanks { font-weight: 600; color: var(--ink); }
.donate__head { margin-bottom: 32px; }
.donate__head .kicker { margin-bottom: 16px; }
.donate__text .lede { margin-top: 20px; }
.donate__note { font-size: 16px; color: var(--ink-soft); margin-top: 24px; }
.donate__form { min-width: 0; position: relative; }
.donate__loading {
  position: absolute; top: 0; left: 0; right: 0; z-index: 0;
  max-width: 600px; margin: 0 auto; padding: 48px 24px;
  text-align: center; font-size: 17px; color: var(--ink-soft);
  background: var(--cream); border: 1px solid var(--rule); border-radius: 16px;
}
/* the message sits behind the Zeffy box, which covers it once the form appears */
.donate__form [data-zeffy-embed] { position: relative; z-index: 1; background: transparent !important; }
.donate__form iframe { width: 100%; border: 0; }
@media (max-width: 980px) {
  .donate__grid { grid-template-columns: 1fr; }
}
.donate__fallback { margin-top: 20px; font-size: 16px; color: var(--ink-soft); }
.donate__fallback a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---- footer: beige instead of dark blue, shorter, smaller logo ---- */
.footer {
  background: #fbf7ee;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  padding: clamp(44px, 5vw, 64px) 0 32px;
}
.footer::before, .footer::after { display: none; }
.footer__top { padding-bottom: 32px; margin-bottom: 32px; border-bottom-color: var(--rule); gap: clamp(20px, 3vw, 36px); }
.footer__logo { width: clamp(110px, 11vw, 140px); filter: none; }
.footer__wordmark { font-size: clamp(28px, 3.4vw, 40px); color: var(--blue); margin-bottom: 8px; }
.footer__wordmark em { color: var(--orange-deep); }
.footer__tagline { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: none; }
.footer__cols { margin-bottom: 36px; }
.footer__col h4 { color: var(--orange-deep); margin-bottom: 14px; }
.footer__col p, .footer__col li, .footer__col a { color: var(--ink-soft); }
.footer__col a:hover, .footer__bottom a:hover { color: var(--blue); }
.footer__bottom { color: var(--ink-soft); }
.footer__bottom__brand strong { color: var(--orange-deep); }
.footer__legal { color: var(--ink-soft); }
/* the blue wave at the end of the Contact page led into the old blue footer */
.contact::after { display: none; }
.contact {
  padding-bottom: clamp(64px, 8vw, 104px);
  background: radial-gradient(ellipse 50% 40% at 80% 0%, rgba(234,127,45,0.05) 0%, transparent 55%), var(--white);
}

/* ---- Privacy Policy and Accessibility Statement ---- */
.legal { background: var(--white); padding-top: clamp(40px, 5vw, 64px); }
.legal__wrap > * { max-width: 780px; }
.legal__updated { font-family: var(--font-narrow); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.legal h2 { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; color: var(--blue); line-height: 1.2; margin-top: 40px; }
.legal p, .legal li { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin-top: 14px; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-top: 10px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---- pause and play button on the Home page video ---- */
.hero__video-toggle {
  position: absolute; right: 12px; bottom: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--white); background: rgba(26, 26, 26, 0.6);
  cursor: pointer; display: grid; place-items: center;
}
.hero__video-toggle:hover { background: rgba(26, 26, 26, 0.8); }
.hero__video-toggle:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.hero__video-icon { width: 14px; height: 16px; border-left: 4px solid var(--white); border-right: 4px solid var(--white); }
.hero__video-toggle.is-paused .hero__video-icon {
  width: 0; height: 0; border-right: 0; margin-left: 4px;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid var(--white);
}

/* ---- Home hero: full-width video behind the headline ---- */
.hero--a {
  background: #12304a;
  padding: clamp(96px, 12vw, 160px) 0;
  min-height: clamp(520px, 80vh, 760px);
  display: flex; align-items: center;
}
.hero--a > .wrap { width: 100%; }
.hero--a .hero__inner { position: static; display: block; }
.hero--a .hero__media { position: absolute; inset: 0; z-index: 0; max-width: none; }
.hero--a .hero__video { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #12304a; }
.hero--a .hero__video::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(12, 32, 52, 0.80) 0%, rgba(12, 32, 52, 0.60) 45%, rgba(12, 32, 52, 0.20) 100%);
}
.hero--a .hero__video-toggle { z-index: 2; right: 24px; bottom: 24px; }
.hero--a .hero__text { position: relative; z-index: 1; max-width: 640px; text-shadow: 0 1px 12px rgba(12, 32, 52, 0.45); }
.hero--a .hero__video video { filter: brightness(1.09); }
.hero--a .btn { text-shadow: none; }
.hero--a .hero__kicker, .hero--a .hero__kicker .kicker { color: var(--cream); }
.hero--a .hero__kicker::before { background: var(--orange-soft); }
.hero--a h1 { color: var(--white); }
.hero--a h1 em { color: var(--orange-soft); }
.hero--a .hero__lede { color: rgba(255, 255, 255, 0.92); }
.hero--a .btn--ghost { color: var(--white); border-color: var(--white); }
.hero--a .btn--ghost:hover { background: var(--white); color: var(--blue); }
@media (max-width: 980px) {
  .hero--a .hero__video::after { background: rgba(12, 32, 52, 0.60); }
}

.hero--a .hero__media.fade-up { opacity: 1; transform: none; }

/* ---- Weekly Schedule: warm neutral background instead of the drawn trees ---- */
.schedule {
  background:
    radial-gradient(ellipse 60% 50% at 95% 0%, rgba(47, 107, 34, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(111, 78, 46, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #f7f1e3 0%, var(--cream) 100%);
}
.schedule { padding: clamp(48px, 6vw, 88px) 0; }

/* ---- tighter spacing for every Home page section below the hero ---- */
main > .hero--a ~ section { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }

/* ---- Weekly Schedule intro line ---- */
.schedule__intro { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }

/* ---- The Next Seven Days: a day-by-day agenda list ---- */
.upcoming .section-header, .upcoming .section-header p { max-width: none; }
.upcoming .section-header p.agenda__range {
  font-family: var(--font-narrow); font-size: 16px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--green-forest); margin-top: 12px;
}
.agenda__list { list-style: none; border-top: 1px solid var(--rule); }
.agenda__day {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px;
  padding: 18px 16px; border-bottom: 1px solid var(--rule);
  border-left: 4px solid transparent; align-items: start;
}
.agenda__day--today { background: #f1f7ee; border-left-color: var(--green-forest); }
.agenda__day--closed { background: #fbefef; border-left-color: #b03a3a; }
.agenda__date { display: flex; flex-direction: column; align-items: center; line-height: 1.05; text-align: center; }
.agenda__weekday {
  font-family: var(--font-narrow); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-forest);
}
.agenda__num { font-family: var(--font-display); font-size: 36px; font-weight: 500; color: var(--blue); }
.agenda__month {
  font-family: var(--font-narrow); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.agenda__items { list-style: none; display: grid; gap: 8px; align-self: center; }
.agenda__item {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  font-size: 17px; color: var(--ink);
}
.agenda__time {
  flex: 0 0 190px;
  font-family: var(--font-narrow); font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.agenda__class { font-weight: 600; }
.agenda__item--cancelled .agenda__class,
.agenda__item--cancelled .agenda__time { text-decoration: line-through; color: var(--ink-muted); }
.agenda__item--closed .agenda__class { color: #8a2a2a; }
.agenda__item--none { color: var(--ink-soft); font-style: italic; }
@media (max-width: 540px) {
  .agenda__day { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 10px; }
  .agenda__num { font-size: 30px; }
  .agenda__time { flex-basis: 100%; }
}

/* ---- The Next Seven Days, compact: one short line per day ---- */
.agenda__day { grid-template-columns: 150px 1fr; gap: 20px; padding: 10px 14px; align-items: center; }
.agenda__date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px; text-align: left; }
.agenda__weekday { font-size: 14px; min-width: 3.4em; }
.agenda__month { order: 2; font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--blue); }
.agenda__num { order: 3; font-family: var(--font-narrow); font-size: 16px; font-weight: 600; color: var(--blue); }
.agenda__items { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.agenda__item { gap: 10px; font-size: 16px; }
.agenda__time { flex: 0 0 auto; font-size: 14px; }
@media (max-width: 540px) {
  .agenda__day { grid-template-columns: 1fr; gap: 4px; padding: 10px 12px; }
  .agenda__items { flex-direction: column; gap: 2px; }
  .agenda__time { flex-basis: auto; }
}
@media (min-width: 541px) {
  .agenda__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; }
  .agenda__time { display: inline-block; min-width: 9.5em; }
}

/* ---- Visit Us: map with Get Directions under it ---- */
.visit__mapcol { display: flex; flex-direction: column; gap: 12px; }
.visit__mapcol .visit__map { flex: 1; }

/* ---- Instagram link in the footer, and four boxes on the Contact page ---- */
.footer__social { margin-top: 12px; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
@media (min-width: 541px) { .contact .contact__details { grid-template-columns: repeat(2, 1fr); } }

/* ---- Closures and Special Events: colored date tiles, two across ---- */
.events__list { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.event, .event--closed {
  grid-template-columns: 104px 1fr; gap: 0; padding: 0;
  border: 1px solid var(--rule); border-left: 1px solid var(--rule);
  border-radius: 8px; overflow: hidden; background: var(--white);
  box-shadow: 0 10px 24px -18px rgba(18, 48, 74, 0.35);
}
.event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 10px; background: var(--blue); color: var(--white);
}
.event .event__month, .event .event__weekday { color: var(--white); }
.event .event__day { color: var(--white); font-size: 44px; }
.event--closed .event__date { background: var(--yellow); }
.event--closed .event__date, .event--closed .event__month, .event--closed .event__day, .event--closed .event__weekday { color: var(--ink); }
.event > div:last-child { padding: 18px 22px; }
.event__when { color: var(--ink-soft); }
@media (max-width: 820px) { .events__list { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .event, .event--closed { grid-template-columns: 76px 1fr; } .event > div:last-child { padding: 14px 16px; } .event .event__day { font-size: 34px; } }

/* ---- closures in orange instead of red in The Next Seven Days ---- */
.agenda__day--closed { background: #fff1e3; border-left-color: var(--orange); }
.agenda__item--closed .agenda__class { color: #8a4410; }
.day-card__flag--closed { background: #fde6d2; color: #8a4410; }
.day-card__flag--event { background: var(--blue-pale); color: var(--blue-deep); }

/* ---- closure notice under the hero ---- */
.closure-notice { background: var(--yellow); color: var(--ink); padding: 14px 0; font-size: 17px; }
.closure-notice[hidden] { display: none; }
.closure-notice p { margin: 0; text-align: center; }
.closure-notice a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.closure-notice p + p { margin-top: 4px; }
.closure-notice__more { font-size: 15px; }

/* ---- "Coming Up" card floating on the hero video ---- */
.hero-event {
  position: absolute; z-index: 2;
  right: var(--gutter); bottom: 88px;
  width: min(420px, 44vw);
  display: grid; grid-template-columns: 64px 1fr;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(12, 32, 52, 0.55);
  text-shadow: none;
}
.hero-event[hidden] { display: none; }
.hero-event__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white); line-height: 1.05; padding: 10px 4px;
}
.hero-event__month { font-family: var(--font-narrow); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-event__day { font-family: var(--font-display); font-size: 30px; font-weight: 500; }
.hero-event__body { padding: 12px 16px; }
.hero-event__label { font-family: var(--font-narrow); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin: 0; }
.hero-event__title { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.2; margin: 2px 0 0; }
.hero-event__when { font-size: 14px; color: var(--ink-soft); margin: 2px 0 0; }
.hero-event__link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  .hero--a { flex-direction: column; justify-content: center; align-items: stretch; }
  .hero-event { position: relative; right: auto; bottom: auto; width: auto; margin: 28px var(--gutter) 0; max-width: 420px; }
}

/* ---- special event date tiles: light blue with dark blue text ---- */
.event:not(.event--closed) .event__date,
.hero-event__date { background: #cfe2f2; }
.event:not(.event--closed) .event__date,
.event:not(.event--closed) .event__month,
.event:not(.event--closed) .event__day,
.event:not(.event--closed) .event__weekday,
.hero-event__date { color: var(--blue-deep); }

/* ---- Home page: a color rhythm down the page ---- */
main > .hero--a ~ .events { background: #eef4fa; }
main > .hero--a ~ .programs { background: #f1f5ec; }
main > .hero--a ~ .testimonials {
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(234, 127, 45, 0.08) 0%, transparent 55%),
    #fcf0e4;
}
/* Membership: the one dark band */
main > .hero--a ~ .pricing { background: #12304a; }
main > .hero--a ~ .pricing::before { opacity: 0.5; }
main > .hero--a ~ .pricing .section-header h2 { color: var(--white); }
main > .hero--a ~ .pricing .section-header .kicker { color: var(--orange-soft); }
main > .hero--a ~ .pricing .section-header .kicker::before { background: var(--orange-soft); }
main > .hero--a ~ .pricing .section-header p { color: rgba(255, 255, 255, 0.85); }
main > .hero--a ~ .pricing .price-card { border-color: transparent; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.5); }
main > .hero--a ~ .pricing .price-card--featured { border: 2px solid var(--orange-soft); }

/* ---- Stories: quote cards ---- */
.testimonials__grid { margin-top: clamp(40px, 5vw, 56px); }
.testimonial {
  border: none;
  border-top: 4px solid var(--orange);
  border-radius: 6px;
  padding: 52px 36px 32px;
  box-shadow: 0 18px 40px -26px rgba(26, 26, 26, 0.35);
  margin-top: 26px;
}
.testimonial:nth-child(2) { border-top-color: var(--green); }
.testimonial__quote-mark {
  position: absolute;
  top: -26px;
  left: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 56px;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  margin: 0;
  box-sizing: border-box;
}
.testimonial:nth-child(2) .testimonial__quote-mark { background: var(--green-forest); color: var(--white); }
.testimonial p { margin-bottom: 24px; }
.testimonial__attr { border-top: none; padding-top: 0; }
.testimonial__name::before { content: "– "; color: var(--orange); }
.testimonial:nth-child(2) .testimonial__name::before { color: var(--green-forest); }

/* ---- Memberships: a shorter band ---- */
main > .hero--a ~ .pricing .pricing__grid { margin-top: clamp(28px, 3.5vw, 40px); }
main > .hero--a ~ .pricing .price-card { padding: clamp(24px, 2.6vw, 32px) clamp(24px, 3vw, 32px); }
main > .hero--a ~ .pricing .price-card__name { min-height: 0; margin-bottom: 12px; }
main > .hero--a ~ .pricing .price-card__amount { margin-bottom: 2px; }
main > .hero--a ~ .pricing .price-card__period { margin-bottom: 16px; }
main > .hero--a ~ .pricing .price-card__divider { margin-bottom: 16px; }
main > .hero--a ~ .pricing .price-card__list { gap: 8px; margin-bottom: 22px; }
main > .hero--a ~ .pricing .section-header { margin-bottom: 0; }
.testimonial--wide { grid-column: 1 / -1; }
.testimonial:nth-child(3) { border-top-color: var(--blue); }
.testimonial:nth-child(3) .testimonial__quote-mark { background: var(--blue); color: var(--white); }
.testimonial:nth-child(3) .testimonial__name::before { color: var(--blue); }
.testimonial__date {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-narrow);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #767676;
}

/* ---- menu grouped with the Donate button, away from the logo ---- */
@media (min-width: 981px) {
  .nav__links { margin-left: auto; }
  .nav__inner > .nav__cta--donate { margin-left: -4px; }
}

/* ---- header: the same warm beige as the footer ---- */
.nav { background: rgba(251, 247, 238, 0.96); }
@media (max-width: 980px) {
  .nav__links.is-open { background: #fbf7ee; }
}

/* ---- footer orange text: darker for readable contrast ---- */
.footer .footer__wordmark em,
.footer .footer__col h4,
.footer .footer__bottom__brand strong { color: #a9530d; }

/* ---- Programs page: no photos, tighter, headings full width ---- */
.programs .section-header,
.programs .section-header h1,
.programs .section-header h2,
.programs .section-header p { max-width: none; }
main > .programs:first-child { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
main > .programs:first-child .section-header { margin-bottom: clamp(28px, 3.5vw, 40px); }
main > .programs:first-child .program { padding: 32px 28px 30px; }
.program:hover { background: var(--white); }
main > .programs:first-child { background: #eef4fa; }
span.program__tag { border-bottom: none; padding-bottom: 0; }

/* ---- Programs page: compact cards, two per row, small square photo beside the text ---- */
.program-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.program-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px;
  background: var(--white);
  box-shadow: 0 18px 40px -28px rgba(26, 26, 26, 0.35);
}
.program-row__media { width: 112px; height: 112px; border-radius: 10px; overflow: hidden; position: relative; }
.program-row__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.program-row__media--panel { display: flex; align-items: center; justify-content: center; }
.program-row__media--panel { background: #e3efdc; }
.program-row__media--panel img { width: 72px; height: 72px; object-fit: contain; }
.program-row__body { display: flex; flex-direction: column; }
.program-row__title { font-size: clamp(20px, 1.8vw, 24px); margin-bottom: 8px; }
.program-row__body > p:not(.program-row__meta) { color: var(--ink-soft); font-size: 16px; line-height: 1.55; margin-bottom: 12px; }
.program-row__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0; }
.program-row__len {
  font-family: var(--font-narrow); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue);
}
.program-row__sched { color: var(--blue); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.program-row__sched:hover { color: var(--orange-deep); }
@media (max-width: 900px) { .program-rows { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .program-row { grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; }
  .program-row__media { width: 72px; height: 72px; }
  .program-row__media--panel img { width: 48px; height: 48px; }
}

/* ---- About page: section colors set apart from the beige header and footer ---- */
main > .about:first-child { background: #eef4fa; }
main > .about:first-child ~ .testimonials {
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(234, 127, 45, 0.08) 0%, transparent 55%),
    #fcf0e4;
}

/* ---- Research page: heading and text run the full width ---- */
.research .section-header,
.research .section-header p,
.research .research__close { max-width: none; }

/* ---- screen-reader-only text ---- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Resources page: Helpful Organizations ---- */
.resources-orgs { background: #eef4fa; padding: clamp(48px, 6vw, 88px) 0; }
.resources-orgs .section-header,
.resources-orgs .section-header p { max-width: none; }
.resources-orgs .section-header { margin-bottom: clamp(28px, 3.5vw, 40px); }
.org-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 761px) { .org-list { grid-template-columns: repeat(2, 1fr); } }
.org {
  background: var(--white);
  border-top: 4px solid var(--blue);
  border-radius: 6px;
  padding: 26px 28px;
  box-shadow: 0 18px 40px -30px rgba(26, 26, 26, 0.35);
}
.org:nth-child(3n+2) { border-top-color: var(--orange); }
.org:nth-child(3n+3) { border-top-color: var(--green); }
.org__name { font-size: clamp(22px, 2vw, 26px); margin-bottom: 8px; }
.org__name a { color: var(--blue); text-decoration: none; }
.org__name a::after { content: " \2197"; font-size: 0.7em; color: var(--orange-deep); }
.org__name a:hover { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.org p { color: var(--ink-soft); font-size: 17px; line-height: 1.6; margin: 0; }
.org p a { color: var(--blue); font-weight: 600; white-space: nowrap; }

/* ---- About: second photo (logo on the gym wall) under Freddy's portrait ---- */
.about__media { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 981px) { .about__image--wall { aspect-ratio: 4 / 3; } }
.about__image--wall img { object-position: center; }
@media (max-width: 980px) { .about__media { max-width: 480px; } }

/* ---- Photos: 12px rounded corners site-wide (the Home event card already uses 12px) ---- */
.about__image { border-radius: 12px; }
.program-row { border-radius: 12px; }
.resources__title { margin-bottom: 16px; }
.resources__sub { font-size: clamp(24px, 2.4vw, 30px); color: var(--orange-deep); }
/* research stat figures: one color (they cycled orange/blue/green by position only) */
.research .finding:nth-child(n) .finding__stat { color: var(--orange-deep); }
/* Resources page: same tighter spacing as Home and Programs */
main > .research:first-child,
main > .research:first-child ~ .resources-orgs { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.research .section-header { margin-bottom: 40px; }
.research .resources__sub, .research .resources__title { margin-bottom: 16px; }
.research__lead { margin-bottom: 48px; padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 40px); gap: clamp(20px, 3vw, 40px); }
.research__lead-stat { font-size: clamp(48px, 6vw, 80px); }
.research__lead-text p { font-size: clamp(18px, 1.6vw, 21px); }
.research__grid { margin-bottom: 40px; gap: 24px; }
.research .finding { padding: 28px; }
.research__close { padding-top: 32px; }
.resources-orgs .section-header { margin-bottom: 32px; }
/* Programs: Parkinson's Foundation quote in a testimonial-style card above the class list */
.quote-card { max-width: 820px; margin: 26px auto clamp(40px, 5vw, 56px); text-align: center; }
.quote-card .testimonial__quote-mark { left: 50%; transform: translateX(-50%); }
.testimonial.quote-card { border-top-color: var(--orange); }
.testimonial.quote-card .testimonial__quote-mark { background: var(--orange); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-style: italic; }
.quote-card .testimonial__name::before { content: none; }
.quote-card .testimonial__role a { color: var(--blue); border-bottom: 1px solid var(--orange); }
.quote-card .testimonial__role a:hover { color: var(--orange-deep); }
/* Home: "Upcoming Closures and Special Events" heading spans the full width */
.events .section-header { max-width: none; }
.program-row { scroll-margin-top: 110px; }
/* Home: full Programs section (intro, quote card, class cards) */
.programs--home .section-header { margin-bottom: clamp(24px, 3vw, 36px); }
/* Cookie Settings link in the footer: a button styled like the links beside it */
.cookie-settings {
background: none; border: 0; padding: 0; margin: 0;
font: inherit; letter-spacing: inherit; text-transform: inherit;
color: inherit; cursor: pointer;
}
.cookie-settings:hover { color: var(--blue); }
/* Google Analytics cookie notice (opt-out): a small bar at the bottom of the screen */
.cookie-bar {
position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
max-width: 760px; margin: 0 auto;
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
gap: 10px 20px;
padding: 14px 18px;
background: var(--white); color: var(--ink);
border: 1px solid var(--rule); border-radius: 12px;
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
font-size: 15px; line-height: 1.45;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1 1 320px; }
.cookie-bar a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar__actions { display: flex; align-items: center; gap: 16px; }
.cookie-bar__ok {
background: var(--blue); color: var(--white);
border: 0; border-radius: 999px; padding: 8px 22px;
font: inherit; font-weight: 600; cursor: pointer;
}
.cookie-bar__ok:hover { background: var(--blue-deep); }
.cookie-bar__out {
background: none; border: 0; padding: 0;
font: inherit; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.cookie-bar__out:hover { color: var(--ink); }
.cookie-bar button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
