:root {
  --ink: #10161b;
  --paper: #e8e3d8;
  --smoke: #05080b;
  --panel: #101a20;
  --muted: #65737c;
  --line: rgba(16, 22, 27, 0.18);
  --line-dark: rgba(239, 232, 217, 0.18);
  --flame: #e84b2a;
  --amber: #ffc247;
  --teal: #18a7a1;
  --blue: #3d7198;
  --white: #fff7e8;
  --ash: #c6c0b4;
  --warning: #f7c948;
  --steel: #4b5f68;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--smoke);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 75, 42, 0.16), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(24, 167, 161, 0.13), transparent 32%),
    #05080b;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(255, 247, 232, 0.2) 0.8px, transparent 0.8px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 247, 232, 0.04) 1px, transparent 1px);
  background-size: 3px 3px, 72px 72px, 72px 72px;
  mix-blend-mode: overlay;
}

img,
canvas {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 4vw, 58px);
  color: var(--white);
  backdrop-filter: blur(18px);
  background: rgba(9, 13, 18, 0.56);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-nav.on-light {
  color: var(--ink);
  background: rgba(245, 241, 234, 0.68);
  border-bottom-color: rgba(17, 19, 21, 0.12);
}

.nav-brand {
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: currentColor;
  opacity: 0.78;
}

.site-nav nav a {
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.site-nav nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.site-nav nav a.is-current {
  color: var(--amber);
  opacity: 1;
}

.site-nav.on-light nav a.is-current {
  color: var(--flame);
}

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-action {
  min-width: 48px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(248, 245, 239, 0.18);
  color: currentColor;
  background: rgba(248, 245, 239, 0.08);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.site-nav.on-light .nav-action {
  border-color: rgba(17, 19, 21, 0.16);
  background: rgba(255, 250, 241, 0.54);
}

.nav-action.is-active {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(90deg, var(--flame), var(--amber));
}

.nav-progress {
  width: min(180px, 18vw);
  height: 4px;
  overflow: hidden;
  background: rgba(128, 137, 145, 0.25);
}

.nav-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--teal));
}

.section-dark {
  color: var(--white);
  background: var(--smoke);
}

.section-paper {
  color: var(--ink);
  background: var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

.hero {
  min-height: 100svh;
  padding: 96px clamp(22px, 6vw, 96px) 64px;
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.flashover::before,
.curve-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(226, 74, 42, 0.2), rgba(226, 74, 42, 0) 34%),
    linear-gradient(300deg, rgba(20, 143, 140, 0.14), rgba(20, 143, 140, 0) 42%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.8vw, 84px);
  line-height: 1.04;
  font-weight: 950;
}

.hero-speaker {
  margin: 0;
  color: rgba(248, 245, 239, 0.86);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.35;
  font-weight: 900;
}

.hero-lede {
  max-width: 650px;
  color: rgba(248, 245, 239, 0.78);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.55;
}

.hero-pills {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  padding: 10px 14px;
  border: 1px solid rgba(248, 245, 239, 0.18);
  background: rgba(248, 245, 239, 0.065);
  color: rgba(248, 245, 239, 0.82);
  font-size: 15px;
  font-weight: 800;
}

.hero-takeaways {
  max-width: 680px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(248, 245, 239, 0.14);
  background: rgba(248, 245, 239, 0.055);
  box-shadow: inset 0 1px 0 rgba(248, 245, 239, 0.08);
}

.hero-takeaways strong {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 22px;
}

.hero-takeaways ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-takeaways li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.hero-takeaways li span {
  color: var(--teal);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-weight: 900;
}

.hero-takeaways p {
  margin: 0;
  color: rgba(248, 245, 239, 0.84);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.35;
}

.hero-device {
  position: relative;
  z-index: 2;
  min-height: 68vh;
  border: 1px solid rgba(248, 245, 239, 0.16);
  background: #05070a;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

.hero-device img {
  width: 100%;
  height: 100%;
  min-height: 68vh;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.05);
}

.hero-glass {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  background: rgba(9, 13, 18, 0.62);
  border: 1px solid rgba(248, 245, 239, 0.14);
  backdrop-filter: blur(18px);
}

.hero-glass strong {
  color: var(--amber);
  font-size: 18px;
}

.hero-glass span {
  color: rgba(248, 245, 239, 0.78);
}

.heat-orbit {
  display: none;
}

.orbit-a {
  width: 520px;
  height: 520px;
  right: -180px;
  top: -110px;
}

.orbit-b {
  width: 360px;
  height: 360px;
  left: -150px;
  bottom: 40px;
  border-color: rgba(20, 143, 140, 0.28);
}

.section-heading {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.flash-copy h2,
.curve-copy h2,
.structure-copy h2,
.finale h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.6vw, 84px);
  line-height: 1.02;
  font-weight: 950;
}

.curve-copy h2,
.flash-copy h2,
.structure-copy h2 {
  font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.06;
}

.curve-copy h2 {
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.1;
}

.section-heading p,
.flash-copy p,
.curve-copy p,
.structure-copy p,
.finale p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 64px;
}

.talk-map {
  position: relative;
  padding: 118px 0 126px;
  overflow: hidden;
}

.talk-map .section-heading h2 {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(36px, 4.8vw, 72px);
}

.question-cloud {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.question-cloud span {
  position: absolute;
  color: rgba(17, 19, 21, 0.055);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.question-cloud span:nth-child(1) { left: 4%; top: 12%; font-size: clamp(52px, 7vw, 110px); }
.question-cloud span:nth-child(2) { right: 7%; top: 9%; font-size: clamp(34px, 4.6vw, 76px); }
.question-cloud span:nth-child(3) { left: 11%; bottom: 14%; font-size: clamp(38px, 5.4vw, 86px); }
.question-cloud span:nth-child(4) { right: 3%; bottom: 18%; font-size: clamp(48px, 7vw, 116px); }
.question-cloud span:nth-child(5) { left: 43%; top: 5%; font-size: clamp(30px, 3.8vw, 62px); }
.question-cloud span:nth-child(6) { left: 28%; top: 45%; font-size: clamp(54px, 8vw, 124px); opacity: 0.72; }
.question-cloud span:nth-child(7) { right: 30%; bottom: 7%; font-size: clamp(30px, 4vw, 64px); }
.question-cloud span:nth-child(8) { left: 2%; top: 54%; font-size: clamp(34px, 4.8vw, 78px); }
.question-cloud span:nth-child(9) { right: 14%; top: 46%; font-size: clamp(38px, 5.6vw, 88px); }

.arc-flow {
  width: min(1050px, 100%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(17, 19, 21, 0.14);
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 58px rgba(17, 19, 21, 0.07);
}

.talk-map .section-heading,
.talk-map .route-grid {
  position: relative;
  z-index: 1;
}

.arc-flow span {
  min-height: 74px;
  padding: 18px 26px 18px 18px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.15;
  font-weight: 950;
}

.arc-flow span + span {
  border-left: 1px solid rgba(17, 19, 21, 0.12);
}

.arc-flow span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--flame);
  font-size: 25px;
}

.route-grid {
  width: min(1260px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.route-card {
  min-height: 252px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  background: #fffaf1;
  border: 1px solid var(--line);
  box-shadow: 0 18px 54px rgba(17, 19, 21, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.route-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--teal));
  transform-origin: left center;
  transform: scaleX(0.28);
}

.route-card span {
  color: var(--flame);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.route-card h3 {
  margin: 54px 0 14px;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.12;
}

.route-module {
  min-height: 330px;
}

.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.route-tags small {
  padding: 8px 10px;
  border: 1px solid rgba(17, 19, 21, 0.12);
  color: #4f585f;
  background: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 900;
}

.route-card p {
  margin: 0;
  color: #5a5f63;
  font-size: 16px;
  line-height: 1.62;
}

.route-card:nth-child(2n) {
  transform: none;
}

.route-card:nth-child(3n) {
  background: #f6f7f4;
}

.route-card:hover {
  box-shadow: 0 26px 70px rgba(17, 19, 21, 0.1);
}

.case-wall {
  padding: 112px 0 124px;
}

.case-grid {
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fffaf1;
  border: 1px solid var(--line);
  box-shadow: 0 18px 58px rgba(17, 19, 21, 0.08);
  transform: translateZ(0);
}

.case-card:nth-child(even) {
  margin-top: 48px;
}

.case-card img {
  height: 255px;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.case-visual {
  position: relative;
  height: 255px;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 24%, rgba(232, 75, 42, 0.42), transparent 26%),
    linear-gradient(120deg, rgba(244, 169, 61, 0.12), rgba(20, 143, 140, 0.08)),
    #111923;
  border-bottom: 1px solid rgba(16, 22, 27, 0.32);
}

.case-taipo-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 247, 232, 0.18);
}

.tai-po-tower {
  position: absolute;
  bottom: 24px;
  width: 78px;
  height: 168px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 247, 232, 0.16) 0 2px, transparent 2px 20px),
    linear-gradient(180deg, rgba(255, 247, 232, 0.1), rgba(255, 247, 232, 0.02));
  border: 1px solid rgba(255, 247, 232, 0.26);
}

.tai-po-tower.t1 { left: 54px; height: 158px; }
.tai-po-tower.t2 { left: 142px; height: 188px; }
.tai-po-tower.t3 { left: 230px; height: 174px; }

.tai-po-scaffold {
  position: absolute;
  left: 42px;
  bottom: 20px;
  width: 292px;
  height: 198px;
  border: 0;
  background:
    repeating-linear-gradient(90deg, rgba(244, 169, 61, 0.34) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(0deg, rgba(244, 169, 61, 0.24) 0 2px, transparent 2px 22px);
  mix-blend-mode: screen;
}

.tai-po-fire {
  position: absolute;
  left: 132px;
  bottom: 28px;
  width: 156px;
  height: 196px;
  border: 0;
  background:
    radial-gradient(ellipse at 40% 84%, rgba(255, 211, 106, 0.9), transparent 30%),
    radial-gradient(ellipse at 54% 72%, rgba(244, 169, 61, 0.86), transparent 42%),
    radial-gradient(ellipse at 48% 68%, rgba(232, 75, 42, 0.78), transparent 58%);
  filter: blur(1px) drop-shadow(0 0 28px rgba(232, 75, 42, 0.6));
  animation: caseFlame 2.2s ease-in-out infinite alternate;
}

.tai-po-smoke {
  position: absolute;
  left: 96px;
  right: 22px;
  top: 18px;
  height: 116px;
  border: 0;
  background:
    radial-gradient(ellipse at 34% 60%, rgba(34, 35, 34, 0.72), transparent 62%),
    radial-gradient(ellipse at 72% 42%, rgba(88, 92, 88, 0.46), transparent 68%);
  filter: blur(14px);
  opacity: 0.86;
  animation: caseSmoke 6s ease-in-out infinite alternate;
}

.case-card > div:not(.case-visual) {
  padding: 24px;
}

.case-card span {
  color: var(--flame);
  font-size: 13px;
  font-weight: 900;
}

.case-card .case-visual {
  padding: 0;
}

.case-card .case-visual span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.case-card h3 {
  margin: 12px 0 12px;
  font-size: 25px;
  line-height: 1.18;
}

.case-card p {
  color: #5a5f63;
  line-height: 1.62;
}

.case-chain {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: #5a5f63;
  font-size: 15px;
  line-height: 1.45;
}

.case-chain li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid rgba(17, 19, 21, 0.08);
}

.case-chain li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--flame);
  font-weight: 900;
}

.takeaway-strip {
  width: min(1120px, calc(100% - 44px));
  margin: 34px auto 0;
  padding: 22px 30px;
  background: #111315;
  color: var(--white);
}

.takeaway-strip strong {
  color: var(--amber);
  font-size: 20px;
  line-height: 1.2;
}

.takeaway-strip p {
  margin: 0;
  color: rgba(248, 245, 239, 0.8);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.52;
  font-weight: 900;
}

.takeaway-dark {
  border: 1px solid var(--line-dark);
  background: rgba(248, 245, 239, 0.06);
}

.flash-copy .takeaway-strip {
  width: 100%;
  grid-template-columns: 1fr;
  margin-top: 30px;
  padding: 20px 22px;
}

.fire-types {
  padding: 108px 0 124px;
}

.type-stage {
  width: min(1320px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.type-card {
  min-height: 620px;
  display: grid;
  grid-template-rows: 300px 1fr;
  overflow: hidden;
  background: #fffaf1;
  border: 1px solid var(--line);
  box-shadow: 0 20px 62px rgba(17, 19, 21, 0.07);
}

.type-card > div:last-child {
  padding: clamp(24px, 2.2vw, 34px);
}

.type-card span {
  color: var(--flame);
  font-size: 14px;
  font-weight: 950;
}

.type-card h3 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.08;
}

.type-card p {
  color: #586168;
  font-size: 18px;
  line-height: 1.62;
}

.type-card ul {
  margin: 0;
  padding-left: 1.18em;
  color: #4f5960;
  font-size: clamp(15px, 1.04vw, 18px);
  line-height: 1.48;
}

.type-card li + li {
  margin-top: 0.55em;
}

.type-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #11171b;
}

.type-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.type-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.02), rgba(7, 11, 16, 0.3)),
    radial-gradient(circle at 16% 18%, rgba(255, 194, 71, 0.16), transparent 34%);
}

.type-atrium-photo::after {
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.08), rgba(7, 11, 16, 0.36)),
    linear-gradient(180deg, transparent 0 44%, rgba(7, 11, 16, 0.34));
}

.stack-arrow {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 8px;
  height: 130px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 194, 71, 0), rgba(255, 194, 71, 0.9));
  filter: drop-shadow(0 0 14px rgba(255, 194, 71, 0.42));
  transform: translateX(-50%);
  animation: stackArrowRise 2.8s ease-in-out infinite;
}

.stack-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 22px;
  height: 22px;
  border-top: 8px solid rgba(255, 194, 71, 0.92);
  border-right: 8px solid rgba(255, 194, 71, 0.92);
  transform: translateX(-50%) rotate(-45deg);
}

.stack-arrow.a2 {
  left: 60%;
  height: 104px;
  animation-delay: 0.5s;
  opacity: 0.72;
}

.stack-arrow.a3 {
  left: 42%;
  height: 88px;
  animation-delay: 1s;
  opacity: 0.62;
}

.type-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(232, 75, 42, 0.16), transparent 48%),
    linear-gradient(310deg, rgba(20, 143, 140, 0.18), transparent 42%),
    #101820;
}

.type-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(255, 247, 232, 0.16);
}

.type-visual span {
  position: absolute;
  display: block;
}

.type-room {
  inset: 46px 46px 42px;
  border: 2px solid rgba(255, 247, 232, 0.22);
}

.type-door {
  right: 52px;
  bottom: 44px;
  width: 54px;
  height: 112px;
  border: 2px solid rgba(20, 143, 140, 0.76);
  background: rgba(20, 143, 140, 0.08);
}

.type-fire {
  left: 86px;
  bottom: 54px;
  width: 64px;
  height: 92px;
  border-radius: 56% 44% 50% 50%;
  background:
    radial-gradient(circle at 62% 62%, #ffd36a 0 22%, transparent 23%),
    radial-gradient(circle at 44% 58%, var(--amber) 0 38%, transparent 39%),
    radial-gradient(circle at 38% 76%, var(--flame) 0 48%, transparent 49%);
  filter: drop-shadow(0 0 24px rgba(232, 75, 42, 0.6));
  animation: fireBreath 1.8s ease-in-out infinite alternate;
}

.type-smoke {
  left: 86px;
  top: 58px;
  width: 250px;
  height: 98px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 28% 60%, rgba(210, 214, 206, 0.34), transparent 38%),
    radial-gradient(ellipse at 66% 38%, rgba(62, 66, 64, 0.52), transparent 68%);
  filter: blur(9px);
  animation: typeSmokeDrift 6.5s ease-in-out infinite alternate;
}

