@font-face {
  font-family: Geist;
  src: url(/fonts/geist-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist;
  src: url(/fonts/geist-latin-ext.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Geist Mono';
  src: url(/fonts/geist-mono-latin.woff2) format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url(/fonts/instrument-serif-italic.woff2) format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url(/fonts/instrument-serif-normal.woff2) format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f3f1ec;
  --card: #fbfaf7;
  --ink: #141413;
  --ink-2: #3a3936;
  --dim: #6b6862;
  --faint: #9a968e;
  --line: rgb(20 20 19 / .12);
  --line-strong: rgb(20 20 19 / .28);
  --cobalt: #2b3cf5;
  --cobalt-ink: #1a26b8;
  --radius: 24px;
  --wrap: min(1280px, 100% - 2 * clamp(1.25rem, 4vw, 3rem));
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Geist, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.045em; line-height: 1; text-wrap: balance; }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em; color: var(--cobalt);
}
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 999px; }
.skip:focus { top: 1rem; }

/* Navigation: a plain bar with a hairline, no floating glass */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1rem max(clamp(1.25rem, 4vw, 3rem), (100% - 1280px) / 2);
  background: rgb(243 241 236 / .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1; letter-spacing: -0.02em; }
.brand span { color: var(--cobalt); }
.nav nav { display: flex; gap: 1.5rem; margin-right: auto; }
.nav nav a { color: var(--dim); font-size: .92rem; transition: color .2s; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
.nav nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav-status { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); white-space: nowrap; }

/* Hero */
.hero { width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem); }
.kicker, .eyebrow {
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dim);
}
.hero-title { margin: 1.5rem 0 2.25rem; font-size: clamp(3.1rem, 10vw, 9.5rem); letter-spacing: -0.06em; line-height: .9; }
.hero-title span, .hero-title em { display: block; }
.hero-title em { letter-spacing: -0.035em; padding-right: .05em; }
/* Portrait sits beside the lede, a printed photo pinned to the page */
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(2rem, 6vw, 5rem); }
.portrait { margin: 0; width: clamp(180px, 20vw, 260px); padding: 10px 10px 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 40px -28px rgb(20 20 19 / .5); rotate: 2.5deg; transition: rotate .6s var(--ease); }
.portrait:hover { rotate: 0deg; }
/* On wide screens the portrait rises beside the italic line instead of pushing the lede down. */
@media (min-width: 961px) { .portrait { margin-top: clamp(-13rem, -14vw, -6rem); } }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.portrait figcaption { display: grid; gap: .1rem; padding: .7rem .2rem .85rem; }
.portrait strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; line-height: 1.1; }
.portrait span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.byline { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; font-weight: 500; font-size: .92rem; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hero-lede { max-width: 36rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem; border-radius: 999px; font: inherit; font-weight: 500; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--cobalt); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3.5rem, 9vh, 5.5rem) 0 0;
  border-top: 1px solid var(--ink);
}
.hero-stats div { padding: 1.25rem 1.25rem 0 0; display: flex; flex-direction: column-reverse; gap: .25rem; }
.hero-stats div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.hero-stats dt { color: var(--dim); font-size: .85rem; line-height: 1.35; }
.hero-stats dd { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Marquee: a solid cobalt band */
.marquee { background: var(--cobalt); color: #fff; overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.04em; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1rem; opacity: .7; }
@keyframes scroll { to { transform: translateX(calc(-50% - 1rem)); } }

/* Sections */
section { position: relative; }
.work, .writing, .approach, .contact { width: var(--wrap); margin: 0 auto; padding: clamp(5rem, 13vh, 8rem) 0 0; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 5vh, 3.5rem); max-width: 50rem; }
.section-head h2, .contact h2 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.055em; }
.section-lede { color: var(--ink-2); font-size: 1.1rem; max-width: 36rem; }

/* Projects: a bento of flat colour tiles */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project {
  --tint: color-mix(in srgb, var(--accent) 22%, var(--card));
  display: flex; flex-direction: column; gap: 1.75rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .3s;
}
.project:hover { border-color: var(--line-strong); }
.project:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.project .project-visual { order: -1; }
.project:nth-child(3n + 1) .project-visual { order: 0; }

