:root {
  color-scheme: dark;
  --page: #242320;
  --paper: #2d2c29;
  --paper-raised: #35332f;
  --ink: #f3eee5;
  --muted: #c8c0b4;
  --line: #4c4842;
  --dark: #131519;
  --ivory: #f9f7ef;
  --header-height: 67px;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--page);
  color: var(--ink);
  line-height: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
img, canvas, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--header-height) + 18px); }
:focus-visible { outline: 2px solid #f1d4ad; outline-offset: 4px; }

.shell { width: min(100% - 5rem, 1160px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; inset: 1rem auto auto 1rem; padding: .55rem .9rem; background: var(--ivory); color: var(--dark); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 5; background: #21201e; color: var(--ivory); border-bottom: 1px solid #f8f5e623; }
.home .site-header { position: fixed; inset: 0 0 auto; background: #211e1bd9; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .93rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #f8f5e64d; border-radius: 5px; }
.brand-mark svg { width: 23px; height: 23px; }
.brand:hover .brand-mark { background: #f8f5e61a; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.9vw, 2.55rem); }
.site-nav a { padding-block: .55rem; color: #f6f3eb; font-size: .91rem; font-weight: 550; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; text-underline-offset: .28em; }
.site-header :focus-visible, .hero :focus-visible { outline-color: #efebe0; }
/* Home header: over the opening artwork only the links show; the bar and the mark return as About arrives. */
.home .site-header.is-over-artwork { border-bottom-color: transparent; background: transparent; }
.home .site-header.is-over-artwork .brand { visibility: hidden; opacity: 0; }
.home .site-header.is-over-artwork .site-nav a { color: #2d241e; text-shadow: 0 0 .45em #efe1c6, 0 0 1em #efe1c6; }
.home .site-header.is-over-artwork :focus-visible { outline-color: #3d2e20; }
.home .site-header.is-animated { transition: background-color .32s ease, border-color .32s ease; }
.home .site-header.is-animated .brand { transition: opacity .32s ease, visibility .32s; }
.home .site-header.is-animated .site-nav a { transition: color .32s ease, text-shadow .32s ease; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  background: var(--page);
  color: #2d241e;
}
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: var(--title-opacity, 1); background: radial-gradient(ellipse at 73% 37%, #ead9bddd, #ead9bd99 28%, transparent 61%); pointer-events: none; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: clamp(110px, 28vh, 260px); background: linear-gradient(180deg, transparent, #241c15a8 69%, #242320e6); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr minmax(0, 48%); align-content: start; padding-block: max(calc(var(--header-height) + 1.25rem), 29vh) 1.1rem; padding-block-start: max(calc(var(--header-height) + 1.25rem), 29svh); opacity: var(--title-opacity, 1); }
.hero-inner > * { grid-column: 2; }
.hero-inner[inert] { visibility: hidden; }
.hero h1 { font-size: clamp(3.15rem, 5.65vw, 5.8rem); font-weight: 700; line-height: 1; letter-spacing: -.067em; }
.hero-focus { display: flex; flex-wrap: wrap; gap: .17rem .58rem; margin-top: .78rem; padding: 0; list-style: none; color: inherit; font-size: clamp(.87rem, 1.27vw, 1.1rem); font-weight: 550; line-height: 1.45; }
.hero-focus li { white-space: nowrap; }
.hero-focus li + li::before { content: "·"; margin-inline-end: .58rem; opacity: .66; }
.profile-links { display: flex; flex-wrap: wrap; gap: .43rem; list-style: none; padding: 0; margin-top: 1.13rem; }
.profile-links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .57rem; border: 1px solid #f5efe262; background: #211e1bd9; border-radius: 3px; color: #fcf8ee; font-size: .84rem; font-weight: 610; text-decoration: none; white-space: nowrap; }
.profile-links a:hover { background: #f1eee5; border-color: #f1eee5; color: #202121; }
.profile-links svg, .profile-links img { display: block; flex: 0 0 17px; width: 17px; height: 17px; }
.github-icon { filter: invert(1); }
.profile-links a:hover .github-icon { filter: none; }

.mobility-scene { position: absolute; z-index: -2; inset: 0; overflow: hidden; opacity: var(--artwork-opacity, 1); }
.mobility-artwork { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-actions { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: .85rem; width: calc(100% - clamp(1.55rem, 6vw, 6rem)); margin: 0 auto; padding-bottom: max(clamp(.8rem, 3vh, 1.8rem), env(safe-area-inset-bottom)); color: var(--ivory); opacity: var(--actions-opacity, 1); }
.hero-actions[inert], .mobility-cue[inert] { visibility: hidden; }
.artwork-credit { justify-self: start; max-width: 31ch; font-size: .83rem; line-height: 1.35; text-shadow: 0 1px 5px #1c1713; }
.artwork-credit a { font-weight: 650; text-decoration: none; text-underline-offset: .21em; }
.artwork-credit a:hover { text-decoration: underline; }
.artwork-credit > span { display: block; color: #e2d7c8; }
.artwork-credit .artist-name { white-space: nowrap; }
.mobility-cue { display: grid; align-content: center; justify-items: center; min-width: 48px; min-height: 48px; color: var(--ivory); opacity: var(--cue-opacity, 1); text-decoration: none; text-shadow: 0 1px 5px #1c1713; }
.mobility-cue span { font-size: .78rem; font-weight: 650; line-height: 1; letter-spacing: .035em; }
.mobility-cue svg { width: 28px; height: 28px; margin-top: .22rem; filter: drop-shadow(0 1px 4px #1c1713); animation: mobility-cue-pulse 2.45s ease-in-out infinite; }
.mobility-cue:is(:hover, :focus-visible) span { text-decoration: underline; text-underline-offset: .24em; }
.mobility-cue:is(:hover, :focus-visible) svg { animation: none; }
@keyframes mobility-cue-pulse {
  0%, 100% { opacity: .66; transform: translateY(-2px); }
  54% { opacity: 1; transform: translateY(4px); filter: drop-shadow(0 0 8px #deeff0a0); }
}
.artwork-trigger, .artwork-close { display: inline-flex; align-items: center; gap: .52rem; min-height: 44px; padding: .43rem .65rem; border: 1px solid transparent; border-radius: 3px; font: 650 .85rem/1.25 "Segoe UI", Helvetica, Arial, sans-serif; cursor: pointer; }
.artwork-trigger { justify-self: end; min-width: 0; border-color: #f7eddf72; background: #231e19c9; color: var(--ivory); text-align: left; }
.artwork-trigger:hover { background: #32291f; }
.artwork-trigger svg, .artwork-close svg { flex: 0 0 18px; width: 18px; height: 18px; }

html:has(.artwork-dialog[open]) { overflow: hidden; }
.artwork-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; overflow-y: auto; overscroll-behavior: contain; background: #f0e9dd; color: #302820; color-scheme: light; }
.artwork-dialog:not([open]) { display: none; }
.artwork-dialog::backdrop { background: #241f1bbd; }
.artwork-dialog[open] { animation: artwork-slide-in .48s cubic-bezier(.2, .74, .28, 1) both; }
@keyframes artwork-slide-in { from { transform: translateX(100%); } to { transform: none; } }
.artwork-pane { --artwork-pad: clamp(1.1rem, 5vw, 5.5rem); min-height: 100%; }
.artwork-header { position: sticky; z-index: 1; top: 0; padding: max(.65rem, env(safe-area-inset-top)) var(--artwork-pad) .65rem; border-bottom: 1px solid #d4c7b5; background: #f0e9dd; }
.artwork-close { border-color: #c5b8a5; background: #f6f0e7; color: #382c22; }
.artwork-close:hover { background: #e7dccb; }
.artwork-dialog :focus-visible { outline-color: #6a5136; }
.artwork-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); grid-template-areas: "title figure" "essay figure"; align-items: start; gap: clamp(1.3rem, 3vw, 2.7rem) clamp(1.9rem, 5vw, 5rem); width: min(calc(100% - 2 * var(--artwork-pad)), 1410px); margin-inline: auto; padding-block: clamp(2rem, 6vw, 5.5rem); }
.artwork-layout h2 { grid-area: title; font: 500 clamp(2.25rem, 4.25vw, 4.6rem)/1.06 Georgia, "Times New Roman", serif; letter-spacing: -.047em; text-wrap: balance; }
.artwork-essay { grid-area: essay; max-width: 60ch; padding-top: 1.05rem; border-top: 1px solid #d4c7b5; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.69; }
.artwork-essay p + p { margin-top: 1.05em; }
.artwork-figure { grid-area: figure; min-width: 0; }
.artwork-figure img { width: 100%; height: auto; border: 1px solid #bbab94; }
.artwork-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; margin-top: .73rem; color: #655641; font-size: .82rem; line-height: 1.4; }
.artwork-figure figcaption a { text-underline-offset: .18em; }

.module-surface { position: relative; isolation: isolate; padding-block: clamp(2.6rem, 5.5vw, 5rem) clamp(3.3rem, 7vw, 6.25rem); background-color: var(--page); background-image: radial-gradient(ellipse at 79% 20%, #b39a6812, transparent 60%), repeating-linear-gradient(137deg, #c3ae8e09 0 1px, transparent 1px 10px); }
.home .module-surface { padding-top: clamp(1.2rem, 2.7vw, 2.4rem); }
.module-surface::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: clamp(90px, 15vw, 195px); background: linear-gradient(180deg, var(--page), transparent); pointer-events: none; }
.modules { display: grid; gap: clamp(1.2rem, 3vw, 2.3rem); }
.module { position: relative; padding: clamp(1.5rem, 4.4vw, 3.8rem); border: 1px solid #81745e4f; background: linear-gradient(150deg, #35312a80, transparent 58%), var(--paper); box-shadow: 0 10px 20px -19px #110f0c9c; }
.module::before, .module::after { content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none; border-color: #aba08b8f; border-style: solid; }
.module::before { inset: -1px auto auto -1px; border-width: 1px 0 0 1px; }
.module::after { inset: auto -1px -1px auto; border-width: 0 1px 1px 0; }
[data-reveal] { transition: opacity .58s ease-out, transform .58s cubic-bezier(.2, .72, .26, 1); }
.reveal-pending { opacity: .42; transform: translateY(15px); }
.reveal-pending:focus-within, .module:target .reveal-pending { opacity: 1; transform: none; }
.legacy-anchor { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; pointer-events: none; }
.module-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .33rem 1rem; margin-bottom: 1.35rem; }
.module h2 { font-size: clamp(2rem, 4.5vw, 3.35rem); font-weight: 680; line-height: 1.07; letter-spacing: -.061em; }
.module h3 { font-size: 1.22rem; line-height: 1.28; letter-spacing: -.023em; }
.text-link { font-weight: 650; text-underline-offset: .21em; text-decoration-color: #a0998e; }
.text-link:hover { text-decoration-color: currentColor; }

.about-overview { display: grid; grid-template-columns: minmax(125px, 204px) minmax(0, 1fr); gap: clamp(1.1rem, 4vw, 3.5rem); align-items: start; margin-bottom: 2rem; }
.profile-photo { padding: .35rem; border: 1px solid #71695d; background: var(--paper-raised); }
.profile-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.portrait-switch { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: var(--ivory); cursor: pointer; }
.portrait-switch .portrait-alternate { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .28s ease; }
.portrait-switch[aria-pressed="true"] .portrait-alternate { opacity: 1; }
.portrait-switch .portrait-indicator { position: absolute; inset: auto .35rem .35rem auto; width: 1.62rem; height: 1.62rem; border: 1px solid #e5d6bf9a; border-radius: 3px; background: #211e1bd9; }
.portrait-indicator::before, .portrait-indicator::after { content: ""; position: absolute; width: .66rem; height: .51rem; border: 1px solid currentColor; border-radius: 1px; }
.portrait-indicator::before { inset: .44rem auto auto .36rem; }
.portrait-indicator::after { inset: .6rem auto auto .54rem; background: #27231e; }
@media (hover: hover) {
  .portrait-switch:hover .portrait-alternate { opacity: 1; }
}
.profile-photo figcaption { padding-top: .25rem; color: var(--muted); font-size: .78rem; }
.about-copy h3 { font-size: clamp(1.6rem, 3.2vw, 2.27rem); letter-spacing: -.05em; }
.about-copy p { max-width: 67ch; margin-top: .55rem; color: var(--muted); }
.about-copy .profile-lead { color: var(--ink); font-size: 1.07rem; }
.about-copy .text-link { display: inline-block; margin-top: .65rem; font-size: .88rem; }
.about-copy .inline-link { color: #e9b872; font-weight: 600; text-decoration-color: #e9b87285; text-underline-offset: .19em; }
.about-copy .inline-link:hover { text-decoration-color: currentColor; }
.about-background { display: grid; grid-template-columns: .9fr 1.15fr; gap: 1.55rem; }
.about-block { padding-top: .95rem; border-top: 1px solid var(--line); }
.about-block h3 { margin-bottom: .36rem; }
.timeline, .award-list { padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: minmax(8.6rem, .31fr) minmax(0, 1fr); gap: .5rem 1rem; padding-block: .68rem; border-top: 1px solid var(--line); }
.about-block .timeline li:first-child { border-top: 0; }
.timeline li > span { padding-top: .15rem; color: var(--muted); font-size: .89rem; line-height: 1.45; }
.timeline strong, .timeline a { font-weight: 675; }
.timeline p { color: var(--muted); font-size: .93rem; }
.news-block { margin-bottom: 1.55rem; }
.news-list li { grid-template-columns: 5.6rem minmax(0, 1fr); gap: .2rem 1rem; padding-block: .46rem; }
.news-list p { color: var(--ink); font-size: .95rem; }

.content-status { color: var(--muted); margin-block: .85rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.project-card { min-width: 0; }
.project-card > a { display: block; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #292824; text-decoration: none; transition: border-color .16s, box-shadow .16s; }
.project-card > a:hover { border-color: #b1a58d; box-shadow: 0 8px 16px -13px #100e0b; }
.project-card > a:hover h3 { text-decoration: underline; text-underline-offset: .18em; }
.project-image { position: relative; aspect-ratio: 1.67; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--page); }
.project-image img, .project-image canvas { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.project-image figcaption { position: absolute; inset: auto auto .42rem .45rem; padding: .16rem .35rem; background: #1c1a18e8; border-radius: 2px; color: var(--ink); font-size: .75rem; line-height: 1.35; }
.project-copy { padding: .77rem .83rem .9rem; }
.project-meta { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.project-meta span { white-space: nowrap; }
.project-copy h3 { margin-top: .38rem; font-size: clamp(1.01rem, 1.6vw, 1.28rem); }
.project-copy > p:last-child { margin-top: .38rem; color: var(--muted); font-size: .94rem; line-height: 1.43; }
.research-more { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-top: 1.5rem; padding-top: .95rem; border-top: 1px solid var(--line); }
.research-more-link { display: inline-flex; align-items: center; min-height: 44px; padding: .42rem .78rem; border: 1px solid #8e8171; border-radius: 3px; text-decoration: none; font-size: .9rem; font-weight: 650; }
.research-more-link:hover { background: #403b32; border-color: #b1a58d; }

.research-archive-page { max-width: 1040px; padding-block: clamp(2.15rem, 5.5vw, 4.3rem) clamp(3rem, 6vw, 5rem); }
.research-archive-heading { margin-bottom: 1.55rem; }
.research-archive-heading h1 { font-size: clamp(2.7rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.03; letter-spacing: -.06em; }
.research-archive-lead { max-width: 55ch; margin-top: .52rem; color: var(--muted); }
.research-index-list { display: grid; gap: .78rem; list-style: none; padding: 0; }
.research-row { display: grid; grid-template-columns: clamp(185px, 30%, 306px) minmax(0, 1fr); align-items: center; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .16s; }
.research-row:hover { border-color: #b1a58d; }
.research-row:hover h2 { text-decoration: underline; text-underline-offset: .2em; }
.research-row-media { position: relative; align-self: stretch; min-height: 10.8rem; overflow: hidden; border-inline-end: 1px solid var(--line); border-radius: 3px 0 0 3px; background: var(--dark); }
.research-row-media img, .research-row-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.research-row-caption { position: absolute; inset: auto auto .45rem .48rem; max-width: calc(100% - .96rem); padding: .15rem .36rem; border-radius: 2px; background: #1c1a18ed; color: var(--ink); font-size: .73rem; line-height: 1.3; }
.research-row-body { min-width: 0; padding: .86rem clamp(.85rem, 2.4vw, 1.5rem); }
.research-row-body h2 { font-size: clamp(1.08rem, 2.35vw, 1.55rem); font-weight: 680; line-height: 1.18; letter-spacing: -.027em; overflow-wrap: anywhere; }
.research-keywords { display: flex; flex-wrap: wrap; gap: .28rem .4rem; margin-top: .5rem; padding: 0; list-style: none; }
.research-keywords li { display: inline-block; padding: .07rem .38rem; border: 1px solid #665d50; border-radius: 2px; color: #e7dfd1; font-size: .79rem; line-height: 1.35; overflow-wrap: anywhere; }
.research-row-summary { margin-top: .48rem; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.research-row-meta { margin-top: .35rem; color: var(--muted); font-size: .82rem; line-height: 1.38; }
.publication-list { list-style: none; padding: 0; }
.publication-list li { padding: .76rem 0; border-top: 1px solid var(--line); }
.publications .publication-list li { display: grid; grid-template-columns: minmax(140px, .33fr) 1fr; gap: .3rem 1rem; }
.publication-venue { color: var(--muted); font-size: .88rem; line-height: 1.45; padding-top: .18rem; }
.publication-list a { text-decoration-color: #a0998e; text-underline-offset: .19em; overflow-wrap: anywhere; font-weight: 650; }
.publication-list a:hover { text-decoration-color: currentColor; }
.publication-list p { margin-top: .15rem; color: var(--muted); font-size: .92rem; }
.award-list li { display: flex; justify-content: space-between; align-items: baseline; gap: .55rem 1rem; padding: .54rem 0; border-top: 1px solid var(--line); }
.award-list span { flex: 0 0 auto; color: var(--muted); font-size: .86rem; text-align: right; }

.site-footer { border-top: 1px solid var(--line); background: #201f1c; }
.footer-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-inner a { text-underline-offset: .22em; }
.copyright { flex-shrink: 0; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.footer-project-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1rem; font-size: .88rem; }

.detail-page { padding-block: 2.85rem 4rem; }
.detail-intro { max-width: 800px; }
.eyebrow { color: var(--muted); font-size: .89rem; font-weight: 650; line-height: 1.45; }
.detail-intro > a:first-child { display: inline-block; margin-bottom: 1rem; text-underline-offset: .2em; }
.detail-title { margin: .38rem 0 .65rem; font-size: clamp(2.7rem, 6vw, 4.65rem); line-height: 1.02; letter-spacing: -.061em; font-weight: 720; }
.lede { max-width: 64ch; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.29rem); }
.detail-meta { display: flex; flex-wrap: wrap; gap: .45rem 1.5rem; margin-top: 1rem; padding: 0; font-size: .88rem; font-weight: 650; }
.detail-meta dt { color: var(--muted); font-size: .81rem; font-weight: 450; }
.detail-meta dd { margin: .18rem 0 0; }
.detail-figure { margin: 1.5rem 0 2.25rem; }
.detail-figure img, .detail-figure canvas { width: 100%; height: clamp(215px, 38vw, 455px); border-radius: 4px; border: 1px solid var(--line); object-fit: cover; object-position: center 57%; background: var(--page); }
.detail-figure figcaption { margin-top: .45rem; color: var(--muted); font-size: .86rem; }
.detail-body { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr); align-items: start; gap: clamp(1.5rem, 5vw, 4.4rem); }
.detail-contents { position: sticky; top: calc(var(--header-height) + 1rem); align-self: start; display: grid; gap: .35rem; padding: .82rem 0; border-top: 1px solid var(--line); }
.detail-contents .eyebrow { margin-bottom: .12rem; }
.detail-contents a { color: var(--ink); font-size: .93rem; text-decoration: none; }
.detail-contents a:hover { text-decoration: underline; }
.detail-section { padding: 1.05rem 0 1.35rem; border-top: 1px solid var(--line); }
.detail-section h2 { font-size: clamp(1.53rem, 2.7vw, 2rem); line-height: 1.2; letter-spacing: -.041em; margin-bottom: .52rem; }
.detail-section p { max-width: 70ch; color: var(--muted); }
.detail-section p + p { margin-top: .55rem; }
.detail-section h3 { font-size: 1.1rem; margin: .74rem 0 .3rem; }
.detail-section a { text-underline-offset: .19em; }
.detail-steps { padding-left: 1.2rem; color: var(--muted); }
.detail-steps li + li { margin-top: .42rem; }
.detail-steps strong { color: var(--ink); }
.results-scroll { overflow-x: auto; margin-top: .72rem; }
.results-table { width: 100%; border-collapse: collapse; margin-block: .75rem; color: var(--ink); font-size: .89rem; }
.results-table caption { text-align: left; font-size: .82rem; color: var(--muted); margin-bottom: .32rem; }
.results-table th, .results-table td { border: 1px solid var(--line); padding: .45rem .5rem; text-align: left; }
.results-table thead, .results-table tbody td:last-child { background: var(--paper-raised); }
.results-table th { font-weight: 650; }
.media-placeholder { padding: .77rem .85rem; border: 1px dashed #786e60; border-radius: 3px; background: var(--paper); }
.media-placeholder strong { color: var(--ink); }
.detail-video { width: 100%; aspect-ratio: 16 / 9; margin-top: .72rem; border-radius: 4px; background: var(--dark); }

@media (max-width: 900px) {
  .shell { width: calc(100% - 3.5rem); }
  .hero-inner { grid-template-columns: 1fr minmax(0, 56%); }
  .about-background { grid-template-columns: 1fr; gap: .75rem; }
}

@media (max-width: 880px) {
  .artwork-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "figure" "essay"; max-width: 680px; }
  .artwork-layout h2 { text-wrap: pretty; }
}

@media (min-width: 881px) {
  .artwork-figure { position: sticky; top: 5.15rem; }
}

@media (max-width: 680px) {
  :root { --header-height: 57px; }
  .shell { width: calc(100% - 2.25rem); }
  .header-inner { gap: .65rem; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand > span:not(.brand-mark) { display: none; }
  .site-nav { gap: clamp(.48rem, 2.13vw, .95rem); }
  .site-nav a { font-size: .82rem; }
  .about-overview { grid-template-columns: minmax(89px, 28%) minmax(0, 1fr); margin-bottom: 1.4rem; }
  .about-copy .profile-lead { font-size: 1rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-row { grid-template-columns: minmax(108px, 32%) minmax(0, 1fr); }
  .detail-body { grid-template-columns: 1fr; gap: 0; }
  .detail-contents { position: static; display: flex; flex-wrap: wrap; gap: .34rem .9rem; }
  .detail-contents .eyebrow { width: 100%; }
}

@media (max-width: 680px), (max-aspect-ratio: 1 / 1) {
  .home .site-header.is-over-artwork .site-nav a { color: var(--ivory); text-shadow: 0 1px 3px #1c1713, 0 0 12px #1c1713b8; }
  .home .site-header.is-over-artwork :focus-visible { outline-color: #efebe0; }
  .hero { color: var(--ivory); }
  .hero::before { background: radial-gradient(ellipse at 13% 36%, #211c18cc, #211c189c 31%, transparent 68%); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner > * { grid-column: 1; }
  .hero h1 { font-size: clamp(3.15rem, 8vw, 5rem); }
  .mobility-artwork { object-position: 68% 53%; }
}

@media (max-height: 440px) {
  .hero-inner { padding-block: calc(var(--header-height) + .8rem) .8rem; }
  .hero h1 { font-size: clamp(2.6rem, 7vw, 3.15rem); }
  .hero-focus { margin-top: .42rem; }
  .profile-links { margin-top: .62rem; }
}

@media (max-width: 540px) {
  .hero-focus { display: grid; grid-template-columns: repeat(2, max-content); column-gap: .9rem; }
  .hero-focus li + li::before { content: none; }
  .hero-actions { gap: .36rem; }
  .artwork-credit { font-size: .72rem; }
  .artwork-trigger { gap: .3rem; padding: .36rem .42rem; font-size: .76rem; }
  .artwork-trigger svg { flex-basis: 14px; width: 14px; height: 14px; }
  .mobility-cue { min-width: 44px; }
}

@media (max-width: 470px) {
  .shell { width: calc(100% - 1.55rem); }
  .header-inner { gap: .48rem; }
  .site-nav { gap: .45rem; }
  .site-nav a { font-size: .76rem; }
  .module { padding: 1.12rem; }
  .module-heading { margin-bottom: .95rem; }
  .about-overview { gap: .74rem; }
  .about-copy p { font-size: .93rem; line-height: 1.54; }
  .about-copy .profile-lead { font-size: .96rem; }
  .project-grid { grid-template-columns: 1fr; }
  .research-row { grid-template-columns: minmax(80px, 31%) minmax(0, 1fr); }
  .research-row-media { align-self: start; aspect-ratio: 1.23; min-height: 0; margin: .53rem 0 .53rem .53rem; border: 1px solid var(--line); border-radius: 3px; }
  .research-row-caption { inset: auto 0 0; max-width: 100%; padding: .1rem .24rem; border-radius: 0; font-size: .66rem; }
  .research-row-body { padding: .56rem .62rem .65rem; }
  .research-row-summary { font-size: .86rem; }
  .research-keywords { gap: .23rem .28rem; }
  .research-keywords li { font-size: .74rem; }
  .timeline li { grid-template-columns: 1fr; gap: .12rem; }
  .timeline li > span { padding-top: 0; }
  .publications .publication-list li { grid-template-columns: 1fr; }
  .award-list li { flex-wrap: wrap; gap: .08rem .55rem; }
  .results-table { font-size: .78rem; }
  .results-table th, .results-table td { padding: .35rem; }
  .footer-inner { flex-wrap: wrap; min-height: 65px; gap: .38rem .8rem; padding-block: .7rem; }
  .footer-project-nav { justify-content: flex-start; }
}

@media (max-width: 430px) {
  :root { --header-height: 76px; }
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 0 .75rem; min-width: 0; }
  .site-nav a { padding-block: .42rem; overflow-wrap: anywhere; }
  .site-nav a:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 3.1rem; }
  .about-overview { grid-template-columns: 1fr; }
  .profile-photo { max-width: 114px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
