:root {
  --navy: #17324d;
  --ink: #17212b;
  --teal: #2f6f73;
  --muted: #5f6b76;
  --blue-gray: #afc4c8;
  --ice: #e8f1f2;
  --mist: #f2f4f5;
  --white: #ffffff;
  --risk: #b76555;
  --line: #d8e1e3;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 50px rgb(23 50 77 / 10%);
}

* { box-sizing: border-box; }

html, body { width: 100%; min-height: 100%; margin: 0; }

body {
  overflow: hidden;
  color: var(--ink);
  background: #dfe7e9;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

button, input, textarea { font: inherit; }
select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #6d9ea2; outline-offset: 3px; }

.deck { width: 100vw; height: 100vh; display: grid; place-items: center; padding: 24px 34px 70px; }

.deck-frame {
  position: relative;
  width: min(calc(100vw - 68px), calc((100vh - 94px) * 16 / 9));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 28px 90px rgb(23 50 77 / 24%);
}

#deckFrame:fullscreen { width: 100vw; height: 100vh; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 6.1% 6.6% 5.6%;
  overflow: hidden;
  background: var(--white);
}

.slide[hidden] { display: none; }
.slide.is-active { animation: page-in 420ms cubic-bezier(.2,.8,.2,1) both; }

@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: clamp(11px, 1.05vw, 17px); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.slide h1, .slide h2, .slide h3, .slide p { margin-top: 0; }
.slide h1, .slide h2 { font-family: "Songti SC", "STSong", "Iowan Old Style", serif; }
.slide h2 { margin-bottom: 0; font-size: clamp(28px, 3.15vw, 51px); line-height: 1.16; letter-spacing: -.035em; }
.slide p { font-size: clamp(15px, 1.4vw, 23px); line-height: 1.65; }
.slide small { color: var(--muted); font-size: clamp(11px, .94vw, 15px); }

.slide-header { display: grid; grid-template-columns: 64px 1fr; align-items: start; gap: 24px; }
.section-no { width: 52px; padding-top: 8px; border-top: 4px solid var(--teal); color: var(--teal); font-weight: 900; font-size: clamp(14px, 1.2vw, 20px); }
.page-note { margin-top: auto; margin-bottom: 0; color: var(--muted); font-size: clamp(12px, 1vw, 16px) !important; }

