/* ═══════════════════════════════════════════════════════════
   1. DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  --cream:      #F7F3EE;
  --ink:        #1A1614;
  --terracotta: #C85D3A;
  --muted:      #8A7F78;
  --border:     #DDD5CC;
  --gold:       #F2C89B;
  --red:        #E85D57;
  --orange:     #F1A04C;
  --green:      #9BC864;
  --yellow:     #F9D038;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 96px;

  --gutter: 56px;
}

/* ═══════════════════════════════════════════════════════════
   2. RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }
button { font-family: inherit; }

/* ═══════════════════════════════════════════════════════════
   3. LAYOUT HELPERS
═══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section.block { padding: var(--space-xl) 0; }

/* ═══════════════════════════════════════════════════════════
   4. TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
.section-label {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 40px;
}
.section-title em { font-style: italic; color: var(--terracotta); }

/* ═══════════════════════════════════════════════════════════
   5. SCROLL REVEAL
═══════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

/* ═══════════════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink);
  background: transparent; cursor: pointer;
  transition: all .2s; align-self: flex-start;
}
.btn:hover { background: var(--ink); color: var(--cream); }

.btn-dark {
  display: inline-block; padding: 14px 36px;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--ink); cursor: pointer; transition: all .2s;
}
.btn-dark:hover { background: var(--terracotta); border-color: var(--terracotta); }

.btn-outline {
  display: inline-block; padding: 14px 36px;
  border: 1px solid var(--ink); color: var(--ink);
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; cursor: pointer; transition: all .2s;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-white {
  display: inline-block; padding: 14px 44px;
  background: #fff; color: var(--terracotta);
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .2s; margin: 4px;
}
.btn-white:hover { background: var(--ink); color: #fff; }

.btn-white-outline {
  display: inline-block; padding: 14px 44px;
  border: 1px solid rgba(255,255,255,.5); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; cursor: pointer; transition: all .2s; margin: 4px;
}
.btn-white-outline:hover { background: rgba(255,255,255,.12); }

.btn-outline-white {
  display: inline-block; padding: 13px 36px;
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; cursor: pointer; transition: all .2s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════════════════════
   7. CONTACT FORM
═══════════════════════════════════════════════════════════ */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.form-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: -4px; margin-top: 6px; display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  color: var(--ink); outline: none;
  transition: border-color .2s; -webkit-appearance: none; border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--terracotta); }
.contact-form input.error,
.contact-form textarea.error { border-color: var(--red); }
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form select { cursor: pointer; color: var(--muted); }
.contact-form select option { color: var(--ink); }
.contact-form button {
  padding: 14px 36px; background: var(--ink); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; border: none;
  cursor: pointer; align-self: flex-start; transition: background .2s;
}
.contact-form button:hover { background: var(--terracotta); }
.contact-form button:disabled { opacity: .7; cursor: not-allowed; }

.form-feedback {
  padding: 14px 16px; font-size: 14px; line-height: 1.5;
  display: none; border-radius: 0;
}
.form-feedback.success { background: #edf7ed; color: #2e7d32; border: 1px solid #a5d6a7; display: block; }
.form-feedback.error   { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; display: block; }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }

/* ═══════════════════════════════════════════════════════════
   8. HEADER
═══════════════════════════════════════════════════════════ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(247,243,238,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: 0 2px 24px rgba(26,22,20,.09); }
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; }

.desktop-nav ul { display: flex; list-style: none; gap: 36px; align-items: center; }
.desktop-nav a {
  font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); transition: color .2s;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--terracotta); }
.desktop-nav a.nav-cta {
  background: var(--terracotta); color: #fff !important;
  padding: 10px 22px; border-radius: 2px;
}
.desktop-nav a.nav-cta:hover { background: #b04e30; }

.burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.burger span { display: block; width: 28px; height: 2px; background: var(--ink); transition: all .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; z-index: 499;
  background: rgba(247,243,238,.99);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 24px;
  flex-direction: column;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-size: 15px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink);
  padding: 15px 0; border-bottom: 1px solid var(--border);
  transition: color .2s; display: block;
}
#mobile-nav a:last-child { border-bottom: none; }
#mobile-nav a.active, #mobile-nav a:hover { color: var(--terracotta); }

/* ═══════════════════════════════════════════════════════════
   9. FOOTER
═══════════════════════════════════════════════════════════ */
#footer { background: var(--ink); color: rgba(255,255,255,.4); padding: 40px 0; }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-nav { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-nav a, #footer a {
  color: rgba(255,255,255,.4); font-size: 13px; transition: color .2s;
}
.footer-nav a:hover, #footer a:hover { color: #fff; }
#footer p { font-size: 13px; }

