:root {
  --ink: #061625;
  --ink-soft: #263d50;
  --muted: #667784;
  --paper: #eef8fb;
  --white: #ffffff;
  --line: rgba(6, 22, 37, 0.12);
  --blue: #1167ff;
  --cyan: #16d4e7;
  --green: #3de27c;
  --yellow: #ffe36e;
  --coral: #ff684f;
  --violet: #6c63ff;
  --shadow: 0 22px 60px rgba(6, 22, 37, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", Arial, sans-serif;
  background:
    linear-gradient(rgba(17, 103, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 212, 231, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(22, 212, 231, 0.20), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(255, 227, 110, 0.24), transparent 26rem),
    linear-gradient(180deg, #edfaff 0%, #f6fff7 38%, #ffffff 100%);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(61, 226, 124, 0.08) 44% 46%, transparent 46% 100%),
    linear-gradient(300deg, transparent 0 58%, rgba(255, 104, 79, 0.07) 58% 60%, transparent 60% 100%);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.text-accent {
  color: var(--yellow);
}

.text-cyan {
  color: var(--cyan);
}

.text-warm {
  color: #ffb545;
}

.section .text-accent,
.mobile-signal-section .text-accent,
.modal-panel .text-accent {
  color: #0f6fff;
}

.section .text-cyan,
.mobile-signal-section .text-cyan,
.modal-panel .text-cyan {
  color: #008fa3;
}

.section .text-warm,
.mobile-signal-section .text-warm,
.modal-panel .text-warm {
  color: #d15d25;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.2);
}

.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--yellow));
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  overflow: hidden;
  background: #061625;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 212, 231, 0.16), transparent 36%, rgba(255, 227, 110, 0.13));
  background-size: 46px 46px, 46px 46px, auto;
  mix-blend-mode: screen;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 18, 34, 0.92) 0%, rgba(4, 18, 34, 0.72) 44%, rgba(4, 18, 34, 0.28) 100%),
    url("../img/hero-campus.jpg") center/cover;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.nav-shell {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #061422;
  background: linear-gradient(135deg, var(--yellow), var(--cyan) 48%, var(--green));
  box-shadow: 0 12px 28px rgba(22, 212, 231, 0.28);
}

.brand-placeholder {
  width: 1px;
  height: 38px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 148px;
}

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

.eyebrow.dark { color: #0f6fff; }

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 7.2vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(15px, 3.8vw, 18px);
}

.hero-actions { display: none; }

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.scroll-cue i {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #061625;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  box-shadow: 0 18px 46px rgba(22, 212, 231, 0.24);
  font-style: normal;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  animation: arrowBounce 2.35s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(8px); }
}

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.primary-link {
  color: #05111f;
  background: linear-gradient(135deg, var(--yellow), var(--cyan) 52%, var(--green));
  box-shadow: 0 16px 40px rgba(22, 212, 231, 0.24);
}

.ghost-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(6, 22, 37, 0.62);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.10);
  font-size: 12px;
  font-weight: 800;
}

.live-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(46, 203, 113, 0.18);
}

.signal-card {
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.10);
}

.signal-card.is-active {
  color: #061422;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(216, 255, 244, 0.92));
}

.signal-card strong {
  display: block;
  font-size: 18px;
}

.signal-card p {
  margin: 6px 0 0;
  color: inherit;
  opacity: 0.78;
  font-size: 14px;
}

.hero-strip {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  gap: 10px;
  padding: 0 16px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hero-strip::-webkit-scrollbar { display: none; }

.hero-strip span {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(7, 26, 47, 0.10);
}

.mobile-signal-section {
  display: none;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.intro-section,
.local-pulse-section,
.programmes-section,
.transformation-section,
.stories-section {
  position: relative;
}

.intro-section::before,
.local-pulse-section::before,
.programmes-section::before,
.transformation-section::before,
.stories-section::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 56px;
  width: 5px;
  height: 58px;
  background: linear-gradient(180deg, var(--blue), var(--cyan), var(--yellow));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.intro-copy h2,
.pathway-copy h2,
.editorial-card h2 {
  margin: 0;
  font-size: clamp(30px, 8vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.intro-copy p,
.pathway-copy p,
.editorial-card p {
  color: var(--ink-soft);
  font-size: 17px;
}

.section-kicker {
  max-width: 860px;
  margin-bottom: 20px;
  color: #e74f3e;
  font-size: clamp(20px, 5vw, 34px);
  font-weight: 900;
  line-height: 1.18;
}

.intro-layout,
.pathway-section {
  display: grid;
  gap: 26px;
  align-items: center;
}

.intro-photo,
.pathway-image {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 26, 47, 0.62);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.center-map {
  display: grid;
  gap: 14px;
}

.center-node,
.pulse-card,
.programme-card,
.mosaic-card,
.editorial-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 255, 252, 0.78));
  box-shadow: 0 16px 46px rgba(7, 26, 47, 0.08);
  backdrop-filter: blur(16px);
}

.center-node:nth-child(2n),
.pulse-card:nth-child(2n),
.programme-card:nth-child(3n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 255, 0.82));
}

