/* myFinder — "Nocturne Atelier" (from the Google Stitch design, _design/stitch_/nocturne_atelier/DESIGN.md)
   Hand-written, no Tailwind. Dark only, sharp corners, tonal layering. */
:root {
  --bg: #131315;            /* surface / Carbon Void */
  --low: #1b1b1d;           /* surface-container-low */
  --lowest: #0e0e10;        /* surface-container-lowest */
  --cont: #201f21;          /* surface-container */
  --high: #2a2a2c;          /* surface-container-high */
  --bright: #39393b;        /* surface-bright */
  --veil: #0b0b0c;          /* lightbox */
  --ivory: #f4f0ea;         /* primary text */
  --on: #e5e1e4;            /* on-surface */
  --soft: #cac6bd;          /* on-surface-variant */
  --accent: #d5c4ae;        /* secondary / Warm Travertine */
  --stone: #939188;         /* outline */
  --line: rgba(72, 71, 64, .45);   /* outline-variant */
  --line-s: rgba(72, 71, 64, .25);
  --m: 1.5rem;              /* page margin */
  --g: 1rem;                /* gutter */
  --hd: 64px;
  --serif: 'Bodoni Moda', 'Nanum Myeongjo', 'Noto Serif KR', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --ease: cubic-bezier(.2, .6, .2, 1);
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --m: 2.5rem; --g: 1.5rem; } }
@media (min-width: 1280px) { :root { --m: 4rem; --g: 2rem; } }

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 72px); }
body { margin: 0; background: var(--bg); color: var(--on); font-family: var(--sans); font-size: 15px; line-height: 1.6;
  font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--bright); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, blockquote, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 1px solid var(--ivory); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ivory); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; }

