@charset "UTF-8";

:root {
  --ink: #f5f2ea;
  --ink-soft: rgba(245, 242, 234, .82);
  --muted: rgba(245, 242, 234, .62);
  --ghost: rgba(245, 242, 234, .075);
  --line: rgba(212, 224, 219, .2);
  --line-strong: rgba(212, 224, 219, .38);
  --blue: #073b50;
  --blue-deep: #032d3f;
  --blue-deeper: #022636;
  --blue-soft: #0b4a62;
  --accent: #d9e6df;
  --panel: rgba(3, 42, 58, .94);
  --shadow: 0 34px 100px rgba(0, 0, 0, .3);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Vazirmatn", Tahoma, Arial, sans-serif;
  --latin: Inter, "Helvetica Neue", Arial, sans-serif;
  --rail: 78px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
html { background: var(--blue); }
body {
  color: var(--ink);
  background: var(--blue);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .8s var(--ease);
}
body[data-slide-type="game"] { background: #07384b; }
body[data-slide-type="section"], body[data-slide-type="map"] { background: #04354a; }
body[data-slide-type="final"] { background: #022f42; }
button, input, textarea, select { font: inherit; }
button { color: inherit; border: 0; background: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--blue);
  background: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.field {
  position: absolute;
  left: 50%;
  width: min(1100px, 100vw);
  height: 400px;
  transform: translateX(-50%);
  opacity: .52;
  background: repeating-radial-gradient(ellipse at 50% 105%, transparent 0 40px, rgba(166,187,188,.48) 41px 42px, transparent 43px 76px);
}
.field--top { top: -250px; transform: translateX(-50%) rotate(180deg); }
.field--bottom { bottom: -250px; }
.ambient::before, .ambient::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 500px;
  height: 760px;
  transform: translateY(-50%);
  opacity: .28;
  background: repeating-radial-gradient(ellipse at 100% 50%, transparent 0 37px, rgba(166,187,188,.46) 38px 39px, transparent 40px 73px);
}
.ambient::before { left: -385px; }
.ambient::after { right: -385px; transform: translateY(-50%) rotate(180deg); }
.orbit { position: absolute; border: 1px solid rgba(245,242,234,.14); border-radius: 50%; animation: rotate 38s linear infinite; }
.orbit--one { width: 560px; height: 560px; top: calc(50% - 280px); left: calc(50% - 280px); }
.orbit--two { width: 790px; height: 790px; top: calc(50% - 395px); left: calc(50% - 395px); animation-duration: 54s; animation-direction: reverse; opacity: .42; }
.orbit i { position: absolute; top: 12%; left: 17%; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 22px rgba(245,242,234,.8); }
.grain {
  position: absolute;
  inset: 0;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.68'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
@keyframes rotate { to { transform: rotate(360deg); } }

.topbar {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 100%;
  height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(22px, 3.4vw, 56px);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.brand__mark { width: 44px; height: 44px; overflow: hidden; border: 1px solid rgba(245,242,234,.2); border-radius: 11px; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.brand__mark img { width: 100%; height: 100%; display: block; }
.brand__copy { display: grid; gap: 3px; direction: ltr; text-align: left; }
.brand__copy b { font: 700 12px/1 var(--latin); letter-spacing: .18em; }
.brand__copy small { color: var(--muted); font: 500 8px/1.2 var(--latin); letter-spacing: .17em; }

.chapter-context {
  min-width: 240px;
  display: grid;
  grid-template-columns: 42px auto;
  gap: 12px;
  align-items: center;
  padding: 7px 18px 7px 10px;
  border: 1px solid rgba(245,242,234,.14);
  border-radius: 999px;
  background: rgba(2,39,54,.25);
  backdrop-filter: blur(14px);
  direction: ltr;
}
.chapter-context__icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(245,242,234,.07); }
.chapter-context__icon .ui-icon { width: 17px; height: 17px; }
.chapter-context__copy { display: grid; gap: 2px; direction: rtl; text-align: right; }
.chapter-context__copy small { color: var(--muted); font: 500 8px/1 var(--latin); letter-spacing: .11em; }
.chapter-context__copy b { font-size: 12px; font-weight: 600; }

.topbar__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-button, .index-button {
  height: 44px;
  border: 1px solid rgba(245,242,234,.18);
  background: rgba(2,39,54,.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.icon-button:hover, .index-button:hover { transform: translateY(-2px); border-color: rgba(245,242,234,.45); background: rgba(245,242,234,.07); }
.icon-button { width: 44px; display: grid; place-items: center; border-radius: 50%; }
.icon-button .ui-icon { width: 18px; height: 18px; }
.index-button { min-width: 112px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 15px; border-radius: 999px; }
.index-button span { font-size: 11px; font-weight: 500; }
.index-button .ui-icon { width: 17px; height: 17px; }

.chapter-rail {
  position: fixed;
  z-index: 55;
  top: 50%;
  left: 24px;
  width: 48px;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}
.chapter-rail::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 23px;
  width: 1px;
  background: rgba(245,242,234,.12);
}
.chapter-rail button {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.chapter-rail button > span {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245,242,234,.14);
  border-radius: 50%;
  color: rgba(245,242,234,.52);
  background: rgba(3,45,62,.75);
  backdrop-filter: blur(10px);
  transition: width .3s var(--ease), height .3s var(--ease), color .3s ease, border-color .3s ease, background .3s ease;
}
.chapter-rail .ui-icon { width: 15px; height: 15px; }
.chapter-rail small {
  position: absolute;
  left: 48px;
  top: 50%;
  min-width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(245,242,234,.14);
  border-radius: 8px;
  color: var(--ink-soft);
  background: rgba(2,39,54,.92);
  font-size: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translate(5px,-50%);
  transition: .2s ease;
}
.chapter-rail button:hover small { opacity: 1; visibility: visible; transform: translate(0,-50%); }
.chapter-rail button.is-active > span { width: 42px; height: 42px; color: var(--blue-deep); border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(217,230,223,.08); }
.chapter-rail button.is-active i { position: absolute; right: -1px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }

.deck { position: relative; z-index: 5; width: 100%; height: 100%; perspective: 1400px; }
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 104px clamp(86px, 8vw, 128px) 92px clamp(86px, 8vw, 128px);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0,90px,-80px) scale(.965);
  filter: blur(7px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), filter .7s var(--ease), visibility 0s linear .8s;
}
.slide.is-active { visibility: visible; pointer-events: auto; opacity: 1; transform: translate3d(0,0,0) scale(1); filter: none; transition-delay: 0s; }
.slide.is-before { transform: translate3d(0,-90px,-80px) scale(.965); }
.slide-shell {
  position: relative;
  width: min(1180px, 100%);
  height: min(700px, calc(100vh - 196px));
  min-height: 540px;
  padding: clamp(28px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(245,242,234,.16);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.01) 46%, rgba(0,0,0,.05)), rgba(2,43,59,.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.slide-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(245,242,234,.035) 1px, transparent 1px), linear-gradient(rgba(245,242,234,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.62), transparent 90%);
  opacity: .28;
}
.slide-field { position: absolute; width: 430px; height: 430px; left: -210px; bottom: -210px; border-radius: 50%; border: 1px solid rgba(245,242,234,.12); }
.slide-field::before, .slide-field::after { content:""; position:absolute; inset:38px; border:inherit; border-radius:inherit; }
.slide-field::after { inset: 78px; }
.slide-watermark { position: absolute; left: 7%; bottom: 4%; color: rgba(245,242,234,.032); }
.slide-watermark .ui-icon { width: 230px; height: 230px; stroke-width: .65; }

.slide-head {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(24px, 3.5vh, 44px);
  direction: ltr;
}
.slide-head__context { display: flex; align-items: center; gap: 8px; color: var(--muted); direction: ltr; }
.slide-head__context .ui-icon { width: 13px; height: 13px; }
.slide-head__context span { font-size: 10px; font-weight: 600; letter-spacing: .04em; direction: rtl; }
.slide-head__context i { width: 28px; height: 1px; background: rgba(245,242,234,.2); }
.slide-head__context b { color: rgba(245,242,234,.46); font-size: 9px; font-weight: 500; direction: rtl; }
.slide-no { color: rgba(245,242,234,.34); font: 500 11px/1 var(--latin); letter-spacing: .08em; }
.slide-body { position: relative; z-index: 3; height: calc(100% - 46px); display: flex; flex-direction: column; }

.title-block { max-width: 980px; display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start; margin-bottom: 24px; }
.title-icon { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(245,242,234,.16); border-radius: 16px; color: var(--accent); background: rgba(245,242,234,.055); box-shadow: inset 0 1px rgba(255,255,255,.05); }
.title-icon .ui-icon { width: 26px; height: 26px; }
h1,h2,h3,p,blockquote { margin-top: 0; }
h2 { margin-bottom: 10px; font-size: clamp(31px, 4.1vw, 59px); font-weight: 750; line-height: 1.23; letter-spacing: -.035em; text-wrap: balance; }
.lead, .section-lead { max-width: 840px; margin-bottom: 0; color: var(--muted); font-size: clamp(15px, 1.38vw, 20px); font-weight: 350; line-height: 1.95; }
.copy { max-width: 980px; display: grid; gap: 12px; }
.copy p { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 12px; margin-bottom: 0; color: var(--ink-soft); font-size: clamp(14px, 1.15vw, 17.5px); font-weight: 350; line-height: 2.05; }
.copy-index { color: rgba(245,242,234,.3); font: 500 9px/2.5 var(--latin); letter-spacing: .08em; }
blockquote { max-width: 780px; margin: auto 0 0; padding: 17px 22px 17px 0; border-right: 2px solid rgba(245,242,234,.56); color: var(--ink); font-size: clamp(17px, 1.72vw, 25px); font-weight: 450; line-height: 1.8; }

.chips, .meta-row { display:flex; flex-wrap:wrap; gap:8px; }
.chips { margin-top:auto; }
.chips span, .meta-row span { display:inline-flex; min-height:32px; align-items:center; padding:6px 12px; border:1px solid rgba(245,242,234,.16); border-radius:999px; color:rgba(245,242,234,.68); background:rgba(245,242,234,.035); font:500 10px/1.2 var(--latin); letter-spacing:.035em; }

.bullet-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 24px; margin:4px 0 0; padding:0; list-style:none; }
.bullet-list li { display:grid; grid-template-columns:24px 1fr; gap:10px; align-items:start; padding:9px 0; border-bottom:1px solid rgba(245,242,234,.085); color:var(--ink-soft); font-size:clamp(13px,1.05vw,16px); font-weight:350; line-height:1.85; }
.bullet-icon { width:17px; height:17px; margin-top:5px; color:rgba(217,230,223,.72); }
.slide-footer { margin:auto 0 0; display:flex; align-items:flex-start; gap:8px; color:var(--muted); font-size:12px; line-height:1.85; }
.slide-footer .ui-icon { flex:0 0 auto; width:14px; height:14px; margin-top:4px; }

.cards { display:grid; gap:12px; margin-top:auto; }
.cards--2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.cards--4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.cards--5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
.cards--6 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.card { position:relative; min-height:148px; padding:18px; border:1px solid rgba(245,242,234,.13); border-radius:18px; background:rgba(245,242,234,.032); transition:transform .25s ease,background .25s ease,border-color .25s ease; }
.card:hover { transform:translateY(-4px); background:rgba(245,242,234,.06); border-color:rgba(245,242,234,.28); }
.card__top { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.card__icon { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; color:var(--accent); background:rgba(245,242,234,.06); }
.card__icon .ui-icon { width:18px; height:18px; }
.card__index { color:rgba(245,242,234,.26); font:500 9px/1 var(--latin); }
.card h3 { margin-bottom:7px; font-size:clamp(16px,1.35vw,21px); font-weight:650; line-height:1.5; }
.card p { margin-bottom:0; color:var(--muted); font-size:12.5px; font-weight:350; line-height:1.85; }

.question-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 24px; margin:2px 0 0; padding:0; list-style:none; }
.question-list li { position:relative; display:grid; grid-template-columns:34px 1fr 22px; gap:10px; align-items:start; padding:13px 0; border-bottom:1px solid rgba(245,242,234,.1); }
.question-list li > span { color:rgba(245,242,234,.32); font:500 9px/2.2 var(--latin); }
.question-list p { margin:0; color:var(--ink-soft); font-size:clamp(14px,1.12vw,17px); font-weight:350; line-height:1.82; }
.question-icon { width:16px; height:16px; margin-top:5px; color:rgba(245,242,234,.25); }

.case-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:auto; }
.case-grid article { position:relative; display:grid; grid-template-columns:38px 1fr; gap:12px; min-height:118px; padding:18px; border:1px solid rgba(245,242,234,.13); border-radius:17px; background:rgba(245,242,234,.032); }
.case-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; color:var(--accent); background:rgba(245,242,234,.06); }
.case-icon .ui-icon { width:19px; height:19px; }
.case-grid article > small { position:absolute; left:15px; top:15px; color:rgba(245,242,234,.25); font:500 9px/1 var(--latin); }
.case-grid b { display:block; margin-bottom:5px; font-size:15px; font-weight:650; }
.case-grid p { margin:0; color:var(--muted); font-size:12px; font-weight:350; line-height:1.78; }

