/* ========================================
   Give Me A Break — Flexible Child Care
   ======================================== */

:root {
  --cream: #F5F1E8;
  --cream-light: #FAF7EE;
  --paper: #FFFCF5;
  --sage: #8B9D77;
  --sage-soft: #B5C4A4;
  --sage-pale: #D8E0CD;
  --sage-deep: #5F7050;
  --terracotta: #C97B5C;
  --terracotta-soft: #E5B299;
  --ink: #2D3A2A;
  --ink-soft: #4A5544;
  --muted: #8A8A7E;
  --line: #E8E2D2;

  --font-display: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-accent: 'Caveat', cursive;

  --max-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-soft: 0 4px 20px rgba(45, 58, 42, 0.06);
  --shadow-medium: 0 10px 40px rgba(45, 58, 42, 0.1);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* R4.12: Skip-to-content link (visually hidden until focused) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 0;
  outline: 3px solid var(--sage-deep);
  outline-offset: -3px;
}


* { 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: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle paper grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 400; }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--sage);
}

.italic { font-weight: 600; }

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover { color: var(--sage-deep); }

.nav-links a.active {
  color: var(--ink);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6' fill='none' stroke='%237AB843' stroke-width='2' stroke-linecap='round'><path d='M 2 4 Q 10 1 20 4 T 40 4 T 60 4 T 78 4'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.nav-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta:hover {
  background: var(--sage-deep);
  transform: translateY(-1px);
}

