:root {
  --ink: #152033;
  --ink-2: #263246;
  --paper: #fdfbf7;
  --mist: #eef4f1;
  --line: rgba(21, 32, 51, 0.12);
  --coral: #c96758;
  --amber: #d9b46a;
  --teal: #4f958f;
  --sky: #88b6ce;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(21, 32, 51, 0.12);
  --radius: 8px;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    system-ui,
    sans-serif;
  line-height: 1.6;
  transition: background-color 500ms ease;
}

h1,
h2,
.brand strong,
.journey-step strong,
.crossroad-link strong {
  font-family: var(--serif);
  font-weight: 600;
}

body.scene-0 {
  background-color: #fbfaf6;
}

body.scene-1 {
  background-color: #f7f1e8;
}

body.scene-2 {
  background-color: #eef4f1;
}

body.scene-3 {
  background-color: #f5f7fb;
}

body.scene-4 {
  background-color: #f8f2ef;
}

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

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

.journey-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.backdrop-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--wash-a-x, 12%) var(--wash-a-y, 14%), rgba(243, 191, 79, 0.34), transparent 28rem),
    radial-gradient(circle at var(--wash-b-x, 86%) var(--wash-b-y, 24%), rgba(60, 174, 163, 0.22), transparent 30rem),
    radial-gradient(circle at 50% 82%, rgba(135, 197, 230, 0.18), transparent 32rem);
  transition: background 160ms ease-out;
}

.backdrop-grid {
  position: absolute;
  inset: -16%;
  background:
    linear-gradient(90deg, rgba(21, 32, 51, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(21, 32, 51, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: translate3d(var(--field-grid-x, 0px), var(--field-grid-y, 0px), 0);
  transition: transform 120ms ease-out;
}

.orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.55;
  transform: translate3d(var(--orb-x, 0px), var(--orb-y, 0px), 0);
  transition: transform 120ms ease-out;
}

.orb-a {
  top: 13%;
  left: 9%;
  width: 15px;
  height: 15px;
  background: var(--teal);
  box-shadow: 0 0 0 20px rgba(60, 174, 163, 0.1);
}

.orb-b {
  top: 44%;
  right: 9%;
  width: 18px;
  height: 18px;
  background: var(--coral);
  box-shadow: 0 0 0 24px rgba(239, 111, 97, 0.09);
}

.orb-c {
  bottom: 13%;
  left: 21%;
  width: 12px;
  height: 12px;
  background: var(--amber);
  box-shadow: 0 0 0 26px rgba(243, 191, 79, 0.12);
}

.route-map {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(70vw, 900px);
  height: 220vh;
  transform: translateX(-50%) translateY(var(--route-y, 0px));
  opacity: 0.55;
  transition: transform 120ms ease-out;
}

.route-shadow,
.route-line {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}

.route-shadow {
  stroke: rgba(21, 32, 51, 0.08);
}

.route-line {
  stroke: var(--teal);
  stroke-dasharray: 1;
  stroke-dashoffset: var(--route-offset, 1);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: rgba(21, 32, 51, 0.08);
}

.scroll-meter span {
  display: block;
  width: var(--page-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--teal));
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.82);
  box-shadow: 0 10px 34px rgba(21, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: conic-gradient(from 120deg, var(--coral), var(--amber), var(--teal), var(--coral));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: rgba(21, 32, 51, 0.56);
  font-size: 11px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(21, 32, 51, 0.68);
  font-size: 14px;
}

.main-nav a,
.header-cta,
.button,
.tab,
.mini-case span,
.story-case span {
  gap: 8px;
}

.main-nav a,
.mini-case span,
.story-case span {
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a.is-current {
  color: var(--ink);
  font-weight: 700;
}

.header-cta,
.button,
.cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
}

.ui-icon {
  display: inline-block;
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.78;
  vertical-align: -0.16em;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.header-cta .ui-icon,
.button.primary .ui-icon,
.tab.active .ui-icon {
  opacity: 0.9;
}

.mini-case .ui-icon,
.story-case .ui-icon {
  width: 1.18em;
  height: 1.18em;
  color: var(--coral);
}

.icon-home {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 10.8 12 3l9 7.8'/%3E%3Cpath d='M5.5 9.8V21h13V9.8'/%3E%3Cpath d='M9.5 21v-6h5v6'/%3E%3C/svg%3E");
}

.icon-route {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='6' cy='6' r='2.4'/%3E%3Ccircle cx='18' cy='18' r='2.4'/%3E%3Cpath d='M8.4 6h5.1a3.5 3.5 0 0 1 0 7H10a3.5 3.5 0 0 0 0 7h5.6'/%3E%3C/svg%3E");
}

.icon-book {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 4.5h7a3 3 0 0 1 3 3V20a3 3 0 0 0-3-3H5z'/%3E%3Cpath d='M19 4.5h-4a3 3 0 0 0-3 3V20a3 3 0 0 1 3-3h4z'/%3E%3C/svg%3E");
}

.icon-chat {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6.5h14v9H9l-4 3z'/%3E%3Cpath d='M8 10h8M8 13h5'/%3E%3C/svg%3E");
}

.icon-compass {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m15.5 8.5-2.2 5-4.8 2 2.2-5z'/%3E%3C/svg%3E");
}

.icon-grid {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Crect x='14' y='14' width='6' height='6' rx='1'/%3E%3C/svg%3E");
}

.icon-spark {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3Cpath d='M18 15l.9 2.1L21 18l-2.1.9L18 21l-.9-2.1L15 18l2.1-.9z'/%3E%3C/svg%3E");
}

.icon-layout {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M4 10h16M10 10v9'/%3E%3C/svg%3E");
}

.icon-chart {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19V5'/%3E%3Cpath d='M5 19h14'/%3E%3Cpath d='M8 15l3-4 3 2 4-6'/%3E%3C/svg%3E");
}

.icon-folder {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h6l2 2h8v9.5a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 4 18.5z'/%3E%3C/svg%3E");
}

.icon-search {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10.5' cy='10.5' r='5.5'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E");
}

.icon-board {
  --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='4' width='16' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M8 8h8M8 11h5'/%3E%3C/svg%3E");
}

.header-cta {
  padding: 0 20px;
  color: var(--white);
  background: var(--ink);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 58px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 118px 0 84px;
}

.editorial-hero {
  gap: 84px;
}

.eyebrow,
.section-heading span,
.cta-copy span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 22px;
  font-size: clamp(44px, 6.4vw, 82px);
  line-height: 1.08;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: rgba(21, 32, 51, 0.74);
  font-size: 20px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.button {
  min-width: 142px;
  padding: 0 23px;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 16px 34px rgba(239, 111, 97, 0.28);
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.page-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 116px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 14px 0 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.12;
}

.page-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(21, 32, 51, 0.66);
  font-size: 20px;
  line-height: 2;
}

.hero-proof span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(21, 32, 51, 0.72);
  font-size: 14px;
}

