/* ============================================================
   sinye.site — Bright Mind. Clear Code. Warm Impact.
   따뜻한 미니멀리즘 × 명료한 구조 (콘텐츠 설계서 v2.0 기준)
   ============================================================ */

:root {
  --warm-ivory: #FBF8F2;
  --clay-beige: #D7C5AF;
  --terracotta: #C56E4F;
  --forest-green: #2E5B4E;
  --slate-navy: #1E293B;
  --charcoal: #2B2B2B;
  --soft-gold: #CFAF5D;
  --tech-blue: #4A88D4;

  --white: #FFFFFF;
  --line: rgba(215, 197, 175, 0.55);

  /* 글씨체 통일: 전부 Pretendard (코드 목업만 mono) */
  --serif-en: "Pretendard", "Noto Sans KR", -apple-system, sans-serif;
  --serif-kr: "Pretendard", "Noto Sans KR", -apple-system, sans-serif;
  --sans: "Pretendard", "Noto Sans KR", -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--warm-ivory);
  color: var(--charcoal);
  line-height: 1.8;
  font-size: 19px;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terracotta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest-green); text-decoration: underline; text-underline-offset: 4px; }

::selection { background: var(--clay-beige); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- 타이포그래피 ---------- */
h1, h2, h3 { color: var(--slate-navy); font-weight: 600; }

.serif-kr { font-family: var(--serif-kr); }
.serif-en { font-family: var(--serif-en); }

.eyebrow {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}

.section-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--clay-beige);
  letter-spacing: 0.08em;
}

