@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2197, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Hedvig Letters Serif'; src: url(fonts/hedvig-letters-serif-latin-400-normal.woff2) format('woff2'); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hedvig Letters Serif'; src: url(fonts/hedvig-letters-serif-latin-ext-400-normal.woff2) format('woff2'); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --ink: #3a3c42;
  --mute: rgba(58, 60, 66, 0.5);
  --faint: rgba(58, 60, 66, 0.26);
  --rule: rgba(58, 60, 66, 0.12);
  --plate: #f3f3f2;
  --plate-dark: #1b1c1f;

  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --serif: 'Hedvig Letters Serif', ui-serif, Georgia, serif;

  --gutter: clamp(16px, 2.2vw, 32px);
  --gap: clamp(16px, 2vw, 28px);
  --t-body: clamp(16px, 1.25vw, 20px);
  --t-small: clamp(14px, 1.05vw, 17px);
  --t-head: clamp(36px, 3.6vw, 56px);
  --t-hero: clamp(40px, 5.6vw, 88px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  letter-spacing: -0.02em;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.quiet { color: var(--mute); transition: color .2s; }
a.quiet:hover, button.quiet:hover { color: var(--ink); }
[hidden] { display: none !important; }

/* ── bar ─────────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
}
.bar nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.bar nav a { color: var(--mute); transition: color .2s; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--ink); }

/* ── hero ────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 96px var(--gutter) 28px;
}
.hero-specimen {
  align-self: end;
  width: clamp(72px, 8vw, 120px);
  aspect-ratio: 1;
  margin-bottom: clamp(24px, 4vh, 48px);
  position: relative;
}
.hero-specimen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-specimen img.on { opacity: 1; }
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-hero);
  line-height: 1.02;
  letter-spacing: -0.048em;
  color: var(--faint);
  max-width: 15.5em;
  margin: 0 0 clamp(40px, 9vh, 96px);
}
.hero-title .ink { color: var(--ink); }
.hero-foot {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
  color: var(--mute);
}
.hero-foot > :nth-child(2) { text-align: center; }
.hero-foot > :last-child { text-align: right; }
.hero-foot a:hover { color: var(--ink); }

/* ── blocks ──────────────────────────────────────── */
.block { padding: clamp(72px, 12vh, 140px) var(--gutter) 0; }
.block-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.block-head h2 {
  font-weight: 400;
  font-size: var(--t-head);
  letter-spacing: -0.048em;
  line-height: 1;
  margin: 0;
}

/* ── cards ───────────────────────────────────────── */
.card { display: block; cursor: pointer; }
.plate {
  position: relative;
  aspect-ratio: 1;
  background: var(--plate);
  overflow: hidden;
  display: grid; place-items: center;
}
.plate.dark { background: var(--plate-dark); }
.plate img, .plate video {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 11%;
  opacity: 0;
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.plate img.ready, .plate video.ready { opacity: 1; }
.card:hover .plate img, .card:hover .plate video { transform: scale(1.025); }
.pixelated { image-rendering: pixelated; }
.plate .badge {
  position: absolute; left: 12px; top: 10px;
  font-size: 12px; letter-spacing: 0; color: var(--mute);
}
.plate.dark .badge { color: rgba(255,255,255,.5); }
.cap { padding-top: 12px; }
.cap-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-meta { color: var(--mute); font-size: var(--t-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.plate .on-view {
  position: absolute; right: 12px; top: 10px;
  font-size: 12px; letter-spacing: 0; color: var(--ink);
}

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); row-gap: clamp(32px, 4vw, 52px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── the museum: one wall per piece ──────────────── */
.hang {
  display: flex; flex-direction: column;
  gap: clamp(120px, 24vh, 260px);
  padding: clamp(40px, 8vh, 96px) var(--gutter) 0;
}
.piece {
  --w: 46vw;
  display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 48px);
  cursor: pointer;
}
.piece.small { --w: 30vw; }
.piece.medium { --w: 46vw; }
.piece.large { --w: 68vw; }
.piece.right { flex-direction: row-reverse; }
.piece.center { flex-direction: column; align-items: center; }
.piece .frame {
  /* never taller than the viewport: width follows the work's aspect ratio */
  width: min(var(--w), calc(84svh * var(--ar, 1)));
  flex: none;
  position: relative;
  background: var(--plate);
  box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 18px 48px -22px rgba(0,0,0,.22);
  transition: transform 1s var(--ease), box-shadow 1s var(--ease);
}
.piece .frame img, .piece .frame video {
  width: 100%; height: auto; aspect-ratio: var(--ar, 1);
  object-fit: cover;
  opacity: 0; transition: opacity .9s var(--ease);
}
.piece .frame img.ready, .piece .frame video.ready { opacity: 1; }
.piece:hover .frame { transform: translateY(-3px); box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 26px 60px -24px rgba(0,0,0,.26); }
.label {
  width: min(22em, 100%);
  font-size: var(--t-small);
  color: var(--mute);
  padding-bottom: 2px;
}
.label > span { display: block; }
.piece.center .label { text-align: center; }
.piece.right .label { text-align: right; }
.label .no { display: block; margin-bottom: 14px; letter-spacing: 0; }
.label .t {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 30px);
  letter-spacing: -0.04em; line-height: 1.05;
  color: var(--ink);
  margin-bottom: 6px;
}
.label .a { display: block; color: var(--ink); margin-bottom: 12px; }
.label .note { display: block; margin-top: 12px; font-style: normal; color: var(--ink); max-width: 20em; }
.piece.center .label .note { margin-inline: auto; }
.piece.right .label .note { margin-left: auto; }
@media (max-width: 720px) {
  .piece, .piece.right, .piece.center { flex-direction: column; align-items: stretch; }
  .piece .frame { width: 100%; }
  .piece.small .frame { width: 72%; }
  .piece.small.right .frame { align-self: flex-end; }
  .piece.small.center .frame { align-self: center; }
  .piece .label, .piece.right .label, .piece.center .label { text-align: left; width: 100%; }
  .piece .label .note { margin-left: 0; }
}

/* ── enter the vault ─────────────────────────────── */
.enter { padding-top: clamp(140px, 26vh, 280px); }
.enter-link {
  display: grid; gap: 10px;
  border-top: 1px solid var(--rule); padding-top: 14px;
}
.enter-eyebrow { color: var(--mute); }
.enter-title {
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 200px);
  letter-spacing: -0.06em; line-height: .9;
  margin-left: -0.04em;
}
.enter-title .arrow { display: inline-block; color: var(--faint); transition: transform .6s var(--ease), color .3s; }
.enter-link:hover .arrow { transform: translateX(.12em); color: var(--ink); }
.enter-sub { color: var(--mute); max-width: 32em; }
.enter-strip {
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px;
  margin-top: clamp(24px, 4vw, 48px);
}
.enter-strip img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(1); opacity: .5;
  transition: filter .6s var(--ease), opacity .6s var(--ease);
}
.enter-link:hover .enter-strip img { filter: none; opacity: 1; }
@media (max-width: 720px) { .enter-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ── vault header ────────────────────────────────── */
.vault-head { padding: clamp(120px, 22vh, 220px) var(--gutter) 0; }
.vault-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(64px, 11vw, 200px);
  letter-spacing: -0.06em; line-height: .9;
  margin: 0 0 0 -0.04em;
}
.vault-sub { color: var(--mute); margin: 18px 0 0; max-width: 34em; }
.block-tight { padding-top: clamp(48px, 8vh, 88px); }