.type-hall {
  left: 38px;
  right: 38px;
  bottom: 46px;
  height: 150px;
  border: 2px solid rgba(255, 247, 232, 0.22);
}

.type-local-fire {
  left: 66px;
  bottom: 74px;
  width: 52px;
  height: 74px;
  border-radius: 56% 44% 50% 50%;
  background: linear-gradient(180deg, #ffd36a, var(--flame));
  filter: drop-shadow(0 0 20px rgba(232, 75, 42, 0.62));
  animation: fireBreath 2s ease-in-out infinite alternate;
}

.type-ceiling-smoke {
  left: 48px;
  right: 48px;
  top: 54px;
  height: 72px;
  background:
    linear-gradient(90deg, rgba(60, 62, 60, 0.72), rgba(166, 170, 160, 0.28), rgba(60, 62, 60, 0.42)),
    radial-gradient(ellipse at center, rgba(255, 247, 232, 0.18), transparent 70%);
  filter: blur(8px);
  animation: hallSmokeLayer 7s ease-in-out infinite alternate;
}

.type-crowd {
  left: 122px;
  right: 70px;
  bottom: 62px;
  height: 58px;
  background:
    radial-gradient(circle at 18px 18px, rgba(255,247,232,.82) 0 8px, transparent 9px),
    radial-gradient(circle at 58px 22px, rgba(255,247,232,.66) 0 7px, transparent 8px),
    radial-gradient(circle at 98px 16px, rgba(255,247,232,.82) 0 8px, transparent 9px),
    radial-gradient(circle at 138px 24px, rgba(255,247,232,.66) 0 7px, transparent 8px);
}

.type-tower {
  left: 58px;
  bottom: 30px;
  width: 174px;
  height: 222px;
  border: 2px solid rgba(255, 247, 232, 0.24);
  background: repeating-linear-gradient(0deg, rgba(255,247,232,.14) 0 2px, transparent 2px 32px);
}

.type-shaft {
  right: 92px;
  bottom: 30px;
  width: 44px;
  height: 222px;
  border: 2px solid rgba(20, 143, 140, 0.68);
  background: rgba(20, 143, 140, 0.08);
}

.type-stack-smoke {
  right: 66px;
  bottom: 42px;
  width: 96px;
  height: 214px;
  background: radial-gradient(ellipse at center, rgba(118, 122, 116, 0.58), rgba(60, 62, 60, 0.08) 72%, transparent);
  filter: blur(7px);
  animation: stackSmokeRise 5.4s ease-in-out infinite alternate;
}

.type-atrium {
  left: 244px;
  bottom: 30px;
  width: 72px;
  height: 178px;
  border: 2px solid rgba(244, 169, 61, 0.42);
  background: linear-gradient(180deg, rgba(244, 169, 61, 0.12), transparent);
}

.risk-field {
  padding: 108px 0 124px;
}

.risk-grid {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.risk-card {
  min-height: 650px;
  display: grid;
  grid-template-rows: 220px 1fr;
  background: #fffaf1;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(17, 19, 21, 0.06);
}

.risk-card > div:last-child {
  padding: 28px;
}

.risk-card span {
  color: var(--flame);
  font-size: 14px;
  font-weight: 900;
}

.risk-card h3 {
  margin: 12px 0 14px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.12;
}

.risk-card p,
.risk-card li {
  color: #5a5f63;
  font-size: 17px;
  line-height: 1.65;
}

.risk-card ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.risk-card li + li {
  margin-top: 8px;
}

.risk-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(226, 74, 42, 0.18), transparent 40%),
    linear-gradient(310deg, rgba(20, 143, 140, 0.14), transparent 42%),
    #111923;
}

.risk-visual::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(248, 245, 239, 0.18);
}

.risk-visual span {
  position: absolute;
  display: block;
  border: 2px solid rgba(248, 245, 239, 0.22);
  background: rgba(248, 245, 239, 0.05);
}

.home-risk span:nth-child(1) {
  left: 56px;
  bottom: 42px;
  width: 86px;
  height: 72px;
  border-color: rgba(244, 169, 61, 0.5);
}

.home-risk span:nth-child(2) {
  right: 72px;
  bottom: 42px;
  width: 72px;
  height: 128px;
}

.home-risk span:nth-child(3) {
  left: 128px;
  top: 52px;
  width: 120px;
  height: 28px;
  background: rgba(226, 74, 42, 0.28);
  border-color: rgba(226, 74, 42, 0.6);
  box-shadow: 0 0 34px rgba(226, 74, 42, 0.36);
}

.public-risk span {
  width: 56px;
  height: 108px;
  bottom: 42px;
  border-radius: 999px 999px 8px 8px;
}

.public-risk span:nth-child(1) { left: 58px; }
.public-risk span:nth-child(2) { left: 132px; height: 126px; }
.public-risk span:nth-child(3) { left: 206px; }
.public-risk span:nth-child(4) {
  right: 54px;
  top: 46px;
  width: 120px;
  height: 40px;
  border-radius: 0;
  border-color: rgba(20, 143, 140, 0.55);
}

.tower-risk span {
  left: 50%;
  width: 150px;
  height: 28px;
  transform: translateX(-50%);
}

.tower-risk span:nth-child(1) { top: 44px; }
.tower-risk span:nth-child(2) { top: 82px; }
.tower-risk span:nth-child(3) { top: 120px; }
.tower-risk span:nth-child(4) { top: 158px; }
.tower-risk span:nth-child(5) {
  left: auto;
  right: 56px;
  top: 42px;
  width: 18px;
  height: 136px;
  transform: none;
  background: rgba(226, 74, 42, 0.28);
  border-color: rgba(226, 74, 42, 0.55);
}

.risk-visual span {
  border-radius: 0;
}

.home-risk .home-room {
  inset: 30px 28px 28px 28px;
  width: auto;
  height: auto;
  border-color: rgba(248, 245, 239, 0.18);
}

.home-risk .home-kitchen {
  left: 54px;
  bottom: 44px;
  width: 92px;
  height: 70px;
  border-color: rgba(244, 169, 61, 0.58);
  background: rgba(244, 169, 61, 0.08);
}

.home-risk .home-sofa {
  right: 54px;
  bottom: 44px;
  width: 120px;
  height: 48px;
  border-radius: 28px 28px 8px 8px;
  border-color: rgba(248, 245, 239, 0.34);
}

.home-risk .home-door {
  right: 76px;
  top: 46px;
  width: 48px;
  height: 96px;
  border-color: rgba(20, 143, 140, 0.7);
  background: rgba(20, 143, 140, 0.08);
}

.home-risk .home-smoke {
  left: 92px;
  top: 40px;
  width: 180px;
  height: 64px;
  border: 0;
  background: radial-gradient(ellipse at left, rgba(128, 137, 145, 0.58), rgba(128, 137, 145, 0.08) 68%, transparent);
  filter: blur(2px);
}

.home-risk .home-flame {
  left: 78px;
  bottom: 84px;
  width: 34px;
  height: 52px;
  border-radius: 60% 60% 50% 50%;
  border: 0;
  background: linear-gradient(180deg, var(--amber), var(--flame));
  box-shadow: 0 0 34px rgba(226, 74, 42, 0.55);
}

.public-risk .public-room {
  inset: 30px 28px 28px;
  width: auto;
  height: auto;
  border-radius: 0;
  border-color: rgba(248, 245, 239, 0.18);
}

.public-risk .public-exit {
  right: 46px;
  top: 50px;
  width: 100px;
  height: 34px;
  border-radius: 0;
  border-color: rgba(20, 143, 140, 0.68);
  background: rgba(20, 143, 140, 0.2);
}

.public-risk .public-exit::after {
  content: "EXIT";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(248, 245, 239, 0.85);
  font-size: 13px;
  font-weight: 950;
}

.public-risk .public-crowd {
  left: 48px;
  bottom: 46px;
  width: 190px;
  height: 58px;
  border: 0;
  background:
    radial-gradient(circle at 18px 18px, rgba(248,245,239,.82) 0 9px, transparent 10px),
    radial-gradient(circle at 58px 14px, rgba(248,245,239,.7) 0 8px, transparent 9px),
    radial-gradient(circle at 98px 20px, rgba(248,245,239,.82) 0 9px, transparent 10px),
    radial-gradient(circle at 140px 14px, rgba(248,245,239,.7) 0 8px, transparent 9px),
    linear-gradient(90deg, rgba(248,245,239,.26), rgba(248,245,239,.08));
}

.public-risk .public-smoke {
  left: 40px;
  top: 42px;
  width: 230px;
  height: 72px;
  border: 0;
  background: radial-gradient(ellipse at left, rgba(88, 94, 98, 0.68), rgba(88, 94, 98, 0.08) 70%, transparent);
  filter: blur(2px);
}

.public-risk .public-bed {
  right: 52px;
  bottom: 50px;
  width: 120px;
  height: 42px;
  border-radius: 0;
  border-color: rgba(244, 169, 61, 0.54);
}

.tower-risk .tower-floor {
  left: 56px;
  width: 170px;
  height: 28px;
  transform: none;
  border-color: rgba(248, 245, 239, 0.24);
}

.tower-risk .tower-floor.f1 { top: 48px; }
.tower-risk .tower-floor.f2 { top: 84px; }
.tower-risk .tower-floor.f3 { top: 120px; }
.tower-risk .tower-floor.f4 { top: 156px; }

.tower-risk .tower-shaft {
  right: 62px;
  top: 44px;
  width: 22px;
  height: 142px;
  transform: none;
  border-color: rgba(20, 143, 140, 0.62);
  background: rgba(20, 143, 140, 0.1);
}

.tower-risk .tower-stair {
  right: 100px;
  top: 48px;
  width: 42px;
  height: 136px;
  transform: none;
  border-color: rgba(248, 245, 239, 0.22);
  background: repeating-linear-gradient(180deg, rgba(248,245,239,.16) 0 2px, transparent 2px 16px);
}

.tower-risk .tower-smoke {
  right: 40px;
  top: 30px;
  width: 108px;
  height: 170px;
  transform: none;
  border: 0;
  background: radial-gradient(ellipse at center, rgba(99, 105, 109, 0.7), rgba(99, 105, 109, 0.08) 68%, transparent);
  filter: blur(2px);
}

.storyline {
  padding: 0;
}

.sticky-layout {
  width: min(1400px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(34px, 6vw, 84px);
}

.sticky-visual {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
}

.room-lens {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(180deg, rgba(7, 11, 16, 0.98), rgba(6, 8, 10, 0.92)),
    #070b10;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(248, 245, 239, 0.06);
}

.room-lens img {
  opacity: 0.58;
  width: 100%;
  filter: saturate(0.92) contrast(1.08);
}

#smokeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.step-meter {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 9px;
}

.step-meter i {
  height: 6px;
  background: rgba(248, 245, 239, 0.18);
  transform-origin: left center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.step-meter i.is-active {
  background: linear-gradient(90deg, var(--flame), var(--amber));
  transform: scaleY(1.45);
}

.timeline-dashboard {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 5;
  width: min(260px, calc(100% - 48px));
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(248, 245, 239, 0.14);
  background: rgba(7, 11, 16, 0.72);
  backdrop-filter: blur(14px);
}

.story-metric {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: center;
}

.story-metric span {
  color: rgba(248, 245, 239, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.story-metric i {
  height: 8px;
  overflow: hidden;
  background: rgba(248, 245, 239, 0.16);
}

.story-metric b {
  display: block;
  width: calc(var(--level, 0.1) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--flame));
  transition: width 0.38s ease;
}

.story-metric[data-key="visibility"] b,
.story-metric[data-key="escape"] b {
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--teal));
}

.causal-ribbon {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 46px;
  z-index: 5;
  padding: 12px 14px;
  color: rgba(248, 245, 239, 0.82);
  background: rgba(7, 11, 16, 0.66);
  border: 1px solid rgba(248, 245, 239, 0.12);
  font-size: clamp(13px, 1.25vw, 17px);
  font-weight: 900;
}

.scroll-steps {
  padding: 16vh 0 22vh;
}

.step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(248, 245, 239, 0.1);
}

.step span {
  color: var(--amber);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 16px;
  font-weight: 900;
}

.step h2 {
  margin: 14px 0 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.04;
}

.step p {
  color: rgba(248, 245, 239, 0.72);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.62;
}

.smoke-brief {
  padding: 118px 0;
  position: relative;
  overflow: hidden;
}

.smoke-brief::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(226, 74, 42, 0.16), transparent 34%),
    linear-gradient(300deg, rgba(20, 143, 140, 0.12), transparent 46%);
  pointer-events: none;
}

.smoke-brief-inner {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.smoke-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(40px, 4.8vw, 74px);
  line-height: 1.04;
}

.smoke-copy p:not(.eyebrow) {
  color: rgba(248, 245, 239, 0.72);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.65;
}

.smoke-motto {
  margin-top: 28px;
  padding: 18px 20px;
  display: inline-block;
  color: var(--smoke);
  background: var(--amber);
  font-size: clamp(24px, 3.2vw, 44px);
  line-height: 1;
  font-weight: 950;
}

.smoke-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.smoke-metrics article {
  min-height: 265px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(160deg, rgba(248, 245, 239, 0.075), rgba(248, 245, 239, 0.02)),
    rgba(248, 245, 239, 0.03);
  box-shadow: inset 0 1px 0 rgba(248, 245, 239, 0.08);
}

.smoke-metrics span {
  color: var(--amber);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-weight: 900;
}

.smoke-metrics h3 {
  margin: 28px 0 12px;
  font-size: clamp(26px, 2.4vw, 36px);
}

.smoke-metrics p {
  color: rgba(248, 245, 239, 0.7);
  font-size: 17px;
  line-height: 1.65;
}

.myth-section {
  padding: 112px 0 124px;
}

