:root {
  --ink: #101010;
  --muted: #5e5e66;
  --line: #e8e5e3;
  --bg: #ffffff;
  --soft: #f7f5f2;
  --dark: #050505;
  --dark-2: #171717;
  --accent: #ff3008;
  --accent-2: #d71972;
  --accent-soft: #fff0ec;
  --pink-soft: #fff0f7;
  --teal: #169b8f;
  --yellow: #f0b429;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.13);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f2f0ec;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font: inherit;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand span {
  padding-left: 10px;
  border-left: 2px solid currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.section {
  padding: 96px 0;
}

.section-dark {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(255, 48, 8, 0.32), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 14%),
    var(--dark);
}

.soft-band {
  background: var(--soft);
}

.hero {
  min-height: 700px;
  display: grid;
  align-items: center;
  padding: 40px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
}

.hero {
  position: relative;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.split,
.university-grid,
.visual-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 56px;
  align-items: center;
}

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

.section-dark .eyebrow {
  color: #ff6b4a;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.35vw, 44px);
  line-height: 1.16;
}

.no-break-title {
  white-space: nowrap;
  font-size: clamp(27px, 3vw, 40px);
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.nowrap {
  white-space: nowrap;
}

.hero-lede,
.section-head p,
.split p,
.university-grid p,
.visual-grid p,
.faq-grid p {
  color: inherit;
  opacity: 0.78;
  font-size: 18px;
}

.tag-row,
.note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.tag-row span,
.note-list span {
  padding: 9px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.soft-band .note-list span {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(255, 48, 8, 0.28);
}

.btn-secondary {
  color: inherit;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.route-card {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.discipline-card {
  display: grid;
  gap: 0;
  margin-bottom: 16px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.discipline-card span {
  color: #ff6b4a;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.course-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 12px;
}

.course-list small {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.course-list small:not(:last-child)::after {
  content: none;
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 16px;
  padding: 18px 0;
}

.hero-panel .route-card {
  display: grid;
  gap: 12px;
}

.hero-panel .route-step {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.hero-panel .route-step:nth-child(2) {
  margin-left: 0;
}

.hero-panel .route-step:nth-child(3) {
  margin-left: 0;
}

.hero-panel .route-step:nth-child(4) {
  margin-left: 0;
}

.route-step:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.route-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.route-step strong {
  font-size: 19px;
}

.route-step small {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 1080px;
  margin-bottom: 42px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

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

.info-card,
.major-card,
.product-card,
.process article,
.image-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

.info-card {
  padding: 24px;
}

.info-card p,
.major-card p,
.product-card p,
.process p,
.faq-list p {
  color: var(--muted);
}

.info-card.compact {
  padding: 18px;
}

.path-diagram {
  display: grid;
  gap: 18px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.path-summary,
.path-flow article {
  padding: 24px;
  background: #fff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 23, 35, 0.1);
}

.path-flow {
  display: grid;
  gap: 12px;
}

.path-diagram strong,
.path-diagram span,
.path-diagram small {
  display: block;
}

.path-diagram strong {
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.2;
}

.path-summary > span,
.path-flow span {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.path-summary p,
.path-flow small {
  margin: 0;
  color: var(--muted);
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 23, 35, 0.07);
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  background: #fff;
}

.compare-table th,
.compare-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  color: #fff;
  background: var(--dark);
}

.compare-table td:first-child {
  font-weight: 800;
}

.compare-table .highlight {
  color: var(--ink);
  background: var(--accent-soft);
  font-weight: 800;
}

.teesside-section {
  padding: 96px 0;
}

.teesside-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: end;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 72px;
  overflow: hidden;
}

.teesside-copy {
  max-width: 760px;
}

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

.stat-grid div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.stat-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 36px;
}

.stat-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.accordion {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.accordion details {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  padding: 15px 16px;
  color: #fff;
  font-weight: 900;
}

.accordion p {
  margin: 0;
  padding: 0 16px 16px;
  color: rgba(255, 255, 255, 0.76);
}

.teesside-toggle {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.teesside-toggle i {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.teesside-panel.expanded .teesside-toggle i {
  transform: rotate(225deg);
}

.teesside-more {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.28s ease;
}

.teesside-panel.expanded .teesside-more {
  grid-template-rows: 1fr;
}

.teesside-more > .accordion {
  min-height: 0;
  padding-top: 24px;
}

.teesside-expanded-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-bottom: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.teesside-expanded-intro figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.teesside-expanded-intro img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.teesside-expanded-intro span {
  color: #ff8a70;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.teesside-expanded-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
  text-align: left !important;
}

.teesside-expanded-copy > span,
.teesside-expanded-copy > h3,
.teesside-expanded-copy > p {
  align-self: stretch;
  display: block;
  width: 100%;
  margin-left: 0 !important;
  padding-left: 0 !important;
  max-width: none;
  text-align: left !important;
}

.teesside-expanded-intro h3,
.teesside-expanded-intro p {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  text-align: left;
}

.teesside-expanded-intro p {
  color: rgba(255, 255, 255, 0.78);
}

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

.teesside-feature-grid article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.teesside-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  text-align: left !important;
}

.teesside-feature-copy > h3,
.teesside-feature-copy > p {
  align-self: stretch;
  display: block;
  width: 100%;
  max-width: none;
  text-align: left !important;
}

.teesside-feature-grid img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 8px;
}

.teesside-feature-grid h3 {
  width: 100%;
  margin-left: 1em;
  margin-right: 0;
  text-align: left;
}

.teesside-feature-grid p {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.teesside-feature-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.major-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 0;
  border-top: 6px solid var(--accent);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.major-card > div,
.major-card .major-detail {
  padding-inline: 24px;
}

.major-card > div:not(.major-detail) {
  padding-top: 22px;
}

.major-visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #121212;
  background-position: center;
  background-size: cover;
}

.major-visual::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.16), transparent 62%);
}

.major-card:hover,
.major-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.major-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-weight: 800;
}

.major-card h3 {
  font-size: 26px;
}

.major-card h3 a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.major-card h3 a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.major-detail {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.major-detail.static {
  display: block;
  margin-top: 16px;
  padding-top: 16px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
}

.timeline-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

.timeline-track::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 43px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.22;
}

.timeline-node {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 12px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.timeline-node:hover,
.timeline-node.active {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--accent);
}

.node-dot {
  width: 18px;
  height: 18px;
  background: #fff;
  border: 4px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.timeline-node.active .node-dot {
  background: var(--accent);
}

.node-month {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.timeline-node strong {
  font-size: 16px;
  line-height: 1.25;
}

.timeline-node small {
  color: var(--muted);
  font-weight: 800;
}

.timeline-detail {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 48, 8, 0.34), transparent 48%),
    var(--dark);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-month {
  display: inline-flex;
  justify-self: start;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.timeline-detail p {
  color: rgba(255, 255, 255, 0.76);
}

.detail-phase {
  margin: 10px 0 16px;
  color: #ffb3a2;
  font-weight: 900;
}

.timeline-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-detail li {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

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

.module-grid .info-card:first-child {
  grid-column: span 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 48, 8, 0.28), transparent 44%),
    var(--dark);
  border-color: var(--dark);
}

.module-grid .info-card:first-child p {
  color: rgba(255, 255, 255, 0.9);
}

.visual-band {
  background: #f2f0ec;
}

.course-map {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.course-yearline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin: 0 0 2px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.course-yearline::before {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.28;
}

.course-yearline span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 28px;
  padding: 4px 5px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.course-yearline span:first-child,
.course-yearline span:nth-child(5),
.course-yearline span:nth-child(10),
.course-yearline span:last-child {
  color: #fff;
  background: var(--dark);
}

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

.course-stage {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

.stage-top {
  display: grid;
  gap: 6px;
}

.stage-top span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-top strong {
  font-size: 24px;
}

.stage-top em {
  justify-self: start;
  padding: 4px 8px;
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
  font-style: normal;
  font-weight: 900;
}

.course-stage p {
  margin: 0;
  color: var(--muted);
}

.stage-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-courses small {
  padding: 6px 8px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.project-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.project-map article {
  padding: 18px;
  background: var(--dark);
  border-radius: 8px;
  color: #fff;
}

.project-map article h3 {
  font-size: 18px;
}

.project-map article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.fit-list {
  display: grid;
  gap: 12px;
}

.fit-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.fit-item span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 900;
}

.fit-item h3 {
  margin-bottom: 4px;
}

.fit-item p {
  margin: 0;
  color: var(--muted);
}

.product-card {
  padding: 24px;
}

.single-product .product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 24px;
  align-items: start;
  padding: 30px;
  border-left: 8px solid var(--accent);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tags span {
  padding: 8px 10px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  font-weight: 900;
}

.fee-compare {
  margin-top: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.07);
}

.fee-compare-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.fee-compare-head span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.fee-compare-head h3 {
  font-size: 28px;
}

.fee-compare-head p {
  margin: 0;
  color: var(--muted);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fee-grid article {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fee-grid article:nth-child(2) {
  background: var(--accent-soft);
  border-color: rgba(255, 48, 8, 0.25);
}

.fee-grid h4 {
  margin: 0;
  font-size: 20px;
}

.fee-grid p,
.fee-grid small {
  margin: 0;
  color: var(--muted);
}

.fee-grid div {
  margin-top: 4px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.fee-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.process article {
  padding: 24px;
}

.process span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  padding: 26px 0;
  color: #fff;
  background: #0c111a;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner a {
  color: #ff6b4a;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: none;
    width: min(300px, calc(100vw - 40px));
    padding: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .hero-grid,
  .split,
  .university-grid,
  .visual-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .timeline-explorer,
  .single-product .product-card,
  .course-stages,
  .teesside-panel,
  .teesside-expanded-intro {
    grid-template-columns: 1fr;
  }

  .course-yearline {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .course-yearline span {
    flex: 0 0 auto;
    min-width: 56px;
  }

  .card-grid.three,
  .card-grid.four,
  .process,
  .fee-grid,
  .teesside-feature-grid,
  .project-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


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

  .timeline-track::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: 0;
    padding-top: 116px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede,
  .section-head p,
  .split p,
  .university-grid p,
  .visual-grid p,
  .faq-grid p {
    font-size: 16px;
  }

  .card-grid.three,
  .card-grid.four,
  .process,
  .timeline-track,
  .module-grid,
  .stat-grid,
  .fee-grid,
  .teesside-feature-grid,
  .project-map {
    grid-template-columns: 1fr;
  }

  .teesside-panel {
    padding-bottom: 86px;
  }

  .teesside-feature-grid article {
    grid-template-columns: 1fr;
  }

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

  .no-break-title {
    white-space: normal;
  }

  .hero-panel .route-step,
  .hero-panel .route-step:nth-child(n) {
    width: 100%;
    margin-left: 0;
  }


  .module-grid .info-card:first-child {
    grid-column: auto;
  }

  .btn {
    width: 100%;
  }

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