:root {
  --red: #ef3525;
  --red-deep: #b3130b;
  --yellow: #ffd51f;
  --ink: #111114;
  --paper: #f4efe4;
  --white: #fffaf0;
  --green: #39c879;
  --font-display: "YouSheBiaoTiHei", "STHeiti", "Microsoft YaHei", "Arial Black", sans-serif;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-accent: "Kaiti SC", "STKaiti", "Noto Serif CJK SC", serif;
  --ease-snap: cubic-bezier(.16, .84, .22, 1);
  --pad-x: clamp(26px, 6vw, 104px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: var(--ink); }
body { font-family: var(--font-body); color: var(--white); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
noscript { position: fixed; z-index: 100; inset: 0 0 auto; background: var(--yellow); color: var(--ink); padding: 12px; text-align: center; }

.deck {
  height: 100svh;
  overflow: hidden;
  overflow: clip;
  position: relative;
  background: var(--ink);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 102%, 0) scale(.985);
  opacity: .4;
  transition: transform 820ms var(--ease-snap), opacity 560ms ease, visibility 0s 820ms;
  contain: layout paint;
  background: var(--ink);
}

.slide.is-active,
.slide.is-before {
  visibility: visible;
  transition-delay: 0s;
}

.slide.is-active { pointer-events: auto; transform: translate3d(0, 0, 0) scale(1); opacity: 1; z-index: 2; }
.slide.is-before { transform: translate3d(0, -12%, 0) scale(.97); opacity: .2; z-index: 1; }
.slide.is-after { transform: translate3d(0, 102%, 0) scale(.985); }

.slide-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100svh;
  padding: clamp(76px, 10vh, 112px) var(--pad-x) clamp(48px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photo-layer, .photo-wash, .hero-shade, .call-wash, .escape-wash, .extinguisher-wash, .drill-wash {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.photo-layer { z-index: 0; transform: scale(1.035); transition: transform 1400ms var(--ease-snap); }
.slide.is-active .photo-layer { transform: scale(1); }
.hero-shade { z-index: 1; background: linear-gradient(90deg, rgba(10,10,12,.95) 0%, rgba(10,10,12,.72) 46%, rgba(10,10,12,.08) 76%), linear-gradient(0deg, rgba(0,0,0,.42), transparent 55%); }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  padding: 0 clamp(18px, 3vw, 46px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0,0,0,.42), transparent);
  transition: color .3s ease, background .3s ease;
}
.light-slide .topbar { color: var(--ink); background: linear-gradient(180deg, rgba(244,239,228,.96), rgba(244,239,228,0)); }
.light-slide .topbar .icon-button { border-color: rgba(17,17,20,.42); }
.topbar button { pointer-events: auto; }
.brand, .icon-button { border: 0; background: transparent; cursor: pointer; }
.brand { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-weight: 800; letter-spacing: .08em; }
.brand-flame { color: var(--red); transform: rotate(45deg); display: inline-block; font-size: 17px; }
.slide-counter { display: flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.slide-counter b { font-family: var(--font-display); font-size: 28px; }
.slide-counter span { opacity: .55; font-size: 12px; }
.icon-button { border: 1px solid rgba(255,255,255,.5); border-radius: 99px; padding: 8px 14px; font-size: 12px; font-weight: 700; }

.dot-nav {
  position: fixed;
  z-index: 20;
  right: clamp(12px, 2.2vw, 34px);
  top: 50%;
  display: grid;
  gap: 9px;
  transform: translateY(-50%);
}
.dot-nav button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.34); cursor: pointer; transition: .25s ease; }
.dot-nav button.active { height: 26px; border-radius: 8px; background: var(--yellow); }

