:root {
  color-scheme: dark;
  --ink: #f1f1ec;
  --muted: #9eafbd;
  --gold: #e1c299;
  --line: rgba(191, 212, 229, 0.16);
  --font-sans:
    "DM Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-family: var(--font-sans);
  font-weight: 400;
  background: #090f1b;
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-width: thin;
  scrollbar-color: #394d60 #090f1b;
}
body {
  margin: 0;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  border: 0;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}
button[hidden],
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 100;
  background: var(--ink);
  color: #090f1b;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 16px;
}
.world,
.ambient,
.grain {
  position: fixed;
  inset: 0;
}
.world {
  z-index: 1;
  touch-action: pan-y;
  cursor: grab;
  opacity: 0;
  transition: opacity 1.2s;
}
.scene-ready .world {
  opacity: 1;
}
.world:active {
  cursor: grabbing;
}
.world canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
  touch-action: pan-y;
}
.ambient {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 79% 34%,
      rgba(49, 83, 106, 0.3),
      transparent 43%
    ),
    radial-gradient(
      ellipse at 67% 63%,
      rgba(151, 121, 81, 0.1),
      transparent 32%
    ),
    #090f1b;
  pointer-events: none;
}
.ambient:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 26, 0.4), transparent 62%),
    linear-gradient(
      0deg,
      #090f1b 0%,
      transparent 19%,
      transparent 88%,
      rgba(9, 15, 27, 0.6)
    );
}
.ambient i {
  position: absolute;
  border: 0;
  filter: blur(44px);
  background: radial-gradient(
    ellipse,
    rgba(68, 123, 165, 0.21),
    transparent 68%
  );
  border-radius: 50%;
  width: 38vw;
  aspect-ratio: 1;
  left: 55%;
  top: 22%;
  transform: rotateX(40deg) rotateY(-30deg);
  opacity: 0.6;
  transition: opacity 1s;
}
.ambient i:nth-child(2) {
  background: radial-gradient(
    ellipse,
    rgba(196, 157, 102, 0.14),
    transparent 65%
  );
  transform: rotateX(-50deg) rotateY(15deg);
  width: 32vw;
  left: 58%;
  top: 27%;
}
.ambient i:nth-child(3) {
  transform: rotateX(20deg) rotateY(70deg);
  width: 34vw;
  left: 57%;
  top: 25%;
}
.scene-ready .ambient i {
  opacity: 0.4;
}
.grain {
  z-index: 6;
  opacity: 0.026;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23noise)' opacity='.4' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 29px 4.7vw;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand-ai {
  font-weight: 400;
  color: #c1cdd8;
  margin-left: 3px;
}
.brand b {
  color: var(--gold);
}
.header-note {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #9daebc;
  margin-left: auto;
  margin-right: 5vw;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}
