/* kerrilucy.com — 디자인 v3 「견본 도감」
   글꼴: Pretendard(OFL, 상업 사용 가능) 하나 · 색: 브랜드킷 — 글자 Midnight Navy #14284A, 칸 바탕 Soft Sky #AEC6D8 · Dusty Blush #D7AAA2
   버튼 = Dusty Blush · 바탕 = 흰 회색 · 코랄은 화면에 쓰지 않음
   선·그림자·둥근 모서리 없음(표 안의 선만) · 움직임은 CSS 만, 「움직임 줄이기」 설정이면 전부 멈춤 · 자바스크립트 없음 */
:root {
  --bg: #fbf9f8;
  --surface: #e4edf4;
  --ink: #14284a;
  --ink-soft: #4a5468;
  --paper: #ffffff;
  --accent: #d7aaa2;
  --accent-hover: #cc9a91;
  --accent-ink: #14284a;
  --ink-hover: #2a2a2a;
  --on-ink: #d6d6d6;
  --on-ink-soft: #bdbdbd;
  --field-1: #aec6d8;
  --field-2: #f2e0dc;
  --field-3: #ffffff;
  --rule: #dcdcdc;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 0.6rem + 5.2vw, 5.25rem);
  --margin: clamp(16px, 2.2vw, 32px);
  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(112px, 13vw, 200px);
  --tile: 15vw;
  --gap: 8px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.6; letter-spacing: -0.005em;
  word-break: keep-all; overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.small { font-size: var(--step-small); color: var(--ink-soft); line-height: 1.5; }

/* 버튼 하나의 모양: 네모, 브랜드 색 칠, 먹색 글자 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 28px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-body); text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--paper { background: var(--paper); }
.btn--paper:hover { background: var(--surface); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-hover); }
.btn-row { margin-top: 16px; }

/* ── 상품 첫 화면: 견본 벽 + 아래 고정 판 ───────────────────── */
.wall { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: var(--bg); }
.wall__rows { position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--gap); }
.wall__row { display: flex; gap: var(--gap); width: max-content; }
.wall__row:nth-child(even) { margin-left: calc(var(--tile) / -2); }
.tile {
  position: relative; flex: none; width: var(--tile); height: var(--tile); background: var(--field-1);
  display: grid; place-items: center; overflow: hidden;
}
.tile--f2 { background: var(--field-2); }
.tile--f3 { background: var(--field-3); }
.tile--f4 { background: var(--surface); }
.tile img { width: auto; height: 82%; aspect-ratio: 2 / 3; object-fit: cover; }
.tile img.sq { height: 70%; aspect-ratio: 1; }
.wall__panel {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(1240px, calc(100% - 2 * var(--margin)));
  background: var(--ink); color: var(--paper); padding: 30px 32px 22px;
  display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: end;
}
.wall__panel h1 { font-size: var(--step-display); letter-spacing: -0.04em; line-height: 1.04; }
.wall__name { min-width: 0; }
.price { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: var(--step-small); color: var(--on-ink); }
.price b { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; color: var(--paper); }
.wall__panel .lede { grid-column: 1 / -1; font-size: var(--step-body); color: var(--on-ink); max-width: 60ch; }
.wall__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; font-size: var(--step-small); color: #cfcfcf; padding-top: 4px; }
.wall__nav a { text-decoration: none; }
.wall__nav a:hover { text-decoration: underline; }
.wordmark { font-weight: 700; font-size: var(--step-body); color: var(--paper); letter-spacing: -0.02em; margin-right: 8px; }
.banner { grid-column: 1 / -1; justify-self: start; background: var(--accent); color: var(--ink); padding: 4px 12px; font-size: var(--step-small); font-weight: 600; }

