/* One inset for all numbered chapters: original gallery width, reduced by 10%. */
:root {
  --page-paper: #faf9f5;
  --chapter-space-before: clamp(52px, 5vw, 84px);
  --chapter-space-after: clamp(60px, 6vw, 100px);
  --chapter-number-size: clamp(26px, 2vw, 38px);
  --focal-mark-height: calc(.8 * var(--chapter-number-size));
  --chapter-active-stroke: 1.6;
  --sequence-width: calc(var(--inset-ratio, .8222222222) * 90%);
  --sequence-line: color-mix(in srgb, var(--intro-ink) 35%, transparent);
  --sequence-panel: color-mix(in srgb, var(--intro-ground) 94%, var(--intro-ink));
}
#starHero ~ .sequence-section,
#starHero ~ .sequence-interlude { border-block-start: 0; }
.sequence-section,
#platform-intro.sequence-section {
  display: block;
  padding: var(--chapter-space-before) 0 var(--chapter-space-after);
  margin: 0;
  min-height: 0;
  background: var(--intro-ground);
  color: var(--intro-ink);
  scroll-margin-top: calc(var(--nav-height, 72px) + 20px);
}
.sequence-shell { width: var(--sequence-width); margin-inline: auto; }
.chapter-divider {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.3vw, 38px);
  margin: 0 0 clamp(32px, 3vw, 48px) calc((100% - var(--sequence-width)) / 2 + var(--sequence-width) * .26);
  color: var(--intro-ink);
  opacity: .72;
}
.chapter-divider span {
  font: italic 700 var(--chapter-number-size)/1 var(--mktc-font-sans);
  font-variant-numeric: tabular-nums;
}
.chapter-divider strong {
  transform: translateX(calc(-1 * var(--chapter-rule-extension, 0px)));
  font: 600 calc(var(--chapter-number-size) / 2)/1.2 var(--mktc-font-sans);
  letter-spacing: .08em;
  white-space: nowrap;
}
.chapter-dot { font-style: normal; }
.chapter-divider strong span { font-size: 1em; }
.chapter-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  margin-left: calc(-1 * var(--chapter-rule-extension, 0px));
  background: var(--sequence-line);
}
.sequence-header { text-align: center; margin: 0 auto 26px; }
.sequence-eyebrow {
  color: var(--intro-muted);
  font: 600 clamp(14px, 1.1vw, 18px)/1.5 var(--mktc-font-sans);
  letter-spacing: .14em;
  margin: 0 0 clamp(26px, 3vw, 44px);
}
.sequence-title {
  margin: 0;
  font: 400 clamp(26px, 2.4vw, 44px)/1.4 var(--mktc-font-sans);
  letter-spacing: 0;
  text-wrap: balance;
}
.sequence-description {
  margin: 0 auto 40px;
  max-width: 80ch;
  font: 400 clamp(15px, 1.1vw, 19px)/1.8 var(--mktc-font-sans);
  color: var(--intro-muted);
  text-align: center;
  text-wrap: balance;
}
.recognize-strip {
  min-height: clamp(132px, 12vw, 196px);
  padding: clamp(24px, 3vw, 44px);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--sequence-panel);
  margin-top: 48px;
}
.recognize-strip h3 { margin: 0; font: 600 24px/1.2 var(--mktc-font-sans); letter-spacing: -.025em; }
.recognize-strip > span { font-size: 12px; line-height: 1.5; border: 1px solid var(--sequence-line); padding: 2px 8px; border-radius: 20px; }
.sequence-section .chapter-gallery { margin: 12px 0 0; }
.sequence-section .chapter-grid { padding: 0; gap: 12px; }
#workspaces {
  container-type: inline-size;
  --workspace-preview-scale: 1.3;
  --chapter-space-after: clamp(30px, 3vw, 50px);
}
#workspaces .merged-workspace {
  width: min(calc(100% * var(--workspace-preview-scale)), 100cqw);
  margin: 0 0 0 50%;
  transform: translateX(-50%);
  padding: 16px 0 0;
  background: transparent;
  scroll-margin-top: calc(var(--nav-height, 72px) + 20px);
}
#workspaces #workspaceFrame {
  display: block;
  width: 100%;
  height: 480px;
  background: transparent;
  border: 0;
}
/* Match the main slogan poster in both themes. */
:root { --interlude-ground: var(--page-paper); --interlude-ink: #20292c; }
html[data-theme="light"] { --intro-ground: var(--page-paper); --interlude-ground: #19272b; --interlude-ink: #f5f2eb; }
.sequence-interlude { padding: clamp(88px, 9vw, 144px) 0; background: var(--interlude-ground); color: var(--interlude-ink); }
#workspaces + .sequence-interlude { padding-top: clamp(44px, 4.5vw, 72px); }
.interlude-eyebrow {
  margin: 0 0 clamp(32px, 3.5vw, 52px);
  text-align: center;
  font: 600 clamp(13px, 1.1vw, 17px)/1.5 var(--mktc-font-sans);
  letter-spacing: .22em;
  opacity: .7;
}
.interlude-title {
  margin: 0;
  text-align: center;
  font: 400 clamp(56px, 5.6vw, 96px)/1.45 var(--mktc-font-sans);
  text-wrap: balance;
}
.interlude-body {
  max-width: 66ch;
  margin: clamp(36px, 4vw, 60px) auto 0;
  --interlude-cjk-font: "PingFang SC";
  font: 400 clamp(15px, calc(1.25vw - 1px), 18px)/1.9 "Helvetica Neue", var(--interlude-cjk-font), Helvetica, Arial, sans-serif;
  text-align: center;
  text-wrap: balance;
  opacity: .8;
}
.interlude-body:lang(zh-Hant) { --interlude-cjk-font: "PingFang TC"; }
.interlude-body p { margin: 0; }
.interlude-body p + p { margin-top: 1.25em; }
.sequence-section .subscription-plans { padding: 28px 0 0; gap: 16px; }
.sequence-section .subscription-card { background: var(--sequence-panel); color: var(--intro-ink); min-height: 300px; }
.delivery-spaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 20px; }
.delivery-spaces article { display: flex; flex-direction: column; background: var(--sequence-panel); padding: clamp(24px, 3vw, 44px); }
.delivery-spaces h3 { font: 500 22px/1.4 var(--mktc-font-sans); margin: 0; }
.delivery-spaces p { margin: 8px 0 20px; font: 400 16px/1.65 var(--mktc-font-sans); color: var(--intro-muted); }
.delivery-spaces img { display: block; width: 100%; height: auto; margin-top: auto; }
#closing {
  /* Double each clear gap, measured from the edge of the mark. */
  --letter-end-space: calc(2 * clamp(48px, 5vw, 80px) - var(--focal-mark-height) / 2);
  position: relative;
  padding-bottom: calc(2 * var(--letter-end-space));
}
#closing .focal-plane-mark { top: calc(100% - var(--letter-end-space)); }
#closing .ecosystem-intro {
  margin-bottom: 32px;
  text-align: center;
}
#closing .ecosystem-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
#closing-message {
  touch-action: pan-y pinch-zoom;
  --closing-gap: clamp(12px, 3svh, 32px);
  --closing-text-rise: min(calc(2 * var(--closing-title-height, 0px)), var(--closing-top-room, 100vh));
  position: relative;
  box-sizing: border-box;
  min-height: calc(100dvh - var(--nav-height, 72px));
  display: grid;
  grid-template-rows: minmax(calc(1.5 * var(--closing-title-height, 0px)), 3fr) auto auto auto 1fr;
  justify-items: center;
  padding-block: calc(var(--closing-gap) / 2);
  scroll-margin-top: var(--nav-height, 72px);
}
#closing-message > :is(.sequence-shell, .closing-divider, .closing-signature) {
  translate: 0 calc(-1 * var(--closing-group-rise, 0px));
}
#closing-message > .sequence-shell {
  grid-row: 2;
  transform: translateY(calc(-1 * var(--closing-text-rise)));
}
.closing-divider {
  grid-row: 3;
  width: 50%;
  height: 1px;
  margin: calc(1.5 * var(--closing-gap)) 0;
  transform: translateY(calc(-.5 * var(--closing-text-rise))) scaleX(var(--rule-scale, 1));
  border: 0;
  background: var(--sequence-line);
  opacity: .72;
}
#closing-message .closing-signature {
  grid-row: 4;
  height: clamp(99px, 14.175vw, 156px);
  width: auto;
  max-width: 90%;
  aspect-ratio: 244 / 300;
}
.closing-signature svg { display: block; width: 100%; height: 100%; }
@media (scripting: enabled) {
  .closing-tagline path { opacity: 0; }
}
@media (max-width: 400px) and (max-height: 700px) {
  #closing-message:lang(en) { --closing-gap: 12px; }
}
html[data-theme="light"] .closing-signature { filter: brightness(0); }
#closing-message ~ .mktc-footer {
  background: #0d1416;
  color: #b8c2c2;
}
#closing-message ~ .mktc-footer .mktc-footer-brand img { filter: none; }
#closing-message ~ .mktc-footer .mktc-footer-top { border-bottom-color: #374144; }
#closing-message ~ .mktc-footer :is(.mktc-footer-tagline, .mktc-footer-nav-col-label, .mktc-footer-bottom) { color: #a5b0b1; }
#closing-message ~ .mktc-footer .mktc-footer-nav-col a { color: #cbd2d2; }
#closing-message ~ .mktc-footer .mktc-footer-nav-col a:is(:hover, :focus-visible) { color: white; }
/* Extend the opening's handwriting subsets with the glyphs used by the closing letter. */
@font-face {
  font-family: "Words Kalam";
  src: url("assets/handwriting/words-kalam.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Words WenKai SC";
  src: url("assets/handwriting/words-wenkai-sc.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Words WenKai TC";
  src: url("assets/handwriting/words-wenkai.woff") format("woff");
  font-display: swap;
}
#title-closing.sequence-title {
  font-family: "Xtory Futura", Futura, var(--mktc-font-sans);
  font-weight: 700;
  font-size: clamp(1.375rem, var(--opening-slogan-size, 2rem), 3rem);
  text-wrap: balance;
}
#title-closing.sequence-title:lang(zh) { font-family: var(--mktc-font-sans); }
.closing-letter {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  text-wrap: balance;
  line-break: strict;
  color: var(--intro-muted);
  font: 400 .81rem/1.4rem "Xtory Kalam", "Words Kalam", sans-serif;
}
.closing-letter:lang(zh-Hans) { font-family: "Xtory WenKai SC", "Words WenKai SC", "PingFang SC", sans-serif; }
.closing-letter:lang(zh-Hant) { font-family: "Xtory WenKai TC", "Words WenKai TC", "PingFang TC", sans-serif; }
html[data-theme="light"] .closing-letter { color: #606060; }
.closing-letter p { margin: 0; }
.closing-letter p + p { margin-block-start: 1.035rem; }
/* The countdown ends in a full-screen invitation to create. */
#action {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-height: calc(100dvh - var(--nav-height, 72px));
  padding-block: clamp(80px, 10svh, 128px);
  background: var(--interlude-ground);
  color: var(--interlude-ink);
}
.sequence-shell.action-inner { display: flex; flex-direction: column; align-items: center; text-align: center; margin-inline: auto; }
.action-countdown {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  margin-bottom: clamp(38px, 6svh, 68px);
  font: 400 clamp(12px, 1.1vw, 16px)/1 ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  opacity: .58;
}
.action-title {
  margin: 0;
  font: 700 clamp(48px, 15vw, 232px)/.95 "Xtory Futura", Futura, "Helvetica Neue", sans-serif;
  font-kerning: normal;
  letter-spacing: normal;
  white-space: nowrap;
  transform: translateX(var(--title-ink-offset, 0px));
}
.action-invitation {
  display: grid;
  width: max-content;
  margin-top: clamp(38px, 6svh, 64px);
  row-gap: 8px;
}
#action-credit-note {
  font: 400 clamp(11px, .85vw, 13px)/1.45 var(--mktc-font-sans);
  white-space: nowrap;
  opacity: .76;
}
.action-enter {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .5em;
  min-height: 48px;
  padding: 0 2px 8px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  text-decoration: none;
  font: 500 clamp(15px, 1.3vw, 20px)/1.4 var(--mktc-font-sans);
}
.action-enter:hover { opacity: .72; }
.action-enter:focus-visible { outline: 2px solid currentColor; outline-offset: 8px; }
/* Lens depth-of-field scale: narrow left throat, open toward the content. */
:root {
  --lens-base-width: clamp(18px, calc(8vw - 44px), 64px);
  --lens-line-width: calc(var(--lens-base-width) * .6);
  --lens-label-offset: calc(var(--lens-line-width) * .6);
  /* Half the previous visible gap: .2 * base width + 4px. */
  --lens-label-gap: calc(var(--lens-base-width) * .1 + 2px);
  --lens-label-width: 28px;
  --chapter-ruler-width: calc(var(--lens-label-offset) + var(--lens-label-gap) + var(--lens-label-width));
  --gallery-gap: clamp(6px, .8vw, 14px);
}
.chapter-ruler {
  position: fixed;
  z-index: 80;
  top: calc(50% + var(--nav-height, 72px) / 2);
  left: 0;
  transform: translateY(-50%);
  width: var(--chapter-ruler-width);
  height: var(--lens-height, 88px);
  color: var(--intro-ink);
}
.chapter-ruler[hidden], .chapter-ruler a[hidden] { display: none; }
.lens-scale {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--lens-line-width);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.lens-ray {
  fill: none;
  stroke: url(#chapter-ruler-ink);
  stroke-width: .5;
  stroke-linecap: butt;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: .35;
}
.lens-ray.is-major { opacity: .58; }
.lens-ray.is-current { opacity: 1; stroke-width: calc(var(--chapter-active-stroke) * .40625); }
.chapter-ruler a {
  position: absolute;
  top: var(--tick-y);
  left: var(--lens-label-offset);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: calc(var(--lens-label-gap) + var(--lens-label-width));
  height: 44px;
  padding-left: var(--lens-label-gap);
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  font: 300 13px/1 var(--mktc-font-sans);
  font-variant-numeric: tabular-nums;
  opacity: .52;
}
.chapter-ruler a[aria-current="location"] { opacity: .78; font-weight: 400; }
.chapter-ruler a[data-on-photo], .lens-ray[data-on-photo] {
  opacity: 1;
}
.chapter-ruler a[data-on-photo] { font-weight: 650; }
.chapter-ruler a[data-on-photo][aria-current="location"] { font-weight: 800; }
.lens-ray.is-minor[data-on-photo] { stroke-width: 1.5; }
.lens-ray.is-major[data-on-photo] { stroke-width: 2; }
.lens-ray.is-current[data-on-photo] { stroke-width: 2.75; }
.chapter-ruler a span {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.chapter-ruler a:is(:hover, :focus-visible) { opacity: 1; }
.chapter-ruler a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (min-width: 1200px) {
  .chapter-ruler a { font-size: 11.2px; }
}
@media (max-width: 700px) {
  :root {
    --chapter-gutter-mobile: 48px;
    --chapter-space-before: 38px;
    --chapter-space-after: 52px;
    --sequence-width: calc(100% - 2 * var(--chapter-gutter-mobile));
  }
  #workspaces { --chapter-space-after: 26px; }
  #workspaces + .sequence-interlude { padding-top: 24px; }
  .chapter-divider { margin-left: var(--chapter-gutter-mobile); margin-bottom: 22px; gap: 24px; }
  .chapter-divider strong { transform: none; }
  .chapter-divider::after { margin-left: 0; }
  #action {
    padding-block: 16px;
  }
  #action ~ .mktc-footer { border-block-start: 0; }
  .sequence-eyebrow { font-size: 14px; letter-spacing: .1em; margin-bottom: 24px; }
  .sequence-title { font-size: clamp(23px, 5.8vw, 32px); }
  .sequence-description { font-size: 15px; line-height: 1.8; margin-bottom: 24px; }
  .sequence-description br { display: none; }
  #closing-message:lang(en) .sequence-shell { width: calc(100% - 40px); }
  .recognize-strip { margin-top: 20px; padding: 16px; min-height: 72px; align-items: center; }
  .recognize-strip h3 { font-size: 22px; }
  .sequence-section .chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sequence-section .subscription-plans { gap: 10px; padding-top: 0; }
  .sequence-section .subscription-card { width: 100%; min-width: 0; min-height: 96px; aspect-ratio: auto; padding: 20px; }
  .sequence-interlude { padding-block: 48px; }
  .interlude-eyebrow { display: none; }
  .interlude-title { font-size: clamp(27px, 7.4vw, 44px); font-weight: 700; line-height: 1.3; }
  .interlude-body { margin-top: 22px; }
  .delivery-spaces { grid-template-columns: 1fr; gap: 12px; }
  :root { --chapter-ruler-width: 44px; }
  .chapter-ruler {
    --lens-line-width: 6px;
    --lens-label-gap: .75px;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
  }
  .chapter-ruler a { left: 0; width: 100%; padding-left: calc(var(--lens-line-width) + var(--lens-label-gap)); }
}

/* A horizontal focal-plane mark bridges the poster and the numbered sequence. */
#platform-intro.sequence-section {
  --chapter-transition-space: clamp(52px, 5vw, 84px);
  position: relative;
  padding-top: calc(var(--chapter-transition-space) * 4);
}
.focal-plane-mark {
  position: absolute;
  top: calc(var(--chapter-transition-space) * 2);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1.45em;
  height: var(--focal-mark-height);
  font-size: var(--chapter-number-size);
  color: var(--intro-ink);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--chapter-active-stroke);
  stroke-linecap: butt;
  pointer-events: none;
}
.focal-plane-mark > * { vector-effect: non-scaling-stroke; }
@media (max-width: 700px) {
  #action { touch-action: pan-y pinch-zoom; }
  #platform-intro.sequence-section { --chapter-transition-space: 21px; }
}

