/* ART WINDOW 메인 랜딩 — 현행 1:1 개선판 · 에디토리얼 갤러리 도록 톤
   자급형(self-contained). 디자인 시스템 SSOT: 흰 갤러리·Playfair·딥그린 #166048,
   국문 헤드라인은 명조(Noto Serif KR)로 격상, 본문은 Noto Sans KR. */

:root {
  --paper: #fbfaf7;       /* 웜 페이퍼톤 갤러리 벽 */
  --paper-2: #f4f1ea;     /* 한 톤 깊은 면 */
  --pure: #ffffff;        /* 매트·플레이트 */
  --ink: #1c1b18;         /* 웜 잉크 블랙 */
  --ink-2: #46423b;       /* 본문 */
  --ink-soft: #6f6b63;    /* 보조 */
  --primary: #166048;
  --primary-deep: #0f3f2e;
  --primary-fg: #f3faf6;
  --line: #e7e2d9;        /* 헤어라인 */
  --line-2: #d8d2c6;

  --ff-display: "Playfair Display", Georgia, serif;
  --ff-serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --ff-body: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
  --pad: 22px;
  --ease: cubic-bezier(0.33, 0, 0.2, 1);
}
@media (min-width: 768px)  { :root { --pad: 56px; } }
@media (min-width: 1240px) { :root { --pad: 96px; } }

/* ── reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: var(--primary-fg); }

.wrap { max-width: calc(var(--maxw) + var(--pad) * 2); margin: 0 auto; padding-inline: var(--pad); }

/* ── 타이포 프리미티브 ────────────────────────────── */
.eyebrow {
  font-family: var(--ff-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.muted { color: var(--ink-soft); }
.serif { font-family: var(--ff-serif); font-weight: 500; line-height: 1.32; letter-spacing: -0.015em; color: var(--ink); }
.lead { font-size: 16px; line-height: 1.85; color: var(--ink-soft); }

/* ── 버튼 ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding-inline: 32px;
  border-radius: 999px;
  background: var(--primary); color: var(--primary-fg);
  font-family: var(--ff-body); font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn .arr { font-family: var(--ff-display); font-size: 16px; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.cta-note { font-size: 13px; color: var(--ink-soft); }

/* ── 헤더 ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; height: 60px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-family: var(--ff-display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 13.5px; color: var(--ink-soft); transition: color .2s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--primary); font-weight: 600; }
@media (max-width: 680px) { .nav a:not(.nav-cta) { display: none; } }

/* ── HERO (비대칭 2col + 빈 벽 사진) ──────────────── */
.hero { border-bottom: 1px solid var(--line); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 132px);
}
.hero-copy .eyebrow { display: block; margin-bottom: 26px; }
.hero-title { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.24; }
.hero-title .l1 { display: block; color: var(--ink-soft); font-weight: 400; }
.hero-title .l2 { display: block; color: var(--ink); font-weight: 600; }
.hero-lead { margin-top: 28px; max-width: 40ch; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--ink-soft); }

.hero-plate { position: relative; }
.hero-plate .frame {
  background: var(--pure); padding: clamp(14px, 1.6vw, 22px);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(28,27,24,.5);
}
.hero-plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-plate .plate-cap {
  position: absolute; left: -1px; bottom: 22px; transform: translateX(-32%);
  background: var(--paper); border: 1px solid var(--line);
  padding: 12px 18px; font-family: var(--ff-display); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-plate { max-width: 420px; }
  .hero-plate .plate-cap { transform: none; left: auto; right: 18px; }
}