/* ── filters ─────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.filters button { color: var(--mute); transition: color .2s; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); }
.filters sup { font-size: .6em; margin-left: 2px; vertical-align: .7em; letter-spacing: 0; }
.filters .sep { flex-basis: 100%; height: 0; }
.filters .artist-chip { color: var(--ink); }

.views { display: flex; gap: 18px; }
.views button { color: var(--mute); }
.views button[aria-pressed="true"] { color: var(--ink); }

/* ── index ───────────────────────────────────────── */
.index { border-top: 1px solid var(--rule); }
.row {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 3fr) minmax(0, 2fr) 7em 6em 7em;
  gap: var(--gap);
  padding: 12px 0 11px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: color .2s;
}
.row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .num, .row .muted { color: var(--mute); }
.row.head { cursor: default; color: var(--mute); font-size: var(--t-small); padding-top: 10px; }
.index:hover .row:not(.head) { color: var(--faint); }
.index:hover .row:not(.head) .num, .index:hover .row:not(.head) .muted { color: var(--faint); }
.index .row:not(.head):hover, .index .row:not(.head):hover .num, .index .row:not(.head):hover .muted { color: var(--ink); }
@media (max-width: 860px) {
  .row { grid-template-columns: 3em minmax(0, 1fr) minmax(0, .8fr); }
  .row > :nth-child(n+4) { display: none; }
}

.peek {
  position: fixed; z-index: 30; left: 0; top: 0;
  width: 220px; aspect-ratio: 1;
  pointer-events: none;
  background: var(--plate);
  opacity: 0; transform: translate(-50%, -50%) scale(.96);
  transition: opacity .25s, transform .35s var(--ease);
  display: grid; place-items: center;
}
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
@media (hover: none) { .peek { display: none; } }

