:root {
  --color-cream: #fffdf7;
  --color-cream-deep: #fff4cf;
  --color-sage: #72c4a7;
  --color-sage-pale: #e3f6ee;
  --color-sage-dark: #2d7064;
  --color-clay: #f28a2e;
  --color-clay-soft: #ffb55c;
  --color-rose: #72bee7;
  --color-rose-pale: #e7f6ff;
  --color-sun: #ffd66b;
  --color-ink: #21363d;
  --color-muted: #586b71;
  --color-white: #ffffff;
  --color-border: #d7e6e2;
  --shadow-soft: 0 18px 44px rgba(43, 93, 86, 0.13);
  --shadow-small: 0 8px 22px rgba(43, 93, 86, 0.10);
  --radius-small: 0.9rem;
  --radius-medium: 1.4rem;
  --radius-large: 2.2rem;
  --container: 73rem;
  --measure: 42rem;
  --font-display: "Trebuchet MS", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 7rem; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  background: var(--color-cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

main { overflow: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin-top: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-wrap: balance;
}

h1 { max-width: 13ch; margin-bottom: 0; font-size: clamp(2.9rem, 8vw, 5.35rem); line-height: 1.01; letter-spacing: -0.035em; }
h2 { margin-bottom: 1.2rem; font-size: clamp(2.05rem, 5.5vw, 3.45rem); line-height: 1.08; letter-spacing: -0.028em; }
h3 { margin-bottom: 0.6rem; font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.15; }
:focus-visible { outline: 3px solid var(--color-clay); outline-offset: 4px; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.measure-wide { max-width: 47rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-small);
  background: var(--color-ink);
  color: var(--color-white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(66, 81, 63, 0.15); background: rgba(255, 253, 247, 0.96); backdrop-filter: blur(12px); }
.header-inner { min-height: 5.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.wordmark {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 0.55rem;
  width: max-content;
  max-width: 100%;
  text-decoration: none;
  line-height: 1.05;
}

.wordmark-primary { grid-row: 1 / span 2; font-family: var(--font-display); font-size: clamp(1.35rem, 4vw, 1.8rem); font-weight: 700; letter-spacing: -0.04em; }
.wordmark-primary em { color: var(--color-clay); font-style: italic; }
.wordmark-support { align-self: end; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.075em; text-transform: uppercase; }
.wordmark-chinese { align-self: start; color: var(--color-sage-dark); font-size: 0.72rem; letter-spacing: 0.08em; }

.menu-toggle {
  display: none;
  place-items: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-ink);
  cursor: pointer;
}

.js .menu-toggle { display: grid; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { width: 1.2rem; height: 2px; background: currentColor; content: ""; display: block; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before { position: absolute; top: -0.38rem; }
.menu-toggle-lines::after { position: absolute; top: 0.38rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.primary-nav { display: grid; padding: 0.75rem 1rem 1rem; border-top: 1px solid var(--color-border); background: var(--color-white); }
.js .primary-nav { position: absolute; inset: 100% 0 auto; display: none; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.js .primary-nav.is-open { display: grid; }
.primary-nav a { padding: 0.7rem 0.75rem; border-radius: 0.5rem; text-decoration: none; font-weight: 750; }
.primary-nav a[aria-current="page"] { color: var(--color-clay); }
.primary-nav a:hover { background: var(--color-cream); }

.hero { padding: clamp(3rem, 8vw, 7rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-lede { max-width: 36rem; margin: 1.5rem 0 0; color: var(--color-muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.eyebrow { margin: 0 0 0.9rem; color: var(--color-clay); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.button-row, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.72rem 1.28rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-small); }
.button-primary { background: var(--color-clay); color: var(--color-white); }
.button-primary:hover { background: #dc731d; }
.button-secondary { border-color: var(--color-sage-dark); color: var(--color-sage-dark); }
.button-light { background: var(--color-white); color: var(--color-sage-dark); }
.text-link { color: var(--color-sage-dark); font-weight: 800; text-underline-offset: 0.25em; text-decoration-thickness: 0.09em; }
.text-link:hover { color: var(--color-clay); }

.quick-facts { padding: 1.5rem 0; background: var(--color-sage-dark); color: var(--color-white); }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 0; }
.facts-grid div { min-width: 0; }
.facts-grid dt { color: #dbe1d6; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.facts-grid dd { margin: 0.15rem 0 0; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-compact { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tinted { background: var(--color-sage-pale); }
.section-dark { background: var(--color-sage-dark); color: var(--color-white); }
.section-copy { align-self: center; max-width: var(--measure); }
.section-copy > p:not(.eyebrow) { color: var(--color-muted); }
.section-heading { max-width: 48rem; margin-bottom: 2.5rem; }
.section-heading > p:not(.eyebrow) { max-width: var(--measure); color: var(--color-muted); }
.section-heading-centered { margin-inline: auto; text-align: center; }
.section-heading-centered > p { margin-inline: auto; }
.section-heading-light h2, .section-heading-light p { color: var(--color-white); }
.section-heading-light .eyebrow { color: #f4c5b7; }
.section-link { margin-top: 2rem; }
.split-layout { display: grid; gap: 2.75rem; align-items: center; }
.split-layout-wide { align-items: center; }

.photo-frame { position: relative; min-width: 0; margin: 0; overflow: hidden; border-radius: var(--radius-large); background: var(--color-cream-deep); box-shadow: var(--shadow-soft); }
.photo-frame > img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame-hero { aspect-ratio: 4 / 3; }
.photo-frame-portrait { aspect-ratio: 4 / 5; }
.photo-frame-tall { aspect-ratio: 4 / 5; }
.photo-frame-small { aspect-ratio: 4 / 3; }
.photo-frame-landscape { aspect-ratio: 3 / 2; }
.development-label { position: absolute; right: 0.7rem; bottom: 0.7rem; display: grid; max-width: calc(100% - 1.4rem); padding: 0.48rem 0.65rem; border-radius: 0.55rem; background: rgba(255, 253, 248, 0.94); color: var(--color-sage-dark); font-size: 0.72rem; font-weight: 800; line-height: 1.25; text-align: left; box-shadow: var(--shadow-small); }
.development-label > span { color: var(--color-clay); font-size: 0.58rem; letter-spacing: 0.08em; text-transform: uppercase; }

.value-grid { display: grid; gap: 1rem; }
.value-card { padding: 1.6rem; border: 1px solid rgba(63, 79, 60, 0.16); border-radius: var(--radius-medium); background: var(--color-white); }
.value-card p { margin-bottom: 0; color: var(--color-muted); }
.value-number { display: inline-block; margin-bottom: 1rem; color: var(--color-clay); font-family: var(--font-display); font-size: 1.1rem; font-style: italic; }

.photo-pair { position: relative; display: grid; grid-template-columns: 1fr 0.8fr; align-items: end; min-height: 24rem; padding-right: 0.6rem; }
.photo-pair .photo-frame-small { position: relative; z-index: 2; margin: 0 0 -1.1rem -2rem; }
.activity-grid { display: grid; gap: 1.25rem; }
.activity-card { aspect-ratio: 4 / 3; box-shadow: none; }
.activity-card::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(24, 34, 27, 0.8)); content: ""; pointer-events: none; }
.activity-card > figcaption { position: absolute; z-index: 2; inset: auto 1.1rem 1.1rem; display: flex; align-items: end; justify-content: space-between; gap: 0.6rem; color: var(--color-white); }
.activity-card > figcaption strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.activity-card .development-label { position: static; flex: 0 1 auto; color: var(--color-sage-dark); }
.outdoor-grid { display: grid; gap: 1.25rem; }

.handbook-card { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.7rem, 5vw, 3.5rem); border-radius: var(--radius-large); background: var(--color-clay); color: var(--color-white); box-shadow: var(--shadow-soft); }
.handbook-card h2, .handbook-card p { color: var(--color-white); }
.handbook-card .eyebrow { color: #ffe1d7; }
.handbook-card p { max-width: 45rem; }
.teacher-layout { max-width: 69rem; }
.teacher-photo { aspect-ratio: 4 / 3; }

.section-contact { background: var(--color-rose-pale); }
.contact-grid { display: grid; gap: 2rem; align-items: center; }
.contact-copy { max-width: 40rem; }
.contact-copy > p:not(.eyebrow) { color: var(--color-muted); }
address { font-style: normal; }
.contact-copy address { margin-top: 2rem; color: var(--color-sage-dark); font-weight: 700; }
.wechat-card { display: grid; grid-template-columns: minmax(8.25rem, 10rem) 1fr; gap: 1.25rem; align-items: center; margin: 0; padding: 1rem; border: 1px solid rgba(63, 79, 60, 0.16); border-radius: var(--radius-medium); background: var(--color-white); box-shadow: var(--shadow-soft); }
.qr-frame { overflow: hidden; aspect-ratio: 888 / 1221; border: 0.45rem solid var(--color-white); border-radius: 1rem; background: var(--color-white); box-shadow: 0 0 0 1px var(--color-border); }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.wechat-card figcaption { display: grid; gap: 0.35rem; }
.wechat-card figcaption strong { font-family: var(--font-display); font-size: 1.25rem; }
.wechat-card figcaption > span:not(.development-note) { color: var(--color-muted); }
.development-note { padding-top: 0.35rem; color: var(--color-clay); font-size: 0.72rem; font-weight: 750; line-height: 1.35; }

.page-hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: linear-gradient(135deg, var(--color-cream-deep) 0%, var(--color-rose-pale) 100%); }
.page-hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 9vw, 4.9rem); }
.page-hero-lede { max-width: 39rem; margin-top: 1.35rem; color: var(--color-muted); font-size: 1.12rem; }
.page-hero .photo-frame { aspect-ratio: 3 / 2; }
.prose-section { max-width: 49rem; }
.prose-section p { color: var(--color-muted); }
.content-band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.content-band + .content-band { padding-top: 0; }
.content-band-tinted { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--color-rose-pale); }
.detail-grid { display: grid; gap: 2rem; }
.detail-card { padding: 1.6rem; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-white); }
.detail-card h3 { font-size: 1.35rem; }
.detail-card p { color: var(--color-muted); }
.fact-list { margin: 0; }
.fact-list div { display: grid; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.fact-list div:first-child { padding-top: 0; }
.fact-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.fact-list dt { color: var(--color-muted); font-size: 0.73rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.fact-list dd { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-size: 1.2rem; }
.handbook-page-card { display: grid; gap: 1.5rem; padding: clamp(1.6rem, 5vw, 3rem); border-radius: var(--radius-large); background: var(--color-sage-dark); color: var(--color-white); }
.handbook-page-card h2, .handbook-page-card p { color: var(--color-white); }
.handbook-page-card .eyebrow { color: #f4c5b7; }
.notice-card { padding: 1.25rem; border-left: 4px solid var(--color-clay); border-radius: 0 var(--radius-small) var(--radius-small) 0; background: var(--color-white); color: var(--color-muted); }
.notice-card strong { color: var(--color-ink); }
.parent-contact-note { align-self: center; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-white); box-shadow: var(--shadow-small); }
.parent-contact-note h3 { margin-bottom: 0.65rem; }
.parent-contact-note p:last-child { color: var(--color-muted); }
.parent-facts-section { padding-bottom: clamp(2.75rem, 5vw, 4.25rem); }
.parent-handbook-section { padding-top: 0; }
.contact-methods { display: grid; gap: 1rem; }
.contact-method { padding: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: var(--color-white); }
.contact-method .method-label { display: block; color: var(--color-clay); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-method .method-value { display: inline-block; margin-top: 0.4rem; color: var(--color-ink); font-family: var(--font-display); font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 700; line-height: 1.25; }
.contact-method a.method-value { text-underline-offset: 0.2em; }

.site-footer { padding: 3.25rem 0 2rem; background: #245e58; color: #f7fffc; }
.footer-grid { display: grid; gap: 2rem; }
.wordmark-footer { color: var(--color-white); }
.wordmark-footer .wordmark-chinese { color: #d9f3e9; }
.footer-description { max-width: 22rem; margin-top: 1rem; color: #d8eee8; font-size: 0.92rem; }
.footer-nav { display: grid; align-content: start; gap: 0.5rem; }
.footer-nav a { width: fit-content; color: #f4fffb; font-weight: 700; text-underline-offset: 0.22em; }
.footer-address { color: #d8eee8; font-size: 0.9rem; }
.footer-address p { margin-top: 1rem; }

@media (max-width: 31rem) {
  .wechat-card { grid-template-columns: 1fr; }
  .qr-frame { max-width: 12rem; }
  .activity-card > figcaption { align-items: start; flex-direction: column; }
}

@media (min-width: 36rem) {
  .value-grid, .detail-grid, .contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-card:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1.15; }
  .outdoor-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .outdoor-offset { margin-top: 3rem; }
}

@media (min-width: 48rem) {
  .container { width: min(100% - 3rem, var(--container)); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr); }
  .photo-frame-hero { aspect-ratio: 4 / 3; transform: rotate(0.8deg); }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .split-layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6.5rem); }
  .split-layout-wide { grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.55fr); }
  .teacher-layout { grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1fr); }
  .activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .activity-card, .activity-card:last-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .handbook-card { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-grid { grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr); gap: clamp(3rem, 7vw, 6rem); }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.7fr); }
  .page-hero h1 { font-size: clamp(3rem, 5.5vw, 4.25rem); }
  .handbook-page-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .footer-grid { grid-template-columns: minmax(17rem, 1.25fr) minmax(10rem, 0.6fr) minmax(13rem, 0.75fr); }
}

@media (min-width: 60rem) {
  .menu-toggle, .js .menu-toggle { display: none; }
  .primary-nav, .js .primary-nav { position: static; display: flex; align-items: center; gap: 0.05rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .primary-nav a { padding: 0.55rem 0.65rem; font-size: 0.87rem; }
}

@media (min-width: 64rem) {
  .primary-nav a { padding-inline: 0.8rem; font-size: 0.92rem; }
  .value-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .value-card { min-height: 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Chinese-language typography: keep the same visual hierarchy while using
   CJK-native font fallbacks and spacing rather than forcing Latin styling. */
html[lang="zh-Hans"] body {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}

html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] .facts-grid dd,
html[lang="zh-Hans"] .fact-list dd,
html[lang="zh-Hans"] .method-value,
html[lang="zh-Hans"] .activity-card > figcaption strong,
html[lang="zh-Hans"] .wechat-card figcaption strong {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  letter-spacing: 0;
}

html[lang="zh-Hans"] h1 { line-height: 1.08; }
html[lang="zh-Hans"] h2 { line-height: 1.12; }
html[lang="zh-Hans"] h3 { line-height: 1.2; }
html[lang="zh-Hans"] .eyebrow,
html[lang="zh-Hans"] .facts-grid dt,
html[lang="zh-Hans"] .fact-list dt,
html[lang="zh-Hans"] .contact-method .method-label {
  letter-spacing: 0.08em;
  text-transform: none;
}

/* Version 2 Increment 3: expanded teaching team on Our School. */
.teaching-team-section .section-heading { max-width: 48rem; }
.team-profile-featured { display: grid; gap: 2.5rem; align-items: center; padding-bottom: clamp(2.75rem, 6vw, 4.5rem); border-bottom: 1px solid var(--color-border); }
.team-profile-row + .team-profile-row { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.assistant-identity-panel { display: grid; place-content: center; min-height: 15rem; padding: 2rem; background: linear-gradient(145deg, #dce4d8, #efe8d5); color: var(--color-sage-dark); text-align: center; }
.assistant-identity-panel strong { display: block; font-family: "Songti SC", "STSong", "SimSun", var(--font-display); font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; line-height: 0.95; }
.assistant-identity-panel span { display: block; margin-top: 1rem; color: var(--color-clay); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.team-profile-name { margin-bottom: 1rem; font-size: clamp(1.9rem, 4.2vw, 2.85rem); }
.teacher-photo-panel { display: grid; min-height: 16rem; border-radius: var(--radius-large); box-shadow: var(--shadow-soft); }

@media (min-width: 48rem) {
  .team-profile-featured { grid-template-columns: minmax(16rem, 0.68fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); }
  .teacher-layout { grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 4rem); }
}

html[lang="zh-Hans"] .assistant-identity-panel span { letter-spacing: 0.04em; text-transform: none; }

/* Version 2 Increment 4: streamlined site architecture and brighter visual system. */
.home-hero {
  position: relative;
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 214, 107, 0.42) 0 5.5rem, transparent 5.6rem),
    radial-gradient(circle at 92% 82%, rgba(114, 190, 231, 0.24) 0 8rem, transparent 8.1rem),
    linear-gradient(135deg, #fffdf7 0%, #fff8df 52%, #effaff 100%);
}
.home-hero-photo { border: 0.45rem solid rgba(255, 255, 255, 0.88); }
.home-fact-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; max-width: 39rem; margin: 2rem 0 0; }
.home-fact-chips div { padding: 0.82rem 0.95rem; border: 1px solid var(--color-border); border-radius: 1rem; background: rgba(255, 255, 255, 0.82); box-shadow: 0 5px 18px rgba(43, 93, 86, 0.07); }
.home-fact-chips dt { color: var(--color-clay); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.home-fact-chips dd { margin: 0.12rem 0 0; color: var(--color-ink); font-weight: 800; line-height: 1.3; }
.home-principles { display: grid; gap: 1rem; }
.principle-card { position: relative; overflow: hidden; padding: 1.55rem; border-radius: var(--radius-medium); box-shadow: var(--shadow-small); }
.principle-card > span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem; border-radius: 50%; background: rgba(255,255,255,0.78); color: var(--color-ink); font-size: 1.15rem; font-weight: 900; }
.principle-card p { margin-bottom: 0; color: var(--color-muted); }
.principle-card-yellow { background: #fff0b7; }
.principle-card-blue { background: #dff3ff; }
.principle-card-green { background: #dff4e9; }
.home-owner { background: #fffdf7; }
.home-handbook { padding-top: 1.5rem; background: #fffdf7; }
.handbook-card-bright { background: linear-gradient(120deg, #ffb34f 0%, #ffd66b 100%); color: var(--color-ink); }
.handbook-card-bright h2, .handbook-card-bright p { color: var(--color-ink); }
.handbook-card-bright .eyebrow { color: #8b4d0e; }
.handbook-card-bright .button-light { color: var(--color-sage-dark); box-shadow: 0 8px 20px rgba(139, 77, 14, 0.12); }

.school-hero-bright { background: linear-gradient(135deg, #e4f7ef 0%, #e7f6ff 55%, #fff5cf 100%); }
.school-language-section { background: #e7f6ff; }
.school-experiences { background: #fffdf7; }
.school-outdoor { background: #e3f6ee; }
.school-activity-grid .activity-card { min-height: 20rem; }
.school-activity-grid .activity-card::after { inset: 32% 0 0; background: linear-gradient(transparent, rgba(20, 52, 57, 0.88)); }
.school-activity-grid .activity-card > figcaption { display: grid; gap: 0.35rem; align-items: end; }
.school-activity-grid .activity-card > figcaption span { color: rgba(255,255,255,0.9); font-size: 0.86rem; line-height: 1.4; }
.school-rhythm { background: #fffdf7; }
.rhythm-grid { display: grid; gap: 1rem; }
.rhythm-list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.rhythm-list li { display: grid; grid-template-columns: 4.4rem 1fr; gap: 0.9rem; align-items: start; padding: 0.9rem 1rem; border: 1px solid var(--color-border); border-radius: 1rem; background: var(--color-white); box-shadow: 0 5px 16px rgba(43, 93, 86, 0.06); }
.rhythm-list time { display: inline-flex; justify-content: center; padding: 0.2rem 0.4rem; border-radius: 999px; background: var(--color-cream-deep); color: #7a5b12; font-size: 0.78rem; font-weight: 850; }
.rhythm-list-afternoon time { background: var(--color-rose-pale); color: #276987; }
.rhythm-list span { color: var(--color-muted); font-weight: 650; }
.rhythm-note { margin-top: 1.4rem; color: var(--color-muted); }
.school-teachers-cta { background: var(--color-rose-pale); }
.simple-cta-card { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.6rem, 5vw, 3rem); border-radius: var(--radius-large); background: var(--color-white); box-shadow: var(--shadow-soft); }
.simple-cta-card h2 { max-width: 19ch; margin-bottom: 0; font-size: clamp(1.9rem, 4.5vw, 3rem); }

.teachers-page-hero { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; overflow: hidden; background: linear-gradient(120deg, #fff2b9 0%, #e3f6ee 52%, #e2f5ff 100%); }
.teachers-page-hero::before, .teachers-page-hero::after { position: absolute; border-radius: 50%; content: ""; }
.teachers-page-hero::before { width: 12rem; height: 12rem; right: 8%; top: -5rem; background: rgba(242, 138, 46, 0.20); }
.teachers-page-hero::after { width: 8rem; height: 8rem; right: 22%; bottom: -3rem; background: rgba(114, 190, 231, 0.24); }
.teachers-hero-inner { position: relative; z-index: 1; max-width: 50rem; }
.teachers-hero-inner h1 { max-width: 15ch; }
.teaching-team-section { background: #fffdf7; }
.team-profile-featured { border-bottom-color: #cfe4de; }
.assistant-identity-panel { background: linear-gradient(145deg, #dff4e9, #dff3ff); color: var(--color-sage-dark); }

.contact-method { border: 0; box-shadow: var(--shadow-small); }
.contact-method-phone { background: #fff0b7; }
.contact-method-visit { background: #dff4e9; }
.contact-method .method-label { color: #8c5917; }
.contact-method-visit .method-label { color: var(--color-sage-dark); }

@media (min-width: 36rem) {
  .home-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-fact-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 48rem) {
  .rhythm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .simple-cta-card { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Modern Chinese typography matches the brighter sans-serif English system. */
html[lang="zh-Hans"] h1,
html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3,
html[lang="zh-Hans"] .home-fact-chips dd,
html[lang="zh-Hans"] .assistant-identity-panel strong {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
}

/* Version 2 Increment 5: simplified home, teachers, and contact pages. */
.welcome-intro {
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 9vw, 7rem);
  background: #fffdf7;
}
.welcome-intro-inner { max-width: 48rem; }
.welcome-intro h1 {
  max-width: none;
  margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
  color: #6f8ff5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.welcome-intro p {
  max-width: 43rem;
  color: #5f7ff0;
  font-size: clamp(1.08rem, 2.3vw, 1.3rem);
  line-height: 1.55;
}

.home-philosophy-preview { padding-block: clamp(3.5rem, 7vw, 5.25rem); }
.home-philosophy-simple { max-width: 53rem; }
.home-philosophy-text {
  max-width: 49rem;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.72;
}
.home-owner-copy { max-width: 43rem; }
.home-handbook .handbook-card-bright { padding-top: clamp(2rem, 4vw, 3rem); }

.teaching-team-section { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.teaching-team-section .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.teaching-team-section .section-heading h1 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.2rem); }

.contact-compact {
  padding: clamp(3.2rem, 7vw, 5.25rem) 0 clamp(3.5rem, 7vw, 5rem);
  background: linear-gradient(135deg, #fffdf7 0%, #f4fbff 100%);
}
.contact-compact-inner { max-width: 66rem; }
.contact-compact-heading { max-width: 51rem; }
.contact-compact-heading h1 {
  max-width: none;
  margin-bottom: 1.35rem;
  font-size: clamp(3.6rem, 9vw, 6rem);
}
.contact-compact-heading p {
  max-width: 49rem;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.7;
}
.contact-compact-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
}
.contact-phone-compact {
  display: grid;
  align-content: center;
  min-height: 13rem;
  padding: clamp(1.6rem, 4vw, 2.2rem);
}
.contact-phone-compact .method-value { font-size: clamp(1.8rem, 5vw, 2.65rem); }

.contact-method-email { background: #e7f6ff; }
.contact-method-email .method-label { color: var(--color-sage-dark); }
.contact-email-compact {
  display: grid;
  align-content: center;
  min-height: 13rem;
  padding: clamp(1.6rem, 4vw, 2.2rem);
}
.contact-email-compact .method-value {
  overflow-wrap: anywhere;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
}
.contact-wechat-compact {
  grid-template-columns: minmax(8.5rem, 11rem) auto;
  justify-content: start;
  min-height: 13rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: #e7f6ff;
}
.contact-wechat-compact figcaption strong {
  color: var(--color-ink);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 42rem) {
  .contact-compact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* Version 2 Increment 8: friendlier branding, more visual home intro,
   and streamlined Our School / Teacher's Page copy. */
.wordmark {
  grid-template-columns: auto auto auto;
  column-gap: 0.5rem;
  align-items: center;
}
.wordmark-emoji {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1;
  filter: saturate(0.95);
}
.wordmark-primary {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.wordmark-support { grid-column: 3; grid-row: 1; }
.wordmark-chinese { grid-column: 3; grid-row: 2; }

.welcome-intro-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.welcome-intro-copy { max-width: 43rem; }
.welcome-intro-photo {
  aspect-ratio: 4 / 3;
  min-height: 16rem;
  border: 0.35rem solid rgba(255, 255, 255, 0.9);
}

.home-philosophy-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.home-philosophy-photo {
  aspect-ratio: 4 / 3;
  min-height: 15rem;
}
.home-philosophy-simple { max-width: 46rem; }

.school-hero-summary {
  max-width: 31ch;
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1.12;
}
.school-hero-summary-small {
  max-width: 46rem;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  font-weight: 400;
  line-height: 1.72;
}

.school-philosophy-content { max-width: 73rem; }
.school-philosophy-intro {
  max-width: 61rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  line-height: 1.72;
}
.philosophy-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}
.philosophy-card {
  flex: 1 1 100%;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  border: 1px solid rgba(45, 112, 100, 0.12);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}
.philosophy-card p {
  margin: 0;
  color: var(--color-ink);
  line-height: 1.62;
}
.philosophy-card-yellow { background: #fff1b8; }
.philosophy-card-blue { background: #e2f4ff; }
.philosophy-card-green { background: #e2f5ea; }
.philosophy-card-orange { background: #ffe0bc; }
.philosophy-card-sky { background: #e8f7f4; }

.school-language-summary {
  margin: 0;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  line-height: 1.76;
}
.school-skills-title {
  max-width: 30ch;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: none;
}
.school-outdoor .section-heading { margin-bottom: 2rem; }
.school-outdoor .section-heading > p:not(.eyebrow) {
  max-width: 45rem;
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.16rem);
  line-height: 1.7;
}
.regular-schedule-title {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
}

@media (min-width: 48rem) {
  .welcome-intro-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(19rem, 0.82fr);
  }
  .home-philosophy-grid {
    grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  }
  .philosophy-card {
    flex: 0 0 calc((100% - 2.2rem) / 3);
  }
  .philosophy-card:nth-last-child(-n + 2) {
    flex-basis: calc((100% - 1.1rem) / 2);
  }
}

@media (max-width: 24rem) {
  .wordmark { column-gap: 0.32rem; }
  .wordmark-emoji { font-size: 1.35rem; }
  .wordmark-support { font-size: 0.52rem; }
  .wordmark-chinese { font-size: 0.62rem; }
}
.school-experiences .section-heading,
.school-rhythm .section-heading { margin-bottom: 1.6rem; }
.school-skills-label {
  max-width: 46rem;
  margin-bottom: 0;
  font-size: clamp(0.84rem, 1.8vw, 1rem);
  letter-spacing: 0.12em;
}
@media (max-width: 26rem) {
  .wordmark-primary { font-size: 1.12rem; }
  .wordmark-emoji { font-size: 1.15rem; }
  .wordmark-support { font-size: 0.48rem; letter-spacing: 0.055em; }
  .wordmark-chinese { font-size: 0.56rem; letter-spacing: 0.055em; }
}


/* Version 2 Increment 10: updated handbook-style logo and added final home/teacher photos. */
.wordmark {
  column-gap: 0.68rem;
}
.wordmark-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.8rem, 5vw, 4rem);
  height: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  filter: none;
}
.wordmark-emoji-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-intro-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
}
.welcome-intro-tile {
  margin: 0;
  aspect-ratio: 4 / 3;
  min-height: 10rem;
  border: 0.35rem solid rgba(255, 255, 255, 0.92);
}
.welcome-intro-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-intro-tile-craft img {
  object-position: center 35%;
}
.welcome-intro-tile-water img {
  object-position: center center;
}
.welcome-intro-tile-ride img {
  object-position: center 38%;
}

@media (min-width: 48rem) {
  .welcome-intro-grid {
    grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.95fr);
  }
}
@media (max-width: 26rem) {
  .wordmark {
    column-gap: 0.4rem;
  }
  .wordmark-emoji {
    width: 2rem;
    height: 2rem;
  }
  .welcome-intro-gallery {
    gap: 0.65rem;
  }
}


/* Version 2 Increment 11: fix smiley logo visibility in header and footer. */
.wordmark-emoji { overflow: visible; width: clamp(3.2rem, 5.6vw, 4.5rem); height: clamp(3.2rem, 5.6vw, 4.5rem); }
.wordmark-emoji-image { overflow: visible; }
.wordmark-footer .wordmark-emoji { width: clamp(3.2rem, 5.6vw, 4.5rem); height: clamp(3.2rem, 5.6vw, 4.5rem); }
@media (max-width: 26rem) { .wordmark-emoji, .wordmark-footer .wordmark-emoji { width: 2.3rem; height: 2.3rem; } }

/* Version 2 Increment 12: tighten the Mandarin & English photo pair on mobile
   by removing the desktop-oriented minimum height below the split-layout breakpoint. */
@media (max-width: 47.99rem) {
  .photo-pair { min-height: 0; }
}


/* Version 2 Increment 14: use a 4:3 welcome-gallery tile ratio so the replacement outdoor bubbles photo fits naturally without cutting off children. */
