/* Alimehdi Malpara — Pull the L. Paper, one giant name with a loose L, a green cutting mat of real work. */
@font-face { font-family: "Archivo"; src: url(../fonts/archivo-latin.woff2?v=1) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --paper: #efeae1; --card: #e5dfd3; --card-2: #d9d2c4; --ink: #1d1d1b; --text: #2b2a27; --muted: #6c675d; --rule: #d1c9ba;
  --mat: #16231b; --mat-2: #1d2d23; --mat-line: rgba(239, 234, 225, .06); --mat-line-2: rgba(239, 234, 225, .12);
  --dark: #1d1d1b; --dark-rule: #393934; --on-dark: #efeae1; --on-dark-muted: #9c968b;
  --lime: #b9ff2f; --down: #f0a46b;
  --font: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(1rem, 3vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  /* sticker palette slots, from the site's own colours */
  --sticker-main: #b9ff2f; --sticker-tint: #e8ffc2; --sticker-deep: #16231b; --sticker-ok: #20c7bd;
  --sticker-hot: #ff7a59; --sticker-gold: #ffd23f; --sticker-white: #ffffff; --sticker-grey: #d9d2c4;
  --sticker-paper: #efeae1; --sticker-ink: #1d1d1b;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.55 var(--font); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .3; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .28 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.desk :focus-visible, .ftr :focus-visible, .menu :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* buttons: small, square, pressable */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; padding: .5rem .9rem; border: 1px solid var(--ink); border-radius: 3px; font: 600 .9375rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--ease), box-shadow .15s; box-shadow: 0 3px 0 var(--ink); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); }
.btn--lg { min-height: 3rem; padding-inline: 1.2rem; font-size: 1rem; }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 0 3px 0 #000; }
.btn--line { background: var(--paper); color: var(--ink); }
.btn span[aria-hidden], .chip span[aria-hidden] { display: inline-block; transform: rotate(45deg); transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: rotate(45deg) translateY(-2px); }
.dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); }
.link { font-weight: 600; text-decoration: underline; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .65rem; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); font: 600 .8125rem/1 var(--font); color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s var(--ease); }
.chip:active { transform: scale(.94); }
.chip--mat { background: transparent; border-color: rgba(239, 234, 225, .3); color: var(--on-dark); }
.chip--mat:hover { border-color: var(--on-dark); }

/* header: three floating objects */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gut); pointer-events: none; transition: transform .35s var(--ease); }
.hdr.is-away { transform: translateY(-120%); }
.hdr > * { pointer-events: auto; }
.hdr__mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--ink); color: var(--paper); border-radius: 3px; font: 800 .875rem/1 var(--font); font-stretch: 125%; text-decoration: none; box-shadow: 0 0 0 1px rgba(239, 234, 225, .22); }
.hdr__act { display: flex; gap: .5rem; }
.hdr .btn { box-shadow: 0 0 0 1px rgba(239, 234, 225, .22), 0 3px 0 #000; }
.hdr .btn--line { box-shadow: 0 3px 0 var(--ink); }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--dark); color: var(--on-dark); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: 6.5rem var(--gut) 2rem; }
.menu__links a { display: block; padding: .08em 0; font: 800 clamp(2.5rem, 8vw, 6.5rem)/1 var(--font); font-stretch: 125%; letter-spacing: -.03em; text-decoration: none; color: var(--on-dark-muted); transition: color .15s, transform .25s var(--ease); }
.menu__links a:hover, .menu__links a:focus-visible { color: var(--lime); transform: translateX(.5rem); }
.menu__foot { display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-weight: 600; }
.menu__foot a { padding-block: .5rem; }
.is-menu-open { overflow: hidden; }

