:root {
  --ink:#16171a;
  --gray:#3d3e3f;
  --muted:#707275;
  --line:#dededb;
  --paper:#f7f7f5;
  --red:#d02928
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}

body {
  margin:0;
  color:var(--ink);
  background:white;
  font:16px/1.85 'Source Han Sans SC','Microsoft YaHei','PingFang SC',sans-serif
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit
}

header {
  height:90px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5%;
  background:#fff;
  position:sticky;
  top:0;
  z-index:10
}

header img {
  width:174px;
  display:block
}

nav {
  display:flex;
  gap:30px;
  font-size:14px
}

nav a:hover {
  border-bottom:1px solid
}

main {
  overflow:hidden
}

.wrap {
  width:min(1200px,90%);
  margin:auto
}

.eyebrow {
  font:12px/1.4 monospace;
  letter-spacing:2px;
  color:var(--muted);
  text-transform:uppercase
}

.hero {
  padding:80px 0 0;
  background:var(--paper)
}

.hero-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:70px;
  align-items:center
}

.hero h1 {
  font-size:clamp(42px,4.9vw,70px);
  line-height:1.15;
  letter-spacing:-3px;
  margin:25px 0;
  transform:skewX(-6deg)
}

.hero p {
  max-width:580px;
  color:var(--gray)
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:35px;
  padding:12px 25px;
  background:var(--red);
  color:#fff;
  margin:20px 0 35px;
  border:1px solid var(--red)
}

.secondary {
  margin-left:15px;
  background:transparent;
  color:var(--ink);
  border-color:var(--line)
}

.schematic {
  height:350px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center
}

.schematic svg {
  width:100%;
  height:100%
}

.caption {
  position:absolute;
  bottom:0;
  right:0;
  font-size:11px;
  color:var(--muted)
}

.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  margin-top:55px;
  padding:30px 0
}

.stat {
  padding-left:24px;
  border-left:1px solid var(--line)
}

.stat:first-child {
  padding:0;
  border:0
}

.stat b {
  font:38px/1.2 monospace
}

.stat span {
  display:block;
  font-size:13px;
  color:var(--gray);
  margin-top:8px
}

section {
  padding:90px 0
}

.section-head {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:end;
  margin-bottom:40px
}

h2 {
  font-size:36px;
  line-height:1.35;
  margin:15px 0 0;
  letter-spacing:-1px
}

h3 {
  font-size:22px;
  margin:10px 0
}

p {
  margin:10px 0
}

.intro {
  color:var(--gray);
  max-width:1000px
}

.pill {
  font-size:12px;
  border:1px solid var(--line);
  padding:4px 10px;
  display:inline-block;
  margin:8px 7px 0 0
}

.outcomes {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line)
}

.outcome {
  padding:28px 30px 10px 0
}

.outcome span {
  font:13px monospace;
  color:var(--muted)
}

.outcome p {
  font-size:14px;
  color:var(--gray)
}

.curriculum {
  background:var(--paper)
}

.tabs {
  display:flex;
  border-bottom:1px solid var(--line);
  gap:35px;
  margin:30px 0
}

.tabs button {
  border:0;
  background:none;
  padding:12px 0;
  color:var(--muted);
  cursor:pointer;
  border-bottom:3px solid transparent
}

.tabs button.active {
  color:var(--ink);
  border-color:var(--ink);
  font-weight:bold
}

.courses {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 40px
}

.course {
  border-bottom:1px solid var(--line)
}

summary {
  list-style:none;
  display:flex;
  gap:20px;
  align-items:center;
  padding:25px 0;
  cursor:pointer
}

summary::-webkit-details-marker {
  display:none
}

.num {
  font:14px monospace;
  color:var(--muted)
}

summary strong {
  display:block;
  font-size:18px
}

summary small {
  font-size:13px;
  color:var(--muted);
  display:block;
  margin-top:5px
}

.plus {
  margin-left:auto;
  font-size:22px
}

.course[open] .plus {
  transform:rotate(45deg)
}

.detail {
  padding:0 20px 25px 38px;
  font-size:14px
}

.muted {
  color:var(--muted);
  font-size:13px
}

.note {
  border-left:2px solid var(--ink);
  padding-left:18px;
  margin-top:32px;
  color:var(--muted);
  font-size:13px
}

.resources {
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:70px
}

.resource-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line)
}

.resource {
  padding:25px 20px;
  background:#fff
}

.resource em {
  font:12px monospace;
  color:var(--muted)
}

.resource h3 {
  font-size:17px
}

.resource p {
  font-size:13px;
  color:var(--gray)
}

.projects {
  background:var(--ink);
  color:#ededeb
}

