/* ============================================================
   MOBILE RESPONSIVE — iPhone 13 mini (375px) and up
   ============================================================ */

/* Tablet & smaller (≤900px) — already covered above, reinforcing */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }
  .team-grid,
  .services-grid,
  .skills-cats {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .process-line { display: none; }
  .process-step { flex-direction: row; text-align: left; gap: 16px; align-items: center; }
  .process-bubble { width: 90px; height: 90px; flex: 0 0 90px; }
  .process-bubble .step-num { width: 28px; height: 28px; font-size: 13px; top: -6px; right: -6px; }
  .process-step h4 { margin-top: 0; font-size: 18px; }
  .process-step p { margin-top: 4px; font-size: 12px; max-width: none; }
  .portfolio-card.feat {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .portfolio-card.feat .portfolio-thumb {
    border-right: none;
    border-bottom: 1.5px solid var(--b-soft);
    min-height: 420px;
    height: 420px;
  }
  .portfolio-card.feat .portfolio-meta { padding: 28px 24px; }
  .portfolio-card.feat h3 { font-size: 28px; }
}

/* Phone (≤600px) — single column everywhere */
@media (max-width: 600px) {
  body { font-size: 15px; }

  /* Header — compact on mobile */
  .site-header { padding: 8px 0; }
  .site-header-inner { padding: 0 12px; }
  .brand { padding: 6px 10px; font-size: 14px; }
  .brand-logo { width: 18px; height: 18px; }
  .nav { padding: 4px; }
  .nav-links { display: none; }
  .nav-cta { padding: 6px 12px; font-size: 12px; }

  /* Section paddings */
  .section { padding: 70px 18px; }

  /* Hero */
  .hero { padding-top: 100px; min-height: auto; }
  .hero-grid { gap: 32px; }
  .hero-title { font-size: 44px; line-height: 1.1; }
  .hero-title .nowrap { white-space: normal; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .hero-typing {
    font-size: 12px;
    padding: 10px 14px;
    flex-wrap: wrap;
  }
  .hero-typing .prompt { font-size: 11px; }
  .hero-cta-row { margin-top: 24px; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .hero-scene { height: 360px; }
  .hero-stat-card { padding: 10px 14px; font-size: 12px; }
  .hero-stat-card .num { font-size: 20px; }
  .hero-stat-card.bob-2 { top: 4% !important; right: -8px !important; }
  .hero-stat-card.bob-1 { top: 45% !important; left: -10px !important; }

  /* Section heads */
  .s-head h2 { font-size: 36px; }
  .s-head { margin-bottom: 40px; }
  .s-head .s-sub { font-size: 15px; }

  /* About */
  .about-card { padding: 28px 22px; }
  .about-card h3 { font-size: 26px; }
  .about-card p { font-size: 15px; }
  .about-scene { display: none; }
  .about-stat-row { gap: 8px; }
  .about-stat .v { font-size: 24px; }
  .about-stat .k { font-size: 10px; }

  /* Team grid → single column */
  .team-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .team-card { padding: 24px 20px; }
  .team-name { font-size: 22px; }
  .team-bio { min-height: auto; font-size: 13px; }
  .team-cta { font-size: 10px; }

  /* Moonlighter grid → single column */
  .moonlighter-grid { grid-template-columns: 1fr; }
  .ml-card { padding: 18px; gap: 14px; }
  .ml-avatar { width: 56px; height: 56px; flex: 0 0 56px; }
  .ml-name { font-size: 16px; }
  .ml-tag { font-size: 9px; padding: 2px 8px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 28px 22px; }
  .service-card-icon { width: 56px; height: 56px; }
  .service-card h3 { font-size: 22px; }

  /* Skills */
  .skills-frame { padding: 28px 20px; }
  .skills-cats { grid-template-columns: 1fr; gap: 28px; }
  .skill-pill { font-size: 13px; padding: 10px 12px; }

  /* Portfolio */
  .portfolio-card { border-radius: 18px; }
  .portfolio-thumb { height: 380px; }
  .portfolio-thumb-inner { padding: 14px; transform: scale(0.85); }
  .portfolio-meta { padding: 20px 22px 22px; }
  .portfolio-card h3 { font-size: 22px; }
  .portfolio-card .desc { font-size: 13px; }
  .portfolio-card.feat .portfolio-thumb { height: 360px; min-height: 360px; }
  .portfolio-card.feat h3 { font-size: 26px; }

  /* Mockups: scale down phones a bit */
  .mu-phone { transform-origin: center; }

  /* Admin & brand mockups — scale to fit phone screens */
  .mu-admin { width: 100%; height: 360px; }
  .mu-brand { width: 100%; height: 360px; }
  .mu-admin-body { grid-template-columns: 110px 1fr; }
  .mu-admin-side { padding: 12px 8px; }
  .mu-admin-logo { font-size: 12px; }
  .mu-admin-logo-mark { width: 16px; height: 16px; }
  .mu-admin-side nav a { font-size: 9px; padding: 6px 8px; }
  .mu-admin-user { font-size: 10px; }
  .mu-admin-user-r { font-size: 8px; }
  .mu-admin-main { padding: 14px 16px; gap: 10px; }
  .mu-admin-header h3 { font-size: 16px; }
  .mu-admin-header p { font-size: 9px; }
  .mu-admin-btn { padding: 6px 10px; font-size: 10px; }
  .mu-admin-filters span { padding: 4px 8px; font-size: 9px; }
  .mu-admin-tr { grid-template-columns: 50px 50px 1fr 60px 60px; padding: 7px 10px; font-size: 9px; gap: 4px; }
  .mu-admin-status { padding: 2px 6px; font-size: 8px; }
  .mu-brand-page { padding: 14px 18px; }
  .mu-brand-logo { font-size: 16px; }
  .mu-brand-menu { gap: 10px; font-size: 8px; }
  .mu-brand-cart { font-size: 8px; }
  .mu-brand-h { font-size: 22px; }
  .mu-brand-p { font-size: 11px; }
  .mu-brand-cta { padding: 8px 12px; font-size: 9px; }
  .mu-brand-imgrow { height: 60px; }

  /* Process */
  .process-step h4 { font-size: 18px; }
  .process-bubble { width: 100px; height: 100px; flex: 0 0 100px; }

  /* Contact */
  .contact-frame { padding: 40px 24px; border-radius: 24px; }
  .contact-grid { gap: 32px; }
  .contact-grid h2 { font-size: 36px; }
  .contact-grid p { font-size: 15px; }
  .contact-card { padding: 24px 20px; }
  .form-row input, .form-row textarea { padding: 12px 14px; font-size: 14px; }
  .budget-chip { padding: 8px 12px; font-size: 12px; }
  .contact-info-item { font-size: 13px; padding: 10px 14px; }
  .contact-frame .deco { display: none; }

  /* Resume/Solution modal — 모바일 바텀시트: overlay 하단 패딩 제거(base 32px와 100vh 충돌 → 상단 클리핑) + 상단 peek */
  .rm-overlay { padding: 0; align-items: flex-end; }
  .rm-sheet { max-height: 92vh; border-radius: 18px 18px 0 0; }
  .rm-header { padding: 32px 20px 20px; }
  .rm-header-content { flex-direction: column; text-align: center; gap: 14px; }
  .rm-avatar { width: 88px; height: 88px; flex: 0 0 88px; }
  .rm-name { font-size: 32px; margin-bottom: 8px; }
  .rm-tagline { font-size: 14px; }
  .rm-role { font-size: 11px; }
  .rm-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 24px; }
  .rm-stat { padding: 12px 8px; }
  .rm-stat-v { font-size: 24px; }
  .rm-stat-k { font-size: 9px; }
  .rm-intro, .rm-tabs, .rm-body, .rm-footer { padding-left: 20px; padding-right: 20px; }
  .rm-intro p { font-size: 14px; }
  .rm-contact-item { font-size: 11px; padding: 6px 12px; }
  .rm-contact-k { font-size: 9px; }
  .rm-tabs { gap: 4px; padding-top: 20px; }
  .rm-tab { font-size: 13px; padding: 8px 14px; }
  .rm-body { padding-top: 24px; padding-bottom: 24px; min-height: 280px; }
  .rm-tline-row { grid-template-columns: 22px 1fr; gap: 12px; }
  .rm-tline-org { font-size: 18px; }
  .rm-tline-pos { font-size: 12px; }
  .rm-tline-desc { font-size: 13px; }
  .rm-skills { grid-template-columns: 1fr; gap: 20px; }
  .rm-skill-bar { grid-template-columns: 80px 1fr 28px; gap: 8px; }
  .rm-skill-name { font-size: 12px; }
  .rm-skill-lvl { font-size: 9px; }
  .rm-projects { grid-template-columns: 1fr; gap: 14px; }
  .rm-project-thumb { height: 220px; }
  .rm-edu { grid-template-columns: 1fr; gap: 28px; }
  .rm-edu-row { grid-template-columns: 90px 1fr; gap: 12px; }
  .rm-edu-period { font-size: 10px; }
  .rm-edu-school { font-size: 16px; }
  .rm-close { width: 40px; height: 40px; font-size: 16px; top: 14px; right: 14px; }
  .rm-footer { padding: 18px 20px; flex-direction: column; gap: 10px; }
  .rm-footer .btn { width: 100%; justify-content: center; padding: 12px 18px; }

  /* Hide some decorations on mobile to keep it clean */
  .deco-cloud, .deco-star { transform: scale(0.7); }
}

/* Tighter phone (≤420px / iPhone 13 mini) */
@media (max-width: 420px) {
  .hero-title { font-size: 38px; }
  .s-head h2 { font-size: 30px; }
  .contact-grid h2 { font-size: 30px; }
  .hero-scene { height: 300px; }
  .hero-stat-card { font-size: 11px; padding: 8px 10px; gap: 8px; }
  .hero-stat-card .num { font-size: 16px; }
  .hero-stat-card .label { font-size: 10px; }
  .hero-character { transform: scale(0.85); transform-origin: center; }

  .nav-cta { padding: 5px 10px; font-size: 11px; }
  .nav-brand { padding: 5px 8px; font-size: 13px; }

  .portfolio-thumb { height: 340px; }
  .portfolio-thumb-inner { transform: scale(0.75); }
  .portfolio-card.feat .portfolio-thumb { height: 320px; min-height: 320px; }

  .mu-phone { width: 200px; height: 410px; }

  /* Process — vertical compact */
  .process-bubble { width: 80px; height: 80px; flex: 0 0 80px; }
  .process-step h4 { font-size: 16px; }
  .process-step p { font-size: 11px; }

  /* Skills marquee — slower on mobile */
  .marquee-track { animation-duration: 50s; }

  /* Buttons & form */
  .btn { padding: 12px 20px; font-size: 13px; }
  .form-row label { font-size: 11px; }
  .budget-chips { gap: 6px; }
  .budget-chip { padding: 7px 10px; font-size: 11px; }

  /* Tweaks panel — smaller */
  /* (panel handles its own positioning) */
}


/* ============================================================
   WORKS SECTION — Smaller portfolio pieces (design / planning / dev)
   ============================================================ */
.works-block {
  margin-top: 100px;
  padding-top: 80px;
  border-top: 1.5px dashed var(--b-soft);
}
.works-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 50px;
}
.works-head h3 {
  font-family: var(--f-display);
  font-size: 44px;
  letter-spacing: -0.03em;
}
.works-sub {
  font-size: 16px;
  color: var(--t-body);
  max-width: 540px;
}
.works-cats {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.works-cat {
  background: white;
  border: 1.5px solid var(--b-soft);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--t-body);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 200ms ease;
  font-family: var(--f-body);
}
.works-cat:hover { border-color: var(--c-purple); }
.works-cat.on {
  background: var(--c-purple);
  color: white;
  border-color: var(--c-purple);
}
.works-cat-n {
  font-family: var(--f-pixel);
  font-size: 11px;
  opacity: 0.7;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work-card {
  background: white;
  border: 1.5px solid var(--b-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 300ms cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card);
  border-color: var(--c-purple);
}
.work-thumb {
  height: 280px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1.5px solid var(--b-soft);
}
.work-cat-design .work-thumb { background: linear-gradient(135deg, #FFD6F0 0%, #FFE4F2 100%); }
.work-cat-planning .work-thumb { background: linear-gradient(135deg, #E0D7FF 0%, #EFE8FF 100%); }
.work-cat-dev .work-thumb { background: linear-gradient(135deg, #C4F1F9 0%, #DFF6FB 100%); }

.work-meta {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.work-tag {
  font-family: var(--f-pixel);
  font-size: 10px;
  color: var(--c-purple);
  letter-spacing: 0.05em;
  align-self: flex-start;
}
.work-title {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--t-strong);
  margin: 0;
  letter-spacing: -0.02em;
}
.work-desc {
  font-size: 13px;
  color: var(--t-soft);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   WORK VISUALS — per-component custom styling
   ============================================================ */

/* ---------- WkDetail (상세페이지) ---------- */
.wk {
  position: relative;
}
.wk-detail {
  width: 200px;
  height: 250px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Noto Sans KR', sans-serif;
}
.wk-detail-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #2A2620;
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.wk-detail-bar .logo { font-family: 'Nanum Myeongjo', serif; font-weight: 800; }
.wk-detail-hero {
  background: linear-gradient(135deg, #F5EDE0 0%, #E0D5C0 100%);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.wk-detail-hero .badge {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #8B6E3A;
  font-weight: 700;
}
.wk-detail-hero strong {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 16px;
  font-weight: 800;
  color: #2A2620;
  line-height: 1.1;
}
.wk-detail-hero em {
  font-size: 9px;
  font-style: normal;
  color: #5C4A36;
  line-height: 1.4;
}
.wk-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 8px;
  background: white;
  border-bottom: 1px solid #F0EAE0;
}
.wk-detail-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.wk-detail-stats > div + div { border-left: 1px solid #F0EAE0; }
.wk-detail-stats strong { font-family: 'Nanum Myeongjo', serif; font-size: 14px; font-weight: 800; color: #3F5544; }
.wk-detail-stats span { font-size: 7px; color: #8B7355; }
.wk-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 6px;
  flex: 1;
}
.wk-detail-grid > div {
  border-radius: 4px;
}
.wk-detail-grid .g1 { background: linear-gradient(135deg, #D4B98A, #8B6E3A); }
.wk-detail-grid .g2 { background: linear-gradient(135deg, #F4ECD8, #D4B98A); }
.wk-detail-grid .g3 { background: linear-gradient(135deg, #3F5544, #2A2620); }
.wk-detail-grid .g4 { background: linear-gradient(135deg, #C9A876, #5C4A36); }
.wk-detail-cta {
  background: #2A2620;
  color: white;
  padding: 8px;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ---------- WkBrandSystem (브랜드 시스템) ---------- */
.wk-brand-sys {
  width: 260px;
  height: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  overflow: hidden;
}
.wk-bs-q {
  padding: 14px;
  position: relative;
}
.wk-bs-lbl {
  font-family: 'Galmuri11', monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 8px;
}
.wk-bs-logo { background: #FAF6EE; }
.wk-bs-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.wk-bs-mark .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #3F5544;
}
.wk-bs-mark strong {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 14px;
  font-weight: 800;
  color: #2A2620;
  letter-spacing: 0.05em;
}
.wk-bs-pal { background: #F5F0E7; }
.wk-bs-swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 8px;
}
.wk-bs-swatches span {
  height: 24px;
  border-radius: 4px;
}
.wk-bs-type { background: white; }
.wk-bs-aa {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 42px;
  font-weight: 800;
  color: #2A2620;
  line-height: 1;
  margin-top: 6px;
}
.wk-bs-fontname {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 9px;
  color: #8B7355;
  margin-top: 4px;
}
.wk-bs-mark2 { background: #EFE9DC; }
.wk-bs-marks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  margin-top: 8px;
}
.wk-bs-marks > div {
  aspect-ratio: 1;
  background: white;
  border: 1px solid #DDD2BC;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #3F5544;
  border-radius: 4px;
  font-family: 'Nanum Myeongjo', serif;
  font-weight: 700;
}

/* ---------- WkLogos (로고 모음) ---------- */
.wk-logos {
  width: 240px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #EDE6FF;
  padding: 1px;
  overflow: hidden;
}
.wk-logo-cell {
  background: white;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 88px;
}
.wk-logo-mark {
  font-size: 22px;
  line-height: 1;
}
.wk-logo-cell.c0 .wk-logo-mark { color: #8B7BC4; }
.wk-logo-cell.c1 .wk-logo-mark { color: #D4A82E; }
.wk-logo-cell.c2 .wk-logo-mark { color: #5BA8B5; }
.wk-logo-cell.c3 .wk-logo-mark { color: #D88BB8; }
.wk-logo-cell.c4 .wk-logo-mark { color: #2A2620; transform: rotate(30deg); }
.wk-logo-cell.c5 .wk-logo-mark { color: #7CC4A5; }
.wk-logo-name {
  font-family: var(--f-display);
  font-size: 10px;
  color: var(--t-strong);
  letter-spacing: 0.1em;
}
.wk-logo-tag {
  font-family: 'Galmuri11', monospace;
  font-size: 7px;
  color: var(--t-soft);
  letter-spacing: 0.1em;
}

/* ---------- WkUiKit (UI 키트) ---------- */
.wk-ui {
  width: 240px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wk-ui-row { display: flex; flex-direction: column; gap: 4px; }
.wk-ui-lbl {
  font-family: 'Galmuri11', monospace;
  font-size: 8px;
  color: var(--c-purple);
  letter-spacing: 0.1em;
}
.wk-ui-btns { display: flex; gap: 4px; }
.wk-ui-btns button {
  border: 1px solid var(--b-soft);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 9px;
  font-family: var(--f-body);
  font-weight: 700;
}
.wk-ui-btns .b1 { background: var(--c-purple); color: white; border-color: var(--c-purple); }
.wk-ui-btns .b2 { background: var(--c-lavender); color: var(--c-purple); }
.wk-ui-btns .b3 { background: white; color: var(--t-body); }
.wk-ui-input {
  background: var(--bg);
  border: 1px solid var(--b-soft);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--t-soft);
}
.wk-ui-input .caret {
  width: 1px; height: 10px;
  background: var(--c-purple);
  animation: blink 1s steps(2) infinite;
}
.wk-ui-card {
  display: flex;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--b-soft);
  border-radius: 8px;
  padding: 6px;
}
.wk-ui-card-img {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--c-pink), var(--c-yellow));
  flex: 0 0 32px;
}
.wk-ui-card-body { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.wk-ui-card-body strong { font-size: 10px; color: var(--t-strong); }
.wk-ui-card-body span { font-size: 8px; color: var(--t-soft); }
.wk-ui-icons {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.wk-ui-icons span {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--c-purple);
}

/* ---------- WkInfo (인포그래픽) ---------- */
.wk-info {
  width: 240px;
  background: #F8F4ED;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  padding: 16px;
  font-family: 'Noto Sans KR', sans-serif;
  color: #2A2620;
}
.wk-info-tag {
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #8B6E3A;
  font-weight: 700;
}
.wk-info-big {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 38px;
  font-weight: 800;
  color: #3F5544;
  line-height: 1;
  display: block;
  margin: 4px 0;
}
.wk-info-sub {
  font-size: 9px;
  color: #5C4A36;
}
.wk-info-grid {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px;
  margin: 12px 0;
  align-items: center;
}
.wk-info-donut { width: 60px; height: 60px; position: relative; }
.wk-info-donut svg { width: 100%; height: 100%; }
.wk-info-donut-c {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wk-info-donut-c strong { font-size: 11px; font-weight: 800; color: #3F5544; }
.wk-info-donut-c span { font-size: 6px; color: #5C4A36; }
.wk-info-bars { display: flex; flex-direction: column; gap: 4px; }
.wk-info-bar {
  display: grid;
  grid-template-columns: 22px 1fr 26px;
  gap: 4px;
  align-items: center;
  font-size: 8px;
  color: #5C4A36;
}
.wk-info-bar > div {
  height: 6px;
  background: #E5DDD0;
  border-radius: 3px;
  overflow: hidden;
}
.wk-info-bar > div > div {
  height: 100%;
  background: #8B6E3A;
  border-radius: 3px;
}
.wk-info-bar > div > div.hi { background: #3F5544; }
.wk-info-bar strong { font-size: 9px; color: #2A2620; font-weight: 700; }
.wk-info-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #E5DDD0;
}
.wk-info-icons > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
}
.wk-info-icons .ic { font-size: 16px; }
.wk-info-icons strong {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 11px;
  font-weight: 800;
  color: #3F5544;
}
.wk-info-icons em { font-size: 7px; font-style: normal; color: #5C4A36; }

/* ---------- WkPrint (패키지 + 명함) ---------- */
.wk-print {
  width: 280px;
  height: 220px;
  background: linear-gradient(135deg, #F0EAE0 0%, #E5DDD0 100%);
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  padding: 24px;
  position: relative;
  font-family: 'Noto Sans KR', sans-serif;
}
.wk-print-box {
  position: absolute;
  left: 26px;
  top: 32px;
  width: 110px;
  height: 145px;
  transform: rotate(-6deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.18));
}
.wk-print-box-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 18px;
  background: #2A2620;
  transform: skewX(-30deg);
  transform-origin: left;
}
.wk-print-box-front {
  position: absolute;
  inset: 14px 0 0 0;
  background: #FAF6EE;
  border: 1px solid #DDD2BC;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wk-print-box-logo {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 10px;
  color: #3F5544;
  font-weight: 800;
}
.wk-print-box-name {
  font-family: 'Nanum Myeongjo', serif;
  font-weight: 800;
  font-size: 14px;
  color: #2A2620;
  line-height: 1.1;
  letter-spacing: 0.05em;
}
.wk-print-box-vol {
  font-size: 8px;
  color: #8B7355;
  letter-spacing: 0.1em;
}
.wk-print-cards {
  position: absolute;
  right: 24px;
  top: 50px;
  width: 110px;
  height: 64px;
}
.wk-print-card {
  position: absolute;
  inset: 0;
  background: white;
  border: 1px solid #DDD2BC;
  border-radius: 4px;
  padding: 10px 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  font-size: 8px;
  color: #2A2620;
}
.wk-print-card.c1 { transform: rotate(8deg) translate(8px, -4px); z-index: 3; }
.wk-print-card.c2 { transform: rotate(-2deg); z-index: 2; background: #3F5544; }
.wk-print-card.c2 .logo {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 10px;
  font-weight: 800;
  color: white;
  display: grid;
  place-items: center;
  height: 100%;
}
.wk-print-card.c3 { transform: rotate(-10deg) translate(-6px, 4px); z-index: 1; background: #F4ECD8; }
.wk-print-card .cn { font-family: 'Nanum Myeongjo', serif; font-weight: 800; font-size: 10px; }
.wk-print-card .cr { font-size: 7px; color: #8B7355; margin-top: 1px; }
.wk-print-card .ci { font-size: 7px; color: #5C4A36; margin-top: 6px; font-family: 'Noto Sans KR', monospace; }
.wk-print-tag {
  position: absolute;
  right: 28px;
  bottom: 18px;
  background: #2A2620;
  color: #F4ECD8;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7px;
  letter-spacing: 0.15em;
  border-radius: 2px;
}
.wk-print-tag strong { font-weight: 700; }
.wk-print-tag em { font-style: normal; opacity: 0.6; font-size: 6px; }

/* ---------- WkWireframe (와이어프레임) ---------- */
.wk-wire {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 14px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
}
.wk-wire-frame {
  position: relative;
  width: 56px;
  flex-shrink: 0;
}
.wk-wire-bar {
  background: var(--bg-2);
  border: 1px solid var(--b-soft);
  border-radius: 6px 6px 0 0;
  padding: 4px;
  display: flex;
  gap: 2px;
}
.wk-wire-bar span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--t-faint);
}
.wk-wire-screen {
  border: 1px solid var(--b-soft);
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 6px 5px;
  background: white;
  font-family: 'Galmuri11', monospace;
  font-size: 7px;
  color: var(--t-strong);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 90px;
}
.wk-wire-h {
  font-weight: 700;
  color: var(--c-purple);
  font-size: 7px;
  letter-spacing: 0.05em;
  padding-bottom: 2px;
  border-bottom: 1px dashed var(--b-soft);
  margin-bottom: 2px;
}
.wk-wire-line {
  font-size: 7px;
  color: var(--t-soft);
  letter-spacing: 0.02em;
}
.wk-wire-label {
  font-family: 'Galmuri11', monospace;
  font-size: 8px;
  color: var(--c-purple);
  text-align: center;
  margin-top: 4px;
  letter-spacing: 0.1em;
}
.wk-wire-arrow {
  position: absolute;
  right: -10px;
  top: 45px;
  color: var(--c-purple);
  font-size: 14px;
}

/* ---------- WkIA (사이트맵) ---------- */
.wk-ia {
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wk-ia-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.wk-ia-root {
  background: var(--c-purple);
  color: white;
  font-family: 'Galmuri11', monospace;
  font-size: 10px;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.wk-ia-line {
  width: 1.5px;
  height: 12px;
  background: var(--c-purple);
  margin: 0;
}
.wk-ia-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  position: relative;
}
.wk-ia-row::before {
  content: '';
  position: absolute;
  left: 12%; right: 12%; top: -1px;
  height: 1.5px;
  background: var(--c-purple);
}
.wk-ia-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  padding-top: 10px;
}
.wk-ia-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 8px;
  background: var(--c-purple);
}
.wk-ia-node {
  background: var(--c-lavender);
  color: var(--c-purple);
  font-family: 'Galmuri11', monospace;
  font-size: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
  width: 100%;
  text-align: center;
}
.wk-ia-col .n0 { background: var(--c-pink); color: #C4633D; }
.wk-ia-col .n1 { background: var(--c-yellow); color: #A8801F; }
.wk-ia-col .n2 { background: var(--c-cyan); color: #3D7782; }
.wk-ia-col .n3 { background: var(--c-mint); color: #3D7752; }
.wk-ia-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  align-items: center;
  margin-top: 4px;
}
.wk-ia-leaf {
  font-family: 'Galmuri11', monospace;
  font-size: 7px;
  color: var(--t-soft);
  padding: 2px 4px;
  background: var(--bg);
  border: 1px dashed var(--b-soft);
  border-radius: 3px;
  width: 100%;
  text-align: center;
}
.wk-ia-meta {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--b-soft);
  font-family: 'Galmuri11', monospace;
  font-size: 8px;
  color: var(--t-soft);
  width: 100%;
  justify-content: center;
}

/* ---------- WkComponents (코드 에디터) ---------- */
.wk-code {
  width: 260px;
  background: #0F172A;
  border-radius: 10px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.35);
  overflow: hidden;
  font-family: 'Galmuri11', 'Consolas', monospace;
  color: #E2E8F0;
}
.wk-code-top {
  background: #1E293B;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #334155;
}
.wk-code-dots { display: flex; gap: 4px; }
.wk-code-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #F87171;
}
.wk-code-dots span:nth-child(2) { background: #FBBF24; }
.wk-code-dots span:nth-child(3) { background: #4ADE80; }
.wk-code-tabs {
  display: flex;
  gap: 4px;
  font-size: 9px;
}
.wk-code-tabs span {
  padding: 3px 8px;
  color: #94A3B8;
  border-radius: 4px;
}
.wk-code-tabs span.on { background: #0F172A; color: white; }
.wk-code-body {
  padding: 10px 8px;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
}
.wk-code-ln {
  display: flex;
  gap: 6px;
  color: #94A3B8;
}
.wk-code-ln b {
  width: 14px;
  color: #475569;
  font-weight: 400;
  text-align: right;
  font-style: normal;
}
.wk-code-ln .kw { color: #C77DFF; font-style: normal; }
.wk-code-ln .fn { color: #FBBF24; font-style: normal; }
.wk-code-ln .tag { color: #4ADE80; font-style: normal; }
.wk-code-ln .prop { color: #60A5FA; font-style: normal; }
.wk-code-ln .str { color: #FBBF24; font-style: normal; }
.wk-code-foot {
  background: #1E293B;
  padding: 6px 12px;
  border-top: 1px solid #334155;
  display: flex;
  gap: 10px;
  font-size: 8px;
  color: #94A3B8;
}

/* ---------- WkApi (API 명세) ---------- */
.wk-api {
  width: 260px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 14px 30px -10px rgba(46,37,72,0.25);
  overflow: hidden;
  font-family: 'Galmuri11', 'Consolas', monospace;
}
.wk-api-top {
  background: var(--bg-2);
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--b-soft);
}
.wk-api-title {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 10px;
  color: var(--c-purple);
}
.wk-api-base {
  font-size: 9px;
  color: var(--t-soft);
}
.wk-api-table {
  display: flex;
  flex-direction: column;
}
.wk-api-row {
  display: grid;
  grid-template-columns: 36px 100px 1fr;
  align-items: center;
  padding: 6px 12px;
  font-size: 9px;
  border-bottom: 1px solid var(--b-soft);
  gap: 4px;
}
.wk-api-row:last-child { border-bottom: none; }
.wk-api-m {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 3px;
  text-align: center;
  letter-spacing: 0.05em;
  color: white;
  font-family: var(--f-body);
}
.wk-api-m.m-get { background: #4ADE80; }
.wk-api-m.m-post { background: #60A5FA; }
.wk-api-m.m-put { background: #FBBF24; }
.wk-api-m.m-del { background: #F87171; }
.wk-api-p { color: var(--t-strong); }
.wk-api-d {
  font-family: var(--f-body);
  font-size: 9px;
  color: var(--t-soft);
  text-align: right;
}
.wk-api-foot {
  background: var(--bg-2);
  padding: 6px 12px;
  border-top: 1px solid var(--b-soft);
  display: flex;
  gap: 10px;
  font-size: 8px;
  color: var(--t-soft);
}

/* ============================================================
   Works responsive
   ============================================================ */
@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-head h3 { font-size: 32px; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-head h3 { font-size: 26px; }
  .works-block { margin-top: 60px; padding-top: 50px; }
  .work-thumb { height: 240px; }
  .wk-wire { transform: scale(0.85); }
}