/* ═══════════════════════════════════════════════════════════
   10. HOME PAGE
═══════════════════════════════════════════════════════════ */
.hero { padding-top: 72px; position: relative; overflow: hidden; }
.hero-slider { position: relative; width: 100%; height: 72vh; min-height: 420px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  filter: brightness(.52);
}
.hero-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 24px;
}
.hero-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 9vw, 100px);
  font-weight: 300; line-height: 1; letter-spacing: -.02em; margin-bottom: 12px;
  opacity: 0; animation: fadeUp 1s .4s forwards;
}
.hero-text h1 em { font-style: italic; color: var(--gold); }
.hero-text p {
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; animation: fadeUp 1s .7s forwards;
  color: rgba(255,255,255,.8);
}
.hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: background .3s, width .3s;
  padding: 8px 0; background-clip: content-box;
}
.hero-dot.active { background: #fff; width: 46px; }
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }

.stats-strip { background: var(--ink); }
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,.07);
}
.stat-box {
  padding: 40px 20px; border-right: 1px solid rgba(255,255,255,.07);
  text-align: center; color: #fff; position: relative;
}
.stat-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.stat-box:nth-child(1)::before { background: var(--red); }
.stat-box:nth-child(2)::before { background: var(--orange); }
.stat-box:nth-child(3)::before { background: var(--green); }
.stat-box:nth-child(4)::before { background: var(--yellow); }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300; line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.5); line-height: 1.6;
}

.tuition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--border); }
.tuition-card {
  background: var(--cream); padding: 40px;
  display: flex; flex-direction: column; gap: 20px; transition: background .25s;
}
.tuition-card:hover { background: #fff; }
.tuition-card img { width: 100%; height: 260px; object-fit: cover; object-position: center 20%; }
.tuition-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 2.5vw, 28px); font-weight: 400; color: var(--ink);
}
.tuition-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tuition-card li {
  font-size: 14px; color: var(--muted); line-height: 1.55;
}
.card-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; }

.classes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.class-card {
  border: 1px solid var(--border); display: flex; flex-direction: column;
  overflow: hidden; transition: box-shadow .25s;
}
.class-card:hover { box-shadow: 0 12px 40px rgba(26,22,20,.08); }
.class-card img { width: 100%; height: 220px; object-fit: cover; object-position: center 30%; }
.class-body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.class-tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--terracotta); }
.class-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; }
.class-card ul { list-style: none; flex: 1; }
.class-card li {
  font-size: 13.5px; color: var(--muted); padding: 5px 0;
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.class-card li:last-child { border-bottom: none; }
.class-card .btn { margin-top: 16px; }

.home-team-section { background: var(--ink); color: #fff; }
.home-team-section .section-title { color: #fff; }
.home-team-section .section-label { color: var(--gold); }
.team-intro { max-width: 720px; font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.85; margin-bottom: 48px; }
.team-intro p { margin-bottom: 14px; }
.team-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05);
}
.team-member { background: var(--ink); padding: 24px 12px; text-align: center; transition: background .2s; }
.team-member:hover { background: #251f1d; }
.team-member img {
  width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  margin: 0 auto 10px; border: 2px solid rgba(255,255,255,.1);
  filter: grayscale(20%); transition: filter .3s;
}
.team-member:hover img { filter: grayscale(0%); }
.team-member h3 { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 400; color: #fff; }
.team-cta { margin-top: 36px; text-align: center; }

.join-section { background: var(--terracotta); padding: 72px 24px; text-align: center; }
.join-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 60px); font-weight: 300; color: #fff; margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════
   11. ABOUT PAGE
═══════════════════════════════════════════════════════════ */
.page-hero { padding-top: 72px; position: relative; height: 52vh; min-height: 320px; overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(.42); }
.page-hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 48px var(--gutter); max-width: 1280px; margin: 0 auto; left: 0; right: 0;
}
.breadcrumb { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.3); margin: 0 8px; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 7vw, 88px); font-weight: 300; color: #fff;
  line-height: 1; letter-spacing: -.02em;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }

