.detail-foot p a {
  color: #d4e2e6;
  text-decoration-color: rgba(97, 224, 231, .5);
  text-underline-offset: 3px;
}

.detail-foot p a:hover {
  color: var(--cyan);
}

.record dt a {
  text-decoration: none;
}

.record dt a:hover {
  color: var(--cyan);
}

.hero-orbit-copy {
  position: absolute;
  right: -7vw;
  bottom: -18vw;
  z-index: 1;
  width: 47vw;
  aspect-ratio: 1;
  overflow: visible;
  pointer-events: none;
  transform-origin: 50% 50%;
}

.orbit-label circle {
  fill: var(--yellow);
}

.orbit-label path {
  fill: none;
  stroke: rgba(255, 213, 98, .75);
  stroke-width: 1;
}

.orbit-label text {
  fill: #edf5f6;
  font: 610 18px/1.25 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.01em;
}

.orbit-label tspan + tspan {
  fill: #bdd2d7;
  font-weight: 510;
}

.hero-principle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.motion-ready .hero-orbit-copy {
  opacity: 0;
  transform: rotate(38deg);
  transition:
    opacity 700ms ease-out,
    transform 1400ms cubic-bezier(.16, 1, .3, 1);
}

.motion-ready .hero.is-visible .hero-orbit-copy {
  opacity: 1;
  transform: rotate(0);
}

.motion-ready .scroll-slide {
  opacity: .15;
  transform: translateY(28px);
  transition:
    opacity 720ms ease-out,
    transform 900ms cubic-bezier(.16, 1, .3, 1);
}

.motion-ready .scroll-slide.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.journey time {
  display: flex;
  min-height: 38px;
  flex-direction: column;
  gap: 5px;
}

.journey time small {
  max-width: 22ch;
  color: #91abb3;
  font: 650 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.journey strong {
  margin-top: 15px;
}

.case-studies {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .28);
}

.case-studies > span,
.case-card small {
  color: #8ca9b2;
  font: 700 9px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 13px;
}

.case-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  color: #edf5f6;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.case-card:hover {
  border-color: rgba(97, 224, 231, .62);
  background: rgba(255, 255, 255, .035);
  transform: translateY(-3px);
}

.case-card strong {
  margin-top: 13px;
  font-size: 21px;
  line-height: 1.15;
}

.case-card p {
  margin-top: 11px;
  color: #a9c0c7;
  font-size: 14px;
  line-height: 1.5;
}

