/* henikim.com — Spektrum
   Colours come from :root variables set in header.php (Panel → Site → colours). */

/* Fonts: see fonts.css (self-hosted, no Google connection). */

:root {
  --sans: 'Space Grotesk', 'Noto Sans KR', system-ui, sans-serif;
  --mono: var(--sans); /* labels use the body font (was JetBrains Mono) */
  --serif: 'MaruBuri', 'Noto Sans KR', Georgia, serif; /* long reading text, Latin in MaruBuri too */
  --serif-ko: 'Space Grotesk', 'MaruBuri', 'Noto Sans KR', serif; /* Space Grotesk has no Hangul, so Hangul falls through to MaruBuri */
  --body-font: var(--serif); --body-weight: 400; --body: 17px; /* overridden from Panel settings */
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-variant-numeric: tabular-nums; }
html:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; } /* Korean: break between words, not inside them */
a { color: var(--fg2); text-decoration: none; }
a:hover { color: var(--fg); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc-ink); outline-offset: 3px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tap { min-height: 44px; display: inline-flex; align-items: center; }
.acc { color: var(--acc-ink); }
.fg3 { color: var(--fg3); }
[hidden] { display: none !important; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1280px; width: 100%; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main.wrap { padding-top: 24px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 72px; flex: 1 0 auto; }
main.gap-56 { gap: 56px; }
main.gap-48 { gap: 48px; }
main.gap-32 { gap: 32px; padding-bottom: 96px; }

/* header */
.site-header { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; position: relative; }
.brand { color: var(--fg); font-weight: 500; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.site-nav a[aria-current="page"] { color: var(--acc-ink); }
.langs { display: flex; gap: 2px; }
.langs a { min-width: 36px; min-height: 44px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; color: var(--fg3); text-underline-offset: 5px; }
.langs a[aria-current="true"] { color: var(--fg); text-decoration: underline; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 16px; cursor: pointer; }

@media (max-width: 760px) {
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .brand { font-size: 15px; }
  .menu-btn { display: block; }
  .site-nav { display: none; position: fixed; inset: 84px 0 0 0; z-index: 20; background: var(--bg); padding: 16px; flex-direction: column; align-items: stretch; gap: 4px; overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > a { font-size: 36px; font-weight: 300; padding: 10px 0; border-bottom: 1px solid var(--line2); }
  .site-nav .langs { margin-top: 16px; gap: 4px; }
  .site-nav .langs a { min-width: 44px; font-size: 13px; }
  body.nav-open { overflow: hidden; }
}

/* footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.footer-inner { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; font-size: 14px; color: var(--fg3); }
.footer-inner a { color: var(--fg3); }
.footer-inner a:hover { color: var(--fg); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.social { display: inline-flex; flex-wrap: wrap; gap: 0 6px; }

/* type */
h1, h2, h3 { margin: 0; }
.h1 { font-weight: 300; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; }
.h2 { font-weight: 400; font-size: 28px; }
.h2s { font-weight: 400; font-size: 24px; }
.lead { margin: 0; max-width: 60ch; font-weight: 300; font-size: 18px; line-height: 1.7; color: var(--fg2); }
.label { font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.label-s { font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.mlink { font-family: var(--mono); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.row-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.stack { display: flex; flex-direction: column; }
.g8 { gap: 8px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g20 { gap: 20px; } .g24 { gap: 24px; }
.index-nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-family: var(--mono); font-size: 14px; }
.index-nav a { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.index-nav span { color: var(--acc-ink); }
.placeholder { border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.empty-note { margin: 0; padding: 28px 0; color: var(--fg3); }

/* grid of cells separated by 1px lines */
.cells { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells > * { background: var(--bg); }
.cells-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cells-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cells-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* buttons */
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: transparent; color: var(--fg2); font-size: 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.outline-btn { min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--line); color: var(--fg); font-family: var(--mono); font-size: 14px; cursor: pointer; }
.play { flex: 0 0 auto; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--acc); color: var(--onacc); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; }
.play.lg { width: 64px; height: 64px; font-size: 20px; }

/* spectrum bars */
.bars { display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.bars > i { flex: 1 1 0; background: var(--bar); transition: height .12s linear; }
.bars > i.pk { background: var(--acc); }
.bars.dim > i { background: var(--bar2); }
.bars.dim > i.pk { background: var(--bar2); }
.bars.on > i.pk { background: var(--acc); }
.bars-hero { height: 340px; gap: 4px; }
.bars-player { height: 200px; gap: 3px; }
.bars-mini { height: 28px; gap: 2px; border-bottom: 0; }
.bars-row { height: 32px; gap: 2px; border-bottom: 0; }
@media (max-width: 760px) { .bars-hero { height: 200px; gap: 2px; } }

/* ---------- home ---------- */
.hero { display: flex; flex-direction: column; gap: 14px; padding-top: 40px; }
.hero-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--fg3); align-items: center; }
.hero-bars { cursor: pointer; border: 0; padding: 0; background: transparent; width: 100%; display: block; }
.hero-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.hero h1 { margin-top: 32px; font-weight: 300; font-size: clamp(56px, 8vw, 112px); line-height: 0.96; letter-spacing: -0.02em; }
.hero-sub { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; }
.hero-sub .inst { font-size: 20px; color: var(--fg2); }
main.home { gap: 96px; padding-top: 0; }
@media (max-width: 760px) { main.home { gap: 56px; } .hero { padding-top: 8px; } }

.card { color: var(--fg); padding: 24px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.card:hover .more { color: var(--acc-ink); }
.card-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 14px; }
.card-title { font-size: 22px; line-height: 1.25; }
.card-detail { font-size: 14px; color: var(--fg2); line-height: 1.6; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-with { font-size: 13px; color: var(--fg3); }
.more { font-family: var(--mono); font-size: 14px; color: var(--fg2); }
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 760px) { .split > * { flex-basis: 100%; } }
.miniplayer { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); padding: 20px; }
.miniplayer .meta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.now-card { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--fg); }
.now-text { font-family: var(--body-font); font-weight: var(--body-weight); font-size: calc(var(--body) - 1px); line-height: 1.75; color: var(--fg2); }

/* ---------- about ---------- */
.about-top { display: flex; flex-wrap: wrap; gap: 48px; }
.portrait { flex: 1 1 320px; max-width: 420px; aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.bio { font-family: var(--body-font); font-weight: var(--body-weight); font-size: var(--body); line-height: 1.9; color: var(--fg2); }
.bio strong, .blk-text strong { font-weight: 500; color: var(--fg); }
.bio p { margin: 0 0 1.2em; }
.bio p:last-child { margin-bottom: 0; }
.facts-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.facts-2 .v { font-size: 14px; line-height: 1.7; white-space: pre-line; }
.ens { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ens h3 { font-weight: 400; font-size: 22px; line-height: 1.25; }
.ens p { margin: 0; font-weight: 300; font-size: 14px; line-height: 1.7; color: var(--fg2); }
.ens .mlink { margin-top: auto; align-self: flex-start; }
.guest { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line2); color: var(--fg); font-size: 15px; }
.kit { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; }
.kit .fmt { font-family: var(--mono); font-size: 14px; color: var(--acc-ink); }

/* ---------- projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.season { display: flex; flex-direction: column; gap: 10px; }
.season-bars { height: 160px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; border-bottom: 1px solid var(--line); }
.season-bars > div { height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.season-bars i { width: 10px; background: var(--bar2); }
.season-bars i.on { background: var(--acc); }
.season-labels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; font-family: var(--mono); font-size: 13px; color: var(--fg3); text-align: center; }
.legend { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.legend > span { display: flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; display: inline-block; }
.up-list { display: flex; flex-direction: column; border-top: 1px solid var(--fg); }
.up { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 3fr) minmax(150px, 1fr); gap: 12px 32px; padding: 28px 0; border-bottom: 1px solid var(--line2); align-items: baseline; }
.up .date { font-family: var(--mono); font-size: 15px; color: var(--fg); }
.up h3 { font-weight: 400; font-size: 24px; line-height: 1.25; }
.up h3 a { color: var(--fg); }
.up .detail { margin: 0; font-weight: 300; font-size: 15px; line-height: 1.7; color: var(--fg2); }
.up .with { margin: 0; font-size: 13px; color: var(--fg3); }
.up .side { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
@media (max-width: 760px) { .up { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; } .up h3 { font-size: 22px; } }
.year { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 4fr); gap: 12px 32px; border-top: 1px solid var(--fg); padding-top: 16px; }
.year > summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: baseline; gap: 12px; }
.year > summary::-webkit-details-marker { display: none; }
.year .y { font-weight: 300; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.year .ico { font-family: var(--mono); font-size: 18px; color: var(--fg3); }
.year[open] .ico { color: var(--acc-ink); }
.year .ico::before { content: '+'; }
.year[open] .ico::before { content: '−'; }
.year .count { font-family: var(--mono); font-size: 14px; color: var(--fg3); align-self: center; }
.year[open] .count { display: none; }
.year ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; min-width: 0; }
.year li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) 110px 110px; gap: 4px 24px; padding: 4px 0; border-bottom: 1px solid var(--line2); align-items: center; }
.year li .t { font-size: 16px; color: var(--fg); min-height: 44px; display: flex; align-items: center; }
.year li .w { font-size: 14px; color: var(--fg3); }
.year li .mlink { justify-content: flex-end; }
@media (max-width: 760px) {
  .year { grid-template-columns: 1fr; }
  .year li { grid-template-columns: 1fr auto; gap: 0 12px; padding: 8px 0; }
  .year li .w { grid-column: 1; }
  .year li .k { grid-column: 1; }
  .year li .mlink { grid-column: 2; grid-row: 1 / span 3; }
  .season-bars i { width: 6px; }
}

/* ---------- project detail ---------- */
.proj-head { width: 100%; max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.proj-head h1 { font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.015em; }
.blocks { display: flex; flex-direction: column; gap: 28px; }
.blk { width: 100%; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.blk.wide { max-width: 1136px; }
.blk-text { font-family: var(--body-font); font-weight: var(--body-weight); font-size: calc(var(--body) + 1px); line-height: 1.9; color: var(--fg2); }
.blk-text p { margin: 0 0 1em; } .blk-text p:last-child { margin: 0; }
.blk-text a { text-decoration: underline; text-underline-offset: 3px; }
.blk-text.sz-small { font-size: 15px; line-height: 1.7; } .blk-text.sz-large { font-size: calc(var(--body) + 5px); } .blk-text.sz-xlarge { font-size: calc(var(--body) + 11px); line-height: 1.6; }
.blk-text.lh-tight { line-height: 1.45; } .blk-text.lh-loose { line-height: 2.3; }
.blk-text.lh-tight p, .blk-text.lh-tight ul, .blk-text.lh-tight ol { margin-bottom: 0.25em; } .blk-text.lh-loose p, .blk-text.lh-loose ul, .blk-text.lh-loose ol { margin-bottom: 1.6em; }
.blk-text.blk-text > :last-child { margin-bottom: 0; }
.blk-text p:empty::before { content: '\200b'; } /* an empty line typed in the Panel stays visible */
.spacer-s { height: 16px; } .spacer-m { height: 48px; } .spacer-l { height: 112px; }
.blk-text em { font-style: italic; } .blk-text u { text-underline-offset: 3px; } .blk-text s { color: var(--fg3); }
.blk-text sup, .blk-text sub { font-size: 0.7em; line-height: 0; }
.blk-text ul, .blk-text ol { margin: 0 0 1em; padding-left: 1.3em; } .blk-text li { margin: 0.2em 0; } .blk-text li p { margin: 0; }
.blk h2 { font-weight: 400; font-size: 26px; }
.blk figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.blk figcaption, .credit { font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.ratio-32 { aspect-ratio: 3 / 2; } .ratio-219 { aspect-ratio: 21 / 9; } .ratio-45 { aspect-ratio: 4 / 5; } .ratio-1 { aspect-ratio: 1; } .ratio-169 { aspect-ratio: 16 / 9; }
.fit { width: 100%; height: 100%; object-fit: cover; }
.ratio-43 { aspect-ratio: 4 / 3; } .ratio-23 { aspect-ratio: 2 / 3; }
.orig img { display: block; width: 100%; height: auto; }
.orig-grid { align-items: start; }
.blk figure.fig-quarter { width: 100%; max-width: 180px; } .blk figure.fig-small { width: 100%; max-width: 240px; } .blk figure.fig-half { width: 100%; max-width: 360px; } .blk figure.fig-medium { width: 100%; max-width: 480px; }
.blk figure.fig-left { align-self: flex-start; } .blk figure.fig-center { align-self: center; } .blk figure.fig-right { align-self: flex-end; }
[class^="ratio-"], [class*=" ratio-"] { overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px 32px; border-top: 1px solid var(--line); padding-top: 16px; }
.facts > div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.5; }
.quote { margin: 0; padding: 20px 0 0; border-top: 1px solid var(--acc-ink); display: flex; flex-direction: column; gap: 8px; }
.quote p { margin: 0; font-family: var(--body-font); font-weight: var(--body-weight); font-size: calc(var(--body) * 1.4); line-height: 1.5; color: var(--fg); }
.quote cite { font-family: var(--mono); font-size: 13px; color: var(--fg3); font-style: normal; }
.dates { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.dates > div { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.4fr) 110px; gap: 4px 20px; padding: 10px 0; border-bottom: 1px solid var(--line2); align-items: baseline; }
.dates .d { font-family: var(--mono); font-size: 15px; color: var(--acc-ink); }
.dates .c { font-size: 15px; }
.dates .v { font-size: 14px; color: var(--fg3); }
.dates .tk { font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.dates a.tk:hover { color: var(--acc-ink); }
@media (max-width: 760px) { .dates > div { grid-template-columns: 1fr auto; } .dates .d { grid-column: 1 / -1; } }
.prog { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.prog > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) 90px; gap: 4px 20px; padding: 12px 0; border-bottom: 1px solid var(--line2); align-items: baseline; font-size: 15px; }
.prog .w { color: var(--fg2); }
.prog .tag { font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.prog .tag.pr { color: var(--acc-ink); }
@media (max-width: 760px) { .prog > div { grid-template-columns: 1fr auto; } .prog .w { grid-column: 1; } }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px; border: 1px solid var(--line); }
.dl span:first-child { font-size: 15px; color: var(--fg); }
.dl span:last-child { font-family: var(--mono); font-size: 14px; color: var(--acc-ink); }
.logos { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.logos .txt { font-size: 14px; line-height: 1.7; }
.logos .imgs { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.logos .imgs img { height: 44px; width: auto; }

/* 2-click video */
.video { aspect-ratio: 16 / 9; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.video .consent { max-width: 360px; font-size: 12px; line-height: 1.6; color: var(--fg3); }
.video .consent a { text-decoration: underline; text-underline-offset: 3px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { width: 56px; height: 56px; font-size: 18px; }

/* ---------- media ---------- */
.player { border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; }
.player-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.player-top .meta { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.player-top .ttl { font-size: 24px; }
.player-note { margin: 0; font-family: var(--body-font); font-weight: var(--body-weight); font-size: calc(var(--body) - 3px); line-height: 1.8; color: var(--fg2); max-width: 680px; }
.track { display: grid; grid-template-columns: 40px minmax(0, 1.4fr) minmax(0, 1fr) 64px; gap: 20px; align-items: center; min-height: 72px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line2); background: transparent; color: var(--fg); text-align: left; cursor: pointer; width: 100%; }
.track .n { font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.track[aria-current="true"] .n { color: var(--acc-ink); }
.track .ttl { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.track .dur { font-family: var(--mono); font-size: 14px; color: var(--fg3); text-align: right; }
@media (max-width: 760px) { .track { grid-template-columns: 32px minmax(0, 1fr) 52px; } .track .bars-row { display: none; } }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.videos article { display: flex; flex-direction: column; gap: 10px; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.photos figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.photos figcaption { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--fg3); }

/* ---------- repertoire ---------- */
.stats { display: flex; gap: 40px; font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.stats b { display: block; font-family: var(--sans); font-weight: 400; font-size: 32px; color: var(--fg); }
.stats b.acc { color: var(--acc-ink); }
.search { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.search input { width: 240px; max-width: 60vw; min-height: 44px; padding: 0 12px; background: transparent; border: 1px solid var(--line); color: var(--fg); font-family: var(--sans); font-size: 14px; }
.az { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.az button { min-width: 36px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--fg); font-family: var(--mono); font-size: 15px; cursor: pointer; }
.az button.all { min-width: 52px; padding: 0 8px; font-size: 12px; color: var(--fg3); }
.az button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.az button:disabled { color: var(--line); cursor: default; }
.rep-scroll { overflow-x: auto; }
.rep-table { min-width: 680px; display: flex; flex-direction: column; }
.rep-head, .rep-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) 64px 140px; gap: 16px; }
.rep-head { gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--fg); font-family: var(--mono); font-size: 13px; color: var(--fg3); }
.rep-row { padding: 7px 0; border-top: 1px solid transparent; align-items: baseline; font-size: 14px; }
.rep-row.first { border-top-color: var(--line); }
.rep-row .l { font-size: 18px; color: var(--acc-ink); }
.rep-row .w { color: var(--fg2); }
.rep-row .m { font-family: var(--mono); font-size: 14px; color: var(--fg3); }
.rep-row .m.pr { color: var(--acc-ink); }
.formats { border-top: 1px solid var(--fg); padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.formats-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; }
.formats-head p { margin: 0; font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--fg2); }
.fm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fm-grid { grid-template-columns: 1fr; } }
.fm { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.fm h3 { font-weight: 400; font-size: 20px; line-height: 1.3; }
.fm p { margin: 0; font-weight: 300; font-size: 14px; line-height: 1.7; color: var(--fg2); }
.fm .mlink { margin-top: auto; }

/* ---------- contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact > .info { flex: 1 1 300px; font-family: var(--mono); font-size: 15px; line-height: 2; color: var(--fg2); }
.contact form { flex: 999 1 420px; display: flex; flex-direction: column; gap: 16px; }
.contact label { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--fg3); }
.contact input, .contact textarea { min-height: 44px; padding: 0 12px; background: transparent; border: 1px solid var(--line); color: var(--fg); font: inherit; font-size: 14px; }
.contact textarea { padding: 12px; resize: vertical; }
.contact .hp { position: absolute; left: -9999px; }
.send { min-height: 44px; padding: 0 24px; border: 0; background: var(--acc); color: var(--onacc); font-size: 14px; font-weight: 500; cursor: pointer; }
.form-note { font-size: 12px; line-height: 1.6; color: var(--fg3); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.alert { padding: 12px 16px; border: 1px solid var(--acc-ink); font-size: 14px; }
.legal { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.legal.last { border-bottom: 1px solid var(--line); }
.legal > summary { list-style: none; min-height: 64px; padding: 12px 0; display: grid; grid-template-columns: 1fr auto 32px; gap: 16px; align-items: baseline; cursor: pointer; }
.legal > summary::-webkit-details-marker { display: none; }
.legal .t { font-weight: 400; font-size: 28px; }
.legal .ico { font-family: var(--mono); font-size: 20px; color: var(--fg3); text-align: right; }
.legal .ico::before { content: '+'; }
.legal[open] .ico { color: var(--acc-ink); }
.legal[open] .ico::before { content: '−'; }
.imp { margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line2); border: 1px solid var(--line2); }
.imp > div { background: var(--bg); padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.imp dt { font-size: 11px; color: var(--fg3); }
.imp dd { margin: 0; font-size: 13px; line-height: 1.7; white-space: pre-line; }
.ds { display: flex; flex-direction: column; gap: 20px; padding-bottom: 24px; }
.ds-sec { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line2); }
.ds-sec > .n { font-family: var(--mono); font-size: 14px; color: var(--acc-ink); padding-top: 4px; }
.ds-sec > div { display: flex; flex-direction: column; gap: 10px; max-width: 760px; min-width: 0; overflow-wrap: anywhere; }
.ds-sec h3 { font-weight: 400; font-size: 15px; }
.ds-sec h4 { margin: 8px 0 0; font-weight: 400; font-size: 13px; color: var(--fg); }
.ds-sec p, .ds-sec li { margin: 0; font-weight: 300; font-size: 13px; line-height: 1.75; color: var(--fg2); }
.ds-sec ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ds-sec li { padding-left: 18px; text-indent: -18px; }
.ds-sec li::before { content: '–  '; white-space: pre; }
.ds-sec strong { font-weight: 500; color: var(--fg); }
.ds-sec a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .ds-sec { grid-template-columns: 1fr; gap: 6px; } }

/* coming soon */
.soon { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-top: 80px; padding-bottom: 80px; }

/* ---------- paper redesign: hero listen button, upcoming as a list ---------- */
.hero-top { color: var(--fg2); font-size: 15px; }
.hero-lead { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.listen-btn { min-height: 44px; padding: 0 20px 0 16px; border: 0; border-radius: 22px; background: var(--acc); color: var(--onacc); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.listen-btn:disabled { opacity: .45; cursor: default; }
.text-btn { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--fg3); font-size: 14px; cursor: pointer; }
.text-btn:hover { color: var(--fg); }
.hero-sub .based { font-size: 15px; color: var(--fg3); }
.uplist { display: flex; flex-direction: column; }
.uprow { display: grid; grid-template-columns: minmax(150px, 220px) 1fr auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); color: var(--fg); }
.uprow:last-child { border-bottom: 1px solid var(--line); }
.uprow .d { font-size: 15px; color: var(--acc-ink); }
.uprow .b { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.uprow .t { font-size: 26px; line-height: 1.2; }
.uprow:hover .t { color: var(--acc-ink); }
.uprow .x { font-size: 15px; color: var(--fg2); line-height: 1.6; max-width: 640px; }
.uprow .w, .uprow .k { font-size: 14px; color: var(--fg3); }
@media (max-width: 760px) { .uprow { grid-template-columns: 1fr; gap: 6px; } .uprow .t { font-size: 22px; } }
.miniplayer { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
