/* =========================================================================
   Marietta Academy — style.css
   ---------------------------------------------------------------------------
   TABLE OF CONTENTS
   1.  CSS Variables (brand colors, type, spacing)
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Navigation
   6.  Hero Sections (Home + Inner Page)
   7.  Buttons
   8.  Cards (Feature, Program, Age, Testimonial, Team)
   9.  Stats / Trust Bar
   10. Forms
   11. Footer
   12. Gallery
   13. Tables
   14. Accordion (FAQ)
   15. Process / Steps
   16. Scroll Reveal
   17. Skip Nav & Accessibility
   18. Reduced Motion
   19. Mobile Media Queries
   ========================================================================= */


/* ─── 1. CSS VARIABLES ───────────────────────────────────────────────── */
:root {
  /* Brand — pulled directly from the Marietta Academy shield logo:
     navy academic blue, sage/garden green leaves, sunrise-gold sun.
     A warm coral CTA accent ties everything together for conversion buttons. */
  --primary:        #1B3358;   /* Logo navy */
  --primary-dark:   #0F2447;   /* Hover / pressed */
  --primary-light:  #DCE5F1;   /* Soft navy wash */
  --primary-faint:  #F2F5FA;   /* Pale wash */

  --green:          #5C9D4A;   /* Logo leaves */
  --green-dark:     #3F7733;
  --green-light:    #E8F2E2;

  --accent:         #E76F51;   /* Warm coral — primary conversion CTA */
  --accent-dark:    #C7553A;
  --accent-light:   #FBE2DA;

  --gold:           #F2A93C;   /* Logo sunrise gold — joyful highlights */
  --gold-light:     #FDF1DA;

  /* Neutrals */
  --navy:           #0F2747;   /* Deep navy for headings */
  --navy-soft:      #1F3A5F;
  --white:          #FFFFFF;
  --off-white:      #F8FAFC;
  --cream:          #FFF7E6;   /* Warm section background */
  --cream-soft:     #FFFBF0;

  --text-dark:      #1F2937;   /* Primary body text */
  --text-medium:    #4B5563;   /* Secondary text */
  --text-muted:     #6B7280;   /* Captions, labels */
  --border:         #E5E7EB;
  --border-soft:    #F1F5F9;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 36, 71, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 36, 71, 0.07);
  --shadow-md: 0 6px 20px rgba(15, 36, 71, 0.11);
  --shadow-lg: 0 14px 40px rgba(15, 36, 71, 0.15);
  --shadow-glow: 0 10px 30px rgba(27, 51, 88, 0.20);

  /* Typography */
  --font-heading: 'Nunito', 'Trebuchet MS', sans-serif;
  --font-body:    'Open Sans', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-w:      1200px;
  --max-w-narrow: 880px;
  --nav-height: 76px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --radius-pill:999px;
}


/* ─── 2. RESET & BASE ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--nav-height);
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--primary-light); color: var(--navy); }


/* ─── 3. TYPOGRAPHY ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.65rem, 4vw, 2.4rem);  font-weight: 800; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 3vw, 1.55rem);  font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
p  { font-size: 1.02rem; line-height: 1.75; color: var(--text-medium); }

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
  display: inline-block;
}
.section-eyebrow.eyebrow-accent { color: var(--accent); }
.section-eyebrow.eyebrow-gold   { color: var(--gold); }
.section-eyebrow.eyebrow-green  { color: var(--green); }

.section-title { color: var(--navy); margin-bottom: var(--space-md); }
.section-lead {
  font-size: 1.12rem;
  color: var(--text-medium);
  max-width: 660px;
  margin-bottom: var(--space-lg);
}
.section-center { text-align: center; }
.section-center .section-lead { margin-left: auto; margin-right: auto; }

.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-navy    { color: var(--navy); }


/* ─── 4. LAYOUT UTILITIES ────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section { padding: var(--space-2xl) var(--space-md); }
section.section-tight { padding: var(--space-xl) var(--space-md); }
section.section-cream { background: var(--cream); }
section.section-cream-soft { background: var(--cream-soft); }
section.section-light { background: var(--off-white); }
section.section-blue { background: var(--primary-faint); }
section.section-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: rgba(255,255,255,0.92);
}
section.section-navy h2, section.section-navy h3 { color: var(--white); }
section.section-navy p { color: rgba(255,255,255,0.78); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.split.split-3-2 { grid-template-columns: 3fr 2fr; }
.split.split-2-3 { grid-template-columns: 2fr 3fr; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto;
}
.two-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); max-width: var(--max-w); margin: 0 auto; }
.four-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); max-width: var(--max-w); margin: 0 auto; }

/* Photo framing utility */
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.tilt-l { transform: rotate(-1.2deg); }
.photo-frame.tilt-r { transform: rotate(1.2deg); }

