:root {
  --ink: #101417;
  --muted: #59656f;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --line: rgba(16, 20, 23, 0.13);
  --teal: #246b63;
  --amber: #bd7a2d;
  --charcoal: #14191d;
  --shadow: 0 20px 55px rgba(16, 20, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-elevated {
  color: var(--ink);
  background: rgba(246, 244, 239, 0.92);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: currentColor;
  font-size: 12px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(22px, 6vw, 86px) 86px;
  color: #fff;
  background: var(--charcoal);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 13, 15, 0.88), rgba(10, 13, 15, 0.48) 46%, rgba(10, 13, 15, 0.18)),
    linear-gradient(0deg, rgba(10, 13, 15, 0.58), rgba(10, 13, 15, 0.06) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 136px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 24px);
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
}

.button.primary {
  border-color: #fff;
  color: var(--ink);
  background: #fff;
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  word-break: keep-all;
}

.intro p:last-child,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  word-break: keep-all;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(16, 20, 23, 0.04);
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.service-card h3 {
  margin: 28px 0 12px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
  word-break: keep-all;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  word-break: keep-all;
}

.work {
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.process-list li {
  min-height: 190px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.process-list li:last-child {
  border-right: 0;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 14px;
  font-size: 22px;
}

.process-list span {
  color: var(--muted);
  word-break: keep-all;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  gap: 12px;
  border-radius: 8px;
  padding: 28px;
  color: #fff;
  background: var(--charcoal);
  box-shadow: var(--shadow);
}

.contact-panel a,
.contact-panel span {
  display: block;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.contact-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(22px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header {
    padding: 14px 18px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 100px 22px 62px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 13, 15, 0.9), rgba(10, 13, 15, 0.48)),
      linear-gradient(0deg, rgba(10, 13, 15, 0.66), rgba(10, 13, 15, 0.1) 44%);
  }

  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-list li:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 36px, 1120px);
    padding: 66px 0;
  }

  .section-heading {
    display: block;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 460px) {
  .site-nav a:first-child {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
