/* Aladdin's Castle Learning Center — warm cream/sand redesign
   Cream/sand · espresso · terracotta · sage · soft gold */

:root {
  /* Warm cream/sand · espresso · terracotta · sage · soft gold */
  --teal-950: #2A2118;
  --teal-900: #3D3228;
  --teal-800: #6B7F5E;
  --teal-700: #7A8F6C;
  --teal-600: #8FA07E;
  --teal-200: #D4DDCC;
  --teal-100: #E8EFE3;
  --teal-50: #F3F6F0;
  --coral-800: #9A4519;
  --coral-700: #C45C26;
  --coral-600: #C45C26;
  --coral-500: #D47845;
  --coral-100: #F8E8DE;
  --coral-50: #FBF1EA;
  --gold-800: #8A6A28;
  --gold-700: #B08935;
  --gold-600: #D4A84B;
  --gold-500: #D4A84B;
  --gold-100: #F7EED8;
  --gold-50: #FBF6EB;
  --ink: #2A2118;
  --ink-muted: #5C4F42;
  --ink-soft: #7A6B5A;
  --cream: #FFFCF7;
  --cream-deep: #F7F1E8;
  --white: #ffffff;
  --border: #E5D9C8;
  --border-soft: #EFE6D8;
  --shadow-sm: 0 1px 3px rgba(42, 33, 24, 0.06);
  --shadow: 0 4px 24px rgba(42, 33, 24, 0.08);
  --shadow-lg: 0 16px 48px rgba(42, 33, 24, 0.12);
  --shadow-glow: 0 8px 32px rgba(196, 92, 38, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --font: "Inter", "Source Sans 3", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1140px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal-800);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s var(--ease);
}
a:hover { color: var(--coral-700); }
a:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 650;
  color: var(--teal-950);
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.2rem; font-family: var(--font); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: 0.45em; }

.container {
  width: min(100% - 2.25rem, var(--max));
  margin-inline: auto;
}

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.55rem 0;
}

.logo {
  max-width: min(340px, 72vw);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--teal-950);
  flex-shrink: 0;
  max-width: min(340px, 72vw);
}
.logo:hover { opacity: 0.92; }
.logo:focus-visible { outline-offset: 4px; }

.logo-img {
  height: 56px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.logo-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-fallback strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.logo-fallback span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--coral-600);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
@media (min-width: 1100px) {
  .header-actions { display: flex; }
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--teal-800);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--coral-700); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--teal-100);
  border: 2px solid var(--teal-700);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  color: var(--teal-900);
  font-size: 0.85rem;
  font-weight: 800;
  font-family: inherit;
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}
.nav-toggle-bars span {
  display: block;
  height: 2.5px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--teal-100);
  color: var(--teal-950);
}
.site-nav a.nav-cta {
  background: var(--coral-600);
  color: var(--white);
  margin-left: 0.35rem;
  padding: 0.55rem 1.1rem;
  box-shadow: 0 4px 14px rgba(224, 106, 85, 0.28);
}
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
  background: var(--coral-700);
  color: var(--white);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
  .site-header .container { position: relative; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.85rem 1.15rem 1.35rem;
    z-index: 99;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }
  .site-nav a {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
  .site-nav a.nav-cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.35rem;
  }
  .logo-img { height: 40px; width: 40px; }
  .logo-wordmark { height: 36px; }
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(212, 168, 75, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 5% 90%, rgba(107, 127, 94, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 35% at 60% 100%, rgba(196, 92, 38, 0.1), transparent 45%),
    linear-gradient(168deg, var(--cream-deep) 0%, var(--cream) 48%, var(--coral-50) 100%);
  padding: 3.75rem 0 4.25rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(232, 188, 58, 0.45) 0 1.5px, transparent 2px),
    radial-gradient(circle at 78% 18%, rgba(224, 106, 85, 0.35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 88% 62%, rgba(232, 188, 58, 0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 12% 70%, rgba(26, 132, 148, 0.25) 0 1.5px, transparent 2px);
  pointer-events: none;
  opacity: 0.9;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3.25rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--gold-100);
  color: var(--gold-800);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(184, 134, 11, 0.35);
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 { margin-bottom: 0.35em; max-width: 16ch; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--teal-800);
  font-weight: 550;
  font-style: italic;
  margin-bottom: 0.85rem;
  max-width: 38ch;
  line-height: 1.4;
}