/* Decorative accent shape — used behind hero images, etc. */
.deco-blob {
  position: absolute;
  background: var(--primary-light);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.7;
  z-index: -1;
}
.deco-blob.blob-coral { background: var(--accent-light); }
.deco-blob.blob-gold  { background: var(--gold-light); }


/* ─── 5. NAVIGATION ──────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-height);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
nav.site-nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.nav-logo-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Hide the tagline subtitle on narrower screens so nav has room */
@media (max-width: 1180px) {
  .nav-logo-text span { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0.8rem; right: 0.8rem;
  bottom: -3px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.35rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  margin-left: 0.4rem;
  box-shadow: 0 4px 14px rgba(249, 115, 86, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249, 115, 86, 0.45); }
.nav-cta.active::after { display: none; }

.header-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 60%, var(--gold) 100%);
  position: relative;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 32px;
  padding: 4px;
}
.hamburger span {
  width: 100%;
  height: 2.5px;
  background: var(--navy);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ─── 6. HERO SECTIONS ───────────────────────────────────────────────── */
.site-hero {
  position: relative;
  min-height: 88vh;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  background:
    radial-gradient(900px 500px at 90% 10%, var(--primary-faint), transparent 60%),
    radial-gradient(700px 400px at 0% 80%, var(--accent-light), transparent 60%),
    var(--white);
  overflow: hidden;
}
.site-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--primary-light);
  color: var(--navy);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-xs);
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-light);
}
.hero-title { color: var(--navy); margin-bottom: var(--space-md); }
.hero-title .highlight {
  position: relative;
  background: linear-gradient(120deg, transparent 0%, transparent 50%, var(--gold-light) 50%, var(--gold-light) 100%);
  padding: 0 0.1em;
}
.hero-sub { font-size: 1.14rem; margin-bottom: var(--space-xl); color: var(--text-medium); max-width: 560px; }
.hero-actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex; gap: var(--space-lg); margin-top: var(--space-xl);
  flex-wrap: wrap; align-items: center;
}
.hero-meta-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text-medium); font-weight: 600;
}
.hero-meta-item .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-photo {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,39,71,0.25));
  z-index: 1;
}
.hero-badge-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.75rem;
  z-index: 3;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-badge-card .icon-square {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.hero-badge-card.card-tl { top: 8%; left: -4%; }
.hero-badge-card.card-br { bottom: 8%; right: -4%; }
.hero-badge-card.card-tl .icon-square { background: var(--accent-light); color: var(--accent); }
.hero-badge-card.card-br .icon-square { background: var(--primary-light); color: var(--primary); }

/* Decorative blobs behind hero photo */
.hero-visual .deco-blob.blob-1 { top: -20px; right: -30px; width: 220px; height: 220px; }
.hero-visual .deco-blob.blob-2 { bottom: -30px; left: -40px; width: 180px; height: 180px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 350px at 80% 0%, rgba(37,99,235,0.35), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(249,115,86,0.25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: var(--space-3xl) var(--space-md) var(--space-2xl);
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,0.06) 1px, transparent 1px),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}
.page-hero-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .section-eyebrow { color: var(--gold); }
.page-hero h1, .page-hero .section-title { color: var(--white); margin-bottom: var(--space-md); }
.page-hero .section-lead { color: rgba(255,255,255,0.85); margin: 0 auto; max-width: 620px; }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-md);
  display: flex; gap: 0.5rem; justify-content: center; align-items: center;
  flex-wrap: wrap;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.page-hero .breadcrumb .sep { opacity: 0.5; }


/* ─── 7. BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1.2;
  min-height: 48px; /* mobile tap target */
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(249, 115, 86, 0.30);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(249, 115, 86, 0.40);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-shadow: none;
}
.btn-ghost:hover { color: var(--primary-dark); transform: translateX(3px); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; min-height: 40px; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.05rem; }

