:root {
  --brand: #00b4f0;
  --gold: #e8b84a;
  --gold-2: #f6d889;
  --gold-deep: #c48a1a;
  --orange: #e85a12;
  --orange-2: #ff7a2e;
  --navy: #1a2744;
  --navy-2: #0e1730;
  --ink: #241c14;
  --body: #4a433a;
  --muted: #7a7268;
  --line: #e8dfd0;
  --cream: #fbf6ec;
  --sand: #f4ebd8;
  --paper: #fffdf8;
  --green: #2f6f4e;
  --green-2: #1e4d36;
  --track: #d35400;
  --shadow: 0 18px 50px rgba(36, 28, 20, 0.08);
  --shadow-lg: 0 30px 80px rgba(26, 39, 68, 0.16);
  --radius: 18px;
  --header: 76px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--paper); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--header);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 3px 0 var(--brand);
  transition: box-shadow .25s, border-color .25s, height .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: inset 0 3px 0 var(--brand), 0 8px 30px rgba(36, 28, 20, 0.06);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { width: 52px; height: 52px; object-fit: contain; }
.site-footer .logo img { background: #fff; border-radius: 12px; padding: 3px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.logo__en {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 9px;
  font-size: 13px;
  color: var(--body);
  border-radius: 999px;
  position: relative;
}
.nav a:hover,
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 2px;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 8px;
}
.phone {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: right;
}
.phone a { display: block; }
.phone small { font-size: 11px; color: var(--muted); }
.phone strong {
  font-size: 15px;
  color: var(--orange);
  letter-spacing: 0.02em;
  font-weight: 700;
}
.phone a + a strong {
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold {
  color: #3a2a10;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 20px rgba(196, 138, 26, 0.28);
}
.btn--gold:hover { box-shadow: 0 12px 28px rgba(196, 138, 26, 0.36); }
.btn--navy {
  color: #fff;
  background: var(--navy);
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn--lg { height: 50px; padding: 0 26px; font-size: 15px; }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- hero carousel ---------- */
.hero {
  position: relative;
  background: var(--paper);
  padding: 16px 20px 0;
}
.carousel {
  position: relative;
  overflow: hidden;
  width: min(var(--max), 100%);
  height: auto;
  aspect-ratio: 2731 / 1280;
  min-height: 240px;
  margin: 0 auto;
  border-radius: 20px;
  user-select: none;
  touch-action: pan-y;
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.22,.8,.28,1);
}
.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.slide img.slide__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.slide--recruit {
  overflow: hidden;
  background:
    radial-gradient(720px 380px at 92% 85%, rgba(232,184,74,.22), transparent 58%),
    linear-gradient(120deg, #10203a 0%, #1a2744 55%, #173528 100%);
  color: #fff;
  display: flex;
  align-items: center;
  border-radius: 20px;
}
.slide--recruit .slide__content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.recruit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(246, 216, 137, .45);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: .2em;
}
.recruit-title {
  font-family: var(--en);
  font-size: clamp(64px, 9vw, 120px);
  line-height: 1.08;
  margin: 16px 0 8px;
  color: #fff;
  letter-spacing: .02em;
  overflow: visible;
}
.recruit-title em {
  font-style: normal;
  color: var(--gold-2);
  margin-left: .08em;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.recruit-sub {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
}
.recruit-desc {
  color: rgba(255,255,255,.78);
  max-width: 460px;
  margin-bottom: 24px;
}
.recruit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.recruit-points span {
  padding: 6px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 13px;
}
.recruit-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(246, 216, 137, .22);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.recruit-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 12px;
}
.recruit-card li {
  display: flex;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  margin: 10px 0;
}
.recruit-card li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.carousel__nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.carousel__btn {
  pointer-events: auto;
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.58);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  font-size: 22px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
}
.carousel__btn:hover { background: rgba(255,255,255,.92); }
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__dots {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(20,16,10,.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.carousel__dots button {
  width: 8px; height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  padding: 0;
  transition: width .25s, background .25s;
}
.carousel__dots button.is-active {
  width: 26px;
  background: #fff;
}
.carousel__progress {
  display: none;
}
.carousel__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }
.section--navy {
  background: var(--navy-2);
  color: #fff;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-deep);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
}
.section--navy .eyebrow { color: var(--gold-2); }
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: currentColor;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  margin: 8px 0 10px;
}
.section-head p.lead {
  color: var(--muted);
  max-width: 520px;
}
.section--navy p.lead { color: rgba(255,255,255,.7); }
.link-more {
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.link-more:hover { text-decoration: underline; }

/* stats */
.stats {
  margin-top: 0;
  position: relative;
  z-index: 4;
  padding: 20px 0 8px;
  background: linear-gradient(180deg, rgba(251,246,236,0) 0%, var(--paper) 42%);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 28px 22px 26px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--en);
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
}
.stat b em {
  font-style: normal;
  font-size: 18px;
  margin-left: 4px;
  color: var(--gold-deep);
  font-family: var(--serif);
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  margin: 10px 0 16px;
}
.about-copy p { color: var(--body); margin-bottom: 14px; }
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.about-highlights li {
  background: var(--cream);
  border-radius: 16px;
  padding: 16px 18px;
}
.about-highlights strong { display: block; margin-bottom: 4px; }
.about-highlights span { color: var(--muted); font-size: 13px; }
.about-visual {
  position: relative;
  min-height: 420px;
}
.about-visual__frame {
  position: absolute;
  inset: 30px 0 0 40px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  min-height: 390px;
}
.about-badge {
  position: absolute;
  left: 0; top: 0;
  width: 140px; height: 140px;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #3a2a10;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 2;
}
.about-badge b {
  font-family: var(--en);
  font-size: 48px;
  line-height: 1;
}
.about-badge span { font-size: 13px; font-weight: 700; }

