:root {
  --site-bg: #0C0D0F;
  --site-surface: #141519;
  --site-raised: #1A1C21;
  --site-text: #F3F4F6;
  --site-secondary: #A5A8B0;
  --site-muted: #70747D;
  --site-course: #F26B4A;
  --site-organization: #5B82E8;
  --site-line: rgba(243, 244, 246, 0.11);
  --site-radius: 12px;
  --site-button-radius: 8px;
  --site-global-height: 56px;
  --site-context-height: 48px;
  --site-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

.site-hub-page,
.site-global-nav,
.site-context,
.site-global-footer {
  font-family: var(--site-font);
}

.site-hub-page *,
.site-hub-page *::before,
.site-hub-page *::after,
.site-global-nav *,
.site-global-nav *::before,
.site-global-nav *::after,
.site-context *,
.site-context *::before,
.site-context *::after,
.site-global-footer *,
.site-global-footer *::before,
.site-global-footer *::after {
  box-sizing: border-box;
}

.site-hub-page {
  min-height: 100vh;
  margin: 0;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--site-font);
  -webkit-font-smoothing: antialiased;
}

.site-hub-page a,
.site-global-nav a,
.site-context a,
.site-global-footer a {
  color: inherit;
  text-decoration: none;
}

.site-hub-page a:focus-visible,
.site-global-nav a:focus-visible,
.site-context a:focus-visible,
.site-global-footer a:focus-visible {
  outline: 2px solid var(--site-course);
  outline-offset: 3px;
  border-radius: var(--site-button-radius);
}

.site-global-nav {
  --site-active: var(--site-course);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--site-global-height);
  border-bottom: 1px solid var(--site-line);
  background: var(--site-bg);
  color: var(--site-text);
}

.site-nav-inner,
.site-footer-inner,
.site-context-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-nav-inner {
  min-height: var(--site-global-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.site-organization-page .site-global-nav {
  --site-active: var(--site-organization);
}

.site-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.site-brand::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--site-course) 0 48%, var(--site-organization) 52% 100%);
}

.site-nav-links,
.site-context-links {
  display: flex;
  align-items: center;
}

.site-nav-links {
  gap: 28px;
}

.site-context-links {
  gap: 8px;
}

.site-nav-links a {
  position: relative;
  min-height: var(--site-global-height);
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  color: var(--site-secondary);
  font-size: 14px;
  line-height: 1.2;
  transition: color 160ms ease;
}

.site-nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--site-active);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-context-links a,
.site-context-home {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--site-button-radius);
  color: var(--site-secondary);
  font-size: 14px;
  line-height: 1.2;
}

.site-nav-links a:hover {
  color: var(--site-text);
}

.site-context-links a:hover,
.site-context-home:hover {
  color: var(--site-text);
  background: var(--site-raised);
}

.site-nav-links a[aria-current="page"] {
  color: var(--site-text);
}

.site-nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-context-links a[aria-current="page"] {
  color: var(--site-text);
  background: var(--site-raised);
}

.site-global-nav a:focus-visible {
  outline-color: var(--site-active);
}

.site-nav-tool {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--site-active) 32%, var(--site-line));
  border-radius: 6px;
  color: var(--site-text);
  font-size: 13px;
  font-weight: 650;
  transition: border-color 160ms ease, background 160ms ease;
}

.site-nav-tool-short {
  display: none;
}

.site-nav-tool:hover {
  border-color: var(--site-active);
  background: color-mix(in srgb, var(--site-active) 10%, transparent);
}

.hub-main {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - var(--site-global-height) - 72px);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 108px) 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-intro {
  max-width: 850px;
}

