@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500&family=Noto+Serif+SC:wght@400;500&display=swap");

:root {
  --deep-sea: #03045e;
  --ocean: #023e8a;
  --offshore: #0077b6;
  --near-sea: #0096c7;
  --shallow-sea: #00b4d8;
  --shore: #48cae4;
  --foam: #90e0ef;

  --black: #000000;
  --ink: #212121;
  --dark-gray: #17171c;
  --white: #ffffff;
  --snow: #fafafa;
  --light-gray: #f2f2f2;
  --cool-gray: #d9d9dd;
  --quiet-gray: #93939f;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", Georgia, serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "思源黑体", Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}

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

.hero-header {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 20%, rgba(144, 224, 239, 0.36), transparent 24%),
    radial-gradient(circle at 88% 74%, rgba(72, 202, 228, 0.18), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(0, 180, 216, 0.22), transparent 28%),
    linear-gradient(132deg, #020332 0%, var(--deep-sea) 38%, var(--ocean) 72%, #001b35 100%);
}

.hero-header::before,
.hero-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-header::before {
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 41%, rgba(255, 255, 255, 0.11) 41% 41.5%, transparent 41.5% 100%),
    repeating-linear-gradient(172deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 88px);
  opacity: 0.62;
}

.hero-header::after {
  left: -10vw;
  right: -10vw;
  bottom: -15vw;
  height: 40vw;
  min-height: 300px;
  border-radius: 48% 52% 0 0;
  background:
    radial-gradient(ellipse at 52% 0%, rgba(144, 224, 239, 0.36), transparent 56%),
    linear-gradient(180deg, rgba(72, 202, 228, 0.34), rgba(255, 255, 255, 0.98) 74%);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 70px) clamp(28px, 5vw, 72px) 44px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 24px;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
  padding: 72px 0 44px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--foam);
}

.hero-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.74;
}

.hero-title {
  max-width: 10em;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(56px, 7.2vw, 112px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--white);
  text-shadow: 0 28px 58px rgba(0, 0, 0, 0.34);
}

.hero-title span {
  display: block;
}

.hero-deck {
  max-width: 660px;
  margin: 30px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.86);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-stats span {
  padding: 9px 15px;
  border: 1px solid rgba(144, 224, 239, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  color: var(--foam);
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-tide-ring {
  position: absolute;
  inset: 48px 10px 80px;
  border: 1px solid rgba(144, 224, 239, 0.28);
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 58% 34%, rgba(144, 224, 239, 0.2), transparent 24%),
    radial-gradient(circle at 46% 56%, rgba(0, 119, 182, 0.22), transparent 34%);
  box-shadow:
    inset 0 0 80px rgba(144, 224, 239, 0.1),
    0 40px 90px rgba(0, 0, 0, 0.22);
  transform: rotate(-10deg);
}

.hero-tide-ring::before,
.hero-tide-ring::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-tide-ring::before {
  inset: 22% -18% auto 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(144, 224, 239, 0.72), transparent);
}

