@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --cloud-white: #f8faf9;
  --mineral-mist: #e5e9e8;
  --ink: #202724;
  --cabernet: #782434;
  --pine: #355744;
  --winter-sky: #7095b3;
  --rule: #c6ceca;
  --muted-ink: #59665f;
  --stage-shadow: 0 24px 80px rgb(0 0 0 / 28%);
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html.details-open,
html.details-open body {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  background: #111613;
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: var(--pine);
}

.deck {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.deck.details-visible {
  display: block;
  height: auto;
  min-height: 100vh;
  background: var(--cloud-white);
}

.stage {
  position: relative;
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  overflow: hidden;
  background: var(--cloud-white);
  box-shadow: var(--stage-shadow);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  min-width: 0;
  min-height: 0;
  padding: clamp(28px, 4.2vw, 76px);
  background: var(--cloud-white);
  overflow: hidden;
}

.slide[hidden] {
  display: none;
}

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

h1,
h2,
h3,
strong {
  font-weight: 500;
}

h1 {
  max-width: 18ch;
  margin-bottom: clamp(10px, 1.2vw, 20px);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 5.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: .45em;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1rem, 1.55vw, 1.8rem);
  line-height: 1.12;
}

p,
blockquote {
  font-size: clamp(.78rem, 1.18vw, 1.35rem);
  line-height: 1.38;
}

.eyebrow,
.slide-folio,
.coordinate,
.source-links,
.keyboard-help {
  font-size: clamp(.58rem, .72vw, .85rem);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: .7em;
  color: var(--muted-ink);
  font-size: clamp(.78rem, 1.05vw, 1.2rem);
  font-weight: 500;
  white-space: nowrap;
}

.slide-heading {
  align-self: start;
  width: 100%;
}

.slide-heading h1 {
  max-width: none;
  font-size: clamp(2rem, 3.2vw, 4rem);
  line-height: 1;
  text-wrap: balance;
}

.slide-heading.section-only h1 {
  margin-bottom: 0;
}

.slide-folio {
  position: absolute;
  right: clamp(28px, 4.2vw, 76px);
  bottom: clamp(18px, 2.2vw, 34px);
  color: var(--muted-ink);
}

.hero-slide {
  padding: 0;
  background: var(--ink);
  color: var(--cloud-white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: right center;
}

.hero-shade {
  background: linear-gradient(90deg, rgb(9 16 21 / 92%) 0%, rgb(9 16 21 / 72%) 32%, rgb(9 16 21 / 14%) 61%, transparent 82%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: start;
  width: min(48%, 760px);
  margin: clamp(34px, 6vw, 104px);
}

.hero-content .eyebrow {
  color: var(--winter-sky);
}

.hero-content h1 {
  max-width: 9ch;
  color: var(--cloud-white);
  font-size: clamp(2.8rem, 6.4vw, 7.5rem);
}

.hero-content blockquote {
  max-width: 36ch;
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--cabernet);
  color: var(--mineral-mist);
}

.coordinate {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.coordinate span {
  padding: .38rem .55rem;
  border: 1px solid rgb(248 250 249 / 30%);
  background: rgb(32 39 36 / 58%);
}

.hero-slide .slide-folio {
  z-index: 2;
  color: rgb(248 250 249 / 68%);
}

.content-slide {
  grid-template-rows: auto 1fr auto;
  gap: clamp(16px, 2vw, 32px);
}

.content-cards {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 22px) clamp(24px, 3vw, 52px);
  min-height: 0;
}

.content-cards.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-cards.four-up {
  justify-self: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 48px) clamp(48px, 5.2vw, 96px);
  width: min(100%, 86rem);
}

.content-cards.four-up .content-card {
  min-height: clamp(13rem, 25vh, 19rem);
}

.content-cards.five-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-cards.item-count-1 {
  justify-self: center;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 70rem);
}

.content-cards.item-count-1 .content-card {
  min-height: clamp(12rem, 28vh, 20rem);
}

.content-cards.item-count-1 .content-card h3 {
  font-size: clamp(2.25rem, 3.3vw, 3.75rem);
}