.hero-lead {
  color: var(--ink-muted);
  max-width: 44ch;
  margin-bottom: 1.85rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-art svg {
  width: min(100%, 380px);
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(13, 79, 91, 0.18));
}
.hero-art-frame {
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(230,245,247,0.7));
  border: 1px solid rgba(212, 228, 231, 0.9);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--teal-800);
  color: var(--white);
  border-color: var(--teal-800);
  box-shadow: 0 6px 20px rgba(107, 127, 94, 0.28);
}
.btn-primary:hover {
  background: var(--teal-950);
  color: var(--white);
  border-color: var(--teal-950);
  box-shadow: 0 8px 24px rgba(42, 33, 24, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal-800);
  border-color: var(--teal-700);
}
.btn-secondary:hover {
  background: var(--teal-100);
  color: var(--teal-950);
}

.btn-coral {
  background: var(--coral-600);
  color: var(--white);
  border-color: var(--coral-600);
  box-shadow: var(--shadow-glow);
}
.btn-coral:hover {
  background: var(--coral-700);
  color: var(--white);
  border-color: var(--coral-700);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-inline: 0.75rem;
}
.btn-ghost:hover { color: var(--coral-700); background: transparent; }

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.02rem;
}

/* —— Sections —— */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--teal-50);
}
.section-gold {
  background: linear-gradient(180deg, var(--gold-50) 0%, var(--cream) 100%);
}
.section-cream {
  background: var(--cream-deep);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}
.section-header p {
  color: var(--ink-muted);
  margin-bottom: 0;
  font-size: 1.05rem;
}

.eyebrow {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-600);
  margin-bottom: 0.55rem;
}

/* —— Trust / stats strip —— */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}
.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--teal-900);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.trust-item span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* —— Pillars —— */
.pillar-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .pillar-grid { grid-template-columns: repeat(4, 1fr); }
}

.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
}
.pillar-icon.coral { background: var(--coral-100); }
.pillar-icon.gold { background: var(--gold-100); }
.pillar-icon.teal-deep { background: linear-gradient(145deg, var(--teal-100), var(--teal-200)); }
.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}
.pillar p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.22s var(--ease), transform 0.22s var(--ease), border-color 0.22s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--teal-200);
}
.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  flex-shrink: 0;
}
.card-icon.coral { background: var(--coral-100); }
.card-icon.gold { background: var(--gold-100); }
.card h3 { margin-bottom: 0.4em; }
.card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
  margin-bottom: 0.85rem;
  flex: 1;
}
.card a.card-link {
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  margin-top: auto;
}
.card a.card-link:hover { text-decoration: underline; }

.age-range {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--teal-800);
  background: var(--teal-100);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.program-card {
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--gold-500), var(--coral-500));
  opacity: 0.9;
}
.program-card a.card-link { color: var(--coral-700); }

/* —— Enrich Minds band —— */
.enrich-band {
  background: linear-gradient(135deg, var(--teal-950) 0%, var(--teal-800) 55%, #156a7a 100%);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.enrich-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(232, 188, 58, 0.18), transparent 42%),
    radial-gradient(circle at 88% 25%, rgba(240, 128, 112, 0.14), transparent 38%),
    radial-gradient(circle at 70% 90%, rgba(255,255,255,0.05), transparent 30%);
  pointer-events: none;
}
.enrich-band .container { position: relative; }
.enrich-band h2 {
  color: var(--gold-500);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}
.enrich-band p {
  color: rgba(255,255,255,0.92);
  max-width: 42rem;
  font-size: 1.12rem;
  margin-bottom: 0;
}
.enrich-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  border-left: 3px solid var(--gold-500);
  padding-left: 1.35rem;
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.97);
  line-height: 1.45;
  max-width: 36rem;
}

/* —— Contact strip —— */
.contact-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
}
.contact-strip-grid {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 700px) {
  .contact-strip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}
.strip-item {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 0.5rem;
  border-radius: var(--radius);
}
.strip-item svg {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-top: 2px;
}
.strip-item strong {
  display: block;
  color: var(--teal-950);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
  font-weight: 800;
}
.strip-item a, .strip-item span {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.45;
}
.strip-item a:hover { color: var(--coral-700); text-decoration: underline; }

