/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
/* Hallmark · genre: modern-minimal · macrostructure: Narrative Workflow · theme: Cobalt · enrichment: none · nav: N13 · footer: Ft2 · contrast: pending */

:root {
  --color-paper: oklch(98.5% 0.004 250);
  --color-paper-muted: oklch(95.5% 0.009 250);
  --color-surface: oklch(99.6% 0.002 250);
  --color-ink: oklch(22% 0.025 257);
  --color-body: oklch(35% 0.02 257);
  --color-muted: oklch(46% 0.018 257);
  --color-rule: oklch(84% 0.015 250);
  --color-rule-strong: oklch(67% 0.025 250);
  --color-accent: oklch(47% 0.19 255);
  --color-accent-hover: oklch(41% 0.18 255);
  --color-accent-soft: oklch(94% 0.035 255);
  --color-accent-ink: oklch(99% 0.003 250);
  --color-graphite: oklch(20% 0.028 257);
  --color-graphite-raised: oklch(25% 0.03 257);
  --color-night-text: oklch(95% 0.008 250);
  --color-night-muted: oklch(79% 0.018 250);
  --color-night-rule: oklch(40% 0.035 255);
  --color-focus: oklch(64% 0.2 255);
  --color-success: oklch(47% 0.12 150);
  --color-error: oklch(49% 0.18 28);

  --font-display: "DengXian", "Microsoft YaHei UI", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: clamp(1.125rem, 1.7vw, 1.35rem);
  --text-display: clamp(2.65rem, 7vw, 6.6rem);

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: clamp(5rem, 10vw, 9rem);

  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-whisper: 0 0.5rem 1.5rem oklch(20% 0.025 257 / 0.07);

  --duration-fast: 160ms;
  --duration-base: 360ms;
  --duration-slow: 720ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);

  --content-max: 82rem;
  --reading-max: 48rem;
  --header-height: 7.5rem;
  --stage-progress: 0.125;
  --z-header: 20;
  --z-skip: 40;
}

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

html {
  background: var(--color-paper);
  color: var(--color-ink);
  color-scheme: light dark;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--color-paper);
  color: var(--color-body);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.75;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 0.1875rem solid var(--color-focus);
  outline-offset: 0.1875rem;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: var(--z-skip);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: var(--color-accent-ink);
  transform: translateY(-200%);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
}

.presenter-bar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  min-height: var(--header-height);
  border-bottom: 0.0625rem solid var(--color-rule);
  background: var(--color-paper);
}

.presenter-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xs);
  align-items: center;
  min-height: var(--header-height);
  padding-block: var(--space-2xs);
}

.presenter-bar__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-xs);
}

.back-link,
.brand-link,
.control-button,
.journey-index__button,
.button-link,
.text-link {
  min-height: 2.75rem;
}

