@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Newsreader;
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f9f8f4;
  --ink: #20242a;
  --text: #424751;
  --muted: #5d636b;
  --line: #d9d8d1;
  --blue: #244781;
  --blue-dark: #183461;
  --serif: Newsreader, Georgia, serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; scroll-margin-top: 90px; }

h1, h2, h3, p, dl, dd, ul { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
section { scroll-margin-top: 90px; }

.wrap { width: min(1040px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; background: var(--paper); padding: 8px 12px; }
.skip:not(:focus) { transform: translateY(-150%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
}

.wordmark, .site-header nav { display: flex; align-items: center; }
.wordmark { gap: 10px; color: var(--ink); font-size: .94rem; font-weight: 650; text-decoration: none; }

.mark {
  display: grid;
  place-items: center;
  padding-top: 3px;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  color: white;
  background: var(--blue);
  font: 500 .99rem/1 var(--serif);
}

.site-header nav { gap: clamp(16px, 3.4vw, 38px); }
.site-header nav a { color: var(--text); font-size: .88rem; font-weight: 550; text-decoration: none; }
.site-header nav a:hover, .site-header nav [aria-current] { color: var(--blue); text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
  align-items: end;
  gap: 42px;
  padding: 72px 0 66px;
}

.eyebrow {
  color: var(--blue);
  font: 550 .75rem/1.5 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 10px;
  font: 500 clamp(4rem, 8vw, 6.15rem)/.99 var(--serif);
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 42ch;
  color: var(--text);
  font-size: clamp(1.13rem, 2.1vw, 1.4rem);
  letter-spacing: -.025em;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  margin-top: 24px;
  border-radius: 4px;
  background: var(--blue);
  color: white;
  font-size: .87rem;
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: var(--blue-dark); color: white; }
.file-type { padding-left: 9px; border-left: 1px solid #ffffff55; font: 500 .66rem/1.4 var(--mono); }

.profile-details { border-left: 1px solid var(--line); padding-left: 22px; }
.profile-details dl { display: grid; gap: 14px; }
.profile-details dt { color: var(--muted); font-size: .75rem; line-height: 1.4; }
.profile-details dd { font-size: .89rem; overflow-wrap: anywhere; }
.profile-details a { text-decoration-color: #24478170; }
.demo-note { margin-top: 15px; color: var(--muted); font-size: .75rem; }

.section-grid {
  display: grid;
  grid-template-columns: minmax(150px, 242px) minmax(0, 1fr);
  gap: 36px;
  border-top: 1px solid var(--line);
  padding: 35px 0 40px;
}

.section-heading h2 { font: 500 2.45rem/1.05 var(--serif); letter-spacing: -.045em; }
.section-heading p { max-width: 24ch; margin-top: 9px; color: var(--muted); font-size: .89rem; }

.selected-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}
.selected-work li { border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.selected-work h3 { margin-top: 4px; font: 550 1.5rem/1.2 var(--serif); letter-spacing: -.025em; }
.selected-work h3 + p { margin-top: 5px; color: var(--text); font-size: .9rem; }
.work-links { margin-top: 6px; color: var(--muted); font-size: .84rem; }
.section-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: .88rem; }

.jobs, .education, .post-list, .selected-work { list-style: none; padding: 0; }
.job + .job { margin-top: 21px; padding-top: 19px; border-top: 1px solid var(--line); }
.job-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 20px; }
.job h3 { font-size: 1.07rem; font-weight: 700; letter-spacing: -.017em; }
.dates, .post-side time, .post-source { color: var(--muted); font: 400 .76rem/1.5 var(--mono); white-space: nowrap; }
.company { color: var(--blue); font-size: .89rem; }
.job-description, .job-highlights { max-width: 62ch; margin-top: 6px; color: var(--text); font-size: .93rem; }
.job-highlights { padding-left: 1.2em; }
.job-highlights li + li { margin-top: 4px; }
.job-group { margin-top: 15px; }
.job-group h4 { margin: 0; font-size: .92rem; }
.community { margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); }
.project-stack { margin-top: 9px; color: var(--muted); font-size: .87rem; }
.project-stack summary, .role-details summary { width: fit-content; color: var(--blue); cursor: pointer; }
.project-stack summary:focus-visible, .role-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.project-stack dl { display: grid; gap: 8px; max-width: 65ch; margin-top: 8px; }
.project-stack dt { display: inline; font-weight: 650; }
.project-stack dt::after { content: ": "; }
.project-stack dd { display: inline; overflow-wrap: anywhere; }

.role-details {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.role-details > .jobs { margin-top: 16px; }
.credentials {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px 24px;
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .87rem;
  color: var(--text);
}
.credentials h3 { margin-bottom: 4px; }
.education strong, .education span { display: block; }
.education li + li { margin-top: 8px; }
.expertise { padding-left: 1.15em; }
.expertise li + li { margin-top: 4px; }

.post-list li + li { border-top: 1px solid var(--line); }
.post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px 24px;
  padding: 15px 0;
  text-decoration: none;
}
.post-list li:first-child .post-row { padding-top: 0; }
.post-summary h3 { color: var(--ink); font: 550 1.63rem/1.15 var(--serif); letter-spacing: -.025em; }
.post-summary p { margin-top: 4px; color: var(--muted); font-size: .89rem; }
.post-row:hover h3 { color: var(--blue); text-decoration: underline; text-underline-offset: .12em; }
.post-side { display: flex; align-items: center; gap: 13px; }
.talks-heading { margin: 34px 0 10px; }
.project-group { margin: 0 0 10px; }
.project-groups > .jobs + .project-group { margin-top: 40px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 20px 0 28px;
  color: var(--muted);
  font-size: .81rem;
}

.article-page { padding-top: 42px; padding-bottom: 70px; }
.article { width: min(100%, 700px); margin-inline: auto; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.article-header { border-bottom: 1px solid var(--line); margin-top: 44px; margin-bottom: 27px; padding-bottom: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 9px; color: var(--muted); font: 400 .78rem/1.6 var(--mono); }
.article h1 { margin: 13px 0 10px; font: 500 clamp(3rem, 6vw, 4.75rem)/1 var(--serif); letter-spacing: -.055em; text-wrap: balance; }
.article-dek { color: var(--text); font-size: clamp(1rem, 2vw, 1.17rem); }
.prose { font-size: 1.06rem; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3 { margin-top: 1.15em; color: var(--ink); font-family: var(--serif); line-height: 1.15; font-weight: 550; letter-spacing: -.025em; }
.prose h2 { font-size: 1.9rem; }
.prose h3 { font-size: 1.55rem; }
.prose pre { overflow-x: auto; padding: 16px; background: #eeede7; border: 1px solid var(--line); border-radius: 4px; line-height: 1.5; }
.prose code { font: .88em var(--mono); }
.prose blockquote { margin-inline: 0; padding-left: 1rem; border-left: 2px solid var(--blue); }
.prose img { display: block; max-width: 100%; height: auto; margin-inline: auto; border: 1px solid var(--line); border-radius: 4px; }
.prose h4 { margin-top: 1.1em; color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose :not(pre) > code { padding: .1em .3em; background: #eeede7; border-radius: 3px; }
.prose pre code { font-size: .85rem; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.article-origin { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.article-video { margin: 0 0 22px; }
.article-video video { display: block; width: 100%; height: auto; background: #000; border-radius: 4px; }
.article-download { margin: 0 0 30px; }
.draft-badge { padding: 0 6px; color: #8a3b00; background: #fff1e0; border: 1px solid #f0c48a; border-radius: 3px; }

@media (max-width: 800px) {
  .wrap { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(178px, 218px); gap: 24px; padding: 56px 0; }
  .section-grid { grid-template-columns: minmax(132px, 175px) minmax(0, 1fr); gap: 24px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 60px; padding: 10px 0; flex-wrap: wrap; gap: 10px 14px; }
  .wordmark { gap: 7px; font-size: .85rem; }
  .mark { flex-basis: 29px; width: 29px; height: 29px; font-size: .85rem; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .8rem; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 43px 0 32px; }
  .hero h1 { font-size: clamp(3.4rem, 12.5vw, 4.75rem); }
  .profile-details { padding-left: 14px; }
  .profile-details dl { gap: 9px 20px; }
  .demo-note { margin-top: 10px; }
  .section-grid { grid-template-columns: 1fr; gap: 17px; padding: 26px 0 30px; }
  .section-heading h2 { font-size: 2.2rem; }
  .section-heading p { max-width: none; margin-top: 5px; }
  .selected-work { grid-template-columns: 1fr; gap: 16px; }
  .post-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .post-side { justify-content: space-between; }
  .article-page { padding-top: 26px; padding-bottom: 42px; }
  .article-header { margin-top: 31px; }
  .prose pre { white-space: pre-wrap; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .credentials { grid-template-columns: 1fr; }
}

/* Timeline page. Without JavaScript, or in the simple view, it is a plain list. The animated
   view (html[data-view="animated"], set by the page's inline script) adds the sticky year,
   the line that draws itself and the chapter reveals. */
.tl-hero { padding: 72px 0 52px; }
.tl-hero h1 {
  max-width: 15ch;
  margin: 16px 0 16px;
  font: 500 clamp(2.9rem, 6.4vw, 5rem)/1.01 var(--serif);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.tl-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; font-size: .9rem; }
.tl-controls .button { margin-top: 0; }

.view-switch { display: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff8c; }
.js .view-switch { display: inline-flex; }
.view-switch button {
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text);
  font: 600 .8rem/1.2 var(--sans);
  cursor: pointer;
  transition: background .25s, color .25s;
}
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.view-switch button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.tl-cue { display: none; }
.tl-aside { display: none; }
.tl { padding-bottom: 24px; }

.tl-track { position: relative; padding-left: 38px; }
.tl-track::before, .tl-progress {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 0;
  left: 5px;
  width: 1px;
}
.tl-track::before { background: var(--line); }
.tl-progress { display: none; background: var(--blue); transform-origin: top; transform: scaleY(0); }
.tl-chapters { margin: 0; padding: 0; list-style: none; }

.tl-chapter { --pad: 0px; position: relative; padding: var(--pad) 0 48px; scroll-margin-top: 100px; }
.tl-dot {
  position: absolute;
  top: calc(var(--pad) + 7px);
  left: -38px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
}
.tl-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--blue); font: 550 .74rem/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.tl-org, .tl-age-at { color: var(--muted); }
.tl-title { margin-top: 6px; font: 500 clamp(1.75rem, 3.4vw, 2.45rem)/1.08 var(--serif); letter-spacing: -.04em; text-wrap: balance; }
.tl-role { margin-top: 5px; color: var(--muted); font-size: .9rem; font-weight: 550; }
.tl-text { max-width: 58ch; margin-top: 12px; color: var(--text); font-size: 1.02rem; }
.tl-stats { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 20px 0 0; padding: 0; list-style: none; }
.tl-stats strong { display: block; color: var(--ink); font: 500 2.6rem/1 var(--serif); letter-spacing: -.045em; font-variant-numeric: tabular-nums lining-nums; }
.tl-count { display: inline-block; }
.tl-stats li > span { display: block; max-width: 19ch; margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.tl-tags li { padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font: 500 .72rem/1.7 var(--mono); }
.tl-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .88rem; }

.tl-end { padding: 44px 0 64px; border-top: 1px solid var(--line); }
.tl-end h2 { font: 500 clamp(2rem, 4vw, 2.6rem)/1.08 var(--serif); letter-spacing: -.045em; }
.tl-end p { max-width: 52ch; margin-top: 10px; color: var(--text); }

/* A role's responsibilities, projects and results, inside its chapter */
.tl-details { max-width: 64ch; margin-top: 22px; border-top: 1px solid var(--line); }
.tl-details summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  padding: 13px 0 6px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.tl-details summary::-webkit-details-marker { display: none; }
.tl-details summary::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: -4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 500 .95rem/1 var(--sans);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  align-self: center;
}
.tl-details[open] summary::before { transform: rotate(45deg); }
.tl-details summary:hover .tl-details-label { text-decoration: underline; text-underline-offset: .2em; }
.tl-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.tl-details-meta { color: var(--muted); font: 500 .72rem/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tl-details-body { padding: 4px 0 8px; }
.tl-points { margin: 10px 0 0; padding-left: 18px; color: var(--text); font-size: .95rem; list-style: disc; }
.tl-points li + li { margin-top: 7px; }
.tl-points li::marker { color: var(--blue); }
.tl-group { margin-top: 22px; }
.tl-group h3 { color: var(--blue); font: 550 .74rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tl-projects { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.tl-project { padding: 15px 18px 16px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff8c; }
.tl-project-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.tl-project h4 { margin: 0; font: 550 1.25rem/1.25 var(--serif); letter-spacing: -.02em; }
.tl-project-head span { color: var(--muted); font: 500 .72rem/1.6 var(--mono); }
.tl-project > p { margin-top: 6px; color: var(--text); font-size: .94rem; }
.tl-project .tl-points { font-size: .9rem; }
.tl-project > .tl-stack { margin-top: 10px; color: var(--muted); font: 500 .72rem/1.6 var(--mono); }

/* Animated view */
html[data-view="animated"] { scroll-behavior: smooth; }
[data-view="animated"] .tl-progress { display: block; }
[data-view="animated"] .tl-chapter { --pad: 15vh; padding-bottom: 0; scroll-margin-top: calc(45vh - var(--pad) - 12px); transition: opacity .6s ease; }
[data-view="animated"] .tl-chapter:first-child { --pad: 3vh; }
[data-view="animated"] .tl-chapter:last-child { padding-bottom: 30vh; }
[data-view="animated"] .tl-chapter.is-in:not(.is-active) { opacity: .42; }
[data-view="animated"] .tl-dot { transition: transform .45s cubic-bezier(.2, .8, .2, 1), background .45s, box-shadow .45s; }
[data-view="animated"] .is-past .tl-dot, [data-view="animated"] .is-active .tl-dot { background: var(--blue); }
[data-view="animated"] .is-active .tl-dot { transform: scale(1.4); box-shadow: 0 0 0 6px #2447811f; }
[data-view="animated"] .tl-track::before { mask-image: linear-gradient(#000 88%, transparent); }

[data-view="animated"] .tl-card > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1);
}
[data-view="animated"] .is-in .tl-card > * { opacity: 1; transform: none; }
.tl-card > :nth-child(2) { transition-delay: 70ms; }
.tl-card > :nth-child(3) { transition-delay: 140ms; }
.tl-card > :nth-child(4) { transition-delay: 210ms; }
.tl-card > :nth-child(5) { transition-delay: 280ms; }
.tl-card > :nth-child(6) { transition-delay: 350ms; }
.tl-card > :nth-child(7) { transition-delay: 420ms; }
[data-view="animated"] .tl-tags li { transition: transform .4s, opacity .4s; }
.tl-card > :nth-child(8) { transition-delay: 490ms; }
.tl-card > :nth-child(9) { transition-delay: 560ms; }

/* Details open with a height animation where the browser can animate to "auto". */
html[data-view="animated"] { interpolate-size: allow-keywords; }
[data-view="animated"] .tl-details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .6s cubic-bezier(.2, .8, .2, 1), content-visibility .6s allow-discrete;
}
[data-view="animated"] .tl-details[open]::details-content { block-size: auto; }
[data-view="animated"] .tl-details[open] .tl-details-body > * { animation: tl-rise .6s cubic-bezier(.2, .8, .2, 1) both; }
[data-view="animated"] .tl-details[open] .tl-details-body > :nth-child(2) { animation-delay: 80ms; }
[data-view="animated"] .tl-details[open] .tl-details-body > :nth-child(3) { animation-delay: 160ms; }
[data-view="animated"] .tl-details[open] .tl-details-body > :nth-child(n + 4) { animation-delay: 240ms; }
@keyframes tl-rise { from { opacity: 0; transform: translateY(12px); } }

[data-view="animated"] .tl-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 54px;
  color: var(--muted);
  font: 550 .72rem/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tl-cue span { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--line); }
.tl-cue span::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: tl-cue 2.2s cubic-bezier(.6, 0, .2, 1) infinite; }
@keyframes tl-cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

.tl-year { display: flex; color: var(--ink); font: 450 clamp(5rem, 8.6vw, 7.4rem)/1 var(--serif); letter-spacing: -.05em; font-variant-numeric: tabular-nums lining-nums; }
.tl-digit { display: block; height: 1em; overflow: hidden; mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.tl-strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d) * -1em)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.tl-strip > span { height: 1em; line-height: 1; text-align: center; }
.tl-age { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.tl-age-label { color: var(--muted); font: 550 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.tl-age-digits { display: flex; color: var(--blue); font: 500 1.9rem/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.tl-current { min-height: 2.6em; margin-top: 10px; color: var(--text); font: 500 1.15rem/1.3 var(--serif); letter-spacing: -.015em; }
.tl-rail ol { display: grid; gap: 1px; margin: 22px 0 26px; padding: 0; list-style: none; }
.tl-rail a { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 500 .78rem/1.75 var(--mono); text-decoration: none; transition: color .3s; }
.tl-rail a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.tl-rail a:hover, .tl-rail a.is-past { color: var(--ink); }
.tl-rail a.is-active { color: var(--blue); font-weight: 650; }
.tl-rail a.is-active::before { width: 32px; }

@media (min-width: 801px) {
  [data-view="animated"] .tl { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; }
  [data-view="animated"] .tl-aside { display: block; }
  .tl-aside-inner { position: sticky; top: 104px; }
}

/* On small screens the year rides in a pill at the bottom while the timeline is on screen. */
@media (max-width: 800px) {
  .tl-hero { padding: 48px 0 36px; }
  [data-view="animated"] .tl-aside { display: block; }
  .tl-aside-inner {
    position: fixed;
    z-index: 1;
    bottom: 14px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 40px);
    padding: 7px 16px 7px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 8px 24px #20242a33;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
    transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1);
  }
  .tl-on-screen .tl-aside-inner { opacity: 1; transform: translate(-50%, 0); }
  .tl-aside .tl-year { color: var(--paper); font-size: 1.5rem; letter-spacing: -.03em; }
  .tl-aside .tl-age { gap: 5px; margin: 0; padding-left: 12px; border-left: 1px solid #f9f8f433; }
  .tl-aside .tl-age-label { color: #f9f8f4aa; font-size: .62rem; }
  .tl-aside .tl-age-digits { color: var(--paper); font-size: 1.15rem; }
  .tl-aside .tl-current { min-height: 0; margin: 0; overflow: hidden; color: #f9f8f4cc; font: 550 .8rem/1.3 var(--sans); white-space: nowrap; text-overflow: ellipsis; }
  .tl-aside .tl-rail, .tl-aside .view-switch { display: none; }
  .tl-track { padding-left: 30px; }
  .tl-dot { left: -30px; }
  [data-view="animated"] .tl-chapter { --pad: 11vh; }
  .tl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .tl-stats strong { font-size: 2.2rem; }
  .tl-project { padding: 13px 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-cue span::after { animation: none; }
}

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