.center-node:nth-child(3n),
.pulse-card:nth-child(3n),
.programme-card:nth-child(4n) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 222, 0.82));
}

.local-pulse-grid {
  display: grid;
  gap: 14px;
}

.pulse-card {
  position: relative;
  min-height: 280px;
  padding: 22px;
  border-radius: 8px;
  overflow: hidden;
}

.pulse-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(17, 103, 255, 0.18);
  background:
    linear-gradient(rgba(17, 103, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 212, 231, 0.12) 1px, transparent 1px);
  background-size: 12px 12px;
}

.pulse-card span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #061625;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  font-size: 12px;
  font-weight: 900;
}

.pulse-card h3 {
  margin: 16px 0 0;
  font-size: 25px;
  line-height: 1.16;
}

.pulse-card p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.center-node {
  padding: 18px;
  border-radius: 8px;
}

.center-node span,
.programme-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #061422;
  background: linear-gradient(135deg, rgba(255, 227, 110, 0.96), rgba(22, 212, 231, 0.88));
  font-weight: 900;
}

.center-node strong {
  display: block;
  margin-top: 14px;
  font-size: 19px;
}

.center-node p,
.programme-card p,
.mosaic-card p,
.story-card p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.industries-section {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}

.industries-section .section-heading {
  width: min(760px, calc(100vw - 32px));
}

.industry-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(282px, 38vw);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 0 22px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(15, 111, 255, 0.35) transparent;
}

.industry-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  scroll-snap-align: start;
  color: var(--white);
  box-shadow: var(--shadow);
  background: var(--ink);
}

.industry-card img {
  filter: saturate(1.12) contrast(1.02);
}

.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 16, 30, 0.88) 100%);
}

.industry-card div {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 20px;
}

.industry-card span,
.story-card span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #061422;
  background: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

.industry-card h3 {
  margin: 12px 0 8px;
  font-size: 28px;
  line-height: 1.1;
}

.industry-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.programme-grid {
  display: grid;
  gap: 14px;
}

.programme-card {
  min-height: 246px;
  padding: 20px;
  border-radius: 8px;
}

.programme-card h3 {
  margin: 16px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.programme-card em {
  display: block;
  margin-top: 16px;
  color: #0f6fff;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
}

.programme-card.featured {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 26, 47, 0.86), rgba(15, 111, 255, 0.72)),
    url("../img/youth-challenge.jpg") center/cover;
}

.programme-card.featured p,
.programme-card.featured em { color: rgba(255, 255, 255, 0.88); }

.pathway-section {
  width: 100%;
  max-width: none;
  padding: 84px max(16px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 227, 110, 0.26), rgba(22, 212, 231, 0.20) 42%, rgba(61, 226, 124, 0.15));
  background-size: 34px 34px, 34px 34px, auto;
}

.pathway-image {
  min-height: 430px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.timeline article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.timeline strong { font-size: 18px; }
.timeline p { margin: 4px 0 0; }

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

.mosaic-large {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.mosaic-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(5, 16, 30, 0.90));
}

.mosaic-large div {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 22px;
}

.mosaic-large h3 {
  margin: 0 0 8px;
  font-size: 32px;
}

.mosaic-large p { margin: 0; color: rgba(255, 255, 255, 0.86); }

.mosaic-card {
  padding: 20px;
  border-radius: 8px;
}

.mosaic-card strong { font-size: 20px; }

.news-section {
  width: 100%;
  max-width: none;
  padding: 86px max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #061625 0%, #0b3156 48%, #0a6c75 100%);
  background-size: 38px 38px, 38px 38px, auto;
}

.news-magazine {
  display: grid;
  gap: 16px;
}

.news-cover,
.news-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.news-cover {
  display: grid;
  align-content: end;
  min-height: 430px;
  padding: clamp(24px, 6vw, 46px);
}

.issue-label {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-cover h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 9vw, 78px);
  line-height: 0.98;
}

.news-cover p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 17px;
}

.cover-meta {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin-top: 24px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.cover-meta strong {
  font-size: 42px;
  line-height: 1;
  color: var(--yellow);
}

.cover-meta span {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  line-height: 1.25;
}

.news-photo {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.news-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(6, 22, 37, 0.70);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.news-card {
  position: relative;
  padding: 20px;
  overflow: hidden;
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--yellow), var(--cyan), var(--green));
}

.news-card span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #061625;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  font-size: 12px;
  font-weight: 900;
}