.btn .arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }


/* ─── 8. CARDS ───────────────────────────────────────────────────────── */

/* Generic feature card */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.feature-card h3 { color: var(--navy); margin-bottom: 0.65rem; }
.feature-card p  { font-size: 0.97rem; color: var(--text-medium); margin: 0; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  margin-bottom: var(--space-md);
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}
.feature-icon.icon-accent { background: var(--accent-light); color: var(--accent); }
.feature-icon.icon-gold   { background: var(--gold-light);   color: var(--gold); }
.feature-icon.icon-navy   { background: rgba(15,36,71,0.08); color: var(--navy); }
.feature-icon.icon-green  { background: var(--green-light);  color: var(--green-dark); }

/* Program / Age-group card with image */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--border-soft);
  display: flex; flex-direction: column;
  height: 100%;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.program-card-img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  background: var(--primary-light);
  transition: transform 0.5s ease;
}
.program-card:hover .program-card-img { transform: scale(1.04); }
.program-card-img-wrap { overflow: hidden; position: relative; }
.program-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.program-card-tag.tag-accent { color: var(--accent); }
.program-card-tag.tag-gold   { color: var(--gold); }

.program-card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.program-card-body h3 { margin-bottom: 0.5rem; color: var(--navy); }
.program-card-body .age-range {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.program-card-body p { margin-bottom: var(--space-md); }
.program-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
  font-size: 0.85rem;
  color: var(--text-medium);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-soft);
  margin-top: auto;
}
.program-card-meta strong { color: var(--navy); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }

/* Testimonial card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  border-top: 4px solid var(--accent);
  display: flex; flex-direction: column;
  height: 100%;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 4px; left: 14px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent-light);
  line-height: 1;
  font-weight: 800;
  pointer-events: none;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  position: relative;
  z-index: 1;
  font-size: 1rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: auto;
}
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 1rem;
}
.testimonial-meta strong { display: block; color: var(--navy); font-weight: 700; font-size: 0.95rem; }
.testimonial-meta span { font-size: 0.82rem; color: var(--text-muted); }

/* Team card */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--primary-light);
  object-fit: cover;
}
.team-card .team-body { padding: var(--space-md); }
.team-card h4 { color: var(--navy); margin-bottom: 0.25rem; }
.team-card .team-role { font-size: 0.85rem; color: var(--primary); font-weight: 700; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.9rem; color: var(--text-medium); }

/* Trust / value strip */
.value-strip {
  background: var(--cream-soft);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}


/* ─── 9. STATS / TRUST BAR ───────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  padding: var(--space-xl) var(--space-md);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(180deg, #fff, #DBEAFE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-item span { color: rgba(255,255,255,0.78); font-size: 0.92rem; font-weight: 600; }


/* ─── 10. FORMS ──────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: var(--space-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}
label .req { color: var(--accent); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

textarea { min-height: 140px; resize: vertical; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.form-success {
  background: #E6F9EE;
  color: #0F5132;
  border: 1px solid #BADCC2;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  font-weight: 600;
}

.honeypot { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }


/* ─── 11. FOOTER ─────────────────────────────────────────────────────── */
footer.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, #0a1c34 100%);
  color: rgba(255,255,255,0.78);
  position: relative;
  overflow: hidden;
}
footer.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--gold));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: var(--space-2xl);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}
.footer-brand p { font-size: 0.92rem; opacity: 0.75; line-height: 1.7; max-width: 320px; }
.footer-brand .footer-tag {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: var(--space-md);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  margin-bottom: var(--space-md);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.93rem;
  margin-bottom: 0.7rem;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: var(--white); transform: translateX(3px); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.footer-contact-item .icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.footer-contact-item a { color: rgba(255,255,255,0.78); }
.footer-contact-item a:hover { color: var(--white); }

.footer-social { display: flex; gap: 0.6rem; margin-top: var(--space-md); }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-md);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p { font-size: 0.82rem; opacity: 0.65; color: rgba(255,255,255,0.65); }
.footer-bottom a { color: rgba(255,255,255,0.75); }
.footer-bottom a:hover { color: var(--white); }
.footer-license {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; opacity: 0.7;
}


