:root {
  --ink: #171714;
  --muted: #6f6a5f;
  --paper: #f5f0e7;
  --paper-2: #ebe4d7;
  --line: #cfc5b4;
  --accent: #226f64;
  --accent-2: #a6402d;
  --dark: #25231f;
  --white: #fffaf0;
  --shadow: 0 18px 60px rgba(37, 35, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 23, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 20, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(37, 35, 31, 0.16);
  background: rgba(245, 240, 231, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 4px;
  gap: 3px;
  background: var(--white);
}

.brand-mark span {
  background: var(--ink);
}

.brand-mark span:nth-child(2) {
  background: var(--accent);
}

.brand-mark span:nth-child(3) {
  background: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(37, 35, 31, 0.3);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(34, 111, 100, 0.1);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  padding: 70px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.94;
  font-weight: 500;
}

.lead {
  max-width: 680px;
  color: #3f3b33;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.58;
  font-weight: 500;
}

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

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 30px;
}

.metric-strip span,
.metric-strip a {
  min-height: 78px;
  padding: 13px;
  border: 1px solid rgba(37, 35, 31, 0.2);
  background: rgba(255, 250, 240, 0.66);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.metric-strip strong,
.metric-strip a strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1;
}

.metric-strip a:hover {
  border-color: var(--accent);
  background: rgba(34, 111, 100, 0.08);
}

.proof-board {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(rgba(23, 23, 20, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 20, 0.035) 1px, transparent 1px),
    rgba(255, 250, 240, 0.82);
  background-size: 22px 22px;
  box-shadow: var(--shadow);
}

.proof-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 8px;
  border-bottom: 1px solid rgba(37, 35, 31, 0.22);
}

.proof-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-head strong {
  font-size: 13px;
}

.proof-item {
  position: relative;
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(37, 35, 31, 0.28);
  background: var(--white);
  overflow: hidden;
}

.proof-item.primary {
  min-height: 220px;
  background: linear-gradient(135deg, var(--white), #ece4d5);
}

.proof-item strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.1;
}

.proof-item small,
.updated {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.proof-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  border: 1px solid rgba(37, 35, 31, 0.24);
  object-fit: cover;
  object-position: top left;
}

.section.compact {
  padding: 48px 0;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.path-grid a {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(37, 35, 31, 0.2);
  background: rgba(255, 250, 240, 0.72);
}

.path-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 20px;
}

.path-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  box-shadow: 5px 5px 0 rgba(34, 111, 100, 0.35);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.lab-visual {
  position: relative;
  min-height: 580px;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(166, 64, 45, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(235, 228, 215, 0.72));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.lab-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(37, 35, 31, 0.24);
}

.node {
  position: absolute;
  width: 42%;
  min-height: 96px;
  padding: 16px;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(37, 35, 31, 0.08);
}

.node strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}

.node span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.node.one {
  top: 52px;
  left: 42px;
}

.node.two {
  top: 168px;
  right: 46px;
}

.node.three {
  left: 58px;
  bottom: 136px;
}

.node.four {
  right: 56px;
  bottom: 52px;
}

.route-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 20%, rgba(34, 111, 100, 0.7) 20% 21%, transparent 21%),
    linear-gradient(180deg, transparent 34%, rgba(166, 64, 45, 0.65) 34% 35%, transparent 35%),
    linear-gradient(135deg, transparent 43%, rgba(37, 35, 31, 0.45) 43% 43.4%, transparent 43.4%);
}

.section {
  padding: 74px 0;
  border-top: 1px solid rgba(37, 35, 31, 0.14);
}

.section.dark {
  color: var(--white);
  background: var(--dark);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  font-weight: 500;
}

.section-head p,
.page-intro p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 250, 240, 0.68);
}

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

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

.card,
.output-card {
  min-height: 214px;
  padding: 22px;
  border: 1px solid rgba(37, 35, 31, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.68);
}

.dark .card {
  border-color: rgba(255, 250, 240, 0.18);
  background: rgba(255, 250, 240, 0.06);
}

