:root {
  --navy: #081b3d;
  --ink: #131a2a;
  --muted: #586277;
  --line: #dfe6f0;
  --surface: #ffffff;
  --soft: #f5f8fc;
  --blue: #1569f5;
  --cyan: #00b7d6;
  --coral: #f66155;
  --yellow: #ffba22;
  --green: #28a76f;
  --shadow: 0 18px 44px rgba(20, 42, 80, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 230, 240, 0.92);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.navigation { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 45px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; color: #283249; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 7px; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: #17223b; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: clamp(590px, 78vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 17, 48, 0.92) 0%, rgba(5, 17, 48, 0.83) 30%, rgba(5, 17, 48, 0.28) 58%, rgba(5, 17, 48, 0.04) 100%), linear-gradient(180deg, rgba(5, 17, 48, 0.08) 56%, rgba(5, 17, 48, 0.72) 100%); }
.hero-content { position: relative; padding: 92px 0 76px; color: #fff; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 13px; line-height: 1.25; font-weight: 800; text-transform: uppercase; }
.eyebrow.light { color: #75dbff; }
.hero h1 { max-width: 650px; margin: 0; color: #fff; font-size: clamp(48px, 7vw, 86px); line-height: 1.02; font-weight: 800; }
.hero-lede { max-width: 575px; margin: 22px 0 0; color: #d7e7ff; font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; border: 1px solid transparent; border-radius: 3px; font-size: 15px; font-weight: 800; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(11, 105, 245, 0.28); }
.button.primary:hover, .button.primary:focus-visible { background: #0957d8; }
.button.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.52); background: rgba(255, 255, 255, 0.1); }
.button.secondary:hover, .button.secondary:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.18); }
.button.coral { background: var(--coral); box-shadow: 0 10px 24px rgba(246, 97, 85, 0.28); }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tech-tags span { padding: 5px 9px; border: 1px solid rgba(160, 218, 255, 0.34); border-radius: 3px; color: #d8efff; background: rgba(255, 255, 255, 0.08); font-size: 12px; font-weight: 700; }

.section { padding: 82px 0; }
.section-heading { max-width: 740px; margin-bottom: 38px; }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.18; font-weight: 800; }
.section-heading > p:not(.eyebrow) { margin: 17px 0 0; color: var(--muted); font-size: 16px; }

.applications { background: linear-gradient(180deg, #f5f8fd 0%, #fff 100%); }
.application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.application-card { position: relative; display: flex; min-height: 390px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: 0 10px 28px rgba(20, 42, 80, 0.06); transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease; }
.application-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.application-card .number { margin: 18px 20px 3px; color: var(--blue); font-size: 13px; font-weight: 850; }
.application-card h3 { margin: 0; padding: 0 20px; font-size: 21px; line-height: 1.32; }
.card-link { margin: auto 20px 20px; color: #1b58ae; font-size: 14px; font-weight: 800; }
.card-link b { margin-left: 6px; font-size: 18px; }
.application-card:hover, .application-card:focus-visible { transform: translateY(-7px); border-color: rgba(21, 105, 245, 0.46); box-shadow: var(--shadow); }

.intro-section { background: #fff; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); gap: 70px; align-items: center; }
.intro-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.16; }
.intro-copy p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.text-action { display: inline-flex; gap: 10px; margin-top: 26px; color: var(--blue); font-size: 15px; font-weight: 800; }
.text-action span { font-size: 19px; line-height: 1; }
.code-stage { position: relative; min-height: 430px; overflow: hidden; border-radius: 8px; background: radial-gradient(circle at 82% 12%, rgba(0, 183, 214, 0.54), transparent 27%), linear-gradient(135deg, #071a3c, #0e3d75); box-shadow: var(--shadow); }
.stage-window { position: absolute; border: 1px solid rgba(174, 222, 255, 0.36); border-radius: 6px; background: rgba(8, 25, 58, 0.75); box-shadow: 0 20px 36px rgba(0, 0, 0, 0.25); }
.stage-main { top: 72px; left: 46px; right: 92px; height: 247px; transform: rotate(-4deg); }
.window-top { height: 32px; display: flex; align-items: center; gap: 6px; padding-left: 14px; border-bottom: 1px solid rgba(174, 222, 255, 0.22); }
.window-top span { width: 7px; height: 7px; border-radius: 50%; background: #f66155; }.window-top span:nth-child(2) { background: var(--yellow); }.window-top span:nth-child(3) { background: var(--green); }
.code-lines { display: grid; gap: 15px; padding: 28px; }.code-lines i { display: block; height: 8px; border-radius: 2px; background: linear-gradient(90deg, #50e2f2 0 42%, transparent 42% 50%, #8ca9ff 50% 74%, transparent 74%); }.code-lines i:nth-child(2) { width: 84%; background: linear-gradient(90deg, #f66155 0 22%, transparent 22% 29%, #50e2f2 29% 73%, transparent 73%); }.code-lines i:nth-child(3) { width: 68%; background: linear-gradient(90deg, #ffca62 0 31%, transparent 31% 38%, #95d77c 38% 75%, transparent 75%); }.code-lines i:nth-child(4) { width: 78%; }.code-lines i:nth-child(5) { width: 62%; }.code-lines i:nth-child(6) { width: 91%; }
.stage-phone { right: 39px; bottom: 40px; width: 135px; height: 255px; padding: 38px 14px 12px; border-radius: 24px; transform: rotate(10deg); }.phone-notch { position: absolute; top: 12px; left: 50%; width: 52px; height: 9px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #04142e; }.phone-card { height: 62px; margin-bottom: 11px; border: 1px solid rgba(161, 226, 255, 0.35); border-radius: 4px; background: linear-gradient(145deg, #2179ed, #75d6ff); }.phone-card.small { height: 33px; background: rgba(255, 255, 255, 0.13); }
.floating-label { position: absolute; display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: 0 13px 26px rgba(0, 0, 0, 0.2); font-size: 14px; font-weight: 850; }.label-html { top: 35px; right: 48px; }.label-css { bottom: 45px; left: 31px; background: rgba(0, 183, 214, 0.35); }.label-js { top: 165px; right: 171px; background: rgba(255, 186, 34, 0.36); }

.skill-banner { overflow: hidden; padding: 32px 0; background: #f3f6fb; }.skill-banner img { width: 100%; max-height: 560px; margin: 0 auto; object-fit: contain; }.skill-banner-dark { background: linear-gradient(120deg, #32106a, #6619b0 58%, #8838db); }

.reasons-section { background: #fff; }.reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }.reason-card { position: relative; min-height: 400px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(20, 42, 80, 0.06); }.reason-card > span { position: absolute; top: 16px; right: 20px; color: #9eabc1; font-size: 13px; font-weight: 850; }.reason-card h3 { margin: 18px 0 10px; font-size: 22px; line-height: 1.3; }.reason-card p { margin: 0; color: var(--muted); font-size: 15px; }.reason-visual { position: relative; height: 120px; overflow: hidden; border-radius: 6px; }.reason-cyan .reason-visual { background: #e3faff; }.reason-coral .reason-visual { background: #fff0ee; }.reason-yellow .reason-visual { background: #fff9e7; }
.signal { display: flex; align-items: end; justify-content: center; gap: 11px; padding-bottom: 26px; }.signal i { width: 14px; border-radius: 7px 7px 2px 2px; background: var(--cyan); }.signal i:nth-child(1) { height: 22px; }.signal i:nth-child(2) { height: 40px; }.signal i:nth-child(3) { height: 66px; }.signal i:nth-child(4) { height: 90px; background: var(--blue); }.blocks { display: grid; grid-template-columns: repeat(4, 42px); place-content: center; gap: 10px; }.blocks i { border-radius: 5px; background: var(--coral); }.blocks i:nth-child(2) { background: var(--yellow); transform: translateY(20px); }.blocks i:nth-child(3) { background: var(--green); transform: translateY(-12px); }.blocks i:nth-child(4) { background: var(--blue); transform: translateY(11px); }.chart { display: flex; align-items: end; justify-content: center; gap: 11px; padding-bottom: 18px; }.chart i { width: 26px; border-radius: 4px 4px 0 0; background: var(--yellow); }.chart i:nth-child(1) { height: 29px; }.chart i:nth-child(2) { height: 48px; background: var(--coral); }.chart i:nth-child(3) { height: 70px; background: var(--blue); }.chart i:nth-child(4) { height: 85px; background: var(--green); }.chart i:nth-child(5) { height: 104px; background: var(--cyan); }

.audience-section { padding: 74px 0; background: linear-gradient(135deg, #edf6ff 0%, #f9fcff 52%, #eefbf6 100%); border-top: 1px solid #deebf9; border-bottom: 1px solid #deebf9; }
.audience-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.audience-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.18; font-weight: 800; }
.audience-heading > p { max-width: 320px; margin: 0 0 5px; color: var(--muted); font-size: 16px; font-weight: 700; text-align: right; }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.audience-card { position: relative; min-height: 242px; padding: 22px; overflow: hidden; border: 1px solid #d8e4f3; border-radius: 8px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 11px 26px rgba(19, 57, 105, 0.07); }
.audience-card::after { content: ""; position: absolute; right: -24px; bottom: -34px; width: 116px; height: 116px; border: 20px solid currentColor; border-radius: 50%; opacity: 0.08; }
.audience-card-top { display: flex; align-items: start; justify-content: space-between; position: relative; z-index: 1; }
.audience-card-top > span { color: var(--blue); font-size: 14px; font-weight: 850; }
.audience-card-top i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: currentColor; background: currentColor; font-size: 0; font-style: normal; }
.audience-card h3 { position: relative; z-index: 1; margin: 34px 0 8px; font-size: 22px; line-height: 1.3; }
.audience-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.audience-income { color: #166cf1; }.audience-income .audience-card-top i { color: #fff; background: #166cf1; font-size: 21px; }.audience-merge { color: #00a7b7; }.audience-merge .audience-card-top i { color: #fff; background: #00a7b7; font-size: 14px; font-weight: 850; }.audience-freelance { color: #e66a4a; }.audience-freelance .audience-card-top i { color: #fff; background: #e66a4a; font-size: 24px; }.audience-home { color: #169768; }.audience-home .audience-card-top i { color: #fff; background: #169768; font-size: 24px; }

.curriculum { background: linear-gradient(180deg, #f5f8fd, #fff); }.curriculum-list { display: grid; gap: 20px; }.stage-card { display: grid; grid-template-columns: 80px minmax(0, 1.3fr) minmax(260px, 0.8fr); grid-template-areas: "meta copy media"; gap: 26px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 11px 28px rgba(20, 42, 80, 0.06); }.stage-card.reverse { grid-template-areas: "media copy meta"; }.stage-meta { grid-area: meta; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; min-height: 168px; padding: 8px 0; border-right: 1px solid #d9e3f2; }.stage-card.reverse .stage-meta { border-right: 0; border-left: 1px solid #d9e3f2; padding-left: 22px; }.stage-meta span { color: var(--blue); font-size: 25px; font-weight: 850; line-height: 1; }.stage-meta b { color: #7b879d; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }.stage-copy { grid-area: copy; }.stage-copy h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; }.stage-copy p { margin: 0; color: var(--muted); font-size: 15px; }.stage-copy ul { margin: 14px 0 0; padding-left: 20px; color: #254b82; font-size: 14px; font-weight: 700; }.stage-card > img { grid-area: media; width: 100%; height: 188px; object-fit: contain; border-radius: 5px; background: #f4f8fd; }

.teachers-section { background: #fff; }.lead-teacher { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 46px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(115deg, #f3f8ff, #fff 48%, #f7fffb); }.teacher-photo { overflow: hidden; border-radius: 6px; background: #eef5fc; }.teacher-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }.teacher-role { display: inline-flex; margin-bottom: 8px; color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; }.lead-teacher h3 { margin: 0; font-size: 34px; line-height: 1.2; }.lead-teacher p { margin: 15px 0 0; color: var(--muted); font-size: 16px; }.teacher-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }.teacher-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 8px 20px rgba(20, 42, 80, 0.06); }.teacher-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }.teacher-grid figcaption { padding: 10px; text-align: center; font-size: 14px; font-weight: 750; }

.projects-section { color: #e9f1ff; background: linear-gradient(135deg, #061a39, #0b3f6b); }.section-heading-on-dark h2 { color: #fff; }.section-heading-on-dark > p:not(.eyebrow) { color: #c4d7ef; }.project-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }.project-tab { flex: 1 0 max-content; min-height: 42px; padding: 8px 14px; border: 1px solid rgba(185, 223, 255, 0.28); border-radius: 4px; color: #cfdef5; background: rgba(255, 255, 255, 0.04); font-size: 14px; font-weight: 750; cursor: pointer; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease; }.project-tab:hover, .project-tab:focus-visible, .project-tab.is-active { border-color: #75d9ff; color: #062044; background: #c8f0ff; }.project-panel { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr); gap: 46px; align-items: center; min-height: 530px; margin-top: 22px; padding: 32px; border: 1px solid rgba(185, 223, 255, 0.18); border-radius: 8px; background: rgba(255, 255, 255, 0.05); }.project-panel[hidden] { display: none; }.project-copy h3 { margin: 0; color: #fff; font-size: 32px; line-height: 1.2; }.project-copy > p { color: #cad8ec; }.project-copy dl { display: grid; gap: 14px; margin: 22px 0; }.project-copy dl div { padding-left: 15px; border-left: 2px solid #64d7fb; }.project-copy dt { color: #9be6ff; font-size: 14px; font-weight: 850; }.project-copy dd { margin: 4px 0 0; color: #cfdef1; font-size: 14px; line-height: 1.72; }.project-panel > img { width: 100%; max-height: 460px; object-fit: contain; }.project-button { color: #062044; background: #d2f4ff; }.project-button:hover, .project-button:focus-visible { background: #fff; }.project-more { display: grid; grid-template-columns: 1fr; min-height: 390px; }.project-more img { max-height: 480px; margin: 0 auto; }

.learning-cta { position: relative; overflow: hidden; padding: 80px 0; color: #fff; text-align: center; background: linear-gradient(115deg, #0d63e6, #1a9fd7 48%, #20ae79); }.learning-cta::before { content: ""; position: absolute; inset: 0; opacity: 0.32; background: linear-gradient(90deg, transparent 0 21%, rgba(255,255,255,0.18) 21% 22%, transparent 22% 46%, rgba(255,255,255,0.2) 46% 47%, transparent 47% 74%, rgba(255,255,255,0.2) 74% 75%, transparent 75%); transform: skewY(-8deg) scale(1.4); }.learning-cta .container { position: relative; }.learning-cta h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.18; }.learning-cta p:not(.eyebrow) { max-width: 700px; margin: 20px auto 0; color: #ecf9ff; }.learning-cta .hero-actions { justify-content: center; }

.site-footer { padding: 52px 0 22px; color: #d6dfed; background: #101723; }.footer-grid { display: grid; grid-template-columns: 1.1fr 1.25fr 0.65fr; gap: 48px; }.site-footer h2 { margin: 0 0 14px; color: #fff; font-size: 17px; }.site-footer a, .site-footer p { display: block; margin: 7px 0; color: #b7c3d5; font-size: 14px; }.site-footer a:hover, .site-footer a:focus-visible { color: #6ddcff; }.wechat { width: 120px; padding: 7px; border-radius: 5px; background: #fff; }.copyright { width: min(1180px, calc(100% - 40px)); margin: 38px auto 0; padding-top: 20px; border-top: 1px solid rgba(185, 204, 230, 0.16); color: #8996a8; font-size: 13px; text-align: center; }.copyright a { display: inline; margin: 0; }

.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 24; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--blue); box-shadow: 0 12px 28px rgba(21, 105, 245, 0.32); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 0.2s ease, transform 0.2s ease; }.back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Replace the old low-resolution course tables with readable course-module panels. */
.curriculum .stage-card,
.curriculum .stage-card.reverse { grid-template-columns: 80px minmax(0, 1fr) minmax(360px, 1.05fr); grid-template-areas: "meta copy modules"; }
.stage-card.reverse .stage-meta { border-left: 0; border-right: 1px solid #d9e3f2; padding-left: 0; }
.module-map { grid-area: modules; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 13px; min-width: 0; padding: 16px; border: 1px solid #d7e5f5; border-radius: 6px; background: linear-gradient(145deg, #f8fbff, #edf5ff); }
.module-map-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #d4e1f0; }
.module-map-head b { color: #174f97; font-size: 14px; }
.module-map-head span { color: #6681a5; font-size: 12px; font-weight: 700; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.topic-grid span { min-width: 0; padding: 6px 8px; border-left: 2px solid #75cfff; color: #40536f; background: rgba(255, 255, 255, 0.82); font-size: 12px; font-weight: 700; line-height: 1.38; }
.skill-row { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; border-top: 1px solid #d4e1f0; }
.skill-row b { flex-basis: 100%; margin-bottom: 1px; color: #168562; font-size: 12px; }
.skill-row span { padding: 4px 7px; border-radius: 3px; color: #147158; background: #dff7ed; font-size: 11px; font-weight: 750; line-height: 1.35; }
.module-map-final { border-color: #f5d9a1; background: linear-gradient(145deg, #fffaf0, #fff3d9); }
.module-map-final .module-map-head { border-bottom-color: #f0dbad; }.module-map-final .topic-grid span { border-left-color: #ffba22; background: rgba(255, 255, 255, 0.7); }.module-map-final .skill-row { border-top-color: #f0dbad; }.module-map-final .skill-row b { color: #9d6615; }.module-map-final .skill-row span { color: #8a5b18; background: #ffecc2; }

@media (max-width: 980px) {
  .application-grid, .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-card:last-child, .reason-card:last-child { grid-column: 1 / -1; }
  .teacher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage-card, .stage-card.reverse { grid-template-columns: 62px minmax(0, 1fr); grid-template-areas: "meta copy" "meta media"; }
  .stage-card.reverse .stage-meta { border-left: 0; border-right: 1px solid #d9e3f2; padding-left: 0; }
  .stage-card > img { max-width: 460px; }
  .curriculum .stage-card, .curriculum .stage-card.reverse { grid-template-columns: 62px minmax(0, 1fr); grid-template-areas: "meta copy" "meta modules"; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 28px, 1180px); }
  .navigation { min-height: 66px; }.brand img { height: 39px; }.menu-toggle { display: block; }
  .main-nav { position: absolute; top: 66px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }.main-nav.is-open { display: flex; }.main-nav a { padding: 10px 0; }.main-nav a::after { display: none; }
  .hero { min-height: 650px; align-items: flex-start; }.hero-image { object-position: 62% center; }.hero-shade { background: linear-gradient(180deg, rgba(5, 17, 48, 0.87), rgba(5, 17, 48, 0.55) 52%, rgba(5, 17, 48, 0.72) 100%), linear-gradient(90deg, rgba(5, 17, 48, 0.68), transparent); }.hero-content { padding: 82px 0 60px; }.hero-lede { font-size: 17px; }
  .section { padding: 58px 0; }.split-layout { grid-template-columns: 1fr; gap: 34px; }.code-stage { min-height: 360px; }.stage-main { top: 55px; left: 30px; right: 78px; }.stage-phone { right: 26px; bottom: 28px; transform: scale(0.86) rotate(10deg); transform-origin: bottom right; }
  .audience-heading { align-items: start; flex-direction: column; gap: 9px; }.audience-heading > p { max-width: none; text-align: left; }
  .lead-teacher { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }.lead-teacher h3 { font-size: 29px; }
  .project-panel { grid-template-columns: 1fr; gap: 24px; padding: 22px; }.project-copy h3 { font-size: 28px; }.project-panel > img { order: -1; max-height: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }.footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero { min-height: 665px; }.hero h1 { font-size: 48px; }.hero-actions { display: grid; grid-template-columns: 1fr; }.button { width: 100%; }
  .application-grid, .reason-grid { grid-template-columns: 1fr; }.application-card:last-child, .reason-card:last-child { grid-column: auto; }.application-card { min-height: 0; }.application-card img { aspect-ratio: 16 / 9; }
  .audience-grid { grid-template-columns: 1fr; }.audience-card { min-height: 0; }.audience-card h3 { margin-top: 24px; }
  .code-stage { min-height: 315px; }.stage-main { height: 206px; left: 18px; right: 47px; }.code-lines { gap: 11px; padding: 22px; }.stage-phone { right: 6px; bottom: 8px; transform: scale(0.66) rotate(10deg); }.label-html { top: 18px; right: 24px; transform: scale(0.75); }.label-js { top: 140px; right: 118px; transform: scale(0.75); }.label-css { left: 14px; bottom: 16px; transform: scale(0.72); }
  .stage-card, .stage-card.reverse { grid-template-columns: 1fr; grid-template-areas: "meta" "copy" "media"; gap: 16px; padding: 17px; }.stage-meta, .stage-card.reverse .stage-meta { min-height: auto; flex-direction: row; align-items: center; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid #d9e3f2; }.stage-card > img { height: auto; max-height: 230px; }.stage-copy h3 { font-size: 22px; }.stage-copy p { font-size: 14px; }
  .curriculum .stage-card, .curriculum .stage-card.reverse { grid-template-columns: 1fr; grid-template-areas: "meta" "copy" "modules"; }.module-map { padding: 13px; gap: 11px; }.module-map-head { align-items: flex-start; flex-direction: column; gap: 2px; }.topic-grid { gap: 6px; }.topic-grid span { padding: 6px; font-size: 11px; }.skill-row { gap: 5px; }.skill-row span { font-size: 10px; }
  .lead-teacher { grid-template-columns: 1fr; padding: 20px; }.teacher-photo { max-width: 210px; }.teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.section-heading h2 { font-size: 34px; }
  .project-tabs { margin-right: -14px; }.project-panel { min-height: 0; }.project-copy > p, .project-copy dd { font-size: 13px; }.project-more { padding: 10px; }.learning-cta { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }.footer-grid > div:last-child { grid-column: auto; }.back-top { display: none; }
}

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