/* ── 상품 목록(홈): 갈래 제목 + 줄 목록 + 오른쪽 미리보기 액자 ───── */
.section { padding: var(--section) var(--margin) 0; }
.cat { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); position: relative; }
.cat__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.cat__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.125rem); }
.cat__count { font-size: var(--step-body); color: var(--ink-soft); }
.index li + li { margin-top: 12px; }
.row {
  display: grid; grid-template-columns: 96px 1fr; gap: 6px 24px; padding: 18px 20px 18px 18px; text-decoration: none;
  background: var(--paper); transition: background-color 200ms ease, opacity 240ms ease;
}
.row__thumb { grid-row: 1 / span 3; width: 96px; height: 120px; object-fit: cover; }
.row__name { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.row__fact { font-size: var(--step-body); font-weight: 500; }
.row:hover, .row:focus-visible { background: var(--field-2); }
.frame { position: relative; }
.frame__stick { position: sticky; top: 24px; width: 100%; aspect-ratio: 4 / 5; background: var(--field-1); overflow: hidden; }
.frame__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 240ms ease; }
.frame__img:first-child { opacity: 1; }
.frame__cap { position: absolute; left: 0; bottom: 0; background: var(--paper); padding: 10px 14px; font-size: var(--step-small); }

/* ── 견본 도감: 칸 바탕 위 사진 + 아래 이름·한 줄 ─────────────── */
.specimens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px var(--gutter); }
.spec a { display: block; text-decoration: none; }
.spec__tile { display: grid; place-items: center; aspect-ratio: 1; background: var(--field-1); overflow: hidden; }
.spec:nth-child(4n+2) .spec__tile { background: var(--field-2); }
.spec:nth-child(4n+3) .spec__tile { background: var(--field-3); }
.spec:nth-child(4n+4) .spec__tile { background: var(--surface); }
.spec__tile img { height: 86%; width: auto; aspect-ratio: 2 / 3; object-fit: cover; transition: transform 320ms var(--ease-out); }
.spec__tile img.sq { height: 80%; aspect-ratio: 1; }
.spec a:hover img, .spec a:focus-visible img { transform: scale(1.04); }
.spec--big { grid-column: span 2; grid-row: span 2; }
.spec__name { display: block; margin-top: 14px; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.spec__fact { display: block; margin-top: 4px; color: var(--ink-soft); }
.spec__note { margin-top: 28px; }

/* ── 홈 첫 화면: 새로 나온 상품이 맨 앞 ─────────────────────── */
.new { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); padding: 4px var(--margin) 0; align-items: start; }
.new__intro { padding-top: clamp(16px, 3vw, 48px); }
.new__intro h1 { font-size: var(--step-display); letter-spacing: -0.04em; line-height: 1.04; }
.new__lede { margin-top: 20px; max-width: 34ch; font-size: var(--step-lead); line-height: 1.45; }
.new__list { margin-top: 40px; }
.new__list li + li { margin-top: 8px; }
.nrow { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 10px 14px 10px 10px; background: var(--paper); text-decoration: none; transition: background-color 200ms ease; }
.nrow:hover, .nrow:focus-visible { background: var(--field-2); }
.nrow img { width: 64px; height: 80px; object-fit: cover; }
.nrow b { display: block; font-weight: 600; line-height: 1.35; }
.nrow b + span { display: block; margin-top: 2px; color: var(--ink-soft); font-size: var(--step-small); }
.new__main { display: block; text-decoration: none; background: var(--field-1); }
.new__img { display: block; height: 72svh; min-height: 500px; overflow: hidden; }
.new__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 400ms var(--ease-out); }
.new__main:hover .new__img img { transform: scale(1.02); }
.new__cap { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: end; padding: 20px 24px 24px; background: var(--paper); }
.new__name { grid-column: 1; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.new__fact { grid-column: 1; color: var(--ink-soft); }
.new__hook { grid-column: 1; margin-top: 8px; }
.new__cap .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }

