/* ───────── LUNE hair atelier — 매거진 콘셉트 ───────── */
:root {
  --serif: 'Bodoni Moda', 'Nanum Myeongjo', serif;
  --kserif: 'Nanum Myeongjo', serif;
  --sans: 'Pretendard Variable', Pretendard, system-ui, -apple-system, sans-serif;
  --bg: #f4f1ec; --paper: #fbf9f5; --ink: #111; --muted: #6d675f; --line: #d9d3c9; --accent: #b8432f; --on-accent: #fff;
  --soft: #ebe6de; --model-top: #1c1c1c;
  --radius: 2px; --pad: clamp(16px, 4vw, 56px);
  color-scheme: light;
}
[data-theme="noir"] { --bg: #0f0e0d; --paper: #181614; --ink: #f2ede6; --muted: #a39b90; --line: #34302b; --accent: #c9a46a; --on-accent: #14110d; --soft: #211e1b; --model-top: #c9a46a; color-scheme: dark; }
[data-theme="blush"] { --bg: #f7e8e4; --paper: #fdf4f1; --ink: #3a2326; --muted: #8a6a6c; --line: #e6cbc5; --accent: #c2566b; --soft: #f0d9d3; --model-top: #c2566b; --radius: 18px; }
[data-theme="sage"] { --bg: #e8ece3; --paper: #f4f6f0; --ink: #1f2a22; --muted: #66705f; --line: #c9d1c0; --accent: #5d7a5a; --soft: #dce3d4; --model-top: #5d7a5a; --radius: 10px; }
[data-theme="lavender"] { --bg: #ebe7f3; --paper: #f6f4fa; --ink: #29233f; --muted: #6f6886; --line: #d3cce4; --accent: #7a61b6; --soft: #ddd6ec; --model-top: #7a61b6; --radius: 22px; }
[data-theme="concrete"] { --bg: #d8d8d4; --paper: #e6e6e2; --ink: #0a0a0a; --muted: #4c4c48; --line: #0a0a0a; --accent: #ff4d00; --on-accent: #000; --soft: #c9c9c4; --model-top: #ff4d00; --radius: 0; --serif: 'Pretendard Variable', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; word-break: keep-all; overflow-x: clip; transition: background .4s, color .4s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* View Transition: 테마 바꿀 때 원형으로 번짐 */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: vt-reveal .7s cubic-bezier(.7, 0, .2, 1); }
@keyframes vt-reveal { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 0)); } to { clip-path: circle(150vmax at var(--vx, 50%) var(--vy, 0)); } }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--ink); background: transparent; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; }
.icon-btn:hover { background: var(--soft); }

