/* henderson.kr — 검정 + 올리브 금색, 소개 이미지의 대각선 분할을 모티프로 */

:root {
  --ink: #161616;
  --ink-2: #1f1f1f;
  --ink-3: #2a2a2a;
  --line: #3a3832;
  --gold: #98894b;
  --gold-hi: #c2b06a;
  --gold-lo: #6f6436;
  --paper: #ece8dc;
  --mute: #9a968a;
  --red: #c94a3a;

  --serif-ko: "Noto Serif KR", serif;
  --serif-en: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.dim { color: var(--mute); }
.tag, .sec__no, .roles dt, .works__kind, .week__day, .bar__brand span, .live, .now__label, .dossier__photo figcaption {
  font-family: var(--mono);
  letter-spacing: .08em;
}

/* ── 상단 바 ─────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 var(--gutter);
  background: rgba(22, 22, 22, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.bar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.bar__brand img { width: 28px; height: 28px; }
.bar__brand span { font-size: 13px; font-weight: 500; }
.bar__nav { display: flex; gap: 28px; margin-left: auto; }
.bar__nav a { text-decoration: none; font-size: 14px; color: var(--mute); transition: color .15s; }
.bar__nav a:hover { color: var(--paper); }

.live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; font-size: 12px; font-weight: 500;
  color: var(--ink); background: var(--gold-hi);
  text-decoration: none;
}
.live[hidden] { display: none; }
.live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ── 히어로 ─────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: min(calc(100svh - 60px), 980px);
  max-width: 1440px; margin: 0 auto;
  overflow: hidden;
}
.hero__text {
  position: relative; z-index: 2;
  align-self: center;
  padding: 64px 0 64px var(--gutter);
}
.tag { margin: 0 0 20px; font-size: 13px; color: var(--gold); }
.hero__name { margin: 0; line-height: 1; }
.hero__ko {
  display: block;
  font: 800 clamp(64px, 10vw, 136px)/1 var(--serif-ko);
  letter-spacing: -.02em;
}
.hero__en {
  display: block; margin-top: 10px;
  font: italic 500 clamp(28px, 3.4vw, 44px)/1 var(--serif-en);
  color: var(--gold-hi);
}
.hero__quote {
  margin: 28px 0 40px;
  font: 500 20px/1.4 var(--serif-ko);
  color: var(--mute);
}

.roles { margin: 0 0 40px; display: grid; gap: 20px; max-width: 30em; }
.roles div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.roles dt { font-size: 12px; color: var(--gold); padding-top: 4px; text-transform: uppercase; }
.roles dd { margin: 0; color: #d6d2c6; }
.roles a { color: var(--gold-hi); text-underline-offset: 3px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px;
  border: 1px solid var(--paper); color: var(--paper);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }

.now { margin-top: 28px; display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--red); }
.now[hidden] { display: none; }
.now__label { font-size: 11px; color: var(--red); }
.now__title { text-decoration: none; font-weight: 600; }
.now__title:hover { text-decoration: underline; }

.hero__art { position: relative; align-self: end; margin-left: -18%; }
.hero__art img { width: 100%; max-height: min(calc(100svh - 60px), 980px); object-fit: contain; object-position: right bottom; }

/* ── 섹션 공통 ─────────────────────────── */
.sec {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter) 0;
}
.sec__head {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px;
  padding-bottom: 20px; margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.sec__no { font-size: 13px; color: var(--gold); }
.sec__head h2 { margin: 0; font: 800 clamp(30px, 4vw, 44px)/1.1 var(--serif-ko); }
.sec__sub { margin: 0 0 0 auto; color: var(--mute); font-size: 14px; }
.sec__sub em { font: italic 500 17px var(--serif-en); color: var(--gold-hi); }

/* ── 소개 ─────────────────────────── */
.dossier { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.dossier__photo { margin: 0; }
.dossier__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%); }
.dossier__photo figcaption { margin-top: 10px; font-size: 11px; color: var(--mute); }

