:root {
  color-scheme: light;
  --ink: #182231;
  --muted: #5b6776;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dce3e8;
  --teal: #008f95;
  --blue: #174d7c;
  --coral: #e95d43;
  --gold: #f5b63f;
  --green: #6fa66f;
  --shadow: 0 22px 60px rgba(24, 34, 49, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(220, 227, 232, 0.75);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-elevated {
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 10px 30px rgba(24, 34, 49, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: #eaf4f5;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px) 48px;
  background:
    linear-gradient(115deg, rgba(0, 143, 149, 0.12), transparent 36%),
    linear-gradient(25deg, transparent 56%, rgba(245, 182, 63, 0.2)),
    var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.14;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: #344151;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.68);
}

.hero-visual {
  position: relative;
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  min-height: 330px;
  object-fit: contain;
  padding: 18px;
}

.orbital {
  position: absolute;
  inset: -22px -16px auto auto;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 8px;
}

.orbital span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: #fff;
  background: var(--teal);
  border: 3px solid var(--paper);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(24, 34, 49, 0.18);
}

.orbital span:nth-child(2) {
  background: var(--coral);
}

.orbital span:nth-child(3) {
  background: var(--gold);
  color: var(--ink);
}

.orbital span:nth-child(4) {
  background: var(--green);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.stats-band div {
  padding: 28px clamp(18px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  color: var(--coral);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(70px, 9vw, 126px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow) {
  max-width: 790px;
  color: var(--muted);
  font-size: 18px;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.vision-grid article,
.course-card,
.network-board div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(24, 34, 49, 0.06);
}

.vision-grid article {
  min-height: 220px;
  padding: 24px;
}

.icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 900;
}

.features,
.pathway {
  background: #eef6f4;
}

.section-heading {
  margin-bottom: 34px;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.feature-image {
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  padding: 22px;
  object-fit: contain;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 24px;
  border-left: 6px solid var(--coral);
  background: var(--panel);
  border-radius: var(--radius);
}

.feature-list article:nth-child(2) {
  border-left-color: var(--teal);
}

.feature-list article:nth-child(3) {
  border-left-color: var(--gold);
}

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 18px;
}

.course-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}

.course-principles article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 143, 149, 0.08), transparent 48%),
    var(--panel);
  box-shadow: 0 14px 34px rgba(24, 34, 49, 0.06);
}

.course-principles span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 900;
}

.course-principles p {
  color: var(--muted);
}

.tab {
  min-width: 84px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--panel);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.is-active {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 28px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.course-card.is-hidden {
  display: none;
}

.course-card:hover {
  transform: translateY(-4px);
}

.course-tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #e7f0f7;
  font-size: 13px;
  font-weight: 900;
}

.course-card p {
  color: var(--muted);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 18px;
}

.course-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #d4e6e7;
  border-radius: 999px;
  color: var(--teal);
  background: #f2fbfb;
  font-size: 13px;
  font-weight: 800;
}

.course-card ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.course-card li {
  margin-top: 8px;
}

.course-output {
  margin: auto 0 0;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #f7f0e7;
}

.course-output strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 900;
}

.timeline p,
.network-board p,
.vision-grid p,
.feature-list p {
  color: var(--muted);
}

.network {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.network-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.network-board div {
  min-height: 190px;
  padding: 24px;
}

.team {
  background: #f7f0e7;
}

.contact {
  background: #eef6f4;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 10px;
  align-content: center;
}

.contact-list p {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: inline-block;
  min-width: 104px;
  color: var(--ink);
}

.team-map {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-map article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(220, 227, 232, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 34, 49, 0.06);
}

.team-map .team-core {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(0, 143, 149, 0.95), rgba(23, 77, 124, 0.95));
}

.team-map span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-weight: 900;
}

.team-map .team-core span,
.team-map .team-core p {
  color: #dff5f3;
}

.team-map p {
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 72px);
  color: #fff;
  background: #182231;
}

.site-footer p {
  margin: 6px 0 0;
  color: #c8d2dc;
}

.site-footer a {
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .feature-layout,
  .network {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .course-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-panel img {
    min-height: 220px;
    padding: 10px;
  }

  .orbital {
    position: static;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .orbital span {
    width: 56px;
  }

  .stats-band,
  .vision-grid,
  .course-grid,
  .course-principles,
  .timeline,
  .network-board,
  .team-map,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .team-map .team-core {
    grid-row: auto;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .course-card {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