/* teachers */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.teacher-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36,28,20,.06);
  transition: transform .25s, box-shadow .25s;
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.teacher-card__photo {
  height: 210px;
  overflow: hidden;
  background: var(--sand);
}
.teacher-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.teacher-card__body { padding: 16px 16px 18px; }
.teacher-card h3 { font-size: 16px; }
.teacher-card .role {
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  margin: 4px 0 8px;
}
.teacher-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.teacher-card .tags span {
  font-size: 11px;
  color: var(--muted);
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 999px;
}
.teacher-card.detailed .bio {
  color: var(--body);
  font-size: 13px;
  margin-top: 10px;
}

/* courses / stages */
.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stage-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 26px 22px 24px;
  box-shadow: 0 10px 30px rgba(36,28,20,.06);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.stage-card::after {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,184,74,.35), transparent 70%);
}
.stage-no {
  font-family: var(--en);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
}
.stage-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 8px 0 4px;
}
.stage-age { color: var(--orange); font-size: 13px; font-weight: 700; }
.stage-card p { color: var(--body); font-size: 14px; margin: 12px 0 16px; }
.stage-mats { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.stage-mats span {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--navy);
}

/* tracks */
.tracks {
  display: grid;
  gap: 14px;
}
.track {
  display: grid;
  grid-template-columns: 160px 1fr;
  background: linear-gradient(90deg, #c2410c, #e85a12 18%, #f97316 52%, #fb923c);
  border-radius: 18px;
  overflow: hidden;
  min-height: 76px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 90, 18, .18);
}
.track__label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: rgba(0,0,0,.16);
  letter-spacing: .04em;
}
.track__items {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  flex-wrap: wrap;
}
.track__items span {
  font-size: 15px;
  font-weight: 600;
}
.track__items span + span::before {
  content: "·";
  margin-right: 8px;
  opacity: .7;
}
.track--green {
  background: linear-gradient(90deg, #1e4d36, #2f6f4e 30%, #40916c);
}
.track--navy {
  background: linear-gradient(90deg, #0e1730, #1a2744 30%, #2a406c);
}
.tracks-head {
  text-align: center;
  margin-bottom: 28px;
}
.tracks-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 8px 0 10px;
}
.dual-goal {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.goal {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 22px;
}
.goal h3 { font-size: 20px; margin-bottom: 8px; }
.goal p { color: rgba(255,255,255,.72); font-size: 14px; }

/* parents */
.article-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.article {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36,28,20,.06);
  display: flex;
  flex-direction: column;
}
.article--feature {
  grid-row: 1 / span 2;
}
.article__cover {
  height: 140px;
  background:
    linear-gradient(160deg, rgba(26,39,68,.15), rgba(232,90,18,.2)),
    var(--sand);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.article--feature .article__cover { height: 240px; }
.article__cover span {
  background: #fff;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.article__body { padding: 18px 18px 20px; }
.article h3 {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.article--feature h3 { font-size: 26px; }
.article p { color: var(--muted); font-size: 13px; }
.article time { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; }

/* students */
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(36,28,20,.06);
}
.case-card header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.case-card header img {
  width: 52px; height: 52px;
  border-radius: 50%;
}
.case-card h3 { font-size: 16px; }
.case-card .meta { color: var(--muted); font-size: 12px; }
.score {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: 13px;
}
.score b { color: var(--orange); font-size: 18px; }
.case-card q {
  font-size: 13px;
  color: var(--body);
  quotes: "“" "”";
}

/* campus */
.campus-hero {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 16px;
  margin-bottom: 16px;
}
.campus-hero__main {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
}
.campus-hero__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  min-height: 380px;
}
.campus-hero__main figcaption {
  position: absolute;
  left: 20px; bottom: 20px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.campus-side {
  display: grid;
  gap: 16px;
}
.facility {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(36,28,20,.06);
}
.facility img { width: 52px; height: 52px; }
.facility h3 { font-size: 16px; margin-bottom: 4px; }
.facility p { color: var(--muted); font-size: 13px; }

/* cta */
.cta-band {
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(232,184,74,.28), transparent 60%),
    var(--navy);
  color: #fff;
  padding: 64px 0;
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  margin: 8px 0 8px;
}
.cta-band p { color: rgba(255,255,255,.72); }

/* footer */
.site-footer {
  background: var(--navy-2);
  color: rgba(255,255,255,.78);
  padding: 56px 0 24px;
  margin-top: auto;
  width: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 15px;
}
.site-footer a { display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand p { font-size: 13px; margin-top: 10px; max-width: 280px; }
.footer-contact li { font-size: 14px; margin: 8px 0; }
.copyright {
  padding-top: 18px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* page hero */
.page-hero {
  background:
    radial-gradient(700px 240px at 80% 0%, rgba(232,184,74,.28), transparent 60%),
    var(--cream);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  margin: 8px 0 10px;
}
.page-hero p { color: var(--muted); max-width: 560px; }

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(14, 23, 48, .55);
}
.modal__panel {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-lg);
}
.modal__panel h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin-bottom: 6px;
}
.modal__panel .hint { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.form-row { margin-bottom: 12px; }
.form-row label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--body);
}
.form-row input,
.form-row select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  background: var(--paper);
  font-size: 14px;
}
.form-row input:focus,
.form-row select:focus {
  outline: 2px solid rgba(232,184,74,.55);
  border-color: var(--gold);
}
.modal__close {
  position: absolute;
  right: 14px; top: 14px;
  width: 36px; height: 36px;
  border: 0;
  background: var(--cream);
  border-radius: 50%;
  font-size: 18px;
}
.form-success {
  display: none;
  text-align: center;
  padding: 18px 8px 8px;
}
.form-success.is-show { display: block; }
.form-success b { display: block; font-size: 20px; margin: 8px 0; }