/* ── watch list lock ─────────────────────────────── */
.lock { display: grid; gap: 18px; max-width: 26em; }
.lock-field { display: grid; gap: 6px; }
.lock-field input {
  font: inherit; letter-spacing: inherit; color: var(--ink);
  background: none; border: 0; border-bottom: 1px solid var(--faint);
  border-radius: 0; padding: 6px 0 8px; outline: none;
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px); letter-spacing: 0.08em;
}
.lock-field input:focus { border-bottom-color: var(--ink); }
.lock-remember { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); cursor: pointer; }
.lock-remember input { accent-color: var(--ink); margin: 0; }
.lock-go { justify-self: start; color: var(--ink); }
.lock-go:hover { text-decoration: underline; text-underline-offset: 4px; }
.lock-error { margin: 0; color: var(--ink); font-size: var(--t-small); }
.lock-foot { margin: clamp(40px, 6vw, 72px) 0 0; font-size: var(--t-small); }
.cap-note { font-size: var(--t-small); margin-top: 6px; }

/* ── artists ─────────────────────────────────────── */
.artists {
  list-style: none; margin: 0; padding: 0;
  columns: 3 16em; column-gap: var(--gap);
}
.artists li { break-inside: avoid; }
.artists a {
  display: flex; justify-content: space-between; gap: 12px; width: 100%;
  text-align: left; padding: 9px 0 8px;
  border-bottom: 1px solid var(--rule);
  transition: color .2s;
}
.artists a span:last-child { color: var(--mute); }
.artists:hover a { color: var(--faint); }
.artists a:hover { color: var(--ink); }

/* ── about ───────────────────────────────────────── */
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.mark-pfp { width: 22px; height: 22px; image-rendering: pixelated; }
.about-pfp { display: block; width: clamp(96px, 9vw, 140px); height: auto; image-rendering: pixelated; margin-bottom: 22px; }
.about-bio { margin: 0 0 18px; color: var(--mute); }
.about { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--gap); }
.about-statement {
  font-family: var(--serif); font-size: clamp(26px, 2.6vw, 40px);
  line-height: 1.1; letter-spacing: -0.04em; margin: 0; max-width: 16em;
}
.wallets { margin: 0; display: grid; grid-template-columns: auto 1fr; align-content: start; }
.wallets dt { padding-right: var(--gap) !important; }
.wallets dt, .wallets dd { margin: 0; padding: 10px 0 9px; border-bottom: 1px solid var(--rule); }
.wallets dt { color: var(--mute); }
.wallets dd { display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.wallets dd code { font: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wallets dd button { color: var(--mute); flex: none; }
.wallets dd button:hover { color: var(--ink); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } }

/* ── footer ──────────────────────────────────────── */
.foot { padding: clamp(120px, 20vh, 220px) var(--gutter) 24px; }
.foot-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(64px, 17.5vw, 340px);
  letter-spacing: -0.06em;
  line-height: .82;
  margin-left: -0.04em;
}
.foot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: 28px; color: var(--mute); }
.foot-row > :nth-child(2) { text-align: center; }
.foot-row > :last-child { text-align: right; }
.foot-row a:hover { color: var(--ink); }

/* ── sheet (detail) ──────────────────────────────── */
.sheet {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: grid; grid-template-rows: auto 1fr;
  animation: sheet-in .45s var(--ease);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.sheet-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); }