.projects .eyebrow,.projects .intro {
  color:#b9baba
}

.project-list {
  border-top:1px solid #5a5c5e
}

.project {
  display:grid;
  grid-template-columns:60px 1fr 1fr;
  gap:25px;
  padding:28px 0;
  border-bottom:1px solid #5a5c5e
}

.project h3 {
  margin:0;
  font-size:21px
}

.project p {
  font-size:14px;
  color:#c9c9c6;
  margin:0
}

.project .index {
  font:16px monospace;
  color:#a0a1a1
}

.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  margin:45px 0
}

.step {
  border-top:1px solid var(--ink);
  padding-top:20px
}

.step b {
  font:30px monospace
}

.step p {
  font-size:14px;
  color:var(--gray)
}

.extend {
  background:var(--paper);
  padding:30px;
  display:flex;
  gap:45px;
  align-items:center
}

.extend p {
  font-size:14px;
  color:var(--gray)
}

.faq {
  border-top:1px solid var(--line);
  margin-top:35px
}

.faq details {
  border-bottom:1px solid var(--line)
}

.faq summary {
  font-weight:bold
}

.faq details p {
  padding:0 0 25px;
  max-width:900px;
  color:var(--gray)
}

.end {
  padding:55px 0;
  background:var(--paper)
}

.end .wrap {
  display:flex;
  justify-content:space-between;
  align-items:center
}

.end h2 {
  font-size:28px
}

footer {
  padding:28px 5%;
  font-size:12px;
  color:var(--muted);
  display:flex;
  justify-content:space-between
}

.hidden {
  display:none
}

.top {
  border-bottom:1px solid var(--ink)
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline:2px solid var(--red);
  outline-offset:5px
}

@media(max-width:760px) {
  header {
    height:76px
  }

  header img {
    width:145px
  }

  nav {
    gap:14px;
    font-size:12px
  }

  nav a:nth-child(n+3) {
    display:none
  }

  .hero {
    padding-top:45px
  }

  .hero-grid,.section-head,.resources {
    grid-template-columns:1fr;
    gap:28px
  }

  .hero h1 {
    transform:none;
    letter-spacing:-2px
  }

  .hero p {
    font-size:15px
  }

  .schematic {
    height:270px
  }

  .stats {
    margin-top:35px;
    grid-template-columns:repeat(2,1fr);
    gap:30px
  }

  .stat:nth-child(3) {
    padding:0;
    border:0
  }

  .stat b {
    font-size:30px
  }

  section {
    padding:60px 0
  }

  h2 {
    font-size:28px
  }

  .outcomes,.courses {
    grid-template-columns:1fr
  }

  .outcome {
    border-bottom:1px solid var(--line);
    padding:22px 0
  }

  .resource-grid {
    grid-template-columns:repeat(2,1fr)
  }

  .project {
    grid-template-columns:32px 1fr;
    gap:15px
  }

  .project p {
    grid-column:2
  }

  .steps {
    grid-template-columns:1fr 1fr
  }

  .extend {
    display:block
  }

  .end .wrap {
    display:block
  }

  footer {
    display:block
  }

  .secondary {
    margin-left:8px
  }

  .btn {
    padding:10px 18px;
    gap:16px
  }

  .tabs {
    gap:25px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

}

figure {
  margin:0
}

figure img {
  width:100%;
  display:block;
  object-fit:cover
}

figcaption {
  font-size:11px;
  color:var(--muted);
  line-height:1.6;
  margin-top:10px
}

.hero-photo {
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center
}

.hero-photo img {
  height:400px;
  object-position:center
}

.hero-grid {
  gap:45px;
  grid-template-columns:1.1fr 1fr
}

.wide-photo {
  margin:25px 0 30px
}

.wide-photo img {
  height:340px;
  object-position:center 58%
}

.resource-photo {
  margin:25px 0
}

.resource-photo img {
  height:245px
}

@media(max-width:760px) {
  .hero-grid {
    grid-template-columns:1fr
  }

  .hero-photo img {
    height:285px
  }

  .wide-photo img {
    height:230px
  }

  .resource-photo img {
    height:240px
  }

}

.hero-photo img {
  height:410px
}

.chain {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
  margin:30px 0
}

.chain div {
  background:white;
  padding:25px
}

.chain small {
  font:12px monospace;
  color:var(--muted)
}

.chain b {
  display:block;
  font-size:21px
}

.book-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  margin-top:35px
}

.book {
  background:var(--paper);
  padding:30px;
  border-top:2px solid var(--ink)
}

.book p {
  font-size:14px;
  color:var(--gray)
}

