:root {
  --ink: #08142a;
  --muted: #5d687b;
  --line: #edf0f5;
  --red: #e60012;
  --red-dark: #c90010;
  --navy: #101827;
  --deep: #0f1726;
  --panel: #192333;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  height: 80px;
  padding: 0 clamp(24px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(9, 20, 42, 0.06);
  box-shadow: 0 1px 18px rgba(9, 20, 42, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 184px;
  padding-right: 14px;
}

.brand img {
  display: block;
  width: 184px;
  max-width: 22vw;
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(12px, 1.2vw, 22px);
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #1d2638;
}

.nav-links a {
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.icon-button {
  display: inline-grid;
  width: 24px;
  height: 24px;
  padding: 0;
  color: #424b5c;
  background: transparent;
  border: 0;
  place-items: center;
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.buy-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 52px;
  padding: 0 31px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.buy-button,
.button.primary {
  color: #fff;
  background: var(--red);
  transition: background 0.2s ease, transform 0.2s ease;
}

.buy-button {
  height: 36px;
  padding: 0 23px;
  font-size: 14px;
}

.buy-button:hover,
.button.primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.button.outline {
  gap: 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.play-dot {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.hero {
  position: relative;
  display: grid;
  min-height: 920px;
  padding-top: 80px;
  overflow: hidden;
  background: url("https://www.asblstem.com/hero-mars-base-v2.png") center / cover no-repeat;
  place-items: center;
}

.hero-layer {
  position: absolute;
  inset: 80px 0 0;
  background:
    linear-gradient(180deg, rgba(9, 23, 43, 0.28), rgba(9, 23, 43, 0.5)),
    radial-gradient(circle at 50% 46%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.44));
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 48px));
  margin-top: 30px;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  margin: 0 0 22px;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 820px;
  margin: 0 auto 35px;
  font-size: 22px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.mouse-indicator {
  position: absolute;
  bottom: 31px;
  left: 50%;
  z-index: 2;
  width: 22px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  transform: translateX(-50%);
}

.mouse-indicator::after {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  content: "";
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transform: translateX(-50%);
}

.section {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 74px 0 64px;
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2,
.news-head h2,
.contact h2 {
  margin: 0 0 16px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.news-head p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.program-grid-wide {
  align-items: stretch;
}

.program-grid .course-card {
  display: block;
  min-height: 430px;
  padding: 0;
  overflow: hidden;
  color: #143f65;
  border: 1px solid #d5e4ee;
  border-radius: 7px;
  background-color: #fff;
  background-position: center top;
  box-shadow: 0 12px 28px rgba(21, 68, 101, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.program-grid .course-card:hover {
  box-shadow: 0 18px 34px rgba(21, 68, 101, 0.16);
  transform: translateY(-3px);
}

.program-grid .course-card::before {
  inset: 0 0 30%;
  background: linear-gradient(180deg, rgba(12, 71, 117, 0.02), rgba(12, 71, 117, 0.12));
}

.program-grid .course-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 30%;
  content: "";
  background: #fff;
  border-top: 1px solid #dce8f0;
}

.program-grid .course-card > div {
  position: absolute;
  z-index: 3;
  top: calc(70% - 19px);
  right: 16px;
  bottom: 11px;
  left: 16px;
}

.program-grid .course-card h3 {
  margin: 0;
  padding: 8px 10px;
  color: #143f65;
  background: #ffc20e;
  border: 1px solid #e0a600;
  border-radius: 5px;
  box-shadow: 0 6px 12px rgba(202, 144, 0, 0.16);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
}

.program-grid .course-card p {
  display: -webkit-box;
  margin: 9px 0 8px;
  overflow: hidden;
  color: #466780;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.program-grid .course-card a {
  display: inline-flex;
  float: right;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  color: #143f65;
  background: rgba(255, 194, 14, 0.7);
  border: 1px solid rgba(224, 166, 0, 0.62);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.program-grid .course-card a::after {
  margin-left: 6px;
  content: "→";
  font-size: 15px;
}

.course-index {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: inline-flex;
  min-width: 31px;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  color: #143f65;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 63, 101, 0.12);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.image-card {
  position: relative;
  display: flex;
  min-height: 265px;
  align-items: flex-end;
  overflow: hidden;
  padding: 0 24px 25px;
  color: #fff;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 32px rgba(12, 25, 48, 0.1);
}

.image-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(2, 11, 24, 0.04), rgba(2, 11, 24, 0.7));
}

.image-card div {
  position: relative;
  z-index: 1;
}

.image-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 800;
}

.image-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.image-card a,
.text-link,
.more-link,
.more-news {
  color: var(--red);
  font-weight: 700;
}

.image-card a {
  color: #fff;
}

.featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.featured-link {
  align-items: center;
  border: 1px solid #c8dced;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.featured-link:hover {
  box-shadow: 0 8px 18px rgba(19, 71, 117, 0.16);
  transform: translateY(-2px);
}

.featured-link span {
  font-size: 18px;
  line-height: 1;
}

.featured-link-club {
  background: #1477d4;
  border-color: #1477d4;
  color: #fff;
}

.featured-link-studio {
  background: #fff;
  border-color: #1477d4;
  color: #0a5eaf;
}

.image-card a::after,
.more-link::after,
.more-news::after {
  margin-left: 12px;
  content: "›";
  font-size: 25px;
  line-height: 0;
  vertical-align: -2px;
}

.card-coding {
  background-image: url("https://www.asblstem.com/home-course-visual-programming-v5.png");
}

.card-python {
  background-image: url("https://www.asblstem.com/home-course-python-ai-v5.png");
}

.card-robot {
  background-image: url("https://www.asblstem.com/home-course-robot-competition-v5.png");
}

.card-science {
  background-image: url("https://www.asblstem.com/home-course-science-inquiry-v5.png");
}

.card-engineer {
  background-image: url("https://www.asblstem.com/home-course-excellent-engineer-v5.png");
}

.card-printing {
  background-image: url("https://www.asblstem.com/home-course-ai-3d-printing-v5.png");
}

.card-olympiad {
  background-image: url("https://www.asblstem.com/home-course-informatics-olympiad-v5.png");
}

.card-algorithm {
  background-image: url("https://www.asblstem.com/home-course-algorithms-v5.png");
}

.featured-course {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 42px;
  align-items: center;
  margin-top: 142px;
}

.featured-media {
  min-height: 430px;
  overflow: hidden;
  border-radius: 7px;
  background: url("https://www.asblstem.com/platform-learning.png") center / cover no-repeat;
  box-shadow: 0 24px 50px rgba(16, 24, 39, 0.1);
}

.course-device {
  display: none;
}

.featured-copy {
  padding-right: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 12px;
  color: #fff;
  background: var(--red);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.featured-copy h2 {
  margin: 18px 0 12px;
  font-size: 45px;
  line-height: 1.12;
  letter-spacing: 0;
}

.price {
  margin: 0 0 22px;
  font-size: 24px;
  color: #101827;
}

.featured-copy p:not(.price) {
  color: #4d5870;
  font-size: 16px;
  line-height: 1.9;
}

.works {
  padding-top: 36px;
}

.teaching-philosophy {
  padding-top: 46px;
}

.philosophy-gallery {
  display: grid;
  gap: 30px;
}

.philosophy-panel {
  margin: 0;
  overflow: hidden;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 20px 48px rgba(12, 25, 48, 0.09);
}

.philosophy-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.stem-storyboard {
  padding: 30px;
  background: #f7fbff;
}

.stem-storyboard-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 22px;
  text-align: center;
}

.stem-storyboard-heading span {
  display: none;
}

.stem-storyboard-heading strong {
  color: #143f65;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}

.stem-storyboard-content {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(180px, .45fr);
  grid-template-rows: repeat(4, minmax(70px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.stem-message {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 6px;
}

.stem-message b {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  color: #143f65;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.stem-message p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.65;
}

.stem-message-blue { background: #2f62c3; }
.stem-message-gold { background: #f28c1e; }
.stem-message:nth-child(2) { grid-column: 2; grid-row: 1; }
.stem-message:nth-child(3) { grid-column: 2; grid-row: 2; }
.stem-message:nth-child(4) { grid-column: 2; grid-row: 3; }
.stem-message:nth-child(5) { grid-column: 2; grid-row: 4; }

.stem-core {
  position: relative;
  grid-column: 1;
  grid-row: 1 / span 4;
  overflow: hidden;
  min-height: 330px;
  background: url("https://www.asblstem.com/hero-mars-base-v2.png") center / cover no-repeat;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 12px 24px rgba(21, 68, 101, 0.16);
}

.stem-core::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.1);
}

.stem-storyboard-note {
  display: none;
}

.works-mosaic {
  padding: 26px;
  background: #f7fbff;
}

.works-mosaic-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 19px;
}

.works-mosaic-heading span {
  color: #a66e00;
  font-size: 11px;
  font-weight: 900;
}

.works-mosaic-heading strong {
  color: #143f65;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.3;
}

.works-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 190px;
  gap: 10px;
}

.works-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 12px;
  background-color: #e9f2f8;
  background-position: center 22%;
  background-size: cover;
  border-radius: 5px;
}

.works-tile::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(20, 63, 101, 0.02), rgba(20, 63, 101, 0.58));
}

.works-tile b {
  position: relative;
  z-index: 1;
  padding: 6px 9px;
  color: #143f65;
  background: rgba(255, 194, 14, 0.82);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.works-programming { background-image: url("https://www.asblstem.com/home-course-visual-programming-v5.png"); }
.works-python { background-image: url("https://www.asblstem.com/home-course-python-ai-v5.png"); }
.works-science { background-image: url("https://www.asblstem.com/home-course-science-inquiry-v5.png"); }
.works-engineering { background-image: url("https://www.asblstem.com/home-course-excellent-engineer-v5.png"); }
.works-printing { background-image: url("https://www.asblstem.com/home-course-ai-3d-printing-v5.png"); }
.works-robot { background-image: url("https://www.asblstem.com/home-course-robot-competition-v5.png"); }
.works-olympiad { background-image: url("https://www.asblstem.com/home-course-informatics-olympiad-v5.png"); }
.works-algorithm { background-image: url("https://www.asblstem.com/home-course-algorithms-v5.png"); }
.works-brand {
  background-color: #edf7fc;
  background-image: url("https://www.asblstem.com/aisenbole-logo-2026-header.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: min(72%, 270px);
  border: 1px solid #d1e5ef;
}
.works-brand::before { display: none; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  min-height: 268px;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
}

.gallery-blue {
  background-image: url("https://www.asblstem.com/work-robot-car.png");
}

.gallery-orange {
  background-image: url("https://www.asblstem.com/work-project-presentation.png");
}

.gallery-dark {
  background-image: url("https://www.asblstem.com/course-card-ai3d.png?v=20260714-cinematicv3-kids");
}

.gallery-forest {
  position: relative;
  background-image: url("https://www.asblstem.com/work-robot-arm.png");
}

.gallery-forest::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
}

.gallery-forest figcaption {
  position: absolute;
  bottom: 27px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff;
}

.gallery-forest strong {
  font-size: 17px;
}

.gallery-forest span {
  font-size: 13px;
}

.gallery-sand {
  background-image: url("https://www.asblstem.com/course-card-olympiad.png?v=20260714-cinematicv3-kids");
}

.gallery-green {
  background-image: url("https://www.asblstem.com/work-showcase.png");
}

.more-link {
  display: table;
  margin: 34px auto 0;
}

.advantage {
  margin-top: 8px;
  padding: 68px 0 64px;
  color: #fff;
  background: var(--deep);
  scroll-margin-top: 96px;
}

.dark-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.advantage-grid {
  display: grid;
  width: min(1118px, calc(100% - 48px));
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin: 0 auto;
}

.advantage-card {
  min-height: 168px;
  padding: 22px 24px 24px;
  text-align: center;
  background: var(--panel);
  border-radius: 5px;
}

.advantage-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: -3px auto 14px;
  color: var(--red);
  background: rgba(230, 0, 18, 0.18);
  border-radius: 999px;
  place-items: center;
}

.advantage-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.advantage-card h3 {
  margin: 0 0 11px;
  font-size: 18px;
}

.advantage-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.65;
}

.news {
  padding-top: 66px;
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 38px;
}

.news-head h2 {
  margin-bottom: 4px;
}

.wechat-label {
  display: inline-flex;
  height: 26px;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 10px;
  color: var(--red);
  background: rgba(230, 0, 18, 0.08);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
}

.wechat-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: -12px 0 30px;
  padding: 22px 26px;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.wechat-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 22px;
  line-height: 1.2;
}

.wechat-strip span {
  color: var(--muted);
  font-size: 13px;
}

.wechat-strip p {
  max-width: 660px;
  margin: 0;
  color: #3f4a5d;
  font-size: 14px;
  line-height: 1.8;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 16px 34px rgba(12, 25, 48, 0.09);
  transform: translateY(-2px);
}

.news-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.news-one {
  background-image: url("https://www.asblstem.com/news-platform.png");
}

.news-two {
  background-image: url("https://www.asblstem.com/news-club-recording.png");
}

.news-three {
  background-image: url("https://www.asblstem.com/work-robot-arm.png");
}

.news-body {
  padding: 21px 19px 24px;
}

.news-body span {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 8px;
  color: var(--red);
  background: rgba(230, 0, 18, 0.08);
  border-radius: 3px;
  font-size: 12px;
}

.news-body time {
  margin-left: 14px;
  color: #6c7585;
  font-size: 12px;
}

.news-body h3 {
  margin: 15px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.news-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact {
  display: flex;
  width: min(1260px, calc(100% - 48px));
  align-items: center;
  justify-content: space-between;
  margin: 24px auto 66px;
  padding: 38px 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 20, 42, 0.96), rgba(9, 20, 42, 0.76)),
    linear-gradient(145deg, #172033, #3b4960);
  border-radius: 8px;
  scroll-margin-top: 96px;
}

.contact p {
  color: rgba(255, 255, 255, 0.74);
}

.site-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 56px;
  width: min(1260px, calc(100% - 48px));
  align-items: center;
  margin: 24px auto 70px;
  padding: 42px 0 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.contact-kicker {
  display: block;
  margin-bottom: 10px;
  color: #aa7000;
  font-size: 11px;
  font-weight: 900;
}

.site-contact h2 {
  margin: 0 0 14px;
  color: #143f65;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
}

.site-contact-copy > p {
  max-width: 700px;
  margin: 0;
  color: #466780;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.8;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #143f65;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.contact-email span {
  padding: 5px 9px;
  color: #74500c;
  background: rgba(255, 194, 14, 0.38);
  border-radius: 4px;
  font-size: 11px;
}

.address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.address-list div {
  padding-left: 12px;
  border-left: 3px solid #ffc20e;
}

.address-list strong {
  display: block;
  color: #143f65;
  font-size: 13px;
}

.address-list p {
  margin: 6px 0 0;
  color: #5c748a;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.65;
}

.contact-qr {
  margin: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid #d5e4ee;
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(21, 68, 101, 0.1);
  text-align: center;
}

.contact-qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.contact-qr figcaption {
  padding: 8px 2px 2px;
  color: #143f65;
  font-size: 13px;
  font-weight: 900;
}

.footer {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.62);
  background: #0a1020;
  font-size: 13px;
}

.footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible { color: #ffc529; }

@media (max-width: 1180px) {
  .site-header {
    padding: 0 40px;
  }

  .nav-links {
    gap: 12px;
    font-size: 12px;
  }

  .program-grid,
  .gallery-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-course {
    grid-template-columns: 1fr;
    margin-top: 72px;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .brand {
    min-width: 150px;
    padding-right: 8px;
  }

  .brand img {
    width: 150px;
    max-width: 18vw;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    max-width: 58vw;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 68px;
    padding: 0 18px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .icon-button {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 68px;
  }

  .hero-layer {
    inset: 68px 0 0;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .hero-actions,
  .contact,
  .news-head,
  .wechat-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    align-items: center;
  }

  .button {
    width: 100%;
    max-width: 240px;
  }

  .program-grid,
  .gallery-grid,
  .news-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .featured-copy {
    padding-right: 0;
  }

  .featured-copy h2,
  .section-heading h2,
  .news-head h2,
  .contact h2 {
    font-size: 30px;
  }

  .contact {
    gap: 24px;
    padding: 30px 24px;
  }

  .course-card {
    min-height: 430px;
  }

  .course-card h3 {
    font-size: 18px;
  }

  .works-mosaic {
    padding: 16px;
  }

  .stem-storyboard {
    padding: 20px 14px;
  }

  .stem-storyboard-heading strong {
    font-size: 21px;
  }

  .stem-storyboard-content {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .stem-message:nth-child(n),
  .stem-core {
    grid-column: auto;
    grid-row: auto;
  }

  .stem-message {
    grid-template-columns: 31px minmax(0, 1fr);
    padding: 13px;
  }

  .stem-message b {
    width: 31px;
    height: 31px;
  }

  .stem-message p {
    font-size: 13px;
  }

  .stem-core {
    min-height: 215px;
    border-width: 6px;
    border-radius: 8px;
  }

  .stem-storyboard-note {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.65;
  }

  .works-mosaic-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
  }

  .works-mosaic-heading strong {
    font-size: 19px;
  }

  .works-mosaic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 114px;
    gap: 8px;
  }

  .works-tile {
    padding: 9px;
  }

  .works-tile b {
    font-size: 12px;
  }

  .site-contact {
    grid-template-columns: 1fr;
    gap: 26px;
    width: min(100% - 28px, 1260px);
    margin-bottom: 44px;
    padding-top: 32px;
  }

  .site-contact h2 {
    font-size: 28px;
  }

  .site-contact-copy > p {
    font-size: 14px;
  }

  .address-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .contact-qr {
    width: min(280px, 100%);
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