/* —— CTA band —— */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255,255,255,0.12), transparent 50%),
    linear-gradient(135deg, var(--coral-600) 0%, var(--coral-800) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.cta-band p {
  color: rgba(255,255,255,0.94);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-size: 1.08rem;
}
.cta-band .btn-secondary {
  background: var(--white);
  color: var(--coral-800);
  border-color: var(--white);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.cta-band .btn-secondary:hover {
  background: var(--gold-100);
  color: var(--coral-800);
  border-color: var(--gold-100);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 95% 20%, rgba(232, 188, 58, 0.2), transparent 50%),
    linear-gradient(135deg, var(--teal-50) 0%, var(--cream) 55%, var(--gold-50) 100%);
  padding: 3rem 0 2.75rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lead {
  color: var(--ink-muted);
  max-width: 42rem;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.6;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* —— Content layout —— */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }

.two-col {
  display: grid;
  gap: 2.25rem;
}
@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3.25rem;
    align-items: start;
  }
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--gold-500);
}
.sidebar-card dl { margin: 0; }
.sidebar-card dt {
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-800);
  margin-top: 1.05rem;
}
.sidebar-card dt:first-child { margin-top: 0; }
.sidebar-card dd {
  margin: 0.3rem 0 0;
  color: var(--ink-muted);
  font-weight: 600;
}
.sidebar-card dd a {
  text-decoration: none;
  font-weight: 700;
}
.sidebar-card dd a:hover { text-decoration: underline; }

/* —— Program jump nav —— */
.program-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.program-jump a {
  display: inline-flex;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--teal-800);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.program-jump a:hover {
  background: var(--teal-100);
  border-color: var(--teal-600);
  color: var(--teal-950);
}

/* —— Program groups —— */
.program-group {
  margin-bottom: 3.25rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.program-group:last-child { margin-bottom: 0; }
.program-group > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.program-group > .group-intro {
  color: var(--ink-muted);
  margin-bottom: 1.6rem;
  max-width: 42rem;
  font-size: 1.05rem;
}

.program-list {
  display: grid;
  gap: 1rem;
}
.program-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  display: grid;
  gap: 0.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.program-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
@media (min-width: 600px) {
  .program-item {
    grid-template-columns: 150px 1fr;
    gap: 1.35rem;
    align-items: baseline;
  }
}
.program-item .ages {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--coral-800);
  background: var(--coral-100);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  text-align: center;
  white-space: nowrap;
}
.program-item h3 {
  font-size: 1.12rem;
  margin: 0 0 0.3em;
}
.program-item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* —— Steps —— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 1.15rem;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.4rem 4.75rem;
  position: relative;
  margin: 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.steps li:hover { box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.3rem;
  width: 2.55rem;
  height: 2.55rem;
  background: linear-gradient(145deg, var(--teal-700), var(--teal-900));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--font);
  box-shadow: 0 4px 12px rgba(107, 127, 94, 0.28);
}

/* —— Callout —— */
.callout-note {
  background: var(--gold-50);
  border: 2px dashed var(--gold-600);
  border-radius: var(--radius);
  padding: 1.35rem 1.45rem;
  margin: 1.5rem 0;
}
.callout-note strong {
  display: block;
  color: var(--gold-800);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.45rem;
  font-weight: 800;
}
.callout-note p { margin: 0; color: var(--ink); }
.callout-note.solid { border-style: solid; }

/* —— Form —— */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--teal-950);
  margin-bottom: 0.4rem;
}
.form-row .hint {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(107, 127, 94, 0.18);
}
.form-row textarea { min-height: 150px; resize: vertical; }
.form-actions { margin-top: 1.6rem; }
.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
  margin-bottom: 0;
  line-height: 1.55;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-weight: 800;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.info-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  gap: 0.2rem;
  margin: 0;
}
.info-list li:last-child { border-bottom: none; }
.info-list strong {
  color: var(--teal-950);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
}
.info-list a { font-weight: 700; text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

/* —— Feature list —— */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.feature-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.85rem;
  margin: 0;
  color: var(--ink-muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 11px;
  height: 11px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-100);
}