/* ─── 12. GALLERY ────────────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.gallery-filter {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-filter:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: var(--max-w);
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  background: linear-gradient(180deg, transparent, rgba(15,39,71,0.85));
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); opacity: 1; }
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 39, 71, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  z-index: 9999;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }


/* ─── 13. TABLES ─────────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  background: var(--white);
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}
table.data-table th, table.data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
table.data-table th {
  background: var(--primary-faint);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: var(--off-white); }
table.data-table td strong { color: var(--navy); font-weight: 700; }


/* ─── 14. ACCORDION (FAQ) ────────────────────────────────────────────── */
.accordion { max-width: var(--max-w-narrow); margin: 0 auto; }
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.accordion-item.open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.accordion-trigger:hover { color: var(--primary); }
.accordion-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-content-inner {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-medium);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ─── 15. PROCESS / STEPS ───────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-number {
  position: absolute;
  top: -22px; left: var(--space-lg);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.step-card:nth-child(2) .step-number { background: var(--accent); }
.step-card:nth-child(3) .step-number { background: var(--gold); }
.step-card:nth-child(4) .step-number { background: var(--navy); }
.step-card h3 { margin-top: 0.5rem; margin-bottom: 0.5rem; font-size: 1.15rem; }
.step-card p { font-size: 0.95rem; margin: 0; }

/* Inline check list */
.check-list { list-style: none; padding: 0; margin: var(--space-md) 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--text-medium);
  line-height: 1.65;
  font-size: 0.98rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.check-list.check-accent li::before { background: var(--accent-light); color: var(--accent); }


/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #1b2c83 100%);
  color: var(--white);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.cta-banner::before {
  background: rgba(249, 115, 86, 0.25);
  width: 300px; height: 300px;
  top: -120px; right: -80px;
  filter: blur(60px);
}
.cta-banner::after {
  background: rgba(245, 158, 11, 0.2);
  width: 260px; height: 260px;
  bottom: -100px; left: -60px;
  filter: blur(50px);
}
.cta-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-md); }
.cta-banner p { color: rgba(255,255,255,0.88); margin-bottom: var(--space-lg); font-size: 1.1rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-actions { justify-content: center; }

/* Info card (used for contact, schedule, etc.) */
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .feature-icon { margin-left: auto; margin-right: auto; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.info-card p { font-size: 0.94rem; margin-bottom: 0.6rem; }
.info-card a { color: var(--primary); font-weight: 700; }
.info-card a:hover { color: var(--primary-dark); text-decoration: underline; }


/* ─── 16. SCROLL REVEAL ──────────────────────────────────────────────── */
/* Only hide reveals when the JS-enabled class is on <html>. If JS fails or
   doesn't load, all content stays visible — no white-page disasters. */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-enabled .reveal.revealed { opacity: 1; transform: translateY(0); }
.js-enabled .reveal-d1 { transition-delay: 0.08s; }
.js-enabled .reveal-d2 { transition-delay: 0.16s; }
.js-enabled .reveal-d3 { transition-delay: 0.24s; }
.js-enabled .reveal-d4 { transition-delay: 0.32s; }

/* Subtle float animation for hero decorative cards */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.float-anim { animation: float-gentle 4s ease-in-out infinite; }
.float-anim-delay { animation-delay: 1.5s; }


/* ─── 17. SKIP NAV & ACCESSIBILITY ───────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100px;
  left: var(--space-sm);
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}


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


/* ─── 19. MOBILE MEDIA QUERIES ───────────────────────────────────────── */
@media (max-width: 1080px) {
  /* Switch to hamburger sooner — 8 nav items + CTA don't fit comfortably
     below ~1080px on most screens, and we'd rather collapse early than wrap. */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg) var(--space-md) var(--space-2xl);
    gap: 0.25rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.05rem;
    padding: 0.9rem 0.5rem;
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--primary-light); }
  .nav-cta {
    margin: var(--space-md) 0 0 0 !important;
    text-align: center !important;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { max-width: 460px; }
}

