@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Urbanist:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand blue palette */
  --brand-blue-900: #0B3D66;
  --brand-blue-800: #105289;
  --brand-blue-700: #21679A;
  --brand-blue-300: #7AB2D7;
  --brand-blue-50:  #EEF5FB;

  /* Brand yellow palette */
  --brand-yellow-700: #E89A2C;
  --brand-yellow-500: #FFBE58;
  --brand-yellow-300: #FFD58A;
  --brand-yellow-100: #FFEDC7;

  /* Neutrals (warm) */
  --neutral-0:   #FFFFFF;
  --neutral-25:  #FCFBF8;
  --neutral-100: #EFECE5;
  --neutral-200: #E2DED4;
  --neutral-500: #6E6A62;
  --neutral-700: #34322E;
  --neutral-800: #22211E;

  /* Semantic aliases */
  --text:       var(--neutral-800);
  --text-muted: var(--neutral-500);
  --surface:    var(--neutral-25);
  --border:     var(--neutral-200);

  /* Radii */
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-pill: 999px;

  /* Neumorphic elevation on warm surface */
  --shadow-neu:
    12px 12px 28px rgba(120, 110, 90, 0.32),
    -8px -8px 22px rgba(255, 255, 255, 1);
  --shadow-neu-lg:
    18px 18px 44px rgba(120, 110, 90, 0.36),
    -12px -12px 36px rgba(255, 255, 255, 1);

  /* Elevation for buttons on blue */
  --shadow-btn: 6px 6px 16px rgba(0, 0, 0, 0.18);
}

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

html { scroll-behavior: smooth; }

/* ─── SKIP LINK (keyboard/a11y) ──────────────────── */

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  background: var(--brand-yellow-500);
  color: var(--neutral-800);
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transform: translateY(-200%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--brand-blue-800);
  outline-offset: 2px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── FLOAT ANIMATIONS ───────────────────────────── */

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}
@keyframes float-slow-rev {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(12px) rotate(-4deg); }
}

/* ─── NAVIGATION ─────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 61, 102, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(11, 61, 102, 0.25);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.nav-logo-title {
  font-family: 'Poetsen One', cursive;
  font-size: 19px;
  color: var(--brand-yellow-500);
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-logo-subtitle {
  font-family: 'Urbanist', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 242, 250, 0.75);
  margin-top: 3px;
}

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

.nav-links a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: rgba(234, 242, 250, 0.85);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.15s ease;
}

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

.nav-links a.active {
  background: rgba(255, 190, 88, 0.16);
  color: var(--brand-yellow-500);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-social a {
  color: rgba(234, 242, 250, 0.85);
  font-size: 1.15rem;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.nav-social a:hover { color: var(--brand-yellow-500); }

.nav-social a[aria-label="Outschool"] {
  color: var(--brand-yellow-500);
  font-size: 1.25rem;
}
.nav-social a[aria-label="Outschool"]:hover { color: #F2B14B; }

.nav-mobile .mobile-social a[aria-label="Outschool"] { color: var(--brand-yellow-500); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--brand-blue-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 2rem 1.25rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: rgba(234, 242, 250, 0.9);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s;
}

.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--brand-yellow-500); }

.nav-mobile .mobile-social {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  font-size: 1.25rem;
  align-items: center;
}

.nav-mobile .mobile-social a {
  border-bottom: none;
  padding: 0;
  color: rgba(234, 242, 250, 0.85);
}

/* ─── CONTAINER ──────────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── BUTTONS ────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-yellow-500);
  color: #1F1408;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: #F2B14B;
  transform: translateY(-2px);
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.22);
}

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

/* ─── DECORATIVE SHAPES ──────────────────────────── */

