/* ══════════════════════════════════════════════════════════════
   seungjinpark.work — 프로필 사이트 스타일
   Stock Hub 디자인 언어(docs/HANDOFF_DESIGN.md)의 확장:
     · 무채 기반 + 의미색 1개(--accent = 대시보드의 --red)
     · 라이트 frosted 스티키 헤더 / 표는 세로선·밴드헤더 없음
     · Pretendard, tabular-nums
   대시보드와 나란히 놓았을 때 같은 사람이 만든 것으로 보여야 한다.
   차이점은 의도적이다 — 여기는 데이터 화면이 아니라 읽는 화면이라 스케일이 크다.
   ══════════════════════════════════════════════════════════════ */

:root {
  /* 무채 — 대시보드 토큰 그대로 */
  --ink: #1d1d1f;
  --ink2: #55555a;
  --ink3: #86868b;
  --ink4: #aeaeb2;
  --bg: #fbfbfd;
  --panel: #ffffff;
  --hair: #e8e8ec;
  --hair2: #d9d9de;
  --tint: #f4f4f6;
  --accent: #d0222c;
  --accent-soft: rgba(208, 34, 44, 0.08);

  --glass: rgba(251, 251, 253, 0.82);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.06), 0 18px 48px rgba(0, 0, 0, 0.1);

  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
    "SF Pro KR", "Apple SD Gothic Neo", "Segoe UI", "Malgun Gothic", sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --maxw: 1180px;
  --pad: 28px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f2f2f4;
    --ink2: #b8b8bf;
    --ink3: #8a8a92;
    --ink4: #63636b;
    --bg: #0d0d0f;
    --panel: #161619;
    --hair: #26262b;
    --hair2: #33333a;
    --tint: #1c1c20;
    --accent: #ff5a63;
    --accent-soft: rgba(255, 90, 99, 0.12);
    --glass: rgba(13, 13, 15, 0.82);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 28px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 48px rgba(0, 0, 0, 0.5);
  }
}
:root[data-theme="dark"] {
  --ink: #f2f2f4;
  --ink2: #b8b8bf;
  --ink3: #8a8a92;
  --ink4: #63636b;
  --bg: #0d0d0f;
  --panel: #161619;
  --hair: #26262b;
  --hair2: #33333a;
  --tint: #1c1c20;
  --accent: #ff5a63;
  --accent-soft: rgba(255, 90, 99, 0.12);
  --glass: rgba(13, 13, 15, 0.82);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 28px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.5), 0 18px 48px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 스티키 헤더(56px) 아래로 앵커가 숨지 않게 */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-soft); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* 본문 링크는 밑줄이 기본 — 프로필 사이트에서 링크를 놓치면 손해다 */
.prose a,
a.inline {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2.5px;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transition: text-decoration-color 0.15s;
}
.prose a:hover,
a.inline:hover { text-decoration-color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* 언어 토글 — 두 언어가 DOM 에 다 있고 표시만 바꾼다.
   JS 없이도(=크롤러에게도) 두 언어가 다 읽힌다. */
:root[data-lang="en"] [lang="ko"],
:root[data-lang="ko"] [lang="en"] { display: none; }

/* 스크린리더 전용 */
.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--panel); color: var(--ink);
  padding: 10px 16px; border-radius: 8px; border: 1px solid var(--hair2);
  font-weight: 600; font-size: 13px; transition: top 0.18s;
}
.skip:focus { top: 8px; }