.eyebrow { margin: 0 0 14px; font-size: clamp(12px, 1.2vw, 16px); font-weight: 900; letter-spacing: .22em; color: var(--yellow); text-transform: uppercase; }
.eyebrow.dark { color: var(--red-deep); }
.slide-heading h2, .chapter-copy h2, .habits-copy h2, .call-copy h2, .drill-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 5.1vw, 78px);
  line-height: .98;
  letter-spacing: -.045em;
}
.slide-heading > p:last-child, .call-copy > p, .slide-heading.light > p:last-child { max-width: 720px; margin: 18px 0 0; font-size: clamp(15px, 1.45vw, 21px); line-height: 1.6; opacity: .72; }
.chapter-kicker { margin: 0 0 18px; font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.chapter-kicker span { background: var(--red); color: white; padding: 7px 12px; margin-right: 10px; }

.reveal-group > *, .stagger-list > * { opacity: 0; transform: translateY(26px); transition: opacity 620ms ease, transform 760ms var(--ease-snap); }
.slide.is-active .reveal-group > *, .slide.is-active .stagger-list > * { opacity: 1; transform: translateY(0); }
.slide.is-active .reveal-group > *:nth-child(2), .slide.is-active .stagger-list > *:nth-child(2) { transition-delay: 90ms; }
.slide.is-active .reveal-group > *:nth-child(3), .slide.is-active .stagger-list > *:nth-child(3) { transition-delay: 170ms; }
.slide.is-active .reveal-group > *:nth-child(4), .slide.is-active .stagger-list > *:nth-child(4) { transition-delay: 250ms; }
.slide.is-active .stagger-list > *:nth-child(5) { transition-delay: 330ms; }

/* 01 */
.hero-layout { align-items: flex-start; }
.hero-copy { max-width: 860px; }
.hero-copy h1 { margin: 0; font-family: var(--font-display); font-size: clamp(62px, 9.3vw, 148px); line-height: .78; letter-spacing: -.075em; }
.hero-copy h1 span { display: block; }
.outline-title { margin-top: .16em; color: transparent; -webkit-text-stroke: clamp(1px, .13vw, 2.5px) var(--white); text-shadow: 0 0 40px rgba(255,255,255,.08); }
.hero-subtitle { margin: clamp(24px, 4vh, 46px) 0 30px; font-family: var(--font-accent); font-size: clamp(18px, 2.15vw, 30px); letter-spacing: .08em; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.primary-button, .outline-button { border-radius: 2px; padding: 15px 24px; cursor: pointer; font-weight: 900; letter-spacing: .08em; }
.primary-button { border: 0; color: var(--ink); background: var(--yellow); box-shadow: 8px 8px 0 var(--red); }
.primary-button:hover { transform: translate(-2px,-2px); box-shadow: 12px 12px 0 var(--red); }
.alarm-badge { position: absolute; right: var(--pad-x); bottom: 8vh; width: clamp(116px, 12vw, 180px); aspect-ratio: 1; border-radius: 50%; background: var(--red); display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 14px rgba(239,53,37,.18); animation: alarmPulse 2.6s infinite; }
.alarm-badge span { font-family: var(--font-display); font-size: clamp(42px, 5vw, 68px); line-height: .9; }
.alarm-badge small { margin-top: 6px; font-weight: 700; }
.scroll-hint { position: absolute; z-index: 5; left: 50%; bottom: 20px; margin: 0; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; opacity: .58; animation: hint 1.6s infinite; }

/* 02 */
.slide-agenda { background: var(--paper); color: var(--ink); }
.slide-agenda .slide-inner { justify-content: space-between; }
.agenda-list { list-style: none; margin: clamp(30px, 5vh, 62px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(17,17,20,.25); }
.agenda-list li { display: grid; grid-template-columns: 84px 1fr; gap: 18px; align-items: start; padding: clamp(22px, 3vh, 38px) 28px clamp(22px, 3vh, 38px) 0; border-bottom: 1px solid rgba(17,17,20,.25); }
.agenda-list li:nth-child(odd) { border-right: 1px solid rgba(17,17,20,.25); }
.agenda-list li:nth-child(even) { padding-left: 30px; }
.agenda-no { font-family: var(--font-display); font-size: 38px; color: var(--red); }
.agenda-list h3 { margin: 2px 0 8px; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 34px); }
.agenda-list p { margin: 0; max-width: 420px; line-height: 1.55; color: rgba(17,17,20,.62); }

/* 03 */
.slide-danger { background: radial-gradient(circle at 80% 36%, #5b0a06 0, #1a0808 32%, #0b0b0d 68%); }
.danger-glow { position: absolute; z-index: 0; width: 38vw; height: 38vw; right: -8vw; top: 20%; border-radius: 45% 55% 65% 35%; background: radial-gradient(circle at 45% 60%, #ffdb2e, #ff3b1f 42%, transparent 68%); filter: blur(28px); opacity: .38; animation: flameGlow 4s ease-in-out infinite; }
.split-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(42px, 7vw, 120px); align-items: center; }
.chapter-copy h2 { max-width: 760px; }
.impact-list { list-style: none; padding: 0; margin: 34px 0 24px; display: grid; gap: 16px; }
.impact-list li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; }
.impact-list b { color: var(--yellow); font-size: 20px; }
.impact-list span { line-height: 1.55; opacity: .74; }
.safety-line { display: inline-block; border-left: 5px solid var(--red); margin: 0; padding: 8px 16px; font-family: var(--font-accent); font-size: 20px; }
.question-card { min-height: 390px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.06); padding: clamp(28px, 4vw, 56px); text-align: left; cursor: pointer; backdrop-filter: blur(12px); position: relative; overflow: hidden; transition: border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.question-card::before { content: "?"; position: absolute; right: -10px; bottom: -76px; font-family: var(--font-display); font-size: 280px; color: rgba(255,255,255,.05); }
.question-label { display: block; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.question-card strong { display: block; margin-top: 28px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 46px); line-height: 1.18; }
.question-card .answer { display: block; margin-top: 28px; padding: 16px 18px; border-left: 5px solid transparent; font-size: clamp(20px, 1.8vw, 27px); font-weight: 750; line-height: 1.55; color: transparent; transform: translateY(15px); transition: .45s ease; }
.question-card.revealed { border-color: var(--green); background: rgba(57,200,121,.1); box-shadow: 0 0 0 8px rgba(57,200,121,.08); }
.question-card.revealed .answer { color: var(--white); border-left-color: var(--green); background: rgba(0,0,0,.22); transform: translateY(0); }

/* 04 */
.slide-causes { background: var(--ink); }
.side-photo { left: auto; width: 42%; filter: grayscale(1) contrast(1.25); opacity: .5; }
.slide-causes::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 0 55%, rgba(17,17,20,.85) 72%, rgba(17,17,20,.3)); }
.causes-layout { justify-content: space-between; }
.causes-layout .slide-heading { max-width: 920px; }
.hazard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 5vh, 52px); max-width: 1120px; }
.hazard-card { min-height: 190px; border: 1px solid rgba(255,255,255,.18); background: rgba(17,17,20,.74); padding: 22px; text-align: left; cursor: pointer; overflow: hidden; }
.hazard-icon { display: grid; place-items: center; width: 46px; height: 46px; background: var(--red); font-family: var(--font-display); font-size: 22px; }
.hazard-card b { display: block; margin-top: 24px; font-size: 18px; }
.hazard-card em { display: block; max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; font-style: normal; color: var(--yellow); line-height: 1.5; transition: .4s ease; }
.hazard-card.open { border-color: var(--yellow); transform: translateY(-7px); }
.hazard-card.open em { max-height: 90px; opacity: 1; margin-top: 12px; }
.cause-note { margin: 20px 0 0; padding-left: 16px; border-left: 4px solid var(--yellow); font-weight: 700; }