/* Cover */
.cover-slide { justify-content: space-between; color: var(--white); background: var(--navy); }
.cover-slide::after { content: ""; position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-top: 1px solid rgb(255 255 255 / 24%); border-left: 1px solid rgb(255 255 255 / 24%); border-radius: 100% 0 0 0; }
.cover-mark { position: absolute; top: 8%; right: 7%; display: grid; grid-template-columns: repeat(3, 13px); gap: 9px; transform: rotate(-8deg); }
.cover-mark span { width: 13px; height: 58px; border-radius: 99px; background: var(--teal); }
.cover-mark span:nth-child(2) { height: 85px; margin-top: -14px; background: var(--blue-gray); }
.cover-mark span:nth-child(3) { height: 38px; margin-top: 12px; background: var(--white); }
.cover-slide .eyebrow { color: var(--blue-gray); }
.cover-copy { position: relative; z-index: 1; width: 78%; margin-block: auto; }
.cover-copy .kicker { margin-bottom: 2.5%; color: var(--blue-gray); font-weight: 700; letter-spacing: .03em; }
.cover-copy h1 { margin-bottom: 2.5%; font-size: clamp(48px, 6.6vw, 104px); line-height: .98; letter-spacing: -.055em; }
.cover-copy h1 em { color: var(--white); font-style: normal; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: .11em; text-underline-offset: .15em; }
.cover-copy .lead { max-width: 880px; margin-bottom: 0; color: #d6e0e4; font-size: clamp(16px, 1.45vw, 24px); }
.cover-meta { position: relative; z-index: 1; display: flex; gap: 5%; padding-top: 2.2%; border-top: 1px solid rgb(255 255 255 / 25%); color: #dce5e8; font-size: clamp(11px, 1vw, 16px); }

/* Agenda */
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: auto; margin-bottom: auto; }
.route:has(article:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.route::before { content: ""; position: absolute; top: 40px; left: 7%; right: 7%; height: 2px; background: var(--blue-gray); }
.route article { position: relative; min-height: 220px; padding: 0 20px 24px; text-align: center; }
.route b { position: relative; z-index: 1; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 28px; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--navy); font-family: "Iowan Old Style", serif; font-size: 25px; }
.route article:nth-child(2) b { border-color: var(--teal); background: var(--teal); color: var(--white); }
.route span { display: block; margin-bottom: 11px; font-weight: 800; font-size: clamp(16px, 1.45vw, 24px); }

/* Chapter */
.chapter-slide { justify-content: center; background: var(--mist); }
.chapter-slide::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 14px; background: var(--teal); }
.chapter-index { position: absolute; top: 2%; right: 7%; color: #d9e2e4; font-family: "Iowan Old Style", serif; font-size: clamp(120px, 19vw, 300px); line-height: 1; }
.chapter-copy { position: relative; z-index: 1; width: 60%; }
.chapter-copy h2 { margin-bottom: 26px; font-size: clamp(40px, 5.3vw, 86px); }
.chapter-copy p { color: var(--muted); }
.chapter-sketch { position: absolute; right: 4%; bottom: 4%; width: 40%; }
.chapter-sketch svg { width: 100%; fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

/* Statement and relationship pages */
.statement-slide { justify-content: center; padding-left: 12%; background: var(--mist); }
.statement-slide blockquote { margin: 1.5% 0 2%; color: var(--navy); font-family: "Songti SC", serif; font-size: clamp(48px, 6.3vw, 98px); font-weight: 700; line-height: 1.15; }
.statement-slide blockquote em { color: var(--teal); font-style: normal; }
.statement-note { color: var(--muted); }
.split-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 6%; align-items: center; flex: 1; }
.copy-stack { display: grid; gap: 16px; }
.copy-stack article { display: flex; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.copy-stack b { color: var(--teal); font-size: clamp(18px, 1.6vw, 26px); }
.copy-stack span { color: var(--muted); font-size: clamp(15px, 1.25vw, 20px); }
.notion-scene { width: 100%; max-height: 380px; fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: stretch; flex: 1; padding-top: 4%; }
.compare article { padding: 5%; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--mist); }
.compare article.preferred { border: 2px solid var(--teal); background: var(--ice); }
.compare h3 { margin: 18px 0; font-size: clamp(26px, 2.4vw, 38px); }
.compare p { color: var(--muted); }
.dense-lines { display: grid; gap: 9px; }.dense-lines i { height: 11px; background: #cfd7da; }.dense-lines i:nth-child(2) { width: 72%; }.dense-lines i:nth-child(4) { width: 84%; }
.clear-path { display: flex; align-items: center; justify-content: space-between; margin-top: 10%; color: var(--teal); }.clear-path b { padding: 12px; border: 1px solid var(--teal); border-radius: 12px; }
.process, .ipo { display: grid; grid-template-columns: repeat(7, auto); align-items: center; justify-content: center; gap: 18px; flex: 1; }
.process article { display: grid; place-items: center; width: clamp(120px, 13vw, 200px); aspect-ratio: 1; border: 2px solid var(--navy); border-radius: 50%; background: var(--white); }
.process article:nth-of-type(even) { border-color: var(--teal); background: var(--ice); }.process article b { color: var(--teal); font-size: 22px; }.process article span { font-weight: 800; font-size: clamp(18px, 1.5vw, 25px); }.process > i, .ipo > i { color: var(--teal); font-size: 36px; font-style: normal; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; flex: 1; }.timeline::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 3px; background: var(--blue-gray); }.timeline article { position: relative; z-index: 1; text-align: center; }.timeline b { display: grid; place-items: center; width: 70px; height: 70px; margin: auto; border: 3px solid var(--navy); border-radius: 50%; background: var(--white); color: var(--teal); font-size: 24px; }.timeline span { display: block; margin-top: 22px; font-weight: 800; font-size: 24px; }
.matrix { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; width: 72%; flex: 1; max-height: 430px; margin: 4% auto; padding: 0 0 30px 45px; }.matrix article { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); font-weight: 800; }.matrix .focus { color: var(--white); background: var(--teal); }.axis-y { position: absolute; left: -35px; top: 45%; transform: rotate(-90deg); color: var(--muted); }.axis-x { position: absolute; right: 0; bottom: 0; color: var(--muted); }
.layers { display: flex; flex-direction: column; justify-content: center; gap: 11px; flex: 1; width: 76%; margin: auto; }.layers article { display: flex; justify-content: space-between; padding: 18px 25px; border-left: 8px solid var(--teal); background: var(--mist); }.layers article:nth-child(2) { margin-inline: 4%; }.layers article:nth-child(3) { margin-inline: 8%; }.layers article:nth-child(4) { margin-inline: 12%; background: var(--ice); }.layers b { font-size: 22px; }.layers span { color: var(--muted); font-size: 18px; }
.swimlane { display: grid; gap: 12px; align-content: center; flex: 1; }.swimlane article { display: grid; grid-template-columns: 130px 1fr 70px 1fr; align-items: center; min-height: 90px; border: 1px solid var(--line); }.swimlane b { align-self: stretch; display: grid; place-items: center; color: var(--white); background: var(--navy); }.swimlane article:nth-child(2) b { background: var(--teal); }.swimlane span { padding-left: 28px; font-size: 20px; }.swimlane i { color: var(--teal); font-size: 28px; font-style: normal; }
.cycle { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 100px 190px; width: 67%; flex: 1; align-content: center; margin: auto; }.cycle article { display: grid; place-items: center; min-height: 90px; border: 2px solid var(--teal); border-radius: 999px; background: var(--white); font-weight: 800; font-size: 22px; }.cycle div { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 155px; aspect-ratio: 1; border-radius: 50%; color: var(--white); background: var(--navy); transform: translate(-50%, -50%); font-weight: 800; }.cycle::before { content: "↻"; position: absolute; inset: 50% auto auto 50%; color: var(--blue-gray); transform: translate(-50%, -50%); font-size: 330px; line-height: 1; }
.ipo { grid-template-columns: 1fr auto 1fr auto 1fr; width: 100%; }.ipo article { display: grid; gap: 16px; min-height: 230px; align-content: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; }.ipo .core { border: 2px solid var(--teal); background: var(--ice); }.ipo small { color: var(--teal); font-weight: 900; }.ipo b { font-size: 27px; }.ipo span { color: var(--muted); }
.table-slide table { width: 88%; margin: auto; border-collapse: collapse; font-size: clamp(15px, 1.25vw, 20px); }.table-slide th, .table-slide td { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; }.table-slide th { color: var(--white); background: var(--navy); }.table-slide tbody tr:nth-child(even) { background: var(--mist); }
.case-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 22px; align-items: center; flex: 1; }.case-grid article { min-height: 245px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); }.case-grid article:nth-child(2) { min-height: 290px; border: 2px solid var(--teal); background: var(--ice); }.case-grid small { color: var(--teal); font-weight: 900; letter-spacing: .12em; }.case-grid p { margin-top: 44px; color: var(--muted); }