.flow { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:auto; }
.flow__item { position:relative; min-height:88px; display:grid; grid-template-columns:38px 1fr; gap:10px; align-items:center; padding:13px; border:1px solid rgba(245,242,234,.12); border-radius:16px; background:rgba(245,242,234,.03); }
.flow__icon { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; color:var(--accent); background:rgba(245,242,234,.055); }
.flow__icon .ui-icon { width:17px; height:17px; }
.flow__item p { margin:0; font-size:13px; font-weight:450; line-height:1.65; }
.flow__item small { position:absolute; left:11px; top:10px; color:rgba(245,242,234,.23); font:500 8px/1 var(--latin); }

.timeline-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 20px; }
.timeline-list > div { position:relative; display:grid; grid-template-columns:32px 1fr; gap:10px; align-items:start; padding:8px 0; border-bottom:1px solid rgba(245,242,234,.09); }
.timeline-list > div > span { width:28px; height:28px; display:grid; place-items:center; border-radius:9px; color:var(--accent); background:rgba(245,242,234,.05); }
.timeline-list .ui-icon { width:14px; height:14px; }
.timeline-list p { margin:0; color:var(--ink-soft); font-size:13px; font-weight:350; line-height:1.72; }
.timeline-list small { position:absolute; left:0; top:12px; color:rgba(245,242,234,.22); font:500 8px/1 var(--latin); }
.outcome { display:grid; grid-template-columns:155px 1fr; gap:16px; align-items:center; margin-top:auto; padding:14px 17px; border:1px solid rgba(245,242,234,.17); border-radius:16px; background:rgba(245,242,234,.05); }
.outcome > span { display:flex; align-items:center; gap:8px; color:var(--accent); }
.outcome .ui-icon { width:16px; height:16px; }
.outcome b { font-size:11px; font-weight:600; }
.outcome p { margin:0; font-size:13px; font-weight:350; line-height:1.8; }

