:root {
  --wine: #7b1118;
  --wine-dark: #43070a;
  --red: #a71920;
  --gold: #c6a14a;
  --gold-light: #eadb9a;
  --cream: #f7f1e5;
  --paper: #fffdf8;
  --ink: #23191a;
  --muted: #746666;
  --line: rgba(89, 37, 37, .16);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(65, 10, 13, .13);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); line-height: 1.7; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: #fff; color: var(--wine); border: 2px solid var(--wine); }
.skip-link:focus { top: 1rem; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; width: var(--progress, 0%); height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); }

.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 2rem; padding: .8rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(123, 17, 24, .96); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand strong { color: #fff; font-size: 1.02rem; letter-spacing: .08em; }
.brand small { color: rgba(255,255,255,.72); font-size: .68rem; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { color: #fff; text-decoration: none; font-size: .86rem; font-weight: 750; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav .nav-cta { padding: .55rem 1rem; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.menu-toggle { display: none; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.5); border-radius: 10px; background: transparent; color: #fff; }

.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 8vw, 9rem); background:
  radial-gradient(circle at 75% 45%, rgba(217, 183, 87, .22), transparent 26%),
  linear-gradient(135deg, var(--cream), var(--paper) 56%);
}
.eyebrow { margin: 0 0 .7rem; color: var(--wine); font-size: .75rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.hero .eyebrow { max-width: none; margin-bottom: 1.5rem; font-size: clamp(.92rem, 2vw, 1.8rem); font-weight: 950; line-height: 1.2; letter-spacing: -.02em; text-transform: none; white-space: nowrap; }
.hero h1, .section h2, .contact h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.hero h1 { max-width: none; font-size: clamp(2.5rem, 5.4vw, 5.5rem); }
.hero h1 span, .hero h1 em { display: block; white-space: nowrap; }
em { color: var(--wine); font-style: normal; }
.hero-lead { max-width: 620px; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .75rem 1.25rem; border: 1px solid var(--wine); border-radius: 999px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--wine); color: #fff; }
.button.primary:hover { background: var(--wine-dark); }
.button.secondary { background: transparent; color: var(--wine); }
.button.secondary:hover { background: #fff; }
.hero-facts { display: flex; gap: clamp(1rem, 4vw, 3rem); margin: 3rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-facts strong, .hero-facts span { display: block; }
.hero-facts strong, .hero-facts span { font-family: "Microsoft YaHei", "Noto Sans SC", "PingFang SC", sans-serif; font-weight: 900; letter-spacing: -.04em; }
.hero-facts strong { color: var(--wine); font-size: 1.55rem; line-height: 1.15; }
.hero-facts span { margin-top: .28rem; color: var(--muted); font-size: .88rem; line-height: 1.2; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 510px; padding: 1rem; }
.hero-logo { width: min(100%, 560px); filter: drop-shadow(0 22px 35px rgba(80, 24, 15, .18)); }

.trust-strip { display: flex; justify-content: center; align-items: center; gap: 2rem; padding: 1.1rem 1rem; background: var(--wine); color: #fff5d4; }
.trust-strip p { margin: 0; font-size: .83rem; font-weight: 800; letter-spacing: .08em; }
.trust-strip span { color: var(--gold); font-size: .55rem; }
.section { padding: clamp(4.5rem, 9vw, 9rem) clamp(1.2rem, 8vw, 9rem); }
.section h2, .contact h2 { font-size: clamp(2.2rem, 4.7vw, 4.7rem); }
.about { display: block; font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.about .section-heading h2, .about .section-heading .eyebrow { color: var(--wine); font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.about .section-heading .eyebrow { font-size: clamp(2rem, 4.2vw, 3.75rem); font-weight: 900; line-height: 1; letter-spacing: .04em; }
.about .section-heading h2 { font-size: clamp(4.4rem, 9.4vw, 9.4rem); font-weight: 900; line-height: .98; letter-spacing: -.07em; }
.why-list { display: grid; gap: clamp(2.5rem, 6vw, 6rem); }
.why-showcase { display: grid; grid-template-columns: minmax(230px, .58fr) minmax(320px, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(1.2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.why-stats { display: grid; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2rem, 4vw, 4rem); border-radius: 22px; background: var(--wine); }
.why-stats .why-title { padding-left: 0; border-left: 0; color: #fff; }
.why-item { display: grid; grid-template-columns: minmax(230px, .58fr) minmax(320px, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(1.2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.why-item:nth-child(even) { background: #fff; }
.why-title { display: grid; gap: .15rem; padding-left: 1.4rem; border-left: 8px solid var(--wine); color: var(--wine); font-weight: 900; line-height: 1.05; }
.why-item .why-title { align-self: stretch; align-content: center; min-height: 260px; padding: clamp(2rem, 4vw, 4rem); border-left: 0; border-radius: 22px; background: var(--wine); color: #fff; }
.why-title strong { font-size: clamp(2.8rem, 5vw, 5.4rem); letter-spacing: -.06em; }
.why-title span { max-width: 10ch; font-size: clamp(1.65rem, 3.3vw, 3.5rem); letter-spacing: -.055em; }
.why-item figure { margin: 0; }
.why-item img { width: 100%; max-height: 820px; object-fit: contain; object-position: center; border-radius: 18px; background: #f4f0e9; box-shadow: 0 18px 46px rgba(65, 10, 13, .12); }
.why-carousel { min-width: 0; }
.why-slides { position: relative; display: grid; place-items: center; min-height: 720px; overflow: hidden; border-radius: 18px; background: #f4f0e9; box-shadow: 0 18px 46px rgba(65, 10, 13, .12); }
.why-slide { display: none; width: 100%; height: 100%; margin: 0; }
.why-slide.active { display: grid; place-items: center; }
.why-slide img { width: 100%; max-height: 820px; object-fit: contain; object-position: center; }
.why-carousel-controls { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: .8rem; margin-top: 1rem; }
.why-carousel-controls > button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; font-size: 1.2rem; }
.why-dots { display: flex; justify-content: center; gap: .55rem; }
.why-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(123,17,24,.24); }
.why-dots button.active { width: 28px; border-radius: 999px; background: var(--wine); }
#about, #programs, #daycare, #teaching, #progress, #reviews, #contact { scroll-margin-top: 90px; }
.programs { background: var(--cream); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading > p:last-child { color: var(--muted); }
.program-tabs { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1rem; }
.program-tabs button { padding: .65rem 1rem; border: 1px solid rgba(123, 17, 24, .25); border-radius: 999px; background: transparent; color: var(--wine); font-weight: 750; }
.program-tabs button.active { background: var(--wine); color: #fff; }
.program-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; min-height: 300px; align-items: center; padding: clamp(1.5rem, 5vw, 4rem); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.panel-kicker { margin: 0; color: var(--gold); font-weight: 900; letter-spacing: .14em; }
.program-panel h3 { margin: .2rem 0 .5rem; color: var(--wine); font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 900; line-height: 1.1; }
.program-panel [data-intro] { color: var(--muted); }
.program-content { display: grid; gap: 1.2rem; min-width: 0; }
.subject-list { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.subject-list li { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--wine-dark); font-weight: 700; }
.subject-list[hidden], .early-media[hidden], .primary-lower-media[hidden] { display: none; }
.early-media, .primary-lower-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.early-media img, .primary-lower-media img { width: 100%; max-height: 660px; object-fit: contain; object-position: top; border-radius: 16px; background: var(--cream); box-shadow: 0 14px 36px rgba(65, 10, 13, .11); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article { padding: 2rem; border: 1px solid var(--line); border-radius: 20px; }
.feature-grid span { color: var(--gold); font-family: Georgia, serif; font-size: 2rem; }
.feature-grid h3 { margin: 1.4rem 0 .4rem; font-size: 1.45rem; }
.feature-grid p { margin: 0; color: var(--muted); }
.daycare { display: grid; grid-template-columns: minmax(300px, .78fr) 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; background: var(--cream); }
.daycare-image img { width: 100%; max-height: 690px; object-fit: contain; border-radius: 26px; box-shadow: var(--shadow); }
.check-list { display: grid; gap: .8rem; margin: 2rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--wine); color: #fff; font-size: .78rem; }
.text-link { color: var(--wine); font-weight: 850; text-decoration: none; }
.awards { position: relative; display: grid; grid-template-columns: 1fr .7fr; gap: 3rem; align-items: center; overflow: hidden; background: linear-gradient(135deg, var(--wine), var(--wine-dark)); color: #fff; }
.why-awards-feature { padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius); }
.awards::after { content: ""; position: absolute; right: -10vw; top: -40%; width: 60vw; height: 60vw; border: 1px solid rgba(235, 212, 145, .25); border-radius: 50%; }
.awards .eyebrow { color: var(--gold-light); }
.awards-copy { position: relative; z-index: 1; }
.awards-copy h2 em { color: var(--gold-light); }
.awards-copy > p:not(.eyebrow) { max-width: 620px; color: #ddcfd0; }
.button.light { margin-top: 1rem; border-color: var(--gold-light); background: transparent; color: #fff; }
.award-poster { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 20px; background: var(--cream); box-shadow: 0 22px 50px rgba(23, 2, 3, .3); }
.award-poster img { width: 100%; max-height: 760px; object-fit: contain; object-position: center; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.gallery-grid figure { margin: 0; overflow: hidden; border-radius: 22px; background: var(--cream); }
.gallery-grid img { width: 100%; height: 560px; object-fit: cover; object-position: top; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.02); }
.gallery-grid figcaption { padding: 1rem 1.2rem; color: var(--wine); font-weight: 800; }
.reviews { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; background: var(--cream); }
.reviews-copy > p:not(.eyebrow) { max-width: 590px; color: var(--muted); }
.reviews-image { margin: 0; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.reviews-image img { width: 100%; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); padding: clamp(4.5rem, 9vw, 9rem) clamp(1.2rem, 8vw, 9rem); background: var(--wine); color: #fff; font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.contact .eyebrow, .contact h2 { color: #fff; font-family: inherit; }
.contact h2 { font-weight: 900; line-height: 1.18; letter-spacing: -.04em; }
.contact-card { display: grid; gap: .8rem; }
.contact-card > a { padding: 1.2rem 1.4rem; border: 1px solid rgba(123, 17, 24, .08); border-radius: 18px; background: #f5efe3; color: var(--wine); text-decoration: none; }
.contact-card span, .contact-card strong { display: block; }
.contact-card span { color: var(--wine); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { color: var(--wine); font-size: 1.05rem; }
.social-links { display: flex; gap: .7rem; }
.social-links a { padding: .7rem 1rem; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; background: #fff; color: var(--wine); font-weight: 800; text-decoration: none; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem clamp(1.2rem, 8vw, 9rem); background: #241517; color: #d8c7c8; font-size: .82rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand p { margin: 0; }
.modal { display: none; position: fixed; inset: 0; z-index: 80; align-items: center; justify-content: center; padding: 1rem; background: rgba(22, 5, 6, .82); }
.modal.open { display: flex; }
.modal-panel { position: relative; width: min(860px, 100%); max-height: 92vh; overflow: auto; padding: 1.2rem; border-radius: 20px; background: #fff; }
.modal-panel h2 { margin: .2rem 4rem 1rem 0; color: var(--wine); }
.modal-panel img { width: 100%; }
.award-details { display: grid; gap: 1.2rem; }
.award-details img { width: 100%; height: auto; border-radius: 14px; background: var(--cream); }
.modal-close { position: absolute; right: 1rem; top: 1rem; padding: .5rem .75rem; border: 0; border-radius: 9px; background: var(--wine); color: #fff; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 45; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #f3c956; outline-offset: 3px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.16); background: var(--wine); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem; }
  .main-nav .nav-cta { text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 4.5rem; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-visual { min-height: 410px; }
  .daycare, .awards, .reviews, .contact { grid-template-columns: 1fr; }
  .why-showcase, .why-item { grid-template-columns: 1fr; }
  .why-title span { max-width: none; }
  .why-slides { min-height: 620px; }
  .program-panel { grid-template-columns: 1fr; }
  .early-media img, .primary-lower-media img { max-height: 720px; }
  .feature-grid { grid-template-columns: 1fr; }
  .award-poster { max-width: 540px; width: 100%; margin-inline: auto; }
}

@media (max-width: 620px) {
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: .9rem; }
  .hero { padding-inline: 1.1rem; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 4.2rem); }
  .hero-facts { gap: .8rem; justify-content: space-between; }
  .hero-facts strong { font-size: 1.05rem; }
  .hero-visual { min-height: 330px; padding: 2rem; }
  .trust-strip { justify-content: flex-start; overflow: auto; }
  .trust-strip p { white-space: nowrap; }
  .section { padding-inline: 1.1rem; }
  .about .section-heading .eyebrow { font-size: clamp(1.7rem, 8vw, 2.5rem); }
  .about .section-heading h2 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .why-showcase, .why-item { padding: 1rem; gap: 1.4rem; }
  .why-title { border-left-width: 6px; }
  .why-item img { max-height: none; }
  .why-slides { min-height: 470px; }
  .program-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
  .program-tabs button { flex: 0 0 auto; }
  .early-media, .primary-lower-media { grid-template-columns: 1fr; }
  .early-media img, .primary-lower-media img { max-height: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 430px; }
  .contact { padding-inline: 1.1rem; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
