@font-face {
  font-family: "Domaine";
  src: url("assets/Domaine-Display.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Domaine";
  src: url("assets/Domaine-Italic.ttf") format("truetype");
  font-style: italic;
}

@font-face {
  font-family: "Sohne";
  src: url("assets/Sohne-Buch.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Sohne";
  src: url("assets/Sohne-Kraftig.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --paper: #f2efe7;
  --paper-deep: #e8e3d8;
  --ink: #102137;
  --ink-soft: #52606f;
  --rule: #c9c2b5;
  --risk: #b83f2e;
  --gold: #a77832;
  --green: #197052;
  --plum: #34203e;
  --white: #fffdf7;
}

* { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #0b1625;
  color: var(--ink);
  font-family: "Sohne", Arial, sans-serif;
}

html {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#deck {
  width: min(100vw, calc(100vh * 16 / 9));
  aspect-ratio: 16 / 9;
  position: relative;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

.slide {
  display: none;
  position: absolute;
  inset: 0;
  width: 1600px;
  height: 900px;
  transform-origin: top left;
  background:
    linear-gradient(108deg, rgba(255,255,255,.16), transparent 44%),
    var(--paper);
  overflow: hidden;
  padding: 68px 84px 58px;
}

.slide.active { display: block; }

.mast {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 68px;
  height: 42px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
}

.mast img { width: 125px; height: auto; }

.mast span {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 16px;
}

.kicker {
  position: absolute;
  left: 84px;
  top: 163px;
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 17px;
  font-weight: 700;
}

h1, h2 {
  position: absolute;
  left: 84px;
  top: 207px;
  margin: 0;
  color: var(--plum);
  font-family: "Domaine", Georgia, serif;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.025em;
}

h1 { font-size: 78px; }
h2 { font-size: 70px; }
h1 em, h2 em { color: #4b2957; font-weight: 400; }

.lead {
  position: absolute;
  left: 84px;
  top: 371px;
  margin: 0;
  color: var(--risk);
  font-family: "Domaine", Georgia, serif;
  font-size: 34px;
}

footer {
  position: absolute;
  left: 84px;
  right: 84px;
  bottom: 24px;
  height: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  color: #626875;
  font-size: 14px;
}

.notes { display: none; }

.deck-nav {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px;
  border-radius: 22px;
  color: white;
  background: rgba(9, 18, 31, .82);
  backdrop-filter: blur(8px);
}

.deck-nav button {
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.deck-nav span { min-width: 44px; text-align: center; font-size: 13px; }

.export .deck-nav { display: none !important; }

/* Slide 1 */

.loss-file {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 430px;
  display: grid;
  grid-template-columns: 1.1fr 42px 1.15fr 42px 1.1fr 42px 1.12fr 42px 1.12fr;
  align-items: stretch;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.loss-file .event {
  position: relative;
  min-height: 135px;
  padding: 22px 12px 16px 18px;
}

.loss-file .event::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}

.loss-file .event.fault::before,
.loss-file .event.claim::before { background: var(--risk); }

.loss-file .event > span {
  display: block;
  color: var(--risk);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.loss-file .event b { display: block; margin-top: 7px; font-size: 19px; }
.loss-file .event p { margin: 7px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.32; }
.loss-file > i { align-self: center; height: 1px; background: var(--rule); }

.unresolved {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 650px;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  min-height: 74px;
  border: 1px solid var(--risk);
  background: rgba(184, 63, 46, .035);
}

.unresolved span {
  height: 100%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--risk);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 14px;
  font-weight: 700;
}

.unresolved b { padding: 0 26px; font-family: "Domaine", Georgia, serif; font-size: 27px; font-weight: 400; }

/* Slide 2 */

.file-compare {
  position: absolute;
  top: 337px;
  left: 84px;
  right: 84px;
  bottom: 188px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 36px;
}

.file-compare section {
  border-top: 5px solid var(--ink);
  background: rgba(255,255,255,.30);
  padding: 24px 28px;
}

.file-compare .claims-file { border-top-color: var(--risk); }

.file-label { display: flex; justify-content: space-between; align-items: baseline; }
.file-label span { text-transform: uppercase; letter-spacing: .12em; font-size: 15px; font-weight: 700; }
.file-label small { color: var(--ink-soft); font-size: 14px; }

.quote {
  margin: 44px 4px 30px;
  color: var(--plum);
  font-family: "Domaine", Georgia, serif;
  font-size: 32px;
  line-height: 1.2;
}

.file-result {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 17px;
}

.claims-file ol { margin: 20px 0 0; padding: 0; list-style: none; }
.claims-file li { display: grid; grid-template-columns: 1fr 100px; align-items: center; min-height: 49px; border-top: 1px solid var(--rule); }
.claims-file li:first-child { border-top: 0; }
.claims-file li b { font-size: 17px; font-weight: 400; }
.claims-file li span { color: var(--risk); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; text-align: right; text-transform: uppercase; }

.conclusion {
  position: absolute;
  left: 84px;
  right: 84px;
  bottom: 92px;
  margin: 0;
  color: var(--plum);
  font-family: "Domaine", Georgia, serif;
  font-size: 27px;
  text-align: center;
}

/* Slide 3 */

.market-signal {
  position: absolute;
  left: 84px;
  top: 360px;
  width: 475px;
  height: 285px;
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  border-top: 5px solid var(--risk);
  border-bottom: 1px solid var(--rule);
}

.signal-number {
  color: var(--risk);
  font-family: "Domaine", Georgia, serif;
  font-size: 170px;
  line-height: .8;
}

.signal-copy b { font-family: "Domaine", Georgia, serif; font-size: 30px; font-weight: 400; }
.signal-copy p { margin: 15px 0; font-size: 18px; line-height: 1.42; }
.signal-copy small { color: var(--ink-soft); font-size: 13px; line-height: 1.3; }

.evidence-chain {
  position: absolute;
  left: 620px;
  right: 84px;
  top: 391px;
  display: grid;
  grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
  align-items: center;
}

.evidence-chain div { min-height: 155px; padding: 28px 16px 18px; border-top: 2px solid var(--ink); }
.evidence-chain div:nth-of-type(4) { border-top-color: var(--risk); }
.evidence-chain span { display: block; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.evidence-chain b { display: block; margin-top: 20px; color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.1; }
.evidence-chain i { height: 1px; background: var(--rule); }

.chain-caption {
  position: absolute;
  left: 620px;
  right: 84px;
  top: 585px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.4;
}

/* Slide 4 */

.control-path {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 326px;
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr 26px 1.08fr;
  align-items: center;
}

.control-path div { min-height: 110px; padding: 20px 14px; border-top: 2px solid var(--ink); }
.control-path .record-node { color: white; border-top: 0; background: var(--ink); }
.control-path span { display: block; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.control-path .record-node span { color: #bfc9d4; }
.control-path b { display: block; margin-top: 15px; color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 24px; font-weight: 400; }
.control-path .record-node b { color: white; }
.control-path > i { color: var(--gold); font-family: Georgia, serif; font-size: 25px; font-style: normal; text-align: center; }

.record-view {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 495px;
  height: 215px;
  background: var(--ink);
  color: white;
  padding: 22px 26px;
}

.record-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid #506078; }
.record-head span { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; font-weight: 700; }
.record-head small { color: #b7c2d0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.record-view dl { display: grid; grid-template-columns: repeat(6, 1fr); margin: 18px 0 0; }
.record-view dl > div { padding: 0 18px; border-left: 1px solid #506078; }
.record-view dl > div:first-child { padding-left: 0; border-left: 0; }
.record-view dt { color: #aab6c5; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.record-view dd { margin: 10px 0 0; font-size: 15px; line-height: 1.28; }
.record-view dd.accent { color: #f0b258; font-weight: 700; }
.record-view dd.verified { color: #7bd7ad; font-weight: 700; }
.record-view > p { position: absolute; right: 26px; bottom: 15px; margin: 0; color: #aab6c5; font-size: 12px; }

.boundary {
  position: absolute;
  left: 84px;
  right: 84px;
  bottom: 91px;
  display: flex;
  gap: 18px;
  justify-content: center;
  font-size: 17px;
}
.boundary b { color: var(--green); }
.boundary span { color: var(--ink-soft); }

/* Slide 5 */

.schedule {
  position: absolute;
  left: 84px;
  top: 336px;
  width: 1020px;
  height: 403px;
  border: 1px solid #aaa294;
  background: var(--white);
  box-shadow: 8px 10px 0 var(--paper-deep);
}

.schedule-head { height: 62px; padding: 20px 22px; display: flex; justify-content: space-between; background: var(--ink); color: white; }
.schedule-head span { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; font-weight: 700; }
.schedule-head small { color: #b9c3ce; font-size: 13px; }
.schedule-row { min-height: 84px; display: grid; grid-template-columns: 160px 1fr; border-top: 1px solid #d5cfc3; }
.schedule-row span { padding: 23px 22px; color: var(--risk); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; }
.schedule-row p { margin: 0; padding: 18px 26px; border-left: 1px solid #d5cfc3; font-size: 17px; line-height: 1.38; }

.schedule-margin {
  position: absolute;
  left: 1165px;
  right: 84px;
  top: 336px;
  height: 403px;
  border-top: 5px solid var(--risk);
  padding: 23px 0 0;
}

.schedule-margin > span { display: block; margin-bottom: 28px; color: var(--ink-soft); font-size: 16px; line-height: 1.35; }
.schedule-margin b { display: block; padding: 13px 0; border-top: 1px solid var(--rule); color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 24px; font-weight: 400; }

/* Slide 6 */

.test-scope {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 330px;
  height: 102px;
  display: grid;
  grid-template-columns: 1.05fr .95fr 1.05fr .95fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.test-scope p { margin: 0; padding: 18px 20px; border-left: 1px solid var(--rule); }
.test-scope p:first-child { border-left: 0; padding-left: 0; }
.test-scope span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.test-scope b { display: block; margin-top: 10px; color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.05; }

.test-body {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 478px;
  height: 260px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 46px;
}

.phases { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: center; }
.phases div { min-height: 150px; padding: 20px 12px; border-top: 3px solid var(--ink); }
.phases div:last-of-type { border-top-color: var(--risk); }
.phases span { color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.phases b { display: block; margin-top: 20px; color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 27px; font-weight: 400; }
.phases small { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.3; }
.phases i { height: 1px; background: var(--rule); }

.pass-gates { padding: 20px 24px; border-left: 5px solid var(--risk); background: rgba(255,255,255,.32); }
.pass-gates > span { color: var(--risk); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; }
.pass-gates ul { margin: 14px 0 0; padding-left: 18px; }
.pass-gates li { margin: 7px 0; padding-left: 4px; font-size: 14.5px; line-height: 1.25; }

/* Slide 7 */

.ask-grid {
  position: absolute;
  left: 84px;
  right: 84px;
  top: 342px;
  height: 364px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.ask-grid section { border-top: 5px solid var(--ink); padding-top: 22px; }
.ask-grid .decision-output { border-top-color: var(--risk); }
.ask-grid section > span { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; }

.participants ol { margin: 14px 0 0; padding: 0; list-style: none; }
.participants li { display: grid; grid-template-columns: 1fr 1fr; min-height: 48px; align-items: center; border-top: 1px solid var(--rule); }
.participants li b { color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 21px; font-weight: 400; }
.participants li small { color: var(--ink-soft); font-size: 14px; }

.decision-output > b { display: block; margin-top: 24px; color: var(--plum); font-family: "Domaine", Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1.14; }
.decision-output ul { margin: 21px 0 0; padding: 16px 0 0 20px; border-top: 1px solid var(--rule); }
.decision-output li { margin: 7px 0; font-size: 16px; }

.final-line {
  position: absolute;
  left: 84px;
  right: 84px;
  bottom: 87px;
  margin: 0;
  color: var(--plum);
  font-family: "Domaine", Georgia, serif;
  font-size: 29px;
  text-align: center;
}
.final-line em { color: var(--risk); }

@media screen {
  .slide {
    --scale: min(calc(100vw / 1600), calc(100vh / 900));
    transform: scale(var(--scale));
  }
}

@media print {
  @page { size: 16.667in 9.375in; margin: 0; }
  html, body { position: static; width: 1600px; height: auto; background: white; overflow: visible; }
  body { position: static; display: block; }
  #deck { width: 1600px; height: auto; box-shadow: none; }
  .slide, .slide.active {
    display: block;
    position: relative;
    inset: auto;
    width: 1600px;
    height: 900px;
    transform: none;
    page-break-after: always;
    break-after: page;
  }
  .slide:last-child { page-break-after: auto; break-after: auto; }
  .deck-nav { display: none !important; }
}