.hero-tide-ring::after {
  right: 15%;
  bottom: 18%;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(144, 224, 239, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.hero-panel {
  position: absolute;
  border: 1px solid rgba(144, 224, 239, 0.32);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel-large {
  top: 86px;
  right: 8px;
  width: 330px;
  padding: 28px;
}

.hero-panel-small {
  left: 0;
  bottom: 88px;
  width: 300px;
  padding: 24px;
}

.hero-panel-label {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam);
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.hero-panel span:last-child {
  display: block;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.hero-wave-meter {
  position: absolute;
  right: 42px;
  bottom: 30px;
  display: grid;
  grid-template-columns: repeat(4, 18px);
  gap: 10px;
  align-items: end;
  height: 130px;
  padding: 18px;
  border: 1px solid rgba(144, 224, 239, 0.24);
  border-radius: 999px;
  background: rgba(3, 4, 94, 0.28);
  backdrop-filter: blur(14px);
}

.hero-wave-meter span {
  display: block;
  width: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--foam), var(--near-sea));
  box-shadow: 0 0 24px rgba(144, 224, 239, 0.32);
}

.hero-wave-meter span:nth-child(1) {
  height: 42px;
}

.hero-wave-meter span:nth-child(2) {
  height: 78px;
}

.hero-wave-meter span:nth-child(3) {
  height: 104px;
}

.hero-wave-meter span:nth-child(4) {
  height: 64px;
}

.anchor-nav {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: min(1180px, calc(100% - 48px));
  max-width: calc(100% - 48px);
  margin: -82px auto 28px;
  padding: 10px 12px;
  border: 1px solid rgba(144, 224, 239, 0.46);
  border-radius: 24px;
  background: rgba(144, 224, 239, 0.38);
  box-shadow: 0 18px 54px rgba(3, 4, 94, 0.18);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--deep-sea);
}

.anchor-nav a {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  color: var(--quiet-gray);
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  border-color: rgba(3, 4, 94, 0.2);
  background: rgba(255, 255, 255, 0.34);
  color: var(--ocean);
  outline: none;
}

.hero-scroll {
  justify-self: start;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 12px auto 0;
  background: linear-gradient(180deg, rgba(144, 224, 239, 0.9), transparent);
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  color: var(--foam);
  outline: none;
}

@media (max-width: 980px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    max-width: 820px;
    padding-bottom: 28px;
  }

  .hero-visual {
    display: none;
  }
}

/* Scroll-driven opening montage */
.hero-header {
  --hero-progress: 0;
  --hero-wave: 0;
  --hero-reveal: 0;
  height: 285vh;
  min-height: 1800px;
  overflow: visible;
  background: #05070d;
}

.hero-header::before,
.hero-header::after {
  content: none;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #05070d;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(1, 4, 11, 0.08), rgba(1, 4, 11, 0.72)),
    radial-gradient(ellipse at 50% 58%, rgba(42, 61, 74, 0.35), transparent 24%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 119, 182, 0.2), transparent 42%),
    linear-gradient(115deg, #05070d 0%, #101723 46%, #05070d 100%);
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.08) 50%, transparent 50.1%),
    repeating-linear-gradient(90deg, transparent 0 12.4%, rgba(255, 255, 255, 0.035) 12.5% 12.6%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 35%);
}

.hero-poster-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  perspective: 1100px;
  pointer-events: none;
}

.hero-poster-field-real {
  z-index: -2;
}

.hero-poster-field-ai {
  z-index: -1;
}

.hero-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(118px, 10.8vw, 190px);
  aspect-ratio: 400 / 572;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  object-fit: cover;
  opacity: 0;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
}

.hero-poster-field-real .hero-poster {
  filter: saturate(0.72) brightness(0.72);
}

.hero-poster-field-ai .hero-poster {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(144, 224, 239, 0.1);
}

.hero-glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(3, 4, 94, 0.11) 48%, rgba(2, 4, 24, 0.18)),
    rgba(5, 9, 28, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  pointer-events: none;
  will-change: opacity, backdrop-filter;
}

.hero-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hero-stage .hero-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(930px, calc(100% - 120px));
  max-width: none;
  padding: clamp(38px, 5vw, 66px) clamp(44px, 6vw, 84px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(5, 8, 35, 0.075)),
    rgba(5, 8, 35, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 35px 90px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 34px));
  will-change: transform, opacity;
}

.hero-stage .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.hero-stage .hero-kicker::before,
.hero-stage .hero-kicker::after {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
  opacity: 0.68;
}

.hero-stage .hero-title {
  max-width: none;
  margin: 0;
  font-size: clamp(54px, 6.7vw, 104px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.hero-stage .hero-deck {
  max-width: 760px;
  margin: 30px auto 0;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
}

.hero-stage .hero-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
  transition: opacity 160ms linear;
}

.hero-stage .hero-scroll::after {
  content: none;
}

.hero-scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.hero-scroll i::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 1px;
  height: 18px;
  background: var(--foam);
  animation: hero-scroll-line 1.7s ease-in-out infinite;
}