.content-cards.item-count-2 .content-card h3 {
  font-size: clamp(1.9rem, 2.8vw, 3.1rem);
}

.content-cards.item-count-3 .content-card h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
}

.content-cards.item-count-4 .content-card h3 {
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
}

.content-cards.item-count-5-plus .content-card h3 {
  font-size: clamp(1.1rem, 1.55vw, 1.85rem);
}

.content-cards.five-up .content-card {
  padding: clamp(12px, 1.45vw, 24px);
}

.content-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(16px, 2vw, 32px);
  background: var(--mineral-mist);
  border-top: 4px solid var(--winter-sky);
}

.content-card:nth-child(2n) {
  border-top-color: var(--pine);
}

.facts-slide .content-card:last-child,
.public-slide .content-card:first-child {
  border-top-color: var(--cabernet);
}

.card-index {
  margin-bottom: .55rem;
  color: var(--cabernet);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1rem, 1.55vw, 1.8rem);
  font-weight: 500;
}

.content-card h3 {
  margin: auto 0;
}

.opinion-cards h3 {
  font-weight: 400;
}

.opinion-cards h3 strong,
.opinion-cards h3 span {
  display: block;
  font-size: inherit;
  line-height: inherit;
}

.opinion-cards h3 span {
  margin-top: .28em;
  font-weight: 400;
}

.actions-cards.five-up {
  gap: clamp(18px, 2vw, 34px);
}

.actions-cards .content-card {
  justify-content: center;
  min-height: clamp(7.5rem, 14vh, 11rem);
  padding: clamp(18px, 2vw, 32px);
}

.actions-cards .card-index {
  margin-bottom: .8rem;
}

.actions-cards h3 {
  margin: 0;
}

.list-slide {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.presentation-list {
  align-self: center;
  display: grid;
  gap: clamp(.55rem, 1.05vh, 1rem);
  width: min(100%, 88rem);
  margin: 0 auto;
  padding-left: clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--ink);
}

.presentation-list li {
  padding-left: .35rem;
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.2;
}

.presentation-list.item-count-1 li {
  font-size: clamp(2.25rem, 3.3vw, 3.75rem);
}

.presentation-list.item-count-2 li {
  font-size: clamp(1.9rem, 2.8vw, 3.1rem);
}

.presentation-list.item-count-3 li {
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
}

.presentation-list.item-count-4 li {
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
}

.presentation-list.item-count-5-plus li {
  font-size: clamp(1.1rem, 1.55vw, 1.85rem);
}

.presentation-list li::marker {
  color: var(--cabernet);
}

.source-groups {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .35rem 1rem;
  max-width: calc(100% - 9rem);
  color: var(--muted-ink);
  font-size: clamp(.55rem, .68vw, .8rem);
}

.source-group {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: .3rem;
  min-width: 0;
}

.source-group > span {
  color: var(--cabernet);
  font-weight: 500;
}

.source-group a,
.source-line a {
  color: var(--muted-ink);
  text-decoration: none;
}

.source-line {
  align-self: end;
  max-width: calc(100% - 9rem);
  color: var(--muted-ink);
  font-size: clamp(.55rem, .68vw, .8rem);
}

.chart-slide {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(8px, 1vw, 16px);
}

.chart-slide .slide-heading h1 {
  max-width: none;
  font-size: clamp(1.3rem, 2.1vw, 2.6rem);
}

.chart-slide figure {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: var(--mineral-mist);
}

.chart-slide figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.evidence-visual-slide {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 1.5vw, 24px);
}

.evidence-visual-slide figure {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
}

.evidence-visual-slide figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.visual-note {
  align-self: end;
  max-width: min(88vw, 1200px);
  margin: 0;
  padding-left: .85rem;
  border-left: 3px solid var(--cabernet);
  color: var(--muted-ink);
  font-size: clamp(.72rem, 1vw, 1.12rem);
  line-height: 1.35;
}