/* 05 */
.slide-check { background: #171717; }
.muted-photo { filter: grayscale(.7) brightness(.45); }
.slide-check::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,17,17,.94), rgba(17,17,17,.72) 62%, rgba(17,17,17,.2)); }
.check-layout { justify-content: space-between; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 1050px; margin-top: 30px; }
.checklist button { display: grid; grid-template-columns: 86px 1fr 42px; align-items: center; gap: 14px; min-height: 82px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.36); text-align: left; cursor: pointer; }
.checklist button > span { font-family: var(--font-display); font-size: 24px; color: var(--yellow); }
.checklist button b { line-height: 1.45; }
.checklist button i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); font-style: normal; color: transparent; }
.checklist button.done { background: rgba(57,200,121,.16); border-color: var(--green); }
.checklist button.done i { background: var(--green); border-color: var(--green); color: var(--ink); }
.check-progress { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.check-progress span { color: var(--yellow); letter-spacing: .15em; font-size: 26px; }
.full-width-warning { margin: 18px 0 0; background: var(--yellow); color: var(--ink); padding: 12px 18px; max-width: 1050px; font-weight: 900; }

/* 06 */
.photo-wash { z-index: 1; background: linear-gradient(90deg, rgba(7,9,10,.96) 0, rgba(7,9,10,.78) 55%, rgba(7,9,10,.22)); }
.habits-layout { display: grid; grid-template-columns: 1.05fr .75fr; gap: clamp(50px, 8vw, 140px); align-items: center; }
.habits-copy h2 { max-width: 760px; }
.habit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.habit-columns > div { border-top: 3px solid var(--red); padding-top: 18px; }
.habit-columns h3 { margin: 0 0 14px; color: var(--yellow); font-family: var(--font-display); font-size: 26px; }
.habit-columns p { margin: 9px 0; line-height: 1.5; }
.night-check { border: 1px solid rgba(255,255,255,.2); background: rgba(0,0,0,.5); padding: clamp(24px, 3vw, 42px); backdrop-filter: blur(12px); }
.night-check > p { margin: 0 0 22px; font-family: var(--font-accent); font-size: 24px; }
.night-items { display: grid; gap: 10px; }
.night-items button { border: 0; background: rgba(255,255,255,.08); padding: 15px; text-align: left; cursor: pointer; }
.night-items button span { color: var(--yellow); margin-right: 14px; font-family: var(--font-display); }
.night-items button.done { background: var(--green); color: var(--ink); }

/* 07 */
.call-wash { z-index: 1; background: linear-gradient(90deg, rgba(11,11,14,.98) 0, rgba(11,11,14,.78) 58%, rgba(11,11,14,.22)), linear-gradient(0deg, rgba(0,0,0,.35), transparent); }
.call-layout { display: grid; grid-template-columns: 1.16fr .64fr; gap: clamp(50px, 8vw, 130px); align-items: center; }
.call-copy h2 { max-width: 780px; }
.call-points { margin: 26px 0 0; padding: 0; list-style: none; max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.call-points li { border-top: 1px solid rgba(255,255,255,.23); padding-top: 12px; }
.call-points b, .call-points span { display: block; }
.call-points b { color: var(--yellow); margin-bottom: 6px; }
.call-points span { font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; opacity: .76; }
.phone-sim { width: min(100%, 390px); justify-self: center; background: #111; border: 2px solid rgba(255,255,255,.5); border-radius: 38px; padding: 16px; box-shadow: 0 26px 80px rgba(0,0,0,.45); }
.phone-screen { min-height: 238px; border-radius: 25px; background: linear-gradient(150deg, #f33929, #981208); display: grid; align-content: center; justify-items: center; text-align: center; padding: 28px; }
.phone-screen small { letter-spacing: .14em; }
.phone-screen strong { font-family: var(--font-display); font-size: 86px; line-height: .95; }
.phone-screen p { margin: 12px 0 0; line-height: 1.45; font-size: 14px; }
.call-button { width: 100%; margin-top: 12px; border: 0; border-radius: 22px; background: var(--green); color: var(--ink); padding: 13px; font-weight: 900; cursor: pointer; }
.call-steps { min-height: 54px; padding: 10px 6px 0; font-size: 15px; line-height: 1.5; color: var(--yellow); }

/* 08 */
.escape-photo { filter: saturate(.65) contrast(1.1); }
.escape-wash { z-index: 1; background: linear-gradient(0deg, rgba(10,10,12,.98) 0, rgba(10,10,12,.76) 54%, rgba(10,10,12,.32)); }
.escape-layout { justify-content: space-between; }
.escape-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); margin-top: 28px; }
.escape-steps article { background: rgba(10,10,12,.86); padding: clamp(20px, 3vw, 38px); min-height: 210px; }
.escape-steps article > span { color: var(--red); font-family: var(--font-display); font-size: 30px; }
.escape-steps h3 { margin: 26px 0 10px; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 34px); }
.escape-steps p { margin: 0; line-height: 1.55; opacity: .7; }
.path-quiz { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.path-quiz p { margin: 0; font-family: var(--font-display); font-size: 20px; }
.path-quiz div { display: flex; gap: 8px; }
.path-quiz button { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.07); padding: 11px 14px; cursor: pointer; }
.path-quiz button.good { background: var(--green); color: var(--ink); border-color: var(--green); }
.path-quiz button.bad { background: var(--red); }
.path-quiz strong { color: var(--yellow); font-size: 16px; line-height: 1.45; }

/* 09 */
.extinguisher-wash { z-index: 1; background: linear-gradient(90deg, rgba(14,8,8,.96) 0, rgba(14,8,8,.8) 58%, rgba(14,8,8,.34)); }
.extinguisher-layout { justify-content: space-between; }
.extinguisher-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; max-width: 1160px; }
.extinguisher-steps button { min-height: 180px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.48); padding: 24px; cursor: pointer; text-align: left; }
.extinguisher-steps b { display: block; font-family: var(--font-display); font-size: clamp(48px, 6vw, 82px); color: var(--red); transition: .3s ease; }
.extinguisher-steps span { display: block; margin-top: 12px; line-height: 1.45; }
.extinguisher-steps button.done { border-color: var(--yellow); background: rgba(255,213,31,.12); transform: translateY(-8px); }
.extinguisher-steps button.done b { color: var(--yellow); }
.extinguisher-steps button.locked { opacity: .45; }
.sequence-status { margin-top: 16px; color: var(--yellow); font-weight: 800; }
.life-first { max-width: 1160px; margin: 14px 0 0; padding: 14px 18px; background: var(--red); line-height: 1.5; }
.life-first b { margin-right: 12px; color: var(--yellow); }