/* ── 머리 막대 + 캐리루시 이야기 첫 화면 ─────────────────────── */
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 18px var(--margin); }
.bar .wordmark { color: var(--ink); font-size: var(--step-lead); }
.bar nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.bar nav a { text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.story-hero { display: grid; grid-template-columns: 7fr 5fr; min-height: 78svh; }
.story-hero__text { align-self: end; padding: 48px var(--margin) 64px; }
.story-hero__text h1 { font-size: var(--step-display); letter-spacing: -0.04em; line-height: 1.04; }
.story-hero__text p { margin-top: 24px; max-width: 40ch; font-size: var(--step-lead); line-height: 1.45; }
.story-hero__pic { display: grid; place-items: center; background: var(--field-1); padding: 48px; }
.story-hero__pic img { width: min(100%, 440px); height: auto; }
.st b.st__word { font-size: var(--step-head); }
.steps + .facts { margin-top: 72px; }

/* ── 글 칸(정보 기준·구매 안내·이야기) ─────────────────────── */
.plain { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gutter); align-items: start; }
.plain h1, .plain h2 { font-size: var(--step-head); }
.plain__body > * + * { margin-top: 1em; }
.plain__body p { max-width: 60ch; }
.plain__aside { background: var(--field-1); padding: 28px 30px; }
.plain__aside h3 { font-size: var(--step-lead); margin-bottom: 10px; }

/* ── 상품 페이지: 색 두 칸(살아 있는 요소 = 색 고르기) ─────────── */
.show { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--section); }
.panel { position: relative; height: 92svh; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.panel--f1 { background: var(--field-1); }
.panel--f2 { background: var(--field-2); }
.panel__head { position: relative; z-index: 2; padding: 28px 28px 0; }
.panel__head h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.5rem); }
.panel__media { position: absolute; inset: 0; z-index: 1; }
.panel__media img { position: absolute; left: 50%; top: -4%; width: 66%; transform: translateX(-50%); aspect-ratio: 2 / 3; object-fit: cover; opacity: 0; transition: opacity 280ms ease; }
.panel__media img.sq { width: 86%; top: -12%; aspect-ratio: 1; }
.panel--f1 .panel__media img { left: 60%; }  /* 왼쪽 「색상 N가지」 제목 자리 — 야외 사진 위에선 글이 묻혔다(11/04) */
.panel__media img.on { opacity: 1; }
.panel__foot { position: relative; z-index: 2; margin: 0 28px 28px; background: var(--paper); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: end; }
.panel__name { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.panel__fact { font-size: var(--step-body); }
.panel__foot .small { grid-column: 1 / -1; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: var(--step-body); padding: 4px 2px; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); transition: transform 160ms var(--ease-out); }
.swatch:hover i { transform: scale(1.15); }
.swatch--still { cursor: default; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── 상품 페이지: 특징 카드(부채꼴) ───────────────────────── */
.fan { background: var(--ink); color: var(--paper); margin-top: var(--section); padding: 96px var(--margin) 120px; }
.fan__head h2 { font-size: var(--step-head); }
.fan__head p { margin-top: 12px; max-width: 52ch; color: var(--on-ink); }
.fan__cards { display: flex; justify-content: center; margin-top: 56px; padding-left: 70px; }
.card { flex: none; width: 340px; margin-left: -70px; color: var(--ink); padding: 26px 26px 28px; transform: rotate(var(--r)); }
.card:nth-child(1) { background: var(--field-1); --r: -2deg; }
.card:nth-child(2) { background: var(--field-2); --r: 1.5deg; margin-top: 28px; }
.card:nth-child(3) { background: var(--paper); --r: -1.5deg; }
.card:nth-child(4) { background: var(--surface); --r: 2deg; margin-top: 36px; }
.card__in { width: 228px; }  /* 다음 카드가 70px 겹치고 기울어져 있어도 글 끝이 가려지지 않는 폭 — 글이 긴 상품에서 잘렸다(11/04) */
.card h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.25; }
.card img { width: 200px; aspect-ratio: 1; object-fit: cover; margin: 18px 0; }
.card p { font-size: var(--step-body); line-height: 1.55; }
.card p + p { margin-top: .5em; }
.card .note { font-size: var(--step-small); color: #3c3c3c; margin-top: .6em; }
.fan__more { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: 72px; }
.fan__more h3 { font-size: var(--step-lead); margin-bottom: 8px; }
.fan__more p { color: var(--on-ink); max-width: 56ch; }
.fan__foot { margin-top: 40px; color: var(--on-ink-soft); font-size: var(--step-small); }

/* ── 구매 후기: 이 상품 쿠팡 상품평 원문 카드 ──────────────────── */
.rv-head { margin-bottom: 40px; }
.rv-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); max-width: 26ch; }
.rv-lead { margin-top: 12px; color: var(--ink-soft); max-width: 60ch; }
.rv-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.rv-list.n1 { grid-template-columns: minmax(0, 640px); }
.rv-list.n2, .rv-list.n4 { grid-template-columns: repeat(2, 1fr); }
.rv { background: var(--field-1); padding: 28px 28px 24px; }
.rv:nth-child(4n+2) { background: var(--field-2); }
.rv:nth-child(4n+3) { background: var(--paper); }
.rv:nth-child(4n+4) { background: var(--surface); }
.rv-stars { font-size: var(--step-body); line-height: 1; letter-spacing: 2px; margin-bottom: 14px; }
.rv-stars .off { color: rgba(20, 40, 74, .22); }
.rv-title { font-weight: 600; font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.3; margin-bottom: 6px; }
.rv-text p { font-size: var(--step-body); font-weight: 500; line-height: 1.6; }
.rv-meta { margin-top: 20px; font-size: var(--step-small); color: var(--ink-soft); line-height: 1.5; }
.rv-tag { margin-top: 2px; font-size: var(--step-small); color: var(--ink-soft); }
.rv-note { margin-top: 24px; }

