:root {
  --black: var(--color-charcoal, #151512);
  --ink: var(--color-ink, #1c1c18);
  --ivory: var(--color-ivory, #f1efe9);
  --paper: var(--color-ivory, #f1efe9);
  --line-dark: var(--color-line-on-dark, rgba(241, 239, 233, .18));
  --line-light: var(--color-line, rgba(28, 28, 24, .22));
  --orange: var(--color-action, #bd4525);
  --sans: "Instrument Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --outer: clamp(32px, 3vw, 48px);
  color: var(--ivory);
  background: var(--black);
  font-family: var(--sans);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 0;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--black);
}

button, a { color: inherit; font: inherit; }
button { border: 0; }

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 8px 12px;
  color: var(--black);
  background: var(--ivory);
  font: 12px var(--mono);
}

.skip-link:focus { transform: translateY(0); }

.experience-stage {
  position: fixed;
  z-index: 1;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}

.paper-plane {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--ivory);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 850ms var(--ease);
}

.editorial-grid {
  position: absolute;
  z-index: 20;
  inset: 0 var(--outer);
  pointer-events: none;
  opacity: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc((100% - 264px) / 12),
    rgba(17, 17, 15, 0.055) calc((100% - 264px) / 12),
    rgba(17, 17, 15, 0.055) calc((100% - 264px) / 12 + 1px),
    transparent calc((100% - 264px) / 12 + 1px),
    transparent calc((100% - 264px) / 12 + 24px)
  );
  transition: opacity 500ms ease;
}

.site-nav {
  position: absolute;
  z-index: 30;
  top: 24px;
  left: var(--outer);
  right: var(--outer);
  display: grid;
  grid-template-columns: 4fr 4fr 4fr;
  align-items: start;
  color: var(--ivory);
  transition: color 600ms ease;
}

.site-nav a { text-decoration: none; }
.wordmark { display: flex; gap: 24px; align-items: baseline; }
.wordmark span:first-child { font-size: 13px; font-weight: 650; }
.wordmark span:last-child,
.site-nav nav,
.diagnosis-link {
  font: 10px/1.2 var(--mono);
  letter-spacing: 0;
}

.site-nav nav { display: flex; justify-content: center; gap: 28px; }
.nav-pending { opacity: .48; cursor: not-allowed; }
.diagnosis-link { justify-self: end; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.diagnosis-link span { color: var(--orange); }

.visual-world { position: absolute; inset: 0; }

.portal-title,
.models-system h2,
.trade-world h2,
.steel-preview h2,
.chapter-preview h2 {
  margin: 0;
  font-weight: 545;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portal-title { position: absolute; z-index: 7; inset: 0; pointer-events: none; }

.portal-word {
  position: absolute;
  display: block;
  white-space: nowrap;
  line-height: 0.82;
  transition: transform 850ms var(--ease), opacity 500ms ease, color 600ms ease, font-size 850ms var(--ease), top 850ms var(--ease), left 850ms var(--ease);
}

.word-rebuild { top: 112px; left: var(--outer); font-size: clamp(68px, 5vw, 80px); }
.word-business { z-index: 4; top: 250px; left: 7%; font-size: clamp(190px, 14.5vw, 232px); font-weight: 650; }
.word-for { top: 552px; left: var(--outer); font-size: clamp(58px, 4.5vw, 72px); }
.word-era { top: 682px; left: 58%; font-size: clamp(84px, 6.75vw, 108px); }
.plural-s { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width 600ms var(--ease), opacity 400ms ease; }

.portal-description,
.portal-enter,
.section-index,
.trade-index,
.trade-flow,
.preview-context,
.preview-workflows,
.preview-attributes,
.chapter-index,
.chapter-meta,
.business-chain,
.state-readout {
  font-family: var(--mono);
  letter-spacing: 0;
}

.portal-description {
  position: absolute;
  z-index: 10;
  left: var(--outer);
  bottom: 42px;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  transition: opacity 400ms ease, transform 700ms var(--ease);
}

.portal-enter {
  position: absolute;
  z-index: 10;
  right: var(--outer);
  bottom: 42px;
  display: flex;
  gap: 48px;
  margin: 0;
  font-size: 10px;
  transition: opacity 400ms ease, transform 700ms var(--ease);
}

.portal-enter span:first-child::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--orange);
}

.film-system {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: rotate(-1.75deg);
  transform-origin: 50% 46%;
  transition: transform 900ms var(--ease);
}

.film-system::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 286px;
  left: -3%;
  width: 106%;
  height: 278px;
  border-top: 1px solid rgba(242, 240, 235, 0.2);
  border-bottom: 1px solid rgba(242, 240, 235, 0.2);
  opacity: 1;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 30px,
    rgba(242, 240, 235, 0.11) 30px 38px,
    transparent 38px 72px
  );
  transition: opacity 400ms ease;
}