@media (max-width: 768px) {
  /* Hero */
  .site-hero { min-height: auto; padding: var(--space-xl) var(--space-md); }
  .site-hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-content { max-width: 100%; }
  .hero-visual { order: -1; }
  .hero-photo { max-width: 100%; aspect-ratio: 4/3; }
  .hero-badge-card.card-tl { left: 8px; top: 12px; padding: 0.55rem 0.7rem; font-size: 0.75rem; }
  .hero-badge-card.card-br { right: 8px; bottom: 12px; padding: 0.55rem 0.7rem; font-size: 0.75rem; }
  .hero-meta { gap: var(--space-md); }

  /* Page hero */
  .page-hero { padding: var(--space-2xl) var(--space-md) var(--space-xl); }

  /* Grids */
  .split, .split.split-3-2, .split.split-2-3 { grid-template-columns: 1fr; gap: var(--space-xl); }
  .features-grid { grid-template-columns: 1fr; }
  .two-grid { grid-template-columns: 1fr; }
  .four-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: var(--space-xl); }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: var(--space-xl); padding: var(--space-xl) var(--space-md); }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Buttons */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-banner .hero-actions { flex-direction: column; align-items: stretch; }

  /* Sections */
  section { padding: var(--space-xl) var(--space-md); }

  /* Form card */
  .form-card { padding: var(--space-lg); }

  /* Tilt photos: remove on mobile */
  .photo-frame.tilt-l, .photo-frame.tilt-r { transform: none; }
}

@media (max-width: 480px) {
  .four-grid { grid-template-columns: 1fr; }
  .nav-logo-text strong { font-size: 1rem; }
  .nav-logo img { height: 36px; }
}

/* Print styles */
@media print {
  nav.site-nav, .hamburger, .nav-cta, footer.site-footer, .cta-banner { display: none; }
  body { padding-top: 0; }
  a { color: var(--text-dark); text-decoration: underline; }
}


/* ─── 20. EXTENDED COMPONENTS (integrated from learn folder content) ─── */

/* Backwards-compat alias kept so older class names still work */
.feature-icon.icon-teal { background: var(--green-light); color: var(--green-dark); }

/* Director's Message — photo-aside-quote layout */
.director-message {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.director-card {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.director-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.director-card h3 { color: var(--navy); margin-bottom: 0.25rem; }
.director-card .director-title {
  font-family: var(--font-heading);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.director-message-body {
  font-size: 1.05rem;
  line-height: 1.85;
}
.director-message-body p { margin-bottom: var(--space-md); color: var(--text-medium); }
.director-message-body p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary);
  float: left;
  line-height: 0.95;
  margin: 0.1rem 0.7rem 0 0;
}
.director-signature {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--navy);
}
.director-signature strong { display: block; font-size: 1.15rem; font-style: normal; }

/* Quality Rated star badge */
.quality-rated-banner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-md);
}
.quality-rated-banner img {
  width: 90px; height: auto;
  flex-shrink: 0;
}
.quality-rated-banner .qr-text strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.1rem;
}
.quality-rated-banner .qr-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.quality-rated-stars {
  display: inline-flex;
  gap: 0.2rem;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

/* Value-pillar card (used on About, Quality Rated) */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  height: 100%;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-card.pillar-green  { border-left-color: var(--green); }
.pillar-card.pillar-gold   { border-left-color: var(--gold); }
.pillar-card.pillar-accent { border-left-color: var(--accent); }
.pillar-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}
.pillar-card h3 .icon-emoji { font-size: 1.4rem; }
.pillar-card p { font-size: 0.97rem; margin: 0; }

