/* ==========================================================================
   CHROMATIC INK — portfolio & journal
   Paper, pigment and editorial type. One stylesheet for every page.
   ========================================================================== */
/* All faces are bundled (SIL Open Font License, see assets/fonts/*-OFL.txt): the site works fully offline. */
@font-face {
    font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../assets/fonts/instrument-serif-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap;
    src: url(../assets/fonts/instrument-serif-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
    src: url(../assets/fonts/instrument-serif-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap;
    src: url(../assets/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(../assets/fonts/inter-tight-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter Tight'; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(../assets/fonts/inter-tight-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300 700; font-display: swap;
    src: url(../assets/fonts/jetbrains-mono.woff2) format('woff2');
}
@property --reveal { syntax: '<percentage>'; initial-value: 0%; inherits: false; }

:root {
    color-scheme: light;
    --paper: #ede8df; --paper-rgb: 237, 232, 223;
    --paper-deep: #e3ddd2;
    --ink: #15130f; --ink-rgb: 21, 19, 15;
    --ink-2: #4b463e; --ink-3: #847d71;
    --rule: rgba(21, 19, 15, .16);
    --ultramarine: #2337f2; --vermilion: #f6401a; --saffron: #f3a400; --viridian: #00976d; --magenta: #dc1a86; --sumi: #26231f;
    --accent: var(--vermilion);
    --veil: rgba(var(--paper-rgb), .84);
    --serif: 'Instrument Serif', 'Times New Roman', Times, serif;
    --sans: 'Inter Tight', 'Helvetica Neue', Arial, system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --gutter: clamp(16px, 3.2vw, 48px);
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.77, 0, .18, 1);
}
:root[data-theme="night"] {
    color-scheme: dark;
    --paper: #0c0b0d; --paper-rgb: 12, 11, 13; --paper-deep: #141317;
    --ink: #f2ede3; --ink-rgb: 242, 237, 227;
    --ink-2: #bdb5a8; --ink-3: #7f786d;
    --rule: rgba(242, 237, 227, .16);
    --accent: var(--saffron);
    --veil: rgba(var(--paper-rgb), .8);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--paper); color: var(--ink);
    font: 400 16px/1.55 var(--sans); letter-spacing: -.005em;
    overflow-x: clip; -webkit-font-smoothing: antialiased;
    transition: background-color .8s var(--ease), color .8s var(--ease);
}
.has-ink body { background: transparent; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
em { font-style: italic; }

/* ---------- The living paper ---------- */
#ink { position: fixed; inset: 0; width: 100vw; height: 100lvh; z-index: 0; display: block; }
.no-ink #ink { display: none; }
.no-ink body {
    background:
        radial-gradient(40vmax 30vmax at 20% 20%, rgba(35, 55, 242, .16), transparent 70%),
        radial-gradient(36vmax 30vmax at 80% 60%, rgba(246, 64, 26, .14), transparent 70%),
        radial-gradient(30vmax 26vmax at 50% 90%, rgba(243, 164, 0, .14), transparent 70%), var(--paper);
}
.grain {
    position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' 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 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
}
[data-theme="night"] .grain { opacity: .08; mix-blend-mode: screen; filter: invert(1); }
@keyframes grain {
    0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
    60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
main, .masthead, .colophon, .page { position: relative; z-index: 2; }
.veil { background: var(--veil); transition: background-color .8s var(--ease); }

/* ---------- Shared type ---------- */
.kicker, .meta {
    font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
}
.kicker::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.display {
    font: 400 clamp(3.2rem, 9vw, 9.5rem)/.88 var(--serif); letter-spacing: -.025em;
}
.display em, h2 em { font-style: italic; color: var(--accent); }
.section { padding: clamp(96px, 16vh, 200px) var(--gutter); }
.section-head {
    display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--gutter); align-items: end;
    margin-bottom: clamp(48px, 9vh, 110px);
}
.section-head .kicker { grid-column: 1 / -1; }
.section-head h2 { grid-column: 1 / span 9; font: 400 clamp(3.2rem, 9vw, 9.5rem)/.88 var(--serif); letter-spacing: -.025em; }
.section-note { grid-column: 10 / -1; color: var(--ink-2); font-size: 15px; max-width: 34ch; justify-self: end; }
.link-arrow {
    display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase;
    padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px;
    transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 0% 1px; background-position: 100% 100%; }

/* Split reveals: lines, words or characters rise from their own mask. */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split-unit { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .12em; margin: 0 -.03em -.12em; }
.split-inner { display: inline-block; }
[data-motion="on"] [data-split] .split-inner {
    transform: translateY(108%) rotate(5deg); transform-origin: 0 100%;
    transition: transform 1.1s var(--ease); transition-delay: calc(var(--n, 0) * 45ms + var(--d, 0ms));
}
[data-motion="on"] [data-split].is-in .split-inner { transform: none; }
[data-motion="on"] .rise { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
[data-motion="on"] .rise.is-in { opacity: 1; transform: none; }

/* ---------- Loader ---------- */
.loader {
    position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--paper);
    transition: clip-path 1.2s var(--ease-io); clip-path: inset(0 0 0 0);
}
.loader[hidden] { display: none; }
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader-inner { width: min(86vw, 900px); }
.loader-count { display: block; font: 400 clamp(6rem, 22vw, 18rem)/.8 var(--serif); font-style: italic; letter-spacing: -.04em; }
.loader-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.loader-stroke { flex: 1; height: 2px; margin: 0 24px; background: var(--rule); position: relative; overflow: hidden; }
.loader-stroke i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Cursor ---------- */
.cursor {
    position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
    width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
    background: #fff; mix-blend-mode: difference; opacity: 0;
    transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.has-label { width: 104px; height: 104px; margin: -52px 0 0 -52px; }
.cursor-label {
    position: absolute; inset: 0; display: grid; place-items: center; color: #000;
    font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase;
    opacity: 0; transform: scale(.5); transition: opacity .3s, transform .45s var(--ease);
}
.cursor.has-label .cursor-label { opacity: 1; transform: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

/* ---------- Masthead ---------- */
.masthead {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
    padding: 18px var(--gutter); mix-blend-mode: difference; color: #fff;
}
.brand { font: 400 30px/1 var(--serif); letter-spacing: -.01em; justify-self: start; }
.brand sup { font: 500 9px var(--mono); vertical-align: 14px; margin-left: 2px; }
.masthead-meta { display: flex; gap: 28px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.masthead-right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.masthead-nav { display: flex; gap: 26px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.masthead-nav a { position: relative; padding: 6px 0; }
.masthead-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.masthead-nav a:hover::after, .masthead-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.theme-switch, .menu-button {
    display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 2px;
    font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.theme-switch-dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; position: relative; overflow: hidden; }
.theme-switch-dot::after { content: ''; position: absolute; inset: 0; background: currentColor; border-radius: 50%; transform: translateX(55%); transition: transform .7s var(--ease); }
[data-theme="night"] .theme-switch-dot::after { transform: translateX(0) scale(.45); }
.menu-button { display: none; }
.menu {
    position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--paper);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 96px var(--gutter) 40px;
    clip-path: circle(0% at calc(100% - 40px) 36px); transition: clip-path .9s var(--ease-io); visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); visibility: visible; }
.menu a { font: 400 clamp(3.4rem, 15vw, 7rem)/.95 var(--serif); display: block; }
.menu a em { color: var(--accent); }
.menu-foot { display: flex; justify-content: space-between; margin-top: 36px; }

/* ---------- Hero ---------- */
.hero {
    min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: 110px var(--gutter) 28px;
    position: relative;
}
.hero-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.hero-kicker { grid-column: 1 / span 4; }
.hero-role { grid-column: 9 / -1; justify-self: end; text-align: right; font: 400 clamp(1.3rem, 2vw, 1.8rem)/1.1 var(--serif); max-width: 18ch; }
.hero-name {
    align-self: end; font: 400 clamp(6rem, 25vw, 30rem)/.78 var(--serif); font-style: italic; letter-spacing: -.05em;
    margin-left: -.04em; white-space: nowrap;
}
.hero-name .split-unit { padding-bottom: .16em; margin-bottom: -.16em; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 16px; }
.hero-roles { grid-column: 1 / span 5; font: 400 clamp(1.2rem, 1.8vw, 1.6rem) var(--serif); }
.roller { display: inline-grid; overflow: hidden; vertical-align: bottom; height: 1.25em; }
.roller > span { grid-area: 1 / 1; font-style: italic; color: var(--accent); transition: transform .9s var(--ease), opacity .6s; }
.roller > span.is-out { transform: translateY(-110%); opacity: 0; }
.roller > span.is-in { animation: rollIn .9s var(--ease) both; }
@keyframes rollIn { from { transform: translateY(110%); } }
.hero-hint { grid-column: 6 / span 4; color: var(--ink-2); }
.hero-scroll { grid-column: 11 / -1; justify-self: end; display: flex; align-items: center; gap: 12px; }
.hero-scroll i { width: 1px; height: 46px; background: var(--rule); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; left: 0; right: 0; height: 40%; background: var(--ink); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(250%); } }
.swatches { position: absolute; right: var(--gutter); top: 50%; display: flex; flex-direction: column; gap: 10px; transform: translateY(-50%); }
.swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--rule); transition: transform .4s var(--ease), box-shadow .4s; }
.swatch[aria-pressed="true"] { transform: scale(1.5); box-shadow: 0 0 0 1px var(--ink); }

/* ---------- Manifesto ---------- */
.manifesto-text { font: 400 clamp(2.2rem, 5.2vw, 5.4rem)/1.02 var(--serif); letter-spacing: -.02em; max-width: 22ch; margin: 28px 0 clamp(64px, 10vh, 120px); }
.manifesto-text .w { opacity: var(--o, .14); transition: opacity .25s linear; }
.manifesto-text em { color: var(--accent); }
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); border-top: 1px solid var(--rule); padding-top: 32px; }
.about-bio { grid-column: 1 / span 5; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.stats { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats div { border-left: 1px solid var(--rule); padding-left: 16px; }
.stats dt { font: 400 clamp(3rem, 5vw, 4.8rem)/1 var(--serif); }
.stats dd { margin-top: 8px; }

/* ---------- Band marquee ---------- */
.band { position: relative; z-index: 2; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--rule); background: var(--ink); color: var(--paper); }
.band-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; font: 400 clamp(2.4rem, 6vw, 5.4rem)/1 var(--serif); }
.band-track span { padding: 0 .35em; }
.band-track span:nth-child(odd) { font-style: italic; }
.band-track b { font-weight: 400; color: var(--accent); padding: 0 .1em; }