.nav-cta::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.nav-cta:hover::after { transform: translateX(3px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { font-size: 1.25rem; }
  .nav-cta { width: 100%; justify-content: center; padding: 1rem; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ========== HERO ========== */
.hero {
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 920px) {
  .hero { padding: 9rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-tag {
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.2s forwards;
}

.hero-title .accent {
  font-weight: 300;
  color: var(--sage-deep);
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.5s forwards;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--sage-pale);
  opacity: 0;
  animation: fadeIn 1.4s var(--ease) 0.4s forwards;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(45, 58, 42, 0.15));
}

/* Floating badge */
.hero-badge {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  background: rgba(255, 252, 245, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hero-badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-badge-text small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Decorative leaf shapes */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========== TICKER / MARQUEE ========== */
.ticker {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 1.1rem 0;
  overflow: hidden;
  border-radius: 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ticker-item::after {
  content: '✺';
  font-style: normal;
  color: var(--sage-soft);
  font-size: 1rem;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== JINGLE STRIP (values marquee) ========== */
.jingle-strip {
  background: var(--terracotta);
  color: var(--cream);
  padding: 1.05rem 0;
  overflow: hidden;
}

.jingle-track {
  display: flex;
  gap: 2.5rem;
  animation: scroll 55s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.jingle-item {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.jingle-item::after {
  content: '\2665'; /* heart */
  color: var(--terracotta-soft);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .jingle-item { font-size: 1rem; gap: 1.75rem; }
  .jingle-track { gap: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jingle-track { animation: none; }
}

/* ========== FULL JINGLE (values creed block) ========== */
.jingle-full {
  background: #F4E6DA; /* warm sand — distinct from the sage-green sections */
}

.jingle-full-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.jingle-full-title {
  margin: 0.4rem 0 2.75rem;
}

.jingle-verse {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.9rem;
}

.jingle-verse li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jingle-line {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 600;
  color: #B5623F; /* deepened terracotta for contrast on the warm sand */
  line-height: 1.2;
}

.jingle-meaning {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .jingle-line { font-size: 1.6rem; }
  .jingle-meaning { font-size: 1rem; }
}

/* ========== SECTIONS ========== */
section { padding: 6rem 0; position: relative; }

@media (max-width: 768px) {
  section { padding: 4rem 0; }
}

.section-header {
  max-width: 740px;
  margin-bottom: 4rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.center .eyebrow { justify-content: center; }
.section-header.center .eyebrow::before { display: none; }

.section-header .eyebrow { margin-bottom: 1.25rem; }
.section-header h2 { margin-bottom: 1rem; }

.section-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ========== INTRO / PROMISE ========== */

.promise-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  /* R4.10.23: tightened margin/padding above stats.
     R4.5.1: divider removed + spacing tightened further so the
     stats read as part of the section above, not a separate strip. */
  margin-top: 2rem;
  padding-top: 1.5rem;
  /* Round 4.9: center stat content within each grid cell (was flush-left) */
  text-align: center;
}

@media (max-width: 640px) {
  .promise-stats { grid-template-columns: 1fr; gap: 2rem; }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--sage-deep);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* ========== PROGRAM CARDS ========== */
.programs {
  background: var(--cream);
}

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

@media (max-width: 920px) {
  .program-grid { grid-template-columns: 1fr; }
}

.program {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.program:hover {
  transform: translateY(-4px);
  border-color: var(--sage-soft);
  box-shadow: var(--shadow-medium);
}

.program-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sage-pale);
  margin-bottom: 1.5rem;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.program:hover .program-image img { transform: scale(1.04); }

.program-age {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.5rem;
}

.program h3 {
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.program p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sage-pale);
  color: var(--sage-deep);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  align-self: flex-start;
}

/* ========== SERVICES (Care Types) ========== */
.services {
  background: var(--ink);
  color: var(--cream);
}

.services h2,
.services h3,
.services h4 { color: var(--cream); }

.services .eyebrow { color: var(--sage-soft); }
.services .eyebrow::before { background: var(--sage-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
}

@media (max-width: 920px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(245, 241, 232, 0.12);
  position: relative;
}

.service:last-child { border-right: none; }

@media (max-width: 920px) {
  .service {
    border-right: none;
    border-bottom: 1px solid rgba(245, 241, 232, 0.12);
  }
  .service:last-child { border-bottom: none; }
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--sage-soft);
  margin-bottom: 1rem;
}

.service h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service.featured h3::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 50%;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.service p {
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
}

/* ========== FOUNDER STRIP ========== */

@media (max-width: 920px) {
}

/* ========== VALUES / PRINCIPLES ========== */
.values {
  background: var(--cream-light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value {
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.value:hover { background: var(--paper); }

.value-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}

.value h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.value p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ========== CTA BLOCK ========== */

/* ========== FOOTER ========== */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Round 4: removed .footer-brand-name rule (orphan since Round 3.6) */

.footer-tagline {
  color: var(--sage-soft);
  font-family: var(--font-display);
  font-weight: 300;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-soft);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.85;
}

/* ========== PAGE HEADERS (for sub pages) ========== */
.page-header {
  padding: 11rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-header-inner {
  max-width: 880px;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.page-header h1 .italic { color: var(--sage-deep); }

.page-header .lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}

.page-header .eyebrow { margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .page-header { padding: 9rem 0 3.5rem; }
}

/* ========== ABOUT PAGE ========== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 920px) {
  .about-story { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: sticky;
  top: 6rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 920px) {
  .about-image { position: static; aspect-ratio: 4/3; }
}

.about-text p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.about-text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  float: left;
  line-height: 0.85;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--sage-deep);
}

.mission-vision {
  background: var(--sage-pale);
}

@media (max-width: 768px) {
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  padding-left: 3rem;
  max-width: 760px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--sage-soft);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.65rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--sage);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--sage-soft);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--sage-deep);
  margin-bottom: 0.4rem;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.timeline-item p {
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ========== WAITLIST PAGE ========== */

@media (max-width: 920px) {
}

/* Form / GHL embed area */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.form-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.6rem;
}

.form-card .form-lead {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

@media (max-width: 480px) {
}

.form-field input,
.form-field select,

.form-field input:focus,
.form-field select:focus,

.form-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ========== CONTACT BLOCK ========== */

@media (max-width: 768px) {
}

.contact-card {
  padding: 2rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: left;
}

.contact-card .eyebrow { margin-bottom: 0.75rem; }

.contact-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.contact-card a {
  color: var(--ink-soft);
  font-size: 1rem;
  transition: color 0.2s var(--ease);
  display: block;
  line-height: 1.5;
}

.contact-card a:hover { color: var(--sage-deep); }

/* ========== ANIMATION ON SCROLL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }

/* PROGRAMS PAGE specific */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}

.program-detail:last-of-type { border-bottom: none; }

.program-detail.reverse > :first-child {
  order: 2;
}

@media (max-width: 920px) {
  .program-detail { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .program-detail.reverse > :first-child { order: 0; }
}

.program-detail-image {
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.program-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-detail-info .age-pill {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage-deep);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.program-detail-info h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.program-detail-info > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.included-list {
  list-style: none;
  margin-top: 1.5rem;
}

.included-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.included-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B9D77' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ========== CONTACT PAGE — CENTERED FORM LAYOUT ========== */

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  padding: 2rem;
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

@media (max-width: 920px) {
  .process-strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 540px) {
  .process-strip { grid-template-columns: 1fr; padding: 1.5rem; }
}

.process-strip-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.process-strip-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.process-strip-item strong {
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-family: var(--font-body);
}

.process-strip-item small {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.form-alt-contact {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.form-alt-contact a {
  color: var(--sage-deep);
  font-weight: 500;
  border-bottom: 1px solid var(--sage-soft);
  transition: color 0.2s var(--ease);
}

.form-alt-contact a:hover {
  color: var(--ink);
}

/* ========== ROUND 1 REDESIGN: EDITORIAL HERO & PROMISE ========== */

/* New CSS variables for expanded palette */
:root {
}

/* Enhanced hero for editorial feel */
.hero-grid {
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
}

.hero-text {
  padding: 2rem 0;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.hero-title .accent {
  color: var(--sage-deep);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

/* Updated badge to feel less corporate */
.hero-badge {
  bottom: 2rem;
  left: 2rem;
  right: auto;
  width: auto;
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 20px rgba(45, 58, 42, 0.08);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--sage);
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.hero-badge-text small {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Visual enhancement: organic shape accent */

/* Expanded hero-visual for more cinematic feel */
.hero-visual {
  aspect-ratio: 9/11;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(45, 58, 42, 0.12);
}

/* Promise section visual redesign */

/* Media queries for responsive hero redesign */
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero {
    padding: 10rem 0 4rem;
  }

  .hero-visual {
    aspect-ratio: 4/5;
  }

  .hero-badge {
    left: 1.5rem;
    right: 1.5rem;
    width: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 8rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.75rem);
    line-height: 1.05;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-badge {
    position: static;
    background: transparent;
    padding: 1rem 0;
    margin-top: 1.5rem;
  }
}
/* ============================================
   ROUND 2 — Coming Soon + maintenance mode
   ============================================ */

.coming-soon-header {
  padding: 1.25rem 0;
}

.coming-soon-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  background: rgba(137, 179, 79, 0.12);
  color: var(--sage-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.coming-soon-hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(243, 247, 235, 0.95), rgba(255, 255, 255, 1));
}

.coming-soon-headline {
  font-size: clamp(2.8rem, 6.2vw, 4.7rem);
  line-height: 0.98;
  margin: 1rem 0 1.25rem;
  max-width: 14ch;
}

.coming-soon-subhead {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}

.hero-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(39, 60, 24, 0.14);
  min-height: 420px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.form-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 0 18px 40px rgba(30, 49, 22, 0.08);
}

.form-alt-contact {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  max-width: 760px;
}

.coming-soon-footer {
  padding: 2rem 0 3rem;
  color: var(--cream);
  opacity: 0.85;
  text-align: center;
}

.coming-soon-footer p {
  margin: 0.35rem 0;
}

.coming-soon-footer a {
  color: var(--cream);
  text-decoration: underline;
  opacity: 1;
}

/* R4.13.1: scoped to .nav-links a.nav-cta so it wins the cascade
   over the more-specific .nav-links a (0,1,1) rule which was
   overriding our color: var(--paper) with var(--ink-soft). */
.nav-links a.nav-cta {
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--paper);
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus-visible {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

@media (max-width: 880px) {

  .coming-soon-header-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .coming-soon-headline {
    font-size: 2.6rem;
  }

  .hero-copy,
  .form-card,
}

/* ============================================
   R5 REBRAND — MONTSERRAT LOCKUP (SVG)
   Updated: 2026-06-11
   gmab-logo.svg (nav, light) and gmab-logo-reversed.svg (footer, dark)
   are the deployed assets (vector, aspect ~3.48:1, transparent).
   Sizing below is height-constrained; width auto-computes.
   At height 98px nav width ~341px; at footer 80px width ~279px.
   ============================================ */

/* Round 4.2 — logo +30% for readability of small text inside the PNG */
/* Round 4.5 — logo +35% on top of 4.2 (73px to 98px desktop, 55px to 74px mobile) */
.brand-logo {
  display: block;
  height: 98px;
  width: auto;
  max-width: 488px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 74px;
    max-width: 350px;
  }
}

.footer-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 320px;
  margin-bottom: 24px;
}

/* ============================================
   ROUND 3.6 — FOOTER CREDIT
   Added: 2026-05-07
   Susanoo attribution in footer-bottom of all pages.
   Slightly de-emphasized (smaller, lower opacity) so
   it doesn't compete with primary copyright line.
   404's footer sits on cream; the .coming-soon-footer
   .footer-credit a override keeps the link readable there.
   ============================================ */

.footer-credit {
  margin-top: 12px;
  font-size: 0.85em;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--cream);
  text-decoration: underline;
  opacity: 1;
}

.footer-credit a:hover {
  opacity: 0.85;
}

/* Round 3.7: removed .coming-soon-footer .footer-credit a override
   (was ink-soft, assumed cream bg — actual bg is dark var(--ink) from
   the generic footer rule, so cream from .footer-credit a now applies). */

/* ============================================
   ROUND 4 — DESIGN + CONTENT EXPANSION
   Added: 2026-05-07
   Includes: What We Do section, Reggio carousel,
   sticky CTA, footer redesign (3-col with socials),
   hand-drawn SVG doodles, .text-link, .section-headline,
   .philosophy-foundation. The .nav-links a.active::after
   wavy underline is updated in place above.
   ============================================ */

/* ---- Shared section helpers ---- */

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 1rem 0 1.5rem;
  max-width: 24ch;
}

.section-intro {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 3rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--sage-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.text-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.text-link:hover {
  color: var(--ink);
  gap: 0.6rem;
}

.text-link:hover::after {
  transform: translateX(2px);
}

/* ---- Phase 4: What We Do ---- */

@media (max-width: 768px) {
}

/* ---- Phase 5: Reggio carousel ---- */

.reggio-carousel {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-light) 100%);
}

.reggio-carousel .container {
  position: relative;
}

.reggio-swiper {
  padding: 1rem 0 4rem;
  overflow: hidden;
}

.reggio-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  height: auto;
  display: flex;
  flex-direction: column;
}

.reggio-card-image {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.reggio-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reggio-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.reggio-card p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* Carousel arrows sit in side gutters (off the cards) via a positioned wrapper.
   The wrapper's horizontal padding insets the .swiper track and gives the arrows
   room; the arrows live OUTSIDE .swiper so they are not clipped by its overflow. */
.reggio-nav-wrap {
  position: relative;
  padding: 0 56px;
}

.reggio-nav-wrap .swiper-button-prev,
.reggio-nav-wrap .swiper-button-next {
  color: var(--sage-deep);
  width: 40px;
  height: 40px;
  margin-top: -20px;
}

.reggio-nav-wrap .swiper-button-prev { left: 0; }
.reggio-nav-wrap .swiper-button-next { right: 0; }

.reggio-nav-wrap .swiper-button-prev::after,
.reggio-nav-wrap .swiper-button-next::after {
  font-size: 22px;
  font-weight: 700;
}

.reggio-swiper .swiper-pagination-bullet-active {
  background: var(--sage);
}

@media (max-width: 768px) {
  .reggio-carousel {
    padding: 4rem 0;
  }
  .reggio-card {
    padding: 1.5rem;
  }
  /* Preserve original mobile behavior: full-width track + Swiper's default
     edge offsets, so the arrows behave exactly as they did before. */
  .reggio-nav-wrap {
    padding: 0;
  }
  .reggio-nav-wrap .swiper-button-prev { left: 10px; }
  .reggio-nav-wrap .swiper-button-next { right: 10px; }
}

/* ---- Phase 6: Sticky CTA ---- */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--sage-deep);
  padding: 1rem 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease-out;
}

.sticky-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.sticky-cta-text {
  font-family: var(--font-body);
  /* R4.13.1: Paper on Sage-Deep bar (5.23:1, ✓ AA). Was Ink on
     Sage-Deep = 2.40:1 fail after R4.13 changed the bar bg. */
  color: var(--paper);
  margin: 0;
  font-size: 1rem;
}

.sticky-cta-text strong {
  font-weight: 700;
}

.sticky-cta-button {
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.sticky-cta-button:hover,
.sticky-cta-button:focus-visible {
  transform: translateY(-1px);
  /* R4.13.1: Cream pill on Sage-Deep bar at hover (instead of
     sage-deep-on-sage-deep, which made the button invisible). */
  background: var(--cream);
  color: var(--ink);
}

.sticky-cta--hidden {
  transform: translateY(100%);
}

body:has(.sticky-cta) {
  padding-bottom: 80px;
}

@media (max-width: 640px) {
  .sticky-cta-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .sticky-cta-text {
    font-size: 0.92rem;
  }
  body:has(.sticky-cta) {
    padding-bottom: 120px;
  }
}

/* ---- Phase 7: Footer redesign (3-column) ---- */

/* Override Round 1 .footer-grid (was 4-col 1.5fr 1fr 1fr 1fr) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col--brand .footer-logo {
  height: 80px;
  width: auto;
  max-width: 280px;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-col--brand .footer-tagline {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: 1.5rem;
  color: rgba(245, 241, 232, 0.9);
  margin: 0 0 1.5rem;
  line-height: 1.3;
}

.footer-col-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 1.5rem;
}

.footer-col-line {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.85);
  margin: 0 0 0.75rem;
}

.footer-col-line a {
  color: var(--cream);
  text-decoration: none;
  transition: text-decoration 0.2s var(--ease);
}

.footer-col-line a:hover {
  text-decoration: underline;
}

/* The flat footer Navigate list became three labeled groups that reuse the
   shared .footer-col ul / .footer-col a styles; the old flat-list rules were
   removed. */

/* ---- Phase 8: SVG doodles ---- */

.hero-doodle--sun-cloud {
  color: var(--sage);
  opacity: 0.85;
  margin: 1rem 0;
}

.hero-doodle--sun-cloud svg {
  width: 100px;
  height: auto;
}

.section-doodle--sprout {
  color: var(--sage-deep);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-doodle--sprout svg {
  width: 48px;
  height: 48px;
}

/* ---- Phase 9: Philosophy foundation block ---- */

@media (max-width: 768px) {
}

/* ============================================
   Round 4.1 — What We Do 2-column reflow + YouTube embed
   ============================================ */

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45, 58, 42, 0.12);
}

.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* R4.15: Lazy YouTube facade — replaces the iframe until the user
   clicks play. Lives inside .video-frame's padding-bottom 56.25%
   container, so absolutely positioned to fill it. */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: var(--ink);
  overflow: hidden;
  border-radius: inherit;
}

.video-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 200ms ease, transform 300ms var(--ease);
}

.video-facade:hover .video-facade-thumb,
.video-facade:focus-visible .video-facade-thumb {
  filter: brightness(0.85);
  transform: scale(1.02);
}

.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 68px;
  height: 48px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 200ms ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play {
  opacity: 1;
}

.video-facade:focus-visible {
  outline: 3px solid var(--sage-deep);
  outline-offset: 2px;
}

@media (max-width: 768px) {
}

/* ============================================
   Round 4.1 — Section gradient backgrounds
   Note: actual selectors verified in style.css.
   .promise = stats-living section; .programs = programs grid.
   These rules override prior plain backgrounds via cascade order.
   ============================================ */

.reggio-carousel {
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--terracotta-soft) 30%,
    var(--terracotta-soft) 70%,
    var(--cream) 100%
  );
}

.programs {
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--cream-light) 50%,
    var(--cream) 100%
  );
}

.reggio-card {
  border: 1px solid rgba(45, 58, 42, 0.06);
}

/* ============================================
   ROUND 4.6 — Homepage rebuild + Philosophy rewrite
   New section styles: differentiator, philosophy-merge,
   stats-band, founder-note-section, final-cta, plus
   philosophy-page hdlh-foundation + reggio-transition
   + reggio-beliefs-grid.
   Append-only; no existing rules edited.
   ============================================ */

/* --- Generic padding for new homepage sections --- */
.differentiator,
.philosophy-merge,
.founder-note-section {
  padding: 5rem 0;
}

.stats-band {
  padding: 3rem 0 4rem;
}

/* --- Differentiator emoji icon (reused .service-num slot) --- */

/* --- Philosophy merge: section-lead paragraphs stack with comfortable spacing --- */
.philosophy-merge .section-header .section-lead + .section-lead {
  margin-top: 1.25rem;
}

/* --- Founder note: two-column grid, photo left, copy right --- */
.founder-note-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.founder-note-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.founder-note-content .eyebrow {
  margin-bottom: 1rem;
  display: inline-block;
}

.founder-note-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.founder-note-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.founder-note-content .text-link {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .founder-note-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder-note-image {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* --- Final CTA: centered, warm peach gradient (matches Round 4.1 palette) --- */
.final-cta {
  /* Round 4.8: asymmetric padding (top kept at 6rem, bottom reduced ~40% to 3.5rem) */
  padding: 6rem 0 3.5rem;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    var(--terracotta-soft) 30%,
    var(--terracotta-soft) 70%,
    var(--cream) 100%
  );
  text-align: center;
}

.final-cta .container {
  max-width: 720px;
}

.final-cta .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.final-cta p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 2rem;
}

.final-cta-secondary {
  /* Round 4.9: widen button-to-secondary gap (1rem → 2rem) per preview feedback */
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.final-cta-secondary a {
  color: var(--sage-deep);
  text-decoration: underline;
  font-weight: 600;
}

/* --- Philosophy page: HDLH foundation 2-column with YouTube --- */
.hdlh-foundation {
  padding: 5rem 0;
}

.hdlh-foundation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4rem;
  /* Round 4.8: video vertically centered with text on desktop */
  align-items: center;
}

.hdlh-foundation-content .section-headline {
  margin-bottom: 1.5rem;
}

.hdlh-foundation-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.hdlh-foundations-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}

.hdlh-foundations-list li {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  padding-left: 1.25rem;
  position: relative;
}

.hdlh-foundations-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.hdlh-foundations-list strong {
  font-weight: 700;
  color: var(--ink);
}

/* .hdlh-video-caption removed in R4.9.3 — replaced by .hdlh-video-pill */

@media (max-width: 880px) {
  .hdlh-foundation-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- Philosophy page: Reggio transition section --- */
.reggio-transition {
  /* Round 4.8: section centered via max-width container, text inside left-aligned */
  /* Round 4.9: explicit text-align: left so eyebrow/headline/paragraphs don't inherit center from any ancestor */
  padding: 4rem 0 2rem;
  text-align: left;
}

/* Round 4.9.2: removed max-width 760px (was R4.6 single-column constraint).
   Section is now 2-column and uses the default .container width. */

.reggio-transition .section-headline {
  margin-bottom: 1.5rem;
}

.reggio-transition p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  /* Round 4.8: spacing between expanded 3-paragraph copy */
  margin: 0 0 1.25rem;
}

.reggio-transition p:last-child {
  margin-bottom: 0;
}

/* --- Philosophy page: rewritten Six Beliefs cards --- */
.beliefs-rewrite {
  padding: 5rem 0;
}

.beliefs-rewrite .section-intro {
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  max-width: 540px;
  margin: 1rem auto 0;
}

.belief-card .belief-tag {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--sage-deep);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  display: block;
}

