@font-face {
  font-family: "STIX Two Text";
  src: url("assets/fonts/stix-two-text-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "STIX Two Text";
  src: url("assets/fonts/stix-two-text-semibold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/fonts/ibm-plex-mono-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --ground: #f6f5f1;
  --panel: #fffffe;
  --ink: #14140f;
  --secondary: #57544a;
  --border: #ada693;
  --shadow: #ded9ca;
  --accent: #bf4a11;
  --presentation-scale: 1;
  --reading-scale: 1;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  color: var(--ink);
  font-family: "STIX Two Text", Georgia, serif;
  background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.035'/%3E%3C/svg%3E");
}
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, strong { font-weight: 600; }
a { color: inherit; text-decoration-color: var(--border); text-underline-offset: .14em; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: white; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px; background: var(--panel); }
.skip-link:focus { top: 12px; }

/* Every view uses this exact 16:9 canvas. Only the whole canvas is scaled. */
.slide {
  position: relative;
  width: 1280px;
  height: 720px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 4px 4px 0 var(--shadow);
}
.slide-header {
  height: 40px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font: 13px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.slide-number { color: var(--secondary); }
/* Text slides share a baseline. Images and statements are composed individually below. */
.slide-body {
  position: absolute;
  inset: 40px 0 32px;
  padding: 48px 60px 24px;
  font-size: 35px;
  line-height: 1.34;
}
h2 { margin-bottom: 48px; font-size: 56px; line-height: 1.15; letter-spacing: -.015em; }
h3 { font-size: 34px; line-height: 1.2; }
ul { list-style: none; margin: 0; padding: 0; }
li { position: relative; padding-left: 29px; margin-bottom: 21px; }
li:last-child { margin-bottom: 0; }
li::before { content: "•"; position: absolute; left: 0; top: 0; color: var(--accent); }
.aside { margin-top: 30px; font-size: 31px; line-height: 1.35; color: var(--accent); }
.slide-footer {
  position: absolute;
  bottom: 11px; left: 24px; right: 24px;
  font: 11px/1.4 "IBM Plex Mono", monospace; color: var(--secondary);
}
.cover-body { padding: 62px 74px 36px; }
h1 { font-size: 115px; line-height: 1.05; letter-spacing: -.025em; }
.title-credit { margin-top: 48px; padding-top: 25px; position: relative; }
.title-credit::before { content: ""; position: absolute; top: 0; left: 0; width: 122px; height: 4px; background: var(--accent); }
.title-credit p { font-size: 37px; margin-bottom: 15px; }
.title-credit a { font: 24px/1.5 "IBM Plex Mono", monospace; color: var(--accent); text-decoration: none; }
.section-body { display: flex; align-items: center; }
.section-body h2 { flex: 0 0 1160px; width: 1160px; font-size: 80px; line-height: 1.14; margin: 0; }
#programming .slide-body { display: flex; align-items: center; }
#programming h2 { flex: 0 0 1160px; width: 1160px; font-size: 80px; margin: 0; }
#gap-year h2, #nuenki h2, #second-place h2 { font-size: 72px; margin-bottom: 54px; }
#unexpected-attention h2 { margin-bottom: 72px; }
#unexpected-attention ul { max-width: 1090px; font-size: 39px; }
#polymarket h2 { width: 1030px; font-size: 67px; margin-bottom: 55px; }
#polymarket ul { font-size: 42px; }
#the-pitch h2 { font-size: 86px; margin-bottom: 60px; }
#americans h2 { margin-bottom: 60px; white-space: nowrap; }
#americans h2 strong { color: var(--accent); }
#london-offices h2 { font-size: 53px; }
#london-offices ul { font-size: 33px; }

/* Each media composition has explicit bounds within the 1280 × 720 stage. */
.media-columns > .copy { position: absolute; left: 60px; top: 174px; width: 580px; font-size: 33px; }
.media-columns > figure { position: absolute; left: 700px; top: 174px; width: 520px; height: 420px; overflow: hidden; }
.media-columns > figure img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
#disclaimer .copy { width: 610px; }
#disclaimer .plane { left: 740px; top: 140px; width: 450px; height: 440px; }
#metaculus-first h2 { font-size: 53px; white-space: nowrap; }
#metaculus-first .copy { width: 585px; font-size: 31px; }
#metaculus-first li { margin-bottom: 16px; }
#metaculus-first figure { left: 700px; top: 233px; width: 520px; height: 270px; }
#translation-research h2 { width: 555px; font-size: 64px; }
#translation-research .copy { top: 246px; width: 490px; font-size: 35px; }
#translation-research .article-image { left: 625px; top: 44px; width: 595px; height: 548px; }
#translation-research .article-image img { object-fit: cover; object-position: top; }
#business-translation h2 { width: 690px; font-size: 56px; white-space: nowrap; }
#business-translation .copy { top: 155px; width: 650px; font-size: 31px; }
#business-translation .aside { font-size: 29px; margin-top: 30px; }
#business-translation .portrait-image { left: 795px; top: 45px; width: 425px; height: 548px; }
#business-translation .portrait-image img { object-fit: cover; object-position: bottom; }
#invisible-college-application h2 { font-size: 72px; }
#invisible-college-application .portrait-image { left: 60px; top: 207px; width: 740px; height: 332px; }
#invisible-college-application .copy { left: 855px; top: 175px; width: 365px; font-size: 29px; }
#invisible-college-application li { margin-bottom: 23px; padding-left: 24px; }
.photo-body { padding: 0; }
.photo-body figure { position: absolute; left: 24px; top: 20px; width: 1232px; height: 600px; overflow: hidden; }
.photo-body img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
#invisible-college .slide-footer { font-size: 12px; }
#jasmine-and-jeremy h2 { font-size: 68px; }
.people-photo { position: absolute; left: 60px; top: 181px; width: 280px; height: 410px; overflow: hidden; }
.people-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.person { position: absolute; top: 181px; left: 380px; width: 395px; }
.person + .person { left: 835px; width: 385px; }
.person h3 { margin-bottom: 25px; }
.person ul { font-size: 28px; line-height: 1.35; }
.person li { padding-left: 23px; margin-bottom: 22px; }
.list-columns { display: flex; gap: 55px; }
.list-columns > ul { width: 552px; font-size: 32px; }
#other-people h2 { font-size: 68px; }
#san-francisco-party h2 { font-size: 76px; }
#san-francisco-party .copy { top: 170px; width: 590px; }
#san-francisco-party figure { left: 730px; top: 165px; width: 490px; height: 201px; }
.quotations { position: absolute; top: 250px; left: 0; width: 1160px; display: flex; gap: 60px; }
.quotations blockquote { width: 550px; border-top: 2px solid var(--accent); padding-top: 22px; font-size: 39px; line-height: 1.25; }
#whatsapp h2 { width: 670px; font-size: 70px; }
#whatsapp .copy { top: 250px; width: 630px; font-size: 36px; }
#whatsapp .portrait-image { left: 775px; top: 32px; width: 445px; height: 530px; }
#whatsapp .portrait-image img { object-position: right top; }

/* The grades are deliberately large, separate from the explanation. */
#intelligence h2 { font-size: 62px; }
.grades-layout .copy { position: absolute; left: 60px; top: 180px; width: 690px; font-size: 32px; }
.grades { position: absolute; left: 815px; top: 236px; width: 405px; border-left: 1px solid var(--border); padding: 25px 0 25px 35px; }
.eyebrow { display: block; font: 14px/1.5 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .035em; }
.grades p { font-size: 135px; line-height: 1.35; letter-spacing: -.055em; color: var(--accent); white-space: nowrap; }

/* A single dark interruption for the central point of the talk. */
#just-do-things { background: #000; color: var(--ground); border-color: #000; }
#just-do-things .slide-header { border: 0; color: #b5aea0; }
#just-do-things .slide-number { color: #b5aea0; }
.roon-body { padding: 0; }
.roon-body h2 { position: absolute; top: 102px; left: 35px; width: 1210px; text-align: center; font-size: 82px; line-height: 1.05; margin: 0; white-space: nowrap; }
.roon-image { position: absolute; top: 318px; left: 80px; width: 1120px; height: 280px; }
.roon-image img { width: 100%; height: 100%; object-fit: contain; }
#competition .aside { font-size: 52px; margin-top: 40px; }
#cold-emails h2 { font-size: 54px; white-space: nowrap; }

/* Both manufactured emails use the whole slide; their density is the comparison. */
.email-body h2 { font: 20px/1.4 "IBM Plex Mono", monospace; letter-spacing: .07em; margin-bottom: 32px; }
.email p { margin-bottom: 22px; }
.email p:last-child { margin-bottom: 0; }
.bad-email { font-size: 21px; line-height: 1.24; }
.bad-email p { margin-bottom: 11px; }
.good-email { font-size: 36px; line-height: 1.4; max-width: 1090px; }
#good-email h2 { color: var(--accent); }
#legibility h2 { font-size: 86px; margin-bottom: 36px; }
#legibility ul { font-size: 34px; }
#legibility li { margin-bottom: 15px; }
#legibility .aside { font-size: 30px; }
#eloquence h2 { font-size: 54px; }
#eloquence ul { font-size: 33px; }
#public-speaking ul { font-size: 36px; }
#public-speaking .aside { margin-top: 34px; }
#social-arbitrage h2 { font-size: 72px; margin-bottom: 32px; }
.intro { font-size: 30px; margin-bottom: 27px; }
.comparisons { font-size: 37px; line-height: 1.32; }
.comparisons span { color: var(--accent); }
.academia { margin-top: 25px; border-top: 1px solid var(--border); padding-top: 18px; font-size: 30px; line-height: 1.3; color: var(--accent); }
#good-people h2 { white-space: nowrap; font-size: 59px; margin-bottom: 62px; }
#good-people ul { font-size: 38px; }
#subcultures ul { font-size: 34px; }
#ai h2 { font-size: 78px; }
#ai .copy { top: 200px; width: 540px; }
#ai figure { left: 660px; top: 190px; width: 560px; height: 325px; padding: 0; }
.lecture-credit { margin-top: 32px; font-size: 32px; }
.lecture-credit > a { color: var(--accent); }
.lecture-credit span { display: block; margin-top: 10px; font: 17px/1.5 "IBM Plex Mono", monospace; color: var(--secondary); }
#programmes h2 { white-space: nowrap; font-size: 57px; }
.programme-names { margin-top: 36px; border-top: 1px solid var(--border); padding-top: 24px; font: 22px/1.5 "IBM Plex Mono", monospace; }
#notes h2 { font-size: 59px; }
#effort .slide-body { padding-top: 130px; }
#rest .slide-body { padding-top: 175px; }
#effort h2 { font-size: 90px; margin-bottom: 55px; }
#effort ul { font-size: 39px; }
#effort li + li { margin-top: 30px; color: var(--accent); font-size: 45px; }
#rest h2 { font-size: 88px; margin-bottom: 55px; }
#rest ul { font-size: 39px; max-width: 1050px; }
.resources-body { padding-top: 35px; }
.resources-body h2 { font-size: 60px; margin-bottom: 30px; }
.resources-columns { display: flex; gap: 50px; }
.resource-list { width: 555px; }
.resource-list > div { margin-bottom: 16px; }
.resource-list > div:last-child { margin-bottom: 0; }
.resource-list dt { font: 12px/1.4 "IBM Plex Mono", monospace; color: var(--secondary); margin-bottom: 4px; }
.resource-list dd { font: 21px/1.35 "IBM Plex Mono", monospace; }
.resource-contact { position: absolute; left: 60px; right: 60px; bottom: 10px; border-top: 1px solid var(--border); padding-top: 14px; }
.resource-contact > a { margin-right: 35px; color: var(--accent); font: 23px/1.4 "IBM Plex Mono", monospace; }
.resource-contact p { margin-top: 12px; font-size: 25px; line-height: 1.4; }

/* Present one complete canvas. Reading view scales the same canvases. */
body.presenting { overflow: hidden; height: 100dvh; }
.presenting #deck { position: fixed; left: 50%; top: 50%; width: 1280px; height: 720px; transform: translate(-50%, -50%) scale(var(--presentation-scale)); }
.presenting .slide:not(.active) { display: none; }
.reading #deck { width: 1280px; margin: 24px auto 110px; zoom: var(--reading-scale); }
.reading .slide { margin-bottom: 28px; }
.presentation-controls {
  position: fixed; z-index: 5; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; padding: 5px 9px;
  background: var(--panel); border: 1px solid var(--border); box-shadow: 2px 2px 0 var(--shadow);
  font: 12px/1.3 "IBM Plex Mono", monospace; white-space: nowrap;
}
.presentation-controls button { border: 0; background: transparent; color: var(--secondary); padding: 7px 10px; font: inherit; cursor: pointer; }
.presentation-controls button:hover, .presentation-controls button[aria-pressed="true"] { color: var(--accent); }
.presentation-controls button:disabled { opacity: .3; cursor: default; }
.presentation-controls #previous, .presentation-controls #next { font-size: 18px; padding: 3px 10px; }
#position { min-width: 65px; text-align: center; }
.control-divider { height: 18px; border-left: 1px solid var(--border); margin: 0 6px; }
:fullscreen .presentation-controls { opacity: 0; }
:fullscreen .presentation-controls:hover, :fullscreen .presentation-controls:focus-within { opacity: 1; }
dialog { color: var(--ink); background: var(--panel); border: 1px solid var(--border); padding: 35px; width: min(560px, calc(100% - 32px)); }
dialog::backdrop { background: rgb(20 20 15 / .35); }
dialog h2 { font-size: 38px; margin-bottom: 24px; }
dialog dl { font: 14px/1.5 "IBM Plex Mono", monospace; }
dialog dl > div { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 12px; }
dialog dd { color: var(--secondary); }
dialog p { margin-top: 25px; font-size: 20px; line-height: 1.4; }
.dialog-close { position: absolute; right: 13px; top: 10px; border: 0; background: transparent; color: var(--secondary); font-size: 27px; cursor: pointer; }
@media screen and (max-width: 600px) {
  .presentation-controls { gap: 0; padding: 4px; font-size: 10px; }
  .presentation-controls button { padding: 8px; }
  .presentation-controls #previous, .presentation-controls #next { padding: 4px 8px; }
  #position { min-width: 58px; }
  .control-divider { margin: 0 3px; }
}
@supports (transform: scale(calc(100vw / 1280px))) {
  :root { --presentation-scale: min(calc((100vw - 32px) / 1280px), calc((100dvh - 80px) / 720px)); }
}
@page { size: 1280px 720px; margin: 0; }
@media print {
  html, body { width: 1280px; margin: 0; padding: 0; background: var(--panel); }
  body.presenting { overflow: visible; height: auto; }
  #deck, .presenting #deck, .reading #deck { position: static; width: 1280px; height: auto; margin: 0; transform: none; zoom: 1; }
  .slide, .reading .slide, .presenting .slide:not(.active) { display: block; width: 1280px; height: 720px; margin: 0; break-after: page; overflow: hidden; box-shadow: none; border: 0; }
  .slide:last-child { break-after: auto; }
  .presentation-controls, dialog, .skip-link, noscript { display: none !important; }
  * { print-color-adjust: exact; }
}