.game-tag { display:flex; align-items:center; gap:12px; margin-top:auto; direction:ltr; }
.game-tag > span { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(245,242,234,.15); border-radius:10px; color:var(--accent); }
.game-tag .ui-icon { width:18px; height:18px; }
.game-tag b { color:var(--muted); font:600 10px/1 var(--latin); letter-spacing:.13em; text-transform:uppercase; }
.game-tag i { width:120px; height:1px; background:linear-gradient(90deg,rgba(245,242,234,.5),transparent); }
.slide--game .slide-shell::after { content:""; position:absolute; width:300px; height:300px; left:8%; top:50%; transform:translateY(-50%); border:1px solid rgba(245,242,234,.13); border-radius:50%; box-shadow:0 0 0 40px rgba(245,242,234,.022),0 0 0 80px rgba(245,242,234,.016); }

.slide--cover .slide-shell { display:grid; grid-template-columns:.88fr 1.12fr; align-items:center; gap:34px; background:radial-gradient(circle at 28% 45%,rgba(245,242,234,.1),transparent 22%),linear-gradient(135deg,rgba(255,255,255,.045),rgba(0,0,0,.05)),rgba(2,43,59,.73); }
.cover-mark { position:relative; z-index:2; width:min(420px,34vw); aspect-ratio:1; justify-self:center; overflow:hidden; border-radius:34px; box-shadow:0 40px 90px rgba(0,0,0,.32); transform:rotate(-2.5deg); }
.cover-mark img { width:100%; height:100%; display:block; }
.cover-content { position:relative; z-index:3; }
.eyebrow { color:var(--muted); font:600 10px/1 var(--latin); letter-spacing:.18em; text-transform:uppercase; }
.cover-content h1 { margin:20px 0 13px; font:800 clamp(54px,8vw,116px)/.9 var(--latin); letter-spacing:-.055em; direction:ltr; text-align:right; }
.cover-lead { max-width:610px; color:var(--ink-soft); font-size:clamp(17px,1.85vw,25px); font-weight:350; line-height:1.8; }
.cover-content .meta-row { margin-top:25px; }
.cover-note { margin:20px 0 0; color:var(--muted); font-size:12px; }
.cover-architecture { position:absolute; z-index:3; left:52px; right:52px; bottom:30px; display:flex; align-items:center; justify-content:center; gap:14px; direction:ltr; }
.cover-architecture > span { display:flex; align-items:center; gap:7px; color:rgba(245,242,234,.52); }
.cover-architecture .ui-icon { width:14px; height:14px; }
.cover-architecture b { font:600 8px/1 var(--latin); letter-spacing:.13em; }
.cover-architecture i { width:42px; height:1px; background:rgba(245,242,234,.14); }