.case-card span {
  margin-top: auto;
  padding-top: 20px;
  color: var(--cyan);
  font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.archive-bridge {
  display: flex;
  grid-column: 1 / -1;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
  padding: 24px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: #f1f7f8;
  text-decoration: none;
}

.archive-bridge span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.archive-bridge small,
.archive-bridge em {
  color: #93aeb6;
  font: 700 9px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace;
  font-style: normal;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.archive-bridge strong {
  font-size: 22px;
}

.archive-bridge:hover em {
  color: var(--cyan);
}

.has-embedded-content span:last-child,
.detail-foot .has-embedded-content {
  color: var(--cyan);
}

.viewer-open {
  overflow: hidden;
}

.content-viewer {
  width: min(1080px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100vh - 40px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(97, 224, 231, .32);
  border-radius: 20px;
  color: #edf5f6;
  background: #082630;
  box-shadow: 0 36px 100px rgba(0, 0, 0, .55);
}

.content-viewer.playlist-mode {
  width: min(1240px, calc(100vw - 40px));
}

.content-viewer::backdrop {
  background: rgba(3, 17, 23, .82);
  backdrop-filter: blur(9px);
}

.viewer-shell {
  padding: clamp(22px, 4vw, 48px);
}

.viewer-header,
.viewer-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.viewer-header {
  margin-bottom: 28px;
}

.viewer-header h2 {
  max-width: 780px;
  margin-top: 9px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.025em;
}

.viewer-close {
  flex: 0 0 auto;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid var(--yellow);
  color: #edf5f6;
  background: none;
  cursor: pointer;
  font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.viewer-frame {
  width: min(100%, max(320px, calc((100vh - 330px) * 16 / 9)));
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
  background: #03161d;
}

.viewer-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.playlist-browser {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.playlist-stage .viewer-frame {
  width: 100%;
}

.playlist-current {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px 18px;
  align-items: start;
  margin-top: 18px;
}

.playlist-current-count {
  padding-top: 5px;
  color: var(--cyan);
  font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .09em;
}

.playlist-current-title {
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.15;
}

.playlist-controls {
  display: flex;
  gap: 7px;
}

.playlist-controls button,
.playlist-index button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  text-align: left;
}

.playlist-controls button {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font: 700 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.playlist-controls button:hover,
.playlist-controls button:focus-visible {
  border-color: var(--yellow);
}

.playlist-controls button:disabled {
  opacity: .3;
  cursor: default;
}

.playlist-index {
  max-height: min(480px, calc(100vh - 280px));
  padding-right: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.playlist-index button {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  width: 100%;
  padding: 13px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.playlist-index button:last-child {
  border-bottom: 0;
}

.playlist-index button span {
  padding-top: 3px;
  color: #6f949d;
  font: 700 8px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .06em;
}

.playlist-index button strong {
  color: #a9c0c7;
  font-size: 13px;
  line-height: 1.25;
}

.playlist-index button:hover strong,
.playlist-index button:focus-visible strong,
.playlist-index button.is-current strong {
  color: #edf5f6;
}

.playlist-index button.is-current {
  box-shadow: inset 3px 0 var(--yellow);
  background: rgba(255, 209, 92, .07);
}

.playlist-index button.is-current span {
  color: var(--yellow);
}

.article-reader {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.article-reader img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  border-radius: 12px;
}

.article-meta {
  color: var(--cyan);
  font: 700 9px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-summary {
  margin-top: 18px;
  color: #d3e3e7;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.article-reader ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: #a9c0c7;
  font-size: 14px;
  line-height: 1.45;
  list-style: none;
}

.article-reader li::before {
  margin-right: 10px;
  color: var(--yellow);
  content: '→';
}

.viewer-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.viewer-footer p {
  color: #8ca9b2;
  font-size: 13px;
}

.viewer-footer a {
  flex: 0 0 auto;
  color: #edf5f6;
  font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.route-label-short {
  display: none;
}

.mobile-route-sequence {
  display: none;
}

.route-stage-heading {
  display: none;
}

@media (min-width: 901px) {
  .route-legend {
    display: flex;
    gap: 16px;
    margin: 0 0 16px;
  }

  .route-legend span + span::before {
    margin-right: 16px;
    color: #0a899c;
    content: '→';
  }

  .route-explorer {
    display: grid;
  }

  .route-stage,
  .route-scroll-track {
    grid-area: 1 / 1;
  }

  .route-stage {
    position: sticky;
    top: 84px;
    z-index: 2;
    align-self: start;
    display: grid;
    grid-template-columns: minmax(220px, .32fr) minmax(0, 1fr);
    gap: 14px;
  }

  .route-stage-heading {
    display: flex;
    grid-column: 1 / -1;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 4px 2px;
  }

  .route-stage-heading strong {
    font-size: clamp(19px, 2vw, 27px);
    letter-spacing: -.02em;
  }

  .route-stage-heading span {
    color: #087c8d;
    font: 700 9px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  .route-scroll-track {
    z-index: 1;
    pointer-events: none;
  }

  .route-scroll-stop {
    display: block;
    height: max(72vh, 590px);
  }

  .route-stage .routes {
    align-content: start;
  }

  .route-stage .route {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 17px 18px;
  }

  .route-stage .route-name {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 5px 8px;
  }

  .route-stage .route-name b {
    grid-row: 1 / 3;
    padding-top: 4px;
  }

  .route-stage .route-name small {
    grid-column: 2;
  }

  .route-stage .route-step {
    min-height: 0;
    margin-top: 10px;
    padding: 9px 0 0 32px;
    border-top: 1px solid rgba(16, 36, 45, .16);
    border-left: 0;
  }

  .route-stage .is-active .route-step {
    border-color: rgba(255, 255, 255, .15);
  }

  .route-stage .route-step i {
    font-size: 12px;
    line-height: 1.2;
  }

  .route-stage .route-step small,
  .route-stage .route-arrow {
    display: none;
  }

  .route-stage .route-detail {
    margin-top: 0;
    padding: clamp(27px, 3vw, 40px);
  }

  .route-stage .detail-intro {
    grid-template-columns: 125px 1.1fr .9fr;
    gap: clamp(20px, 2.5vw, 34px);
  }

  .route-stage .detail-intro h3 {
    font-size: clamp(28px, 3vw, 43px);
  }

  .route-stage .detail-intro > p:last-child {
    font-size: 14px;
    line-height: 1.45;
  }

  .route-stage .journey {
    margin-top: 34px;
  }

  .route-stage .journey li {
    min-height: 126px;
    padding-top: 22px;
  }

  .route-stage .journey strong {
    font-size: 15px;
  }

  .route-stage .journey p {
    font-size: 11px;
  }

  .route-stage .case-studies {
    margin-top: 24px;
    padding-top: 19px;
  }

  .route-stage .case-card {
    min-height: 144px;
    padding: 18px;
  }

  .route-stage .case-card strong {
    margin-top: 9px;
    font-size: 17px;
  }

  .route-stage .case-card p {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
  }

  .route-stage .case-card span {
    padding-top: 12px;
  }

  .route-stage .detail-foot {
    margin-top: 22px;
    padding-top: 18px;
  }
}

@media (min-width: 901px) and (max-width: 1050px) {
  .hero-orbit-copy {
    right: -11vw;
  }

  .hero-orbit-copy text {
    font-size: 21px;
  }
}

@media (max-width: 900px) {
  .route-stage {
    display: contents;
  }

  .route-sequence-ready .route-stage > .route-detail,
  .route-scroll-track {
    display: none;
  }

  .route-sequence-ready .mobile-route-sequence {
    display: grid;
    gap: 18px;
    margin-top: 14px;
  }

  .mobile-route-panel {
    margin-top: 0;
    scroll-margin-top: 140px;
  }

  .hero-orbit-copy {
    display: none;
  }

  .hero-principle {
    position: relative;
    display: block;
    grid-column: 2;
    width: auto;
    height: auto;
    max-width: 34ch;
    margin: 0;
    padding-top: 18px;
    overflow: visible;
    border-top: 1px solid rgba(97, 224, 231, .42);
    clip-path: none;
    color: #c2d8dd;
    font-size: 13px;
    letter-spacing: .015em;
    white-space: normal;
  }

  .map-heading {
    margin-bottom: 38px;
  }

  .routes {
    position: sticky;
    top: 68px;
    z-index: 12;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 0 -12px;
    padding: 8px 12px;
    background: rgba(242, 246, 246, .94);
    box-shadow: 0 10px 24px rgba(6, 24, 32, .08);
    backdrop-filter: blur(14px);
  }

  .route {
    min-height: 54px;
    padding: 10px 8px;
    border-radius: 10px;
    text-align: center;
  }

  .route:hover {
    transform: none;
  }

  .route-name {
    display: block;
    font-size: 12px;
    line-height: 1.12;
  }

  .route-name b,
  .route-name small {
    display: none;
  }

  .route-label-full {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .route-label-short {
    display: inline;
  }

  .route-step,
  .route-arrow {
    display: none;
  }

  .route::after {
    display: none;
  }

  .route-detail {
    scroll-margin-top: 140px;
  }

  .playlist-browser {
    grid-template-columns: 1fr;
  }

  .playlist-index {
    max-height: 260px;
  }
}

@media (max-width: 520px) {
  .hero-principle {
    grid-column: 1;
    max-width: none;
  }

  .map-heading > p {
    font-size: 16px;
  }

  .detail-intro h3 {
    font-size: 34px;
    line-height: 1.04;
  }

  .detail-intro > p:last-child {
    font-size: 15px;
  }

  .journey time {
    min-height: 0;
  }

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

  .case-card {
    min-height: 0;
  }

  .archive-bridge {
    display: block;
  }

  .archive-bridge em {
    display: inline-block;
    margin-top: 18px;
  }

  .content-viewer {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .viewer-header {
    align-items: start;
  }

  .viewer-header h2 {
    font-size: 28px;
  }

  .playlist-current {
    grid-template-columns: 46px 1fr;
  }

  .playlist-controls {
    grid-column: 1 / -1;
  }

  .article-reader {
    grid-template-columns: 1fr;
  }

  .article-reader img {
    aspect-ratio: 16 / 9;
  }

  .viewer-footer {
    display: block;
  }

  .viewer-footer a {
    display: inline-block;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .hero-orbit-copy,
  .motion-ready .scroll-slide {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
