/* =====================================================================
 * 포트폴리오 스타일시트 — v2
 * 디자인 언어: 라이트 테마 · 코발트 블루 포인트 · 텍스트 중심 이력서형
 *  - 타이포 위계: 32px(핵심 성과) > 20px(제목) > 15px(본문) > 13px(라벨·태그)
 *  - 흰색 ↔ 연회색(#f8f9fc) 밴드 교차, 1040px 컨테이너
 *  - 본문 IBM Plex Sans KR · 숫자/기간 JetBrains Mono
 * ===================================================================== */

:root {
  --accent: #2451e6;
  --accent-hover: #1d43c4;
  --accent-soft: #f6f8fe;
  --accent-border: #d8ddef;
  --text: #111111;
  --text-2: #3d4354;
  --text-3: #5a6072;
  --text-4: #6d7385;      /* 소형 라벨용 — WCAG AA 대비 확보 */
  --text-faint: #6d7385;
  --text-ghost: #767c8c;
  --border: #ececf1;
  --border-2: #e6e8f0;
  --border-3: #eef0f6;
  --band: #f8f9fc;
  --chip-bg: #f2f4fa;
  --dark: #111420;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "IBM Plex Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 60px 0; }
.band {
  background: var(--band);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* 섹션 아이브로우 라벨 */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.eyebrow-hint { font-size: 13px; color: var(--text-ghost); }

/* ===================== 내비게이션 ===================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.progress-track { height: 3px; background: #f0f1f5; }
.progress-bar {
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.1s linear;
}
.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
}
.nav-logo {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo .nav-sub {
  font-weight: 500;
  color: var(--text-faint);
  font-size: 13px;
  margin-left: 6px;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-3);
}
.nav-links a { color: var(--text-3); transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: var(--accent-hover); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  margin: 4px 0;
  border-radius: 2px;
}

/* ===================== HERO / 소개 ===================== */
#about { padding: 76px 0 64px; }
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-soft);
}
.hero-title {
  margin: 22px 0 0;
  font-size: 44px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
.hero-title strong { color: var(--accent); font-weight: 700; }
.hero-lead {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: #4b5163;
  max-width: 640px;
}
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-stat .value {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
}
.hero-stat .value .unit { font-size: 18px; color: var(--accent); margin-left: 2px; }
.hero-stat .label {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-4);
}

/* ===================== 핵심 경력 ===================== */
.career-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  margin-top: 22px;
}
.career-org { font-size: 20px; font-weight: 600; color: var(--text); }
.career-team { margin-top: 6px; font-size: 13.5px; color: var(--text-3); }
.career-period {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-4);
}
.career-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.career-tags span {
  padding: 5px 11px;
  background: #fff;
  border: 1px solid #dfe3ee;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.career-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ===================== 기술 ===================== */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.skill-group {
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 20px 22px;
  background: #fff;
}
.skill-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.sk-scope {
  padding: 2px 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
}
.skill-list {
  list-style: none;
  margin-top: 10px;
}
.skill-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-3);
  margin-top: 6px;
}
.skill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-border);
}
.skill-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.skill-tags span {
  padding: 4px 10px;
  background: var(--chip-bg);
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
}

/* ===================== 프로젝트 (아코디언 카드) ===================== */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}
.pj-card {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  overflow: hidden;
}
.pj-head {
  padding: 26px 30px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: background 0.15s;
}
.pj-head:hover, .pj-head:focus-visible { background: #fbfcff; }
.pj-head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pj-cat {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}
.pj-cat.muted { color: var(--text-4); }
.pj-title {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.pj-kpi {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.3;
}
.pj-kpi .kpi-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-ghost);
  margin-left: 8px;
  letter-spacing: 0;
}
.pj-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pj-tags span {
  padding: 5px 11px;
  background: var(--chip-bg);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.pj-toggle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.pj-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.pj-card.open .pj-body { grid-template-rows: 1fr; }
/* 접힘 상태에서는 내부 버튼이 탭 순서·스크린리더에 노출되지 않도록 숨김
   (visibility 전환을 접힘 애니메이션이 끝난 뒤로 지연) */
.pj-body-clip { overflow: hidden; visibility: hidden; transition: visibility 0s 0.35s; }
.pj-card.open .pj-body-clip { visibility: visible; transition: visibility 0s; }
.pj-body-inner {
  padding: 0 30px 26px;
  border-top: 1px solid var(--border-3);
}
.pj-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 20px;
}
.pj-summary .col-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
}
.pj-summary p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
}
.pj-more {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.pj-more:hover { background: var(--accent-hover); }

/* ---------- 사이드 프로젝트 (루키즈 조별) ---------- */
#side-projects-content { margin-top: 44px; }
.side-head h3 { font-size: 16px; font-weight: 600; color: var(--text); }
.side-head p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-3);
  max-width: 720px;
}
.side-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.side-item {
  background: #fff;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 20px 22px;
}
.side-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.side-top h4 { font-size: 14.5px; font-weight: 600; color: var(--text); }
.side-period {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-ghost);
  white-space: nowrap;
}
.side-item p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-3);
}
.side-role { margin-top: 10px; font-size: 12.5px; font-weight: 500; color: var(--text-4); }
.side-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.side-tags span {
  padding: 4px 10px;
  background: var(--chip-bg);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
}