.slide-chapter .sequence-shell { width: 100%; }
.slide-chapter .sequence-header { width: var(--sequence-width); }
:is(.slide-chapter, #workspaces) .sequence-header { margin-bottom: .5px; }
.slide-chapter .sequence-title,
.ecosystem-intro .sequence-title,
#workspaces .sequence-title {
  font-weight: 700;
}
.slide-chapter .chapter-gallery { margin-top: 0; }
.slide-chapter .chapter-grid {
  --side: 20%;
  display: flex;
  gap: var(--gallery-gap);
  padding-inline: var(--side);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.slide-chapter .chapter-grid::-webkit-scrollbar { display: none; }
.workflow-step {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;
  scroll-snap-align: center;
}
.workflow-step .chapter-tile { width: 100%; aspect-ratio: 16 / 9; }
.workflow-step .chapter-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 40%, rgb(0 0 0 / 3%) 50%, rgb(0 0 0 / 11%) 62%,
    rgb(0 0 0 / 25%) 75%, rgb(0 0 0 / 43%) 89%, rgb(0 0 0 / 55%) 100%);
  mask-image: linear-gradient(to right, black 45%, rgb(0 0 0 / 86%));
}
.workflow-step .step-caption {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: clamp(26px, 5vw, 72px) 5.5% clamp(14px, 2.8vw, 44px);
  text-shadow: 0 1px 3px rgb(0 0 0 / 42%);
  color: #fff;
  text-align: left;
  font: 400 clamp(13px, 1.05vw, 16px)/1.5 var(--mktc-font-sans);
  pointer-events: none;
}
.step-caption strong { margin-inline-end: .7em; white-space: nowrap; font-size: 1.08em; font-weight: 700; }
html:lang(zh) .step-caption > span { font-size: calc(1em - 1px); }
#preview { scroll-margin-top: calc(var(--nav-height, 72px) + 20px); }
@media (min-width: 701px) {
  .production-slide .step-caption { padding-right: 28%; }
}
@media (max-width: 700px) {
  .workflow-step .chapter-tile::after {
    background: linear-gradient(to bottom,
      transparent, rgb(0 0 0 / 8%) 20%, rgb(0 0 0 / 24%) 40%,
      rgb(0 0 0 / 44%) 65%, rgb(0 0 0 / 56%) 85%, rgb(0 0 0 / 60%));
    mask-image: none;
  }
  .workflow-step .step-caption { padding: 18px 5% 10px; font-size: 12px; line-height: 1.35; }
  .step-caption strong { display: block; margin: 0 0 3px; }
}
#applications .step-caption {
  display: flex;
  align-items: center;
  gap: 15px;
}
.scenario-plan {
  display: inline-flex;
  opacity: 0.7;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #f5f5f7;
  color: #1d1d1f;
  text-shadow: none;
  text-decoration: none;
  pointer-events: auto;
}
@keyframes scenario-plan-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .scenario-plan { animation: scenario-plan-pulse 1.5s ease-in-out infinite; }
}
.step-caption .scenario-plan strong {
  margin: 0;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}