.film-frame {
  position: absolute;
  z-index: 3;
  margin: 0;
  overflow: visible;
  transition: left 900ms var(--ease), top 900ms var(--ease), width 900ms var(--ease), height 900ms var(--ease), opacity 500ms ease, transform 900ms var(--ease), filter 500ms ease;
}

.film-frame .neutral-photo { width: 100%; height: 100%; }
.film-frame figcaption {
  margin-top: 5px;
  color: rgba(242, 240, 235, 0.7);
  font: 8px/1 var(--mono);
  white-space: nowrap;
  transition: color 600ms ease, opacity 400ms ease;
}

.film-f01 { left: 1%; top: 35%; width: 17%; height: 22%; }
.film-f02 { left: 19%; top: 31%; width: 12%; height: 18%; }
.film-f03 { left: 32%; top: 37%; width: 14%; height: 23%; }
.film-f04 { left: 47%; top: 30%; width: 11%; height: 19%; }
.film-f05 { left: 59%; top: 36%; width: 17%; height: 22%; }
.film-f06 { left: 77%; top: 32%; width: 10%; height: 18%; }
.film-f07 { left: 88%; top: 38%; width: 11%; height: 20%; }

.neutral-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #50524e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: grayscale(1) contrast(1.08);
}

/* Approved Steel V1 photography: original WebP derivatives retain their source aspect ratio. */
.asset-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #30312e;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: grayscale(.55) saturate(.62) contrast(1.04) brightness(.88);
  transition: background-position 900ms var(--ease), filter 500ms ease, transform 800ms var(--ease);
}

.asset-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(10, 10, 9, 0.12);
}

.asset-steel-flagship { background-image: url("../../public/images/industries/steel-trading/steel-01-flagship.webp"); background-position: 53% 58%; }
.asset-steel-material { background-image: url("../../public/images/industries/steel-trading/steel-02-material-detail.webp"); background-position: 53% 8%; background-size: 145%; }
.asset-warehouse-inventory { background-image: url("../../public/images/industries/steel-trading/steel-03-warehouse-inventory.webp"); background-position: 63% 52%; }
.asset-loading-logistics { background-image: url("../../public/images/industries/steel-trading/steel-04-loading-logistics.webp"); background-position: 38% 54%; }