@keyframes hero-scroll-line {
  0% {
    transform: translateY(0);
  }

  70%,
  100% {
    transform: translateY(60px);
  }
}

@media (max-width: 980px) {
  .hero-header {
    height: auto;
    min-height: 100svh;
  }

  .hero-stage {
    position: relative;
    min-height: 100svh;
  }

  .hero-poster-field {
    display: none;
  }

  .hero-glass {
    opacity: 1;
    background: linear-gradient(145deg, rgba(3, 4, 94, 0.94), rgba(2, 62, 138, 0.84));
  }

  .hero-stage .hero-copy {
    width: min(720px, calc(100% - 40px));
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .hero-stage .hero-scroll {
    display: none;
  }
}

.scene {
  padding: 64px 24px 72px;
  scroll-margin-top: 112px;
  transition: background-color 800ms ease;
}

.container,
.fade-inner {
  max-width: 720px;
  margin: 0 auto;
}

.scene-label {
  margin: 0 0 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offshore);
}

h1,
h2 {
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--black);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

p {
  margin: 0 0 24px;
}

.scene-summary {
  margin: 38px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--offshore);
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.4vw, 23px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--ocean);
}

.timeline-chart {
  margin: 40px 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.timeline-title {
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
}

.timeline-interaction-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--quiet-gray);
}

.timeline-interaction-hint::before {
  content: "↗";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0, 119, 182, 0.34);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--offshore);
}

.timeline-svg-wrap {
  overflow-x: auto;
}

.timeline-svg {
  display: block;
  width: 100%;
  min-width: 700px;
  height: auto;
}

.timeline-axis-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  fill: var(--quiet-gray);
}

.timeline-base-line {
  stroke: var(--cool-gray);
  stroke-width: 2;
}

.timeline-growth-path {
  fill: none;
  stroke: var(--offshore);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-growth-area {
  fill: url("#timeline-area-gradient");
}

.timeline-node {
  cursor: pointer;
}

.timeline-dot {
  fill: var(--offshore);
  stroke: var(--white);
  stroke-width: 3;
  transition: r 200ms ease, fill 200ms ease;
}

.timeline-point .timeline-dot {
  fill: var(--offshore);
}

.timeline-node:hover .timeline-dot,
.timeline-node:focus .timeline-dot,
.timeline-node:focus-visible .timeline-dot {
  r: 9;
  fill: var(--ocean);
}

.timeline-year,
.timeline-value {
  font-family: var(--font-mono);
  font-size: 15px;
  text-anchor: middle;
}

.timeline-value {
  fill: var(--ink);
  font-weight: 500;
  font-size: 18px;
}

.timeline-year {
  fill: var(--ink);
}

.timeline-node-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  fill: var(--ocean);
  text-anchor: middle;
  transition: fill 200ms ease;
}

.timeline-node:hover .timeline-node-label,
.timeline-node:focus .timeline-node-label,
.timeline-node:focus-visible .timeline-node-label {
  fill: var(--offshore);
  font-weight: 500;
}

.timeline-node:focus,
.timeline-node:focus-visible {
  outline: none;
}

.timeline-source {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--quiet-gray);
}

p[id^="para-"] {
  scroll-margin-top: 120px;
}

.key-term {
  transition: color 200ms ease;
}

.key-term.is-active {
  color: rgb(0, 119, 182);
  font-weight: 500;
}

.timeline-node.is-active .timeline-dot {
  r: 9;
  fill: rgb(0, 119, 182);
}

.timeline-node.is-active .timeline-node-label,
.timeline-node.is-active .timeline-year,
.timeline-node.is-active .timeline-value {
  fill: rgb(0, 119, 182);
  font-weight: 500;
}

.vertical-timeline {
  margin: 32px 0 24px;
}

.vertical-timeline-title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 24px);
  line-height: 1.25;
  color: var(--ink);
}

.vertical-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vertical-timeline-item {
  display: grid;
  grid-template-columns: 112px 28px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 30px;
}

.vertical-timeline-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--offshore);
  line-height: 1;
  padding-top: 15px;
}

