.present-controls {
  position: fixed;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 15px;
  background: rgba(4, 10, 15, 0.78);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
}
.present-controls button { width: 42px; height: 42px; border-radius: 11px; font-size: 1.1rem; }
.present-controls button:disabled { opacity: 0.3; cursor: not-allowed; transform: none; }
.present-controls span { min-width: 48px; text-align: center; color: var(--muted); font: 0.72rem var(--mono); }
.present-controls b { color: var(--text); }

.help-dialog {
  width: min(92vw, 520px);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 0;
  color: var(--text);
  background: rgba(8, 20, 29, 0.98);
  box-shadow: 0 30px 120px rgba(0,0,0,.58);
}
.help-dialog::backdrop { background: rgba(0, 0, 0, 0.68); backdrop-filter: blur(7px); }
.help-dialog form { position: relative; padding: 32px; }
.dialog-close { position: absolute; right: 17px; top: 15px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 1.4rem; }
.help-dialog h2 { font-size: 2rem; }
.help-dialog dl { display: grid; gap: 2px; margin: 25px 0; }
.help-dialog dl div { display: grid; grid-template-columns: 125px 1fr; align-items: center; gap: 18px; min-height: 46px; border-bottom: 1px solid var(--line); }
.help-dialog dt, .help-dialog dd { margin: 0; }
.help-dialog dd, .help-dialog > form > p:last-child { color: var(--muted); font-size: .86rem; }
kbd { padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); box-shadow: inset 0 -1px rgba(255,255,255,.08); font-size: .7rem; }

body.presenting { overflow: hidden; }
body.presenting .site-header { opacity: 0; pointer-events: none; transform: translateY(-100%); transition: opacity .18s ease, transform .18s ease; }
body.presenting .slide { display: none; min-height: 100svh; height: 100svh; padding: clamp(30px, 5vh, 62px) clamp(28px, 5vw, 75px) clamp(70px, 8vh, 94px); }
body.presenting .slide.is-active { display: flex; animation: present-in .28s ease both; }
body.presenting .slide::after { display: none; }
body.presenting .present-controls { display: flex; }
body.presenting .hero-slide { padding-top: clamp(25px, 4vh, 48px); }
@keyframes present-in { from { opacity: 0; transform: translateY(10px) scale(.995); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .section-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero-grid, .vcon-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .vcon-object { justify-self: stretch; max-width: none; }
  .system-flow { grid-template-columns: repeat(4, 1fr); }
  .system-flow li:not(:last-child)::after { display: none; }
  .workbench-flow { grid-template-columns: 1fr auto .9fr auto 1fr; gap: 12px; }
  .normalizer-core { min-height: 170px; }
  .evaluation-loop { grid-template-columns: repeat(4, 1fr); }
  .evaluation-loop li:not(:last-child)::after { display: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .brand small, .slide-count, .icon-button { display: none; }
  .present-button { min-width: 42px; padding: 0 11px; font-size: 0; }
  .present-button span { font-size: 1.1rem; }
  .slide { align-items: flex-start; padding-top: calc(var(--header-h) + 44px); }
  .hero-grid { gap: 10px; }
  .hero-visual { min-height: 420px; transform: scale(.9); transform-origin: center top; }
  .truth-split { grid-template-columns: 1fr; }
  .versus { min-height: 30px; }
  .layer-grid, .plane-grid, .demo-grid, .boundary-grid, .sources-grid, .scorecard { grid-template-columns: 1fr; }
  .metric-column { border-right: 0; border-bottom: 1px solid var(--line); }
  .workbench-flow { grid-template-columns: 1fr; }
  .flow-arrow { rotate: 90deg; justify-self: center; }
  .normalizer-core { width: 210px; min-height: 210px; justify-self: center; }
  .timeline { min-height: 520px; margin: 0; }
  .timeline-axis { left: 28px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--cyan), var(--violet), var(--amber), var(--green)); }
  .timeline-event { left: 28px !important; top: var(--mobile-y, 0); width: calc(100% - 55px); translate: 0 -50%; text-align: left; padding-left: 30px; }
  .timeline-event:nth-of-type(2) { --mobile-y: 9%; }
  .timeline-event:nth-of-type(3) { --mobile-y: 22%; }
  .timeline-event:nth-of-type(4) { --mobile-y: 35%; }
  .timeline-event:nth-of-type(5) { --mobile-y: 48%; }
  .timeline-event:nth-of-type(6) { --mobile-y: 61%; }
  .timeline-event:nth-of-type(7) { --mobile-y: 74%; }
  .timeline-event:nth-of-type(8) { --mobile-y: 87%; }
  .timeline-event:nth-of-type(9) { --mobile-y: 100%; }
  .timeline-event i { position: absolute; left: -7px; top: 50%; translate: 0 -50%; margin: 0; }
  .timeline-event b, .timeline-event span, .timeline-event:nth-of-type(even) b, .timeline-event:nth-of-type(even) span { position: static; translate: none; width: auto; display: block; }
  .timeline-event span { margin-top: 5px; }
  .timing-bands, .outcome-grid, .closing-principles { grid-template-columns: 1fr; }
  .evaluation-loop { grid-template-columns: repeat(2, 1fr); }
  .loop-callout { grid-template-columns: 1fr; }
  .scorecard { display: grid; }
  .sources-grid a { grid-template-columns: 1fr; gap: 4px; }
  .closing-principles { margin-top: 28px; }
  body.presenting .slide { overflow-y: auto; align-items: flex-start; padding: 34px 22px 78px; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 14px; }
  .brand b { font-size: .68rem; }
  h1 { font-size: clamp(2.65rem, 15vw, 4.3rem); }
  h2 { font-size: clamp(2rem, 10.5vw, 3.4rem); }
  .hero-meta span + span::before { display: none; }
  .hero-meta { display: grid; gap: 8px; }
  .hero-actions { align-items: stretch; }
  .primary-link, .quiet-link { justify-content: center; width: 100%; }
  .hero-visual { min-height: 370px; transform: scale(.76); margin: -15px -50px -80px; }
  .system-flow { grid-template-columns: repeat(2, 1fr); }
  .layer-grid { grid-template-columns: 1fr; }
  .timing-bands, .evidence-table, .classification { grid-template-columns: 1fr; }
  .object-row { grid-template-columns: 1fr; gap: 7px; }
  .evaluation-loop { grid-template-columns: 1fr 1fr; }
  .outcome-grid { grid-template-columns: 1fr; }
  .comparison-wrap { margin-inline: -8px; }
  .honesty-boundary { align-items: stretch; flex-direction: column; }
  .honesty-boundary span { text-align: center; }
  .closing-cta div { display: grid; }
  .closing-cta a { overflow-wrap: anywhere; }
  .help-dialog form { padding: 28px 22px; }
  .help-dialog dl div { grid-template-columns: 100px 1fr; }
}

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

@media print {
  @page { size: 16in 9in; margin: 0; }
  html, body { background: #071119 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body::before, .site-header, .present-controls, .help-dialog, .skip-link { display: none !important; }
  .slide { display: flex !important; min-height: 9in; height: 9in; width: 16in; padding: .55in .7in; page-break-after: always; break-after: page; overflow: hidden; }
  .slide:last-child { page-break-after: auto; }
  .slide-shell { max-width: 14.6in; }
  a { text-decoration: none; }
}