/* ── 이럴 때 추천해요: 두 단 목록 ───────────────────────── */
.menu__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 40px; }
.menu__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.125rem); }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; }
.menu__list b { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.menu__list li > span { display: block; margin-top: 6px; color: var(--ink-soft); max-width: 46ch; }

/* ── 이런 분께: 인쇄된 명단 카드 ─────────────────────────── */
.guest { margin-top: var(--section); background: var(--field-2); overflow: hidden; display: flex; justify-content: center; padding-top: 72px; }
.guest__card { width: min(56vw, 760px); background: var(--paper); padding: 56px 56px 176px; margin-bottom: -120px; text-align: center; transform: rotate(-1.5deg); align-self: flex-start; }
.guest__card h2 { font-size: var(--step-lead); }
.guest__card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 10%; margin: 28px 0; }  /* 2:3 사진을 자를 때 머리가 잘리지 않게 위쪽 기준(11/04 청바지 컷) */
.guest__names { font-size: var(--step-lead); line-height: 1.7; }
.guest__not { margin-top: 32px; font-size: var(--step-body); color: var(--ink-soft); }
.guest__not b { color: var(--ink); font-weight: 600; }

/* ── 혼용률: 계단 숫자 칸(1~4칸) + 나머지 사실 ──────────────── */
.steps { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); position: relative; }
.st { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.st b { font-size: var(--step-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.st > span { font-size: var(--step-body); }
.st--pct { flex-direction: column-reverse; }
.st--a { grid-column: 1 / 7; height: 70vh; min-height: 480px; background: var(--accent); }
.st--b { grid-column: 7 / 10; margin-top: 14vh; height: 44vh; min-height: 300px; background: var(--ink); color: var(--paper); }
.st--c { grid-column: 10 / 13; margin-top: 26vh; height: 34vh; min-height: 240px; background: var(--field-1); }
.st--d { grid-column: 11 / 13; margin-top: 34vh; height: 28vh; min-height: 200px; background: var(--field-2); }
.steps--n2 .st--b { grid-column: 7 / 13; }
/* 한 가지 원단(100%)은 띠 하나 — 왼쪽 칸만 높게 두면 오른쪽 절반이 통째로 빈다(11/04 아이 옷 등록 때 발견) */
.steps.steps--n1 h2 { position: static; grid-column: 1 / -1; order: -1; max-width: none; }
.steps--n1 .st--a { grid-column: 1 / -1; height: auto; min-height: 220px; }
.steps--n4 .st--a { grid-column: 1 / 6; }
.steps--n4 .st--b { grid-column: 6 / 9; }
.steps--n4 .st--c { grid-column: 9 / 11; }
.steps h2 { position: absolute; left: calc(50% + var(--gap) / 2); top: 0; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); max-width: 22ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px var(--gutter); margin-top: 72px; }
.facts dt { font-size: var(--step-body); color: var(--ink-soft); }
.facts dd { margin-top: 4px; }
.facts dd b { display: block; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.facts dd > span { display: block; margin-top: 6px; max-width: 40ch; }
.ev { margin-top: 10px; }
.ev summary { cursor: pointer; list-style: none; display: inline-block; font-size: var(--step-small); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.ev summary::-webkit-details-marker { display: none; }
.ev p { margin-top: 6px; font-size: var(--step-small); color: var(--ink-soft); max-width: 46ch; line-height: 1.55; }
.ev:not([open]) > p, .faq details:not([open]) > p { display: none; }   /* 접힌 글은 자리도 차지하지 않게 */
.kc-line { margin-top: 40px; }

/* ── 치수표·세탁: 제목 왼쪽, 내용 오른쪽 ─────────────────────── */
.split { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); align-items: start; }
.split > div:first-child h2 { font-size: var(--step-head); }
.split > div:first-child p { margin-top: 14px; max-width: 34ch; }
.tbl + .tbl { margin-top: 36px; }
.tbl caption { text-align: left; font-weight: 600; font-size: var(--step-lead); padding-bottom: 12px; }
.tbl table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--paper); }
.tbl th, .tbl td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.tbl thead th { font-weight: 500; color: var(--ink-soft); font-size: var(--step-body); }
.tbl tbody th, .tbl tbody td { font-size: var(--step-lead); font-weight: 600; }
.notes { margin-top: 24px; }
.notes li { color: var(--ink-soft); }
.notes li + li { margin-top: 6px; }
.care { display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--gutter); }
.care dl div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 14px 0; }
.care dt { font-weight: 600; }
.care__em { background: var(--field-2); padding: 24px 26px; font-size: var(--step-lead); font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }
.care__tips { margin-top: 18px; }
.care__tips li + li { margin-top: 8px; }