.language-button {
  background: transparent;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 500;
  color: #c7d0d7;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(237, 226, 201, 0.45);
  font-size: 12px;
  font-weight: 500;
}
.header-contact span:last-child {
  color: var(--gold);
  font-size: 18px;
  line-height: 14px;
}
.header-contact:hover {
  border-color: var(--gold);
}
.experience {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.story-copy {
  position: absolute;
  top: 50%;
  left: 8.3vw;
  transform: translateY(-54%);
  width: min(43vw, 610px);
  pointer-events: auto;
  transition:
    opacity 0.25s,
    filter 0.25s;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #bccbd6;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  line-height: 1.5;
}
.status-dot {
  height: 5px;
  width: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 13px rgba(230, 195, 143, 0.45);
}
h1 {
  font-family: var(--font-sans);
  font-size: clamp(42px, 5.6vw, 92px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  text-wrap: balance;
}
h1 span,
h1 em {
  display: block;
}
h1 em {
  font: inherit;
  color: var(--gold);
  letter-spacing: inherit;
}
html[lang="zh"] h1 {
  font-size: clamp(42px, 5.2vw, 84px);
  letter-spacing: -0.025em;
  line-height: 1.24;
}
html[lang="zh"] .eyebrow {
  letter-spacing: 0.08em;
}
.story-description {
  font-size: 15px;
  line-height: 1.75;
  max-width: 360px;
  color: #bdc9d3;
  margin: 0 0 26px;
  letter-spacing: 0;
}
.service-note {
  margin: -8px 0 25px;
  max-width: 320px;
}
.service-note span:first-child {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--service-color, var(--gold));
  margin-bottom: 8px;
}
.service-note span:last-child {
  font-size: 14px;
  line-height: 1.75;
  color: #c8d2db;
}
.story-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(186, 210, 228, 0.38);
  padding: 9px 0 13px;
  font-size: 13px;
  font-weight: 550;
  min-width: 185px;
  color: var(--ink);
  text-align: left;
}
.action-arrow {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(230, 195, 143, 0.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 15px;
  transition:
    background 0.2s,
    transform 0.3s;
}
.primary-action:hover {
  border-color: var(--gold);
}
.primary-action:hover .action-arrow {
  background: rgba(230, 195, 143, 0.12);
  transform: rotate(45deg);
}
.demo-status {
  margin-top: 22px;
}
.demo-caption {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #8193a5;
}
.demo-status p {
  font-size: 12px;
  margin: 9px 0 11px;
  color: var(--gold);
  min-height: 18px;
}
.demo-track {
  display: flex;
  gap: 4px;
  width: 170px;
}
.demo-track i {
  width: 25%;
  height: 2px;
  background: #364958;
  transition: background 0.4s;
}
.demo-track i.active {
  background: var(--gold);
}
.end-links {
  display: flex;
  gap: 24px;
  margin-top: 27px;
  font-size: 12px;
  color: #a4b4c3;
}
.end-links a:hover {
  color: var(--gold);
}
.service-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.service-pin {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: rgba(13, 29, 44, 0.78);
  border: 1px solid rgba(173, 203, 225, 0.25);
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  pointer-events: auto;
  backdrop-filter: blur(7px);
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
  min-height: 38px;
}
.service-pin i {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: var(--node-color);
  box-shadow: 0 0 10px var(--node-color);
}
.service-pin:hover,
.service-pin[aria-pressed="true"] {
  background: rgba(28, 49, 68, 0.9);
  border-color: var(--node-color);
  color: var(--node-color);
}
.scene-caption {
  position: absolute;
  right: 6vw;
  top: 21%;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #8d9fae;
  font-size: 8px;
  letter-spacing: 1.8px;
  transition: opacity 0.3s;
}
.caption-line {
  width: 30px;
  height: 1px;
  background: #526779;
}
.caption-coordinate {
  margin-left: 13px;
  font-size: 9px;
  color: #bac7d3;
}
.experience-tools {
  position: absolute;
  bottom: 144px;
  left: 8.3vw;
  right: 6vw;
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.interaction-hint {
  font-size: 11px;
  letter-spacing: 0;
  color: #95a7b6;
  margin-right: auto;
}
.light-control {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}
.light-control label {
  color: #b7c5d1;
  display: flex;
}
.light-control input {
  width: 69px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  appearance: none;
  background: transparent;
}
.light-control input::-webkit-slider-runnable-track {
  height: 1px;
  background: #526779;
}
.light-control input::-moz-range-track {
  height: 1px;
  background: #526779;
}
.light-control input::-webkit-slider-thumb {
  appearance: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: -3px;
}
.light-control input::-moz-range-thumb {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
}
.motion-button {
  background: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #b7c5d1;
  pointer-events: auto;
}
.play-icon {
  display: none;
}
.motion-button[aria-pressed="true"] .play-icon {
  display: block;
}
.motion-button[aria-pressed="true"] .pause-icon {
  display: none;
}
.chapter-nav {
  position: absolute;
  bottom: 41px;
  left: 8.3vw;
  right: 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: auto;
  border-top: 1px solid var(--line);
}
.chapter-nav > a {
  padding: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #a1b0be;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s;
}
.chapter-nav > a:last-child {
  justify-content: flex-end;
}
.chapter-nav > a[aria-current],
.chapter-nav > a:hover {
  color: var(--ink);
}
.chapter-number {
  font-size: 10px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #8092a3;
}
.chapter-nav > a[aria-current] .chapter-number {
  color: var(--gold);
}
.chapter-progress {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}
.chapter-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0.02);
  transform-origin: left;
}
.scroll-track > div {
  height: 100svh;
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.scroll-track {
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.no-script {
  position: relative;
  z-index: 20;
  margin: 100svh 5vw 5vw;
  padding: 30px;
  background: #122131;
}
.no-script a {
  display: block;
  margin-top: 15px;
}
.scene-unavailable .world {
  display: none;
}
.scene-unavailable .service-pins {
  inset: 33% 7vw auto 60%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.scene-unavailable .service-pin {
  position: static !important;
  transform: none;
  left: auto !important;
  top: auto !important;
}
.scene-unavailable .light-control {
  display: none;
}
.scene-unavailable .motion-button {
  display: none;
}
.scene-unavailable .ambient i {
  opacity: 0.6;
}
@media (min-width: 1600px) {
  .story-copy {
    left: 10vw;
  }
  .chapter-nav,
  .experience-tools {
    left: 10vw;
    right: 8vw;
  }
  .header {
    padding: 34px 5vw;
  }
  .story-description,
  .service-note span:last-child {
    font-size: 16px;
  }
  .primary-action {
    font-size: 13px;
  }
  .chapter-nav > a {
    font-size: 12px;
  }
}
@media (max-width: 1000px) {
  .header-note {
    display: none;
  }
  .story-copy {
    left: 6vw;
    width: 46vw;
  }
  h1 {
    font-size: 5.8vw;
  }
  .story-description {
    max-width: 310px;
    font-size: 14px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .chapter-nav,
  .experience-tools {
    left: 6vw;
  }
  .scene-caption {
    font-size: 7px;
    right: 4vw;
  }
  .caption-coordinate {
    display: none;
  }
}
@media (max-width: 700px) {
  .header {
    padding: 22px 6vw;
    gap: 12px;
  }
  .brand {
    font-size: 22px;
    gap: 7px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .header-actions {
    gap: 21px;
  }
  .header-contact {
    font-size: 11px;
    gap: 19px;
    padding: 7px 0;
  }
  .language-button {
    font-size: 11px;
  }
  .story-copy {
    left: 8vw;
    right: 8vw;
    width: auto;
    top: 15.5svh;
    transform: none;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 19px;
    letter-spacing: 0.1em;
  }
  h1 {
    font-size: clamp(36px, 9.8vw, 64px);
    line-height: 1.1;
    margin-bottom: 18px;
  }
  html[lang="zh"] h1 {
    font-size: clamp(34px, 9.6vw, 60px);
    line-height: 1.24;
  }
  .story-description {
    font-size: 13px;
    line-height: 1.7;
    max-width: 310px;
    margin-bottom: 13px;
  }
  .primary-action {
    font-size: 12px;
    min-width: 168px;
    padding: 5px 0 8px;
    gap: 27px;
  }
  .action-arrow {
    width: 23px;
    height: 23px;
    font-size: 14px;
  }
  .service-note {
    margin: 0 0 12px;
    max-width: 290px;
  }
  .service-note span:first-child {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .service-note span:last-child {
    font-size: 12px;
  }
  .experience[data-chapter="1"] .story-description {
    display: none;
  }
  .service-pin {
    padding: 8px 10px;
    font-size: 11px;
    gap: 7px;
    min-height: 35px;
  }
  .scene-caption {
    top: auto;
    bottom: 23%;
    right: 8vw;
    font-size: 6px;
    letter-spacing: 1.4px;
    opacity: 0.6;
  }
  .caption-line {
    width: 14px;
  }
  .experience[data-chapter="1"] .scene-caption {
    opacity: 0;
  }
  .experience-tools {
    left: 8vw;
    right: 8vw;
    bottom: 105px;
    gap: 10px;
  }
  .interaction-hint {
    font-size: 10px;
    letter-spacing: 0;
  }
  .light-control {
    gap: 7px;
  }
  .light-control input {
    width: 45px;
  }
  .motion-button {
    width: 27px;
    height: 27px;
  }
  .chapter-nav {
    left: 8vw;
    right: 8vw;
    bottom: 24px;
    gap: 8px;
  }
  .chapter-nav > a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 18px;
    font-size: 11px;
    line-height: 1.4;
  }
  .chapter-nav > a:last-child {
    align-items: flex-end;
  }
  .chapter-number {
    font-size: 9px;
  }
  .ambient {
    background:
      radial-gradient(
        ellipse at 62% 64%,
        rgba(49, 83, 106, 0.32),
        transparent 46%
      ),
      radial-gradient(
        ellipse at 28% 74%,
        rgba(151, 121, 81, 0.1),
        transparent 35%
      ),
      #090f1b;
  }
  .ambient i {
    width: 75vw;
    left: 13%;
    top: 43%;
  }
  .ambient i:nth-child(2) {
    background: radial-gradient(
      ellipse,
      rgba(196, 157, 102, 0.14),
      transparent 65%
    );
    width: 65vw;
    left: 18%;
    top: 46%;
  }
  .ambient i:nth-child(3) {
    width: 68vw;
    left: 16%;
    top: 45%;
  }
  .demo-status {
    margin-top: 13px;
  }
  .demo-caption {
    font-size: 7px;
  }
  .demo-status p {
    margin: 5px 0 8px;
    font-size: 11px;
  }
  .end-links {
    margin-top: 17px;
    font-size: 11px;
    gap: 23px;
  }
  .scene-unavailable .service-pins {
    inset: 57% 8vw auto;
    justify-content: center;
  }
}
@media (max-height: 740px) and (max-width: 700px) {
  .header {
    padding-top: 17px;
  }
  .story-copy {
    top: 14.5svh;
  }
  .eyebrow {
    margin-bottom: 13px;
  }
  h1 {
    font-size: clamp(34px, 9.5vw, 56px);
    margin-bottom: 12px;
  }
  html[lang="zh"] h1 {
    font-size: clamp(32px, 9.2vw, 54px);
  }
  .story-description {
    font-size: 12px;
    max-width: 300px;
    margin-bottom: 8px;
  }
  .experience-tools {
    bottom: 91px;
  }
  .chapter-nav {
    bottom: 17px;
  }
  .chapter-nav > a {
    padding-top: 13px;
    font-size: 10px;
  }
  .scene-caption {
    display: none;
  }
  .demo-status {
    margin-top: 9px;
  }
  .demo-caption {
    font-size: 6px;
  }
  .demo-status p {
    margin: 4px 0 7px;
    font-size: 10px;
  }
  .demo-track {
    width: 140px;
  }
  .service-note span:last-child {
    font-size: 11px;
  }
  .service-note {
    margin-bottom: 8px;
  }
}
@media (max-height: 560px) and (min-width: 701px) {
  .header {
    padding-top: 16px;
  }
  .story-copy {
    top: 44%;
  }
  h1 {
    font-size: 7.4vh;
    margin-bottom: 14px;
  }
  .eyebrow {
    margin-bottom: 15px;
  }
  .story-description {
    font-size: 11px;
    margin-bottom: 10px;
    max-width: 270px;
  }
  .experience-tools {
    bottom: 81px;
  }
  .chapter-nav {
    bottom: 14px;
  }
  .chapter-nav > a {
    padding-top: 15px;
  }
  .demo-status {
    margin-top: 8px;
  }
  .scene-caption {
    top: 20%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.flow-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.flow-labels span {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #a5b8c9;
  white-space: nowrap;
  transition: color 0.3s;
}
.flow-labels span.active {
  color: #e8caa4;
}
.scene-unavailable .flow-labels {
  display: none;
}
@media (max-width: 700px) {
  .flow-labels span {
    font-size: 9px;
    letter-spacing: 0;
  }
}
/* Clear service deliverables and one case at a time, inside the same scene. */
.experience[data-chapter="1"] h1 {
  font-size: clamp(34px, 4.2vw, 70px);
  margin-bottom: 25px;
}
.experience[data-chapter="2"] h1 {
  font-size: clamp(34px, 4.1vw, 66px);
  margin-bottom: 22px;
}
.experience[data-chapter="1"] .eyebrow,
.experience[data-chapter="2"] .eyebrow {
  margin-bottom: 22px;
  letter-spacing: 0.1em;
}
.service-note {
  max-width: 380px;
  margin: 0 0 24px;
}
#service-description {
  font-size: 15px;
  line-height: 1.75;
  color: #c6d3df;
  margin: 0 0 20px;
}
.deliverable-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.service-note .detail-label {
  display: block;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #94a8ba;
  margin: 0;
}
#service-deliverables {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
}
#service-deliverables li {
  font-size: 11px;
  font-weight: 500;
  color: var(--service-color, var(--gold));
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(168, 194, 217, 0.2);
}
.secondary-action {
  font-size: 12px;
  font-weight: 500;
  color: #acbdcb;
  white-space: nowrap;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.secondary-action:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 23px;
  max-width: 410px;
}
.case-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 500;
  color: #a5b8c9;
  line-height: 1.2;
}
.case-button:hover {
  border-color: #8ca6bc;
  color: #e6edf4;
}
.case-button[aria-pressed="true"] {
  color: var(--gold);
  border-color: rgba(230, 195, 143, 0.6);
  background: rgba(223, 199, 146, 0.07);
}
.case-facts {
  max-width: 440px;
  margin: 0 0 20px;
  display: grid;
  gap: 13px;
}
.case-facts > div {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  align-items: baseline;
}
.case-facts dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #94a8ba;
  line-height: 1.6;
}
.case-facts dd {
  font-size: 14px;
  line-height: 1.6;
  color: #c6d3df;
  margin: 0;
}
.case-facts > div:last-child dd {
  color: #decaab;
}
.experience[data-chapter="2"] .primary-action {
  min-width: 163px;
}
.experience[data-chapter="2"] .demo-status {
  margin-top: 15px;
}
.experience[data-chapter="2"] .demo-caption {
  display: none;
}
.experience[data-chapter="2"] .demo-status p {
  font-size: 11px;
  margin: 0 0 8px;
  min-height: 17px;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .experience[data-chapter="1"] h1 {
    font-size: 4.4vw;
  }
  .experience[data-chapter="2"] h1 {
    font-size: 4.4vw;
  }
  .case-facts {
    max-width: min(330px, 40vw);
  }
  .case-facts > div {
    grid-template-columns: 65px 1fr;
    gap: 8px;
  }
  .case-facts dd {
    font-size: 12px;
  }
  .secondary-action {
    font-size: 11px;
  }
  .experience[data-chapter="1"] .primary-action {
    min-width: 154px;
    font-size: 12px;
    gap: 17px;
  }
  .experience[data-chapter="2"] .primary-action {
    min-width: 140px;
    font-size: 12px;
    gap: 18px;
  }
  #service-description {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .experience[data-chapter="1"] .story-copy,
  .experience[data-chapter="2"] .story-copy {
    top: 13svh;
  }
  .experience[data-chapter="1"] h1 {
    font-size: clamp(28px, 8.4vw, 54px);
    margin-bottom: 17px;
  }
  .experience[data-chapter="2"] h1 {
    font-size: clamp(28px, 8.2vw, 48px);
    margin-bottom: 15px;
  }
  html[lang="zh"] .experience[data-chapter="1"] h1 {
    font-size: clamp(28px, 8.2vw, 50px);
  }
  html[lang="zh"] .experience[data-chapter="2"] h1 {
    font-size: clamp(28px, 8.1vw, 47px);
  }
  .experience[data-chapter="1"] .eyebrow,
  .experience[data-chapter="2"] .eyebrow {
    font-size: 9px;
    margin-bottom: 14px;
    letter-spacing: 0.08em;
  }
  #service-description {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 15px;
    max-width: 310px;
  }
  .service-note {
    margin-bottom: 17px;
    max-width: 330px;
  }
  .deliverable-row {
    gap: 11px;
  }
  .service-note .detail-label {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  #service-deliverables {
    gap: 6px 10px;
  }
  #service-deliverables li {
    font-size: 10px;
    padding-bottom: 3px;
  }
  .story-actions {
    gap: 19px;
  }
  .secondary-action {
    font-size: 11px;
  }
  .experience[data-chapter="1"] .primary-action,
  .experience[data-chapter="2"] .primary-action {
    min-width: 0;
    gap: 18px;
    font-size: 12px;
  }
  .case-nav {
    gap: 5px;
    margin-bottom: 16px;
  }
  .case-button {
    padding: 7px 10px;
    font-size: 10px;
    min-height: 30px;
  }
  .case-facts {
    gap: 9px;
    margin-bottom: 14px;
    max-width: 330px;
  }
  .case-facts > div {
    grid-template-columns: 60px 1fr;
    gap: 9px;
  }
  .case-facts dt {
    font-size: 9px;
    letter-spacing: 0.02em;
  }
  .case-facts dd {
    font-size: 12px;
    line-height: 1.55;
  }
  .experience[data-chapter="2"] .demo-status {
    margin-top: 12px;
  }
  .experience[data-chapter="2"] .demo-status p {
    font-size: 10px;
    line-height: 1.5;
    max-width: 310px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .experience[data-chapter="1"] .story-copy,
  .experience[data-chapter="2"] .story-copy {
    top: 12.5svh;
  }
  .experience[data-chapter="1"] h1 {
    font-size: clamp(27px, 8vw, 34px);
    margin-bottom: 12px;
  }
  .experience[data-chapter="2"] h1 {
    font-size: clamp(27px, 7.8vw, 32px);
    margin-bottom: 11px;
  }
  html[lang="zh"] .experience[data-chapter="1"] h1,
  html[lang="zh"] .experience[data-chapter="2"] h1 {
    font-size: clamp(27px, 7.8vw, 32px);
  }
  .case-nav {
    margin-bottom: 12px;
    gap: 4px;
  }
  .case-button {
    padding: 6px;
    font-size: 10px;
    min-height: 28px;
  }
  .case-facts {
    gap: 7px;
    margin-bottom: 10px;
  }
  .case-facts > div {
    grid-template-columns: 56px 1fr;
    gap: 7px;
  }
  .case-facts dd {
    font-size: 11px;
    line-height: 1.5;
  }
  .case-facts dt {
    font-size: 9px;
  }
  #service-description {
    font-size: 12px;
    margin-bottom: 11px;
  }
  .service-note {
    margin-bottom: 12px;
  }
  #service-deliverables li {
    font-size: 10px;
  }
  .experience[data-chapter="2"] .demo-status {
    margin-top: 9px;
  }
  .experience[data-chapter="2"] .demo-status p {
    font-size: 10px;
    margin-bottom: 5px;
  }
}
/* Keep case copy clear of the fixed controls on shorter desktop windows. */
@media (max-height: 820px) and (min-width: 701px) {
  .story-copy {
    top: calc(50% - 24px);
  }
  .experience[data-chapter="2"] .story-copy {
    top: calc(50% - 30px);
  }
  .experience[data-chapter="2"] h1 {
    font-size: clamp(32px, 4.1vw, 5.9vh);
    margin-bottom: 16px;
  }
  .experience[data-chapter="2"] .eyebrow {
    margin-bottom: 14px;
  }
  .case-nav {
    margin-bottom: 15px;
  }
  .case-facts {
    gap: 10px;
    margin-bottom: 16px;
  }
  .experience[data-chapter="2"] .demo-status {
    margin-top: 10px;
  }
}
@media (max-height: 560px) and (min-width: 701px) {
  .experience[data-chapter="2"] h1 {
    font-size: 5.5vh;
    margin-bottom: 11px;
  }
  .experience[data-chapter="2"] .eyebrow {
    margin-bottom: 9px;
  }
  .case-nav {
    margin-bottom: 12px;
  }
  .case-button {
    padding: 5px 10px;
  }
  .case-facts {
    gap: 6px;
    margin-bottom: 10px;
  }
  .case-facts dd {
    font-size: 10px;
    line-height: 1.4;
  }
  .experience[data-chapter="2"] .demo-status {
    margin-top: 7px;
  }
}
.flow-labels span {
  padding: 4px 7px;
  border: 1px solid rgba(163, 191, 215, 0.14);
  border-radius: 6px;
  background: rgba(10, 23, 36, 0.78);
  text-shadow: 0 1px 5px #0a1420;
}
@media (max-width: 700px) {
  .flow-labels span {
    padding: 3px 5px;
  }
}