.news-card h3 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.18;
}

.lead-news {
  padding: clamp(24px, 5vw, 38px);
}

.lead-news h3 {
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.04;
}

.news-column {
  display: grid;
  gap: 16px;
}

.bottom-news {
  background:
    linear-gradient(135deg, rgba(255, 227, 110, 0.20), rgba(22, 212, 231, 0.08)),
    rgba(255, 255, 255, 0.08);
}

.news-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.news-card small {
  display: block;
  margin-top: 16px;
  color: #dffcff;
  font-weight: 800;
}

.story-stack {
  display: grid;
  gap: 18px;
}

.story-card {
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.story-card div { padding: 20px; }
.story-card h3 { margin: 12px 0 0; font-size: 25px; line-height: 1.15; }

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

.stat {
  min-height: 148px;
  display: grid;
  align-content: center;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.stat:nth-child(2) { background: #0f6fff; }
.stat:nth-child(3) { background: #12805c; }
.stat:nth-child(4) { background: #c64a3f; }

.stat strong {
  font-size: clamp(42px, 12vw, 78px);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.editorial-section {
  padding-bottom: 90px;
}

.editorial-card {
  padding: clamp(24px, 6vw, 52px);
  border-radius: 8px;
}

.dark-link {
  margin-top: 12px;
}

.site-footer {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #061625 0%, #0a2a49 58%, #073f45 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.footer-inner {
  display: grid;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-site-name {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.footer-inner p {
  max-width: 560px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.70);
}

.footer-copy {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 18px;
}

.info-modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 37, 0.70);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow-y: auto;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 8px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 254, 252, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-panel h2 {
  margin: 0;
  padding-right: 42px;
  font-size: clamp(26px, 7vw, 42px);
  line-height: 1.08;
}

.modal-body {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  color: var(--ink-soft);
}

.modal-body p {
  margin: 0;
}

.modal-body strong {
  color: var(--ink);
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 760px) {
  .nav-links { display: flex; }
  .hero-bg {
    background:
      linear-gradient(105deg, rgba(4, 18, 34, 0.82) 0%, rgba(4, 18, 34, 0.54) 42%, rgba(4, 18, 34, 0.12) 100%),
      url("../img/hero-hongkong-talent.png") center/cover;
  }
  .hero-grid { grid-template-columns: minmax(0, 1.45fr) 380px; padding-top: 86px; }
  .intro-layout, .pathway-section { grid-template-columns: 0.9fr 1.1fr; }
  .local-pulse-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .center-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .programme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .programme-card.featured { grid-column: span 2; }
  .feature-mosaic { grid-template-columns: 1.4fr 1fr 1fr; }
  .mosaic-large { grid-row: span 2; }
  .news-magazine {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-areas:
      "cover photo"
      "lead column"
      "bottom column";
    align-items: stretch;
  }
  .news-cover { grid-area: cover; }
  .news-photo { grid-area: photo; }
  .lead-news { grid-area: lead; }
  .news-column { grid-area: column; }
  .bottom-news { grid-area: bottom; }
  .story-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-card { grid-template-rows: 300px auto; }
  .stats-section { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 759px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(4, 18, 34, 0.64) 0%, rgba(4, 18, 34, 0.50) 42%, rgba(4, 18, 34, 0.74) 100%),
      url("../img/hero-hongkong-talent-mobile.png") center top/cover;
  }
  .nav-shell { width: min(100% - 28px, 1180px); }
  .brand { font-size: 14px; }
  .hero-grid { width: min(100% - 28px, 1180px); padding-top: 42px; padding-bottom: 148px; }
  .hero > .hero-grid .hero-panel { display: none; }
  .mobile-signal-section {
    display: block;
    width: min(100% - 28px, 1180px);
    margin: 22px auto 0;
  }
  .mobile-signal-panel {
    display: grid;
    position: static;
    color: var(--ink);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }
  .mobile-signal-panel .live-pill {
    color: var(--ink-soft);
    background: rgba(17, 103, 255, 0.08);
  }
  .mobile-signal-panel .signal-card {
    background: rgba(17, 103, 255, 0.06);
  }
  .mobile-signal-panel .signal-card.is-active {
    background: linear-gradient(135deg, rgba(255, 227, 110, 0.38), rgba(22, 212, 231, 0.18));
  }
  .section { width: min(100% - 28px, 1180px); padding: 58px 0; }
  .industry-rail { grid-auto-columns: minmax(292px, 84vw); }
  .industry-card { min-height: 480px; }
  .programme-card { min-height: auto; }
  .news-section { padding-top: 64px; padding-bottom: 64px; }
  .news-cover { min-height: 420px; }
  .news-photo { min-height: 280px; }
  .stats-section { width: min(100% - 28px, 1180px); }
}

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