.float-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-cta .btn { box-shadow: var(--shadow-lg); }

/* curriculum detail */
.course-block { margin-bottom: 48px; }
.course-block h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 8px 0 12px;
}
.material-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36,28,20,.06);
}
.material-table th,
.material-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.material-table th {
  background: var(--cream);
  font-weight: 700;
}
.material-table tr:last-child td { border-bottom: 0; }

.timeline {
  display: grid;
  gap: 18px;
}
.timeline article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}
.timeline .year {
  font-family: var(--en);
  font-size: 28px;
  color: var(--gold-deep);
}

/* mobile nav */
.nav-drawer {
  display: none;
}

@media (max-width: 1100px) {
  .teacher-grid { grid-template-columns: repeat(3, 1fr); }
  .stage-grid, .stats__grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .campus-hero, .article-grid, .footer-grid, .slide--recruit .slide__content {
    grid-template-columns: 1fr;
  }
  .article-grid { grid-template-rows: auto; }
  .article--feature { grid-row: auto; }
  .header-cta .phone { display: none; }
  .about-visual { min-height: 320px; }
}

@media (max-width: 820px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .hero { padding: 8px 12px 0; }
  .carousel { border-radius: 16px; }
  .slide:nth-child(2) img.slide__img { object-position: center; }
  .recruit-card { display: none; }
  .recruit-title { font-size: 64px; }
  .carousel__dots { bottom: 16px; }
  .track { grid-template-columns: 1fr; }
  .track__label { padding: 10px 16px; justify-content: flex-start; }
  .track__items { padding: 10px 16px 14px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .dual-goal, .about-highlights, .cta-band .wrap, .timeline article {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-drawer {
    display: none;
    position: fixed;
    inset: var(--header) 0 0 0;
    background: rgba(255,253,248,.98);
    z-index: 79;
    padding: 18px 20px;
    flex-direction: column;
    gap: 6px;
  }
  .nav-drawer.is-open { display: flex; }
  .nav-drawer a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .teacher-grid, .stage-grid, .stats__grid, .case-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .recruit-title { font-size: 56px; }
  .teacher-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__track, .teacher-card, .btn { transition: none; }
}

[data-live]:not(.is-ready) {
  position: relative;
  min-height: 220px;
  pointer-events: none;
}
[data-live]:not(.is-ready) > * {
  display: none !important;
}
[data-live]:not(.is-ready)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: live-spin 0.7s linear infinite;
}
.teacher-grid[data-live]:not(.is-ready) {
  min-height: 360px;
}
@keyframes live-spin {
  to { transform: rotate(360deg); }
}

.teacher-card { cursor: pointer; }
.teacher-card.is-live { animation: rise .45s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.profile-panel {
  width: min(760px, 100%);
  max-height: min(88vh, 840px);
  overflow: auto;
  padding: 36px 36px 32px;
  text-align: left;
}
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.profile-photo {
  width: 260px;
  height: 330px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  margin: 0;
  background: var(--sand);
  box-shadow: 0 16px 40px rgba(26, 39, 68, 0.14);
}
.profile-info h3 {
  font-size: 32px;
  margin-bottom: 4px;
}
.profile-panel .role {
  color: var(--orange);
  font-size: 16px;
  font-weight: 600;
  margin: 6px 0 12px;
}
.profile-panel .hint {
  font-size: 14px;
  margin-bottom: 14px;
}
.profile-bio {
  color: var(--body);
  font-size: 15px;
  line-height: 1.85;
}
@media (max-width: 640px) {
  .profile-panel { padding: 28px 20px 22px; }
  .profile-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .profile-photo {
    width: 200px;
    height: 250px;
  }
}
.campus-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.campus-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}
.campus-shot img { width: 100%; height: 160px; object-fit: cover; }
.campus-shot figcaption { padding: 8px 12px; font-size: 13px; }
.lightbox-panel {
  position: relative;
  width: min(900px, 100%);
  background: #0e1730;
  border-radius: 16px;
  overflow: hidden;
}
.lightbox-panel img { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.lightbox-panel p { color: #fff; padding: 12px 16px; }
[data-lightbox] { cursor: zoom-in; }

.kb-hero { padding-top: 16px; }
.kb-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 8px;
}
.kb-head h1 { font-family: var(--serif); font-size: 28px; }
.crumb { color: var(--muted); font-size: 13px; }
.crumb a { color: var(--muted); }
.kb-list { list-style: none; }
.kb-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.kb-list a.title {
  color: var(--ink);
  font-size: 16px;
}
.kb-list a.title:hover { color: var(--brand); }
.kb-list .date {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.pager button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.article-page h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  margin: 16px 0 12px;
}
.article-page .meta { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.article-page .body p { margin-bottom: 14px; color: var(--body); line-height: 1.85; }
.faq-list details {
  background: #fff;
  border-radius: 16px;
  padding: 4px 20px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(36,28,20,.05);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--gold-deep);
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer {
  color: var(--body);
  padding: 0 0 18px;
  line-height: 1.8;
}
.course-visual-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
@media (max-width: 820px) {
  .campus-gallery { grid-template-columns: 1fr 1fr; }
}

/* ---------- page themes (body[data-theme]) ---------- */
body[data-theme="glow"],
body[data-theme="paper"],
body[data-theme="bokeh"] {
  background: transparent;
}
body[data-theme="glow"]::before,
body[data-theme="paper"]::before,
body[data-theme="bokeh"]::before,
body[data-theme="paper"]::after,
body[data-theme="bokeh"]::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
body[data-theme="glow"]::before {
  inset: -20%;
  background:
    radial-gradient(ellipse 42% 36% at 18% 22%, rgba(232, 184, 74, .22), transparent 58%),
    radial-gradient(ellipse 38% 34% at 82% 68%, rgba(0, 180, 240, .12), transparent 58%),
    radial-gradient(ellipse 30% 28% at 50% 100%, rgba(232, 90, 18, .07), transparent 55%);
  animation: theme-drift 34s ease-in-out infinite alternate;
}
body[data-theme="paper"]::before {
  inset: 0;
  opacity: .28;
  background-image: repeating-radial-gradient(circle at 18% 22%, rgba(36, 28, 20, .045) 0 1px, transparent 1px 3px);
  background-size: 140px 140px;
}
body[data-theme="paper"]::after {
  inset: -30%;
  background: linear-gradient(118deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%);
  animation: theme-sweep 16s ease-in-out infinite;
}
body[data-theme="bokeh"]::before {
  inset: -10%;
  background:
    radial-gradient(circle at 16% 28%, rgba(232, 184, 74, .28) 0 120px, transparent 160px),
    radial-gradient(circle at 78% 22%, rgba(0, 180, 240, .16) 0 90px, transparent 130px),
    radial-gradient(circle at 70% 78%, rgba(246, 216, 137, .22) 0 140px, transparent 190px);
  animation: theme-drift 26s ease-in-out infinite alternate;
}
body[data-theme="bokeh"]::after {
  inset: -10%;
  background:
    radial-gradient(circle at 30% 80%, rgba(232, 90, 18, .1) 0 80px, transparent 120px),
    radial-gradient(circle at 88% 60%, rgba(255, 255, 255, .2) 0 70px, transparent 110px);
  animation: theme-drift 32s ease-in-out infinite alternate-reverse;
}
@keyframes theme-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.06); }
}
@keyframes theme-sweep {
  0%, 100% { transform: translateX(-8%); }
  50% { transform: translateX(8%); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-theme="glow"]::before,
  body[data-theme="paper"]::after,
  body[data-theme="bokeh"]::before,
  body[data-theme="bokeh"]::after {
    animation: none;
  }
}