.hero-proof strong {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0) rotate(var(--hero-tilt, 0deg));
  transition: transform 160ms ease-out;
}

.hero-visual::before {
  position: absolute;
  inset: 42px -16px 30px 32px;
  z-index: -1;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(21, 32, 51, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(21, 32, 51, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  transform: rotate(-2deg);
}

.hero-visual img {
  width: 100%;
  height: 520px;
  border: 10px solid var(--white);
  border-radius: 30px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.orbit-card,
.course-widget {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 0);
  transition: transform 160ms ease-out;
}

.orbit-card {
  padding: 16px 18px;
}

.orbit-card span {
  display: block;
  color: rgba(21, 32, 51, 0.52);
  font-size: 12px;
  text-transform: uppercase;
}

.orbit-card strong {
  display: block;
  margin-top: 4px;
}

.card-a {
  top: 40px;
  left: -18px;
}

.card-b {
  right: -10px;
  bottom: 126px;
}

.course-widget {
  left: 48px;
  right: 48px;
  bottom: 8px;
  padding: 18px;
}

.widget-top {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.widget-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.course-widget p {
  margin: 0;
  color: rgba(21, 32, 51, 0.54);
  font-size: 13px;
}

.course-widget strong {
  display: block;
  margin: 3px 0 14px;
  font-size: 18px;
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(21, 32, 51, 0.1);
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--amber));
}

.chapter-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.poem-strip {
  display: grid;
  gap: 18px;
  width: min(980px, calc(100% - 40px));
  margin: 18px auto 0;
  padding: 72px 0 24px;
  border-top: 1px solid rgba(21, 32, 51, 0.12);
  color: rgba(21, 32, 51, 0.62);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.8;
}

.poem-strip p {
  max-width: 760px;
  margin: 0;
}

.poem-strip p:nth-child(2) {
  justify-self: end;
  text-align: right;
}

.chapter-strip p {
  margin: 0;
  padding: 22px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  font-size: 14px;
  text-transform: uppercase;
}

.section {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 28px 88px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.18;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 620px;
  margin: 0;
  color: rgba(21, 32, 51, 0.66);
  font-size: 18px;
  line-height: 2;
}

.feature-grid,
.stats-grid,
.story-layout {
  display: grid;
  gap: 30px;
}

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

.essay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.essay-card {
  min-height: 320px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(21, 32, 51, 0.18);
}

.essay-card span {
  color: var(--coral);
  font-weight: 800;
}

.essay-card h3 {
  margin: 24px 0 18px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
}

.essay-card p {
  margin: 0;
  color: rgba(21, 32, 51, 0.64);
  line-height: 2;
}

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

.mini-case,
.story-case {
  border: 1px solid rgba(21, 32, 51, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.055);
}

.mini-case {
  min-height: 210px;
  padding: 24px;
}

.mini-case span,
.story-case span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-case h3 {
  margin: 34px 0 12px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.36;
}

.mini-case p {
  margin: 0;
  color: rgba(21, 32, 51, 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.feature-card,
.stat-card,
.story-card,
.course-card,
.journey-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 38px rgba(21, 32, 51, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    opacity 260ms ease;
}

.feature-card:hover,
.course-card:hover,
.story-card:hover {
  border-color: rgba(239, 111, 97, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.feature-card {
  padding: 36px;
}

.drift-card {
  transform: translate3d(0, var(--drift-y, 0px), 0);
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
}

.feature-card h3,
.story-card h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.feature-card p,
.story-card p,
.course-card p {
  margin: 0;
  color: rgba(21, 32, 51, 0.66);
}

.journey-section {
  position: relative;
  min-height: 255vh;
  padding: 0 20px;
}

.journey-section.immersive {
  min-height: 270vh;
}

.journey-sticky {
  position: sticky;
  top: 92px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 84px;
  width: min(1120px, 100%);
  min-height: calc(100vh - 104px);
  margin: 0 auto;
}

.journey-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.18;
}

.journey-copy p {
  max-width: 520px;
  margin: 0;
  color: rgba(21, 32, 51, 0.66);
  font-size: 18px;
  line-height: 2;
}

.journey-panel {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.5)),
    linear-gradient(90deg, rgba(21, 32, 51, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(21, 32, 51, 0.04) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-glow {
  position: absolute;
  inset: auto auto 4% 12%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 111, 97, 0.24), transparent 68%);
  transform: translate3d(var(--panel-glow-x, 0px), var(--panel-glow-y, 0px), 0);
}

.learning-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.learning-path-base,
.learning-path-active {
  fill: none;
  stroke-linecap: round;
  stroke-width: 8;
}

.learning-path-base {
  stroke: rgba(21, 32, 51, 0.1);
}

.learning-path-active {
  stroke: var(--coral);
  stroke-dasharray: 1;
  stroke-dashoffset: var(--journey-offset, 1);
  filter: drop-shadow(0 10px 18px rgba(239, 111, 97, 0.24));
}

.journey-step {
  position: absolute;
  width: min(220px, 42%);
  padding: 22px;
  opacity: 0.45;
  transform: translateY(18px) scale(0.96);
}

.journey-step.is-active {
  opacity: 1;
  border-color: rgba(239, 111, 97, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(0) scale(1);
}

.journey-step span {
  color: var(--coral);
  font-weight: 900;
}

.journey-step strong,
.journey-step p {
  display: block;
}

.journey-step strong {
  margin-top: 4px;
  font-size: 20px;
}

.journey-step p {
  margin: 6px 0 0;
  color: rgba(21, 32, 51, 0.62);
  font-size: 14px;
  line-height: 1.8;
}

.step-1 {
  left: 5%;
  bottom: 9%;
}

.step-2 {
  left: 33%;
  top: 43%;
}

.step-3 {
  right: 20%;
  top: 19%;
}

.step-4 {
  right: 5%;
  top: 6%;
}

.courses {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
}

.course-library {
  padding-top: 40px;
}

.course-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.tab {
  min-width: 82px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: rgba(21, 32, 51, 0.66);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

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

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 44px;
}

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

.course-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.course-card {
  overflow: hidden;
  background: var(--white);
}

.course-card.is-hidden {
  display: none;
}

.course-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.course-grid.compact .course-card img {
  height: 174px;
}

.course-card div {
  padding: 30px;
}

.course-grid.compact .course-card div {
  padding: 22px;
}

.course-card span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.course-card h3 {
  margin: 10px 0 14px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.42;
}

.course-grid.compact .course-card h3 {
  font-size: 21px;
  line-height: 1.42;
}

.course-card p {
  line-height: 1.9;
}

.course-grid.compact .course-card p {
  font-size: 14px;
}

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

.stats-grid.soft {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card {
  padding: 44px 24px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.stat-card:nth-child(2) {
  background: #214f58;
}

.stat-card:nth-child(3) {
  background: var(--coral);
}

.stat-card:nth-child(4) {
  background: #6f5b28;
}

.stat-card strong {
  display: block;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
}

.partners {
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.logo-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 28s linear infinite;
  transform: translateX(var(--logo-shift, 0px));
}

.logo-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(21, 32, 51, 0.54);
  background: #fbfaf6;
  font-weight: 900;
}

.story-layout {
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  align-items: stretch;
}

.story-essays {
  display: grid;
  gap: 72px;
  max-width: 920px;
}

.story-library {
  padding-top: 40px;
}

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

.story-case {
  min-height: 260px;
  padding: 26px;
}

.story-case p {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.65;
}

.story-case strong {
  display: block;
  margin-top: 24px;
  color: rgba(21, 32, 51, 0.58);
  font-size: 14px;
}

.story-case.accent {
  background: rgba(21, 32, 51, 0.92);
  color: var(--white);
}

.story-case.accent strong {
  color: rgba(255, 255, 255, 0.66);
}

.story-essay {
  max-width: 760px;
  padding: 42px 0;
  border-top: 1px solid rgba(21, 32, 51, 0.16);
}

.story-essay:nth-child(even) {
  justify-self: end;
}

.story-essay p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.7;
}

.story-essay strong {
  display: block;
  margin-top: 26px;
  color: rgba(21, 32, 51, 0.58);
}

.story-essay.accent {
  color: var(--coral);
}

.spacious-notes {
  padding-top: 60px;
}

.note-block {
  max-width: 760px;
  margin-left: auto;
  padding: 64px 0 0;
  border-top: 1px solid rgba(21, 32, 51, 0.16);
}

.note-block span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-block h2 {
  margin: 14px 0 22px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.2;
}

.note-block p {
  margin: 0;
  color: rgba(21, 32, 51, 0.66);
  font-size: 19px;
  line-height: 2;
}

.crossroads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  width: min(1120px, calc(100% - 40px));
  margin: 10px auto 128px;
}

.crossroad-link {
  min-height: 240px;
  padding: 34px;
  border: 1px solid rgba(21, 32, 51, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 48px rgba(21, 32, 51, 0.07);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.crossroad-link:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.crossroad-link span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crossroad-link strong {
  display: block;
  max-width: 420px;
  margin-top: 70px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.35;
}

.story-card {
  padding: 28px;
}

.story-card.accent {
  background: var(--ink);
  color: var(--white);
}

.story-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

.story-card strong {
  display: block;
  margin-top: 24px;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 92px;
  padding: 48px;
  border-radius: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(21, 32, 51, 0.96), rgba(21, 32, 51, 0.78)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.cta-copy h2 {
  margin: 10px 0 10px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.cta-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: grid;
  gap: 12px;
  align-content: center;
}

.cta-actions a {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.11);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.cta-actions a:hover {
  background: var(--coral);
  transform: translateX(6px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 58px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(21, 32, 51, 0.56);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    translate: 0 0;
  }
  to {
    translate: -50% 0;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }

  .menu-button span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-header.menu-open .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(251, 250, 246, 0.96);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .main-nav a {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .section-heading,
  .journey-sticky,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 48px;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual img {
    height: 390px;
  }

  .section-heading p {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-grid,
  .course-grid,
  .stats-grid,
  .story-layout,
  .essay-grid,
  .mini-case-grid,
  .story-case-grid,
  .stats-grid.soft,
  .crossroads {
    grid-template-columns: 1fr 1fr;
  }

  .chapter-strip {
    grid-template-columns: 1fr 1fr;
  }

  .journey-section {
    min-height: auto;
    padding: 80px 16px;
  }

  .journey-sticky {
    position: relative;
    top: auto;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand {
    min-width: 0;
  }

  .hero,
  .section,
  .cta-section,
  .site-footer,
  .page-hero,
  .crossroads {
    width: calc(100% - 28px);
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-proof,
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 410px;
  }

  .hero-visual img {
    height: 310px;
    border-width: 7px;
    border-radius: 22px;
  }

  .card-a {
    left: 8px;
  }

  .card-b {
    right: 8px;
    bottom: 98px;
  }

  .course-widget {
    right: 14px;
    left: 14px;
  }

  .chapter-strip,
  .feature-grid,
  .course-grid,
  .stats-grid,
  .story-layout,
  .essay-grid,
  .mini-case-grid,
  .story-case-grid,
  .stats-grid.soft,
  .crossroads {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 88px 0;
  }

  .page-hero {
    padding: 94px 0 70px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .poem-strip {
    padding-top: 54px;
  }

  .poem-strip p:nth-child(2),
  .story-essay:nth-child(even),
  .note-block {
    justify-self: auto;
    margin-left: 0;
    text-align: left;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .course-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 18px;
  }

  .tab {
    width: 100%;
  }

  .journey-panel {
    min-height: 640px;
  }

  .journey-step {
    width: 46%;
  }

  .step-2 {
    left: 12%;
    top: 42%;
  }

  .step-3 {
    right: 8%;
    top: 23%;
  }

  .step-4 {
    right: 5%;
    top: 5%;
  }

  .cta-section {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .site-footer {
    display: grid;
  }
}