.myth-grid {
  width: min(1260px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.myth-card {
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: #fffaf1;
  box-shadow: 0 18px 54px rgba(17, 19, 21, 0.06);
}

.myth-card:nth-child(even) {
  background: #f6f7f4;
}

.myth-card span {
  color: var(--flame);
  font-weight: 900;
}

.myth-card h3 {
  margin: 28px 0 18px;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.12;
}

.myth-card p {
  margin: 0;
  color: #5a5f63;
  font-size: 16px;
  line-height: 1.55;
}

.mechanism-lab {
  padding: 118px 0;
}

.mechanism-grid {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mechanism-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffaf1;
  border: 1px solid var(--line);
}

.mechanism-card span {
  color: var(--teal);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-weight: 900;
}

.mechanism-card h3 {
  margin-bottom: 14px;
  font-size: 32px;
}

.mechanism-card p {
  color: #5a5f63;
  line-height: 1.65;
}

.accuracy-band {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto 72px;
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  color: var(--white);
  background: linear-gradient(110deg, var(--ink), #1c242b 58%, #263b3b);
  box-shadow: 0 28px 80px rgba(17, 19, 21, 0.18);
}

.accuracy-band strong {
  color: var(--amber);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.08;
}

.accuracy-band p {
  margin: 0;
  color: rgba(248, 245, 239, 0.76);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.65;
}

.interactive-compare {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 30px;
  align-items: stretch;
}

.compare-copy {
  padding: clamp(28px, 4vw, 52px);
  background: var(--ink);
  color: var(--white);
}

.compare-copy h3 {
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1.05;
}

.compare-copy p {
  color: rgba(248, 245, 239, 0.72);
  line-height: 1.65;
}

.compare-copy button,
.strategy-tabs button {
  border: 0;
  padding: 13px 18px;
  color: var(--white);
  background: linear-gradient(90deg, var(--flame), var(--amber));
  font-weight: 900;
  cursor: pointer;
}

.diagram-note {
  display: block;
  margin-top: 14px;
  color: rgba(248, 245, 239, 0.58);
  font-size: 14px;
  line-height: 1.45;
}

.vent-room {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.98) 0 65.5%, rgba(45, 55, 60, 0.18) 65.5% 100%),
    repeating-linear-gradient(0deg, rgba(17, 19, 21, 0.035) 0 1px, transparent 1px 18px);
}

.vent-room::before {
  content: "";
  position: absolute;
  inset: 66px 34.5% 62px 78px;
  border: 6px solid #3f403e;
  z-index: 1;
}

.vent-room::after {
  content: "";
  position: absolute;
  inset: 66px 34.5% 62px 78px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(226, 74, 42, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(17, 19, 21, 0.1), transparent 42%),
    repeating-linear-gradient(90deg, rgba(17, 19, 21, 0.035) 0 1px, transparent 1px 18px);
  mix-blend-mode: multiply;
}

.vent-door {
  position: absolute;
  z-index: 4;
  border: 4px solid var(--blue);
  background: rgba(45, 111, 163, 0.16);
}

.vent-door {
  left: calc(65.5% - 28px);
  top: 202px;
  width: 84px;
  height: 150px;
  border-color: #3f403e;
  background: #fffaf1;
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 5;
}

.vent-room.is-open .vent-door {
  transform: perspective(560px) rotateY(62deg);
}

.room-label,
.corridor-label {
  position: absolute;
  z-index: 6;
  top: 84px;
  padding: 8px 12px;
  color: #3f403e;
  background: rgba(255, 250, 241, 0.82);
  border: 1px solid rgba(63, 64, 62, 0.18);
  font-size: 14px;
  font-weight: 950;
}

.room-label {
  left: 98px;
}

.corridor-label {
  right: 76px;
}

.flame-core {
  position: absolute;
  z-index: 4;
  left: 36%;
  bottom: 126px;
  width: 94px;
  height: 130px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 64% 64%, #ffd36a 0 24%, transparent 25%),
    radial-gradient(circle at 42% 56%, var(--amber) 0 36%, transparent 37%),
    radial-gradient(circle at 38% 76%, var(--flame) 0 44%, transparent 45%);
  border-radius: 56% 44% 50% 50%;
  filter: drop-shadow(0 0 20px rgba(226, 74, 42, 0.48));
  animation: fireBreath 1.9s ease-in-out infinite alternate;
}

.smoke-layer {
  position: absolute;
  z-index: 2;
  left: 96px;
  right: 34%;
  top: 96px;
  height: 116px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 24% 48%, rgba(20, 21, 21, 0.46) 0 23%, rgba(73, 76, 72, 0.22) 42%, transparent 68%),
    radial-gradient(ellipse at 58% 34%, rgba(30, 31, 31, 0.42) 0 24%, rgba(92, 96, 89, 0.18) 48%, transparent 72%),
    radial-gradient(ellipse at 82% 56%, rgba(42, 44, 43, 0.36) 0 22%, rgba(132, 137, 128, 0.12) 58%, transparent 78%),
    linear-gradient(180deg, rgba(28, 29, 29, 0.42), rgba(95, 99, 92, 0.04));
  filter: blur(16px) saturate(0.82);
  opacity: 0.54;
  transform: translateY(0) scaleX(1);
  transform-origin: 62% 50%;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.9s ease, filter 0.9s ease;
  animation: smokePulse 7s ease-in-out infinite alternate;
}

.smoke-layer::before,
.smoke-layer::after {
  content: "";
  position: absolute;
  inset: -44px -72px;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
}

.smoke-layer::before {
  background:
    radial-gradient(ellipse at 18% 54%, rgba(212, 215, 207, 0.22), transparent 36%),
    radial-gradient(ellipse at 46% 34%, rgba(116, 122, 116, 0.23), transparent 42%),
    radial-gradient(ellipse at 72% 56%, rgba(236, 221, 190, 0.12), transparent 36%);
  mix-blend-mode: screen;
  animation: smokeFilamentA 8.4s ease-in-out infinite alternate;
}

.smoke-layer::after {
  background:
    linear-gradient(100deg, transparent 0 15%, rgba(248, 245, 239, 0.12) 28%, transparent 44% 100%),
    linear-gradient(74deg, transparent 0 34%, rgba(17, 19, 21, 0.22) 46%, transparent 58% 100%);
  opacity: 0.68;
  animation: smokeFilamentB 6.8s ease-in-out infinite alternate;
}

.vent-room.is-open .smoke-layer {
  transform: translate(170px, 10px) scaleX(1.58) scaleY(0.88);
  opacity: 0.5;
  filter: blur(18px) saturate(0.76);
}

#ventSmokeCanvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.air-arrow,
.smoke-arrow {
  position: absolute;
  z-index: 6;
  padding: 8px 12px;
  font-weight: 900;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.air-arrow {
  right: 116px;
  bottom: 122px;
  color: var(--teal);
  transform: translateX(60px);
  opacity: 0.15;
}

.smoke-arrow {
  right: 118px;
  top: 154px;
  color: #3f403e;
  background: rgba(255, 250, 241, 0.74);
  border: 1px solid rgba(63, 64, 62, 0.18);
}

.vent-room.is-open .air-arrow {
  transform: translateX(0);
  opacity: 1;
}

.vent-room.is-open .smoke-arrow {
  transform: translateX(28px);
}

.vent-room {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 24%, rgba(232, 75, 42, 0.16), transparent 28%),
    radial-gradient(circle at 74% 74%, rgba(20, 143, 140, 0.18), transparent 34%),
    linear-gradient(135deg, #f7efe2 0 48%, #cfd4ca 48% 100%);
  isolation: isolate;
}

.vent-room::before,
.vent-room::after {
  display: none;
}

.iso-scene {
  position: relative;
  width: min(760px, 88%);
  aspect-ratio: 1.32;
  transform: translateY(12px);
}

.iso-scene > div {
  position: absolute;
  transform-origin: center;
}

.iso-floor {
  left: 13%;
  top: 42%;
  width: 51%;
  height: 34%;
  clip-path: polygon(17% 0, 100% 16%, 83% 100%, 0 82%);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(235, 224, 205, 0.86)),
    repeating-linear-gradient(90deg, rgba(63, 64, 62, 0.08) 0 1px, transparent 1px 36px);
  border: 2px solid rgba(63, 64, 62, 0.2);
  box-shadow: 0 36px 70px rgba(17, 19, 21, 0.16);
}

.iso-back-wall {
  left: 20%;
  top: 15%;
  width: 50%;
  height: 34%;
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
  background:
    linear-gradient(115deg, rgba(255, 250, 241, 0.96), rgba(231, 222, 203, 0.86)),
    repeating-linear-gradient(0deg, rgba(63, 64, 62, 0.08) 0 1px, transparent 1px 34px);
  border: 2px solid rgba(63, 64, 62, 0.22);
}

.iso-side-wall {
  left: 63%;
  top: 22%;
  width: 22%;
  height: 51%;
  clip-path: polygon(0 0, 100% 18%, 87% 100%, 0 82%);
  background:
    linear-gradient(120deg, rgba(210, 214, 206, 0.92), rgba(125, 137, 137, 0.5)),
    repeating-linear-gradient(0deg, rgba(63, 64, 62, 0.07) 0 1px, transparent 1px 25px);
  border: 2px solid rgba(63, 64, 62, 0.2);
}

.iso-corridor-floor {
  left: 66%;
  top: 52%;
  width: 27%;
  height: 28%;
  clip-path: polygon(0 0, 100% 16%, 82% 100%, 0 83%);
  background:
    linear-gradient(120deg, rgba(157, 169, 165, 0.52), rgba(94, 108, 110, 0.42)),
    repeating-linear-gradient(90deg, rgba(255, 250, 241, 0.08) 0 1px, transparent 1px 28px);
  border: 2px solid rgba(63, 64, 62, 0.14);
}

.iso-door-frame {
  left: 61.8%;
  top: 35%;
  width: 11%;
  height: 28%;
  clip-path: polygon(0 0, 100% 11%, 88% 100%, 0 88%);
  background: rgba(17, 19, 21, 0.78);
  box-shadow: 0 0 0 5px rgba(63, 64, 62, 0.42);
}

.iso-door-slab {
  left: 62.8%;
  top: 36.6%;
  width: 9.2%;
  height: 25.4%;
  clip-path: polygon(0 0, 100% 10%, 88% 100%, 0 90%);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(223, 210, 190, 0.88));
  border: 2px solid rgba(63, 64, 62, 0.48);
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.75s ease;
}

.vent-room.is-open .iso-door-slab {
  transform: translate(40px, 15px) skewY(13deg) rotate(8deg);
  filter: drop-shadow(-18px 14px 12px rgba(17, 19, 21, 0.24));
}

.iso-flame {
  left: 34%;
  top: 56%;
  width: 72px;
  height: 96px;
  transform: translate(-50%, -50%) rotate(-8deg);
  border-radius: 56% 44% 50% 50%;
  background:
    radial-gradient(circle at 62% 62%, #ffd36a 0 23%, transparent 24%),
    radial-gradient(circle at 42% 58%, var(--amber) 0 38%, transparent 39%),
    radial-gradient(circle at 38% 76%, var(--flame) 0 48%, transparent 49%);
  filter: drop-shadow(0 0 22px rgba(232, 75, 42, 0.58));
  animation: fireBreath 1.8s ease-in-out infinite alternate;
}

.iso-smoke {
  pointer-events: none;
  filter: blur(14px);
}

.iso-smoke-ceiling {
  left: 23%;
  top: 20%;
  width: 47%;
  height: 21%;
  clip-path: polygon(0 10%, 100% 0, 93% 94%, 7% 100%);
  background:
    radial-gradient(ellipse at 28% 55%, rgba(19, 21, 21, 0.62), transparent 54%),
    radial-gradient(ellipse at 70% 45%, rgba(66, 70, 66, 0.46), transparent 66%),
    linear-gradient(90deg, rgba(18, 20, 20, 0.58), rgba(96, 101, 94, 0.18));
  opacity: 0.78;
  animation: isoSmokeFloat 6.8s ease-in-out infinite alternate;
}

.iso-smoke-spill {
  left: 59%;
  top: 34%;
  width: 30%;
  height: 22%;
  clip-path: polygon(0 22%, 82% 0, 100% 55%, 20% 100%);
  background:
    radial-gradient(ellipse at 28% 50%, rgba(28, 30, 30, 0.56), transparent 58%),
    radial-gradient(ellipse at 72% 56%, rgba(104, 111, 105, 0.34), transparent 70%);
  opacity: 0.16;
  transform: translate(-18px, 14px) scaleX(0.72);
  transition: opacity 0.75s ease, transform 0.75s ease;
  animation: isoSmokeSpill 5.2s ease-in-out infinite alternate;
}

.vent-room.is-open .iso-smoke-spill {
  opacity: 0.78;
  transform: translate(18px, 4px) scaleX(1.08);
}

.iso-air-stream {
  left: 73%;
  top: 64%;
  width: 18%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 143, 140, 0), rgba(20, 143, 140, 0.82));
  opacity: 0.16;
  transform: rotate(10deg);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.iso-air-stream::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-top: 6px solid rgba(20, 143, 140, 0.84);
  border-right: 6px solid rgba(20, 143, 140, 0.84);
  transform: translateY(-50%) rotate(45deg);
}

.vent-room.is-open .iso-air-stream {
  opacity: 0.92;
  transform: translateX(-26px) rotate(10deg);
}

.vent-room .room-label,
.vent-room .corridor-label,
.vent-room .air-arrow,
.vent-room .smoke-arrow {
  position: absolute;
  z-index: 8;
  border: 1px solid rgba(63, 64, 62, 0.16);
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 8px 24px rgba(17, 19, 21, 0.08);
}

.vent-room .room-label {
  left: 12%;
  top: 11%;
}

.vent-room .corridor-label {
  right: 10%;
  top: 22%;
}

.vent-room .air-arrow {
  right: 12%;
  bottom: 16%;
}

.vent-room .smoke-arrow {
  right: 9%;
  top: 39%;
}

@keyframes isoSmokeFloat {
  from {
    transform: translate(-8px, 3px) scaleX(0.96);
  }

  to {
    transform: translate(12px, -4px) scaleX(1.06);
  }
}

@keyframes isoSmokeSpill {
  from {
    filter: blur(13px);
  }

  to {
    filter: blur(18px);
  }
}

.control-stack {
  padding: 112px 0 124px;
}

.control-layers {
  width: min(1280px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.control-layers article {
  min-height: 360px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffaf1;
}

.control-layers article::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 68px;
  height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--teal));
}

.control-layers article:nth-child(even) {
  background: #f6f7f4;
}

.control-layers span {
  color: var(--flame);
  font-size: 13px;
  font-weight: 900;
}

.control-layers h3 {
  margin: 54px 0 14px;
  font-size: clamp(28px, 2.7vw, 42px);
}

.control-layers p {
  color: #5a5f63;
  font-size: 17px;
  line-height: 1.65;
}

.facility-visual {
  width: min(1280px, calc(100% - 44px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.facility-visual article {
  min-height: 150px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end start;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(5, 8, 11, 0.98), rgba(27, 39, 44, 0.95)),
    repeating-linear-gradient(90deg, rgba(255, 194, 71, 0.07) 0 1px, transparent 1px 32px);
  border: 1px solid rgba(255, 194, 71, 0.22);
}

.facility-visual strong {
  position: relative;
  z-index: 2;
  font-size: clamp(20px, 1.6vw, 30px);
}

.facility-visual span {
  position: absolute;
  inset: 20px;
}

.facility-smoke-alarm span::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 4px;
  width: 76px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 247, 232, 0.88);
  box-shadow: 0 0 0 8px rgba(255, 247, 232, 0.08);
}

.facility-smoke-alarm span::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 52px;
  width: 128px;
  height: 54px;
  background: radial-gradient(ellipse at center, rgba(164, 170, 162, 0.55), transparent 70%);
  filter: blur(10px);
}

.facility-alarm span::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  width: 72px;
  height: 72px;
  border: 8px solid var(--flame);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(232, 75, 42, 0.12);
}

.facility-alarm span::after {
  content: "";
  position: absolute;
  left: 110px;
  top: 38px;
  width: 80px;
  height: 18px;
  border-top: 5px solid var(--warning);
  border-bottom: 5px solid var(--warning);
}

.facility-smoke-control span::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 18px;
  top: 18px;
  height: 28px;
  border: 3px solid rgba(255, 247, 232, 0.72);
}

.facility-smoke-control span::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 8px;
  top: 68px;
  height: 34px;
  background: linear-gradient(90deg, rgba(134, 140, 134, 0.62), transparent);
  clip-path: polygon(0 35%, 74% 35%, 74% 0, 100% 50%, 74% 100%, 74% 65%, 0 65%);
}

.facility-compartment span::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 6px;
  width: 120px;
  height: 96px;
  border: 4px solid rgba(255, 247, 232, 0.78);
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,247,232,.68) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,247,232,.42) 49% 51%, transparent 52%);
}

.facility-compartment span::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 24px;
  width: 64px;
  height: 88px;
  background: radial-gradient(ellipse at bottom, rgba(232, 75, 42, 0.76), transparent 72%);
  filter: blur(4px);
}