.defence-slide {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.defence-stack {
  align-self: center;
  display: grid;
  gap: clamp(8px, 1.1vw, 16px);
  min-height: 0;
}

.defence-card {
  display: grid;
  grid-template-columns: minmax(10rem, .7fr) minmax(12rem, 1fr) minmax(18rem, 1.45fr);
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  min-height: clamp(5.4rem, 10.5vh, 7.6rem);
  padding: clamp(12px, 1.5vw, 22px);
  border-left: 5px solid var(--winter-sky);
  background: var(--mineral-mist);
}

.defence-card:nth-child(2n) {
  border-left-color: var(--pine);
}

.defence-card:nth-child(3) {
  border-left-color: var(--cabernet);
}

.defence-layer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: .8rem;
}

.defence-layer span {
  color: var(--cabernet);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 2.8rem);
}

.defence-layer h2,
.defence-card p {
  margin: 0;
}

.defence-layer h2 {
  font-size: clamp(1.3rem, 2vw, 2.25rem);
}

.defence-card p {
  font-size: clamp(.9rem, 1.35vw, 1.5rem);
  line-height: 1.25;
}

.defence-examples {
  color: var(--muted-ink);
}

.defence-table-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.evidence-stat-slide {
  grid-template-rows: auto 1fr auto;
  gap: clamp(18px, 2.4vw, 40px);
}

.evidence-stat-slide .slide-heading h1 {
  line-height: 1.03;
}

.evidence-stats {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

.evidence-stats article {
  display: grid;
  align-content: center;
  min-height: 13rem;
  padding: clamp(20px, 3vw, 48px);
  background: var(--mineral-mist);
  border-top: 5px solid var(--cabernet);
}

.evidence-stats article:last-child {
  border-top-color: var(--pine);
}

.evidence-stats strong {
  color: var(--cabernet);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(3.6rem, 8vw, 9rem);
  font-weight: 400;
  line-height: .9;
}

.evidence-stats article:last-child strong {
  color: var(--pine);
}

.evidence-stats span {
  margin-top: 1rem;
  font-size: clamp(1.1rem, 1.75vw, 2rem);
}

.stat-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.stat-context,
.stat-qualification {
  display: block;
  margin-top: clamp(.65rem, 1vw, 1rem);
  color: var(--muted-ink);
  font-size: clamp(.78rem, 1.05vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.stat-qualification {
  padding-left: .8rem;
  border-left: 3px solid var(--cabernet);
  letter-spacing: 0;
  text-transform: none;
}

.single-stat-slide .evidence-stats {
  justify-self: center;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 92rem);
  min-height: clamp(13rem, 25vh, 17rem);
  height: auto;
}

.single-stat-slide .evidence-stats article {
  grid-template-columns: minmax(13rem, 18rem) minmax(30rem, 48rem);
  column-gap: clamp(28px, 3.5vw, 64px);
  justify-content: center;
  align-items: center;
  min-height: clamp(13rem, 25vh, 17rem);
  height: auto;
  padding: clamp(24px, 3vw, 48px);
  border-top-width: 8px;
}

.single-stat-slide .evidence-stats strong {
  font-size: clamp(5rem, 7.5vw, 8.5rem);
}

.single-stat-slide .evidence-stats span {
  margin-top: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.05;
  text-wrap: balance;
}

.single-stat-slide .stat-context {
  font-size: clamp(1.4rem, 1.9vw, 2.2rem);
  line-height: 1.15;
}

.single-stat-slide .stat-qualification {
  font-size: clamp(1.4rem, 1.9vw, 2.2rem);
  line-height: 1.15;
}

.consensus-grid {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 4vw, 72px);
}

.consensus-grid article {
  min-height: 20rem;
  padding: clamp(20px, 2.8vw, 44px);
  background: var(--mineral-mist);
  border-top: 5px solid var(--winter-sky);
}

.consensus-grid article:last-child {
  border-top-color: var(--pine);
}

.consensus-grid h2 {
  margin-bottom: 1.4rem;
}

.consensus-grid p,
.consensus-grid ul {
  margin: 0;
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.15rem, 1.65vw, 1.9rem);
  line-height: 1.25;
}

.consensus-grid ul {
  display: grid;
  gap: clamp(.8rem, 1.2vw, 1.3rem);
  padding-left: 1.25rem;
}

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

.grouped-consensus article {
  min-height: 18rem;
}

