:root {
  --bg: #f7f5f0;
  --paper: #fffdf9;
  --text: #171717;
  --muted: #706d67;
  --line: #dcd7ce;
  --accent: #a98057;
  --accent-dark: #74573b;
  --soft: #eee9e0;
  --black: #111111;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(35, 28, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(247, 245, 240, 0.88);
  border-bottom: 1px solid rgba(220, 215, 206, 0.7);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--text);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: #403d39;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.btn {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(169, 128, 87, 0.23), transparent 31%),
    radial-gradient(circle at 15% 80%, rgba(169, 128, 87, 0.1), transparent 25%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 12px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.3vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.hero h1 span {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--accent-dark);
}

.hero-text {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-meta strong {
  color: var(--accent-dark);
  font-family: "Playfair Display", serif;
  font-size: 18px;
}

.hero-meta span {
  font-size: 12px;
  color: var(--muted);
}

.hero-card {
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid rgba(220, 215, 206, 0.9);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent-dark);
  font-weight: 800;
}

.hero-card h2 {
  margin: 12px 0 22px;
  font-size: 26px;
  line-height: 1.35;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-card li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #48443f;
  font-size: 14px;
}

.hero-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 10px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 26px;
  color: var(--accent-dark);
  font-weight: 700;
}

.section {
  padding: 110px 0;
}

.section-soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.body-copy {
  font-size: 18px;
  color: var(--muted);
}

.body-copy p {
  margin-top: 0;
  margin-bottom: 18px;
}

.body-copy strong {
  color: var(--text);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head > p {
  width: min(430px, 100%);
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 270px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid rgba(220, 215, 206, 0.8);
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card span {
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 26px;
}

.service-card h3 {
  margin: 36px 0 12px;
  font-size: 21px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-item {
  position: relative;
  padding: 34px 30px 0 0;
}

.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 41px;
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.process-item strong {
  font-family: "Playfair Display", serif;
  color: var(--accent);
  font-size: 28px;
}

.process-item h3 {
  margin: 26px 0 8px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: var(--black);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 125px;
}

.contact-copy .eyebrow {
  color: #d0af8b;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.contact-copy > p {
  color: #bdb8b0;
  margin-top: 24px;
}

.contact-note {
  margin-top: 36px;
  padding: 22px 0 0;
  border-top: 1px solid #393939;
}

.contact-note strong {
  font-size: 14px;
}

.contact-note p {
  color: #99958f;
  font-size: 13px;
  margin-bottom: 0;
}

.contact-form {
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
}

.contact-form label > span:first-child {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 14px 15px;
  color: var(--text);
  outline: none;
}

input,
select {
  min-height: 52px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(169, 128, 87, 0.12);
}

.check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.check input {
  width: 18px;
  height: 18px;
  min-height: auto;
  margin-top: 2px;
}

.check span {
  margin: 0 !important;
  font-weight: 400 !important;
}

.submit-btn {
  width: 100%;
  margin-top: 4px;
}

.form-help {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin: 12px 0 0;
}

footer {
  padding: 32px 0;
  background: #0b0b0b;
  color: #777;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-inner strong {
  color: #dedede;
  font-size: 13px;
}

.footer-inner p {
  margin: 4px 0 0;
  font-size: 11px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-meta {
    flex-wrap: wrap;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .process-item::after {
    display: none;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header .btn-small {
    display: none;
  }

  .brand-text strong {
    font-size: 10px;
  }

  .hero {
    padding: 52px 0 68px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 22px;
  }

  .section {
    padding: 78px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .service-grid,
  .process-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive layout and Korean word wrapping. */
html { scroll-padding-top: 100px; }
button, input, select, textarea { word-break: inherit; }
input, select, textarea { min-width: 0; max-width: 100%; }
.hero-grid > *, .split > *, .contact-grid > *, .section-head > *,
.service-grid > *, .process-grid > *, .field-row > * { min-width: 0; }
.brand-mark, .check input { flex-shrink: 0; }
.hero-actions { flex-wrap: wrap; }
.btn { text-align: center; padding-top: 12px; padding-bottom: 12px; }
.nav-links a, .menu-toggle { white-space: nowrap; }
.menu-toggle { display: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (min-width: 901px) and (max-width: 1150px) {
  .hero-grid { gap: 36px; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); }
  .hero h1 { font-size: clamp(46px, 5.2vw, 60px); }
  .split, .contact-grid { gap: 40px; }
  .nav { gap: 18px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 900px) {
  .nav { position: relative; flex-wrap: wrap; gap: 12px; padding: 12px 0; min-height: 70px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--text); cursor: pointer; }
  .nav-links { order: 3; width: 100%; padding: 12px 0 0; border-top: 1px solid var(--line); gap: 8px; }
  .nav-links.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a { min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--paper); }
  .split, .contact-grid { gap: 32px; }
  .section-head { align-items: flex-start; gap: 24px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 84px; }
  .container { width: calc(100% - 32px); }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand-text strong { font-size: 10px; letter-spacing: 0.04em; }
  .brand-text small { font-size: 9px; letter-spacing: 0.02em; }
  .menu-toggle { padding: 8px 12px; font-size: 14px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 48px); line-height: 1.25; letter-spacing: -0.045em; }
  .hero h1 br { display: none; }
  .eyebrow { font-size: 10px; letter-spacing: 0.1em; }
  .hero-text, .body-copy { font-size: 16px; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
  .hero-meta span { font-size: 11px; }
  .hero-card { padding: 24px 20px; }
  .hero-card h2 { font-size: 24px; }
  .section { padding: 60px 0; }
  .section-title, .contact-copy h2 { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.35; }
  .section-head { margin-bottom: 28px; }
  .service-card { padding: 24px; }
  .service-card h3 { margin-top: 20px; }
  .process-grid { gap: 0; }
  .process-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .process-item h3 { margin-top: 10px; }
  .contact-form { padding: 24px 16px; }
  input, select, textarea { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card { transition: none; }
}
