/* 홈 전용 — 공통 토큰(css/tokens.css) 위에 얹는다 (#4074 P4, 시안 A) */
.hero { position: relative; padding: var(--s10) 0 var(--s9); overflow: hidden; touch-action: pan-y; }
.hero canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.45) 40%, rgba(255,255,255,0) 68%),
              linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 18%); }
.hero .wrap { position: relative; z-index: 1; }
.hero .en { font-size: var(--fs-md); font-weight: 500; color: var(--leaf); letter-spacing: 0; margin-bottom: var(--s4); }
.hero h1 { font-size: 72px; line-height: 1.12; letter-spacing: -0.045em; max-width: 12em; }
.hero .lead { margin-top: var(--s5); font-size: var(--fs-lg); color: var(--body); max-width: 31em; line-height: 1.65; }
.hero .actions { margin-top: var(--s7); display: flex; gap: var(--s3); flex-wrap: wrap; }

section.block { padding: var(--s9) 0; }
section.block.tint { background: var(--mist); }
.block-head { display: grid; grid-template-columns: 280px 1fr; gap: var(--s7); margin-bottom: var(--s7); align-items: end; }
.block-head p { color: var(--muted); max-width: 34em; }

.svc { display: grid; grid-template-columns: 280px 1fr; gap: var(--s7); padding: var(--s7) 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { font-size: var(--fs-xl); }
.svc .what { font-size: var(--fs-lg); color: var(--ink); margin-bottom: var(--s4); line-height: 1.6; }
.svc ul { list-style: none; columns: 2; column-gap: var(--s7); }
.svc li { padding: 6px 0 6px 18px; position: relative; break-inside: avoid; }
.svc li::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 2px; background: var(--leaf); }
.svc .note { margin-top: var(--s4); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); counter-reset: s; list-style: none; }
.steps li { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.steps .n { font-size: var(--fs-sm); font-weight: 700; color: var(--leaf); }
.steps h3 { margin: var(--s2) 0 var(--s2); }
.steps p { font-size: var(--fs-sm); color: var(--body); }

.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s5); list-style: none; }
.shelf a.item { display: block; color: inherit; text-decoration: none; }
.shelf .shot { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 9 / 19.5; background: #dde3de; }
.shelf .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shelf .meta { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.shelf .meta img { width: 28px; height: 28px; border-radius: 7px; }
.shelf h3 { font-size: var(--fs-md); }
.shelf .tag { font-size: var(--fs-sm); color: var(--body); margin-top: var(--s1); line-height: 1.5; }
.shelf .plat { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s2); }
.shelf a.item:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s8); }
.contact .side p { margin-top: var(--s4); color: var(--body); max-width: 24em; }
.contact .mail { display: inline-block; margin-top: var(--s5); font-size: var(--fs-lg); font-weight: 600; }
.mailbox { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s7); }
.mailbox .mb-t { font-size: var(--fs-lg); color: var(--ink); font-weight: 600; margin-bottom: var(--s3); }
.mailbox .btn { margin-top: var(--s5); }
.mailbox .mb-s { margin-top: var(--s4); font-size: var(--fs-sm); color: var(--muted); }
form { display: grid; gap: var(--s5); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: var(--s2); }
label small { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: var(--fs-md) var(--font); color: var(--ink);
  border: 1px solid #C5CCC7; border-radius: var(--r-sm); padding: 12px 14px; background: #fff;
}
textarea { min-height: 150px; resize: vertical; }
form .btn { justify-self: start; }

@media (max-width: 960px) {
  .shelf { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s3); }
  .shelf li { scroll-snap-align: start; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero { padding: var(--s8) 0 var(--s8); }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: var(--fs-md); }
  .hero .actions .btn { flex: 1; }
  section.block { padding: var(--s8) 0; }
  .block-head, .svc, .contact { grid-template-columns: 1fr; gap: var(--s4); }
  .block-head { margin-bottom: var(--s5); }
  .svc { padding: var(--s6) 0; }
  .svc ul { columns: 1; }
  .steps { grid-template-columns: 1fr; gap: var(--s5); }
  .row2 { grid-template-columns: 1fr; }
  form .btn { justify-self: stretch; }
}

.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7); list-style: none; }
.strengths li { border-top: 2px solid var(--ink); padding-top: var(--s4); }
.strengths h3 { margin-bottom: var(--s2); }
.strengths p { color: var(--body); }
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); }
.offer h3 { font-size: var(--fs-xl); margin-bottom: var(--s3); }
.offer .what { color: var(--ink); margin-bottom: var(--s4); }
.offer ul { list-style: none; }
.offer li { padding: 6px 0 6px 18px; position: relative; }
.offer li::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 2px; background: var(--leaf); }
.direction { padding: var(--s9) 0; background: var(--ink); color: #fff; }
.direction p { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; max-width: 18em; color: #fff; }
.hero h1.names { font-size: 56px; line-height: 1.2; max-width: 16em; }
@media (max-width: 760px) {
  .strengths, .offer { grid-template-columns: 1fr; gap: var(--s6); }
  .direction { padding: var(--s8) 0; }
  .direction p { font-size: 26px; }
  .hero h1.names { font-size: 34px; }
}

/* 문의 양식 (#4074, 대표 50968) — 전송 로직은 js/contact.js(원문 그대로) */
:root { --error: #C62828; --gray-200: #C5CCC7; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s6); }
.contact-form .hp { position: absolute; left: -9999px; top: -9999px; }
.contact-form .btn-submit { margin-top: var(--s2); }
.btn-submit .btn-loading { display: none; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline; }
.btn-submit.loading { opacity: .7; pointer-events: none; }
.form-message { display: none; font-size: var(--fs-sm); padding: var(--s3) var(--s4); border-radius: var(--r-sm); }
.form-message.success { display: block; background: #E8F3EE; color: var(--leaf); }
.form-message.error { display: block; background: #FBEAEA; color: var(--error); }
.recaptcha-notice { font-size: var(--fs-xs); color: var(--muted); }
.recaptcha-notice a { color: var(--muted); }
.grecaptcha-badge { visibility: hidden; }