.grouped-consensus h2 {
  font-size: clamp(1.8rem, 3vw, 3.35rem);
}

.grouped-consensus ul {
  gap: clamp(.8rem, 1.2vw, 1.3rem);
  color: var(--ink);
  font-size: clamp(1.15rem, 1.65vw, 1.9rem);
  line-height: 1.25;
}

.outcomes {
  align-self: center;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 48px) clamp(64px, 6vw, 112px);
  width: 100%;
}

.outcome-card {
  min-height: clamp(22rem, 48vh, 32rem);
  padding: clamp(20px, 2.8vw, 44px);
  background: var(--mineral-mist);
}

.outcome-card h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(1.8rem, 3vw, 3.6rem);
}

.outcome-card.worst {
  border-top: 5px solid var(--cabernet);
}

.outcome-card.best {
  border-top: 5px solid var(--pine);
}

.outcome-card > p:last-child {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1rem, 1.65vw, 2rem);
  line-height: 1.3;
}

.poll-slide {
  background: linear-gradient(120deg, var(--cloud-white) 0%, var(--cloud-white) 56%, var(--mineral-mist) 56%, var(--mineral-mist) 100%);
}

.poll-body {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, .26fr);
  gap: clamp(14px, 2vw, 30px);
}

.poll-questions {
  display: grid;
  gap: clamp(28px, 3.2vw, 56px);
}

.poll-questions article {
  padding: clamp(22px, 2.6vw, 40px);
  color: var(--cloud-white);
}

.grid-rating {
  align-self: stretch;
  background: var(--pine);
}

.topical-poll {
  background: var(--cabernet);
}

.poll-questions h2 {
  margin: 0;
  color: var(--cloud-white);
  font-size: clamp(1.8rem, 2.8vw, 3.4rem);
}

.poll-questions .card-index {
  color: var(--cloud-white);
}

.poll-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1.4rem;
  margin-top: 1rem;
}

.poll-options div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .6rem;
  align-items: baseline;
  padding-top: .65rem;
  border-top: 1px solid rgb(248 250 249 / 34%);
}

.poll-options span {
  color: var(--winter-sky);
  font-weight: 500;
}

.poll-options p {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.65rem);
}

.poll-qr {
  align-self: stretch;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 1rem;
  border: 3px solid var(--winter-sky);
  background: rgb(248 250 249 / 74%);
  text-align: center;
}

.poll-qr a {
  display: block;
  width: min(13vw, 11rem);
  margin: 0 auto 1rem;
  padding: .4rem;
  background: #fff;
  line-height: 0;
}

.poll-qr img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
}

.poll-qr p {
  margin: 0 0 .35rem;
  color: var(--muted-ink);
  font-weight: 500;
}

.poll-qr > span {
  color: var(--ink);
  font-size: clamp(.72rem, .86vw, 1rem);
  overflow-wrap: anywhere;
}

.slide-source-list {
  align-self: start;
  columns: 2;
  column-gap: 3rem;
  margin: 0;
  padding-left: 1.2rem;
}

.slide-source-list li {
  break-inside: avoid;
  margin: 0 0 .62rem;
  padding-left: .2rem;
  color: var(--muted-ink);
  font-size: clamp(.58rem, .76vw, .9rem);
  line-height: 1.3;
}

.slide-source-list a {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.08em;
  font-weight: 500;
  text-decoration-color: var(--winter-sky);
  text-underline-offset: .15em;
}

.slide-source-list em {
  color: var(--muted-ink);
  font-style: normal;
}

.stub-briefing-slide {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(10px, 1.15vw, 20px);
}

.stub-scope-note {
  margin: 0;
  padding: .62rem .85rem;
  border-left: 4px solid var(--winter-sky);
  background: rgb(112 149 179 / 10%);
  color: var(--muted-ink);
  font-size: clamp(.72rem, .9vw, 1rem);
  line-height: 1.32;
}

.stub-scope-note strong {
  color: var(--ink);
  font-weight: 650;
}

