/* 사이를 잇는 사람들 — 홈페이지 스타일
   방향: 웜 에디토리얼 (베이지 배경 + 딥그린 텍스트, 민트/코럴은 포인트로만) */

@font-face {
  font-family: 'Pretendard Variable';
  src: url('/fonts/PretendardVariable.woff2') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FAF1E6;
  --fg: #1A2F2A;
  --muted: rgba(26, 47, 42, 0.62);
  --mint: #7DCAB5;
  --coral: #E8896A;
  --line: rgba(26, 47, 42, 0.14);
  --hover: rgba(26, 47, 42, 0.045);
  --card: #FFFDF9;

  --font-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --font-point: 'Gowun Batang', serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
}

h1, h2, p { margin: 0; }

a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
a:hover { color: var(--coral); }

img { max-width: 100%; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 96px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--fg);
}
.nav__brand:hover { color: var(--fg); }
.nav__mark { display: block; }
.nav__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.nav__contact {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 3px;
  flex-shrink: 0;
}
.nav__contact:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* ---------- HERO ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  padding: 132px 96px 116px;
}
.hero__text {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero__title {
  font-family: var(--font-point);
  font-size: 46px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.hero__desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 440px;
}
.hero__cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--coral);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.hero__cta:hover { color: var(--fg); }

.hero__visual {
  flex-shrink: 0;
  width: 460px;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 1;
}
.hero__corner--tl { top: -6px; left: 16px; border-top: 2px solid var(--mint); border-left: 2px solid var(--mint); }
.hero__corner--br { bottom: -6px; right: 16px; border-bottom: 2px solid var(--coral); border-right: 2px solid var(--coral); }
.hero__frame {
  transform: rotate(-3deg);
  width: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 34px 64px rgba(26, 47, 42, 0.18);
  overflow: hidden;
  background: var(--card);
}
.hero__frame img { width: 100%; display: block; }

/* ---------- shared section chrome ---------- */
.section { border-top: 1px solid var(--line); }
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- ABOUT ---------- */
.about {
  display: flex;
  gap: 80px;
  padding: 116px 96px;
}
.about__label { width: 170px; flex-shrink: 0; }
.about__body {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.about__body p {
  font-size: 19px;
  line-height: 1.9;
  color: var(--fg);
}

/* ---------- PRODUCTS ---------- */
.products { padding: 0 96px; }
.products__head {
  padding: 76px 0 36px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.products__head span:last-child { font-size: 14px; color: var(--muted); }
.products__list { display: flex; flex-direction: column; }

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
a.product-row:hover { color: inherit; background: var(--hover); }
.product-row__main {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}
.product-row__thumb {
  width: 46px;
  height: auto;
  border-radius: 5px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.product-row__name {
  font-family: var(--font-point);
  font-size: 25px;
  font-weight: 700;
  color: var(--fg);
  width: 150px;
  flex-shrink: 0;
}
.product-row__desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
}
.product-row__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.product-row__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}
.product-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.products__more {
  padding: 26px 4px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- SERVICES ---------- */
.services {
  padding: 112px 96px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.services__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 620px;
}
.services__title {
  font-family: var(--font-point);
  font-size: 33px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.45;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 760px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tag {
  font-size: 14px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--fg);
}
.services__note {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 620px;
}
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.process__step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process__num {
  font-family: var(--font-point);
  font-size: 22px;
}
.process__step:nth-child(odd) .process__num { color: var(--coral); }
.process__step:nth-child(even) .process__num { color: var(--mint); }
.process__title { font-size: 15px; font-weight: 700; color: var(--fg); }
.process__desc { font-size: 14px; line-height: 1.65; color: var(--muted); }
.services__price {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 620px;
  padding-top: 4px;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 170px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.contact__lead { font-size: 17px; color: var(--muted); }
.contact__email {
  font-family: var(--font-point);
  font-size: 36px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 6px;
}
.contact__email:hover { color: var(--coral); border-bottom-color: var(--coral); }

/* ---------- FOOTER ---------- */
.footer {
  padding: 30px 96px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy { font-size: 13px; color: var(--muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { padding: 20px 28px; }
  .hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 48px;
    padding: 64px 28px 80px;
  }
  .hero__visual { width: 100%; justify-content: flex-start; }
  .hero__frame { width: min(420px, 100%); }
  .hero__text { max-width: 100%; }
  .hero__title { font-size: 34px; }

  .about { flex-direction: column; gap: 24px; padding: 72px 28px; }
  .about__label { width: auto; }
  .about__body { max-width: 100%; }
  .about__body p { font-size: 17px; }

  .products { padding: 0 28px; }
  .products__head { padding: 56px 0 24px; }
  .product-row { flex-wrap: wrap; row-gap: 12px; padding: 22px 4px; }
  .product-row__desc { max-width: 100%; }
  .product-row__name { width: auto; }

  .services { padding: 72px 28px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }

  .contact { padding: 96px 28px; }
  .contact__email { font-size: 26px; word-break: break-all; }

  .footer { padding: 24px 28px; }
}

@media (max-width: 480px) {
  .product-row__main { gap: 14px; }
  .process { grid-template-columns: 1fr; }
}