.belief-card .belief-name {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
}

/* ============================================
   ROUND 4.7 — On-Demand pulsing glow + philosophy 2-col + minor reorder helpers
   Append-only; no existing rules edited.
   ============================================ */

/* On-Demand pulsing peach glow (homepage Services + programs.html) */
.ondemand-featured {
  position: relative;
  animation: ondemand-pulse 3s ease-in-out infinite;
}

@keyframes ondemand-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(232, 207, 182, 0);
  }
  50% {
    box-shadow: 0 0 24px 6px rgba(232, 207, 182, 0.65);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ondemand-featured {
    animation: none;
    box-shadow: 0 0 16px 4px rgba(232, 207, 182, 0.45);
  }
}

/* Homepage philosophy block: 2-column image-left / copy-right */
.philosophy-merge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.philosophy-merge-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.philosophy-merge-content .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

.philosophy-merge-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 1.5rem;
}

.philosophy-merge-content .section-lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 1.25rem;
}

@media (max-width: 880px) {
  .philosophy-merge-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ============================================
   Round 4.8 — Mobile audit fixes (tap-target heights)
   Source: Playwright audit at 375x812 and 414x896.
   Real issues filtered (offscreen translated nav-links false
   positives excluded). Append-only; no existing rules edited.
   ============================================ */

@media (max-width: 768px) {
  /* M1: Reggio carousel pagination bullets (was 8x8, too small to tap)
     Visually still small (12x12), but bullet ::before pseudo gives a
     32x32 invisible hit pad around each bullet. */
  .reggio-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    position: relative;
  }
  .reggio-swiper .swiper-pagination-bullet::before {
    content: "";
    position: absolute;
    inset: -10px;
    /* extends tap region without changing visual */
  }
  .reggio-swiper .swiper-pagination {
    padding: 12px 0;
  }

  /* M2: Final CTA secondary tel: link (was ~24px tall) */
  .final-cta-secondary a {
    display: inline-block;
    padding: 6px 4px;
    margin: -6px -4px;
  }

  /* M3: Footer group nav links (was ~20-23px tall) */
  .footer-col ul a {
    display: inline-block;
    padding: 6px 0;
  }
  .footer-col ul li {
    margin-bottom: 0.4rem;
  }

  /* M4: Footer col-line tel: + mailto: (was ~20px tall) */
  .footer-col-line a {
    display: inline-block;
    padding: 4px 0;
  }
  .footer-col-line {
    margin-bottom: 0.5rem;
  }

  /* M6: Contact-card tel/email links on contact.html (was ~22-24px) */
  .contact-card a {
    display: inline-block;
    padding: 6px 0;
  }

  /* M7: Form-alt-contact inline tel/email on contact.html lead paragraph */
  .form-alt-contact a {
    display: inline-block;
    padding: 4px 0;
  }
}