.intro-band { background: var(--ink); padding: 56px 0; }
.intro-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center;
}
.intro-large {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 300;
  color: rgba(255,255,255,.08); line-height: 1; letter-spacing: -.03em;
}
.intro-text { font-size: clamp(15px, 1.5vw, 17px); color: rgba(255,255,255,.78); line-height: 1.85; font-weight: 300; }
.intro-text strong { color: var(--gold); font-weight: 400; }

.milestones-section { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.milestones-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--border); }
.milestone { padding: 40px 28px; border-right: 1px solid var(--border); position: relative; }
.milestone::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left; transition: transform .5s ease;
}
.milestone:hover::before { transform: scaleX(1); }
.milestone-year {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4vw, 52px);
  font-weight: 300; color: var(--border); line-height: 1; margin-bottom: 14px; transition: color .3s;
}
.milestone:hover .milestone-year { color: var(--terracotta); }
.milestone h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.milestone p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.pragma-section { background: var(--cream); overflow: hidden; }
.pragma-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.pragma-visual {
  background: var(--terracotta); display: flex; align-items: center; justify-content: center;
  padding: 56px 40px; position: relative; overflow: hidden;
}
.pragma-visual::before {
  content: 'PRAGMA'; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 10vw, 160px); font-weight: 300;
  color: rgba(255,255,255,.07); position: absolute; white-space: nowrap; letter-spacing: -.05em;
}
.pragma-visual-inner { position: relative; text-align: center; color: #fff; }
.pragma-visual-inner h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 300; line-height: 1.1; margin-bottom: 12px;
}
.pragma-visual-inner p { font-size: 12px; opacity: .75; letter-spacing: .12em; text-transform: uppercase; }
.pragma-content { padding: 56px 64px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.pragma-content p { font-size: 15px; color: #4A4240; line-height: 1.85; }
.pragma-content p:first-of-type { font-size: clamp(15px, 1.6vw, 18px); color: var(--ink); font-weight: 300; }

.values-section { background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.value-card { background: #fff; padding: 44px 36px; transition: background .25s; }
.value-card:hover { background: var(--cream); }
.value-num {
  font-family: 'Cormorant Garamond', serif; font-size: 72px; font-weight: 300;
  color: var(--border); line-height: 1; margin-bottom: 18px; transition: color .3s;
}
.value-card:hover .value-num { color: var(--terracotta); }
.value-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

.about-team-section { background: var(--ink); }
.about-team-section .section-label { color: var(--gold); }
.about-team-section .section-title { color: #fff; }
.mgmt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-bottom: 64px; }
.mgr-card { display: flex; flex-direction: column; gap: 16px; }
.mgr-info h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 4px; }
.mgr-role { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.mgr-info p { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.65; }
.teachers-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 44px; }
.teachers-sub {
  font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 300;
  color: rgba(255,255,255,.4); margin-bottom: 32px; font-style: italic;
}
.teacher-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05);
}
.teacher-card { background: var(--ink); padding: 20px 12px; text-align: center; transition: background .2s; }
.teacher-card:hover { background: #251f1d; }
.teacher-card img {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover; object-position: center top;
  margin: 0 auto 10px; border: 1px solid rgba(255,255,255,.1);
  filter: grayscale(15%); transition: filter .3s;
}
.teacher-card:hover img { filter: grayscale(0%); }
.teacher-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.75); }

