/* finesse · register=brand · locked=direction-a · A=sunshine+color-block · B=Chinese-sans-800/400 · C=wide-banner+asymmetric-courses · D=CSS-assembly · E=geometry-playground · SOUL=7 SPECTACLE=3 DENSITY=5 */ :root {
  --bg:#fffdf8;
  --surface:#fffffd;
  --ink:#27312f;
  --muted:#59645f;
  --line:rgba(39,49,47,.12);
  --sun:#ffcf36;
  --tile-gold:#efb727;
  --pale:#fff2bf;
  --blue:#1674af;
  --blue-soft:#eaf5fa;
  --orange:#ee7329;
  --pink:#d8588b;
  --green:#24755e;
  --green-soft:#edf5e7;
  --font:"PingFang SC","Microsoft YaHei",sans-serif;
  --width:1240px;
  --nav-h:88px;
  --z-nav:20
}
* {
  box-sizing:border-box
}
html,body {
  margin:0;
  overflow-x:clip
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--nav-h) + 24px)
}
body {
  color:var(--ink);
  background:var(--bg);
  font:16px/1.8 var(--font)
}
body::before {
  content:"";
  position:fixed;
  inset:0;
  z-index:30;
  pointer-events:none;
  opacity:.022;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E")
}
a {
  color:inherit;
  text-decoration:none;
  white-space:nowrap
}
a:focus-visible,summary:focus-visible,button:focus-visible,select:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:5px
}

