:root {
  --blue: #16305E;
  --blue-deep: #0B1D3A;
  --red: #C81E3A;
  --red-deep: #8F1226;
  --green: #1E7A4C;
  --paper: #F6F5F1;
  --paper-warm: #EFEEE8;
  --ink: #16181C;
  --ink-soft: #565A63;
  --line: #D8D5CC;
  --blue-tint: #E9EDF6;
  --red-tint: #FBEAEC;
  --font-display: "Archivo Black", sans-serif;
  --font-head: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--ink);
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
}

.progress-rail {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  z-index: 50;
}

.progress-fill {
  height: 100%;
  width: 6.6%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transition: width 0.5s cubic-bezier(.65,0,.35,1);
}

.deck {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 60px 96px 96px;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.65,0,.35,1);
  overflow-y: auto;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide.is-prev { transform: translateX(-40px); }

.slide-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 40px;
}

.slug {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--red-tint);
  padding: 4px 10px;
}

.slug-title {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.content--roster {
  justify-content: flex-start;
  gap: 8px;
}

.col { display: flex; flex-direction: column; gap: 16px; }

.headline {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 46px;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
  text-transform: uppercase;
}

.headline--center { text-align: center; margin-bottom: 30px; }

.sub-head {
  font-family: var(--font-head);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

.lead--center { text-align: center; max-width: none; margin: 0 auto 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  width: fit-content;
}

.eyebrow--red { background: var(--red); color: #fff; }

.quote-block {
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  padding: 16px 20px;
}

.quote-block--red { border-left-color: var(--red); background: var(--red-tint); }

.quote-block .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 600;
}

.quote-block--red .tag { color: var(--red); }

.quote-block p {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.card-grid { display: grid; gap: 24px; }

.term-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.term-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }

.term-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.term-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(11,29,58,0.1);
}

.term-card:nth-child(even) { border-top-color: var(--red); }

.term-card--tall { padding: 26px 22px; gap: 12px; }

.term-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.term-card p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.branch-section {
  margin-bottom: 30px;
}

.branch-section:last-child { margin-bottom: 0; }

.branch-charts {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.branch-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 320px;
}

.branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 14px;
  border-right: 1px dashed var(--line);
}

.branch:last-child { border-right: none; }

.branch--section {
  border-left: 2px solid var(--red);
  padding-left: 18px;
  margin-left: 2px;
}

.branch-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.branch-label--section {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--red);
}

.mini-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mini-tier {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
  padding-top: 20px;
}

.mini-tier:first-child { padding-top: 0; }

.mini-tier:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--line);
}

.mini-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  width: 84px;
}

.mini-tier:not(:first-child) .mini-node::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: var(--line);
}

.mini-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 2px dashed var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--blue);
}

.mini-avatar--red {
  background: var(--red-tint);
  border-color: var(--red);
  color: var(--red);
}

.mini-role {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--ink);
  line-height: 1.3;
}

.roster-group {
  margin-bottom: 22px;
}

.roster-group:last-child { margin-bottom: 0; }

.roster-sub-head {
  font-family: var(--font-head);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.roster-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  padding: 10px 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.roster-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(11,29,58,0.1);
}

.roster-group:nth-child(even) .roster-card { border-top-color: var(--red); }

.roster-card h5 {
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--blue-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.roster-card p {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.org-tier {
  display: flex;
  justify-content: center;
  gap: 36px;
  position: relative;
  padding-top: 28px;
}

.org-tier:first-child { padding-top: 0; }

.org-tier:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--line);
}

.org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.org-tier:not(:first-child) .org-node::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 28px;
  background: var(--line);
}

.org-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 2px dashed var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--blue);
}

.org-avatar--red {
  background: var(--red-tint);
  border-color: var(--red);
  color: var(--red);
}

.org-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--ink);
  line-height: 1.4;
}

.org-chart--support { gap: 14px; }

.org-node--root {
  padding-top: 0;
}

.org-node--root::before { display: none; }

.org-role--root {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 6px 16px;
}

.org-tier--support {
  gap: 24px;
  flex-wrap: wrap;
  max-width: 900px;
}

.org-tier--support .org-node {
  width: 148px;
  gap: 8px;
}

.org-desc {
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.35;
  color: var(--ink-soft);
  text-align: center;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rule {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rule:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(11,29,58,0.1);
  border-color: var(--ink);
}

.rule-mark {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.rule--do .rule-mark { background: var(--blue); }
.rule--dont .rule-mark { background: var(--red); }

.rule p { font-size: 17px; line-height: 1.45; color: var(--ink); }

.filing-box {
  border: 2px solid var(--red);
  padding: 16px 18px;
}

.filing-box .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--red);
  font-weight: 600;
}

