:root {
  --navy: #082a5e;
  --navy-deep: #041833;
  --navy-soft: #1a4a8a;
  --sky: #4aa3d8;
  --yellow: #ffc107;
  --yellow-soft: #ffe082;
  --red: #e11d2e;
  --ink: #152238;
  --muted: #5c6b7e;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: rgba(8, 42, 94, 0.1);
  --shadow: 0 20px 50px rgba(4, 24, 51, 0.12);
  --shadow-sm: 0 8px 24px rgba(4, 24, 51, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: #eef3f9;
  background-image:
    radial-gradient(ellipse 900px 420px at 0% -5%, rgba(255, 193, 7, 0.22), transparent 60%),
    radial-gradient(ellipse 700px 380px at 100% 8%, rgba(74, 163, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(8, 42, 94, 0.06), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f9 40%, #e8eef6 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

@media (min-width: 640px) {
  .container {
    width: min(100% - 2.5rem, var(--max));
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(247, 250, 252, 0.86);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.8vw, 1.2rem);
  color: var(--navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(8, 42, 94, 0.08);
  color: var(--navy);
}

.nav .btn {
  margin-left: 0.35rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

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

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

.btn-primary {
  background: linear-gradient(180deg, var(--yellow-soft), var(--yellow));
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(255, 193, 7, 0.35);
}

.btn-primary:hover {
  background: var(--yellow-soft);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-navy {
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 28px rgba(8, 42, 94, 0.25);
}

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

.btn-outline:hover {
  background: rgba(8, 42, 94, 0.06);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88svh, 720px);
  display: grid;
  align-items: end;
  color: white;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.05);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(4, 24, 51, 0.78) 0%, rgba(4, 24, 51, 0.45) 42%, rgba(4, 24, 51, 0.2) 65%, rgba(4, 24, 51, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 24, 51, 0.15) 0%, rgba(4, 24, 51, 0.75) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -20%;
  width: 55%;
  height: 55%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.28), transparent 68%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite alternate;
}

.hero-content {
  width: min(100% - 1.5rem, var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 14vw, 8rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.8rem);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 0.9rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  animation: riseIn 0.9s ease both;
  max-width: 12ch;
}

.hero-brand span {
  display: block;
  color: var(--yellow);
}

.hero p {
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  animation: riseIn 1s ease 0.1s both;
}

.hero .btn-row {
  animation: riseIn 1s ease 0.2s both;
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes glowPulse {
  from { opacity: 0.55; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(4%, -3%); }
}

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

/* Sections */
.section {
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}

.section-tight {
  padding-top: 0;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-band {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
}

.section-head h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 0.7rem;
  text-align: center;
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  text-align: center;
}

.page-hero {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero .lede {
  max-width: 40rem;
  margin-inline: auto;
}

/* Programs */
.program-grid,
.feature-grid,
.gallery-grid,
.review-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  align-items: stretch;
}

.program-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: center;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-card,
.feature-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  height: 100%;
  min-height: 11.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.program-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--sky));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.program-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(8, 42, 94, 0.16);
}

.program-card:hover::before,
.feature-card:hover::before {
  opacity: 1;
}

.program-card h3,
.feature-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.program-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  flex: 1;
}

.program-age {
  display: inline-block;
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  background: rgba(255, 193, 7, 0.32);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 193, 7, 0.35), rgba(74, 163, 216, 0.2));
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
  font-weight: 800;
}

/* Split — fixed media frame so images stay equal */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #d5deea;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.split-media:hover img {
  transform: scale(1.04);
}

.split-copy h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  margin: 0 0 0.8rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.split-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.35rem;
}

.checklist li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

/* Rating strip */
.rating-strip {
  background:
    linear-gradient(125deg, var(--navy-deep) 0%, var(--navy) 45%, #1f5aa0 100%);
  color: white;
  border-radius: 28px;
  padding: clamp(1.15rem, 3vw, 1.6rem) clamp(1.15rem, 3vw, 1.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rating-strip::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 193, 7, 0.12);
  pointer-events: none;
}

.rating-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.rating-score {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
}

.rating-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.95rem;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: #fbbc04;
  letter-spacing: 1px;
  font-size: 1.15rem;
  line-height: 1;
}

.stars[aria-label]::before {
  content: "★★★★★";
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease;
}

