@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
:root {
  --paper: #eef2f5;
  --ink: #182b3c;
  --muted: #536779;
  --blue: #426fa7;
  --line: #c7d1d9;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 15px/1.75 Inter,
    Arial,
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}
button[hidden],
[hidden] {
  display: none !important;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
h1,
h2,
h3 {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 800;
}
h1 {
  font-size: clamp(50px, 5.7vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.065em;
}
h2 {
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1.07;
  letter-spacing: -0.055em;
}
h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
button,
a {
  touch-action: manipulation;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 24px;
  z-index: 200;
  background: var(--ink);
  color: white;
  padding: 10px 18px;
}
.skip-link:focus {
  top: 15px;
}
.world-wrap {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
#world {
  display: block;
  width: 100%;
  height: 100%;
}
.reading-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #eef2f5ed 0%,
    #eef2f5c7 27%,
    #eef2f500 58%
  );
  pointer-events: none;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 105px;
  padding: 0 5.5vw;
  display: flex;
  align-items: center;
  gap: 30px;
  z-index: 20;
  background: linear-gradient(var(--paper), #eef2f500);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.monogram {
  font:
    800 34px/1 Manrope,
    sans-serif;
  letter-spacing: -0.07em;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 30px;
  font-size: 12px;
}
.resume-link {
  padding: 9px 17px;
  border: 1px solid #a7b4bf;
  border-radius: 50px;
  font-size: 12px;
  display: flex;
  gap: 22px;
}
.resume-link:hover {
  background: white;
}
.eyebrow {
  font-size: 11px;
  margin-bottom: 23px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px #426fa712;
}
.dek {
  font-size: 22px;
  letter-spacing: -0.035em;
  margin-top: 25px;
  line-height: 1.4;
}
.body-copy {
  font-size: 14px;
  line-height: 1.9;
  max-width: 410px;
  margin-top: 24px;
  color: var(--muted);
}
.body-copy a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 12px;
}
.links a:hover,
.next-link:hover,
.email-link:hover {
  color: var(--blue);
}
.next-link,
.detail-trigger {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  margin-top: 33px;
  font-size: 12px;
  background: transparent;
  padding: 0 0 8px;
  border-bottom: 1px solid #9baebb;
}
.detail-trigger {
  display: none;
}
.enhanced .detail-trigger {
  display: inline-flex;
}
.chapter-note {
  margin-top: 22px;
  font-size: 10px;
  color: var(--muted);
}
.chapter {
  padding: 120px 7vw 75px;
  min-height: 700px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.chapter-copy {
  max-width: 550px;
}
.chapter:nth-child(even) {
  background: #e4ebf1;
}
.anchor-alias {
  position: absolute;
  top: 0;
}
.email-link {
  display: inline-block;
  margin-top: 26px;
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 600;
  letter-spacing: -0.04em;
}
.quiet-button {
  background: transparent;
  padding: 0;
  font-size: 11px;
  color: var(--muted);
  margin-top: 34px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.chapter-nav {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: grid;
  gap: 15px;
}
.chapter-nav a {
  width: 20px;
  height: 14px;
  position: relative;
  display: grid;
  place-items: center;
}
.chapter-nav a:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8497a8;
  transition:
    transform 0.25s,
    background 0.25s;
}
.chapter-nav a[aria-current="true"]:after {
  transform: scale(1.6);
  background: var(--ink);
}
.chapter-nav span {
  position: absolute;
  right: 25px;
  white-space: nowrap;
  font-size: 10px;
  opacity: 0;
  background: #eef2f5df;
  padding: 3px 8px;
  border-radius: 3px;
  pointer-events: none;
}
.chapter-nav a:hover span,
.chapter-nav a:focus-visible span {
  opacity: 1;
}
.journey-footer {
  position: fixed;
  bottom: 27px;
  left: 5.5vw;
  right: 5.5vw;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 10px;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 17px;
}
.controls {
  display: flex;
  gap: 17px;
  margin-left: auto;
  background: #eef2f5dc;
  border: 1px solid #bfcbd680;
  border-radius: 50px;
  padding: 9px 16px;
  backdrop-filter: blur(10px);
}
.controls button {
  background: none;
  padding: 3px 0;
  font-size: 10px;
}
.controls button + button {
  border-left: 1px solid #c6d0d8;
  padding-left: 17px;
}
.immersive .world-wrap {
  display: block;
}
.immersive .chapter {
  height: 140svh;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  pointer-events: none;
}
.immersive .chapter:last-child {
  height: 100svh;
}
.immersive .chapter-copy {
  position: fixed;
  top: 50%;
  left: 7vw;
  width: 36vw;
  max-width: 560px;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}
.immersive .chapter.current .chapter-copy {
  visibility: visible;
  pointer-events: auto;
}
.immersive main {
  position: relative;
  z-index: 2;
}
.immersive .chapter:last-child .quiet-button {
  display: block;
}
.intro-active .site-header,
.intro-active main,
.intro-active .chapter.current .chapter-copy,
.intro-active .journey-footer,
.intro-active .chapter-nav {
  visibility: hidden;
}
.intro-active .reading-light {
  opacity: 0;
}
#intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.intro-signature {
  position: absolute;
  top: 36px;
  left: 5.5vw;
  font-size: 12px;
  font-weight: 600;
}
#skip-intro {
  position: absolute;
  right: 5.5vw;
  bottom: 28px;
  background: transparent;
  font-size: 10px;
  border-bottom: 1px solid #a7b4bf;
  padding: 5px 0;
  pointer-events: auto;
}
.boot-screen {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
}
.booting .boot-screen {
  display: flex;
}
.boot-screen i {
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
body:has(dialog[open]) {
  overflow: hidden;
}
dialog {
  max-width: 730px;
  width: calc(100% - 40px);
  max-height: 85svh;
  border: 1px solid #c8d4df;
  border-radius: 16px;
  background: #f7f9fa;
  color: var(--ink);
  padding: 60px;
  box-shadow: 0 30px 100px #11223830;
}
dialog::backdrop {
  background: #172b3c55;
  backdrop-filter: blur(9px);
}
dialog h2 {
  font-size: 43px;
}
dialog .eyebrow {
  margin-top: 15px;
}
.close-dialog {
  position: sticky;
  display: block;
  top: 0;
  margin-left: auto;
  background: #f7f9fae8;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 11px;
}
.detail-list {
  display: grid;
  gap: 30px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}
.detail-list article,
.detail-list li {
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.detail-list small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 8px;
}
.detail-list p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.9;
}
.detail-list .links {
  margin-top: 16px;
}
.detail-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.fine-print {
  font-size: 10px !important;
  color: var(--muted);
  margin-top: 24px;
}
.course-list {
  counter-reset: week;
}
html:not(.enhanced) dialog {
  display: block;
  position: static;
  margin: 30px auto;
  max-height: none;
}
html:not(.enhanced) .close-dialog {
  display: none;
}
.motion-off {
  scroll-behavior: auto;
}
.motion-off .journey-footer {
  background: #eef2f5ed;
  padding: 7px 12px;
  bottom: 10px;
  border-radius: 40px;
}
.motion-off .chapter-nav,
.motion-off .scroll-hint {
  display: none !important;
}
.motion-off #chapter-label {
  font-weight: 600;
}
.motion-off .chapter:last-child {
  padding-bottom: 140px;
}
@media (max-height: 760px) and (min-width: 801px) {
  .immersive h1 {
    font-size: clamp(48px, 5vw, 70px);
  }
  .immersive h2 {
    font-size: 58px;
  }
  .immersive .eyebrow {
    margin-bottom: 15px;
  }
  .immersive .body-copy {
    font-size: 13px;
    margin-top: 18px;
  }
  .immersive .dek {
    margin-top: 17px;
    font-size: 20px;
  }
  .immersive .next-link,
  .immersive .detail-trigger {
    margin-top: 24px;
  }
  .site-header {
    height: 85px;
  }
}
@media (max-width: 1100px) {
  .brand > span:last-child {
    display: none;
  }
  .immersive .chapter-copy {
    width: 41vw;
    left: 6vw;
  }
  h1 {
    font-size: 65px;
  }
  h2 {
    font-size: 59px;
  }
  .body-copy {
    font-size: 13px;
  }
  .site-header {
    padding: 0 6vw;
  }
  .chapter-nav {
    right: 15px;
  }
  .reading-light {
    background: linear-gradient(90deg, #eef2f5f5, #eef2f5a6 38%, #eef2f500 72%);
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 78px;
    padding: 0 6vw;
    gap: 18px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 11px;
  }
  .resume-link {
    font-size: 10px;
    padding: 7px 12px;
    gap: 14px;
  }
  .monogram {
    font-size: 29px;
  }
  .immersive .chapter-copy {
    top: auto;
    bottom: 95px;
    left: 7vw;
    width: 86vw;
    max-width: 600px;
    transform: none;
  }
  .immersive h1 {
    font-size: clamp(37px, 7.5vw, 57px);
  }
  .immersive h1 br {
    display: none;
  }
  .immersive h2 {
    font-size: clamp(38px, 7vw, 53px);
  }
  .immersive h2 br {
    display: none;
  }
  .immersive .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }
  .immersive .body-copy {
    font-size: 12px;
    line-height: 1.8;
    max-width: 600px;
    margin-top: 15px;
  }
  .immersive .dek {
    font-size: 19px;
    margin-top: 14px;
  }
  .immersive .links {
    margin-top: 18px;
    font-size: 11px;
    gap: 22px;
  }
  .immersive .next-link,
  .immersive .detail-trigger {
    margin-top: 21px;
    font-size: 11px;
  }
  .immersive .chapter-note {
    margin-top: 14px;
    font-size: 9px;
  }
  .reading-light {
    background: linear-gradient(
      0deg,
      #eef2f5 0%,
      #eef2f5f7 25%,
      #eef2f5df 37%,
      #eef2f500 65%
    );
  }
  .chapter-nav {
    display: none !important;
  }
  .journey-footer {
    left: 7vw;
    right: 7vw;
    bottom: 20px;
    gap: 8px;
  }
  #chapter-label {
    display: none;
  }
  .controls {
    gap: 13px;
    padding: 7px 11px;
  }
  .controls button {
    font-size: 9px;
  }
  .controls button + button {
    padding-left: 12px;
  }
  .scroll-hint {
    font-size: 9px;
    gap: 8px;
  }
  .quiet-button {
    margin-top: 24px;
  }
  .email-link {
    font-size: 20px;
  }
  .chapter {
    padding: 100px 7vw 80px;
    min-height: 0;
  }
  .chapter-copy {
    max-width: none;
  }
  h1 {
    font-size: 58px;
  }
  h2 {
    font-size: 48px;
  }
  dialog {
    padding: 25px;
    width: calc(100% - 28px);
    border-radius: 12px;
    max-height: 90svh;
  }
  dialog h2 {
    font-size: 33px;
  }
  .detail-list {
    margin-top: 28px;
    gap: 20px;
  }
  .detail-list h3 {
    font-size: 20px;
  }
  .intro-signature {
    left: 7vw;
    top: 26px;
  }
}
@media (max-width: 380px), (max-height: 650px) and (max-width: 800px) {
  .immersive .chapter-copy {
    bottom: 75px;
  }
  .immersive h1 {
    font-size: 35px;
  }
  .immersive h2 {
    font-size: 34px;
  }
  .immersive .body-copy {
    font-size: 11px;
    line-height: 1.65;
    margin-top: 11px;
  }
  .immersive .dek {
    font-size: 17px;
    margin-top: 11px;
  }
  .immersive .next-link,
  .immersive .detail-trigger,
  .immersive .links {
    margin-top: 15px;
  }
  .site-header nav a:first-child {
    display: none;
  }
  .site-header nav {
    gap: 17px;
  }
  .site-header {
    gap: 16px;
  }
  .reading-light {
    background: linear-gradient(
      0deg,
      #eef2f5 0%,
      #eef2f5f7 34%,
      #eef2f5e8 43%,
      #eef2f500 70%
    );
  }
  .email-link {
    font-size: 18px;
  }
  .quiet-button {
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

.intro-signature strong {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
#home .eyebrow {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
  gap: 9px;
}
.ee-mark {
  width: 32px;
  height: 16px;
  flex: 0 0 32px;
  color: #6b8b9e;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.intro-revealed .site-header,
.intro-revealed main,
.intro-revealed .journey-footer,
.intro-revealed .chapter-nav {
  animation: show-interface 160ms ease-out both;
}
@keyframes show-interface {
  from { opacity: 0; }
  to { opacity: 1; }
}

.booting .site-header,
.booting main,
.booting .journey-footer,
.booting .chapter-nav {
  visibility: hidden;
}
