:root {
  --bg: #e8f0ec;
  --bg-deep: #0f2a24;
  --surface: #f7faf8;
  --text: #12201c;
  --muted: #4a5c56;
  --accent: #0d7a5f;
  --accent-dark: #0a5c48;
  --hero-1: #12352e;
  --hero-2: #1a4a3f;
  --hero-3: #0b221d;
  --hero-glow: rgba(45, 140, 110, 0.45);
  --hero-veil: rgba(8, 28, 24, 0.85);
  --line: rgba(18, 32, 28, 0.12);
  --max: 1100px;
  --font-display: "Fraunces", "Apple SD Gothic Neo", serif;
  --font-body: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #f4faf7;
  text-decoration: none;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a {
  color: rgba(244, 250, 247, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.nav a:hover { color: #fff; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
  color: #f4faf7;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0%, var(--hero-veil) 55%, var(--bg-deep) 100%),
    radial-gradient(ellipse 90% 70% at 70% 20%, var(--hero-glow), transparent 55%),
    linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 40%, var(--hero-3) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
  animation: drift 28s linear infinite;
}
@keyframes drift {
  from { transform: translateY(0); }
  to { transform: translateY(-28px); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero .brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 18px;
  animation: rise 0.9s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 14px;
  max-width: 18ch;
  animation: rise 0.9s ease 0.12s both;
}
.hero .lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: rgba(244, 250, 247, 0.82);
  max-width: 36ch;
  animation: rise 0.9s ease 0.22s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: rise 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: #e8f7f0; color: var(--bg-deep); }
.btn-primary:hover { background: #fff; }
.btn-ghost {
  background: transparent;
  color: #f4faf7;
  border: 1px solid rgba(244, 250, 247, 0.35);
}
.btn-ghost:hover { border-color: #fff; }

.section { padding: 72px 0; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.section .intro {
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 52ch;
}

.service-list { display: grid; gap: 28px; }
.service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  transition: padding 0.25s ease;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { padding-left: 8px; }
.service .eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.service p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}
.service .link {
  font-weight: 700;
  margin-top: 6px;
}

.article-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.article-block h2 { margin-top: 0; }
.article-block p { color: var(--muted); }
.article-block ul { padding-left: 1.2rem; color: var(--muted); }

.page-main { padding: 110px 0 60px; }
.page-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 16px;
}
.page-main .prose {
  max-width: 68ch;
  color: var(--muted);
}
.page-main .prose h2 {
  font-family: var(--font-display);
  color: var(--text);
  margin-top: 32px;
}

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.footer-brand a { color: inherit; text-decoration: none; }
.footer-note { margin: 0; max-width: 32ch; line-height: 1.55; }
.footer-col h3 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { margin: 0; }
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted); font-weight: 600; }

@media (max-width: 768px) {
  .nav { display: none; }
  .hero { min-height: 92vh; padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