img {
  max-width:100%;
  height:auto;
  display:block
}
h1,h2,h3,p {
  margin:0
}
h1,h2 {
  overflow-wrap:anywhere;
  min-width:0
}
h2 {
  font-size:clamp(28px,3vw,39px);
  line-height:1.5;
  letter-spacing:-.035em
}
h3 {
  font-size:23px;
  line-height:1.5
}
svg {
  display:block;
  max-width:100%
}
.section-wrap {
  width:min(var(--width),calc(100% - 96px));
  margin-inline:auto
}
.skip {
  position:absolute;
  top:0;
  left:20px;
  transform:translateY(-110%);
  padding:10px 16px;
  z-index:100;
  background:var(--surface)
}
.skip:focus {
  transform:translateY(0)
}
.preview-note {
  display:flex;
  justify-content:space-between;
  padding:5px max(32px,calc((100% - var(--width))/2));
  background:var(--green-soft);
  color:var(--muted);
  font-size:12px
}
.preview-note a {
  border-bottom:1px solid var(--line);
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.site-header {
  position:sticky;
  top:0;
  z-index:var(--z-nav);
  background:var(--surface);
  border-bottom:1px solid var(--line)
}
.nav-wrap {
  width:min(1340px,calc(100% - 64px));
  height:var(--nav-h);
  margin:auto;
  display:flex;
  align-items:center;
  gap:34px
}
.brand {
  width:198px;
  flex-shrink:0;
  min-width:0;
  display:inline-flex;
  align-items:center;
  min-height:44px
}
.desktop-nav {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:32px;
  margin-left:auto
}
.desktop-nav a {
  min-width: 44px;
  text-align: center;
  padding:29px 0 24px;
  font-size:15px;
  border-bottom:4px solid transparent
}
.desktop-nav .active {
  border-color:var(--sun);
  font-weight:700
}
.nav-contact {
  font-size:15px;
  font-weight:700;
  background:var(--sun);
  border-radius:8px;
  padding:10px 21px
}
.mobile-nav {
  display:none
}
.hero {
  background:var(--pale)
}
.hero-inner {
  width:min(var(--width),calc(100% - 96px));
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  min-height:560px;
  gap:18px
}
.hero-copy {
  padding:36px 0 26px;
  position:relative;
  z-index:2
}
.hero-location {
  font-size:14px;
  letter-spacing:.08em;
  margin-bottom:24px
}
.hero h1 {
  font-size:clamp(42px,4.6vw,67px);
  line-height:1.3;
  letter-spacing:-.055em;
  font-weight:800
}
.hero-description {
  margin-top:25px;
  font-size:17px;
  color:var(--muted)
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:30px;
  margin-top:33px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:38px;
  min-height:52px;
  padding:12px 24px;
  font-weight:700;
  font-size:16px;
  border-radius:8px
}
.button-dark {
  background:var(--ink);
  color:var(--surface)
}
.text-link {
  display:inline-flex;
  gap:16px;
  align-items:center;
  min-height:44px;
  font-size:15px
}
.text-link span {
  font-size:20px
}
.hero-tags {
  display:flex;
  gap:24px;
  margin-top:28px;
  color:var(--muted);
  font-size:13px
}
.hero-tags span::before {
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--green);
  vertical-align:middle;
  margin-right:8px
}
.hero-art {
  min-width:0
}
.hero-art svg {
  width:100%;
  overflow:visible
}
.art-sun {
  fill:var(--sun)
}
.art-orbit {
  fill:none;
  stroke:var(--ink);
  stroke-width:1;
  stroke-dasharray:4 8;
  opacity:.4
}
.art-tile {
  transform:rotate(-12deg);
  transform-origin:304px 227px;
  animation:assemble .8s cubic-bezier(.2,.7,.3,1) both
}
.shape-blue {
  fill:var(--blue)
}
.shape-orange {
  fill:var(--orange)
}
.shape-pink {
  fill:var(--pink)
}
.shape-yellow {
  fill:var(--tile-gold)
}
.art-seam {
  fill:none;
  stroke:var(--pale);
  stroke-width:3
}
.art-center {
  fill:var(--pale)
}
.art-paper rect {
  fill:var(--surface);
  stroke:var(--line)
}
.art-paper path {
  fill:none;
  stroke:var(--line);
  stroke-width:4;
  stroke-linecap:round
}
.art-paper text {
  font:16px var(--font);
  fill:var(--ink)
}
.art-paper circle {
  fill:var(--green)
}
.art-paper .art-check {
  stroke:var(--surface);
  stroke-width:2
}
.art-plus {
  stroke:var(--ink);
  stroke-width:4;
  stroke-linecap:round
}
.art-dot {
  fill:var(--blue)
}
.art-triangle {
  fill:none;
  stroke:var(--orange);
  stroke-width:3
}
.hero-bottom {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  padding:21px 24px;
  border-top:1px solid var(--line);
  font-size:19px;
  font-weight:700
}
.hero-bottom i {
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--orange)
}
.hero-bottom p {
  font-size:14px;
  font-weight:400;
  color:var(--muted);
  margin-left:40px
}
.course-section {
  padding-block:86px
}
.section-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:32px
}
.section-kicker {
  font-size:14px;
  color:var(--muted);
  margin-bottom:10px
}
.course-layout {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);
  gap:18px
}
.course-layout article {
  padding:30px 28px;
  position:relative;
  min-width:0;
  border-radius:14px;
  min-height:274px;
  overflow:clip
}
.course-layout p {
  margin-top:14px;
  line-height:1.9;
  font-size:15px;
  position:relative;
  z-index:1
}
.course-layout article>span,.course-foundation span {
  display:block;
  font-size:12px;
  margin-top:27px;
  color:var(--muted)
}
.course-foundation {
  display:flex;
  gap:24px;
  align-items:center;
  background:var(--sun)
}
.course-symbol {
  font-size:72px;
  line-height:1;
  font-weight:300;
  align-self:flex-start;
  margin-top:17px
}
.course-advance {
  background:var(--blue-soft)
}
.course-explore {
  background:var(--green-soft)
}
.course-layout svg {
  position:absolute;
  width:108px;
  right:0;
  bottom:-14px;
  fill:none;
  stroke:var(--blue);
  stroke-width:2;
  opacity:.18
}
.course-explore svg {
  stroke:var(--green)
}
.course-caption {
  margin-top:18px;
  font-size:13px;
  color:var(--muted)
}
.about-section {
  padding-block:82px;
  background:var(--green-soft)
}
.about-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  gap:90px
}
.about-title {
  display:flex;
  gap:20px
}
.small-flower {
  font-size:50px;
  line-height:1.3;
  color:var(--green)
}
.about-copy>p {
  font-size:17px;
  color:var(--muted)
}
.teaching-points {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:30px;
  margin-top:30px;
  border-top:1px solid var(--line);
  padding-top:26px
}
.teaching-points h3 {
  font-size:17px
}
.teaching-points p {
  font-size:14px;
  color:var(--muted);
  margin-top:7px
}
.teachers-section {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  gap:100px;
  padding-block:94px
}
.teachers-heading>p:last-child {
  color:var(--muted);
  margin-top:20px
}
.classroom-method>div {
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  border-bottom:1px solid var(--line);
  padding:19px 0;
  column-gap:18px
}
.classroom-method>div:first-child {
  padding-top:0
}
.method-mark {
  grid-row:span 2;
  font-size:31px;
  color:var(--blue);
  line-height:1.5
}
.classroom-method h3 {
  font-size:18px
}
.classroom-method p {
  font-size:14px;
  color:var(--muted);
  margin-top:4px
}
.story-section {
  background:var(--blue-soft);
  padding-block:68px
}
.story-layout {
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:90px;
  align-items:center
}
.story-graphic {
  display:flex;
  align-items:center;
  gap:8px
}
.story-graphic span {
  font-size:96px;
  font-weight:700;
  color:var(--blue)
}
.story-graphic svg {
  width:70%;
  fill:none;
  stroke:var(--blue);
  stroke-width:3
}
.story-graphic svg circle {
  fill:var(--sun);
  stroke:var(--blue)
}
.story-layout p:last-child {
  color:var(--muted);
  font-size:15px;
  margin-top:18px
}
.contact-section {
  padding-block:84px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px
}
.contact-section>div>p {
  color:var(--muted);
  margin-top:16px
}
.contact-placeholder {
  padding:24px 34px;
  border:1px solid var(--line);
  border-radius:12px;
  min-width:300px
}
.contact-placeholder strong {
  font-size:20px
}
.contact-placeholder p {
  font-size:14px
}
.contact-placeholder span {
  font-size:12px;
  color:var(--muted)
}
footer {
  background:var(--surface);
  border-top:1px solid var(--line)
}
.footer-inner {
  display:flex;
  align-items:center;
  gap:40px;
  padding-block:32px
}
.footer-inner img {
  width:160px
}
.footer-inner p {
  font-size:14px;
  color:var(--muted)
}
.footer-inner>span {
  margin-left:auto;
  font-size:12px;
  color:var(--muted)
}
@keyframes assemble {
  from {
    opacity:0;
    transform:rotate(-3deg) translateY(12px)
  }
  to {
    opacity:1;
    transform:rotate(-12deg) translateY(0)
  }

}
@media(hover:hover) and (pointer:fine) {
  .button,.nav-contact {
    transition:transform .2s
  }
  .button:hover,.nav-contact:hover {
    transform:translateY(-2px)
  }
  .desktop-nav a:hover {
    border-color:var(--sun)
  }

}
@media(max-width:1120px) {
  .nav-wrap {
    gap:24px
  }
  .desktop-nav {
    gap:20px
  }
  .brand {
    width:168px
  }
  .hero h1 {
    font-size:54px
  }
  .hero-inner {
    min-height:520px
  }
  .course-foundation {
    gap:10px
  }
  .course-symbol {
    font-size:48px
  }
  .about-layout,.teachers-section,.story-layout {
    gap:48px
  }

}
@media(max-width:900px) {
  :root {
    --nav-h:74px
  }
  .nav-wrap {
    width:calc(100% - 48px);
    gap:18px
  }
  .desktop-nav {
    display:none
  }
  .nav-contact {
    margin-left:auto
  }
  .mobile-nav {
    display:block
  }
  .mobile-nav summary {
    display:flex;
    align-items:center;
    gap:14px;
    min-height:44px;
    cursor:pointer;
    list-style:none;
    font-size:14px
  }
  .mobile-nav summary::-webkit-details-marker {
    display:none
  }
  .mobile-nav nav {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    padding:12px 24px 20px;
    background:var(--surface);
    border-bottom:1px solid var(--line);
    display:grid;
    gap:3px
  }
  .mobile-nav nav a {
    min-height:44px;
    display:flex;
    align-items:center;
    padding-inline:8px
  }
  .section-wrap,.hero-inner {
    width:calc(100% - 64px)
  }
  .hero h1 {
    font-size:46px
  }
  .hero-description {
    font-size:15px
  }
  .hero-actions {
    gap:18px
  }
  .hero-tags {
    gap:12px
  }
  .hero-tags span::before {
    margin-right:5px
  }
  .hero-inner {
    min-height:480px;
    gap:0
  }
  .hero-art {
    margin-right:-25px
  }
  .hero-bottom {
    gap:20px
  }
  .hero-bottom p {
    margin-left:20px
  }
  .course-layout {
    gap:12px
  }
  .course-layout article {
    padding:24px 20px
  }
  .course-foundation {
    display:block
  }
  .course-symbol {
    margin:0 0 18px
  }
  .teachers-section {
    grid-template-columns:minmax(0,1fr);
    gap:36px
  }
  .classroom-method {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px
  }
  .classroom-method>div {
    display:block;
    padding:0 0 20px
  }
  .method-mark {
    display:block;
    margin-bottom:12px
  }
  .contact-placeholder {
    min-width:270px
  }

}
@media(max-width:600px) {
  :root {
    --nav-h:68px
  }
  .preview-note {
    font-size:10px;
    padding:6px 16px;
    gap:8px
  }
  .nav-wrap {
    width:calc(100% - 32px);
    gap:15px
  }
  .brand {
    width:136px
  }
  .nav-contact {
    display:none
  }
  .mobile-nav {
    margin-left:auto
  }
  .section-wrap,.hero-inner {
    width:calc(100% - 40px)
  }
  .hero-inner {
    grid-template-columns:minmax(0,1fr);
    gap:0
  }
  .hero-copy {
    padding:40px 0 6px
  }
  .hero-location {
    font-size:11px;
    letter-spacing:.04em;
    margin-bottom:20px
  }
  .hero h1 {
    font-size:clamp(37px,10.5vw,52px);
    line-height:1.32
  }
  .hero-description {
    margin-top:19px;
    font-size:14px
  }
  .hero-actions {
    gap:24px;
    margin-top:25px
  }
  .button {
    font-size:14px;
    min-height:48px;
    padding:11px 20px;
    gap:25px
  }
  .text-link {
    font-size:13px;
    gap:10px
  }
  .hero-tags {
    font-size:11px;
    margin-top:20px;
    gap:22px
  }
  .hero-art {
    margin:0 auto;
    width:min(100%,380px)
  }
  .hero-art svg {
    margin-block:-5px -2px
  }
  .hero-bottom {
    justify-content:space-between;
    padding:17px 23px;
    font-size:15px;
    gap:12px
  }
  .hero-bottom p {
    display:none
  }
  .hero-bottom i {
    width:3px;
    height:3px
  }
  .course-section {
    padding-block:52px
  }
  .section-heading {
    display:block;
    margin-bottom:24px
  }
  .section-heading .text-link {
    margin-top:8px
  }
  .section-kicker {
    font-size:12px;
    margin-bottom:10px
  }
  h2 {
    font-size:27px;
    line-height:1.45
  }
  .course-layout {
    grid-template-columns:minmax(0,1fr);
    gap:12px
  }
  .course-layout article {
    min-height:168px;
    padding:25px
  }
  .course-foundation {
    display:flex;
    gap:22px;
    align-items:center
  }
  .course-symbol {
    font-size:56px;
    align-self:center
  }
  .course-layout h3 {
    font-size:23px
  }
  .course-layout p {
    font-size:14px;
    margin-top:10px;
    max-width:90%
  }
  .course-layout article>span,.course-foundation span {
    margin-top:17px;
    font-size:11px
  }
  .course-caption {
    font-size:11px;
    margin-top:15px
  }
  .about-section {
    padding-block:46px
  }
  .about-layout {
    grid-template-columns:minmax(0,1fr);
    gap:25px
  }
  .small-flower {
    font-size:36px
  }
  .about-title {
    gap:13px
  }
  .about-copy>p {
    font-size:15px
  }
  .teaching-points {
    gap:20px;
    margin-top:24px;
    padding-top:20px
  }
  .teaching-points h3 {
    font-size:15px
  }
  .teaching-points p {
    font-size:12px
  }
  .teachers-section {
    padding-block:50px;
    gap:25px
  }
  .teachers-heading>p:last-child {
    font-size:14px;
    margin-top:15px
  }
  .classroom-method {
    display:block
  }
  .classroom-method>div {
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    padding:16px 0;
    gap:3px 15px
  }
  .classroom-method>div:first-child {
    padding-top:0
  }
  .method-mark {
    grid-row:span 2;
    margin:0;
    font-size:29px
  }
  .classroom-method h3 {
    font-size:16px
  }
  .classroom-method p {
    font-size:12px
  }
  .story-section {
    padding-block:38px
  }
  .story-layout {
    grid-template-columns:minmax(0,1fr);
    gap:18px
  }
  .story-graphic {
    max-width:240px;
    margin-inline:auto
  }
  .story-graphic span {
    font-size:57px
  }
  .story-layout p:last-child {
    font-size:13px;
    line-height:1.9
  }
  .contact-section {
    display:block;
    padding-block:46px
  }
  .contact-section>div>p {
    font-size:14px
  }
  .contact-placeholder {
    min-width:0;
    margin-top:25px;
    padding:22px 24px
  }
  .footer-inner {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    padding-block:28px
  }
  .footer-inner img {
    width:145px
  }
  .footer-inner p {
    font-size:12px
  }
  .footer-inner>span {
    margin-left:0;
    font-size:10px
  }

}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important
  }
  .art-tile {
    opacity:1;
    transform:rotate(-12deg)
  }

}