/* ── 자주 묻는 질문: 칠한 칸 접기(첫 문항만 펼침) ───────────────── */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gutter); align-items: start; }
.faq__title h2 { font-size: var(--step-head); }
.faq details { background: var(--surface); }
.faq details + details { margin-top: var(--gap); }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: inherit; letter-spacing: inherit; margin: 0; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: var(--ink); transition: transform 200ms var(--ease-out); }
.pm::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 24px 24px; max-width: 52ch; }

/* ── 마무리: 옷이 다시 나옴 ─────────────────────────────── */
.close { margin-top: var(--section); background: var(--field-1); height: 90svh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: 0 var(--margin); position: relative; }
.close__img { grid-column: 1 / 9; position: relative; }
.close__img img { position: absolute; left: -6%; bottom: -24%; width: 112%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; }
.close__text { grid-column: 9 / 13; align-self: center; position: relative; z-index: 1; }
.close__text h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.5rem); }
.close__text p { margin-top: 14px; }
.close__fact { font-size: var(--step-lead); font-weight: 600; }
.close__price b { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; margin-right: 4px; }
.close__text .close__opts { margin-top: 6px; }
.close__text .btn { margin-top: 24px; }
.close__text .close__cp { margin-top: 20px; }
.close__text .close__note { margin-top: 8px; }