/* Resource Links (Kids Corner) */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-w);
  margin: 0 auto;
}
.resource-column {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.resource-column h3 {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--navy);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px dashed var(--border);
}
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.2s, padding-left 0.2s;
}
.resource-list li:last-child { border-bottom: none; }
.resource-list li:hover {
  background: var(--primary-faint);
  padding-left: 1rem;
  border-radius: var(--radius-sm);
}
.resource-list .resource-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gold-light);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.resource-list li:nth-child(even) .resource-icon { background: var(--green-light); color: var(--green-dark); }
.resource-list a {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.resource-list a strong {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 1px;
}
.resource-list a span { font-size: 0.83rem; color: var(--text-muted); }

/* Policy section card */
.policy-section {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--space-md);
}
.policy-section h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  margin-bottom: var(--space-md);
  font-size: 1.15rem;
}
.policy-section h3 .icon-emoji { font-size: 1.4rem; }
.policy-section h4 {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: var(--space-md);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.policy-section p { font-size: 0.97rem; margin-bottom: 0.75rem; }
.policy-section ul { padding-left: 1.3rem; margin-bottom: var(--space-md); }
.policy-section ul li { font-size: 0.97rem; color: var(--text-medium); margin-bottom: 0.45rem; line-height: 1.6; }

/* Highlights grid (used for program-specific feature bullets) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.highlight-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.highlight-card .icon-emoji {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.highlight-card strong {
  font-family: var(--font-heading);
  color: var(--navy);
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.97rem;
}
.highlight-card span {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.55;
}

/* Hero photo collage (multi-image artistic arrangement) */
.hero-collage {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1/1.05;
}
.hero-collage .col-photo {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--primary-light);
}
.hero-collage .col-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .col-photo.col-main {
  top: 0; left: 8%; width: 62%; aspect-ratio: 3/4;
  z-index: 2; box-shadow: var(--shadow-lg);
}
.hero-collage .col-photo.col-sm-1 {
  top: 18%; right: 0; width: 38%; aspect-ratio: 1/1;
  z-index: 3;
}
.hero-collage .col-photo.col-sm-2 {
  bottom: 0; left: 0; width: 42%; aspect-ratio: 4/3;
  z-index: 3;
}
.hero-collage .col-photo.col-sm-3 {
  bottom: 6%; right: 6%; width: 36%; aspect-ratio: 3/4;
  z-index: 4;
}

/* Mini hero slider (rotating taglines) */
.hero-rotating {
  display: inline-block;
  position: relative;
  color: var(--accent);
  min-height: 1.2em;
}
.hero-rotating::after {
  content: '|';
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  animation: blink 1.1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

/* Featured stat (for credibility moments) */
.featured-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
}
.featured-stat .number {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 800;
}

/* Hours table — clean, easy to scan */
.hours-table {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.hours-table dt, .hours-table dd { display: inline-block; }
.hours-table dl { display: grid; grid-template-columns: 110px 1fr; gap: 0.55rem 1rem; }
.hours-table dt {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}
.hours-table dd {
  color: var(--text-medium);
  font-size: 0.95rem;
}
.hours-table dd.closed { color: var(--accent); font-weight: 600; }

/* Curriculum banner (for Programs / Curriculum page) */
.curriculum-banner {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  border: 1px solid var(--green-light);
}
.curriculum-banner .badge {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-xs);
}
.curriculum-banner h3 { color: var(--navy); margin-bottom: var(--space-md); font-size: 1.6rem; }
.curriculum-banner p  { color: var(--text-medium); max-width: 720px; margin: 0 auto var(--space-sm); }

/* Mobile adjustments for new components */
@media (max-width: 768px) {
  .director-message { grid-template-columns: 1fr; gap: var(--space-xl); }
  .director-card { position: relative; top: 0; }
  .director-avatar { width: 140px; height: 140px; font-size: 3rem; }
  .director-message-body p:first-of-type::first-letter { font-size: 2.6rem; }
  .resource-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .hero-collage { aspect-ratio: 4/3; max-width: 100%; }
  .hero-collage .col-photo.col-main { left: 0; width: 60%; }
  .hero-collage .col-photo.col-sm-1 { width: 36%; }
  .hero-collage .col-photo.col-sm-2 { width: 40%; }
  .hero-collage .col-photo.col-sm-3 { width: 34%; }
  .hours-table dl { grid-template-columns: 80px 1fr; }
  .quality-rated-banner { flex-direction: column; text-align: center; }
}


/* =========================================================================
   21. THEMED POLISH LAYER — Marietta Academy
   ---------------------------------------------------------------------------
   Additions specifically for the daycare theme: hand-drawn accents,
   floating classroom shapes, page-flow dividers, age-finder widget,
   confetti, and mobile polish. All animations honor prefers-reduced-motion.
   ========================================================================= */


/* ─── 21.1 SCROLL PROGRESS BAR ───────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--green));
  z-index: 1100;
  transition: width 0.12s ease-out;
  pointer-events: none;
}


/* ─── 21.2 CRAYON-STYLE UNDERLINE ACCENT ─────────────────────────────── */
/* Hand-drawn squiggle that sits under a key word. Use:
   <span class="crayon">word</span> */