.stub-briefing-copy {
  min-height: 0;
  columns: 2 26rem;
  column-gap: clamp(28px, 3.2vw, 56px);
  column-rule: 1px solid var(--rule);
  color: var(--muted-ink);
  font-size: clamp(.82rem, 1.08vw, 1.16rem);
  line-height: 1.42;
  overflow: hidden;
}

.stub-briefing-copy p {
  margin: 0 0 .78em;
}

.stub-briefing-copy strong {
  color: var(--ink);
  font-weight: 650;
}

.stub-briefing-copy a {
  color: var(--ink);
  text-decoration-color: var(--winter-sky);
  text-underline-offset: .14em;
}

.stub-briefing-copy blockquote {
  break-inside: avoid;
  margin: .35em 0 0;
  padding: .78rem .95rem;
  border-left: 4px solid var(--cabernet);
  background: var(--mineral-mist);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(.9rem, 1.16vw, 1.28rem);
  line-height: 1.34;
}

.map-slide {
  grid-template-rows: auto 1fr;
  gap: clamp(12px, 1.5vw, 26px);
}

.map-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, .65fr);
  column-gap: 2rem;
  align-items: end;
}

.map-heading .eyebrow {
  grid-column: 1;
}

.map-heading h1 {
  grid-column: 1;
  max-width: 16ch;
}

.map-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--cabernet);
  color: var(--muted-ink);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, .35fr);
  gap: clamp(18px, 2.2vw, 36px);
  min-height: 0;
}

.risk-map {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  min-height: 0;
}

.map-field {
  position: relative;
  min-height: 0;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  isolation: isolate;
}

.map-quadrant-layer {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  pointer-events: none;
}

.map-quadrant {
  display: flex;
  padding: clamp(.35rem, .55vw, .65rem);
  background: rgb(229 233 232 / 22%);
  color: var(--muted-ink);
  font-size: clamp(.44rem, .64vw, .7rem);
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.map-quadrant:nth-child(2) {
  justify-content: flex-end;
  background: rgb(229 233 232 / 55%);
  text-align: right;
}

.map-quadrant:nth-child(3) {
  align-items: flex-end;
}

.map-quadrant:nth-child(4) {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.map-field-svg {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.map-midline {
  stroke: var(--muted-ink);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  opacity: .35;
  vector-effect: non-scaling-stroke;
}

.map-leader {
  fill: none;
  stroke: var(--muted-ink);
  stroke-width: 1;
  opacity: .5;
  vector-effect: non-scaling-stroke;
}

.axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted-ink);
  font-size: clamp(.58rem, .72vw, .85rem);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.axis-x {
  grid-column: 2;
  padding-top: .55rem;
}

.axis-y {
  grid-column: 1;
  grid-row: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding-right: .55rem;
}

.map-point {
  position: absolute;
  z-index: 3;
  left: var(--x);
  bottom: var(--y);
  width: 0;
  height: 0;
  translate: var(--dx) var(--dy);
}

.map-point .point-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: .62rem;
  height: .62rem;
  padding: 0;
  border: 1px solid var(--cloud-white);
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 1px var(--pine);
  transform: translate(-50%, -50%);
}

.map-point button.point-mark {
  cursor: pointer;
}

.map-point-label {
  position: absolute;
  left: 1.1rem;
  top: 0;
  width: max-content;
  max-width: 13rem;
  padding: .16rem .36rem;
  background: rgb(248 250 249 / 92%);
  color: var(--ink);
  font-size: clamp(.55rem, .75vw, .86rem);
  font-weight: 500;
  line-height: 1.22;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.map-field.map-labels-ready .map-point .map-point-label {
  opacity: 1;
}

.topic-menu {
  min-width: 0;
  padding-left: clamp(12px, 1.5vw, 24px);
  border-left: 1px solid var(--rule);
  overflow: hidden;
}

.topic-menu-group + .topic-menu-group {
  margin-top: clamp(.58rem, .85vw, .9rem);
}

.topic-menu-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: 0 0 .2rem;
  border-bottom: 2px solid var(--winter-sky);
}

.topic-menu-group-heading strong {
  color: var(--ink);
  font-size: clamp(.66rem, .82vw, .92rem);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.topic-menu-group-heading span {
  color: var(--muted-ink);
  font-size: clamp(.55rem, .68vw, .78rem);
  text-align: right;
}

.topic-menu-group[data-analysis-level="snapshot"] .topic-menu-group-heading {
  border-bottom-color: var(--cabernet);
}

.topic-menu-group[data-analysis-level="map-only"] .topic-menu-group-heading {
  border-bottom-color: var(--rule);
}

.topic-menu-item {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  padding: .25rem 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--muted-ink);
  text-align: left;
}

.topic-menu-item small {
  color: var(--muted-ink);
  font-variant-numeric: tabular-nums;
}

.topic-menu-item.active {
  color: var(--cabernet);
  cursor: pointer;
  font-weight: 500;
}

.detail-reader {
  width: 100%;
  min-height: 100vh;
  padding: clamp(2.5rem, 6vw, 6rem) 1.5rem 8rem;
  background: var(--cloud-white);
}

.detail-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.detail-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.detail-header button {
  flex: 0 0 auto;
  padding: .7rem 1rem;
  border: 1px solid var(--pine);
  background: transparent;
  color: var(--pine);
  cursor: pointer;
}

.detail-copy {
  color: var(--ink);
}

.detail-copy > p,
.detail-copy > blockquote,
.detail-copy li,
.detail-copy td,
.detail-copy th {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
}

.detail-copy > p,
.detail-copy > blockquote,
.detail-list,
.detail-table-wrap,
.detail-figure {
  margin: 0 0 2rem;
}

.detail-copy blockquote {
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--cabernet);
  background: var(--mineral-mist);
}