/* ---------- Experience: sticky stacked plates ---------- */
.stack { list-style: none; display: grid; gap: 0; }
.stack-card {
    position: sticky; top: calc(84px + var(--i) * 18px);
    display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
    min-height: min(64vh, 560px); padding: clamp(28px, 4vw, 56px); margin-bottom: 8vh;
    background: var(--paper-deep); border: 1px solid var(--rule); border-radius: 22px;
    box-shadow: 0 30px 80px rgba(var(--ink-rgb), .12);
    transform-origin: 50% 0; transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
    overflow: hidden;
}
.stack-card::before {
    content: ''; position: absolute; inset: auto -10% -60% 40%; height: 120%; border-radius: 50%;
    background: radial-gradient(closest-side, var(--hue), transparent); opacity: .28; filter: blur(10px);
}
.stack-index { grid-column: 1 / span 4; font: 400 clamp(6rem, 16vw, 15rem)/.8 var(--serif); font-style: italic; color: var(--hue); }
.stack-body { grid-column: 6 / -1; align-self: end; position: relative; }
.stack-body h3 { font: 400 clamp(2.6rem, 5vw, 5rem)/.95 var(--serif); margin: 14px 0 8px; }
.stack-org { font: 400 1.4rem var(--serif); font-style: italic; color: var(--ink-2); margin-bottom: 22px; }
.stack-body > p:not([class]) { color: var(--ink-2); max-width: 52ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags li, .tag { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border: 1px solid var(--rule); border-radius: 100px; }

/* ---------- Selected work ---------- */
.work-list { list-style: none; border-top: 1px solid var(--rule); }
.work-row {
    position: relative; display: grid; grid-template-columns: 80px 1fr auto 90px; align-items: baseline; gap: var(--gutter);
    padding: clamp(18px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--rule); overflow: hidden; isolation: isolate;
}
.work-row::before {
    content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%;
    transition: transform .6s var(--ease); z-index: -1;
}
.work-row:hover::before, .work-row:focus-visible::before { transform: scaleY(1); }
.work-row:hover, .work-row:focus-visible { color: var(--paper); }
.work-num { font: 500 12px var(--mono); letter-spacing: .1em; }
.work-title { font: 400 clamp(2.6rem, 7.2vw, 7.6rem)/.92 var(--serif); letter-spacing: -.025em; transition: transform .7s var(--ease), letter-spacing .7s var(--ease); }
.work-row:hover .work-title { transform: translateX(2.2vw); font-style: italic; }
.work-cat { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: inherit; opacity: .7; }
.work-year { justify-self: end; font: 400 1.4rem var(--serif); }
.work-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; }
.work-preview {
    position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; width: min(30vw, 440px); aspect-ratio: 4 / 3;
    border-radius: 14px; overflow: hidden; background: var(--paper-deep);
    clip-path: inset(50% 50% 50% 50% round 14px); transition: clip-path .6s var(--ease);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .3);
}
.work-preview.is-on { clip-path: inset(0 0 0 0 round 14px); }
.work-preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1s var(--ease); }
.work-preview.is-on img { transform: scale(1); }
.work-preview-label { position: absolute; left: 14px; bottom: 12px; font: 500 10px var(--mono); letter-spacing: .14em; color: #fff; mix-blend-mode: difference; }

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.sphere { grid-column: 1 / span 6; position: relative; aspect-ratio: 1; max-height: 78vh; touch-action: pan-y; user-select: none; }
.sphere-item {
    position: absolute; left: 50%; top: 50%; white-space: nowrap; will-change: transform, opacity;
    font: 400 clamp(1rem, 1.7vw, 1.6rem) var(--serif); transform: translate(-50%, -50%);
}
.sphere-item:nth-child(3n) { font-style: italic; color: var(--accent); }
.sphere-core { position: absolute; inset: 38%; border-radius: 50%; border: 1px dashed var(--rule); display: grid; place-items: center; text-align: center; }
.fields { grid-column: 8 / -1; }
.field { border-top: 1px solid var(--rule); }
.field:last-child { border-bottom: 1px solid var(--rule); }
.field summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; cursor: pointer; }
.field summary::-webkit-details-marker { display: none; }
.field summary h3 { font: 400 clamp(1.8rem, 3vw, 2.8rem)/1 var(--serif); }
.field summary span { font: 400 1.6rem var(--serif); transition: transform .5s var(--ease); }
.field[open] summary span { transform: rotate(45deg); }
.field-body { padding: 0 0 28px; color: var(--ink-2); display: grid; gap: 14px; }
.field-body .meta { color: var(--ink); }
.skills { margin-top: clamp(64px, 10vh, 120px); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }
.skill-group h3 { font: 400 1.7rem/1 var(--serif); margin-bottom: 18px; }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 14px; font-size: 14px; }
.skill svg { grid-column: 1 / -1; width: 100%; height: 10px; overflow: visible; }
.skill path { fill: none; stroke: var(--hue, var(--accent)); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease); }
.skill .track { stroke: var(--rule); stroke-width: 1; stroke-dashoffset: 0; }
.skill.is-in path:not(.track) { stroke-dashoffset: calc(1 - var(--v, .62)); }

