:root {
  --ink:#0b0b0d;
  --muted:#666;
  --line:#e5e5e5;
  --soft:#f7f7f8;
}

* { box-sizing:border-box; }

body {
  margin:0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  color:var(--ink);
  background:#fff;
}

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

.wrap {
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* HEADER */
.topbar {
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid var(--line);
  z-index:10;
}

.nav {
  height:64px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand {
  display:flex;
  gap:8px;
  font-weight:700;
  align-items:center;
}

.dot {
  width:8px;
  height:8px;
  background:var(--ink);
  border-radius:50%;
}

.menu a {
  margin-right:16px;
  color:var(--muted);
  font-size:14px;
}

/* BUTTON */
.btn {
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:12px;
  font-weight:600;
  font-size:14px;
}

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

.btn.ghost {
  background:#fff;
}

/* HERO */
.hero {
  padding:100px 0;
  background:linear-gradient(180deg, #fafafa, #ffffff);
}

.hero-inner {
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:40px;
  align-items:center;
}

.hero-img {
  width:100%;
  border-radius:24px;
  box-shadow:0 30px 80px rgba(0,0,0,.15);
}

.hero h1 {
  font-size:52px;
  line-height:1.1;
}

.hero p {
  color:var(--muted);
  font-size:18px;
}

/* SECTION */
section {
  padding:90px 0;
}

.section-soft {
  background:var(--soft);
}

h2 {
  font-size:32px;
  margin-bottom:16px;
}

.grid {
  display:grid;
  gap:32px;
}

.grid.two { grid-template-columns:1fr 1fr; }
.grid.three { grid-template-columns:repeat(3,1fr); }

.section-img {
  width:100%;
  border-radius:20px;
}

/* LIST */
.checklist {
  margin-top:20px;
  padding-left:20px;
  color:var(--muted);
}

/* CARD */
.card {
  border:1px solid var(--line);
  border-radius:20px;
  padding:24px;
  background:#fff;
}

.card img {
  width:100%;
  margin-bottom:16px;
}

/* SERVICES */
.services-intro {
  max-width: 640px;
  margin-bottom: 60px;
  color: var(--muted);
  line-height: 1.8;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.service-item img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.service-text h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.service-text .desc {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-text ul {
  padding-left: 18px;
  color: var(--muted);
}

.service-text li {
  margin-bottom: 8px;
}

/* MOBILE */
@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    grid-template-columns: 1fr;
  }
}


/* PORTFOLIO MOCKUP */
.portfolio-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px;
  margin-top:40px;
}

.work-card {
  background:#fff;
  border-radius:24px;
  padding:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
  transition:transform .3s ease, box-shadow .3s ease;
}

.work-card:hover {
  transform:translateY(-8px);
  box-shadow:0 30px 80px rgba(0,0,0,.15);
}

.mockup {
  border-radius:20px;
  overflow:hidden;
  margin-bottom:16px;
  background:#000;
}

.mockup img {
  width:100%;
  display:block;
  border-radius:20px;
}

.work-card h4 {
  margin:12px 0 6px;
}

.work-card p {
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* CONTACT */
.contact-box {
  max-width:520px;
}

input, textarea {
  width:100%;
  padding:14px;
  margin-bottom:12px;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:14px;
}

/* FOOTER */
footer {
  border-top:1px solid var(--line);
  padding:30px 0;
  text-align:center;
  color:var(--muted);
}

/* MOBILE */
@media (max-width:768px) {
  .hero-inner,
  .grid.two,
  .grid.three,
  .portfolio-grid {
    grid-template-columns:1fr;
  }

  .hero h1 {
    font-size:40px;
  }
}

/* SCROLL FADE */
.fade {
  opacity:0;
  transform:translateY(30px);
  transition:opacity .8s ease, transform .8s ease;
}

.fade.show {
  opacity:1;
  transform:translateY(0);
}

/* CONTACT - KAKAO */
.contact-box {
  max-width: 520px;
}

.contact-desc {
  margin: 12px 0 28px;
  color: var(--muted);
  line-height: 1.7;
}

.kakao-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #FEE500;
  color: #000;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.kakao-btn img {
  width: 32px;
  height: 32px;
}

.kakao-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
}

@media (max-width: 768px) {
  .kakao-btn {
    justify-content: center;
    font-size: 17px;
  }
}


