/* Bio page: same look as the Art page text, but it scrolls */
:root { --bg: #f5f3eb; --ink: #1a1a18; --dim: #76746c; --ease: cubic-bezier(.22,.8,.18,1); --pad: 18px; color-scheme: light; }
:root[data-theme="dark"] { --bg: #141413; --ink: #ecebe4; --dim: #8d8b83; color-scheme: dark; }
@media (min-width: 900px) { :root { --pad: 28px; } }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; line-height: 1.5; font-weight: 400; transition: background-color .3s, color .3s; }
body.sm-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* top bar: back, signature, light/dark (stays put; the text slides under it) */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 22px; color: #fff; transition: color .3s; }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg) 62%, transparent); opacity: 0; transition: opacity .3s; }
body.past .bar { color: var(--ink); }
body.past .bar::before { opacity: 1; }
@media (min-width: 900px) { .bar { padding-left: 28px; padding-right: 28px; } }
.back { font-size: 15px; line-height: 1; width: max-content; }
.title { display: block; text-align: center; }
.sigmark { display: block; width: 104px; margin: 0 auto; }
.sigmark .signature { display: block; width: 100%; height: auto; overflow: visible; color: inherit; }
.signature :is(path, rect, polygon, circle) { fill: currentColor; stroke: none; }
.signature mask polyline { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) { .sigmark { width: 128px; } }
.mode-ico { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mode-ico.i-sun { display: none; }
:root[data-theme="dark"] .mode-ico.i-sun { display: block; }
:root[data-theme="dark"] .mode-ico.i-moon { display: none; }
.mode { justify-self: end; padding: 4px 0; margin: -4px 0; }

/* hero: the portrait fills the screen, title bottom-left */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 520px; overflow: hidden; background: #0d0d0c; color: #fff; }
.hero img { will-change: transform; position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 28%, transparent 40%, rgba(0,0,0,.72)); pointer-events: none; }
.hero-in { will-change: transform; position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: calc(var(--pad) + 14px + env(safe-area-inset-bottom, 0px)); }
.hero h1 { margin: 0; font-family: "Eurostile Extended", "Inter", sans-serif; font-weight: 900; font-size: clamp(40px, 13.5vw, 150px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; max-width: 9ch; }
.hero-sub { margin: 16px 0 0; font-family: "Inter", system-ui, sans-serif; font-size: clamp(17px, 4.6vw, 26px); line-height: 1.2; font-weight: 400; max-width: 22ch; }
.hero-meta { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
@media (min-width: 900px) { .hero-in { left: calc(var(--pad) + 3vw); bottom: calc(var(--pad) + 36px); } .hero h1 { max-width: none; font-size: clamp(60px, 9vw, 150px); } }

/* the sheet: label column on the left, content on the right, thin lines between rows (white in light mode, black in dark mode) */
.sheet { position: relative; z-index: 2; background: var(--bg); color: var(--ink); padding: 18px var(--pad) 90px; font-family: "Inter", system-ui, sans-serif; }
.row { display: grid; grid-template-columns: minmax(84px, 26%) 1fr; gap: 14px; padding: 36px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.row:first-child { border-top: 0; }
.row h2 { margin: 3px 0 0; font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.text p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.5; font-weight: 400; }
.text p:last-child { margin-bottom: 0; }
.text .sign { margin-top: 2em; font-weight: 500; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
.facts div { min-width: 0; }
.facts dt { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.3; }
.exp, .list { list-style: none; margin: 0; padding: 0; }
.exp li { display: grid; gap: 2px; margin-bottom: 22px; }
.exp li:last-child { margin-bottom: 0; }
.exp-p { font-size: 17px; line-height: 1.3; }
.exp-n { font-size: 17px; line-height: 1.3; color: var(--dim); }
.exp-r { font-size: 14px; line-height: 1.35; color: var(--dim); opacity: .85; }
.list li { font-size: 17px; line-height: 1.35; padding: 5px 0; }
.link { margin: 0; font-size: 17px; line-height: 1.4; }
.link a, .list a { transition: opacity .2s; } .link a:hover, .list a:hover { opacity: .55; }
@media (min-width: 900px) { .exp-p, .exp-n, .list li, .link { font-size: 20px; } .exp-r { font-size: 15px; } }
@media (min-width: 900px) {
  .sheet { padding: 24px calc(var(--pad) + 3vw) 140px; }
  .row { grid-template-columns: 22% 1fr; padding: 56px 0; }
  .text { max-width: 62ch; }
  .text p, .facts dd { font-size: 20px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .bar, .bar::before { transition: none; } }