/* ============================================
   Round 4.9.1 — Final CTA button-to-phone gap fix
   R4.9 set .final-cta-secondary { margin-top: 2rem } but the
   <p> was inheriting margin: 0 auto 2rem from .final-cta p
   (specificity 0,1,1 beats 0,1,0). Measured gap was 0px on
   all 4 Final CTA pages. This rule (.final-cta .final-cta-
   secondary, specificity 0,2,0) wins the cascade.
   ============================================ */

.final-cta .final-cta-secondary {
  margin-top: 3.5rem;
}

@media (max-width: 768px) {
  .final-cta .final-cta-secondary {
    margin-top: 2.5rem;
  }
}

/* ============================================
   Round 4.9.2 — Reggio transition 2-column layout
   Mirrors .philosophy-merge-grid pattern (image left, copy right).
   Mobile stacks at <=880px (image first, text below).
   ============================================ */

.reggio-transition-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.reggio-transition-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-medium);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reggio-transition-content .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}

@media (max-width: 880px) {
  .reggio-transition-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   Round 4.9.3 — HDLH video pill-card
   Replaces the prior italic .hdlh-video-caption with a soft
   peach pill-card containing the GMAB positioning statement.
   Sits in the right column of the HDLH grid, directly below
   the YouTube iframe.
   ============================================ */

.hdlh-video-pill {
  margin-top: 1.25rem;
  padding: 1rem 1.5rem;
  /* Warm peach from R4.1 palette (rgb 232 207 182 = var(--terracotta-soft)),
     low alpha so it reads as a soft accent against cream */
  background: rgba(232, 207, 182, 0.35);
  border-radius: 999px;
  text-align: center;
}

.hdlh-video-pill p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink);
}