.slide--map .slide-shell { background:radial-gradient(circle at 84% 16%,rgba(245,242,234,.08),transparent 24%),linear-gradient(135deg,rgba(255,255,255,.05),rgba(0,0,0,.04)),rgba(2,43,59,.62); }
.chapter-map { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin-top:auto; }
.chapter-map__item { position:relative; min-height:126px; display:grid; grid-template-columns:38px 1fr; grid-template-rows:auto 1fr auto; gap:5px 11px; padding:15px; border:1px solid rgba(245,242,234,.13); border-radius:17px; background:rgba(245,242,234,.032); text-align:right; cursor:pointer; transition:.25s ease; }
.chapter-map__item:hover { transform:translateY(-4px); border-color:rgba(245,242,234,.28); background:rgba(245,242,234,.06); }
.chapter-map__number { position:absolute; left:12px; top:11px; color:rgba(245,242,234,.24); font:500 8px/1 var(--latin); }
.chapter-map__icon { width:36px; height:36px; grid-row:1/3; display:grid; place-items:center; border-radius:11px; color:var(--accent); background:rgba(245,242,234,.055); }
.chapter-map__icon .ui-icon { width:18px; height:18px; }
.chapter-map__copy { display:grid; gap:4px; }
.chapter-map__copy b { font-size:15px; font-weight:650; }
.chapter-map__copy small { color:var(--muted); font-size:10.5px; font-weight:350; line-height:1.65; }
.chapter-map__count { grid-column:2; align-self:end; color:rgba(245,242,234,.34); font-size:9px; }

