/* ============================================================
   Little Ivy Academy — main.css
   Design tokens, reset, layout, components
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --purple:        #6B5BD6;
  --purple-dark:   #4A3DAA;
  --purple-light:  #F0EDFF;
  --orange:        #E8A020;
  --orange-light:  #FEF3E0;
  --white:         #FFFFFF;
  --bg-light:      #F8F7FF;
  --text:          #1A1A2E;
  --text-muted:    #6B6B8A;
  --border:        #E8E5F5;
  --radius-sm:     8px;
  --radius-md:     12px;
  --shadow-sm:     0 2px 8px rgba(107,91,214,0.08);
  --shadow-md:     0 4px 20px rgba(107,91,214,0.12);
  --nav-h:         68px;
  --max-w:         1200px;
  --font-en:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-zh:       'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #8770B0; }
body {
  font-family: var(--font-en);
  color: var(--text);
  background: var(--white);
  background-color: #8770B0;
  line-height: 1.7;
  font-size: 15px;
  padding-top: var(--nav-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.3; }
h1 { font-size: clamp(24px, 4vw, 34px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 20px; }
h4 { font-size: 16px; }

.zh {
  font-family: var(--font-zh);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}
p.zh { font-size: 13px; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 64px 0; }
.section--sm { padding: 40px 0; }
.section--lg { padding: 80px 0; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-circle {
  width: 44px; height: 44px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
}
.logo-circle--sm { width: 36px; height: 36px; }
.logo-svg { width: 100%; height: 100%; object-fit: contain; }
.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
  letter-spacing: .01em;
}

.nav-links {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 0;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--purple); background: none; border-bottom-color: var(--purple); }
.nav-link.active  { color: var(--text);  background: none; border-bottom-color: var(--text); }

.nav-btn {
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin: 12px 0 12px 8px;
  background: linear-gradient(180deg, #f5aa28 0%, #d9920e 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #b37a0b, 0 4px 10px rgba(232,160,32,.30);
  transition: transform .12s, box-shadow .12s;
  white-space: nowrap;
}
.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #b37a0b, 0 6px 14px rgba(232,160,32,.38);
  opacity: 1;
}
.nav-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #b37a0b, 0 2px 6px rgba(232,160,32,.25);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-btn {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 2px 4px;
  transition: color .15s;
}
.lang-btn.active { color: var(--purple); }
.lang-btn:hover { color: var(--purple); }
.lang-divider { color: var(--border); font-size: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- FOOTER ---------- */
.footer {
  background: transparent;
  color: rgba(255,255,255,.9);
  position: relative;
  z-index: 100;        /* always above any page section */
  margin-top: -43px;
}

/* Arch top — background set dynamically by JS based on section above */
.footer-arch {
  position: relative;
  width: 100%;
  line-height: 0;
  background: transparent;
}
.footer-arch-svg {
  display: block;
  width: 100%;
  height: auto;
}
.footer-arch-logo {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  justify-content: center;
}
.footer-arch-logo img {
  height: 126px;
  width: auto;
  display: block;
}

/* Full-width purple area below the arch */
.footer-lower {
  background: #8770B0;
}

/* Body: 3 columns */
.footer-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  padding: 40px 100px 52px;
  width: 100%;
  box-sizing: border-box;
}
.footer-col {
  flex: 1;
  padding: 0 50px;
  min-width: 0;
  text-align: center;
}
.footer-col--center {
  text-align: center;
}
.footer-col-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.footer-heading {
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  letter-spacing: 0.04em;
}
.footer-body-text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 5px 0;
  line-height: 1.6;
}
.footer-campus-name {
  font-size: 18px;
  color: #fff;
  margin: 0 0 5px 0;
}
/* Per-column line-height overrides */
.footer-col--follow .footer-heading { margin-bottom: 58px; }
.footer-col--follow .footer-body-text { line-height: 3.2; }
.footer-col--contact .footer-body-text { line-height: 2.4; }
.footer-col--follow .footer-icon-row { gap: 42px; margin-top: 28px; }
.footer-col--contact .footer-heading { margin-bottom: 60px; }

/* Social / contact icon buttons */
.footer-icon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 16px;
}
.footer-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  transition: background .18s, border-color .18s;
  flex-shrink: 0;
}
.footer-icon-btn svg {
  width: 18px;
  height: 18px;
}
.footer-icon-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.25);
  text-align: center;
  padding: 14px 32px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform .12s, box-shadow .12s, background .15s, color .15s;
}

/* 3D orange — used throughout CTAs */
.btn--orange {
  background: linear-gradient(180deg, #f5aa28 0%, #d9920e 100%);
  color: var(--white);
  box-shadow: 0 4px 0 #a86f09, 0 6px 14px rgba(232,160,32,.30);
  text-transform: uppercase;
}
.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #a86f09, 0 8px 18px rgba(232,160,32,.38);
  opacity: 1;
}
.btn--orange:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #a86f09, 0 3px 8px rgba(232,160,32,.20);
}

