:root {
  --paper: oklch(0.985 0.006 95);
  --paper-2: oklch(0.955 0.014 93);
  --ink: oklch(0.16 0.085 269);
  --navy: oklch(0.24 0.11 269);
  --navy-2: oklch(0.33 0.12 268);
  --gold: oklch(0.86 0.18 88);
  --gold-2: oklch(0.78 0.16 82);
  --red: oklch(0.58 0.18 28);
  --green: oklch(0.62 0.14 150);
  --blue: oklch(0.56 0.13 246);
  --line: oklch(0.18 0.085 269);
  --muted: oklch(0.42 0.04 263);
  --shadow: 10px 10px 0 var(--line);
  --shadow-small: 5px 5px 0 var(--line);
  --rail-collapsed: 24px;
  --rail-open: 300px;
  --radius: 0;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  height: 100%;
  min-height: 100vh;
  background:
    linear-gradient(90deg, oklch(0.18 0.08 269 / 0.09) 1px, transparent 1px),
    linear-gradient(0deg, oklch(0.18 0.08 269 / 0.09) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  overflow: hidden;
}

button {
  color: inherit;
  font: inherit;
}

.deck-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: var(--rail-collapsed) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}

.side-rail {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  width: var(--rail-collapsed);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: var(--gold);
  border-right: 5px solid var(--navy);
  overflow: hidden;
  min-width: 0;
  max-width: none;
  transition:
    width 260ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.side-rail:hover,
.side-rail:focus-within {
  width: var(--rail-open);
  box-shadow: 12px 0 0 var(--line);
}

.side-rail::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 5px;
  bottom: 22px;
  width: 4px;
  background: var(--navy);
  border: 2px solid var(--line);
  pointer-events: none;
  transition: opacity 160ms ease-out;
}

.side-rail:hover::after,
.side-rail:focus-within::after {
  opacity: 0;
}

.brand-lockup,
.progress-panel,
.rail-note,
.rail-actions button,
.nav-item,
.slide-card,
.control-bar button,
.speaker-note,
.slide-card article,
.table-wrap,
.punch-card,
.cover-mark,
.closing-stamp {
  border: 3px solid var(--line);
  box-shadow: var(--shadow-small);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--paper);
  min-width: 0;
  transition: padding 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-lockup img {
  width: 48px;
  height: 48px;
  border: 3px solid var(--line);
  background: var(--navy);
}

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-lockup div,
.counter-row b,
.nav-item strong,
.rail-actions,
.rail-note {
  transition:
    opacity 180ms ease-out,
    transform 180ms ease-out;
}

.brand-lockup strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
}

.brand-lockup span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-panel {
  padding: 14px;
  background: var(--navy);
  color: var(--paper);
  min-width: 0;
}

.counter-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}

.counter-row b {
  color: var(--paper);
  text-transform: uppercase;
}

.progress-track {
  height: 14px;
  margin-top: 12px;
  background: var(--paper);
  border: 3px solid var(--line);
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  transition: width 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-nav {
  display: grid;
  gap: 9px;
  overflow: auto;
  padding: 0 6px 8px 0;
  min-width: 0;
  max-width: 100%;
}

.nav-item {
  min-height: 40px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 9px;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
  transform: translate(0, 0);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}

.nav-item:hover,
.nav-item.active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--line);
}

.nav-item.active {
  background: var(--navy);
  color: var(--paper);
}

.nav-item span {
  color: var(--gold-2);
  font-weight: 900;
  font-size: 12px;
}

.nav-item.active span {
  color: var(--gold);
}

.nav-item strong {
  font-size: 12px;
  line-height: 1.2;
}

.rail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 0;
}

.rail-actions button {
  min-height: 38px;
  min-width: 0;
  background: var(--paper);
  font-weight: 900;
  cursor: pointer;
}

.rail-actions button.active {
  background: var(--navy);
  color: var(--gold);
}

.rail-note {
  margin-top: auto;
  padding: 12px;
  background: var(--paper);
  min-width: 0;
}