.back-link,
.brand-link,
.control-button,
.button-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.back-link {
  width: 2.75rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.brand-link {
  gap: var(--space-2xs);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: -0.08em;
}

.presenter-bar__status {
  grid-column: 1 / -1;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.status-index {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

.status-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presenter-bar__controls {
  display: grid;
  grid-template-columns: repeat(5, 2.75rem);
  gap: var(--space-3xs);
}

.control-button {
  width: 2.75rem;
  padding: 0;
  border: 0.0625rem solid var(--color-rule);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard);
}

.control-button[aria-pressed="true"] {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.control-button:active,
.back-link:active,
.button-link:active,
.journey-index__button:active {
  background: var(--color-accent-soft);
}

.control-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.control-button[data-state="loading"] {
  cursor: progress;
  opacity: 0.72;
}

.control-button[data-state="success"] {
  border-color: var(--color-success);
  color: var(--color-success);
}

.control-button[data-state="error"] {
  border-color: var(--color-error);
  color: var(--color-error);
}

.presenter-progress {
  position: absolute;
  right: 0;
  bottom: -0.0625rem;
  left: 0;
  height: 0.125rem;
  overflow: hidden;
  background: var(--color-rule);
}

.presenter-progress__fill {
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transform: scaleX(var(--stage-progress));
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-standard);
}

.hero {
  display: grid;
  gap: var(--space-xl);
  align-items: end;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(4rem, 11vh, 8rem) var(--space-2xl);
}

.eyebrow,
.section-kicker,
.stage-number,
.table-label,
.footer-label {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  margin: var(--space-md) 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__lead {
  max-width: 35rem;
  margin: 0;
  color: var(--color-body);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.hero__actions,
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.button-link,
.text-link {
  padding-inline: var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}

.button-link {
  border: 0.0625rem solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
}

.text-link {
  border: 0.0625rem solid var(--color-rule-strong);
  color: var(--color-ink);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 35rem;
  margin: var(--space-xl) 0 0;
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.hero__facts div {
  padding: var(--space-sm) var(--space-xs) 0 0;
}

.hero__facts dt {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
}

.hero__facts dd {
  margin: var(--space-3xs) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.journey-index {
  align-self: stretch;
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.journey-index__button {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  width: 100%;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) 0;
  border: 0;
  border-bottom: 0.0625rem solid var(--color-rule);
  background: transparent;
  color: var(--color-body);
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-standard), padding-left var(--duration-fast) var(--ease-standard);
}

.journey-index__button span:first-child {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.journey-index__button span:last-child {
  color: var(--color-muted);
}

.journey-index__button[aria-current="step"] {
  padding-left: var(--space-xs);
  color: var(--color-accent);
  font-weight: 700;
}

.journey-index__button[aria-current="step"] span:first-child,
.journey-index__button[aria-current="step"] span:last-child {
  color: var(--color-accent);
}

.workflow {
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.workflow-intro,
.principles__header,
.capability-index__header,
.closing {
  display: grid;
  gap: var(--space-md);
  padding-block: var(--space-3xl) var(--space-xl);
}

.workflow-intro h2,
.principles h2,
.capability-index h2,
.closing h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.workflow-intro p:last-child,
.principles__header p:last-child,
.capability-index__header p:last-child,
.closing > p {
  max-width: var(--reading-max);
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-stage {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding-block: var(--space-2xl);
  border-top: 0.0625rem solid var(--color-rule);
  scroll-margin-top: calc(var(--header-height) + var(--space-lg));
}

.workflow-stage:last-child {
  border-bottom: 0.0625rem solid var(--color-rule-strong);
}

.workflow-stage.is-active::before {
  position: absolute;
  top: -0.125rem;
  left: 0;
  width: min(8rem, 35%);
  height: 0.1875rem;
  background: var(--color-accent);
  content: "";
}

.stage-heading h3 {
  max-width: none;
  margin: var(--space-sm) 0 var(--space-xs);
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  white-space: nowrap;
}

.stage-heading p:last-child,
.stage-copy > p {
  max-width: 40rem;
  margin: 0;
}

.stage-copy > p {
  font-size: var(--text-lg);
}

.stage-copy details {
  margin-top: var(--space-lg);
  border-block: 0.0625rem solid var(--color-rule);
}

.stage-copy summary {
  min-height: 2.75rem;
  padding-block: var(--space-xs);
  color: var(--color-ink);
  font-weight: 700;
  cursor: pointer;
}

.stage-copy details p {
  max-width: 42rem;
  margin: 0;
  padding: 0 0 var(--space-md);
  color: var(--color-muted);
}

.stage-outcomes {
  margin: 0;
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.stage-outcomes div {
  display: grid;
  gap: var(--space-2xs);
  padding-block: var(--space-sm);
  border-bottom: 0.0625rem solid var(--color-rule);
}

.stage-outcomes dt {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stage-outcomes dd {
  margin: 0;
}

.stage-outcomes strong,
.stage-outcomes span {
  display: block;
}

.stage-outcomes strong {
  color: var(--color-ink);
}

.stage-outcomes span {
  margin-top: var(--space-3xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.principles,
.capability-index,
.closing {
  border-bottom: 0.0625rem solid var(--color-rule-strong);
}

.principles__list,
.capability-table {
  margin: 0 0 var(--space-3xl);
  padding: 0;
  border-top: 0.0625rem solid var(--color-rule-strong);
  list-style: none;
}

.principles__list li,
.capability-table__row {
  display: grid;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-bottom: 0.0625rem solid var(--color-rule);
}

.principles__list strong,
.capability-table__row strong {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.principles__list p,
.capability-table__row p {
  max-width: 44rem;
  margin: 0;
  color: var(--color-muted);
}

.closing {
  padding-bottom: var(--space-3xl);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-lg);
  padding-block: var(--space-lg);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
}

.site-footer a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.hero-reveal {
  opacity: 1;
}

.gsap-ready .presenter-progress i {
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .control-button:hover,
  .back-link:hover {
    border-color: var(--color-rule-strong);
    background: var(--color-paper-muted);
  }

  .button-link:hover {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
  }

  .text-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  .journey-index__button:hover {
    padding-left: var(--space-xs);
    color: var(--color-accent);
  }

  .site-footer a:hover {
    color: var(--color-accent);
  }
}

@media (min-width: 48rem) {
  .site-shell {
    width: min(calc(100% - 4rem), var(--content-max));
  }

  .presenter-bar__inner {
    grid-template-columns: minmax(12rem, 1fr) minmax(10rem, auto) auto;
  }

  .presenter-bar__status {
    grid-column: auto;
    justify-self: center;
  }

  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(19rem, 5fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .workflow-intro,
  .principles__header,
  .capability-index__header,
  .closing {
    grid-template-columns: minmax(0, 5fr) minmax(19rem, 7fr);
  }

  .workflow-intro .section-kicker,
  .principles__header .section-kicker,
  .capability-index__header .section-kicker,
  .closing .section-kicker {
    grid-column: 1;
  }

  .workflow-intro h2,
  .principles__header h2,
  .capability-index__header h2,
  .closing h2 {
    grid-column: 1;
  }

  .workflow-intro p:last-child,
  .principles__header p:last-child,
  .capability-index__header p:last-child,
  .closing > p,
  .closing__actions {
    grid-column: 2;
    align-self: end;
  }

  .workflow-intro p:last-child,
  .principles__header p:last-child,
  .capability-index__header p:last-child {
    grid-row: 2;
  }

  .closing > p {
    grid-row: 2;
  }

  .closing__actions {
    grid-row: 3;
    margin-top: 0;
  }

  .workflow-stage {
    grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 1.2fr) minmax(19rem, 1.45fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .stage-outcomes div {
    grid-template-columns: minmax(5rem, 0.55fr) minmax(0, 1.45fr);
  }

  .principles__list li,
  .capability-table__row {
    grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 6vw, 7rem);
  }
}

@media (min-width: 48rem) {
  .workflow-stage {
    grid-template-columns: minmax(13rem, 0.8fr) minmax(0, 1.15fr) minmax(19rem, 1.45fr);
    gap: clamp(1.75rem, 4vw, 4.5rem);
  }
}

@media (max-width: 47.99rem) {
  .stage-heading h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }
}

@media (min-width: 75rem) {
  .presenter-bar__controls {
    grid-template-columns: repeat(5, auto);
  }

  .control-button {
    width: auto;
    min-width: 2.75rem;
    padding-inline: var(--space-xs);
  }

  .control-button .control-label {
    display: inline;
    margin-left: var(--space-2xs);
  }
}

@media (max-width: 36rem) {
  .brand-link__text,
  .control-label {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .presenter-bar__identity {
    gap: var(--space-3xs);
  }

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

  .hero__facts div {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: var(--space-xs);
    border-bottom: 0.0625rem solid var(--color-rule);
  }

  .hero__actions,
  .closing__actions {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Existing semantic markup bindings */
.presenter-bar__inner,
.workflow-hero,
.workflow-intro,
.workflow-list,
.operating-principles,
.capability-index,
.closing-statement,
.site-footer {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
}

.presenter-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: var(--space-xs);
}

.icon-action {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.presenter-brand__mark {
  display: inline-grid;
  min-width: 4.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding-inline: var(--space-xs);
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.presenter-brand__copy {
  display: none;
  min-width: 0;
  line-height: 1.35;
}

.presenter-brand__copy strong,
.presenter-brand__copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.presenter-brand__copy strong {
  color: var(--color-ink);
  font-family: var(--font-display);
}

.presenter-brand__copy span {
  color: var(--color-muted);
  font-size: var(--text-xs);
}

.presenter-controls {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  gap: var(--space-3xs);
}

.presenter-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transform: scaleX(var(--stage-progress));
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-standard);
}

.workflow-hero {
  display: grid;
  gap: var(--space-xl);
  align-items: end;
  min-height: calc(100svh - var(--header-height));
  padding-block: clamp(4rem, 11vh, 8rem) var(--space-2xl);
}

.hero-kicker,
.section-sequence,
.closing-statement > div > p:first-child {
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.workflow-hero h1 {
  max-width: 12ch;
  margin: var(--space-md) 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.workflow-hero__lead {
  max-width: 35rem;
  margin: 0;
  font-size: var(--text-lg);
}

.workflow-hero__actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}

.action-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-md);
  border: 0.0625rem solid var(--color-rule-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.action-link--primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

.workflow-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 35rem;
  margin: var(--space-xl) 0 0;
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.workflow-facts div {
  padding: var(--space-sm) var(--space-xs) 0 0;
}

.workflow-facts dt {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
}

.workflow-facts dd {
  margin: var(--space-3xs) 0 0;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.journey-index__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 2.75rem;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.journey-index__head strong {
  color: var(--color-ink);
}

.journey-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-index button {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  width: 100%;
  min-height: 2.75rem;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) 0;
  border: 0;
  border-bottom: 0.0625rem solid var(--color-rule);
  background: transparent;
  color: var(--color-body);
  text-align: left;
  cursor: pointer;
}

.journey-index button span,
.journey-index button small {
  color: var(--color-muted);
}

.journey-index button span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.journey-index button[aria-current="step"] {
  padding-left: var(--space-xs);
  color: var(--color-accent);
}

.journey-index button[aria-current="step"] span,
.journey-index button[aria-current="step"] small {
  color: var(--color-accent);
}

.workflow-intro {
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.workflow-intro > div,
.section-heading,
.closing-statement > div {
  display: grid;
  gap: var(--space-md);
}

.section-heading {
  padding-block: var(--space-3xl) var(--space-xl);
}

.section-heading h2,
.closing-statement h2 {
  max-width: 17ch;
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p {
  max-width: var(--reading-max);
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.stage-heading > div > p {
  margin: var(--space-sm) 0 var(--space-3xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.stage-narrative .stage-summary {
  max-width: 40rem;
  margin: 0;
  font-size: var(--text-lg);
}

.stage-narrative details {
  margin-top: var(--space-lg);
  border-block: 0.0625rem solid var(--color-rule);
}

.stage-narrative summary {
  min-height: 2.75rem;
  padding-block: var(--space-xs);
  color: var(--color-ink);
  font-weight: 700;
  cursor: pointer;
}

.stage-narrative details p {
  max-width: 42rem;
  margin: 0;
  padding-bottom: var(--space-md);
  color: var(--color-muted);
}

.operating-principles,
.capability-index,
.closing-statement {
  border-bottom: 0.0625rem solid var(--color-rule-strong);
}

.principle-list,
.capability-table {
  margin: 0 0 var(--space-3xl);
  border-top: 0.0625rem solid var(--color-rule-strong);
}

.principle-list > div,
.capability-table article {
  display: grid;
  gap: var(--space-sm);
  padding-block: var(--space-lg);
  border-bottom: 0.0625rem solid var(--color-rule);
}

.principle-list dt,
.capability-table article > span {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

.principle-list dd {
  margin: 0;
}

.principle-list strong,
.principle-list span,
.capability-table strong,
.capability-table p {
  display: block;
}

.principle-list strong,
.capability-table strong {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}

.principle-list span,
.capability-table p {
  max-width: 44rem;
  margin: var(--space-3xs) 0 0;
  color: var(--color-muted);
}

.closing-statement {
  display: grid;
  gap: var(--space-lg);
  padding-block: var(--space-3xl);
}

.closing-statement > p {
  max-width: var(--reading-max);
  margin: 0;
  color: var(--color-muted);
  font-size: var(--text-lg);
}

.site-footer {
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .icon-action:hover,
  .journey-index button:hover {
    background: var(--color-paper-muted);
  }

  .action-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }

  .action-link--primary:hover {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
    color: var(--color-accent-ink);
  }
}

@media (min-width: 48rem) {
  :root {
    --header-height: 4.5rem;
  }

  .presenter-bar__inner,
  .workflow-hero,
  .workflow-intro,
  .workflow-list,
  .operating-principles,
  .capability-index,
  .closing-statement,
  .site-footer {
    width: min(calc(100% - 4rem), var(--content-max));
  }

  .presenter-brand__copy {
    display: block;
  }

  .presenter-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .presenter-controls {
    width: auto;
  }

  .presenter-controls .control-button {
    width: auto;
    padding-inline: var(--space-2xs);
  }

  .workflow-hero {
    grid-template-columns: minmax(0, 7fr) minmax(19rem, 5fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .workflow-intro,
  .section-heading,
  .closing-statement {
    grid-template-columns: minmax(0, 5fr) minmax(19rem, 7fr);
  }

  .workflow-intro > div,
  .section-heading h2,
  .closing-statement > div {
    grid-column: 1;
  }

  .workflow-intro > p,
  .section-heading p,
  .closing-statement > p,
  .closing-actions {
    grid-column: 2;
    align-self: end;
  }

  .workflow-intro > p,
  .section-heading p {
    grid-row: 1;
  }

  .principle-list > div,
  .capability-table article {
    grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 6vw, 7rem);
  }

  .capability-table article {
    grid-template-columns: 3rem minmax(10rem, 0.6fr) minmax(0, 1.4fr);
  }

  .closing-statement > p {
    grid-row: 1;
  }

  .closing-actions {
    grid-row: 2;
    margin-top: 0;
  }
}

@media (max-width: 47.99rem) {
  .presenter-controls .control-button {
    width: 100%;
    min-width: 0;
    padding-inline: 0;
    overflow: hidden;
    font-size: var(--text-xs);
  }

  .workflow-hero__actions,
  .closing-actions {
    display: grid;
  }

  .journey-index button {
    grid-template-columns: 2.5rem 1fr;
  }

  .journey-index button small {
    grid-column: 2;
  }

  .workflow-facts {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 48rem) and (max-width: 60rem) {
  .presenter-brand__copy {
    display: none;
  }
}

/* Every display heading on this page is intentionally a single-line statement. */
.workflow-intro h2,
.section-heading h2,
.closing-statement h2 {
  max-width: none;
  font-size: clamp(1.35rem, 2.25vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

/* Taste Skill refinement · redesign-preserve · dials 6 / 4 / 4 */
.workflow-hero {
  align-items: center;
  min-height: calc(100dvh - var(--header-height));
  padding-block: clamp(3rem, 8vh, 6rem);
}

.workflow-hero h1 {
  max-width: none;
  font-size: clamp(2.35rem, 3.4vw, 2.9rem);
  line-height: 1.12;
}

.workflow-intro h2,
.section-heading h2,
.closing-statement h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.workflow-hero__lead {
  max-width: 31rem;
}

.workflow-hero__visual,
.stage-media {
  margin: 0;
}

.workflow-hero__visual {
  align-self: center;
}

.workflow-hero__visual img,
.stage-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.workflow-hero__visual img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-whisper);
}

.workflow-hero__visual figcaption,
.stage-media figcaption {
  margin-top: var(--space-xs);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.route-proof,
.journey-index--full {
  width: min(calc(100% - 2rem), var(--content-max));
  margin-inline: auto;
}

.route-proof {
  display: grid;
  gap: var(--space-md);
  align-items: end;
  padding-block: var(--space-lg);
  border-block: 0.0625rem solid var(--color-rule-strong);
}

.route-proof .workflow-facts {
  max-width: none;
  margin: 0;
  border-top: 0;
}

.route-proof__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-accent);
  font-weight: 700;
  white-space: nowrap;
}

.journey-index--full {
  padding-block: var(--space-2xl);
  border-top: 0;
}

.journey-index--full ol {
  display: grid;
  grid-template-columns: repeat(8, minmax(8.75rem, 1fr));
  overflow-x: auto;
  border-block: 0.0625rem solid var(--color-rule-strong);
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.journey-index--full li {
  min-width: 0;
  scroll-snap-align: start;
}

.journey-index--full button {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
  min-height: 8.5rem;
  align-content: start;
  padding: var(--space-sm);
  border-bottom: 0;
  text-align: left;
}

.journey-index--full button span {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-weight: 700;
}

.journey-index--full button small {
  grid-column: 1;
}

.journey-index--full button[aria-current="step"] {
  padding-left: var(--space-sm);
  background: var(--color-accent-soft);
  box-shadow: inset 0 0.1875rem 0 var(--color-accent);
}

.workflow-intro,
.section-heading,
.closing-statement {
  display: block;
}

.workflow-intro > div,
.section-heading,
.closing-statement > div {
  max-width: var(--reading-max);
}

.workflow-intro > p,
.section-heading p,
.closing-statement > p {
  max-width: 65ch;
  margin-top: var(--space-md);
}

.stage-number {
  color: var(--color-accent);
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

.workflow-stage--featured {
  background: var(--color-accent-soft);
  box-shadow: 0 0 0 100vmax var(--color-accent-soft);
  clip-path: inset(0 -100vmax);
}

.stage-media {
  margin-top: var(--space-lg);
}

.stage-media img {
  aspect-ratio: 3 / 2;
}

.principle-list {
  display: grid;
  gap: var(--space-xl) var(--space-2xl);
  border-top: 0;
}

.principle-list > div {
  display: block;
  padding-block: 0;
  border-bottom: 0;
}

.principle-list dt {
  margin-bottom: var(--space-2xs);
}

.capability-table {
  display: grid;
  gap: var(--space-xs);
  border-top: 0;
}

.capability-table article {
  display: block;
  min-height: 12rem;
  padding: var(--space-lg);
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-paper-muted);
}

.capability-table article:nth-child(3n + 2),
.capability-table article:nth-child(3n + 3) {
  background: var(--color-accent-soft);
}

.capability-table article strong {
  margin-top: 0;
}

.control-button:active,
.icon-action:active,
.action-link:active,
.journey-index button:active {
  transform: translateY(0.0625rem);
}

@media (min-width: 48rem) {
  .route-proof,
  .journey-index--full {
    width: min(calc(100% - 4rem), var(--content-max));
  }

  .workflow-hero {
    grid-template-columns: minmax(0, 6fr) minmax(20rem, 6fr);
  }

  .route-proof {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

  .capability-table {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .capability-table article {
    grid-column: span 5;
  }

  .capability-table article:nth-child(4n + 1),
  .capability-table article:nth-child(4n + 4) {
    grid-column: span 7;
  }

  .workflow-intro > p,
  .section-heading p,
  .closing-statement > p,
  .closing-actions {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 47.99rem) {
  .workflow-hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .workflow-intro h2,
  .section-heading h2,
  .closing-statement h2 {
    max-width: none;
    font-size: 1.45rem;
    line-height: 1.35;
  }

  .route-proof .workflow-facts {
    grid-template-columns: 1fr;
  }

  .route-proof .workflow-facts div {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: var(--space-xs);
    padding-block: var(--space-xs);
    border-bottom: 0.0625rem solid var(--color-rule);
  }

  .workflow-hero__visual figcaption {
    max-width: 32rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-paper: oklch(18% 0.022 257);
    --color-paper-muted: oklch(23% 0.025 257);
    --color-surface: oklch(25% 0.026 257);
    --color-ink: oklch(95% 0.008 250);
    --color-body: oklch(84% 0.014 250);
    --color-muted: oklch(72% 0.018 250);
    --color-rule: oklch(32% 0.026 255);
    --color-rule-strong: oklch(45% 0.035 255);
    --color-accent: oklch(72% 0.14 250);
    --color-accent-hover: oklch(78% 0.13 250);
    --color-accent-soft: oklch(27% 0.05 255);
    --color-accent-ink: oklch(18% 0.022 257);
    --color-focus: oklch(78% 0.16 250);
    --shadow-whisper: 0 0.5rem 1.5rem oklch(5% 0.015 257 / 0.24);
  }

}

/* Fusion candidate: one content system, two ways to use it. */
.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-rule);
  background: var(--color-paper);
}

.view-switch button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.view-switch button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-accent-ink);
}

html[data-view-mode="reading"] .stage-narrative details[open] {
  border-left-color: var(--color-accent);
  background: var(--color-accent-soft);
}

html[data-view-mode="presentation"] .workflow-stage {
  scroll-margin-top: 84px;
  transition: opacity 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

html[data-view-mode="presentation"] .workflow-stage:not(.is-active) {
  opacity: 0.58;
}

html[data-view-mode="presentation"] .workflow-stage.is-active {
  border-color: var(--color-accent);
  background: linear-gradient(90deg, var(--color-accent-soft), transparent 58%);
}

@media (max-width: 74.99rem) {
  .view-switch {
    order: 3;
    margin-left: auto;
  }
}

@media (min-width: 75rem) {
  .presenter-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}

@media (min-width: 48rem) and (max-width: 74.99rem) {
  .presenter-controls {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 47.99rem) {
  .view-switch {
    width: 100%;
    order: 2;
  }

  .view-switch button {
    flex: 1;
  }

  html[data-view-mode="presentation"] .workflow-stage:not(.is-active) {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-view-mode="presentation"] .workflow-stage {
    transition: none;
  }
}

/* Short headings stay on one line; tablet hero stacks to preserve breathing room. */
.workflow-hero h1 {
  white-space: nowrap;
}

@media (min-width: 48rem) and (max-width: 60rem) {
  .workflow-hero {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .workflow-hero__copy,
  .workflow-hero__visual {
    max-width: none;
  }
}
