/* Migrated source layout; modified by Skilly. */

:root {
  --paper: #f2eedf; /* warm cream page */
  --paper-2: #ece6d2;
  --ink: #2a241b; /* warm near-black */
  --ink-soft: #5c5345;
  --pink: #e1a4c2; /* dusty pink */
  --lemon: #d6dd63; /* chartreuse */
  --blush: #e8c9b6; /* soft peach */
  --sage: #b7c7a8; /* sage (extra) */
  --lilac: #c9bedc; /* lilac (extra) */
}
html,
body {
  margin: 0;
  padding: 0;
  background: #1a1a1a;
}
body {
  font-family:
    "Publication Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
}
deck-stage {
  background: #1a1a1a;
}

section.slide {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

/* Header / footer chrome shared across slides */
.eyebrow {
  position: absolute;
  top: 60px;
  left: 80px;
  font-family: "Publication Sans", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.footer {
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 50px;
  display: flex;
  justify-content: space-between;
  font-family: "Publication Serif", "Garamond", serif;
  font-size: 26px;
  font-style: italic;
  color: var(--ink-soft);
}
.pagedot {
  position: absolute;
  right: 80px;
  top: 60px;
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 26px;
  color: var(--ink-soft);
}

/* Typography */
h1,
h2,
h3,
p {
  margin: 0;
}
.serif {
  font-family: "Publication Serif", "Garamond", serif;
  font-weight: 500;
}
.serif-it {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-weight: 500;
}
.display {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 188px;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.title {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 124px;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.subtitle {
  font-family: "Publication Sans", sans-serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.1;
}
.body {
  font-family: "Publication Sans", sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.5;
}

/* ============== 1. COVER ================================== */
.s-cover .stack {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.s-cover .kicker {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 38px;
  color: var(--ink-soft);
}
.s-cover h1 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 232px;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.s-cover h1 em {
  font-style: italic;
  font-weight: 400;
}
.s-cover .lede {
  font-size: 30px;
  line-height: 1.4;
  max-width: 60ch;
  color: var(--ink-soft);
}
.s-cover .swatches {
  position: absolute;
  right: 80px;
  top: 80px;
  display: flex;
  gap: 14px;
}
.s-cover .swatches i {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
}

/* ============== 2. FOREWORD =============================== */
.s-foreword .col-l {
  position: absolute;
  left: 80px;
  top: 200px;
  width: 760px;
}
.s-foreword .col-l .opener {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 56px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 36px;
}
.s-foreword .col-l .opener:first-letter {
  font-size: 132px;
  float: left;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  font-style: normal;
  font-weight: 500;
}
.s-foreword .col-r {
  position: absolute;
  right: 80px;
  top: 200px;
  width: 760px;
}
.s-foreword .col-r p {
  font-size: 24px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.s-foreword .col-r p:first-child {
  color: var(--ink);
}
.s-foreword .signoff {
  margin-top: 24px;
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 30px;
  color: var(--ink);
}

/* ============== 3. THE METHOD ============================= */
.s-method .grid {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 220px;
  bottom: 140px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.s-method .step {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 32px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.s-method .step .n {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 92px;
  line-height: 0.9;
  color: var(--ink);
}
.s-method .step h3 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  margin-top: 16px;
}
.s-method .step p {
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.s-method .step.pink {
  background: var(--pink);
}
.s-method .step.lemon {
  background: var(--lemon);
}
.s-method .step.blush {
  background: var(--blush);
}
.s-method .step.sage {
  background: var(--sage);
}

/* ============== 4. INSIGHTS (reference layout) ============ */
.s-insights .row {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 200px;
  bottom: 200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.s-insights .card {
  border-radius: 36px;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
}
.s-insights .card.pink {
  background: var(--pink);
}
.s-insights .card.lemon {
  background: var(--lemon);
}
.s-insights .card.blush {
  background: var(--blush);
}
.s-insights .card .head h3 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  white-space: nowrap;
}
.s-insights .card .head .sub {
  font-family: "Publication Sans", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
}
.s-insights .card p {
  font-size: 24px;
  line-height: 1.45;
  max-width: 26ch;
}

/* ============== 5. A CLOSER LOOK (full-bleed) ============= */
.s-closer {
  background: var(--pink);
}
.s-closer .eyebrow,
.s-closer .pagedot,
.s-closer .footer {
  color: var(--ink);
}
.s-closer .footer {
  color: rgba(42, 36, 27, 0.7);
}
.s-closer .center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  text-align: center;
}
.s-closer .marker {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 38px;
  color: var(--ink);
  margin-bottom: 32px;
}
.s-closer h2 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 168px;
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
}
.s-closer h2 em {
  font-style: italic;
  font-weight: 400;
}
.s-closer p {
  font-size: 28px;
  line-height: 1.5;
  max-width: 56ch;
  margin: 0 auto;
}

/* ============== 6. BY THE NUMBERS ========================= */
.s-numbers .grid {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 200px;
  bottom: 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 28px;
}
.s-numbers .stat {
  border-radius: 36px;
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.s-numbers .stat .v {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 200px;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.s-numbers .stat .v em {
  font-style: italic;
  font-weight: 400;
}
.s-numbers .stat .lab {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 28ch;
}
.s-numbers .a {
  background: var(--lemon);
  grid-column: span 2;
  grid-row: span 2;
}
.s-numbers .a .v {
  font-size: 320px;
}
.s-numbers .b {
  background: var(--pink);
}
.s-numbers .c {
  background: var(--blush);
}

/* ============== 7. IN THEIR WORDS ========================= */
.s-quote .center {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
}
.s-quote .qmark {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 220px;
  line-height: 0.7;
  color: var(--blush);
  margin-bottom: 12px;
}
.s-quote blockquote {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 88px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 28ch;
  color: var(--ink);
}
.s-quote blockquote em {
  font-style: italic;
  font-weight: 400;
}
.s-quote .attr {
  margin-top: 48px;
  font-family: "Publication Sans", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
}
.s-quote .attr .role {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--ink-soft);
  display: block;
  margin-top: 4px;
}

/* ============== 8. WHAT WE'LL DO NEXT ===================== */
.s-next .grid {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 200px;
  bottom: 140px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.s-next .panel {
  border-radius: 36px;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.s-next .panel.l {
  background: rgba(255, 255, 255, 0.55);
  justify-content: center;
}
.s-next .panel.l h2 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 124px;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.s-next .panel.l h2 em {
  font-style: italic;
  font-weight: 400;
}
.s-next .panel.l p {
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36ch;
  margin-top: 12px;
}
.s-next .panel.r {
  background: transparent;
  padding: 0;
  gap: 20px;
}
.s-next .item {
  border-radius: 28px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
}
.s-next .item.pink {
  background: var(--pink);
}
.s-next .item.lemon {
  background: var(--lemon);
}
.s-next .item.blush {
  background: var(--blush);
}
.s-next .item .n {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 64px;
  line-height: 1;
}
.s-next .item h3 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.05;
  margin-bottom: 4px;
}
.s-next .item p {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.85;
}

/* ============== CONSULT (text-dense) ====================== */
.s-consult .eyebrow,
.s-consult .pagedot,
.s-consult .footer {
  color: var(--ink-soft);
}
.s-consult .action {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 130px;
  background: var(--lemon);
  border-radius: 24px;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.s-consult .action .tag {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  flex-shrink: 0;
  border-right: 1px solid rgba(42, 36, 27, 0.3);
  padding-right: 24px;
}
.s-consult .action h2 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.s-consult .body {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 290px;
  bottom: 130px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}
.s-consult .col {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s-consult .col h3 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-style: italic;
  font-size: 32px;
  line-height: 1.05;
  color: var(--ink);
  border-bottom: 1px solid rgba(42, 36, 27, 0.18);
  padding-bottom: 14px;
}
.s-consult .col .meta {
  font-family: "Publication Sans", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}
.s-consult .col p {
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.s-consult .col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 24px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.s-consult .col ul li {
  margin-bottom: 8px;
}
.s-consult .col ul li strong {
  color: var(--ink);
  font-weight: 500;
}
.s-consult .source {
  margin-top: auto;
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px dashed rgba(42, 36, 27, 0.18);
}

/* ============== CHART =================================== */
.s-chart .left {
  position: absolute;
  left: 80px;
  top: 200px;
  bottom: 130px;
  width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.s-chart .left h2 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.s-chart .left h2 em {
  font-style: italic;
  font-weight: 400;
}
.s-chart .left p {
  font-size: 24px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.s-chart .left .legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.s-chart .left .legend .li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  color: var(--ink);
}
.s-chart .left .legend .li i {
  width: 28px;
  height: 12px;
  border-radius: 6px;
}
.s-chart .right {
  position: absolute;
  right: 80px;
  top: 200px;
  bottom: 200px;
  left: 680px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 36px 40px 30px 80px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.s-chart .right .yhead {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.s-chart .right .plot {
  flex: 1;
  min-height: 0;
  position: relative;
  border-left: 1.5px solid rgba(42, 36, 27, 0.35);
  border-bottom: 1.5px solid rgba(42, 36, 27, 0.35);
  padding: 12px 12px 0 12px;
}
.s-chart .right .gline {
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed rgba(42, 36, 27, 0.12);
}
.s-chart .right .yticks {
  position: absolute;
  left: -56px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 24px;
  color: var(--ink-soft);
  font-family: "Publication Serif", serif;
  font-style: italic;
}
.s-chart .right svg {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  inset: 12px 12px 0 12px;
  overflow: visible;
}
.s-chart .right .xticks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 24px;
  color: var(--ink-soft);
  font-family: "Publication Serif", serif;
  font-style: italic;
}

/* ============== PROCESS DIAGRAM ========================= */
.s-process .head {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 130px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.s-process .head h2 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.s-process .head h2 em {
  font-style: italic;
  font-weight: 400;
}
.s-process .head .sub {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink-soft);
  max-width: 32ch;
  text-align: right;
}
.s-process .flow {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 320px;
  bottom: 240px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: stretch;
}
.s-process .node {
  border-radius: 28px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.s-process .node .n {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 56px;
  line-height: 0.9;
}
.s-process .node h3 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
}
.s-process .node p {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.s-process .node.n1 {
  background: var(--pink);
}
.s-process .node.n2 {
  background: var(--blush);
}
.s-process .node.n3 {
  background: var(--lemon);
}
.s-process .node.n4 {
  background: var(--sage);
}
.s-process .node.n5 {
  background: var(--lilac);
}
.s-process .node .arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  z-index: 2;
  color: var(--ink);
}
.s-process .node.n5 .arrow {
  display: none;
}
.s-process .timeline {
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 140px;
  top: auto;
  height: 60px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
}

/* ============== COMPARISON MATRIX ======================= */
.s-matrix .head {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 130px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.s-matrix .head h2 {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 76px;
  line-height: 1;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.s-matrix .head h2 em {
  font-style: italic;
  font-weight: 400;
}
.s-matrix .head .sub {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 26px;
  color: var(--ink-soft);
  max-width: 36ch;
  text-align: right;
  margin-top: 8px;
}
.s-matrix .table {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 320px;
  bottom: 130px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  grid-auto-rows: minmax(0, 1fr);
  overflow: hidden;
}
.s-matrix .table .cell {
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink);
  border-bottom: 1px dashed rgba(42, 36, 27, 0.18);
  border-right: 1px dashed rgba(42, 36, 27, 0.18);
}
.s-matrix .table .cell:nth-child(4n) {
  border-right: 0;
}
.s-matrix .table .cell.head-row {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  border-bottom: 1.5px solid rgba(42, 36, 27, 0.4);
  align-items: center;
}
.s-matrix .table .cell.row-label {
  font-family: "Publication Serif", serif;
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  align-items: center;
}
.s-matrix .table .cell.last {
  border-bottom: 0;
}
.s-matrix .pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 4px;
}
.s-matrix .pill.yes {
  background: var(--lemon);
}
.s-matrix .pill.part {
  background: var(--blush);
}
.s-matrix .pill.no {
  background: var(--pink);
}
.s-matrix .pill.note {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(42, 36, 27, 0.18);
  color: var(--ink-soft);
  font-style: italic;
  font-family: "Publication Serif", serif;
  font-weight: 400;
}

/* ============== 9. DESIGN SYSTEM ========================== */
.s-system .wrap {
  position: absolute;
  left: 80px;
  right: 80px;
  top: 140px;
  bottom: 100px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr 1fr;
  gap: 24px;
}
.s-system .wrap > * {
  background: rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  padding: 22px 26px;
}
.s-system h4 {
  font-family: "Publication Serif", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--ink);
}
.s-system .small {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.s-system .small li {
  margin-bottom: 6px;
}
.s-system .small ul {
  margin: 0;
  padding-left: 18px;
}

.s-system .pal {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}
.s-system .pal .row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.s-system .pal .sw {
  aspect-ratio: 1/1.2;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  font-family: "Publication Sans", sans-serif;
  font-size: 11px;
  color: var(--ink);
}
.s-system .pal .sw.s1 {
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.s-system .pal .sw.s2 {
  background: var(--pink);
}
.s-system .pal .sw.s3 {
  background: var(--lemon);
}
.s-system .pal .sw.s4 {
  background: var(--blush);
}
.s-system .pal .sw.s5 {
  background: var(--sage);
}

.s-system .type {
  grid-column: 6 / span 7;
  grid-row: 1 / span 2;
}
.s-system .type .row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(42, 36, 27, 0.15);
}
.s-system .type .row:last-child {
  border-bottom: 0;
}
.s-system .type .lbl {
  font-family: "Publication Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-left: auto;
  white-space: nowrap;
}

.s-system .rules {
  grid-column: 1 / span 7;
  grid-row: 3;
}
.s-system .dont {
  grid-column: 8 / span 5;
  grid-row: 3;
}
.s-system .corners {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.s-system .corners .box {
  width: 42px;
  height: 42px;
  background: var(--pink);
}
.s-system .corners .box.r1 {
  border-radius: 14px;
  background: var(--lemon);
}
.s-system .corners .box.r2 {
  border-radius: 22px;
  background: var(--blush);
}
.s-system .corners .box.r3 {
  border-radius: 50%;
  background: var(--sage);
}

/* Skilly adaptation, 2026-10-05. See THIRD_PARTY_NOTICES.md for fixed source and changes. */
@font-face {
  font-family: Publication Serif;
  src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Publication Serif;
  src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Publication Sans;
  src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --serif: "Publication Serif", Georgia, serif;
  --sans: "Publication Sans", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, monospace;
  --paper: #f5efdf;
  --ink: #28231d;
  --accent: #b04736;
  --rule: #cfc6b6;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  max-width: 100%;
}
body {
  font: 18px/1.55 var(--sans);
  color: var(--ink);
  background: #dfd7ca;
  padding: 32px;
}
main {
  max-width: 1440px;
  margin: auto;
}
h1,
h2,
h3,
p,
span,
a,
td,
th {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
  line-height: 1.02;
}
p {
  max-width: 65ch;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  background: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b04736;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
.export-page {
  position: relative;
  background: var(--paper);
  margin: 0 auto 28px;
  padding: 64px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 35px #2c231218;
  min-width: 0;
}
.eyebrow {
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.page-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font: 12px/1.3 var(--mono);
}
.kicker {
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.accent {
  color: var(--accent);
}
.deck-controls {
  max-width: 1312px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dots {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.dots button {
  font-size: 12px;
  padding: 5px 9px;
  min-height: 36px;
}
.dots button[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}
.reading-help {
  margin: 20px auto;
  font: 12px/1.5 var(--mono);
  text-align: center;
}
.speaker-notes {
  display: none;
  font: 16px/1.6 var(--sans);
  padding: 20px;
  background: #fff8;
  flex: none;
}
.show-notes .speaker-notes {
  display: block;
}
.export-page[hidden] {
  display: none;
}
html:not(.deck-ready) .speaker-notes {
  display: block;
}
.page-content {
  flex: 1;
  min-width: 0;
}
.deck-page {
  min-height: 780px;
}
.deck-page h1 {
  font-size: clamp(56px, 8vw, 130px);
  max-width: 15ch;
  margin: 55px 0 30px;
}
.deck-page h2 {
  font-size: clamp(46px, 5.5vw, 84px);
  margin: 32px 0;
}
.deck-page p {
  font-size: 24px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.split > * {
  min-width: 0;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card-block {
  padding: 26px;
  background: #fff7;
  border: 1px solid var(--rule);
}
.card-block h3 {
  font-size: 28px;
  margin: 0 0 16px;
}
.card-block p {
  font-size: 18px;
  margin: 0;
}
.swatches {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.swatches i {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e1a4c2;
}
.swatches i:nth-child(2) {
  background: #d6dd63;
}
.swatches i:nth-child(3) {
  background: #b7c7a8;
}
.swatches i:nth-child(4) {
  background: #c9bedc;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--rule);
}
svg {
  max-width: 100%;
  display: block;
}
svg text {
  font-family: var(--sans);
}
@media (max-width: 700px) {
  body {
    padding: 12px;
  }
  .export-page {
    padding: 28px;
    min-height: 0;
  }
  .split,
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .deck-page p {
    font-size: 19px;
  }
  .deck-page h1 {
    font-size: 60px;
  }
  .deck-page h2 {
    font-size: 44px;
  }
  .page-footer {
    font-size: 10px;
  }
  .deck-controls {
    gap: 6px;
  }
  .deck-controls button {
    padding: 6px 10px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  html,
  body {
    padding: 0 !important;
    margin: 0 !important;
  }
  .deck-controls,
  .reading-help,
  .speaker-notes {
    display: none !important;
  }
  .export-page,
  .export-page[hidden] {
    display: flex !important;
    box-shadow: none;
    break-after: page;
    margin: 0;
    transform: none !important;
  }
  .export-page:last-child {
    break-after: auto;
  }
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

body {
  background: #d7d4c7;
}
.deck-page {
  background: #f2eedf;
  --paper: #f2eedf;
  --ink: #2a241b;
  --rule: #c9c2b1;
  min-height: 1000px;
  padding: 60px 80px;
}
.soft-content {
  padding-top: 48px;
}
.soft-content .kicker {
  color: #5c5345;
}
.deck-page h1 {
  font: 400 134px/0.96 var(--serif);
  margin: 30px 0;
  max-width: 14ch;
}
.deck-page h2 {
  font: 400 94px/1 var(--serif);
  margin: 28px 0 36px;
  max-width: 18ch;
}
.soft-body {
  font: 24px/1.65 var(--sans);
  max-width: 65ch;
  margin: 0;
}
.quote {
  background: #e8c9b6;
}
.quote h2 {
  font-style: italic;
  font-size: 116px;
  max-width: 16ch;
  margin: 70px 0 40px;
}
.quote .soft-body {
  font: 18px/1.4 var(--mono);
  max-width: 56ch;
}
.closing {
  background: #d6dd63;
}
.card-block {
  border: 0;
  border-radius: 18px;
  padding: 28px 32px;
  background: #fffa;
}
.soft-number {
  font: italic 44px/1 var(--serif);
  display: block;
  margin-bottom: 22px;
}
.card-block h3 {
  font: 400 38px/1.1 var(--serif);
  margin: 0 0 16px;
}
.card-block:nth-child(2) {
  background: #e1a4c2;
}
.card-block:nth-child(3) {
  background: #b7c7a8;
}
.card-block:nth-child(4) {
  background: #c9bedc;
}
.card-block p {
  font-size: 18px;
  line-height: 1.55;
}
.cards .cards-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.speaker-notes p {
  font-size: 16px;
}
.page-footer {
  margin-top: 45px;
}
.show-notes .deck-page {
  height: auto !important;
  min-height: 1000px;
}
@media (max-width: 1000px) {
  .cards .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .deck-page h1 {
    font-size: 100px;
  }
  .deck-page h2,
  .quote h2 {
    font-size: 76px;
  }
}
@media (max-width: 700px) {
  .cards .cards-grid {
    grid-template-columns: 1fr;
  }
  .deck-page h1 {
    font-size: 66px;
  }
  .deck-page h2,
  .quote h2 {
    font-size: 54px;
  }
  .soft-content {
    padding-top: 28px;
  }
  .soft-body {
    font-size: 20px;
  }
  .deck-page {
    min-height: 0;
  }
  .show-notes .deck-page {
    min-height: 0;
  }
  .card-block p {
    font-size: 18px;
  }
}

.eyebrow {
  position: static;
  font-family: var(--mono);
  font-size: 12px;
}
.export-page {
  isolation: isolate;
}
.deck-page {
  overflow: visible;
}
.page-footer {
  position: static;
}
@media (max-width: 700px) {
  .export-page {
    width: 100%;
    padding: 26px;
    min-height: 0;
    height: auto;
  }
  .eyebrow {
    font-size: 10px;
  }
}

.long-heading h1 {
  font-size: 80px;
  max-width: 24ch;
}
.long-heading h2 {
  font-size: 68px;
}
.soft-body {
  font-size: 22px;
}
.soft-content {
  padding-top: 38px;
}
@media (max-width: 700px) {
  .long-heading h1 {
    font-size: 52px;
  }
  .long-heading h2 {
    font-size: 44px;
  }
  .soft-body {
    font-size: 19px;
  }
}

.dots {
  position: static;
  transform: none;
}
.deck-controls {
  position: relative;
  z-index: 10;
}
.deck-page .kicker {
  font: 12px/1.4 var(--mono);
  letter-spacing: 0.15em;
}
.deck-page .data-source {
  font: 13px/1.55 var(--mono);
}