/* ===================== 기타 — 활동 · 자격증 · 학부 ===================== */
.cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 22px;
}
.cred-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.cred-list { display: flex; flex-direction: column; }
.cred-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-3);
  font-size: 14.5px;
  color: var(--text-2);
}
.cred-item:last-child { border-bottom: 0; }
.cr-name { font-weight: 500; }
.cr-tag {
  margin-left: 8px;
  padding: 2px 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}
.cr-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-ghost);
  text-align: right;
  flex-shrink: 0;
}
.edu-block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-3);
}
.edu-block h3 { font-size: 14px; font-weight: 600; color: var(--text); }
.edu-block p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-3);
  max-width: 820px;
}

/* ===================== 연락처 (다크 밴드) ===================== */
.section-dark { background: var(--dark); }
.contact-inner {
  padding: 64px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.contact-inner .eyebrow { color: #8a90a8; }
.contact-headline {
  margin-top: 12px;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.contact-sub { margin-top: 10px; font-size: 15px; color: #a7adc2; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-actions a {
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
}
.contact-actions .btn-mail { background: var(--accent); color: #fff; }
.contact-actions .btn-mail:hover { background: var(--accent-hover); }
.contact-actions .btn-line {
  border: 1px solid #3a4056;
  color: #dfe2ee;
  font-weight: 500;
}
.contact-actions .btn-line:hover { border-color: #5a6280; }

#site-footer {
  background: var(--dark);
  color: #6b7188;
  text-align: center;
  font-size: 12.5px;
  padding: 0 24px 28px;
}

/* ===================== 스크롤 리빌 ===================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pj-body { transition: none; }
  .pj-body-clip { transition: none; }
  .detail-panel { animation: none; }
  .progress-bar { transition: none; }
}

/* ===================== 프로젝트 상세 오버레이 (중앙 팝업) ===================== */
.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.detail-overlay.open { display: block; }
.detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 20, 32, 0.55);
  backdrop-filter: blur(3px);
}
.detail-panel {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(880px, calc(100% - 32px));
  height: min(86vh, 900px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(17, 20, 32, 0.35);
  overflow: hidden;
  animation: popIn 0.25s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: #fff;
  color: var(--text-3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.detail-close:hover { background: var(--band); color: var(--text); }
.detail-body {
  height: 100%;
  overflow-y: auto;
  padding: 36px 40px 44px;
}
.detail-hero .detail-period {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
}
.detail-hero h2 {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.4;
}
/* 성과 ≥ 제목 위계: 카드의 KPI가 팝업 상단에서도 이어짐 */
.detail-kpi {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.3;
}
.detail-kpi .kpi-note {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-ghost);
  margin-left: 8px;
  letter-spacing: 0;
}
.detail-org { margin-top: 6px; font-size: 14px; color: var(--text-3); }
.detail-figure {
  margin-top: 22px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  overflow: hidden;
  background: var(--band);
}
.detail-figure img { width: 100%; }
.detail-figure figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-4);
  border-top: 1px solid var(--border-2);
  background: #fff;
}
.detail-summary {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.detail-metric {
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 16px 18px;
  background: #fff;
}
.dm-value {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}
.dm-label { margin-top: 4px; font-size: 12.5px; color: var(--text-4); }
.detail-roles { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.detail-role-block {
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 18px 20px;
}
.detail-role-block.role-mine {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}
.detail-role-block.role-team { border-left: 3px solid #c3c9d9; }
.drb-title { font-size: 13px; font-weight: 600; color: var(--text-faint); }
/* 섹션 헤딩 3단계: 1군(내 기여·전후 성과) > 2군(과정·배운 점) > 3군(스택) */
.detail-role-block.role-mine .drb-title { font-size: 15px; color: var(--text); }
.drb-group { margin-top: 14px; }
.drb-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}
.drb-group ul { margin-top: 4px; }
.detail-role-block ul { list-style: none; margin-top: 10px; }
.detail-role-block li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
  margin-top: 8px;
}
.detail-role-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-border);
}
.detail-flow { margin-top: 26px; }
.df-heading { font-size: 13px; font-weight: 600; color: var(--text-faint); }
.df-step { display: flex; gap: 14px; margin-top: 14px; }
.df-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.df-step-title { font-size: 14px; font-weight: 600; color: var(--text); }
.df-text { margin-top: 2px; font-size: 14px; line-height: 1.7; color: var(--text-3); }
.detail-ba {
  margin-top: 26px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  padding: 18px 20px;
}
.ba-title { font-size: 15px; font-weight: 600; color: var(--text); }
.ba-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-3);
}
.ba-row:last-of-type { border-bottom: 0; }
.ba-label { font-size: 14px; color: var(--text-2); }
.ba-vals { font-family: var(--mono); font-size: 14px; }
.ba-before { color: var(--text-ghost); }
.ba-arrow { color: var(--text-4); margin: 0 8px; }
.ba-after { color: var(--accent); font-weight: 700; font-size: 16px; }
.ba-note { margin-top: 10px; font-size: 12.5px; color: var(--text-ghost); }
.detail-outputs { margin-top: 26px; }
.do-title { font-size: 13px; font-weight: 600; color: var(--text-faint); }
.do-item {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-3);
  border-radius: 8px;
  background: var(--band);
}
.do-name { font-size: 14px; font-weight: 600; color: var(--text); }
.do-note { margin-top: 4px; font-size: 13px; line-height: 1.65; color: var(--text-3); }
.detail-lessons {
  margin-top: 26px;
  border: 1px solid #f0e6cf;
  background: #fdfaf2;
  border-radius: 10px;
  padding: 18px 20px;
}
.dl-title { font-size: 13px; font-weight: 600; color: #9a7b2f; }
.detail-lessons ul { list-style: none; margin-top: 10px; }
.detail-lessons li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.75;
  color: #5c5340;
  margin-top: 8px;
}
.detail-lessons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9c58a;
}
.detail-stack { margin-top: 26px; }
.ds-title { font-size: 12px; font-weight: 600; color: var(--text-faint); }
.ds-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.ds-tags span {
  padding: 5px 11px;
  background: var(--chip-bg);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}