.btn--purple {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 3px 0 #3a2f8a, 0 4px 12px rgba(107,91,214,.25);
}
.btn--purple:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #3a2f8a, 0 6px 16px rgba(107,91,214,.32); opacity: 1; }
.btn--purple:active { transform: translateY(2px); box-shadow: 0 1px 0 #3a2f8a; }

/* Ghost white — for hero area */
.btn--hero {
  background: transparent;
  border: 2px solid rgba(255,255,255,.85);
  color: var(--white);
  border-radius: 100px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 13px 36px;
}
.btn--hero:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); opacity: 1; }
.btn--outline-purple {
  background: transparent;
  border: 2px solid var(--purple);
  color: var(--purple);
}
.btn--outline-purple:hover { background: var(--purple-light); transform: translateY(-1px); opacity: 1; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- SECTION HEADERS ---------- */
.section-title { text-align: center; margin-bottom: 12px; }
.section-title h2 { color: var(--text); }
.section-title .zh { text-align: center; }
.section-subtitle { text-align: center; color: var(--text-muted); font-size: 15px; margin-bottom: 48px; }
.section-subtitle .zh { font-size: 13px; color: var(--text-muted); }

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ---------- TAGS ---------- */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--purple-light);
  color: var(--purple);
}
.tag--orange { background: var(--orange-light); color: var(--orange); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 780px;
  overflow: hidden;
  background: var(--purple);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-slide:nth-child(4) img { object-position: center 35%; }
.hero-slide .hero-placeholder {
  width: 100%; height: 100%;
  background: var(--purple);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,.72) 0%, rgba(26,26,46,.35) 60%, transparent 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 60px 0 200px;
  max-width: 900px;
  color: var(--white);
}
.hero-sub-main {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 14px;
}
.hero-sub-detail {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
}
.hero-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 12px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .3s, transform .2s;
}
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { opacity: 1 !important; transform: translateY(-50%) scale(1.15); }
.hero-arrow svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
}
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

/* ---------- WHY LIA SECTION ---------- */
.why-lia {
  background: var(--white);
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: -120px;
  padding: calc(80px + 120px) 32px 0;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.why-lia__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
/* Generic section eyebrow + divider — reused across pages */
.section-title__divider {
  width: 72px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 16px auto 0;
}
.section-title[style*="text-align:left"] .section-title__divider { margin-left: 0; }
.about-team .section-title__divider { background: #febc2b; }
.about-values .section-title__divider { background: var(--purple); }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.about-team .section-eyebrow { color: rgba(255,255,255,0.75); }

.why-lia__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  color: #1a1040;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.why-lia__divider {
  width: 72px;
  height: 3px;
  background: var(--orange);
  margin: 0 auto 44px;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}
.why-lia__body {
  max-width: 740px;
  margin: 0 auto 0;
  position: relative;
  z-index: 1;
  padding-bottom: 110px;
}
.why-lia__body p {
  font-size: 15px;
  line-height: 1.9;
  color: #4a4870;
  margin-bottom: 0;
}
/* Cloud background at bottom of section */
.why-lia-clouds {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 118px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-image: url('../images/clouds.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

/* ===== SHARED PAGE HERO (About / Programs / Careers / Contact / Admission) ===== */
.page-hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.page-hero__overlay {
  position: relative; z-index: 2;
  text-align: center; padding: 0 40px; max-width: 760px;
  display: flex; flex-direction: column; align-items: center;
}
.page-hero__label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.65); margin-bottom: 14px;
}
.page-hero h1 { color: var(--white); font-size: clamp(36px,5vw,56px); font-weight: 700; margin-bottom: 16px; }
.page-hero__sub { font-size: 18px; color: rgba(255,255,255,0.88); line-height: 1.65; margin-bottom: 0; }

/* ===== ABOUT PAGE ===== */

/* — Hero — (uses shared .page-hero) — */
.about-hero-banner { background: linear-gradient(rgba(74,61,170,0.55),rgba(74,61,170,0.55)), url("../images/about/gautam-arora-OVDtgUhUPBY-unsplash.jpg") center/cover no-repeat; }
.about-hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 18px; max-width: 540px;
  margin: 0 auto; line-height: 1.65;
}

/* — Section titles +30% (all about sections except CTA) — */
.about-story .section-title h2,
.about-why-choose .section-title h2,
.about-values .section-title h2,
.about-team .section-title h2 {
  font-size: clamp(29px, 4vw, 39px);
}

/* — Subtitles: darker colour — */
.about-story .section-subtitle,
.about-why-choose .section-subtitle { color: var(--text); }
.about-values .section-subtitle    { color: rgba(26,26,46,0.82); }

/* — Our Story: white bg, arch at top (overlaps hero), yellow cloud at bottom — */
.about-story {
  background: var(--white);
  position: relative; z-index: 2;
  margin-top: -120px;
  padding-top: calc(72px + 120px);
  padding-bottom: 240px;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.about-story .story-cols { display: flex; align-items: stretch; gap: 60px; }
.about-story .story-photo-col { flex: 0 0 553px; }
.about-story .story-photo-col > div { border-radius: var(--radius-md); overflow: hidden; height: 100%; }
.about-story .story-photo-col img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* Yellow cloud at bottom of Story — home page yellow_cloud.png, fixed height */
.about-yellow-cloud {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0; z-index: 1; pointer-events: none;
}
.about-yellow-cloud img {
  display: block; width: 100%;
  height: 218px;        /* tall enough to look proportional at full width */
  object-fit: fill;     /* stretches to fill — cloud shape stays visible */
}

/* — Our Values: yellow bg, frosted-white 2×2 cards — */
.about-values {
  background: #febc2b;
  position: relative; z-index: 3;
  padding: 72px 0 80px;
}
.about-values .section-title h2 { color: #1a1a2e; }
.about-values .values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px; margin-top: 48px;
}
.about-values .value-card {
  background: rgba(255,255,255,0.32);
  border-radius: 20px;
  padding: 52px 48px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 4px solid var(--purple);
}
.about-values .value-card h3 {
  color: #1a1a2e; font-size: 20px; font-weight: 700;
  line-height: 1.3; margin-bottom: 14px;
}
.about-values .value-card p {
  color: rgba(26,26,46,0.72); font-size: 14px; line-height: 1.8; margin: 0;
}

/* — The Little Ivy Difference: photo bg, arch at top (overlaps Values), purple cloud at bottom — */
.about-why-choose {
  position: relative; z-index: 5;
  margin-top: -120px;
  padding-top: calc(72px + 120px);
  padding-bottom: 200px;
  background-image: url("../images/about/IMG_1109_edited.jpg");
  background-size: cover; background-position: center;
  background-color: var(--purple-light);
  overflow: hidden;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.about-why-choose::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to right,
    rgba(240,237,255,0.97) 0%, rgba(240,237,255,0.95) 42%,
    rgba(240,237,255,0.55) 65%, rgba(240,237,255,0.08) 85%, transparent 100%);
}
.about-why-choose .container { position: relative; z-index: 1; }
.about-diff-text { max-width: 580px; }