.crayon {
  position: relative;
  display: inline-block;
  padding-bottom: 0.18em;
}
.crayon::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0;
  height: 0.55em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 8 Q 30 1, 60 7 T 120 7 T 198 6' stroke='%23F2A93C' stroke-width='4' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
  opacity: 0.9;
}
.crayon.crayon-coral::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 8 Q 30 1, 60 7 T 120 7 T 198 6' stroke='%23E76F51' stroke-width='4' fill='none' stroke-linecap='round'/></svg>");
}
.crayon.crayon-green::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 8 Q 30 1, 60 7 T 120 7 T 198 6' stroke='%235C9D4A' stroke-width='4' fill='none' stroke-linecap='round'/></svg>");
}

/* Same effect, animated to draw in on view */
.js-enabled .crayon.draw::after {
  background-size: 0% 100%;
  transition: background-size 0.9s cubic-bezier(0.5, 0, 0.25, 1) 0.25s;
}
.js-enabled .crayon.draw.revealed::after {
  background-size: 100% 100%;
}


/* ─── 21.3 FLOATING CLASSROOM SHAPES (decorative) ────────────────────── */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.floating-shape {
  position: absolute;
  font-size: 2.2rem;
  opacity: 0.18;
  animation: float-soft 12s ease-in-out infinite;
  filter: saturate(0.85);
}
.floating-shape.s-1 { top:  8%; left:  6%; animation-delay:  0s; }
.floating-shape.s-2 { top: 22%; right: 8%; animation-delay: -3s; font-size: 1.8rem; }
.floating-shape.s-3 { bottom: 18%; left: 12%; animation-delay: -6s; font-size: 2.6rem; }
.floating-shape.s-4 { bottom: 8%; right: 14%; animation-delay: -2s; font-size: 1.6rem; }
.floating-shape.s-5 { top: 60%; left: 38%; animation-delay: -8s; font-size: 1.4rem; opacity: 0.12; }
@keyframes float-soft {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(8px, -14px) rotate(6deg); }
  66%      { transform: translate(-6px, 12px) rotate(-4deg); }
}

/* ─── 21.5 AGE-FINDER WIDGET ─────────────────────────────────────────── */
.age-finder {
  background: linear-gradient(135deg, var(--white) 0%, var(--primary-faint) 100%);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.age-finder::before {
  content: '🎯';
  position: absolute;
  top: -20px; right: -20px;
  font-size: 8rem;
  opacity: 0.06;
  transform: rotate(-12deg);
  pointer-events: none;
}
.age-finder h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 1.4rem;
}
.age-finder .helper { font-size: 0.95rem; color: var(--text-medium); margin-bottom: var(--space-lg); }
.age-finder .age-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}
.age-finder .age-row > div label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.35rem;
}
.age-finder input, .age-finder select { padding: 0.85rem 1rem; font-size: 1rem; }
.age-finder .find-btn {
  padding: 0.95rem 1.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  min-height: 48px;
}
.age-finder .find-btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.age-result {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--green-light);
  display: none;
  animation: pop-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.age-result.show { display: flex; gap: var(--space-md); align-items: center; }
.age-result .icon {
  font-size: 2.6rem;
  background: var(--green-light);
  color: var(--green-dark);
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.age-result .meta { flex: 1; min-width: 0; }
.age-result .meta strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.1rem;
}
.age-result .meta span { font-size: 0.9rem; color: var(--text-medium); }
.age-result a {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.age-result a:hover { text-decoration: underline; }

@keyframes pop-in {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ─── 21.6 CONFETTI BURST ────────────────────────────────────────────── */
.confetti-piece {
  position: fixed;
  width: 10px; height: 14px;
  pointer-events: none;
  z-index: 10000;
  will-change: transform, opacity;
}

/* ─── 21.7 PROGRAM CARD HOVER POLISH ─────────────────────────────────── */
.program-card .program-card-tag { transition: transform 0.3s ease; }
.program-card:hover .program-card-tag { transform: rotate(-3deg) scale(1.06); }
.program-card { position: relative; }
.program-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: var(--gold);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-top-right-radius: var(--radius-lg);
  z-index: 2;
}
.program-card:hover::before { opacity: 0.85; }

/* ─── 21.8 STEP CARD INTERACTIVE ENROLLMENT POLISH ───────────────────── */
.step-card { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s; }
.step-card:hover .step-number { transform: scale(1.15) rotate(-6deg); box-shadow: var(--shadow-lg); }
.step-card .step-number { transition: transform 0.3s, box-shadow 0.3s; }

/* ─── 21.9 GALLERY ITEM HOVER POLISH ─────────────────────────────────── */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 5;
}
.gallery-item:hover::after { opacity: 1; transform: scale(1); }

