/* Pher Hands. Bone paper, ink letters, a ledger in mono. */
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bone: #f1eee8;
  --paper: #f8f6f2;
  --ink: #141414;
  --stone: #66625b;
  --rule: #d8d3ca;
  --mark: #e8c13a;        /* sparing: the available dot, focus */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 1.125rem/1.6 var(--serif); font-optical-sizing: auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--mark); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.5; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--bone); padding: 8px 12px; z-index: 10; }

h1, h2, h3 { font-weight: 400; line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.25rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
em { font-style: italic; }
.lede { font-size: clamp(1.2rem, 1.9vw, 1.45rem); line-height: 1.45; color: #2b2925; max-width: 34em; margin: 0 0 1em; }
.kicker { color: var(--stone); margin: 0 0 1.2rem; }
.note { color: var(--stone); max-width: 40em; }

/* Header */
.top { border-bottom: 1px solid var(--rule); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; padding-top: 8px; padding-bottom: 8px; }
.mark img { width: 92px; height: auto; }
.top nav ul { list-style: none; display: flex; gap: clamp(14px, 3vw, 36px); margin: 0; padding: 0; font: 500 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.top nav a { text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--ink); }

/* Home */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: var(--gut); padding-top: clamp(32px, 7vw, 96px); }
.hero-text { padding-bottom: clamp(8px, 3vw, 40px); }
.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.hero h1 em { display: inline-block; }
.hero-img { position: relative; display: block; }
.hero-img .tag { position: absolute; left: 0; bottom: -2rem; color: var(--stone); }
.block { padding-top: clamp(64px, 9vw, 120px); }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--ink); margin-bottom: 0; padding-bottom: .5rem; }
.block-head h2 { margin: 0; }
.block-head p { margin: 0; }

.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-list a { display: grid; grid-template-columns: 6rem minmax(0, 1fr) 10rem 8rem 96px; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.rec-list .t { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.01em; }
.rec-list .no, .rec-list .k, .rec-list .y { color: var(--stone); }
.rec-list .thumb { width: 96px; aspect-ratio: 4/3; overflow: hidden; background: var(--rule); }
.rec-list .thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .25s; }
.rec-list a:hover .thumb img { filter: none; }
.rec-list a:hover .t { font-style: italic; }

.show { background: var(--ink); color: var(--bone); margin-top: clamp(64px, 9vw, 120px); padding: clamp(56px, 8vw, 110px) 0; }
.show .kicker { color: #a9a49b; }
.show-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.show-list { list-style: none; padding: 0; margin: 0 0 1.6rem; border-top: 1px solid #3a3835; }
.show-list li { padding: 10px 0; border-bottom: 1px solid #3a3835; font-size: 1.3rem; }
.show figcaption { color: #a9a49b; margin-top: 10px; }
.show img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); padding-bottom: clamp(64px, 9vw, 120px); }
.split > div { border-top: 1px solid var(--ink); padding-top: 1rem; }

/* Page heads */
.page-head { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(16px, 3vw, 32px); }
.page-head.narrow { min-height: 50vh; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) var(--gut); }
.work-card { display: block; text-decoration: none; }
.work-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--rule); }
.work-card.feature { grid-column: 1 / -1; }
.work-card.feature img { aspect-ratio: 16/9; }
.work-card .meta { display: flex; justify-content: space-between; color: var(--stone); border-bottom: 1px solid var(--rule); padding: 12px 0 8px; }
.work-card .t { display: block; font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.05; margin-top: 12px; letter-spacing: -.015em; }
.work-card .d { display: block; color: #3b3934; margin-top: 6px; }
.work-card:hover .t { font-style: italic; }

/* Record */
.record-head { padding-top: clamp(40px, 6vw, 80px); }
.ledger-line { display: flex; gap: 28px; color: var(--stone); margin: 0 0 1.2rem; flex-wrap: wrap; }
.record-cover { margin: clamp(16px, 3vw, 32px) auto 0; max-width: calc(var(--wrap) + 2 * var(--gut)); padding: 0 var(--gut); }
.record-cover img { width: 100%; max-height: 82vh; object-fit: cover; }
.record-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 6vw, 80px); }
.ledger { margin: 0; border-top: 1px solid var(--ink); align-self: start; }
.ledger > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ledger dt { color: var(--stone); }
.ledger dd { margin: 0; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.prose { max-width: 36em; }
.prose p { margin: 0 0 1.1em; }
.pull { margin: 0 0 2rem; padding: 0; }
.pull p { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.2; font-style: italic; letter-spacing: -.01em; margin: 0 0 .5rem; }
.pull p::before { content: "“"; } .pull p::after { content: "”"; }
.pull cite { font: 400 .78rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--stone); font-style: normal; }
.btn { display: inline-block; background: var(--ink); color: var(--bone); font: 500 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 16px 22px; border: 1px solid var(--ink); cursor: pointer; }
.btn:hover { background: transparent; color: var(--ink); }
.text-link { margin-left: 18px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) var(--gut); padding-top: clamp(56px, 8vw, 110px); align-items: start; }
.gallery figure { margin: 0; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery figcaption { color: var(--stone); margin-top: 10px; }
.gallery figcaption span { color: var(--ink); margin-right: 10px; }
.record-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ink); margin-top: clamp(56px, 8vw, 110px); padding-top: 16px; padding-bottom: 64px; }
.record-nav a { text-decoration: none; } .record-nav a:hover { text-decoration: underline; }