/* Wave transition at bottom of Difference — two-layer ocean wave SVG */
.about-purple-cloud {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0; z-index: 2; pointer-events: none;
}
.about-purple-cloud svg { display: block; width: 100%; height: 160px; }

/* Team photo hover swap */
.about-team .team-photo { position: relative; }
.about-team .team-photo .photo-main {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.about-team .team-photo .photo-hover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  opacity: 0;
  transition: opacity 0.45s ease;
}
/* hover only on non-touch devices; touch devices use JS toggle only */
@media (hover: hover) {
  .about-team .team-card:hover .photo-hover { opacity: 1; }
}
.about-team .team-card.photo-flipped .photo-hover { opacity: 1; }

/* — Meet Our Team: #A2A3E9 bg, bordered portrait cards — */
.about-team {
  background: #A2A3E9;
  position: relative; z-index: 6;
  padding: 72px 0 140px;
}
.about-team .section-title h2 { color: var(--white); }
.about-team .section-subtitle { color: rgba(255,255,255,0.85); }
.about-team__grid-wrapper {
  width: 80vw; margin: 48px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.about-team .team-card {
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 6px 28px rgba(74,61,170,0.18); padding: 0;
}
.about-team .team-photo {
  width: 100%; aspect-ratio: 3 / 4; height: auto;
  border-radius: 0; overflow: hidden; margin: 0;
}
/* .photo-main and .photo-hover handled individually below */
.about-team .team-card__text {
  padding: 28px 24px 32px;
  background: rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.22);
  text-align: left;
}
.about-team .team-card__name { font-size: 23px; font-weight: 700; color: var(--white); }
.about-team .team-card__role { font-size: 17px; color: rgba(255,255,255,0.82); margin-top: 6px; }
.about-team .team-card__bio  { font-size: 15px; color: rgba(255,255,255,0.72); margin-top: 12px; line-height: 1.65; }

