:root {
  --navy: #071525;
  --navy-2: #102a49;
  --blue: #1a4a7a;
  --red: #c42845;
  --red-dark: #9d1f38;
  --ink: #132338;
  --muted: #5c6a80;
  --faint: #8f99a8;
  --line: #d9e0e8;
  --soft: #f3f6f9;
  --white: #ffffff;
  --warm: #f7f1ea;
  --radius-sm: 4px;
  --radius-md: 10px;
  --shadow-soft: 0 18px 48px rgba(7, 21, 37, 0.08);
  --serif: "Times New Roman", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Segoe UI", Arial, "Microsoft YaHei", sans-serif;
  --shell: min(1240px, calc(100vw - 112px));
  --header-height: 64px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: var(--white);
}

body {
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

.dark .eyebrow {
  color: #ef667c;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: var(--header-height);
  align-items: center;
  border-bottom: 1px solid rgba(20, 36, 58, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.site-header {
  grid-template-columns: 218px 1fr 218px;
  padding-inline: 28px;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
}

.brand-tile {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-family: "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.brand-tile i {
  position: absolute;
  top: 3px;
  left: 4px;
  font-family: var(--sans);
  font-size: 7px;
  font-style: normal;
  font-weight: 400;
  opacity: 0.75;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand b {
  font-family: "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.17em;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.site-header nav a {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.site-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--ink);
  transform: translateY(-1px);
}

.site-header nav a.active::after {
  transform: scaleX(1);
}

.site-header nav b {
  color: var(--red);
  font-family: "Times New Roman", serif;
  font-size: 15px;
}

.site-header nav span {
  font-family: var(--sans);
  font-size: 10px;
}

.city-switch {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
}

.city-switch span {
  margin-inline: 4px;
  color: var(--red);
}

/* Presentation frame — legacy scroll-snap only when deck engine is off */
@media (min-width: 821px) {
  .deck-page:not(.deck-live) {
    scroll-snap-type: y mandatory;
  }

  .deck-page:not(.deck-live) .screen {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

.screen {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 28px) 0 56px;
  background: var(--white);
}

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

.screen.dark {
  background: var(--navy);
  color: var(--white);
}

.screen.hero.dark {
  background:
    linear-gradient(
      115deg,
      rgba(7, 21, 37, 0.94) 0%,
      rgba(7, 21, 37, 0.78) 48%,
      rgba(16, 42, 73, 0.88) 100%
    ),
    url("../images/decor/hero-lattice.jpg") center / cover no-repeat;
}

.screen.hero.dark::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 78% 30%,
    rgba(196, 40, 69, 0.16),
    transparent 36%
  );
  content: "";
  pointer-events: none;
}

.screen-inner {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-inline: auto;
}

.screen h2 {
  max-width: 1080px;
  margin: 0 0 clamp(28px, 5vh, 52px);
  font-size: clamp(42px, 6.1vh, 70px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.screen h2 em {
  color: var(--red);
  font-style: normal;
}

.dark h2 em {
  color: #ef667c;
}

.source-ref {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
  vertical-align: super;
}

.dark .source-ref {
  color: #ff8094;
}

.quiet-note,
.data-note,
.checked-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.checked-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checked-note b {
  flex: 0 0 auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
}

/* Hero */

.hero {
  padding-bottom: 40px;
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 43vw;
  height: 100%;
  background:
    linear-gradient(90deg, var(--navy), transparent 38%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 72px
    );
  content: "";
}

.hero h2 {
  max-width: 940px;
  margin-bottom: 38px;
  font-size: clamp(54px, 8.4vh, 96px);
  letter-spacing: -0.055em;
}

.hero h2 em {
  display: block;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 70px;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(17px, 2.1vh, 22px);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.text-link span {
  color: #ef667c;
  font-size: 18px;
}

.city-seal {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: center;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.city-seal i {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
}

.city-seal strong {
  color: #ef667c;
  font-family: "Times New Roman", serif;
  font-size: 72px;
  line-height: 0.9;
}

.city-seal b {
  margin-top: 13px;
  font-size: 21px;
  font-weight: 500;
}

.city-seal small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.hero-facts {
  display: flex;
  gap: 54px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-facts span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--sans);
  font-size: 11px;
}

.hero-facts b {
  color: var(--white);
  font-family: "Times New Roman", serif;
  font-size: 24px;
}

/* Facts */

.definition-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(54px, 8vw, 112px);
}

.definition-lead > p {
  margin: 0;
  font-size: clamp(19px, 2.4vh, 26px);
  line-height: 1.8;
}

.name-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.name-note b {
  color: var(--red);
  font-family: "Times New Roman", serif;
  font-size: 27px;
}

.name-note span {
  color: var(--muted);
  font-size: 13px;
}

.three-returns {
  display: grid;
}

.three-returns article {
  display: grid;
  grid-template-columns: 42px 180px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.three-returns article:last-child {
  border-bottom: 1px solid var(--line);
}

.three-returns i,
.question-grid i,
.policy-list i,
.career-map i,
.future-list i,
.personal-route i,
.resource-list i,
.enroll-layout li i {
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.three-returns h3,
.question-grid h3,
.policy-list h3,
.career-map h3,
.future-list h3,
.personal-route h3,
.resource-list h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.three-returns p,
.question-grid p,
.policy-list p,
.career-map p,
.future-list p,
.personal-route p,
.resource-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.funnel {
  display: grid;
  border-top: 1px solid #cfd6de;
}

.funnel article {
  display: grid;
  grid-template-columns: 42px minmax(180px, 0.85fr) minmax(240px, 1.4fr) 36px;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid #cfd6de;
}

.funnel article > i {
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
}

.funnel article > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.funnel h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.funnel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.funnel strong {
  justify-self: end;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}

.math-note {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-top: 18px;
}

.math-note b {
  color: var(--red);
  font-family: "Times New Roman", serif;
  font-size: 24px;
}

.math-note span {
  color: var(--muted);
  font-size: 14px;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-list article {
  position: relative;
  min-height: 260px;
  padding: 26px 32px 24px 0;
}

.policy-list article + article {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.policy-list h3 {
  margin-top: 28px;
  font-size: 25px;
}

.policy-list p {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.75;
}

.policy-list .policy-alert {
  background: linear-gradient(135deg, rgba(190, 41, 70, 0.045), transparent);
}

.policy-list .source-ref {
  position: absolute;
  right: 18px;
  bottom: 18px;
}

.route-policy-screen h2 {
  margin-bottom: 26px;
}

.route-policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(48px, 6vw, 80px);
}

.route-policy-layout > div > h3 {
  margin: 0 0 13px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.route-policy-layout .funnel article {
  grid-template-columns: 32px minmax(142px, 0.85fr) minmax(170px, 1.15fr) 28px;
  min-height: 54px;
  gap: 10px;
}

.route-policy-layout .funnel h3 {
  font-size: 16px;
}

.route-policy-layout .funnel p {
  font-size: 10px;
}

.route-policy-layout .funnel strong {
  font-size: 15px;
}

.route-policy-layout .math-note {
  margin-top: 12px;
}

.route-policy-layout .math-note b {
  font-size: 19px;
}

.policy-compact {
  border-top: 1px solid #cfd6de;
}

.policy-compact > h3 {
  padding-top: 13px;
}

.policy-compact article {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  gap: 12px;
  min-height: 77px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #cfd6de;
}

.policy-compact article > i {
  color: var(--red);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
}

.policy-compact article b {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 600;
}

.policy-compact article p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.policy-compact .policy-alert {
  background: linear-gradient(90deg, rgba(190, 41, 70, 0.05), transparent);
}

.policy-compact .checked-note {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0;
  font-size: 11px;
}

.policy-compact .checked-note b {
  display: inline;
  margin-right: 8px;
  font-size: 9px;
}

.choice-screen blockquote {
  margin: 0;
  color: var(--white);
  font-size: clamp(54px, 8vh, 90px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.choice-screen .screen-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 80px;
}

.choice-screen .eyebrow,
.choice-screen h2,
.choice-screen .quote-source {
  grid-column: 1 / -1;
}

.choice-screen h2 {
  margin-bottom: 12px;
}

.choice-questions {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.choice-questions span {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.quote-source {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.choice-question-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(58px, 8vw, 110px);
}

.official-quote blockquote {
  margin: 0;
  font-size: clamp(45px, 6.7vh, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.official-quote > p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.question-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.question-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  min-height: 83px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.question-list i {
  color: #ef667c;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
}

.question-list h3 {
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
}

.question-list p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
}

/* Questions and industry */

.question-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.question-grid article {
  display: grid;
  grid-template-columns: 38px minmax(190px, 0.8fr) 1.2fr;
  align-items: baseline;
  gap: 18px;
  min-height: 132px;
  padding: 25px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.question-grid h3 {
  font-size: 20px;
}

.question-grid p {
  font-size: 14px;
  line-height: 1.7;
}

.industry-view {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 220px;
  border-top: 1px solid #cfd6de;
  border-bottom: 1px solid #cfd6de;
}

.industry-view > div {
  padding: 22px 36px 18px 0;
}

.industry-view > div + div {
  padding-left: 36px;
  border-left: 1px solid #cfd6de;
}

.industry-view > div > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.industry-view-rich .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.industry-view-rich .metric-card {
  display: grid;
  gap: 4px;
}

.industry-view-rich .metric-card strong {
  font-family: "Times New Roman", serif;
  font-size: clamp(34px, 4.2vh, 48px);
  font-weight: 500;
  line-height: 1;
}

.industry-positive .metric-card strong {
  color: var(--blue);
}

.industry-negative .metric-card strong {
  color: var(--red);
}

.industry-view-rich .metric-card span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.industry-view-rich .metric-card small,
.industry-view-rich > div > small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.industry-view-rich > div > small {
  margin-top: 16px;
}

.wage-strip {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfd 0%, var(--soft) 100%);
  border-radius: var(--radius-md);
}

.wage-strip .section-label {
  margin: 0 0 12px;
}

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

.wage-grid article {
  display: grid;
  gap: 4px;
}

.wage-grid strong {
  font-family: "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}

.wage-grid span {
  font-size: 13px;
  font-weight: 600;
}

.wage-grid small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.policy-line {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.industry-positive > strong {
  display: block;
  color: var(--blue);
  font-family: "Times New Roman", serif;
  font-size: 76px;
  line-height: 0.9;
}

.industry-positive > span {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

.industry-view small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.industry-negative {
  display: grid;
  align-content: start;
}

.industry-negative strong {
  color: var(--red);
  font-family: "Times New Roman", serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
}

.industry-negative span {
  color: var(--muted);
  font-size: 13px;
}

.landmark-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
}

.landmark-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.landmark-card b {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.landmark-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* People and career */

.people-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.people-pair article {
  padding: 28px 54px 28px 0;
}

.people-pair article + article {
  padding-left: 54px;
  border-left: 1px solid var(--line);
}

.people-pair article > span {
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.people-pair h3 {
  margin: 20px 0 12px;
  font-size: 45px;
  font-weight: 600;
}

.people-pair p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.people-pair ol {
  display: flex;
  gap: 8px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.people-pair li {
  padding: 6px 10px;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
}

.story-screen h2 {
  margin-bottom: 24px;
}

.story-shell {
  display: grid;
  grid-template-columns: 215px 1fr;
  min-height: 326px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
}

.story-tab {
  display: grid;
  min-height: 86px;
  align-content: center;
  gap: 3px;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 17px;
  text-align: left;
}

.story-tab small {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 8px;
}

.story-tab.active {
  background: var(--navy);
  color: var(--white);
}

.story-tab.active small {
  color: rgba(255, 255, 255, 0.48);
}

.story-stage {
  position: relative;
}

.story-panel {
  display: grid;
  min-height: 324px;
  grid-template-columns: 1.1fr 0.9fr;
  align-content: center;
  gap: 50px;
  padding: 34px 44px;
}

.story-panel[hidden] {
  display: none;
}

.story-label {
  margin: 0 0 8px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.story-panel h3 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 600;
}

.story-panel > div:first-child > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.story-points {
  display: grid;
  border-top: 1px solid var(--line);
}

.story-points span {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.video-launch {
  grid-column: 1 / -1;
  width: max-content;
  margin-top: -12px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--red);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
}

.video-launch b {
  margin-right: 6px;
}

.career-map {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.career-map article {
  display: grid;
  grid-template-columns: 50px 1fr 160px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.career-map i {
  color: #ef667c;
}

.career-map article > div {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.career-map h3 {
  min-width: 150px;
  color: var(--white);
  font-size: 22px;
}

.career-map p {
  color: rgba(255, 255, 255, 0.58);
}

.career-map article > span {
  justify-self: end;
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.career-future-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: clamp(54px, 7vw, 90px);
}

.career-future-layout .career-map article {
  grid-template-columns: 42px 1fr;
  min-height: 70px;
}

.future-compact {
  display: grid;
  align-content: start;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.future-compact p {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.42);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.11em;
}

.future-compact span {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
}

/* Future */

.future-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.future-list article {
  min-height: 280px;
  padding: 26px 25px;
}

.future-list article + article {
  border-left: 1px solid var(--line);
}

.future-list h3 {
  margin-top: 46px;
  font-size: 22px;
}

.future-list p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
}

/* City */

.city-intro h2 {
  max-width: 1300px;
  font-size: clamp(48px, 7.6vh, 86px);
}

.city-intro-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 70px;
}

.city-intro-layout > div:first-child p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
  line-height: 1.8;
}

.city-intro-layout > div:first-child span {
  display: block;
  margin-top: 18px;
  color: #ef667c;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.city-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.city-stats article {
  position: relative;
  padding: 20px 18px 4px 0;
}

.city-stats article + article {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.city-stats strong {
  display: block;
  font-family: "Times New Roman", serif;
  font-size: clamp(30px, 4.5vh, 48px);
  font-weight: 500;
  line-height: 1;
}

.city-stats strong small {
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--serif);
  font-size: 13px;
}

.city-stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.city-stats .source-ref {
  position: absolute;
  top: 18px;
  right: 10px;
}

.city-intro .data-note {
  color: rgba(255, 255, 255, 0.5);
}

.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: clamp(46px, 6vw, 84px);
}

.city-visual {
  position: relative;
  height: min(410px, 52vh);
  margin: 0;
  background: var(--soft);
  overflow: hidden;
}

.city-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.city-visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 7px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
}

.type-visual {
  display: grid;
  align-content: center;
  padding: 38px;
  background:
    linear-gradient(
      160deg,
      rgba(7, 21, 37, 0.88) 0%,
      rgba(10, 27, 49, 0.72) 100%
    ),
    url("../images/decor/poster-molecule.jpg") center / cover no-repeat;
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.type-visual strong {
  color: transparent;
  font-size: clamp(70px, 9vw, 126px);
  line-height: 0.9;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.34);
}

.type-visual span {
  margin-top: 24px;
  color: #ef667c;
  font-size: 17px;
}

.type-visual small {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
}

.ecosystem-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ecosystem-copy > p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.8;
}

.ecosystem-copy dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.ecosystem-copy dl > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.ecosystem-copy dt {
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ecosystem-copy dd {
  margin: 0;
  font-size: 15px;
}

.ecosystem-copy > small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.person-screen h2 {
  display: grid;
  margin-bottom: 30px;
  font-size: clamp(60px, 8.4vh, 92px);
}

.person-screen h2 em {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(20px, 2.6vh, 30px);
  letter-spacing: -0.02em;
}

.person-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 70px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.person-feature figure {
  position: relative;
  height: min(330px, 39vh);
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.person-feature img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.person-feature figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 4px 7px;
  background: rgba(8, 25, 45, 0.78);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--sans);
  font-size: 8px;
}

.person-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.person-feature-copy > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 19px;
  line-height: 1.8;
}

.person-thread {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.person-thread span {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 15px;
}

.person-feature-copy small {
  margin-top: 22px;
  color: #ef667c;
  font-size: 13px;
}

.local-start {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.local-start span {
  padding: 28px 24px;
  font-size: 19px;
}

.local-start span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.quiet-inverse {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Interdisciplinary story */

.lineage-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: clamp(52px, 7vw, 92px);
}

.lineage-layout figure {
  position: relative;
  height: min(430px, 54vh);
  margin: 0;
  background: var(--soft);
}

.lineage-layout figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lineage-layout figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
}

.lineage-layout ol {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.lineage-layout li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.lineage-layout li i {
  color: var(--red);
  font-family: "Times New Roman", serif;
  font-size: 20px;
  font-style: normal;
}

.lineage-layout li span {
  color: var(--muted);
  font-size: 13px;
}

.lineage-layout li b {
  display: inline-block;
  min-width: 84px;
  margin-right: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.lineage-layout blockquote {
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--red);
  font-size: 15px;
  line-height: 1.75;
}

.section-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-label.inverse {
  color: rgba(255, 255, 255, 0.45);
}

.personal-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.personal-route article {
  min-height: 220px;
  padding: 28px 32px 24px 0;
}

.personal-route article + article {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.personal-route i {
  color: #ef667c;
}

.personal-route h3 {
  margin-top: 42px;
  color: var(--white);
  font-size: 22px;
}

.personal-route p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.personal-screen blockquote {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

/* Start */

.self-check {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.self-check label {
  position: relative;
  display: grid;
  grid-template-columns: 30px 58px 1fr 24px;
  align-items: center;
  gap: 8px;
  min-height: 86px;
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 140ms ease;
}

.self-check label:hover {
  background: var(--soft);
}

.self-check label > span {
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
}

.self-check label > b {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.self-check label > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.self-check input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--red);
}

.quiz-result {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-top: 18px;
}

.quiz-result strong {
  color: var(--red);
  font-family: "Times New Roman", serif;
  font-size: 26px;
}

.quiz-result span {
  color: var(--muted);
  font-size: 14px;
}

.enroll-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-top: 1px solid #cfd6de;
  border-bottom: 1px solid #cfd6de;
}

.enroll-main {
  padding: 26px 48px 24px 0;
}

.enroll-main > p {
  margin: 0;
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.enroll-main h3 {
  margin: 22px 0 12px;
  font-size: 30px;
}

.enroll-main > span {
  display: block;
  max-width: 440px;
  color: var(--muted);
  font-size: 15px;
}

.enroll-main a {
  display: inline-flex;
  gap: 12px;
  margin-top: 28px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 12px;
}

.enroll-layout ol {
  margin: 0;
  padding: 18px 0 18px 48px;
  border-left: 1px solid #cfd6de;
  list-style: none;
}

.enroll-layout li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 0;
}

.enroll-layout li + li {
  border-top: 1px solid #cfd6de;
}

.enroll-layout li span {
  color: var(--muted);
  font-size: 14px;
}

.enroll-layout li b {
  margin-right: 10px;
  color: var(--ink);
  font-size: 16px;
}

.resource-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.resource-list article {
  display: grid;
  grid-template-columns: 45px 1fr 35px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.resource-list article > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  gap: 24px;
}

.resource-list h3 {
  font-size: 19px;
}

.resource-list p {
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: 80px;
}

.contact-number {
  display: grid;
  align-content: center;
}

.contact-number small {
  color: #ef667c;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.contact-number strong {
  margin-top: 10px;
  font-family: "Times New Roman", serif;
  font-size: clamp(60px, 8vh, 92px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.contact-number button {
  width: max-content;
  margin-top: 24px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
}

.contact-steps {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-steps p,
.contact-steps span {
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-steps p {
  color: #ef667c;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.contact-steps span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.action-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(58px, 7vw, 94px);
}

.action-primary > p {
  margin: 0;
  color: #ef667c;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.action-primary > h3 {
  margin: 17px 0 9px;
  font-size: 30px;
  font-weight: 600;
}

.action-primary > span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.action-primary > a {
  display: inline-flex;
  gap: 10px;
  margin-top: 20px;
  color: #ef667c;
  font-family: var(--sans);
  font-size: 10px;
}

.contact-inline {
  display: grid;
  width: max-content;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-inline small {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--sans);
  font-size: 9px;
}

.contact-inline strong {
  font-family: "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.contact-inline button {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 9px;
}

.resource-list.inverse {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.resource-list.inverse article {
  min-height: 60px;
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.resource-list.inverse h3 {
  color: var(--white);
  font-size: 16px;
}

.resource-list.inverse p {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

.resource-list.inverse i {
  color: #ef667c;
}

.week-plan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.week-plan li {
  padding: 12px 12px 12px 0;
}

.week-plan li + li {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.week-plan i {
  display: block;
  color: #ef667c;
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
}

.week-plan span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
}

.action-date {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 9px;
}

.closing-screen blockquote {
  max-width: 930px;
  margin: 0;
  font-size: clamp(28px, 4.3vh, 48px);
  line-height: 1.5;
}

.closing-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.closing-actions a {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
}

.closing-actions .primary-action {
  padding: 12px 19px;
  background: var(--red);
  color: var(--white);
}

.deck-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

kbd {
  padding: 1px 4px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-family: var(--sans);
  font-size: 9px;
}

/* Controls */

.deck-tools {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 18px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(20, 36, 58, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(10, 27, 49, 0.1);
  backdrop-filter: blur(12px);
}

.deck-tools button {
  display: grid;
  width: 42px;
  height: 36px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.deck-tools button:hover {
  background: var(--soft);
}

.deck-tools b {
  font-family: var(--sans);
  font-size: 11px;
}

.deck-tools span {
  display: none;
}

.screen-counter {
  position: fixed;
  z-index: 78;
  bottom: 23px;
  left: 24px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--muted);
  font-family: "Times New Roman", serif;
  font-size: 11px;
  pointer-events: none;
}

.screen-counter span {
  color: var(--red);
  font-size: 18px;
}

.screen-counter i {
  font-style: normal;
}

.screen-counter b {
  font-weight: 400;
}

.back-top {
  position: fixed;
  z-index: 76;
  right: 208px;
  bottom: 19px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(20, 36, 58, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  cursor: pointer;
}

.speaker-note {
  display: none;
}

.note-layer {
  position: fixed;
  z-index: 100;
  right: 18px;
  bottom: 68px;
  width: min(470px, calc(100vw - 36px));
  max-height: calc(100vh - 96px);
  padding: 26px;
  overflow: auto;
  background: var(--navy);
  box-shadow: 0 22px 60px rgba(10, 27, 49, 0.28);
  color: var(--white);
}

.note-layer h3 {
  margin: 0 0 18px;
  color: #ef667c;
  font-size: 18px;
}

.note-layer dl {
  margin: 0;
}

.note-layer dl > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.note-layer dt {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--sans);
  font-size: 10px;
}

.note-layer dd {
  margin: 0;
  font-size: 13px;
}

/* Dialogs */

.layer-dialog {
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(10, 27, 49, 0.28);
  color: var(--ink);
}

.layer-dialog::backdrop {
  background: rgba(10, 27, 49, 0.66);
  backdrop-filter: blur(3px);
}

.dialog-head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.dialog-head .eyebrow {
  margin-bottom: 6px;
}

.dialog-head h2 {
  margin: 0;
  font-size: 28px;
}

.dialog-head > button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  font-size: 24px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.source-list article {
  min-width: 0;
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.source-list article > div {
  display: flex;
  justify-content: space-between;
  color: var(--red);
  font-family: var(--sans);
  font-size: 10px;
}

.source-list h3 {
  margin: 16px 0 8px;
  font-size: 17px;
  line-height: 1.5;
}

.source-list p,
.source-list a {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.source-list a {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 22px;
}

.overview-grid button {
  display: grid;
  min-height: 100px;
  align-content: start;
  gap: 9px;
  padding: 16px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  text-align: left;
}

.overview-grid button:hover {
  background: var(--soft);
}

.overview-grid b {
  color: var(--red);
  font-family: var(--sans);
  font-size: 9px;
}

.overview-grid span {
  font-size: 14px;
  line-height: 1.45;
}

.video-dialog {
  width: min(1080px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  background: #050d18;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  color: var(--white);
}

.video-dialog::backdrop {
  background: rgba(3, 9, 17, 0.82);
  backdrop-filter: blur(4px);
}

.video-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.video-dialog-head .eyebrow {
  margin-bottom: 4px;
}

.video-dialog-head h2 {
  margin: 0;
  font-size: 21px;
}

.video-dialog-actions {
  display: flex;
  gap: 8px;
}

.video-dialog-actions button {
  min-width: 42px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

#videoSoundToggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

#videoSoundText {
  font-family: var(--sans);
  font-size: 9px;
}

.video-dialog video {
  width: 100%;
  max-height: calc(100vh - 126px);
  background: #000;
}

body.immersive-mode .site-header,
body.immersive-mode .screen-counter,
body.immersive-mode .back-top {
  display: none;
}

body.immersive-mode .screen {
  padding-top: 42px;
}

body.immersive-mode .deck-tools {
  opacity: 0.3;
}

body.immersive-mode .deck-tools:hover {
  opacity: 1;
}

/* Compact projector height */

@media (min-width: 821px) and (max-height: 760px) {
  .screen {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 42px;
  }

  .screen h2 {
    margin-bottom: 22px;
    font-size: clamp(36px, 6.2vh, 48px);
  }

  .eyebrow {
    margin-bottom: 13px;
  }

  .hero h2 {
    margin-bottom: 24px;
    font-size: clamp(46px, 8vh, 66px);
  }

  .hero-layout {
    grid-template-columns: 1fr 210px;
  }

  .city-seal {
    min-height: 165px;
  }

  .city-seal strong {
    font-size: 58px;
  }

  .hero-facts {
    margin-top: 22px;
    padding-top: 14px;
  }

  .funnel article {
    min-height: 53px;
  }

  .route-policy-layout .funnel article {
    min-height: 43px;
  }

  .policy-compact article {
    min-height: 63px;
    padding-block: 10px;
  }

  .choice-question-screen h2 {
    margin-bottom: 15px;
  }

  .official-quote blockquote {
    font-size: 43px;
  }

  .question-list article {
    min-height: 64px;
  }

  .policy-list article {
    min-height: 215px;
    padding-top: 20px;
  }

  .policy-list h3 {
    margin-top: 19px;
    font-size: 22px;
  }

  .choice-screen blockquote {
    font-size: 52px;
  }

  .question-grid article {
    min-height: 105px;
    padding-block: 18px;
  }

  .industry-view {
    min-height: 245px;
  }

  .industry-positive > strong {
    font-size: 62px;
  }

  .people-pair h3 {
    margin-top: 12px;
    font-size: 38px;
  }

  .story-shell,
  .story-panel {
    min-height: 265px;
  }

  .story-tab {
    min-height: 70px;
  }

  .story-panel {
    padding-block: 24px;
  }

  .story-panel h3 {
    font-size: 34px;
  }

  .career-map article {
    min-height: 60px;
  }

  .career-future-layout .career-map article {
    min-height: 53px;
  }

  .future-compact span {
    padding: 9px 0;
  }

  .future-list article {
    min-height: 220px;
    padding-top: 20px;
  }

  .future-list h3 {
    margin-top: 28px;
  }

  .city-intro h2 {
    font-size: 55px;
  }

  .city-visual {
    height: 330px;
  }

  .ecosystem-copy > p {
    margin-bottom: 14px;
    font-size: 16px;
  }

  .person-screen h2 {
    margin-bottom: 18px;
    font-size: 58px;
  }

  .person-screen h2 em {
    margin-top: 6px;
    font-size: 20px;
  }

  .person-feature {
    gap: 42px;
    padding-top: 14px;
  }

  .person-feature figure {
    height: 255px;
  }

  .person-feature-copy > p {
    font-size: 16px;
  }

  .person-thread {
    margin-top: 14px;
  }

  .person-thread span {
    padding-block: 8px;
  }

  .person-feature-copy small {
    margin-top: 12px;
  }

  .lineage-layout figure {
    height: 330px;
  }

  .lineage-layout li {
    padding: 9px 0;
  }

  .personal-route article {
    min-height: 175px;
    padding-top: 20px;
  }

  .personal-route h3 {
    margin-top: 26px;
  }

  .self-check label {
    min-height: 72px;
    padding-block: 12px;
  }

  .resource-list article {
    min-height: 59px;
  }

  .contact-number strong {
    font-size: 64px;
  }

  .action-screen h2 {
    margin-bottom: 17px;
  }

  .resource-list.inverse article {
    min-height: 47px;
  }

  .week-plan {
    margin-top: 12px;
  }

  .contact-inline {
    margin-top: 19px;
  }

  .deck-footer {
    margin-top: 25px;
  }
}

/* Mobile document mode */

@media (max-width: 820px) {
  :root {
    --shell: calc(100vw - 36px);
    --header-height: 58px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 14px;
  }

  .site-header nav {
    position: fixed;
    z-index: 85;
    top: var(--header-height);
    right: 0;
    left: 0;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 14px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
  }

  .site-header nav a {
    flex: 0 0 auto;
    padding: 6px 11px;
  }

  .site-header nav a::after,
  .site-header nav span {
    display: none;
  }

  .city-switch {
    font-size: 10px;
  }

  .screen {
    min-height: auto;
    align-items: start;
    overflow: visible;
    padding: 126px 0 72px;
  }

  .screen + .screen {
    border-top: 1px solid var(--line);
  }

  .screen h2 {
    margin-bottom: 28px;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero {
    min-height: 100svh;
    padding-top: 126px;
  }

  .hero h2 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-layout,
  .definition-layout,
  .route-policy-layout,
  .choice-question-layout,
  .choice-screen .screen-inner,
  .industry-view,
  .people-pair,
  .career-future-layout,
  .city-intro-layout,
  .ecosystem-layout,
  .person-feature,
  .lineage-layout,
  .enroll-layout,
  .contact-layout,
  .action-layout {
    grid-template-columns: 1fr;
  }

  .city-seal {
    width: 210px;
    margin-top: 36px;
  }

  .hero-facts {
    display: grid;
    gap: 12px;
  }

  .three-returns {
    margin-top: 30px;
  }

  .three-returns article,
  .question-grid article {
    grid-template-columns: 34px 1fr;
  }

  .three-returns p,
  .question-grid p {
    grid-column: 2;
  }

  .funnel article {
    grid-template-columns: 30px 1fr auto;
    padding: 12px 0;
  }

  .funnel article > strong {
    grid-column: 2 / -1;
    justify-self: start;
    font-size: 17px;
  }

  .funnel .source-ref {
    grid-column: 3;
    grid-row: 1;
  }

  .policy-list,
  .question-grid,
  .future-list,
  .self-check,
  .personal-route,
  .local-start,
  .city-stats {
    grid-template-columns: 1fr;
  }

  .route-policy-layout {
    gap: 40px;
  }

  .route-policy-layout .funnel article {
    grid-template-columns: 28px 1fr auto;
  }

  .route-policy-layout .funnel article > strong {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .policy-list article {
    min-height: 0;
    padding: 24px 0;
  }

  .policy-list article + article,
  .future-list article + article,
  .personal-route article + article,
  .local-start span + span,
  .city-stats article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .question-grid {
    border-left: 0;
  }

  .choice-screen blockquote {
    font-size: 46px;
  }

  .choice-question-layout {
    gap: 38px;
  }

  .official-quote blockquote {
    font-size: 46px;
  }

  .choice-questions {
    margin-top: 34px;
  }

  .industry-view > div,
  .industry-view > div + div,
  .people-pair article,
  .people-pair article + article {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .industry-view-rich .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wage-grid {
    grid-template-columns: 1fr;
  }

  .landmark-row {
    grid-template-columns: 1fr;
  }

  .story-shell {
    grid-template-columns: 1fr;
  }

  .story-tabs {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .story-tab {
    min-height: 68px;
    padding: 12px;
    border-right: 1px solid var(--line);
    font-size: 14px;
  }

  .story-panel {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
  }

  .video-launch {
    margin-top: 0;
  }

  .career-map article {
    grid-template-columns: 35px 1fr;
    padding: 17px 0;
  }

  .career-map article > div {
    display: grid;
    gap: 6px;
  }

  .career-map article > span {
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }

  .career-future-layout {
    gap: 34px;
  }

  .future-compact {
    margin-top: 10px;
  }

  .future-list article {
    min-height: 0;
    padding: 22px 0;
  }

  .future-list h3 {
    margin-top: 16px;
  }

  .city-stats {
    margin-top: 30px;
  }

  .city-stats article {
    padding: 16px 0;
    border-top-color: rgba(255, 255, 255, 0.18);
  }

  .city-visual {
    height: 350px;
  }

  .person-screen h2 {
    font-size: 58px;
  }

  .lineage-layout figure {
    width: min(280px, 100%);
    height: 390px;
  }

  .lineage-layout ol {
    margin-top: 26px;
  }

  .personal-route article {
    min-height: 0;
    padding: 22px 0;
  }

  .self-check {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .self-check label {
    grid-template-columns: 28px 48px 1fr 24px;
  }

  .enroll-layout ol {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .resource-list article {
    grid-template-columns: 32px 1fr 24px;
    padding: 12px 0;
  }

  .resource-list article > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-steps {
    margin-top: 36px;
  }

  .action-layout {
    gap: 40px;
  }

  .resource-list.inverse article > div {
    grid-template-columns: 1fr;
  }

  .week-plan {
    grid-template-columns: 1fr;
  }

  .week-plan li + li {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .video-dialog {
    width: calc(100vw - 20px);
  }

  #videoSoundText {
    display: none;
  }

  .deck-footer {
    display: grid;
  }

  .deck-tools {
    right: 10px;
    bottom: 10px;
  }

  .deck-tools button[data-tool="notes"],
  .deck-tools button[data-tool="overview"] {
    display: none;
  }

  .back-top {
    right: 108px;
    bottom: 11px;
  }

  .screen-counter {
    display: none;
  }

  .overview-grid,
  .source-list {
    grid-template-columns: 1fr;
  }
}

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

/* Periodic rail (restored) */

.periodic-rail {
  position: fixed;
  z-index: 78;
  top: 50%;
  left: 14px;
  display: none;
  flex-direction: column;
  border-top: 1px solid rgba(20, 36, 58, 0.16);
  border-left: 1px solid rgba(20, 36, 58, 0.16);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
}

.periodic-rail a {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-right: 1px solid rgba(20, 36, 58, 0.16);
  border-bottom: 1px solid rgba(20, 36, 58, 0.16);
  color: var(--ink);
  font-family: "Times New Roman", serif;
  font-size: 15px;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.periodic-rail a i {
  position: absolute;
  top: 3px;
  left: 5px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 7px;
  font-style: normal;
}

.periodic-rail a:hover {
  color: var(--red);
}

.periodic-rail a.active {
  background: var(--red);
  color: var(--white);
}

.periodic-rail a.active i {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1360px) and (min-height: 700px) {
  .periodic-rail {
    display: flex;
  }
}

body.immersive-mode .periodic-rail {
  display: none;
}