.scenario-plan:hover { background: #fff; }
.scenario-plan:focus-visible { outline: 2px solid #1675cf; outline-offset: 2px; }
@media (max-width: 700px) {
  #applications .step-caption { flex-direction: column; align-items: flex-start; gap: 5px; }
  .scenario-plan { min-height: 44px; padding-inline: 16px; }
}
.workflow-step-nav {
  display: flex;
  font-size: 14px;
  padding-bottom: .5em;
  justify-content: center;
  --tab-gap: clamp(2px, .75vw, 12px);
  --tab-padding-inline: clamp(1.5px, .25vw, 4px);
  gap: var(--tab-gap);
}
.workflow-step-nav button {
  translate: 0 .5em;
  padding: 6px var(--tab-padding-inline);
  min-height: 32px;
  border: 0;
  background: transparent;
  font: 400 1em/normal "Helvetica Neue", "PingFang TC", "PingFang SC", sans-serif;
  letter-spacing: normal;
  color: var(--workflow-nav-gray, #879498);
  cursor: pointer;
}
html:lang(zh-Hans) .workflow-step-nav button { font-family: "Helvetica Neue", "PingFang SC", sans-serif; }
html[data-theme="light"] .workflow-step-nav { --workflow-nav-gray: #868b8d; --workflow-nav-active: #000; }
@media (max-width: 880px) {
  .workflow-step-nav { font-size: 13px; }
}
@media (hover: hover) {
  .workflow-step-nav button:hover { color: var(--workflow-nav-active, var(--intro-ink)); }
}
.workflow-step-nav button[aria-current] {
  font-weight: 700;
  color: var(--workflow-nav-active, var(--intro-ink));
  text-decoration: underline;
  text-underline-offset: .35em;
}
.slide-chapter .workflow-step-nav + .chapter-grid { margin-top: 32px; }
@media (max-width: 700px), (orientation: landscape) and (max-height: 600px) and (pointer: coarse) {
  .workflow-step-nav {
    /* The space between words includes the padding on both adjacent buttons. */
    column-gap: calc(2 * (var(--tab-gap) + var(--tab-padding-inline)));
  }
  .workflow-step-nav button { font-size: .8em; }
  .focal-plane-mark {
    width: calc(1.45em * .3);
    height: calc(var(--focal-mark-height) * .3);
    stroke-width: calc(var(--chapter-active-stroke) * .3px);
  }
  .slide-chapter .workflow-step .step-caption {
    --photo-copy-size: 12px;
  }
  .slide-chapter .workflow-step .step-caption > span {
    font-size: var(--photo-copy-size);
  }
  .scenario-plan {
    position: relative;
    --pill-scale: .5;
    zoom: var(--pill-scale);
  }
  .step-caption .scenario-plan strong {
    font-size: calc(var(--photo-copy-size) / var(--pill-scale));
  }
  /* Keep a 44px touch target around the half-size pill. */
  .scenario-plan::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 88px);
    height: 88px;
    transform: translate(-50%, -50%);
  }
  #closing {
    --letter-end-space: calc((var(--chapter-space-after) + var(--chapter-space-before)) / 2);
  }
  .slide-chapter .chapter-grid {
    padding-inline: 0;
    gap: 0;
  }
  .slide-chapter .step-caption {
    padding-inline-start: max(5%, calc(var(--chapter-ruler-width) + 8px), env(safe-area-inset-left));
    padding-inline-end: max(5%, env(safe-area-inset-right));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
}

@media (orientation: landscape) and (max-height: 600px) and (pointer: coarse) {
  .slide-chapter .chapter-tile,
  #closing .ecosystem-photo {
    aspect-ratio: auto;
    height: 100vh;
    height: 100dvh;
  }
}

html:has(.workspace-detail[open]) { overflow: hidden; }
.workspace-detail {
  position: fixed;
  inset: 0;
  width: min(1440px, 96vw);
  height: 90dvh;
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--intro-ground);
  color: var(--intro-ink);
}
.workspace-detail[open] { display: flex; flex-direction: column; }
.workspace-detail::backdrop { background: rgb(0 0 0 / 68%); }
.workspace-detail header { display: flex; align-items: center; gap: 16px; padding: 10px clamp(12px, 2vw, 28px); }
.workspace-descriptions { flex: 1; }
.workspace-descriptions p { margin: 0; font: 400 14px/1.5 var(--mktc-font-sans); }
.workspace-descriptions strong { margin-inline-end: .7em; }
.workspace-detail button { width: 40px; height: 40px; padding: 0; border: 0; background: transparent; color: inherit; font: 24px/1 sans-serif; cursor: pointer; }
.workspace-detail iframe { flex: 1; min-height: 0; width: 100%; border: 0; }