/* ── 바닥: 칸으로 채운 마지막 두 줄 ────────────────────────── */
.foot { margin-top: var(--section); padding: 0 var(--gap) var(--gap); display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.ft { padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; background: var(--surface); }
.ft--say { grid-column: 1 / 5; }
.ft--say p:first-child { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; max-width: 24ch; }
.ft--nav { grid-column: 5 / 8; background: var(--field-2); }
.ft--nav li + li { margin-top: 6px; }
.ft--nav a { text-decoration: none; }
.ft--nav a:hover { text-decoration: underline; }
.ft--when { grid-column: 8 / 10; background: var(--field-1); }
.ft--buy { grid-column: 10 / 13; background: var(--paper); }
.ft--word { grid-column: 1 / 9; min-height: 320px; background: var(--ink); color: var(--paper); align-items: center; justify-content: center; }
.ft--word span { font-size: 9vw; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.ft--go { grid-column: 9 / 13; min-height: 320px; background: var(--accent); text-decoration: none; transition: background-color 200ms ease; }
.ft--go:hover { background: var(--accent-hover); }
.ft--go b { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; max-width: 9em; }
.ft--go svg { align-self: flex-end; width: 56px; height: 56px; transition: transform 200ms var(--ease-out); }
.ft--go:hover svg { transform: translateX(6px); }

/* ── 움직임: CSS 만, 「움직임 줄이기」 설정이면 없음 ─────────────── */
@media (prefers-reduced-motion: no-preference) {
  .wall__row { animation: drift 120s linear infinite; }
  .wall__row:nth-child(even) { animation-direction: reverse; }
  @keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    .rise-2 { animation-range: entry 6% cover 28%; }
    .rise-3 { animation-range: entry 12% cover 34%; }
    @keyframes rise { from { opacity: .35; transform: translateY(28px); } to { opacity: 1; transform: none; } }
    .card { animation: deal linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes deal { from { opacity: .35; transform: translateY(48px) rotate(0deg); } to { opacity: 1; transform: rotate(var(--r)); } }
    .close__img img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes settle { from { transform: translateY(8%) scale(1.04); } to { transform: none; } }
  }
}

@media (max-width: 1100px) {
  /* 두 칸을 나란히 두면 둘째 칸 글이 한 글자 폭으로 눌린다(11/04 태블릿에서 세로쓰기처럼 보임) → 휴대폰처럼 한 줄로 쌓는다 */
  .show { grid-template-columns: 1fr; }
  .panel__media img { width: min(66%, 520px); }
  .panel__foot { grid-template-columns: 1fr; }
  .panel__foot .actions .btn { flex: 1; }
  .panel--f2 { height: auto; min-height: 0; }
  .panel--f2 .panel__media { position: relative; inset: auto; }
  .panel--f2 .panel__media img.sq { position: relative; left: auto; top: auto; transform: none; width: 86%; max-width: 640px; margin: 0 auto; }
  .fan__cards { flex-direction: column; align-items: center; padding-left: 0; }
  .card { width: 100%; max-width: 440px; margin: 0; --r: 0deg; }
  .card:nth-child(n) { --r: 0deg; margin-top: 0; }
  .card + .card { margin-top: 16px; }
  .card__in { width: auto; }
  .card img { width: 100%; }
  .close { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 56px var(--margin) 0; }
  .close__text { grid-column: 1; order: -1; }
  .close__img { grid-column: 1; height: 60svh; margin: 32px calc(-1 * var(--margin)) 0; overflow: hidden; }
  .close__img img { left: auto; right: -12%; bottom: -30%; width: 110%; }
  .guest__card { width: 80%; }
  .story-hero { grid-template-columns: 1fr; min-height: 0; }
  .story-hero__pic { padding: 32px; }
  .story-hero__pic img { width: min(56%, 360px); }
  .rv-list { grid-template-columns: repeat(2, 1fr); }
}

/* ── 휴대폰 ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --tile: 22vw; --gap: 6px; }
  .wall { height: 100svh; min-height: 0; }
  .wall__panel { left: 0; right: 0; bottom: 0; transform: none; width: 100%; padding: 22px var(--margin) 18px; grid-template-columns: 1fr; gap: 12px; }
  .wall__panel h1 { font-size: var(--step-display); }
  .wall__panel .btn { width: 100%; }
  .wall__panel .lede { display: none; }
  .cat { grid-template-columns: 1fr; }
  .frame { display: none; }
  .specimens { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .spec--big { grid-column: 1 / -1; grid-row: auto; }
  .spec__name { font-size: var(--step-body); }
  .new { grid-template-columns: 1fr; gap: 0; }
  .new__intro { display: contents; }
  .new__intro h1 { font-size: var(--step-display); margin-top: 16px; order: 0; }
  .new__lede { order: 0; margin-bottom: 20px; }
  .new__main { order: 1; }
  .new__list { order: 2; margin-top: 28px; }
  .new__img { height: 60svh; min-height: 0; }
  .new__cap { grid-template-columns: 1fr; }
  .new__cap .btn { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .story-hero { grid-template-columns: 1fr; min-height: 0; }
  .story-hero__text { padding: 32px var(--margin) 40px; }
  .story-hero__text h1 { font-size: var(--step-display); }
  .story-hero__pic { padding: 28px; }
  .story-hero__pic img { width: 62%; }
  .bar { gap: 10px 16px; }
  .bar nav { order: 3; width: 100%; gap: 4px 18px; }
  .bar .btn { min-height: 44px; padding: 0 16px; font-size: var(--step-small); }
  .row { grid-template-columns: 64px 1fr; gap: 4px 16px; padding: 14px; }
  .row__thumb { width: 64px; height: 80px; }
  .plain, .split, .faq, .care { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; }
  .panel { height: 78svh; min-height: 560px; }
  .panel__head { padding: 16px 16px 0; }
  .panel__head h2 { font-size: 1.5rem; max-width: 4.6em; }
  .panel__foot { grid-template-columns: 1fr; margin: 0 16px 16px; }
  .panel__foot .actions .btn { flex: 1; }
  /* 두 번째 칸(특징 사진)은 휴대폰에서 사진 → 글 순서로 쌓아 빈 칸이 생기지 않게 */
  .panel--f2 { height: auto; min-height: 0; }
  .panel--f2 .panel__media { position: relative; inset: auto; }
  .panel--f2 .panel__media img.sq { position: relative; left: auto; top: auto; transform: none; width: 86%; margin: 0 auto; }
  .fan__cards { flex-direction: column; align-items: center; padding-left: 0; }
  .card { width: 100%; max-width: 420px; margin: 0; }
  .card:nth-child(n) { --r: 0deg; margin-top: 0; }
  .card + .card { margin-top: 16px; }
  .card__in { width: auto; }
  .card img { width: 100%; }
  .fan__more { grid-template-columns: 1fr; }
  .rv-list, .rv-list.n1, .rv-list.n2, .rv-list.n4 { grid-template-columns: 1fr; }
  .menu__list { grid-template-columns: 1fr; gap: 28px; }
  .guest { height: 620px; padding-top: 40px; }
  .guest__card { width: 92%; padding: 28px; transform: rotate(-1deg); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps h2 { position: static; grid-column: 1 / -1; margin-bottom: 12px; }
  .st--a, .steps--n4 .st--a { grid-column: 1 / -1; height: 56vw; min-height: 0; }
  .st--b, .steps--n4 .st--b { grid-column: 1; margin-top: 0; height: 44vw; min-height: 0; }
  .st--c, .steps--n4 .st--c { grid-column: 2; margin-top: 32px; height: 44vw; min-height: 0; }
  .st--d { grid-column: 1 / -1; margin-top: 0; height: 30vw; min-height: 0; }
  .steps--n2 .st--b { grid-column: 1 / -1; }
  .st b { font-size: var(--step-head); }
  .st--a b { font-size: var(--step-display); }
  .facts { grid-template-columns: 1fr; }
  .care dl div { grid-template-columns: 7em 1fr; }
  .tbl { overflow-x: auto; }
  .tbl th, .tbl td { padding: 10px 8px; }
  .tbl tbody th, .tbl tbody td { font-size: var(--step-body); }
  .close { grid-template-columns: 1fr; height: auto; min-height: 0; padding: 48px var(--margin) 0; }
  .close__text { grid-column: 1; order: -1; }
  .close__text .btn { width: 100%; }
  .close__text .close__note { font-size: var(--step-body); }
  .close__img { grid-column: 1; height: 55svh; margin: 32px calc(-1 * var(--margin)) 0; overflow: hidden; }
  .close__img img { left: auto; right: -20%; bottom: -30%; width: 130%; }
  .foot { grid-template-columns: 1fr 1fr; }
  .ft { min-height: 0; padding: 20px; }
  .ft--word { grid-column: 1 / -1; min-height: 160px; order: -2; }
  .ft--word span { font-size: 16vw; }
  .ft--go { grid-column: 1 / -1; min-height: 160px; order: -1; }
  .ft--nav { grid-column: 1; }
  .ft--buy { grid-column: 2; }
  .ft--when { grid-column: 1; }
  .ft--say { grid-column: 2; }
}

/* 「움직임 줄이기」 설정: 움직임·전환을 모두 끈다(사라진 채로 남는 글 없음 — 시작 상태는 no-preference 안에만) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* 색 고르기 — 색 6칸까지 (빌드가 데이터에 맞춰 만든 줄) */
#c1:checked ~ .panel__media .p1, #c2:checked ~ .panel__media .p2, #c3:checked ~ .panel__media .p3, #c4:checked ~ .panel__media .p4, #c5:checked ~ .panel__media .p5, #c6:checked ~ .panel__media .p6 { opacity: 1; }
#c1:checked ~ .panel__foot label[for="c1"], #c2:checked ~ .panel__foot label[for="c2"], #c3:checked ~ .panel__foot label[for="c3"], #c4:checked ~ .panel__foot label[for="c4"], #c5:checked ~ .panel__foot label[for="c5"], #c6:checked ~ .panel__foot label[for="c6"] { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
#c1:focus-visible ~ .panel__foot label[for="c1"], #c2:focus-visible ~ .panel__foot label[for="c2"], #c3:focus-visible ~ .panel__foot label[for="c3"], #c4:focus-visible ~ .panel__foot label[for="c4"], #c5:focus-visible ~ .panel__foot label[for="c5"], #c6:focus-visible ~ .panel__foot label[for="c6"] { outline: 3px solid var(--ink); outline-offset: 2px; }

/* 커플·남녀 목록 — 줄에 마우스를 올리면 오른쪽 액자 사진이 그 상품으로 (4줄까지) */
@media (hover: hover) and (pointer: fine) {
  .index:has(.row:hover, .row:focus-visible) .row:not(:hover, :focus-visible) { opacity: .45; }
  .cat:has(li:nth-child(1) .row:hover, li:nth-child(1) .row:focus-visible) .frame__img:nth-child(1),
  .cat:has(li:nth-child(2) .row:hover, li:nth-child(2) .row:focus-visible) .frame__img:nth-child(2),
  .cat:has(li:nth-child(3) .row:hover, li:nth-child(3) .row:focus-visible) .frame__img:nth-child(3),
  .cat:has(li:nth-child(4) .row:hover, li:nth-child(4) .row:focus-visible) .frame__img:nth-child(4) { opacity: 1; }
  .cat:has(li:nth-child(n+2) .row:hover, li:nth-child(n+2) .row:focus-visible) .frame__img:first-child { opacity: 0; }
}