.hdlh-video-pill em {
  font-style: italic;
}

@media (max-width: 880px) {
  .hdlh-video-pill {
    border-radius: 1.25rem;
    padding: 0.875rem 1.25rem;
  }
  .hdlh-video-pill p {
    font-size: 0.9rem;
  }
}

/* ============================================
   Round 4.9.9 — Confirmation page
   ============================================ */

.confirmation-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}
.confirmation-hero-content {
  max-width: 720px;
  margin: 0 auto;
}
.confirmation-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.15;
}
.confirmation-subhead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.confirmation-next {
  padding: 4rem 0;
}
.confirmation-next h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}
.confirmation-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.confirmation-step {
  text-align: left;
}
.confirmation-step-icon {
  margin-bottom: 1rem;
  color: var(--sage);
  width: 48px;
  height: 48px;
}
.confirmation-step-icon svg {
  width: 100%;
  height: 100%;
}
.confirmation-step h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.confirmation-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.confirmation-explore {
  padding: 4rem 0 6rem;
}
.confirmation-explore h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
}
.confirmation-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.confirmation-explore-card {
  display: block;
  padding: 2rem;
  background: var(--cream-light);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.confirmation-explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.confirmation-explore-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.confirmation-explore-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 880px) {
  .confirmation-hero {
    padding: 6rem 0 2rem;
  }
  .confirmation-steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .confirmation-explore-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================
   ROUND 4.10.14 — ENROLLMENT DROPDOWN NAV
   ============================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible {
  color: var(--sage-deep);
  outline: none;
}

.nav-dropdown-toggle.active {
  color: var(--ink);
}

.nav-dropdown-toggle.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 6px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6' fill='none' stroke='%237AB843' stroke-width='2' stroke-linecap='round'><path d='M 2 4 Q 10 1 20 4 T 40 4 T 60 4 T 78 4'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.nav-dropdown-toggle .caret {
  font-size: 0.75rem;
  transition: transform 0.25s var(--ease);
}

