@import url('/portfolio/portfolio.css');

:root {
  --ink: #292724;
  --muted: #716b64;
  --line: #cfc5b8;
  --paper: #f2eadf;
  --accent: #963c2e;
  --soft-paper: #f9f4eb;
}

html { scrollbar-gutter: auto; }
body.noah-skill-page {
  min-width: 0;
  overflow-x: clip;
  background: linear-gradient(#f5eee4e8, #f5eee4e8), url('/assets/textures/paper-continuous.webp') center top / 900px auto repeat;
}
.noah-skill-page .shell { max-width: 1280px; padding: 0 clamp(20px, 3vw, 42px); }
.noah-skill-page .masthead {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 94px; border-bottom: 1px solid var(--line);
}
.noah-skill-page .brand { display: block; width: 112px; margin: 0; line-height: 0; }
.noah-skill-page .brand img { display: block; width: 100%; height: auto; }
.noah-skill-page .back { font-size: 13px; text-decoration: none; color: var(--muted); }
.noah-skill-page .back:hover { color: var(--accent); }
.noah-skill-page .eyebrow {
  margin: 36px 0 18px; color: var(--accent);
  font: 700 11px Arial, 'Malgun Gothic', sans-serif; letter-spacing: .17em;
}
.noah-skill-page .intro {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px); align-items: center;
  min-height: 430px; border-bottom: 2px solid var(--ink); padding: 0 0 34px;
}
.noah-skill-page .index {
  display: block; margin-bottom: 18px; color: var(--accent);
  font: 700 12px Arial, sans-serif; letter-spacing: .18em;
}
.noah-skill-page h1 {
  display: flex; flex-direction: column; gap: 7px; margin: 0;
  font-size: clamp(44px, 5vw, 72px); line-height: 1.08; letter-spacing: -.07em;
}
.noah-skill-page h1 span {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-size: clamp(18px, 2vw, 25px); font-weight: 500; letter-spacing: -.04em;
}
.noah-skill-page .intro p {
  max-width: 100%; margin: 27px 0; color: var(--muted);
  font-size: clamp(14px, 1.5vw, 18px); line-height: 1.85;
  word-break: normal; overflow-wrap: break-word; text-wrap: pretty;
}
.noah-skill-page .intro p .no-orphan { white-space: nowrap; }
.noah-skill-page .jump { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.noah-skill-page .jump a { color: var(--accent); font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.noah-skill-page .portrait {
  display: grid; place-items: center; min-width: 0; min-height: 330px;
  background: #e8ded1a8; border: 1px solid var(--line); padding: 22px;
}
.noah-skill-page .portrait img { display: block; max-width: 100%; max-height: 430px; width: auto; height: auto; object-fit: contain; }
.noah-skill-page .characters {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 50px;
  border-bottom: 1px solid var(--line);
}
.noah-skill-page .characters a {
  padding: 17px 24px; font-size: 13px; text-decoration: none;
  color: var(--muted); border-bottom: 2px solid transparent;
}
.noah-skill-page .characters a:first-child { padding-left: 0; }
.noah-skill-page .characters a[aria-current='page'] { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
.noah-skill-page .skill-section { margin: 0 0 70px; scroll-margin-top: 30px; }
.noah-skill-page .section-title {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--ink);
}
.noah-skill-page .section-title h2 { margin: 0; font: 500 clamp(26px, 3vw, 36px) 'Noto Serif KR', 'Batang', serif; letter-spacing: -.05em; }
.noah-skill-page .section-title span { color: var(--accent); font: 700 11px Arial, sans-serif; letter-spacing: .12em; white-space: nowrap; }
.noah-skill-page table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.noah-skill-page thead th {
  padding: 15px 18px; color: var(--muted); text-align: left;
  font: 700 11px Arial, 'Malgun Gothic', sans-serif; letter-spacing: .1em;
  border-bottom: 1px solid var(--line);
}
.noah-skill-page th:first-child { width: 17%; }
.noah-skill-page th:nth-child(2) { width: 23%; }
.noah-skill-page .skill-entry { border-bottom: 1px solid var(--line); }
.noah-skill-page .skill-entry:nth-of-type(even) { background: #e9dfd230; }
.noah-skill-page tbody th, .noah-skill-page tbody td {
  padding: 22px 18px 12px; text-align: left; vertical-align: top;
  font-size: 14px; line-height: 1.75; white-space: pre-line; word-break: keep-all; overflow-wrap: anywhere;
}
.noah-skill-page tbody th { color: var(--accent); font-size: 12px; font-weight: 700; }
.noah-skill-page tbody td:nth-child(2) { font-weight: 700; font-size: 16px; }
.noah-skill-page .skill-detail td { padding: 6px 18px 23px; white-space: normal; }
.noah-skill-page .detail-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
  gap: 20px 32px; border-top: 1px solid #d9cfc3; padding-top: 15px;
}
.noah-skill-page .detail-copy p { margin: 0; line-height: 1.8; white-space: pre-line; }
.noah-skill-page .skill-parameters {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px; align-content: start; margin: 0;
}
.noah-skill-page .skill-parameters div { display: flex; gap: 8px; min-width: 0; }
.noah-skill-page .skill-parameters dt { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.noah-skill-page .skill-parameters dd { min-width: 0; margin: 0; font-size: 11px; font-weight: 700; }
.noah-skill-page footer { margin: 45px 0 0; padding: 26px 0 38px; }
.noah-skill-page footer a { font-size: 13px; text-decoration: none; }
.noah-skill-page footer span { font-size: 11px; }

@media (max-width: 700px) {
  .noah-skill-page .masthead { min-height: 75px; }
  .noah-skill-page .brand { width: 90px; }
  .noah-skill-page .intro { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 10px; }
  .noah-skill-page .intro p { margin: 20px 0; }
  .noah-skill-page .portrait { min-height: 0; padding: 14px; }
  .noah-skill-page .portrait img { max-height: 360px; }
  .noah-skill-page .characters { justify-content: space-between; gap: 0 8px; margin-bottom: 38px; }
  .noah-skill-page .characters a, .noah-skill-page .characters a:first-child { padding: 15px 4px; }
  .noah-skill-page .skill-section { margin-bottom: 52px; }
  .noah-skill-page thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .noah-skill-page table, .noah-skill-page tbody, .noah-skill-page tr, .noah-skill-page tbody th, .noah-skill-page tbody td { display: block; width: 100%; }
  .noah-skill-page .skill-core th:first-child { width: 100%; }
  .noah-skill-page .skill-entry { padding: 18px 0; }
  .noah-skill-page tbody th, .noah-skill-page tbody td { padding: 3px 0; }
  .noah-skill-page .skill-core th::before, .noah-skill-page .skill-core td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    color: var(--muted); font: 700 10px Arial, 'Malgun Gothic', sans-serif; letter-spacing: .1em;
  }
  .noah-skill-page .skill-core td:nth-child(2) { margin: 8px 0; }
  .noah-skill-page .skill-detail td { padding: 10px 0 0; }
  .noah-skill-page .detail-grid { grid-template-columns: 1fr; gap: 13px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Source illustrations remain available alongside the detailed skill text. */
.skill-references{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.skill-references figure{margin:0;min-width:0}.skill-references img{width:100%;height:auto;display:block}.skill-references figcaption{padding:10px 0;font-size:14px}#skill-references{scroll-margin-top:24px;margin-top:64px}@media(max-width:600px){.skill-references{grid-template-columns:1fr}}