.shape {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.shape img {
  display: block;
  width: 100%;
  height: auto;
  /* Force any source SVG to render in brand yellow (#FFBE58) */
  filter: brightness(0) saturate(100%) invert(78%) sepia(35%) saturate(870%) hue-rotate(340deg) brightness(103%) contrast(101%);
}

.shape.flower svg {
  display: block;
  width: 100%;
  height: auto;
  /* Flowers use inline SVG with intrinsic two-color palette. No filter */
}

.shape.float      { animation: float-slow 9s ease-in-out infinite; }
.shape.float-rev  { animation: float-slow-rev 11s ease-in-out infinite; }
.shape.float-fast { animation: float-slow 7s ease-in-out infinite; }

/* ─── HOME HERO ──────────────────────────────────── */

.hero {
  background: var(--brand-blue-800);
  padding: 5rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Poetsen One', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-text h1 .accent { color: var(--brand-yellow-500); }

.hero-text .lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(234, 242, 250, 0.9);
  margin-bottom: 0.85rem;
  max-width: 540px;
}

.hero-text .sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(234, 242, 250, 0.78);
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Hero video with mascot inset */

.hero-video-wrap {
  position: relative;
}

.video-frame {
  padding: 5px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow:
    18px 18px 44px rgba(0, 0, 0, 0.32),
    -8px -8px 30px rgba(255, 255, 255, 0.05);
}

.video-frame .video-wrapper {
  border-radius: var(--radius-lg);
}

.hero-mascot {
  position: absolute;
  bottom: -34px;
  left: -34px;
  width: 116px;
  height: 116px;
  border-radius: var(--radius-pill);
  border: 5px solid var(--brand-blue-800);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
  z-index: 2;
}

/* ─── VIDEO WRAPPER (responsive 16:9) ────────────── */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── VIDEO FACADE (click-to-load YouTube) ───────── */

.video-facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 56.25%;
  height: 0;
  border: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  cursor: pointer;
}

.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-facade:hover img { transform: scale(1.03); }

.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 48px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s ease;
  pointer-events: none;
}

.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play { background: #ff0000; }

.video-facade:focus-visible {
  outline: 3px solid var(--brand-yellow-500);
  outline-offset: 2px;
}

/* ─── SOCIAL ICONS (SVG) ─────────────────────────── */

.nav-social a svg { width: 20px; height: 20px; display: block; }
.nav-social a[aria-label="Outschool"] svg { width: 22px; height: 22px; }
.nav-mobile .mobile-social a svg { width: 22px; height: 22px; display: block; }
.footer-social a svg { width: 18px; height: 18px; display: block; }

/* ─── HOME ABOUT (neumorphic cards) ──────────────── */

.about-section {
  padding: 5.5rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.about-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.about-card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(174, 165, 145, 0.22);
  box-shadow: var(--shadow-neu);
  padding: 2rem 1.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.about-card p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--neutral-700);
}

/* Featured / highlighted variant. Accent card in the About grid */
.about-card--featured {
  position: relative;
  background: var(--brand-blue-50);
  padding-top: 3.25rem;
}

.about-card--featured::after {
  content: '⭐';
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.9rem;
  line-height: 1;
}

.about-card--featured p {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand-blue-800);
}

.about-cta {
  text-align: center;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

/* ─── HOME QUOTE / MISSION STRIP ─────────────────── */

.quote-section {
  background: var(--brand-blue-50);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-mark {
  font-family: 'Poetsen One', cursive;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-yellow-500);
  margin-bottom: 0.5rem;
}

.quote-section blockquote {
  font-family: 'Poetsen One', cursive;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--brand-blue-800);
  max-width: 820px;
  margin: 0 auto 1rem;
  line-height: 1.45;
  font-weight: 400;
}