.timeline-year-lg {
  font-size: 24px;
  letter-spacing: -0.04em;
}

.timeline-month-sm {
  margin-top: 7px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--quiet-gray);
}

.vertical-timeline-divider {
  position: relative;
  display: flex;
  justify-content: center;
}

.vertical-timeline-divider::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--offshore), var(--foam));
}

.vertical-timeline-item:last-child .vertical-timeline-divider::after {
  display: none;
}

.vertical-timeline-dot {
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 21px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--offshore);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.18);
  transition: width 200ms ease, height 200ms ease, box-shadow 200ms ease;
}

.vertical-timeline-content {
  min-width: 0;
  padding: 18px 20px 20px;
  border: 1px solid rgba(0, 119, 182, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(144, 224, 239, 0.11), rgba(255, 255, 255, 0) 58%);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.vertical-timeline-item:hover .vertical-timeline-content,
.vertical-timeline-item.is-expanded .vertical-timeline-content {
  border-color: rgba(0, 119, 182, 0.34);
  box-shadow: 0 12px 28px rgba(3, 62, 138, 0.08);
  transform: translateY(-2px);
}

.vertical-timeline-heading {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.vertical-timeline-desc {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}

.timeline-body {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.timeline-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 2px;
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  color: var(--offshore);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline;
  vertical-align: baseline;
}

.timeline-toggle:hover,
.timeline-toggle:focus-visible {
  color: var(--ocean);
  outline: none;
}

.timeline-extra-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms ease;
}

.vertical-timeline-item.is-expanded .timeline-extra-wrap {
  grid-template-rows: 1fr;
}

.timeline-extra {
  overflow: hidden;
  margin-top: 14px;
  padding: 14px 0 2px 16px;
  border-left: 1px solid var(--cool-gray);
}

.timeline-image-slot {
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1px solid var(--cool-gray);
  border-radius: 12px;
  background: var(--snow);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--quiet-gray);
}

.timeline-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  grid-template-rows: minmax(120px, auto) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.timeline-gallery-viewport {
  position: relative;
  grid-column: 2;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: var(--light-gray);
}

.timeline-gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.timeline-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.timeline-gallery-slide img,
.timeline-gallery-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-gallery-slide video {
  object-fit: contain;
  background: #05070d;
}

.timeline-gallery-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid var(--cool-gray);
  border-radius: 999px;
  background: var(--white);
  color: var(--offshore);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}

.timeline-gallery-arrow:hover,
.timeline-gallery-arrow:focus-visible {
  border-color: var(--offshore);
  background: rgba(0, 119, 182, 0.06);
  color: var(--ocean);
  outline: none;
}

.timeline-gallery-prev {
  grid-column: 1;
  grid-row: 1;
}

.timeline-gallery-next {
  grid-column: 3;
  grid-row: 1;
}

.timeline-gallery-count {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
  color: var(--quiet-gray);
}

.timeline-extra > p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
}

.timeline-extra > p:last-child {
  margin-bottom: 0;
}

.timeline-gallery.is-single {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(120px, auto);
}

.timeline-gallery.is-single .timeline-gallery-viewport {
  grid-column: 1;
}

.vertical-timeline-item:hover .vertical-timeline-dot,
.vertical-timeline-item.is-expanded .vertical-timeline-dot {
  width: 17px;
  height: 17px;
}

.vertical-timeline-item.is-expanded .vertical-timeline-dot {
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.16);
}

@supports (animation-timeline: view()) {
  .vertical-timeline-item {
    view-timeline-name: --vt-item;
    view-timeline-axis: block;
  }

  .vertical-timeline-dot {
    animation-name: timelineDotFocus;
    animation-duration: 1ms;
    animation-fill-mode: both;
    animation-timeline: --vt-item;
    animation-range: cover 40% cover 60%;
  }

  @keyframes timelineDotFocus {
    from {
      width: 13px;
      height: 13px;
      box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.18);
    }
    to {
      width: 17px;
      height: 17px;
      box-shadow: 0 0 0 5px rgba(0, 119, 182, 0.18);
    }
  }
}