.filing-box p { margin-top: 8px; font-size: 17px; line-height: 1.5; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.check-list--lg li { font-size: 20px; }

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.4;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--blue);
}

.check-list--red li::before { background: var(--red); }

.toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.toc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.toc-item:hover {
  transform: translateY(-4px) translateX(2px);
  box-shadow: 0 14px 24px rgba(11,29,58,0.12);
  border-left-color: var(--red);
}

.toc-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  background: var(--blue);
  padding: 4px 9px;
  flex-shrink: 0;
}

.toc-item span.toc-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1200px;
}

.flip-grid--4 { grid-template-columns: repeat(4, 1fr); }

.flip-card {
  position: relative;
  height: 250px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.65,0,.35,1);
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 18px;
  text-align: center;
  border: 1px solid var(--line);
}

.flip-front {
  background: #fff;
}

.flip-front .flip-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  background: var(--blue);
  padding: 3px 9px;
}

.flip-front h4 {
  font-family: var(--font-head);
  font-size: 21px;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.flip-front .flip-hint {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

.flip-back {
  background: var(--blue-deep);
  color: var(--paper);
  transform: rotateY(180deg);
}

.flip-back p { font-size: 16px; line-height: 1.5; }

.flip-back.flip-back--red { background: var(--red-deep); }

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  justify-content: center;
}

.tab-btn {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 10px 26px;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.tab-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tab-btn[data-tab="grave"].is-active {
  background: var(--red);
  border-color: var(--red);
}

.tab-panel {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  animation: fade-up 0.4s ease;
}

.tab-panel.is-active { display: block; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.offense-desc--lg {
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 22px;
}

.penalty-list--lg {
  list-style: decimal;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  font-size: 19px;
  text-align: left;
  padding-left: 22px;
}

.quiz { max-width: 760px; margin: 0 auto; width: 100%; }

.quiz-progress {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-align: center;
}

.quiz-question {
  font-family: var(--font-head);
  font-size: 29px;
  text-transform: uppercase;
  color: var(--blue-deep);
  text-align: center;
  margin-bottom: 24px;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  background: #fff;
  border: 2px solid var(--line);
  padding: 16px 20px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-option:hover { border-color: var(--blue); }

.quiz-option.is-correct { border-color: var(--green); background: #EAF6EF; }
.quiz-option.is-wrong { border-color: var(--red); background: var(--red-tint); }
.quiz-option[disabled] { cursor: default; }

.quiz-feedback {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  min-height: 22px;
  text-align: center;
}

.quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 26px;
}

.quiz-score {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
}

.quiz-next {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  background: var(--blue);
  color: #fff;
  border: none;
  cursor: pointer;
  visibility: hidden;
}

.quiz-next.is-visible { visibility: visible; }

.quiz-done {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.quiz-done .quiz-score-big {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--blue-deep);
}

.quiz-retry {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
}

.slide--cover {
  justify-content: space-between;
  background: var(--paper-warm);
}

.dateline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.cover-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
  flex: 1;
}

.cover-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-logo {
  width: 100%;
  max-width: 300px;
  filter: drop-shadow(0 18px 30px rgba(11,29,58,0.25));
  animation: cover-in 0.8s cubic-bezier(.34,1.56,.64,1);
}

@keyframes cover-in {
  from { opacity: 0; transform: scale(0.85) rotate(-6deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -6px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 22px;
  transform: rotate(10deg);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.cover-copy { display: flex; flex-direction: column; gap: 14px; }

.cover-title {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.98;
  color: var(--blue-deep);
}

.cover-sub {
  font-family: var(--font-head);
  font-size: 23px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.cover-motto {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 21px;
  color: var(--red);
}

.start-btn {
  margin-top: 10px;
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  padding: 14px 30px;
  background: var(--blue-deep);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.start-btn:hover { background: var(--red); transform: translateX(4px); }

.cover-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}

.slide--closing {
  align-items: center;
  justify-content: space-between;
  background: var(--blue-deep);
  color: var(--paper);
}

.closing-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.closing-logo { width: 130px; }

.closing-title {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1.1;
  color: var(--paper);
}

.closing-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 21px;
  color: var(--red);
}

.slide--closing .cover-footer {
  border-top-color: rgba(246,245,241,0.2);
  color: rgba(246,245,241,0.6);
}

.ticker {
  position: fixed;
  bottom: 56px;
  left: 0;
  width: 100%;
  height: 32px;
  background: var(--ink);
  overflow: hidden;
  z-index: 40;
  border-top: 2px solid var(--red);
  border-bottom: 2px solid var(--blue);
}

.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 34s linear infinite;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.ticker-track span { color: var(--red); margin-right: 10px; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.deck-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 45;
}

.nav-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.nav-btn:disabled { opacity: 0.3; cursor: default; }
.nav-btn:disabled:hover { background: #fff; color: var(--ink); }

.dots {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
  min-width: 0;
  padding: 4px 2px;
}

.dots::-webkit-scrollbar { display: none; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.dot.is-active { background: var(--red); transform: scale(1.3); }

.slide-count {
  position: absolute;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

@media (max-width: 1000px) {
  .slide { padding: 36px 26px 130px; }
  .content--split { grid-template-columns: 1fr; gap: 26px; }
  .cover-grid { grid-template-columns: 1fr; text-align: center; }
  .cover-copy { align-items: center; }
  .start-btn { align-self: center; }
  .cover-title { font-size: 50px; }
  .toc-grid { grid-template-columns: repeat(2, 1fr); }
  .flip-grid, .flip-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rule-grid { grid-template-columns: 1fr; }
  .term-grid { grid-template-columns: repeat(2, 1fr); }
  .term-grid--3 { grid-template-columns: 1fr; }
  .roster-grid { grid-template-columns: repeat(2, 1fr); }
  .org-tier { flex-wrap: wrap; gap: 20px; }
  .branch-charts { flex-direction: column; align-items: stretch; }
  .org-tier--support { gap: 18px; }
  .org-tier--support .org-node { width: 130px; }
  .slide-count { display: none; }
}

@media (max-width: 640px) {
  .slide { padding: 24px 16px 128px; }
  .slide-head { gap: 10px; margin-bottom: 26px; padding-bottom: 12px; flex-wrap: wrap; }
  .slug-title { font-size: 13px; letter-spacing: 0.08em; }

  .cover-title { font-size: 34px; }
  .cover-sub { font-size: 17px; }
  .cover-motto { font-size: 16px; }
  .cover-logo { max-width: 170px; }
  .dateline { font-size: 10.5px; margin-bottom: 20px; }
  .cover-footer span { font-size: 10px; }

  .headline { font-size: 28px; }
  .lead { font-size: 16px; }
  .sub-head { font-size: 17px; }

  .toc-grid { grid-template-columns: 1fr; gap: 10px; }
  .toc-item { padding: 12px 14px; }
  .toc-item span.toc-label { font-size: 15px; }

  .flip-grid, .flip-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flip-card { height: 200px; }
  .flip-front h4 { font-size: 16px; }
  .flip-back p { font-size: 13.5px; }

  .term-grid, .term-grid--3 { grid-template-columns: 1fr; gap: 12px; }

  .quote-block p, .filing-box p { font-size: 15.5px; }
  .check-list li, .check-list--lg li { font-size: 16px; }

  .rule { padding: 14px; gap: 10px; }
  .rule p { font-size: 15px; }

  .tabs { gap: 6px; }
  .tab-btn { font-size: 13px; padding: 8px 14px; }
  .offense-desc--lg { font-size: 16px; }
  .penalty-list--lg { font-size: 15.5px; }

  .quiz-question { font-size: 20px; }
  .quiz-option { font-size: 15px; padding: 12px 14px; }
  .quiz-feedback { font-size: 14.5px; }
  .quiz-score-big { font-size: 34px; }

  .roster-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .roster-card { padding: 8px 10px; }
  .roster-card h5 { font-size: 11.5px; }
  .roster-card p { font-size: 10.5px; }

  .org-chart { gap: 14px; }
  .org-tier { gap: 18px; }
  .org-avatar { width: 50px; height: 50px; font-size: 20px; }
  .org-role { font-size: 10px; }
  .org-tier--support { gap: 14px; }
  .org-tier--support .org-node { width: 110px; }
  .org-desc { font-size: 10px; }

  .branch-charts { gap: 20px; }
  .branch-row { gap: 0; flex-direction: column; align-items: center; min-width: 0; }
  .branch {
    border-right: none;
    border-bottom: 1px dashed var(--line);
    padding: 0 0 16px;
    margin-bottom: 16px;
    width: 100%;
  }
  .branch:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .mini-tier { gap: 16px; }
  .mini-node { width: 82px; }
  .mini-avatar { width: 38px; height: 38px; font-size: 15px; }
  .mini-role { font-size: 9.5px; }

  .ticker { bottom: 52px; height: 26px; }
  .ticker-track { gap: 36px; font-size: 10.5px; }
  .deck-nav { height: 52px; gap: 10px; padding: 0 8px; }
  .nav-btn { width: 30px; height: 30px; font-size: 13px; }
  .dots { gap: 5px; }
}