/* The Living Business: one calm centre, five connected capabilities. */
.business-core-label {
  visibility: hidden;
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #d2d9dc;
  white-space: nowrap;
  pointer-events: none;
}
.scene-unavailable .business-core-label {
  display: none;
}
.experience[data-chapter="2"] .scene-caption {
  top: 68%;
}
@media (max-width: 700px) {
  .business-core-label {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .experience[data-chapter="2"] .scene-caption {
    display: none;
  }
  .scene-caption {
    bottom: 17.8%;
  }
}

@media (min-width: 701px) {
  .scene-caption {
    top: 14%;
  }
}

.scene-ready .business-core-label {
  visibility: visible;
}

/* One quiet control for the opening sculpture, projected beside the artwork. */
.hero-assemble {
  position: absolute;
  left: 73%;
  top: 74%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(190, 207, 220, 0.2);
  border-radius: 24px;
  background: rgba(10, 21, 32, 0.72);
  backdrop-filter: blur(10px);
  color: #b6c6d1;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  visibility: hidden;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s;
}
.hero-assemble svg {
  color: var(--gold);
}
.hero-assemble:hover,
.hero-assemble[aria-pressed="true"] {
  color: var(--gold);
  border-color: rgba(225, 194, 153, 0.5);
  background: rgba(38, 37, 32, 0.76);
}
.scene-ready .hero-assemble {
  visibility: visible;
}
.scene-unavailable .hero-assemble {
  display: none;
}
@media (max-width: 700px) {
  .experience[data-chapter="0"] .scene-caption,
  .experience[data-chapter="0"] .interaction-hint {
    display: none;
  }
  .experience[data-chapter="0"] .light-control {
    margin-left: auto;
  }
  .hero-assemble {
    position: fixed;
    top: auto !important;
    left: 8vw !important;
    bottom: 102.5px;
    transform: none;
    min-height: 32px;
    padding: 6px 11px;
    gap: 7px;
    font-size: 10px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .hero-assemble {
    bottom: 88.5px;
  }
}

/* Services are visible from the opening frame; every entry leads into the scene. */
.service-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 430px;
  margin: -5px 0 22px;
}
.service-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #c3ced8;
  background: rgba(20, 33, 47, 0.3);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.service-shortcut:hover,
.service-shortcut:focus-visible {
  border-color: var(--service-color);
  color: var(--service-color);
  background: rgba(30, 46, 62, 0.6);
}

/* A manual case-study deck, within the original continuous Three.js journey. */
.experience[data-chapter="2"] .story-copy {
  touch-action: pan-y;
}
.experience[data-chapter="2"] .story-copy:focus-visible {
  outline: 1px solid var(--case-accent, var(--gold));
  outline-offset: 12px;
}
.case-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  max-width: 440px;
  margin-bottom: 21px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  user-select: none;
}
.case-series,
.case-source {
  color: var(--case-accent, var(--gold));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.case-source {
  letter-spacing: 0;
  border-bottom: 1px solid transparent;
}
.case-source:hover {
  border-color: currentColor;
}
.case-controls {
  display: flex;
  align-items: center;
  gap: 11px;
}
.case-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 34, 48, 0.45);
  color: #d9e1e7;
  font-size: 17px;
  line-height: 1;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.case-arrow:hover,