/* — CTA: yellow bg, arch at top (overlaps Team), no cloud, dark text — */
.about-cta {
  background: #febc2b;
  position: relative; z-index: 8;
  margin-top: -120px;
  padding-top: calc(90px + 120px) !important;
  padding-bottom: 130px !important;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.about-cta h2 { color: #1a1a2e; }
.about-cta p  { color: rgba(0,0,0,0.72); }

/* — Difference list — */
.diff-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.diff-item { display: flex; gap: 14px; align-items: flex-start; }
.diff-item__check { color: var(--purple); font-size: 18px; flex-shrink: 0; margin-top: 2px; font-weight: 700; line-height: 1.4; }
.diff-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.diff-item p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ===== END ABOUT PAGE ===== */

/* ---------- PROGRAMS PAGE ---------- */

/* Hero (uses shared .page-hero) */
.programs-hero { background: linear-gradient(rgba(255,215,0,0.30),rgba(255,215,0,0.30)), url("../images/programs/Kid Painting_edited.jpg") center/cover no-repeat; }

/* Features strip */
.features-strip {
  background-color: #A2A3E9;
  background:
    linear-gradient(rgba(162, 163, 233, 0.88), rgba(162, 163, 233, 0.88)),
    url('../images/programs/vimal-s-ZMKevk9xqfI-unsplash.jpg') center/cover no-repeat;
  padding: 80px 0 100px;
  margin-top: -230px;
  padding-top: calc(80px + 230px);
  position: relative;
  z-index: 2;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 230px), transparent calc(200vw - 1px), black 200vw);
  mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 230px), transparent calc(200vw - 1px), black 200vw);
}
.features-strip .section-title { margin-bottom: 12px; }
.features-strip .section-subtitle { margin-bottom: 70px; }
.features-strip__grid {
  display: flex; justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.feature-item {
  text-align: center; padding: 60px 36px 0; flex: 1; min-width: 168px; max-width: 264px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.feature-item:last-child { border-right: none; }
.feature-item__icon-wrap {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.feature-item__icon-wrap svg { width: 28px; height: 28px; }
.feature-item h4 {
  color: #fff; font-size: 15px; font-weight: 700;
  margin-bottom: 8px; letter-spacing: 0.01em;
}
.feature-item p { color: rgba(255,255,255,0.65); font-size: 13px; line-height: 1.5; }

/* Campus split panels */
.campus-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.campus-split__text {
  display: flex; flex-direction: column; justify-content: center; padding: 80px 72px;
}
.campus-split__text--yellow { background: #febc2b; }
.campus-split__text--yellow h2 { color: #1a1a2e; font-size: clamp(28px,3vw,42px); font-weight: 700; line-height: 1.15; }
.campus-split__text--yellow p { color: rgba(0,0,0,0.72); }
.campus-split__text--purple { background: #A2A3E9; }
.campus-split__text--purple h2 { font-size: clamp(28px,3vw,42px); font-weight: 700; line-height: 1.15; color: #1a1a2e; }
.campus-split__text--purple p { color: rgba(0,0,0,0.72); }
.campus-split__img { overflow: hidden; }
.campus-split__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.campus-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(0,0,0,0.45); margin-bottom: 12px; }
.campus-label--light { color: rgba(255,255,255,0.6); }
.campus-address { font-size: 13px; color: rgba(0,0,0,0.45); margin-top: 20px; }
.campus-address--light { color: rgba(255,255,255,0.55); }

/* Tag variants for colored backgrounds */
.tag--dark { background: rgba(0,0,0,0.1); color: rgba(0,0,0,0.72); border: 1px solid rgba(0,0,0,0.12); }
.tag--light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.28); }

/* Photo strip */
.photo-strip { background: #febc2b; }
.photo-strip__header { text-align: center; padding: 64px 40px 44px; }
.photo-strip__header h2 { color: #1a1a2e; margin-bottom: 8px; }
.photo-strip__header p { color: rgba(0,0,0,0.58); font-size: 16px; }
.photo-strip__grid { display: grid; grid-template-columns: repeat(3,1fr); height: 320px; }
.photo-strip__cell { overflow: hidden; }
.photo-strip__cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.photo-strip__cell:hover img { transform: scale(1.04); }

/* ---------- PROGRAMS PREVIEW ---------- */
.programs-preview { background: var(--white); }
.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.program-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.program-card__head {
  background: var(--purple);
  padding: 24px 28px;
  color: var(--white);
}
.program-card__head h3 { font-weight: 600; font-size: 20px; }
.program-card__head .zh { color: rgba(255,255,255,.75); margin-top: 6px; }
.program-card__body { padding: 24px 28px; }
.program-card__detail { margin-bottom: 8px; font-size: 14px; }
.program-card__detail strong { color: var(--purple); }
.program-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
/* Ratio pill — split capsule design */
.ratio-pill { margin: 20px 0 28px; }
.ratio-pill__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(0,0,0,0.38); margin: 0 0 10px;
}
.ratio-pill--light .ratio-pill__label { color: rgba(255,255,255,0.45); }

.ratio-pill__track {
  display: flex; border-radius: 14px; overflow: hidden; max-width: 300px;
}
.ratio-pill__half {
  flex: 1; padding: 14px 20px; text-align: center;
}

/* Kenmore (yellow bg) */
.campus-split__text--yellow .ratio-pill__half--ours {
  background: #6B5BD6; color: #fff;
}
.campus-split__text--yellow .ratio-pill__half--state {
  background: rgba(0,0,0,0.10); color: rgba(0,0,0,0.40);
}
/* Bothell (purple bg) */
.campus-split__text--purple .ratio-pill__half--ours {
  background: rgba(255,255,255,0.92); color: #4A3DAA;
}
.campus-split__text--purple .ratio-pill__half--state {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.45);
}

.ratio-pill__num { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.01em; }
.ratio-pill__name {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 5px; opacity: 0.75;
}

.programs-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-card {
  padding: 32px 24px;
  background: var(--purple-light);
  border-radius: var(--radius-md);
}
.stat-card__num { font-size: 40px; font-weight: 700; color: var(--purple); line-height: 1; }
.stat-card__label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.stat-card .zh { font-size: 12px; }

/* ---------- VALUES ---------- */
.values-section { background: var(--bg-light); }
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 24px 24px 28px;
  border-left: 4px solid var(--purple);
  box-shadow: var(--shadow-sm);
}
.value-card h3 { font-size: 17px; font-weight: 600; }
.value-card p { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
.value-card .zh-title { font-family: var(--font-zh); font-size: 15px; color: var(--purple); font-weight: 500; margin-top: 2px; }

/* ---------- ADMISSION STEPS ---------- */
.steps-list { max-width: 680px; margin: 0 auto; }
.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  position: relative;
}
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: -32px;
  width: 2px;
  background: var(--purple-light);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.step-body .zh-title { font-family: var(--font-zh); font-size: 14px; color: var(--purple); }
.step-body p { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
.step-body .zh { font-size: 12px; }

/* ---------- HERO HEADER (page top) ---------- */

/* ---------- TWO-COL SECTIONS ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.col-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.col-img.placeholder {
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.col-img.placeholder-gray { background: #c8c4de; }

/* ---------- TEAM CARDS ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 auto 20px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__name { font-size: 18px; font-weight: 600; }
.team-card__role { font-size: 13px; color: var(--purple); font-weight: 500; margin-top: 4px; }
.team-card__role .zh { font-family: var(--font-zh); color: var(--text-muted); font-size: 12px; }
.team-card__bio { font-size: 13px; color: var(--text-muted); margin-top: 12px; line-height: 1.65; text-align: left; }
.team-card__bio .zh { font-size: 12px; }

/* ---------- FAQ ACCORDION ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}
.faq-question h3 { font-size: 16px; font-weight: 600; }
.faq-question .zh { font-family: var(--font-zh); font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  flex-shrink: 0;
  transition: transform .25s, background .2s;
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--purple); color: var(--white); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .25s;
  padding: 0;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.faq-answer .zh { font-size: 12px; margin-top: 6px; }

/* ---------- CONTACT FORM ---------- */
/* ---------- CONTACT ---------- */

/* — Hero — */
.contact-hero {
  background: linear-gradient(rgba(74,61,170,0.55),rgba(74,61,170,0.55)), url("../images/about/iStock-1181622648 (1).jpg") center 30%/80% auto no-repeat;
  background-color: #e8dfd0;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgb(145,134,187) 0%, rgb(145,134,187) 13%, rgba(145,134,187,0) 30%, rgba(145,134,187,0) 70%, rgb(145,134,187) 87%, rgb(145,134,187) 100%);
  pointer-events: none;
}

/* — Main: white bg, U-arch mask at top overlapping hero — */
.contact-main {
  background: var(--white);
  position: relative; z-index: 2;
  margin-top: -120px;
  padding-top: calc(72px + 120px);
  padding-bottom: 96px;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}

/* — Visit: solid yellow, straight top, fades to transparent at bottom — */
.contact-visit {
  background: #febc2b;
  position: relative; z-index: 3;
  padding-top: 72px;
  padding-bottom: 120px;
}
.contact-visit h2 { color: var(--white); margin-bottom: 12px; font-size: clamp(24px,3.5vw,36px); }
.contact-visit p { color: rgba(255,255,255,0.85); margin-bottom: 0; font-size: 16px; }
.contact-visit__phone {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
}
.contact-visit__phone a {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
  margin-left: 8px;
}
.contact-visit__phone a:hover { color: rgba(255,255,255,0.8); border-bottom-color: rgba(255,255,255,0.4); }

.contact-info-label { font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.contact-phone-link { color: var(--purple); font-weight: 600; font-size: 15px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: start;
}
.contact-left-col { display: flex; flex-direction: column; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-icon {
  width: 36px; height: 36px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-info-text p { font-size: 14px; }
.contact-info-text a { color: var(--purple); }
.contact-info-text a:hover { text-decoration: underline; }
.map-block { margin-top: 8px; }
.map-block h4 { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.map-block iframe { border-radius: var(--radius-sm); width: 100%; height: 140px; border: none; margin-bottom: 16px; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group label .zh { font-family: var(--font-zh); font-weight: 400; color: var(--text-muted); font-size: 11px; margin-top: 0; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}
.form-success.visible { display: block; }

/* ---------- CTA SECTION ---------- */
.cta-section {
  padding: 72px 32px;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 32px; }

/* ---------- CAREERS ---------- */

/* — Hero — */
.careers-hero { background: linear-gradient(rgba(74,61,170,0.52),rgba(74,61,170,0.52)), url("../images/careers/DSC03730.jpg") center 15%/cover no-repeat; }

/* — Why Work Here: yellow bg, arch mask on section clips ALL children including photo — */
.careers-why {
  background: #febc2b;
  position: relative; z-index: 2;
  overflow: hidden;
  margin-top: -120px;
  padding-top: calc(72px + 120px);
  padding-bottom: 96px;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
/* Photo: left side, fades right — arch clip comes from section mask above */
.careers-why__bg {
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 72%;
  z-index: 1;
  background: url("../images/careers/DSC09839-Enhanced-NR.jpg") center 30%/130% auto no-repeat;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 30%),
    linear-gradient(to right, black 20%, rgba(0,0,0,0.55) 52%, transparent 78%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 30%),
    linear-gradient(to right, black 20%, rgba(0,0,0,0.55) 52%, transparent 78%);
  mask-composite: intersect;
}
/* Break out of max-width container, span full viewport width */
.careers-why > .container {
  max-width: none;
  margin: 0;
  padding-left: 65%;
  padding-right: 5%;
}
.careers-why__content { position: relative; z-index: 2; }
.careers-why .section-title h2 { font-size: clamp(29px,4vw,39px); color: #1a1a2e; }
.careers-why__eyebrow {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--purple-dark); margin-bottom: 12px;
}
.careers-why__bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.careers-why__bullet { display: flex; gap: 12px; align-items: flex-start; }
.careers-why__bullet-icon { color: var(--purple-dark); font-size: 18px; flex-shrink: 0; margin-top: 1px; line-height: 1.4; }
.careers-why__bullet-text { font-size: 15px; line-height: 1.7; color: #1a1a2e; }

/* — Current Openings: flat/straight top, flat bottom — */
.careers-openings {
  background: #A2A3E9;
  position: relative; z-index: 3;
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
}
.careers-openings .section-title h2 { font-size: clamp(29px,4vw,39px); color: var(--white); }
.careers-openings .section-title__divider { background: #febc2b; }
.careers-openings .section-subtitle { color: rgba(255,255,255,0.9); }

/* — How to Apply: photo via absolute div that extends past section bottom — */
.careers-apply {
  background-color: #febc2b; /* JS reads this for footer arch color */
  position: relative; z-index: 4;
  overflow: visible;
  margin-top: 0;
  padding-top: 100px;
  padding-bottom: 120px;
  text-align: center;
}
/* Photo div extends well below section — the 43px transparent strip in footer arch exposes this */
.careers-apply__photo-bg {
  position: absolute;
  inset: 0;
  bottom: -600px;
  z-index: 0;
  background-image:
    linear-gradient(rgba(254,188,43,0.78), rgba(254,188,43,0.78)),
    url("../images/careers/markus-spiske-IFCloi6PYOA-unsplash-1500x630.jpg");
  background-size: 100% auto;
  background-position: center -15%;
  background-repeat: no-repeat;
}
.careers-apply .container,
.careers-apply__inner { position: relative; z-index: 1; }
.careers-apply__wave-top {
  position: absolute !important; top: 0; left: 0;
  width: 100%; line-height: 0; pointer-events: none;
  z-index: 2;
}
.careers-apply__wave-top svg { display: block; width: 100%; height: 90px; }
.careers-apply .section-title h2 { font-size: clamp(29px,4vw,39px); color: var(--white); }
.careers-apply .section-title__divider { background: var(--purple); }
.careers-apply__inner { max-width: 620px; margin: 0 auto; }
.careers-apply__body {
  font-size: 17.5px; line-height: 1.85; color: rgba(255,255,255,0.85); margin-bottom: 0;
}
.careers-apply__note {
  margin-top: 40px; padding: 24px 28px;
  border-left: 4px solid rgba(107,91,214,0.6);
  background: rgba(107,91,214,0.28);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
}
.careers-apply__note p { font-size: 14px; color: rgba(26,26,46,0.75); line-height: 1.7; }

/* Opening cards */
.openings-grid { display: grid; gap: 20px; }
.opening-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 28px 28px 24px;
  border-left: 4px solid var(--purple);
  box-shadow: 0 4px 24px rgba(74,61,170,0.15);
}
.opening-card h3 { font-size: 18px; font-weight: 600; color: #1a1a2e; }
.opening-card--ghost {
  background: rgba(255,255,255,0.25);
  border-left-color: rgba(255,255,255,0.5);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.opening-details { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .careers-why__bg { display: none; }
  .careers-why > .container { min-height: unset; }
  .careers-why__content { position: relative; right: auto; top: auto; width: 100%; }
}
@media (max-width: 600px) {
  .page-hero { height: 460px; }
}

/* ---------- TUITION SECTION ---------- */
.tuition-section {
  background: var(--bg-light);
}
.tuition-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-body { padding: 24px 20px 36px; gap: 0; }
  .footer-col { padding: 0 20px; }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .container { padding: 0 20px; }
  .section { padding: 48px 0; }
  .section--lg { padding: 56px 0; }

  /* Navbar mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 15px; border-radius: var(--radius-sm); }
  .nav-btn { margin: 8px 0 0; text-align: center; padding: 12px 16px; }
  .hamburger { display: flex; }

  /* Layout */
  .two-col, .two-col--reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .programs-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 16px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tuition-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-body { flex-direction: column; align-items: center; padding: 24px 20px 36px; }
  .footer-col { padding: 16px 0; text-align: center; width: 100%; }
  .footer-col--center { text-align: center; }
  .footer-col-divider { width: 80%; height: 1px; align-self: auto; }
  .footer-icon-row { justify-content: center; }

  .hero { height: 560px; }
  .hero-content { padding: 0 24px 0 28px; max-width: 100%; }
  .hero-arrow { display: none; }


  .btn-group { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-main-title { font-size: 22px; }
  .stat-card__num { font-size: 32px; }
  .form-card { padding: 24px 20px; }
}

/* ===== NAV GRID + CLOUD WRAPPER ===== */
.grid-cloud-container {
  position: relative;
  background: #a2a3e9; /* purple fills gaps between cells and cloud transparent areas */
  padding-bottom: 140px; /* space for cloud extending below grid */
}

/* ===== NAV GRID ===== */
.nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 580px 540px 580px;
  gap: 0;
}
.nav-cell {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: default;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
/* Title links inside cells */
.nav-cell__title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: block;
}
.nav-cell__title-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Photo cells */
.nav-cell--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.nav-cell--photo:hover img { transform: scale(1.04); }

/* Color cells */
.nav-cell--color::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .2s;
  pointer-events: none;
}
.nav-cell--color:hover::after { background: rgba(0,0,0,0.08); }

/* Text on color cell — top-left */
.nav-cell__text {
  position: relative;
  z-index: 1;
  padding: 28px 28px;
  align-self: flex-start;
}
.nav-cell__text--topleft { align-self: flex-start; }
.nav-cell__text h3 {
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
}
.nav-cell__text p {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}

/* Photo cell with text overlay */
.nav-cell--overlay .nav-cell__overlay-text {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  padding: 32px 36px;
  width: 62%;
}
.nav-cell--overlay .nav-cell__overlay-text h3 {
  color: #fff;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.15;
}
.nav-cell--overlay .nav-cell__overlay-text p {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.6;
}

/* Split cell (color bg + embedded photo) */
.nav-cell--split {
  align-items: stretch;
}
.nav-cell--split .nav-cell__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.nav-cell__embed-photo {
  width: 44%;
  flex-shrink: 0;
  overflow: hidden;
}
.nav-cell__embed-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .nav-grid .nav-cell {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: 320px;
  }
  .nav-cell--overlay .nav-cell__overlay-text { width: 100%; }
}

/* Yellow cloud transition between nav-grid and testimonials */
.cloud-yellow-transition {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 10;
  pointer-events: none;
}
.cloud-yellow-transition img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  position: relative;
  z-index: 1;
  background-color: #febc2b;
  background-image: url('/static/images/main/testimonial.avif');
  background-size: cover;
  background-position: center;
  padding: 80px 80px;
  text-align: center;
  height: 533px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.testimonials__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  width: 100%;
}
.testimonials__track {
  height: 260px;
  position: relative;
}
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial__author {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.testimonial__divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  margin: 0 auto 24px;
}
.testimonial__text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 32px;
  cursor: pointer;
  padding: 8px 12px;
  transition: color .2s;
  line-height: 1;
}
.testimonial-arrow:hover { color: #fff; }
.testimonial-arrow--prev { left: -60px; }
.testimonial-arrow--next { right: -60px; }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.testimonial-dot.active { background: #fff; }

@media (max-width: 768px) {
  .testimonials { padding: 60px 24px; }
  .testimonial-arrow--prev { left: -4px; }
  .testimonial-arrow--next { right: -4px; }
  .testimonial__text { font-size: 16px; }
}

/* ============================================================
   ADMISSION PAGE
   ============================================================ */

/* — Hero — */
.admission-hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  background:
    linear-gradient(rgba(40,30,100,0.55), rgba(40,30,100,0.55)),
    url("../images/admission/46.webp") center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.admission-hero__overlay {
  position: relative; z-index: 2;
  text-align: center; padding: 0 40px; max-width: 760px;
  display: flex; flex-direction: column; align-items: center;
}
.admission-hero__label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.65); margin-bottom: 14px;
}
.admission-hero h1 { color: var(--white); font-size: clamp(36px,5vw,56px); font-weight: 700; margin-bottom: 16px; }
.admission-hero__sub { font-size: 18px; color: rgba(255,255,255,0.88); line-height: 1.65; margin-bottom: 0; }

/* — How It Works: warm cream bg, arch at top overlaps hero — */
.admission-steps {
  background: #FFF8EE;
  position: relative; z-index: 2;
  margin-top: -120px;
  padding-top: calc(72px + 120px);
  padding-bottom: 160px;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.admission-steps .section-title h2 { font-size: clamp(29px,4vw,39px); }

/* (diagonal removed — use arch overlap instead) */

/* Vertical list */
.admission-steps__list {
  max-width: 680px;
  margin: 52px auto 0;
}
.admission-step {
  display: flex;
  gap: 28px;
}
.admission-step__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.admission-step__num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 21px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.admission-step__num--yellow { background: #febc2b; color: #1a1a2e; }
.admission-step__line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(107,91,214,0.25), rgba(107,91,214,0.08));
  margin: 8px 0;
  min-height: 36px;
}
.admission-step__body { padding-top: 10px; padding-bottom: 44px; }
.admission-step--final .admission-step__body { padding-bottom: 0; }
.admission-step__body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.admission-step__body p  { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin: 0; }
.admission-step__btn { margin-top: 16px; display: inline-block; }

/* — Tuition: photo top 65%, solid color bottom 35%, text centered in bottom — */
.admission-tuition {
  background: #F0EDFF;
  position: relative; z-index: 3;
  overflow: hidden;
  margin-top: -120px;
  padding-top: calc(96px + 120px);
  padding-bottom: 264px;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.admission-tuition__bg {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 75%;
  background: linear-gradient(rgba(74,61,170,0.45), rgba(74,61,170,0.45)),
              url("../images/admission/istockphoto-2227776949-612x612.jpg") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, black 0%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 75%, transparent 100%);
}
.admission-tuition__text {
  position: relative; z-index: 1;
  max-width: 520px;
  margin-left: auto;
  transform: translateX(220px);
}
.admission-tuition__text h2,
.admission-tuition__text p { color: #1a1a2e !important; }
.admission-tuition__text h2 { font-size: clamp(20px, 2.7vw, 27px) !important; }
.admission-tuition__text p { font-size: 17px !important; line-height: 1.7; }

/* — FAQ: yellow, straight-line top boundary, classroom image extends into footer (footer z-index:100 sits above) — */
.admission-faq {
  background: #febc2b;
  position: relative; z-index: 20;
  overflow: visible;
  margin-bottom: -43px;
  padding-top: 140px;
  padding-bottom: calc(80px + 43px);
}
.admission-faq::before { display: none; }
/* 左侧黄色延伸块：覆盖 footer arch 左下角透明区域，防止露出白色 */
.admission-faq::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -500px;
  width: 100%;
  height: 500px;
  background: linear-gradient(to right, #febc2b 45%, rgba(254,188,43,0.35) 64%, transparent 84%);
}
/* Classroom image: extends 220px below section into footer arch area; footer covers it at z-index:100 but arch transparent zone shows image */
.admission-faq__bg {
  position: absolute;
  right: 0; top: 0;
  height: 125vh; /* 125% viewport height — stable when FAQ opens, extends further into footer arch */
  width: 55%;
  background: #febc2b url("../images/admission/Image_20260401231107_528_1.jpg") center/cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.65) 35%, black 70%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.65) 35%, black 70%);
}
.admission-faq .section-title { margin-left: -10%; }
.admission-faq .section-title h2 { font-size: clamp(29px,4vw,39px); color: var(--white); }
.admission-faq .section-subtitle { color: rgba(255,255,255,0.85); }
.admission-faq__list { max-width: 620px; margin-top: 48px; margin-left: -10%; }
.admission-faq__list .faq-item { border-bottom-color: rgba(255,255,255,0.2); }
.admission-faq__list .faq-question h3 { color: var(--white); }
.admission-faq__list .faq-question .zh { color: rgba(255,255,255,0.6); }
.admission-faq__list .faq-item .faq-answer p { color: #444 !important; }
.admission-faq__list .faq-answer .zh { color: rgba(255,255,255,0.6); }
.admission-faq__list .faq-icon { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* — CTA: yellow bg, arch at top — */
.admission-cta {
  background: #febc2b;
  position: relative; z-index: 5;
  margin-top: -120px;
  padding-top: calc(90px + 120px) !important;
  padding-bottom: 100px !important;
  -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
  mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 120px), transparent calc(200vw - 1px), black 200vw);
}
.admission-cta h2 { color: #1a1a2e; }
.admission-cta p  { color: rgba(0,0,0,0.72); }

/* — Responsive — */
@media (max-width: 900px) {
  .admission-tuition__inner { grid-template-columns: 1fr; gap: 40px; }
  .admission-faq__bg { display: none; }
}
@media (max-width: 600px) {
  .admission-hero { height: 460px; } /* admission keeps its own class */
  .admission-steps__list { margin-left: 0; }
}

/* ============================================================
   MOBILE FIXES
   ============================================================ */

@media (max-width: 768px) {

  /* Home hero — less tall on phone */
  .hero { height: 420px; }

  /* Nav-grid cells — reduce height, last empty cell very short */
  .nav-grid .nav-cell { height: 220px; }
  .nav-grid .nav-cell:last-child { height: 80px; }

  /* Testimonials — remove fixed height, allow content to breathe */
  .testimonials { height: auto; padding: 48px 24px; }
  .testimonials__track { height: auto; min-height: 200px; }

  /* Careers — hide photo bg that extends -600px below section */
  .careers-apply__photo-bg { display: none; }

  /* Contact — reduce gap after 1-col reflow */
  .contact-layout { gap: 24px; }

  /* Careers "We put our team first" — ensure text isn't behind photo */
  .careers-why > .container {
    padding-left: 20px;
    padding-right: 20px;
    max-width: 100%;
  }

  /* U-arch overlap — reduce from -120px to -80px on mobile */
  .about-story,
  .contact-main,
  .careers-why,
  .admission-steps,
  .admission-tuition,
  .admission-cta,
  .about-cta,
  .about-why-choose {
    margin-top: -80px;
    -webkit-mask-image: radial-gradient(circle 200vw at 50% calc(-200vw + 80px), transparent calc(200vw - 1px), black 200vw);
    mask-image:          radial-gradient(circle 200vw at 50% calc(-200vw + 80px), transparent calc(200vw - 1px), black 200vw);
  }
  .about-story     { padding-top: calc(72px + 80px); }
  .contact-main    { padding-top: calc(72px + 80px); }
  .careers-why     { padding-top: calc(72px + 80px); }
  .admission-steps { padding-top: calc(72px + 80px); }
  .admission-tuition { padding-top: calc(80px + 80px); }
  .admission-tuition__bg {
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    background: linear-gradient(rgba(74,61,170,0.62), rgba(74,61,170,0.62)),
                url("../images/admission/istockphoto-2227776949-612x612.jpg") center/cover no-repeat;
  }
  .admission-tuition__text { transform: none; margin-left: 0; text-align: center !important; }
  .admission-tuition__text * { text-align: center !important; }

  /* ── Contact hero — full cover on mobile, no side gradients ── */
  .contact-hero { background-size: cover !important; }
  .contact-hero::before { display: none; }
  .admission-tuition__text h2,
  .admission-tuition__text p { color: #fff !important; }
  .admission-tuition__text .btn { display: block; margin: 0 auto; width: fit-content; }
  .admission-cta   { padding-top: calc(90px + 80px) !important; }
  .about-cta       { padding-top: calc(90px + 80px) !important; }
  .about-why-choose { padding-top: calc(72px + 80px); }

  /* why-lia — no overlap on mobile, sit flush below hero */
  .why-lia {
    margin-top: 0 !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    padding: 48px 20px 0 !important;
  }

  /* Footer — move logo down into purple area */
  .footer-arch-logo { top: 120%; }
  .footer-arch-logo img { height: 80px; }

  /* Footer — push Follow col down to clear the logo */
  .footer-col--follow { padding-top: 100px; }

  /* Footer — reduce line-height for Follow and Contact columns */
  .footer-col--follow .footer-heading { margin-bottom: 20px; }
  .footer-col--follow .footer-body-text { line-height: 1.8; }
  .footer-col--contact .footer-heading { margin-bottom: 20px; }
  .footer-col--contact .footer-body-text { line-height: 1.8; }

  /* Footer — reduce all text by 15% */
  .footer-heading { font-size: 23px; }
  .footer-body-text { font-size: 15px; }
  .footer-campus-name { font-size: 15px; }
  .footer-bottom { font-size: 10px; padding: 10px 20px; }

  /* Footer — remove bottom gap */
  .footer-body { padding-bottom: 0; }
  .footer-lower { padding-bottom: 0; }
  .footer-bottom { margin-bottom: 0; padding-bottom: env(safe-area-inset-bottom, 0); }
  .footer { margin-bottom: 0; }

  /* ── Programs: features-strip — wrap to 2 columns ── */
  .features-strip__grid { flex-wrap: wrap; }
  .feature-item { flex: 0 0 50%; min-width: 0; max-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.18); box-sizing: border-box; }
  .feature-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.18); }

  /* ── Programs: campus-split — stack vertically ── */
  .campus-split { grid-template-columns: 1fr; min-height: 0; }
  .campus-split__text { padding: 48px 24px; }
  .campus-split__img { height: 260px; }

  /* ── Programs: photo-strip — stack to 1 column ── */
  .photo-strip__grid { grid-template-columns: 1fr; height: auto; }
  .photo-strip__cell { height: 220px; }

  /* ── Programs: Kenmore campus — move image above text on mobile ── */
  .campus-split__text--yellow { order: 2; }

  /* ── Programs: hide hours feature item on mobile ── */
  .feature-item:last-child { display: none; }

  /* ── About: story-cols — stack vertically ── */
  .about-story .story-cols { flex-direction: column; gap: 24px; }
  .about-story .story-photo-col { flex: 0 0 auto; width: 100%; height: 380px; }
  .about-story .story-photo-col > div { height: 100%; }
  .about-story .story-photo-col { height: 480px; width: 82%; margin: 0 auto; }
  .about-story .story-photo-col > div { border-radius: var(--radius-md); overflow: hidden; }
  .about-story .story-photo-col img { object-fit: cover; object-position: center top; }

  /* ── About: hide decorative clouds on mobile (they overlap text) ── */
  .about-yellow-cloud { display: none; }
  .about-purple-cloud { display: none; }

  /* ── About: values grid — 1 column on mobile ── */
  .about-values .values-grid { grid-template-columns: 1fr; }

  /* ── About: team grid — 1 column, 80% width ── */
  .about-team__grid-wrapper { width: 80%; margin: 0 auto; grid-template-columns: 1fr; }
}

@media (max-width: 480px) {

  /* Home hero CTA button */
  .btn--hero { padding: 11px 24px; font-size: 13px; }

  /* Careers apply — reduce vertical padding */
  .careers-apply { padding-top: 60px; padding-bottom: 80px; }

  /* FAQ admission — reset left margin on very small screens */
  .admission-faq .section-title { margin-left: 0; }
  .admission-faq__list { margin-left: 0; }
}