.facility-extinguisher span::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 20px;
  width: 46px;
  height: 86px;
  border-radius: 10px 10px 18px 18px;
  background: linear-gradient(180deg, var(--flame), #8e2419);
  box-shadow: inset 0 0 0 5px rgba(255, 247, 232, 0.16);
}

.facility-extinguisher span::after {
  content: "";
  position: absolute;
  left: 96px;
  top: 38px;
  width: 116px;
  height: 38px;
  background: linear-gradient(90deg, rgba(255, 247, 232, 0.72), transparent);
  clip-path: polygon(0 35%, 70% 35%, 70% 0, 100% 50%, 70% 100%, 70% 65%, 0 65%);
}

.control-flow {
  width: min(1160px, calc(100% - 44px));
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  background: #fffaf1;
}

.control-flow article {
  position: relative;
  min-height: 132px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(17, 19, 21, 0.12);
}

.control-flow article:last-child {
  border-right: 0;
}

.control-flow article::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--flame);
  font-size: 22px;
  font-weight: 900;
}

.control-flow article:last-child::after {
  content: "";
}

.control-flow span {
  color: var(--flame);
  font-weight: 900;
}

.control-flow strong {
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.18;
}

.action-boundary {
  width: min(1120px, calc(100% - 44px));
  margin: 28px auto 0;
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 24px;
  align-items: center;
  color: var(--white);
  background: linear-gradient(115deg, #111315, #1b262c 62%, #253f3d);
}

.action-boundary h3 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

.action-boundary ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.action-boundary li {
  padding: 16px 12px;
  text-align: center;
  color: var(--ink);
  background: var(--amber);
  font-weight: 950;
}

.action-boundary > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(248, 245, 239, 0.76);
  font-size: 20px;
  line-height: 1.55;
}

.control-note {
  width: min(1000px, calc(100% - 44px));
  margin: 34px auto 0;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items: center;
  color: var(--white);
  background: var(--ink);
}

.control-note strong {
  color: var(--amber);
  font-size: 26px;
}

.control-note p {
  margin: 0;
  color: rgba(248, 245, 239, 0.74);
  font-size: 20px;
  line-height: 1.6;
}

@keyframes fireBreath {
  from {
    transform: translateX(-50%) scale(0.96, 1.02) skewX(-1deg);
    filter: drop-shadow(0 0 16px rgba(226, 74, 42, 0.42));
  }

  to {
    transform: translateX(-50%) scale(1.05, 0.98) skewX(2deg);
    filter: drop-shadow(0 0 28px rgba(244, 169, 61, 0.6));
  }
}

@keyframes caseFlame {
  from {
    transform: translateY(4px) scaleX(0.94);
    opacity: 0.82;
  }

  to {
    transform: translateY(-6px) scaleX(1.08);
    opacity: 1;
  }
}

@keyframes caseSmoke {
  from {
    transform: translateX(-12px) translateY(8px) scaleX(0.96);
    opacity: 0.68;
  }

  to {
    transform: translateX(18px) translateY(-6px) scaleX(1.12);
    opacity: 0.92;
  }
}

@keyframes typeSmokeDrift {
  from {
    transform: translateX(-14px) scaleX(0.9);
    opacity: 0.58;
  }

  to {
    transform: translateX(34px) scaleX(1.18);
    opacity: 0.86;
  }
}

@keyframes hallSmokeLayer {
  from {
    transform: translateX(-18px) scaleY(0.88);
    opacity: 0.58;
  }

  to {
    transform: translateX(22px) scaleY(1.06);
    opacity: 0.88;
  }
}

@keyframes stackSmokeRise {
  from {
    transform: translateY(18px) scaleX(0.82);
    opacity: 0.46;
  }

  to {
    transform: translateY(-18px) scaleX(1.14);
    opacity: 0.84;
  }
}

@keyframes stackArrowRise {
  0% {
    transform: translate(-50%, 16px) scaleY(0.86);
    opacity: 0.3;
  }

  48% {
    opacity: 0.92;
  }

  100% {
    transform: translate(-50%, -18px) scaleY(1.05);
    opacity: 0;
  }
}

@keyframes smokePulse {
  from {
    opacity: 0.82;
  }

  to {
    opacity: 0.94;
  }
}

@keyframes smokeFilamentA {
  from {
    transform: translate(-22px, 8px) scale(0.96, 1.04);
    opacity: 0.62;
  }

  to {
    transform: translate(34px, -8px) scale(1.08, 0.94);
    opacity: 0.86;
  }
}

@keyframes smokeFilamentB {
  from {
    transform: translate(18px, -3px) skewX(-3deg);
  }

  to {
    transform: translate(-28px, 8px) skewX(4deg);
  }
}

.flashover {
  min-height: 100svh;
  padding: 96px clamp(22px, 6vw, 96px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 1.04fr) minmax(360px, 0.96fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
}

.flash-visual,
.curve-panel,
.structure-art {
  position: relative;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background: #070b10;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36);
}

.flash-visual img {
  width: 100%;
  opacity: 0.9;
}

.flash-copy {
  position: relative;
}

.flash-copy p {
  margin-left: 0;
}

.threshold-meter {
  margin-top: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  color: rgba(248, 245, 239, 0.72);
  font-weight: 900;
}

.threshold-meter strong {
  height: 12px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--flame));
}

.flash-facts {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flash-facts span {
  padding: 11px 14px;
  border: 1px solid rgba(248, 245, 239, 0.16);
  color: rgba(248, 245, 239, 0.78);
  background: rgba(248, 245, 239, 0.06);
  font-size: 15px;
  font-weight: 900;
}

.strategy {
  padding: 88px 0 112px;
}

.strategy-shell {
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.strategy .section-heading {
  margin-bottom: 44px;
}

.strategy .section-heading h2 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(36px, 4.8vw, 68px);
}

.strategy-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.strategy-tabs button {
  background: #fffaf1;
  border: 1px solid var(--line);
  color: var(--ink);
}

.strategy-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
}

.strategy-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  min-height: 520px;
  background: #fffaf1;
  border: 1px solid var(--line);
}

.strategy-stage img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.strategy-stage article {
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strategy-stage span {
  color: var(--flame);
  font-weight: 900;
}

.strategy-stage h3 {
  margin: 12px 0 18px;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.06;
}

.strategy-stage p {
  color: #5a5f63;
  font-size: 19px;
  line-height: 1.65;
}

.judgment-panel {
  width: min(1240px, calc(100% - 44px));
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: stretch;
}

.judgment-panel > div:first-child {
  padding: clamp(28px, 4vw, 48px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(226, 74, 42, 0.88), rgba(17, 19, 21, 0.94)),
    linear-gradient(90deg, rgba(244, 169, 61, 0.22), rgba(20, 143, 140, 0.14));
}

.judgment-panel > div:first-child .eyebrow {
  color: rgba(255, 247, 232, 0.92);
}

.judgment-panel h3 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
}

.judgment-panel > div:first-child p:not(.eyebrow) {
  margin: 0;
  color: rgba(248, 245, 239, 0.82);
  font-size: 19px;
  line-height: 1.65;
}

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

.judgment-grid article {
  min-height: 210px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fffaf1;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(17, 19, 21, 0.06);
}

.judgment-grid span {
  color: var(--flame);
  font-weight: 900;
}

.judgment-grid strong {
  margin: 18px 0 10px;
  font-size: 27px;
  line-height: 1.12;
}

.judgment-grid p {
  margin: 0;
  color: #5a5f63;
  font-size: 17px;
  line-height: 1.55;
}

.curve-section {
  position: relative;
  padding: 118px clamp(22px, 6vw, 96px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(26px, 4svh, 48px);
  align-items: stretch;
  overflow: hidden;
}

.curve-copy,
.curve-panel {
  position: relative;
}

.curve-header {
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: end;
}

.curve-header .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.curve-header h2 {
  grid-column: 1;
  grid-row: 2;
}

.curve-header > p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 3;
}

.curve-copy p {
  margin-left: 0;
}

.curve-formula-row {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  display: grid;
  gap: 12px;
  justify-items: stretch;
  min-width: 0;
  width: 100%;
}

.curve-panel {
  width: min(1560px, 100%);
  margin: 0 auto;
  padding: 24px;
}

#curveCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.curve-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 14px 16px 4px;
  color: rgba(255, 247, 232, 0.92);
  background: rgba(7, 11, 16, 0.88);
  border-top: 1px solid rgba(255, 247, 232, 0.12);
  font-size: clamp(14px, 1.02vw, 18px);
  font-weight: 900;
}

.curve-legend span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.curve-legend span::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 4px;
  margin-right: 8px;
  vertical-align: middle;
}

.curve-legend .iso::before {
  background: var(--flame);
}

.curve-legend .natural::before {
  background: var(--amber);
}

.curve-legend .local::before {
  background: var(--teal);
}

.structure {
  min-height: 100svh;
  padding: 118px clamp(22px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
}

.bridge-to-structure {
  padding: 86px 22px;
  text-align: center;
}

.bridge-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.bridge-inner h2 {
  margin: 0 auto;
  max-width: 980px;
  font-size: clamp(34px, 4.6vw, 66px);
  line-height: 1.08;
}

.structure-art {
  background: #111923;
  border-color: rgba(17, 19, 21, 0.12);
  box-shadow: 0 34px 80px rgba(17, 19, 21, 0.14);
}

.structure-copy p {
  margin-left: 0;
}

.handoff {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.handoff span {
  padding: 16px 10px;
  text-align: center;
  background: #fffaf1;
  border: 1px solid var(--line);
  font-weight: 900;
}

.action-recap {
  min-height: 100svh;
  padding: 118px clamp(22px, 6vw, 96px);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.action-recap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(232, 75, 42, 0.24), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(20, 143, 140, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(5, 8, 11, 0.98), rgba(12, 21, 24, 0.95));
}

.action-recap-inner {
  position: relative;
  width: min(1500px, 100%);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(28px, 4svh, 54px);
}

.action-recap-copy {
  max-width: 1160px;
}

.action-recap-copy h2 {
  margin: 10px 0 18px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 86px);
  line-height: 1.04;
  font-weight: 950;
}

.action-recap-copy p:not(.eyebrow) {
  max-width: 900px;
  color: rgba(255, 247, 232, 0.72);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.55;
}

.action-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
}

.action-steps article {
  min-height: 310px;
  padding: clamp(22px, 2.2vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(155deg, rgba(255, 247, 232, 0.1), rgba(20, 143, 140, 0.06)),
    rgba(255, 247, 232, 0.045);
  border: 1px solid rgba(255, 247, 232, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.action-steps article::before {
  position: absolute;
  right: clamp(14px, 1.4vw, 24px);
  top: clamp(46px, 5svh, 82px);
  color: rgba(255, 247, 232, 0.075);
  font-size: clamp(62px, 5.6vw, 112px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.action-steps article:nth-child(1)::before { content: "119"; }
.action-steps article:nth-child(2)::before { content: "烟"; }
.action-steps article:nth-child(3)::before { content: "出口"; }
.action-steps article:nth-child(4)::before { content: "隔烟"; }

.action-steps span {
  width: fit-content;
  padding: 6px 10px;
  color: #071016;
  background: var(--warning);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-weight: 950;
}

.action-steps h3 {
  margin: clamp(26px, 3svh, 44px) 0 14px;
  font-size: clamp(28px, 2.35vw, 42px);
  line-height: 1.08;
}

.action-steps p {
  color: rgba(255, 247, 232, 0.74);
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.55;
}

.action-principle {
  padding: clamp(20px, 2vw, 32px) clamp(24px, 2.6vw, 46px);
  display: grid;
  grid-template-columns: minmax(150px, 0.22fr) 1fr;
  gap: clamp(20px, 3vw, 46px);
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(232, 75, 42, 0.18), rgba(255, 194, 71, 0.1), rgba(20, 143, 140, 0.12)),
    rgba(255, 247, 232, 0.065);
  border: 1px solid rgba(255, 194, 71, 0.22);
}

.action-principle strong {
  color: var(--warning);
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1.05;
}

.action-principle p {
  margin: 0;
  color: rgba(255, 247, 232, 0.78);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.5;
}

.finale {
  min-height: 82svh;
  display: grid;
  place-items: center;
  padding: 96px 22px;
  text-align: center;
}

.finale-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.final-summary {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.final-summary p {
  max-width: none;
  margin: 0;
  padding: 18px 22px;
  color: rgba(248, 245, 239, 0.86);
  background: rgba(248, 245, 239, 0.07);
  border: 1px solid rgba(248, 245, 239, 0.12);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}

.sources {
  padding: 112px 0 120px;
}

.sources .section-heading h2 {
  font-size: clamp(34px, 4.6vw, 68px);
}

.source-grid {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.source-grid a {
  min-height: 126px;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: #fffaf1;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 16px 44px rgba(17, 19, 21, 0.06);
}

.source-grid a::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 4px;
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--teal));
}

.source-grid a:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.presentation-mode {
  scroll-snap-type: y proximity;
  background: #070b10;
  --nav-h: 56px;
}

body.presentation-mode main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--nav-h);
}

body.presentation-mode main > section {
  width: min(100vw, calc((100svh - var(--nav-h)) * 16 / 9));
  height: min(calc(100svh - var(--nav-h)), calc(100vw * 9 / 16));
  scroll-snap-align: start;
  scroll-margin-top: var(--nav-h);
  min-height: 0;
  max-height: none;
  overflow: hidden;
  box-sizing: border-box;
  --slide-pad-x: clamp(44px, 5.2vw, 96px);
  --slide-pad-top: clamp(58px, 7.2svh, 92px);
  --slide-pad-bottom: clamp(28px, 4.4svh, 58px);
  --slide-gap: clamp(12px, 1.8svh, 22px);
}

body.presentation-mode .hero,
body.presentation-mode .talk-map,
body.presentation-mode .case-wall,
body.presentation-mode .fire-types,
body.presentation-mode .risk-field,
body.presentation-mode .smoke-brief,
body.presentation-mode .myth-section,
body.presentation-mode .mechanism-lab,
body.presentation-mode .control-stack,
body.presentation-mode .strategy,
body.presentation-mode .curve-section,
body.presentation-mode .structure,
body.presentation-mode .action-recap,
body.presentation-mode .bridge-to-structure,
body.presentation-mode .sources,
body.presentation-mode .finale {
  min-height: 0;
}

body.presentation-mode .talk-map,
body.presentation-mode .case-wall,
body.presentation-mode .fire-types,
body.presentation-mode .risk-field,
body.presentation-mode .smoke-brief,
body.presentation-mode .myth-section,
body.presentation-mode .mechanism-lab,
body.presentation-mode .control-stack,
body.presentation-mode .strategy,
body.presentation-mode .bridge-to-structure,
body.presentation-mode .action-recap,
body.presentation-mode .sources {
  padding: var(--slide-pad-top) var(--slide-pad-x) var(--slide-pad-bottom);
}

body.presentation-mode .section-heading {
  width: min(100%, 1500px);
  margin-left: auto;
  margin-right: auto;
}

body.presentation-mode .section-heading {
  margin-bottom: 0;
}

body.presentation-mode .section-heading h2 {
  font-size: clamp(30px, 3vw, 52px);
  line-height: 1.06;
}

body.presentation-mode .section-heading p {
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.42;
}

body.presentation-mode .case-wall,
body.presentation-mode .fire-types,
body.presentation-mode .risk-field,
body.presentation-mode .myth-section,
body.presentation-mode .mechanism-lab,
body.presentation-mode .control-stack,
body.presentation-mode .strategy {
  display: grid;
  gap: var(--slide-gap);
  align-content: stretch;
}

body.presentation-mode .case-wall,
body.presentation-mode .fire-types,
body.presentation-mode .risk-field,
body.presentation-mode .door-check,
body.presentation-mode .strategy {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body.presentation-mode .myth-section {
  grid-template-rows: auto minmax(0, 1fr);
}

body.presentation-mode #mechanisms {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

body.presentation-mode #control {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

body.presentation-mode #initial-action {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

body.presentation-mode #rescue {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body.presentation-mode [data-stages] {
  position: relative;
}

.stage-indicator {
  position: absolute;
  z-index: 8;
  right: var(--slide-pad-x, 72px);
  top: clamp(16px, 2svh, 26px);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(17, 19, 21, 0.54);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.section-dark .stage-indicator {
  color: rgba(248, 245, 239, 0.58);
}

.stage-dot {
  width: 22px;
  height: 3px;
  background: currentColor;
  opacity: 0.28;
}

.stage-dot.is-active {
  background: linear-gradient(90deg, var(--flame), var(--amber), var(--teal));
  opacity: 1;
}

.case-synthesis,
.risk-path-overlay {
  position: absolute;
  z-index: 7;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.case-synthesis {
  right: var(--slide-pad-x);
  bottom: calc(var(--slide-pad-bottom) + clamp(72px, 8svh, 104px));
  width: min(480px, 34%);
  padding: clamp(18px, 1.8vw, 28px);
  color: var(--white);
  background:
    linear-gradient(130deg, rgba(17, 19, 21, 0.96), rgba(31, 43, 47, 0.92)),
    linear-gradient(90deg, rgba(226, 74, 42, 0.22), rgba(20, 143, 140, 0.16));
  box-shadow: 0 24px 80px rgba(17, 19, 21, 0.28);
}

.case-synthesis span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-weight: 950;
}

.case-synthesis ul {
  margin: 0;
  padding-left: 20px;
}

.case-synthesis li {
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.5;
}

#cases[data-stage="1"] .case-synthesis {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#risks[data-stage="1"] .risk-path-overlay {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

#cases[data-stage="0"] .case-synthesis {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

#risks[data-stage="0"] .risk-path-overlay {
  opacity: 0;
  transform: translate(-50%, 18px) scale(0.98);
}

#cases[data-stage="1"] .case-card img {
  filter: saturate(0.76) brightness(0.78);
}