/* ---------- 사진 ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 460px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.hero-photo.portrait { object-position: center 18%; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { min-height: 200px; max-height: 260px; }
}

.card-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.pc-photo {
  grid-column: 1 / -1;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 860px) { .pc-photo { height: 170px; } }

.split-photo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .split-photo { grid-template-columns: 1fr; gap: 28px; } }
.split-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr; } }
.photo-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--forest-green);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--serif-en);
  font-size: 21px;
  font-weight: 700;
  color: var(--warm-ivory);
  letter-spacing: 0.01em;
}
.wordmark:hover { color: var(--soft-gold); text-decoration: none; }
.site-footer .wordmark:hover { color: var(--soft-gold); }
.wordmark .dot { color: var(--soft-gold); }

.main-nav { display: flex; align-items: center; gap: 26px; }

.main-nav a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(251, 248, 242, 0.88);
  letter-spacing: 0.02em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--soft-gold); text-decoration: none; }
.main-nav a.active { color: var(--soft-gold); border-bottom-color: var(--soft-gold); }

.nav-cv,
.main-nav a.nav-cv {
  font-size: 15px;
  font-weight: 600;
  color: var(--warm-ivory);
  border: 1.5px solid rgba(251, 248, 242, 0.75);
  border-radius: 999px;
  padding: 7px 30px;
}
.nav-cv:hover,
.main-nav a.nav-cv:hover { background: var(--warm-ivory); color: var(--forest-green); text-decoration: none; border-bottom-color: transparent; }

.lang-switch { font-size: 13.5px; color: rgba(251, 248, 242, 0.75); }
.lang-switch a { color: inherit; font-weight: 600; }
.lang-switch .on { color: var(--soft-gold); }

/* 모바일 내비 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--warm-ivory);
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--forest-green);
    border-bottom: 1px solid rgba(0,0,0,.15);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 28px;
    gap: 16px;
  }
  .main-nav.open { display: flex; }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 999px;
  transition: all .2s;
  letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--forest-green); color: var(--warm-ivory); border: 1.5px solid var(--forest-green); }
.btn-primary:hover { background: #234639; border-color: #234639; color: var(--warm-ivory); }

.btn-ghost { background: transparent; color: var(--forest-green); border: 1.5px solid var(--forest-green); }
.btn-ghost:hover { background: rgba(46, 91, 78, 0.08); color: var(--forest-green); }

.btn-terra { background: transparent; color: var(--terracotta); border: 1.5px solid var(--terracotta); }
.btn-terra:hover { background: rgba(197, 110, 79, 0.08); color: var(--terracotta); }

/* ---------- 상태 배지 ---------- */
.badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid;
}
.badge-concept { color: var(--terracotta); border-color: rgba(197,110,79,.45); background: rgba(197,110,79,.06); }
.badge-planned { color: var(--tech-blue); border-color: rgba(74,136,212,.45); background: rgba(74,136,212,.06); }
.badge-green { color: var(--forest-green); border-color: rgba(46,91,78,.4); background: rgba(46,91,78,.06); }
.badge-gold { color: #9a7d2e; border-color: rgba(207,175,93,.55); background: rgba(207,175,93,.1); }

/* ---------- 섹션 공통 ---------- */
section { padding: 88px 0; }

/* 섹션 배경 톤 변주: 같은 톤에서 진함/연함을 번갈아 사용 */
main > section:nth-of-type(even):not(.cta-band) { background: #FFFFFF; }
main > section:nth-of-type(4n+3):not(.cta-band):not(.hero):not(.detail-hero) { background: #F5EFE4; }
section.tight { padding: 64px 0; }

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 {
  font-family: var(--serif-kr);
  font-weight: 700;
  font-size: clamp(27px, 3.4vw, 37px);
  line-height: 1.4;
  margin: 10px 0 16px;
}
.section-head p.lead { font-size: 19px; color: #4b5563; }

.divider { border: none; border-top: 1px solid var(--line); max-width: var(--maxw); margin: 0 auto; }

/* ---------- Hero ---------- */
.hero { padding: 110px 0 96px; }

.hero h1 {
  font-family: var(--serif-kr);
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.35;
  font-weight: 700;
  max-width: 880px;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--forest-green);
}

.hero .hero-desc {
  font-size: clamp(18px, 1.8vw, 21px);
  color: #44403c;
  max-width: 680px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.trust-line {
  font-family: var(--sans);
  font-size: 14px;
  color: #78716c;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 680px;
}
.trust-line .sep { color: var(--clay-beige); margin: 0 8px; }

/* ---------- 카드 ---------- */
.card-grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 30px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 10px 32px rgba(43, 43, 43, 0.07); }

.card .card-num {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.card h3 { font-size: 21px; line-height: 1.5; margin-bottom: 12px; }
.card p { font-size: 17.5px; color: #57534e; }

/* ---------- 프로세스 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

.process-step {
  border-top: 2px solid var(--forest-green);
  padding-top: 20px;
}
.process-step .p-num { font-family: var(--sans); font-weight: 600; font-size: 12px; color: var(--terracotta); margin-bottom: 8px; }
.process-step h3 { font-family: var(--serif-en); font-size: 22px; margin-bottom: 10px; }
.process-step p { font-size: 16.5px; color: #57534e; }
.process-step .p-evidence {
  margin-top: 14px;
  font-size: 13px;
  color: #78716c;
  border-left: 2px solid var(--clay-beige);
  padding-left: 12px;
}

/* ---------- 프로젝트 카드 (넓은 2장) ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  margin-bottom: 28px;
  transition: box-shadow .25s;
}
.project-card:hover { box-shadow: 0 14px 40px rgba(43,43,43,.08); }
@media (max-width: 860px) { .project-card { grid-template-columns: 1fr; padding: 32px 28px; } }

.project-card .pc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.project-card .pc-name {
  font-family: var(--serif-en);
  font-size: 26px;
  font-weight: 700;
  color: var(--slate-navy);
}
.project-card.dearme .pc-name { color: var(--terracotta); }
.project-card.tonepilot .pc-name { color: var(--tech-blue); }

.project-card h3 {
  font-family: var(--serif-kr);
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.5;
  margin-bottom: 16px;
}
.project-card .pc-desc { font-size: 17.5px; color: #57534e; margin-bottom: 24px; }

.pc-facts { list-style: none; font-size: 16px; color: #57534e; margin-bottom: 26px; }
.pc-facts li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 12px; }
.pc-facts li:last-child { border-bottom: none; }
.pc-facts .k { font-weight: 600; color: var(--slate-navy); min-width: 92px; flex-shrink: 0; }

/* 프로젝트 카드 우측 미니 목업 */
.pc-visual {
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.pc-visual.warm { background: linear-gradient(150deg, #FBF7F0, #F1E7D8); border: 1px solid var(--line); }
.pc-visual.dark { background: var(--slate-navy); border: 1px solid #2c3a4f; }

.mock-row {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #57534e;
}
.mock-row .src { font-family: var(--mono); font-size: 10.5px; color: var(--terracotta); background: rgba(197,110,79,.08); padding: 2px 8px; border-radius: 4px; flex-shrink: 0; }
.mock-row .amt { font-family: var(--mono); font-weight: 600; color: var(--slate-navy); }
.mock-sum {
  border-top: 1.5px solid var(--clay-beige);
  padding-top: 10px;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  color: var(--forest-green);
  font-weight: 700;
}

/* ---- Dear Me 실제 앱 화면 재현 (핑크 그라데이션 가계부) ---- */
.pc-visual.dearme-app {
  background: linear-gradient(165deg, #F9D8E4 0%, #FBE3D8 55%, #FAEBD9 100%);
  border: 1px solid rgba(215, 197, 175, .5);
  gap: 14px;
}
.dm-label { font-size: 12px; color: #7c6a70; display: block; }
.dm-total { font-size: 26px; font-weight: 800; color: #2B2B2B; letter-spacing: -0.01em; }
.dm-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
}
.dm-card-title { font-size: 12.5px; font-weight: 700; color: #2B2B2B; margin-bottom: 8px; }
.dm-line {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: #57534e; padding: 5px 0;
}
.dm-line strong { color: #2B2B2B; font-weight: 700; }
.dm-line .neg { font-weight: 700; color: #2B2B2B; }
.dm-line .cat { font-size: 10.5px; color: #a8a29e; }
.dm-btns { display: flex; gap: 10px; }
.dm-btn {
  flex: 1; text-align: center; font-size: 12px; font-weight: 700;
  padding: 9px 0; border-radius: 999px; background: #fff; color: #D66A8F;
}
.dm-btn.solid { background: #E389A9; color: #fff; }

/* ---- TonePilot 실제 패치 가이드 화면 재현 (다크) ---- */
.pc-visual.tp-app {
  background: #191919;
  border: 1px solid #2e2e2e;
  gap: 10px;
}
.tp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tp-title { font-size: 15px; font-weight: 800; color: #F5A94B; }
.tp-time { font-family: var(--mono); font-size: 11px; color: #8d8d8d; }
.tp-desc { font-size: 12px; color: #cfcfcf; line-height: 1.6; }
.tp-row {
  display: grid; grid-template-columns: 1.2fr .9fr 1.1fr; gap: 8px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #2e2e2e; font-size: 11.5px;
}
.tp-row:last-of-type { border-bottom: none; }
.tp-ctl { font-family: var(--mono); color: #F5A94B; }
.tp-val { font-weight: 700; color: #f4f4f4; }
.tp-why { color: #a3a3a3; }
.tp-tip {
  font-size: 12px; color: #4ade80; background: rgba(74, 222, 128, .07);
  border-radius: 8px; padding: 8px 12px;
}

.chain { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.chain .blk {
  font-family: var(--mono);
  font-size: 11px;
  color: #cbd5e1;
  background: rgba(74,136,212,.14);
  border: 1px solid rgba(74,136,212,.35);
  border-radius: 6px;
  padding: 5px 10px;
}
.chain .arrow { color: #64748b; font-size: 11px; }
.mock-param {
  font-family: var(--mono);
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  padding: 6px 2px;
  border-bottom: 1px dashed #334155;
}
.mock-param .val { color: var(--soft-gold); }
.mock-why {
  font-size: 11.5px;
  color: #cbd5e1;
  background: rgba(74,136,212,.1);
  border-left: 2px solid var(--tech-blue);
  padding: 8px 10px;
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; }
table.tbl {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 16.5px;
}
.tbl th {
  background: #F6F1E7;
  color: var(--slate-navy);
  font-weight: 700;
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tbl td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: #44403c;
  vertical-align: top;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl td .k { font-weight: 700; color: var(--slate-navy); }

/* ---------- 인용/철학 문장 ---------- */
.pull-quote {
  font-family: var(--serif-kr);
  font-size: clamp(22px, 2.8vw, 29px);
  line-height: 1.65;
  color: var(--slate-navy);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.pull-quote .q-src {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 22px;
}

/* ---------- Research preview ---------- */
.research-axis {
  border-left: 3px solid var(--tech-blue);
  background: var(--white);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
}
.research-axis h3 { font-family: var(--serif-en); font-size: 18px; margin-bottom: 10px; color: var(--slate-navy); }
.research-axis p { font-size: 16.5px; color: #57534e; }

/* ---------- AI vs User 2열 ---------- */
.split-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 720px) { .split-roles { grid-template-columns: 1fr; } }
.split-roles > div { padding: 32px; background: var(--white); }
.split-roles > div:first-child { border-right: 1px solid var(--line); background: #F4FAFE; }
@media (max-width: 720px) { .split-roles > div:first-child { border-right: none; border-bottom: 1px solid var(--line); } }
.split-roles h3 { font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.split-roles .tag-ai { color: var(--tech-blue); }
.split-roles .tag-user { color: var(--forest-green); }
.split-roles ul { list-style: none; }
.split-roles li { font-size: 16.5px; color: #44403c; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.split-roles li:last-child { border-bottom: none; }

/* ---------- 플로우 (6단계) ---------- */
.flow-list { counter-reset: flow; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .flow-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow-list { grid-template-columns: 1fr; } }

.flow-list li {
  counter-increment: flow;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.flow-list li::before {
  content: "0" counter(flow);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12px;
  color: var(--terracotta);
  display: block;
  margin-bottom: 10px;
}
.flow-list h3 { font-size: 18.5px; margin-bottom: 8px; }
.flow-list p { font-size: 16px; color: #57534e; }

/* ---------- 상세 페이지 공통 ---------- */
.detail-hero { padding: 90px 0 70px; }
.detail-hero .eyebrow { margin-bottom: 14px; }
.detail-hero h1 {
  font-family: var(--serif-kr);
  font-weight: 700;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.45;
  max-width: 860px;
  margin: 14px 0 22px;
}
.detail-hero .promise { font-size: 19px; color: #57534e; max-width: 700px; }

.at-a-glance {
  margin-top: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .at-a-glance { grid-template-columns: repeat(2, 1fr); } }
.at-a-glance .g-item .g-k {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a8a29e;
  margin-bottom: 8px;
}
.at-a-glance .g-item .g-v { font-size: 16.5px; font-weight: 600; color: var(--slate-navy); line-height: 1.6; }

.detail-section h2 {
  font-family: var(--serif-kr);
  font-size: clamp(23px, 2.8vw, 30px);
  margin: 8px 0 24px;
}
.detail-section .body-max { max-width: 780px; }
.detail-section p.body { font-size: 17px; color: #44403c; margin-bottom: 18px; }

/* villain 박스 */
.villain-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 12px 12px 0;
  padding: 26px 30px;
  margin-bottom: 24px;
}
.villain-box .v-label {
  font-family: var(--sans);
  font-weight: 700; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 8px;
}
.villain-box p { font-size: 18.5px; font-weight: 600; color: var(--slate-navy); }

/* 노트/주의 박스 */
.note-box {
  background: rgba(207, 175, 93, 0.09);
  border: 1px solid rgba(207, 175, 93, 0.4);
  border-radius: 12px;
  padding: 22px 26px;
  font-size: 16.5px;
  color: #57534e;
}
.note-box .n-label {
  font-family: var(--sans); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #9a7d2e; margin-bottom: 6px; font-weight: 600;
}

/* ---------- Skills ---------- */
.skill-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 32px;
}
.skill-block h3 { font-family: var(--serif-en); font-size: 19px; margin-bottom: 6px; }
.skill-block .s-what { font-size: 16.5px; color: #57534e; margin-bottom: 14px; }
.skill-block .s-proof { font-size: 15.5px; color: #78716c; border-top: 1px dashed var(--line); padding-top: 12px; }
.skill-block .s-proof .k { font-weight: 700; color: var(--forest-green); }

/* ---------- Writing ---------- */
.writing-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}
@media (max-width: 640px) { .writing-item { flex-direction: column; align-items: flex-start; } }
.writing-item h3 { font-size: 19px; line-height: 1.5; }
.writing-item .w-cat { font-family: var(--sans); font-weight: 700; font-size: 12.5px; color: var(--tech-blue); margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card h3 { font-size: 18px; }
.contact-card p { font-size: 16px; color: #57534e; flex-grow: 1; }
.contact-card .btn { align-self: flex-start; font-size: 14px; padding: 10px 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest-green);
  color: var(--warm-ivory);
  padding: 88px 0;
}
.cta-band h2 {
  font-family: var(--serif-kr);
  color: var(--warm-ivory);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.5;
  max-width: 760px;
  margin-bottom: 34px;
}
.cta-band .btn-primary { background: var(--warm-ivory); color: var(--forest-green); border-color: var(--warm-ivory); }
.cta-band .btn-primary:hover { background: #efe7da; border-color: #efe7da; color: var(--forest-green); }
.cta-band .btn-ghost { color: var(--warm-ivory); border-color: rgba(247,242,234,.6); }
.cta-band .btn-ghost:hover { background: rgba(247,242,234,.1); color: var(--warm-ivory); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--slate-navy);
  color: #cbd5e1;
  padding: 60px 0 40px;
  font-size: 15px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.site-footer .wordmark { color: var(--warm-ivory); font-size: 19px; }
.site-footer .tagline { font-weight: 500; letter-spacing: .08em; font-size: 13px; color: var(--soft-gold); margin-top: 10px; letter-spacing: .06em; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer nav a { color: #cbd5e1; font-size: 13.5px; }
.site-footer nav a:hover { color: var(--warm-ivory); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid #334155;
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 애니메이션 (fade만, 절제) ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 접근성 ---------- */
:focus-visible {
  outline: 2.5px solid var(--tech-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--slate-navy);
  color: var(--warm-ivory);
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 유틸 ---------- */
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.center { text-align: center; }
.muted { color: #78716c; }
.small { font-size: 14.5px; }


/* ---------- 문의 리스트 & 폼 ---------- */
.inq-list { list-style: none; margin-bottom: 56px; }
.inq-list li {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font-size: 17px;
}
.inq-list li:first-child { border-top: 1px solid var(--line); }
.inq-list li strong { color: var(--forest-green); font-size: 18px; min-width: 180px; }
.inq-list li span { color: #57534e; font-size: 16.5px; }

.inq-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px; max-width: 760px;
}
.inq-form .f-row { margin-bottom: 18px; }
.inq-form .f-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .inq-form .f-row2 { grid-template-columns: 1fr; } }
.inq-form label { display: block; font-size: 15.5px; font-weight: 700; color: var(--slate-navy); margin-bottom: 7px; }
.inq-form input, .inq-form select, .inq-form textarea {
  width: 100%; padding: 13px 15px; font-size: 16.5px; font-family: var(--sans);
  border: 1.5px solid var(--clay-beige); border-radius: 10px; background: #fff; color: var(--charcoal);
}
.inq-form textarea { min-height: 140px; resize: vertical; }
.inq-form input:focus, .inq-form select:focus, .inq-form textarea:focus { outline: 2.5px solid var(--tech-blue); border-color: transparent; }
.inq-form button { cursor: pointer; border: none; font-family: var(--sans); }
.inq-form .f-hint { font-size: 13.5px; color: #78716c; margin-top: 14px; }


/* ---------- 연락처: 콘텐츠 중앙 배치 ---------- */
.inq-center .section-head { max-width: none; text-align: center; }
.inq-center .inq-list { max-width: 780px; margin-left: auto; margin-right: auto; margin-bottom: 56px; }
.inq-center .inq-form { margin-left: auto; margin-right: auto; }