/* Teaser + private list */
.teaser { background: var(--ink); color: var(--bone); }
.teaser-inner { padding-top: clamp(72px, 12vw, 160px); padding-bottom: clamp(72px, 12vw, 160px); max-width: 900px; }
.teaser .ledger-line { color: #a9a49b; }
.teaser h1 { font-size: clamp(3.4rem, 11vw, 8.5rem); font-style: italic; }
.teaser .lede { color: var(--bone); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.teaser .hook { font: 500 .85rem/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone); margin: 0 0 1rem; }
.teaser .prose { color: #cfcac1; margin: 1.6rem 0 2rem; }
.list-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.list-form input[type=email] { flex: 1 1 240px; font: inherit; font-size: 1.05rem; padding: 14px 14px; border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 0; }
.list-form input[type=email]::placeholder { color: inherit; opacity: .55; }
.teaser .btn, .show .btn { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.teaser .btn:hover, .show .btn:hover { background: transparent; color: var(--bone); }
.show-hook { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; font-style: italic; margin: 0 0 1.4rem; }
.show-list-cta { border-left: 1px solid #3a3835; padding-left: clamp(20px, 3vw, 40px); }
.rec-list .thumb.dark { background: var(--ink); color: #a9a49b; display: grid; place-items: center; }
.rec-list .thumb.dark .mono { font-size: .62rem; }
.teaser-tile { display: grid; place-items: center; gap: 10px; aspect-ratio: 16/9; background: var(--ink); color: var(--bone); padding: clamp(20px, 4vw, 48px); }
.teaser-tile .mono { color: #a9a49b; }
.teaser-tile .unseen { font-size: .9rem; letter-spacing: .12em; }
.teaser-tile .tt { font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-style: italic; line-height: 1.1; }
.work-card.is-teaser:not(.feature) .teaser-tile { aspect-ratio: 4/3; }
.list-block { border-top: 1px solid var(--ink); margin-top: clamp(48px, 7vw, 96px); padding-top: 1rem; max-width: 760px; }
.list-block p { color: #3b3934; }

/* Archive tables */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ledger-table th { text-align: left; font-weight: 500; color: var(--stone); padding: 14px 12px 8px 0; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.ledger-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger-table td.mono { white-space: nowrap; }
.ledger-table td a { text-decoration: none; border-bottom: 1px solid currentColor; }
.ledger-table tr[data-status="Available"] td:nth-child(5)::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mark); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 1px #b8951b; }
.paintings .title { font-size: 1.02rem; }
.sides, .shown { display: inline-block; font-size: .66rem; color: var(--stone); border: 1px solid var(--rule); padding: 1px 6px; margin-left: 6px; vertical-align: 2px; white-space: nowrap; }
.filter { display: flex; gap: 6px; }
.filter button { font: inherit; letter-spacing: inherit; text-transform: inherit; background: transparent; color: var(--ink); border: 1px solid var(--rule); padding: 8px 12px; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.ex { display: grid; grid-template-columns: 12rem 1fr; gap: 16px; border-top: 1px solid var(--ink); padding-top: 12px; }
.ex ul { margin: 0; padding: 0; list-style: none; } .ex li { padding: 0 0 6px; }
#paintings .block-head { margin-bottom: 1rem; }

/* About */
.film { padding-top: clamp(32px, 5vw, 64px); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 576; background: var(--ink); }
.film p { color: var(--stone); margin: 10px 0 0; }
.film + .about { padding-top: clamp(40px, 6vw, 80px); }
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(64px, 9vw, 120px); align-items: start; }
.about h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.about .prose { max-width: 44em; }
.about h2 { margin-top: 2.4rem; }
.expect > div { grid-template-columns: 8.5rem 1fr; }
.expect dd { font: 400 1rem/1.5 var(--serif); }
.expect + p { margin-top: 2rem; }

/* Inquiries */
.inquiries { padding-bottom: clamp(64px, 9vw, 120px); }
.inquiries .form, .inquiries .alt { max-width: 760px; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; }
.form label > .mono { color: var(--stone); }
.form input:not([type=radio]), .form textarea { font: inherit; font-size: 1.1rem; color: var(--ink); background: var(--paper); border: 0; border-bottom: 1px solid var(--ink); padding: 12px 12px; width: 100%; border-radius: 0; }
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 -2px 0 var(--ink); background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.reasons { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reasons legend { color: var(--stone); margin-bottom: 10px; padding: 0; }
.chip { display: inline-flex !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { border: 1px solid var(--rule); padding: 10px 14px; font-size: 1rem; background: var(--paper); }
.chip input:checked + span { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form .btn { justify-self: start; }
.alt { color: var(--stone); margin-top: 28px; }

/* Footer */
.foot { border-top: 1px solid var(--ink); margin-top: 0; padding: 40px 0 28px; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.foot-grid p { margin: 0 0 .6em; }
.foot-name { font-size: 1.5rem; letter-spacing: -.01em; }
.foot .mono { text-transform: none; font-size: .85rem; }
.foot-base { color: var(--stone); margin-top: 28px; text-transform: none; }

@media (max-width: 880px) {
  .hero, .show-grid, .record-body, .about, .split, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .rec-list a { grid-template-columns: 4.5rem minmax(0, 1fr) 72px; gap: 12px; }
  .rec-list .k, .rec-list .y { display: none; }
  .rec-list .thumb { width: 72px; }
  .work-grid, .gallery { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .ex { grid-template-columns: 1fr; }
  .show-list-cta { border-left: 0; padding-left: 0; border-top: 1px solid #3a3835; padding-top: 24px; }
  .ledger-table thead { display: none; }
  .ledger-table, .ledger-table tbody { display: block; }
  .ledger-table tr { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .ledger-table tr[hidden] { display: none; }
  .ledger-table td { border: 0; padding: 0 0 3px; grid-column: 2; }
  .ledger-table td:first-child { grid-column: 1; grid-row: 1 / span 6; padding-top: 3px; }
  .ledger-table td:empty { display: none; }
  .ledger-table td.mono { white-space: normal; }
  .ledger-table td:nth-child(2) { font-size: 1.1rem; }
  .top nav ul { gap: 14px; font-size: .7rem; }
  .mark img { width: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* CV */
.cv { border-top: 1px solid var(--ink); }
.cv-sec { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cv-sec h3 { margin: 2px 0 0; font-weight: 500; color: var(--stone); letter-spacing: .04em; line-height: 1.5; }
.cv-sec dl { margin: 0; display: grid; gap: 8px; }
.cv-sec dl > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; }
.cv-sec dt { text-transform: none; color: var(--stone); padding-top: 3px; }
.cv-sec dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.cv-pdf { margin-top: 14px; }
@media (max-width: 880px) { .cv-sec, .cv-sec dl > div { grid-template-columns: 1fr; gap: 2px; } .cv-sec dl { gap: 12px; } }

.review-note { margin-top: 16px; padding: 8px 12px; background: var(--mark); color: var(--ink); display: inline-block; }
.show-photo { margin: 0 0 1.4rem; }
.show-photo img { width: 100%; max-height: 520px; object-fit: cover; }

/* Paintings: photographed plates and the viewer */
.plates { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 18px; }
.plate { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.plate img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper); transition: opacity .15s; }
.plate:hover img { opacity: .85; }
.plate:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.plate .mono { color: var(--stone); }
.plate-title { font-size: .95rem; line-height: 1.3; }
.linkish { all: unset; cursor: pointer; border-bottom: 1px solid currentColor; }
.linkish:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.viewer { border: 0; padding: 0; width: min(1100px, 94vw); max-height: 92vh; background: var(--bone); color: var(--ink); }
.viewer::backdrop { background: rgba(20, 20, 20, .72); }
.viewer .close { all: unset; cursor: pointer; position: sticky; top: 0; float: right; padding: 14px 18px; background: var(--bone); z-index: 1; }
.v-imgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 18px; }
.v-imgs figure:first-child { grid-column: 1 / -1; }
.v-imgs figure { margin: 0; }
.v-imgs img { width: 100%; height: auto; max-height: 72vh; object-fit: contain; background: var(--paper); }
.v-imgs figcaption { color: var(--stone); padding-top: 6px; }
.v-meta { padding: 0 18px 24px; }
.v-meta h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: .2em 0 .3em; }
.v-meta p { margin: 0 0 .5em; }
.v-inq[hidden] { display: none; }
