/* ==========================================================================
   Nightingale School of Music — World of Music Camp
   Design System & Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. GOOGLE FONTS IMPORT
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');


/* --------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --blue:        #243A5E;
  --blue-dark:   #1a2c47;
  --blue-light:  #2e4a77;
  --gold:        #E6B35A;
  --gold-dark:   #c99840;
  --gold-light:  #f0c878;
  --teal:        #6BA6A5;
  --teal-dark:   #558d8c;
  --teal-light:  #8bbfbe;
  --bg:          #FAF8F4;
  --white:       #ffffff;
  --text:        #2B2B2B;
  --text-light:  #5a5a5a;
  --text-muted:  #8a8a8a;
  --border:      #e0dbd0;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;

  /* Font Sizes — fluid type scale */
  --text-xs:    0.75rem;   /* 12px */
  --text-sm:    0.875rem;  /* 14px */
  --text-base:  1rem;      /* 16px */
  --text-lg:    1.125rem;  /* 18px */
  --text-xl:    1.25rem;   /* 20px */
  --text-2xl:   1.5rem;    /* 24px */
  --text-3xl:   1.875rem;  /* 30px */
  --text-4xl:   2.25rem;   /* 36px */
  --text-5xl:   3rem;      /* 48px */
  --text-6xl:   3.75rem;   /* 60px */

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;

  /* Layout */
  --container-max:  1200px;
  --container-pad:  clamp(1rem, 5vw, 2rem);

  /* Borders & Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(36, 58, 94, 0.08), 0 1px 2px rgba(36, 58, 94, 0.04);
  --shadow-md:  0 4px 12px rgba(36, 58, 94, 0.10), 0 2px 4px rgba(36, 58, 94, 0.06);
  --shadow-lg:  0 10px 30px rgba(36, 58, 94, 0.12), 0 4px 8px rgba(36, 58, 94, 0.08);

  /* Transitions */
  --transition-fast:    150ms ease;
  --transition-base:    250ms ease;
  --transition-slow:    400ms ease;

  /* Navigation */
  --nav-height: 70px;

  /* Staff line decoration */
  --staff-color: rgba(36, 58, 94, 0.06);
  --staff-spacing: 10px;
}


/* --------------------------------------------------------------------------
   3. CSS RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

table {
  border-collapse: collapse;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
}


/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */

/* Headings — Playfair Display for elegance */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl)); }
h4 { font-size: clamp(var(--text-xl),  2vw, var(--text-2xl)); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

/* Linked text */
.content-link,
article a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.content-link:hover,
article a:hover {
  color: var(--blue);
}


/* --------------------------------------------------------------------------
   5. UTILITY CLASSES
   -------------------------------------------------------------------------- */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Section title with decorative staff underline */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-6);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  margin-top: var(--space-3);
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--teal) 60%, transparent 100%);
  border-radius: var(--radius-full);
  width: 80%;
}

/* Lead paragraph */
.lead {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-light);
}

/* Text alignment */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* Section title centered alignment fix */
.text-center .section-title::after {
  margin-inline: auto;
}

/* Screen-reader only */
.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;
}

/* Flex utilities */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.gap-4        { gap: var(--space-4); }
.gap-6        { gap: var(--space-6); }
.gap-8        { gap: var(--space-8); }

/* Spacing utilities */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }


/* --------------------------------------------------------------------------
   6. FOCUS STYLES (Accessibility)
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Remove default focus ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}


/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */

/* Base button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
  white-space: nowrap;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary button — gold */
.btn-primary {
  background-color: var(--gold);
  color: var(--text);
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(230, 179, 90, 0.35);
}

.btn-primary:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(230, 179, 90, 0.45);
}

.btn-primary:active {
  background-color: var(--gold-dark);
  box-shadow: none;
}

/* Secondary button — outline blue */
.btn-secondary {
  background-color: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(36, 58, 94, 0.25);
}

/* Secondary on dark backgrounds */
.btn-secondary-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* Large button variant */
.btn-lg {
  font-size: var(--text-lg);
  padding: 1.125rem 2.5rem;
}

/* Small button variant */
.btn-sm {
  font-size: var(--text-sm);
  padding: 0.625rem 1.25rem;
}