.google-badge:hover {
  background: rgba(255, 255, 255, 0.2);
}

.google-g {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  color: #4285f4;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.75rem;
  font-family: Arial, sans-serif;
  flex-shrink: 0;
}

/* Google-style reviews */
.reviews-block {
  margin-top: 0.25rem;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.g-review {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 17.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.g-review:hover {
  box-shadow: 0 8px 24px rgba(60, 64, 67, 0.12);
  transform: translateY(-2px);
}

.g-review-top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  font-family: "Roboto", Arial, sans-serif;
}

.g-review-who {
  min-width: 0;
}

.g-review-who strong {
  display: block;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.95rem;
  color: #202124;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g-review-who span {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.8rem;
  color: #70757a;
}

.g-review-stars {
  color: #fbbc04;
  font-size: 0.95rem;
  letter-spacing: 1px;
  line-height: 1;
}

.g-review-time {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.8rem;
  color: #70757a;
  margin-left: 0.35rem;
}

.g-review p {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.92rem;
  color: #3c4043;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-review-source {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 0.75rem;
  color: #70757a;
}

.reviews-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reviews-note {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 36rem;
  width: 100%;
  text-align: center;
}

/* Gallery — always 3 columns on desktop (never 4+2) */
.gallery-grid,
.gallery-peek {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #d5deea;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 8 / 3;
}

.gallery-item.tall {
  aspect-ratio: 3 / 4;
}

/* Peek gallery on home */
.gallery-peek .gallery-item.wide {
  aspect-ratio: 16 / 7;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.contact-card,
.form-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  word-break: break-word;
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.contact-list a {
  color: var(--navy-soft);
  font-weight: 700;
}

.contact-list a:hover {
  color: var(--red);
}

.map-embed {
  margin-top: 1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  aspect-ratio: 16 / 10;
  background: #d5deea;
}

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

.form-card h2 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.35rem;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  letter-spacing: -0.02em;
  text-align: center;
}

.form-card > p {
  text-align: center;
}

.form-card label {
  display: block;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy);
  margin: 0.9rem 0 0.35rem;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  border: 1px solid #c5d0de;
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: white;
  min-height: 48px;
}

.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
  outline: 2px solid rgba(8, 42, 94, 0.22);
  border-color: var(--navy);
}

.form-card textarea {
  min-height: 130px;
  resize: vertical;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-hint a {
  color: var(--navy);
  font-weight: 700;
}

/* CTA band */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    center / cover no-repeat url("../assets/images/gallery/festivals/festival-christmas-courtyard.jpg");
  transform: scale(1.05);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(8, 42, 94, 0.92), rgba(225, 29, 46, 0.72));
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 2.55rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 1.35rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band .btn-row {
  justify-content: center;
}

/* Footer */
.site-footer {
  margin-top: 1.5rem;
  background:
    linear-gradient(180deg, #062040 0%, var(--navy-deep) 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(2rem, 4vw, 2.75rem) 0 1.4rem;
}

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

.site-footer h3 {
  font-family: var(--font-display);
  color: white;
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
}

/* Classes */
.class-list {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
  margin-inline: auto;
}

.class-row {
  display: grid;
  grid-template-columns: minmax(100px, 140px) 1fr;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-sm);
  min-height: 5.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.class-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.class-row strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.class-row p {
  margin: 0;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ========== Responsive ========== */

@media (max-width: 1100px) {
  .program-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .gallery-grid,
  .gallery-peek {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item.wide,
  .gallery-peek .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.55rem;
    box-shadow: var(--shadow);
    z-index: 60;
  }

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

  .nav a,
  .nav .btn {
    width: 100%;
    margin: 0;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  .hero {
    min-height: min(78svh, 620px);
  }

  .hero-content {
    width: min(100% - 1.5rem, var(--max));
  }

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

  .feature-grid,
  .review-grid,
  .gallery-grid,
  .gallery-peek {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-peek .gallery-item.wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }

  .class-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .rating-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .btn-row .btn {
    flex: 1 1 auto;
    min-width: min(100%, 160px);
  }

  .brand-tag {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-brand {
    font-size: clamp(2.15rem, 12vw, 2.8rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .btn {
    padding: 0.85rem 1.15rem;
  }

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

  .g-review p {
    -webkit-line-clamp: 8;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