#cases[data-stage="1"] .case-chain li {
  color: var(--ink);
  background: linear-gradient(90deg, rgba(244, 169, 61, 0.18), rgba(20, 143, 140, 0.08));
}

#risks[data-stage="0"] .takeaway-strip {
  opacity: 0.42;
}

#cases[data-stage="0"] .takeaway-strip {
  opacity: 0;
}

.risk-path-overlay {
  left: 50%;
  bottom: calc(var(--slide-pad-bottom) + clamp(74px, 8svh, 112px));
  width: min(920px, calc(100% - var(--slide-pad-x) * 2));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  transform: translate(-50%, 18px) scale(0.98);
  color: var(--white);
  background: rgba(17, 19, 21, 0.9);
  box-shadow: 0 22px 70px rgba(17, 19, 21, 0.24);
}

.risk-path-overlay span {
  position: relative;
  padding: clamp(12px, 1.2svh, 18px);
  text-align: center;
  font-weight: 950;
}

.risk-path-overlay span + span {
  border-left: 1px solid rgba(248, 245, 239, 0.16);
}

.risk-path-overlay span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -9px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--amber);
}

#risks[data-stage="1"] .risk-card {
  filter: saturate(0.88);
}

#myths[data-stage="0"] .myth-card p {
  opacity: 0;
  transform: translateY(8px);
}

#myths .myth-card p {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#mechanisms[data-stage="0"] .accuracy-band,
#mechanisms[data-stage="0"] .takeaway-strip {
  opacity: 0.38;
}

#mechanisms[data-stage="1"] .mechanism-card {
  transform: translateY(-4px);
}

#mechanisms .mechanism-card,
#control .control-layers article,
.facility-visual article,
#mechanisms .accuracy-band,
#mechanisms .takeaway-strip,
#control .takeaway-strip {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

body.presentation-mode .route-card,
body.presentation-mode .route-module {
  min-height: 230px;
  padding: 20px;
}

body.presentation-mode .route-card h3 {
  margin-top: 44px;
  font-size: clamp(22px, 2vw, 30px);
}

body.presentation-mode .hero {
  padding-top: 68px;
  padding-bottom: 36px;
}

body.presentation-mode .hero-device,
body.presentation-mode .hero-device img {
  min-height: 58vh;
}

body.presentation-mode .case-grid,
body.presentation-mode .risk-grid {
  width: min(100%, 1520px);
  height: 100%;
  margin: 0 auto;
  gap: clamp(14px, 1.2vw, 24px);
  align-items: stretch;
}

body.presentation-mode .case-card {
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(150px, 34%) 1fr;
}

body.presentation-mode .case-card:nth-child(even) {
  margin-top: 0;
}

body.presentation-mode .case-card img {
  height: 100%;
}

body.presentation-mode .case-card div {
  padding: clamp(14px, 1.4vw, 24px);
}

body.presentation-mode .case-card h3 {
  font-size: clamp(21px, 1.8vw, 30px);
  line-height: 1.12;
}

body.presentation-mode .case-chain li {
  padding: clamp(5px, 0.7svh, 10px) 0 clamp(5px, 0.7svh, 10px) 24px;
  font-size: clamp(13px, 1vw, 17px);
}

body.presentation-mode .risk-card {
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(170px, 36%) 1fr;
}

body.presentation-mode .risk-card > div:last-child {
  padding: clamp(16px, 1.5vw, 26px);
}

body.presentation-mode .risk-card h3 {
  margin: clamp(8px, 1svh, 14px) 0 clamp(8px, 1svh, 14px);
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.1;
}

body.presentation-mode .risk-card p,
body.presentation-mode .risk-card li {
  font-size: clamp(14px, 1.04vw, 18px);
  line-height: 1.48;
}

body.presentation-mode .risk-card ul {
  margin-top: clamp(8px, 1svh, 14px);
  padding-left: 20px;
}

body.presentation-mode .risk-card li + li {
  margin-top: clamp(4px, 0.55svh, 8px);
}

body.presentation-mode .takeaway-strip {
  margin-top: 0;
  width: min(100%, 1380px);
  padding: clamp(14px, 1.45svh, 22px) clamp(22px, 2vw, 34px);
}

body.presentation-mode .takeaway-strip p {
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.32;
}

body.presentation-mode .storyline {
  padding: var(--slide-pad-top) var(--slide-pad-x) var(--slide-pad-bottom);
}

body.presentation-mode .sticky-layout {
  width: min(1520px, 100%);
  height: 100%;
  grid-template-columns: minmax(580px, 0.98fr) minmax(560px, 1.02fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

body.presentation-mode .sticky-visual {
  position: relative;
  height: 100%;
  min-height: 0;
  align-items: center;
}

body.presentation-mode .scroll-steps {
  padding: 0;
  position: relative;
  display: block;
  min-height: clamp(420px, 56svh, 680px);
}

body.presentation-mode .step {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: clamp(32px, 3.2vw, 58px);
  justify-content: center;
  border: 1px solid rgba(248, 245, 239, 0.14);
  background:
    linear-gradient(130deg, rgba(255, 247, 232, 0.09), rgba(24, 167, 161, 0.06)),
    rgba(7, 11, 16, 0.56);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.38s ease, transform 0.38s ease, border-color 0.38s ease;
}

body.presentation-mode .step span {
  font-size: clamp(16px, 1.2vw, 22px);
}

body.presentation-mode .step h2 {
  margin: clamp(14px, 1.6svh, 22px) 0 clamp(16px, 1.8svh, 26px);
  font-size: clamp(42px, 4.2vw, 76px);
  line-height: 1.06;
}

body.presentation-mode .step p {
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.52;
}

body.presentation-mode .storyline .takeaway-strip {
  margin-top: clamp(18px, 2svh, 30px);
  padding: clamp(16px, 1.6svh, 24px) clamp(22px, 2vw, 36px);
}

body.presentation-mode .smoke-brief-inner,
body.presentation-mode .interactive-compare,
body.presentation-mode .judgment-panel,
body.presentation-mode .strategy-stage,
body.presentation-mode .curve-section,
body.presentation-mode .structure {
  gap: 22px;
}

body.presentation-mode .smoke-metrics article,
body.presentation-mode .mechanism-card,
body.presentation-mode .myth-card {
  min-height: 0;
  padding: clamp(18px, 1.7vw, 30px);
}

body.presentation-mode .mechanism-grid {
  width: min(100%, 1520px);
  height: 100%;
  margin: 0 auto;
  gap: clamp(14px, 1.2vw, 22px);
  align-items: stretch;
}

body.presentation-mode .mechanism-card {
  min-height: 0;
  height: 100%;
  padding: clamp(18px, 1.7vw, 30px);
}

body.presentation-mode .smoke-metrics h3,
body.presentation-mode .mechanism-card h3,
body.presentation-mode .myth-card h3 {
  font-size: clamp(24px, 2.2vw, 36px);
}

body.presentation-mode .smoke-metrics p,
body.presentation-mode .mechanism-card p,
body.presentation-mode .myth-card p {
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.52;
}

body.presentation-mode .accuracy-band,
body.presentation-mode .control-note,
body.presentation-mode .action-boundary {
  margin-top: 0;
  padding: clamp(18px, 1.8svh, 28px) clamp(24px, 2.4vw, 42px);
}

body.presentation-mode .accuracy-band {
  width: min(100%, 1360px);
  margin-bottom: 0;
  grid-template-columns: minmax(140px, 0.18fr) 1fr;
}

body.presentation-mode .flash-copy .takeaway-strip {
  margin-top: clamp(24px, 3svh, 46px);
}

body.presentation-mode .accuracy-band strong {
  font-size: clamp(24px, 2.2vw, 34px);
}

body.presentation-mode .accuracy-band p {
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.45;
}

body.presentation-mode .door-check .interactive-compare {
  width: min(100%, 1520px);
  height: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.72fr) minmax(640px, 1.28fr);
  gap: clamp(16px, 1.5vw, 28px);
}

body.presentation-mode .door-check .compare-copy {
  padding: clamp(24px, 2.4vw, 46px);
}

body.presentation-mode .door-check .compare-copy h3 {
  font-size: clamp(30px, 2.8vw, 48px);
  line-height: 1.08;
}

body.presentation-mode .door-check .compare-copy p {
  font-size: clamp(15px, 1.12vw, 19px);
  line-height: 1.5;
}

body.presentation-mode .door-check .compare-copy button {
  padding: 9px 12px;
}

body.presentation-mode .door-check .diagram-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.3;
}

body.presentation-mode .door-check .vent-room {
  min-height: 0;
  height: 100%;
}

body.presentation-mode .control-layers article {
  min-height: 0;
  height: 100%;
  padding: clamp(16px, 1.5vw, 26px);
}

body.presentation-mode .control-layers h3 {
  margin-top: clamp(38px, 5svh, 58px);
  font-size: clamp(24px, 2vw, 34px);
}

body.presentation-mode .control-layers p {
  font-size: clamp(14px, 1.02vw, 18px);
  line-height: 1.48;
}

body.presentation-mode .control-flow {
  width: min(100%, 1360px);
  margin-top: 0;
}

body.presentation-mode .control-flow article {
  min-height: clamp(72px, 8svh, 108px);
  padding: clamp(12px, 1.2vw, 20px);
}

body.presentation-mode .action-boundary h3 {
  font-size: clamp(32px, 3vw, 52px);
}

body.presentation-mode .action-boundary > p {
  font-size: clamp(17px, 1.25vw, 22px);
}

body.presentation-mode .judgment-panel {
  width: min(100%, 1520px);
  height: 100%;
  margin: 0 auto;
}

body.presentation-mode .judgment-panel > div:first-child {
  padding: clamp(24px, 2.4vw, 46px);
}

body.presentation-mode .judgment-panel h3 {
  font-size: clamp(34px, 3.2vw, 54px);
}

body.presentation-mode .judgment-panel > div:first-child p:not(.eyebrow) {
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.55;
}

body.presentation-mode .judgment-grid article {
  min-height: 0;
  padding: clamp(18px, 1.7vw, 30px);
}

body.presentation-mode .judgment-grid strong {
  margin: clamp(10px, 1svh, 16px) 0 clamp(8px, 0.8svh, 12px);
  font-size: clamp(24px, 2vw, 34px);
}

body.presentation-mode .judgment-grid p {
  font-size: clamp(14px, 1.02vw, 18px);
  line-height: 1.5;
}

body.presentation-mode .strategy .section-heading {
  margin-bottom: 14px;
}

body.presentation-mode .strategy .section-heading h2 {
  font-size: clamp(28px, 3vw, 44px);
}

body.presentation-mode .strategy-shell {
  width: min(100%, 1520px);
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

body.presentation-mode .strategy-tabs {
  gap: 8px;
  margin-bottom: 10px;
}

body.presentation-mode .strategy-tabs button {
  padding: 9px 12px;
}

body.presentation-mode .strategy-stage {
  min-height: 0;
  height: 100%;
}

body.presentation-mode .strategy-stage article {
  padding: clamp(28px, 3vw, 58px);
}

body.presentation-mode .strategy-stage h3 {
  font-size: clamp(34px, 3vw, 54px);
}

body.presentation-mode .strategy-stage p {
  font-size: clamp(16px, 1.18vw, 20px);
  line-height: 1.55;
}

body.presentation-mode .flashover,
body.presentation-mode .curve-section,
body.presentation-mode .structure {
  padding-top: 72px;
  padding-bottom: 30px;
}

body.presentation-mode .flash-copy h2,
body.presentation-mode .curve-copy h2,
body.presentation-mode .structure-copy h2 {
  font-size: clamp(30px, 3.2vw, 48px);
}

body.presentation-mode .flash-copy p,
body.presentation-mode .curve-copy p,
body.presentation-mode .structure-copy p {
  font-size: 16px;
  line-height: 1.48;
}

/* Public safety documentary / science exhibit skin */
.site-nav {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.94), rgba(14, 24, 29, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 247, 232, 0.035) 42px 43px);
  border-bottom: 1px solid rgba(255, 194, 71, 0.26);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.site-nav::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 58px);
  right: clamp(18px, 4vw, 58px);
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--amber) 18%, transparent 42%, var(--teal) 72%, transparent);
  opacity: 0.78;
}

.site-nav.on-light {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12, 16, 19, 0.9), rgba(23, 31, 34, 0.84)),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(255, 247, 232, 0.035) 42px 43px);
  border-bottom-color: rgba(255, 194, 71, 0.22);
}

.nav-brand {
  position: relative;
  padding-left: 16px;
  font-weight: 950;
}

.nav-brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 22px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--flame), var(--amber));
}

.nav-action {
  border-color: rgba(255, 194, 71, 0.24);
  background: rgba(255, 247, 232, 0.06);
}

.nav-action.is-active {
  color: #05080b;
  background: linear-gradient(90deg, var(--warning), var(--flame));
}

.section-paper {
  background:
    radial-gradient(circle at 18% 14%, rgba(232, 75, 42, 0.1), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(24, 167, 161, 0.1), transparent 34%),
    linear-gradient(90deg, rgba(16, 22, 27, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 22, 27, 0.045) 1px, transparent 1px),
    #e8e3d8;
  background-size: auto, auto, 64px 64px, 64px 64px, auto;
}