/* --------------------------------------------------------------------------
   8. NAVIGATION
   -------------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--blue);
  height: var(--nav-height);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
  color: var(--white);
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background-color: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-logo-tagline {
  font-size: var(--text-xs);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: color var(--transition-fast), background-color var(--transition-fast);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
  color: var(--gold);
  background-color: rgba(230, 179, 90, 0.12);
}

/* Nav CTA button */
.nav-cta {
  margin-left: var(--space-4);
}

/* Hamburger button (hidden on desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

/* Animated hamburger → X */
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blue-dark);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-8) var(--container-pad);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.nav-mobile[aria-hidden="false"] {
  transform: translateX(0);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.nav-mobile-links a {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color var(--transition-fast), padding-left var(--transition-base);
  display: block;
}

.nav-mobile-links a:hover,
.nav-mobile-links a.active {
  color: var(--gold);
  padding-left: var(--space-4);
}

.nav-mobile-cta {
  margin-top: var(--space-8);
}

.nav-mobile-cta .btn {
  width: 100%;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   9. DECORATIVE STAFF LINES
   -------------------------------------------------------------------------- */

/* Staff line pattern — subtle repeating horizontal lines */
.staff-lines {
  position: relative;
}

.staff-lines::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent calc(var(--staff-spacing) - 1px),
    var(--staff-color) calc(var(--staff-spacing) - 1px),
    var(--staff-color) var(--staff-spacing)
  );
  pointer-events: none;
  z-index: 0;
}

.staff-lines > * {
  position: relative;
  z-index: 1;
}

/* Staff accent on section headings */
.section-header {
  position: relative;
  padding-bottom: var(--space-12);
}

.section-header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 50px;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 8px,
    rgba(36, 58, 94, 0.04) 8px,
    rgba(36, 58, 94, 0.04) 9px
  );
  pointer-events: none;
}

/* Musical note decorative pseudo-element */
.section-title-note::before {
  content: '♩';
  font-size: 0.6em;
  color: var(--gold);
  margin-right: var(--space-2);
  vertical-align: middle;
  opacity: 0.7;
}


/* --------------------------------------------------------------------------
   10. SECTIONS — GENERAL
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

/* Alternating section backgrounds — all get consistent vertical breathing room */
.section--white {
  background-color: var(--white);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section--bg {
  background-color: var(--bg);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section--blue {
  background-color: var(--blue);
  color: var(--white);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.section--blue h1,
.section--blue h2,
.section--blue h3,
.section--blue h4,
.section--blue h5,
.section--blue h6 {
  color: var(--white);
}

.section--blue p {
  color: rgba(255, 255, 255, 0.85);
}

.section--blue .section-title::after {
  background: linear-gradient(90deg, var(--gold) 0%, var(--teal-light) 60%, transparent 100%);
}

.section--teal-light {
  background-color: rgba(107, 166, 165, 0.08);
}


/* --------------------------------------------------------------------------
   11. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  background-color: var(--blue);
  min-height: min(70vh, 680px);
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 10vw, 120px);
  position: relative;
  overflow: hidden;
}

/* Staff lines overlay on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 28px,
    rgba(255, 255, 255, 0.04) 28px,
    rgba(255, 255, 255, 0.04) 29px
  );
  pointer-events: none;
}

/* Radial glow accent */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: radial-gradient(
    ellipse at center,
    rgba(107, 166, 165, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--space-5);
}

.hero-eyebrow::before {
  content: '♪';
  font-size: 1.1em;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-description {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

/* Info pills container in hero */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}


/* --------------------------------------------------------------------------
   12. INFO PILLS
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.pill-icon {
  font-size: 1em;
  opacity: 0.85;
}

/* Pill variants for light backgrounds */
.pill--gold {
  background-color: rgba(230, 179, 90, 0.15);
  border-color: rgba(230, 179, 90, 0.40);
  color: var(--gold-dark);
}

.pill--teal {
  background-color: rgba(107, 166, 165, 0.15);
  border-color: rgba(107, 166, 165, 0.40);
  color: var(--teal-dark);
}

.pill--blue {
  background-color: rgba(36, 58, 94, 0.08);
  border-color: rgba(36, 58, 94, 0.20);
  color: var(--blue);
}


/* --------------------------------------------------------------------------
   13. CARDS
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  display: block;
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-3);
}

.card-body {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.7;
}

/* Card without hover lift (static) */
.card--static:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

/* Card with gold accent */
.card--gold {
  border-left-color: var(--gold);
}

/* Card with blue accent */
.card--blue {
  border-left-color: var(--blue);
}


/* --------------------------------------------------------------------------
   14. AGE GROUP CARDS GRID
   -------------------------------------------------------------------------- */
.age-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.age-group-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.age-group-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.age-group-card-header {
  padding: var(--space-6) var(--space-8);
  background-color: var(--blue);
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.age-group-card:nth-child(2) .age-group-card-header { background-color: var(--teal); }
.age-group-card:nth-child(3) .age-group-card-header { background-color: var(--blue-light); }
.age-group-card:nth-child(4) .age-group-card-header { background-color: var(--teal-dark); }

.age-group-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.age-group-card-header h3 {
  color: var(--white);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-1);
}

.age-group-range {
  font-size: var(--text-sm);
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.age-group-card-body {
  padding: var(--space-8);
}

.age-group-card-body p {
  color: var(--text-light);
  margin-bottom: var(--space-6);
}

.age-group-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.age-group-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text);
}

.age-group-feature::before {
  content: '♩';
  color: var(--gold);
  font-size: 0.9em;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   15. "WHAT KIDS LEARN" GRID
   -------------------------------------------------------------------------- */
.learn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.learn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;
}

.learn-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.learn-icon {
  font-size: 2.25rem;
  margin-bottom: var(--space-3);
  line-height: 1;
  display: block;
}

.learn-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}


/* --------------------------------------------------------------------------
   16. DIRECTOR / ABOUT SECTION
   -------------------------------------------------------------------------- */
.director-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.director-image-wrap {
  position: relative;
}

.director-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Gold accent line on director image */
.director-image-wrap::before {
  content: '';
  position: absolute;
  top: var(--space-4);
  left: calc(-1 * var(--space-4));
  width: 4px;
  height: 60%;
  background: linear-gradient(to bottom, var(--gold), var(--teal));
  border-radius: var(--radius-full);
}

/* Image placeholder when no real image */
.director-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
}

.director-image-placeholder .placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
  margin-bottom: var(--space-3);
}

