:root {
  --ink: #050505;
  --paper: #fff;
  --soft: #f0f0ee;
  --mid: #666;
  --line: #111;
  --accent: #d92929;
}

* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; background: #111; }
body { font-family: "GT Planar", "DM Sans", Inter, Arial, sans-serif; color: var(--ink); }
.reveal { font-size: 18px; }
.reveal .slides { text-align: left; }
.reveal .slides section { width: 1280px; height: 720px; }
.reveal .slides section .slide {
  position: relative; width: 1280px; height: 720px; overflow: hidden;
  background: var(--paper); padding: 54px 64px 50px;
  display: grid; grid-template-rows: 105px 1fr 54px;
}
.header { position: relative; z-index: 2; }
.header--bar { border-top: 10px solid var(--ink); padding-top: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
h1, h2, p { margin: 0; }
h1 { font-size: 76px; line-height: 0.98; letter-spacing: -3px; }
h2 { font-size: 42px; line-height: 1.05; letter-spacing: -1.4px; max-width: 890px; }
.kicker { font-size: 18px; font-weight: 700; letter-spacing: 4px; margin-bottom: 24px; }
.sub { font-size: 30px; margin-top: 22px; color: #444; }
.meta { font-size: 17px; color: #555; max-width: 300px; text-align: right; line-height: 1.35; }
.core { min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.conclusion { border-top: 2px solid var(--ink); padding-top: 14px; font-size: 17px; font-weight: 600; display: flex; align-items: flex-start; }
.slide--title { background: linear-gradient(115deg,#fff 0 70%,#ededeb 70%); }
.slide--title .header { padding-top: 58px; }
.slide--title .core { justify-content: flex-end; padding-bottom: 42px; }
.pillars { display: flex; gap: 0; border: 2px solid var(--ink); width: max-content; }
.pill { padding: 15px 21px; font-size: 18px; font-weight: 600; border-right: 2px solid var(--ink); }
.pill:last-child { border-right: 0; }

.agenda { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 48px; }
.agenda-item { display: flex; align-items: baseline; border-bottom: 1px solid #aaa; padding: 0 0 15px; }
.badge { width: 64px; font-size: 17px; font-weight: 700; color: #777; }
.label { font-size: 24px; font-weight: 600; }
.quote { font-size: 34px; line-height: 1.28; font-weight: 600; max-width: 1060px; margin-bottom: 34px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.panel { border-top: 5px solid var(--ink); padding-top: 16px; }
.panel-title { font-size: 25px; font-weight: 700; margin-bottom: 8px; }
.bullets { margin: 8px 0 0; padding-left: 24px; line-height: 1.5; font-size: 18px; }
.target-loop { position:relative; display:grid; grid-template-columns:1fr 60px 1fr 60px 1fr; align-items:center; padding-bottom:72px; }
.target-person { min-height:220px; border-top:7px solid #000; padding:22px 20px; background:#eee; }
.target-person--focus { background:#000; color:#fff; box-shadow:10px 10px 0 #ccc; }
.target-role { font-size:14px; font-weight:700; letter-spacing:1.5px; margin-bottom:26px; color:#666; }
.target-person--focus .target-role { color:#bbb; }
.target-person strong { display:block; font-size:24px; margin-bottom:14px; }
.target-person span { font-size:17px; line-height:1.55; }
.target-flow { font-size:40px; text-align:center; }
.target-return { position:absolute; bottom:10px; left:180px; right:180px; border-bottom:3px solid #000; text-align:center; padding-bottom:10px; font-size:18px; font-weight:700; }
.target-proof { display:grid; grid-template-columns:repeat(4,1fr); border-top:2px solid #000; border-bottom:2px solid #000; }
.target-proof div { padding:14px 16px; border-right:1px solid #888; display:flex; align-items:baseline; gap:10px; }
.target-proof div:last-child { border-right:0; }
.target-proof b { font-size:30px; }
.target-proof span { font-size:14px; line-height:1.25; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.card { min-height: 300px; border-top: 7px solid var(--ink); background: var(--soft); }
.card-top { padding: 22px 20px 14px; font-size: 23px; font-weight: 700; }
.card-body { padding: 2px 18px; }

.priority { display: grid; grid-template-columns: 1.2fr 1fr .9fr; gap: 24px; align-items: stretch; }
.prio { border: 2px solid var(--ink); min-height: 340px; display: grid; grid-template-rows: 60px 1fr; }
.prio-tag { background: var(--ink); color:#fff; font-size: 28px; font-weight: 700; padding: 14px 18px; }
.prio--p0 { border-width: 5px; box-shadow: 10px 10px 0 #ddd; }
.prio--p0 .prio-tag { background: var(--accent); }
.prio--p2 { border-color: #777; color: #555; }
.prio--p2 .prio-tag { background:#777; }
.prio-body { padding: 20px; }
.prio-title { font-size: 22px; font-weight: 700; }
.prio .bullets { font-size: 16px; line-height: 1.45; }

.first-actions { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr; align-items: center; margin-bottom: 42px; }
.first-step { min-height: 174px; border: 2px solid #777; padding: 20px 18px; display:flex; flex-direction:column; justify-content:space-between; }
.first-step--critical { border: 5px solid var(--ink); box-shadow: 8px 8px 0 #ddd; }
.step-no { font-size: 42px; line-height:1; font-weight:700; }
.first-step strong { display:block; font-size:20px; margin-bottom:8px; }
.first-step span { display:block; font-size:15px; line-height:1.35; color:#555; }
.step-arrow { font-size:34px; text-align:center; }
.gate-band { border: 3px solid var(--ink); display:grid; grid-template-columns:150px 1fr 250px; align-items:stretch; }
.gate-label { background:var(--ink); color:#fff; font-size:20px; font-weight:700; display:flex; align-items:center; justify-content:center; letter-spacing:1px; }
.gate-rule,.gate-stop { padding:18px 20px; font-size:17px; line-height:1.35; }
.gate-stop { border-left:2px solid var(--ink); background:#eee; }

.excluded-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px 18px; }
.ex { display:flex; border-bottom:1px solid #aaa; padding: 8px 0 10px; min-height:75px; }
.ex-code { width:48px; height:48px; flex:0 0 48px; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:23px; font-weight:700; margin-right:13px; }
.ex-title { font-size:18px; font-weight:700; margin-bottom:3px; }
.ex-desc { font-size:14px; color:#555; line-height:1.25; }
.detail { display:grid; grid-template-columns:280px 1fr; align-items:center; gap:80px; }
.code-block { height:280px; background:var(--ink); color:#fff; font-size:160px; font-weight:700; display:grid; place-items:center; }
.reasons { border-top:6px solid var(--ink); padding-top:20px; }
.reasons-title { font-size:25px; font-weight:700; }
.reasons ol { margin:16px 0 0; padding-left:28px; font-size:21px; line-height:1.5; }
.tomb-layout { display:grid; grid-template-columns:.85fr 1.45fr; gap:34px; margin-bottom:24px; }
.tomb-map { min-height:250px; background:#000; color:#fff; padding:24px; display:flex; flex-direction:column; }
.tomb-kicker { font-size:14px; letter-spacing:1.6px; font-weight:700; color:#aaa; }
.tomb-pin { font-size:72px; line-height:1; margin:18px 0 8px; }
.tomb-map strong { font-size:22px; margin-bottom:10px; }
.tomb-map span { font-size:15px; line-height:1.4; color:#ccc; }
.cleaning-models { border-top:7px solid #000; }
.model-title { font-size:24px; font-weight:700; padding:16px 0 12px; }
.model-row { display:grid; grid-template-columns:54px 1fr; gap:16px; padding:14px 0; border-top:1px solid #999; }
.model-no { font-size:29px; font-weight:700; }
.model-row strong { display:block; font-size:20px; margin-bottom:4px; }
.model-row span { display:block; font-size:16px; line-height:1.35; }
.chat-paths { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.chat-path { border:2px solid #000; padding:16px 18px; min-height:120px; }
.chat-path--loss { background:#eee; border-style:dashed; }
.chat-path b,.chat-path span,.chat-path em { display:block; }
.chat-path b { font-size:19px; margin-bottom:7px; }
.chat-path span { font-size:15px; line-height:1.35; }
.chat-path em { font-size:14px; font-weight:700; margin-top:8px; font-style:normal; }

.arch { height:100%; display:flex; flex-direction:column; justify-content:center; }
.arch-svg { width:100%; max-height:445px; }
.arch-legend { display:flex; justify-content:center; gap:34px; font-size:14px; }
.legend-item { display:flex; align-items:center; gap:9px; }
.legend-line { width:45px; border-top:3px solid #000; }
.legend-line--dash { border-top-style:dashed; }
.sequence-wrap { height:100%; display:flex; flex-direction:column; justify-content:center; }
.sequence-svg { width:100%; height:430px; }
.sequence-note { border-left:7px solid #000; padding:14px 18px; background:#eee; font-size:17px; }

.timeline { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.tcol { min-height:300px; border-top:7px solid #000; padding:20px; background:#eee; }
.tcap { font-size:24px; font-weight:700; margin-bottom:15px; }
.slide--end { background:#000 !important; color:#fff; }
.slide--end .conclusion { border-color:#fff; }
.slide--end .meta { color:#aaa; }
.end-core { align-items:center; }
.end-mark { font-size:120px; font-weight:300; }

.reveal .controls { color:#fff; }
.reveal .progress { color:#fff; height:4px; }
.reveal .slide-number { background:#000; color:#fff; font-size:12px; }

@media (max-width: 900px) {
  .reveal .slides section .slide { padding: 54px 64px 50px; }
}