.rail-note span {
  display: block;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rail-note strong {
  display: block;
  margin-top: 5px;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (min-width: 1101px) {
  .side-rail:not(:hover):not(:focus-within) {
    gap: 0;
    padding: 0;
  }

  .side-rail:not(:hover):not(:focus-within) .brand-lockup,
  .side-rail:not(:hover):not(:focus-within) .brand-lockup div,
  .side-rail:not(:hover):not(:focus-within) .brand-lockup img,
  .side-rail:not(:hover):not(:focus-within) .progress-panel,
  .side-rail:not(:hover):not(:focus-within) .slide-nav,
  .side-rail:not(:hover):not(:focus-within) .counter-row b,
  .side-rail:not(:hover):not(:focus-within) .nav-item,
  .side-rail:not(:hover):not(:focus-within) .nav-item strong,
  .side-rail:not(:hover):not(:focus-within) .rail-actions,
  .side-rail:not(:hover):not(:focus-within) .rail-note {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-14px);
  }
}

.stage {
  height: 100vh;
  display: grid;
  place-items: center;
  padding: 26px clamp(16px, 2.8vw, 44px);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.slide-card {
  width: 100%;
  height: calc(100vh - 52px);
  min-height: 0;
  max-height: calc(100vh - 52px);
  position: relative;
  background: var(--paper);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow);
  animation: enter 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
  overflow: hidden;
  --fit-scale: 1;
  --fit-offset-y: 0px;
}

.slide-fit {
  width: 100%;
  transform: translateY(var(--fit-offset-y)) scale(var(--fit-scale));
  transform-origin: top center;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translate(14px, 14px) rotate(0.35deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes punchIn {
  0% {
    opacity: 0;
    transform: translate(16px, 16px) scale(0.98);
    box-shadow: 0 0 0 var(--line);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    box-shadow: var(--shadow-small);
  }
}

@keyframes ticker {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 102px 0;
  }
}

.slide-card::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  height: 18px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 34px, var(--gold) 34px 68px, var(--paper) 68px 102px);
  background-size: 102px 18px;
  border-bottom: 3px solid var(--line);
  animation: ticker 9s linear infinite;
}

.slide-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 10px 0 18px;
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.slide-topline span,
.slide-topline b {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 3px solid var(--line);
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--line);
  font-size: 12px;
}