.director-image-placeholder .placeholder-text {
  font-size: var(--text-sm);
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.director-content {
  padding-block: var(--space-4);
}

/* Gold accent line above director name */
.director-accent {
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--gold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.director-name {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  color: var(--blue);
  margin-bottom: var(--space-1);
}

.director-title {
  font-size: var(--text-lg);
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: var(--space-6);
}

.director-bio {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.director-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}


/* --------------------------------------------------------------------------
   17. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background-color: var(--blue);
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle staff lines on CTA */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 24px,
    rgba(255, 255, 255, 0.03) 24px,
    rgba(255, 255, 255, 0.03) 25px
  );
  pointer-events: none;
}

/* Gold arc decoration */
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  border-radius: 50%;
  border: 80px solid rgba(230, 179, 90, 0.06);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  margin-bottom: var(--space-4);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.80);
  font-size: var(--text-xl);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.cta-deadline {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}


/* --------------------------------------------------------------------------
   18. FAQ ACCORDION
   -------------------------------------------------------------------------- */

/* FAQ category headings (e.g., "About the Camp", "Logistics") */
.faq-category-heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--blue);
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  max-width: 800px;
  margin-inline: auto;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--gold);
  display: block;
}

.faq-category-heading:first-of-type {
  margin-top: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.faq-item.is-open {
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--blue);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.faq-question:hover {
  color: var(--teal-dark);
  background-color: rgba(107, 166, 165, 0.04);
}

.faq-item.is-open .faq-question {
  color: var(--blue);
  background-color: rgba(107, 166, 165, 0.06);
}

/* Chevron icon */
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base), background-color var(--transition-base), color var(--transition-base);
  font-size: var(--text-xs);
  font-style: normal;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* Collapsible answer — smooth height animation */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-slow);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 12px;
  color: var(--text-light);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  margin-top: 0;
}


/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--blue-dark);
  color: rgba(255, 255, 255, 0.80);
  padding-block: var(--space-16) var(--space-8);
  position: relative;
}

/* Top gold line */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--teal) 50%, var(--gold) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: var(--space-8);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  background-color: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}

.footer-logo-name {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: var(--space-6);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-contact-item {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.70);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-contact-item a {
  color: var(--gold-light);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

/* Footer nav columns */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: var(--space-2);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
}

.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--white);
}