/* ---------- type scale (DESIGN.md) ---------- */
.display-hero { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 48px; letter-spacing: -.01em; color: #fff; word-break: keep-all; }
.headline-lg { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 38px; letter-spacing: -.01em; color: #fff; word-break: keep-all; }
.headline-md { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 36px; letter-spacing: -.01em; color: #fff; word-break: keep-all; }
.headline-sm { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 28px; color: #fff; word-break: keep-all; }
@media (min-width: 768px) {
  .display-hero { font-size: 72px; line-height: 80px; letter-spacing: -.02em; }
  .headline-lg { font-size: 44px; line-height: 52px; letter-spacing: -.015em; }
}
.body-lg { font-size: 18px; line-height: 30px; letter-spacing: .01em; font-weight: 300; }
.body-md { font-size: 15px; line-height: 24px; letter-spacing: .01em; }
.body-sm { font-size: 13px; line-height: 20px; letter-spacing: .015em; }
.label-md { font-size: 11px; line-height: 14px; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; }
.label-sm { font-size: 10px; line-height: 12px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; }
.accent { color: var(--accent); }
.muted { color: var(--stone); }
.faint { color: var(--stone); }
.soft { color: var(--soft); }
.strong { color: #fff; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.ln { display: inline; }
@media (min-width: 900px) { .ln { display: block; } }
.todo { background: rgba(213, 196, 174, .14); outline: 1px dashed rgba(213, 196, 174, .55); outline-offset: 2px; color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 2rem;
  font-size: 11px; line-height: 14px; letter-spacing: .14em; font-weight: 500; text-transform: uppercase;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease; cursor: pointer; border: 1px solid transparent; }
.btn-sm { padding: 7px 1rem; }
.btn-primary { background: var(--ivory); color: var(--lowest); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border-color: rgba(244, 240, 234, .2); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: var(--ivory); }
.btn.is-disabled { cursor: default; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--high); color: #fff;
  border: 1px solid var(--line); cursor: pointer; transition: background-color .3s; }
.icon-btn:hover { background: var(--bright); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: #fff; transition: color .3s; white-space: nowrap; }
.link-arrow:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hd); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 0 var(--m); background: rgba(19, 19, 21, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-s); }
.hd-left { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.wordmark { font-family: var(--serif); font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.hd-tag { display: none; color: var(--stone); border-left: 1px solid var(--line); padding-left: 1rem; }
.hd-sep { color: #484740; display: none; }
.hd-crumbs.label-sm { font-size: 11px; line-height: 14px; }
.hd-crumbs { display: none; align-items: center; gap: .35rem; color: var(--stone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-crumbs a:hover { color: #fff; }
.hd-crumbs [aria-current] { color: #fff; }
.hd-nav { display: flex; gap: 1.1rem; }
.hd-nav a { font-size: 13px; line-height: 16px; letter-spacing: .1em; font-weight: 500; text-transform: uppercase; color: var(--stone);
  padding: 4px 0; border-bottom: 1px solid transparent; transition: color .3s; }
.hd-nav a:hover { color: var(--on); }
.hd-nav a[aria-current="page"] { color: #fff; border-color: #fff; }
.hd-right { display: none; }
@media (min-width: 640px) { .hd-right { display: flex; } }
@media (min-width: 1024px) {
  .hd-nav { gap: 1.75rem; }
  .hd-sep, .hd-crumbs { display: inline-flex; }
}
@media (min-width: 1280px) { .hd-tag { display: inline-block; } }
@media (max-width: 767px) {
  .hd-nav a { padding: 14px 0; }  /* 44px tap target */
  .hd-nav a[aria-current="page"] { border-color: transparent; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
}
@media (max-width: 400px) { .wordmark { font-size: 17px; } .hd-nav { gap: .75rem; } .hd-nav a { font-size: 12px; letter-spacing: .06em; } }
main { padding-top: var(--hd); }

/* ---------- layout helpers ---------- */
.section { padding: 3.5rem var(--m); border-bottom: 1px solid var(--line-s); }
.tone-low { background: var(--lowest); }
.wrap-7xl { max-width: 80rem; margin: 0 auto; }
.grid-12 { display: grid; grid-template-columns: 1fr; gap: var(--g); }
@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-4 { grid-column: span 4; } .col-5 { grid-column: span 5; } .col-7 { grid-column: span 7; } .col-8 { grid-column: span 8; }
}
.frame { display: block; position: relative; overflow: hidden; background: var(--lowest); border: 1px solid var(--line-s); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out, filter .7s ease-out; }
.frame.natural img { height: auto; object-fit: contain; }
.ar-45 { aspect-ratio: 4 / 5; } .ar-1 { aspect-ratio: 1; } .ar-34 { aspect-ratio: 3 / 4; } .ar-43 { aspect-ratio: 4 / 3; }
.ar-169 { aspect-ratio: 16 / 9; } .ar-219 { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .ar-219 { aspect-ratio: 16 / 10; } }
.plate { display: block; cursor: pointer; }
.plate:hover .frame img, .plate-card:hover .frame img { transform: scale(1.015); filter: brightness(1.05); }
.chip { display: inline-block; padding: 3px 8px; background: rgba(42, 42, 44, .8); border: 1px solid var(--line); }
.tag { padding: 4px 8px; background: var(--cont); color: var(--stone); border: 1px solid var(--line-s); white-space: nowrap; }

/* ---------- home hero ---------- */
.hero { position: relative; height: clamp(600px, calc(100svh - var(--hd)), 942px); overflow: hidden; border-bottom: 1px solid var(--line-s); background: var(--lowest); }
.slides, .slide, .slide-bg { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.8s var(--ease), visibility 0s 1.8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.8s var(--ease), visibility 0s; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) contrast(1.08); transform: scale(1.03); transition: transform 10s linear; }
.slide.is-active .slide-bg img { transform: scale(1); }
.slide-bg::before, .slide-bg::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.slide-bg::before { background: linear-gradient(to top, var(--bg), rgba(19, 19, 21, .4) 50%, transparent); }
.slide-bg::after { background: linear-gradient(to right, rgba(19, 19, 21, .7), transparent 50%, rgba(19, 19, 21, .4)); }
.hero-content { position: absolute; z-index: 2; left: var(--m); right: var(--m); bottom: 3.5rem; max-width: 64rem; }
.hero-tags { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.hero .display-hero { margin-bottom: .75rem; }
.hero-intro { max-width: 42rem; margin-bottom: 2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-panel { display: grid; grid-template-columns: 1fr; gap: 1.25rem; max-width: 56rem; padding: 1.5rem; background: rgba(14, 14, 16, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border: 1px solid var(--line); }
.hero-panel .label-sm { display: block; margin-bottom: 4px; }
.hero-cta { display: flex; align-items: center; gap: 12px; }
@media (min-width: 768px) {
  .hero-panel { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .hero-cta { justify-content: flex-end; }
}
@media (max-width: 767px) { .hero-panel > div:nth-child(2) { display: none; } .hero-intro { -webkit-line-clamp: 2; margin-bottom: 1.25rem; } .hero-content { bottom: 2rem; } }
.hero-count { position: absolute; z-index: 3; right: var(--m); bottom: 2.5rem; display: none; align-items: center; gap: 1rem; color: var(--stone); }
.hero-count .rule { width: 48px; height: 1px; background: #484740; }
@media (min-width: 1100px) { .hero-count { display: flex; } }
.hero-pause { position: absolute; z-index: 3; top: 1.25rem; right: var(--m); width: 36px; height: 36px; font-size: 10px; letter-spacing: -1px; background: rgba(42, 42, 44, .6); }
.hero-pause[aria-pressed="true"] span { letter-spacing: 0; }

/* ---------- sticky filter bar ---------- */
.filter-bar { position: sticky; top: var(--hd); z-index: 40; display: flex; flex-direction: column; gap: 12px; padding: 1rem var(--m);
  background: rgba(19, 19, 21, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-s); }
.chips { display: flex; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip-link { font-size: 13px; line-height: 16px; letter-spacing: .04em; font-weight: 500; white-space: nowrap; color: var(--stone);
  padding-bottom: 4px; border-bottom: 2px solid transparent; transition: color .2s; }
.chip-link:hover { color: var(--on); }
.chip-link.is-active { color: #fff; border-color: #fff; }
.views { display: none; gap: 12px; }
.view-btn { padding: 8px 14px; font-size: 11px; border: 1px solid var(--line-s); color: var(--stone); white-space: nowrap; }
.view-btn.is-active { background: var(--high); border-color: var(--line); color: #fff; }
a.view-btn:hover { color: var(--on); }
@media (min-width: 900px) { .filter-bar { flex-direction: row; align-items: center; justify-content: space-between; } }
/* view buttons only when the series names still fit on one line */
@media (min-width: 1600px) { .views { display: flex; } }

/* ---------- chapters ---------- */
.chapter { padding: 3.5rem var(--m); border-bottom: 1px solid var(--line-s); }
.ch-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 2rem; }
.ch-head h2 { margin-top: 4px; }
.ch-head h2 a:hover { color: var(--accent); }
.ch-lead { margin-top: 6px; }
@media (min-width: 768px) { .ch-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.ch-a { align-items: start; }
@media (min-width: 1024px) { .plate-a1 { grid-column: span 7; } .ch-a-side { grid-column: span 5; padding-top: 2rem; } }
.ch-a-side { display: flex; flex-direction: column; gap: 2rem; }
.plate-a1 { position: relative; }
.plate-over { position: absolute; z-index: 2; left: 1px; right: 1px; bottom: 1px; display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1rem; padding: 1.5rem; background: linear-gradient(to top, var(--lowest), rgba(14, 14, 16, .8) 45%, transparent); }
.plate-over > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.plate-over.hover-only { opacity: 0; padding: 2rem; background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent); transition: opacity .3s; }
.pano { position: relative; }
.pano:hover .plate-over.hover-only, .pano:focus-visible .plate-over.hover-only { opacity: 1; }
.placard { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-top: 1rem; }
.placard > span:first-child { display: flex; flex-direction: column; gap: 4px; }
.note-card { padding: 1.5rem; background: var(--low); border: 1px solid var(--line-s); display: flex; flex-direction: column; gap: .75rem; }
.note-card p { word-break: keep-all; }
.note-foot { display: flex; justify-content: space-between; gap: 1rem; padding-top: .75rem; border-top: 1px solid var(--line-s); color: var(--stone); }
.note-foot a { color: #fff; } .note-foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line-s); color: var(--stone); }
.meta-row dt { color: var(--accent); margin-bottom: 2px; }
.meta-row dd { color: var(--on); }
@media (min-width: 768px) { .meta-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) { .meta-row .ta-r { text-align: left; } }
.trio { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end; }
.trio .frame { margin-bottom: 1rem; }
.trio .chip { position: absolute; top: 1rem; left: 1rem; z-index: 1; background: rgba(19, 19, 21, .8); color: var(--stone); }
@media (min-width: 768px) { .trio { grid-template-columns: repeat(3, 1fr); } .trio-1 { transform: translateY(2rem); } .trio-2 { transform: translateY(-1.5rem); } }
.placard-col { display: flex; flex-direction: column; gap: 2px; padding: 0 .5rem; }
.placard-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--line-s); color: var(--stone); }

/* ---------- quote + contact sheet ---------- */
.quote-grid { align-items: center; }
.quote-col { display: flex; flex-direction: column; gap: 1.5rem; }
.quote-col blockquote { word-break: keep-all; }
.quote-by { padding-top: 1rem; border-top: 1px solid var(--line); }
.sheet { background: var(--low); border: 1px solid var(--line-s); padding: 1.5rem; }
@media (min-width: 1024px) { .quote-col, .sheet { grid-column: span 6; } }
.sheet-head, .sheet-foot { display: flex; justify-content: space-between; gap: 1rem; }
.sheet-head { padding-bottom: .5rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line-s); }
.sheet-foot { margin-top: 1rem; padding-top: .75rem; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.sheet-cell { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cont); border: 1px solid var(--line); }
.sheet-cell img { width: 100%; height: 100%; object-fit: cover; opacity: .7; filter: contrast(1.25); transition: opacity .3s; }
.sheet-cell:hover img, .sheet-cell.is-selected img { opacity: 1; }
.sheet-cell.is-selected { border: 2px solid var(--ivory); }
.sheet-no { position: absolute; right: 4px; bottom: 4px; font: 8px/1 ui-monospace, Consolas, monospace; color: var(--stone); }
.is-selected .sheet-no { right: auto; bottom: auto; left: 4px; top: 4px; background: var(--ivory); color: var(--lowest); padding: 2px 4px; font-weight: 700; }

/* ---------- artist ---------- */
.artist-grid { align-items: start; }
.portrait { position: relative; }
.portrait-empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--lowest) 0 12px, var(--low) 12px 24px); }
.portrait-empty .todo { padding: 4px 8px; }
.portrait-tag { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem; background: rgba(19, 19, 21, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-s); }
.artist-text { display: flex; flex-direction: column; gap: 2rem; }
.artist-text h2 { margin: .5rem 0 1rem; }
.artist-text p + p { margin-top: .75rem; }
@media (min-width: 1024px) { .portrait { grid-column: span 5; } .artist-text { grid-column: span 7; padding-left: 1.5rem; } }
.two-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .two-cards { grid-template-columns: 1fr 1fr; } }
.card-box { padding: 1.25rem; background: var(--low); border: 1px solid var(--line-s); }
.card-box > .label-sm { display: block; margin-bottom: .75rem; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: 4px 0; color: var(--on); }
.kv a:hover { color: var(--accent); }

/* ---------- journal ---------- */
.journal-list { border-top: 1px solid var(--line-s); }
.journal-list li { border-bottom: 1px solid var(--line-s); }
.journal-list a { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.25rem 0; align-items: center; }
.journal-list .frame img { transition: transform .7s ease-out; }
.journal-list a:hover .frame img { transform: scale(1.03); }
.journal-list a:hover .headline-sm { color: var(--accent); }
.j-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.j-meta .body-sm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 768px) { .journal-list a { grid-template-columns: 200px 1fr; gap: 2rem; } }

/* ---------- contact ---------- */
.contact { max-width: 56rem; margin: 0 auto; }
.contact h2 { margin-top: .5rem; }
.contact-lead { max-width: 36rem; margin: .5rem auto 0; }
.contact-dl { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 3rem 0 2rem; }
.contact-dl > div { padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.contact-dl dt { margin-bottom: 4px; }
@media (min-width: 768px) { .contact-dl { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.contact-foot { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .contact-foot { flex-direction: row; } }

/* ---------- series / page heads ---------- */
.s-head { padding: 3.5rem var(--m) 2rem; border-bottom: 1px solid var(--line-s); }
.crumb-m { display: flex; gap: .35rem; color: var(--stone); margin-bottom: 1rem; }
.crumb-m a:hover { color: #fff; }
@media (min-width: 1024px) { .crumb-m { display: none; } }
.s-title-row { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.s-title-row .headline-sm { margin-top: .25rem; font-weight: 300; }
.dot-label { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .35rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.s-meta { display: flex; flex-direction: column; gap: .35rem; }
@media (min-width: 1024px) { .s-title-row { flex-direction: row; justify-content: space-between; align-items: flex-end; } .s-meta { text-align: right; align-items: flex-end; } }
.cover { position: relative; display: block; margin-bottom: 2rem; cursor: zoom-in; }
.cover:hover img { transform: scale(1.01); }
.cover-tag { position: absolute; left: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: 4px; padding: .5rem 1rem; max-width: calc(100% - 2rem);
  background: rgba(14, 14, 16, .8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-s); }
.s-intro { padding-top: 1rem; align-items: start; gap: 2rem; }
.s-intro h2 { margin-top: .35rem; }
.s-intro .body-lg { color: var(--on); word-break: keep-all; margin-bottom: 1rem; }
.by { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding-top: .25rem; }
.s-essay { gap: 3.5rem; align-items: start; }
.s-essay.no-text .col-5 { grid-column: 1 / -1; }
@media (min-width: 1024px) { .s-essay.no-text .col-5 { grid-column: 8 / span 5; } }
.essay-body { max-width: 65ch; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); word-break: keep-all; }
.essay-body p { margin-bottom: 1.25rem; }
.essay-body h3 { margin: 2rem 0 1rem; }
.index-panel { background: var(--low); border: 1px solid var(--line-s); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.ip-head { display: flex; justify-content: space-between; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.ip-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.ip-dl > div { padding-bottom: .35rem; border-bottom: 1px solid var(--line-s); }
.ip-dl dt { margin-bottom: 3px; }
.ip-dl dd { color: var(--on); font-weight: 500; }
.ip-foot { padding: .5rem; background: rgba(53, 52, 55, .3); color: var(--soft); text-transform: none; letter-spacing: .04em; }

/* catalogue */
.cat-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3.5rem; }
.cat-head h2 { margin-top: .35rem; }
.cat-filter.label-sm { font-size: 12px; line-height: 16px; letter-spacing: .12em; }
.cat-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; color: #484740; }
.cat-filter button { background: none; border: 0; padding: 0 0 4px; cursor: pointer; color: var(--stone); letter-spacing: inherit;
  font: inherit; text-transform: inherit; border-bottom: 1px solid transparent; }
.cat-filter button:hover { color: #fff; }
.cat-filter button.is-active { color: #fff; border-color: #fff; }
@media (min-width: 768px) { .cat-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.catalogue { gap: 2rem; align-items: start; }
@media (min-width: 768px) {
  .catalogue { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; } .span-9 { grid-column: span 9; } .span-12 { grid-column: span 12; }
}
.plate-card { background: var(--low); border: 1px solid var(--line-s); padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; }
.plate-card.is-hidden { display: none; }
.plate-frame { position: relative; display: block; cursor: zoom-in; }
.plate-card .frame { background: var(--lowest); border: 0; }
.plate-card .frame img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; }
.plate-overlay { position: absolute; inset: 0; z-index: 2; opacity: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem; background: rgba(14, 14, 16, .8); transition: opacity .3s; pointer-events: none; }
.plate-frame:hover .plate-overlay, .plate-frame:focus-visible .plate-overlay { opacity: 1; }
.ov-top { display: flex; justify-content: space-between; align-items: flex-start; color: #fff; }
.ov-top svg { width: 24px; height: 24px; }
.ov-specs { display: flex; flex-direction: column; gap: 4px; }
@media (hover: none) { .plate-overlay { display: none; } }

/* next series teaser */
.next-series { display: flex; flex-direction: column; gap: 2rem; padding: 4rem var(--m); border-bottom: 1px solid var(--line-s); }
.next-link { display: flex; flex-direction: column; gap: .5rem; }
.next-link .display-hero { transition: color .3s; }
.next-link:hover .display-hero { color: var(--accent); }
.next-side { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .next-series { flex-direction: row; justify-content: space-between; align-items: flex-end; } .next-side { align-items: flex-end; } }

/* works index */
.series-grid { display: grid; grid-template-columns: 1fr; gap: 3rem 2rem; }
@media (min-width: 640px) { .series-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .series-grid { grid-template-columns: repeat(3, 1fr); } .series-grid li:nth-child(3n+2) { transform: translateY(2rem); } }
.card .frame { margin-bottom: 1rem; }
.card:hover .headline-sm { color: var(--accent); }

/* journal post */
.post-head h1 { max-width: 24ch; margin-top: .25rem; }
.post-head .label-sm.faint { margin-top: 1rem; }
.post-body { display: flex; flex-direction: column; align-items: center; gap: 3rem; padding: 3.5rem var(--m) 4rem; }
.prose { width: 100%; max-width: 65ch; word-break: keep-all; color: var(--soft); }
.prose p + p { margin-top: 1rem; }
.post-plate { width: 100%; max-width: 72rem; background: var(--low); border: 1px solid var(--line-s); padding: 1rem; }
.post-plate.portrait, .post-plate.square { max-width: 44rem; }
.post-plate .frame { border: 0; }
.post-plate .frame img { max-height: 84vh; width: auto; margin: 0 auto; }
.post-plate figcaption { display: flex; justify-content: space-between; margin-top: .75rem; }
.video-box { width: 100%; max-width: 72rem; padding: 1rem; background: var(--low); border: 1px solid var(--line-s); }
.video-box iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem var(--m) 4rem; border-top: 1px solid var(--line-s); }
.pager a { display: flex; flex-direction: column; gap: 6px; }
.pager a:hover .headline-sm { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { display: flex; flex-direction: column; gap: 2rem; padding: 3.5rem var(--m); background: var(--lowest); border-top: 1px solid var(--line-s); }
.site-footer > div { display: flex; flex-direction: column; gap: .5rem; }
.ft-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.ft-links a.label-sm { font-size: 12px; line-height: 16px; letter-spacing: .12em; }
.ft-links a { color: var(--stone); transition: color .3s; }
.ft-links a:hover { color: var(--on); }
.ft-links .is-current { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) { .site-footer { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- lightbox (artwork inspection) ---------- */
body.lb-lock { overflow: hidden; }
.lbx { position: fixed; inset: 0; z-index: 100; display: none; grid-template-rows: 64px 1fr auto; background: var(--veil); color: var(--on); }
.lbx.is-open { display: grid; animation: lbx-in .4s var(--ease); }
@keyframes lbx-in { from { opacity: 0; } to { opacity: 1; } }
.lbx-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--m); border-bottom: 1px solid var(--line-s); }
.lbx-top-l, .lbx-top-r { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.lbx-top .wordmark { font-size: 22px; }
.lbx-series { display: none; align-items: center; gap: .5rem; padding-left: 1rem; border-left: 1px solid var(--line); white-space: nowrap; min-width: 0; }
.lbx-series b { color: #fff; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.lbx-count { padding: 4px 10px; border: 1px solid var(--line); background: var(--low); color: var(--accent); white-space: nowrap; }
.lbx-zoom { display: none; align-items: center; border: 1px solid var(--line); background: var(--low); padding: 4px; }
.lbx-zoom button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 14px; color: var(--stone); cursor: pointer; letter-spacing: .16em; font-size: 10px; font-weight: 600; }
.lbx-zoom button[aria-pressed="true"] { color: #fff; border-color: #fff; }
.lbx-btn { display: grid; place-items: center; width: 40px; height: 40px; background: none; color: var(--on); border: 1px solid var(--line); cursor: pointer; transition: background-color .3s; }
.lbx-btn:hover { background: var(--high); }
.lbx-info-btn { width: auto; padding: 0 12px; font-size: 10px; letter-spacing: .16em; font-weight: 600; }
@media (min-width: 768px) { .lbx-series { display: inline-flex; } .lbx-zoom { display: inline-flex; } }
@media (max-width: 479px) { .lbx-top .wordmark { display: none; } .lbx-top { padding: 0 1rem; } .lbx-top-r { gap: .5rem; } }
.lbx-body { display: grid; grid-template-columns: 1fr; min-height: 0; }
@media (min-width: 1100px) { .lbx-body { grid-template-columns: 1fr 440px; } .lbx-info-btn { display: none; } }
.lbx-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 1.5rem; overflow: hidden; }
@media (min-width: 768px) { .lbx-stage { padding: 2.5rem 8rem; } }
.lbx-mount { display: flex; flex-direction: column; max-width: 100%; max-height: 100%; padding: 1.25rem; background: #141416; border: 1px solid var(--line-s);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .7); min-height: 0; }
.lbx-imgwrap { min-height: 0; flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lbx-img { max-width: 100%; max-height: calc(100svh - 64px - 112px - 10rem); width: auto; height: auto; object-fit: contain; transition: opacity .35s ease; user-select: none; -webkit-user-drag: none; }
.lbx-img.is-loading { opacity: .2; }
.lbx-cap { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--line-s);
  font: 11px/1.4 ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); white-space: nowrap; overflow: hidden; }
.lbx-cap .rule { flex: 1; height: 1px; background: var(--line); min-width: 24px; }
.lbx-cap span:first-child { overflow: hidden; text-overflow: ellipsis; }
.lbx-nav { position: absolute; top: 50%; transform: translateY(-50%); display: none; place-items: center; width: 60px; height: 80px;
  background: var(--low); border: 1px solid var(--line-s); color: #fff; cursor: pointer; transition: background-color .3s; }
.lbx-nav:hover { background: var(--high); }
.lbx-prev { left: 2.5rem; } .lbx-next { right: 2.5rem; }
@media (min-width: 768px) { .lbx-nav { display: grid; } }
/* zoom 100%: natural size, drag to pan */
.lbx.is-zoomed .lbx-stage { padding: 0; }
.lbx.is-zoomed .lbx-mount { padding: 0; border: 0; background: none; box-shadow: none; width: 100%; height: 100%; max-height: none; }
.lbx.is-zoomed .lbx-imgwrap { overflow: auto; display: block; cursor: grab; scrollbar-width: thin; }
.lbx.is-zoomed .lbx-img { max-width: none; max-height: none; }
.lbx.is-zoomed .lbx-cap, .lbx.is-zoomed .lbx-nav { display: none; }
/* side panel */
.lbx-panel { display: none; overflow-y: auto; padding: 2.5rem; background: #1b1b1d; border-left: 1px solid var(--line-s); }
.lbx-panel.is-open { display: block; position: absolute; z-index: 3; inset: 64px 0 auto 0; bottom: 0; }
@media (min-width: 1100px) { .lbx-panel { display: block; } .lbx-panel.is-open { position: static; } }
.lbx-panel h2 { margin: .5rem 0 .4rem; font-size: 30px; line-height: 36px; }
.lbx-sub { font-style: italic; font-weight: 300; color: var(--stone); padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-s); }
.lbx-block { margin-top: 2rem; }
.lbx-block > .label-sm { display: block; margin-bottom: 1rem; color: var(--soft); }
.lbx-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.lbx-tile { padding: 1rem; background: #141416; border: 1px solid var(--line-s); }
.lbx-tile .label-sm { color: var(--stone); display: block; margin-bottom: .5rem; }
.lbx-tile b { display: block; font-weight: 500; color: #fff; font-size: 15px; }
.lbx-tile small { color: var(--stone); font-size: 12px; }
.lbx-params { padding: .75rem 1rem; background: #141416; border: 1px solid var(--line-s); }
.lbx-params div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; font-size: 13px; }
.lbx-params dt { font-family: ui-monospace, Consolas, monospace; color: var(--stone); }
.lbx-params dd { color: #fff; text-align: right; }
.lbx-quote { padding-left: 1rem; border-left: 1px solid var(--stone); font-style: italic; font-weight: 300; color: var(--soft); line-height: 1.7; word-break: keep-all; }
.lbx-quote-by { margin-top: 1rem; text-align: right; color: var(--stone); }
/* filmstrip */
.lbx-strip { display: flex; align-items: center; gap: 1.25rem; padding: .75rem var(--m); border-top: 1px solid var(--line-s); background: #0e0e10; min-width: 0; }
.lbx-strip-label { display: none; white-space: nowrap; color: var(--stone); padding-right: 1.25rem; border-right: 1px solid var(--line); }
@media (min-width: 900px) { .lbx-strip-label { display: block; } }
.lbx-thumbs { display: flex; gap: .75rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 2px; }
.lbx-thumbs::-webkit-scrollbar { display: none; }
.lbx-thumb { position: relative; flex: none; width: 76px; height: 50px; padding: 0; background: var(--low); border: 1px solid var(--line-s); cursor: pointer; overflow: hidden; }
.lbx-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s; }
.lbx-thumb:hover img { opacity: .9; }
.lbx-thumb.is-active { border: 2px solid var(--ivory); }
.lbx-thumb.is-active img { opacity: 1; }
.lbx-thumb span { position: absolute; right: 0; bottom: 0; padding: 1px 4px; font: 9px/1.2 ui-monospace, Consolas, monospace; background: rgba(14, 14, 16, .85); color: var(--stone); }
.lbx-thumb.is-active span { background: var(--ivory); color: var(--lowest); }
@media (min-width: 768px) { .lbx-thumb { width: 100px; height: 60px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
