/* The workbench: intentionally independent of the portfolio stylesheet. */
:root {
  --paper:#f5f3e9;
  --ink:#24251f;
  --muted:#68695e;
  --line:#d8d8c9;
  --orange:#e64d26;
  --lime:#dcf77b;
  --mono:'SFMono-Regular',Consolas,'Liberation Mono',monospace;
  --sans:Arial,Helvetica,sans-serif;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:24px;
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  font:inherit;
  color:inherit;
  cursor:pointer;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a:focus-visible,button:focus-visible {
  outline:3px solid var(--orange);
  outline-offset:6px;
}
button:disabled {
  cursor:default;
}
[hidden] {
  display:none!important;
}
::selection {
  background:var(--lime);
  color:var(--ink);
}
.shell {
  width:min(1320px,calc(100% - 112px));
  margin-inline:auto;
}
.skip {
  position:fixed;
  top:-100px;
  left:20px;
  padding:16px;
  background:var(--ink);
  color:white;
  z-index:10;
}
.skip:focus {
  top:16px;
}
.site-header {
  height:110px;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  gap:32px;
}
.wordmark {
  font-size:42px;
  letter-spacing:-3px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
}
.wordmark svg {
  width:29px;
  height:34px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  transform:rotate(-12deg);
}
.wordmark-dot {
  color:var(--orange);
  margin-left:-8px;
}
.header-note,.back-link,.eyebrow,.art-note,.project-kicker,.project-bottom,.site-footer {
  font-family:var(--mono);
}
.header-note {
  font-size:10px;
  line-height:1.6;
  letter-spacing:1px;
  border-left:1px solid var(--line);
  padding-left:26px;
}
.back-link {
  margin-left: auto;
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.back-link:hover,.github-link:hover strong,.site-footer a:hover {
  color:var(--orange);
}
.hero {
  padding-top:43px;
}
.hero-layout {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  align-items:center;
  min-height:530px;
  gap:16px;
}
.hero-copy {
  padding:34px 0 48px;
  position:relative;
}
h1 {
  font-size:clamp(68px,7.8vw,114px);
  line-height:.99;
  font-weight:800;
  letter-spacing:-7px;
  margin:0 0 30px;
  position:relative;
  width:max-content;
  max-width:100%;
}
h1 em {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  letter-spacing:-7px;
  color:var(--orange);
}
.title-scribble {
  position:absolute;
  width:68%;
  right:-2%;
  bottom:-15px;
  height:24px;
  fill:none;
  stroke:var(--orange);
  stroke-width:2;
}
.hero-copy>p {
  font-size:17px;
  line-height:1.6;
  color:var(--muted);
  margin:34px 0 27px;
}
.primary-button {
  display:inline-flex;
  gap:28px;
  align-items:center;
  background:var(--ink);
  color:var(--paper);
  padding:17px 20px;
  font-size:13px;
  border:1px solid var(--ink);
  border-radius: 999px;
  transition:background .2s,transform .2s;
}
.primary-button:hover {
  background:var(--orange);
  border-color:var(--orange);
  transform:translateY(-2px);
}
.primary-button span {
  display: inline-block;
  font-size:19px;
}
.primary-button:hover span,
.primary-button:focus-visible span {
  animation: browse-arrow-nudge .42s ease-out;
}
@keyframes browse-arrow-nudge {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(4px); }
}
.hero-art {
  height:450px;
  position:relative;
  isolation:isolate;
}
.annotation {
  display: block;
  white-space: nowrap;
  position:absolute;
  left:50%;
  bottom:-16px;
  font-family:Georgia,serif;
  font-size:21px;
  font-style:italic;
  transform:rotate(-6deg);
}
.annotation svg {
  display: block;
  position: absolute;
  width: calc(100% + 76px);
  height: 168px;
  left: -18px;
  top: -55px;
  fill:none;
  stroke:var(--ink);
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.experiments {
  padding-top:70px;
}
.section-top {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}
.eyebrow {
  font-size:9px;
  letter-spacing:1.3px;
  color:var(--muted);
}
h2 {
  font-size:36px;
  letter-spacing:-1.6px;
  line-height:1.1;
  margin:14px 0 0;
}
.orange {
  color:var(--orange);
}
.surprise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 21px;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.surprise-icon {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.surprise:hover {
  background:var(--lime);
}
.filter-bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:32px 0 26px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}
.filters {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}
.filters button {
  min-height: 44px;
  line-height: 1.3;
  border:1px solid transparent;
  border-radius:100px;
  background:transparent;
  padding:11px 14px;
  font-size:14px;
}
.filters button[aria-pressed=true] {
  background:var(--ink);
  color:var(--paper);
}
.filters button:not([aria-pressed=true]):hover {
  border-color:var(--line);
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:28px 24px;
  margin-top:26px;
}
.project {
  min-width:0;
  border:1px solid var(--line);
  background:#faf9f3;
  transition:transform .22s,box-shadow .22s,border-color .22s;
  position:relative;
}
.project:hover {
  transform:translateY(-5px);
  border-color:var(--ink);
  box-shadow:5px 6px 0 #24251f12;
}
.project.picked {
  outline:3px solid var(--orange);
  outline-offset:6px;
}
.project-layout {
  display:flex;
  flex-direction:column;
  height:100%;
}
.project-link::after {
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
}
.project-link:focus-visible {
  outline:none;
}
.project-link:focus-visible::after {
  outline:3px solid var(--orange);
  outline-offset:6px;
}
.project-art {
  height:260px;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--line);
  isolation:isolate;
}
.project-content {
  padding:24px 22px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.project-kicker {
  font-size:8px;
  letter-spacing:.8px;
  color:var(--muted);
}
h3 {
  font-size:25px;
  letter-spacing:-.8px;
  margin:13px 0 9px;
  line-height:1.1;
}
.tagline {
  font-size:14px;
  line-height:1.45;
  margin:0 0 10px;
}
.project-description {
  font-size:12px;
  line-height:1.65;
  color:var(--muted);
  margin:0 0 24px;
}
.project-bottom {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:12px;
  padding-top:4px;
  margin-top:auto;
  font-size:8px;
  line-height:1.5;
  min-height:28px;
}
.project-related {
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin-right:auto;
  font:11px/1.5 var(--sans);
  color:var(--muted);
}
.project-related:hover,.project-related:focus-visible {
  color:var(--orange);
  text-decoration:underline;
  text-underline-offset:.2em;
}
.project-bottom>span:last-child {
  font-family:var(--sans);
  font-size:11px;
}
.project--featured {
  grid-column:span 2;
}
.project--featured .project-layout {
  display:grid;
  grid-template-columns:1.05fr 1fr;
}
.project--featured .project-art {
  height:100%;
  min-height:385px;
  border-bottom:0;
  border-right:1px solid var(--line);
}
.project--featured .project-content {
  padding:38px 26px 24px;
}
.project--featured h3 {
  font-size:35px;
  margin-top:28px;
}
.project--featured .tagline {
  font-size:20px;
  line-height:1.4;
  margin-bottom:18px;
}
.project-content>h3:first-child {
  margin-top:0;
}
.art--focus {
  background:#dce4d2;
  display:grid;
  place-items:center;
  background-image:linear-gradient(#a3b89835 1px,transparent 1px),linear-gradient(90deg,#a3b89835 1px,transparent 1px);
  background-size:24px 24px;
}
.focus-window {
  width:76%;
  margin-top:15px;
  padding:12px 18px 22px;
  background:#f8f8ed;
  border:1px solid #727f60;
  box-shadow:8px 10px 0 #263b2320;
  transform:rotate(-5deg);
  text-align:center;
  border-radius:6px;
}
.window-dots {
  text-align:left;
  color:#768963;
  font-size:9px;
  border-bottom:1px solid #b8c6a8;
  padding-bottom:9px;
  margin-bottom:21px;
  letter-spacing:2px;
}
.focus-window>span {
  font-family:var(--mono);
  font-size:7px;
  letter-spacing:1px;
}
.focus-window strong {
  display:block;
  font-size:22px;
  font-weight:400;
  letter-spacing:-.7px;
  margin-top:14px;
  line-height:1.1;
}
.timer {
  font-size:51px;
  letter-spacing:-3px;
  margin:14px 0;
  font-family:Georgia,serif;
}
.timer span {
  color:#929f86;
}
.focus-pill {
  background:#e3edcf;
  display:inline-block;
  border-radius:30px;
  padding:6px 12px;
  font-size:8px;
  color:#4d623d;
}
.art--breather {
  background:#d6c8ee;
  color:#382a50;
}
.breath-orbit {
  border:1px solid #6b527e40;
  border-radius:50%;
  position:absolute;
  top:49%;
  left:50%;
  transform:translate(-50%,-50%);
  aspect-ratio:1;
  width:220px;
}
.orbit-two {
  width:175px;
  background:#e3d7f338;
}
.orbit-three {
  width:130px;
  background:#ede5fb66;
}
.breath-center {
  position:absolute;
  top:45%;
  left:50%;
  transform:translate(-50%,-50%);
  font-family:Georgia,serif;
  font-style:italic;
  font-size:38px;
  text-align:center;
  white-space:nowrap;
}
.breath-center span {
  display:block;
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:1px;
  font-style:normal;
  margin-top:12px;
}
.art-note {
  position:absolute;
  bottom:20px;
  left:18px;
  font-size:7px;
  letter-spacing:.8px;
  max-width:calc(100% - 65px);
}
.art--words {
  background:#f2df73;
}
.quote-sheet {
  position:absolute;
  top:30px;
  left:19%;
  width:65%;
  height:220px;
  background:#fff7cd;
  transform:rotate(-8deg);
  padding:18px 24px;
  box-shadow:3px 6px 0 #a58d2830;
}
.quote-mark {
  font-family:Georgia,serif;
  font-size:64px;
  position:absolute;
  top:1px;
  left:18px;
  color:#ae8227;
}
.quote-sheet strong {
  display:block;
  font-size:28px;
  font-family:Georgia,serif;
  font-weight:400;
  line-height:1.1;
  margin-top:35px;
}
.underlined {
  font-family:var(--mono);
  font-size:7px;
  display:block;
  border-bottom:1px solid #9c843f;
  width:max-content;
  margin-top:20px;
  padding-bottom:4px;
}
.spark {
  position:absolute;
  font-size:64px;
  right:18px;
  top:29px;
  color:#e64d26;
  transform:rotate(15deg);
}
.art--reading {
  background:#e6dccc;
}
.note {
  position:absolute;
  padding:24px;
  background:#faf5e9;
  width:62%;
  height:180px;
  box-shadow:2px 4px 4px #51443112;
}
.note-back {
  left:27%;
  top:28px;
  transform:rotate(12deg);
  background:#c8d5e9;
  font:italic 19px Georgia,serif;
}
.note-front {
  left:14%;
  top:61px;
  transform:rotate(-8deg);
}
.note-front>span {
  font:7px var(--mono);
  letter-spacing:.5px;
}
.note-front strong {
  display:block;
  font:25px Georgia,serif;
  line-height:1.15;
  margin:16px 0;
}
.note-front i {
  display:block;
  height:1px;
  background:#d2cab8;
  margin-top:8px;
}
.art--ganpati {
  background:#f1ab7e;
  color:#803713;
}
.face-frame {
  position:absolute;
  inset:50px 70px 40px;
}
.face-frame svg {
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}
.corner {
  position:absolute;
  width:18px;
  height:18px;
  border:1px solid;
}
.tl {
  left:0;
  top:0;
  border-right:0;
  border-bottom:0;
}
.tr {
  right:0;
  top:0;
  border-left:0;
  border-bottom:0;
}
.bl {
  left:0;
  bottom:0;
  border-right:0;
  border-top:0;
}
.br {
  right:0;
  bottom:0;
  border-left:0;
  border-top:0;
}
.art--counting {
  background:#283c39;
  color:#deebaa;
}
.density-field {
  position:absolute;
  inset:40px 25px 30px;
  background-image:linear-gradient(#c7d7b316 1px,transparent 1px),linear-gradient(90deg,#c7d7b316 1px,transparent 1px);
  background-size:25px 25px;
}
.density-field i {
  position:absolute;
  left:calc(var(--x)*1%);
  top:calc(var(--y)*1%);
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d1f690;
  box-shadow:0 0 16px 6px #a5eb6230;
  opacity:.85;
}
.density-field i:nth-child(3n) {
  background:#f0b76b;
  box-shadow:0 0 18px 8px #ef915333;
}
.art--speed {
  background:#272722;
  color:#d4f77b;
}
.speed-bars {
  position:absolute;
  inset:55px 40px 30px;
}
.speed-bars>span {
  font:8px var(--mono);
  letter-spacing:1px;
}
.speed-bars i {
  display:block;
  height:16px;
  width:var(--w);
  background:#d4f77b;
  margin-top:10px;
}
.speed-bars i:nth-of-type(2) {
  opacity:.75;
}
.speed-bars i:nth-of-type(3) {
  opacity:.5;
}
.speed-bars i:nth-of-type(4) {
  opacity:.3;
}
.speed-bars strong {
  display:block;
  font-size:21px;
  font-weight:400;
  margin-top:16px;
  letter-spacing:-.5px;
}
.art--stocks {
  background:#d4dff0;
  color:#314d7a;
}
.chart {
  position:absolute;
  inset:50px 20px 40px;
  width:calc(100% - 40px);
  height:calc(100% - 90px);
  fill:none;
}
.chart-grid {
  stroke:#839bc330;
  stroke-width:1;
}
.chart-line {
  stroke:#3b5790;
  stroke-width:3;
  stroke-linejoin:round;
}
.art--vaccine {
  background:#e6eed6;
  color:#425439;
  display:grid;
  place-items:center;
}
.notification {
  position:relative;
  width:85%;
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid #819174;
  background:#f5f8eb;
  border-radius:9px;
  padding:22px 16px;
  transform:rotate(-5deg);
  box-shadow:4px 6px 0 #42543918;
}
.notification-icon {
  font-size:22px;
  background:#c9e5ad;
  padding:6px 10px;
  border-radius:50%;
}
.notification div>span {
  font:7px var(--mono);
  letter-spacing:.5px;
}
.notification strong {
  font-size:18px;
  display:block;
  font-weight:400;
  line-height:1.4;
  margin-top:8px;
}
.notification-dot {
  position:absolute;
  right:14px;
  top:14px;
  width:6px;
  height:6px;
  background:#768c52;
  border-radius:50%;
}
.art--resume {
  background:#e8bfb6;
}
.resume-paper {
  background:#f8f2e9;
  width:65%;
  height:230px;
  padding:28px;
  position:absolute;
  left:18%;
  top:35px;
  transform:rotate(6deg);
  box-shadow:4px 4px 0 #8e584a22;
}
.resume-paper>span {
  font:7px var(--mono);
  letter-spacing:1px;
}
.resume-paper>strong {
  display:block;
  font-size:34px;
  letter-spacing:-1px;
  line-height:1;
  margin:15px 0;
}
.resume-line {
  height:3px;
  background:#ccc1ae;
  width:85%;
  margin-top:8px;
}
.resume-line.short {
  width:60%;
}
.resume-stamp {
  position:absolute;
  bottom:25px;
  right:-22px;
  font:9px var(--mono);
  line-height:1.4;
  border:1px solid #8d4937;
  border-radius:50%;
  width:80px;
  height:80px;
  display:grid;
  place-content:center;
  text-align:center;
  color:#8d4937;
  transform:rotate(-19deg);
  background:#e7c0b5;
}
.github-browse {
  margin-top: 32px;
  text-align: center;
}
.github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  font-size: 12px;
  color: var(--muted);
}
.github-link:hover {
  background: #24251f06;
  border-color: #a6a69b;
}
.github-link strong {
  color:var(--ink);
  font-weight: 500;
}
.closing {
  margin-top:48px;
  padding:24px 0 44px;
  position:relative;
  border-bottom:1px solid var(--line);
}
.closing h2 {
  font-size:clamp(45px,5vw,70px);
  font-weight:400;
  letter-spacing:-3px;
  margin-top:0;
  text-align:center;
}
.closing-bottom {
  display:flex;
  align-items:end;
  justify-content:center;
  margin-top:32px;
  gap:24px;
}
.closing-bottom a {
  font-size:16px;
  border: 1px solid #9b9d8f;
  border-radius: 24px;
  padding: 12px 18px;
  min-height: 44px;
  display:flex;
  gap:60px;
}
.closing-bottom a:hover {
  color:var(--orange);
  border-color:var(--ink);
}
.site-footer {
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-size:8px;
  letter-spacing:.5px;
  color:var(--muted);
}
.footer-name {
  color:var(--ink);
  font-size:10px;
}
.site-footer>a:last-child {
  font-size:10px;
}
@media(min-width:1300px) {
  .hero-layout {
    grid-template-columns: 1fr 1.22fr;
    min-height: 620px;
    gap: 16px;
  }
  .hero-art {
    height: 600px;
  }
  .project-art {
    height:290px;
  }
}
@media(max-width:1050px) {
  .shell {
    width:calc(100% - 64px);
  }
  h1 {
    letter-spacing:-5px;
  }
  .hero-layout {
    grid-template-columns:1.2fr 1fr;
    min-height:490px;
  }
  .hero-art {
    height:360px;
  }
  .project-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .project--featured {
    grid-column:auto;
  }
  .project--featured .project-layout {
    display:flex;
  }
  .project--featured .project-art {
    height:260px;
    min-height:0;
    border-bottom:1px solid var(--line);
    border-right:0;
  }
  .project--featured .project-content {
    padding:24px 22px 18px;
  }
  .project--featured h3 {
    font-size:25px;
    margin-top:13px;
  }
  .project--featured .tagline {
    font-size:14px;
    margin-bottom:10px;
  }
  .focus-window {
    width:63%;
    padding:7px 15px 12px;
    margin-top:30px;
  }
  .window-dots {
    margin-bottom:9px;
    padding-bottom:5px;
  }
  .focus-window strong {
    font-size:19px;
    margin-top:8px;
  }
  .timer {
    font-size:38px;
    margin:8px 0;
  }
  .filter-bar {
    align-items:start;
  }
  .filters button {
    padding:10px;
  }
  .hero-copy>p {
    font-size:15px;
  }
  .annotation {
    font-size:19px;
    left:40%;
  }
}
@media(max-width:700px) {
  .shell {
    width:calc(100% - 40px);
  }
  .site-header {
    height:85px;
    gap:18px;
  }
  .wordmark {
    font-size:35px;
  }
  .wordmark svg {
    width:24px;
  }
  .header-note {
    font-size:7px;
    padding-left:16px;
    letter-spacing:.5px;
  }
  .hero {
    padding-top:25px;
  }
  .hero-layout {
    display:block;
  }
  .hero-copy {
    padding:37px 0 12px;
  }
  h1 {
    font-size:clamp(64px,12.8vw,88px);
    letter-spacing:-4px;
  }
  h1 em {
    letter-spacing:-4px;
  }
  .hero-copy>p {
    font-size:15px;
    line-height:1.6;
    margin-top:30px;
  }
  .primary-button {
    font-size:12px;
    padding:15px;
    gap:22px;
  }
  .hero-art {
    height:330px;
    width:min(100%,410px);
    margin:8px auto 32px;
  }
  .annotation {
    font-size:18px;
  }
  .experiments {
    padding-top:48px;
  }
  .section-top {
    align-items:start;
  }
  .eyebrow {
    font-size:8px;
    letter-spacing:.8px;
  }
  h2 {
    font-size:29px;
    letter-spacing:-1.2px;
    max-width:260px;
  }
  .surprise {
    min-height: 46px;
    font-size: 13px;
    padding: 11px 16px;
    gap: 8px;
    margin-top: 20px;
  }
  .filter-bar {
    display:block;
    margin-top:24px;
    padding-bottom:14px;
  }
  .filters {
    gap:5px;
  }
  .filters button {
    font-size:13px;
    padding:10px;
  }
  .project-grid {
    gap:20px 16px;
  }
  .project-art {
    height:220px;
  }
  .project--featured .project-art {
    height:220px;
  }
  .project-content,.project--featured .project-content {
    padding:20px 18px 16px;
  }
  .project-kicker {
    font-size:7px;
  }
  h3,.project--featured h3 {
    font-size:23px;
  }
  .project-description {
    font-size:12px;
  }
  .project-bottom {
    font-size:7px;
    gap:8px;
  }
  .project-bottom>span:last-child {
    font-size:10px;
  }
  .closing {
    margin-top:28px;
    padding-top:16px;
  }
  .closing h2 {
    font-size:48px;
    letter-spacing:-2px;
    max-width:none;
  }
  .closing-bottom a {
    width:max-content;
  }
  .site-footer {
    flex-wrap:wrap;
    justify-content:space-between;
    padding-block:24px;
    gap:20px;
    min-height:100px;
  }
  .site-footer>span {
    order:3;
    width:100%;
    font-size:7px;
  }
  .github-link {
    font-size:11px;
  }
  .face-frame {
    inset:45px 40px 35px;
  }
  .quote-sheet {
    padding:12px 16px;
    left:12%;
    width:73%;
  }
  .quote-sheet strong {
    font-size:24px;
  }
  .spark {
    font-size:46px;
    right:9px;
  }
  .notification {
    padding:18px 12px;
    gap:8px;
  }
  .notification strong {
    font-size:16px;
  }
  .note {
    padding:18px;
  }
  .note-front strong {
    font-size:22px;
  }
  .resume-paper {
    padding:20px;
  }
  .speed-bars {
    inset:45px 25px 24px;
  }
  .speed-bars strong {
    font-size:19px;
  }
}
@media(max-width:520px) {
  .project-grid {
    grid-template-columns:1fr;
  }
  .project-art,.project--featured .project-art {
    height:280px;
  }
  .focus-window {
    width:65%;
    padding:9px 18px 17px;
  }
  .focus-window strong {
    font-size:24px;
  }
  .timer {
    font-size:49px;
    margin:12px 0;
  }
  .window-dots {
    margin-bottom:14px;
  }
  .project-content,.project--featured .project-content {
    padding:25px 22px 20px;
  }
  .project-kicker {
    font-size:8px;
  }
  h3,.project--featured h3 {
    font-size:27px;
  }
  .project-bottom {
    font-size:8px;
  }
  .project-bottom>span:last-child {
    font-size:12px;
  }
  .quote-sheet {
    width:61%;
    left:20%;
    padding:20px 25px;
  }
  .quote-sheet strong {
    font-size:30px;
  }
  .spark {
    right:28px;
    font-size:65px;
  }
  .note-front strong {
    font-size:29px;
  }
  .note {
    width:62%;
    height:190px;
    padding:24px;
  }
  .note-front {
    top:65px;
  }
  .face-frame {
    inset:45px 75px 40px;
  }
  .speed-bars {
    inset:55px 40px 35px;
  }
  .notification {
    padding:24px 20px;
  }
  .notification strong {
    font-size:21px;
  }
  .notification div>span {
    font-size:8px;
  }
  .resume-paper {
    width:59%;
    left:22%;
    padding:28px;
  }
  .closing h2 {
    font-size:43px;
  }
}
@media(max-width:360px) {
  .shell {
    width:calc(100% - 32px);
  }
  .header-note {
    font-size:6px;
  }
  .hero-art {
    height:310px;
  }
  .section-top {
    display:block;
  }
  .surprise {
    margin-top:18px;
  }
  .closing h2 {
    font-size:38px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
}

/* The lead experiment gets the wide card; order lives in the HTML. */
@media (min-width: 1051px) {
  .project--featured .note-front { top: 28%; }
  .project--featured .note-back { top: 20%; }
  .project--focus .focus-window { width: 70%; padding: 8px 16px 14px; }
  .project--focus .window-dots { margin-bottom: 10px; padding-bottom: 6px; }
  .project--focus .focus-window strong { font-size: 20px; margin-top: 8px; }
  .project--focus .timer { font-size: 39px; margin: 9px 0; }
}


.art--marvel {
  background: #571f2b;
  color: #ffe6ca;
}
.multiverse-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #f18c74;
  stroke-width: 1.5;
  opacity: .7;
}
.multiverse-lines circle {
  fill: #571f2b;
}
.multiverse-title {
  position: absolute;
  left: 28px;
  top: 48px;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 400;
}

.art--attention {
  background: #cbdedb;
  color: #254a48;
}
.art--training {
  background: #30394f;
  color: #e0e6f2;
}
.visualizer-title {
  position: absolute;
  top: 27px;
  left: 26px;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 400;
}
.attention-heads {
  position: absolute;
  inset: 118px 26px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.attention-heads > div {
  display: flex;
  align-items: stretch;
  gap: 4px;
  border-bottom: 1px solid #254a4860;
  padding-bottom: 10px;
}
.attention-heads i {
  background: #467975;
  flex: 1;
  border-radius: 3px;
}
.attention-heads > div:nth-child(2) i { background: #63918c; }
.attention-heads > div:nth-child(3) i { background: #8ba995; }
.attention-heads i.latent {
  background: #dcefa0;
  border: 1px solid #71916b;
  margin-top: 22px;
}
.gpu-cluster {
  position: absolute;
  inset: 121px 26px 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gpu-cluster > div {
  border: 1px solid #97a7c2;
  border-radius: 5px;
  padding: 10px 7px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 4px 4px 0 #151e3140;
}
.gpu-cluster i {
  flex: 1;
  background: #bccae9;
  border-radius: 2px;
}
.gpu-cluster i:nth-child(2) { background: #a8c9b4; }
.gpu-cluster i:nth-child(3) { background: #dec99a; }

/* Keep filter announcements available without a visible caption. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer-heart {
  color: var(--orange);
  margin-left: 3px;
}

/* Everything includes article cards; Writing keeps the shared, simple list. */
.filters .writing-switch {
  margin-left: 12px;
  position: relative;
}
.filters .writing-switch::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 25%;
  height: 50%;
  border-left: 1px solid var(--line);
}
.writing-panel {
  padding: 0;
}
.writing-destinations {
  display: flex;
  gap: 22px;
  font-size: 12px;
}
.writing-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:18px;
  padding:28px;
  border:1px solid var(--line);
  background:#faf9f3;
  min-height:300px;
}
.writing-entry {
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:30px;
  padding:28px 0;
  border-bottom:1px solid var(--line);
}
.writing-content {
  display:flex;
  flex-direction:column;
  flex:1;
}
.writing-entry time,.writing-card time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.writing-entry h3,.writing-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.5px;
}
.writing-card p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.writing-entry h3 {
  font-size:23px;
  line-height:1.3;
}
.writing-entry p {
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
.writing-card a:hover,
.writing-panel a:hover, .writing-destinations a:hover {
  color: var(--orange);
}
.writing-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
  padding-top:8px;
}
.writing-card .writing-actions a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  font-weight:500;
  line-height:1.4;
}
.writing-card .writing-actions .writing-read-blog {
  background:var(--ink);
  border-color:var(--ink);
  color:var(--paper);
}
.writing-card .writing-actions .writing-read-blog:hover {
  background:var(--orange);
  border-color:var(--orange);
  color:white;
}
.writing-card .writing-actions .writing-read-substack:hover {
  border-color:var(--ink);
}
.writing-entry .writing-actions {
  margin-top:10px;
  padding-top:0;
  gap:18px;
}
.writing-entry .writing-actions a {
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:4px 0;
  color:var(--muted);
  font-size:12px;
}
.writing-entry .writing-actions a:hover,
.writing-entry .writing-actions a:focus-visible {
  color:var(--orange);
  text-decoration:underline;
  text-underline-offset:.2em;
}
@media (max-width: 700px) {
  .writing-destinations { gap: 15px; font-size: 11px; }
  .writing-card { gap:14px; padding:24px; }
  .writing-entry { grid-template-columns:1fr; gap:12px; padding:24px 0; }
  .writing-card h3 { font-size:24px; }
  .writing-entry h3 { font-size:21px; }
  .writing-entry p { font-size: 13px; }
}
.writing-entry h3,.writing-card h3 {
  text-wrap: pretty;
}
@media (max-width: 700px) {
  .filters .writing-switch { margin-left: 0; }
  .filters .writing-switch::before { display: none; }
}

.filter-bar > .writing-destinations {
  flex-shrink: 0;
  align-items: center;
}
@media (max-width: 700px) {
  .filter-bar > .writing-destinations {
    justify-content: flex-end;
    margin-top: 18px;
  }
}


/* Typography, card boundaries, color changes and focus rings identify links. */
.writing-entry h3 a:focus-visible,
.writing-destinations a:focus-visible,
.back-link:focus-visible,
.github-link:focus-visible strong,
.project:hover .project-bottom > span,
.project:focus-within .project-bottom > span {
  color: var(--orange);
}
.project-bottom > span {
  font-weight: 500;
}

/* A small aligned arrow for card actions; writing gets an underline only on interaction. */
.project-bottom > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.project-action-icon {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
  opacity: .7;
}
.writing-entry h3 a:hover,
.writing-entry h3 a:focus-visible,
.writing-card h3 a:hover,
.writing-card h3 a:focus-visible,
.writing-destinations a:hover,
.writing-destinations a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-skip-ink: auto;
}

@media (max-width: 520px) {
  .header-note { display: none; }
}
