:root {
  --ink: #17181c;
  --dim: #6f7480;
  --faint: #9ca1ab;
  --hairline: #e7e6e2;
  --bg: #fdfdfb;
  --tint: #f5f4f0;
  --accent: #1d4ed8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

.container { max-width: 1020px; margin: 0 auto; padding: 0 28px; }

a { color: inherit; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 253, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1020px; margin: 0 auto; padding: 18px 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { font-weight: 800; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  text-decoration: none; font-size: 0.92rem; color: var(--dim);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.section-lead { color: var(--dim); margin-top: 10px; max-width: 560px; }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800; line-height: 1.35; letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.hero-desc { color: var(--dim); font-size: 1.08rem; max-width: 520px; margin-bottom: 36px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-solid, .btn-line {
  display: inline-block; padding: 13px 26px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: opacity 0.15s, border-color 0.15s;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { opacity: 0.85; }
.btn-line { border: 1px solid var(--hairline); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }

.hero-photo { margin: 0; }
.hero-photo img {
  display: block; width: 100%; max-width: 360px; margin-left: auto;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 12px;
}

.facts {
  margin-top: 80px;
  border-top: 1px solid var(--hairline);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 0 0;
  gap: 24px;
}
.facts strong { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.facts span { font-size: 0.88rem; color: var(--dim); }

/* ---------- Sections ---------- */
.section { padding: 130px 0; }
.section-tint { background: var(--tint); }

/* ---------- Services ---------- */
.service-list {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.service {
  display: block; text-decoration: none;
  border: 1px solid var(--hairline); border-radius: 14px;
  background: #fff;
  padding: 34px 36px;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.service:hover {
  border-color: #c9c7c0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(23, 24, 28, 0.06);
}
.service-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.service-head h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.service-role { font-size: 0.78rem; font-weight: 600; color: var(--faint); letter-spacing: 0.04em; }
.service-one-liner { font-weight: 700; margin-bottom: 8px; }
.service-desc { color: var(--dim); font-size: 0.95rem; margin-bottom: 20px; }
.service-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); }

/* ---------- Now ---------- */
.now-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.now-visual {
  height: 156px;
  background: var(--tint);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  gap: 22px;
  margin-bottom: 24px;
  overflow: hidden;
}
.tool { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.tool img { width: 42px; height: 42px; }
.tool span { font-size: 0.8rem; font-weight: 700; color: var(--dim); }
.tool-plus { font-size: 1.05rem; font-weight: 600; color: var(--faint); margin-top: -26px; }
.gp-logo { max-width: 72%; max-height: 62px; object-fit: contain; }
.growth-chart { width: 84%; height: auto; }
.now-num {
  display: block; font-size: 0.82rem; font-weight: 800;
  color: var(--accent); letter-spacing: 0.1em;
}
.now-item h3 {
  font-size: 1.18rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 12px 0 12px;
}
.now-item p { color: var(--dim); font-size: 0.96rem; }

/* ---------- Story (chapters) ---------- */
.chapter {
  display: grid; grid-template-columns: 160px 1fr; gap: 32px;
  padding: 52px 0;
  border-top: 1px solid var(--hairline);
}
.chapter:first-of-type { margin-top: 56px; }
.chapter-side { display: flex; flex-direction: column; }
.chapter-num {
  font-size: 2.2rem; font-weight: 800; letter-spacing: -0.04em;
  color: #dedcd5; line-height: 1;
}
.chapter-kicker {
  margin-top: 10px; font-size: 1rem; font-weight: 800; color: var(--accent);
  letter-spacing: 0.02em;
}
.chapter-period { margin-top: 4px; font-size: 0.88rem; font-weight: 600; color: var(--faint); }
.chapter-body h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; }
.chapter-body h3 span { font-size: 0.9rem; font-weight: 600; color: var(--dim); margin-left: 10px; }
.chapter-narrative { margin: 12px 0 28px; color: var(--dim); }

.proj-list { border-top: 1px solid var(--hairline); }
.proj-row {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 11px 0; border-bottom: 1px solid var(--hairline);
  font-size: 0.93rem;
}
.proj-client { color: var(--faint); font-weight: 600; }
.proj-row p { color: var(--ink); }
.proj-row em {
  font-style: normal; color: var(--faint); font-size: 0.82rem;
  margin-left: 8px; white-space: nowrap;
}

.innovation-list { display: grid; gap: 26px; }
.innovation h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.innovation p { color: var(--dim); font-size: 0.94rem; }

.skills {
  margin-top: 64px;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}
.skill-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 32px;
  padding: 12px 0; border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
}
.skill-row span { color: var(--faint); font-weight: 600; }
.skill-row p { color: var(--ink); }

/* ---------- Teaching ---------- */
.teach-table { margin-top: 56px; }
.teach-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 32px;
  padding: 22px 0; border-top: 1px solid var(--hairline);
}
.teach-period { font-size: 0.9rem; font-weight: 700; color: var(--faint); padding-top: 2px; }
.teach-row h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.teach-row p { font-size: 0.88rem; color: var(--dim); margin-top: 2px; }
.teach-foot {
  margin-top: 28px; font-size: 0.88rem; color: var(--faint);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink); color: #fff;
  padding: 120px 0 60px; text-align: center;
}
.footer .eyebrow { color: #8ab4ff; }
.footer h2 { color: #fff; }
.footer-lead { color: rgba(255, 255, 255, 0.55); margin-top: 10px; }
.footer-mail {
  display: inline-block; margin-top: 36px;
  font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  transition: border-color 0.15s;
}
.footer-mail:hover { border-color: #fff; }
.footer-sub { margin-top: 30px; display: flex; justify-content: center; gap: 26px; }
.footer-sub a {
  color: rgba(255, 255, 255, 0.6); text-decoration: none; font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-sub a:hover { color: #fff; }
.copyright { margin-top: 80px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.35); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo img { margin: 0; max-width: 300px; }
  .hero-desc br, .now-item br, .service-desc br, .chapter-narrative br,
  .innovation br, .section-lead br { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .now-grid { grid-template-columns: 1fr; gap: 32px; }
  .chapter { grid-template-columns: 1fr; gap: 16px; }
  .chapter-side { flex-direction: row; align-items: baseline; gap: 12px; }
  .chapter-num { font-size: 1.5rem; }
  .proj-row { grid-template-columns: 1fr; gap: 2px; }
  .skill-row, .teach-row { grid-template-columns: 1fr; gap: 6px; }
  .nav-links { gap: 18px; }
  .section { padding: 90px 0; }
}