/* hero: ALI, and the loose L */
.hero { display: flex; flex-direction: column; padding: 4.75rem 0 clamp(2.5rem, 5vh, 4rem); }
.word { display: block; padding-inline: calc(var(--gut) * .5); text-align: center; line-height: .8; }
.word__t { display: inline-block; position: relative; font: 800 30vw/.8 var(--font); font-stretch: 125%; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; user-select: none; -webkit-user-select: none; }
.lt { display: inline-block; position: relative; pointer-events: none; }
.word__t { pointer-events: none; }
.lt--l { transform-origin: 12% 8%; touch-action: none; pointer-events: auto; }
.js .lt--l { cursor: grab; }
.js .lt--l.is-held { cursor: grabbing; }
.lt--l::after { content: ""; position: absolute; left: 7%; top: 3%; width: .07em; height: .07em; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .012em var(--ink); opacity: 0; transition: opacity .2s; }
.js .lt--l::after { opacity: 1; }
.pull { position: absolute; left: 24%; top: 1%; display: none; padding: .35em .6em .3em; border-radius: 999px; background: var(--lime); color: var(--ink); font: 700 max(13px, .028em)/1 var(--font); font-stretch: 100%; letter-spacing: 0; white-space: nowrap; transform: rotate(-6deg); box-shadow: 0 .01em 0 var(--ink); pointer-events: none; }
.pull::before { content: ""; position: absolute; right: 100%; top: 50%; width: 1.6em; height: 2px; background: var(--ink); }
.js .pull { display: block; animation: pull-bob 1.6s ease-in-out infinite; }
.js .pull.is-gone { display: none; }
@keyframes pull-bob { 50% { transform: rotate(-6deg) translateY(-.12em); } }
.hero__row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; padding: clamp(1.25rem, 3vh, 2.25rem) var(--gut) 0; }
.hero__sub { max-width: 34rem; font: 700 clamp(1.4rem, 2.5vw, 2.25rem)/1.12 var(--font); font-stretch: 100%; letter-spacing: -.015em; color: var(--ink); }
.hero__act { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--l[aria-pressed="true"] { background: var(--lime); }
.hero__meta { padding: 1rem var(--gut) 0; font-size: .875rem; color: var(--muted); }
.nw { white-space: nowrap; }
.hero__meta b { padding: .15rem .35rem; background: var(--lime); color: var(--ink); border-radius: 2px; font-size: .75rem; text-transform: uppercase; }

/* desk: a green cutting mat with real work on it */
.desk { position: relative; background: var(--mat); color: var(--on-dark); }
.desk::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(var(--mat-line-2) 1px, transparent 1px) 0 0 / 100% 10rem, linear-gradient(90deg, var(--mat-line-2) 1px, transparent 1px) 0 0 / 10rem 100%,
              linear-gradient(var(--mat-line) 1px, transparent 1px) 0 0 / 100% 2rem, linear-gradient(90deg, var(--mat-line) 1px, transparent 1px) 0 0 / 2rem 100%; }
.desk__pin { position: relative; padding: clamp(3rem, 7vw, 5rem) var(--gut) clamp(3.5rem, 8vw, 6rem); }
.desk__head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem 2rem; margin-bottom: 2rem; }
.desk__h { font: 800 clamp(1.75rem, 3.6vw, 3.25rem)/1 var(--font); font-stretch: 125%; letter-spacing: -.03em; }
.desk__tools { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; font-size: .875rem; color: var(--on-dark-muted); }
.desk__hint::before { content: "↔"; display: inline-block; margin-right: .4rem; color: var(--lime); }
.desk__live:empty { display: none; }
.desk__live::before { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-right: .45rem; border-radius: 50%; background: var(--lime); vertical-align: .05em; }