/* --------------------------------------------------------------------------
   20. SCHEDULE / TABLE STYLES
   -------------------------------------------------------------------------- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.schedule-table th {
  background-color: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-4) var(--space-6);
  text-align: left;
}

.schedule-table td {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:nth-child(even) {
  background-color: rgba(107, 166, 165, 0.04);
}

.schedule-table tr:hover {
  background-color: rgba(107, 166, 165, 0.08);
}

.schedule-time {
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.schedule-activity {
  font-weight: 600;
  color: var(--text);
}

.schedule-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background-color: rgba(107, 166, 165, 0.15);
  color: var(--teal-dark);
}


/* --------------------------------------------------------------------------
   21. FORM STYLES (Registration)
   -------------------------------------------------------------------------- */
.form-section {
  max-width: 700px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-2);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: #c0392b;
  margin-left: var(--space-1);
}

.form-control {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background-color: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(107, 166, 165, 0.20);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235a5a5a'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 20px;
  padding-right: var(--space-12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.form-error {
  font-size: var(--text-sm);
  color: #c0392b;
  margin-top: var(--space-2);
  display: none;
}

.form-group.has-error .form-control {
  border-color: #c0392b;
}

.form-group.has-error .form-error {
  display: block;
}


/* --------------------------------------------------------------------------
   22. PRICING CARDS
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
  border: 2px solid transparent;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--gold);
  transform: translateY(-8px);
}

.pricing-card--featured:hover {
  transform: translateY(-12px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gold);
  color: var(--text);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin-bottom: var(--space-3);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.pricing-price span {
  font-size: var(--text-2xl);
  vertical-align: super;
  font-weight: 400;
}

.pricing-period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
}

.pricing-feature::before {
  content: '✓';
  color: var(--teal-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-feature.excluded {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-feature.excluded::before {
  content: '–';
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   23. TESTIMONIAL / QUOTE
   -------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: var(--space-4);
  display: block;
  opacity: 0.5;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-light);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background-color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  overflow: hidden;
}

.testimonial-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--blue);
  display: block;
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   24. STAT / NUMBER BLOCKS
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-item {
  text-align: center;
  padding: var(--space-8) var(--space-4);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.70);
}

/* On light bg variant */
.stat-item--light .stat-number { color: var(--blue); }
.stat-item--light .stat-label  { color: var(--text-light); }


/* --------------------------------------------------------------------------
   25. PAGE HERO (inner pages — smaller than home hero)
   -------------------------------------------------------------------------- */
.page-hero {
  background-color: var(--blue);
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 24px,
    rgba(255, 255, 255, 0.04) 24px,
    rgba(255, 255, 255, 0.04) 25px
  );
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin-inline: auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  justify-content: center;
  margin-bottom: var(--space-4);
}

.breadcrumb a {
  color: var(--gold);
  transition: opacity var(--transition-fast);
}

.breadcrumb a:hover { opacity: 0.8; }

.breadcrumb-sep { opacity: 0.4; }


/* --------------------------------------------------------------------------
   26. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
  /* Navigation */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  /* Grids */
  .learn-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

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

  .director-section {
    gap: var(--space-10);
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  /* Root adjustments */
  :root {
    --nav-height: 60px;
  }

  /* Typography */
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }

  /* Navigation */
  .nav-logo-tagline {
    display: none;
  }

  /* Hero */
  .hero {
    padding-block: clamp(80px, 12vw, 120px);
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-pills {
    display: none;
  }

  /* Grids — single column */
  .age-group-grid {
    grid-template-columns: 1fr;
  }

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

  .director-section {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .director-image-wrap::before {
    display: none;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    max-width: 100%;
  }

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

  /* Cards */
  .card {
    padding: var(--space-6);
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* FAQ */
  .faq-question {
    font-size: var(--text-base);
    padding: var(--space-5);
  }

  .faq-answer-content {
    padding: 0 var(--space-5) var(--space-5);
    padding-top: var(--space-4);
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Schedule table responsive */
  .schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--container-pad));
    padding-inline: var(--container-pad);
  }

  /* Section padding */
  .section {
    padding-block: var(--space-16);
  }
}

/* ---- Small mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero-description {
    font-size: var(--text-base);
  }

  .btn-lg {
    font-size: var(--text-base);
    padding: 1rem 1.75rem;
  }
}


/* --------------------------------------------------------------------------
   27. PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
  .site-nav,
  .nav-mobile,
  .cta-banner,
  .site-footer {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  h1, h2, h3 {
    color: #000;
  }
}

  .age-range {
    margin: 0;
    font-size: var(--text-sm);
    opacity: 0.88;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
  }