.neutral-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.13) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.photo-steel {
  background-image:
    linear-gradient(115deg, transparent 0 22%, rgba(218,218,210,.55) 22% 28%, transparent 28% 42%, rgba(10,10,9,.7) 42% 49%, transparent 49%),
    repeating-linear-gradient(8deg, #232522 0 14px, #777a74 14px 20px, #30322f 20px 36px);
}

.photo-warehouse {
  background-image:
    linear-gradient(0deg, rgba(12,12,11,.75) 0 23%, transparent 23%),
    repeating-linear-gradient(90deg, #252724 0 8%, #8b8d87 8% 10%, #3b3d39 10% 21%);
}

.photo-machine {
  background-image:
    radial-gradient(circle at 70% 38%, #989b94 0 8%, #292b28 8% 18%, transparent 18%),
    linear-gradient(135deg, #161715 0 32%, #737670 32% 44%, #2f312e 44% 68%, #9a9c96 68% 73%, #252624 73%);
}

.photo-architecture {
  background-image:
    linear-gradient(150deg, transparent 0 38%, rgba(224,223,214,.65) 38% 42%, transparent 42%),
    linear-gradient(70deg, #1b1c1a 0 42%, #73756f 42% 61%, #30322f 61%);
}

.photo-components {
  background-image:
    radial-gradient(circle at 30% 36%, #a0a29c 0 5%, #242522 5% 11%, transparent 11%),
    radial-gradient(circle at 70% 62%, #858882 0 9%, #222320 9% 17%, transparent 17%),
    linear-gradient(120deg, #242623, #696c66 48%, #1d1e1c);
}

.photo-logistics {
  background-image:
    linear-gradient(0deg, #20211f 0 27%, transparent 27%),
    repeating-linear-gradient(90deg, #686b65 0 15%, #292b28 15% 18%, #93958e 18% 31%, #242522 31% 34%);
}

.photo-knowledge {
  background-image:
    linear-gradient(90deg, transparent 0 58%, rgba(232,231,222,.55) 58% 60%, transparent 60%),
    repeating-linear-gradient(0deg, #20211f 0 12%, #74766f 12% 14%, #353733 14% 26%);
}

.models-system,
.trade-world,
.steel-preview,
.chapter-preview {
  position: absolute;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
  color: var(--ink);
}

.models-system { inset: 86px var(--outer) 42px; }
.section-index { margin: 0; font-size: 10px; }
.models-system h2 { position: absolute; top: 54px; left: 0; font-size: clamp(66px, 5.5vw, 88px); line-height: 0.94; }

.model-index {
  position: absolute;
  top: 330px;
  right: 0;
  left: 25%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: top 850ms var(--ease), left 850ms var(--ease), width 850ms var(--ease), transform 850ms var(--ease);
}

.model-row { border-top: 1px solid var(--line-light); transition: opacity 450ms ease, transform 750ms var(--ease); }
.model-row:last-child { border-bottom: 1px solid var(--line-light); }
.model-row button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 130px 90px;
  align-items: baseline;
  width: 100%;
  min-height: 94px;
  padding: 16px 0 12px;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.model-number,
.model-cn,
.model-action { font: 10px var(--mono); }
.model-name { font-size: clamp(44px, 4vw, 64px); line-height: 0.95; font-weight: 520; }
.model-action { justify-self: end; color: var(--orange); opacity: 0; }
.model-row:hover .model-action,
.model-row button:focus-visible .model-action { opacity: 1; }

.trade-world { inset: 84px var(--outer) 32px; }
.trade-index { margin: 0; font-size: 10px; }
.trade-world h2 { margin-top: 22px; font-size: clamp(130px, 11.5vw, 184px); line-height: 0.8; }
.trade-thesis { margin: 24px 0 0 25%; font-size: 28px; line-height: 1.03; }
.trade-flow { margin: 24px 0 0 25%; font-size: 9px; }
.trade-flow i, .business-chain i { color: var(--orange); font-style: normal; }

.industry-field { position: absolute; inset: 330px 0 0; }
.industry {
  position: absolute;
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: left 850ms var(--ease), top 850ms var(--ease), width 850ms var(--ease), height 850ms var(--ease), opacity 500ms ease, filter 500ms ease, transform 700ms var(--ease);
}

.industry-photo { width: 100%; height: calc(100% - 34px); transition: transform 800ms var(--ease), filter 500ms ease, background-position 900ms var(--ease); transform-origin: center; }
.industry-name { display: block; margin-top: 7px; font-size: 15px; line-height: 1; }
.industry-id, .industry-cn { display: none; font: 9px var(--mono); }
.industry-steel { left: 0; top: 0; width: 49%; height: 474px; }
.industry-steel .industry-photo { height: calc(100% - 72px); }
.industry-steel .industry-id { display: block; margin-top: 11px; color: var(--orange); }
.industry-steel .industry-name { margin-top: 5px; font-size: 30px; line-height: 0.92; }
.industry-building { left: 55%; top: 30px; width: 13%; height: 180px; }
.industry-auto { left: 74%; top: 146px; width: 8.5%; height: 250px; }
.industry-equipment { left: 57%; top: 360px; width: 15%; height: 120px; }
.industry:not(.industry-steel) { opacity: 0.58; }
.industry:not(.industry-steel) .industry-photo { filter: grayscale(1) contrast(0.82) brightness(1.08); }
.industry:not(.industry-steel) .industry-name { font: 9px/1.1 var(--mono); }

.steel-preview {
  top: 180px;
  right: var(--outer);
  width: 24%;
  transition: top 900ms var(--ease), right 900ms var(--ease), width 900ms var(--ease), color 520ms ease, opacity 520ms ease;
}
.preview-context { margin: 0 0 36px; font-size: 10px; line-height: 1.5; }
.steel-preview h2 { font-size: clamp(76px, 6.6vw, 106px); line-height: 0.82; transition: font-size 900ms var(--ease); }
.preview-workflows,
.preview-attributes { display: grid; gap: 4px; margin-top: 48px; font-size: 10px; line-height: 1.25; }
.preview-selected-copy { display: none; }
.explore-steel,
.enter-business {
  margin-top: 44px;
  padding: 0 0 5px;
  color: inherit;
  background: transparent;
  border-bottom: 1px solid currentColor;
  font: 10px var(--mono);
  cursor: pointer;
}
.explore-steel span { color: var(--orange); }

.chapter-preview { inset: 0; color: var(--ivory); transition: opacity 520ms ease; }
.chapter-index { position: absolute; top: 104px; left: var(--outer); margin: 0; font-size: 10px; }
.chapter-preview h2 { position: absolute; top: 152px; left: var(--outer); z-index: 2; font-size: clamp(132px, 11vw, 176px); line-height: 0.8; }
.chapter-meta { position: absolute; top: 520px; left: var(--outer); display: grid; grid-template-columns: 160px 240px; gap: 56px; font-size: 9px; line-height: 1.7; }
.chapter-meta p { margin: 0; }
.chapter-meta strong { font-weight: 500; }
.business-chain { position: absolute; z-index: 2; right: var(--outer); bottom: 46px; left: var(--outer); margin: 0; padding-top: 16px; border-top: 1px solid rgba(242, 240, 235, 0.42); font-size: 11px; white-space: nowrap; }
.enter-business { position: absolute; z-index: 2; left: var(--outer); bottom: 104px; margin: 0; }

.state-readout {
  position: absolute;
  z-index: 35;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 9px;
  transform: translateX(-50%);
  transition: color 500ms ease;
}
.state-number { color: var(--orange); }

.scroll-track { position: relative; z-index: 0; }
.scroll-step { height: 100vh; min-height: 720px; }

.review-controller {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: 16px;
  width: 414px;
  padding: 10px;
  color: #e8e5de;
  background: rgba(17, 17, 15, 0.94);
  border: 1px solid rgba(242, 240, 235, 0.22);
  font-family: var(--mono);
  transition: transform 300ms ease, opacity 300ms ease;
}
.review-controller.is-hidden { opacity: 0; transform: translateY(calc(100% + 20px)); pointer-events: none; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 9px; }
.review-head button, .steel-mode-toggle { color: inherit; background: transparent; font: 9px var(--mono); cursor: pointer; }
.review-states { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid rgba(242,240,235,.18); border-bottom: 1px solid rgba(242,240,235,.18); }
.review-states button { display: grid; gap: 4px; min-height: 48px; padding: 8px 5px; color: rgba(242,240,235,.55); background: transparent; border-right: 1px solid rgba(242,240,235,.12); font-family: var(--mono); text-align: left; cursor: pointer; }
.review-states button:last-child { border-right: 0; }
.review-states button[aria-pressed="true"] { color: var(--ivory); background: rgba(229,91,42,.18); }
.review-states b { font-size: 10px; font-weight: 500; }
.review-states span { font-size: 7px; }
.steel-mode-toggle { display: none; width: 100%; padding: 9px 0 0; text-align: left; color: var(--orange); }
.review-controller > p { margin: 8px 0 0; color: rgba(242,240,235,.5); font-size: 8px; }
.review-reveal { position: fixed; z-index: 79; right: 16px; bottom: 16px; display: none; padding: 8px; color: var(--ivory); background: var(--black); border: 1px solid rgba(242,240,235,.2); font: 9px var(--mono); cursor: pointer; }
.review-reveal.is-visible { display: none; }

/* State 02: the dark exhibition canvas is being displaced by paper. */
body[data-state="2"] .film-system,
body[data-state="3"] .film-system,
body[data-state="4"] .film-system,
body[data-state="5"] .film-system,
body[data-state="6"] .film-system { transform: none; }
body[data-state="2"] .film-system::before,
body[data-state="3"] .film-system::before,
body[data-state="4"] .film-system::before,
body[data-state="5"] .film-system::before,
body[data-state="6"] .film-system::before { opacity: 0; }
body[data-state="2"] .paper-plane { clip-path: inset(34% 0 0 0); }
body[data-state="2"] .word-rebuild { transform: translateY(-180px); opacity: 0; }
body[data-state="2"] .word-for { transform: translate(-80px, -160px); opacity: 0; }
body[data-state="2"] .word-era { transform: translateY(-220px); opacity: 0; }
body[data-state="2"] .word-business { top: 152px; left: var(--outer); font-size: clamp(128px, 10vw, 160px); }
body[data-state="2"] .plural-s { max-width: 1.35em; opacity: 1; }
body[data-state="2"] .portal-description,
body[data-state="2"] .portal-enter { opacity: 0; transform: translateY(30px); }
body[data-state="2"] .film-frame figcaption { opacity: 0; }
body[data-state="2"] .film-f01 { left: 4%; top: 55%; width: 17%; height: 28%; }
body[data-state="2"] .film-f02 { left: 26%; top: 68%; width: 8%; height: 16%; }
body[data-state="2"] .film-f03 { left: 45%; top: 47%; width: 10%; height: 21%; }
body[data-state="2"] .film-f04 { left: 66%; top: 64%; width: 9%; height: 18%; }
body[data-state="2"] .film-f05 { left: 84%; top: 50%; width: 10%; height: 27%; }
body[data-state="2"] .film-f06 { left: 13%; top: 88%; width: 8%; height: 10%; opacity: .5; }
body[data-state="2"] .film-f07 { left: 71%; top: 88%; width: 10%; height: 10%; opacity: .5; }
body[data-state="2"] .models-system { opacity: .18; }
body[data-state="2"] .models-system h2 { top: 58%; font-size: 72px; transform: translateY(80px); }
body[data-state="2"] .model-index { opacity: 0; }

/* State 03: editorial index. */
body[data-state="3"] .paper-plane,
body[data-state="4"] .paper-plane,
body[data-state="5"] .paper-plane { clip-path: inset(0); }
body[data-state="3"] .site-nav,
body[data-state="4"] .site-nav,
body[data-state="5"] .site-nav { color: var(--ink); }
body[data-state="3"] .editorial-grid,
body[data-state="4"] .editorial-grid,
body[data-state="5"] .editorial-grid { opacity: 1; }
body[data-state="3"] .portal,
body[data-state="4"] .portal,
body[data-state="5"] .portal { opacity: 0; pointer-events: none; }
body[data-state="3"] .models-system { opacity: 1; pointer-events: auto; }
body[data-state="3"] .film-frame { opacity: .17; filter: grayscale(1) contrast(.8); }
body[data-state="3"] .film-frame figcaption { opacity: 0; }
body[data-state="3"] .film-f01 { left: 78%; top: 11%; width: 8%; height: 11%; }
body[data-state="3"] .film-f02 { left: 89%; top: 18%; width: 5%; height: 8%; }
body[data-state="3"] .film-f03 { left: 86%; top: 32%; width: 7%; height: 9%; }
body[data-state="3"] .film-f04 { left: 80%; top: 47%; width: 11%; height: 8%; }
body[data-state="3"] .film-f05 { left: 89%; top: 61%; width: 5%; height: 12%; }
body[data-state="3"] .film-f06 { left: 80%; top: 79%; width: 7%; height: 7%; }
body[data-state="3"] .film-f07 { left: 88%; top: 83%; width: 6%; height: 8%; }
body[data-state="3"] .state-readout,
body[data-state="4"] .state-readout,
body[data-state="5"] .state-readout { color: var(--ink); }

/* State 04: Trade takes the left and center; the index becomes context. */
body[data-state="4"] .models-system { opacity: 1; pointer-events: auto; }
body[data-state="4"] .models-system > .section-index,
body[data-state="4"] .models-system > h2 { opacity: 0; }
body[data-state="4"] .model-index { top: 102px; left: auto; width: 310px; }
body[data-state="4"] .model-row button { grid-template-columns: 38px 1fr; min-height: 50px; padding: 12px 0 8px; }
body[data-state="4"] .model-row .model-name { font: 11px var(--mono); }
body[data-state="4"] .model-row .model-cn,
body[data-state="4"] .model-row .model-action { display: none; }
body[data-state="4"] .model-trade { opacity: 0; transform: translateX(30px); pointer-events: none; }
body[data-state="4"] .trade-world { opacity: 1; pointer-events: auto; }
body[data-state="4"] .film-frame { opacity: 0; }
body[data-state="4"] .industry-steel { opacity: 1; }

/* State 05: Steel becomes the subject while Trade remains context. */
body[data-state="5"] .models-system { opacity: 1; pointer-events: none; }
body[data-state="5"] .models-system > .section-index,
body[data-state="5"] .models-system > h2 { opacity: 0; }
body[data-state="5"] .model-index { top: 72px; left: auto; width: 25.5%; display: grid; grid-template-columns: repeat(2, 1fr); transform: none; }
body[data-state="5"] .model-row { border-bottom: 0; }
body[data-state="5"] .model-row button { grid-template-columns: 28px 1fr; min-height: 36px; padding: 8px 8px 6px 0; }
body[data-state="5"] .model-row .model-name { overflow: hidden; font: 7px var(--mono); text-overflow: ellipsis; }
body[data-state="5"] .model-row .model-cn,
body[data-state="5"] .model-row .model-action { display: none; }
body[data-state="5"] .model-trade { display: none; }
body[data-state="5"] .trade-world { opacity: 1; pointer-events: auto; }
body[data-state="5"] .trade-index { opacity: .55; }
body[data-state="5"] .trade-world > h2 { margin-top: 16px; font-size: 64px; opacity: .25; }
body[data-state="5"] .trade-thesis { margin: 10px 0 0; font-size: 15px; opacity: .55; }
body[data-state="5"] .trade-flow { opacity: 0; }
body[data-state="5"] .industry-field { inset: 150px 0 0; }
body[data-state="5"] .industry-steel { left: 0; top: 0; width: 63.5%; height: 660px; }
body[data-state="5"] .industry-steel .industry-photo { height: 100%; }
body[data-state="5"] .industry-building { left: 66.7%; top: 520px; width: 10%; height: 120px; opacity: .28; }
body[data-state="5"] .industry-auto { left: 78.3%; top: 520px; width: 7%; height: 120px; opacity: .22; }
body[data-state="5"] .industry-equipment { left: 87%; top: 520px; width: 10%; height: 120px; opacity: .18; }
body[data-state="5"] .industry-steel .industry-id,
body[data-state="5"] .industry-steel .industry-name,
body[data-state="5"] .industry-steel .industry-cn { opacity: 0; }
body[data-state="5"] .steel-preview { top: 250px; width: 25.5%; opacity: 1; pointer-events: auto; }
body[data-state="5"] .steel-preview h2 { font-size: clamp(70px, 5.25vw, 84px); }
body[data-state="5"] .film-frame { opacity: 0; }
body[data-state="5"] .steel-mode-toggle { display: block; }

body[data-state="5"][data-steel="hover"] .industry-steel .industry-photo { background-position: 48% 57%; transform: scale(1.018); }
body[data-state="5"][data-steel="hover"] .industry:not(.industry-steel) { filter: contrast(.55); }

body[data-state="5"][data-steel="selected"] .industry-steel { width: 68%; height: 700px; transform: translateY(-16px); }
body[data-state="5"][data-steel="selected"] .industry-steel .industry-photo { background-position: 58% 62%; }
body[data-state="5"][data-steel="selected"] .industry:not(.industry-steel) { opacity: .08; transform: translateY(34px); }
body[data-state="5"][data-steel="selected"] .preview-hover-copy { display: none; }
body[data-state="5"][data-steel="selected"] .preview-selected-copy { display: grid; }
body[data-state="5"][data-steel="selected"] .steel-preview h2 { font-size: clamp(78px, 5.75vw, 92px); }
body[data-state="5"][data-steel="selected"] .explore-steel { margin-top: 54px; }

/* State 06: the selected Steel frame opens into a chapter plane. */
body[data-state="6"] .paper-plane { clip-path: inset(100% 0 0 0); }
body[data-state="6"] .site-nav { color: var(--ivory); }
body[data-state="6"] .portal,
body[data-state="6"] .models-system,
body[data-state="6"] .trade-world > :not(.industry-field),
body[data-state="6"] .industry:not(.industry-steel),
body[data-state="6"] .film-frame { opacity: 0; pointer-events: none; }
body[data-state="6"] .trade-world { inset: 0; opacity: 1; pointer-events: none; }
body[data-state="6"] .industry-field { position: absolute; inset: 0; }
body[data-state="6"] .industry-steel { left: 0; top: 0; width: 100%; height: 100vh; color: var(--ivory); transform: none; }
body[data-state="6"] .industry-steel .industry-photo { height: 100%; background-position: 39% 57%; filter: grayscale(1) contrast(1.22) brightness(.4); transform: scale(1.08); transform-origin: 35% 50%; }
body[data-state="6"] .industry-steel .industry-name,
body[data-state="6"] .industry-steel .industry-id,
body[data-state="6"] .industry-steel .industry-cn { opacity: 0; }
body[data-state="6"] .steel-preview { z-index: 12; top: 148px; right: 51%; width: 46%; opacity: 1; color: var(--ivory); pointer-events: none; }
body[data-state="6"] .steel-preview > :not(h2) { opacity: 0; pointer-events: none; }
body[data-state="6"] .steel-preview h2 { font-size: clamp(132px, 11vw, 176px); }
body[data-state="6"] .chapter-preview { opacity: 1; pointer-events: auto; }
body[data-state="6"] .chapter-preview h2 { opacity: 0; }
body[data-state="6"] .state-readout { color: var(--ivory); }

/* State 07 is a Design Lab review surface, not public-page content. */
.contact-sheet {
  position: absolute;
  z-index: 8;
  inset: 88px var(--outer) 46px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 34px;
  opacity: 0;
  pointer-events: none;
  color: var(--ink);
  transition: opacity 400ms ease;
}

.contact-sheet-heading { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: end; }
.contact-sheet-heading p,
.contact-sheet-heading span,
.contact-sheet figcaption { margin: 0; font: 10px/1.2 var(--mono); }
.contact-sheet-heading h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(54px, 5vw, 80px); font-weight: 545; line-height: .88; }
.contact-sheet-heading span { justify-self: end; color: rgba(25, 25, 22, .65); }
.contact-sheet-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; min-height: 0; }
.contact-sheet-grid figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 10px; min-width: 0; margin: 0; }
.contact-sheet-grid img { width: 100%; height: 100%; min-height: 0; object-fit: cover; filter: grayscale(.58) saturate(.65) contrast(1.04); }
.contact-sheet figcaption { display: flex; gap: 8px; align-items: baseline; }
.contact-sheet figcaption b { color: var(--orange); font-weight: 500; }

body[data-state="7"] .paper-plane { clip-path: inset(0); }
body[data-state="7"] .site-nav,
body[data-state="7"] .state-readout { color: var(--ink); }
body[data-state="7"] .editorial-grid { opacity: 1; }
body[data-state="7"] .portal,
body[data-state="7"] .film-system,
body[data-state="7"] .models-system,
body[data-state="7"] .trade-world,
body[data-state="7"] .steel-preview,
body[data-state="7"] .chapter-preview { opacity: 0; pointer-events: none; }
body[data-state="7"] .contact-sheet { opacity: 1; pointer-events: auto; }

/* State 08 appends the complete taxonomy without altering the existing entry states. */
.industry-catalog-panel {
  position: absolute;
  z-index: 8;
  inset: 86px var(--outer) 42px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 34px;
  opacity: 0;
  pointer-events: none;
  color: var(--ink);
  transition: opacity 400ms ease;
}

.industry-catalog-heading { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: end; }
.industry-catalog-heading p,
.industry-catalog-heading span,
.catalog-model > p,
.catalog-model li { margin: 0; font: 10px/1.2 var(--mono); }
.industry-catalog-heading h2 { grid-column: 1 / -1; margin: 0; font-size: clamp(54px, 5vw, 80px); font-weight: 545; line-height: .88; }
.industry-catalog-heading span { justify-self: end; color: rgba(25, 25, 22, .65); }
.industry-catalog-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; min-height: 0; }
.catalog-model { min-width: 0; border-top: 1px solid var(--ink); }
.catalog-model > p { display: flex; gap: 8px; margin-top: 10px; }
.catalog-model > p span,
.catalog-model li span { color: var(--orange); }
.catalog-model h3 { margin: 10px 0 18px; font-size: clamp(24px, 2vw, 32px); font-weight: 545; line-height: .95; }
.catalog-model ol { margin: 0; padding: 0; list-style: none; }
.catalog-model li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 7px; min-height: 31px; align-items: center; border-top: 1px solid var(--line-light); font-family: var(--sans); font-size: 15px; }
.catalog-model li span { font: 8px var(--mono); }
.catalog-load-error { font: 12px var(--mono); }

body[data-state="8"] .paper-plane { clip-path: inset(0); }
body[data-state="8"] .site-nav,
body[data-state="8"] .state-readout { color: var(--ink); }
body[data-state="8"] .editorial-grid { opacity: 1; }
body[data-state="8"] .portal,
body[data-state="8"] .film-system,
body[data-state="8"] .models-system,
body[data-state="8"] .trade-world,
body[data-state="8"] .steel-preview,
body[data-state="8"] .chapter-preview,
body[data-state="8"] .contact-sheet { opacity: 0; pointer-events: none; }
body[data-state="8"] .industry-catalog-panel { opacity: 1; pointer-events: auto; }

@media (max-height: 820px) {
  .word-rebuild { top: 88px; }
  .word-business { top: 208px; }
  .word-for { top: 470px; }
  .word-era { top: 572px; }
  .portal-description, .portal-enter { bottom: 28px; }
  .models-system { top: 72px; }
  .models-system h2 { font-size: 68px; }
  .model-index { top: 280px; }
  .model-row button { min-height: 78px; }
  .industry-field { inset: 300px 0 0; }
  .industry-steel { height: 350px; }
  body[data-state="5"] .industry-steel { height: 560px; }
  body[data-state="5"][data-steel="selected"] .industry-steel { height: 590px; }
  .chapter-preview h2 { top: 130px; }
  .chapter-meta { top: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* The recovered desktop states use a fixed editorial plane. Public mobile uses
   the same sequence, but recomposes it into touch-sized reading regions. */
body[data-public="true"] .review-controller,
body[data-public="true"] .review-reveal { display: none !important; }
body[data-public="true"] .contact-sheet { display: none !important; }
body[data-public="true"] .diagnosis-link,
body[data-public="true"] .explore-steel,
body[data-public="true"] .enter-business,
body[data-public="true"] .skip-link { min-height: 32px; display: inline-flex; align-items: center; }
body[data-public="true"] .wordmark { min-height: 32px; }
body[data-public="true"] .site-nav nav a { min-height: 32px; display: inline-flex; align-items: center; }

@media (max-width: 767px) {
  body[data-public="true"] .industry-catalog-panel { display: none !important; }
  :root { --outer: 18px; }
  .site-nav { top: 16px; grid-template-columns: 1fr auto; gap: 12px; }
  .wordmark { gap: 8px; align-items: flex-start; flex-direction: column; }
  .wordmark span:last-child { font-size: 7px; }
  .site-nav nav { display: none; }
  .diagnosis-link { font-size: 8px; white-space: nowrap; }

  .word-rebuild { top: 112px; font-size: clamp(38px, 10vw, 52px); }
  .word-business { top: 220px; left: var(--outer); font-size: clamp(74px, 20vw, 104px); }
  .word-for { top: 390px; font-size: clamp(34px, 9vw, 46px); }
  .word-era { top: 472px; left: 26%; font-size: clamp(48px, 13vw, 66px); }
  .portal-description { bottom: 70px; font-size: 11px; }
  .portal-enter { right: var(--outer); bottom: 28px; gap: 8px; font-size: 7px; }

  .film-system::before { top: 312px; height: 156px; }
  .film-frame figcaption { display: none; }
  .film-f01 { left: 3%; top: 53%; width: 30%; height: 18%; }
  .film-f02 { left: 35%; top: 48%; width: 21%; height: 14%; }
  .film-f03 { left: 58%; top: 54%; width: 23%; height: 19%; }
  .film-f04 { left: 14%; top: 75%; width: 18%; height: 12%; }
  .film-f05 { left: 34%; top: 74%; width: 28%; height: 18%; }
  .film-f06 { left: 64%; top: 76%; width: 14%; height: 12%; }
  .film-f07 { left: 80%; top: 68%; width: 17%; height: 17%; }

  .models-system, .trade-world { inset: 82px var(--outer) 24px; }
  .models-system h2 { top: 42px; font-size: clamp(42px, 12vw, 58px); }
  .model-index { top: 244px; left: 0; }
  .model-row button { grid-template-columns: 34px minmax(0, 1fr) 54px; min-height: 58px; padding: 10px 0; }
  .model-name { font-size: clamp(27px, 8vw, 38px); }
  .model-cn { display: none; }

  .trade-world h2 { font-size: clamp(82px, 23vw, 118px); }
  .trade-thesis { margin: 18px 0 0; font-size: 20px; }
  .trade-flow { margin: 16px 0 0; font-size: 7px; white-space: normal; }
  .industry-field { inset: 280px 0 0; }
  .industry-steel { width: 67%; height: 330px; }
  .industry-building { left: 72%; top: 18px; width: 24%; height: 120px; }
  .industry-auto { left: 73%; top: 162px; width: 18%; height: 125px; }
  .industry-equipment { left: 72%; top: 300px; width: 23%; height: 84px; }
  .industry-steel .industry-name { font-size: 20px; }
  .steel-preview { top: 140px; right: var(--outer); width: 38%; }
  .steel-preview h2 { font-size: clamp(42px, 11vw, 58px); }
  .preview-context { margin-bottom: 18px; font-size: 8px; }
  .preview-workflows, .preview-attributes { margin-top: 22px; font-size: 7px; }
  .explore-steel { margin-top: 22px; font-size: 8px; }

  body[data-state="4"] .model-index { top: 76px; width: 116px; }
  body[data-state="4"] .trade-world > h2 { margin-top: 40px; }
  body[data-state="4"] .industry-field { inset: 260px 0 0; }
  body[data-state="5"] .model-index { top: 62px; width: 126px; }
  body[data-state="5"] .trade-world > h2 { font-size: 48px; }
  body[data-state="5"] .industry-field { inset: 156px 0 0; }
  body[data-state="5"] .industry-steel,
  body[data-state="5"][data-steel="selected"] .industry-steel { width: 58%; height: min(58vh, 500px); transform: none; }
  body[data-state="5"] .steel-preview { top: 208px; width: 37%; }
  body[data-state="5"] .steel-preview h2,
  body[data-state="5"][data-steel="selected"] .steel-preview h2 { font-size: 24px; overflow-wrap: anywhere; }
  body[data-state="5"] .industry-building { left: 62%; top: min(43vh, 340px); width: 18%; height: 86px; }
  body[data-state="5"] .industry-auto { left: 82%; top: min(43vh, 340px); width: 14%; height: 86px; }
  body[data-state="5"] .industry-equipment { left: 62%; top: min(54vh, 426px); width: 34%; height: 64px; }

  body[data-state="6"] .steel-preview { top: 138px; right: var(--outer); left: var(--outer); width: auto; }
  body[data-state="6"] .steel-preview h2 { font-size: clamp(70px, 19vw, 98px); }
  .chapter-index { top: 104px; font-size: 8px; }
  .chapter-preview h2 { top: 168px; font-size: clamp(72px, 20vw, 104px); }
  .chapter-meta { top: 370px; left: var(--outer); grid-template-columns: 1fr; gap: 12px; font-size: 8px; }
  .business-chain { right: var(--outer); bottom: 58px; left: var(--outer); padding-top: 10px; font-size: 7px; white-space: normal; }
  .enter-business { left: var(--outer); bottom: 148px; font-size: 8px; }

  .contact-sheet, .industry-catalog-panel { inset: 80px var(--outer) 22px; gap: 20px; overflow-y: auto; }
  .contact-sheet-heading, .industry-catalog-heading { grid-template-columns: 1fr; gap: 6px; }
  .contact-sheet-heading h2, .industry-catalog-heading h2 { font-size: clamp(36px, 10vw, 48px); }
  .contact-sheet-heading span, .industry-catalog-heading span { justify-self: start; }
  .contact-sheet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 18px; }
  .contact-sheet-grid figure:last-child { grid-column: 1 / -1; }
  .contact-sheet-grid figure { min-height: 150px; }
  .industry-catalog-groups { grid-template-columns: 1fr; gap: 18px; padding-bottom: 18px; }
  .catalog-model h3 { font-size: 28px; }
  .state-readout { bottom: 16px; font-size: 7px; }
}
