:root {
  --text: #12161b;
  --muted: #67707a;
  --line: rgba(18, 22, 27, 0.12);
  --surface: #f4f7f8;
  --white: #ffffff;
  --green: #0f7b54;
  --gold: #c69a4a;
  --ink: #080d11;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

.college-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  color: var(--white);
  background: rgba(8, 13, 17, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.college-header.is-scrolled {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
}

.college-brand {
  display: inline-flex;
  align-items: center;
  min-width: 166px;
  height: 40px;
}

.college-logo {
  display: block;
  width: 146px;
  height: auto;
}

.college-logo-dark {
  display: none;
}

.college-header.is-scrolled .college-logo-dark {
  display: block;
}

.college-header.is-scrolled .college-logo-light {
  display: none;
}

.college-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.college-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: end;
  padding: 120px 8vw 88px;
  color: var(--white);
  overflow: hidden;
}

.college-hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 9, 12, 0.14), rgba(4, 9, 12, 0.82)),
    linear-gradient(90deg, rgba(4, 9, 12, 0.78), rgba(4, 9, 12, 0.12)),
    url("assets/services/service-page-95.jpg") center/cover;
  transform: scale(1.03);
}

.college-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(15, 123, 84, 0.18), transparent 28%),
    radial-gradient(circle at 16% 80%, rgba(198, 154, 74, 0.12), transparent 28%);
}

.college-hero-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: end;
}

.college-hero-copy {
  max-width: 760px;
}

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

.college-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.82;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-tags span,
.pill-list span {
  padding: 9px 14px;
  color: var(--green);
  background: rgba(15, 123, 84, 0.1);
  border: 1px solid rgba(15, 123, 84, 0.16);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.college-hero-aside {
  padding: 28px;
  background: rgba(8, 13, 17, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.hero-stats article {
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}

.hero-stats span,
.aside-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.aside-note {
  margin: 18px 0 0;
}

.tabs {
  position: sticky;
  top: 64px;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  padding: 0 8vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.tabs a {
  display: grid;
  place-items: center;
  min-height: 60px;
  padding: 8px;
  color: rgba(18, 22, 27, 0.66);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  background: rgba(18, 22, 27, 0.035);
}

.tabs a:hover,
.tabs a.is-active {
  color: var(--white);
  background: var(--green);
}

.section {
  padding: 112px 8vw;
}

.section.soft {
  background: var(--surface);
}

.section.dark {
  color: var(--white);
  background: var(--ink);
}

.section-heading {
  max-width: 980px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 62px);
  line-height: 1.12;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 17px;
}

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

.background-grid,
.position-grid,
.system-grid,
.path-grid,
.job-grid,
.venture-grid,
.cap-grid,
.mission-grid {
  display: grid;
  gap: 18px;
}

.background-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.background-card,
.position-card,
.cap-card,
.system-card,
.path-card,
.job-card,
.venture-card,
.mission-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.background-card span,
.cap-card span,
.path-card span,
.job-card span,
.venture-card span,
.mission-card span,
.position-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.background-card h3,
.position-card h3,
.cap-card h3,
.system-card h3,
.path-card h3,
.job-card h3,
.venture-card h3,
.mission-card h3 {
  margin: 16px 0 12px;
  font-size: 24px;
  line-height: 1.28;
}

.background-card p,
.position-card p,
.cap-card p,
.system-card p,
.path-card p,
.job-card p,
.venture-card p,
.mission-card p {
  color: var(--muted);
  line-height: 1.82;
}

.issue-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.issue-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.data-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(15, 123, 84, 0.03), rgba(15, 123, 84, 0.08)),
    var(--white);
}

.data-card h3 {
  font-size: 30px;
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.data-strip div {
  padding: 18px 14px;
  background: #f7faf9;
  border: 1px solid var(--line);
}

.data-strip strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
}

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

.policy-band {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.policy-band strong {
  white-space: nowrap;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.policy-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.position-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.position-card {
  min-height: 340px;
  background:
    linear-gradient(180deg, rgba(15, 123, 84, 0.03), rgba(15, 123, 84, 0.08)),
    var(--white);
}

.position-card.featured {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 13, 17, 0.86), rgba(8, 13, 17, 0.42)),
    url("assets/services/service-page-94.jpg") center/cover;
}

.position-card.featured p,
.position-card.featured h3 {
  color: var(--white);
}

.position-card.accent {
  background:
    linear-gradient(180deg, rgba(198, 154, 74, 0.06), rgba(198, 154, 74, 0.12)),
    var(--white);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.stack-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.stack-list div,
.party-grid div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.stack-list strong,
.party-grid strong {
  color: var(--text);
}

.stack-list span,
.party-grid span {
  color: var(--muted);
  font-size: 14px;
}

.section.dark .stack-list div {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.section.dark .stack-list strong,
.section.dark .party-grid strong {
  color: var(--white);
}

.section.dark .stack-list span,
.section.dark .party-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.cap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section.dark .cap-card,
.section.dark .system-card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.section.dark .cap-card p,
.section.dark .system-card p,
.section.dark .cap-card span,
.section.dark .system-card span {
  color: rgba(255, 255, 255, 0.72);
}

.system-strip {
  min-height: 220px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, rgba(4, 9, 12, 0.12), rgba(4, 9, 12, 0.66)),
    url("assets/services/service-page-92.jpg") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.system-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.network-card {
  background:
    linear-gradient(180deg, rgba(15, 123, 84, 0.04), rgba(15, 123, 84, 0.08)),
    var(--white);
}

.party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.party-grid div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: rgba(15, 123, 84, 0.04);
  border: 1px solid var(--line);
}

.section.dark .party-grid div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.path-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.path-card {
  min-height: 260px;
}

.support-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 56px;
}

.support-band div {
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.support-band strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.support-band span {
  color: var(--muted);
}

.section-subheading {
  margin: 0 0 24px;
}

.section-subheading h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.job-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.mission-card {
  background:
    linear-gradient(180deg, rgba(15, 123, 84, 0.03), rgba(15, 123, 84, 0.08)),
    var(--white);
}

.venture-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vision-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 72px 8vw;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 13, 17, 0.88), rgba(6, 13, 17, 0.58)),
    url("assets/services/service-page-90.jpg") center/cover;
}

.vision-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
}

.vision-band p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.82;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .college-hero-shell,
  .background-grid,
  .position-grid,
  .system-grid,
  .path-grid,
  .job-grid,
  .venture-grid,
  .cap-grid,
  .mission-grid,
  .support-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .college-header {
    padding: 0 22px;
  }

  .tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .party-grid,
  .data-strip {
    grid-template-columns: 1fr;
  }

  .policy-band,
  .vision-band {
    grid-template-columns: 1fr;
  }

  .policy-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .college-logo {
    width: 122px;
  }

  .college-brand {
    min-width: 138px;
  }

  .college-nav {
    gap: 14px;
    font-size: 13px;
  }

  .college-nav a:nth-child(2) {
    display: none;
  }

  .college-hero,
  .section,
  .vision-band {
    padding-left: 22px;
    padding-right: 22px;
  }

  .tabs {
    padding-left: 22px;
    padding-right: 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .background-card,
  .position-card,
  .cap-card,
  .system-card,
  .path-card,
  .job-card,
  .venture-card,
  .mission-card {
    min-height: auto;
  }
}