.project-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.project-index { font-family: var(--mono); font-size: .8rem; color: var(--faint); }
.badge {
  padding: .25rem .65rem; border-radius: 999px;
  font-size: .72rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid var(--line-strong); color: var(--dim);
}
.badge-beta { color: var(--ink); background: #ffe27a; border-color: #e9c84b; }
.project-tagline { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.project-name { margin: .5rem 0 1rem; font-size: clamp(2.25rem, 4.5vw, 3.75rem); letter-spacing: -0.055em; }
.project-description { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; }
.chips li { padding: .25rem .65rem; border-radius: 999px; border: 1px solid var(--line); font-size: .76rem; font-family: var(--mono); color: var(--dim); }
.project-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.link-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 500; font-size: .9rem;
  transition: background .2s;
}
.link-pill:hover { background: var(--cobalt); }
.link-pill .icon { transition: transform .25s var(--ease); }
.link-pill:hover .icon { transform: translate(2px, -2px); }
.alias { font-size: .85rem; color: var(--dim); }

.project-visual {
  position: relative; display: block; overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) 0;
  border-radius: calc(var(--radius) - 8px);
  background: var(--tint);
}
.browser {
  border-radius: 10px 10px 0 0; overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 20px 40px -24px rgb(20 20 19 / .45);
  transition: transform .7s var(--ease);
}
.project:hover .browser { transform: translateY(-6px); }
.browser-bar { display: flex; align-items: center; gap: 5px; padding: .5rem .75rem; background: #ecebe7; }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgb(20 20 19 / .18); }
.browser-bar em { font-style: normal; font-family: var(--mono); font-size: .66rem; color: var(--dim); margin: 0 auto; }
.browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.phone {
  position: absolute; right: clamp(1rem, 3vw, 2.5rem); bottom: -12%; width: 22%;
  border-radius: 20px; padding: 4px; background: var(--ink);
  box-shadow: 0 24px 40px -20px rgb(20 20 19 / .6);
  transition: transform .7s var(--ease);
}
.project:hover .phone { transform: translateY(-14px); }
.phone img { border-radius: 16px; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; width: 100%; }
.project:not(:nth-child(3n + 1)) .phone { display: none; }

/* Blog cards */
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: none; }
.section-head-row > div { display: grid; gap: 1rem; max-width: 46rem; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.post-card-link { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.post-card-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px; background: color-mix(in srgb, var(--cobalt) 14%, var(--card)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-card-body { display: grid; gap: .6rem; }
.post-card h3 { font-size: 1.3rem; line-height: 1.18; letter-spacing: -0.03em; transition: color .2s; }
.post-card:hover h3 { color: var(--cobalt); }
.post-excerpt { color: var(--dim); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem; font-family: var(--mono); font-size: .72rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.post-card-featured { grid-column: 1 / -1; }
.post-card-featured .post-card-link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.post-card-featured .post-card-media { aspect-ratio: 16 / 10; }
.post-card-featured h3 { font-size: clamp(1.75rem, 3.4vw, 2.9rem); letter-spacing: -0.045em; line-height: 1.05; }
.post-card-featured .post-excerpt { font-size: 1.05rem; -webkit-line-clamp: 4; }

/* Blog pages */
.blog-head, .blog-list, .article, .related { width: var(--wrap); margin: 0 auto; }
.blog-head { padding: clamp(4rem, 12vh, 7rem) 0 clamp(2.5rem, 6vh, 4rem); border-bottom: 1px solid var(--ink); margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.page-title { margin: 1.25rem 0 1.5rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(4rem, 14vw, 11rem); letter-spacing: -0.03em; line-height: .85; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 2.25rem; max-width: 64rem; }
.tag {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink-2); font-size: .84rem;
  transition: background .2s, color .2s, border-color .2s;
}
.tag:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag span { font-family: var(--mono); font-size: .7rem; opacity: .6; }
.back { display: inline-block; margin-bottom: 1.25rem; color: var(--dim); font-size: .9rem; }
.back:hover { color: var(--ink); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pager a[rel=next] { justify-self: end; }
.pager-count { font-family: var(--mono); font-size: .78rem; color: var(--dim); }

.article { max-width: 720px; padding-top: clamp(3.5rem, 10vh, 6rem); }
.article-head { display: grid; gap: 1.25rem; }
.article-head .back { margin-bottom: .25rem; }
.article-title { font-size: clamp(2.1rem, 5.5vw, 3.9rem); letter-spacing: -0.05em; line-height: 1.02; }
.article-lede { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.35; color: var(--ink-2); }
.article-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.25rem 0; border-block: 1px solid var(--line); }
.article-tools .btn { padding: .55rem 1rem; font-size: .86rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.article-cover { margin: clamp(2rem, 5vh, 3rem) calc(min(0px, (720px - min(1100px, 100vw - 2.5rem)) / 2)); }
.article-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 20px; }
.article-foot { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; }
.article-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.prose { font-size: 1.13rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.3em; }
.prose > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 4.4em; line-height: .8; padding: .08em .1em 0 0; color: var(--cobalt); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.15; margin-top: 2.2em; font-weight: 600; }
.prose h2 { font-size: 1.8rem; letter-spacing: -0.035em; }
.prose h3 { font-size: 1.35rem; letter-spacing: -0.025em; }
.prose a { color: var(--cobalt-ink); text-decoration: underline; text-decoration-color: rgb(43 60 245 / .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--cobalt); }
.prose blockquote { margin: 2em 0; padding: 0 0 0 1.25em; border-left: 2px solid var(--cobalt); font-family: var(--serif); font-style: italic; font-size: 1.45em; line-height: 1.35; color: var(--ink); }
.prose img { border-radius: 14px; }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: .7em; font-size: .84rem; color: var(--dim); text-align: center; }
.prose figcaption a { color: inherit; }
.prose code { font-family: var(--mono); font-size: .86em; padding: .12em .4em; border-radius: 6px; background: rgb(20 20 19 / .06); }
.prose pre { overflow-x: auto; padding: 1.2rem; border-radius: 14px; background: var(--ink); color: #e9e7e1; font-size: .9rem; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .6rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.related { padding-top: clamp(4rem, 10vh, 6rem); }

/* Approach: numbered rows, not cards */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.step { padding: 1.5rem 1.5rem 0 0; }
.step + .step { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.step-n { font-family: var(--serif); font-style: italic; font-size: 3rem; line-height: 1; color: var(--cobalt); }
.step h3 { margin: 1.5rem 0 .6rem; font-size: 1.4rem; letter-spacing: -0.035em; }
.step p { color: var(--dim); font-size: .95rem; }

/* Contact: the one bold block of the page */
.contact {
  width: var(--wrap); margin: clamp(5rem, 13vh, 8rem) auto 0; padding: clamp(3.5rem, 9vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 8px); background: var(--cobalt); color: #fff;
  display: grid; justify-items: start; gap: 1.25rem;
}
.contact .eyebrow { color: rgb(255 255 255 / .7); }
.contact h2 { max-width: 18ch; }
.contact h2 em { color: #fff; }
.contact .section-lede { color: rgb(255 255 255 / .85); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.contact-email {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: clamp(1.4rem, 4.5vw, 3.25rem); font-weight: 500; letter-spacing: -0.045em;
  background: linear-gradient(#fff, #fff) left bottom / 100% 2px no-repeat; padding-bottom: .1em;
}
.contact-email .icon { transition: transform .25s var(--ease); }
.contact-email:hover .icon { transform: translate(3px, -3px); }
.contact .btn-ghost { color: #fff; border-color: rgb(255 255 255 / .45); }
.contact .btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .1); }

/* Footer */
.footer {
  width: var(--wrap); margin: clamp(4rem, 10vh, 6rem) auto 0; padding: 1.75rem 0 max(2rem, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem;
}
.footer a:hover { color: var(--ink); }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .project:nth-child(3n + 1) { grid-template-columns: 1fr; }
  .project:nth-child(3n + 1) .project-visual { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { margin-top: 1.5rem; border-top: 1px solid var(--line); }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card-featured .post-card-link { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats div:nth-child(n + 3) { margin-top: 1.25rem; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav { gap: 1rem; }
  .nav nav a:nth-child(n + 3) { display: none; }
  .nav-status { display: none; }
  .projects { grid-template-columns: 1fr; }
  .hero-intro { grid-template-columns: 1fr; }
  .portrait { order: -1; justify-self: start; width: auto; display: flex; align-items: center; gap: .8rem; padding: 6px 1rem 6px 6px; border-radius: 999px; rotate: 0deg; box-shadow: none; }
  .portrait img { width: 52px; height: 52px; border-radius: 50%; }
  .portrait figcaption { padding: 0; }
  .portrait strong { font-size: 1.15rem; }
  .project .phone { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.25rem 0 0; border-left: 0; }
  .step + .step { margin-top: 1.25rem; border-top: 1px solid var(--line); }
  .post-grid { grid-template-columns: 1fr; }
  .section-head-row { flex-direction: column; align-items: start; }
  .prose { font-size: 1.06rem; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