.case-arrow:focus-visible {
  color: var(--case-accent, var(--gold));
  border-color: var(--case-accent, var(--gold));
  background: rgba(45, 60, 75, 0.7);
}
.case-counter {
  min-width: 43px;
  color: #acbecd;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.case-pagination {
  display: flex;
  gap: 7px;
  max-width: 240px;
  margin-top: 11px;
}
.case-pagination .case-button {
  display: grid;
  place-items: center;
  flex: 1;
  min-width: 0;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.case-button span {
  display: block;
  width: 100%;
  height: 2px;
  background: #3c4d5d;
  transition:
    background 0.2s,
    transform 0.2s;
}
.case-button[aria-pressed="true"] span,
.case-button:hover span,
.case-button:focus-visible span {
  background: var(--case-accent, var(--gold));
  transform: scaleY(1.5);
}
.experience[data-chapter="2"] .demo-status {
  margin-top: 11px;
}
.experience[data-chapter="2"] .demo-status p {
  min-height: 16px;
  margin-bottom: 6px;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .case-nav {
    max-width: min(330px, 40vw);
  }
  .case-controls {
    gap: 7px;
  }
  .service-shortcut {
    padding-inline: 8px;
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  .service-shortcuts {
    margin-bottom: 15px;
    gap: 5px;
  }
  .service-shortcut {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10px;
  }
  .case-nav {
    margin-bottom: 15px;
    padding-bottom: 8px;
  }
  .case-series {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .case-arrow {
    width: 36px;
    height: 36px;
  }
  .case-controls {
    gap: 8px;
  }
  .case-counter {
    font-size: 10px;
  }
  .case-pagination {
    margin-top: 8px;
    max-width: 220px;
  }
}
@media (min-width: 701px) and (max-height: 820px) {
  .case-nav {
    margin-bottom: 14px;
    padding-bottom: 7px;
  }
  .case-arrow {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .service-shortcuts {
    margin-top: 0;
    margin-bottom: 12px;
  }
  .case-nav {
    margin-bottom: 12px;
    padding-bottom: 6px;
  }
  .case-arrow {
    width: 32px;
    height: 32px;
  }
  .case-pagination {
    margin-top: 7px;
  }
}