.worknote {
  font-size:13px;
  color:#b9baba;
  margin:25px 0
}

.project p {
  align-self:center
}

@media(max-width:760px) {
  .chain,.book-grid {
    grid-template-columns:1fr 1fr
  }

  .hero-photo img {
    height:280px
  }

  .book-grid {
    grid-template-columns:1fr
  }

}
/* 加载思源黑体 Bold */
@font-face {
  font-family: "StatFont";
  src: url("fonts/SourceHanSansSC-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 只修改 06、09、三电、课·训·评 */
.stat b {
  font-family: "StatFont", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
}
/* 四个模块上方的配图 */
.chain .chain-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 22px;
}
/* 去掉外围边框及中间分隔线 */
.chain {
  border: none;
  background: transparent;
}
/* 一排两个模块，放大图片 */
.chain {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  border: none;
  background: transparent;
}

.chain > div {
  padding: 0;
}

.chain .chain-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 22px;
}

/* 手机端一排一个 */
@media (max-width: 760px) {
  .chain {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* 卡片内的图片统一对齐 */
.book-grid > .book {
  display: flex;
  flex-direction: column;
}

.book-grid .book-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: auto;
  padding-top: 0;
}

/* 文字与图片之间的距离 */
.book-grid .book > p {
  margin-bottom: 22px;
}
/* 四张教学照片：电脑端一排四张 */
.teaching-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.teaching-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 手机端一排两张 */
@media (max-width: 760px) {
  .teaching-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
/* 课程体系图：全部使用独立类名 */
.course-system {
  margin: 36px 0 44px;
  padding: 24px 18px;
  background: transparent;
  color: #16171a;
}

.course-system,
.course-system * {
  box-sizing: border-box;
}

.course-system-scroll {
  overflow-x: auto;
  padding-bottom: 12px;
}

.course-system-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr);
  gap: 24px;
  min-width: 1000px;
  align-items: start;
}

/* SVG 图形 */
.course-system-chart {
  display: block;
  width: 100%;
  height: auto;
}

.course-system-blocks rect {
  fill: #ff2929;
  fill-opacity: 0.82;
  stroke: #ff1616;
  stroke-width: 2;
}

.course-system-letters text {
  fill: #fff;
  font-family: Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
}

/* 下方12项能力 */
.course-system-skills {
  display: grid;
  grid-template-columns:
    repeat(7, minmax(0, 1fr))
    1.6fr
    repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 20px;
}

.course-system-skills span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 3px 2px;
  border: 1px solid #ef3333;
  font-size: clamp(10px, 0.9vw, 15px);
  line-height: 1.4;
  white-space: nowrap;
}

/* 三个能力阶段 */
.course-system-stages {
  display: grid;
  grid-template-columns: 4fr 4.6fr 4fr;
  gap: 4px;
  margin-top: 5px;
  padding-left: 8%;
}

.course-system-stages span {
  padding: 2px 6px;
  background: linear-gradient(to bottom, #fff 0%, #ff1717 100%);
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
}

/* 中职、高职、本科横条 */
.course-system-levels {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.course-system-level {
  height: 30px;
  border: 1px solid #ed2929;
  background: linear-gradient(90deg, #ee5353, #d00000);
  color: #fff;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

.course-system-level.secondary {
  width: 32%;
}

.course-system-level.vocational {
  width: 68%;
}

.course-system-level.undergraduate {
  width: 100%;
}

/* 右侧课程名称 */
.course-system-legend {
  list-style: none;
  margin: 62px 0 0;
  padding: 0;
}

.course-system-legend li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.7;
}

.course-system-legend b {
  flex-shrink: 0;
  color: #ed1616;
}

.course-system-legend span {
  font-weight: 600;
}

/* 理念及划分原则 */
.course-system-principles {
  margin-top: 72px;
}

.course-system-principles h4 {
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.course-system-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.course-system-tags span {
  padding: 3px 5px;
  border: 1px solid #e52b2b;
  background: linear-gradient(90deg, #ef5353, #d00000);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.course-system-note {
  margin: 12px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .course-system {
    padding: 16px 10px;
    margin: 28px 0;
  }

  .course-system-skills span {
    font-size: 11px;
  }
}
/* 课程模块标题占满整行 */
#curriculum .section-head {
  grid-template-columns: 1fr;
}

#curriculum .section-head > div {
  width: 100%;
  min-width: 0;
}

#curriculum .section-head h2 {
  max-width: none;
}

/* 手机端保持自动换行 */
@media (max-width: 600px) {
  #curriculum .section-head h2 {
    font-size: 26px;
    line-height: 1.5;
  }
}