/* ── 섹션 공통 ────────────────────────────────────── */
.section { padding-block: clamp(72px, 10vw, 130px); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-title { font-size: clamp(26px, 3.6vw, 42px); }
.sec-sub { margin-top: 20px; max-width: 52ch; }
.idx { font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.2em; color: var(--ink-soft); }

/* ── STYLES (도록 — 비대칭 갤러리) ────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 5vw, 72px) clamp(32px, 4vw, 64px); }
.plate { display: block; }
.plate .frame {
  background: var(--pure); padding: clamp(18px, 2.4vw, 34px);
  border: 1px solid var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.plate:hover .frame { box-shadow: 0 26px 56px -36px rgba(28,27,24,.45); }
.plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.plate figcaption { margin-top: 20px; display: flex; gap: 16px; align-items: baseline; }
.plate .cap-no { font-family: var(--ff-display); font-size: 13px; color: var(--primary); flex: none; padding-top: 2px; }
.plate .cap-body h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.plate .cap-body p { margin-top: 7px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); }
/* 짝수 행 살짝 내려 도록 리듬 */
.cat-grid .plate:nth-child(even) { margin-top: clamp(0px, 5vw, 56px); }
@media (max-width: 720px) {
  .cat-grid { grid-template-columns: 1fr; gap: 44px; }
  .cat-grid .plate:nth-child(even) { margin-top: 0; }
}

/* ── PROCESS (헤어라인 3분할, 보더박스 없음) ──────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.step { padding-top: 26px; border-top: 1px solid var(--line-2); }
.step .step-no { font-family: var(--ff-display); font-size: 15px; letter-spacing: 0.16em; color: var(--primary); }
.step h3 { font-family: var(--ff-serif); font-weight: 600; font-size: 21px; color: var(--ink); margin-top: 18px; letter-spacing: -0.01em; }
.step p { margin-top: 14px; font-size: 14.5px; line-height: 1.78; color: var(--ink-soft); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 8px; } .step { padding-block: 26px; } }

/* ── CRAFT (좌 맥락 사진 / 우 물성 리스트) ────────── */
.craft { background: var(--paper-2); }
.craft .wrap { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.craft-plate .frame { background: var(--pure); padding: clamp(14px,1.8vw,22px); border: 1px solid var(--line); box-shadow: 0 24px 60px -38px rgba(28,27,24,.45); }
.craft-plate img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.craft-copy .eyebrow { display: block; margin-bottom: 18px; }
.craft-copy .sec-title { font-size: clamp(24px, 3.2vw, 38px); }
.craft-copy .sec-sub { margin-bottom: 14px; }
.craft-list { margin-top: 36px; }
.craft-list li { padding: 24px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 132px 1fr; gap: 20px; }
.craft-list li:last-child { border-bottom: 1px solid var(--line-2); }
.craft-list .ci-label { font-family: var(--ff-serif); font-weight: 600; font-size: 16px; color: var(--ink); }
.craft-list .ci-label small { display: block; font-family: var(--ff-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; font-weight: 700; }
.craft-list p { font-size: 14.5px; line-height: 1.78; color: var(--ink-soft); }
@media (max-width: 880px) {
  .craft .wrap { grid-template-columns: 1fr; gap: 44px; }
  .craft-plate { max-width: 460px; }
}
@media (max-width: 520px) {
  .craft-list li { grid-template-columns: 1fr; gap: 8px; }
}

/* ── PRICING (미니멀 라인 — 보더카드 폐기) ────────── */
.pricing-fine { margin-top: 16px; font-size: 12.5px; color: var(--ink-soft); letter-spacing: 0.01em; }
.price-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.trial { }
.trial .t-tag { font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); }
.trial .t-price { font-family: var(--ff-serif); font-weight: 600; font-size: clamp(40px, 6vw, 60px); color: var(--ink); margin-top: 10px; line-height: 1; }
.trial .t-desc { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.trial-feats { margin-top: 30px; }
.trial-feats li { padding: 16px 0; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; font-size: 14.5px; color: var(--ink-2); }
.trial-feats li:last-child { border-bottom: 1px solid var(--line); }
.trial-feats .fdot { font-family: var(--ff-display); color: var(--primary); font-size: 13px; }
.trial .btn-ghost { margin-top: 28px; }

.sizes { }
.sizes .s-cap { font-family: var(--ff-display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 18px; border-bottom: 1px solid var(--line-2); display: flex; justify-content: space-between; }
.size-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.size-row:hover { padding-left: 8px; }
.size-row .s-name { font-family: var(--ff-display); font-size: 22px; font-weight: 500; color: var(--ink); }
.size-row .s-dim { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.02em; }
.size-row .s-price { font-family: var(--ff-serif); font-weight: 600; font-size: 16px; color: var(--primary); text-align: right; min-width: 96px; }
.size-row.custom .s-name { color: var(--ink-soft); }
.size-row.custom .s-price { font-size: 13px; color: var(--primary); font-family: var(--ff-body); }
@media (max-width: 880px) { .price-wrap { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 460px) {
  .size-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .size-row .s-dim { grid-column: 1; }
}

.pricing-cta { margin-top: clamp(56px, 8vw, 96px); text-align: center; }
.pricing-cta .cta-note { margin-top: 18px; }

/* ── 푸터 ──────────────────────────────────────────── */
.site-footer { padding-block: clamp(56px, 7vw, 84px); background: var(--ink); color: #c9c4ba; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.site-footer .wordmark { color: #fff; }
.site-footer .f-line { font-family: var(--ff-serif); font-size: 15px; color: #e7e2d9; max-width: 36ch; line-height: 1.7; }
.site-footer .links { margin-top: 8px; display: flex; gap: 22px; }
.site-footer .links a { font-size: 12.5px; color: #9b968c; }
.site-footer .links a:hover { color: #fff; }

/* ── reveal (절제된 staggered) ─────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .size-row:hover { transform: none; }
}