.nav-dropdown-toggle[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  background: var(--paper);
  border: 1px solid var(--line, rgba(45, 58, 42, 0.12));
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(45, 58, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li { width: 100%; }

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--cream);
  color: var(--ink);
  outline: none;
}

.nav-dropdown-menu a.active {
  color: var(--sage-deep);
  font-weight: 500;
}

@media (max-width: 880px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    font-size: 1.25rem;
    padding: 0;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.5rem 0 0 1rem;
    min-width: 0;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu {
    transform: none;
  }
  .nav-dropdown-menu a {
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }
}

/* ============================================
   ROUND 4.10.14 — CARD CTAs (homepage + programs)
   ============================================ */
.btn-card-cta {
  display: inline-block;
  /* R4.10.16: 48px breathing room between bottom label and CTA */
  margin-top: 3rem;
  padding: 0.7rem 1.4rem;
  background: var(--sage-deep);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-card-cta:hover,
.btn-card-cta:focus-visible {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(201, 123, 92, 0.25);
  color: var(--paper);
  outline: none;
}

/* R4.10.21: Drop-in hint block on /general-care — pairs the
   "Need flexible drop-in hours?" line with the pill button so
   they read as one cohesive left-aligned unit. Override of the
   legacy .form-alt-contact centering that was creating a visual
   disconnect between the paragraph and the pill below it. */
.drop-in-hint {
  margin-top: 1.5rem;
  text-align: left;
}

.drop-in-hint p {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.drop-in-hint .btn-secondary-pill {
  margin-top: 0;
}

/* R4.10.16: Secondary pill (e.g., the cross-link from general-care
   to on-demand-care). Smaller and tighter than .btn-card-cta. */
.btn-secondary-pill {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.1s var(--ease);
}

.btn-secondary-pill:hover,
.btn-secondary-pill:focus {
  background: var(--ink);
  transform: translateY(-1px);
  color: var(--cream);
}

.btn-secondary-pill:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}

/* Inside dark .services section, slight contrast tweak */
.services .btn-card-cta {
  color: var(--paper);
}

/* On the program-detail cards (programs.html), space CTA above list */
/* R4.10.17: bumped 1.5rem → 3rem to match service-card CTA spacing */
.program-detail-info .btn-card-cta {
  margin-top: 3rem;
}

/* ============================================
   ROUND 4.10.14 — ON-DEMAND CARE PAGE
   ============================================ */
.on-demand-hero h1 .italic {
  color: var(--sage-deep);
  font-style: italic;
}

.ondemand-section {
  padding: 5rem 0;
  background: var(--paper);
}

.ondemand-section--alt {
  background: var(--cream);
}

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

@media (max-width: 768px) {
  .audience-grid { grid-template-columns: 1fr; }
}

.audience-item {
  padding: 1.75rem;
  background: var(--cream-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-pale);
}

.ondemand-section--alt .audience-item {
  background: var(--paper);
}

.audience-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.audience-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

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

@media (max-width: 880px) {
  .ages-grid { grid-template-columns: 1fr; }
}

.age-card {
  padding: 1.75rem;
  background: var(--paper);
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-pale);
  text-align: center;
}