.cta-section { background: var(--cream); padding: 80px 0; text-align: center; border-top: 1px solid var(--border); }
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 60px); font-weight: 300; color: var(--ink);
  line-height: 1.2; margin-bottom: 28px;
}
.cta-section h2 em { font-style: italic; color: var(--terracotta); }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   12. TUITION PAGE
═══════════════════════════════════════════════════════════ */
.tab-nav { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 48px; gap: 0; }
.tab-btn {
  padding: 14px 24px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  background: none; border: none; cursor: pointer; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .2s; white-space: nowrap;
}
.tab-btn.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.tab-btn:hover { color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.prog-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--border); margin-bottom: 8px; }
.prog-card {
  background: var(--cream); padding: 40px;
  display: flex; flex-direction: column; gap: 16px; transition: background .25s;
}
.prog-card:hover { background: #fff; }
.prog-card img { width: 100%; height: 240px; object-fit: cover; object-position: center 25%; }
.prog-card h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(22px, 2.5vw, 28px); font-weight: 400; color: var(--ink); }
.prog-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.prog-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.prog-card li { font-size: 14px; color: var(--muted); line-height: 1.55; }
.prog-note { font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.feature { background: #fff; padding: 36px; transition: background .2s; }
.feature:hover { background: var(--cream); }
.feature-icon { font-size: 28px; margin-bottom: 14px; }
.feature h4 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.7; }

.exams-strip { background: var(--ink); padding: 56px 0; }
.exams-inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.exams-inner h3 { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 3vw, 36px); font-weight: 300; color: #fff; margin-bottom: 28px; }
.exams-inner h3 em { font-style: italic; color: var(--gold); }
.exam-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.exam-tag { padding: 9px 18px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .04em; transition: all .2s; }
.exam-tag:hover { border-color: var(--terracotta); color: #fff; }

.cta-bar { background: var(--terracotta); padding: 64px 24px; text-align: center; }
.cta-bar h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 4vw, 56px); font-weight: 300; color: #fff; margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════
   13. CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-hero { padding-top: 72px; background: var(--ink); min-height: 260px; display: flex; align-items: flex-end; }
.contact-hero-inner { max-width: 1280px; margin: 0 auto; padding: 48px var(--gutter); width: 100%; }
.contact-main { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-person {
  padding: 28px; background: #fff; border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px; transition: box-shadow .25s;
}
.contact-person:hover { box-shadow: 0 8px 32px rgba(26,22,20,.07); }
.person-role { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; }
.contact-person h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--ink); }
.contact-person p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.contact-detail { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.contact-detail .label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.contact-detail a { font-size: 15px; color: var(--ink); font-weight: 500; transition: color .2s; }
.contact-detail a:hover { color: var(--terracotta); }
.detail-note { font-size: 12px; color: var(--muted); }

.faq-section { background: #fff; }
.faq-grid { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--ink); gap: 20px; transition: color .2s;
}
.faq-q:hover { color: var(--terracotta); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted); transition: all .3s;
}
.faq-item.open .faq-icon { background: var(--terracotta); border-color: var(--terracotta); color: #fff; transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 700px; }
.faq-item.open .faq-a { display: block; }

.locations-section { background: var(--ink); }
.locations-section .section-title { color: #fff; }
.locations-section .section-label { color: var(--gold); }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.06); }
.location-card { background: var(--ink); padding: 36px; transition: background .2s; }
.location-card:hover { background: #251f1d; }
.location-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 400; color: #fff; margin-bottom: 10px; }
.location-card p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════
   14. RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .classes-grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
  .tuition-grid    { grid-template-columns: 1fr; }
  .prog-layout     { grid-template-columns: 1fr; }
  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .milestones-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid  { grid-template-columns: repeat(2, 1fr); }
  .mgmt-grid       { grid-template-columns: repeat(2, 1fr); }
  .pragma-layout   { grid-template-columns: 1fr; }
  .contact-layout  { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .form-row        { grid-template-columns: 1fr; }
  .intro-inner     { grid-template-columns: 1fr; gap: 32px; }
  .pragma-visual   { min-height: 220px; }
  .pragma-content  { padding: 48px; }
  .page-hero-overlay { padding: 40px var(--gutter); }
}

/* ═══════════════════════════════════════════════════════════
   15. RESPONSIVE — MOBILE NAV (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .burger      { display: flex; }
}

/* ═══════════════════════════════════════════════════════════
   16. RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 14px; }
  section.block { padding: 56px 0; }
  .hero-slider { height: 60vh; min-height: 320px; }
  .hero-text h1 { font-size: clamp(36px, 10vw, 56px); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-box    { padding: 24px 12px; }
  .stat-num    { font-size: 44px; }
  .classes-grid    { grid-template-columns: 1fr; }
  .class-card img  { height: 200px; }
  .class-body      { padding: 20px; }
  .features-grid   { grid-template-columns: 1fr; }
  .feature         { padding: 28px 24px; }
  .values-grid     { grid-template-columns: 1fr; }
  .value-card      { padding: 32px 24px; }
  .milestones-grid { grid-template-columns: 1fr; }
  .milestone       { padding: 28px 20px; }
  .locations-grid  { grid-template-columns: 1fr; }
  .location-card   { padding: 24px 20px; }
  .mgmt-grid       { grid-template-columns: 1fr; max-width: 100%; }
  .team-grid       { grid-template-columns: repeat(3, 1fr); }
  .teacher-grid    { grid-template-columns: repeat(3, 1fr); }
  .pragma-layout   { grid-template-columns: 1fr; }
  .pragma-visual   { min-height: 180px; padding: 40px 24px; }
  .pragma-content  { padding: 40px 20px; }
  .tuition-card    { padding: 28px 20px; }
  .tuition-card img { height: 200px; }
  .prog-card       { padding: 28px 20px; }
  .prog-card img   { height: 200px; }
  .form-row        { grid-template-columns: 1fr; }
  .contact-form button { width: 100%; align-self: auto; }
  .contact-layout  { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 36px; }
  .contact-person  { padding: 20px; }
  .page-hero       { height: 44vh; min-height: 260px; }
  .page-hero-overlay { padding: 28px var(--gutter); }
  .footer-inner    { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav      { flex-direction: column; gap: 10px; }
  .intro-inner     { grid-template-columns: 1fr; gap: 12px; }
  .intro-large     { font-size: 36px; display: none; }
  .btn-dark, .btn-outline { width: 100%; text-align: center; }
  .btn-white, .btn-white-outline, .btn-outline-white { display: block; width: calc(100% - 8px); text-align: center; margin: 4px auto; }
  .cta-buttons     { flex-direction: column; align-items: center; }
  .cta-buttons .btn-dark, .cta-buttons .btn-outline { width: auto; }
  .tab-nav  { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .tab-btn  { padding: 12px 16px; font-size: 12px; flex-shrink: 0; }
  .faq-q    { font-size: 14px; }
  .contact-hero-inner { padding: 40px var(--gutter); }
  .contact-hero { min-height: 200px; }
  .cta-bar      { padding: 48px var(--gutter); }
  .cta-bar h2   { font-size: clamp(26px, 7vw, 40px); }
  .join-section { padding: 56px var(--gutter); }
  .exams-strip  { padding: 40px 0; }
  .cta-section  { padding: 56px 0; }
}

/* ═══════════════════════════════════════════════════════════
   17. RESPONSIVE — SMALL MOBILE (≤ 400px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .team-grid, .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .tab-btn     { padding: 10px 12px; font-size: 11px; }
  .contact-person { padding: 16px; }
  .value-card  { padding: 24px 16px; }
  .milestone   { padding: 24px 16px; }
  .class-body  { padding: 16px; }
  .feature     { padding: 24px 16px; }
}