/* 10 */
.drill-wash { z-index: 1; background: linear-gradient(90deg, rgba(8,9,10,.95), rgba(8,9,10,.76) 56%, rgba(8,9,10,.24)); }
.drill-layout { display: grid; grid-template-columns: 1.1fr .7fr; gap: clamp(50px, 8vw, 130px); align-items: center; }
.drill-copy ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; }
.drill-copy li { border-bottom: 1px solid rgba(255,255,255,.2); padding: 0 0 12px 28px; position: relative; font-size: clamp(16px, 1.5vw, 22px); }
.drill-copy li::before { content: ""; width: 10px; height: 10px; background: var(--yellow); position: absolute; left: 0; top: .4em; transform: rotate(45deg); }
.scenario-card { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 52px); box-shadow: 14px 14px 0 var(--red); }
.scenario-card > p { margin: 0; color: var(--red); font-weight: 900; letter-spacing: .16em; }
.scenario-card h3 { margin: 18px 0 24px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); line-height: 1.18; }
.scenario-card button { width: 100%; border: 1px solid rgba(17,17,20,.28); background: transparent; padding: 13px 14px; margin-top: 9px; text-align: left; cursor: pointer; }
.scenario-card button.good { background: var(--green); border-color: var(--green); }
.scenario-card button.bad { background: var(--red); color: white; border-color: var(--red); }
.scenario-card strong { display: block; margin-top: 16px; color: var(--red-deep); line-height: 1.45; }