/* ── 인트로 ── */
.intro { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.intro__half { position: absolute; left: 0; right: 0; height: 50%; background: var(--ink); color: var(--bg); overflow: hidden; transition: transform .8s cubic-bezier(.8, 0, .2, 1); }
.intro__half b { position: absolute; left: 0; right: 0; text-align: center; font: 400 clamp(72px, 22vw, 260px)/1 var(--serif); letter-spacing: -.02em; }
.intro__half--top { top: 0; } .intro__half--top b { bottom: 0; transform: translateY(50%); }
.intro__half--bot { bottom: 0; } .intro__half--bot b { top: 0; transform: translateY(-50%); }
.intro__line { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .9s cubic-bezier(.6, 0, .3, 1); }
.intro__scissors { position: absolute; top: 50%; left: -70px; margin-top: -28px; color: var(--accent); transition: left .9s cubic-bezier(.6, 0, .3, 1); }
.intro__scissors .blade-a, .intro__scissors .blade-b { transform-origin: 21px 32px; animation: snipblade .18s ease-in-out infinite alternate; }
.intro__scissors .blade-b { animation-direction: alternate-reverse; }
@keyframes snipblade { to { transform: rotate(9deg); } }
.intro.cut .intro__line { transform: scaleX(1); }
.intro.cut .intro__scissors { left: calc(100% + 10px); }
.intro.open .intro__half--top { transform: translateY(-101%) rotate(-2deg); }
.intro.open .intro__half--bot { transform: translateY(101%) rotate(2deg); }
.intro.open .intro__line, .intro.open .intro__scissors { opacity: 0; transition: opacity .2s; }
body.is-intro { overflow: hidden; }

/* ── 헤더 ── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 12px var(--pad); transition: background .3s, box-shadow .3s; }
.top.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.top__logo { font: 700 26px/1 var(--serif); text-decoration: none; letter-spacing: .02em; display: flex; flex-direction: column; }
.top__logo small { font: 500 9px/1.6 var(--sans); letter-spacing: .35em; text-transform: uppercase; color: var(--muted); }
.top__nav { display: flex; gap: 26px; margin: 0 auto; }
.top__nav a { text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; position: relative; }
.top__nav a i { font: italic 400 11px var(--serif); color: var(--accent); margin-right: 4px; vertical-align: super; }
.top__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s; }
.top__nav a:hover::after { transform: scaleX(1); }
.top__right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.top__open { font-size: 12px; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; white-space: nowrap; }
.top__open.is-open { color: var(--ink); }
.top__open.is-open::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #2fae5b; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 3px #2fae5b33; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px #2fae5b00; } }
.top__cta { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.top__menu { display: none; flex-direction: column; gap: 6px; }
.top__menu span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .3s; }
.toc-open .top__menu span:first-child { transform: translateY(3.75px) rotate(45deg); }
.toc-open .top__menu span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.toc { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 90px var(--pad) 40px; overflow-y: auto; animation: fadein .3s; }
.toc__label { font: italic 400 44px/1 var(--serif); margin: 0 0 20px; color: var(--accent); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 26px/1.2 var(--serif); }
.toc a i { font: italic 400 14px var(--serif); color: var(--accent); }
.toc a em { grid-column: 2; font: 400 13px var(--sans); color: var(--muted); }
@keyframes fadein { from { opacity: 0; } }

.themer { position: fixed; top: 64px; right: var(--pad); z-index: 60; width: min(340px, calc(100vw - 32px)); background: var(--paper); border: 1px solid var(--line); border-radius: max(var(--radius), 6px); padding: 16px; box-shadow: 0 20px 50px #0003; }
.themer__title { margin: 0 0 10px; font: italic 400 22px var(--serif); }
.themer__title small { font: 500 12px var(--sans); color: var(--muted); font-style: normal; }
.themer__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.themer__list button { border: 1px solid var(--line); background: none; border-radius: max(var(--radius), 4px); padding: 6px; text-align: left; display: grid; gap: 2px; }
.themer__list button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.themer__sw { position: relative; height: 46px; display: grid; place-items: center; font: 700 18px var(--serif); border-radius: 3px; overflow: hidden; }
.themer__sw i { position: absolute; right: 6px; bottom: 6px; width: 10px; height: 10px; border-radius: 50%; }
.themer__list b { font-size: 12px; } .themer__list small { font-size: 10px; color: var(--muted); }

/* ── 표지 ── */
.cover { min-height: 100svh; padding: 84px var(--pad) 28px; display: flex; flex-direction: column; }
.cover__mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; border-bottom: 2px solid var(--ink); padding-bottom: 8px; gap: 12px; }
.cover__title { margin: 0; font: 400 clamp(84px, 17vw, 250px)/.82 var(--serif); letter-spacing: -.03em; text-align: center; }
.cover__issue { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cover__issue--r { text-align: right; }
.cover__body { flex: 1; display: grid; grid-template-columns: 1fr minmax(260px, 1.05fr) .8fr; gap: clamp(16px, 3vw, 44px); padding-top: 22px; align-items: stretch; }
.cover__photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); min-height: 420px; order: 2; background: var(--soft); }
.cover__photo img { max-width: none; position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; object-position: 50% 22%; transform: translate(var(--px, 0), var(--py, 0)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); animation: coverin 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes coverin { from { clip-path: inset(100% 0 0 0); scale: 1.12; } to { clip-path: inset(0); scale: 1; } }
.cover__lines { order: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.cover__line { border-top: 1px solid var(--line); padding-top: 12px; font-size: 15px; }
.cover__line a { text-decoration: none; display: block; }
.cover__line a:hover b { color: var(--accent); }
.cover__line i { display: block; font: italic 400 13px var(--serif); color: var(--accent); }
.cover__line--big { border: 0; padding: 0; }
.cover__line--big small { display: block; font: italic 400 16px var(--serif); color: var(--accent); margin-bottom: 6px; }
.cover__line--big b { font: 800 clamp(34px, 4.2vw, 62px)/1.12 var(--kserif); letter-spacing: -.03em; display: block; }
.cover__side { order: 3; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 20px; }
.cover__stamp { width: 132px; height: 132px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-content: center; text-align: center; font: italic 400 15px/1.15 var(--serif); transform: rotate(-12deg); animation: stamp 1s 1.6s cubic-bezier(.3, 1.6, .5, 1) both; margin: 0; }
.cover__stamp b { font: 400 46px/1 var(--serif); font-style: normal; }
@keyframes stamp { from { transform: rotate(-40deg) scale(0); } }
.cover__barcode { width: 120px; color: var(--ink); }

.ribbon { overflow: hidden; border-block: 1px solid var(--ink); background: var(--ink); color: var(--bg); }
.ribbon__track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.ribbon span { font: italic 400 clamp(22px, 3vw, 38px)/1 var(--serif); padding: 14px 22px; white-space: nowrap; }
.ribbon b { align-self: center; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 섹션 공통 ── */
.sec { padding: clamp(64px, 10vw, 130px) var(--pad); max-width: 1440px; margin: 0 auto; }
.sec__head { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: end; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.sec__no { font: italic 400 18px var(--serif); color: var(--accent); }
.sec__head h2 { margin: 0; font: 400 clamp(40px, 7vw, 96px)/.95 var(--serif); letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.sec__head h2 small { font: 500 15px/1.5 var(--sans); color: var(--muted); letter-spacing: 0; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* 칩 · 세그먼트 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; border-radius: 99px; font-size: 14px; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--best { border-color: var(--accent); color: var(--accent); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; border-left: 1px solid var(--ink); background: none; padding: 10px 6px; font-size: 14px; transition: .2s; }
.seg button:first-child { border-left: 0; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.seg button small { display: block; font-size: 10px; opacity: .7; }
.seg--sm button { padding: 7px 10px; font-size: 13px; }

/* ── 헤어 스튜디오 ── */
.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
.studio__stage { position: sticky; top: 84px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; aspect-ratio: 4 / 4.6; display: flex; flex-direction: column; overflow: hidden; }
.studio__stage::before { content: 'LUNE'; position: absolute; top: 6px; left: 0; right: 0; text-align: center; font: 400 clamp(80px, 12vw, 170px)/1 var(--serif); color: var(--soft); pointer-events: none; }
.studio__stage svg { position: relative; flex: 1; width: 100%; min-height: 0; }
.studio__stage .m-top { fill: var(--model-top); transition: fill .4s; }
.studio__caption { position: relative; margin: 8px 0 0; text-align: center; font: italic 400 18px var(--serif); }
.studio__save { position: absolute; top: 14px; right: 14px; border: 1px solid var(--line); background: var(--bg); padding: 6px 12px; border-radius: 99px; font-size: 12px; }
.studio__panel { display: grid; gap: 22px; }
.ctrl__label { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.ctrl__label span { font-weight: 400; color: var(--muted); letter-spacing: 0; }
.swatches { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.swatches button { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--bg); background: linear-gradient(160deg, var(--a) 30%, var(--b)); box-shadow: 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.12); }
.toggle { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { width: 40px; height: 22px; border-radius: 99px; background: var(--line); position: relative; transition: .2s; flex: none; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }
.toggle input:checked + span { background: var(--accent); }
.toggle input:checked + span::after { left: 21px; }
.toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.estimate { background: var(--ink); color: var(--bg); padding: 20px; border-radius: var(--radius); }
.estimate__k { margin: 0 0 8px; font: italic 400 15px var(--serif); opacity: .8; }
.estimate ul { list-style: none; margin: 0 0 10px; padding: 0; }
.estimate li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed color-mix(in srgb, var(--bg) 25%, transparent); font-size: 14px; }
.estimate__sum { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 13px; }
.estimate__sum b { font: 400 30px var(--serif); }
.faces { margin-top: clamp(32px, 5vw, 60px); border-top: 1px solid var(--line); padding-top: 24px; }
.faces__q { margin: 0 0 14px; font: 700 17px var(--kserif); }
.faces__list { display: flex; gap: 10px; flex-wrap: wrap; }
.face { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 10px 14px 8px; display: grid; justify-items: center; gap: 4px; font-size: 13px; width: 88px; transition: .2s; }
.face svg { width: 36px; height: 42px; }
.face:hover, .face[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.faces__tip { margin-top: 14px; padding: 16px; background: var(--soft); border-radius: var(--radius); animation: fadein .4s; }
.faces__tip p { margin: 0 0 10px; }

/* ── 비포 애프터 ── */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); touch-action: pan-y; cursor: ew-resize; user-select: none; max-height: 78vh; width: 100%; }
.ba img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: saturate(.35) brightness(.82) contrast(.86) sepia(.18) blur(.4px); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px #0006; }
.ba__handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: 20px; box-shadow: 0 4px 16px #0004; }
.ba__tag { position: absolute; top: 16px; padding: 4px 12px; background: #000a; color: #fff; font: italic 400 14px var(--serif); letter-spacing: .1em; border-radius: 99px; }
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
.ba__range { position: absolute; inset: auto 0 0; width: 100%; opacity: 0; height: 30px; cursor: ew-resize; }
.ba__range:focus-visible + * , .ba:focus-within .ba__handle span { outline: 2px solid var(--accent); }

/* ── 디자이너 ── */
.dz { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.dz__card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dz__card:nth-child(even) { margin-top: 48px; }
.dz__photo { position: relative; aspect-ratio: 3 / 3.6; overflow: hidden; }
.dz__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.05); transition: filter .6s, transform .8s; }
.dz__card:hover .dz__photo img { filter: none; transform: scale(1.04); }
.dz__no { position: absolute; left: 12px; bottom: 4px; font: italic 400 54px/1 var(--serif); color: #fff; text-shadow: 0 2px 12px #0005; }
.dz__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dz__role { margin: 0; font-size: 12px; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.dz__body h3 { margin: 0; font: 800 26px/1.1 var(--kserif); display: flex; justify-content: space-between; align-items: baseline; }
.dz__body h3 small { font: 400 12px var(--sans); color: var(--muted); }
.dz__quote { margin: 0; font: italic 400 15px/1.5 var(--kserif); color: var(--muted); }
.dz__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.dz__tags li { font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; }
.dz__live { margin: auto 0 4px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.dz__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.dz__live.is-on i { background: #2fae5b; box-shadow: 0 0 0 3px #2fae5b33; animation: pulse 2s infinite; }
.dz__live.is-full i { background: var(--accent); }
.dz__live.is-off { color: var(--muted); }

/* ── 가격 ── */
.price__ctrl { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.price__ctrl .seg { min-width: min(100%, 320px); }
.price__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px clamp(24px, 5vw, 72px); }
.pcol h3 { margin: 0 0 6px; font: italic 400 36px var(--serif); display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--ink); }
.pcol h3 small { font: 500 13px var(--sans); color: var(--muted); font-style: normal; }
.pcol ul { list-style: none; margin: 0; padding: 0; }
.pcol li { display: grid; grid-template-columns: auto 1fr auto 34px; align-items: end; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pcol li b { font-weight: 600; }
.pcol li small { display: block; font-size: 12px; color: var(--muted); }
.pcol__dots { border-bottom: 1px dotted var(--muted); margin-bottom: 6px; }
.pcol li em { font: 400 20px var(--serif); font-style: normal; white-space: nowrap; }
.pcol__add { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 18px; line-height: 1; transition: .2s; }
.pcol__add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }

/* ── 룩북 ── */
.chips--filter { margin-bottom: 22px; }
.lb { columns: 4 220px; column-gap: 14px; }
.lb__item { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--soft); border-radius: var(--radius); overflow: hidden; break-inside: avoid; text-align: left; }
.lb__item[hidden] { display: none; }
.lb__item img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.lb__item:hover img { transform: scale(1.06); }
.lb__cap { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; background: linear-gradient(transparent, #000b); color: #fff; display: grid; transform: translateY(8px); opacity: .9; transition: .4s; }
.lb__item:hover .lb__cap { transform: none; opacity: 1; }
.lb__cap small { font-size: 11px; letter-spacing: .12em; opacity: .8; }
.lb__cap b { font: 700 18px var(--kserif); }
.lightbox { border: 0; padding: 0; max-width: min(1000px, 94vw); width: 100%; background: var(--paper); color: var(--ink); border-radius: max(var(--radius), 4px); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 1.3fr 1fr; animation: pop .35s cubic-bezier(.2, .9, .3, 1.2); }
.lightbox::backdrop { background: #000c; backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.lightbox img { width: 100%; height: 100%; max-height: 82vh; object-fit: cover; }
.lightbox__txt { padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.lightbox__txt h3 { margin: 0; font: 800 34px/1.15 var(--kserif); }
.lightbox__txt p { margin: 0; color: var(--muted); }
.lightbox__tag { font: italic 400 14px var(--serif) !important; color: var(--accent) !important; }
.lightbox__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #000a; color: #fff; font-size: 24px; z-index: 1; }

/* ── 저널 · 후기 ── */
.jr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.jr__item img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.jr__no { margin: 12px 0 0; font: italic 400 40px/1 var(--serif); color: var(--accent); }
.jr__item h3 { margin: 4px 0; font: 800 20px var(--kserif); }
.jr__item p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.reviews { overflow: hidden; margin-top: clamp(40px, 6vw, 80px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reviews__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.reviews:hover .reviews__track { animation-play-state: paused; }
.rv { margin: 0; width: 320px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.rv blockquote { margin: 0 0 12px; font: 400 16px/1.6 var(--kserif); }
.rv figcaption { font-size: 12px; color: var(--muted); }

/* ── 예약 ── */
.book__grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(20px, 3vw, 44px); align-items: start; }
.book__form { display: grid; gap: 16px; min-width: 0; }
.step { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 18px; margin: 0; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 10px; font: 800 19px var(--kserif); padding: 0 6px; }
.step legend i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font: italic 400 15px var(--serif); }
.step.done legend i { background: var(--ink); color: var(--bg); }
.step legend small { font: 400 13px var(--sans); color: var(--muted); }
.step__row { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.step__k { font-size: 13px; font-weight: 700; }
.step__style { margin: 12px 0 0; padding: 8px 12px; background: var(--soft); border-radius: var(--radius); font-size: 14px; }
.step__style button { border: 0; background: none; text-decoration: underline; color: var(--muted); font-size: 12px; }
.svc { display: grid; gap: 12px; }
.svc__group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.svc__group p { margin: 0; width: 56px; font: italic 400 15px var(--serif); color: var(--accent); }
.svc__item { border: 1px solid var(--line); background: var(--bg); padding: 7px 12px; border-radius: max(var(--radius), 6px); font-size: 14px; display: inline-flex; gap: 6px; align-items: baseline; transition: .2s; }
.svc__item small { font-size: 11px; color: var(--muted); }
.svc__item[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.svc__item[aria-pressed="true"] small { color: inherit; opacity: .7; }
.dpick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dpick__item { border: 1px solid var(--line); background: var(--bg); border-radius: max(var(--radius), 6px); padding: 10px 6px; display: grid; justify-items: center; gap: 2px; text-align: center; transition: .2s; }
.dpick__item img, .dpick__any { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.dpick__any { display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 22px; }
.dpick__item b { font-size: 14px; margin-top: 4px; }
.dpick__item small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.dpick__item[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper); }
.dates { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.date { flex: none; width: 58px; border: 1px solid var(--line); background: var(--bg); border-radius: max(var(--radius), 6px); padding: 6px 0; display: grid; justify-items: center; scroll-snap-align: start; transition: .2s; }
.date small { font-size: 10px; color: var(--muted); }
.date b { font: 400 24px/1.1 var(--serif); }
.date span { font-size: 11px; }
.date.is-sun span { color: #d2453a; } .date.is-sat span { color: #3a6fd2; }
.date:disabled { opacity: .35; cursor: not-allowed; }
.date[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.date[aria-pressed="true"] small, .date[aria-pressed="true"] span { color: inherit; }
.times { display: grid; gap: 14px; }
.times__g p { margin: 0 0 6px; font-size: 13px; font-weight: 700; }
.times__g > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 6px; }
.time { border: 1px solid var(--line); background: var(--bg); border-radius: max(var(--radius), 6px); padding: 8px 4px; font: 600 15px var(--sans); display: grid; justify-items: center; gap: 3px; transition: .2s; }
.time:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.time small { font-size: 10px; }
.time[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.times__who { display: flex; }
.times__who img { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; border: 1px solid var(--bg); margin-left: -4px; }
.times__who img:first-child { margin-left: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.fields .full { grid-column: 1 / -1; }
.fields input:not([type=checkbox]), .fields textarea, .lookup input { width: 100%; font: 400 16px var(--sans); padding: 11px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: max(var(--radius), 4px); }
.fields input:focus, .fields textarea:focus, .lookup input:focus { outline: none; border-color: var(--ink); }
.agree { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; color: var(--muted); }
.agree input { margin-top: 4px; accent-color: var(--accent); }

.receipt { position: sticky; top: 84px; background: var(--paper); border: 1px solid var(--line); padding: 22px; border-radius: var(--radius); box-shadow: 0 18px 40px #0000000f;
  -webkit-mask: radial-gradient(circle 8px at 50% 0, #0000 98%, #000) 0 0 / 22px 100% repeat-x; mask: radial-gradient(circle 8px at 50% 0, #0000 98%, #000) 0 0 / 22px 100%; padding-top: 28px; }
.receipt__head { margin: 0 0 12px; font: italic 400 20px var(--serif); text-align: center; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.receipt dl { margin: 0; display: grid; gap: 8px; }
.receipt dl div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; font-size: 14px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; }
.receipt dd small { color: var(--muted); }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); margin: 16px 0 12px; padding-top: 12px; }
.receipt__total b { font: 400 30px var(--serif); }
.receipt__err { color: #c0392b; font-size: 14px; min-height: 0; margin: 0 0 8px; }
.receipt__err:empty { display: none; }
.receipt__note { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.lookup { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; }
.lookup summary { cursor: pointer; font-weight: 700; }
.lookup__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 12px; max-width: 640px; }
.lookup__card { margin-top: 12px; padding: 16px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); max-width: 640px; }
.lookup__card p { margin: 0 0 6px; }
.err { color: #c0392b; }
.badge { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--soft); }
.badge--confirmed { background: #2fae5b22; color: #1d7a3e; } .badge--cancelled { background: #c0392b18; color: #c0392b; }

.ticket { border: 0; padding: 0; background: none; max-width: 400px; width: calc(100% - 32px); }
.ticket::backdrop { background: #000b; }
.ticket[open] { animation: ticketin .6s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes ticketin { from { transform: translateY(60px) rotate(-4deg); opacity: 0; } }
.ticket__in { background: var(--paper); color: var(--ink); padding: 28px 24px; border-radius: 6px; text-align: center; position: relative;
  -webkit-mask: radial-gradient(circle 12px at 0 62%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, #0000 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 62%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, #0000 98%, #000) right / 51% 100% no-repeat; }
.ticket__brand { font: 700 30px/1 var(--serif); margin: 0; }
.ticket__brand small { display: block; font: 400 10px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.ticket__ok { margin: 14px 0 4px; font-weight: 700; color: var(--accent); }
.ticket__code { margin: 0 0 16px; }
.ticket__code small { display: block; font-size: 12px; color: var(--muted); }
.ticket__code b { font: 400 44px/1.1 var(--serif); letter-spacing: .14em; }
.ticket dl { margin: 0; padding-top: 16px; border-top: 2px dashed var(--line); text-align: left; display: grid; gap: 6px; }
.ticket dl div { display: grid; grid-template-columns: 70px 1fr; font-size: 14px; }
.ticket dt { color: var(--muted); } .ticket dd { margin: 0; }
.ticket__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.ticket__note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

/* ── 오시는 길 ── */
.visit__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
.visit__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.visit__addr { margin: 0 0 14px; font: 800 clamp(22px, 2.6vw, 30px)/1.35 var(--kserif); }
.visit__meta { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.visit__meta li { display: flex; gap: 10px; }
.visit__meta i { font-style: normal; width: 20px; text-align: center; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.hours caption { text-align: left; font: italic 400 22px var(--serif); margin-bottom: 6px; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours .is-today { font-weight: 700; color: var(--accent); }
.hours small { font-size: 11px; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 푸터 ── */
.foot { background: var(--ink); color: var(--bg); padding: 56px var(--pad) 110px; }
.foot__in { max-width: 1440px; margin: 0 auto; font-size: 13px; }
.foot__in p { margin: 0 0 10px; opacity: .8; }
.foot__logo { font: 700 40px/1 var(--serif) !important; opacity: 1 !important; }
.foot__logo small { font: 400 10px var(--sans); letter-spacing: .35em; text-transform: uppercase; margin-left: 10px; opacity: .6; }
.foot__notice { padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--bg) 25%, transparent); border-radius: var(--radius); }
.foot__links { display: flex; flex-wrap: wrap; gap: 16px; }

.dock { display: none; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 99px; font-size: 14px; transition: .3s; max-width: calc(100vw - 32px); text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* 테마별 장식 */
[data-theme="concrete"] .cover__title, [data-theme="concrete"] .sec__head h2 { font-weight: 900; letter-spacing: -.06em; text-transform: uppercase; }
[data-theme="concrete"] .step, [data-theme="concrete"] .dz__card, [data-theme="concrete"] .receipt { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
[data-theme="concrete"] .dz__photo img { filter: grayscale(1) contrast(1.4); }
[data-theme="noir"] .cover__photo img, [data-theme="noir"] .lb__item img { filter: contrast(1.05) brightness(.92); }
[data-theme="noir"] .cover__title { background: linear-gradient(180deg, #f2ede6 30%, #c9a46a); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="blush"] .cover__photo, [data-theme="lavender"] .cover__photo { border-radius: 999px 999px var(--radius) var(--radius); }
[data-theme="sage"] .cover__photo { border-radius: 50% 50% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius); }

/* ── 반응형 ── */
@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__menu { display: flex; }
  .dz { grid-template-columns: repeat(2, 1fr); }
  .jr { grid-template-columns: repeat(2, 1fr); }
  .cover__body { grid-template-columns: 1fr 1.1fr; }
  .cover__side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
}
@media (max-width: 900px) {
  .studio__grid, .book__grid, .visit__grid, .price__cols { grid-template-columns: 1fr; }
  .studio__stage { position: relative; top: 0; aspect-ratio: auto; height: min(520px, 110vw); }
  .receipt { position: relative; top: 0; }
  .dpick { grid-template-columns: repeat(5, minmax(64px, 1fr)); overflow-x: auto; }
  .lightbox[open] { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .lightbox img { max-height: 56vh; }
  .lightbox__txt { padding: 20px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 64px; }
  .top { padding-block: 10px; gap: 8px; }
  .top__open, .top__cta { display: none; }
  .cover { padding-top: 72px; }
  .cover__mast { grid-template-columns: 1fr 1fr; }
  .cover__title { grid-column: 1 / -1; grid-row: 1; }
  .cover__issue { font-size: 10px; letter-spacing: .1em; }
  .cover__issue--r { display: none; }
  .cover__mast { grid-template-columns: 1fr; }
  .cover__body { grid-template-columns: 1fr; }
  .cover__photo { order: 1; min-height: 0; aspect-ratio: 4 / 4.4; }
  .cover__lines { order: 2; gap: 14px; }
  .cover__line--big { order: -1; }
  .cover__side { order: 3; justify-content: space-between; }
  .cover__stamp { width: 96px; height: 96px; font-size: 12px; }
  .cover__stamp b { font-size: 32px; }
  .cover__barcode { display: none; }
  .sec__head { grid-template-columns: 1fr; gap: 4px; }
  .sec__head h2 small { font-size: 14px; }
  .swatches { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .dz { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dz__card:nth-child(even) { margin-top: 24px; }
  .dz__body { padding: 12px; }
  .dz__body h3 { font-size: 20px; flex-direction: column; }
  .dz__quote, .dz__tags { display: none; }
  .dz__live { font-size: 12px; align-items: flex-start; }
  .dz__live i { margin-top: 5px; }
  .dz__body .btn { font-size: 13px; padding: 8px; }
  .jr { grid-template-columns: 1fr 1fr; gap: 14px; }
  .jr__no { font-size: 30px; }
  .lb { columns: 2; column-gap: 8px; }
  .lb__item { margin-bottom: 8px; }
  .pcol li { grid-template-columns: 1fr auto 32px; }
  .pcol__dots { display: none; }
  .price__ctrl .seg { width: 100%; }
  .svc__group p { width: 100%; }
  .fields { grid-template-columns: 1fr; }
  .lookup__form { grid-template-columns: 1fr; }
  .face { width: calc(20% - 8px); min-width: 58px; padding: 8px 2px; font-size: 12px; }
  .ba { aspect-ratio: 4 / 3.4; }
  .dock { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { text-align: center; padding: 14px 0; text-decoration: none; font-size: 14px; font-weight: 600; }
  .dock__cta { background: var(--accent); color: var(--on-accent); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
