@font-face {
  font-family: "CB Stem";
  src: url("./assets/CB_Stem-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CB Stem";
  src: url("./assets/CB_Stem-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CB Stem";
  src: url("./assets/CB_Stem-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #010205;
  --bg-soft: #061321;
  --text: #f3f5f9;
  --text-soft: rgba(243, 245, 249, 0.72);
  --line: rgba(98, 175, 255, 0.72);
  --line-bright: #7fe4ff;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: rgba(31, 146, 255, 0.7);
  --grid: rgba(255, 255, 255, 0.04);
  --font-sans: "CB Stem", "Segoe UI", sans-serif;
  --font-display: "CB Stem", "Segoe UI", sans-serif;
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 34%, rgba(32, 110, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 20% 82%, rgba(17, 89, 172, 0.16), transparent 22rem),
    linear-gradient(180deg, #040507 0%, #010205 100%);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
}

b,
strong {
  font-weight: var(--weight-medium);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    radial-gradient(circle at center, transparent 0 38%, rgba(1, 2, 5, 0.18) 65%, rgba(1, 2, 5, 0.82) 100%);
  mix-blend-mode: screen;
}

main section[id] {
  scroll-margin-top: 5rem;
}

.chapter-menu-toggle,
.chapter-nav {
  position: fixed;
  z-index: 30;
}

.chapter-menu-toggle {
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(127, 228, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 12, 22, 0.82);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1rem 2rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.8rem) scale(0.98);
  filter: blur(10px);
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.65s ease,
    filter 0.65s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.chapter-menu-toggle-icon {
  position: relative;
  width: 1rem;
  height: 0.75rem;
}

.chapter-menu-toggle-icon::before,
.chapter-menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--line-bright);
  transition:
    transform 0.25s ease,
    top 0.25s ease,
    opacity 0.25s ease;
}

.chapter-menu-toggle-icon::before {
  top: 0.1rem;
  box-shadow: 0 0.32rem 0 0 var(--line-bright);
}

.chapter-menu-toggle-icon::after {
  top: 0.58rem;
}

.chapter-nav {
  top: 4.85rem;
  right: 1rem;
  width: min(18rem, calc(100vw - 2rem));
  max-height: calc(100svh - 6rem);
  padding: 1rem;
  border: 1px solid rgba(127, 228, 255, 0.14);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(76, 203, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(7, 14, 26, 0.92), rgba(3, 8, 16, 0.96));
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.05) inset,
    0 1.5rem 3rem rgba(0, 0, 0, 0.34);
  overflow: auto;
  scrollbar-width: thin;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.85rem) scale(0.98);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

body.hero-settled .chapter-menu-toggle {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

body.nav-open .chapter-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chapter-nav-kicker {
  margin: 0 0 0.8rem;
  color: var(--line-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.chapter-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.chapter-nav-link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.78rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  color: rgba(243, 245, 249, 0.76);
  text-decoration: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease;
}

.chapter-nav-link:hover {
  transform: translateX(-0.12rem);
  border-color: rgba(127, 228, 255, 0.16);
  background: rgba(127, 228, 255, 0.05);
  color: var(--text);
}

.chapter-nav-link.is-active {
  border-color: rgba(127, 228, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(127, 228, 255, 0.12), transparent 70%),
    rgba(127, 228, 255, 0.06);
  color: var(--text);
}

.chapter-menu-toggle:focus-visible,
.chapter-nav-link:focus-visible {
  outline: 2px solid rgba(127, 228, 255, 0.5);
  outline-offset: 3px;
}

.chapter-nav-number {
  color: var(--line-bright);
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
}

.chapter-nav-text {
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing {
  position: relative;
  overflow-x: clip;
}

.hero,
.about,
.emotion,
.approaches,
.implemented,
.pulse-links {
  position: relative;
  isolation: isolate;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: 2rem;
  display: flex;
  align-items: stretch;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: min(10vw, 7rem) min(10vw, 7rem);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9) 0 32%, transparent 72%);
  opacity: 0.35;
}

.hero-scene {
  position: relative;
  width: min(1320px, 100%);
  min-height: calc(100vh - 4rem);
  min-height: calc(100svh - 4rem);
  margin: 0 auto;
}

.hero-copy,
.pulse-stage {
  position: absolute;
  top: 50%;
  transition:
    transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    left 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    top 1.15s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.75s ease,
    filter 0.75s ease;
}

.hero-copy {
  left: 50%;
  width: min(46rem, calc(100vw - 4rem));
  transform: translate(-50%, -50%) scale(0.58);
  opacity: 0;
  filter: blur(18px);
  transform-origin: center;
  z-index: 2;
}

.hero-kicker {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: clamp(0.9rem, 1.15vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-title {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(4rem, 12vw, 8.6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
}

.pulse-stage {
  left: 50%;
  width: min(44rem, 82vw);
  transform: translate(-50%, -50%) scale(1.38);
  transform-origin: center;
}

.pulse-svg {
  display: block;
  width: 100%;
  height: auto;
}

.pulse-shadow,
.pulse-line,
.pulse-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-shadow {
  stroke: rgba(63, 160, 255, 0.24);
  stroke-width: 18;
  filter: blur(14px);
  opacity: 0;
  animation: shadowRise 1.55s ease-out forwards;
}

.pulse-line {
  stroke: url(#pulse-gradient);
  stroke-width: 7;
  filter: url(#pulse-glow);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: tracePulse 1.55s cubic-bezier(0.24, 0.84, 0.22, 1) forwards;
}

.pulse-trace {
  stroke: #eefcff;
  stroke-width: 9;
  filter: url(#pulse-glow);
  stroke-dasharray: 0 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

body.hero-settled .hero-copy {
  left: clamp(2rem, 20vw, 14rem);
  top: 58%;
  transform: translate(0, -50%) scale(1);
  opacity: 1;
  filter: blur(0);
}

body.hero-settled .pulse-stage {
  left: min(79vw, calc(100% - 8rem));
  top: 63%;
  transform: translate(-50%, -50%) scale(0.78);
}

body.hero-settled .pulse-shadow {
  opacity: 0.82;
  animation: pulseAura 2.8s ease-in-out infinite;
}

body.hero-settled .pulse-line {
  stroke-dashoffset: 0;
  animation: pulseLineGlow 2.8s ease-in-out infinite;
}

body.hero-settled .pulse-trace {
  animation: travelPulse 2.45s linear infinite;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

body.hero-settled .hero .scroll-hint {
  opacity: 1;
  transition-delay: 1.6s;
}

.reveal-section .scroll-hint {
  transform: translate(-50%, 0.35rem);
}

.reveal-section.is-visible .scroll-hint {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0.35s;
}

.about {
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 2rem;
  display: grid;
  align-items: center;
}

.section-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 0.75fr) minmax(18rem, 1.25fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 5rem);
}

.about-title,
.about-copy {
  margin: 0;
}

.about-title {
  justify-self: center;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy {
  max-width: 44rem;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  line-height: 1.45;
  color: var(--text-soft);
}

.emotion {
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 2rem 8rem;
  display: grid;
  align-items: center;
}

.emotion-stack {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  text-align: center;
}

.emotion-kicker {
  margin: 0;
  color: var(--line-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.emotion-title {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.02em;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.emotion-title-line {
  display: block;
}

.emotion-list {
  width: 100%;
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.emotion-item {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1.2rem;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.4rem;
  background:
    linear-gradient(135deg, rgba(10, 22, 41, 0.78), rgba(4, 8, 16, 0.92)),
    radial-gradient(circle at 0% 50%, rgba(78, 164, 255, 0.18), transparent 38%);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1.5rem 3rem rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  text-align: left;
}

.emotion-index {
  min-width: 3.25rem;
  display: flex;
  align-self: center;
  align-items: center;
  color: rgba(127, 228, 255, 0.92);
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.emotion-item p {
  margin: 0;
  font-size: clamp(1.02rem, 1.9vw, 1.4rem);
  line-height: 1.55;
  color: var(--text-soft);
}

.approaches {
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 2rem 8rem;
}

.approaches-head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.approaches-kicker {
  margin: 0;
  color: var(--line-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.approaches-title {
  margin: 0;
  max-width: 15ch;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.approach-accordion {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.approach-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(7, 15, 29, 0.9), rgba(2, 4, 10, 0.98));
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1.5rem 3rem rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-card:hover {
  border-color: rgba(127, 228, 255, 0.16);
  transform: translateY(-0.2rem);
}

.approach-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 10, 0.9) 0%, rgba(2, 4, 10, 0.74) 48%, rgba(2, 4, 10, 0.38) 100%),
    var(--approach-bg) center right / cover no-repeat;
  opacity: 0.95;
  transition: transform 0.7s ease, opacity 0.5s ease;
}

.approach-card[open]::before {
  transform: scale(1.03);
}

.approach-card[open] {
  border-color: rgba(127, 228, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.08) inset,
    0 2rem 3.5rem rgba(0, 0, 0, 0.36);
}

.approach-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.6rem;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.35s ease, padding 0.45s ease;
}

.approach-summary::-webkit-details-marker {
  display: none;
}

.approach-number {
  color: rgba(127, 228, 255, 0.92);
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
}

.approach-summary-text {
  display: grid;
  gap: 0.35rem;
}

.approach-name {
  max-width: 22ch;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.approach-hint {
  color: rgba(243, 245, 249, 0.68);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.approach-summary::after {
  content: "+";
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(4, 11, 21, 0.7);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.approach-card[open] .approach-summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(21, 71, 128, 0.58);
}

.approach-card[open] .approach-summary {
  padding-bottom: 1rem;
}

.approach-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.approach-card[open] .approach-panel {
  grid-template-rows: 1fr;
}

.approach-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.approach-copy {
  display: grid;
  gap: 1.2rem;
  padding: 0 1.6rem 1.6rem;
  opacity: 0;
  transform: translateY(1.25rem);
  filter: blur(12px);
}

.approach-card[open] .approach-copy {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.approach-block {
  max-width: 52rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background: rgba(2, 6, 14, 0.74);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(1rem);
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.approach-card[open] .approach-block {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(127, 228, 255, 0.14);
}

.approach-block h3 {
  margin: 0 0 0.7rem;
  color: var(--line-bright);
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.approach-block p,
.approach-block li,
.approach-block a {
  color: var(--text-soft);
}

.approach-block p,
.approach-block ol {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.approach-block p + p {
  margin-top: 0.85rem;
}

.approach-block ol {
  padding-left: 1.2rem;
}

.approach-block a {
  text-decoration-color: rgba(127, 228, 255, 0.48);
}

.approach-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.approach-stage {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.2rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.15rem;
  background: rgba(2, 6, 14, 0.74);
  backdrop-filter: blur(14px);
  text-align: center;
  opacity: 0;
  transform: translateY(1rem) scale(0.98);
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.approach-card[open] .approach-stage {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(127, 228, 255, 0.14);
}

.approach-stage-icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.approach-stage h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.3;
}

.approach-stage p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.approach-emotion-list,
.approach-links {
  margin: 0;
  padding-left: 1.15rem;
}

.approach-emotion-list {
  display: grid;
  gap: 0.2rem;
  color: var(--text-soft);
  text-align: left;
}

.approach-term-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
}

.approach-term-list strong {
  color: var(--text);
  font-weight: 700;
  text-transform: lowercase;
}

.approach-links {
  display: grid;
  gap: 0.5rem;
}

.approach-links li {
  color: var(--text-soft);
  line-height: 1.55;
}

.approach-links a {
  color: var(--text);
  text-decoration-color: rgba(127, 228, 255, 0.48);
}

.implemented {
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 2rem 8rem;
  display: grid;
  align-items: center;
}

.implemented-head {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
  text-align: center;
}

.implemented-kicker {
  margin: 0;
  color: var(--line-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.implemented-title {
  margin: 0;
  max-width: 12ch;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.implemented-phase,
.implemented-summary {
  margin: 0;
  max-width: 52rem;
}

.implemented-phase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(243, 245, 249, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}

.implemented-phase-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.implemented-phase-pill-beta {
  color: #8be8ff;
  background: rgba(76, 203, 255, 0.14);
  border-color: rgba(76, 203, 255, 0.26);
}

.implemented-phase-pill-gamma {
  color: #c8b0ff;
  background: rgba(162, 117, 255, 0.14);
  border-color: rgba(162, 117, 255, 0.26);
}

.implemented-phase-pill-next {
  color: #ffd18a;
  background: rgba(255, 184, 80, 0.14);
  border-color: rgba(255, 184, 80, 0.26);
}

.implemented-summary {
  color: rgba(243, 245, 249, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.implemented-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.implemented-card {
  --card-glow: rgba(71, 153, 255, 0.22);
  --card-line: rgba(127, 228, 255, 0.92);
  --card-orb: rgba(127, 228, 255, 0.2);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-border-hover: rgba(127, 228, 255, 0.24);
  grid-column: span 2;
  position: relative;
  min-width: 0;
  min-height: 16rem;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.8rem;
  padding: 1.4rem;
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, var(--card-glow), transparent 34%),
    linear-gradient(135deg, rgba(9, 18, 34, 0.88), rgba(2, 5, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1.5rem 3rem rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.implemented-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -28% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: radial-gradient(circle, var(--card-orb), transparent 68%);
  opacity: 0.75;
  pointer-events: none;
}

.implemented-card:hover {
  transform: translateY(-0.28rem);
  border-color: var(--card-border-hover);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.08) inset,
    0 2rem 3.4rem rgba(0, 0, 0, 0.34);
}

.implemented-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.implemented-card-accent {
  grid-column: 1 / -1;
  min-height: auto;
  background:
    radial-gradient(circle at top right, rgba(127, 228, 255, 0.26), transparent 32%),
    linear-gradient(135deg, rgba(14, 31, 58, 0.96), rgba(4, 12, 24, 0.98));
  border-color: rgba(127, 228, 255, 0.2);
}

.implemented-number {
  color: var(--card-line);
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
}

.implemented-number-accent {
  color: #9af0ff;
}

.implemented-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.implemented-type-interface {
  color: #8be8ff;
  background: rgba(76, 203, 255, 0.12);
  border-color: rgba(76, 203, 255, 0.24);
}

.implemented-type-services {
  color: #aebcff;
  background: rgba(111, 129, 255, 0.12);
  border-color: rgba(111, 129, 255, 0.24);
}

.implemented-type-pipeline {
  color: #ffd18a;
  background: rgba(255, 184, 80, 0.12);
  border-color: rgba(255, 184, 80, 0.24);
}

.implemented-type-platform {
  color: #d5b2ff;
  background: rgba(162, 117, 255, 0.12);
  border-color: rgba(162, 117, 255, 0.24);
}

.implemented-card-type-interface {
  --card-glow: rgba(76, 203, 255, 0.2);
  --card-line: #8be8ff;
  --card-orb: rgba(76, 203, 255, 0.18);
  --card-border-hover: rgba(76, 203, 255, 0.28);
}

.implemented-card-type-services {
  --card-glow: rgba(111, 129, 255, 0.2);
  --card-line: #aebcff;
  --card-orb: rgba(111, 129, 255, 0.18);
  --card-border-hover: rgba(111, 129, 255, 0.28);
}

.implemented-card-type-pipeline {
  --card-glow: rgba(255, 184, 80, 0.18);
  --card-line: #ffd18a;
  --card-orb: rgba(255, 184, 80, 0.16);
  --card-border-hover: rgba(255, 184, 80, 0.26);
}

.implemented-card-type-platform {
  --card-glow: rgba(162, 117, 255, 0.2);
  --card-line: #d5b2ff;
  --card-orb: rgba(162, 117, 255, 0.16);
  --card-border-hover: rgba(162, 117, 255, 0.28);
}

.implemented-label,
.implemented-card-title,
.implemented-copy {
  margin: 0;
  position: relative;
  z-index: 1;
}

.implemented-label {
  color: rgba(243, 245, 249, 0.68);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.implemented-card-title {
  width: 100%;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.38rem, 2vw, 1.95rem);
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.implemented-copy {
  align-self: end;
  width: 100%;
  color: rgba(243, 245, 249, 0.74);
  font-size: 0.94rem;
  line-height: 1.55;
}

.implemented-card-title-line {
  display: block;
}

.implemented-card-accent .implemented-card-title {
  font-size: clamp(1.95rem, 3vw, 2.8rem);
}

.implemented-card-accent .implemented-copy {
  max-width: 60ch;
  font-size: 0.98rem;
}

.implemented-card-dense .implemented-card-title {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
}

.implemented-card-half {
  grid-column: span 3;
}

.implemented-card-half .implemented-card-title {
  max-width: none;
}

.approach-card.is-opening[open] .approach-copy {
  animation: approachContentIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.approach-card.is-opening[open] .approach-copy > :nth-child(1) {
  animation: approachItemIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

.approach-card.is-opening[open] .approach-copy > :nth-child(2) {
  animation: approachItemIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.approach-card.is-opening[open] .approach-copy > :nth-child(3) {
  animation: approachItemIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.approach-card.is-opening[open] .approach-stage-grid .approach-stage:nth-child(1) {
  animation: approachStageIn 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.approach-card.is-opening[open] .approach-stage-grid .approach-stage:nth-child(2) {
  animation: approachStageIn 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.approach-card.is-opening[open] .approach-stage-grid .approach-stage:nth-child(3) {
  animation: approachStageIn 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.reveal {
  opacity: 0;
  filter: blur(18px);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease,
    filter 0.8s ease;
}

.implemented-card.reveal {
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease,
    filter 0.8s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pulse-links-phone.reveal,
.pulse-link-card.reveal {
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease,
    filter 0.8s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.reveal-left {
  transform: translateX(0) scale(0.92);
}

.reveal-right {
  transform: translateX(0) scale(0.92);
}

.reveal-center {
  transform: translateY(2.5rem) scale(0.84);
}

.reveal-section.is-visible .reveal-left {
  transform: translateX(-3rem) scale(1);
  opacity: 1;
  filter: blur(0);
}

.reveal-section.is-visible .reveal-right {
  transform: translateX(3rem) scale(1);
  opacity: 1;
  filter: blur(0);
  transition-delay: 0.08s;
}

.reveal-section.is-visible .reveal-center {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.reveal-section.is-visible .implemented-card:hover {
  transform: translateY(-0.28rem) scale(1);
}

.reveal-section.is-visible .pulse-links-phone:hover,
.reveal-section.is-visible .pulse-link-card:hover {
  transform: translateY(-0.24rem) scale(1);
}

.emotion-list .emotion-item:nth-child(1) {
  transition-delay: 0.06s;
}

.emotion-list .emotion-item:nth-child(2) {
  transition-delay: 0.14s;
}

.emotion-list .emotion-item:nth-child(3) {
  transition-delay: 0.22s;
}

.approach-accordion .approach-card:nth-child(1) {
  transition-delay: 0.04s;
}

.approach-accordion .approach-card:nth-child(2) {
  transition-delay: 0.08s;
}

.approach-accordion .approach-card:nth-child(3) {
  transition-delay: 0.12s;
}

.approach-accordion .approach-card:nth-child(4) {
  transition-delay: 0.16s;
}

.approach-accordion .approach-card:nth-child(5) {
  transition-delay: 0.2s;
}

.implemented-grid .implemented-card:nth-child(1) {
  transition-delay: 0.04s;
}

.implemented-grid .implemented-card:nth-child(2) {
  transition-delay: 0.08s;
}

.implemented-grid .implemented-card:nth-child(3) {
  transition-delay: 0.12s;
}

.implemented-grid .implemented-card:nth-child(4) {
  transition-delay: 0.16s;
}

.implemented-grid .implemented-card:nth-child(5) {
  transition-delay: 0.2s;
}

.implemented-grid .implemented-card:nth-child(6) {
  transition-delay: 0.24s;
}

.implemented-grid .implemented-card:nth-child(7) {
  transition-delay: 0.28s;
}

.pulse-links {
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 2rem 8rem;
  display: grid;
  align-items: center;
}

.pulse-links-head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.pulse-links-kicker {
  margin: 0;
  color: var(--line-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.pulse-links-title {
  margin: 0;
  max-width: 12ch;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pulse-links-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(22rem, 1.05fr);
  align-items: center;
  gap: 1.4rem 2rem;
}

.pulse-links-phone {
  position: relative;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(71, 153, 255, 0.24), transparent 32%),
    linear-gradient(135deg, rgba(9, 18, 34, 0.88), rgba(2, 5, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1.8rem 3.2rem rgba(0, 0, 0, 0.32);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pulse-links-phone::before {
  content: "";
  position: absolute;
  inset: auto auto -20% -12%;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(127, 228, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.pulse-links-phone:hover {
  transform: translateY(-0.24rem);
  border-color: rgba(127, 228, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.08) inset,
    0 2.1rem 3.6rem rgba(0, 0, 0, 0.38);
}

.pulse-links-phone img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 22rem);
  height: auto;
}

.pulse-links-stack {
  display: grid;
  gap: 1rem;
}

.pulse-link-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.1rem 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(71, 153, 255, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(9, 18, 34, 0.88), rgba(2, 5, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1.4rem 2.8rem rgba(0, 0, 0, 0.26);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.pulse-link-card:hover {
  transform: translateY(-0.24rem);
  border-color: rgba(127, 228, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.08) inset,
    0 1.8rem 3.2rem rgba(0, 0, 0, 0.34);
}

.pulse-link-qr {
  width: 7.5rem;
  height: 7.5rem;
  display: block;
  object-fit: contain;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 0.55rem;
}

.pulse-link-copy {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.pulse-link-label,
.pulse-link-name {
  margin: 0;
}

.pulse-link-label {
  color: rgba(127, 228, 255, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pulse-link-name {
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.chapter-nav-number,
.hero-title,
.about-title,
.emotion-title,
.emotion-index,
.approaches-title,
.approach-number,
.approach-name,
.implemented-title,
.implemented-number,
.implemented-card-title,
.pulse-links-title,
.pulse-link-name {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
}

.chapter-nav-kicker,
.hero-kicker,
.emotion-kicker,
.approaches-kicker,
.approach-block h3,
.approach-term-list strong,
.implemented-kicker,
.implemented-phase-pill,
.implemented-type,
.pulse-links-kicker {
  font-weight: var(--weight-medium);
}

.pulse-link-anchor {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration-color: rgba(127, 228, 255, 0.48);
  overflow-wrap: anywhere;
}

.pulse-links-stack .pulse-link-card:nth-child(1) {
  transition-delay: 0.08s;
}

.pulse-links-stack .pulse-link-card:nth-child(2) {
  transition-delay: 0.16s;
}

@keyframes tracePulse {
  0% {
    stroke-dashoffset: 100;
  }

  72% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes shadowRise {
  0% {
    opacity: 0;
  }

  18% {
    opacity: 0.28;
  }

  100% {
    opacity: 0.88;
  }
}

@keyframes pulseAura {
  0%,
  100% {
    opacity: 0.38;
  }

  28% {
    opacity: 0.58;
  }

  42% {
    opacity: 0.96;
  }

  56% {
    opacity: 0.62;
  }
}

@keyframes pulseLineGlow {
  0%,
  100% {
    opacity: 0.72;
  }

  24% {
    opacity: 0.86;
  }

  42% {
    opacity: 1;
  }

  60% {
    opacity: 0.82;
  }
}

@keyframes travelPulse {
  0% {
    opacity: 0;
    stroke-dasharray: 0 100;
    stroke-dashoffset: 100;
  }

  8% {
    opacity: 0.98;
    stroke-dasharray: 12 88;
    stroke-dashoffset: 100;
  }

  16% {
    opacity: 0.98;
    stroke-dasharray: 18 82;
    stroke-dashoffset: 92;
  }

  78% {
    opacity: 0.98;
    stroke-dasharray: 18 82;
    stroke-dashoffset: 18;
  }

  90% {
    opacity: 0.72;
    stroke-dasharray: 8 92;
    stroke-dashoffset: 8;
  }

  100% {
    opacity: 0;
    stroke-dasharray: 0 100;
    stroke-dashoffset: 0;
  }
}

@keyframes approachContentIn {
  0% {
    opacity: 0;
    transform: translateY(1.25rem);
    filter: blur(12px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes approachItemIn {
  0% {
    opacity: 0;
    transform: translateY(1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes approachStageIn {
  0% {
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== ROADMAP ===== */

.roadmap {
  min-height: 100vh;
  min-height: 100svh;
  padding: 6rem 2rem 8rem;
}

.roadmap-head {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
  text-align: center;
}

.roadmap-kicker {
  margin: 0;
  color: var(--line-bright);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.roadmap-title {
  margin: 0;
  max-width: 12ch;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.roadmap-summary {
  margin: 0;
  max-width: 42rem;
  color: rgba(243, 245, 249, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.roadmap-path {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  align-items: center;
  gap: 0;
}

.roadmap-card {
  position: relative;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
  background:
    radial-gradient(circle at top right, rgba(71, 153, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(9, 18, 34, 0.88), rgba(2, 5, 11, 0.98));
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.04) inset,
    0 1.2rem 2.4rem rgba(0, 0, 0, 0.26);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.roadmap-card:hover {
  transform: translateY(-0.2rem);
  border-color: rgba(127, 228, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(127, 228, 255, 0.08) inset,
    0 1.6rem 2.8rem rgba(0, 0, 0, 0.32);
}

.roadmap-item-left .roadmap-card {
  grid-column: 1;
  justify-self: end;
  max-width: 28rem;
}

.roadmap-item-right .roadmap-card {
  grid-column: 3;
  justify-self: start;
  max-width: 28rem;
}

.roadmap-node {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.roadmap-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: var(--line-bright);
  box-shadow:
    0 0 0.5rem rgba(127, 228, 255, 0.5),
    0 0 1.2rem rgba(127, 228, 255, 0.25);
  position: relative;
  z-index: 2;
}

.roadmap-item-current .roadmap-dot {
  width: 1.1rem;
  height: 1.1rem;
  background: #9af0ff;
  box-shadow:
    0 0 0.6rem rgba(154, 240, 255, 0.6),
    0 0 1.6rem rgba(154, 240, 255, 0.35);
  animation: roadmapPulse 2.4s ease-in-out infinite;
}

.roadmap-item-future .roadmap-dot {
  background: rgba(127, 228, 255, 0.45);
  box-shadow: 0 0 0.4rem rgba(127, 228, 255, 0.2);
}

.roadmap-item-future .roadmap-card {
  opacity: 0.72;
}

.roadmap-spacer {
  /* пустой столбец для балансировки grid */
}

.roadmap-date {
  display: inline-block;
  color: var(--line-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.roadmap-card-title {
  margin: 0 0 0.65rem;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.roadmap-copy {
  margin: 0;
  color: rgba(243, 245, 249, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(154, 240, 255, 0.14);
  border: 1px solid rgba(154, 240, 255, 0.28);
  color: #9af0ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* SVG-дуги S-path */
.roadmap-arc {
  display: grid;
  justify-self: center;
  width: 3rem;
  height: 5rem;
  margin: 0 auto;
}

.roadmap-arc svg {
  width: 100%;
  height: 100%;
  display: block;
}

.roadmap-arc path {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 4;
  opacity: 0.55;
}

.roadmap-arc-right svg {
  transform: translateX(0);
}

.roadmap-arc-left svg {
  transform: translateX(0);
}

@keyframes roadmapPulse {
  0%, 100% {
    box-shadow:
      0 0 0.6rem rgba(154, 240, 255, 0.6),
      0 0 1.6rem rgba(154, 240, 255, 0.35);
  }
  50% {
    box-shadow:
      0 0 0.9rem rgba(154, 240, 255, 0.75),
      0 0 2.2rem rgba(154, 240, 255, 0.45);
  }
}

/* stagger для карточек роадмапа */
.roadmap-path .roadmap-item:nth-child(1) { transition-delay: 0.04s; }
.roadmap-path .roadmap-item:nth-child(3) { transition-delay: 0.1s; }
.roadmap-path .roadmap-item:nth-child(5) { transition-delay: 0.16s; }
.roadmap-path .roadmap-item:nth-child(7) { transition-delay: 0.22s; }
.roadmap-path .roadmap-item:nth-child(9) { transition-delay: 0.28s; }
.roadmap-path .roadmap-item:nth-child(11) { transition-delay: 0.34s; }
.roadmap-path .roadmap-item:nth-child(13) { transition-delay: 0.4s; }

@media (max-width: 960px) {
  .roadmap {
    padding-block: 5rem 6rem;
  }

  .roadmap-head {
    justify-items: start;
    text-align: left;
  }

  .roadmap-title {
    max-width: none;
  }

  .roadmap-item {
    grid-template-columns: 2rem 1fr;
  }

  .roadmap-item-left .roadmap-card,
  .roadmap-item-right .roadmap-card {
    grid-column: 2;
    justify-self: start;
    max-width: none;
  }

  .roadmap-item-left .roadmap-spacer,
  .roadmap-item-right .roadmap-spacer {
    display: none;
  }

  .roadmap-node {
    grid-column: 1;
    grid-row: 1;
  }

  .roadmap-item-left .roadmap-node,
  .roadmap-item-right .roadmap-node {
    grid-column: 1;
  }

  .roadmap-arc {
    grid-column: 1;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .roadmap {
    padding-block: 4rem 5rem;
  }

  .roadmap-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .roadmap-summary {
    font-size: 0.92rem;
  }

  .roadmap-card {
    padding: 1.1rem;
  }

  .roadmap-card-title {
    font-size: 1.15rem;
  }

  .roadmap-copy {
    font-size: 0.88rem;
  }

  .roadmap-arc {
    width: 2rem;
    height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-dot {
    animation: none;
  }
}

@media (max-width: 960px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .chapter-menu-toggle-icon::before {
    top: 0.36rem;
    box-shadow: none;
    transform: rotate(45deg);
  }

  body.nav-open .chapter-menu-toggle-icon::after {
    top: 0.36rem;
    transform: rotate(-45deg);
  }

  .hero {
    padding: 1.5rem;
  }

  .hero-scene {
    min-height: calc(100vh - 3rem);
    min-height: calc(100svh - 3rem);
  }

  .hero-copy {
    width: min(32rem, calc(100vw - 3rem));
  }

  body.hero-settled .hero-copy {
    left: 1rem;
    top: 58%;
  }

  body.hero-settled .pulse-stage {
    left: 72%;
    top: 34%;
    transform: translate(-50%, -50%) scale(0.56);
  }

  .about {
    padding-block: 5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-title,
  .about-copy {
    justify-self: start;
  }

  .emotion {
    padding-block: 5rem 6rem;
  }

  .emotion-stack {
    justify-items: start;
    text-align: left;
  }

  .emotion-title {
    justify-items: start;
  }

  .approaches {
    padding-block: 5rem 6rem;
  }

  .approaches-head {
    justify-items: start;
    text-align: left;
  }

  .approaches-title {
    max-width: none;
  }

  .implemented {
    padding-block: 5rem 6rem;
  }

  .implemented-head {
    justify-items: start;
    text-align: left;
  }

  .implemented-title {
    max-width: none;
  }

  .implemented-phase {
    justify-content: flex-start;
  }

  .implemented-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .implemented-card {
    grid-column: span 1;
  }

  .implemented-card-accent {
    grid-column: 1 / -1;
  }

  .implemented-card-half {
    grid-column: span 1;
  }

  .pulse-links {
    padding-block: 5rem 6rem;
  }

  .pulse-links-layout {
    grid-template-columns: 1fr;
  }

  .approach-summary {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .approach-summary::after {
    grid-column: 2;
    justify-self: end;
    margin-top: -2.8rem;
  }

  .approach-name {
    max-width: none;
    padding-right: 3.5rem;
  }

  .approach-stage-grid {
    grid-template-columns: 1fr;
  }

  .reveal-section.is-visible .reveal-left,
  .reveal-section.is-visible .reveal-right {
    transform: translateX(0) scale(1);
  }

  .emotion-item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }
}

@media (max-width: 640px) {
  .chapter-menu-toggle {
    top: 0.85rem;
    right: 0.85rem;
    padding: 0.78rem 0.9rem;
  }

  .chapter-menu-toggle-label {
    font-size: 0.72rem;
  }

  .chapter-nav {
    top: 4.3rem;
    right: 0.75rem;
    width: calc(100vw - 1.5rem);
    padding: 0.85rem;
  }

  .chapter-nav-link {
    padding: 0.68rem 0.72rem;
  }

  .chapter-nav-number {
    font-size: 0.98rem;
  }

  .chapter-nav-text {
    font-size: 0.76rem;
  }

  .hero-title {
    font-size: clamp(3rem, 18vw, 5.1rem);
  }

  .hero-kicker {
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
  }

  .pulse-stage {
    width: 96vw;
  }

  body.hero-settled .hero-copy {
    left: 1rem;
    top: 64%;
    width: calc(100vw - 2rem);
  }

  body.hero-settled .pulse-stage {
    left: 56%;
    top: 26%;
    transform: translate(-50%, -50%) scale(0.42);
  }

  .scroll-hint {
    bottom: 1.25rem;
  }

  .about-copy {
    font-size: 1rem;
  }

  .emotion-title {
    font-size: clamp(1.95rem, 10vw, 3.2rem);
  }

  .emotion-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
  }

  .emotion-item p {
    font-size: 0.98rem;
  }

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

  .implemented-card {
    min-height: 13.5rem;
    padding: 1.2rem;
  }

  .implemented-label {
    font-size: 0.74rem;
  }

  .implemented-card-title {
    font-size: 1.4rem;
    max-width: none;
  }

  .implemented-phase,
  .implemented-summary {
    font-size: 0.92rem;
  }

  .implemented-type {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .implemented-copy {
    font-size: 0.88rem;
  }

  .implemented-card-half {
    grid-column: auto;
  }

  .pulse-links-title {
    font-size: clamp(2rem, 11vw, 3.45rem);
    max-width: none;
  }

  .pulse-links-phone {
    padding: 1rem;
  }

  .pulse-link-card {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 1.1rem;
  }

  .pulse-link-qr {
    width: 6.4rem;
    height: 6.4rem;
  }

  .pulse-link-name {
    font-size: 1.45rem;
  }

  .pulse-link-anchor {
    font-size: 0.88rem;
  }

  .approach-summary {
    padding: 1.2rem;
  }

  .approach-number {
    font-size: 1.35rem;
  }

  .approach-name {
    font-size: 1.3rem;
  }

  .approach-hint {
    font-size: 0.72rem;
  }

  .approach-copy {
    padding: 0 1.2rem 1.2rem;
  }

  .approach-block {
    padding: 1rem;
  }

  .approach-block p,
  .approach-block ol {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-copy,
  .pulse-stage,
  .reveal,
  .implemented-card,
  .pulse-links-phone,
  .pulse-link-card,
  .approach-card,
  .approach-summary,
  .approach-summary::after,
  .approach-panel,
  .approach-copy,
  .approach-block,
  .approach-stage {
    transition: none;
  }

  .pulse-line,
  .pulse-shadow,
  .pulse-trace {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .pulse-trace {
    opacity: 0;
  }

  .hero-copy {
    left: clamp(2rem, 20vw, 14rem);
    top: 58%;
    transform: translate(0, -50%) scale(1);
    opacity: 1;
    filter: blur(0);
  }

  .pulse-stage {
    left: min(79vw, calc(100% - 8rem));
    top: 63%;
    transform: translate(-50%, -50%) scale(0.78);
  }

  .scroll-hint,
  .reveal {
    opacity: 1;
    filter: blur(0);
  }

  .reveal-left,
  .reveal-right,
  .reveal-center {
    transform: none;
  }

  .approach-card:hover {
    transform: none;
  }

  .implemented-card:hover {
    transform: none;
  }

  .pulse-links-phone:hover,
  .pulse-link-card:hover {
    transform: none;
  }

  .approach-card.is-opening[open] .approach-copy,
  .approach-card.is-opening[open] .approach-copy > *,
  .approach-card.is-opening[open] .approach-stage-grid .approach-stage {
    animation: none;
  }

  .approach-copy,
  .approach-block,
  .approach-stage {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