.card .meta,
.output-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dark .card .meta {
  color: #7bc5b8;
}

.card h3,
.output-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.card p,
.output-card p,
.list-row p {
  color: var(--muted);
  line-height: 1.65;
}

.output-visual {
  min-height: 190px;
  margin: -4px -4px 20px;
  padding: 16px;
  border: 1px solid rgba(37, 35, 31, 0.22);
  background: var(--paper-2);
}

.output-visual span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(37, 35, 31, 0.24);
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.output-visual.planner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: center;
}

.output-visual.content {
  display: grid;
  gap: 10px;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(166, 64, 45, 0.12) 0 34%, transparent 34%),
    var(--paper-2);
}

.output-visual.automation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.output-visual.automation i {
  flex: 1;
  height: 2px;
  background: var(--accent);
}

.output-shot,
.card-shot,
.article-shot {
  display: block;
  width: 100%;
  border: 1px solid rgba(37, 35, 31, 0.2);
  object-fit: cover;
  object-position: top left;
  background: var(--paper-2);
}

.output-shot {
  width: calc(100% + 8px);
  height: 190px;
  margin: -4px -4px 20px;
}

.card-shot {
  height: 150px;
  margin-bottom: 18px;
}

.article-shot {
  max-height: 520px;
  margin-bottom: 24px;
}

.project-facts,
.article-facts {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid rgba(37, 35, 31, 0.16);
  background: rgba(255, 250, 240, 0.58);
}

.project-facts {
  display: grid;
  gap: 8px;
}

.project-facts dt {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.project-facts dd {
  margin: -4px 0 5px;
  color: #3f3b33;
  line-height: 1.55;
}

.article-facts {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.article-facts p {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  margin: 0;
}

.article-facts strong {
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dark .card p {
  color: rgba(255, 250, 240, 0.72);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.quote {
  padding: 30px;
  border-left: 5px solid var(--accent-2);
  background: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.18;
}

.list {
  display: grid;
  gap: 12px;
}

.list-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(37, 35, 31, 0.16);
}

.list-row strong {
  color: var(--accent-2);
}

.page-hero {
  padding: 84px 0 46px;
}

.page-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: end;
}

.page-intro h1 {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.08;
  font-weight: 850;
}

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

.index-item {
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.index-item .type {
  color: var(--accent);
  font-weight: 900;
}

.index-item h2 {
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 850;
}

.status {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(37, 35, 31, 0.22);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid rgba(37, 35, 31, 0.18);
  color: var(--muted);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-body {
  max-width: 820px;
  color: #3f3b33;
  font-size: 18px;
  line-height: 1.8;
}

.article-body h2 {
  margin: 42px 0 14px;
  font-family: inherit;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 850;
}

.article-body p,
.article-body li {
  color: #3f3b33;
}

.article-body a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-body .button {
  color: var(--white);
  text-decoration: none;
}

.contact-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.contact-band h2 {
  margin: 12px 0 18px;
}

.contact-band p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.contact-actions span {
  padding: 15px;
  border: 1px solid rgba(37, 35, 31, 0.18);
  background: rgba(255, 250, 240, 0.72);
  color: #3f3b33;
  font-weight: 800;
}

.contact-actions .button {
  margin-top: 8px;
  justify-self: start;
}

@media (max-width: 860px) {
  .nav {
    align-items: center;
    flex-direction: row;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    background: rgba(255, 250, 240, 0.72);
  }

  .hero,
  .section-head,
  .split,
  .page-intro,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .lab-visual {
    min-height: 520px;
  }

  .grid,
  .output-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .index-item {
    grid-template-columns: 1fr;
  }

  .status {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .wrap,
  .nav {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: 46px;
  }

  .page-intro h1 {
    font-size: 38px;
    line-height: 1.14;
   }

  .lab-visual {
    min-height: 640px;
  }

  .node {
    position: relative;
    width: auto;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 18px;
  }

  .node.one,
  .node.two,
  .node.three,
  .node.four {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .route-line {
    display: none;
  }

  .list-row {
    grid-template-columns: 1fr;
  }
}
