:root {
  --paper: #F4F1EA;
  --paper-2: #EDE8DD;
  --ink: #1B1A17;
  --ink-2: #45413A;
  --muted: #5E5A52;
  --line: #D8D2C4;
  --seal: #5A4527;
  --serif: 'Noto Serif KR', serif;
  --sans: 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
a:hover { color: var(--seal); }
img { max-width: 100%; }

.container { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 112px; padding-bottom: 112px; }
.eyebrow { margin: 0 0 28px; font-size: 14px; letter-spacing: 0.18em; color: var(--muted); }
.section-title { margin: 0 0 40px; font-family: var(--serif); font-size: 40px; font-weight: 600; letter-spacing: -0.02em; }
.accent { color: var(--seal); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-emblem { height: 44px; width: auto; }
.logo-wordmark { height: 22px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.nav a { text-decoration: none; padding: 10px 0; }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 140px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.hero-text { flex: 999 1 560px; min-width: 0; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 6vw, 84px); line-height: 1.22; letter-spacing: -0.03em; }
.lead { margin: 36px 0 0; max-width: 560px; font-size: 18px; line-height: 1.8; color: var(--ink-2); }
.actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--seal); color: var(--paper); }
.btn-line { border: 1px solid var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); min-height: 56px; padding: 0 32px; }
.btn-light:hover { background: #fff; }
.hero-seal { flex: 1 1 220px; display: flex; justify-content: flex-end; }
.hero-emblem { width: 240px; height: auto; }

/* Name meaning */
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .section { padding-top: 96px; padding-bottom: 96px; }
.name-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.name-item { display: flex; flex-direction: column; gap: 14px; }
.name-word { font-family: var(--serif); font-size: 44px; font-weight: 600; }
.name-en { font-size: 13px; letter-spacing: 0.16em; color: var(--muted); }
.name-item p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--ink-2); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 2px solid var(--ink); }
.service { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.service-no { font-family: var(--serif); font-size: 15px; color: var(--seal); }
.service h3 { margin: 16px 0 12px; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.service p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.tags { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); color: var(--seal); }
.service-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Archive */
#archive { padding-top: 0; }
.archive { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.archive li { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.archive .no { width: 88px; font-family: var(--serif); font-size: 15px; color: var(--seal); }
.archive .title { flex: 999 1 320px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.archive .meta { flex: 0 1 auto; min-width: 120px; font-size: 15px; color: var(--muted); }

/* Contact / footer */
.contact { background: var(--ink); color: var(--paper); }
.contact-inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; }
.contact h2 { margin: 0; flex: 999 1 480px; font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.footer-logo { height: 18px; width: auto; margin-right: 8px; }
.company { align-items: center; padding-top: 32px; padding-bottom: 48px; border-top: 1px solid #3A3832; display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: #B5AFA3; }

@media (max-width: 640px) {
  .section { padding-top: 80px; padding-bottom: 80px; }
  .hero { padding-top: 72px; padding-bottom: 88px; }
  .hero-seal { justify-content: flex-start; }
  .hero-emblem { width: 150px; }
  .section-title { font-size: 32px; }
  .name-word { font-size: 36px; }
  .service { padding-right: 0; }
  .contact-inner { padding-top: 80px; padding-bottom: 80px; }
}

/* Inquiry form */
#inquiry { scroll-margin-top: 80px; }
.inquiry { display: flex; flex-wrap: wrap; gap: 48px; }
.inquiry-head { flex: 1 1 280px; }
.inquiry-head p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.form { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field legend { font-size: 15px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 8px; }
.req { color: var(--seal); }
.form input[type=text], .form input[type=tel], .form input[type=email], .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #FBF9F4;
  border: 1px solid #BDB5A4; border-radius: 0; padding: 12px 14px; min-height: 48px; width: 100%;
}
.form textarea { resize: vertical; line-height: 1.7; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--seal); outline-offset: 1px; border-color: var(--seal); }
.checks { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.checks label, .consent label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; min-height: 44px; cursor: pointer; }
.form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--seal); }
.consent p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.form button { border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.form button:disabled { opacity: .6; cursor: default; }
.form-status { margin: 16px 0 0; font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: #2F5D3A; }
.form-status.err { color: #9E2B25; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
