/* 작업 상세 페이지 — index 와 같은 토큰을 쓴다. 색·그림자 하드코딩 없음.
   T15 규율을 따른다: 그림자 0, 층은 1px 헤어라인으로만 나눈다.
   이 페이지는 콜라주를 쓰지 않는다. 검색으로 들어온 사람은 작업 하나를
   보러 온 것이고, 배경 타일은 그 사람이 찾던 것을 가린다. */

/* 랩 폭은 홈과 같은 1180px 하나로 둔다. 읽는 길이는 ch 로 잡는다. */
.dpage .lead, .dpage .gnote{ max-width:70ch; word-break:keep-all }
.crumb{ border-bottom:1px solid color-mix(in srgb,var(--ink) 10%, transparent);
  font-size:13px; color:var(--muted); padding:16px 0 }
.crumb .wrap{ display:flex; flex-wrap:wrap; gap:8px; align-items:center }
.crumb a{ color:var(--muted); text-decoration:none }
.crumb a:hover{ color:var(--ink); text-decoration:underline }
.crumb [aria-current]{ color:var(--ink) }

.dhero{ padding:54px 0 42px; border-bottom:1px solid color-mix(in srgb,var(--ink) 10%, transparent) }
.dhero .h1{ margin:12px 0 0; max-width:24ch }
.dhero .lead{ max-width:70ch }
.dhero .cta{ margin-top:26px }

/* 시안임을 숨기지 않는다. 숨기면 눌러 보는 사람이 직접 알아내고, 그때 신뢰가 깨진다. */
/* inline-flex 로 두면 <b> 가 따로 떨어진 칸이 되어 좁은 화면에서 낱말 가운데가
   끊긴다('제안용 시 / 안입니다'). 한 덩어리 글로 흐르게 둔다. */
.flag{ display:block; margin:18px 0 0; padding:10px 15px; max-width:62ch;
  border:1px solid color-mix(in srgb,var(--accent2) 45%, transparent);
  border-radius:12px; font-size:13px; color:var(--accent2); line-height:1.55;
  word-break:keep-all }
.flag b{ font-weight:700 }

.chips{ display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 0; padding:0; list-style:none }
.chips li{ font-size:13px; color:var(--muted); padding:7px 12px; border-radius:8px;
  border:1px solid color-mix(in srgb,var(--ink) 14%, transparent); background:var(--surface) }

.dsec{ padding:52px 0; border-bottom:1px solid color-mix(in srgb,var(--ink) 10%, transparent) }
/* 키커를 h2 로 올렸다 — 브라우저 기본 크기·여백이 끼어들지 않게 못 박는다. */
.dsec .kicker, h2.kicker{ font-size:12px; font-weight:700; margin:0 0 12px }
.gnote{ margin:0; font-size:15px; color:var(--muted); line-height:1.75 }

.shots{ display:grid; gap:18px; margin:0; padding:0 }
.shots figure{ margin:0 }
.shots img{ width:100%; height:auto; display:block; border-radius:12px;
  border:1px solid color-mix(in srgb,var(--ink) 12%, transparent); background:var(--surface) }
.shots figcaption{ margin-top:8px; font-size:12px; color:var(--muted) }
@media (min-width:860px){ .shots{ grid-template-columns:repeat(2,1fr) }
  .shots figure:first-child{ grid-column:1 / -1 } }

.sibs{ display:grid; gap:12px; margin:0; padding:0; list-style:none }
@media (min-width:720px){ .sibs{ grid-template-columns:repeat(2,1fr) } }
.sibs a{ display:flex; gap:14px; align-items:center; text-decoration:none; color:inherit;
  padding:12px; border-radius:12px; background:var(--surface);
  border:1px solid color-mix(in srgb,var(--ink) 12%, transparent);
  transition:transform .25s var(--ease), border-color .25s ease }
.sibs a:hover{ transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--accent) 50%, transparent) }
.sibs img{ width:84px; height:60px; object-fit:cover; border-radius:8px; flex:none }
.sibs .ph{ width:84px; height:60px; border-radius:8px; flex:none;
  display:grid; place-items:center; font-size:11px; color:var(--muted);
  border:1px dashed color-mix(in srgb,var(--ink) 20%, transparent) }
.sibs b{ display:block; font-size:14px; font-weight:650; line-height:1.4 }
.sibs span{ display:block; font-size:12px; color:var(--muted); margin-top:3px }

.dcontact{ border-bottom:0 }
.dcontact .h2{ margin:10px 0 0 }

/* 링크를 걸 수 없는 작업에서 빈 자리를 만들지 않는다. 왜 없는지 적는다. */
.nolink{ margin:0; font-size:14px; color:var(--muted);
  padding:14px 16px; border-radius:10px; background:var(--surface);
  border:1px solid color-mix(in srgb,var(--ink) 12%, transparent) }

@media (prefers-reduced-motion: reduce){ .sibs a:hover{ transform:none } }