/* ── 헤더 ───────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 60;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 0.5px solid var(--hair);
}
.top-in {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: 56px; display: flex; align-items: center; gap: 20px;
}
.brand {
  font-size: 14.5px; font-weight: 800; letter-spacing: -0.025em;
  white-space: nowrap; transition: opacity 0.15s;
}
.brand:hover { opacity: 0.55; }
.brand .dim { color: var(--ink3); font-weight: 500; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a {
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink3); white-space: nowrap;
  padding: 4px 0; position: relative; transition: color 0.18s;
}
.nav a:hover { color: var(--ink); }
.nav a.on { color: var(--ink); }
.nav a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--ink); border-radius: 2px;
}

.ctrls { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.ctrl {
  appearance: none; border: 1px solid var(--hair2); background: var(--panel);
  color: var(--ink2); border-radius: 7px; cursor: pointer;
  font: 600 12px/1 var(--font); letter-spacing: 0.01em;
  height: 30px; padding: 0 9px;
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.ctrl:hover { color: var(--ink); border-color: var(--ink4); }
.ctrl .sep { color: var(--ink4); font-weight: 400; }
.ctrl .cur { color: var(--ink); }
.ctrl svg { width: 14px; height: 14px; }

/* 모바일: 내비를 가로 스크롤로 (햄버거 메뉴를 만들 만큼 항목이 많지 않다) */
@media (max-width: 720px) {
  :root { --pad: 18px; }
  .top-in { gap: 12px; height: 52px; }
  .nav { gap: 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 12.5px; }
  .ctrl { padding: 0 7px; font-size: 11.5px; }
}
@media (max-width: 560px) {
  .brand { font-size: 13px; }
  .brand .dim { display: none; }
}

/* 375px 에서 브랜드(118px) + 탭 4개(216px) + 컨트롤(98px)은 물리적으로 안 들어간다.
   탭이 잘려 "Home Research To…" 로 보이느니 브랜드를 접는다 —
   이름은 바로 아래 히어로에 크게 있고, 탭의 Home 이 같은 곳으로 간다. */
@media (max-width: 480px) {
  .brand { display: none; }
  .nav { margin-left: 0; }
}

/* ── 히어로 ─────────────────────────────────────────────── */
.hero { padding: 92px 0 68px; }
.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(38px, 7.2vw, 68px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
}
.hero .han {
  font-size: clamp(16px, 2.4vw, 21px); font-weight: 600;
  color: var(--ink3); letter-spacing: -0.02em; margin: 0 0 26px;
}
.hero .lede {
  font-size: clamp(17px, 2.3vw, 22px); line-height: 1.5;
  letter-spacing: -0.02em; font-weight: 500;
  max-width: 27em; margin: 0 0 18px; color: var(--ink);
  text-wrap: balance;
}
.hero .sub {
  font-size: 15.5px; color: var(--ink2); max-width: 40em; margin: 0 0 30px;
  line-height: 1.7;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--ink2); background: var(--tint);
  border: 1px solid var(--hair); border-radius: 999px;
  padding: 6px 13px; transition: all 0.15s;
}
a.chip:hover { color: var(--ink); border-color: var(--ink4); background: var(--panel); }
.chip.go { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
a.chip.go:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.chip .arw { font-size: 11px; opacity: 0.7; }

/* ── 섹션 공통 ──────────────────────────────────────────── */
section { padding: 62px 0; border-top: 1px solid var(--hair); }
section:first-of-type { border-top: 0; }

.sechead {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.sechead h2 {
  margin: 0; font-size: 13px; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink);
}
.sechead .note { font-size: 12.5px; color: var(--ink3); margin-left: auto; }

.lead {
  font-size: 17px; line-height: 1.6; letter-spacing: -0.015em;
  max-width: 34em; margin: -12px 0 34px; color: var(--ink2);
  text-wrap: pretty;
}

/* ── 작품 그리드 ────────────────────────────────────────── */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 780px) { .works { grid-template-columns: 1fr; gap: 22px; } }