/* 11 */
.slide-finale { background: var(--red); }
.slide-finale::before { content: "119"; position: absolute; right: -3vw; bottom: -11vw; font-family: var(--font-display); font-size: 42vw; line-height: .8; color: rgba(0,0,0,.09); }
.finale-rings { position: absolute; width: 45vw; height: 45vw; right: -13vw; top: -18vw; border: 4vw solid rgba(255,213,31,.7); border-radius: 50%; box-shadow: 0 0 0 4vw rgba(255,255,255,.1), 0 0 0 8vw rgba(255,255,255,.05); }
.finale-layout { align-items: flex-start; }
.finale-layout h2 { margin: 0; font-family: var(--font-display); font-size: clamp(72px, 11vw, 168px); line-height: .78; letter-spacing: -.07em; }
.finale-layout h2 span { color: var(--yellow); }
.finale-mantra { display: flex; gap: 10px; margin: 42px 0 0; flex-wrap: wrap; }
.finale-mantra span { border: 1px solid rgba(255,255,255,.7); padding: 9px 13px; font-weight: 800; }
.finale-copy { font-family: var(--font-accent); font-size: clamp(20px, 2.3vw, 32px); }
.finale-actions { display: flex; gap: 18px; margin-top: 16px; }
.primary-button.pale { background: var(--white); box-shadow: 8px 8px 0 var(--yellow); }
.outline-button { border: 1px solid white; background: transparent; }
.finale-layout small { position: absolute; right: var(--pad-x); bottom: 6vh; font-family: var(--font-display); font-size: 24px; letter-spacing: .18em; }