.section-dark {
  background:
    radial-gradient(circle at 24% 18%, rgba(232, 75, 42, 0.22), transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(24, 167, 161, 0.14), transparent 38%),
    linear-gradient(90deg, rgba(255, 247, 232, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    #05080b;
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

body.presentation-mode main > section {
  border-left: 1px solid rgba(255, 194, 71, 0.24);
  border-right: 1px solid rgba(24, 167, 161, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 247, 232, 0.04),
    inset 0 18px 0 rgba(255, 194, 71, 0.035),
    0 0 60px rgba(0, 0, 0, 0.34);
}

body.presentation-mode .reveal {
  opacity: 1;
  transform: none;
}

body.presentation-mode .section-heading {
  position: relative;
  padding-left: 0;
  text-align: left;
}

body.presentation-mode .section-heading::before {
  display: none;
}

body.presentation-mode .section-heading h2,
body.presentation-mode .section-heading p {
  margin-left: 0;
  margin-right: 0;
}

body.presentation-mode .section-heading h2 {
  max-width: 1320px;
  color: #071016;
  letter-spacing: 0;
}

body.presentation-mode .section-dark .section-heading h2,
body.presentation-mode .section-dark .section-heading p {
  color: var(--white);
}

body.presentation-mode .section-heading p:not(.eyebrow) {
  max-width: 960px;
  color: #52616a;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--flame);
  font-family: "Cascadia Mono", Consolas, monospace;
  text-transform: none;
}

.eyebrow::before {
  display: none;
}

.section-dark .eyebrow {
  color: var(--warning);
}

.case-card,
.risk-card,
.route-card,
.route-module,
.myth-card,
.mechanism-card,
.control-layers article,
.judgment-grid article,
.strategy-stage,
.action-boundary,
.accuracy-band,
.control-note,
.curve-panel,
.structure-art {
  border: 1px solid rgba(16, 22, 27, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.92), rgba(229, 223, 211, 0.92)),
    repeating-linear-gradient(0deg, rgba(16, 22, 27, 0.035) 0 1px, transparent 1px 18px);
  box-shadow:
    0 24px 70px rgba(16, 22, 27, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.case-card,
.risk-card,
.myth-card,
.mechanism-card,
.control-layers article,
.judgment-grid article {
  position: relative;
}

.case-card::before,
.risk-card::before,
.myth-card::before,
.mechanism-card::before,
.control-layers article::after,
.judgment-grid article::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--flame), var(--warning), var(--teal));
}

.case-card img {
  border-bottom: 1px solid rgba(16, 22, 27, 0.32);
  filter: saturate(0.82) contrast(1.12) brightness(0.86);
}

.case-card span,
.risk-card > div:last-child > span,
.myth-card span,
.mechanism-card span,
.control-layers span,
.strategy-stage span,
.judgment-grid span {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  color: #05080b;
  background: rgba(255, 194, 71, 0.92);
  font-family: "Cascadia Mono", Consolas, monospace;
  line-height: 1;
  letter-spacing: 0;
}

.case-chain li {
  border-top-color: rgba(16, 22, 27, 0.12);
}

.takeaway-strip,
.control-flow,
.case-synthesis,
.risk-path-overlay {
  border: 1px solid rgba(255, 194, 71, 0.22);
  background:
    linear-gradient(110deg, rgba(5, 8, 11, 0.98), rgba(17, 27, 31, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 194, 71, 0.1) 0 8px, transparent 8px 16px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
}

.takeaway-strip {
  position: relative;
  overflow: hidden;
}

.takeaway-strip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: linear-gradient(180deg, var(--flame), var(--warning));
}

.takeaway-strip p {
  color: rgba(255, 247, 232, 0.88);
}

.risk-visual {
  background:
    radial-gradient(circle at 16% 24%, rgba(232, 75, 42, 0.38), transparent 26%),
    radial-gradient(circle at 80% 76%, rgba(24, 167, 161, 0.28), transparent 32%),
    linear-gradient(90deg, rgba(255, 247, 232, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 247, 232, 0.08) 1px, transparent 1px),
    #071016;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

.risk-visual::before {
  border-color: rgba(255, 247, 232, 0.24);
}

.storyline,
.flashover,
.curve-section,
.structure {
  background:
    radial-gradient(circle at 22% 16%, rgba(232, 75, 42, 0.26), transparent 30%),
    radial-gradient(circle at 86% 78%, rgba(24, 167, 161, 0.15), transparent 36%),
    linear-gradient(90deg, rgba(255, 247, 232, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    #05080b;
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.sticky-visual,
.vent-room,
.strategy-stage img,
.hero-device {
  border: 1px solid rgba(255, 194, 71, 0.22);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 247, 232, 0.04);
}

.stage-indicator {
  padding: 7px 10px;
  color: rgba(255, 247, 232, 0.82);
  background: rgba(5, 8, 11, 0.78);
  border: 1px solid rgba(255, 194, 71, 0.22);
  backdrop-filter: blur(10px);
}

.stage-dot {
  background: rgba(255, 247, 232, 0.42);
}

.control-flow article {
  background: rgba(255, 247, 232, 0.04);
}

.control-flow strong,
.control-flow span {
  color: var(--white);
}

.strategy-tabs button {
  border-color: rgba(16, 22, 27, 0.22);
  background: rgba(255, 247, 232, 0.76);
}

.strategy-tabs button.is-active {
  color: #05080b;
  background: linear-gradient(90deg, var(--warning), var(--flame));
}

.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(232, 75, 42, 0.28), transparent 34%),
    radial-gradient(circle at 84% 74%, rgba(24, 167, 161, 0.16), transparent 38%),
    linear-gradient(90deg, rgba(255, 247, 232, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    #05080b;
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
}

.hero h1 {
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.44);
}

.hero-takeaways {
  border-color: rgba(255, 194, 71, 0.22);
  background:
    linear-gradient(115deg, rgba(5, 8, 11, 0.78), rgba(20, 32, 36, 0.74)),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255, 247, 232, 0.04) 36px 37px);
}

.question-cloud span {
  color: rgba(16, 22, 27, 0.07);
}

@media (min-aspect-ratio: 16 / 9) {
  body.presentation-mode .hero {
    padding-top: 66px;
    padding-bottom: 34px;
  }

  body.presentation-mode .section-heading {
    margin-bottom: 16px;
  }
}

@media (max-height: 760px) {
  body.presentation-mode main > section {
    --slide-pad-x: clamp(34px, 4.4vw, 76px);
    --slide-pad-top: 44px;
    --slide-pad-bottom: 10px;
    --slide-gap: 8px;
  }

  body.presentation-mode .section-heading h2 {
    font-size: clamp(28px, 3vw, 44px);
  }

  body.presentation-mode .section-heading {
    margin-bottom: 0;
  }

  body.presentation-mode .eyebrow {
    margin-bottom: 8px;
  }

  body.presentation-mode .section-heading p {
    font-size: 14px;
    line-height: 1.34;
  }

  body.presentation-mode .case-card {
    grid-template-rows: minmax(96px, 26%) 1fr;
  }

  body.presentation-mode .risk-card {
    grid-template-rows: minmax(96px, 26%) 1fr;
  }

  body.presentation-mode .case-card div,
  body.presentation-mode .risk-card > div:last-child,
  body.presentation-mode .mechanism-card,
  body.presentation-mode .myth-card,
  body.presentation-mode .judgment-grid article {
    padding: 12px;
  }

  body.presentation-mode .case-card h3,
  body.presentation-mode .risk-card h3,
  body.presentation-mode .mechanism-card h3,
  body.presentation-mode .myth-card h3 {
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: clamp(17px, 1.58vw, 23px);
  }

  body.presentation-mode .case-chain li,
  body.presentation-mode .risk-card p,
  body.presentation-mode .risk-card li,
  body.presentation-mode .mechanism-card p,
  body.presentation-mode .myth-card p,
  body.presentation-mode .judgment-grid p {
    font-size: 12px;
    line-height: 1.28;
  }

  body.presentation-mode .case-chain li {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  body.presentation-mode .risk-card ul {
    margin-top: 6px;
    padding-left: 16px;
  }

  body.presentation-mode .risk-card li + li {
    margin-top: 3px;
  }

  body.presentation-mode .takeaway-strip {
    padding: 10px 16px;
  }

  body.presentation-mode .takeaway-strip p {
    font-size: 15px;
  }

  body.presentation-mode .accuracy-band,
  body.presentation-mode .control-note,
  body.presentation-mode .action-boundary {
    padding: 14px 18px;
  }

  body.presentation-mode .door-check .vent-room {
    min-height: 0;
  }

  body.presentation-mode .door-check .interactive-compare {
    gap: 10px;
  }

  body.presentation-mode .strategy-stage article,
  body.presentation-mode .judgment-panel > div:first-child {
    padding: 18px;
  }

  body.presentation-mode .strategy-stage h3,
  body.presentation-mode .judgment-panel h3 {
    font-size: clamp(26px, 2.6vw, 38px);
  }
}

@media (max-width: 980px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav nav {
    display: none;
  }

  .hero,
  .flashover,
  .curve-section,
  .structure,
  .sticky-layout,
  .interactive-compare,
  .smoke-brief-inner,
  .strategy-stage,
  .judgment-panel {
    grid-template-columns: 1fr;
  }

  .hero-device,
  .hero-device img {
    min-height: 52vh;
  }

  .case-grid,
  .mechanism-grid,
  .route-grid,
  .risk-grid,
  .myth-grid,
  .smoke-metrics,
  .control-layers,
  .control-flow,
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-note,
  .takeaway-strip,
  .action-boundary {
    grid-template-columns: 1fr;
  }

  .action-boundary ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .judgment-panel {
    margin-top: 18px;
  }

  .route-card:nth-child(2n) {
    transform: none;
  }

  .accuracy-band {
    grid-template-columns: 1fr;
  }

  .case-card:nth-child(even) {
    margin-top: 0;
  }

  .sticky-visual {
    position: relative;
    height: auto;
    padding-top: 80px;
  }

  .scroll-steps {
    padding: 40px 0 80px;
  }

  .step {
    min-height: auto;
    padding: 44px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 82px;
    gap: 24px;
  }

  .case-grid,
  .mechanism-grid,
  .route-grid,
  .risk-grid,
  .myth-grid,
  .smoke-metrics,
  .control-layers,
  .control-flow,
  .judgment-grid,
  .source-grid,
  .handoff {
    grid-template-columns: 1fr;
  }

  .control-flow article {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 19, 21, 0.12);
  }

  .control-flow article::after {
    content: "↓";
    right: 20px;
  }

  .action-boundary ul,
  .takeaway-strip {
    grid-template-columns: 1fr;
  }

  .risk-card {
    min-height: auto;
  }

  .control-layers article,
  .smoke-metrics article {
    min-height: auto;
  }

  .hero h1,
  .section-heading h2,
  .smoke-copy h2,
  .flash-copy h2,
  .curve-copy h2,
  .structure-copy h2,
  .finale h2 {
    font-size: clamp(32px, 9.6vw, 42px);
  }

  .hero h1 {
    margin-bottom: 16px;
    line-height: 1.08;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-pills,
  .hero-takeaways {
    margin-top: 22px;
  }

  .hero-glass {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

/* 2026-06-03 refinement: public lecture rhythm and 16:9 projection density */
body.presentation-mode {
  scroll-snap-type: y mandatory;
}

body.capture-mode,
body.capture-mode * {
  scroll-behavior: auto !important;
  animation: none !important;
  transition-duration: 0s !important;
}

body.presentation-mode main > section {
  flex: 0 0 auto;
}

body.presentation-mode .transition-slide {
  min-height: 0;
  padding: var(--slide-pad-top) var(--slide-pad-x) var(--slide-pad-bottom);
  display: grid;
  place-items: center;
  text-align: left;
}

.transition-inner {
  width: min(1280px, 100%);
  position: relative;
  min-height: min(760px, 74%);
  padding: clamp(46px, 5vw, 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 8px solid var(--warning);
  background:
    linear-gradient(115deg, rgba(255, 247, 232, 0.08), rgba(255, 247, 232, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 247, 232, 0.045) 0 1px, transparent 1px 42px);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 232, 0.12);
}

.section-paper .transition-inner {
  background:
    linear-gradient(115deg, rgba(5, 8, 11, 0.94), rgba(17, 27, 31, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 194, 71, 0.08) 0 1px, transparent 1px 42px);
  color: var(--white);
}

.transition-inner h2 {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(44px, 4.8vw, 82px);
  line-height: 1.08;
  font-weight: 950;
}

.transition-inner::after {
  content: "";
  position: absolute;
  left: clamp(46px, 5vw, 82px);
  right: clamp(46px, 5vw, 82px);
  bottom: clamp(34px, 4vw, 62px);
  height: 8px;
  background: linear-gradient(90deg, var(--flame), var(--warning), var(--teal), transparent);
}

body.presentation-mode .outline-map {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(18px, 2svh, 30px);
  align-content: stretch;
}

.outline-grid {
  width: min(100%, 1540px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.3vw, 24px);
}

.outline-card {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(190px, 47%) auto auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(16, 22, 27, 0.26);
  background: #fffaf1;
  box-shadow: 0 24px 70px rgba(16, 22, 27, 0.12);
}

.outline-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08) brightness(0.9);
}

.outline-card span,
.case-facts dt,
.lesson-chain span,
.case-question-board span {
  display: inline-flex;
  width: fit-content;
  margin: clamp(14px, 1.2vw, 22px) clamp(16px, 1.5vw, 26px) 0;
  padding: 4px 8px;
  color: #05080b;
  background: rgba(255, 194, 71, 0.92);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-weight: 900;
  line-height: 1;
}

.outline-card h3 {
  margin: clamp(12px, 1.2svh, 20px) clamp(16px, 1.5vw, 26px) 0;
  font-size: clamp(28px, 2.35vw, 42px);
  line-height: 1.08;
}

.outline-card p {
  margin: clamp(10px, 1svh, 16px) clamp(16px, 1.5vw, 26px) clamp(18px, 1.5vw, 28px);
  color: #59636b;
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.48;
}

body.presentation-mode .talk-map .section-heading h2 {
  max-width: 1380px;
  font-size: clamp(32px, 3vw, 50px);
}

body.presentation-mode .arc-flow {
  margin-top: clamp(12px, 1.4svh, 22px);
}

body.presentation-mode .case-dossier {
  grid-template-rows: auto minmax(0, 1fr);
}

body.presentation-mode .case-card {
  display: grid;
}

body.presentation-mode .case-fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.presentation-mode .case-fact-card {
  grid-template-rows: minmax(230px, 44%) 1fr;
}

body.presentation-mode .case-fact-card .case-visual {
  height: 100%;
}

.case-facts {
  margin: clamp(12px, 1.2svh, 18px) 0 0;
  display: grid;
  gap: clamp(7px, 0.75svh, 12px);
}

.case-facts div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: start;
  padding-top: clamp(7px, 0.7svh, 11px);
  border-top: 1px solid rgba(16, 22, 27, 0.12);
}

.case-facts dt {
  margin: 0;
  font-size: clamp(12px, 0.9vw, 15px);
}

.case-facts dd {
  margin: 0;
  color: #4f5a61;
  font-size: clamp(14px, 1.05vw, 19px);
  line-height: 1.42;
}

body.presentation-mode .case-lessons {
  display: grid;
  grid-template-rows: auto minmax(0, 0.9fr) minmax(0, 0.62fr) auto;
  gap: var(--slide-gap);
}

.lesson-chain {
  width: min(100%, 1520px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(5, 8, 11, 0.98), rgba(17, 27, 31, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 194, 71, 0.1) 0 8px, transparent 8px 16px);
  border: 1px solid rgba(255, 194, 71, 0.22);
}

.lesson-chain article {
  position: relative;
  padding: clamp(18px, 1.8vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 1.5svh, 24px);
}

.lesson-chain article + article {
  border-left: 1px solid rgba(255, 247, 232, 0.14);
}

.lesson-chain article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--warning);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 950;
}

