@import "figures/figure.css";

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: block; src: url("fonts/IBMPlexSans-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: block; src: url("fonts/IBMPlexSans-500.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: block; src: url("fonts/IBMPlexSans-600.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: block; src: url("fonts/IBMPlexMono-400.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper:    #f4efe4;
  --paper-2:  #e6dfd0;
  --ink:      #1b1813;
  --ink-2:    #6b6358;
  --ink-3:    #b8b0a2;
  --sig:      #c0331d;
  --sig-text: #c0331d;
  --refuse:   #1f6a5c;
  --serif:    "IBM Plex Sans", system-ui, sans-serif;
  --display:  "IBM Plex Sans", system-ui, sans-serif;
  --mono:     "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --soft-display: normal;
  --soft-large:   normal;
  --r-background-color: var(--paper);
  --r-main-color: var(--ink);
  --r-heading-color: var(--ink);
  --r-link-color: var(--ink);
  --r-overlay-element-bg-color: 27, 24, 19;
  --r-overlay-element-fg-color: 244, 239, 228;
}

html, body { background: var(--paper); }
.reveal-viewport { background: var(--paper); }
.reveal { font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1.4; }
.reveal a { color: inherit; }
.reveal .slides { text-align: left; }
.reveal .slides section { height: 100%; box-sizing: border-box; padding: 34px 43px 30px;
  display: grid; grid-template-columns: minmax(0, 1fr) 640px; grid-template-rows: auto 1fr auto;
  column-gap: 40px; align-content: stretch; }
.reveal .slides section.present { display: grid !important; top: 0; }

.opener { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid var(--ink-3); padding-bottom: 10px; margin-bottom: 26px; }
.eyebrow { font-family: var(--mono); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

.title { grid-column: 1; grid-row: 2; align-self: start; display: flex; flex-direction: column; min-height: 0; padding-top: 40px; }
.reveal h1 { font-family: var(--display); font-variation-settings: var(--soft-large); font-weight: 500;
  font-size: 56px; line-height: 1.04; letter-spacing: -.012em; margin: 0 0 24px; color: var(--ink); text-transform: none; }
.reveal h1 em { font-weight: 400; color: var(--sig); }
.claim { font-family: var(--serif); font-size: 24px; line-height: 1.38; color: var(--ink-2); margin: 0 0 18px; max-width: 24ch; }
.small { font-family: var(--mono); font-size: 14px; letter-spacing: .03em; color: var(--ink-2); line-height: 1.6; margin: 0; }

.fig { grid-column: 2; grid-row: 2; align-self: center; width: 640px; aspect-ratio: 4 / 3; }
.fig svg { width: 100%; height: 100%; display: block; overflow: visible; }

.footer { grid-column: 1 / -1; grid-row: 3; align-self: end; font-family: var(--mono); font-size: 14px;
  letter-spacing: .03em; color: var(--ink-2); margin: 0; padding-top: 12px; border-top: 1px solid var(--paper-2); }
.footer a { text-decoration: none; }
.footer a span { color: var(--sig-text); }
.reveal .step { display: none; }

.cover .dot { color: var(--sig); margin: 0 .4em; }
.reveal .slides section.cover { grid-template-columns: minmax(0, 1fr); }
.cover .opener { border-bottom-color: var(--ink); }
.cover .title { padding-top: 24px; }
.cover h1 { font-size: 150px; font-weight: 600; font-variation-settings: var(--soft-display); line-height: .92; letter-spacing: -.018em; margin-bottom: 18px; }
.cover h1.long { font-size: 104px; }
.cover .cover-rule { display: block; width: 100%; height: 56px; margin: 0 0 26px; }
.cover .deck-line { font-family: var(--display); font-weight: 500; font-size: 32px; color: var(--ink); margin: 0 0 22px; }
.cover .folio { font-family: var(--mono); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0; }

.weeks { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: w; }
.weeks li { font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid var(--paper-2); }
.weeks b { display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; color: var(--sig-text); margin-bottom: 2px; }

.reveal .slides section.question { grid-template-columns: minmax(0, 1fr); }
.question .claim.big { font-family: var(--display); font-weight: 400; font-variation-settings: var(--soft-large);
  font-size: 56px; line-height: 1.1; color: var(--ink); max-width: 20ch; }

.url { font-family: var(--mono); font-size: 20px; color: var(--ink); margin: 6px 0 0; white-space: nowrap; }
.url a { text-decoration: none; }
.url span { color: var(--sig-text); }
.handoff h1 { min-height: 2.1em; }
.handoff .claim { min-height: 3.1em; }
.handoff .qr { display: block; width: 220px; height: 220px; margin-top: 28px; }
.reveal .slides section.discuss { grid-template-columns: minmax(0, 1fr); }
.urls { list-style: none; margin: 14px 0 0; padding: 0; font-family: var(--mono); font-size: 24px; line-height: 1.8; color: var(--ink); }

.reveal aside.notes { display: none; }
.reveal .progress, .reveal .controls, .reveal .slide-number { display: none; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.reveal .slides section.plate { display: block !important; padding: 0; }
.plate .opener { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; padding: 0; }
.plate .title > * { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.plate .fig { position: absolute; top: 0; left: 50%; width: auto; height: 690px; aspect-ratio: 8 / 5; transform: translateX(-50%); }
.plate .footer { position: absolute; left: 43px; right: 43px; bottom: 0; height: 30px; display: flex; align-items: center; border-top: 0; padding: 0; text-align: right; justify-content: flex-end; }

.bio .weeks { grid-column: 2; grid-row: 2; align-self: center; max-width: 34ch; }
.bio .weeks a { color: var(--ink); text-decoration: none; }