/* cards: a normal grid first; the desk script lifts them onto the mat */
.desk__cards { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.dcard { --rot: 0deg; }
.dcard__in { display: flex; flex-direction: column; gap: .55rem; width: 100%; height: 100%; padding: .5rem .5rem .65rem; border: 0; border-radius: 6px; background: #f6f2ea; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 18px 34px -16px rgba(0, 0, 0, .65); transition: box-shadow .2s, transform .2s var(--ease); }
.dcard__shot { display: block; overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 10; background: var(--card-2); }
.dcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; -webkit-user-drag: none; }
.dcard__row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-inline: .15rem; }
.dcard__name { font: 800 .9375rem/1.15 var(--font); font-stretch: 112%; letter-spacing: -.01em; }
.state { display: inline-flex; align-items: center; gap: .35rem; flex: none; font-size: .75rem; font-weight: 600; color: #3f7f12; }
.state::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #5bbd1b; box-shadow: 0 0 0 3px rgba(91, 189, 27, .2); }
.state.is-down { color: #b4561c; }
.state.is-down::before { background: #e07b30; box-shadow: 0 0 0 3px rgba(224, 123, 48, .2); }

/* private tools flip to show how they run */
.dcard--flip .dcard__in { position: relative; padding: 0; background: none; box-shadow: none; perspective: 900px; min-height: 14.5rem; }
.dcard__front, .dcard__back { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .5rem; padding: 1rem; border-radius: 6px; backface-visibility: hidden; transition: transform .6s var(--spring); box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 18px 34px -16px rgba(0, 0, 0, .65); }
.dcard__front { background: var(--ink); color: var(--on-dark); justify-content: flex-end; }
.dcard__back { background: var(--lime); color: var(--ink); transform: rotateY(180deg); }
.dcard--flip [aria-pressed="true"] .dcard__front { transform: rotateY(-180deg); }
.dcard--flip [aria-pressed="true"] .dcard__back { transform: rotateY(0); }
.dcard__private { flex: 1; display: grid; place-items: center; border-radius: 3px; background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(239, 234, 225, .08) 10px 11px); }
.stamp { display: inline-block; padding: .45rem .8rem .4rem; border: 3px solid var(--lime); border-radius: 4px; color: var(--lime); font: 800 1.35rem/1 var(--font); font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; text-align: center; transform: rotate(-9deg); box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 1px rgba(185, 255, 47, .25); }
.stamp small { display: block; margin-top: .3rem; font-size: .6rem; letter-spacing: .1em; font-stretch: 100%; }
.dcard__what { font-size: .8125rem; color: var(--on-dark-muted); }
.dcard__what::after { content: " · tap to flip"; color: var(--lime); }
.dcard__steps { display: grid; gap: .3rem; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.dcard__steps b { display: inline-block; min-width: 1.6rem; font-size: .7rem; opacity: .6; }

/* the desk, once the script has laid the cards on it */
.desk.is-live .desk__cards { display: block; height: var(--mat-h, 40rem); }
.desk.is-live .dcard { position: absolute; left: 0; top: 0; width: var(--card-w, 21rem); will-change: transform; transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--rot)); touch-action: none; }
.desk.is-live .dcard.is-held { z-index: 50; }
.desk.is-live .dcard.is-held .dcard__in, .desk.is-live .dcard.is-held .dcard__front { box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 34px 60px -18px rgba(0, 0, 0, .8); transform: scale(1.04); }
.desk.is-live .dcard.is-held.dcard--flip .dcard__in { transform: none; }
.desk.is-live .dcard.is-thrown { transition: transform .6s var(--ease); }
.desk.is-pinned .dcard__shot img { transform: scale(1.45); transform-origin: 8% 30%; transition: transform .5s var(--ease); }
.desk.is-pinned .dcard__in:hover .dcard__shot img, .desk.is-pinned .dcard__in:focus-visible .dcard__shot img { transform: scale(1); }
.desk.is-pinned { height: var(--pin-h, 220vh); }
.desk.is-pinned .desk__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; padding-top: 5.5rem; padding-bottom: 1.5rem; }
.desk.is-pinned .desk__cards { flex: 1; height: auto; }
.desk.is-deck .desk__cards { height: 24rem; max-width: 22rem; margin-inline: auto; }
.desk.is-deck .dcard { width: 100%; transition: transform .45s var(--ease); }
.desk.is-deck .dcard.is-held { transition: none; }