/* Shared inner-page rhythm. The selected homepage keeps its original layout. */
.container {
  width:min(var(--width),calc(100% - 96px));
  margin-inline:auto;
}
.section { padding-block:80px; }
.page-hero { padding-block:68px; }
.page-hero h1 {
  font-size:clamp(34px,4.1vw,58px);
  line-height:1.4;
  font-weight:800;
  letter-spacing:-.045em;
}
.page-kicker,.section-kicker {
  color:var(--muted);
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
}
.page-lead { color:var(--muted); font-size:18px; line-height:1.9; margin-top:24px; }
.page-hero .button { margin-top:28px; }
.section-title { line-height:1.5; }
.muted { color:var(--muted); }
.button--dark { background:var(--ink); color:var(--surface); }
.button--dark:hover { background:var(--green); }
.button--outline { border:1px solid var(--ink); background:transparent; color:var(--ink); }
.button--outline:hover { background:var(--pale); }
.text-link { gap:12px; }
.about-copy>.text-link,.home-section-link { margin-top:24px; }
.teachers-section>.home-section-link { grid-column:2; margin-top:0; }
.contact-section .section-kicker { margin-top:0; }
.contact-details { margin:0; min-width:280px; }
.contact-details>div { padding:12px 0; border-bottom:1px solid var(--line); }
.contact-details dt { color:var(--muted); font-size:14px; }
.contact-details dd { margin:2px 0 0; font-weight:600; overflow-wrap:anywhere; }
.contact-details a { display:inline-flex; align-items:center; min-height:44px; }
.footer-inner>a { display:inline-flex; align-items:center; min-height:44px; justify-self:start; }
.not-found { padding-block:60px; }
.not-found-actions { margin-top:24px; display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.not-found-actions .button { margin-top:0; }
@media(max-width:900px) {
  .container { width:calc(100% - 64px); }
  .section { padding-block:64px; }
  .page-hero { padding-block:52px; }
  .teachers-section>.home-section-link { grid-column:1; }
}
@media(max-width:600px) {
  .container { width:calc(100% - 40px); }
  .section { padding-block:48px; }
  .page-hero { padding-block:40px; }
  .page-hero h1 { font-size:clamp(30px,7.6vw,40px); }
  .page-kicker,.section-kicker { font-size:13px; margin-bottom:12px; }
  .page-lead { font-size:16px; margin-top:18px; }
  .teachers-section>.home-section-link { margin-top:18px; }
  .course-foundation>div:last-child { flex:1; min-width:0; }
  .course-foundation p { max-width:100%; }
  .teaching-points p,.classroom-method p { font-size:14px; }
  .course-caption,.course-layout article>span,.course-foundation span,.hero-location,.hero-tags,.footer-inner>span { font-size:12px; }
  .contact-details { min-width:0; margin-top:24px; }
  .not-found { padding-block:36px; }
}

/* Shared admissions contact, using the original supplied contact card. */
.contact-card { display:flex; align-items:center; gap:28px; padding:28px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.contact-qr { width:230px; aspect-ratio:1; flex:none; position:relative; overflow:hidden; background:var(--surface); }
.contact-qr img { position:absolute; width:360%; max-width:none; height:auto; left:-130.4%; top:-38.4%; }
.contact-card-copy { min-width:0; max-width:240px; }
.contact-card-copy h3 { font-size:21px; }
.contact-card-copy>p { color:var(--muted); font-size:14px; margin-top:10px; }
.contact-phone { display:inline-flex; align-items:center; min-height:44px; font-size:23px; font-weight:700; letter-spacing:.02em; }
.contact-card-copy .text-link { margin-top:16px; font-size:13px; }
.contact-dialog { width:min(560px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; padding:28px 32px 32px; border:1px solid var(--line); border-radius:16px; background:var(--bg); color:var(--ink); text-align:center; font-family:var(--font); }
.contact-dialog::backdrop { background:rgba(39,49,47,.64); }
.contact-dialog-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; color:var(--muted); font-size:13px; }
.contact-dialog button { min-width:64px; min-height:44px; padding:8px; border:0; background:transparent; color:var(--ink); font:inherit; cursor:pointer; }
.contact-dialog h2 { font-size:30px; }
.contact-dialog>p { color:var(--muted); font-size:15px; margin-top:10px; }
.contact-dialog .contact-qr { margin:24px auto 12px; width:250px; max-width:100%; }
.contact-dialog>.text-link { margin-top:16px; font-size:14px; }
.contact-dialog .contact-note { font-size:13px; }
.home-course-grid { display:grid; grid-template-columns:1.2fr repeat(3,minmax(0,1fr)); gap:16px; }
.home-course { min-width:0; padding:32px 26px; border:1px solid var(--line); border-radius:12px; white-space:normal; display:flex; flex-direction:column; align-items:flex-start; min-height:260px; transition:transform .18s ease,border-color .18s ease; }
.home-course:hover { transform:translateY(-4px); border-color:var(--blue); }
.home-course h3 { font-size:27px; font-weight:800; }
.home-course p { color:var(--muted); font-size:15px; line-height:1.8; margin-top:18px; }
.home-course>span { margin-top:auto; padding-top:28px; font-size:14px; display:flex; width:100%; justify-content:space-between; gap:10px; }
.home-course--yingcai { background:var(--sun); }
.home-course--zhuoyue { background:var(--blue-soft); }
.home-course--zizhao { background:var(--green-soft); }
.home-course--jianzi { background:var(--surface); }
@media(prefers-reduced-motion:reduce) {
  .home-course:hover { transform:none; }
}
@media(max-width:1100px) {
  .contact-section { display:block; }
  .contact-card { margin-top:28px; width:fit-content; max-width:100%; }
  .home-course-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .home-course-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .home-course { min-height:200px; padding:26px; }
  .home-course h3 { font-size:25px; }
  .home-course p { margin-top:12px; }
  .home-course>span { padding-top:22px; }
  .contact-card { display:block; width:100%; padding:24px 20px; }
  .contact-qr { margin-inline:auto; width:230px; max-width:100%; }
  .contact-card-copy { margin-top:22px; max-width:none; text-align:center; }
  .contact-card-copy .text-link { justify-content:center; }
  .contact-dialog { padding:18px 18px 26px; }
  .contact-dialog h2 { font-size:26px; }
}