.quote-section cite {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

/* ─── PAGE HERO (Teachers / Classes / Testimonials) ─ */

.page-hero {
  background: var(--brand-blue-800);
  padding: 4rem 2rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: 'Poetsen One', cursive;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1rem;
  color: rgba(234, 242, 250, 0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── TEACHERS ───────────────────────────────────── */

.teachers-section {
  padding: 4.5rem 2rem 2rem;
  background: var(--surface);
}

.teacher-card {
  max-width: 1100px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(174, 165, 145, 0.22);
  box-shadow: var(--shadow-neu);
  padding: 2.5rem;
}

.teacher-top {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

/* Alternating layout: even cards flip video to the right */
.teacher-card:nth-child(even) .teacher-top { direction: rtl; }
.teacher-card:nth-child(even) .teacher-top > * { direction: ltr; }

.teacher-video { min-width: 0; }

.teacher-header {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  min-width: 0;
}

.teacher-header .teacher-quote { align-self: center; }

.teacher-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.teacher-favorites-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.teacher-favorites-row .favorites-label { margin-bottom: 0; }

.teacher-name {
  font-family: 'Poetsen One', cursive;
  font-size: 2rem;
  font-weight: 400;
  color: var(--brand-blue-800);
  line-height: 1.1;
}

.teacher-subjects {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-yellow-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.teacher-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--neutral-700);
}

.teacher-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  background: var(--brand-blue-50);
  padding: 0.5rem 1.4rem 1.4rem 0.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Urbanist', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brand-blue-800);
  line-height: 1.6;
}

.teacher-quote::before {
  content: '\201C';
  font-family: 'Poetsen One', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 3.3rem;
  line-height: 0.7;
  color: var(--brand-yellow-500);
  align-self: start;
}

.favorites-label {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.teacher-favorites {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fav-tag {
  background: var(--brand-yellow-100);
  color: var(--neutral-800);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  font-family: 'Urbanist', sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  border: 1px solid rgba(232, 154, 44, 0.2);
}

/* ─── CLASSES ────────────────────────────────────── */

.classes-block {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.classes-block:nth-of-type(even) { background: var(--brand-blue-50); }

.classes-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.classes-heading {
  font-family: 'Poetsen One', cursive;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--brand-blue-800);
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 400;
}

.classes-intro {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--neutral-700);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gallery-grid.gallery-grid--3col { grid-template-columns: repeat(3, 1fr); }

.gallery-note {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--brand-blue-700);
  text-align: center;
  margin-bottom: 1.75rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--neutral-100);
  box-shadow: var(--shadow-neu);
  border: 1px solid rgba(174, 165, 145, 0.18);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-blue-50) 0%, var(--neutral-100) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--brand-blue-700);
  font-family: 'Urbanist', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem;
}

.gallery-placeholder i {
  font-size: 1.75rem;
  color: var(--brand-blue-300);
}

.classes-cta { text-align: center; }

/* ─── TESTIMONIALS ───────────────────────────────── */

.testimonials-section {
  padding: 5rem 2rem;
  background: var(--surface);
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-lead {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
  text-align: left;
}

.review-card {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid rgba(174, 165, 145, 0.22);
  box-shadow: var(--shadow-neu);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.review-stars {
  color: var(--brand-yellow-500);
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--neutral-700);
  flex: 1;
}

.review-meta {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue-700);
}

.testimonials-cta { margin-top: 1rem; }

/* ─── FOOTER ─────────────────────────────────────── */

footer {
  background: var(--brand-blue-900);
  padding: 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
}

.footer-brand-text {
  font-family: 'Poetsen One', cursive;
  font-size: 15px;
  color: var(--brand-yellow-500);
  letter-spacing: 0.01em;
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-self: center;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(234, 242, 250, 0.85);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--brand-yellow-500);
}

.footer-copy {
  font-family: 'Urbanist', sans-serif;
  font-size: 0.82rem;
  color: rgba(234, 242, 250, 0.5);
  justify-self: end;
  text-align: right;
  margin: 0;
}

/* ─── RESPONSIVE ─────────────────────────────────── */

@media (max-width: 960px) {
  .hero-inner   { grid-template-columns: 1fr; }
  .hero         { padding: 4rem 2rem 5rem; }
  .about-cards  { grid-template-columns: 1fr; }

  .teacher-card { padding: 2rem; }
  .teacher-top  { grid-template-columns: 1fr; gap: 1.5rem; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-logo-subtitle { display: none; }
  .nav-links,
  .nav-social       { display: none; }
  .nav-toggle       { display: flex; }

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

  .hero-mascot      { width: 84px; height: 84px; bottom: -22px; left: -22px; border-width: 4px; }

  .footer-inner     { grid-template-columns: 1fr; justify-items: center; }
  .footer-brand,
  .footer-social,
  .footer-copy      { justify-self: center; text-align: center; }
}
