/* site.css — HaebangPlan 공식 사이트 0C 시각 시안 (Stage 0 Shell 위 적용)
 * 방향: Notion 17. Page Brief v1 — 포트폴리오 중심 에디토리얼, 무채색 + 액센트 1종.
 * 서체 A안: Instrument Sans (EN) + Noto Sans KR (KO). B안은 --font-sans 교체로 전환.
 */
:root {
  --bg: #f3f3f1;
  --bg-2: #e9e9e6;
  --ink: #111112;
  --ink-2: #2c2c2f;
  --mute: #6b6b70;
  --line: #d4d4cf;
  --night: #141415;
  --night-line: #2e2e31;
  --accent: #2b3cff;   /* 주 액센트 Ultramarine — CTA·포커스·히어로 바·체크 */
  --on-accent: #ffffff;
  --signal: #e8173c;   /* 신호 액센트 Cherry — 점·선·활성 상태 소면적 전용. 주 액센트와 같은 요소에 병치 금지 */

  --font-sans: "Instrument Sans", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", "Malgun Gothic", sans-serif;

  --gutter: clamp(16px, 3.4vw, 48px);
  --gap: clamp(12px, 1.7vw, 24px);
  --maxw: 1440px;
  --header-h: 64px;
  --section-y: clamp(88px, 10vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ko) body, html:lang(ko) { word-break: keep-all; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* 신호 빨강이 쓰이는 요소(언어 버튼·워드마크·메뉴)는 포커스를 무채색으로 — 같은 요소에 두 액센트 병치 금지.
 * 포커스 표시는 유지(키보드 접근성). Codex QA 2026-10-14 FAIL 대응. */
/* 0D 카드 링크(이름·보기)도 무채색 포커스 — Codex 0D QA 2026-10-15 FAIL 대응. 2px/offset 3px 유지. */
.lang-switch button:focus-visible,
.wordmark:focus-visible,
.primary-nav a:focus-visible,
.concept-name a:focus-visible,
.concept-open:focus-visible { outline-color: var(--ink); }

.idx { font-variant-numeric: tabular-nums; color: var(--mute); }

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.wordmark {
  justify-self: start;
  font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.wordmark span { display: inline-block; }
/* 워드마크 W3 Signal bar (2026-10-14 확정) — HAEBANGPLAN 한 단어 + PLAN 아래 신호 빨강 밑줄.
 * 헤더 소형(14–15px)에서도 식별되도록 두께·간격에 px 하한을 둔다. 미채택 W1/W2는 /review/ 시트 전용. */
.wm--bar .wm-b { position: relative; }
.wm--bar .wm-b::after {
  content: ""; position: absolute; left: .04em; right: .1em;
  bottom: min(-3px, -.2em); height: max(2px, .13em);
  background: var(--signal);
}
.primary-nav { display: flex; gap: clamp(20px, 2.4vw, 36px); }
.primary-nav a {
  font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  position: relative; padding: 4px 0;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  background: var(--signal);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch button {
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  border: 0; background: none; color: var(--mute); padding: 6px 6px; cursor: pointer; border-radius: 4px;
}
.lang-switch button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* KO 활성 = 신호 빨강 밑줄 (글자는 ink 유지 — 소형 텍스트 대비 확보) */
.lang-switch button[data-lang-btn="ko"][aria-pressed="true"] { text-decoration-color: var(--signal); }
.lang-switch button:hover { color: var(--ink); }
.nav-cta {
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  color: var(--on-accent); background: var(--accent);
  padding: 9px 16px; border-radius: 999px;
  transition: background-color .25s var(--ease);
}
.nav-cta:hover { background: var(--ink); }
.nav-toggle {
  display: none; font: inherit; font-size: 13px; font-weight: 600;
  background: none; border: 1px solid var(--ink); color: var(--ink);
  padding: 7px 12px; border-radius: 999px; cursor: pointer;
}

/* ── Type ───────────────────────────────────────── */
.display {
  font-size: clamp(46px, 8.6vw, 136px);
  line-height: 0.94; letter-spacing: -0.048em; font-weight: 500;
  text-wrap: balance;
}
html:lang(ko) .display { line-height: 1.1; letter-spacing: -0.04em; }
h2 {
  font-size: clamp(34px, 4.6vw, 70px);
  line-height: 1.0; letter-spacing: -0.038em;
  text-wrap: balance;
}
html:lang(ko) h2 { line-height: 1.16; letter-spacing: -0.035em; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 34em; }

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary::after { content: "→"; transition: transform .3s var(--ease); }
.btn-primary:hover { background: var(--ink); }
.btn-primary:hover::after { transform: translateX(3px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-lg { padding: 18px 32px; font-size: 17px; }

/* ── Hero ───────────────────────────────────────── */
.hero { padding: clamp(32px, 4vw, 56px) 0 clamp(64px, 8vw, 120px); }
.hero-eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.hero .display { max-width: 13ch; }
html:lang(ko) .hero .display { max-width: 12em; }
.hero-row {
  margin-top: clamp(32px, 3.5vw, 56px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end;
}
.hero-copy { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: 28px; padding-bottom: 4px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-media { grid-column: 6 / span 7; position: relative; aspect-ratio: 16 / 9; }

/* 코드 생성 추상 미디어 — "먼저 만들어 보여준다"의 레이아웃 블록 구성 */
.frame {
  position: absolute; inset: 0 14% 0 0;
  background: var(--night); border-radius: 6px; overflow: hidden;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: calc(100% / 12) calc(100% / 8);
}
.frame-bar { position: absolute; top: 4.5%; left: 3.5%; display: flex; gap: 6px; }
.frame-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.frame-bar i:first-child { background: var(--signal); }
.blk { position: absolute; display: block; border-radius: 3px; background: #e9e9e6; }
.blk-a { left: 8.33%; top: 18%; width: 50%; height: 9%; }
.blk-b { left: 8.33%; top: 30%; width: 33.3%; height: 9%; }
.blk-c { left: 8.33%; top: 50%; width: 41.6%; height: 37.5%; background: #3a3a3e; }
.blk-d { left: 54.16%; top: 50%; width: 37.5%; height: 15%; background: #2a2a2d; }
.blk-e { left: 54.16%; top: 68%; width: 25%; height: 19.5%; background: #2a2a2d; }
.blk-accent { left: 8.33%; top: 42.5%; width: 12.5%; height: 2.6%; background: var(--accent); border-radius: 999px; }
.frame-small {
  inset: auto 0 -6% auto; width: 24%; aspect-ratio: 9 / 18; height: auto;
  border: 1px solid #2e2e31; background-color: #1c1c1e; border-radius: 10px;
  background-size: calc(100% / 4) calc(100% / 8);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,.45);
}
.blk-f { left: 12%; top: 12%; width: 76%; height: 7%; }
.blk-g { left: 12%; top: 23%; width: 52%; height: 7%; }
.blk-h { left: 12%; top: 40%; width: 76%; height: 44%; background: #3a3a3e; }

/* ── Sections ───────────────────────────────────── */
.section { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.sec-head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap);
  margin-bottom: clamp(40px, 5vw, 80px);
}
.sec-label {
  grid-column: 1 / span 3;
  font-size: 13px; font-weight: 500; color: var(--ink-2); padding-top: .7em;
}
.sec-title { grid-column: 4 / span 9; display: flex; flex-direction: column; gap: 24px; }
.sec-title .lead { color: var(--mute); }

/* Featured Concepts */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.concept-card { display: flex; flex-direction: column; gap: 16px; }
.concept-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px;
  background: var(--bg-2);
}
.concept-media::before, .concept-media::after { content: ""; position: absolute; transition: transform 1.1s var(--ease); }
.concept-card:hover .concept-media::before { transform: scale(1.04); }
/* Restaurant — 원형 플레이트 구성 */
.concept-card[data-concept="restaurant"] .concept-media { background: #deded9; }
.concept-card[data-concept="restaurant"] .concept-media::before {
  inset: 0;
  background:
    radial-gradient(circle at 34% 40%, #f6f6f3 0 17%, #cfcfca 17.4% 19%, transparent 19.4%),
    radial-gradient(circle at 68% 64%, #f6f6f3 0 13%, #cfcfca 13.4% 14.8%, transparent 15.2%),
    radial-gradient(circle at 70% 26%, #1d1d1f 0 6%, transparent 6.4%);
}
/* Spa & Wellness — 수평 밴드 그라데이션 */
.concept-card[data-concept="spa-wellness"] .concept-media { background: #e4e4e0; }
.concept-card[data-concept="spa-wellness"] .concept-media::before {
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 11%, rgba(17,17,18,.07) 11% 12%),
    linear-gradient(180deg, #ecece8 0%, #d2d2cd 58%, #bdbdb7 100%);
}
.concept-card[data-concept="spa-wellness"] .concept-media::after {
  left: 50%; top: 30%; width: 34%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(circle, #f8f8f6 0 40%, rgba(248,248,246,0) 72%);
}
/* Boutique Hotel — 아치 창 그리드 */
.concept-card[data-concept="boutique-hotel"] .concept-media { background: #2a2a2d; }
.concept-card[data-concept="boutique-hotel"] .concept-media::before {
  left: 12%; right: 12%; top: 14%; bottom: -2%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 96'%3E%3Cpath d='M12 92V36a18 18 0 0 1 36 0v56z' fill='%23e9e9e6'/%3E%3C/svg%3E") 0 0 / 33.333% 50% repeat;
}
.concept-card[data-concept="boutique-hotel"] .concept-media::after {
  left: 12%; right: 12%; bottom: 0; height: 2px; background: var(--accent);
}
.concept-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bg); color: var(--ink); padding: 5px 9px; border-radius: 999px;
}
.concept-badge { display: inline-flex; align-items: center; gap: 6px; }
.concept-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.concept-badge:empty { display: none; }
.concept-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.concept-idx { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }
.concept-tag {
  font-size: 13px; font-weight: 500; letter-spacing: 0;
  border: 1px solid var(--ink); border-radius: 999px; padding: 4px 12px;
}
.concept-tag a { text-decoration: none; }
.concept-note { font-size: 15px; color: var(--mute); max-width: 30em; }
/* 0D: live Original Concept 카드 — 사진 + 업종 태그 + 이름 링크(새 탭) + 한 줄 소개 */
.concept-card[data-status="live"] .concept-media { background: var(--bg-2); }
.concept-card[data-status="live"] .concept-media::before,
.concept-card[data-status="live"] .concept-media::after { content: none; }
.concept-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.concept-card:hover .concept-media img { transform: scale(1.03); }
.concept-name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
/* 이름 링크 클릭 타깃 44px — 음수 세로 여백으로 줄 높이(26.4px)·카드 배치는 그대로 */
.concept-name a { display: inline-flex; align-items: center; min-height: 44px; margin: -8.8px 0; text-decoration: none; }
/* Tab 이동 시 포커스 outline이 sticky header에 가리지 않도록 (html scroll-padding-top: header-h 에 더해짐) */
.concept-name a, .concept-open { scroll-margin-top: 16px; }
.concept-name a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.concept-card[data-status="live"] .concept-note { margin: -6px 0 0; }
.concept-open { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.concept-open:hover { text-decoration-thickness: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { .concept-media img { transition: none; } .concept-card:hover .concept-media img { transform: none; } }

/* How it works */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap);
}
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; margin-bottom: 28px; }
.steps p, .item-grid p { color: var(--mute); font-size: 15px; }
#how h2 { font-size: clamp(30px, 3.8vw, 56px); }

/* What we do */
.item-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.item-grid > div { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.package-card {
  border: 1px solid var(--ink); border-radius: 6px; padding: clamp(24px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 20px; min-height: 100%;
}
.package-card + .package-card { background: var(--night); color: #f3f3f1; border-color: var(--night); }
.package-card h3 { font-size: clamp(28px, 2.8vw, 42px); letter-spacing: -0.03em; line-height: 1.05; }
.package-summary { color: var(--mute); font-size: 16px; max-width: 28em; }
.package-card + .package-card .package-summary { color: #a6a6aa; }
.package-price {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  border-top: 1px solid currentColor; border-bottom: 1px solid currentColor;
  padding: 14px 0; margin-top: 8px;
}
.package-price[data-price-state="draft"]::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none;
}
.package-card + .package-card .package-price { border-color: var(--night-line); }
.package-card ul { margin: 0; padding: 0; list-style: none; }
.package-card li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.package-card + .package-card li { border-color: var(--night-line); }
.package-card li:last-child { border-bottom: 0; }
.addons-note { margin-top: 24px; color: var(--mute); font-size: 14px; }

/* Ownership */
.check-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.check-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(16px, 1.4vw, 19px);
}
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 600; }
.fine-note { color: var(--mute); font-size: 14px; }

/* Care — 다크 밴드 */
.section-night { background: var(--night); color: #f3f3f1; border-top: 0; }
.section-night .sec-label, .section-night .idx { color: #8d8d92; }
.section-night .sec-title .lead { color: #b8b8bc; }
/* F1 + (05): sec-head가 섹션의 마지막 블록이면(Care, What you receive) 헤드 하단 마진 제거 —
 * 다른 섹션과 같은 하단 리듬(섹션 패딩만)으로 통일 */
.sec-head:last-child { margin-bottom: 0; }

/* Final CTA */
.final-cta { padding: clamp(96px, 12vw, 200px) 0; border-top: 0; }
.final-cta .display { max-width: 12ch; }
html:lang(ko) .final-cta .display { max-width: 11em; }
.cta-row {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px;
}
.cta-row .lead { max-width: 28em; }

/* ── Footer ─────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--ink); padding: 40px 0 32px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 24px; }
.wordmark-lg { font-size: clamp(28px, 4.4vw, 64px); letter-spacing: -0.02em; line-height: 1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--mute); font-size: 13px;
}
.footer-business { word-break: keep-all; }

/* ── Sub pages (legal / brief) ─────────────────── */
.page-head { padding: clamp(48px, 7vw, 112px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(40px, 6vw, 96px); line-height: 0.98; letter-spacing: -0.045em; max-width: 16ch; }
html:lang(ko) .page-head h1 { line-height: 1.12; }
.page-head .lead { margin-top: 20px; color: var(--mute); }
.page-body { padding: 0 0 var(--section-y); }
.prose { max-width: 44em; border-top: 1px solid var(--ink); }
.prose h2 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.3; margin: 40px 0 10px; }
.prose p { color: var(--ink-2); }
.legal-updated { font-size: 13px; color: var(--mute); padding-top: 14px; }

/* Brief form */
.brief-form { max-width: 44em; border-top: 1px solid var(--ink); padding-top: 32px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: #fbfbfa; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form-note { font-size: 14px; color: var(--mute); margin-top: 12px; }
.form-error { color: #b3261e; font-size: 14px; margin: 8px 0 0; }
.review-box { max-width: 44em; border: 1px solid var(--ink); border-radius: 6px; padding: 28px 32px; margin-top: 32px; }
.review-box h2 { font-size: 28px; }
.review-box dl { margin: 16px 0 0; }
.review-box dt { font-size: 13px; font-weight: 600; margin-top: 14px; color: var(--mute); }
.review-box dd { margin: 2px 0 0; }
.form-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* ── Motion — 절제된 fade / slide ───────────────── */
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-motion .reveal.is-in { opacity: 1; transform: none; }
.js-motion .hero-media.is-in .blk { animation: blk-in .9s var(--ease) both; }
.js-motion .hero-media.is-in .blk-b { animation-delay: .08s; }
.js-motion .hero-media.is-in .blk-c { animation-delay: .16s; }
.js-motion .hero-media.is-in .blk-d { animation-delay: .24s; }
.js-motion .hero-media.is-in .blk-e { animation-delay: .32s; }
.js-motion .hero-media.is-in .blk-accent { animation: accent-in 1.1s .45s var(--ease) both; transform-origin: left; }
.js-motion .hero-media.is-in .frame-small { animation: slide-up 1s .3s var(--ease) both; }
@keyframes blk-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes accent-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-copy { grid-column: 1 / span 5; }
  .hero-media { grid-column: 6 / span 7; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .item-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
/* 0D: 카드 그리드 768–1024 2열 (≤600 1열 규칙이 뒤에서 우선) */
@media (max-width: 1024px) {
  .concept-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .nav-toggle { display: inline-block; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--ink);
    padding: 8px var(--gutter) 20px;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { font-size: 28px; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .sec-label, .sec-title { grid-column: 1 / -1; }
  .sec-label { padding-top: 0; }
  .hero-row { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-media { order: -1; }
  .concept-grid { grid-template-columns: 1fr 1fr; }
  .package-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-tools { gap: 6px; }
  .site-header .wordmark { font-size: 14px; letter-spacing: 0.03em; }
  .nav-cta { padding: 8px 13px; font-size: 13px; }
  .lang-switch button { padding: 6px 4px; }
  .concept-grid { grid-template-columns: 1fr; gap: 40px; }
  .concept-media { aspect-ratio: 4 / 3.6; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; row-gap: 6px; padding: 18px 0 22px; }
  .steps .step-n { grid-row: span 2; margin: 2px 0 0; }
  .item-grid { grid-template-columns: 1fr; row-gap: 28px; }
  .item-grid .step-n { margin-bottom: 8px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-row .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .review-box { padding: 22px 20px; }
}