/* Content */
.content-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 6%; align-items: center; flex: 1; }
.statement { position: relative; padding: 7% 8%; border-left: 7px solid var(--teal); background: var(--mist); }
.statement p { margin-bottom: 0; font-family: "Songti SC", "STSong", serif; font-size: clamp(20px, 2vw, 32px); line-height: 1.55; }
.quote-mark { position: absolute; top: -8%; left: 3%; color: var(--blue-gray); font-family: Georgia, serif; font-size: clamp(62px, 7vw, 112px); line-height: 1; }
.evidence-stack { display: grid; gap: 18px; }
.evidence-stack article { display: grid; grid-template-columns: 82px 1fr; gap: 20px; align-items: start; padding: 21px 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.evidence-stack b { color: var(--teal); font-size: clamp(16px, 1.3vw, 21px); }
.evidence-stack span { color: var(--muted); font-size: clamp(14px, 1.2vw, 19px); line-height: 1.55; }

/* Infographic */
.notion-flow { display: grid; grid-template-columns: 1fr .55fr 1fr .55fr 1fr; align-items: center; gap: 10px; flex: 1; padding: 2% 2% 0; }
.flow-node { min-height: 250px; padding: 25px 20px; border: 2px solid var(--navy); border-radius: 45% 52% 47% 50% / 8% 10% 9% 8%; text-align: center; background: var(--white); transform: rotate(-.5deg); }
.flow-node:nth-of-type(2) { transform: rotate(.7deg); }
.flow-node svg { width: 70%; max-height: 120px; fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.flow-node .accent-line { stroke: var(--teal); }
.flow-node span { display: block; margin-top: 10px; color: var(--navy); font-weight: 900; font-size: clamp(19px, 1.7vw, 28px); }
.flow-node small { display: block; margin-top: 7px; }
.flow-node.is-featured { border-color: var(--teal); background: var(--ice); }
.flow-node.is-featured svg { stroke: var(--teal); }
.flow-arrow { width: 100%; overflow: visible; fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.diagram-caption { margin: 0; text-align: center; color: var(--muted); font-size: clamp(12px, 1vw, 16px) !important; }

/* Exercise */
.exercise-slide { background: var(--navy); color: var(--white); }
.exercise-band { width: 78%; }
.exercise-band .eyebrow { color: var(--blue-gray); }
.exercise-band p { color: #d4dfe3; }
.exercise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: auto 0; }
.exercise-grid article { min-height: 235px; padding: 28px; border-top: 5px solid var(--teal); background: var(--white); color: var(--ink); }
.exercise-grid b { color: var(--teal); font-family: "Iowan Old Style", serif; font-size: 24px; }
.exercise-grid h3 { margin: 26px 0 12px; font-family: "Songti SC", "STSong", serif; font-size: clamp(20px, 1.7vw, 28px); }
.exercise-grid p { margin: 0; color: var(--muted); font-size: clamp(14px, 1.15vw, 18px); }
.exercise-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; border-top: 1px solid rgb(255 255 255 / 25%); font-size: clamp(13px, 1.2vw, 19px); }
.exercise-footer span { color: var(--blue-gray); }

/* Summary */
.takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: auto 0 4%; }
.takeaways article { position: relative; min-height: 235px; padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.takeaways article:nth-child(2) { transform: translateY(-24px); border-color: var(--teal); }
.takeaways span { display: block; margin-bottom: 36px; color: var(--teal); font-family: "Songti SC", "STSong", serif; font-size: clamp(28px, 2.5vw, 40px); font-weight: 700; }
.takeaways p { margin: 0; color: var(--muted); font-size: clamp(14px, 1.2vw, 19px); }
.summary-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.summary-line i { height: 6px; background: var(--blue-gray); }
.summary-line i:nth-child(2) { background: var(--teal); }

/* Q&A */
.qa-slide { align-items: center; justify-content: center; text-align: center; color: var(--white); background: var(--navy); }
.qa-orbit { position: absolute; width: 46%; aspect-ratio: 1; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; }
.qa-orbit::before, .qa-orbit::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgb(255 255 255 / 14%); border-radius: 50%; }
.qa-orbit::after { inset: 27%; }
.qa-orbit span { position: absolute; inset: 0; display: grid; place-items: center; color: rgb(255 255 255 / 7%); font-family: Georgia, serif; font-size: clamp(180px, 27vw, 430px); }
.qa-orbit i { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }
.qa-orbit i:nth-of-type(1) { top: 15%; left: 18%; }
.qa-orbit i:nth-of-type(2) { right: 8%; top: 48%; background: var(--blue-gray); }
.qa-orbit i:nth-of-type(3) { bottom: 9%; left: 38%; background: var(--white); }
.qa-copy { position: relative; z-index: 1; }
.qa-copy .eyebrow { color: var(--blue-gray); }
.qa-copy h2 { margin: 0 0 22px; font-family: "Iowan Old Style", "Songti SC", serif; font-size: clamp(80px, 13vw, 205px); line-height: .88; letter-spacing: -.08em; }
.qa-copy p { color: #d5e0e4; }
.qa-prompts { position: absolute; z-index: 1; right: 6%; bottom: 6%; display: grid; gap: 8px; text-align: right; color: var(--blue-gray); font-size: clamp(11px, 1vw, 16px); }

/* Navigation */
.deck-controls { position: fixed; z-index: 20; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.deck-controls button { height: 42px; min-width: 42px; padding: 0 14px; border: 1px solid rgb(23 50 77 / 22%); border-radius: 999px; color: var(--navy); background: rgb(255 255 255 / 92%); box-shadow: 0 6px 22px rgb(23 50 77 / 12%); font-weight: 800; }
.deck-controls button:hover { border-color: var(--teal); color: var(--teal); }
.page-status { display: flex; align-items: center; gap: 9px; min-width: 88px; color: var(--navy); font-variant-numeric: tabular-nums; font-weight: 800; font-size: 12px; }
.page-status i { flex: 1; height: 1px; background: var(--blue-gray); }
.deck-controls .assistant-button { color: var(--white); border-color: var(--teal); background: var(--teal); }

/* Assistant */
.assistant { position: fixed; z-index: 50; top: 0; right: 0; display: flex; flex-direction: column; width: min(430px, 100vw); height: 100vh; padding: 24px; background: var(--white); box-shadow: -20px 0 70px rgb(23 50 77 / 20%); transform: translateX(105%); transition: transform 240ms ease; }
.assistant.is-open { transform: translateX(0); }
.assistant-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.assistant-header small { color: var(--teal); font-weight: 800; letter-spacing: .13em; }
.assistant-header h2 { margin: 4px 0 0; font-family: "Songti SC", "STSong", serif; font-size: 28px; }
.assistant-header button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--navy); background: var(--mist); font-size: 25px; }
.assistant-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 18px 0; padding: 5px; border-radius: 12px; background: var(--mist); }
.assistant-tabs button { padding: 10px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-weight: 800; }
.assistant-tabs button.is-active { color: var(--navy); background: var(--white); box-shadow: 0 3px 12px rgb(23 50 77 / 8%); }
.assistant-panel { min-height: 0; flex: 1; }
.assistant-panel[hidden] { display: none !important; }
#chatPanel { display: flex; flex-direction: column; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-actions button, .ghost-button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal); background: var(--white); font-size: 13px; font-weight: 800; }
.conversation { min-height: 0; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 3px; }
.message { max-width: 88%; padding: 12px 14px; border-radius: 14px; line-height: 1.55; white-space: pre-wrap; }
.assistant-message { align-self: flex-start; color: var(--ink); background: var(--mist); }
.user-message { align-self: flex-end; color: var(--white); background: var(--teal); }
.composer { padding-top: 14px; border-top: 1px solid var(--line); }
.composer label, .settings-form label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 13px; font-weight: 800; }
.composer textarea, .settings-form input, .settings-form select { width: 100%; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); }
.composer textarea { resize: none; padding: 12px; }
.composer > div, .settings-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.composer button[type="submit"], .settings-form button[type="submit"] { padding: 10px 18px; border: 0; border-radius: 999px; color: var(--white); background: var(--teal); font-weight: 800; }
.settings-form input, .settings-form select { height: 44px; margin-bottom: 17px; padding: 0 12px; }
.settings-form .check-row { display: flex; align-items: center; gap: 8px; font-weight: 600; }.settings-form .check-row input { width: 18px; height: 18px; margin: 0; }
.security-note { padding: 12px; border-left: 3px solid var(--teal); color: var(--muted); background: var(--mist); font-size: 13px; line-height: 1.55; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 78px; max-width: min(420px, 90vw); padding: 12px 18px; border-radius: 999px; color: var(--white); background: var(--navy); box-shadow: var(--shadow-soft); transform: translateX(-50%); }

