/* connormcknight.net — personal site of Connor McKnight
   A light warm page with a dusk-spectrum accent (apricot, coral, magenta, violet); each portfolio
   takes a hue along the spectrum. Type: Bodoni Moda (display), Hanken Grotesk (text and labels). */

/* ── fonts ─────────────────────────────────────────────────────────────────────────────────── */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/bodoni-moda-latin-standard-normal.woff2?v=004112122d) 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: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/bodoni-moda-latin-ext-standard-normal.woff2?v=33d6f33d2d) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/bodoni-moda-latin-standard-italic.woff2?v=d990155b45) 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: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url(/assets/fonts/bodoni-moda-latin-ext-standard-italic.woff2?v=9e0c232366) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/hanken-grotesk-latin-wght-normal.woff2?v=38c3847fad) 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: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/hanken-grotesk-latin-ext-wght-normal.woff2?v=2cba32d0c1) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/hanken-grotesk-latin-wght-italic.woff2?v=881c68f3b9) 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: "Hanken Grotesk"; font-style: italic; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/hanken-grotesk-latin-ext-wght-italic.woff2?v=3560987b16) 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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ── tokens ────────────────────────────────────────────────────────────────────────────────── */
:root {
  --bg: #fbf6f1; --bg-2: #f6eee8; --bg-3: #efe4dc; --bg-4: #e7d9cf;
  --card: #ffffff;
  --fg: #24132e; --fg-2: #4f3d57; --fg-3: #6f5d74;
  --line: rgba(36, 19, 46, .12); --line-2: rgba(36, 19, 46, .26);
  --apricot: #ffb084; --coral: #ff6f61; --magenta: #ff3d8b; --violet: #7b4dff;
  --grad: linear-gradient(100deg, #ffb084 0%, #ff6f61 34%, #ff3d8b 64%, #7b4dff 100%);
  --grad-text: linear-gradient(100deg, #f2603f 0%, #ea2f7c 50%, #6a3cf0 100%);
  --signal: #e8457a; --signal-ink: #ffffff;
  --paper: #ffffff; --ink: #24132e;
  --shadow: 0 1px 2px rgba(60, 20, 70, .06), 0 18px 40px -12px rgba(60, 20, 70, .18);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hd: 64px;
  color-scheme: light;
}

/* ── base ──────────────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--sans); font-optical-sizing: auto; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
@supports (overflow: clip) { body { overflow-x: clip; } }
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--signal); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
code { font: .88em var(--mono); background: var(--bg-3); padding: .1em .35em; border-radius: 3px; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--signal); color: var(--signal-ink); padding: 10px 16px; font: 500 14px var(--mono); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1680px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* type scale */
.label { font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.label a { text-decoration: none; }
.label a:hover { color: var(--signal); }
.h-hero { font-family: var(--serif); font-weight: 500; font-size: 40px; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; letter-spacing: -.01em; overflow-wrap: break-word; }
.h-xxl { font-family: var(--serif); font-weight: 500; font-size: 40px; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.05; letter-spacing: -.01em; }
.h-xl { font-family: var(--serif); font-weight: 500; font-size: 34px; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.005em; }
.h-l { font-family: var(--serif); font-weight: 500; font-size: 26px; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.12; }
.h-hero em, .h-xxl em, .h-xl em, .h-l em, .grad { color: var(--coral); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.sec-lede { max-width: 52ch; font-size: 18px; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.5; color: var(--fg-2); margin-top: 22px; }
.prose { max-width: 66ch; color: var(--fg-2); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul { margin: 1em 0; }
.prose li { position: relative; padding-left: 1.3em; margin: .45em 0; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--fg-3); }
.prose a { color: var(--fg); }
.prose-l { font-size: 18px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.55; }
.ext { margin-left: .15em; }
.arr { display: inline-block; transition: transform .35s var(--ease); }
a:hover .arr { transform: translateX(6px); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { border-color: var(--fg); color: var(--fg); background: rgba(36,19,46,.05); }
.btn-solid { background: var(--grad) border-box; color: #1a0d20; border-color: transparent; font-weight: 600; box-shadow: 0 10px 30px rgba(255, 61, 139, .25); }
.btn-solid:hover { color: #1a0d20; filter: brightness(1.08) saturate(1.1); }
.lnk { background: none; border: 0; padding: 0; color: var(--fg); text-decoration: underline; text-underline-offset: .2em; }
.lnk:hover { color: var(--signal); }

/* ── header ────────────────────────────────────────────────────────────────────────────────── */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hd); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter); background: rgba(251,246,241,.8); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.hd-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.mono { width: 34px; height: 34px; flex: none; }

.hd-brand:hover { color: var(--fg); }
.hd-name { font: 500 19px/1 var(--serif); letter-spacing: .01em; }
.hd-brand:hover .hd-name { color: var(--fg); }
.hd-nav { display: none; gap: 22px; }
.hd-nav a { font: 500 14px var(--sans); text-decoration: none; color: var(--fg-2); }
.hd-nav a:hover, .hd-nav a[aria-current] { color: var(--fg); }
.hd-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--magenta); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.hd-index { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 7px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(251,246,241,.4); font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.hd-index:hover { border-color: var(--fg); }
.hd-index-i { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); }
.hd-index-i i { position: absolute; left: 7px; right: 7px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.hd-index-i i:first-child { top: 10px; } .hd-index-i i:last-child { top: 15px; }
.hd-index[aria-expanded="true"] .hd-index-i i:first-child { top: 12.5px; transform: rotate(45deg); }
.hd-index[aria-expanded="true"] .hd-index-i i:last-child { top: 12.5px; transform: rotate(-45deg); }
@media (min-width: 1100px) { .hd-nav { display: flex; } }

/* ── contents overlay ─────────────────────────────────────────────────────────────────────── */
.contents { position: fixed; inset: 0; z-index: 99; background: rgba(251,246,241,.97); overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--hd) + 24px) 0 60px; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .contents { background: rgba(251,246,241,.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); } }
.contents[hidden] { display: none; }
.contents-in { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.contents.open .contents-in { animation: rise .5s var(--ease) both; }
.contents-search { position: relative; border-bottom: 1px solid var(--line-2); }
.contents-search input { width: 100%; border: 0; background: transparent; padding: 10px 60px 16px 0; font: 400 26px/1.15 var(--serif); font-size: clamp(22px, 2.6vw, 36px); outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.contents-search input::placeholder { color: var(--fg-3); }
.contents-search input::-webkit-search-cancel-button { display: none; }
.contents-hint { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 11px var(--mono); color: var(--fg-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 6px; }
.contents-results:empty { display: none; }
.contents-results { padding: 18px 0 8px; }
.contents-results ol { columns: 1; }
.contents-results li a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contents-results li a:hover b, .contents-results li a:focus b { color: var(--signal); }
.contents-results b { font: 500 20px/1.15 var(--serif); }
.contents-results span { font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.contents-results small { color: var(--fg-2); font-size: 14px; }
.contents-results .none { color: var(--fg-2); padding: 12px 0; }
.contents-cols { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 36px; }
.contents-vols { columns: 1; column-gap: 40px; }
.contents-vols li { break-inside: avoid; }
.contents-vols a { display: grid; grid-template-columns: 3.4em 1fr auto; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contents-vols .num { font: 12px var(--mono); color: var(--c); }
.contents-vols .t { font: 500 20px/1.15 var(--serif); font-size: clamp(18px, 1.6vw, 22px); }
.contents-vols .n { font: 12px var(--mono); color: var(--fg-3); }
.contents-vols a:hover .t { color: var(--c); }
.contents-pages a { display: block; font: 500 21px/1.35 var(--serif); text-decoration: none; padding: 4px 0; }
.contents h2.label { margin-bottom: 12px; }
@media (min-width: 800px) { .contents-vols { columns: 2; } .contents-cols { grid-template-columns: 3fr 1fr; } .contents-results ol { columns: 2; column-gap: 40px; } .contents-results li { break-inside: avoid; } }

/* ── sections ──────────────────────────────────────────────────────────────────────────────── */
.sec { padding-top: 96px; padding-top: clamp(72px, 10vw, 160px); }
.sec-hd { margin-bottom: 40px; margin-bottom: clamp(32px, 4vw, 64px); }
.sec-hd .label { margin-bottom: 18px; }
.sec-hd-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-hd { padding-top: calc(var(--hd) + 72px); padding-top: calc(var(--hd) + clamp(48px, 9vw, 140px)); }
.page-hd .label { margin-bottom: 22px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 10px; vertical-align: 1px; animation: pulse 2.4s ease-in-out infinite; }

/* ── home ─────────────────────────────────────────────────────────────────────────────────── */
main { position: relative; }
main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1100px; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 88% -8%, rgba(255,61,139,.22), transparent 70%), radial-gradient(800px 600px at -10% 10%, rgba(255,176,132,.14), transparent 70%), radial-gradient(900px 700px at 60% 70%, rgba(123,77,255,.14), transparent 70%); }

.hero-kicker { margin-bottom: 22px; color: var(--fg-2); }
.hero-name { font-family: var(--serif); font-weight: 500; font-size: 48px; font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -.012em; }
.hero-name em { font-style: italic; color: var(--coral); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.hero-role { margin-top: 18px; font: 400 21px/1.3 var(--sans); font-size: clamp(18px, 1.7vw, 24px); min-height: 1.3em; color: var(--fg-2); }
.roles { font: italic 500 1.1em/1 var(--serif); color: var(--fg); }
.caret { display: inline-block; width: 2px; height: .95em; margin-left: 3px; background: var(--magenta); vertical-align: -.1em; animation: blink 1s steps(1) infinite; }
.hero-lede { max-width: 40ch; margin-top: 18px; color: var(--fg-2); font-size: 17px; font-size: clamp(16px, 1.2vw, 18.5px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 48px; width: 40px; height: 64px; border: 1px solid var(--line-2); border-radius: 999px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 12px; width: 4px; height: 10px; margin-left: -2px; border-radius: 2px; background: var(--grad); animation: scrolly 2s var(--ease) infinite; }
@media (min-width: 900px) { .hero-scroll { display: block; } }
.sec-hd::before { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--grad); margin-bottom: 20px; }
.rule { height: 1px; border: 0; margin: 0; background: linear-gradient(90deg, transparent, rgba(255,176,132,.5), rgba(255,61,139,.6), rgba(123,77,255,.5), transparent); }
.ov { display: grid; gap: 40px; }
@media (min-width: 900px) { .ov { grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: start; } }
.ov .prose { font-size: 17.5px; }
.ov-vols { border-top: 1px solid var(--line); }
.ov-vols li a { display: grid; grid-template-columns: 2.6em 1fr auto; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.ov-vols .n { font: 600 11px var(--sans); letter-spacing: .1em; color: var(--c); }
.ov-vols .t { font: 500 19px/1.2 var(--serif); }
.ov-vols .k { font-size: 13px; color: var(--fg-3); }
.ov-vols li a:hover .t { color: var(--c); font-style: italic; }
.ov-more { display: inline-block; margin-top: 16px; font-weight: 600; text-decoration: none; }
.vcards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 800px) { .vcards { grid-template-columns: repeat(3, 1fr); } }
.vcard { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--card); text-decoration: none; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.vcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.vcard:hover { transform: translateY(-4px); color: var(--fg); box-shadow: 0 2px 4px rgba(60,20,70,.06), 0 30px 60px -10px rgba(60,20,70,.25); }
.vcard:hover::after { transform: scaleX(1); }
.vcard-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.vcard-body { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 22px; }
.vcard-mark { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vcard-mark img { width: 30px; height: 30px; object-fit: contain; }
.vcard h3 { font: 500 21px/1.15 var(--serif); }
.vcard p { margin-top: 4px; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(4, 1fr); } }
.door { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; padding: 20px; border-radius: 14px; text-decoration: none; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .5s; z-index: 0; }
.door > * { position: relative; z-index: 1; }
.door:hover { transform: translateY(-3px); color: #1a0d20; border-color: transparent; }
.door:hover::before { opacity: 1; }
.door:hover .door-n, .door:hover .door-k { color: #1a0d20; -webkit-text-fill-color: #1a0d20; }
.door-k { font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.door-t { font: 500 24px/1.1 var(--serif); }
.door-n { font: 500 15px var(--sans); color: var(--fg-2); }
.closing { padding-bottom: 24px; }
.closing p { font: 500 22px/1.35 var(--serif); font-size: clamp(19px, 1.9vw, 26px); max-width: 34ch; }
.closing a { text-decoration: none; }

/* ── index of portfolios ───────────────────────────────────────────────────────────────── */
.vol-list { border-top: 1px solid var(--line); }
.vol-row { position: relative; display: grid; grid-template-columns: 3.2em 1fr auto; align-items: baseline; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .45s var(--ease), color .3s; }
.vol-num { font: 400 13px var(--mono); color: var(--c, var(--fg-3)); }
.vol-title { font: 400 30px/1 var(--serif); font-size: clamp(28px, 4.4vw, 72px); letter-spacing: -.015em; }
.vol-kicker { display: none; color: var(--fg-3); font-size: 15px; }
.vol-count { font: 12px var(--mono); color: var(--fg-3); white-space: nowrap; }
.vol-row .arr { display: none; }
a.vol-row:hover, a.vol-row:focus-visible { color: var(--c); padding-left: 18px; }
a.vol-row:hover .vol-title { font-style: italic; }
.vol-next { color: var(--fg-3); }
.vol-next .vol-title { font-style: italic; }
.vol-preview { position: fixed; left: 0; top: 0; z-index: 50; width: 340px; aspect-ratio: 16 / 10; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .3s, transform .4s var(--ease); overflow: hidden; border-radius: 6px; box-shadow: 0 30px 80px rgba(60,20,70,.2); }
.vol-preview.on { opacity: 1; }
.vol-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .vol-row { grid-template-columns: 5em minmax(0, 1.25fr) minmax(0, 1fr) 7em 1.5em; gap: 24px; padding: 22px 0; }
  .vol-kicker { display: block; }
  .vol-row .arr { display: inline-block; }
}
@media (hover: none), (max-width: 899px) { .vol-preview { display: none; } }

/* ── home: library teaser ─────────────────────────────────────────────────────────────────── */

/* ── cards ─────────────────────────────────────────────────────────────────────────────────── */
.feature-grid, .entry-list { display: grid; grid-template-columns: 1fr; gap: 56px 32px; }
@media (min-width: 760px) { .feature-grid, .entry-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(12, 1fr); }
  .feature-grid .card { grid-column: span 6; }
  .feature-grid .f0 { grid-column: 1 / span 7; } .feature-grid .f1 { grid-column: 9 / span 4; margin-top: 140px; }
  .feature-grid .f2 { grid-column: 2 / span 5; } .feature-grid .f3 { grid-column: 7 / span 6; margin-top: -80px; }
  .feature-grid .f4 { grid-column: 1 / span 6; } .feature-grid .f5 { grid-column: 8 / span 5; margin-top: 100px; }
  .entry-list { grid-template-columns: repeat(3, 1fr); }
  .entry-list .card-lead { grid-column: span 2; }
}
.card { position: relative; }
.card-link { display: block; text-decoration: none; height: 100%; }
.card-link:hover { color: var(--fg); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-3); border-radius: 4px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.card-link:hover .card-media img { transform: scale(1.045); filter: saturate(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(36,19,46,.08); pointer-events: none; }
.card-noimg .card-media { background: var(--bg-3); }
.card-noimg .card-media { display: flex; align-items: flex-end; padding: 22px; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 60%), var(--bg-3); }
.card-type { font: italic 500 28px/1.05 var(--serif); font-size: clamp(24px, 2.2vw, 32px); color: var(--c); }
.card-body { padding-top: 18px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.card-meta span:first-child { color: var(--c); }
.card-title { font: 500 24px/1.12 var(--serif); font-size: clamp(21px, 1.9vw, 28px); margin-top: 10px; }
.card-link:hover .card-title { font-style: italic; }
.card-sum { margin-top: 10px; color: var(--fg-2); font-size: 15.5px; max-width: 54ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-vols { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card-vols span { font: 10.5px var(--mono); border: 1px solid var(--c); color: var(--c); border-radius: 999px; padding: 2px 8px; }
.card-next { border: 1px dashed var(--line-2); border-radius: 4px; padding: 26px; display: flex; align-items: flex-end; min-height: 220px; }
.card-next .card-title { font-style: italic; color: var(--fg-2); }
.card-next .card-meta span:first-child { color: var(--fg-3); }

/* ── numbers, marquee, contact band ─────────────────────────────────────────────── */
.v-mark { grid-row: span 2; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--bg-3); border-radius: 12px; overflow: hidden; transition: transform .5s var(--ease); }
.v-mark img { width: 48px; height: 48px; object-fit: contain; }
.v-mono { font: italic 400 30px var(--serif); color: var(--c); }
.v-name { font: 500 24px/1.1 var(--serif); font-size: clamp(21px, 2vw, 28px); }
.v-sub { grid-column: 2; color: var(--fg-3); font-size: 15px; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.numbers li { border-bottom: 1px solid var(--line); }
.numbers li:nth-child(odd) { border-right: 1px solid var(--line); }
.numbers a { display: block; padding: 22px 14px 22px 0; text-decoration: none; height: 100%; }
.numbers li:nth-child(even) a { padding-left: 14px; }
.numbers .n { display: block; font: 500 34px/1 var(--serif); font-size: clamp(28px, 3vw, 46px); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: lining-nums tabular-nums; }
.numbers .l { display: block; margin-top: 10px; font: 11.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.numbers a:hover .n { color: var(--signal); }
@media (min-width: 900px) { .numbers { grid-template-columns: repeat(4, 1fr); } .numbers li { border-right: 1px solid var(--line); } .numbers li:nth-child(4n) { border-right: 0; } .numbers a, .numbers li:nth-child(even) a { padding: 30px 22px; } }
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-in { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 60s linear infinite; font: italic 400 34px/1 var(--serif); font-size: clamp(28px, 3.4vw, 54px); white-space: nowrap; }
.marquee-in i { font-style: normal; font-size: .5em; color: var(--signal); }
.press-mini { margin-top: 40px; }
.press-mini a { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.pm-date, .pm-outlet { font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.pm-title { grid-column: 1; font: 400 22px/1.2 var(--serif); font-size: clamp(20px, 2vw, 28px); }
.press-mini a > span[aria-hidden] { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
@media (min-width: 900px) { .press-mini a { grid-template-columns: 11em 14em 1fr auto; align-items: baseline; } .pm-title { grid-column: 3; } .press-mini a > span[aria-hidden] { grid-column: 4; grid-row: 1; } }
.contact-band { padding-bottom: 40px; }
.contact-band .h-xxl a { text-decoration: none; }
.contact-band .h-xxl a:hover { color: var(--signal); }
.contact-band .h-xxl em { color: var(--fg-2); }
.contact-band .h-xxl a:hover em { color: var(--signal); }

/* ── portfolios: the shelf ─────────────────────────────────────────────────────── */
.shelf-css { margin-top: 64px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.spines { display: flex; align-items: flex-end; gap: 6px; height: 440px; padding-top: 28px; min-width: max-content; }
.spines li { height: 100%; display: flex; align-items: flex-end; }
.spine { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 58px; height: var(--h, 90%); padding: 16px 0 14px; background: var(--c); color: var(--ink); text-decoration: none; border-radius: 3px 3px 2px 2px; box-shadow: inset -6px 0 10px rgba(0,0,0,.18), inset 3px 0 0 rgba(255,255,255,.25); transition: transform .45s var(--ease), box-shadow .45s; }
.spine::before, .spine::after { content: ""; position: absolute; left: 6px; right: 6px; height: 2px; background: rgba(251,246,241,.35); }
.spine::before { top: 46px; } .spine::after { bottom: 44px; }
.spine-num { font: 500 12px var(--mono); }
.spine-title { -webkit-writing-mode: vertical-rl; writing-mode: vertical-rl; transform: rotate(180deg); font: 500 17px/1 var(--serif); letter-spacing: .01em; white-space: nowrap; overflow: hidden; max-height: 72%; }
.spine-n { font: 11px var(--mono); }
a.spine:hover, a.spine:focus-visible { transform: translateY(-22px) rotate(-1.5deg); color: var(--ink); box-shadow: inset -6px 0 10px rgba(0,0,0,.18), 0 24px 40px rgba(60,20,70,.18); }
.spine-ghost { background: transparent; color: var(--fg-3); border: 1px dashed var(--line-2); box-shadow: none; }
.spine-ghost::before, .spine-ghost::after { background: var(--line); }
.shelf-plank { height: 18px; min-width: max-content; background: linear-gradient(180deg, #2a2924, #171713); border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 18px 40px rgba(60,20,70,.2); }
.vol-cards { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .vol-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .vol-cards { grid-template-columns: repeat(3, 1fr); } }
.vol-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 280px; padding: 26px; background: var(--bg); text-decoration: none; overflow: hidden; transition: background .3s; }
.vol-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); transform: scaleX(.12); transform-origin: left; transition: transform .6s var(--ease); }
.vol-card:hover::before { transform: scaleX(1); }
.vol-card:hover { background: var(--bg-2); color: var(--fg); }
.vc-num { font: 500 54px/0.9 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--c); margin-bottom: auto; }
.vc-title { font: 500 23px/1.1 var(--serif); }
.vc-kicker { color: var(--fg-2); font-size: 15px; }
.vc-works { font: 11px/1.5 var(--mono); color: var(--fg-3); letter-spacing: .03em; }

/* ── portfolio page ────────────────────────────────────────────────────────────────────────── */
.vol-hero { position: relative; padding-top: calc(var(--hd) + 64px); padding-top: calc(var(--hd) + clamp(48px, 8vw, 120px)); overflow: hidden; }
.vol-hero .label { margin-bottom: 22px; }
.vol-hero-num { position: absolute; right: 2vw; top: 90px; font: 500 220px/0.8 var(--serif); font-size: clamp(120px, 16vw, 230px); color: transparent; -webkit-text-stroke: 1px var(--c); opacity: .28; pointer-events: none; letter-spacing: -.04em; white-space: nowrap; }
.vol-hero .h-hero { position: relative; max-width: 12ch; }
.vol-hero-kicker { position: relative; margin-top: 18px; font: italic 500 21px/1.3 var(--serif); font-size: clamp(18px, 1.7vw, 24px); color: var(--c); max-width: 30ch; }
.vol-hero-grid { position: relative; display: grid; gap: 40px; margin-top: 48px; }
.vol-hero-grid .prose { font-size: 18px; }
.vol-facts { border-top: 1px solid var(--line); }
.vol-facts div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vol-facts dt { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
@media (min-width: 900px) { .vol-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 80px; } }
.xref { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.xref a { display: inline-flex; gap: 10px; align-items: baseline; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font: 500 16px/1 var(--serif); }
.xref a span { font: 11px var(--mono); color: var(--c); }
.xref a:hover { border-color: var(--c); color: var(--c); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 120px; border-top: 1px solid var(--line); }
.pager a { display: block; padding: 28px 0; text-decoration: none; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 16px; }
.pager-t { display: block; margin-top: 10px; font: 500 21px/1.15 var(--serif); font-size: clamp(18px, 1.8vw, 26px); }
.pager a:hover .pager-t { font-style: italic; color: var(--signal); }

/* ── chips & filters ───────────────────────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips a { display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; text-decoration: none; }
.chips a span { font: 10.5px var(--mono); color: var(--c); }
.chips a:hover { border-color: var(--c); color: var(--c); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.filters button { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 14px; }
.filters button span { font: 10.5px var(--mono); color: var(--fg-3); }
.filters button:hover { border-color: var(--c, var(--fg)); }
.filters button[aria-pressed="true"] { background: var(--c, var(--fg)); border-color: var(--c, var(--fg)); color: var(--ink); }
.filters button[aria-pressed="true"] span { color: var(--ink); }
.filters button[aria-pressed="true"]:not([style]) { background: var(--fg); border-color: var(--fg); color: #fff; }
.filters button[aria-pressed="true"]:not([style]) span { color: rgba(255,255,255,.75); }
.filter-empty { margin-top: 32px; color: var(--fg-2); font: italic 500 20px var(--serif); }
[data-hidden] { display: none !important; }

/* ── work page ─────────────────────────────────────────────────────────────────────────────── */
.work-hd { padding-top: calc(var(--hd) + 56px); padding-top: calc(var(--hd) + clamp(40px, 7vw, 110px)); }
.work-hd .label { margin-bottom: 22px; }
.work-sub { margin-top: 16px; font: italic 500 21px/1.3 var(--serif); font-size: clamp(18px, 1.7vw, 24px); color: var(--c); max-width: 34ch; }
.work-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 40px; border-top: 1px solid var(--line); }
.work-meta div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.work-meta dt { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.work-meta dd { margin-top: 4px; font-size: 15px; }
@media (min-width: 900px) { .work-meta { grid-template-columns: 1fr 1fr 2fr 1fr; } }
.work-hero { margin-top: 48px; }
.work-hero-media { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-3); max-height: 82vh; }
.work-hero-media img { width: 100%; max-height: 82vh; object-fit: cover; object-position: top center; }
.work-hero-type { background: var(--bg-3); }
.work-hero-type { display: flex; align-items: flex-end; min-height: 46vh; padding: var(--gutter); background: radial-gradient(90% 120% at 90% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 65%), var(--bg-3); }
.work-hero-type span { font: italic 500 64px/1 var(--serif); font-size: clamp(40px, 6vw, 88px); color: var(--c); opacity: .9; letter-spacing: -.03em; }
.work-intro { display: grid; gap: 32px; margin-top: 56px; }
.work-sum { font: 500 22px/1.35 var(--serif); font-size: clamp(19px, 1.8vw, 26px); max-width: 38ch; }
@media (min-width: 900px) { .work-intro { grid-template-columns: 1.5fr 1fr; gap: 80px; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; border-top: 1px solid var(--line); }
.facts li { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts .n { display: block; font: 500 32px/1 var(--serif); font-size: clamp(26px, 2.6vw, 40px); color: var(--c); overflow-wrap: anywhere; }
.facts .l { display: block; margin-top: 8px; font: 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts li, .facts li:nth-child(even) { padding: 26px 20px; border-left: 1px solid var(--line); } .facts li:first-child { border-left: 0; padding-left: 0; } }
.work-body { margin-top: 40px; }
.blk { margin-top: 72px; margin-top: clamp(56px, 7vw, 120px); }
.blk-text { display: grid; gap: 22px; }
@media (min-width: 900px) { .blk-text { grid-template-columns: 1fr 1.6fr; gap: 80px; } .blk-text .h-l { position: sticky; top: 100px; align-self: start; } .blk-text > .prose:only-child, .blk-text > .biglist:only-child { grid-column: 2; } }
.blk-text .prose { font-size: 18px; }
.biglist li { font: 500 20px/1.3 var(--serif); font-size: clamp(18px, 1.6vw, 22px); padding: 12px 0; border-bottom: 1px solid var(--line); }
.gal { display: grid; gap: 16px; }
.gal figure { margin: 0; }
.gal img { width: 100%; border-radius: 4px; background: var(--bg-3); }
.gal figcaption { margin-top: 10px; font: 12px/1.5 var(--mono); color: var(--fg-3); }
.gal-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .gal-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .gal-grid:has(> :nth-child(3)):not(:has(> :nth-child(4))) { grid-template-columns: 1fr 1fr 1fr; } }
.gal-mosaic { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
.gal-mosaic img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .gal-mosaic { grid-template-columns: repeat(3, 1fr); } .gal-mosaic figure:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; } }
.gal-mosaic img { height: 100%; object-fit: cover; }
.gal-phones { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1100px; margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .gal-phones { grid-template-columns: repeat(4, 1fr); } .gal-phones:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 60px; } }
.gal-phones img { border-radius: 26px; box-shadow: 0 0 0 6px #ffffff, 0 0 0 7px rgba(36,19,46,.12), 0 40px 80px rgba(60,20,70,.18); }
.gal-logos { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.gal-logos .gal-item a { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 14%; background: var(--paper); border-radius: 4px; }
.gal-logos img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; background: transparent; border-radius: 0; }
.zoom { display: block; cursor: zoom-in; }
.blk-video .film figcaption { display: none; }
.forth { margin-top: 56px; padding: 22px 26px; border: 1px dashed var(--line-2); color: var(--fg-2); font: italic 500 19px var(--serif); border-radius: 4px; }
.work-end { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 72px; }
.next-entry { margin-top: 120px; background: var(--grad); color: var(--ink); }
.next-entry a { display: block; padding-top: 48px; padding-bottom: 56px; text-decoration: none; }
.next-entry .label { color: rgba(22,12,32,.75); }
.next-t { display: block; margin-top: 12px; font: 500 34px/1.05 var(--serif); font-size: clamp(28px, 3.4vw, 50px); }
.next-entry a:hover { color: var(--ink); }
.next-entry a:hover .next-t { font-style: italic; }
.next-entry + .ft { margin-top: 0; }

/* lightbox: a picture or a film full size on the page, with its caption and source credit; ← → step through its group */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 60px var(--gutter) 14px; background: rgba(251,246,241,.97); animation: fade .25s both; }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; cursor: zoom-out; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; cursor: default; background: var(--bg-3); }
.lb-stage video { width: min(100%, 1280px); background: #000; }
.lb-stage .lb-svg { background: var(--paper); padding: 6vmin; }
.lb-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; max-width: 1280px; width: 100%; margin: 12px auto 0; }
.lb-cap { font-size: 14px; line-height: 1.45; color: var(--fg-2); max-width: 90ch; }
.lb-cap .credit { margin-left: 8px; }
.lb-n { font: 600 11px var(--sans); letter-spacing: .12em; color: var(--fg-3); }
.lb-x { position: absolute; top: 10px; right: var(--gutter); background: var(--bg); }
.lb-prev, .lb-next { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(251,246,241,.9); font: 400 26px/1 var(--serif); color: var(--fg); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-prev:hover, .lb-next:hover { border-color: var(--fg); }
.lightbox[data-single] .lb-prev, .lightbox[data-single] .lb-next, .lightbox[data-single] .lb-n { display: none; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 10px; margin-top: 0; width: 42px; height: 42px; } .lb-bar { padding: 0 52px; } }

/* ── films ─────────────────────────────────────────────────────────────────────────────────── */
.film { margin: 0; }
.film-frame { position: relative; background: #000; border-radius: 4px; overflow: hidden; }
.film video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.film-v video { aspect-ratio: 9 / 16; }
.film figcaption { display: grid; gap: 4px; margin-top: 12px; }
.film-series { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.film strong { font: 500 20px/1.2 var(--serif); }
.film-desc { color: var(--fg-2); font-size: 15px; max-width: 60ch; }
.film-grid { display: grid; grid-template-columns: 1fr; gap: 40px 24px; }
@media (min-width: 760px) { .film-grid { grid-template-columns: 1fr 1fr; } .film-lead { grid-column: 1 / -1; } .film-lead strong { font-size: 28px; } }
@media (min-width: 1100px) { .film-grid { grid-template-columns: repeat(3, 1fr); } .film-lead { grid-column: span 2; grid-row: span 2; } }
.film-grid-v { grid-template-columns: repeat(2, minmax(0, 280px)); }
.film-grid-v + .film-grid-v, .film-grid + .film-grid-v { margin-top: 48px; }
@media (min-width: 1100px) { .film-grid-v { grid-template-columns: repeat(4, minmax(0, 280px)); } }

/* ── CSS book (fallback & thumbnails) ─────────────────────────────────────────────────────── */

/* ── library ───────────────────────────────────────────────────────────────────────────────── */

/* book page */

/* ── writing & press ───────────────────────────────────────────────────────────────────────── */
.ledger { border-top: 1px solid var(--line); }
.ledger li > a, .ledger li > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.lg-status { font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--coral); }
.lg-title { grid-column: 1; font: 500 22px/1.15 var(--serif); font-size: clamp(20px, 1.9vw, 27px); }
.lg-desc { grid-column: 1; color: var(--fg-2); font-size: 15px; max-width: 70ch; }
.ledger li > * > span[aria-hidden] { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--fg-3); }
@media (min-width: 900px) { .ledger li > a, .ledger li > div { grid-template-columns: 12em 1fr 1.2fr auto; align-items: baseline; } .lg-title { grid-column: 2; } .lg-desc { grid-column: 3; } .ledger li > * > span[aria-hidden] { grid-column: 4; grid-row: 1; } }
.ledger a:hover .lg-title { font-style: italic; color: var(--signal); }
.outlets { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 16px; }
.outlets li { font: italic 500 22px/1.3 var(--serif); }
.outlets li:not(:last-child)::after { content: "·"; margin-left: 28px; color: var(--fg-3); font-style: normal; }
.clips { border-top: 1px solid var(--line); }
.clip > a, .clip > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.clip-date, .clip-outlet { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.clip-outlet { color: var(--fg-2); }
.clip-title { font: 500 23px/1.2 var(--serif); font-size: clamp(20px, 2vw, 28px); max-width: 36ch; }
.clip-title:lang(ja) { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", var(--serif); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.35; }
.clip-en, .clip-sum { color: var(--fg-2); font-size: 15px; max-width: 70ch; }
.clip-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.clip-tags span { font: 10.5px var(--mono); padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--fg-2); }
.clip > * > * { grid-column: 1; }
.clip-go { grid-column: 2 !important; grid-row: 1 / span 6; align-self: center; font-size: 28px; color: var(--fg-3); transition: transform .4s var(--ease), color .3s; }
.clip a:hover .clip-title { font-style: italic; }
.clip a:hover .clip-go { color: var(--signal); transform: translate(4px, -4px); }
.clip-next > div { border-bottom-style: dashed; }
.clip-next .clip-title { color: var(--fg-3); font-style: italic; }
.press-kit .prose { margin-top: 18px; }

/* ── about ─────────────────────────────────────────────────────────────────────────────────── */
.about-hd { padding-top: calc(var(--hd) + 72px); padding-top: calc(var(--hd) + clamp(48px, 9vw, 140px)); }

.about-h { max-width: 16ch; }
.about-grid { display: grid; gap: 48px; margin-top: 64px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.6fr 1fr; gap: 96px; } }
.role-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.role-cloud li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; }
.tags-big { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 18px; }
.tags-big li { font: 500 22px/1.3 var(--serif); }
.tags-big li:nth-child(even) { font-style: italic; color: var(--fg-2); }

/* ── contact ───────────────────────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 56px; margin-top: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 96px; } }
.form { display: grid; gap: 22px; }
.field label { display: block; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; font: 500 20px/1.35 var(--serif); border-radius: 0; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 8px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { background: var(--bg-2); color: var(--fg); }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--signal); }
.field :focus-visible { outline: none; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.5em; color: var(--fg-2); font-size: 15px; }
.form-status.ok { color: var(--signal); }

/* ── 404 ───────────────────────────────────────────────────────────────────────────────────── */
.nf { min-height: 80vh; padding-top: calc(var(--hd) + 96px); }
.nf .label { margin-bottom: 22px; }

/* ── footer ────────────────────────────────────────────────────────────────────────────────── */
.ft { margin-top: 140px; border-top: 1px solid var(--line); padding: 56px var(--gutter) 28px; }
.ft-top { max-width: 1440px; margin: 0 auto; }
.ft-big { font: 500 34px/1.1 var(--serif); font-size: clamp(28px, 3.2vw, 44px); }
.ft-big em { color: var(--coral); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ft-line { margin-top: 18px; font-size: 16px; color: var(--fg-2); }
.ft-line span { color: var(--fg-3); }
.ft-cols { max-width: 1440px; margin: 56px auto 0; display: grid; gap: 40px; }
@media (min-width: 900px) { .ft-cols { grid-template-columns: 2fr 1fr 1fr; } .ft-vols { columns: 2; column-gap: 32px; } }
.ft-cols .label { margin-bottom: 12px; }
.ft-cols li { margin: 5px 0; }
.ft-cols a { text-decoration: none; color: var(--fg-2); font-size: 15px; }
.ft-cols a:hover { color: var(--signal); }
.ft-vols .num { display: inline-block; min-width: 3.2em; font: 11px var(--mono); color: var(--fg-3); }
.ft-gap { margin-top: 28px; }
.ft-small { color: var(--fg-3); font-size: 13.5px; max-width: 36ch; }
.ft-base { max-width: 1440px; margin: 56px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 11px var(--mono); color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; }
.ft-base a { text-decoration: none; }

/* ── motion ────────────────────────────────────────────────────────────────────────────────── */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,61,139,.55); } 50% { box-shadow: 0 0 0 7px rgba(255,61,139,0); } }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(28px); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: rotateY(28deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(18deg) rotateX(2deg) translateY(-10px); } }
.js:not(.rm) .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js:not(.rm) .rv.in { opacity: 1; transform: none; }

 
 
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s ease both vt-out; }
::view-transition-new(root) { animation: .45s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
   .marquee-in { animation: none !important; }
  .marquee-in { flex-wrap: wrap; width: auto; padding: 0 var(--gutter); }
  
  
  .caret { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
@media print { .hd, .contents, .ft, .marquee{ display: none !important; } body { background: #fff; color: #000; } body::after { display: none; } }

/* ══ light personal site: home plates, books, portfolios, CV ═════════════════════════════════ */
body { background: var(--bg); }
.hd { background: rgba(251,246,241,.94); }
main::before { background: radial-gradient(900px 520px at 88% -8%, rgba(255,61,139,.12), transparent 70%), radial-gradient(800px 600px at -10% 10%, rgba(255,176,132,.16), transparent 70%), radial-gradient(900px 700px at 60% 70%, rgba(123,77,255,.07), transparent 70%); }
body[data-page="home"] main::before { display: none; }

/* portfolios grid */
.pf-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 640px) { .pf-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pf-grid { grid-template-columns: repeat(3, 1fr); } }
.pf-card { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s; }
.pf-card:hover { transform: translateY(-4px); color: var(--fg); box-shadow: 0 2px 4px rgba(60,20,70,.06), 0 30px 60px -12px rgba(60,20,70,.25); }
.pf-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); position: relative; }
.pf-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pf-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.pf-title { font: 500 22px/1.15 var(--serif); }
.pf-kicker { color: var(--fg-2); font-size: 15px; }
.pf-n { margin-top: 6px; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.card-vols span { border-color: var(--line-2); color: var(--fg-2); }
.chips a .chip-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.work-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.empty-note { color: var(--fg-2); font: italic 500 19px/1.5 var(--serif); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-note { margin-top: 14px; color: var(--fg-3); font-size: 13px; }

/* ── home: a sticky stage of rendered Object Plates behind six short steps ───────────────────── */
.plate { display: block; }
.plate img { display: block; width: 100%; height: auto; }
.intro { position: relative; }
.intro-stage { position: sticky; top: var(--hd); height: calc(100vh - var(--hd)); height: calc(100svh - var(--hd)); overflow: hidden; pointer-events: none; }
.intro-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 46% at 68% 52%, rgba(255,176,132,.20), transparent 70%), radial-gradient(30% 36% at 74% 60%, rgba(123,77,255,.07), transparent 70%); }
.intro-plate { position: absolute; top: 50%; left: 68%; width: min(84vh, 56vw); aspect-ratio: 1 / 1; transform: translate(-50%, -50%); }
.intro-plate .ip { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.intro-plate .ip.on { opacity: 1; transform: none; }
.pins { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease) .25s, visibility 0s .9s; }
.pins.on { opacity: 1; visibility: visible; transition: opacity .6s var(--ease) .35s, visibility 0s; pointer-events: auto; }
.pin { position: absolute; width: 0; height: 0; text-decoration: none; color: var(--fg); }
.pin i { position: absolute; left: -3.5px; top: -3.5px; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 3px rgba(251,246,241,.85); }
.pin i::after { content: ""; position: absolute; left: 3px; bottom: 7px; width: 1px; height: var(--lead, 38px); background: var(--fg-3); }
.pin span { position: absolute; left: 0; bottom: calc(var(--lead, 38px) + 10px); transform: translateX(-50%); white-space: nowrap; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .2s, color .2s; }
.pin:hover span { background: var(--grad) border-box; color: #1a0d20; border-color: transparent; }
.intro-dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.intro-dots li { width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); transition: background .4s, transform .4s; }
.intro-dots li.on { background: var(--fg); transform: scale(1.4); }
.intro-steps { position: relative; margin-top: calc(-100vh + var(--hd)); margin-top: calc(-100svh + var(--hd)); }
.step { min-height: calc(100vh - var(--hd)); min-height: calc(100svh - var(--hd)); display: flex; align-items: center; }
.step-in { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.step-in > * { max-width: 27rem; }
.step-k { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.step-n { font-variant-numeric: tabular-nums; color: var(--fg); }
.step-n::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--grad); }
.st-name { font-family: var(--serif); font-weight: 500; font-size: 44px; font-size: clamp(40px, 4.4vw, 62px); line-height: 1.03; letter-spacing: -.01em; }
.st-name em, .st-h em { font-style: italic; color: var(--coral); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .05em; }
.st-h { font-family: var(--serif); font-weight: 500; font-size: 32px; font-size: clamp(27px, 2.8vw, 40px); line-height: 1.1; }
.st-line { margin-top: 16px; color: var(--fg-2); font-size: 16.5px; line-height: 1.6; }
.st-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.step-hud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.step-hud a { display: inline-block; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.js .step-hud { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
@media (max-width: 899px) {
  .intro-stage::before { background: radial-gradient(60% 34% at 50% 30%, rgba(255,176,132,.22), transparent 70%); }
  .intro-plate { left: 50%; top: 4px; width: min(100vw, 50svh); transform: translateX(-50%); }
  .intro-dots { right: 8px; top: 26%; }
  .pins { display: none; }
  .step { align-items: flex-end; padding-bottom: 22px; }
  .step-in > * { max-width: none; }
  .step-in { background: linear-gradient(180deg, rgba(251,246,241,0), rgba(251,246,241,.94) 26px, rgba(251,246,241,.98)); padding-top: 30px; padding-bottom: 6px; }
  .st-name { font-size: 36px; }
  .st-h { font-size: 25px; }
  .st-line { font-size: 15.5px; margin-top: 10px; }
  .st-cta { margin-top: 16px; }
  .js .step-hud { position: static !important; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; margin-top: 14px; }
}
html.rm .intro-plate .ip, html.rm .pins { transition: none; transform: none; }

/* ── books ──────────────────────────────────────────────────────────────────────────────────── */
.bk-col + .bk-col { border-top: 1px solid var(--line); }
.bk-hd { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .bk-hd { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.bk-by { margin-top: 12px; font-size: 17px; color: var(--fg-2); }
.bk-by strong { color: var(--fg); font-weight: 600; }
.bk-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0 22px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .bk-totals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bk-totals div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.bk-totals dt { font: 600 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.bk-totals dd { margin-top: 6px; font: 500 26px/1 var(--serif); font-size: clamp(22px, 2.2vw, 30px); overflow-wrap: anywhere; }
.bk-plate { position: relative; }
.bk-plate::before { content: ""; position: absolute; inset: 6% 4%; background: radial-gradient(50% 50% at 50% 55%, rgba(255,176,132,.22), transparent 72%); }
.bk-plate .plate { position: relative; }
.bk-sub { margin-top: 48px; }
.bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; margin-top: 18px; }
@media (min-width: 640px) { .bk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bk-link { display: flex; flex-direction: column; text-decoration: none; }
.bk-img { display: block; border-radius: 12px; background: var(--bg-2); background: radial-gradient(60% 50% at 50% 55%, color-mix(in srgb, var(--lv, #ffb084) 16%, transparent), transparent 75%), var(--bg-2); transition: transform .5s var(--ease); }
.bk-link:hover .bk-img { transform: translateY(-4px); }
.bk-t { margin-top: 12px; font: 500 18px/1.2 var(--serif); }
.bk-s, .bk-f { margin-top: 4px; font-size: 13px; color: var(--fg-3); }
.bk-go { margin-top: 8px; font: 600 10.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.bk-link:hover .bk-go { color: var(--signal); }
.bk-more { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--fg-2); }
.plate-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (min-width: 700px) { .plate-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.plate-book { display: block; text-decoration: none; }
.plate-book .plate { border-radius: 10px; background: var(--bg-2); transition: transform .5s var(--ease); }
.plate-book:hover .plate { transform: translateY(-4px); }
.pb-t { display: block; margin-top: 8px; font: 500 15px/1.25 var(--serif); }
.blk-books-cta { margin-top: 28px; }

/* ── the portfolio system: page heads with their plate, item cards, portfolio heroes ─────────────────────────── */
.pg-hd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 48px; align-items: center; }
.pg-hd .pg-text { min-width: 0; }
.pg-plate { position: relative; justify-self: center; width: 100%; max-width: 560px; }
.pg-plate::before { content: ""; position: absolute; inset: 8% 6%; background: radial-gradient(50% 50% at 50% 55%, rgba(255,176,132,.24), transparent 72%), radial-gradient(40% 40% at 62% 62%, rgba(123,77,255,.08), transparent 70%); pointer-events: none; }
.pg-plate .plate { position: relative; }
@media (max-width: 959px) { .pg-hd .pg-plate { max-width: 420px; margin-top: 8px; } }
@media (min-width: 960px) { .pg-hd.has-plate { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .pg-hd .pg-plate { max-width: 640px; margin: -24px 0 -40px; } }
.nf.pg-hd { min-height: 0; padding-bottom: 40px; }
.sec-tight { padding-top: 40px; padding-top: clamp(32px, 4vw, 64px); }
.lbl-gap { margin-top: 24px; }
.small { font-size: 13.5px; line-height: 1.55; color: var(--fg-3); max-width: 90ch; }
.small a { color: var(--fg-2); }
.occ-note { padding-top: 56px; }

.it-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
@media (min-width: 640px) { .it-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .it-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.filters + .it-grid { margin-top: 28px; }
.js .it-grid:not(.all) > [data-rest] { display: none; }
.it { min-width: 0; }
.it-link { display: flex; flex-direction: column; text-decoration: none; }
.it-link:hover { color: var(--fg); }
.it-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--bg-3); }
.it-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s var(--ease); }
.it-media .plate { height: 100%; } .it-media .plate img { object-fit: contain; }
.it-link:hover .it-media img { transform: scale(1.04); }
.it-svg .it-media { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.it-svg .it-media img { object-fit: contain; padding: 14%; }
.it-noimg .it-media { display: flex; align-items: flex-end; padding: 14px; background: radial-gradient(120% 120% at 100% 0%, rgba(255,111,97,.22), transparent 60%), var(--bg-3); }
.it-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 12px; font: 600 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.it-meta span:first-child { color: var(--coral); }
.it-t { margin-top: 6px; font: 500 17px/1.25 var(--serif); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.it-link:hover .it-t { font-style: italic; color: var(--signal); }
.it-f { margin-top: 4px; font-size: 13px; color: var(--fg-3); }
.it-go { margin-top: 6px; font: 600 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.it-in, .film-in, .lg-in { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--fg-3); }
.it-in a, .film-in a, .lg-in a { color: var(--fg-2); text-decoration-color: var(--line-2); }
.lg-in { padding: 0 0 14px; margin-top: -8px; }
.it-films { margin-top: 40px; }

.pf-search { margin-top: 28px; max-width: 34rem; }
.pf-search input { width: 100%; height: 50px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); font-size: 16px; -webkit-appearance: none; appearance: none; }
.pf-search input:focus { border-color: var(--magenta); outline: none; box-shadow: 0 0 0 3px rgba(255,61,139,.15); }
.pf-grid { counter-reset: none; }
.pf-grid .pf-img { aspect-ratio: 4 / 3; background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--c) 18%, transparent), transparent 75%), var(--bg-2); }
.pf-grid .pf-img .plate, .pf-grid .pf-img .plate img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1100px) { .pf-grid { grid-template-columns: repeat(4, 1fr); } }
[data-family][data-empty] { display: none; }

.pf-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 48px; align-items: center; }
@media (min-width: 960px) { .pf-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pf-hero .pg-plate { margin: -40px 0 -56px; max-width: 600px; } }
.pf-hero .h-hero { max-width: 14ch; }
.occ-desc { font: italic 400 19px/1.5 var(--serif); color: var(--fg); }
.occ-desc .label { display: block; margin-bottom: 8px; font-style: normal; }
.vol-hero-grid .prose p + p { margin-top: 14px; }
.vol-facts dd a { text-decoration-color: var(--line-2); }

.work-hd.has-plate { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; align-items: center; }
.work-hd .work-meta { grid-column: 1 / -1; }
@media (min-width: 960px) { .work-hd.has-plate { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .work-hd .pg-plate { margin: -32px 0 -24px; } }
@media (max-width: 959px) { .work-hd .pg-plate { max-width: 420px; margin-top: 12px; } }
.it-rail { grid-auto-flow: row; }
.cv-more { margin-top: 14px; }
.cv-for { color: var(--fg); font-weight: 500; }

/* ── CV: designed for the site, in the CV format (name and contact header, headed sections, entries with
      organisation, role, place/date and bullets). Read on /cv/; prints (and becomes the PDF) as one or two pages. ── */
.cv { padding-bottom: 88px; }
.cv-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 40px; align-items: end; padding-top: calc(var(--hd) + 56px); padding-top: calc(var(--hd) + clamp(36px, 6vw, 96px)); }
.cv-id .label { margin-bottom: 20px; }
.cv-name { font-family: var(--serif); font-weight: 500; font-size: 48px; font-size: clamp(44px, 6.4vw, 96px); line-height: 1; letter-spacing: -.015em; }
.cv-name em { color: var(--coral); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cv-contact { margin-top: 18px; font: 500 15px/1.5 var(--sans); letter-spacing: .02em; color: var(--fg-2); }
.cv-contact a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.cv-contact a:hover { border-color: currentColor; }
.cv-bar { color: var(--fg-3); }
.cv-headline { max-width: 54ch; margin-top: 16px; font-size: 17px; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.5; color: var(--fg-2); }
.cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.cv-status { font-size: 13.5px; color: var(--fg-3); }
.cv-hero-plate { justify-self: center; width: 56%; max-width: 280px; margin: 0 0 -16px; }
.cv-hero-plate .plate { display: block; }
.cv-rule { grid-column: 1 / -1; height: 3px; margin-top: 28px; border-radius: 3px; background: var(--grad); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media (min-width: 900px) {
  .cv-hero { grid-template-columns: minmax(0, 1fr) minmax(260px, 34%); }
  .cv-hero-plate { width: 100%; max-width: 440px; margin: 0 0 -28px; justify-self: end; }
}

.cv-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 56px; margin-top: 36px; }
@media (min-width: 1000px) { .cv-body { grid-template-columns: 200px minmax(0, 1fr); margin-top: 56px; } }
.cv-index { display: none; }
@media (min-width: 1000px) {
  .cv-index { display: block; }
  .cv-index ol { position: sticky; top: calc(var(--hd) + 32px); display: grid; gap: 2px; }
  .cv-index a { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; font: 500 14.5px/1.3 var(--sans); color: var(--fg-2); text-decoration: none; }
  .cv-index a span { font: 600 10.5px var(--sans); letter-spacing: .12em; color: var(--fg-3); }
  .cv-index a:hover, .cv-index a:hover span { color: var(--signal); }
}
.cv-main { max-width: 1000px; min-width: 0; }

.cv-sec { scroll-margin-top: calc(var(--hd) + 20px); }
.cv-sec + .cv-sec { margin-top: 56px; margin-top: clamp(40px, 5vw, 64px); }
.cv-sh { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.cv-sn { font: 600 11px var(--sans); letter-spacing: .14em; color: var(--coral); }
.cv-sh h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }

.cv-prose { max-width: 64ch; display: grid; gap: 14px; font-size: 18px; font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.6; color: var(--fg-2); }

.cv-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; }
.cv-row-m { min-width: 0; flex: 1 1 auto; }
.cv-row-s { flex: 0 0 auto; font: 500 13.5px/1.4 var(--sans); color: var(--fg-3); white-space: nowrap; }
.cv-row-s a { text-decoration: none; }
.cv-row-s a:hover { color: var(--signal); }

.cv-e { position: relative; padding-left: 20px; }
.cv-e::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--c, var(--coral)); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cv-e + .cv-e { margin-top: 36px; }
.cv-org { font-family: var(--serif); font-weight: 600; font-size: 24px; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.2; }
.cv-org a { text-decoration: none; }
.cv-role { margin-top: 2px; font: italic 500 16px/1.4 var(--sans); color: var(--fg); }
.cv-b { margin-top: 12px; display: grid; gap: 8px; }
.cv-b li { position: relative; padding-left: 22px; color: var(--fg-2); line-height: 1.5; }
.cv-b li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--c, var(--coral)); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cv-b a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease), color .2s; }
.cv-b a:hover { color: var(--fg); background-size: 100% 1px; }
.cv-go { color: var(--c, var(--coral)); }

.cv-book { min-height: 0; }
.cv-book-plate { float: right; width: 120px; margin: -12px -8px 8px 16px; }
@media (min-width: 640px) { .cv-book-plate { width: 180px; margin: -24px -12px 8px 24px; } }
.cv-totals { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; }
.cv-totals div { display: flex; flex-direction: column-reverse; }
.cv-totals dd { font: 500 26px/1.1 var(--serif); }
.cv-totals dt { font: 600 10.5px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.cv-book .cv-b { clear: none; }
.cv-book::after { content: ""; display: block; clear: both; }

.cv-groups { display: grid; gap: 28px; }
.cv-grp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 32px; padding-top: 2px; }
@media (min-width: 720px) { .cv-grp { grid-template-columns: 200px minmax(0, 1fr); } .cv-grp + .cv-grp { padding-top: 24px; border-top: 1px solid var(--line); } }
.cv-grp-t { display: flex; align-items: baseline; gap: 10px; font: 600 11.5px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.cv-grp-t::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--c); transform: translateY(-1px); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cv-grp-t a { text-decoration: none; }
.cv-grp-t a:hover { color: var(--signal); }
.cv-list { display: grid; gap: 14px; }
.cv-t { display: inline-block; font: 500 18px/1.3 var(--serif); text-decoration: none; }
.cv-t:hover { color: var(--signal); }
.cv-v { color: var(--fg-2); font-weight: 500; }
.cv-sub { margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--fg-3); }
@media (min-width: 720px) { .cv-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; } }

.cv-disc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 40px; }
@media (min-width: 720px) { .cv-disc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cv-disc a { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.cv-disc i { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--c); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.cv-disc b { font: 500 17px/1.3 var(--serif); }
.cv-disc span { grid-column: 2; font-size: 14px; color: var(--fg-3); }
.cv-disc a:hover b { color: var(--signal); }
.cv-foot { margin-top: 56px; font: 500 12.5px/1.5 var(--sans); color: var(--fg-3); }

@media (max-width: 520px) {
  .cv-e { padding-left: 16px; }
  .cv-row-s { white-space: normal; }
}

/* print: a clean one- or two-page CV in the same design (site/tools/cv-pdf.mjs prints this to the PDF) */
@media print {
  @page { size: Letter; margin: .5in .6in; }
  html, body { background: #fff !important; color: #1b0f22 !important; font-size: 9.2pt; }
  .hd, .contents, .ft, .noprint, .skip, main::before, body::after, .cv-x, .cv-go { display: none !important; }
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wrap { max-width: none; padding: 0 !important; }
  a { color: inherit !important; text-decoration: none !important; background-image: none !important; }
  .cv { padding: 0; }
  .cv-hero { display: block; padding: 0; }
  .cv-id .label { display: none; }
  .cv-name { font-size: 27pt; }
  .cv-name em { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cv-contact { margin-top: 4pt; font-size: 9.2pt; }
  .cv-contact a { border: 0; }
  .cv-headline { margin-top: 3pt; max-width: none; font-size: 9.2pt; }
  .cv-rule { height: 2pt; margin-top: 9pt; }
  .cv-body { display: block; margin: 0; }
  .cv-main { max-width: none; }
  .cv-sec + .cv-sec, .cv-sec:first-child { margin-top: 9pt; }
  .cv-sh { gap: 7pt; padding-bottom: 3pt; margin-bottom: 6pt; break-after: avoid; }
  .cv-sn { font-size: 7.5pt; }
  .cv-sh h2 { font-size: 13.5pt; }
  .cv-prose { font-size: 9.2pt; gap: 3pt; line-height: 1.45; max-width: none; }
  .cv-e { padding-left: 9pt; }
  .cv-e::before { width: 2pt; top: 2pt; bottom: 2pt; }
  .cv-e + .cv-e { margin-top: 8pt; }
  .cv-org { font-size: 11.5pt; }
  .cv-role { font-size: 9.2pt; }
  .cv-row-s { font-size: 8.6pt; }
  .cv-b { margin-top: 3pt; gap: 1.5pt; }
  .cv-b li { padding-left: 11pt; line-height: 1.38; }
  .cv-b li::before { width: 4pt; height: 4pt; top: .5em; }
  .cv-totals { gap: 2pt 16pt; margin-top: 3pt; }
  .cv-totals dd { font-size: 12pt; }
  .cv-totals dt { font-size: 6.8pt; }
  .cv-groups { gap: 5pt; }
  .cv-grp { grid-template-columns: 1.3in minmax(0, 1fr); gap: 0 10pt; padding-top: 0 !important; border: 0 !important; }
  .cv-grp-t { font-size: 7.4pt; gap: 5pt; }
  .cv-grp-t::before { width: 6pt; height: 6pt; }
  .cv-list { gap: 3pt; }
  .cv-t { font-size: 10pt; }
  .cv-sub { margin-top: 0; font-size: 8.6pt; line-height: 1.35; }
  .cv-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4pt 18pt; }
  .cv-disc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14pt; }
  .cv-disc a { padding: 1.5pt 0; grid-template-columns: 7pt minmax(0, 1fr); gap: 0 6pt; border: 0; }
  .cv-disc i { width: 6pt; height: 6pt; margin-top: 3pt; }
  .cv-disc b { font-size: 9.8pt; }
  .cv-disc span { font-size: 8.4pt; }
  .cv-foot { margin-top: 8pt; font-size: 7.5pt; }
  .cv-row, .cv-list li, .cv-grp, .cv-disc li, .cv-b li, .cv-totals { break-inside: avoid; }
  .cv-row:has(.cv-org), .cv-role { break-after: avoid; }
}
.page-hd + .bk-col { padding-top: 12px; }

.sec-hd-row::before { flex-basis: 100%; margin-bottom: 0; }
@media (max-width: 640px) { .pf-hero .hero-cta .btn { white-space: normal; height: auto; min-height: 46px; padding: 12px 20px; line-height: 1.3; } }

/* ══ the occupation portfolios: tasks and ratings, pieces told in full, evidence, tailored CV ═════════════════ */
.pf-code { margin-top: 14px; font-size: 15px; color: var(--fg-2); }
.pf-code span { display: inline-block; margin-right: 8px; padding: 3px 9px; border: 1px solid var(--c); border-radius: 999px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .1em; color: var(--fg); }
.credit { display: inline-flex; gap: .25em; align-items: baseline; font-size: 12.5px; color: var(--fg-3); text-decoration-color: var(--line-2); white-space: nowrap; }
.credit:hover { color: var(--signal); }
.occ-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .occ-grid { grid-template-columns: 1.35fr 1fr; gap: 72px; } }
.occ-h { font: 600 11.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.occ-side .occ-h + .ratings + .occ-h { margin-top: 32px; }
.tasks { counter-reset: t; border-top: 1px solid var(--line); }
.tasks li { counter-increment: t; position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.tasks li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 600 11px var(--sans); letter-spacing: .08em; color: var(--coral); }
.task-t { display: block; font: 500 18px/1.35 var(--serif); font-size: clamp(16.5px, 1.4vw, 19px); }
.task-n { display: block; margin-top: 4px; font-size: 13px; color: var(--fg-3); }
.tasks-o li::before { color: var(--fg-3); }
.tasks-o .task-t { font: 400 15.5px/1.45 var(--sans); color: var(--fg-2); }
.tasks-more { margin-top: 22px; }
.tasks-more summary { cursor: pointer; font-size: 14.5px; color: var(--fg-2); padding: 8px 0; }
.tasks-more summary:hover { color: var(--signal); }
.ratings { border-top: 1px solid var(--line); }
.ratings li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 34px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ratings li em { color: var(--coral); font-size: 12.5px; font-style: normal; }
.ratings b { font: 600 12px var(--sans); color: var(--fg-3); text-align: right; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--line-2); }
.ratings .mine .bar i { background: var(--grad); }
.occ-side .small { margin-top: 16px; }
.pf-plates { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 760px) { .pf-plates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-plates figure { border-radius: 8px; background: radial-gradient(60% 55% at 50% 55%, rgba(255,176,132,.18), transparent 75%), var(--bg-2); }

.pieces > .sec-hd { margin-bottom: 0; }
.piece { padding-top: 64px; padding-top: clamp(56px, 7vw, 112px); }
.piece + .piece { margin-top: 64px; margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.piece-hd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 48px; align-items: center; }
@media (min-width: 960px) { .piece-hd.has-plate { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .piece-hd .pg-plate { margin: -24px 0 -16px; max-width: 560px; } }
@media (max-width: 959px) { .piece-hd .pg-plate { max-width: 400px; margin-top: 12px; } }
.piece-hd .label { margin-bottom: 18px; }
.piece-n { display: inline-block; margin-right: 8px; color: var(--c); }
.piece-t { max-width: 18ch; }
.piece-hd .work-sum { margin-top: 20px; }
.piece-info { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 960px) { .piece-info { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.piece-info .work-meta { margin-top: 0; grid-template-columns: 1fr 1fr; }
.piece-info .work-meta div:first-child { grid-column: 1 / -1; }
.piece-info .work-meta dd .credit + .credit { margin-left: 10px; }
.piece-lens { padding: 18px 20px 20px; border-radius: 8px; background: color-mix(in srgb, var(--c) 9%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.lens-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lens-skills span { padding: 3px 10px; border-radius: 999px; background: var(--card); font-size: 13px; }
.lens-tasks { margin-top: 12px; }
.lens-tasks li { position: relative; padding: 5px 0 5px 18px; font: 500 15.5px/1.4 var(--serif); }
.lens-tasks li::before { content: "✓"; position: absolute; left: 0; color: var(--c); font: 600 12px/1.9 var(--sans); }
.piece-lens .small { margin-top: 8px; font-size: 12px; }
.piece .work-hero { margin-top: 40px; }
.work-hero-media { margin: 0; }
.piece .facts { margin-top: 40px; }
.piece-also { margin-top: 48px; font-size: 14px; color: var(--fg-3); }
.piece-also a { color: var(--fg-2); }
.blk-text h4.h-l { font-size: 24px; font-size: clamp(21px, 2vw, 28px); }
.js .gal:not(.all) > [data-rest] { display: none; }
.entry-compact .card-sum { -webkit-line-clamp: 2; }

.it-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(251,246,241,.92); box-shadow: 0 8px 24px rgba(36,19,46,.2); }
.it-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--fg); }
.it-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(251,246,241,.92); font: 600 11px/1.5 var(--sans); }
.it-count::before { content: "1 / "; color: var(--fg-3); }
.it-link[data-zoom] { cursor: zoom-in; }

.bk-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
@media (min-width: 760px) { .bk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bk-row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bk-row-page { margin-top: 18px; }
.bk-show { min-width: 0; }
.bk-plate-z { display: block; border-radius: 12px; background: radial-gradient(60% 50% at 50% 55%, color-mix(in srgb, var(--lv, #ffb084) 16%, transparent), transparent 75%), var(--bg-2); cursor: zoom-in; }
.bk-parts { display: flex; align-items: flex-end; gap: 6px; margin-top: 10px; }
.bk-part { display: block; cursor: zoom-in; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.bk-part img { height: 64px; width: auto; }
.bk-show figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.bk-show figcaption strong { font: 500 17px/1.2 var(--serif); }
.bk-show figcaption span { font-size: 13px; color: var(--fg-3); }

.pf-cv-in { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .pf-cv-in { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.cv-mini { padding: 24px; border-radius: 8px; background: var(--card); box-shadow: var(--shadow); font-size: 15px; }
.cv-mini .cv-e + .cv-e { margin-top: 20px; }
.cv-mini .cv-org { font: 500 20px/1.2 var(--serif); }
.cv-mini .cv-role { font-size: 13.5px; color: var(--fg-3); margin-top: 2px; }
.cv-mini .cv-b { margin-top: 8px; }
.cv-mini .cv-b li { padding: 3px 0 3px 16px; position: relative; font-size: 14.5px; }
.cv-mini .cv-b li::before { content: "—"; position: absolute; left: 0; color: var(--c); }
.cv-mini .cv-b a { text-decoration: none; }
.cv-mini .cv-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.cv-mini .cv-row-s { font-size: 12.5px; }
.pf-cv .hero-cta { margin-top: 18px; flex-wrap: wrap; }
.cv-tasks-h { margin-top: 18px; }
.lg-credit { align-self: center; }
.ft-role { display: block; font-size: 12.5px; color: var(--fg-3); }
.it-dark .it-media { background: #24132e; }
.lb-stage .lb-svg-dark { background: #24132e; }

/* ══ occupation pages as art-portfolio galleries: a short header, the collage, the viewer, "About this occupation" ═══ */
.occ-hd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 40px; align-items: center; padding-top: calc(var(--hd) + 40px); padding-top: calc(var(--hd) + clamp(28px, 4vw, 56px)); }
@media (min-width: 960px) { .occ-hd { grid-template-columns: minmax(0, 1fr) 300px; } }
.occ-hd .label { margin-bottom: 14px; }
.occ-t { font: 500 44px/1.04 var(--serif); font-size: clamp(34px, 4vw, 56px); letter-spacing: -.01em; }
.occ-code { margin-top: 10px; font: 600 11px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.occ-lede { margin-top: 14px; max-width: 74ch; font-size: 16px; line-height: 1.55; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.occ-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.btn-s { min-height: 38px; padding: 0 15px; font-size: 14px; }
.occ-plate { display: none; }
@media (min-width: 960px) { .occ-plate { display: block; margin: -16px 0 -24px; } }
.collage-sec { margin-top: 24px; }
.occ-filters { margin: 0 0 18px; }
.occ-filters button { padding: 6px 12px; font-size: 13px; }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 759px) { .collage-sec.wrap-wide { padding-left: 10px; padding-right: 10px; } .collage-sec .occ-filters { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; } }
@media (min-width: 760px) { .collage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1100px) { .collage { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1800px) { .collage { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
.collage.packed { grid-auto-rows: 4px; row-gap: 0; }
.tile { position: relative; min-width: 0; margin: 0; }
.tile[data-span="2"] { grid-column: span 2; }
.collage:not(.packed) .tile .tile-a { aspect-ratio: var(--ar); }
.tile-a { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 6px; background: var(--bg-3); cursor: zoom-in; text-decoration: none; }
.collage.packed .tile { height: 100%; }
.tile-a img, .tile-a .plate, .tile-a picture { width: 100%; height: 100%; }
.tile-a img { object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.tile-a:hover img { transform: scale(1.035); }
.tile-svg .tile-a { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.tile-svg .tile-a img { object-fit: contain; padding: 12%; }
.tile-dark .tile-a { background: #24132e; }
.tile .plate img { object-fit: contain; }
.tile-piece .tile-a::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(36,19,46,.1); pointer-events: none; }
.tile-type { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; font: italic 500 20px/1.1 var(--serif); color: var(--fg-2); background: radial-gradient(120% 120% at 100% 0%, rgba(255,111,97,.2), transparent 60%), var(--bg-3); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 28px 12px 10px; background: linear-gradient(to top, rgba(28,14,36,.78), rgba(28,14,36,0)); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.tile-a:hover .tile-cap, .tile-a:focus-visible .tile-cap, .tile-piece .tile-cap { opacity: 1; transform: none; }
.tile-k { font: 600 9.5px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.tile-t { font: 500 15px/1.2 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-piece[data-span="2"] .tile-t { font-size: 18px; }
.tile[data-span="1"] .tile-cap { padding: 22px 9px 8px; }
@media (hover: none) { .tile-cap { opacity: 0; } .tile-piece .tile-cap { opacity: 1; } }
.tile-n { position: absolute; right: 8px; top: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(251,246,241,.92); font: 600 10.5px/1.6 var(--sans); color: var(--fg); }
.tile-n::before { content: "▦ "; color: var(--fg-3); }
.tile .it-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.tile .it-play::after { left: 17px; top: 13px; border-width: 9px 0 9px 14px; }
.tile-alias { position: absolute; top: 0; }

.viewer { position: fixed; inset: 0; z-index: 130; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 58vh) minmax(0, 1fr); background: rgba(251,246,241,.985); animation: fade .2s both; }
@media (min-width: 960px) { .viewer { grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: minmax(0, 1fr); } }
.vw-main { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; padding: 56px 56px 10px; }
@media (max-width: 959px) { .vw-main { padding: 52px 12px 6px; } }
.vw-stage { display: flex; align-items: center; justify-content: center; min-height: 0; cursor: zoom-out; }
.vw-stage img, .vw-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; cursor: default; }
.vw-stage video { width: min(100%, 1280px); background: #000; }
.vw-stage .lb-svg { background: var(--paper); padding: 5vmin; }
.vw-cap { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--fg-2); text-align: center; }
.vw-cap .credit { margin-left: 6px; } .vw-n { margin-left: 8px; font: 600 11px var(--sans); color: var(--fg-3); }
.vw-panel { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 24px 22px 40px; background: var(--card); border-left: 1px solid var(--line); }
@media (min-width: 960px) { .vw-panel { padding: 64px 28px 40px; } }
@media (max-width: 959px) { .vw-panel { border-left: 0; border-top: 1px solid var(--line); } }
.vw-x { position: absolute; top: 10px; right: 12px; z-index: 2; min-height: 38px; background: var(--bg); }
.vw-prev, .vw-next { position: absolute; top: 40%; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(251,246,241,.92); font: 400 24px/1 var(--serif); color: var(--fg); z-index: 2; }
.vw-prev { left: 8px; } .vw-next { left: calc(100% - 52px); }
@media (min-width: 960px) { .vw-next { left: calc(100% - 420px - 52px); } }
.viewer[data-single] .vw-prev, .viewer[data-single] .vw-next { display: none; }
.v-media { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.v-m { position: relative; width: 62px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg-3); }
.v-m img { width: 100%; height: 100%; object-fit: cover; }
.v-m[aria-current="true"] { outline: 2px solid var(--coral); outline-offset: 1px; }
.v-m.v-film::after { content: "▶"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.v-media:has(> .v-m:only-child) { display: none; }
.v-text .label { margin-bottom: 8px; }
.v-t { font: 500 26px/1.12 var(--serif); }
.v-sub { margin-top: 6px; font: italic 500 17px/1.3 var(--serif); color: var(--coral); }
.v-sum { margin-top: 12px; font: 500 17px/1.4 var(--serif); }
.v-dl { margin-top: 16px; border-top: 1px solid var(--line); }
.v-dl div { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.v-dl dt { font: 600 10px/1.8 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.v-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-size: 13px; color: var(--fg-3); }
.v-facts b { font: 500 18px var(--serif); color: var(--fg); }
.v-lens { margin-top: 18px; padding: 14px 16px; border-radius: 8px; background: var(--bg-2); }
.v-text .prose { margin-top: 12px; font-size: 15px; }
.v-h { margin-top: 20px; font: 500 18px/1.2 var(--serif); }
.v-list li { padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.v-also, .v-credit { margin-top: 16px; font-size: 13.5px; color: var(--fg-3); }

.occ-about { margin-top: 56px; margin-top: clamp(40px, 5vw, 72px); }
.about-d { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-d > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.about-d > summary::-webkit-details-marker { display: none; }
.about-d > summary::after { content: "+"; margin-left: auto; font: 400 22px/1 var(--serif); color: var(--fg-3); }
.about-d[open] > summary::after { content: "–"; }
.about-t { font: 500 20px/1.2 var(--serif); } .about-t span { font: 400 14px var(--sans); color: var(--fg-3); }
.about-in { padding: 4px 0 32px; }
.about-in .occ-desc { max-width: 80ch; font-size: 17px; }
.about-p { margin-top: 12px; max-width: 80ch; color: var(--fg-2); }
.about-in .occ-grid { margin-top: 28px; }
.about-facts { margin-top: 24px; border-top: 1px solid var(--line); }
.about-facts div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about-facts dt { font: 600 10px/1.8 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.about-why { margin-top: 24px; }
.occ-rel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.occ-rel .label { margin-right: 6px; }
.occ-rel a { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; text-decoration: none; }
.occ-rel a:hover { border-color: var(--c); color: var(--c); }
.occ-attr { margin-top: 20px; }
@media (max-width: 759px) {
  .occ-filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; }
  .occ-filters::-webkit-scrollbar { display: none; }
  .occ-filters button { flex: none; }
  .js .collage:not(.packed) .tile[data-span="2"]:not(.tile-piece) { grid-column: span 1; }
}
.occ-cv { margin-left: 6px; font-size: 14px; color: var(--fg-3); text-decoration-color: var(--line-2); }
.occ-cv:hover { color: var(--signal); }
.occ-desc { max-width: 80ch; font: italic 400 18px/1.5 var(--serif); color: var(--fg); }
.about-in .ratings li { grid-template-columns: minmax(0, 1fr) 110px; }
.v-wu { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.v-wu .v-sum { margin-top: 6px; }
.tile-top .tile-a img { object-position: top center; }
.tile-book .tb { display: flex; height: 100%; }
.tile-book .tb img { height: 100%; width: auto; object-fit: cover; flex: 0 0 auto; }
.tile-book .tb img + img { flex: 1 1 auto; min-width: 0; }
.tile-book .tb img:first-child { box-shadow: inset -6px 0 10px rgba(0,0,0,.18); filter: brightness(.94); }
.vw-stage .vw-book { display: flex; height: 100%; max-width: 100%; align-items: stretch; justify-content: center; }
.vw-stage .vw-book img { height: 100%; max-height: 100%; width: auto; border-radius: 0; }
.vw-stage .vw-book img:first-child { border-radius: 4px 0 0 4px; filter: brightness(.94); }
.vw-stage .vw-book img + img { border-radius: 0 4px 4px 0; min-width: 0; }
.vw-stage { overflow: auto; }
.tile-svg .tile-a img { padding: clamp(6px, 6%, 18px); }
.tile-svg.tile-wide .tile-a img { padding: 4px 3%; }
.vw-stage.tall { align-items: flex-start; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.vw-stage.tall img { max-height: none; width: min(100%, 760px); }
/* the collage streams in as it is scrolled (site.js): a tile waits on a shimmer until its picture is decoded, and rises in */
.tile.tv { opacity: 0; transform: translateY(14px); }
.tile.tv.tv-in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tile-a img { transition: opacity .35s; }
.collage.packed .tile:not(.is-loaded):not(.tile-text) .tile-a img { opacity: 0; }
.collage.packed .tile.on:not(.is-loaded) .tile-a { background: linear-gradient(100deg, var(--bg-3) 30%, var(--bg-2) 50%, var(--bg-3) 70%) 0 0 / 220% 100%; animation: shim 1.3s linear infinite; }
@keyframes shim { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.rm .collage.packed .tile.on:not(.is-loaded) .tile-a { animation: none; }
