/* MixLoom Studio — 생성지(生成り) 바탕 + 쪽빛(藍) 포인트. "loom(베틀)"의 실 모티프. */

:root {
  --paper: #f5f2eb;
  --paper-2: #ece7dc;
  --ink: #1d1c1a;
  --ink-2: #55524c;
  --line: #d6d0c3;
  --ai: #2b4a7a;        /* 藍 */
  --ai-deep: #1c3358;
  --ai-soft: #dfe5ee;
  --thread: #b9842f;    /* 실 포인트 */
  --radius: 14px;
  --max: 1080px;
  --sans: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
}
html[lang="ko"] {
  --sans: "Noto Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --serif: "Noto Serif KR", "AppleMyungjo", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
html[lang="ja"] body { line-break: strict; }
html[lang="ko"] body { word-break: keep-all; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ai); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ── header ── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.nav a:hover { color: var(--ink); }
.lang-switch {
  font-size: 13px; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.lang-switch:hover { border-color: var(--ink-2); }
@media (max-width: 760px) { .nav { display: none; } .lang-switch { margin-left: auto; } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ai); color: #fff; }
.btn-primary:hover { background: var(--ai-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .55; cursor: progress; }

/* ── hero ── */
.hero { position: relative; overflow: hidden; padding: 112px 0 104px; }
.hero .threads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; }
.eyebrow { font-size: 13px; letter-spacing: .18em; color: var(--ai); font-weight: 600; text-transform: uppercase; margin: 0 0 20px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 6vw, 60px); line-height: 1.35; letter-spacing: .01em;
  margin: 0 0 28px;
}
.hero .lead { font-size: clamp(16px, 2vw, 18px); color: var(--ink-2); max-width: 36em; margin: 0 0 40px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── sections ── */
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
.section-label { font-size: 12px; letter-spacing: .2em; color: var(--thread); font-weight: 700; text-transform: uppercase; margin: 0 0 12px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 38px); line-height: 1.45; margin: 0 0 20px; }
.section-intro { color: var(--ink-2); max-width: 40em; margin: 0 0 48px; }
@media (max-width: 600px) { section { padding: 72px 0; } .hero { padding: 80px 0 72px; } }

/* problem */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 40px; padding: 0; list-style: none; }
.problems li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.problems strong { display: block; font-size: 17px; margin-bottom: 6px; }
.problems p { margin: 0; color: var(--ink-2); font-size: 15px; }
.answer { font-family: var(--serif); font-size: clamp(19px, 2.6vw, 24px); line-height: 1.6; margin: 0; }
.answer em { font-style: normal; color: var(--ai); border-bottom: 2px solid var(--thread); }
@media (max-width: 760px) { .problems { grid-template-columns: 1fr; } }

/* services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; }
.service .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--ai); background: var(--ai-soft); border-radius: 999px; padding: 3px 12px; margin-bottom: 18px; }
.service h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 0 0 12px; line-height: 1.45; }
.service p { color: var(--ink-2); margin: 0 0 20px; }
.service ul { margin: 0 0 24px; padding: 0; list-style: none; }
.service li { padding: 8px 0 8px 22px; border-top: 1px dashed var(--line); position: relative; font-size: 15px; }
.service li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 2px; background: var(--thread); }
.service .price { margin-top: auto; font-size: 14px; color: var(--ink-2); }
.common-note { margin: 28px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } .service { padding: 28px 22px; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 52px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: "Cormorant Garamond", var(--serif); font-size: 32px; font-weight: 600; color: var(--ai); line-height: 1;
}
.steps li::after { content: ""; position: absolute; top: 15px; left: 48px; right: -8px; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; font-size: 16px; margin-bottom: 6px; }
.steps p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 28px 64px; }
  .steps li::after { top: 40px; left: 18px; right: auto; bottom: 6px; width: 1px; height: auto; }
}

/* portfolio gate */
.gate { background: var(--ink); color: var(--paper); }
.gate + section { border-top: 0; }
.gate .section-label { color: var(--thread); }
.gate .section-intro { color: #c9c4b9; }
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.gate .card { background: #2a2926; border-radius: var(--radius); padding: 32px; }
.gate label { color: var(--paper); }
.gate .hint, .gate .check { color: #c9c4b9; }
.gate .check a { color: #e6d3ad; }
.gate input[type="email"], .gate select { background: #1d1c1a; border-color: #4a4843; color: var(--paper); }
.gate .btn-primary { background: var(--paper); color: var(--ink); }
.gate .btn-primary:hover { background: #fff; }
@media (max-width: 860px) { .gate-grid { grid-template-columns: 1fr; gap: 32px; } .gate .card { padding: 24px 20px; } }

/* forms */
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.req { color: #b4442f; font-size: 12px; margin-left: 4px; }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ai); outline-offset: 1px; border-color: transparent; }
.hint { font-size: 13px; color: var(--ink-2); margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 12px; cursor: pointer; }
.check input { margin-top: 6px; accent-color: var(--ai); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: 15px; cursor: pointer; margin: 0; }
.radio-row input { accent-color: var(--ai); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--ai); background: var(--ai-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #2f7a4f; }
.gate .form-status.ok { color: #9fd3b0; }
.form-status.err { color: #b4442f; }
.gate .form-status.err { color: #f0a493; }
.turnstile { margin: 8px 0 16px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact-side p { color: var(--ink-2); }
.contact-side ul { padding-left: 1.2em; color: var(--ink-2); font-size: 15px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 24px; } .contact-form { padding: 24px 18px; } }

/* notes / faq */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.note-link { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; transition: border-color .15s; }
.note-link:hover { border-color: var(--ai); }
.note-link small { display: block; color: var(--ink-2); font-size: 13px; }
.note-link strong { font-size: 17px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ai); font-size: 20px; line-height: 1.4; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* footer */
.site-footer { background: var(--paper-2); padding: 40px 0; font-size: 13px; color: var(--ink-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.site-footer a { color: var(--ink-2); }
.site-footer .copy { margin-left: auto; }

/* legal page */
.legal { padding: 72px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 34px); margin: 0 0 32px; }
.legal h2 { font-size: 19px; margin: 40px 0 10px; font-family: var(--sans); font-weight: 700; }
.legal p, .legal li { color: var(--ink-2); }
.gate h2 { font-size: clamp(24px, 3.2vw, 34px); }
.gate h2 .nb { white-space: nowrap; }