.sheet-nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.sheet-nav button { color: var(--mute); transition: color .2s; }
.sheet-nav button:hover { color: var(--ink); }
.sheet-body {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 30vw);
  gap: var(--gap);
  padding: 0 var(--gutter) var(--gutter);
  min-height: 0;
}
.sheet-media {
  margin: 0; background: var(--plate);
  display: grid; place-items: center;
  min-height: 0; overflow: hidden;
}
.sheet-media img, .sheet-media video {
  max-width: 100%; max-height: 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: clamp(20px, 5vw, 72px);
}
.sheet-info { overflow-y: auto; padding: 4px 0 24px; display: flex; flex-direction: column; }
.sheet-chain { color: var(--mute); font-size: var(--t-small); }
.sheet-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1; letter-spacing: -0.048em;
  margin: 10px 0 8px;
  overflow-wrap: anywhere;
}
.sheet-artist { font-size: clamp(18px, 1.5vw, 24px); margin: 0 0 32px; }
.facts { margin: 0 0 28px; display: grid; grid-template-columns: auto 1fr; font-size: var(--t-small); }
.facts dt { padding-right: 20px !important; }
.facts dt, .facts dd { margin: 0; padding: 8px 0 7px; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--mute); }
.facts dd { text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.facts dd button { color: inherit; }
.facts dd button:hover { text-decoration: underline; text-underline-offset: 3px; }
.desc { font-size: var(--t-small); color: var(--mute); white-space: pre-line; margin: 0 0 28px; overflow-wrap: anywhere; }
.desc-ink { color: var(--ink); }
.lock-foot button { color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }
.lock-foot button:hover { color: var(--ink); }
.lock-go:disabled { color: var(--faint); cursor: progress; }
.desc.clamped { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.desc-more { color: var(--ink); font-size: var(--t-small); margin: -18px 0 28px; align-self: flex-start; }
.links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.links a { color: var(--mute); transition: color .2s; }
.links a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .sheet { overflow-y: auto; display: block; }
  .sheet-bar { position: sticky; top: 0; background: var(--bg); z-index: 1; }
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-media { aspect-ratio: 1; }
  .sheet-media img, .sheet-media video { padding: 8%; }
}

/* ── toast ───────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 50;
  transform: translateX(-50%);
  background: var(--ink); color: var(--bg);
  padding: 8px 14px 9px; font-size: 14px; letter-spacing: -0.01em;
  animation: toast 1.8s var(--ease) forwards;
}
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 8px); } 12%, 80% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

@media (max-width: 560px) {
  .bar nav a[data-about-link] { display: none; }
  .hero-foot, .foot-row { grid-template-columns: 1fr 1fr; }
  .hero-foot > :nth-child(2), .foot-row > :nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ── loading: blurred stand-in under each image ──── */
.plate .lqip, .frame .lqip {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 11%;
  filter: blur(14px) saturate(1.1); transform: scale(1.02);
  opacity: 1 !important; transition: opacity .8s var(--ease);
  pointer-events: none;
}
.frame .lqip { padding: 0; object-fit: cover; }
.plate:has(> .ready) .lqip, .frame:has(> .ready) .lqip { opacity: 0 !important; }
.plate > img:not(.lqip), .plate > video, .frame > img:not(.lqip), .frame > video { position: relative; }

/* ── controls: one button family ──────────────────── */
/* segmented groups (filters, sort, view, browse) and single pills share
   a hairline outline; the chosen option is filled with ink */
.seg {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--bg);
}
.seg button, .pill {
  font-size: var(--t-small); line-height: 1;
  padding: 8px 14px 9px; border-radius: 999px;
  color: var(--mute); white-space: nowrap;
  transition: color .2s, background-color .25s var(--ease);
}
.pill { border: 1px solid var(--rule); color: var(--ink); }
.seg button:hover, .pill:hover { color: var(--ink); }
.pill:hover { border-color: var(--faint); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg sup { font-size: .72em; margin-left: 4px; vertical-align: .45em; opacity: .7; letter-spacing: 0; }
.seg-scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg-scroll::-webkit-scrollbar { display: none; }

.controls { align-items: center; flex-wrap: wrap; gap: 12px 16px; padding-top: 16px; }
.controls-right { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { .controls-right { width: 100%; justify-content: space-between; } }

/* artist headings in the grid when sorted by artist */
.group {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--serif); font-size: clamp(26px, 2.4vw, 38px);
  letter-spacing: -0.045em; line-height: 1;
  border-top: 1px solid var(--rule); padding-top: 14px;
  margin-top: clamp(8px, 2vw, 24px);
}
.group .quiet { font-family: var(--sans); font-size: var(--t-small); letter-spacing: -0.02em; }
.group:first-child { margin-top: 0; }
.group:hover span:first-child { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.sheet-nav { align-items: center; gap: 10px; }
.sheet-nav .seg button { padding: 8px 16px 9px; }
.sheet-artist a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wallets dd button { border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px 5px; font-size: 13px; }
.wallets dd button:hover { border-color: var(--faint); }
.lock-go { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 18px 10px; background: var(--ink); color: var(--bg); }
.lock-go:hover { text-decoration: none; background: var(--bg); color: var(--ink); }

/* ── walk through (3D) ───────────────────────────── */
body.walking { overflow: hidden; }
body.walking #about, body.walking .foot { display: none; }
.walk { position: fixed; inset: 0; z-index: 10; background: #f6f6f4; }
.walk canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.walk canvas:active { cursor: grabbing; }
.walk-ui {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 24px; z-index: 11;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  pointer-events: none;
}
.walk-ui > * { pointer-events: auto; }
.walk-now { margin: 0; color: var(--mute); font-size: var(--t-small); max-width: 34em; }
.walk-buttons { display: flex; gap: 10px; flex: none; }
.walk-buttons .seg button { padding: 10px 18px 11px; }
.walk-buttons .pill { display: inline-block; padding: 10px 18px 11px; font-size: var(--t-small); line-height: 1; border-radius: 999px; background: var(--bg); }
.walk-link { color: var(--ink); }
.walk-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .walk-ui { flex-direction: column; align-items: stretch; } .walk-buttons { justify-content: space-between; } }
@media (max-width: 720px) { .plate .badge, .plate .on-view { display: none; } }

/* ── artist of the week ──────────────────────────── */
.teaser-block { padding-top: clamp(140px, 26vh, 280px); }
.teaser {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--gap);
  border-top: 1px solid var(--rule); padding-top: 14px;
}
.teaser-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.teaser-eyebrow { color: var(--mute); }
.teaser-name {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 128px);
  letter-spacing: -0.055em; line-height: .92;
  margin: clamp(8px, 2vw, 28px) 0 4px -0.03em;
  overflow-wrap: anywhere;
}
.teaser-name .arrow { display: inline-block; color: var(--faint); transition: transform .6s var(--ease), color .3s; }
.teaser:hover .teaser-name .arrow { transform: translateX(.12em); color: var(--ink); }
.teaser-tag { color: var(--ink); }
.teaser-note {
  color: var(--mute); max-width: 30em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.teaser-plate { align-self: start; }
.teaser:hover .teaser-plate img { transform: scale(1.025); }
@media (max-width: 720px) { .teaser { grid-template-columns: 1fr; } .teaser-plate { order: -1; margin-bottom: 12px; } }

.pick { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.pick-frame {
  display: block; position: relative;
  width: min(100%, calc(80svh * var(--ar, 1)));
  background: var(--plate);
  box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 18px 48px -22px rgba(0,0,0,.22);
  transition: transform 1s var(--ease), box-shadow 1s var(--ease);
}
.pick-frame img { width: 100%; height: auto; aspect-ratio: var(--ar, 1); object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.pick-frame img.ready { opacity: 1; }
.pick-frame:hover { transform: translateY(-3px); box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 26px 60px -24px rgba(0,0,0,.26); }
.pick-info { display: flex; flex-direction: column; min-width: 0; }
.pick-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 76px);
  line-height: .96; letter-spacing: -0.05em;
  margin: 10px 0 10px; overflow-wrap: anywhere;
}
.pick-tag { margin: 0 0 22px; color: var(--mute); }
.pick-note {
  font-family: var(--serif); font-size: clamp(21px, 1.7vw, 27px);
  line-height: 1.2; letter-spacing: -0.03em;
  margin: 0 0 32px; max-width: 22em;
}
.pick .facts dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.to-watch { margin: 0 0 28px; font-size: var(--t-small); }
.to-watch ol { list-style: none; margin: 8px 0 0; padding: 0; }
.to-watch li { padding: 8px 0 7px; border-bottom: 1px solid var(--rule); counter-increment: watch; display: flex; gap: 14px; }
.to-watch li::before { content: counter(watch, decimal-leading-zero); color: var(--mute); letter-spacing: 0; }
.to-watch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pick .links { margin-top: 0; }
@media (max-width: 860px) { .pick { grid-template-columns: 1fr; } .pick-frame { width: 100%; } }
@media (max-width: 560px) { .bar nav a[data-week-nav] { display: none; } }

/* ── posts from X (under About) ──────────────────── */
.posts { margin-top: clamp(64px, 9vw, 120px); }
.posts-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--rule); padding-top: 14px; margin-bottom: clamp(20px, 3vw, 36px);
  color: var(--mute);
}
.posts-head a:hover { color: var(--ink); }
.posts-list { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0 var(--gap); }
.posts-list.single { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.post { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.post.lead { grid-row: span 2; padding-right: var(--gap); }
.post:not(.lead) { padding: 0 0 18px; }
.post:not(.lead) + .post:not(.lead) { border-top: 1px solid var(--rule); padding-top: 14px; }
.post-text {
  margin: 0; white-space: pre-line; overflow-wrap: anywhere;
  font-size: var(--t-small); color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.post.lead .post-text {
  font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.12; letter-spacing: -0.035em; -webkit-line-clamp: 7; max-width: 20em;
}
.post-text a { color: var(--mute); }
.post-text a:hover { color: var(--ink); }
.post-meta { font-size: var(--t-small); color: var(--mute); }
.post-meta a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .posts-list { grid-template-columns: 1fr; }
  .post.lead { grid-row: auto; padding: 0 0 28px; }
  .post:not(.lead) { border-top: 1px solid var(--rule); padding-top: 14px; }
}