/* Interaction completion */
.reset-button { position: absolute; z-index: 14; right: var(--pad-x); bottom: 22px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(12,12,15,.82); color: var(--white); padding: 10px 16px; font-weight: 800; cursor: pointer; backdrop-filter: blur(10px); animation: resetIn .38s var(--ease-snap) both; }
.interaction-complete .reset-button { border-color: var(--yellow); color: var(--yellow); }
.success-stamp { position: absolute; z-index: 13; top: 82px; right: var(--pad-x); min-width: 176px; display: flex; align-items: center; gap: 11px; padding: 12px 18px; border: 2px solid var(--green); background: rgba(8,20,13,.92); color: #caffdf; box-shadow: 0 0 0 7px rgba(57,200,121,.12), 0 14px 44px rgba(0,0,0,.3); transform-origin: 90% 0; animation: successStamp .68s cubic-bezier(.18,1.5,.32,1) both; }
.success-stamp::before, .success-stamp::after { content: ""; position: absolute; width: 8px; height: 8px; background: var(--yellow); box-shadow: -22px 15px 0 var(--red), 18px 24px 0 #5fb6ff, -8px 38px 0 var(--green); animation: confetti .75s ease-out both; }
.success-stamp::before { left: -18px; top: 0; }
.success-stamp::after { right: -14px; top: 8px; transform: rotate(70deg); }
.success-stamp span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--green); color: #061109; font-size: 22px; font-weight: 950; }
.success-stamp b { font-size: 17px; letter-spacing: .04em; }
.answer-shake { animation: answerShake .46s ease both; }
.slide button:disabled { cursor: default; }

/* Info panel */
.info-panel { position: fixed; z-index: 50; top: 0; right: 0; width: min(560px, 92vw); height: 100svh; background: #17171a; transform: translateX(105%); transition: transform 520ms var(--ease-snap); overflow-y: auto; box-shadow: -24px 0 80px rgba(0,0,0,.45); }
.info-panel.open { transform: translateX(0); }
.info-head { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 28px 32px; background: rgba(23,23,26,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.12); }
.info-head small { color: var(--red); font-weight: 900; letter-spacing: .18em; }
.info-head h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 32px; }
.info-body { padding: 20px 32px 50px; }
.info-body section { margin-top: 28px; }
.info-body h3 { margin: 0 0 16px; color: var(--yellow); font-family: var(--font-display); font-size: 22px; }
.credit-link, .reference-link { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); color: white; text-decoration: none; }
.credit-link span, .reference-link span { font-weight: 800; }
.credit-link small, .reference-link small { opacity: .56; }
.config-tip { padding: 18px; background: rgba(255,255,255,.06); }
.config-tip p { line-height: 1.65; opacity: .75; }
.config-tip code { color: var(--yellow); }
.panel-backdrop { position: fixed; z-index: 40; inset: 0; background: rgba(0,0,0,.58); backdrop-filter: blur(3px); }