@media (max-width: 760px) {
  body { overflow: auto; background: var(--white); }
  .deck { display: block; width: 100%; height: auto; padding: 0 0 72px; }
  .deck-frame { width: 100%; min-height: calc(100vh - 72px); aspect-ratio: auto; overflow: visible; border-radius: 0; box-shadow: none; }
  .slide { position: relative; min-height: calc(100vh - 72px); padding: 42px 24px 54px; overflow-y: auto; }
  .slide-header { grid-template-columns: 44px 1fr; gap: 10px; }
  .content-split, .exercise-grid, .takeaways, .split-layout, .compare, .case-grid, .ipo { grid-template-columns: 1fr; }
  .route { grid-template-columns: 1fr 1fr; }
  .route::before { display: none; }
  .route article { min-height: 160px; padding-inline: 6px; }
  .notion-flow { grid-template-columns: 1fr; }
  .flow-arrow { width: 74px; margin: -4px auto; transform: rotate(90deg); }
  .flow-node { min-height: 205px; }
  .chapter-copy { width: 92%; }
  .chapter-sketch { opacity: .38; width: 70%; }
  .cover-copy { width: 100%; }
  .cover-meta { flex-direction: column; gap: 7px; }
  .takeaways article:nth-child(2) { transform: none; }
  .process { grid-template-columns: 1fr; gap: 8px; }.process article { width: 130px; margin: auto; }.process > i, .ipo > i { transform: rotate(90deg); text-align: center; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 30px; }.timeline::before { display: none; }
  .matrix { width: 100%; min-height: 440px; }.layers { width: 100%; }.layers article { margin-inline: 0 !important; }
  .swimlane article { grid-template-columns: 80px 1fr; }.swimlane i, .swimlane span:last-child { display: none; }
  .cycle { width: 100%; gap: 110px 30px; }.cycle::before { font-size: 250px; }
  .qa-prompts { position: relative; right: auto; bottom: auto; margin-top: 60px; text-align: center; }
  .deck-controls { position: relative; left: auto; right: auto; bottom: auto; justify-content: center; width: max-content; margin: -58px auto 12px; transform: none; }
  .deck-controls .text-button { display: none; }
}

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

@media print {
  @page { size: 16in 9in; margin: 0; }
  html, body { width: 16in; height: auto; overflow: visible; background: var(--white); }
  .deck { display: block; width: 16in; height: auto; padding: 0; }
  .deck-frame { width: 16in; height: auto; aspect-ratio: auto; overflow: visible; border-radius: 0; box-shadow: none; }
  .slide, .slide[hidden] { position: relative; display: flex !important; width: 16in; height: 9in; break-after: page; }
  .deck-controls, .assistant, .toast { display: none !important; }
}