.slide-topline b {
  background: var(--paper-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 100%;
  margin-bottom: 22px;
  color: var(--navy);
  font-family: "Archivo Black", Impact, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(45px, 6.5vw, 84px);
  line-height: 0.92;
}

h2 {
  font-size: clamp(34px, 4.55vw, 60px);
  line-height: 0.98;
}

.slide-card .slide-topline,
.slide-card h1,
.slide-card h2,
.slide-card .lead,
.slide-card .subtitle,
.slide-card .chip-row,
.slide-card .caption {
  animation: revealUp 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide-card h1,
.slide-card h2 {
  animation-delay: 55ms;
}

.slide-card .lead,
.slide-card .subtitle {
  animation-delay: 110ms;
}

.slide-card .chip-row,
.slide-card .caption {
  animation-delay: 180ms;
}

.slide-card article,
.table-wrap,
.punch-card,
.cover-mark,
.closing-stamp {
  animation: punchIn 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide-card article:nth-of-type(2) {
  animation-delay: 55ms;
}

.slide-card article:nth-of-type(3) {
  animation-delay: 95ms;
}

.slide-card article:nth-of-type(4) {
  animation-delay: 135ms;
}

.slide-card article:nth-of-type(5) {
  animation-delay: 175ms;
}

.slide-card article:nth-of-type(6),
.slide-card article:nth-of-type(7),
.slide-card article:nth-of-type(8) {
  animation-delay: 215ms;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.08;
}

.lead,
.subtitle {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.lead.wide {
  max-width: 1000px;
}

.subtitle {
  color: var(--navy);
  font-weight: 900;
  text-transform: uppercase;
}

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 340px;
  gap: 28px;
  align-items: stretch;
}

.cover-mark {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  background: var(--navy);
  color: var(--paper);
}

.cover-mark img {
  width: 170px;
  height: 170px;
  margin-bottom: auto;
  border: 3px solid var(--line);
  background: var(--navy);
}

.cover-mark b {
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  background: var(--gold);
  color: var(--navy);
  border: 3px solid var(--line);
}

.cover-mark strong {
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}

.chip-row,
.focus-row,
.purpose-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chip-row span,
.focus-row span,
.purpose-row span {
  border: 3px solid var(--line);
  background: var(--gold);
  color: var(--navy);
  padding: 8px 11px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--line);
}

.split-layout,
.profile-layout,
.link-layout,
.table-plus,
.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.bullet-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding: 10px 12px 10px 38px;
  background: var(--paper-2);
  border: 3px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 3px solid var(--line);
}

.punch-card {
  display: flex;
  align-items: end;
  min-height: 320px;
  padding: 24px;
  background: var(--navy);
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.manifesto-grid,
.card-grid,
.issue-grid,
.recommendation-grid,
.channel-wall,
.stat-wall,
.function-grid,
.function-groups,
.people-grid,
.flow-lane,
.mega-flow {
  display: grid;
  gap: 14px;
}

.manifesto-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.manifesto-grid article,
.issue-grid article,
.recommendation-grid article {
  min-height: 120px;
  padding: 18px;
  background: var(--paper-2);
}

.manifesto-grid article:nth-child(odd),
.recommendation-grid article:nth-child(odd) {
  background: var(--gold);
}

.manifesto-grid span,
.issue-grid span,
.recommendation-grid span {
  display: block;
  color: var(--navy);
  font-weight: 900;
  font-size: 12px;
}

.manifesto-grid strong,
.issue-grid strong,
.recommendation-grid strong {
  display: block;
  margin-top: 22px;
  color: var(--navy);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.channel-wall {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel-wall article,
.function-grid article,
.people-grid article,
.function-groups article {
  padding: 18px;
  background: var(--paper-2);
}

.channel-wall article:nth-child(1),
.channel-wall article:nth-child(4),
.channel-wall article:nth-child(7) {
  background: var(--navy);
  color: var(--paper);
}

.channel-wall article:nth-child(2),
.channel-wall article:nth-child(5) {
  background: var(--gold);
}

.channel-wall span,
.stat-wall span,
.news-title span,
.link-grid span,
.profile-layout aside span,
.people-grid span {
  display: block;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-wall article:nth-child(2) span,
.channel-wall article:nth-child(5) span {
  color: var(--navy);
}

.channel-wall strong {
  display: block;
  margin: 10px 0;
  color: inherit;
  font-size: 21px;
  overflow-wrap: anywhere;
}

.channel-wall p,
.function-grid p,
.people-grid p,
.issue-grid p {
  color: inherit;
  line-height: 1.45;
  margin-bottom: 0;
}

.stat-wall {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 20px;
}

.stat-wall article {
  min-height: 190px;
  padding: 18px;
  background: var(--paper-2);
}

.stat-wall article:nth-child(1) {
  background: var(--gold);
}

.stat-wall article:nth-child(3) {
  background: var(--navy);
  color: var(--paper);
}

.stat-wall article:nth-child(3) strong,
.stat-wall article:nth-child(3) span {
  color: var(--gold);
}

.stat-wall strong {
  display: block;
  margin: 30px 0 12px;
  color: var(--navy);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 38px;
  line-height: 0.95;
}

.stat-wall p,
.caption {
  color: var(--muted);
  line-height: 1.45;
}

.caption {
  margin: 18px 0 0;
  font-weight: 800;
}

.function-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-hub {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
}

.team-overview,
.member-stage {
  min-width: 0;
}

.team-function-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.team-function-strip article {
  min-height: 92px;
  padding: 13px;
  background: var(--paper-2);
}

.team-function-strip article:nth-child(2),
.team-function-strip article:nth-child(3) {
  background: var(--gold);
}

.team-function-strip span,
.member-counter,
.member-label > span {
  display: block;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-function-strip article:nth-child(2) span,
.team-function-strip article:nth-child(3) span {
  color: var(--navy);
}

.team-function-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  line-height: 1.25;
}

.member-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.member-tabs button,
.member-controls button {
  border: 3px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-small);
  cursor: pointer;
  font-weight: 900;
  transform: translate(0, 0);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, background 160ms ease-out;
}

.member-tabs button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 6px;
  align-items: center;
  padding: 8px;
  text-align: left;
}

.member-tabs button:hover,
.member-tabs button.active,
.member-controls button:hover {
  transform: translate(4px, 4px);
  box-shadow: 1px 1px 0 var(--line);
}

.member-tabs button.active {
  background: var(--navy);
  color: var(--gold);
}

.member-tabs span {
  color: var(--gold-2);
  font-size: 11px;
}

.member-stage {
  position: relative;
}

.member-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.member-counter {
  width: fit-content;
  padding: 6px 9px;
  background: var(--gold);
  color: var(--navy);
  border: 3px solid var(--line);
  box-shadow: var(--shadow-small);
}

.member-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 18px;
  background: var(--paper);
  border: 3px solid var(--line);
  box-shadow: var(--shadow);
  animation: memberSlide 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes memberSlide {
  from {
    opacity: 0;
    transform: translateX(20px) rotate(0.45deg);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.member-identity {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 0;
  aspect-ratio: var(--photo-ratio, 3 / 4);
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
  border: 3px solid var(--line);
}

.member-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--gold) 0 46%, var(--paper) 46% 100%);
}

.member-photo img,
.member-photo span {
  grid-area: 1 / 1;
}

.member-photo img {
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.member-photo span {
  color: var(--navy);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 1;
  letter-spacing: 0;
}

.member-label {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 14px 14px;
  background:
    linear-gradient(180deg, transparent 0%, oklch(0.18 0.085 269 / 0.86) 52%, var(--navy) 100%);
}

.member-identity h3 {
  margin: 8px 0 8px;
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: clamp(25px, 2.55vw, 34px);
  line-height: 0.98;
  text-transform: uppercase;
}

.member-identity p {
  margin: 0;
  color: var(--paper);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.member-detail {
  min-width: 0;
}

.member-detail .focus-row {
  margin-top: 0;
  margin-bottom: 14px;
}

.member-detail .bullet-list li {
  padding: 8px 10px 8px 30px;
}

.member-detail .bullet-list li::before {
  left: 9px;
  top: 13px;
  width: 9px;
  height: 9px;
}

.member-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.member-controls button {
  width: 40px;
  height: 36px;
  padding: 0;
  background: var(--gold);
  color: var(--navy);
}

.function-grid article:nth-child(2n) {
  background: var(--gold);
}

.function-grid h3,
.people-grid h3,
.function-groups h3 {
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
}

.function-grid .bullet-list li,
.people-grid .bullet-list li {
  padding: 7px 8px 7px 26px;
  border-width: 2px;
  font-size: 13px;
}

.function-grid .bullet-list li::before,
.people-grid .bullet-list li::before {
  left: 8px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-width: 2px;
}

.table-wrap {
  max-height: 470px;
  overflow: auto;
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 12px;
  border: 3px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}

td {
  background: var(--paper-2);
  line-height: 1.4;
}

tbody tr:nth-child(even) td {
  background: oklch(0.975 0.01 91);
}

.function-groups {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.function-groups article:nth-child(1),
.function-groups article:nth-child(4) {
  background: var(--navy);
  color: var(--paper);
}

.function-groups article:nth-child(2) {
  background: var(--gold);
}

.function-groups div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 3px solid currentColor;
}

.function-groups span {
  font-weight: 800;
}

.function-groups strong {
  text-align: right;
}

.profile-layout aside {
  padding: 24px;
  background: var(--navy);
  color: var(--paper);
  border: 3px solid var(--line);
  box-shadow: var(--shadow-small);
}

.profile-layout aside h3 {
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 38px;
  text-transform: uppercase;
}

.profile-layout aside p {
  margin: 0;
  font-weight: 900;
  line-height: 1.45;
}

.people-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.people-grid article:nth-child(2) {
  background: var(--gold);
}

.flow-lane {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.flow-lane article {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: var(--paper-2);
}

.flow-lane article:nth-child(odd) {
  background: var(--gold);
}

.flow-lane span,
.mega-flow span,
.step-stack span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  background: var(--navy);
  color: var(--gold);
  border: 3px solid var(--line);
  font-weight: 900;
}

.flow-lane h3 {
  margin-top: 54px;
  font-family: "Archivo Black", Impact, sans-serif;
  text-transform: uppercase;
}

.flow-lane p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.mega-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-flow article {
  min-height: 145px;
  padding: 18px;
  background: var(--paper-2);
}

.mega-flow article:nth-child(3n + 1) {
  background: var(--gold);
}

.mega-flow strong {
  display: block;
  margin-top: 24px;
  color: var(--navy);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.table-plus {
  grid-template-columns: 0.9fr 1.1fr;
}

.step-stack {
  display: grid;
  gap: 10px;
}

.step-stack article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--gold);
}

.step-stack span {
  margin: 0;
}

.step-stack strong {
  color: var(--navy);
}

.issue-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.issue-grid article:nth-child(5) {
  background: var(--red);
  color: var(--paper);
}

.issue-grid article:nth-child(5) strong,
.issue-grid article:nth-child(5) span {
  color: var(--paper);
}

.issue-grid p {
  margin-top: 12px;
}

.link-layout {
  grid-template-columns: 0.78fr 1.22fr;
}

.news-title {
  padding: 22px;
  background: var(--navy);
  color: var(--paper);
}

.news-title strong {
  display: block;
  margin-top: 20px;
  color: var(--gold);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 24px;
  line-height: 1.12;
  text-transform: uppercase;
}

.link-grid {
  display: grid;
  gap: 8px;
}

.link-grid article {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: var(--paper-2);
}

.link-grid code {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.purpose-row {
  grid-column: 1 / -1;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: question;
}

.question-list li {
  min-height: 86px;
  position: relative;
  padding: 16px 16px 16px 62px;
  background: var(--paper-2);
  border: 3px solid var(--line);
  box-shadow: var(--shadow-small);
  color: var(--navy);
  font-weight: 900;
  line-height: 1.35;
  counter-increment: question;
}

.question-list li::before {
  content: counter(question, decimal-leading-zero);
  position: absolute;
  left: 12px;
  top: 13px;
  color: var(--gold-2);
  font-family: "Archivo Black", Impact, sans-serif;
}

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

.recommendation-grid article:nth-child(7) {
  grid-column: span 2;
  background: var(--navy);
}

.recommendation-grid article:nth-child(7) strong,
.recommendation-grid article:nth-child(7) span {
  color: var(--gold);
}

.closing-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: end;
}

.closing-stamp {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--gold);
  color: var(--navy);
  font-family: "Archivo Black", Impact, sans-serif;
  font-size: 46px;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.speaker-note {
  display: none;
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--paper);
}

.speaker-note.open {
  display: block;
}

.speaker-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.speaker-note p {
  margin: 0;
  line-height: 1.45;
}

.control-bar {
  position: fixed;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 10px;
  z-index: 20;
}

.control-bar button {
  width: 50px;
  height: 50px;
  background: var(--navy);
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

body.compact-mode .slide-card {
  min-height: auto;
}

body.compact-mode h2 {
  font-size: clamp(29px, 3.4vw, 46px);
}

body.compact-mode .lead {
  font-size: 15px;
}

body.compact-mode .table-wrap {
  max-height: 560px;
}

@media (max-width: 1100px) {
  .deck-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .side-rail {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 4px solid var(--line);
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  .side-rail:hover,
  .side-rail:focus-within {
    width: 100%;
    box-shadow: none;
  }

  .slide-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 12px;
    width: 100%;
  }

  .nav-item {
    min-width: 128px;
  }

  .stage {
    padding: 22px;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .cover-grid,
  .split-layout,
  .profile-layout,
  .link-layout,
  .table-plus,
  .closing-layout,
  .team-hub,
  .member-card {
    grid-template-columns: 1fr;
  }

  .channel-wall,
  .stat-wall,
  .function-grid,
  .function-groups,
  .people-grid,
  .team-function-strip,
  .flow-lane,
  .mega-flow,
  .issue-grid,
  .question-list,
  .recommendation-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .flow-lane article {
    min-height: 190px;
  }

  .flow-lane h3 {
    margin-top: 24px;
  }

  .recommendation-grid article:nth-child(7) {
    grid-column: auto;
  }

  .cover-mark {
    min-height: 300px;
  }

  .link-grid article {
    grid-template-columns: 1fr;
  }

  .member-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .side-rail,
  .stage {
    padding: 14px;
  }

  .slide-card {
    padding: 22px 16px;
    min-height: auto;
    box-shadow: 6px 6px 0 var(--line);
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead,
  .subtitle {
    font-size: 15px;
  }

  .slide-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-wrap {
    max-height: 520px;
  }

  th,
  td {
    padding: 9px;
    font-size: 12px;
  }

  .control-bar {
    right: 14px;
    bottom: 14px;
  }

  .speaker-note {
    position: static;
    margin-top: 16px;
  }

  .member-tabs {
    grid-template-columns: 1fr;
  }

  .member-controls {
    flex-direction: column;
  }
}

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