.figure-placeholder {
  margin: 48px 0;
  padding: 16px 20px;
  border: 1px solid var(--cool-gray);
  border-radius: 12px;
  background: var(--snow);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--quiet-gray);
}

.article-image {
  margin: 40px 0;
}

.article-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
}

.article-image figcaption {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--quiet-gray);
}

.hero-band {
  margin: 64px 0;
  padding: 64px 24px;
  background: var(--deep-sea);
  color: var(--white);
}

.hero-band p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.4;
}

.scene-hook,
.scene-act-1,
.scene-act-2,
.scene-act-4 {
  background: var(--white);
}

.scene-act-3 {
  background: var(--deep-sea);
  color: var(--white);
}

.scene-act-3 h2 {
  color: var(--white);
}

.scene-act-3 .scene-label {
  color: var(--foam);
}

.scene-act-3 .scene-summary {
  border-left-color: var(--shore);
  color: var(--foam);
}

.scene-act-3 .figure-placeholder {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--foam);
}

.profile-card-list {
  display: grid;
  gap: 44px;
  margin: 40px 0 48px;
}

.profile-card {
  width: 100%;
  padding: clamp(32px, 5vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
}

.profile-card p {
  margin: 0;
}

.profile-meta {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cool-gray);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ocean);
}

.profile-quote {
  margin: 24px 0;
  padding: 0 0 0 18px;
  border-left: 4px solid var(--offshore);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 24px);
  line-height: 1.4;
  color: var(--black);
}

.profile-body {
  padding: 24px 0 0;
  border-top: 1px solid var(--cool-gray);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
}

.profile-body p + p {
  margin-top: 18px;
}

.profile-audio-button,
.profile-toggle {
  margin-top: 24px;
  padding: 9px 16px;
  border: 1px solid var(--offshore);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
  color: var(--offshore);
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}

.profile-audio-button {
  margin-right: 12px;
}

.profile-audio-button:hover,
.profile-audio-button:focus-visible,
.profile-toggle:hover,
.profile-toggle:focus-visible {
  border-color: var(--ocean);
  background: rgba(0, 119, 182, 0.06);
  color: var(--ocean);
  outline: none;
}

.profile-extra {
  margin-top: 18px;
  padding: 18px 0 0 18px;
  border-top: 1px solid var(--cool-gray);
  border-left: 4px solid rgba(0, 119, 182, 0.22);
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
}

.profile-extra p + p {
  margin-top: 12px;
}

.profile-gallery-extra {
  padding-left: 0;
  border-left: 0;
  font-family: var(--font-sans);
}

.profile-gallery {
  max-width: 100%;
  margin: 0;
  padding: 10px;
}

.profile-gallery .timeline-gallery-viewport {
  aspect-ratio: 16 / 9;
  max-height: 280px;
}

.profile-gallery .timeline-gallery-slide img {
  object-fit: contain;
  background: var(--light-gray);
}

.ocean-transition {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
}

.ocean-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f0f7fa 15%,
    #90e0ef 35%,
    #48cae4 50%,
    #0096c7 70%,
    #023e8a 88%,
    #03045e 100%
  );
}

.scene-act-5 {
  padding-bottom: 0;
  background: var(--white);
}

.fade-block {
  margin-inline: calc(50% - 50vw);
  padding: 56px 24px;
}

.fade-1 {
  background: #f0f7fa;
  color: var(--ink);
}

.fade-2 {
  background: #b8e0e8;
  color: var(--ink);
}

.fade-3 {
  background: #5fa8c4;
  color: var(--white);
}

.fade-4 {
  background: #1a4a7a;
  color: var(--white);
  padding-bottom: 96px;
}

.fade-4 p:last-child {
  margin-bottom: 0;
}

.fade-block .scene-summary {
  color: inherit;
}

.fade-3 .scene-summary,
.fade-4 .scene-summary {
  border-left-color: var(--foam);
}