/* ---------- Featured code ---------- */
.specimen { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: center; }
.specimen-text { grid-column: 1 / span 5; }
.specimen-text h2 { font: 400 clamp(3rem, 7vw, 7rem)/.9 var(--serif); margin: 18px 0 22px; }
.specimen-text p { color: var(--ink-2); max-width: 44ch; }
.specimen-window {
    grid-column: 7 / -1; background: #12110f; color: #e9e3d6; border-radius: 18px; overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .28); font: 400 14px/1.75 var(--mono);
}
.specimen-bar { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 11px; letter-spacing: .1em; color: #8d867a; }
.specimen-code { padding: 22px 24px 28px; min-height: 300px; white-space: pre; overflow-x: auto; }
.specimen-code .k { color: #ff7a59; } .specimen-code .s { color: #f5c04a; } .specimen-code .f { color: #7aa2ff; } .specimen-code .c { color: #7f786d; font-style: italic; }
.caret { display: inline-block; width: .6em; height: 1.1em; background: #f5c04a; vertical-align: -3px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Journal rows ---------- */
.journal-list { list-style: none; border-top: 1px solid var(--rule); }
.journal-row {
    display: grid; grid-template-columns: 100px 1fr 140px 90px; gap: var(--gutter); align-items: center;
    padding: 26px 0; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden;
}
.journal-date, .journal-time { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--ink-2); }
.journal-title { position: relative; overflow: hidden; font: 400 clamp(1.8rem, 3.4vw, 3.2rem)/1.05 var(--serif); }
.journal-title .static { display: block; transition: transform .6s var(--ease); }
.journal-title .marquee { position: absolute; left: 0; top: 0; display: flex; white-space: nowrap; transform: translateY(105%); transition: transform .6s var(--ease); font-style: italic; color: var(--accent); }
.journal-title .marquee span { padding-right: 1em; animation: slide 7s linear infinite; animation-play-state: paused; }
.journal-row:hover .static, .journal-row:focus-visible .static { transform: translateY(-105%); }
.journal-row:hover .marquee, .journal-row:focus-visible .marquee { transform: none; }
.journal-row:hover .marquee span { animation-play-state: running; }
@keyframes slide { to { transform: translateX(-100%); } }
.topic { display: inline-flex; align-items: center; gap: 8px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.topic::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--t, var(--accent)); }
[data-topic="1"] { --t: var(--ultramarine); } [data-topic="2"] { --t: var(--vermilion); } [data-topic="3"] { --t: var(--saffron); }
[data-topic="4"] { --t: var(--viridian); } [data-topic="5"] { --t: var(--magenta); } [data-topic="6"] { --t: var(--sumi); }
[data-theme="night"] [data-topic="6"] { --t: #d8d0c2; }

/* ---------- Activity field ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.activity-copy { grid-column: 1 / span 4; }
.activity-copy h2 { font: 400 clamp(3rem, 7vw, 7rem)/.9 var(--serif); margin: 18px 0; }
.dots { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(52, 1fr); gap: clamp(2px, .35vw, 6px); }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--ink); opacity: var(--a, .1); transform: scale(var(--z, .55)); transition: transform .5s var(--ease), opacity .5s; }
.activity-stats { display: flex; gap: clamp(24px, 5vw, 80px); margin-top: 40px; grid-column: 5 / -1; }
.activity-stats strong { display: block; font: 400 clamp(2.4rem, 4vw, 4rem)/1 var(--serif); }

/* ---------- Voices ---------- */
.voices { text-align: center; }
.quote { font: 400 clamp(2.4rem, 6vw, 6.4rem)/1 var(--serif); letter-spacing: -.02em; max-width: 18ch; margin: 40px auto 36px; min-height: 2.2em; }
.quote::before { content: '“'; display: block; font-size: 1.6em; line-height: .6; color: var(--accent); font-style: italic; }
.quote .ch { display: inline-block; white-space: pre; transition: opacity .5s, transform .7s var(--ease), filter .6s; transition-delay: calc(var(--n) * 14ms); }
.quote.is-leaving .ch { opacity: 0; transform: translateY(-.3em) rotate(-6deg); filter: blur(6px); }
.quote.is-entering .ch { opacity: 0; transform: translateY(.4em) rotate(6deg); filter: blur(6px); transition: none; }
.quote-author { display: flex; justify-content: center; gap: 18px; align-items: center; }
.quote-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.quote-dots button { width: 34px; height: 3px; background: var(--rule); position: relative; overflow: hidden; }
.quote-dots button[aria-current="true"]::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: left; animation: fillBar 6s linear forwards; }
@keyframes fillBar { from { transform: scaleX(0); } }

/* ---------- Next chapter ---------- */
.chapter-grid { display: grid; grid-template-columns: 1fr minmax(120px, 1fr) 1fr; gap: var(--gutter); align-items: center; }
.chapter-node h3 { font: 400 clamp(2.4rem, 4.6vw, 4.6rem)/.95 var(--serif); margin: 14px 0 10px; }
.chapter-node p { color: var(--ink-2); }
.chapter-node .tags { margin-top: 18px; }
.chapter-node:last-child { text-align: right; }
.chapter-node:last-child .tags { justify-content: flex-end; }
.chapter-line svg { width: 100%; height: 160px; overflow: visible; }
.chapter-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.chapter-line circle { fill: var(--accent); }
.milestones { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); margin-top: 72px; border-top: 1px solid var(--rule); }
.milestones li { padding-top: 18px; position: relative; }
.milestones li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.milestones li.is-done::before { background: var(--accent); }