.lesson-chain span {
  margin: 0;
}

.lesson-chain strong {
  font-size: clamp(20px, 1.7vw, 30px);
  line-height: 1.2;
}

.case-question-board {
  width: min(100%, 1380px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 20px);
}

.case-question-board article {
  padding: clamp(18px, 1.8vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(16, 22, 27, 0.2);
  background: rgba(255, 250, 241, 0.82);
}

.case-question-board span {
  margin: 0 0 clamp(14px, 1.3svh, 22px);
}

.case-question-board p {
  margin: 0;
  font-size: clamp(22px, 1.85vw, 34px);
  line-height: 1.18;
  font-weight: 950;
}

body.presentation-mode .fire-types,
body.presentation-mode .risk-field {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body.presentation-mode .type-stage {
  width: min(100%, 1520px);
  height: 100%;
}

body.presentation-mode .type-card {
  min-height: 0;
  grid-template-rows: minmax(260px, 45%) 1fr;
}

body.presentation-mode .risk-card {
  grid-template-rows: minmax(210px, 44%) 1fr;
}

body.presentation-mode .risk-card p,
body.presentation-mode .risk-card li {
  font-size: clamp(16px, 1.05vw, 19px);
}

.phase-card {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 5;
  width: min(300px, calc(100% - 48px));
  padding: 14px 16px;
  color: rgba(248, 245, 239, 0.84);
  background: rgba(7, 11, 16, 0.72);
  border: 1px solid rgba(248, 245, 239, 0.12);
  backdrop-filter: blur(14px);
}

.phase-card strong,
.phase-card span {
  display: block;
}

.phase-card strong {
  color: var(--warning);
  margin-bottom: 4px;
}

.phase-card span {
  font-size: 13px;
}

body.presentation-mode .step.is-current {
  border-color: rgba(255, 194, 71, 0.72);
  background:
    linear-gradient(120deg, rgba(232, 75, 42, 0.18), rgba(24, 167, 161, 0.08)),
    rgba(255, 247, 232, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 71, 0.16);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.presentation-mode #timeline .step.reveal {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

body.presentation-mode #timeline .step.reveal.is-current {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.presentation-mode .storyline {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

body.presentation-mode .sticky-layout {
  height: 100%;
}

body.presentation-mode .smoke-brief {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: var(--slide-gap);
}

body.presentation-mode .smoke-brief-inner {
  width: min(100%, 1520px);
  height: 100%;
  grid-template-columns: minmax(480px, 0.9fr) minmax(640px, 1.1fr);
}

.smoke-route-card {
  margin-top: clamp(20px, 2.2svh, 34px);
  padding: clamp(16px, 1.4vw, 24px);
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 194, 71, 0.22);
  background: rgba(255, 247, 232, 0.06);
}

.smoke-route-card span {
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 950;
}

.smoke-route-card i {
  height: 4px;
  background: linear-gradient(90deg, var(--flame), var(--warning), transparent);
}

body.presentation-mode .smoke-metrics article {
  justify-content: center;
  gap: 12px;
}

body.presentation-mode .myth-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--slide-gap);
}

body.presentation-mode .myth-grid {
  width: min(100%, 1560px);
  height: 100%;
}

body.presentation-mode .myth-card {
  display: grid;
  grid-template-rows: minmax(120px, 34%) auto auto 1fr;
  gap: clamp(8px, 0.8svh, 12px);
  justify-content: stretch;
}

.myth-visual {
  position: relative;
  min-height: 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 70%, rgba(232, 75, 42, 0.36), transparent 26%),
    radial-gradient(circle at 74% 28%, rgba(24, 167, 161, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(16, 22, 27, 0.08) 1px, transparent 1px),
    #11171b;
  background-size: auto, auto, 28px 28px, auto;
}

.myth-visual::before,
.myth-visual::after {
  content: "";
  position: absolute;
}

.myth-small-fire::before {
  left: 45%;
  bottom: 22px;
  width: 48px;
  height: 70px;
  transform: translateX(-50%);
  border-radius: 52% 48% 52% 48%;
  background:
    radial-gradient(circle at 58% 62%, #ffd36a 0 25%, transparent 26%),
    radial-gradient(circle at 44% 58%, var(--amber) 0 38%, transparent 39%),
    radial-gradient(circle at 38% 74%, var(--flame) 0 48%, transparent 49%);
  filter: drop-shadow(0 0 18px rgba(232, 75, 42, 0.6));
}

.myth-small-fire::after {
  left: 50%;
  right: 20px;
  top: 26px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(210, 214, 206, 0.5), transparent 72%);
  filter: blur(10px);
}

.myth-towel::before {
  left: 28px;
  right: 28px;
  top: 46px;
  height: 42px;
  border: 4px solid rgba(255, 247, 232, 0.72);
  background: repeating-linear-gradient(90deg, rgba(255, 247, 232, 0.36) 0 10px, rgba(24, 167, 161, 0.22) 10px 20px);
}

.myth-towel::after {
  left: 30px;
  right: 30px;
  top: 22px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(28, 29, 29, 0.58), rgba(28, 29, 29, 0.12) 64%, transparent);
  filter: blur(12px);
}

.myth-window::before {
  left: 34px;
  top: 24px;
  width: 74px;
  height: 74px;
  border: 5px solid var(--blue);
  box-shadow: 70px 0 0 -5px rgba(61, 113, 152, 0.55);
}

.myth-window::after {
  right: 18px;
  top: 44px;
  width: 110px;
  height: 34px;
  background: linear-gradient(90deg, transparent, rgba(232, 75, 42, 0.78));
  clip-path: polygon(0 35%, 70% 35%, 70% 0, 100% 50%, 70% 100%, 70% 65%, 0 65%);
}

.myth-stairs::before {
  left: 32px;
  bottom: 24px;
  width: 170px;
  height: 88px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 247, 232, 0.7) 18% 23%, transparent 23% 40%, rgba(255, 247, 232, 0.7) 40% 45%, transparent 45% 62%, rgba(255, 247, 232, 0.7) 62% 67%, transparent 67%),
    repeating-linear-gradient(0deg, rgba(255, 247, 232, 0.78) 0 5px, transparent 5px 22px);
  transform: skewY(-10deg);
}

.myth-stairs::after {
  right: 26px;
  top: 22px;
  width: 86px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 29, 29, 0.72), transparent 68%);
  filter: blur(8px);
}

.myth-facility::before {
  left: 44px;
  top: 20px;
  width: 86px;
  height: 86px;
  border: 8px solid var(--flame);
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(255, 194, 71, 0.52);
}

.myth-facility::after {
  right: 34px;
  top: 28px;
  width: 70px;
  height: 78px;
  border: 4px solid rgba(255, 247, 232, 0.8);
  border-top: 12px solid rgba(255, 247, 232, 0.8);
  background: linear-gradient(180deg, rgba(24, 167, 161, 0.36), rgba(255, 247, 232, 0.04));
}

body.presentation-mode #mechanisms {
  grid-template-rows: auto minmax(0, 1fr) auto auto;
}

body.presentation-mode #mechanisms .mechanism-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.mechanism-card {
  cursor: pointer;
}

.mechanism-card.is-selected {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 8, 11, 0.98), rgba(27, 45, 49, 0.95)),
    repeating-linear-gradient(0deg, rgba(255, 194, 71, 0.08) 0 1px, transparent 1px 18px);
  border-color: rgba(255, 194, 71, 0.58);
  transform: translateY(-4px);
}

.mechanism-card.is-selected p {
  color: rgba(255, 247, 232, 0.78);
}

body.presentation-mode .door-check .interactive-compare {
  grid-template-columns: minmax(520px, 0.88fr) minmax(620px, 1.12fr);
}

body.presentation-mode .door-check .compare-copy p {
  max-width: 720px;
}

body.presentation-mode #control {
  grid-template-rows: auto minmax(0, 1fr) minmax(110px, 0.38fr) auto;
}

body.presentation-mode .facility-visual {
  width: min(100%, 1500px);
  margin-top: 0;
  height: 100%;
}

body.presentation-mode .facility-visual article {
  min-height: 0;
  padding: clamp(16px, 1.3vw, 24px);
}

body.presentation-mode .facility-visual strong {
  font-size: clamp(19px, 1.35vw, 26px);
}

body.presentation-mode .facility-visual span {
  inset: clamp(14px, 1vw, 20px);
}

body.presentation-mode #rescue,
body.presentation-mode #rescue-strategy {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

body.presentation-mode .strategy-stage {
  grid-template-columns: minmax(520px, 1.04fr) minmax(520px, 0.96fr);
}

body.presentation-mode .strategy-stage article {
  justify-content: center;
}

.latex-formula {
  margin: 0;
  padding: clamp(16px, 1.6vw, 26px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--warning);
  background: rgba(255, 247, 232, 0.06);
  border: 1px solid rgba(255, 194, 71, 0.22);
  font-size: clamp(26px, 2.25vw, 44px);
  font-weight: 900;
}

.curve-section .latex-formula,
.curve-section .equation-card,
.curve-section .equation-var,
.curve-section .equation-log,
.curve-section .formula-note .equation-var {
  font-family: "Times New Roman", Times, serif;
}

.equation-card {
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0;
  min-width: 0;
}

.equation-var {
  font-style: italic;
}

.equation-op {
  color: rgba(255, 247, 232, 0.88);
}

.equation-log sub {
  font-size: 0.48em;
  line-height: 0;
}

.equation-paren {
  color: rgba(255, 247, 232, 0.92);
}

.formula-note {
  color: rgba(255, 247, 232, 0.68) !important;
}

.formula-note .equation-var {
  color: var(--warning);
  font-weight: 800;
}

body.presentation-mode .curve-section {
  grid-template-columns: none;
  grid-template-rows: auto minmax(0, 1fr);
  padding: var(--slide-pad-top) var(--slide-pad-x) var(--slide-pad-bottom);
  gap: clamp(16px, 2svh, 28px);
}

body.presentation-mode .curve-header {
  width: min(100%, 1520px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  align-items: end;
}

body.presentation-mode .flashover,
body.presentation-mode .structure {
  padding: var(--slide-pad-top) var(--slide-pad-x) var(--slide-pad-bottom);
}

body.presentation-mode .flash-visual,
body.presentation-mode .structure-art {
  height: 100%;
}

body.presentation-mode .flash-visual img,
body.presentation-mode .structure-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.presentation-mode .curve-panel {
  width: min(100%, 1620px);
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding: clamp(14px, 1.2vw, 22px);
}

body.presentation-mode #curveCanvas {
  height: 100%;
  min-height: 0;
}

body.presentation-mode .action-recap {
  display: grid;
  place-items: center;
}

body.presentation-mode .action-recap-inner {
  width: min(100%, 1540px);
  height: 100%;
  gap: clamp(16px, 2svh, 30px);
}

body.presentation-mode .action-recap-copy h2 {
  font-size: clamp(42px, 4.2vw, 74px);
}

body.presentation-mode .action-recap-copy p:not(.eyebrow) {
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.45;
}

body.presentation-mode .action-steps {
  height: 100%;
  align-items: stretch;
}

body.presentation-mode .action-steps article {
  min-height: 0;
  padding: clamp(18px, 1.7vw, 30px);
}

body.presentation-mode .action-steps h3 {
  font-size: clamp(26px, 2.05vw, 38px);
}

body.presentation-mode .action-steps p {
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.48;
}

body.presentation-mode .action-principle {
  padding: clamp(16px, 1.6vw, 26px) clamp(22px, 2vw, 36px);
}

body.presentation-mode .action-principle p {
  font-size: clamp(16px, 1.18vw, 21px);
}

body.presentation-mode .bridge-to-structure {
  display: grid;
  place-items: center;
  text-align: left;
}

.bridge-inner {
  width: min(1480px, calc(100% - 44px));
  padding: clamp(42px, 5vw, 78px);
  background:
    linear-gradient(120deg, rgba(255, 250, 241, 0.88), rgba(232, 226, 215, 0.76)),
    repeating-linear-gradient(90deg, rgba(16, 22, 27, 0.045) 0 1px, transparent 1px 42px);
  border: 1px solid rgba(16, 22, 27, 0.18);
}

body.presentation-mode .bridge-inner {
  width: min(1520px, 92%);
  min-height: min(820px, 76%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.engineering-flow {
  margin-top: clamp(34px, 4svh, 58px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  color: var(--white);
  background: rgba(5, 8, 11, 0.96);
  border: 1px solid rgba(255, 194, 71, 0.22);
}

.engineering-flow span {
  position: relative;
  padding: clamp(20px, 2vw, 34px) clamp(12px, 1.2vw, 22px);
  text-align: center;
  font-size: clamp(18px, 1.4vw, 26px);
  font-weight: 950;
}

.engineering-flow span + span {
  border-left: 1px solid rgba(255, 247, 232, 0.14);
}

.engineering-flow span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--warning);
}

body.presentation-mode .sources {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--slide-gap);
}

