@font-face {
  font-family: BlackerSans;
  src: url("https://framerusercontent.com/assets/qUQAgb7YN25GwWtlHk3sX8s.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("https://fonts.gstatic.com/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0SZe1Q.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
}
@font-face {
  font-family: "Blacker Sans Fallback";
  src: local("Arial");
  ascent-override: 105.24%;
  descent-override: 21.89%;
  line-gap-override: 0%;
  size-adjust: 92.8%;
}
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local("Arial");
  ascent-override: 93.97%;
  descent-override: 24.22%;
  line-gap-override: 0%;
  size-adjust: 103.22%;
}
:root {
  --ink: #002147;
  --paper: #c7d4d4;
  --accent: #cad82d;
  --gutter: 25px;
  --body-font: "Instrument Sans", "Instrument Sans Fallback", sans-serif;
  --display-font: BlackerSans, "Blacker Sans Fallback", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
}
* { box-sizing: border-box; }
body { margin: 0; }
main { padding: var(--gutter); }
h1, h2, p, ul { margin: 0; }
h1, h2 { font-family: var(--display-font); }
h1 {
  font-size: 83px;
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 400;
}
h2 {
  font-size: 45px;
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 500;
  white-space: pre-line;
}
.portrait {
  display: block;
  width: min(644px, 100%);
  height: 400px;
  object-fit: contain;
  object-position: left center;
}
.mascot {
  position: fixed;
  z-index: 3;
  top: 22px;
  right: 22px;
  width: clamp(182px, 18.2vw, 292px);
  height: auto;
  aspect-ratio: 580 / 400;
  display: none;
}
.bio {
  display: grid;
  gap: 1.45em;
  margin-top: 44px;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.45;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4em 1em;
  margin-top: 30px;
  font: 600 30px/1.15 sans-serif;
}
a { color: inherit; text-underline-offset: .12em; }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  margin-top: 50px;
}
.description {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -.02em;
  font-weight: 600;
  white-space: pre-line;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.tags li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
}
.tags img { width: 15px; height: 15px; object-fit: contain; }
.films {
  display: grid;
  grid-template-columns: repeat(var(--film-columns, 1), minmax(0, 1fr));
  gap: 16px;
}
.media {
  display: block;
  width: 100%;
  aspect-ratio: var(--media-ratio);
  border: 0;
  overflow: hidden;
  object-fit: cover;
  background: rgb(255 255 255 / 4%);
}
@media (width < 810px) {
  .desktop-break { display: none; }
  .portrait { width: min(300px, 100%); }
  h1 { margin-top: 15px; font-size: 40px; line-height: .96; letter-spacing: -.06em; }
  h2 { font-size: clamp(36px, 11.5vw, 45px); font-weight: 400; }
  .plane h2 { font-size: 65px; }
  .bio { margin-top: 36px; font-size: 20px; line-height: 1.52; }
  nav { margin-top: 20px; font-family: var(--body-font); font-size: 20px; font-weight: 900; }
}
@media (width >= 810px) {
  .mascot { display: block; }
  .project {
    display: flex;
    gap: var(--project-gap, 60px);
  }
  .project.left { flex-direction: row-reverse; justify-content: flex-end; }
  .project-copy, .films { min-width: 0; }
  .project-copy { flex: 0 1 var(--copy-width, 65%); }
  .films { flex: 0 1 var(--film-width, 65%); gap: 20px; }
  .wide, .plane, .pair { --film-columns: 2; }
  .plane { --copy-width: 27%; }
  .strong .description { font-weight: 700; }
}
@media (810px <= width < 1600px) {
  .project.tablet-stack { flex-direction: column; }
  .tablet-stack .project-copy, .tablet-stack .films { flex: none; }
  .tablet-stack .project-copy { width: var(--copy-width, 100%); }
  .tablet-stack .films { width: 100%; }
  .wide { --copy-width: 89%; }
  .horizontal { --project-gap: 30px; }
  .pair { --copy-width: 80%; --project-gap: 65px; }
  .cyver, .birthday { --film-width: 90%; }
  .birthday { --copy-width: 70%; }
  .oracle h2 { font-size: 100px; }
  .wide .description, .birthday .description { font-size: 25px; }
  .plane .description, .horizontal .description, .pair .description { font-size: 18px; }
}
@media (810px <= width < 1100px) {
  h1 { font-size: clamp(60px, 8.1vw, 83px); }
  .bio, nav { font-size: clamp(23px, 2.9vw, 30px); }
}
@media (width >= 1600px) {
  .project {
    --copy-width: 32%;
    max-width: 2600px;
    margin: 0 auto;
    padding-block: 82px;
    justify-content: flex-end;
  }
  .project.left { --copy-width: 53%; --film-width: 42%; }
  .project:is(.wide, .birthday) {
    --copy-width: 50%;
    --film-width: 50%;
    --film-columns: 2;
    --title-size: 120px;
  }
  .project:is(.plane, [aria-labelledby="specto-assist"]) {
    --copy-width: 27%;
    --film-width: 65%;
  }
  .project.plane { --film-columns: 3; }
  .project.horizontal { --copy-width: 65%; }
  .project.pair { --copy-width: 80%; --film-width: 65%; }
  .project.cow { --copy-width: 80%; --film-width: 90%; --film-columns: 2; }
  .project[aria-labelledby="prosper"] { --title-size: 125px; }
  .project:is(.oracle, [aria-labelledby="comp-tracker"]) { --title-size: 130px; }
  .project[aria-labelledby="specto-assist"] { --title-size: 140px; }
  .project:is([aria-labelledby="barbenheimer"], [aria-labelledby="overwhelming"]) {
    --copy-width: 53%;
    --film-width: 42%;
    --title-size: 104px;
  }
  .project h2 { font-size: var(--title-size, 160px); overflow-wrap: anywhere; }
  .description, .tags li { font-size: 27px; }
  .tags { margin-top: 27px; }
}

.intro {
  position: relative;
  text-align: left;
}

.intro .portrait {
  width: min(644px, 82%);
  height: auto;
  aspect-ratio: 644 / 400;
  margin-inline: 0;
  object-position: left center;
}

.intro h1 {
  max-width: 1184px;
  margin: 18px 0 0;
  font: 400 clamp(35px, 4.75vw, 76px)/.97 var(--display-font);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.intro .bio {
  gap: 12px;
  margin-top: 25px;
  line-height: 1.24;
}

.intro .bio > p:first-child {
  max-width: 644px;
  margin-inline: 0;
  font-size: clamp(18px, 2.125vw, 34px);
  font-weight: 400;
}

.intro .experience {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: .25em;
  row-gap: 4px;
  font-size: clamp(15px, 1.875vw, 30px);
  font-weight: 700;
}

.intro nav {
  justify-content: flex-start;
  margin-top: 30px;
}

@media (width < 810px) {
  .intro-break { display: none; }
  .intro .bio { margin-top: 18px; }
  .intro nav { margin-top: 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .project.project-at-edge:not(:focus-within) {
    transform: scale(var(--project-scale));
    transform-origin: center;
    filter: blur(var(--project-blur));
    opacity: var(--project-opacity);
  }
}

/* The outer slot reflows with the glyph. The inner span handles its vertical motion. */
.intro h1 { position: relative; }
.fruit-word { white-space: nowrap; }
.fruit-letter, .fruit-glyph { display: inline-block; }

.fruit-glyph.is-emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: .72em;
}