@keyframes alarmPulse { 0%,100% { box-shadow: 0 0 0 12px rgba(239,53,37,.18); } 50% { box-shadow: 0 0 0 26px rgba(239,53,37,.04); } }
@keyframes hint { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }
@keyframes flameGlow { 0%,100% { transform: scale(.9) rotate(-4deg); } 50% { transform: scale(1.08) rotate(4deg); } }
@keyframes successStamp { 0% { opacity: 0; transform: translateY(-18px) rotate(-7deg) scale(.55); } 72% { opacity: 1; transform: translateY(2px) rotate(1deg) scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes confetti { 0% { opacity: 0; transform: translateY(0) scale(.2); } 35% { opacity: 1; } 100% { opacity: 1; transform: translateY(26px) rotate(150deg) scale(1); } }
@keyframes answerShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 50% { transform: translateX(7px); } 75% { transform: translateX(-4px); } }
@keyframes resetIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .dot-nav { display: none; }
  .split-layout, .habits-layout, .call-layout, .drill-layout { grid-template-columns: 1fr; gap: 26px; align-content: start; align-items: stretch; }
  .slide-inner { justify-content: flex-start; overflow-y: auto; }
  .agenda-list { grid-template-columns: 1fr; }
  .agenda-list li:nth-child(odd) { border-right: 0; }
  .agenda-list li:nth-child(even) { padding-left: 0; }
  .hazard-grid { grid-template-columns: 1fr 1fr; }
  .hazard-card { min-height: 145px; }
  .checklist { grid-template-columns: 1fr; }
  .call-layout { display: block; }
  .escape-steps { grid-template-columns: 1fr; }
  .escape-steps article { min-height: 0; padding: 16px 20px; }
  .escape-steps h3 { margin: 8px 0 4px; }
  .path-quiz { grid-template-columns: 1fr; gap: 10px; }
  .extinguisher-steps { grid-template-columns: 1fr 1fr; }
  .extinguisher-steps button { min-height: 120px; }
  .extinguisher-steps b { font-size: 44px; }
  .finale-layout small { position: static; margin-top: 36px; }
}

@media (max-width: 620px) {
  .topbar { height: 56px; }
  .brand span:last-child { display: none; }
  .slide-inner { padding-top: 72px; padding-bottom: 32px; }
  .alarm-badge { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,12,.95), rgba(10,10,12,.45)); }
  .hero-copy { margin-top: auto; margin-bottom: 8vh; }
  .agenda-list li { grid-template-columns: 58px 1fr; padding: 15px 0; gap: 8px; }
  .agenda-list p { display: none; }
  .agenda-no { font-size: 28px; }
  .split-layout { gap: 18px; }
  .question-card { min-height: 248px; padding: 20px 22px; }
  .question-card strong { margin-top: 18px; font-size: 26px; }
  .question-card .answer { margin-top: 18px; font-size: 19px; padding: 12px 14px; }
  .impact-list li { grid-template-columns: 1fr; gap: 4px; }
  .side-photo { width: 100%; opacity: .2; }
  .hazard-grid { grid-template-columns: 1fr; max-height: 53vh; overflow-y: auto; }
  .hazard-card { min-height: 100px; }
  .hazard-card b { margin-top: 10px; }
  .habit-columns { margin-top: 24px; }
  .night-check { margin-top: 20px; padding: 18px; }
  .call-copy > p:not(.chapter-kicker) { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .call-points { grid-template-columns: 1fr 1fr; gap: 8px 12px; max-height: none; margin-top: 16px; overflow: visible; }
  .call-points li { padding-top: 7px; }
  .call-points b { margin-bottom: 3px; font-size: 14px; }
  .call-points span { font-size: 12px; line-height: 1.35; }
  .phone-sim { width: 100%; max-width: 360px; justify-self: start; margin-top: 12px; padding: 10px; border-radius: 26px; }
  .phone-screen { min-height: 132px; padding: 16px; }
  .phone-screen strong { font-size: 54px; }
  .phone-screen p { margin-top: 7px; font-size: 12.5px; }
  .call-button { margin-top: 8px; padding: 10px; }
  .call-steps { min-height: 42px; padding-top: 7px; font-size: 13px; }
  .escape-steps { gap: 4px; }
  .escape-steps p { font-size: 14.5px; }
  .path-quiz div { flex-direction: column; }
  .extinguisher-steps { gap: 8px; }
  .life-first { font-size: 14px; }
  .scenario-card { box-shadow: 8px 8px 0 var(--red); }
  .success-stamp { top: 62px; right: 14px; min-width: 150px; padding: 9px 12px; }
  .success-stamp b { font-size: 14px; }
  .reset-button { right: 14px; bottom: 14px; padding: 9px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .slide { transition-duration: 1ms; }
  .reveal-group > *, .stagger-list > * { opacity: 1; transform: none; }
}