.age-card--highlighted {
  background: var(--sage-pale);
  border-color: var(--sage);
}

.age-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.age-card .age-range {
  color: var(--sage-deep);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.age-card .age-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.steps-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sage-pale);
}

.steps-list li:last-child { border-bottom: none; }

.steps-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sage-deep);
  color: var(--paper);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
}

.steps-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.steps-list p {
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

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

@media (max-width: 768px) {
  .credentials-grid { grid-template-columns: 1fr; }
}

.credential {
  padding: 1.75rem;
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius-md);
}

.ondemand-section--alt .credential {
  background: var(--cream-light);
}

.credential .stat {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin: 0 0 0.5rem;
  line-height: 1;
}

.credential p:last-child {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

.why-blurb {
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ============================================
   ROUND 4.10.14 — CAREERS UNDER-CONSTRUCTION
   ============================================ */
.under-construction {
  padding: 10rem 0 6rem;
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.under-construction .container {
  max-width: 640px;
}

.under-construction h1 {
  margin: 1rem 0 1.5rem;
}

.under-construction p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.under-construction p a {
  color: var(--sage-deep);
  font-weight: 500;
}

/* Make sure card CTAs sit at the same baseline across the
   3-up service grid even with uneven copy lengths.

   R4.10.17 fix: previously `margin-top: auto` on the CTA absorbed
   the extra space — but that ALSO overrode the `.btn-card-cta`'s
   own `margin-top: 3rem` (higher specificity 0,3,0 beats 0,1,0).
   The visible gap between label and CTA was variable and often
   tight. The fix moves the "absorb extra space" responsibility
   to the description `<p>` via `flex: 1`, so label + CTA stack
   naturally at the bottom with the CTA's own 3rem margin-top
   actually doing the work. */
.services-grid > .service {
  display: flex;
  flex-direction: column;
}

.services-grid > .service > p {
  flex: 1;
}

.services-grid > .service .btn-card-cta {
  align-self: flex-start;
}

/* ============================================
   ROUND 4.10.15 — MID-SECTION CTA STRIPS
   (on-demand-care.html — after each main section)
   ============================================ */
.mid-section-cta {
  background: var(--cream-light);
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid rgba(139, 157, 119, 0.15);
  border-bottom: 1px solid rgba(139, 157, 119, 0.15);
}

.mid-section-cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.mid-section-cta .cta-prompt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 400;
  line-height: 1.35;
}

.btn-mid-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.6rem;
  background: var(--sage-deep);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-mid-cta:hover,
.btn-mid-cta:focus-visible {
  background: var(--sage-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(95, 112, 80, 0.25);
  color: var(--paper);
  outline: none;
}

@media (max-width: 640px) {
  .mid-section-cta { padding: 3rem 0; }
  .mid-section-cta .cta-prompt { font-size: 1.15rem; }
}

/* ============================================
   ROUND 4.7 — MOBILE TAP TARGET SAFETY NET
   Ensures interactive pills meet the 44×44 minimum on touch
   devices. Existing padding gets close (~40-42px) but a few
   pills sit just under spec. min-height nudges them safely.
   ============================================ */
@media (max-width: 768px) {
  .sticky-cta-button,
  .btn-secondary-pill,
  .nav-dropdown-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================
   ROUND 4.11 — NEXT STEPS COMPACT CTA SECTION
   (programs.html — replaces the duplicate "Three ways" card grid
   that appeared at the bottom of the page.)
   ============================================ */
.next-steps-section {
  padding: 4rem 0 5rem;
  text-align: center;
}

.next-steps-section .container {
  max-width: 720px;
}

.next-steps-section .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  justify-content: center;
}

.next-steps-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.next-steps-section p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 560px;
}

.next-step-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 540px) {
  .next-step-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .next-step-cta-row .btn {
    justify-content: center;
  }
}

/* ============================================
   ROUND 4.10.20 — NEXT STEPS SIDE-BY-SIDE GRID
   (confirmation pages — primary "add another" + cross-sell pair.
   Replaces the R4.10.19 .cross-sell-cta + .confirmation-add-another
   stacked sections — HTML now uses .next-step-card for both.)
   ============================================ */
.next-steps-grid {
  background: var(--paper);
  padding: 5rem 1.5rem;
}

.next-steps-grid .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.next-step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
}