.dossier__table { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.dossier__table div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dossier__table dt { color: var(--mute); font-size: 14px; }
.dossier__table dd { margin: 0; font-weight: 500; }

.notice {
  margin-top: 40px; padding: 18px 22px;
  display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap;
  background: var(--ink-2); border-left: 3px solid var(--gold);
}
.notice strong { color: var(--gold-hi); font-size: 14px; }
.notice p { margin: 0; color: #d6d2c6; }

/* ── 방송 시간표 ─────────────────────────── */
.week { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.week li {
  display: grid; grid-template-columns: 72px 96px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 18px 12px; border-bottom: 1px solid var(--line);
}
.week__day { font-size: 13px; color: var(--mute); }
.week__date { font-size: 14px; color: var(--mute); font-variant-numeric: tabular-nums; }
.week__topic { font-weight: 600; font-size: 17px; }
.week__time { font-family: var(--mono); font-size: 13px; color: var(--gold-hi); }
.week li.is-off .week__topic { color: var(--mute); font-weight: 400; }
.week li.is-today { background: linear-gradient(100deg, rgba(152,137,75,.18), rgba(152,137,75,0) 70%); }
.week li.is-today .week__day { color: var(--gold-hi); }
.week li.is-today .week__day::after { content: " ·오늘"; }
.week__empty { display: block !important; color: var(--mute); }
.week__note { margin: 20px 0 0; color: #d6d2c6; white-space: pre-line; }
.week__note:empty { display: none; }
.week__foot { margin: 16px 0 0; font-size: 14px; color: var(--mute); }
.week__foot a { color: var(--gold-hi); text-underline-offset: 3px; }

/* ── 작업 ─────────────────────────── */
.works { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.works a {
  display: grid; grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1.4fr) 32px; align-items: baseline; gap: 20px;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; transition: background .2s, padding .2s;
}
.works a:hover { background: var(--ink-2); padding-left: 20px; }
.works__kind { font-size: 12px; color: var(--gold); text-transform: uppercase; }
.works__name { font: 600 22px/1.3 var(--serif-ko); }
.works__name i { font: italic 500 18px var(--serif-en); color: var(--gold-hi); margin-left: 6px; }
.works__desc { color: var(--mute); }
.works__go { justify-self: end; color: var(--gold); transition: transform .2s; }
.works a:hover .works__go { transform: translateX(4px); }

/* ── 링크 ─────────────────────────── */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 16px; }
.links a {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 12px 16px; text-decoration: none;
  border: 1px solid var(--line); transition: border-color .15s, transform .15s;
}
.links a:hover { border-color: var(--gold); transform: translateY(-2px); }
.links img { width: 72px; height: 72px; }
.links .links__logo { padding: 10px; background: var(--ink-3); border-radius: 16px; }
.links__chzzk {
  display: grid; place-items: center; width: 72px; height: 72px;
  border-radius: 16px; background: var(--ink-3);
  font: 700 13px var(--mono); letter-spacing: .04em; color: var(--gold);
}
.links span:last-child { font-size: 14px; }

/* ── 푸터 ─────────────────────────── */
.foot {
  margin-top: clamp(96px, 12vw, 160px);
  padding: 48px var(--gutter);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.foot img { width: 40px; height: 40px; opacity: .8; }
.foot p { margin: 0; }
.foot .dim { margin-left: auto; }

/* ── 반응형 ─────────────────────────── */
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .live { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 48px var(--gutter) 24px; order: 2; }
  .hero__art { order: 1; margin: 0; max-height: 64svh; overflow: hidden; }
  .hero__art img { max-height: none; object-position: center top; }
  .dossier { grid-template-columns: 1fr; }
  .dossier__photo { max-width: 280px; }
  .dossier__table { grid-template-columns: 1fr; }
  .works a { grid-template-columns: 1fr 24px; gap: 6px 12px; }
  .works__kind { grid-column: 1 / -1; }
  .works__desc { grid-column: 1; }
  .works__go { grid-row: 2; grid-column: 2; }
  .sec__sub { margin-left: 0; width: 100%; }
}
@media (max-width: 560px) {
  .week li { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 16px 4px; }
  .week__date { display: none; }
  .roles div { grid-template-columns: 1fr; gap: 4px; }
  .foot .dim { margin-left: 0; width: 100%; }
}

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