.detail-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ===================== 반응형 ===================== */
@media (max-width: 900px) {
  .hero-title { font-size: 34px; }
  .career-grid { grid-template-columns: 1fr; gap: 22px; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .side-grid { grid-template-columns: 1fr; }
  .pj-summary { grid-template-columns: 1fr; gap: 18px; }
  .cred-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .nav-inner { padding: 12px 22px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 8px 22px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; font-size: 14.5px; }
  .nav-links .nav-cta { margin-top: 8px; }
  .nav-toggle { display: block; }
  #about { padding: 56px 0 48px; }
  .hero-title { font-size: 28px; }
  .hero-stats { gap: 28px; }
  .hero-stat .value { font-size: 26px; }
  .skill-grid { grid-template-columns: 1fr; }
  .pj-head { padding: 20px 20px; grid-template-columns: 1fr; gap: 12px; }
  .pj-toggle { justify-self: start; }
  .pj-kpi { font-size: 24px; }
  .pj-body-inner { padding: 0 20px 22px; }
  .contact-headline { font-size: 24px; }
  .detail-body { padding: 26px 20px 36px; }
  .detail-panel { width: calc(100% - 16px); height: 92vh; }
  .detail-hero h2 { font-size: 19px; }
  .detail-kpi { font-size: 21px; }
  .dm-value { font-size: 19px; }
}