.next-step-card .eyebrow {
  justify-content: center;
  margin-bottom: 0.5rem;
}

.next-step-card h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.next-step-card p {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 480px;
}

/* Pin CTAs to card bottom so buttons align across both cards even
   when paragraph lengths differ */
.next-step-card .btn-card-cta-green,
.next-step-card .btn-secondary-pill {
  margin-top: auto;
}

/* R4.10.20: Forest-green variant of the card CTA. Mirrors
   .btn-card-cta (terracotta) but uses --sage-deep for the
   "continue current path" CTA. */
.btn-card-cta-green {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: var(--sage-deep);
  color: var(--cream);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-card-cta-green:hover,
.btn-card-cta-green:focus-visible {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(95, 112, 80, 0.25);
  color: var(--cream);
  outline: none;
}

.btn-card-cta-green:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .next-steps-grid {
    padding: 3.5rem 1.25rem;
  }
  .next-steps-grid .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .next-step-card {
    padding: 2.5rem 1.75rem;
  }
}

/* ============================================
   Enrollment page components (enrollment.html)
   Additive only. Reuses existing tokens plus the
   card (.audience-item), checklist (.included-list),
   step badge (.steps-num) and stat (.stat-number)
   components. All selectors are scoped with .enroll-*
   so they cannot affect other pages. Grids collapse
   to one column at the 768px breakpoint.
   ============================================ */

/* The process: 2-column grid of step cards (reuses .audience-item + .steps-num) */
.enroll-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.enroll-step .steps-num {
  margin-bottom: 1.25rem;
}

/* The waitlist / Documents / Welcome package: 2-column checklist cards
   (reuses the .included-list checkmark marker; adds light card structure) */
.enroll-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.enroll-checks li {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.ondemand-section--alt .enroll-checks li {
  background: var(--paper);
}

/* Fees and deposit: 3-column cards (reuses .audience-item) + accent callout strip */
.enroll-fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.enroll-callout {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: var(--sage-pale);
  border-radius: var(--radius-md);
  color: var(--sage-deep);
  font-weight: 600;
}

/* Left-aligned closing prose (replaces the centered .why-blurb on this page) */
.enroll-prose {
  max-width: 760px;
  margin-top: 2rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Transition visits: stat anchor (reuses .stat-number count-up) beside the prose */
.enroll-transition {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.enroll-stat {
  background: var(--sage-pale);
  border: 1px solid var(--sage-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.enroll-transition-prose p + p {
  margin-top: 1.25rem;
}

/* Collapse all enrollment-page grids to a single column on mobile */
@media (max-width: 768px) {
  .enroll-steps,
  .enroll-checks,
  .enroll-fees-grid,
  .enroll-transition {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ page (faq.html) — additive; existing tokens only.
   Native <details> accordion; all selectors are .faq-*
   (plus an .ondemand-section--alt descendant) so they
   cannot affect other pages.
   ============================================ */
.faq-list {
  max-width: 820px;
  margin-top: 2.5rem;
}

.faq-item {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.ondemand-section--alt .faq-item {
  background: var(--paper);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--sage-deep);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-q:hover,
.faq-item[open] .faq-q {
  color: var(--sage-deep);
}

.faq-a {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq-a p {
  margin: 0;
}

/* ============================================
   Contact page (contact.html) — additive; existing tokens only.
   ============================================ */
.contact-hours {
  list-style: none;
  margin: 0;
}

.contact-hours li {
  padding: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive Google Map embed (replaces the iframe's fixed width/height) */
.contact-map {
  display: block;
  width: 100%;
  height: 450px;
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .contact-map {
    height: 320px;
  }
}

/* Programs page — "A day at GMAB" daily-routine timelines (additive, scoped). */
.day-timelines {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.day-timeline {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.day-timeline-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.day-timeline-head h3 {
  margin: 0;
}

.day-rows {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.25rem;
  margin: 0;
}

.day-rows dt {
  font-weight: 600;
  color: var(--sage-deep);
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.day-rows dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.day-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-style: italic;
}

@media (max-width: 768px) {
  .day-timelines {
    grid-template-columns: 1fr;
  }
  .day-rows dd {
    border-top: none;
    padding-top: 0;
  }
  .day-rows dt {
    padding-bottom: 0.15rem;
  }
}

/* General Care page — full-time / part-time body prose (additive, scoped). */
.gc-prose {
  max-width: 760px;
  margin: 2rem auto 0;
}

.gc-prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.gc-prose p:last-child {
  margin-bottom: 0;
}

.gc-note {
  max-width: 760px;
  margin: 1.75rem auto 0;
  text-align: center;
}

/* Privacy / legal page — long-form policy prose (additive, scoped). */
.legal-effective {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.legal-prose {
  max-width: 760px;
  margin: 0 auto;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.legal-prose ul {
  list-style: disc;
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.legal-prose li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.legal-prose a {
  color: var(--sage-deep);
  text-decoration: underline;
}

.legal-contact {
  line-height: 1.9;
}

/* Footer legal link (Privacy Policy) in the bottom bar. */
.footer-legal {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal:hover {
  opacity: 0.75;
}

/* Contact page — licensed credential line beneath the contact cards (scoped). */
.licensed-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