.slide--section .slide-shell { display:grid; align-items:center; background:radial-gradient(circle at 14% 72%,rgba(245,242,234,.09),transparent 26%),linear-gradient(135deg,rgba(255,255,255,.055),rgba(0,0,0,.045)),rgba(2,43,59,.64); }
.section-layout { position:relative; z-index:3; display:grid; grid-template-columns:minmax(210px,.62fr) 1.5fr; align-items:center; gap:clamp(38px,7vw,110px); }
.section-symbol { position:relative; width:min(230px,20vw); aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(245,242,234,.14); border-radius:50%; color:var(--accent); background:rgba(245,242,234,.035); box-shadow:0 0 0 28px rgba(245,242,234,.018),0 0 0 56px rgba(245,242,234,.012); }
.section-symbol > span { width:86px; height:86px; display:grid; place-items:center; border-radius:24px; background:rgba(245,242,234,.07); }
.section-symbol .ui-icon { width:46px; height:46px; stroke-width:1.3; }
.section-symbol small { position:absolute; bottom:22px; color:rgba(245,242,234,.28); font:500 11px/1 var(--latin); }
.section-kicker { color:var(--muted); font:600 9px/1 var(--latin); letter-spacing:.17em; }
.section-layout h2 { max-width:760px; margin:16px 0 14px; font-size:clamp(43px,6.5vw,88px); }
.section-stats { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.section-stats span { padding:7px 11px; border:1px solid rgba(245,242,234,.14); border-radius:999px; color:var(--muted); font-size:10px; }

.slide--final .slide-shell { display:grid; place-items:center; }
.final-layout { position:relative; z-index:3; width:min(900px,100%); text-align:center; }
.final-logo { width:88px; height:88px; margin:0 auto 22px; overflow:hidden; border-radius:20px; box-shadow:0 20px 45px rgba(0,0,0,.24); }
.final-logo img { width:100%; height:100%; display:block; }
.final-layout h2 { margin-bottom:19px; font-size:clamp(40px,5.7vw,76px); }
.final-layout .copy { max-width:690px; margin:0 auto; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 20px; }
.final-layout .copy p { display:block; font-size:14px; text-align:center; }
.final-layout .copy-index { display:none; }
.final-layout blockquote { max-width:720px; margin:26px auto; padding:0; border:0; font-size:clamp(18px,2vw,27px); }
.final-layout .meta-row { justify-content:center; }

.deck-nav { position:fixed; z-index:60; left:50%; bottom:24px; width:min(560px,calc(100% - 180px)); display:grid; grid-template-columns:44px 1fr auto 44px; gap:13px; align-items:center; transform:translateX(-50%); }
.nav-arrow { width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(245,242,234,.18); border-radius:50%; background:rgba(2,39,54,.34); backdrop-filter:blur(14px); cursor:pointer; transition:opacity .2s ease,transform .2s ease,border-color .2s ease; }
.nav-arrow:hover:not(:disabled) { transform:translateY(-2px); border-color:rgba(245,242,234,.46); }
.nav-arrow:disabled { opacity:.24; cursor:default; }
.nav-arrow .ui-icon { width:17px; height:17px; }
.nav-arrow--prev .ui-icon { transform:rotate(180deg); }
.deck-progress { position:relative; height:2px; overflow:visible; background:rgba(245,242,234,.13); }
.deck-progress i { display:block; width:100%; height:100%; transform-origin:right center; transform:scaleX(.02); background:var(--ink); transition:transform .7s var(--ease); }
.deck-progress span { position:absolute; top:-18px; right:0; color:rgba(245,242,234,.38); font-size:8px; font-weight:500; }
.deck-count { min-width:54px; display:flex; gap:4px; align-items:baseline; direction:ltr; font:500 9px/1 var(--latin); letter-spacing:.05em; }
.deck-count b { font-size:12px; }
.deck-count span { color:var(--muted); }

.index-panel { position:fixed; z-index:120; top:0; right:0; width:min(500px,100%); height:100%; display:grid; grid-template-rows:auto auto 1fr auto; padding:30px; background:var(--panel); backdrop-filter:blur(26px); box-shadow:-30px 0 80px rgba(0,0,0,.3); transform:translateX(105%); transition:transform .55s var(--ease); }
.index-panel.is-open { transform:translateX(0); }
.index-panel__head { display:flex; justify-content:space-between; align-items:start; padding-bottom:18px; border-bottom:1px solid rgba(245,242,234,.12); }
.index-panel__head small { color:var(--muted); font:600 8px/1 var(--latin); letter-spacing:.14em; }
.index-panel__head h2 { margin:7px 0 0; font-size:27px; }
.index-close { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(245,242,234,.15); border-radius:50%; cursor:pointer; }
.index-close .ui-icon { width:18px; height:18px; }
.index-summary { display:flex; flex-wrap:wrap; gap:7px; padding:15px 0; }
.index-summary span { padding:6px 10px; border:1px solid rgba(245,242,234,.12); border-radius:999px; color:var(--muted); font-size:9px; }
.index-groups { margin:0 -10px; padding:0 10px 18px; overflow:auto; scrollbar-width:thin; scrollbar-color:rgba(245,242,234,.22) transparent; }
.index-group { margin-bottom:8px; border:1px solid rgba(245,242,234,.09); border-radius:14px; overflow:hidden; background:rgba(245,242,234,.018); }
.index-group.is-active { border-color:rgba(245,242,234,.2); background:rgba(245,242,234,.035); }
.index-group__head { width:100%; display:grid; grid-template-columns:38px 1fr 26px; gap:10px; align-items:center; padding:11px 12px; text-align:right; cursor:pointer; }
.index-group__head > span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; color:var(--accent); background:rgba(245,242,234,.055); }
.index-group__head .ui-icon { width:17px; height:17px; }
.index-group__head div { display:grid; grid-template-columns:auto 1fr; gap:8px; align-items:baseline; }
.index-group__head small { color:rgba(245,242,234,.3); font:500 8px/1 var(--latin); }
.index-group__head b { font-size:12px; font-weight:650; }
.index-group__head em { width:24px; height:24px; display:grid; place-items:center; border:1px solid rgba(245,242,234,.11); border-radius:50%; color:var(--muted); font:normal 500 8px/1 var(--latin); }
.index-group ol { margin:0; padding:0 12px 8px; list-style:none; }
.index-group li button { width:100%; display:grid; grid-template-columns:28px 1fr 15px; gap:9px; align-items:center; padding:8px 4px; border-top:1px solid rgba(245,242,234,.065); text-align:right; cursor:pointer; }
.index-group li button > span { color:rgba(245,242,234,.28); font:500 8px/1 var(--latin); }
.index-group li p { margin:0; font-size:10.5px; font-weight:350; line-height:1.55; }
.index-group li i { width:4px; height:4px; justify-self:center; border:1px solid rgba(245,242,234,.42); border-radius:50%; transition:.2s ease; }
.index-group li button:hover i, .index-group li button.is-current i { background:var(--ink); transform:scale(1.5); }
.index-panel__foot { display:flex; justify-content:space-between; gap:12px; padding-top:15px; border-top:1px solid rgba(245,242,234,.12); color:var(--muted); font-size:9px; }
.panel-backdrop { position:fixed; z-index:110; inset:0; background:rgba(0,0,0,.34); opacity:0; visibility:hidden; transition:opacity .35s ease,visibility 0s linear .35s; }
.panel-backdrop.is-open { opacity:1; visibility:visible; transition-delay:0s; }
.noscript { position:fixed; z-index:999; inset:auto 20px 20px; padding:14px; color:#111; background:#fff; border-radius:10px; text-align:center; }

@media (max-width: 1100px) {
  :root { --rail: 58px; }
  .slide { padding-left:78px; padding-right:78px; }
  .chapter-rail { left:12px; }
  .chapter-context { min-width:210px; }
  .cards--4, .cards--5 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cards--6 { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .chapter-map { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .chapter-map__item { min-height:110px; }
  .section-layout { grid-template-columns:180px 1fr; }
  .section-symbol { width:180px; }
}

@media (max-width: 760px) {
  .topbar { height:72px; grid-template-columns:auto 1fr auto; gap:8px; padding:12px 14px; }
  .brand__copy { display:none; }
  .brand__mark { width:42px; height:42px; }
  .chapter-context { min-width:0; justify-self:center; grid-template-columns:32px auto; gap:8px; padding:5px 10px; }
  .chapter-context__icon { width:28px; height:28px; }
  .chapter-context__copy small { font-size:7px; }
  .chapter-context__copy b { font-size:10px; }
  .icon-button { display:none; }
  .index-button { min-width:44px; width:44px; padding:0; }
  .index-button span { display:none; }
  .chapter-rail { display:none; }
  .slide { padding:74px 10px 72px; }
  .slide-shell { height:calc(100svh - 146px); min-height:0; padding:21px 18px; border-radius:22px; overflow-y:auto; overscroll-behavior:contain; }
  .slide-head { position:sticky; top:-21px; z-index:8; margin:-1px 0 21px; padding:10px 0 9px; background:linear-gradient(var(--blue-deep) 72%,transparent); }
  .slide-head__context b, .slide-head__context i { display:none; }
  .slide-head__context span { font-size:9px; }
  .title-block { grid-template-columns:44px 1fr; gap:13px; margin-bottom:19px; }
  .title-icon { width:42px; height:42px; border-radius:13px; }
  .title-icon .ui-icon { width:21px; height:21px; }
  h2 { font-size:clamp(28px,9vw,43px); line-height:1.3; }
  .lead, .section-lead { font-size:14px; line-height:1.9; }
  .copy p { grid-template-columns:22px 1fr; gap:8px; font-size:13px; line-height:2; }
  .bullet-list, .question-list, .timeline-list, .case-grid, .flow, .cards--2, .cards--4, .cards--5, .cards--6, .chapter-map { grid-template-columns:1fr; }
  .bullet-list { gap:3px; }
  .card { min-height:auto; }
  .cards, .chapter-map { margin-top:12px; }
  .chips { margin-top:22px; }
  .case-grid article, .flow__item { min-height:auto; }
  .outcome { grid-template-columns:1fr; gap:8px; margin-top:18px; }
  blockquote { margin-top:24px; font-size:16px; }
  .slide-watermark { display:none; }
  .slide--game .slide-shell::after { width:170px; height:170px; left:-80px; }
  .slide--cover .slide-shell { grid-template-columns:1fr; align-content:center; gap:16px; overflow:hidden; }
  .cover-mark { width:126px; border-radius:21px; justify-self:start; }
  .cover-content h1 { margin:12px 0 8px; font-size:clamp(48px,16vw,72px); }
  .cover-lead { font-size:15px; }
  .cover-content .meta-row { margin-top:16px; }
  .cover-note { font-size:10px; }
  .cover-architecture { left:18px; right:18px; bottom:18px; gap:8px; }
  .cover-architecture i { width:18px; }
  .cover-architecture b { font-size:6px; }
  .section-layout { grid-template-columns:1fr; gap:26px; }
  .section-symbol { width:116px; }
  .section-symbol > span { width:54px; height:54px; border-radius:16px; }
  .section-symbol .ui-icon { width:29px; height:29px; }
  .section-layout h2 { font-size:40px; }
  .final-layout .copy { grid-template-columns:1fr; }
  .final-logo { width:70px; height:70px; }
  .final-layout h2 { font-size:37px; }
  .deck-nav { bottom:14px; width:calc(100% - 20px); grid-template-columns:40px 1fr auto 40px; gap:8px; }
  .nav-arrow { width:40px; height:40px; }
  .index-panel { padding:20px 16px; }
  .index-panel__foot { display:none; }
}

@media (max-height: 730px) and (min-width: 761px) {
  .topbar { height:72px; padding-top:13px; padding-bottom:13px; }
  .slide { padding-top:76px; padding-bottom:68px; }
  .slide-shell { height:calc(100vh - 144px); min-height:470px; padding-top:32px; padding-bottom:32px; }
  .slide-head { margin-bottom:22px; }
  h2 { font-size:clamp(29px,3.8vw,51px); }
  .copy p { font-size:14px; line-height:1.9; }
  .card { min-height:116px; padding:15px; }
  .card__top { margin-bottom:12px; }
  .chapter-map__item { min-height:96px; }
  .deck-nav { bottom:11px; }
}

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

@media print {
  @page { size:A4 landscape; margin:0; }
  html,body { width:auto; height:auto; overflow:visible; background:var(--blue) !important; print-color-adjust:exact; -webkit-print-color-adjust:exact; }
  .ambient,.topbar,.chapter-rail,.deck-nav,.index-panel,.panel-backdrop { display:none !important; }
  .deck { height:auto; }
  .slide { position:relative; inset:auto; width:297mm; height:210mm; padding:12mm; page-break-after:always; visibility:visible !important; opacity:1 !important; transform:none !important; filter:none !important; display:grid !important; }
  .slide-shell { width:100%; height:100%; min-height:0; box-shadow:none; backdrop-filter:none; }
}