.hub-eyebrow {
  margin: 0 0 18px;
  color: var(--site-secondary);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.hub-intro h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(40px, 6.2vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hub-lead {
  max-width: 710px;
  margin: 24px 0 0;
  color: var(--site-secondary);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
}

.hub-entry-grid {
  margin-top: clamp(40px, 6vw, 68px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hub-entry {
  min-height: 250px;
  padding: clamp(26px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--site-line);
  border-top: 4px solid currentColor;
  border-radius: var(--site-radius);
  background: var(--site-surface);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.site-hub-page .hub-entry--course {
  color: var(--site-course);
}

.site-hub-page .hub-entry--organization {
  color: var(--site-organization);
}

.hub-entry:hover {
  transform: translateY(-3px);
  border-left-color: currentColor;
  border-right-color: currentColor;
  border-bottom-color: currentColor;
  background: var(--site-raised);
}

.hub-entry-index {
  color: currentColor;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.hub-entry-title {
  margin-top: 22px;
  color: var(--site-text);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 720;
  line-height: 1.2;
}

.hub-entry-copy {
  max-width: 39ch;
  margin-top: 14px;
  color: var(--site-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.hub-entry-action {
  min-height: 44px;
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  color: currentColor;
  font-size: 15px;
  font-weight: 650;
}

.site-global-footer {
  border-top: 1px solid var(--site-line);
  background: var(--site-bg);
  color: var(--site-muted);
}

.site-footer-inner {
  min-height: 72px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 18px;
}

.site-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--site-secondary);
}

.site-footer-links a:hover {
  color: var(--site-text);
}

.site-context {
  position: sticky;
  top: var(--site-global-height);
  z-index: 90;
  min-height: var(--site-context-height);
  border-bottom: 1px solid var(--site-line);
  background: var(--site-surface);
  color: var(--site-text);
}

.site-context-inner {
  min-height: var(--site-context-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-context-home {
  padding-left: 0;
  color: var(--site-text);
  font-weight: 650;
}

.site-context-home::before {
  content: "";
  width: 4px;
  height: 18px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--site-course);
}

.site-course-page > header.nav {
  position: relative;
  inset: auto;
}

.site-course-page > .hero,
.site-course-page main > .hero {
  padding-top: clamp(48px, 9vw, 96px);
}

.site-course-page section {
  scroll-margin-top: calc(var(--site-global-height) + 16px);
}

.site-course-page .site-global-footer {
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

@media (max-width: 700px) {
  .site-nav-inner,
  .site-footer-inner,
  .site-context-inner,
  .hub-main {
    width: min(100% - 32px, 1180px);
  }

  .site-nav-links a,
  .site-context-links a {
    padding-inline: 9px;
  }

  .site-nav-inner {
    gap: 14px;
  }

  .site-nav-actions {
    gap: 12px;
  }

  .site-nav-links {
    gap: 14px;
  }

  .site-nav-links a {
    padding-inline: 0;
  }

  .site-nav-tool {
    min-height: 44px;
    padding-inline: 10px;
    flex: none;
  }

  .site-nav-tool-full {
    display: none;
  }

  .site-nav-tool-short {
    display: inline;
  }

  .hub-main {
    min-height: auto;
    padding: 38px 0 40px;
  }

  .hub-intro h1 {
    max-width: 13ch;
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .hub-lead {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hub-entry-grid {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hub-entry {
    min-height: 166px;
    padding: 22px;
  }

  .hub-entry-title {
    margin-top: 12px;
    font-size: 23px;
  }

  .hub-entry-copy {
    margin-top: 8px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .hub-entry-action {
    padding-top: 14px;
    font-size: 14px;
  }

  .site-footer-inner {
    min-height: 84px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .site-context-home {
    font-size: 13px;
  }

  .site-context-links a {
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .site-nav-links {
    gap: 0;
  }

  .site-brand {
    font-size: 15px;
  }

  .site-brand::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
  }

  .site-nav-inner {
    width: min(100% - 24px, 1180px);
    gap: 10px;
  }

  .site-nav-links {
    gap: 12px;
  }

  .site-nav-links a {
    font-size: 13px;
  }

  .site-nav-tool {
    padding-inline: 8px;
    font-size: 12.5px;
  }

  .site-context-home {
    max-width: 126px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-context-links {
    gap: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-entry {
    transition: none;
  }

  .hub-entry:hover {
    transform: none;
  }
}

/* ---------- 首页：双轨舞台 ---------- */
body.gateway {
  margin: 0;
  overflow: hidden;
  background: #0d0d10;
  color: #f5f5f7;
  font-family: var(--site-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.gateway *,
body.gateway *::before,
body.gateway *::after {
  box-sizing: border-box;
}

body.gateway a {
  color: inherit;
  text-decoration: none;
}

.gateway-space {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #0d0d10;
}

.gateway-grain {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.34) 0 0.55px, transparent 0.8px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18) 0 0.45px, transparent 0.7px);
  background-position: 0 0, 8px 11px;
  background-size: 17px 19px, 23px 29px;
}

.gateway-mast {
  position: absolute;
  top: clamp(18px, 3vh, 32px);
  left: clamp(22px, 3vw, 48px);
  z-index: 50;
}

.gateway-brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e6e7eb;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.gateway-brand span:nth-child(2) {
  color: #555963;
}

.gateway-brand span:last-child {
  color: #8f939d;
  font-weight: 500;
}

.gateway-brand::before {
  content: "";
  width: 18px;
  height: 2px;
  margin-right: 3px;
  background: #ff8659;
}

.gateway-brand:focus-visible,
.gateway-path:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}

.gateway-intro {
  position: absolute;
  top: clamp(72px, 9vh, 104px);
  left: 50%;
  z-index: 20;
  width: min(760px, calc(100% - 48px));
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}

.gateway-kicker {
  margin: 0;
  color: #9a9da6;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2em;
}

.gateway-kicker span {
  margin-inline: 8px;
  color: #555963;
}

.gateway-intro h1 {
  margin: 13px 0 0;
  color: #f5f5f7;
  font-size: clamp(34px, 4.1vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.gateway-intro > p:last-child {
  max-width: 680px;
  margin: 15px auto 0;
  color: #8f939d;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.7;
}

.gateway-stage {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: grid-template-columns 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-stage[data-active="course"] {
  grid-template-columns: 58fr 42fr;
}

.gateway-stage[data-active="organization"] {
  grid-template-columns: 42fr 58fr;
}

.gateway-path {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 240ms ease;
}

.gateway .gateway-path--course {
  color: #ff8659;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 134, 89, 0.012);
}

.gateway .gateway-path--organization {
  color: #6f8cff;
  background: rgba(111, 140, 255, 0.012);
}

.gateway-path::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: currentColor;
  transition: opacity 300ms ease;
}

.gateway-path:hover::before,
.gateway-path:focus-visible::before {
  opacity: 0.035;
}

.gateway-course-track {
  position: absolute;
  top: 27%;
  left: 2%;
  z-index: 1;
  width: 96%;
  height: 42%;
  opacity: 0.72;
  pointer-events: none;
}

.gateway-course-track svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gateway-course-track path {
  fill: none;
  stroke: #ff8659;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.gateway-course-track circle {
  fill: #ff8659;
  filter: drop-shadow(0 0 7px rgba(255, 134, 89, 0.9));
}

.gateway-posters {
  position: absolute;
  top: 25%;
  left: 8%;
  z-index: 2;
  width: 84%;
  height: 43%;
  perspective: 900px;
  pointer-events: none;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.gateway-poster {
  position: absolute;
  top: 50%;
  display: block;
  height: min(34vh, 320px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  background: #111216;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.46);
  transform-origin: center;
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease, filter 320ms ease;
}

.gateway-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.gateway-poster--far {
  left: 10%;
  z-index: 1;
  opacity: 0.64;
  filter: saturate(0.76) brightness(0.86);
  transform: translateY(-48%) rotate(-8deg) scale(0.78);
}

.gateway-poster--mid {
  left: 37%;
  z-index: 2;
  opacity: 0.82;
  filter: saturate(0.86) brightness(0.92);
  transform: translateY(-53%) rotate(4deg) scale(0.9);
}

.gateway-poster--near {
  left: 64%;
  z-index: 3;
  transform: translate(-14%, -50%) rotate(-2deg) scale(1);
}

.gateway-stage[data-active="course"] .gateway-poster--far {
  opacity: 0.7;
  transform: translate(-8%, -50%) rotate(-10deg) scale(0.84);
}

.gateway-stage[data-active="course"] .gateway-poster--mid {
  opacity: 0.9;
  transform: translate(2%, -57%) rotate(5deg) scale(0.98);
}

.gateway-stage[data-active="course"] .gateway-poster--near {
  transform: translate(-3%, -54%) rotate(-1deg) scale(1.08);
}

.gateway-stage[data-active="organization"] .gateway-posters {
  opacity: 0.48;
  transform: scale(0.93) translateX(-4%);
}

.gateway-network-wrap {
  position: absolute;
  top: 27%;
  left: 7%;
  z-index: 2;
  width: 86%;
  height: 42%;
  display: block;
  pointer-events: none;
  transition: opacity 280ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-network {
  width: 100%;
  height: 100%;
  overflow: visible;
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-network-lines path {
  fill: none;
  stroke: rgba(111, 140, 255, 0.55);
  stroke-width: 1.6;
  marker-end: url(#gateway-arrow);
  vector-effect: non-scaling-stroke;
}

.gateway-network-lines .gateway-network-return {
  stroke: rgba(111, 140, 255, 0.28);
  stroke-dasharray: 5 7;
}

.gateway-network marker path {
  fill: #6f8cff;
}

.gateway-node {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 460ms cubic-bezier(0.16, 1, 0.3, 1), opacity 280ms ease;
}

.gateway-node circle,
.gateway-node rect {
  fill: #101116;
  stroke: rgba(111, 140, 255, 0.86);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.gateway-node--lead circle,
.gateway-node--review circle {
  fill: rgba(111, 140, 255, 0.14);
}

.gateway-node--process rect {
  fill: rgba(111, 140, 255, 0.1);
}

.gateway-node text {
  fill: #dde3ff;
  font-family: var(--site-font);
  font-size: 12px;
  font-weight: 650;
}

.gateway-node .gateway-node-label {
  fill: #8f9cc8;
  font-size: 9px;
  font-weight: 500;
}

.gateway-task-point {
  fill: #9eb1ff;
  filter: drop-shadow(0 0 8px rgba(111, 140, 255, 1));
}

.gateway-stage[data-active="organization"] .gateway-network {
  transform: scale(1.06);
}

.gateway-stage[data-active="organization"] .gateway-node {
  transform: translate(var(--node-x), var(--node-y));
}

.gateway-stage[data-active="course"] .gateway-network-wrap {
  opacity: 0.48;
  transform: scale(0.93) translateX(4%);
}

.gateway-path-copy {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(26px, 4vh, 48px);
  left: clamp(24px, 4vw, 64px);
  z-index: 5;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  transition: opacity 280ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gateway-path-index {
  color: currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.gateway-path-title {
  margin-top: 9px;
  color: #f5f5f7;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.gateway-path-description {
  max-width: 38ch;
  margin-top: 10px;
  color: #a4a7af;
  font-size: 14px;
  line-height: 1.6;
}

.gateway-path-action {
  min-height: 44px;
  margin-top: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
}

.gateway-stage[data-active="course"] .gateway-path--organization .gateway-path-copy,
.gateway-stage[data-active="organization"] .gateway-path--course .gateway-path-copy {
  opacity: 0.68;
  transform: translateY(5px);
}

.gateway-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  min-width: 92px;
  height: 38px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 100px;
  background: #0d0d10;
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transition: opacity 120ms ease;
  transform: translate3d(-120px, -120px, 0);
}

.gateway-cursor.is-visible {
  opacity: 1;
}

.gateway-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  transform: translateY(102%);
  transition: transform 380ms cubic-bezier(0.7, 0, 0.3, 1);
}

.gateway-transition[data-tone="course"] {
  background: #ff8659;
}

.gateway-transition[data-tone="organization"] {
  background: #6f8cff;
}

.gateway-transition.is-active {
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .gateway-path {
    cursor: none;
  }
}

@media (max-width: 720px) {
  .gateway-space {
    min-height: 560px;
    display: grid;
    grid-template-rows: 50px auto minmax(0, 1fr);
  }

  .gateway-mast {
    position: relative;
    top: auto;
    left: auto;
    z-index: 50;
    padding: 5px 16px 0;
  }

  .gateway-brand {
    min-height: 44px;
    font-size: 11px;
  }

  .gateway-intro {
    position: relative;
    top: auto;
    left: auto;
    z-index: 20;
    width: auto;
    transform: none;
    padding: 7px 16px 14px;
    text-align: left;
  }

  .gateway-kicker {
    font-size: 9.5px;
    letter-spacing: 0.15em;
  }

  .gateway-kicker span {
    margin-inline: 4px;
  }

  .gateway-intro h1 {
    margin-top: 8px;
    font-size: clamp(27px, 8.2vw, 32px);
    line-height: 1.05;
  }

  .gateway-intro > p:last-child {
    margin-top: 8px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  .gateway-stage {
    position: relative;
    inset: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .gateway-stage[data-active="course"],
  .gateway-stage[data-active="organization"] {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .gateway-path--course {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gateway-path:active::before {
    opacity: 0.065;
  }

  .gateway-path-copy {
    right: 14px;
    bottom: 10px;
    left: 16px;
    max-width: 69%;
  }

  .gateway-path-index {
    font-size: 9px;
  }

  .gateway-path-title {
    margin-top: 5px;
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .gateway-path-description {
    margin-top: 5px;
    font-size: 10.5px;
    line-height: 1.45;
  }

  .gateway-path-action {
    min-height: 36px;
    margin-top: 1px;
    font-size: 10.5px;
  }

  .gateway-posters {
    top: 2%;
    right: 13%;
    left: auto;
    width: 53%;
    height: 58%;
  }

  .gateway-poster {
    height: min(17.5vh, 138px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  }

  .gateway-poster--far {
    left: 0;
  }

  .gateway-poster--mid {
    left: 30%;
  }

  .gateway-poster--near {
    left: 62%;
  }

  .gateway-course-track {
    top: 0;
    right: 13%;
    left: auto;
    width: 58%;
    height: 66%;
  }

  .gateway-network-wrap {
    top: 0;
    right: 6%;
    left: auto;
    width: 60%;
    height: 58%;
  }

  .gateway-stage[data-active="course"] .gateway-path--organization .gateway-path-copy,
  .gateway-stage[data-active="organization"] .gateway-path--course .gateway-path-copy {
    opacity: 1;
    transform: none;
  }

  .gateway-cursor {
    display: none;
  }
}

@media (max-width: 380px) {
  .gateway-intro {
    padding-bottom: 10px;
  }

  .gateway-intro > p:last-child {
    max-width: 44ch;
    font-size: 10.5px;
  }

  .gateway-path-copy {
    max-width: 72%;
  }

  .gateway-path-title {
    font-size: 18px;
  }
}

@media (max-height: 700px) and (max-width: 720px) {
  .gateway-space {
    grid-template-rows: 46px auto minmax(0, 1fr);
  }

  .gateway-mast {
    padding-top: 1px;
  }

  .gateway-intro {
    padding-top: 2px;
    padding-bottom: 7px;
  }

  .gateway-intro h1 {
    font-size: 25px;
  }

  .gateway-intro > p:last-child {
    display: none;
  }

  .gateway-path-description {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gateway-stage,
  .gateway-path,
  .gateway-path::before,
  .gateway-posters,
  .gateway-poster,
  .gateway-network-wrap,
  .gateway-network,
  .gateway-node,
  .gateway-path-copy,
  .gateway-cursor,
  .gateway-transition {
    transition: none !important;
  }

  .gateway-task-point {
    display: none;
  }

  .gateway-stage[data-active="course"],
  .gateway-stage[data-active="organization"] {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .gateway-stage[data-active="course"],
  .gateway-stage[data-active="organization"] {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
}