.site-footer {
  margin-inline: calc(50% - 50vw);
  padding: 80px 24px;
  background: #03045e;
  color: var(--white);
}

.site-footer-inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer-section {
  margin-bottom: 32px;
}

.footer-section p,
.footer-section ul,
.footer-byline {
  margin: 0;
}

.footer-sources {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}

.footer-sources h2 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.footer-sources ul {
  padding-left: 1.2em;
}

.footer-section:not(.footer-sources),
.footer-byline {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
}

.cost-chart {
  margin: 40px 0;
  padding: 0;
  border: none;
  background: transparent;
}

.cost-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr) 24px) minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
  margin-top: 20px;
}

.cost-node {
  position: relative;
  min-width: 0;
  padding: 18px 14px 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-top: 4px solid var(--near-sea);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(3, 62, 138, 0.07);
}

.cost-node-baseline {
  border-top-color: var(--quiet-gray);
  background: var(--snow);
}

.cost-node-latest {
  border-color: var(--offshore);
  border-top-color: var(--offshore);
  background: linear-gradient(160deg, rgba(144, 224, 239, 0.24), var(--white) 60%);
}

.cost-node time {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--offshore);
}

.cost-node h3 {
  min-height: 3.2em;
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.cost-node dl,
.cost-node dl div {
  margin: 0;
}

.cost-node dl div {
  padding: 10px 0;
  border-top: 1px solid var(--cool-gray);
}

.cost-node dt {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--quiet-gray);
}

.cost-node dd {
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ocean);
}

.cost-arrow {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--near-sea);
}

.bytedance-loop {
  margin: 40px 0;
  padding: 0;
  border: none;
  background: transparent;
}

.bytedance-loop-wrap {
  max-width: 720px;
  overflow-x: auto;
}

.bytedance-loop-svg {
  display: block;
  width: 100%;
  min-width: 600px;
  height: auto;
}

.pyramid-chart {
  margin: 40px 0;
  padding: 0;
  border: none;
  background: transparent;
}

.pyramid-chart-wrap {
  max-width: 720px;
  overflow-x: auto;
}

.pyramid-chart-svg {
  display: block;
  width: 100%;
  min-width: 540px;
  height: auto;
}

.anchor-nav a.is-active {
  color: var(--offshore);
  border-bottom: 1px solid var(--offshore);
}

@media (max-width: 700px) {
  .hero-shell {
    padding-inline: 20px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(42px, 12.8vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.07em;
  }

  .hero-deck {
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.65;
  }

  .hero-stats {
    gap: 8px;
    margin-top: 28px;
  }

  .hero-stats span {
    padding: 7px 11px;
    font-size: 11px;
  }

  .anchor-nav {
    flex-wrap: nowrap;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    overflow-x: auto;
    border-radius: 18px;
    scrollbar-width: none;
  }

  .anchor-nav::-webkit-scrollbar {
    display: none;
  }

  .scene {
    padding: 50px 20px 58px;
  }

  .scene-summary {
    margin: 30px 0;
    padding-left: 16px;
  }

  .ocean-transition {
    height: 220px;
  }

  .vertical-timeline-item {
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    padding-bottom: 24px;
  }

  .vertical-timeline-date {
    grid-column: 2;
    grid-row: 1;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    padding: 0 0 10px 4px;
  }

  .timeline-year-lg {
    font-size: 21px;
  }

  .timeline-month-sm {
    margin-top: 0;
  }

  .vertical-timeline-divider {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .vertical-timeline-divider::after {
    top: 13px;
    bottom: -20px;
  }

  .vertical-timeline-dot {
    margin-top: 6px;
  }

  .vertical-timeline-content {
    grid-column: 2;
    grid-row: 2;
    padding: 16px;
  }

  .vertical-timeline-heading {
    font-size: 20px;
  }

  .cost-flow {
    display: flex;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x proximity;
  }

  .cost-node {
    flex: 0 0 min(76vw, 260px);
    scroll-snap-align: start;
  }

  .cost-arrow {
    flex: 0 0 18px;
  }

}

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