:root {
  --cobalt: #2927bd;
  --cobalt-2: #1a188a;
  --cobalt-3: #0e0d4f;
  --ink: #101124;
  --cream: #f7f0e3;
  --cream-2: #fbf7ef;
  --white: #fffaf0;
  --rose: #e86e78;
  --gold: #d9a83d;
  --mint: #67b5a7;
  --violet: #8e62d1;
  --teal: #0d6f66;
  --teal-2: #0b3f3b;
  --line: rgba(16, 17, 36, .17);
  --line-blue: rgba(41, 39, 189, .28);
  --muted: rgba(16, 17, 36, .66);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
html { background: var(--cobalt-3); }
body {
  color: var(--ink);
  font-family: var(--font);
  background: var(--cobalt-3);
  transition: background .3s ease;
}
body[data-theme="light"] { background: var(--cream); }
body[data-theme="teal"] { background: var(--teal-2); }
button, a { font: inherit; }
button { color: inherit; }
button, [role="button"] { touch-action: manipulation; }
:focus-visible { outline: 4px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px 18px; color: var(--ink); background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.deck {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 1600px;
  height: 900px;
  overflow: clip;
  transform: translate(-50%, -50%) scale(var(--deck-scale, 1));
  transform-origin: center;
  isolation: isolate;
  box-shadow: 0 35px 90px rgba(4, 3, 37, .24);
}
.slides { position: absolute; inset: 0; overflow: clip; }
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 38px 1fr 34px;
  gap: 18px;
  padding: 40px 54px 30px;
  overflow: hidden;
  background: radial-gradient(circle at 88% 5%, rgba(41,39,189,.11), transparent 28%), linear-gradient(135deg, var(--cream-2), var(--cream));
  opacity: 0;
  transform: translateX(70px) scale(.986);
  transition: opacity .46s var(--ease), transform .46s var(--ease);
  pointer-events: none;
}
.slide.is-active { z-index: 3; opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.slide.is-before { transform: translateX(-70px) scale(.986); }
.slide.dark { color: var(--white); background: radial-gradient(circle at 78% 22%, rgba(255,250,240,.14), transparent 24%), radial-gradient(circle at 14% 84%, rgba(232,110,120,.14), transparent 22%), linear-gradient(135deg, var(--cobalt), var(--cobalt-3)); }
.slide.teal { color: var(--white); background: radial-gradient(circle at 82% 14%, rgba(255,250,240,.13), transparent 24%), radial-gradient(circle at 16% 85%, rgba(217,168,61,.16), transparent 22%), linear-gradient(135deg, var(--teal), var(--teal-2)); }
.slide.rose-tone { background: radial-gradient(circle at 85% 12%, rgba(232,110,120,.17), transparent 24%), linear-gradient(135deg, var(--cream-2), #f5e9e5); }

.slide-header, .slide-footer { position: relative; z-index: 8; display: grid; align-items: center; }
.slide-header { grid-template-columns: auto 1fr auto auto; gap: 16px; }
.slide-header .wordmark { color: var(--cobalt); font-size: 14px; font-weight: 950; text-transform: uppercase; }
.slide-header .wordmark span { color: var(--muted); font-weight: 680; text-transform: none; }
.slide-header i { height: 1px; background: var(--line); }
.slide-header .section-name { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.slide-header .slide-number { color: var(--cobalt); font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; }
.dark .slide-header .wordmark, .teal .slide-header .wordmark, .dark .slide-header .slide-number, .teal .slide-header .slide-number { color: var(--white); }
.dark .slide-header .wordmark span, .teal .slide-header .wordmark span, .dark .slide-header .section-name, .teal .slide-header .section-name { color: rgba(255,250,240,.74); }
.dark .slide-header i, .teal .slide-header i { background: rgba(255,250,240,.22); }
.slide-footer { grid-template-columns: auto 1fr auto; gap: 16px; padding-right: 180px; color: var(--muted); font-size: 12px; }
.slide-footer i { height: 1px; background: var(--line); }
.slide-footer span:last-child { font-weight: 780; }
.dark .slide-footer, .teal .slide-footer { color: rgba(255,250,240,.7); }
.dark .slide-footer i, .teal .slide-footer i { background: rgba(255,250,240,.2); }
.slide-body { min-height: 0; position: relative; z-index: 2; display: grid; align-content: center; }

h1, h2, h3, p, blockquote { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: 86px; line-height: .91; letter-spacing: -.052em; font-weight: 950; }
h2 { margin-bottom: 16px; max-width: 13ch; font-size: 58px; line-height: .96; letter-spacing: -.042em; font-weight: 950; }
h3 { margin-bottom: 8px; font-size: 22px; line-height: 1.12; font-weight: 900; }
p { font-size: 20px; line-height: 1.4; }
.eyebrow { margin: 0 0 12px; color: var(--cobalt); font-size: 14px; line-height: 1; font-weight: 950; text-transform: uppercase; }
.dark .eyebrow, .teal .eyebrow, .eyebrow.gold { color: var(--gold); }
.lead { max-width: 690px; margin: 0; color: var(--muted); font-size: 22px; line-height: 1.4; }
.dark .lead, .teal .lead { color: rgba(255,250,240,.86); }
.accent { color: var(--gold); }
.rose { color: var(--rose); }

.reveal { opacity: 0; transform: translateY(18px); }
.slide.is-active .reveal { animation: riseIn .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 100ms); }
.build { opacity: .14; transform: translateY(10px); filter: saturate(.4); transition: opacity .36s var(--ease), transform .36s var(--ease), filter .36s var(--ease); }
.build.is-revealed { opacity: 1; transform: none; filter: none; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

.cover-layout,
.two-col,
.route-layout,
.activity-layout,
.dialogue-layout,
.case-intro,
.work-layout,
.context-reveal,
.break-layout,
.close-layout,
.statement-grid,
.sequence-grid,
.critical-grid { display: grid; }

/* Cover */
.cover-layout { grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.cover-copy { max-width: 760px; }
.cover-copy p:last-child { max-width: 680px; color: rgba(255,250,240,.84); font-size: 24px; line-height: 1.45; }
.cover-loop { position: relative; width: 520px; height: 520px; justify-self: center; }
.cover-loop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-loop path { fill: none; stroke: rgba(255,250,240,.34); stroke-width: 2; stroke-dasharray: 8 10; animation: loopTravel 16s linear infinite; }
@keyframes loopTravel { to { stroke-dashoffset: -360; } }
.cover-core { position: absolute; inset: 152px; display: grid; place-content: center; border: 1px solid rgba(255,250,240,.25); border-radius: 50%; text-align: center; background: radial-gradient(circle at 35% 28%, #4d4be4, var(--cobalt-2)); box-shadow: 0 28px 70px rgba(3,2,38,.34); }
.cover-core span { color: var(--gold); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.cover-core strong { color: var(--white); font-size: 31px; line-height: 1.02; }
.cover-node { position: absolute; width: 170px; min-height: 90px; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 16px; border: 1px solid rgba(255,250,240,.24); background: rgba(255,250,240,.08); backdrop-filter: blur(8px); }
.cover-node b { color: var(--gold); font-size: 20px; }
.cover-node span { color: var(--white); font-size: 16px; line-height: 1.15; font-weight: 900; }
.cover-node.n1 { top: 30px; left: 16px; }
.cover-node.n2 { top: 30px; right: 16px; }
.cover-node.n3 { right: 16px; bottom: 30px; }
.cover-node.n4 { bottom: 30px; left: 16px; }

/* Shared systems */
.two-col { grid-template-columns: .78fr 1.22fr; gap: 58px; align-items: center; }
.two-col.equal { grid-template-columns: 1fr 1fr; }
.framing h2 { max-width: 11ch; }
.framing .lead { max-width: 600px; }
.principles-grid, .card-grid, .prompt-grid, .context-grid, .reference-grid, .reaction-grid, .decision-grid, .reflection-grid { display: grid; gap: 12px; }
.principles-grid { grid-template-columns: 1fr 1fr; }
.principle-card { min-height: 170px; padding: 22px; border: 1px solid var(--line); border-top: 6px solid var(--cobalt); background: rgba(255,250,240,.82); }
.principle-card:nth-child(2) { border-top-color: var(--violet); }
.principle-card:nth-child(3) { border-top-color: var(--rose); }
.principle-card:nth-child(4) { border-top-color: var(--teal); }
.principle-card b, .principle-card strong, .principle-card span { display: block; }
.principle-card b { color: var(--cobalt); font-size: 20px; }
.principle-card strong { margin: 14px 0 8px; font-size: 21px; }
.principle-card span { color: var(--muted); font-size: 17px; line-height: 1.35; }
.dark .principle-card, .teal .principle-card { border-color: rgba(255,250,240,.22); background: rgba(255,250,240,.08); }
.dark .principle-card b, .teal .principle-card b { color: var(--gold); }
.dark .principle-card strong, .teal .principle-card strong { color: var(--white); }
.dark .principle-card span, .teal .principle-card span { color: rgba(255,250,240,.82); }

.route-layout { gap: 30px; }
.route-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: end; }
.route-heading h2 { max-width: 14ch; margin: 0; }
.route-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.route-rail li { position: relative; min-height: 235px; padding: 22px; border: 1px solid var(--line); border-top: 7px solid var(--cobalt); background: rgba(255,250,240,.82); }
.route-rail li:nth-child(2) { border-top-color: var(--violet); }
.route-rail li:nth-child(3) { border-top-color: var(--muted); opacity: .72; }
.route-rail li:nth-child(4) { border-top-color: var(--teal); }
.route-rail li:nth-child(5) { border-top-color: var(--rose); }
.route-rail li:nth-child(6) { border-top-color: var(--gold); }
.route-rail b, .route-rail span, .route-rail small { display: block; }
.route-rail b { color: var(--cobalt); font-size: 23px; }
.route-rail span { margin-top: 42px; font-size: 23px; line-height: 1.1; font-weight: 950; }
.route-rail small { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.3; }
.route-rule { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 18px 24px; color: var(--white); background: var(--cobalt); }
.route-rule strong { color: var(--gold); font-size: 19px; }
.route-rule span { font-size: 19px; }

/* Timed activities */
.activity-layout { grid-template-columns: 1fr 300px; gap: 44px; align-items: center; }
.activity-main h2 { max-width: 17ch; }
.activity-main .lead { max-width: 920px; }
.timer {
  --timer-progress: 100%;
  position: relative;
  width: 270px;
  min-height: 310px;
  display: grid;
  grid-template-rows: 1fr 54px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid var(--line-blue);
  background: rgba(255,250,240,.9);
  box-shadow: 0 24px 60px rgba(20,18,60,.12);
}
.timer-main { position: relative; display: grid; place-items: center; align-content: center; gap: 8px; border: 0; color: var(--cobalt); background: conic-gradient(var(--gold) var(--timer-progress), rgba(41,39,189,.08) 0); cursor: pointer; }
.timer-main::before { content: ""; position: absolute; inset: 20px; background: var(--cream-2); border-radius: 50%; }
.timer-main > * { position: relative; z-index: 2; }
.timer-main svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.timer-main strong { font-size: 54px; line-height: 1; font-variant-numeric: tabular-nums; }
.timer-main span { font-size: 12px; font-weight: 950; text-transform: uppercase; }
.timer-label { color: var(--muted); font-size: 13px; font-weight: 800; text-align: center; }
.timer-reset { border: 0; border-top: 1px solid var(--line); color: var(--cobalt); background: var(--cream); font-size: 13px; font-weight: 900; cursor: pointer; }
.timer.is-running { box-shadow: 0 0 0 8px rgba(103,181,167,.24), 0 24px 60px rgba(20,18,60,.12); }
.timer.is-done .timer-main { color: var(--white); background: var(--rose); }
.timer.is-done .timer-main::before { background: var(--rose); }
.timer.is-done .timer-label { color: rgba(255,255,255,.85); }
.dark .timer, .teal .timer { border-color: rgba(255,250,240,.3); background: rgba(255,250,240,.95); }
.task-panel { margin-top: 24px; padding: 20px 24px; border-left: 6px solid var(--gold); background: rgba(217,168,61,.12); }
.task-panel strong { display: block; color: var(--cobalt); font-size: 18px; }
.task-panel p { margin: 6px 0 0; font-size: 18px; line-height: 1.38; }
.dark .task-panel, .teal .task-panel { background: rgba(255,250,240,.08); }
.dark .task-panel strong, .teal .task-panel strong { color: var(--gold); }
.dark .task-panel p, .teal .task-panel p { color: rgba(255,250,240,.86); }

.statement-grid { grid-template-columns: 1fr 1fr; margin-top: 24px; }
.statement { min-height: 104px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); background: rgba(255,250,240,.82); font-size: 18px; line-height: 1.32; font-weight: 820; }
.statement b { color: var(--cobalt); }
.statement:last-child { grid-column: 1 / -1; min-height: 84px; }
.dark .statement, .teal .statement { border-color: rgba(255,250,240,.22); background: rgba(255,250,240,.08); }
.dark .statement b, .teal .statement b { color: var(--gold); }
.dark .statement, .teal .statement { color: var(--white); }
.output-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.output-strip span { min-height: 72px; display: flex; align-items: center; padding: 14px 16px; border-left: 5px solid var(--rose); background: rgba(232,110,120,.09); font-size: 17px; line-height: 1.25; font-weight: 820; }

.dialogue-layout { grid-template-columns: .72fr 1.28fr 280px; gap: 36px; align-items: center; }
.prompt-list { display: grid; gap: 12px; }
.prompt-list p { margin: 0; padding: 20px; border-left: 6px solid var(--rose); background: rgba(232,110,120,.09); font-size: 20px; line-height: 1.32; font-weight: 850; }
.dark .prompt-list p, .teal .prompt-list p { background: rgba(255,250,240,.08); }
.activity-layout .prompt-list { gap: 10px; }
.activity-layout .prompt-list p { padding: 16px 18px; }
.micro-case { overflow: hidden; border: 1px solid var(--line-blue); background: rgba(255,250,240,.9); }
.micro-case p { margin: 0; padding: 20px 24px; color: var(--muted); font-size: 20px; }
.micro-case strong { display: block; padding: 18px 24px; color: var(--white); background: var(--cobalt); font-size: 25px; }
.meaning-chain { display: grid; grid-template-columns: 1fr 32px 1fr 32px 1fr; align-items: center; margin-top: 18px; padding: 16px 20px; color: var(--white); background: var(--ink); font-size: 17px; font-weight: 900; text-align: center; }
.meaning-chain i { color: var(--rose); font-style: normal; }

/* Case systems */
.case-intro { grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: center; }
.case-intro h2 { max-width: 12ch; }
.proposal-steps { display: grid; gap: 8px; margin-top: 24px; }
.proposal-steps div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px 15px; border-left: 5px solid var(--gold); background: rgba(255,250,240,.08); }
.proposal-steps b { color: var(--gold); }
.proposal-steps span { color: rgba(255,250,240,.88); font-size: 16px; line-height: 1.25; font-weight: 780; }
.reaction-grid { grid-template-columns: 1fr 1fr; }
.reaction-card { min-height: 154px; display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px; border: 1px solid rgba(255,250,240,.22); background: rgba(255,250,240,.08); }
.reaction-card b { color: var(--gold); font-size: 20px; }
.reaction-card span { color: var(--white); font-size: 18px; line-height: 1.32; font-weight: 800; }

.work-layout { grid-template-columns: .72fr 1.28fr 280px; gap: 34px; align-items: center; }
.analysis-steps { display: grid; gap: 10px; }
.analysis-step { display: grid; grid-template-columns: 42px 190px 1fr; gap: 14px; align-items: center; min-height: 86px; padding: 16px 18px; border: 1px solid var(--line); background: rgba(255,250,240,.86); }
.analysis-step b { color: var(--cobalt); font-size: 21px; }
.analysis-step strong { font-size: 18px; }
.analysis-step span { color: var(--muted); font-size: 16px; line-height: 1.3; }
.theory-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.theory-strip span { padding: 12px; border-top: 4px solid var(--cobalt); background: rgba(41,39,189,.06); font-size: 14px; line-height: 1.25; font-weight: 820; }
.theory-strip span:nth-child(2) { border-top-color: var(--violet); }
.theory-strip span:nth-child(3) { border-top-color: var(--rose); }
.theory-strip span:nth-child(4) { border-top-color: var(--teal); }

.context-reveal { grid-template-columns: .65fr 1.35fr; gap: 48px; align-items: center; }
.context-grid { grid-template-columns: 1fr 1fr; }
.context-card { min-height: 145px; padding: 20px; border: 1px solid rgba(255,250,240,.22); background: rgba(255,250,240,.08); }
.context-card b, .context-card strong, .context-card span { display: block; }
.context-card b { color: var(--gold); font-size: 14px; text-transform: uppercase; }
.context-card strong { margin: 10px 0 6px; color: var(--white); font-size: 20px; }
.context-card span { color: rgba(255,250,240,.82); font-size: 16px; line-height: 1.32; }
.context-card.wide { grid-column: 1 / -1; min-height: 112px; }
.challenge-box { margin-top: 18px; padding: 18px 20px; color: var(--ink); background: var(--gold); font-size: 18px; line-height: 1.32; font-weight: 900; }

.break-layout { justify-items: center; text-align: center; }
.break-layout h2 { max-width: none; font-size: 88px; }
.break-layout .timer { justify-self: center; width: 310px; min-height: 330px; margin-top: 22px; }

.sequence-grid { grid-template-columns: 1fr 1fr; }
.sequence-card { min-height: 170px; padding: 22px; border: 1px solid rgba(255,250,240,.23); background: rgba(255,250,240,.08); }
.sequence-card b, .sequence-card strong, .sequence-card span { display: block; }
.sequence-card b { color: var(--gold); font-size: 21px; }
.sequence-card strong { margin: 13px 0 8px; color: var(--white); font-size: 21px; }
.sequence-card span { color: rgba(255,250,240,.84); font-size: 17px; line-height: 1.35; }
.sequence-question { grid-column: 1 / -1; padding: 18px 22px; color: var(--ink); background: var(--gold); font-size: 20px; font-weight: 900; text-align: center; }

.reference-grid { grid-template-columns: 1fr 1fr; }
.reference-card { min-height: 122px; padding: 16px 18px; border: 1px solid var(--line); border-top: 5px solid var(--cobalt); background: rgba(255,250,240,.86); }
.reference-card:nth-child(2), .reference-card:nth-child(6) { border-top-color: var(--violet); }
.reference-card:nth-child(3), .reference-card:nth-child(7) { border-top-color: var(--rose); }
.reference-card:nth-child(4), .reference-card:nth-child(8) { border-top-color: var(--teal); }
.reference-card b, .reference-card strong, .reference-card span { display: block; }
.reference-card b { color: var(--cobalt); font-size: 13px; text-transform: uppercase; }
.reference-card strong { margin-top: 6px; font-size: 18px; }
.reference-card span { margin-top: 5px; color: var(--muted); font-size: 15px; line-height: 1.27; }

.critical-grid { grid-template-columns: repeat(3, 1fr); }
.critical-card { min-height: 220px; padding: 22px; color: var(--ink); background: var(--cream); }
.critical-card b { color: var(--cobalt); font-size: 18px; }
.critical-card h3 { margin-top: 18px; }
.critical-card p { color: var(--muted); font-size: 17px; }
.critical-quote { grid-column: 1 / -1; margin: 0; padding: 18px 22px; color: var(--ink); background: var(--gold); font-size: 19px; font-weight: 900; text-align: center; }

.decision-grid { grid-template-columns: repeat(4, 1fr); }
.decision-option { min-height: 112px; display: flex; align-items: center; padding: 18px; border: 1px solid var(--line); border-top: 5px solid var(--cobalt); background: rgba(255,250,240,.86); font-size: 17px; line-height: 1.28; font-weight: 850; }
.decision-option:nth-child(2n) { border-top-color: var(--rose); }
.decision-option:nth-child(3n) { border-top-color: var(--teal); }
.decision-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.decision-questions div { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; min-height: 80px; padding: 15px 18px; color: var(--white); background: var(--ink); }
.decision-questions b { color: var(--gold); }
.decision-questions span { font-size: 16px; font-weight: 820; }

.reflection-grid { grid-template-columns: repeat(3, 1fr); }
.reflection-card { min-height: 300px; padding: 24px; border: 1px solid var(--line); border-top: 7px solid var(--cobalt); background: rgba(255,250,240,.85); }
.reflection-card:nth-child(2) { border-top-color: var(--violet); }
.reflection-card:nth-child(3) { border-top-color: var(--rose); }
.reflection-card b { color: var(--cobalt); font-size: 22px; }
.reflection-card h3 { margin-top: 24px; font-size: 25px; }
.reflection-card p { color: var(--muted); font-size: 18px; }
.reflection-card blockquote { margin: 18px 0 0; padding: 16px; border-left: 5px solid var(--rose); background: rgba(232,110,120,.09); font-size: 17px; line-height: 1.3; font-weight: 800; }

.four-lens { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.four-lens li { min-height: 205px; padding: 24px; border: 1px solid rgba(255,250,240,.22); background: rgba(255,250,240,.08); list-style: none; }
.four-lens b, .four-lens strong, .four-lens span { display: block; }
.four-lens b { color: var(--gold); font-size: 22px; }
.four-lens strong { margin: 18px 0 8px; color: var(--white); font-size: 24px; }
.four-lens span { color: rgba(255,250,240,.83); font-size: 18px; line-height: 1.34; }

.commitment-template { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
.commitment-template span { padding: 18px 20px; border-left: 6px solid var(--rose); background: rgba(232,110,120,.09); font-size: 19px; line-height: 1.3; font-weight: 820; }
.close-layout { justify-items: center; text-align: center; }
.close-layout h2 { max-width: 20ch; font-size: 74px; }
.close-path { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: center; width: 1080px; margin-top: 28px; }
.close-path div { min-height: 115px; display: grid; place-content: center; padding: 15px; border: 1px solid rgba(255,250,240,.24); background: rgba(255,250,240,.08); }
.close-path b { color: var(--gold); font-size: 14px; }
.close-path span { margin-top: 8px; font-size: 20px; font-weight: 900; }
.close-path i { height: 2px; background: rgba(255,250,240,.34); }
.resource-links { display: flex; gap: 18px; margin-top: 28px; }
.resource-links a { padding: 14px 20px; border: 1px solid rgba(255,250,240,.3); color: var(--white); background: rgba(255,250,240,.08); font-size: 16px; font-weight: 850; text-decoration: none; }

/* Controls and notes */
.deck-controls { position: absolute; z-index: 30; right: 34px; bottom: 22px; display: flex; gap: 10px; }
.deck-controls button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,250,240,.24); border-radius: 50%; color: var(--white); background: var(--cobalt-3); cursor: pointer; }
.deck-controls button:hover { transform: translateY(-2px); background: var(--cobalt); }
.deck-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.progress { position: absolute; z-index: 28; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(16,17,36,.12); }
.progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--rose), var(--gold)); transition: width .35s ease; }
.key-guide { position: absolute; z-index: 28; left: 54px; bottom: 7px; display: flex; gap: 18px; color: rgba(255,250,240,.75); font-size: 10px; font-weight: 800; text-transform: uppercase; pointer-events: none; }
body[data-theme="light"] .key-guide { color: rgba(16,17,36,.5); }
.speaker-notes { position: absolute; z-index: 20; left: 54px; right: 54px; bottom: 78px; padding: 20px 24px; border: 1px solid rgba(255,250,240,.28); color: var(--white); background: rgba(14,13,79,.97); box-shadow: 0 20px 60px rgba(0,0,0,.24); }
.speaker-notes strong { color: var(--gold); font-size: 14px; text-transform: uppercase; }
.speaker-notes p { margin: 8px 0 0; font-size: 17px; line-height: 1.38; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  @page { size: 16in 9in; margin: 0; }
  html, body { width: auto; height: auto; overflow: visible; background: white; }
  .deck { position: static; width: auto; height: auto; overflow: visible; transform: none !important; box-shadow: none; }
  .slides { position: static; overflow: visible; }
  .slide, .slide.is-active, .slide.is-before { position: relative; inset: auto; width: 16in; height: 9in; opacity: 1 !important; transform: none !important; pointer-events: auto; page-break-after: auto; break-after: auto; }
  .slide + .slide { page-break-before: always; break-before: page; }
  .reveal, .build { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
  .deck-controls, .progress, .key-guide, .speaker-notes, .skip-link { display: none !important; }
}