/* what I do: six sticker cards */
.sec__h { font: 800 clamp(2rem, 4.4vw, 4rem)/1 var(--font); font-stretch: 125%; letter-spacing: -.035em; color: var(--ink); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.do { padding: clamp(5rem, 11vw, 8.5rem) var(--gut) clamp(4rem, 8vw, 6rem); max-width: 80rem; margin: 0 auto; }
.do__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-top: 3rem; }
.do__card { --tile: var(--card); --tile-ink: var(--ink); position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; min-height: 15rem; padding: 1.5rem; background: var(--tile); color: var(--tile-ink); border-radius: 10px; transition: transform .3s var(--spring); }
.do__card:nth-child(odd) { transform: rotate(-1.2deg); }
.do__card:nth-child(even) { transform: rotate(1deg); }
.do__card:hover { transform: translateY(-6px) rotate(0deg); }
.do__card--ink { --tile: var(--ink); --tile-ink: var(--paper); }
.do__card--coral { --tile: #ff7a59; }
.do__card--teal { --tile: #20c7bd; }
.do__card--lime { --tile: var(--lime); }
.do__card--amber { --tile: #ffd23f; }
.do__card--paper { --tile: #f6f2ea; }
.do__card .sticker { position: absolute; right: -.5rem; top: -3.25rem; width: 170px; transform: rotate(8deg); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .18)); }
.do__name { max-width: 11ch; font: 800 clamp(1.5rem, 2.4vw, 2.25rem)/1 var(--font); font-stretch: 125%; letter-spacing: -.03em; color: inherit; }
.do__what { font-size: 1rem; font-weight: 500; color: inherit; opacity: .8; }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .75rem; max-width: 74rem; margin: 0 auto; padding: 0 var(--gut) clamp(5rem, 10vw, 8rem); scroll-margin-top: 4rem; }
.about__photo { align-self: start; padding: .75rem .75rem 3rem; background: #fbf9f4; border-radius: 4px; box-shadow: 0 2px 0 rgba(0, 0, 0, .06), 0 24px 40px -20px rgba(0, 0, 0, .45); transform: rotate(-3deg); transition: transform .4s var(--spring); }
.about__photo:hover { transform: rotate(0deg) scale(1.02); }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.about__card { align-self: start; display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--card); border-radius: 6px; }
.about__h { font: 800 1.35rem/1.1 var(--font); font-stretch: 125%; text-transform: uppercase; color: var(--ink); }
.about__role { margin-top: -.6rem; font-size: .875rem; color: var(--muted); }
.about__lead { font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.25 var(--font); letter-spacing: -.01em; color: var(--ink); }
.about__q p { font: 800 clamp(1.5rem, 2.6vw, 2.25rem)/1.05 var(--font); font-stretch: 112%; letter-spacing: -.025em; color: var(--ink); }
.about__q p::before { content: "\201C"; color: #20c7bd; }
.about__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 2.5rem; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--card-2); }
.about__facts dt { font-size: .8125rem; color: var(--muted); }
.about__facts dd { font-weight: 700; color: var(--ink); }
.about__act { padding-top: .5rem; }

/* closing line */
.cta { display: grid; justify-items: center; gap: 2rem; padding: clamp(4rem, 9vw, 7rem) var(--gut) clamp(6rem, 12vw, 10rem); text-align: center; }
.cta__h { font: 800 clamp(2.4rem, 6.5vw, 6rem)/.95 var(--font); font-stretch: 125%; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }

/* footer: dark, the name lit by the pointer */
.ftr { position: relative; background: var(--dark); color: var(--on-dark); padding: 5rem var(--gut) 0; overflow: hidden; }
.ftr__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.ftr__links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-weight: 600; font-size: .9375rem; }
.ftr__links a { display: inline-block; padding-block: .5rem; text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }
.ftr__up { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--dark-rule); border-radius: 3px; text-decoration: none; }
.ftr__up:hover { border-color: var(--on-dark); }
.ftr__mid { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: clamp(5rem, 12vw, 10rem); }
.ftr__mid p { max-width: 30rem; font-size: .875rem; line-height: 1.5; color: var(--on-dark-muted); }
.ftr__mail { font: 700 clamp(1.35rem, 3vw, 2.6rem)/1 var(--font); font-stretch: 112%; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; }
.ftr__mail:hover { color: var(--lime); }
@property --r { syntax: "<length>"; inherits: true; initial-value: 0px; }
.ftr__word { --x: 50%; --y: 50%; --r: 0px; margin-top: clamp(1rem, 2vw, 1.75rem); text-align: center; line-height: .78; user-select: none; overflow: hidden; transition: --r .35s ease; }
.ftr__word span { display: inline-block; padding-bottom: .02em; font: 800 30vw/.8 var(--font); font-stretch: 125%; letter-spacing: -.04em; white-space: nowrap; color: transparent;
  background: radial-gradient(circle var(--r) at var(--x) var(--y), #d6ff8a 0%, var(--lime) 22%, rgba(185, 255, 47, .35) 55%, rgba(185, 255, 47, 0) 100%), #2e2e2a;
  -webkit-background-clip: text; background-clip: text; transition: transform 1.1s cubic-bezier(.2, .85, .1, 1); }
.ftr__word.is-lit { --r: 18vw; }

/* writing, posts, the 404 */
.ch { padding: clamp(6.5rem, 12vw, 9rem) var(--gut) clamp(4rem, 8vw, 6rem); max-width: 74rem; margin: 0 auto; }
.ch.wr { padding-top: 0; }
.ch__head { display: grid; gap: .9rem; max-width: 46rem; margin-bottom: 2.5rem; }
.ch__h { font: 800 clamp(2.4rem, 5.5vw, 4.75rem)/1 var(--font); font-stretch: 125%; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.ch__h--page { font-size: clamp(2.4rem, 5.5vw, 4.75rem); }
.ch__h--sm { font-size: 1.5rem; margin-bottom: 1.5rem; }
.ch__lede { max-width: 40rem; font-size: 1.1875rem; line-height: 1.45; }
.plist { border-top: 1px solid var(--rule); margin-bottom: 1.5rem; }
.plist__i { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .3rem 2rem; padding-block: 1.4rem; border-bottom: 1px solid var(--rule); }
.plist__d { grid-row: 1 / span 3; padding-top: .3rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.plist__t { font: 800 1.5rem/1.15 var(--font); font-stretch: 108%; letter-spacing: -.02em; }
.plist__t a { text-decoration: none; color: var(--ink); }
.plist__t a:hover { text-decoration: underline; }
.plist__x { max-width: 44rem; }
.plist__m { font-size: .875rem; color: var(--muted); }
.empty { max-width: 36rem; font-size: 1.125rem; }
.page { min-height: 60vh; }

.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1.25rem; padding: 6rem var(--gut) 4rem; text-align: center; }
.lost__word { position: relative; display: flex; margin-right: .5em; align-items: flex-end; font: 800 clamp(8rem, 30vw, 22rem)/.8 var(--font); font-stretch: 125%; letter-spacing: -.04em; color: var(--ink); user-select: none; }
.lost__gap { width: .35em; }
.lost__l { position: absolute; left: calc(100% + .08em); bottom: 0; font-size: .42em; line-height: .8; transform-origin: 0 100%; transform: translateX(.78em) rotate(-90deg); color: var(--ink); animation: lost-wobble 3.2s ease-in-out infinite; }
@keyframes lost-wobble { 0%, 100% { transform: translateX(.78em) rotate(-90deg); } 50% { transform: translateX(.78em) rotate(-84deg); } }
.lost__h { font: 800 clamp(1.75rem, 3.5vw, 2.75rem)/1.05 var(--font); font-stretch: 118%; letter-spacing: -.02em; color: var(--ink); }
.lost__p { color: var(--muted); }
.lost__ways { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.post { padding: clamp(6.5rem, 12vw, 9rem) var(--gut) clamp(3rem, 7vw, 6rem); }
.post__in { max-width: 44rem; margin: 0 auto; }
.post__head { display: grid; gap: 1rem; padding-bottom: 2rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--rule); }
.post__crumb, .post__flag { font-size: .875rem; font-weight: 600; color: var(--muted); }
.post__flag { color: #b4561c; }
.post__h { font: 800 clamp(2.25rem, 5vw, 3.75rem)/1.02 var(--font); font-stretch: 112%; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.post__x { font-size: 1.3125rem; line-height: 1.45; }
.post__m { font-size: .9375rem; color: var(--muted); }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.2em; font: 800 1.75rem/1.15 var(--font); font-stretch: 108%; letter-spacing: -.02em; color: var(--ink); }
.prose h3, .prose h4 { margin-top: 1.8em; font-weight: 700; font-size: 1.3125rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose blockquote { padding-left: 1.1rem; border-left: 3px solid var(--ink); font-size: 1.25rem; color: var(--ink); }
.prose code, .prose kbd, .prose samp { padding: .1em .35em; background: var(--card); border-radius: 3px; font: .9em/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; }
.prose pre { overflow-x: auto; padding: 1.1rem 1.25rem; background: var(--dark); color: var(--on-dark); border-radius: 4px; }
.prose pre code { padding: 0; background: none; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: .6rem 1rem .6rem 0; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 2.5em; }
.post__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9688rem; }

/* ---------- motion ---------- */
/* intro: A, L, I stamp in; the L lands last and swings; then the stack slides up (about 1.8 s) */
.intro .lt { animation: stamp .5s var(--spring) both; }
.intro .lt--a { animation-delay: .1s; }
.intro .lt--i { animation-delay: .25s; }
.intro .lt--l { animation: drop-in 1.15s linear both .45s; }
.intro .hero__row, .intro .hero__meta { animation: up .6s var(--ease) both 1.05s; }
.intro .hdr { animation: fade .5s ease both 1.2s; }
@keyframes stamp { 0% { transform: scale(1.6); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes drop-in { 0% { transform: translateY(-110%) rotate(-14deg); opacity: 0; } 30% { transform: translateY(0) rotate(9deg); opacity: 1; } 48% { transform: rotate(-7deg); } 64% { transform: rotate(4deg); } 80% { transform: rotate(-2deg); } 100% { transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(.9rem); } }
@keyframes fade { from { opacity: 0; } }
@keyframes dangle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 85% { transform: rotate(1deg); } }
.lt--l.is-nudge { animation: dangle .9s ease-out; }

/* scroll reveals: armed only once the observer runs */
.rv-on [data-rv="up"]:not(.is-in) { opacity: 0; transform: translateY(1.4rem); }
[data-rv="up"] { transition: opacity .8s ease, transform .95s var(--ease); transition-delay: var(--d, 0s); }
.mk { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mk > span { display: block; transition: transform 1s cubic-bezier(.2, .85, .1, 1); transition-delay: var(--d, 0s); }
.rv-on [data-rv="mask"]:not(.is-in) .mk > span { transform: translateY(105%); }
[data-rv="clip"] { transition: clip-path 1.15s cubic-bezier(.75, 0, .2, 1); transition-delay: var(--d, 0s); }
.rv-on [data-rv="clip"]:not(.is-in) { clip-path: inset(100% 0 0 0); }
[data-rv="clip"] img { transition: transform 1.5s var(--ease); }
.rv-on [data-rv="clip"]:not(.is-in) img { transform: scale(1.16); }
.rv-on .ftr:not(.is-in) .ftr__word span { transform: translateY(70%); }

/* menu */
.menu:not([hidden]) { animation: wipe .55s cubic-bezier(.75, 0, .2, 1) both; }
.menu:not([hidden]) .menu__links li { animation: up .6s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .06s); }
@keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

/* page to page */
@view-transition { navigation: auto; }
.hdr { view-transition-name: header; }
::view-transition-old(root) { animation: .32s ease both vt-out; }
::view-transition-new(root) { animation: .6s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-1.5rem); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(2.5rem); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .rv-on [data-rv]:not(.is-in), .rv-on [data-rv] .mk > span, .rv-on [data-rv] img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media (max-width: 61.9375rem) {
  .do__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3.5rem; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 22rem; }
  .plist__i { grid-template-columns: minmax(0, 1fr); }
  .plist__d { grid-row: auto; padding-top: 0; }
}
@media (max-width: 40rem) {
  .hero { min-height: auto; padding-bottom: 3.5rem; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__act { width: 100%; }
  .hero__act .btn { flex: 1; justify-content: center; }
  .do__card { min-height: 11rem; padding: 1rem; }
  .do__card .sticker { width: 110px; top: -2.5rem; right: -.75rem; }
  .do__name { font-size: 1.25rem; }
  .about__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 30rem) {
  .hdr { padding-top: .75rem; }
  .btn { padding-inline: .75rem; font-size: .875rem; }
  .hero { padding-top: 4.4rem; }
  .ftr__mid { margin-top: 4rem; }
}
@media print { .hdr, .menu, .progress, body::before { display: none !important; } .desk, .ftr { background: none; color: #000; } }
