:root {
  --bg: #f6efe5;
  --bg-deep: #0f2f3a;
  --text: #14313a;
  --muted: #5b6a6f;
  --accent: #d97d54;
  --accent-2: #efb96a;
  --card: rgba(255, 255, 255, 0.75);
  --line: rgba(20, 49, 58, 0.12);
  --shadow: 0 24px 70px rgba(15, 47, 58, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(239, 185, 106, 0.28), transparent 30%),
    radial-gradient(circle at right top, rgba(217, 125, 84, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf6ee 0%, #f3eadf 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.bg-orbit {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.5;
  pointer-events: none;
}
.orbit-one { width: 240px; height: 240px; top: 12%; left: -80px; background: rgba(217, 125, 84, 0.18); }
.orbit-two { width: 320px; height: 320px; right: -120px; top: 38%; background: rgba(239, 185, 106, 0.22); }

.hero, main, .footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.hero { padding: 24px 0 48px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px 0 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 58px; height: 58px; border-radius: 18px;
  box-shadow: var(--shadow); flex: 0 0 auto;
}
.brand strong, .section-heading h2, .hero-copy h1, .hero-card h2, .feature h2, .contact-section h2 {
  font-family: "Fraunces", serif;
  letter-spacing: -0.02em;
}
.brand small { display: block; color: var(--muted); }
.nav-pill, .btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 700;
}
.nav-pill { padding: 12px 18px; background: rgba(15, 47, 58, 0.08); }
.hero-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch;
}
.hero-copy, .hero-visual, .panel, .feature, .contact-card, .stats article, .gallery-card {
  background: var(--card); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-copy {
  padding: 48px; border-radius: 32px;
}
.hero-visual {
  padding: 18px; border-radius: 32px; display: grid; gap: 16px;
  align-content: start;
}
.hero-visual img {
  width: 100%; border-radius: 24px; display: block;
  border: 1px solid rgba(20, 49, 58, 0.08);
  background: #fff9f0;
}
.eyebrow {
  margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; font-weight: 800; color: var(--accent);
}
.hero-copy h1 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 0.98; }
.lead { color: var(--muted); font-size: 1.08rem; line-height: 1.8; max-width: 58ch; margin: 20px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { padding: 14px 20px; }
.btn-primary { background: var(--bg-deep); color: #fff; }
.btn-secondary { background: rgba(15, 47, 58, 0.06); }
.hero-card {
  border-radius: 24px; padding: 28px;
  background: linear-gradient(180deg, rgba(15, 47, 58, 0.96), rgba(15, 47, 58, 0.86)); color: #fff;
}
.card-badge {
  display: inline-flex; padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.12); margin-bottom: 18px; font-size: 0.85rem;
}
.hero-card ul, .activity-list { padding-left: 18px; line-height: 1.8; color: rgba(255,255,255,0.88); }
.hero-card li { margin-bottom: 10px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 18px 0 36px;
}
.stats article, .panel, .feature, .contact-card, .gallery-card {
  border-radius: 24px; padding: 24px;
}
.stats strong { display: block; font-size: 1.6rem; margin-bottom: 6px; }
.stats span { color: var(--muted); }
.content-section { padding: 10px 0 26px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2, .contact-section h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.program-grid, .split-section, .contact-section, .gallery-grid { display: grid; gap: 16px; }
.program-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.gallery-card { padding: 14px; }
.gallery-card img { width: 100%; border-radius: 18px; display: block; }
.gallery-card figcaption { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.panel h3 { margin-top: 0; font-size: 1.3rem; }
.panel p, .feature p, .contact-section p { color: var(--muted); line-height: 1.75; }
.split-section { grid-template-columns: 1.15fr 0.85fr; margin-top: 16px; }
.feature-dark { background: linear-gradient(180deg, #173b48, #0f2f3a); color: #fff; }
.feature-dark p, .feature-dark li { color: rgba(255,255,255,0.84); }
.feature-light { background: rgba(255,255,255,0.74); }
.contact-section {
  grid-template-columns: 1.1fr 0.9fr; align-items: start;
  padding: 30px 0 56px;
}
.contact-card p { margin: 0 0 18px; }
.footer {
  padding: 24px 0 42px; display: flex; justify-content: space-between; gap: 16px;
  color: var(--muted); border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero-grid, .program-grid, .split-section, .contact-section, .stats, .gallery-grid { grid-template-columns: 1fr; }
  .topbar, .footer { flex-direction: column; align-items: flex-start; }
  .hero-copy { padding: 28px; }
}

@media (max-width: 640px) {
  .hero, main, .footer { width: min(100% - 24px, 1120px); }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero-copy, .hero-visual, .panel, .feature, .contact-card, .stats article, .gallery-card { border-radius: 22px; }
}