/* ---------- Contact ---------- */
.contact { min-height: 100svh; display: grid; align-content: center; }
.contact h2 { font: 400 clamp(4rem, 13vw, 14rem)/.84 var(--serif); letter-spacing: -.04em; margin: 22px 0 clamp(48px, 8vh, 90px); }
.contact h2 em { color: var(--accent); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px var(--gutter); max-width: 1100px; background: var(--veil); padding: clamp(22px, 3vw, 44px); border-radius: 22px; }
.form label { display: grid; gap: 8px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea { border-bottom: 1px solid var(--ink); padding: 10px 0; font: 400 clamp(1.3rem, 2vw, 1.8rem) var(--serif); outline: none; resize: vertical; transition: border-color .3s; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { min-height: 120px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.form-status { color: var(--ink-2); font-size: 14px; }
.send {
    width: 150px; height: 150px; border-radius: 50%; background: var(--ink); color: var(--paper);
    font: 400 1.6rem var(--serif); font-style: italic; display: grid; place-items: center;
    transition: background .4s, translate .3s var(--ease);
}
.send:hover { background: var(--accent); }

/* ---------- Colophon ---------- */
.colophon { padding: 72px var(--gutter) 28px; border-top: 1px solid var(--rule); background: var(--veil); }
.colophon-name { display: inline-block; font: 400 25vw/.78 var(--serif); font-style: italic; letter-spacing: -.055em; white-space: nowrap; margin: 0 0 24px -.03em; }
.colophon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); padding-top: 22px; border-top: 1px solid var(--rule); font-size: 14px; }
.colophon-grid a { display: block; width: fit-content; }
.colophon-grid a:hover { color: var(--accent); }
.colophon-grid button { text-align: left; font-size: 14px; }

/* ---------- Inner pages ---------- */
.page { padding: 140px var(--gutter) 80px; min-height: 100vh; }
.page-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); margin-bottom: 64px; align-items: end; }
.page-head .kicker { grid-column: 1 / -1; }
.page-head h1 { grid-column: 1 / span 9; font: 400 clamp(4rem, 12vw, 12.5rem)/.84 var(--serif); letter-spacing: -.035em; }
.page-head h1 em { color: var(--accent); }
.page-head p { grid-column: 10 / -1; color: var(--ink-2); }
.page-surface { background: var(--veil); border-radius: 24px; padding: clamp(18px, 3vw, 44px); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 100px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.filter::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--t, var(--ink)); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter sup { font-size: 10px; opacity: .6; }
.search { width: 100%; border-bottom: 1px solid var(--ink); padding: 10px 0; margin-bottom: 26px; font: 400 clamp(1.6rem, 3vw, 2.6rem) var(--serif); outline: none; }
.search::placeholder { color: var(--ink-3); font-style: italic; }
.archive-count { font: 500 11px var(--mono); letter-spacing: .1em; color: var(--ink-2); margin-bottom: 14px; }
.journal-row[hidden] { display: none; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.work-card { display: grid; gap: 14px; padding: 12px 12px 22px; background: var(--veil); border-radius: 22px; }
.work-card-media { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--paper-deep); }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.work-card:hover .work-card-media img { transform: scale(1.06) rotate(-.6deg); }
.work-card-media::after { content: 'View'; position: absolute; inset: auto 14px 14px auto; padding: 8px 14px; border-radius: 100px; background: var(--ink); color: var(--paper); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: translateY(150%); transition: transform .6s var(--ease); }
.work-card:hover .work-card-media::after { transform: none; }
.work-card h2 { font: 400 clamp(1.8rem, 2.6vw, 2.6rem)/1 var(--serif); }
.work-card:nth-child(3n + 2) { margin-top: 12vh; }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.article-head { max-width: 1200px; margin: 0 auto 56px; text-align: center; }
.article-head h1 { font: 400 clamp(3.4rem, 9vw, 9rem)/.88 var(--serif); letter-spacing: -.03em; margin: 26px 0; }
.article-head h1 em, .article-head h1 .hl { font-style: italic; color: var(--accent); }
.article-head .lede { font: 400 clamp(1.3rem, 2vw, 1.8rem)/1.3 var(--serif); color: var(--ink-2); max-width: 36ch; margin: 0 auto; }
.article-meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
.article-layout { display: grid; grid-template-columns: 220px minmax(0, 720px) 1fr; gap: var(--gutter); justify-content: center; }
.article-layout .page-surface { grid-column: 2; }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 10px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.toc a { color: var(--ink-3); display: flex; gap: 10px; align-items: center; transition: color .3s; }
.toc a::before { content: ''; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.toc a.is-active { color: var(--ink); }
.toc a.is-active::before { width: 34px; background: var(--accent); }
.prose { font-size: 18px; line-height: 1.72; color: var(--ink); }
.prose > section + section { margin-top: 56px; }
.prose p + p, .prose p + pre, .prose pre + p, .prose p + div, .prose div + p, .prose figure + p, .prose p + figure, .prose ul, .prose ol { margin-top: 1.1em; }
.prose section:first-child > p:first-child::first-letter { float: left; font: 400 5.2em/.78 var(--serif); font-style: italic; margin: .06em .1em 0 0; color: var(--accent); }
.prose h2 { font: 400 clamp(2.2rem, 3.6vw, 3.4rem)/1 var(--serif); letter-spacing: -.015em; margin-bottom: 20px; }
.prose h3 { font: 400 1.8rem/1.1 var(--serif); margin: 1.4em 0 .5em; }
.prose a { background: linear-gradient(var(--accent), var(--accent)) no-repeat 0 100% / 100% 1px; }
.prose a:hover { color: var(--accent); }
.prose code { font: 400 .85em var(--mono); background: rgba(var(--ink-rgb), .07); padding: .1em .35em; border-radius: 4px; }
.prose pre { background: #12110f; color: #e9e3d6; padding: 20px 22px; border-radius: 14px; overflow-x: auto; font: 400 14px/1.7 var(--mono); }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); }
.prose th { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.prose [role="region"] { overflow-x: auto; }
.prose blockquote { font: 400 2rem/1.15 var(--serif); font-style: italic; border-left: 2px solid var(--accent); padding-left: 24px; margin: 1.4em 0; }
.prose figure img { border-radius: 14px; width: 100%; height: auto; }
.prose figcaption { margin-top: 10px; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.prose ul, .prose ol { padding-left: 1.2em; }
.related { max-width: 1300px; margin: 110px auto 0; }
.related h2 { font: 400 clamp(2.4rem, 5vw, 4.6rem)/1 var(--serif); margin: 14px 0 28px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 90px; border-top: 1px solid var(--rule); }
.pager a { padding: 28px 0; display: grid; gap: 10px; }
.pager a:last-child { text-align: right; border-left: 1px solid var(--rule); padding-left: var(--gutter); }
.pager strong { font: 400 clamp(1.8rem, 3.4vw, 3.2rem)/1 var(--serif); transition: color .3s; }
.pager a:hover strong { color: var(--accent); font-style: italic; }

/* Case study */
.case-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; margin-bottom: 48px; }
.case-hero h1 { grid-column: 1 / span 8; font: 400 clamp(4rem, 13vw, 13rem)/.84 var(--serif); letter-spacing: -.04em; }
.case-hero .lede { grid-column: 9 / -1; font: 400 1.5rem/1.25 var(--serif); color: var(--ink-2); }
.case-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); border-top: 1px solid var(--rule); padding-top: 18px; margin-bottom: 48px; }
.case-facts dd { font: 400 1.4rem var(--serif); margin-top: 6px; }
.case-media { border-radius: 24px; overflow: hidden; height: min(78vh, 760px); margin: 0 calc(var(--gutter) * -0.5) 90px; background: var(--paper-deep); }
.case-media img { width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); }
.case-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.case-section { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: clamp(28px, 4vw, 56px); margin-bottom: 18px; background: var(--veil); border-radius: 24px; }
.case-section-label { grid-column: 1 / span 3; }
.case-section-label .num { display: block; font: 400 4.6rem/1 var(--serif); font-style: italic; color: var(--accent); }
.case-section-copy { grid-column: 5 / -1; }
.case-section-copy h2 { font: 400 clamp(2.4rem, 4.4vw, 4.4rem)/1 var(--serif); margin-bottom: 20px; }
.case-section-copy p { color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.case-section-copy p + p { margin-top: 1em; }
.case-section-copy figure { margin-top: 32px; }
.case-section-copy figure img { border-radius: 16px; width: 100%; height: auto; }
.case-section-copy figcaption { margin-top: 10px; font: 500 11px var(--mono); letter-spacing: .08em; color: var(--ink-3); text-transform: uppercase; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.next-case { display: block; margin-top: 110px; padding: 60px 0 20px; border-top: 1px solid var(--rule); text-align: center; }
.next-case strong { display: block; font: 400 clamp(4rem, 14vw, 14rem)/.85 var(--serif); letter-spacing: -.04em; transition: color .4s; }
.next-case:hover strong { color: var(--accent); font-style: italic; }

/* ---------- Cross-document ink transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: inkOut .7s var(--ease-io) both; }
::view-transition-new(root) {
    animation: inkIn 1s var(--ease-io) both;
    mask-image: radial-gradient(circle at var(--vx, 50%) var(--vy, 50%), #000 calc(var(--reveal) - 6%), transparent var(--reveal));
}
@keyframes inkIn { from { --reveal: 0%; } to { --reveal: 160%; } }
@keyframes inkOut { to { transform: scale(.96); opacity: .4; filter: blur(2px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .masthead-meta { display: none; }
    .masthead { grid-template-columns: 1fr auto; }
    .skills { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .work-card:nth-child(3n + 2) { margin-top: 0; }
    .work-card:nth-child(2n) { margin-top: 8vh; }
    .article-layout { grid-template-columns: minmax(0, 760px); }
    .article-layout .page-surface { grid-column: 1; }
    .toc { display: none; }
}
@media (max-width: 820px) {
    .masthead-nav, .theme-switch-label { display: none; }
    .menu-button { display: inline-flex; }
    .section-head h2, .section-note, .hero-kicker, .hero-role, .hero-roles, .hero-hint, .hero-scroll,
    .about-bio, .stats, .specimen-text, .specimen-window, .activity-copy, .dots, .activity-stats,
    .stack-index, .stack-body, .case-hero h1, .case-hero .lede, .case-section-label, .case-section-copy,
    .page-head h1, .page-head p, .sphere, .fields { grid-column: 1 / -1; }
    .section-note { justify-self: start; }
    .hero-role { justify-self: start; text-align: left; margin-top: 12px; }
    .hero-hint { display: none; }
    .hero-scroll { justify-self: start; }
    .hero-name { font-size: 30vw; }
    .swatches { top: auto; bottom: 120px; }
    .stats { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
    .stack-card { min-height: 0; }
    .stack-index { font-size: 6rem; }
    .work-row { grid-template-columns: 34px 1fr; }
    .work-cat { grid-column: 2; }
    .work-year { display: none; }
    .work-preview { display: none; }
    .sphere { max-width: 520px; width: 100%; justify-self: center; }
    .skills { grid-template-columns: 1fr; }
    .journal-row { grid-template-columns: 1fr auto; gap: 8px 16px; }
    .journal-date { grid-column: 1 / -1; }
    .journal-time { display: none; }
    .dots { grid-template-columns: repeat(26, 1fr); }
    .chapter-grid { grid-template-columns: 1fr; }
    .chapter-node:last-child { text-align: left; }
    .chapter-node:last-child .tags { justify-content: flex-start; }
    .chapter-line svg { height: 90px; transform: rotate(90deg) scale(.6); }
    .milestones { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .form { grid-template-columns: 1fr; }
    .colophon-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .work-grid { grid-template-columns: 1fr; }
    .work-card:nth-child(2n) { margin-top: 0; }
    .case-facts { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
    .case-media { height: 52vh; margin-inline: 0; }
    .pager { grid-template-columns: 1fr; }
    .pager a:last-child { border-left: 0; padding-left: 0; text-align: left; border-top: 1px solid var(--rule); }
    .stack-card { top: calc(70px + var(--i) * 10px); }
}
@media (hover: none) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .grain, .hero-scroll i::after { animation: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
[data-motion="off"] .grain, [data-motion="off"] .hero-scroll i::after { animation: none; }
[data-motion="off"]::view-transition-old(root), [data-motion="off"]::view-transition-new(root) { animation: none; }

/* Code blocks carried over from the template's articles. */
.prose .detail-code-block { margin-top: 1.2em; background: #12110f; color: #e9e3d6; border-radius: 14px; overflow: hidden; }
.prose .detail-code-header { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.prose .detail-code-dot { width: 9px; height: 9px; border-radius: 50%; background: #3a3631; }
.prose .detail-code-title { margin-left: 8px; font: 500 11px var(--mono); letter-spacing: .08em; color: #8d867a; }
.prose .detail-code-body { padding: 16px 20px; overflow-x: auto; font: 400 14px/1.7 var(--mono); }
.prose .line { display: flex; white-space: pre; }