body.presentation-mode .source-grid {
  width: min(100%, 1500px);
  height: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body.presentation-mode .source-grid a {
  min-height: 0;
  align-items: flex-end;
  font-size: clamp(15px, 1.05vw, 19px);
}

body.presentation-mode .finale {
  min-height: 0;
  padding: var(--slide-pad-top) var(--slide-pad-x) var(--slide-pad-bottom);
}

body.presentation-mode .finale-inner {
  width: min(1360px, 100%);
  min-height: min(880px, 78%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body.presentation-mode .finale h2 {
  font-size: clamp(54px, 6vw, 104px);
}

body.presentation-mode .final-summary {
  gap: clamp(18px, 2svh, 28px);
}

body.presentation-mode .final-summary p {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: clamp(18px, 2vw, 34px);
  align-items: center;
  text-align: left;
  padding: clamp(24px, 2.6vw, 44px);
  font-size: clamp(28px, 2.5vw, 46px);
}

.final-summary span {
  color: var(--warning);
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.8em;
}

.thanks-panel {
  margin-top: clamp(28px, 4svh, 58px);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(28px, 3vw, 48px);
  width: min(980px, 100%);
  display: grid;
  gap: clamp(12px, 1.6svh, 22px);
  justify-items: center;
  text-align: center;
  color: rgba(255, 247, 232, 0.84);
  background:
    linear-gradient(115deg, rgba(255, 247, 232, 0.08), rgba(20, 143, 140, 0.08)),
    rgba(5, 8, 11, 0.38);
  border: 1px solid rgba(255, 194, 71, 0.22);
}

.thanks-panel p {
  margin: 0;
  color: var(--warning);
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 950;
}

.thanks-panel strong {
  color: var(--white);
  font-size: clamp(20px, 1.55vw, 30px);
}

.thanks-panel span {
  color: rgba(255, 247, 232, 0.7);
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.55;
}

body.presentation-mode .accuracy-band,
body.presentation-mode .action-boundary,
body.presentation-mode .control-note {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(5, 8, 11, 0.98), rgba(27, 39, 44, 0.96)),
    repeating-linear-gradient(90deg, rgba(255, 194, 71, 0.07) 0 1px, transparent 1px 34px);
  border-color: rgba(255, 194, 71, 0.28);
}

body.presentation-mode .accuracy-band p,
body.presentation-mode .action-boundary > p,
body.presentation-mode .control-note p {
  color: rgba(255, 247, 232, 0.84);
}

body.presentation-mode .action-boundary h3,
body.presentation-mode .action-boundary .eyebrow {
  color: var(--warning);
}

body.presentation-mode .control-flow {
  background:
    linear-gradient(110deg, rgba(5, 8, 11, 0.98), rgba(20, 32, 36, 0.94)),
    repeating-linear-gradient(135deg, rgba(255, 194, 71, 0.09) 0 8px, transparent 8px 16px);
}

body.presentation-mode .structure {
  color: var(--white);
}

body.presentation-mode .structure-copy h2 {
  color: var(--white);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

body.presentation-mode .structure-copy p {
  color: rgba(255, 247, 232, 0.78);
}

body.presentation-mode .structure .handoff span {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.96);
}

body.presentation-mode::-webkit-scrollbar {
  width: 0;
  height: 0;
}

html::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* 2026-06-03f: refined isometric door/smoke animation and proportional stage scaling */
body.presentation-mode main > section {
  container-type: size;
  --slide-pad-x: clamp(36px, 5cqw, 96px);
  --slide-pad-top: clamp(46px, 7cqh, 92px);
  --slide-pad-bottom: clamp(22px, 4.4cqh, 58px);
  --slide-gap: clamp(10px, 1.85cqh, 22px);
}

body.presentation-mode .section-heading h2 {
  font-size: clamp(30px, 3.1cqw, 52px);
}

body.presentation-mode .section-heading p {
  font-size: clamp(14px, 1.12cqw, 19px);
}

body.presentation-mode .takeaway-strip p {
  font-size: clamp(17px, 1.35cqw, 24px);
}

body.presentation-mode .door-check {
  gap: clamp(10px, 1.8cqh, 22px);
}

body.presentation-mode .door-check .section-heading h2 {
  font-size: clamp(32px, 3.2cqw, 54px);
}

body.presentation-mode .door-check .interactive-compare {
  width: min(100%, 86cqw);
  height: 100%;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(14px, 1.7cqw, 30px);
}

body.presentation-mode .door-check .compare-copy {
  padding: clamp(22px, 2.55cqw, 46px);
}

body.presentation-mode .door-check .compare-copy h3 {
  font-size: clamp(30px, 3cqw, 52px);
}

body.presentation-mode .door-check .compare-copy p {
  font-size: clamp(14px, 1.16cqw, 19px);
}

body.presentation-mode .door-check .diagram-note {
  font-size: clamp(11px, 0.75cqw, 13px);
}

.door-check .vent-room {
  min-height: 470px;
  container-type: size;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 31% 37%, rgba(232, 75, 42, 0.2), transparent 30%),
    radial-gradient(circle at 78% 68%, rgba(20, 143, 140, 0.18), transparent 36%),
    linear-gradient(135deg, #f8efe0 0 48%, #c9d1c9 48% 100%);
  box-shadow:
    inset 0 0 0 1px rgba(63, 64, 62, 0.14),
    0 28px 80px rgba(16, 22, 27, 0.12);
  perspective: 1300px;
}

body.presentation-mode .door-check .vent-room {
  min-height: 0;
  height: 100%;
}

.door-check .iso-scene {
  width: min(94%, 92cqw);
  height: min(92%, 78cqh);
  max-height: 760px;
  aspect-ratio: 1.36;
  transform: translateY(1.2cqh);
  filter: drop-shadow(0 34px 58px rgba(16, 22, 27, 0.14));
}

.door-check .iso-scene > div,
.door-check .iso-scene > canvas {
  position: absolute;
  transform-origin: center;
}

.door-check .iso-floor {
  z-index: 1;
  left: 11%;
  top: 43%;
  width: 52%;
  height: 34%;
  clip-path: polygon(16% 0, 100% 17%, 83% 100%, 0 82%);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.94), rgba(226, 214, 193, 0.9)),
    repeating-linear-gradient(92deg, rgba(63, 64, 62, 0.08) 0 1px, transparent 1px 34px);
}

.door-check .iso-back-wall {
  z-index: 2;
  left: 18%;
  top: 15%;
  width: 52%;
  height: 35%;
  clip-path: polygon(0 0, 100% 12%, 100% 100%, 0 88%);
}

.door-check .iso-side-wall {
  z-index: 3;
  left: 63%;
  top: 22%;
  width: 24%;
  height: 52%;
  clip-path: polygon(0 0, 100% 18%, 88% 100%, 0 82%);
}

.door-check .iso-corridor-floor {
  z-index: 1;
  left: 66%;
  top: 52%;
  width: 29%;
  height: 30%;
  clip-path: polygon(0 0, 100% 16%, 82% 100%, 0 83%);
  background:
    linear-gradient(120deg, rgba(143, 156, 151, 0.5), rgba(76, 94, 97, 0.44)),
    repeating-linear-gradient(90deg, rgba(255, 250, 241, 0.1) 0 1px, transparent 1px 28px);
}

.door-check .iso-door-frame {
  z-index: 6;
  left: 61.7%;
  top: 35%;
  width: 11%;
  height: 28%;
  clip-path: polygon(0 0, 100% 11%, 88% 100%, 0 88%);
  background: linear-gradient(135deg, rgba(6, 10, 13, 0.92), rgba(28, 35, 37, 0.76));
  box-shadow: 0 0 0 5px rgba(63, 64, 62, 0.4);
}

.iso-threshold {
  z-index: 7;
  left: 60.6%;
  top: 61.2%;
  width: 15%;
  height: 6%;
  clip-path: polygon(0 0, 100% 16%, 82% 100%, 0 76%);
  background: linear-gradient(90deg, rgba(255, 194, 71, 0.65), rgba(232, 75, 42, 0.28), transparent);
  opacity: 0.4;
  filter: blur(1px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.door-check .iso-door-slab {
  z-index: 10;
  left: 62.8%;
  top: 36.6%;
  width: 9.2%;
  height: 25.4%;
  clip-path: polygon(0 0, 100% 10%, 88% 100%, 0 90%);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98), rgba(218, 204, 181, 0.9)),
    linear-gradient(90deg, rgba(16, 22, 27, 0.08) 1px, transparent 1px);
  background-size: auto, 22px 22px;
  border: 2px solid rgba(63, 64, 62, 0.5);
  transition: transform 0.86s cubic-bezier(0.2, 0.82, 0.18, 1), filter 0.86s ease;
}

.door-check .vent-room.is-open .iso-door-slab {
  transform: translate(5.8cqw, 2.2cqh) skewY(13deg) rotate(9deg);
  filter: drop-shadow(-20px 16px 14px rgba(17, 19, 21, 0.28));
}

.door-check .iso-flame {
  z-index: 5;
  left: 34%;
  top: 56%;
  width: clamp(54px, 7.5cqw, 86px);
  height: clamp(74px, 10cqh, 110px);
  filter:
    drop-shadow(0 0 24px rgba(232, 75, 42, 0.66))
    drop-shadow(0 0 54px rgba(244, 169, 61, 0.26));
}

.iso-heat-haze {
  z-index: 4;
  left: 27%;
  top: 34%;
  width: 18%;
  height: 30%;
  border-radius: 48%;
  background:
    repeating-linear-gradient(82deg, rgba(255, 194, 71, 0.12) 0 2px, transparent 2px 11px),
    radial-gradient(ellipse at 50% 80%, rgba(232, 75, 42, 0.18), transparent 64%);
  filter: blur(4px);
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: heatWaver 3.4s ease-in-out infinite alternate;
}

#ventSmokeCanvas.iso-smoke-canvas {
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.98;
  filter: saturate(0.82) contrast(1.04);
}

.door-check .iso-smoke {
  z-index: 7;
  pointer-events: none;
  filter: blur(16px);
}

.door-check .iso-smoke-ceiling {
  left: 20%;
  top: 18%;
  width: 52%;
  height: 24%;
  clip-path: polygon(0 9%, 100% 0, 95% 90%, 6% 100%);
  background:
    radial-gradient(ellipse at 24% 56%, rgba(12, 14, 15, 0.68), transparent 52%),
    radial-gradient(ellipse at 61% 42%, rgba(46, 49, 48, 0.56), transparent 62%),
    radial-gradient(ellipse at 88% 62%, rgba(122, 127, 119, 0.28), transparent 72%),
    linear-gradient(90deg, rgba(16, 18, 18, 0.58), rgba(96, 101, 94, 0.08));
  opacity: 0.86;
  animation: isoSmokeFloat 7.2s ease-in-out infinite alternate;
}

.door-check .iso-smoke-ceiling::before,
.door-check .iso-smoke-ceiling::after,
.door-check .iso-smoke-rolling::before,
.door-check .iso-smoke-rolling::after {
  content: "";
  position: absolute;
  inset: -34%;
  border-radius: 50%;
  pointer-events: none;
}

.door-check .iso-smoke-ceiling::before {
  background:
    radial-gradient(ellipse at 25% 50%, rgba(225, 225, 214, 0.16), transparent 42%),
    radial-gradient(ellipse at 64% 52%, rgba(145, 150, 142, 0.18), transparent 48%);
  mix-blend-mode: screen;
  animation: smokeFilamentA 8.8s ease-in-out infinite alternate;
}

.door-check .iso-smoke-ceiling::after {
  background:
    linear-gradient(94deg, transparent 0 16%, rgba(255, 250, 241, 0.14) 29%, transparent 44% 100%),
    linear-gradient(78deg, transparent 0 38%, rgba(17, 19, 21, 0.24) 48%, transparent 62% 100%);
  opacity: 0.62;
  animation: smokeFilamentB 7.4s ease-in-out infinite alternate;
}

.iso-smoke-rolling {
  left: 31%;
  top: 33%;
  width: 31%;
  height: 16%;
  clip-path: polygon(0 24%, 100% 0, 92% 88%, 10% 100%);
  background:
    radial-gradient(ellipse at 20% 54%, rgba(14, 16, 16, 0.42), transparent 48%),
    radial-gradient(ellipse at 54% 44%, rgba(88, 93, 88, 0.24), transparent 58%),
    radial-gradient(ellipse at 90% 55%, rgba(180, 178, 164, 0.11), transparent 62%);
  opacity: 0.72;
  transform: translate(-1cqw, 0) scaleX(0.96);
  animation: smokeRoll 5.6s ease-in-out infinite alternate;
}

.door-check .iso-smoke-spill {
  z-index: 9;
  left: 57.6%;
  top: 33.5%;
  width: 35%;
  height: 25%;
  clip-path: polygon(0 24%, 70% 0, 100% 54%, 19% 100%);
  background:
    radial-gradient(ellipse at 24% 50%, rgba(22, 24, 24, 0.62), transparent 55%),
    radial-gradient(ellipse at 64% 58%, rgba(84, 91, 86, 0.42), transparent 64%),
    radial-gradient(ellipse at 90% 60%, rgba(175, 181, 170, 0.18), transparent 72%);
  opacity: 0.05;
  transform: translate(-2.8cqw, 2.2cqh) scaleX(0.46) scaleY(0.88);
  transition: opacity 0.88s ease, transform 0.88s cubic-bezier(0.2, 0.82, 0.18, 1), filter 0.88s ease;
  animation: isoSmokeSpill 5.4s ease-in-out infinite alternate;
}

.door-check .vent-room.is-open .iso-smoke-spill {
  opacity: 0.86;
  transform: translate(1.8cqw, 0.2cqh) scaleX(1.12) scaleY(1);
  filter: blur(17px);
}

.iso-pressure {
  z-index: 11;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.iso-pressure-hot {
  left: 61%;
  top: 39%;
  width: 24%;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 75, 42, 0), rgba(232, 75, 42, 0.84), rgba(244, 169, 61, 0));
  transform: translateX(-1.4cqw) rotate(12deg);
  box-shadow: 0 0 20px rgba(232, 75, 42, 0.28);
}

.iso-pressure-cool {
  left: 71%;
  top: 64%;
  width: 20%;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 143, 140, 0), rgba(20, 143, 140, 0.88));
  transform: translateX(2.8cqw) rotate(12deg);
  box-shadow: 0 0 18px rgba(20, 143, 140, 0.24);
}

.door-check .vent-room.is-open .iso-pressure-hot {
  opacity: 0.78;
  transform: translateX(1.8cqw) rotate(12deg);
}

.door-check .vent-room.is-open .iso-pressure-cool {
  opacity: 0.9;
  transform: translateX(-2.8cqw) rotate(12deg);
}

.door-check .vent-room.is-open .iso-threshold {
  opacity: 0.82;
  transform: translate(1.2cqw, 0.3cqh);
}

.door-check .vent-room .room-label,
.door-check .vent-room .corridor-label,
.door-check .vent-room .air-arrow,
.door-check .vent-room .smoke-arrow {
  z-index: 14;
  padding: clamp(6px, 0.75cqw, 10px) clamp(8px, 0.95cqw, 14px);
  font-size: clamp(11px, 0.9cqw, 14px);
  backdrop-filter: blur(10px);
}

.door-check .vent-room .room-label {
  left: 11%;
  top: 12%;
}

.door-check .vent-room .corridor-label {
  right: 8%;
  top: 23%;
}

.door-check .vent-room .smoke-arrow {
  right: 7%;
  top: 41%;
}

.door-check .vent-room .air-arrow {
  right: 11%;
  bottom: 15%;
}

.door-check .vent-room:not(.is-open) .air-arrow {
  opacity: 0.04;
  transform: translateX(3.2cqw);
}

.door-check .vent-room:not(.is-open) .smoke-arrow {
  opacity: 0.46;
}

.door-check .vent-room.is-open .air-arrow,
.door-check .vent-room.is-open .smoke-arrow {
  opacity: 1;
}

@keyframes heatWaver {
  from {
    transform: translate(-1cqw, 0.8cqh) skewX(-2deg) scaleY(0.94);
    opacity: 0.36;
  }

  to {
    transform: translate(0.4cqw, -0.8cqh) skewX(4deg) scaleY(1.06);
    opacity: 0.58;
  }
}

@keyframes smokeRoll {
  from {
    transform: translate(-1.4cqw, 0.1cqh) scaleX(0.92);
    filter: blur(14px);
  }

  to {
    transform: translate(1.2cqw, -0.6cqh) scaleX(1.08);
    filter: blur(19px);
  }
}

body.presentation-mode .door-check .interactive-compare {
  width: min(100%, 1520px);
}

/* 2026-06-03g: restore lecture-readable type after removing full-page scale */
body.presentation-mode .section-heading h2 {
  font-size: clamp(36px, 3.45cqw, 58px);
}

body.presentation-mode :is(.case-wall, .fire-types, .risk-field, .smoke-brief, .myth-section, .mechanism-lab, .door-check, .control-stack, .strategy, .sources) .section-heading h2 {
  font-size: clamp(38px, 3.55cqw, 60px);
}

body.presentation-mode .section-heading p:not(.eyebrow) {
  font-size: clamp(16px, 1.25cqw, 21px);
  line-height: 1.48;
}

body.presentation-mode .door-check .compare-copy h3,
body.presentation-mode .judgment-panel h3,
body.presentation-mode .strategy-stage h3 {
  font-size: clamp(34px, 3.15cqw, 56px);
}

body.presentation-mode .door-check .compare-copy p,
body.presentation-mode .strategy-stage p,
body.presentation-mode .judgment-panel > div:first-child p:not(.eyebrow),
body.presentation-mode .risk-card p,
body.presentation-mode .risk-card li,
body.presentation-mode .mechanism-card p,
body.presentation-mode .myth-card p,
body.presentation-mode .control-layers p,
body.presentation-mode .action-steps p {
  font-size: clamp(16px, 1.18cqw, 21px);
  line-height: 1.5;
}

body.presentation-mode .takeaway-strip p {
  font-size: clamp(20px, 1.52cqw, 27px);
}

body.presentation-mode .control-layers p {
  font-size: clamp(14px, 1.04cqw, 18px);
  line-height: 1.42;
}