.detail-list {
  display: grid;
  gap: .9rem;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding-left: 1.3rem;
  border-left: 3px solid var(--winter-sky);
}

.detail-list li.depth-1,
.detail-list li.depth-2 {
  margin-left: 2rem;
  border-left-color: var(--pine);
}

.detail-list li strong:first-child {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.18em;
}

.detail-table-wrap {
  overflow-x: auto;
}

.detail-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table-wrap th,
.detail-table-wrap td {
  padding: .7rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.detail-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--mineral-mist);
}

.detail-figure figcaption {
  margin-top: .6rem;
  color: var(--muted-ink);
  font-size: .9rem;
  line-height: 1.4;
}

.deck-controls {
  position: fixed;
  z-index: 100;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: .35rem;
  opacity: .12;
  transition: opacity 160ms ease;
}

.deck-controls:hover,
.deck-controls:focus-within {
  opacity: 1;
}

.deck-controls button,
.deck-controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  min-height: 2.2rem;
  padding: .45rem .65rem;
  border: 1px solid rgb(248 250 249 / 28%);
  background: rgb(32 39 36 / 88%);
  color: var(--cloud-white);
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

.deck-controls button:focus-visible,
.deck-controls a:focus-visible,
.map-point .point-mark:focus-visible,
.topic-menu-item:focus-visible {
  outline: 3px solid var(--winter-sky);
  outline-offset: 3px;
}

.deck-controls button:disabled {
  cursor: default;
  opacity: .35;
}

.keyboard-help {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  color: rgb(248 250 249 / 36%);
}

@media (max-aspect-ratio: 4 / 3) {
  .map-layout {
    grid-template-columns: 1fr;
  }

  .topic-menu {
    display: none;
  }

  .stub-briefing-copy {
    columns: 1;
    font-size: clamp(.72rem, 1.5vw, 1rem);
  }

  .content-card p {
    display: none;
  }

  .defence-card {
    grid-template-columns: minmax(9rem, .65fr) minmax(0, 1fr);
  }

  .defence-examples {
    grid-column: 1 / -1;
  }

}

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

@media print {
  html,
  body {
    height: auto;
    overflow: visible;
    background: white;
  }

  .stage {
    width: auto;
    height: auto;
    box-shadow: none;
  }

  .slide,
  .slide[hidden] {
    position: relative;
    display: grid;
    width: 297mm;
    height: 167mm;
    break-after: page;
  }

  .deck-controls,
  .keyboard-help,
  .detail-reader,
  .detail-templates {
    display: none !important;
  }
}