/* —— Services chips —— */
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  justify-content: center;
}
.service-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-800);
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, var(--teal-900) 0%, var(--teal-950) 100%);
  color: rgba(255,255,255,0.88);
  padding: 3.25rem 0 1.6rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.75rem;
  }
}
@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  }
}
.site-footer h3 {
  color: var(--gold-500);
  font-size: 0.8rem;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.05rem;
  font-weight: 800;
}
.site-footer p { margin-bottom: 0.75rem; line-height: 1.55; }
.site-footer a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold-500);
  text-decoration: underline;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: 0.5rem; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.footer-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 0.3rem;
  flex-shrink: 0;
}
.footer-wordmark {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 0.3rem 0.55rem;
}
.footer-brand strong {
  color: var(--white);
  font-size: 1.05rem;
  font-family: var(--font-display);
  line-height: 1.25;
}
.footer-hours {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 1.35rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* —— Misc —— */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
}
.pill {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-800);
  box-shadow: var(--shadow-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal-950);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0 0 10px 10px;
}
.skip-link:focus {
  left: 1rem;
  top: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

.center-block {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}
.center-block p { color: var(--ink-muted); }

.text-muted { color: var(--ink-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }

button.btn {
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .pillar, .btn, .program-item, .steps li {
    transition: none;
  }
  .card:hover, .pillar:hover { transform: none; }
}

/* Real media: hero photo + archive/WP photo strips */
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(42, 33, 24, 0.16);
}
.hero-art-frame {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.photo-strip-section {
  padding-top: 1.5rem;
}
.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-strip-secondary { grid-template-columns: repeat(4, 1fr); }
}
.photo-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream, #fff8f0);
  box-shadow: 0 8px 24px rgba(42, 33, 24, 0.1);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}
.site-footer {
  background-image: linear-gradient(180deg, rgba(42,33,24,0.94), rgba(42,33,24,0.98)), url("assets/sand-dunes.png");
  background-size: cover;
  background-position: center top;
}
@media (max-width: 900px) {
  .logo-img { height: 40px; }
  .hero-photo { aspect-ratio: 16 / 11; }
}

/* Dual archive logo (lamp + 2019 wordmark) + media polish */
.logo { gap: 0.55rem; align-items: center; }


/* —— Redesign: photography-forward layouts —— */
.hero-photo-forward .hero-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-photo-forward .hero-grid {
    grid-template-columns: 0.95fr 1.15fr;
    gap: 2.5rem;
    align-items: center;
  }
}
.hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5 / 4;
  display: block;
}
@media (min-width: 900px) {
  .hero-banner img { aspect-ratio: 4 / 3; min-height: 420px; }
}
.hero-banner-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(transparent, rgba(42,33,24,0.72));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.photo-card figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-weight: 600;
  line-height: 1.4;
  background: var(--white);
}
.photo-card.has-caption img { aspect-ratio: 5 / 4; }
.photo-trio {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .photo-trio { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

.program-photo-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.program-photo-card .program-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}
.program-photo-card .program-photo-body {
  padding: 1.25rem 1.35rem 1.45rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-photo-card .program-photo-body .card-link { margin-top: auto; }

.about-asymmetric {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .about-asymmetric {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .about-asymmetric.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .about-asymmetric.reverse .about-asymmetric-media { order: 2; }
  .about-asymmetric.reverse .about-asymmetric-copy { order: 1; }
}
.about-asymmetric-media {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1.2fr 0.8fr;
}
.about-asymmetric-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-asymmetric-media .tall {
  grid-row: span 2;
  min-height: 280px;
  aspect-ratio: 3 / 4;
}
.about-asymmetric-media .wide {
  aspect-ratio: 4 / 3;
}

.moment-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .moment-grid { grid-template-columns: repeat(3, 1fr); }
}
.moment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.moment-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.moment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.moment-card .moment-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.moment-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.moment-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.contact-with-photo {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-with-photo {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }
}
.contact-side-photo {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.contact-side-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  min-height: 320px;
}
.contact-side-photo figcaption {
  padding: 1rem 1.15rem;
  background: var(--cream-deep);
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Soften enrich-band for sage/cream */
.enrich-band {
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(212,168,75,0.18), transparent 50%),
    linear-gradient(135deg, #3D3228 0%, #2A2118 55%, #4A5A40 100%) !important;
}

/* pages deploy nudge 2026-10-07T10:26:21-05:00 */