/* ─── 21.10 TESTIMONIAL CARD POLISH ──────────────────────────────────── */
.testimonial-card { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.3s; }
.testimonial-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

/* ─── 21.11 HERO BADGE PULSE ─────────────────────────────────────────── */
.hero-badge .dot { animation: pulse-soft 2.4s ease-in-out infinite; }
@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-light), 0 0 0 0 rgba(231, 111, 81, 0.45); }
  50%      { box-shadow: 0 0 0 3px var(--accent-light), 0 0 0 8px rgba(231, 111, 81, 0); }
}

/* ─── 21.12 MOBILE NAV PANEL POLISH ──────────────────────────────────── */
/* Full-height drawer with all links visible at once. Forces the height
   explicitly so the panel always covers the full viewport below the nav. */
@media (max-width: 1080px) {
  .nav-links {
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%) !important;
    box-shadow: 0 10px 40px rgba(15, 36, 71, 0.18) !important;
    height: calc(100vh - var(--nav-height)) !important;
    max-height: calc(100vh - var(--nav-height)) !important;
    padding: var(--space-md) var(--space-md) var(--space-2xl) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a {
    border-bottom: 1px solid var(--border-soft);
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    opacity: 1 !important;
    transform: none !important;
  }
  .nav-links a::before {
    content: '›';
    color: var(--accent);
    font-weight: 800;
    font-size: 1.1rem;
    opacity: 0.6;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-links a:hover::before,
  .nav-links a.active::before { transform: translateX(3px); opacity: 1; }
  /* Soft fade-in for the whole panel — no per-link gating. */
  .nav-links.open { animation: menu-panel-in 0.25s ease-out; }
}
@keyframes menu-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 21.13 BUTTON SHIMMER ON HOVER ──────────────────────────────────── */
.btn-accent, .btn-primary { position: relative; overflow: hidden; }
.btn-accent::before, .btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-accent:hover::before, .btn-primary:hover::before { left: 140%; }

.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(242, 169, 60, 0.5); }

/* ─── 21.14 STEP CONNECTOR (dashed) ──────────────────────────────────── */
@media (min-width: 769px) {
  .steps { position: relative; }
  .steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 2px;
    background-image: linear-gradient(90deg, var(--primary-light) 50%, transparent 50%);
    background-size: 12px 2px;
    background-repeat: repeat-x;
    z-index: 0;
  }
  .step-card { position: relative; z-index: 1; }
}

/* ─── 21.15 MOBILE: SPACING & IMAGE FIXES ────────────────────────────── */
@media (max-width: 768px) {
  .page-hero { padding: var(--space-xl) var(--space-md) var(--space-lg); }
  .page-hero .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .page-hero .section-lead  { font-size: 1rem; }
  .stats-bar { padding: var(--space-lg) var(--space-md); }
  .stats-grid { gap: var(--space-md); }
  .stat-item strong { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .feature-card { padding: var(--space-md); }
  .feature-card h3 { font-size: 1.05rem; }
  .cta-banner { padding: var(--space-xl) var(--space-md); }
  .cta-banner h2 { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .footer-tag { font-size: 0.85rem; }
  .age-finder { padding: var(--space-lg); }
  .age-finder .age-row { grid-template-columns: 1fr 1fr; }
  .age-finder .find-btn { grid-column: 1 / -1; }
  .age-result { flex-direction: column; text-align: center; }
  .age-result .icon { margin: 0 auto; }
  .director-message-body p:first-of-type::first-letter { font-size: 2.4rem; }
  .gallery-item::after { display: none; }
}

/* ─── 21.16 REDUCED-MOTION OVERRIDES ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .floating-shape { animation: none; opacity: 0.1; }
  .hero-badge .dot { animation: none; }
  .btn-accent::before, .btn-primary::before { display: none; }
  .scroll-progress { display: none; }
  .crayon::after { opacity: 0.6; }
  .js-enabled .crayon.draw::after,
  .js-enabled .crayon.draw.revealed::after { background-size: 100% 100%; transition: none; }
  .nav-links.open { animation: none; }
}
