/* The same visual language, organized around one continuous member journey. */
.narrative {
  --narrative-line: #7ba9d333;
}
.narrative .memory-scene {
  min-height: min(950px, 100svh);
}
.narrative .memory-content {
  padding-block: clamp(100px, 12vh, 160px) 100px;
}
.narrative .memory-heading {
  max-width: 850px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.32;
  letter-spacing: 0.03em;
}
.narrative .memory-opening {
  font-size: 0.68em;
  margin-bottom: 24px;
}
.narrative .memory-statement {
  display: block;
  white-space: normal;
  margin: 0;
}
.narrative .memory-statement em {
  font-size: inherit;
}
.narrative .memory-copy {
  margin-top: 36px;
  max-width: 600px;
}
.narrative .memory-copy p {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.9;
}
.narrative .memory-copy .hero-value {
  font-size: clamp(22px, 2vw, 29px);
  color: #e0eafa;
}
.narrative .hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 30px 0 18px;
}
.narrative .memory-content > .note {
  font-size: 14px;
}
.narrative .intro {
  padding-block: 130px 70px;
}
.narrative .manifesto h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.5;
}
.narrative .manifesto-lead {
  margin-top: 25px;
  font-size: clamp(18px, 2vw, 25px);
}
.narrative .start-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 70px 0 35px;
  position: relative;
}
.narrative .start-path li {
  padding: 30px 30px 25px;
  border-top: 1px solid #78b6f56b;
  border-right: 1px solid var(--narrative-line);
  background: linear-gradient(155deg, #18334c66, transparent 80%);
}
.narrative .start-path li:last-child {
  border-right: 0;
}
.narrative .start-path li > span {
  font: 400 50px/1 var(--serif);
  color: #8dc8ff;
}
.narrative .start-path h3 {
  margin: 24px 0 12px;
  font-size: 25px;
}
.narrative .start-path p {
  font-size: 16px;
  color: #adc1d5;
}
.narrative .manifesto > .note {
  line-height: 1.9;
  margin-bottom: 24px;
}
.narrative .clients {
  padding-block: 40px 65px;
}
.narrative #matching {
  padding-top: 70px;
}
.narrative .matching-explanation {
  text-align: center;
  padding: 40px 0 70px;
}
.narrative .matching-explanation h2 {
  font-size: clamp(34px, 4.3vw, 62px);
  line-height: 1.5;
  margin: 20px 0 28px;
}
.narrative .matching-explanation > p:not(.eyebrow) {
  font-size: 20px;
  line-height: 1.9;
}
.narrative .mechanism-guide {
  display: block;
  margin-top: 30px;
  color: #91aecb;
  font: 14px/1.8 var(--sans);
}
.story-pinned .narrative .principle-runway {
  height: calc(100svh - 88px + 260vw);
}
.narrative #matching .principles > article:nth-child(4) {
  background:
    linear-gradient(90deg, #020810ba, #02081040),
    url("../img/cinematic/environments/dialogue-cycle.webp") center/cover;
}
.narrative .cycle-path {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
  display: grid;
  gap: 15px;
}
.narrative .cycle-path li {
  padding: 18px 24px;
  border: 1px solid #71a6cd66;
  border-radius: 15px;
  background: linear-gradient(130deg, #23435c, #091826);
  box-shadow:
    inset 0 2px 0 #d7efff25,
    0 4px 0 #263f52,
    0 12px 20px #0005;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.narrative .cycle-path span {
  font: 12px/1.5 var(--sans);
  letter-spacing: 0.08em;
  color: #96badb;
}
.narrative .cycle-path strong {
  font: 400 23px/1.5 var(--serif);
}
.narrative .cycle-diagram .semantic-core {
  padding: 25px 15px;
}
.narrative .cycle-diagram .process-result {
  font-size: clamp(22px, 2vw, 30px);
}
.narrative #how {
  background: radial-gradient(ellipse at 0 30%, #10345044, transparent 55%), #03090f;
  padding-block: 120px;
}
.narrative .journey-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.narrative .journey-heading {
  position: sticky;
  top: 125px;
}
.narrative .journey-heading h2 {
  font-size: clamp(32px, 3.4vw, 49px);
  line-height: 1.6;
}
.narrative .journey-heading > p:not(.eyebrow) {
  margin-top: 24px;
  color: #adc1d5;
  font-size: 18px;
  line-height: 1.9;
}
.narrative .journey-heading img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: left;
  margin: 25px 0;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 80%, transparent);
}
.narrative .journey-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.narrative .journey-steps li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 0 0 52px;
  position: relative;
}
.narrative .journey-steps li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(#70abdf80, #30557930);
}
.narrative .journey-number {
  color: #a9d6ff;
  font: 30px/1.5 var(--serif);
}
.narrative .journey-steps .step-label {
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.13em;
  color: #82a6c8;
}
.narrative .journey-steps h3 {
  margin: 12px 0 18px;
  font-size: 26px;
  line-height: 1.5;
}
.narrative .journey-steps p {
  font-size: 16px;
  line-height: 1.95;
  color: #a7b9cc;
}
.narrative .journey-steps .journey-lead {
  color: #d6e6f5;
  margin-bottom: 10px;
  font-size: 18px;
}
.narrative .journey-return {
  border-block: 1px solid #6ea9dc55;
  padding: 26px 0;
  margin-bottom: 25px;
}
.narrative .journey-return span {
  font: 12px/1.6 var(--sans);
  letter-spacing: 0.15em;
  color: #8dbce7;
}
.narrative .journey-return p {
  margin-top: 12px;
  font-size: 20px;
}
.narrative #faq h2 {
  font-size: clamp(32px, 3.1vw, 48px);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.narrative .google-data {
  background: linear-gradient(145deg, #0b1a28, #03080d 75%);
}
.narrative .google-data h2 {
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.5;
}
.narrative .calendar-lead {
  margin-top: 25px;
  color: #b3c8dc;
  font-size: 19px;
  line-height: 1.9;
}
.narrative .calendar-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #668eaf66;
  margin: 45px 0 20px;
}
.narrative .calendar-path span {
  font-size: 18px;
  padding: 28px 20px;
  border-right: 1px solid #668eaf33;
}
.narrative .calendar-path span:last-child {
  border: 0;
}
.narrative .google-data .gd_card {
  margin-top: 40px;
}
@media (max-width: 900px) {
  .narrative .memory-scene {
    min-height: 0;
  }
  .narrative .memory-content {
    padding-block: 100px 90px;
  }
  .narrative .memory-art {
    opacity: 0.65;
  }
  .narrative .memory-copy p {
    font-size: 16px;
  }
  .narrative .memory-heading {
    font-size: clamp(38px, 7vw, 60px);
  }
  .narrative .intro {
    padding-top: 80px;
  }
  .narrative .start-path {
    margin-top: 40px;
  }
  .narrative .start-path li {
    padding: 24px 15px;
  }
  .narrative .start-path h3 {
    font-size: 22px;
  }
  .narrative .journey-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .narrative .journey-heading {
    position: relative;
    top: auto;
  }
  .narrative .journey-heading img {
    display: none;
  }
  .narrative .journey-heading .button {
    margin-top: 25px;
  }
  .narrative #how {
    padding-block: 80px;
  }
  .narrative .cycle-path strong {
    font-size: 21px;
  }
}
@media (max-width: 560px) {
  .narrative .memory-content {
    padding-top: 70px;
  }
  .narrative .memory-art {
    opacity: 0.4;
  }
  .narrative .memory-heading {
    font-size: 38px;
  }
  .narrative .memory-copy {
    margin-top: 30px;
  }
  .narrative .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .narrative .start-path {
    grid-template-columns: 1fr;
  }
  .narrative .start-path li {
    padding: 22px 18px;
    border-right: 0;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 20px;
  }
  .narrative .start-path li > span {
    grid-row: span 2;
    font-size: 38px;
    align-self: center;
  }
  .narrative .start-path h3 {
    margin: 0 0 8px;
  }
  .narrative .start-path p {
    margin: 0;
  }
  .narrative .matching-explanation > p:not(.eyebrow) {
    font-size: 17px;
  }
  .narrative .journey-steps li {
    grid-template-columns: 35px 1fr;
    gap: 15px;
  }
  .narrative .journey-steps li::before {
    left: 14px;
  }
  .narrative .journey-steps h3 {
    font-size: 23px;
  }
  .narrative .journey-steps .journey-lead {
    font-size: 17px;
  }
  .narrative .calendar-path {
    grid-template-columns: 1fr;
  }
  .narrative .calendar-path span {
    border-right: 0;
    border-bottom: 1px solid #668eaf33;
    padding: 20px 10px;
  }
  .narrative .cycle-path li {
    padding: 16px;
    display: block;
  }
  .narrative .cycle-path strong {
    display: block;
    margin-top: 7px;
  }
}
/* Override the legacy scene's outer spacing so its content has one rhythm. */
.narrative #task.memory-scene {
  padding: 0;
  min-height: min(920px, 100svh);
}
.narrative .memory-copy p + p {
  margin-top: 20px;
}
.narrative .system-detail .detail-label,
.narrative .system-detail small,
.narrative .system-detail .node-caption,
.narrative .system-detail .relation-types dd,
.narrative .cycle-path span,
.narrative .journey-steps .step-label {
  font-size: 14px;
}
.narrative .system-detail .relation-types dt {
  font-size: 18px;
}
@media (max-width: 900px) {
  .narrative #task.memory-scene {
    min-height: 0;
  }
  .narrative .principles .system-panel {
    min-width: 0;
  }
}
@media (max-width: 560px) {
  .narrative .system-detail .relation-types {
    grid-template-columns: 1fr;
  }
  .narrative .system-detail .semantic-pair {
    gap: 10px;
  }
  .narrative .system-detail .semantic-pair strong {
    font-size: 19px;
  }
  .narrative .system-detail .semantic-pair small {
    font-size: 12px;
  }
  .narrative .memory-eyebrow {
    max-width: 250px;
    line-height: 1.8;
  }
}
/* Timing follows the actual header and visible reading height, not screen width. */
.story-pinned .narrative .principle-runway {
  height: calc(100svh - var(--story-top, 88px) + var(--story-travel, 3500px));
}
.story-pinned .narrative .principle-viewport {
  top: var(--story-top, 88px);
  height: calc(100svh - var(--story-top, 88px));
}
/* Entrance is owned by experience.js; avoid a second scroll transform on headings. */
.story-enabled .narrative :is(#how, #pricing, #information, #faq) h2 {
  transform: none;
}
.narrative .journey-number {
  transition:
    color 260ms ease,
    text-shadow 260ms ease;
}
.narrative .journey-steps li::before {
  transform-origin: top;
  transition: background-color 320ms ease;
}
.narrative .journey-current .journey-number {
  color: #e0f2ff;
  text-shadow: 0 0 20px #68b9ff9c;
}
.narrative .journey-current::before {
  background-color: #77bfff77;
}
@media (prefers-reduced-motion: reduce) {
  .narrative .journey-number,
  .narrative .journey-steps li::before {
    transition: none;
  }
}
/* Two presences converge, then hold a quiet, fully readable composition. */
.narrative .connection-bridge {
  position: relative;
  background: #000;
}
.narrative .connection-stage {
  padding: 64px 0 72px;
  overflow: hidden;
}
.narrative .connection-heading {
  position: relative;
  z-index: 2;
  text-align: center;
}
.narrative .connection-heading .eyebrow {
  font: 12px/1.6 var(--sans);
  letter-spacing: 0.2em;
  color: #87a8c8;
  margin-bottom: 20px;
}
.narrative .connection-heading h2 {
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.5;
}
.narrative .connection-visual {
  position: relative;
  width: min(1500px, 100%);
  aspect-ratio: 1672/941;
  margin: -16px auto 0;
}
.narrative .connection-art {
  position: absolute;
  inset: 0;
}
.narrative .connection-art picture,
.narrative .connection-art img {
  display: block;
  width: 100%;
  height: 100%;
}
.narrative .connection-art img {
  object-fit: contain;
}
.narrative .connection-art::after {
  content: "";
  position: absolute;
  inset: 45% 40% 22%;
  background: radial-gradient(ellipse, #b9e2ff45, transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.narrative .connection-labels {
  position: absolute;
  inset: auto 7% 9%;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  font: 14px/1.7 var(--sans);
  color: #a6c0d7;
}
.narrative .connection-labels > span {
  padding: 12px 16px;
  border-left: 1px solid #93c9f48a;
  background: linear-gradient(90deg, #020c17d9, transparent);
}
.narrative .connection-labels > span:last-child {
  text-align: right;
  border-left: 0;
  border-right: 1px solid #93c9f48a;
  background: linear-gradient(-90deg, #020c17d9, transparent);
}
.narrative .connection-labels small {
  display: block;
  font: 11px/1.7 var(--sans);
  letter-spacing: 0.15em;
  color: #79a7cf;
  margin-bottom: 6px;
}
.narrative .connection-labels strong {
  display: block;
  color: #e0edf8;
  font: 400 clamp(18px, 1.7vw, 26px)/1.5 var(--serif);
}
.narrative .connection-message {
  position: absolute;
  top: 69%;
  left: 25%;
  right: 25%;
  margin: 0;
  text-align: center;
  color: #ebf5ff;
}
.narrative .connection-message > span {
  display: block;
  font: 14px/1.6 var(--sans);
  letter-spacing: 0.16em;
  color: #a4c1da;
  margin-bottom: 10px;
}
.narrative .connection-message strong {
  display: block;
  font: 400 clamp(23px, 2.9vw, 42px)/1.4 var(--serif);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.narrative .connection-message em {
  color: #b8ddff;
  text-shadow: 0 0 25px #4e9fed55;
}
.narrative .connection-body {
  margin-top: 25px;
  max-width: 880px;
}
.narrative .connection-thoughts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}
.narrative .connection-thoughts p {
  border-top: 1px solid #597f9b55;
  padding-top: 20px;
  margin: 0;
  font: 16px/1.9 var(--sans);
  color: #a5b8cc;
}
.narrative .connection-thoughts em {
  font: 400 clamp(21px, 2vw, 28px)/1.7 var(--serif);
  color: #dceaf7;
}
.narrative .connection-body .connection-closing {
  margin: 28px 0 0;
  text-align: center;
  font: 14px/1.8 var(--sans);
  color: #8ca5bb;
  letter-spacing: 0.06em;
}
.story-enabled .narrative .connection-art::after {
  animation: connection-light 6s ease-in-out infinite;
  animation-play-state: paused;
}
.story-enabled .narrative .connection-visible .connection-art::after {
  animation-play-state: running;
}
@keyframes connection-light {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.85);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.15);
  }
}
@media (min-width: 901px) and (min-height: 680px) {
  .story-pinned .narrative .connection-bridge {
    padding-bottom: 45vh;
  }
  .story-pinned .narrative .connection-stage {
    position: sticky;
    top: var(--story-top, 88px);
    height: calc(100svh - var(--story-top, 88px));
    padding: 24px 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .story-pinned .narrative .connection-visual {
    height: 100%;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }
  .story-pinned .narrative .connection-heading h2 {
    font-size: clamp(28px, 3vw, 42px);
  }
  .story-pinned .narrative .connection-heading .eyebrow {
    margin-bottom: 10px;
  }
  .story-pinned .narrative .connection-body {
    width: min(760px, 80%);
    margin-top: 14px;
  }
  .story-pinned .narrative .connection-thoughts {
    gap: 50px;
  }
  .story-pinned .narrative .connection-thoughts p {
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.6;
  }
  .story-pinned .narrative .connection-thoughts em {
    font-size: 21px;
  }
  .story-pinned .narrative .connection-closing {
    margin-top: 12px;
  }
  .story-pinned .narrative .connection-message {
    top: 68%;
  }
  .story-pinned .narrative .connection-message strong {
    font-size: clamp(21px, 2.2vw, 30px);
  }
  .story-pinned .narrative .connection-message > span {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .story-pinned .narrative .connection-labels {
    inset: auto 1% 3%;
    gap: 20px;
    font-size: 12px;
  }
  .story-pinned .narrative .connection-labels > span {
    padding: 6px 10px;
  }
  .story-pinned .narrative .connection-labels strong {
    font-size: 17px;
  }
  .story-pinned .narrative .connection-labels small {
    display: none;
  }
}
@media (max-width: 768px) {
  .narrative .connection-stage {
    padding: 55px 0 65px;
  }
  .narrative .connection-heading h2 {
    font-size: clamp(28px, 5.6vw, 38px);
  }
  .narrative .connection-heading .eyebrow {
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .narrative .connection-visual {
    margin: 10px auto 85px;
  }
  .narrative .connection-labels {
    inset: auto 20px -60px;
    gap: 16px;
    font-size: 12px;
  }
  .narrative .connection-labels strong {
    font-size: 17px;
  }
  .narrative .connection-labels small {
    display: none;
  }
  .narrative .connection-labels > span {
    padding: 5px 10px;
  }
  .narrative .connection-message {
    top: 71%;
    left: 27%;
    right: 27%;
  }
  .narrative .connection-message > span {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .narrative .connection-message strong {
    white-space: normal;
    font-size: clamp(19px, 4vw, 27px);
  }
  .narrative .connection-message em {
    display: block;
  }
  .narrative .connection-thoughts {
    gap: 22px;
  }
  .narrative .connection-thoughts p {
    font-size: 14px;
  }
  .narrative .connection-thoughts em {
    font-size: 19px;
  }
  .narrative .connection-body .connection-closing {
    font-size: 14px;
    line-height: 1.9;
  }
}
/* The conclusion is the final statement, not a caption. */
.narrative .connection-body .connection-closing {
  margin: 38px auto 0;
  padding: 26px 16px 4px;
  position: relative;
  color: #e7f2fc;
  font: 400 clamp(22px, 2.1vw, 31px)/1.65 var(--serif);
  letter-spacing: 0.06em;
}
.narrative .connection-closing::before {
  content: "";
  position: absolute;
  inset: 0 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #9bcfff, transparent);
  box-shadow: 0 0 16px #4d9cdf66;
}
.narrative .connection-closing span {
  display: block;
}
.narrative .connection-closing strong {
  display: block;
  margin-top: 4px;
  font: 400 clamp(34px, 3.8vw, 52px)/1.35 var(--serif);
  color: #abd6ff;
  text-shadow: 0 0 30px #4e9fee30;
}
.story-enabled .narrative .connection-art {
  opacity: 0;
}
.story-enabled .narrative .connection-arrived .connection-art {
  animation: connection-image-fade 1400ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.story-enabled .narrative .connection-arrived .connection-message {
  animation: connection-words 800ms 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.story-enabled .narrative .connection-arrived .connection-labels {
  animation: connection-words 650ms 350ms ease-out both;
}
.story-enabled .narrative .connection-bridge:not(.connection-visible) .connection-art,
.story-enabled .narrative .connection-bridge:not(.connection-visible) .connection-message,
.story-enabled .narrative .connection-bridge:not(.connection-visible) .connection-labels {
  animation-play-state: paused;
}
@keyframes connection-image-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes connection-words {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (min-width: 901px) and (min-height: 680px) {
  .story-pinned .narrative .connection-body .connection-closing {
    margin-top: 16px;
    padding-top: 14px;
    font-size: 20px;
  }
  .story-pinned .narrative .connection-closing strong {
    display: inline;
    margin-left: 12px;
    font-size: 34px;
  }
  .story-pinned .narrative .connection-closing span {
    display: inline;
  }
}
@media (max-width: 768px) {
  .narrative .connection-body .connection-closing {
    font-size: 20px;
    margin-top: 30px;
    padding-inline: 0;
  }
  .narrative .connection-closing strong {
    font-size: 36px;
  }
}

/* Fit the two taller diagrams between the sticky header and the chapter menu. */
@media (min-width: 901px) and (min-height: 600px) {
  .story-pinned .narrative .principles > article:nth-child(2),
  .story-pinned .narrative .principles > .cycle-panel {
    padding-block: clamp(10px, 2svh, 24px);
  }
  .story-pinned .narrative .relation-map,
  .story-pinned .narrative .cycle-diagram {
    min-width: 0;
    padding: clamp(13px, 2svh, 24px);
  }
  .story-pinned .narrative .relation-map .detail-label,
  .story-pinned .narrative .cycle-diagram .detail-label {
    margin: 0 0 clamp(8px, 1.5svh, 16px);
    font-size: 14px;
    line-height: 1.5;
  }
  .story-pinned .narrative .relation-map {
    --relation-space: clamp(8px, calc(8svh - 40px), 16px);
    padding: clamp(16px, calc(6svh - 20px), 26px);
  }
  .story-pinned .narrative .relation-hub {
    justify-content: flex-start;
    padding-bottom: 12px;
    margin: 0 0 clamp(10px, calc(4svh - 14px), 18px);
  }
  .story-pinned .narrative .relation-hub p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
  }
  .story-pinned .narrative .relation-hub strong {
    font-size: clamp(24px, 3.5svh, 32px);
  }
  .story-pinned .narrative .relation-hub small {
    font-size: 12px;
    line-height: 1.4;
  }
  .story-pinned .narrative .relation-types {
    margin: 0;
    gap: clamp(10px, 2svh, 16px);
    grid-auto-rows: 1fr;
  }
  .story-pinned .narrative .relation-types > div {
    min-height: 0;
    padding: var(--relation-space) clamp(12px, 1.3vw, 20px);
  }
  .story-pinned .narrative .relation-types dt {
    font-size: 18px;
    line-height: 1.4;
  }
  .story-pinned .narrative .relation-types dd {
    margin: clamp(6px, 1svh, 9px) 0 0;
    font-size: 14px;
    line-height: 1.5;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }
  .story-pinned .narrative .cycle-path {
    margin: 0 0 clamp(16px, 2.5svh, 26px);
    gap: clamp(10px, 1.6svh, 16px);
  }
  .story-pinned .narrative .cycle-path li {
    min-height: 0;
    padding: clamp(10px, 1.8svh, 18px) 14px;
    gap: 10px;
  }
  .story-pinned .narrative .cycle-path span {
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.04em;
  }
  .story-pinned .narrative .cycle-path strong {
    font-size: clamp(18px, 2.7svh, 23px);
    line-height: 1.4;
  }
  .story-pinned .narrative .cycle-diagram .semantic-core {
    padding: clamp(14px, 2.4svh, 24px) 12px;
  }
  .story-pinned .narrative .cycle-diagram .process-result {
    margin: 10px 0 0;
    font-size: clamp(20px, 3svh, 28px);
    line-height: 1.5;
  }
  .story-pinned .narrative .cycle-diagram .detail-caption {
    margin: clamp(14px, 2.3svh, 24px) 0 0;
    font-size: 14px;
    line-height: 1.6;
  }
}

/* Original city opening, restored ahead of the current narrative. */
.narrative .city-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 88px);
  padding: clamp(32px, 5svh, 64px) clamp(20px, 3vw, 56px) 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  background: #05070a;
  overflow: hidden;
}
.narrative .city-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.narrative .city-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0004, #0005 65%, #000b);
  z-index: -1;
  pointer-events: none;
}
.narrative .city-hero h2 {
  margin: 0;
  font: 400 clamp(30px, 3.3vw, 54px)/1.65 var(--sans);
  letter-spacing: 0.12em;
  color: #fff;
}
.narrative .city-hero-subtitle {
  margin: clamp(20px, 4svh, 44px) 0 0;
  font: 400 clamp(15px, 1.8vw, 24px)/1.8 var(--sans);
  letter-spacing: 0.1em;
  color: #fff;
}
.narrative .city-hero-wordmark {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(32px, 7svh, 88px);
}
.narrative .city-hero-purpose {
  padding: 16px clamp(16px, 3vw, 36px);
  background: #071b99d9;
}
.narrative .city-hero-purpose p {
  margin: 0;
  font: 13px/1.7 var(--sans);
  letter-spacing: 0;
  color: #fff;
}
.narrative .city-hero-purpose p + p {
  margin-top: 6px;
  font-size: 12px;
  color: #dce5ff;
}
.narrative .city-hero-purpose a {
  text-decoration: underline;
  color: inherit;
}
@media (max-width: 600px) {
  .narrative .city-hero {
    gap: 40px;
    min-height: calc(100svh - 76px);
  }
  .narrative .city-hero-wordmark {
    margin-top: 48px;
  }
}

/* A slim glass masthead lets the original city film reach the top edge. */
.narrative {
  --masthead-height: 48px;
}
.cinematic.narrative .site-header {
  height: var(--masthead-height);
  padding-inline: clamp(20px, 3vw, 56px);
  gap: 16px;
  background: linear-gradient(180deg, #05090ec9, #05090e75);
  border-bottom: 1px solid #dce9fa24;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 #0004;
}
.cinematic.narrative .site-header.has-scrolled {
  background: #050b12ed;
  box-shadow: 0 6px 24px #0004;
}
.cinematic.narrative .site-header .brand img {
  width: 156px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}
.cinematic.narrative .site-header .header-actions {
  gap: 12px;
}
.cinematic.narrative .site-header .button.small {
  min-height: 40px;
  padding: 8px 20px;
  font: 500 13px/1.5 var(--sans);
  letter-spacing: 0.06em;
  border: 1px solid #d4e6f570;
  border-radius: 4px;
  background: linear-gradient(120deg, #cce6ff18, #a5d2ff08);
  box-shadow: inset 0 1px 0 #fff2;
}
.cinematic.narrative .site-header .button.small:hover {
  border-color: #e8f5ff;
  background: #d3eaff24;
}
.cinematic.narrative .site-header .desktop-nav a,
.cinematic.narrative .site-header .login {
  min-height: 40px;
  padding: 8px 12px;
  border-color: transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
}
.cinematic.narrative .site-header .desktop-nav a:hover,
.cinematic.narrative .site-header .login:hover {
  background: #d3eaff14;
}
.cinematic.narrative .site-header .menu-toggle {
  height: 40px;
  min-height: 40px;
  width: 62px;
  min-width: 62px;
  padding-top: 7px;
  gap: 5px;
  border-color: #d4e6f538;
  border-radius: 4px;
  background: #ffffff06;
}
.cinematic.narrative .site-header .menu-label {
  font-size: 10px;
  bottom: 3px;
}
.cinematic.narrative #mobile-nav {
  top: var(--masthead-height);
  max-height: calc(100dvh - var(--masthead-height));
}
.narrative .city-hero {
  margin-top: calc(-1 * var(--masthead-height));
  min-height: 100svh;
  padding-top: calc(var(--masthead-height) + clamp(28px, 5svh, 60px));
}
@media (max-width: 600px) {
  .narrative {
    --masthead-height: 45px;
  }
  .cinematic.narrative .site-header {
    gap: 10px;
    padding-inline: 16px;
  }
  .cinematic.narrative .site-header .brand img {
    width: 124px;
  }
  .cinematic.narrative .site-header .header-actions {
    gap: 8px;
  }
  .cinematic.narrative .site-header .button.small {
    padding-inline: 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .cinematic.narrative .site-header .menu-toggle {
    width: 48px;
    min-width: 48px;
  }
}

/* Direct navigation on desktop, disclosure navigation on phones. */
.cinematic.narrative .site-header .brand {
  flex: 0 0 auto;
}
.cinematic.narrative .site-header .brand img {
  width: 142px;
}
.cinematic.narrative .site-header .header-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  gap: 6px;
  margin-left: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #b7d9f647 transparent;
  padding: 3px;
}
.cinematic.narrative .site-header .header-links a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  font: 500 12px/1.5 var(--sans);
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid #d4e6f524;
  border-radius: 4px;
  background: #d3eaff08;
  color: #e5edf7;
}
.cinematic.narrative .site-header .header-links a:hover,
.cinematic.narrative .site-header .header-links a[aria-current] {
  border-color: #d4e6f56b;
  background: #d3eaff1c;
  color: #fff;
}
.cinematic.narrative .site-header .header-links .button.small {
  min-width: 0;
  border-color: #d4e6f580;
  background: linear-gradient(120deg, #cce6ff26, #a5d2ff0d);
  color: #fff;
  padding-inline: 16px;
}
@media (max-width: 900px) {
  .cinematic.narrative .site-header {
    gap: 12px;
    padding-inline: 16px;
  }
  .cinematic.narrative .site-header .brand img {
    width: 116px;
  }
  .cinematic.narrative .site-header .header-links {
    gap: 4px;
  }
  .cinematic.narrative .site-header .header-links a {
    padding-inline: 9px;
  }
}
@media (max-width: 600px) {
  .cinematic.narrative .site-header {
    gap: 10px;
    padding-inline: 12px;
  }
  .cinematic.narrative .site-header .brand img {
    width: 96px;
  }
}

/* Keep the final header action close to the viewport edge. */
.cinematic.narrative .site-header {
  padding-right: 10px;
}
@media (max-width: 600px) {
  .cinematic.narrative .site-header {
    padding-right: 6px;
  }
}

/* Quiet, tactile feedback for the three steps; these remain informational cards. */
.narrative .start-path li {
  position: relative;
  isolation: isolate;
  transition:
    translate 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 420ms ease,
    box-shadow 420ms ease;
}
.narrative .start-path li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0, #62bbff30, transparent 65%),
    linear-gradient(145deg, #17364dbb, #07121b55);
  opacity: 0;
  transition: opacity 420ms ease;
}
.narrative .start-path li > span {
  transition:
    color 420ms ease,
    text-shadow 420ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .narrative .start-path li:hover {
    translate: 0 -6px;
    border-top-color: #b9e1ff;
    box-shadow:
      inset 0 1px 0 #c6eaff55,
      0 16px 35px #0006,
      0 -7px 30px #378bce12;
  }
  .narrative .start-path li:hover::before {
    opacity: 1;
  }
  .narrative .start-path li:hover > span {
    color: #d9efff;
    text-shadow: 0 0 26px #6dbfff6b;
  }
}

/* A softly lit architectural space under the information heading. */
.narrative #information {
  position: relative;
  isolation: isolate;
}
.narrative #information::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  bottom: 0;
  left: 0;
  width: 60%;
  background:
    linear-gradient(180deg, #0007, transparent 45%, #0007),
    url("../img/cinematic/environments/scoring-environment.webp") 42% center / cover
      no-repeat;
  opacity: 0.64;
  mask-image:
    linear-gradient(90deg, #000 65%, transparent),
    linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(90deg, #000 65%, transparent),
    linear-gradient(180deg, transparent, #000 16%, #000 80%, transparent);
  -webkit-mask-composite: source-in;
}
.narrative #information .split > div:first-child {
  text-shadow:
    0 2px 18px #000,
    0 0 40px #0009;
}
@media (max-width: 768px) {
  .narrative #information::before {
    width: 100%;
    height: 430px;
    bottom: auto;
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .narrative .start-path li,
  .narrative .start-path li::before,
  .narrative .start-path li > span {
    transition: none;
  }
  .narrative .start-path li:hover {
    translate: none;
  }
}

.cinematic.narrative .site-header .menu-toggle {
  display: none;
}
.cinematic.narrative #mobile-nav[hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .mobile-menu-ready .cinematic.narrative .site-header .header-links {
    display: none;
  }
  .cinematic.narrative .site-header .menu-toggle {
    display: flex;
    margin-left: auto;
    height: 36px;
    min-height: 36px;
  }
  .cinematic.narrative #mobile-nav {
    position: fixed;
    z-index: 99;
    overflow-y: auto;
    padding: 16px;
    background: #060e19f5;
    backdrop-filter: blur(18px);
  }
  .cinematic.narrative #mobile-nav a {
    justify-content: center;
    text-align: center;
  }
}
@media (min-width: 701px) {
  .cinematic.narrative #mobile-nav {
    display: none !important;
  }
}
.cinematic.narrative .clients.clients-marquee {
  display: block;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding-inline: 0;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  animation: clients-flow var(--logo-duration, 40s) linear infinite;
  will-change: transform;
}
.clients-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.cinematic.narrative .clients-marquee img {
  display: block;
  width: 240px;
  height: auto;
  aspect-ratio: 560 / 197;
  flex: 0 0 auto;
  object-fit: contain;
}
@keyframes clients-flow {
  to { transform: translateX(var(--logo-distance)); }
}
@media (max-width: 700px) {
  .clients-group { gap: 24px; padding-right: 24px; }
  .cinematic.narrative .clients-marquee img { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; transform: none; }
  .cinematic.narrative .clients.clients-marquee { overflow-x: auto; }
  .clients-group[aria-hidden="true"] { display: none; }
}
