@font-face{font-family:Climate;src:url('/fonts/ClimateCrisis.ttf');font-display:swap}
@font-face{font-family:Bricolage;src:url('/fonts/BricolageGrotesque.ttf');font-weight:200 800;font-display:swap}

:root{--surface:#fff;--ink:#151515;--accent:#1800ff;--study:#5f00ff}
:root[data-accent=orange]{--accent:#c53600;--study:#d13d00}
:root[data-accent=purple]{--accent:#9900ff;--study:#ad00ff}
:root[data-theme=dark]{--surface:#111;--ink:#f4f1eb;--accent:#708fff;--study:#8099ff}
:root[data-theme=dark][data-accent=orange]{--accent:#ff885c;--study:#ff9433}
:root[data-theme=dark][data-accent=purple]{--accent:#c57bff;--study:#e783ff}

*{box-sizing:border-box}
body{margin:0;background:var(--surface);color:var(--ink);font:400 20px/1.5 Bricolage,Arial,sans-serif}
a{color:inherit;text-decoration:none}
a:hover{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:7px}
.skip{position:fixed;top:-100px;left:20px;background:var(--surface);z-index:10;padding:12px}
.skip:focus{top:10px}
header{padding:23px 4%;display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}
.reader-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
}
.reader-back .nav-arrow {
  width: 26px;
  height: 26px;
  flex: none;
  overflow: visible;
  fill: currentColor;
  transform: rotate(225deg);
}
.theme-toggle{border:0;background:none;color:inherit;cursor:pointer;padding:8px;display:flex}
main{padding:55px 4% 35px}
h1{font:400 clamp(20px,5.7vw,88px)/1.2 Climate,sans-serif;letter-spacing:-.02em;font-variation-settings:'YEAR' 2020;margin:0 0 clamp(36px,6vw,88px)}

.chapter h2, .chapter h3 {
  margin: 0;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.chapter h2 { font-size: clamp(27px, 3vw, 42px); margin-bottom: 12px; }
.chapter h3 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 4px; }
.chapter p { margin: 0; max-width: 58ch; }
.chapter .period { color: var(--accent); font-size: .78em; font-weight: 650; margin-bottom: 6px; }
.studies .period { color: var(--study); }
.chapter .role { font-size: .92em; font-weight: 650; }
.primary .description { margin-top: 20px; }
.description p + p { margin-top: 14px; }
.entries { list-style: none; padding: 0; margin: 0; }
.recent li + li { margin-top: 28px; }
.recent h2 { font-size: clamp(24px, 2.7vw, 38px); margin-bottom: 5px; }
.entries p, .degree p, .early p { font-size: .92em; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.exchange { margin-top: 22px; }
.early h2 { font-size: clamp(24px, 2.75vw, 39px); }
footer { margin-top: 36px; font-size: 13px; font-weight: 650; }

main { padding-inline: 0; }
h1, footer { margin-inline: 4%; }
h1 { margin-bottom: 22px; }

.story {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1440 / 2740;
  overflow: clip;
}

.artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  pointer-events: none;
}
.mobile-artwork { display: none; }
.artwork path, .mobile-artwork path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.artwork .work-start { fill: var(--accent); }
.work-line { stroke: var(--accent); stroke-width: 24; }
.study-line { stroke: var(--study); stroke-width: 17; }

.primary, .recent, .employer, .roles, .degree, .early > .chapter {
  position: absolute;
}
.primary { top: 5.5cqw; left: 6cqw; width: 43cqw; }
.recent { top: 51cqw; left: 80cqw; width: 17cqw; }
.employer { top: 85cqw; left: 42cqw; width: 51cqw; }
.roles { top: 93cqw; left: 48cqw; width: 43cqw; }
.degree { top: 132cqw; left: 5cqw; width: 29cqw; }
.earlier-study { position: absolute; top: 18cqw; left: 34cqw; width: 24cqw; }
.early > :first-child { top: 159cqw; left: 10cqw; width: 40cqw; }
.early > :last-child { top: 176cqw; left: 12cqw; width: 32cqw; }

.story { font-size: 1.39cqw; }
.chapter h2 { font-size: 2.8cqw; }
.chapter h3 { font-size: 1.65cqw; }
.recent h2 { font-size: 2.4cqw; }
.roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6cqw; }

@media (max-width: 760px) {
  main { position: relative; padding-top: 24px; }
  footer .reader-back { position: relative; z-index: 3; }
  h1 {
    font-size: 17.9vw;
    white-space: nowrap;
    position: relative;
    z-index: 3;
    -webkit-text-stroke: 2px var(--surface);
    paint-order: stroke fill;
  }
  .story {
    aspect-ratio: auto;
    font-size: 17px;
    padding: 64px 6% 88px;
  }
  .artwork { display: none; }
  .mobile-artwork {
    display: block;
    position: absolute;
    inset: var(--thread-top, 0px) 0 auto;
    z-index: 2;
    width: 100%;
    height: var(--thread-height, 0px);
    overflow: visible;
    clip-path: inset(-220px 0 calc(-1 * var(--thread-footer-depth, 0px)));
    pointer-events: none;
  }
  .mobile-artwork .work-line { stroke-width: clamp(14px, 4.5vw, 23px); }
  .early > :first-child { padding-inline-start: 36px; }
  .early > :last-child { padding-inline-end: 36px; }
  .recent { padding-inline-end: 30px; }
  .story .studies.recent { padding-inline-start: 28px; }
  .employer, .roles > :nth-child(odd) { padding-inline-end: 34px; }
  .roles > :nth-child(even) { padding-inline-start: 36px; }
  .story .studies.degree { padding-inline: 32px 34px; }
  .story .studies {
    position: relative;
    inset: auto;
    padding-inline-start: 18px;
  }
  .mobile-artwork .study-line { stroke-width: clamp(9px, 3.2vw, 16px); }
  .primary, .recent, .employer, .roles, .degree, .early > .chapter {
    position: static;
    width: auto;
  }
  .recent { margin-top: 264px; }
  .early { margin-top: 344px; }
  .babyshop { margin-top: 110px; }
  .recent li + li { margin-top: 48px; }
  .roles { gap: 230px; }
  .primary { position: relative; inset: auto; }
  .early > .chapter + .chapter { margin-top: 248px; }
  .roles { margin-top: 48px; }
  .degree { margin-top: 172px; }
  .earlier-study { position: static; width: auto; margin-top: 36px; }
  .chapter h2 { font-size: 28px; }
  .chapter h3 { font-size: 21px; }
}