.work {
  appearance: none; text-align: left; padding: 0; border: 0;
  background: none; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column;
}
.work .shot {
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--tint); border: 1px solid var(--hair);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.work .shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.work:hover .shot { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.work:hover .shot img { transform: scale(1.028); }

/* 이미지가 아직 없는 작품 — 빈 카드를 정직하게 비워 둔다 */
.work .shot.empty {
  display: flex; align-items: center; justify-content: center;
  border-style: dashed; box-shadow: none;
}
.work .shot.empty span {
  font-size: 12.5px; color: var(--ink4); font-weight: 600; letter-spacing: 0.02em;
}
.work:hover .shot.empty { transform: none; box-shadow: none; }

.work .meta { padding: 15px 2px 0; }
.work .yr {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink3); text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.work h3 {
  margin: 5px 0 5px; font-size: 19px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.25;
}
.work p { margin: 0; font-size: 13.5px; color: var(--ink2); line-height: 1.55; }
.work .tags { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink3); border: 1px solid var(--hair2);
  border-radius: 5px; padding: 2.5px 7px;
}
.tag.hl { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

/* ── 툴 목록 ────────────────────────────────────────────── */
.tools { display: flex; flex-direction: column; gap: 0; }
.tool {
  display: grid; grid-template-columns: 1fr auto; gap: 18px 24px;
  align-items: start; padding: 24px 0; border-top: 1px solid var(--hair);
}
.tool:first-child { border-top: 0; padding-top: 4px; }
.tool h3 {
  margin: 0 0 6px; font-size: 19px; font-weight: 700; letter-spacing: -0.025em;
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.tool p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink2); max-width: 46em; }
.tool .stack { display: flex; flex-wrap: wrap; gap: 6px; }
.tool .act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
@media (max-width: 640px) {
  .tool { grid-template-columns: 1fr; gap: 12px; }
  .tool .act { flex-direction: row; flex-wrap: wrap; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
  color: var(--ink); background: var(--panel);
  border: 1px solid var(--hair2); border-radius: 8px;
  padding: 8px 15px; white-space: nowrap;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover { border-color: var(--ink4); box-shadow: var(--shadow-card); }
.btn:active { transform: translateY(1px); }
.btn .arw { font-size: 12px; color: var(--ink3); transition: transform 0.18s; }
.btn:hover .arw { transform: translate(2px, -2px); }

.status {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  padding: 2.5px 8px; border-radius: 999px; text-transform: uppercase;
}
.status.live { color: #1d7a34; background: #e9f6ed; }
.status.wip { color: #b25000; background: #fdf1e4; }
:root[data-theme="dark"] .status.live,
:root:not([data-theme="light"]) .status.live { }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .status.live { color: #6ee08a; background: rgba(29, 122, 52, 0.2); }
  :root:not([data-theme="light"]) .status.wip { color: #f0a75e; background: rgba(178, 80, 0, 0.2); }
}
:root[data-theme="dark"] .status.live { color: #6ee08a; background: rgba(29, 122, 52, 0.2); }
:root[data-theme="dark"] .status.wip { color: #f0a75e; background: rgba(178, 80, 0, 0.2); }

/* ── 리서치 표 (대시보드 .dt 규칙: 세로선·밴드헤더 없음) ── */
/* 리서치 표는 좁은 화면에서 좌우로 밀어 읽는다 — 그건 의도된 동작이다.
   문제는 그 폭이 **문서 전체를 밀어서** 헤더까지 잘려 나가는 것이었다(모바일 실측).
   `overflow-x:auto` 만으로는 부족하다 — 스크롤은 되는데 조상의 scrollWidth 에는
   여전히 880px 이 잡히고, iOS Safari 는 그 값을 보고 레이아웃 뷰포트를 넓혀 패닝을 허용한다.
   `contain` 이 이 상자를 격리 경계로 선언해서 바깥 계산에서 빠지게 한다.
   ※ overflow-x:hidden / clip 을 조상에 거는 방법은 실측에서 효과가 없었다(838 그대로). */
.twrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  contain: layout paint;
  max-width: 100%;
}
table.dt {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px; font-variant-numeric: tabular-nums;
  min-width: 620px;
}
table.dt th {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink3);
  text-align: left; padding: 0 12px 8px 0;
  border-bottom: 1px solid var(--ink); white-space: nowrap;
}
table.dt td {
  padding: 11px 12px 11px 0; border-bottom: 1px solid var(--hair);
  vertical-align: top;
}
table.dt tr:last-child td { border-bottom: 0; }
table.dt tbody tr { transition: background 0.12s; }
table.dt tbody tr:hover { background: var(--tint); }
table.dt .co { font-weight: 700; letter-spacing: -0.015em; }
table.dt .tk {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink3);
  display: block; margin-top: 1px; letter-spacing: -0.01em;
}
table.dt .dt-date { color: var(--ink3); font-size: 12.5px; white-space: nowrap; }
table.dt .thesis { color: var(--ink2); line-height: 1.5; }
table.dt .venue { color: var(--ink3); font-size: 12.5px; white-space: nowrap; }

.call {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em;
  padding: 2.5px 8px; border-radius: 5px; white-space: nowrap;
  text-transform: uppercase; border: 1px solid var(--hair2); color: var(--ink2);
  display: inline-block;
}
.call.buy { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-soft); }
.call.hold { color: var(--ink3); }
.call.ind { color: var(--ink3); border-style: dashed; }

/* ── 리서치 표 ── */
table.dt.rt { min-width: 880px; }
/* 우측정렬 열도 다음 열과의 간격은 남긴다 — padding-right:0 으로 죽였더니
   목표주가와 기관이 붙어서 '₩52,900SMIC' 처럼 읽혔다. 0 은 마지막 열에만. */
table.dt th.r, table.dt td.r { text-align: right; padding-right: 22px; }
table.dt tr > .r:last-child { padding-right: 0; }
table.dt.rt th:last-child, table.dt.rt td:last-child { width: 1%; }

/* 기업명 아래 한 줄 논지. 표를 읽으면서 "왜 그렇게 봤나"까지 잡히게 —
   이게 없으면 목표주가 숫자만 남아서 리포트를 열기 전엔 아무것도 알 수 없다. */
table.dt .hook {
  display: block; margin-top: 5px; max-width: 46em;
  font-size: 12.5px; line-height: 1.55; color: var(--ink2);
  font-variant-numeric: normal;
}
table.dt .tp { display: block; font-weight: 700; letter-spacing: -0.015em; white-space: nowrap; }
table.dt .up { display: block; margin-top: 1px; font-size: 11.5px; color: var(--accent); }
table.dt .up.dim { color: var(--ink3); }

/* 상단 굵은 선으로 구분되는 행 — 여기서는 SMIC 묶음과 메리츠 리포트의 경계 */
table.dt tr.sep td { border-top: 2px solid var(--ink); padding-top: 15px; }

a.pdf {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink2); border: 1px solid var(--hair2); border-radius: 6px;
  padding: 4px 10px; white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
a.pdf::after { content: "↓"; font-size: 10px; opacity: 0.65; }
a.pdf:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }

.tfoot { font-size: 12px; color: var(--ink3); margin-top: 18px; line-height: 1.6; max-width: 62em; }
.tfoot strong { color: var(--ink2); }

/* ── CV ─────────────────────────────────────────────────── */
.cv { display: grid; grid-template-columns: 148px 1fr; gap: 0 30px; }
@media (max-width: 720px) { .cv { grid-template-columns: 1fr; gap: 0; } }

.cv h3 {
  grid-column: 1; margin: 0; padding: 26px 0 0;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink3);
}
.cv .grp {
  grid-column: 2; padding: 26px 0; border-top: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 22px;
}
@media (max-width: 720px) {
  .cv h3 { padding: 26px 0 8px; border-top: 1px solid var(--hair); }
  .cv .grp { grid-column: 1; padding: 0 0 22px; border-top: 0; }
}
.cv h3:first-of-type, .cv h3:first-of-type + .grp { border-top: 0; padding-top: 4px; }
@media (max-width: 720px) { .cv h3:first-of-type { border-top: 0; } }

.item .row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 3px;
}
.item .t { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.item .when {
  margin-left: auto; font-size: 12px; color: var(--ink3);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (max-width: 520px) { .item .when { margin-left: 0; } }
.item .role { font-size: 13.5px; color: var(--ink2); margin-bottom: 7px; }
.item ul { margin: 0; padding-left: 17px; }
.item li {
  font-size: 13.5px; color: var(--ink2); line-height: 1.6;
  margin-bottom: 4px; padding-left: 2px;
}
.item li::marker { color: var(--ink4); }

.skills { display: flex; flex-wrap: wrap; gap: 7px; }

/* ── 컨택트 / 푸터 ──────────────────────────────────────── */
.contact { padding: 62px 0 22px; border-top: 1px solid var(--hair); }
.contact h2 {
  margin: 0 0 10px; font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
}
.contact p { margin: 0 0 24px; font-size: 15.5px; color: var(--ink2); max-width: 34em; }
.contact .mail {
  font-size: clamp(18px, 3.2vw, 26px); font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); border-bottom: 2px solid var(--hair2);
  padding-bottom: 2px; transition: border-color 0.18s, color 0.18s;
}
.contact .mail:hover { color: var(--accent); border-color: var(--accent); }

footer {
  padding: 34px 0 46px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 12px; color: var(--ink3);
}
footer .r { margin-left: auto; display: flex; gap: 16px; }
footer a:hover { color: var(--ink); }

/* ── 작품 상세 라이트박스 ───────────────────────────────── */
.sheet {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: flex-start; justify-content: center;
  padding: 0; background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet.on { display: flex; animation: fade 0.2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.sheet-in {
  background: var(--bg); width: min(940px, 100%);
  min-height: 100%; padding: 0 0 60px;
  animation: rise 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sheet-top {
  position: sticky; top: 0; z-index: 2;
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 0.5px solid var(--hair);
  height: 54px; display: flex; align-items: center;
  padding: 0 var(--pad); gap: 14px;
}
.sheet-top .lab {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink3);
}
.sheet-close {
  margin-left: auto; appearance: none; border: 1px solid var(--hair2);
  background: var(--panel); color: var(--ink2); cursor: pointer;
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; line-height: 1; transition: color 0.15s, border-color 0.15s;
}
.sheet-close:hover { color: var(--ink); border-color: var(--ink4); }

.sheet-body { padding: 34px var(--pad) 0; }
.sheet-body .yr {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink3);
  font-variant-numeric: tabular-nums;
}
.sheet-body h2 {
  margin: 7px 0 14px; font-size: clamp(26px, 4.4vw, 40px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
}
.sheet-body .tags { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.sheet-doc { margin-bottom: 26px; }
.sheet-doc:empty { margin-bottom: 8px; }
.prose { font-size: 15.5px; line-height: 1.75; color: var(--ink2); max-width: 40em; }
.prose p { margin: 0 0 15px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose dl { margin: 22px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 7px 20px; font-size: 13.5px; }
.prose dt { font-weight: 700; color: var(--ink3); white-space: nowrap; }
.prose dd { margin: 0; color: var(--ink2); }
.sheet-shots { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.sheet-shots img {
  width: 100%; border-radius: 10px; border: 1px solid var(--hair);
  background: var(--tint);
}

/* 접근성 — 움직임 최소화 요청은 존중 (대시보드 규약과 동일) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .work:hover .shot { transform: none; }
  .work:hover .shot img { transform: none; }
}

/* 인쇄 — 이력서로 뽑을 수 있게 (크롬·라이트박스 제거) */
@media print {
  .top, .sheet, .contact .mail, footer .r, .ctrls { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  section { padding: 18px 0; break-inside: avoid; }
  .hero { padding: 0 0 24px; }
  .work .shot { break-inside: avoid; }
  a { text-decoration: none; }
}
