/* 하와이뷰티랩 · 하와이스칼프 공통 스타일 */
:root {
  --teal: #5B9AAE;
  --teal-d: #3f7d91;
  --sky: #CFE6F5;
  --sky-l: #EAF4FA;
  --paper: #F6F5F1;
  --gray: #ECECEC;
  --ink: #23272B;
  --ink-2: #4a5056;
  --muted: #8a9096;
  --pink: #F7B6C8;
  --pink-d: #e98aa5;
  --line: #dfe2e4;
  --bg: #ffffff;
  --radius: 18px;
  --wrap: 1180px;
  --f-ko: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --f-sans: 'Montserrat', var(--f-ko);
  --f-serif: 'Cinzel', 'Cormorant Garamond', serif;
  --f-serif-ko: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --f-script: 'Great Vibes', cursive;
}
body.theme-scalp {
  --bg: #ffffff;
  --accent-dark: #1b1f22;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-ko); font-size: 16px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── type helpers */
.eyebrow { font-family: var(--f-sans); font-weight: 400; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
.h-heavy { font-family: var(--f-sans); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.02; margin: 0; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.script { font-family: var(--f-script); color: var(--teal); font-weight: 400; }
.h-serif { font-family: var(--f-serif-ko); font-weight: 600; line-height: 1.35; margin: 0; }
.lead { font-size: 17px; color: var(--ink-2); }
.spaced { font-family: var(--f-sans); font-weight: 300; letter-spacing: .3em; text-transform: uppercase; font-size: 12px; }
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(30px, 5vw, 52px); }
.sec-head p { color: var(--ink-2); margin: 16px 0 0; }

/* ── buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; transition: .2s; white-space: nowrap; }
.btn:hover { background: var(--teal); border-color: var(--teal); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.kakao { background: #FEE500; border-color: #FEE500; color: #191600; }
.btn.naver { background: #03C75A; border-color: #03C75A; color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.wordmark { font-family: var(--f-serif); font-weight: 600; font-size: 20px; letter-spacing: .14em; line-height: 1; }
.wordmark small { display: block; font-family: var(--f-sans); font-size: 9px; letter-spacing: .3em; color: var(--muted); margin-top: 5px; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--gray); }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; margin-left: 8px; color: #fff; }
.nav .btn:hover { background: var(--teal); color: #fff; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: .25s; }
.family-bar { background: var(--ink); color: #cfd5da; font-size: 12.5px; }
.family-bar .wrap { display: flex; justify-content: flex-end; gap: 18px; height: 34px; align-items: center; }
.family-bar a { opacity: .85; letter-spacing: .02em; }
.family-bar a:hover, .family-bar a.on { opacity: 1; color: #fff; }
.family-bar a.on { font-weight: 600; }

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; box-shadow: 0 20px 40px rgba(0,0,0,.08); max-height: calc(100vh - 72px); overflow: auto; }
  .nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--gray); border-radius: 0; }
  .nav .btn { margin: 16px 0 0; height: 52px; border-radius: 999px; }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-header .wrap { height: 72px; }
  .brand img { height: 36px; }
}

/* ── hero (beauty lab) */
.hero { position: relative; overflow: hidden; background: linear-gradient(120deg, #fff 0%, var(--sky-l) 45%, var(--sky) 100%); padding: 72px 0 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 20%, rgba(255,255,255,.8), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(207,230,245,.9), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: end; }
.hero-copy { padding-bottom: 88px; }
.hero h1 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(42px, 6.4vw, 82px); line-height: 1.02; letter-spacing: .02em; margin: 0 0 22px; }
.hero h1 .script { display: block; font-size: .55em; letter-spacing: 0; margin-top: 4px; }
.hero .svc-line { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 26px; color: var(--ink-2); }
.hero .svc-line span::before { content: '•'; margin-right: 8px; color: var(--teal); letter-spacing: 0; }
.hero .lead { margin: 0 0 32px; max-width: 470px; }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.hero-visual img { width: 100%; max-width: 440px; border-radius: 260px 260px 0 0; box-shadow: 0 30px 80px rgba(60,100,120,.18); }
.hero-badge { position: absolute; left: -24px; bottom: 28px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 6px; font-size: 15px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.hero-badge b { font-weight: 700; }
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero-badge { left: 0; bottom: 24px; font-size: 14px; }
}

/* ── arch cards */
.arches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.arch { display: block; text-align: center; transition: transform .25s; }
.arch:hover { transform: translateY(-6px); }
.arch img { width: 100%; filter: drop-shadow(0 12px 24px rgba(40,80,100,.14)); }
.arch p { margin: 14px 4px 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.arch .more { display: inline-block; margin-top: 8px; font-family: var(--f-sans); font-size: 11px; letter-spacing: .24em; color: var(--teal); }
@media (max-width: 920px) { .arches { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .arches { grid-template-columns: repeat(2, 1fr); gap: 14px; } .arch p { font-size: 13px; } }

/* ── split feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.rev > :first-child { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.08); }
.feature h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
.feature .lead { margin: 18px 0 28px; }
.ticks { list-style: none; padding: 0; margin: 0 0 30px; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border: 1.5px solid var(--teal); border-radius: 4px; background: linear-gradient(45deg, transparent 45%, var(--teal) 45%, var(--teal) 55%, transparent 55%) no-repeat; }
.ticks li::before { background: none; }
.ticks li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 5px; height: 10px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 32px; } .feature.rev > :first-child { order: 0; } }

.bg-paper { background: var(--paper); }
.bg-gray { background: var(--gray); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .lead, .bg-ink .sec-head p { color: #b9c0c6; }
.bg-ink .outline { -webkit-text-stroke-color: #fff; }

/* ── technique cards */
.techs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech { background: #fff; border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--line); }
.tech .en { font-family: var(--f-sans); font-weight: 800; text-transform: uppercase; font-size: 22px; margin: 0; }
.tech .ko { color: var(--teal); font-weight: 600; margin: 4px 0 14px; font-size: 14px; }
.tech p { margin: 0; color: var(--ink-2); font-size: 15px; }
.tech.sig { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(247,182,200,.35); }
.tech .tag { display: inline-block; font-size: 11px; font-family: var(--f-sans); letter-spacing: .2em; background: var(--pink); color: var(--ink); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 860px) { .techs { grid-template-columns: 1fr; } }

/* ── before / after gallery */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -16px 0 32px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 14px; color: var(--ink-2); }
.filters button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ba { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.ba img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ba .b { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; }
.ba.show-before .b { opacity: 1; }
.ba-toggle { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.ba-toggle button { border: 0; background: none; padding: 7px 16px; border-radius: 999px; font-family: var(--f-sans); font-size: 11.5px; letter-spacing: .18em; font-weight: 600; color: var(--muted); }
.ba-toggle button.on { background: var(--ink); color: #fff; }
.ba[hidden] { display: none; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 520px) { .ba-grid { grid-template-columns: 1fr; } }

.placeholder { aspect-ratio: 4/5; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; background: repeating-linear-gradient(135deg, #eef0f1 0 14px, #e6e9eb 14px 28px); color: var(--muted); font-size: 14px; border-radius: 14px; padding: 20px; }
.placeholder b { color: var(--ink-2); }

/* ── scalp cases */
.cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.case { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.case .placeholder, .case img { border-radius: 0; aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.case-body { padding: 20px 20px 24px; }
.case h3 { margin: 0 0 8px; font-size: 18px; }
.case p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.bg-ink .case { background: #2b3035; border-color: #3a4046; }
.bg-ink .case p { color: #b9c0c6; }
@media (max-width: 980px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cases { grid-template-columns: 1fr; } }

/* ── steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px 24px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: s; content: '0' counter(s); display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--teal); color: #fff; font-family: var(--f-sans); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.bg-ink .step { border-color: #fff; }
.bg-ink .step p { color: #b9c0c6; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ── faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 300; color: var(--teal); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); }

/* ── brand cross-link band */
.crosslink { border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.crosslink .media { min-height: 320px; background: #111 center/cover no-repeat; }
.crosslink .body { padding: 56px 52px; }
.crosslink h2 { font-family: var(--f-serif); font-weight: 600; letter-spacing: .08em; font-size: clamp(30px, 4vw, 44px); margin: 0 0 6px; }
.crosslink p { color: #b9c0c6; margin: 14px 0 28px; }
@media (max-width: 860px) { .crosslink { grid-template-columns: 1fr; } .crosslink .body { padding: 36px 26px; } .crosslink .media { min-height: 240px; } }

/* ── page hero (subpages) */
.page-hero { background: linear-gradient(120deg, #fff, var(--sky-l) 60%, var(--sky)); padding: 72px 0 64px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); }
.page-hero .ko-title { font-family: var(--f-serif-ko); font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin: 14px 0 12px; }
.page-hero .lead { max-width: 560px; margin: 0 0 26px; }
.page-hero img { max-width: 300px; margin-left: auto; filter: drop-shadow(0 20px 40px rgba(40,80,100,.18)); }
@media (max-width: 760px) { .page-hero { padding: 44px 0 40px; } .page-hero .wrap { grid-template-columns: 1fr; } .page-hero img { max-width: 220px; margin: 0 auto; } }

/* ── contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { margin: 0 0 16px; font-size: 20px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--gray); font-size: 15px; }
.info-list li:last-child { border: 0; }
.info-list span { color: var(--muted); font-size: 13.5px; padding-top: 1px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.form .row { margin-bottom: 16px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); font-weight: 400; }
.form .agree input { width: auto; margin-top: 5px; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-result { display: none; margin-top: 16px; background: var(--sky-l); border-radius: 12px; padding: 16px; font-size: 14px; }
.form-result.on { display: block; }
.form-result pre { white-space: pre-wrap; font-family: inherit; margin: 8px 0 12px; background: #fff; padding: 12px; border-radius: 8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .card { padding: 24px 20px; } .form .two { grid-template-columns: 1fr; } }

/* ── director */
.director { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.director .placeholder { aspect-ratio: 4/5; }
.director ul { list-style: none; padding: 0; margin: 22px 0 0; }
.director li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.director .motto { font-family: var(--f-serif); font-size: clamp(24px, 3.4vw, 38px); letter-spacing: .02em; line-height: 1.25; margin: 0 0 6px; }
@media (max-width: 860px) { .director { grid-template-columns: 1fr; gap: 28px; } }

/* ── CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 46px); margin: 0 0 14px; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* ── footer */
.site-footer { background: #15181b; color: #9aa3aa; font-size: 13.5px; padding: 56px 0 90px; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #2a2f34; margin-bottom: 22px; }
.site-footer .fbrand { color: #fff; font-family: var(--f-serif); letter-spacing: .14em; font-size: 18px; margin: 0 0 12px; }
.site-footer p { margin: 4px 0; }
.site-footer .fam a { display: block; color: #cfd5da; margin: 6px 0; }
.site-footer .fam a:hover { color: #fff; }
.site-footer .fam h4 { color: #fff; font-size: 13px; letter-spacing: .2em; font-family: var(--f-sans); font-weight: 600; margin: 0 0 10px; }
.site-footer .sns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.site-footer .sns a { color: #cfd5da; text-decoration: underline; text-underline-offset: 3px; }

/* ── floating quick contact (mobile) */
.quick { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 10px; }
.quick a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.2); font-size: 12px; font-weight: 700; }
.quick .q-kakao { background: #FEE500; color: #191600; }
.quick .q-tel { background: var(--ink); color: #fff; }

/* ── scalp theme */
.theme-scalp .hero-scalp { background: #15181b; color: #fff; padding: 110px 0 120px; position: relative; overflow: hidden; }
.theme-scalp .hero-scalp::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 30%, rgba(91,154,174,.35), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(91,154,174,.18), transparent 70%); }
.theme-scalp .hero-scalp .bgimg { position: absolute; right: 0; top: 0; bottom: 0; width: 52%; background: center/cover no-repeat; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.theme-scalp .hero-scalp .wrap { position: relative; }
.theme-scalp .hero-scalp h1 { font-family: var(--f-serif-ko); font-weight: 600; font-size: clamp(36px, 5.6vw, 68px); line-height: 1.22; margin: 0 0 22px; }
.theme-scalp .hero-scalp h1 em { font-style: normal; color: var(--teal); }
.theme-scalp .hero-scalp .lead { color: #c3cad0; max-width: 520px; margin: 0 0 34px; }
.theme-scalp .hero-scalp .spaced { color: #9fb9c3; }
.theme-scalp .page-hero { background: #15181b; color: #fff; }
.theme-scalp .page-hero .lead { color: #c3cad0; }
.theme-scalp .page-hero .outline { -webkit-text-stroke-color: #fff; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats div { padding: 22px 34px 0 0; margin-right: 34px; }
.hero-stats b { display: block; font-family: var(--f-sans); font-size: 13px; letter-spacing: .24em; color: var(--teal); font-weight: 600; }
.hero-stats span { color: #dfe4e8; font-size: 15px; }
@media (max-width: 760px) { .theme-scalp .hero-scalp { padding: 64px 0 72px; } .theme-scalp .hero-scalp .bgimg { width: 100%; opacity: .28; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); } }

@media (max-width: 760px) { section { padding: 68px 0; } .sec-head { margin-bottom: 34px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.theme-scalp .hero-scalp .scalp-arch { position: absolute; right: 7%; bottom: -120px; width: min(380px, 30vw); filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); }
@media (max-width: 860px) { .theme-scalp .hero-scalp .scalp-arch { display: none; } }

/* ── v2: real SMP cases, artists, collection, mobile bar */
a.case { display: block; transition: transform .25s, box-shadow .25s; position: relative; }
a.case:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.1); }
.case img { aspect-ratio: 4/5 !important; }
.case-count { position: absolute; top: 12px; left: 12px; background: rgba(21,24,27,.82); color: #fff; font-family: var(--f-sans); font-size: 11px; letter-spacing: .14em; padding: 6px 12px; border-radius: 999px; }
.disclaimer { font-size: 13px; color: var(--muted); text-align: center; max-width: 720px; margin: 24px auto 0; line-height: 1.6; }
.bg-ink .disclaimer { color: #8a949c; }
.smp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.smp-item { border: 0; padding: 0; background: var(--gray); border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.smp-item img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .35s; }
.smp-item:hover img { transform: scale(1.04); }
.smp-item[hidden] { display: none; }
@media (max-width: 980px) { .smp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .smp-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,12,14,.94); display: flex; align-items: center; justify-content: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; width: 56px; height: 56px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.director-photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4/5; background: #fff; object-position: center top; }
.director-photo.dark { background: #eceae6; }
.artists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.artist { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 24px; }
.artist img { width: 100%; aspect-ratio: 5/6; object-fit: cover; object-position: center top; border-radius: 12px; }
.artist-key { font-family: var(--f-serif); font-size: 30px; letter-spacing: .1em; margin: 0; line-height: 1; }
.artist h3 { margin: 10px 0 12px; font-size: 17px; }
.artist h3 span { color: var(--teal); font-weight: 600; margin-left: 4px; }
.artist ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14.5px; }
.artist li { margin: 4px 0; }
@media (max-width: 920px) { .artists { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .artist { grid-template-columns: 1fr; } .artist img { max-width: 260px; } }
.collection { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.col-card { background: #fff; border-radius: 22px; padding: 26px 24px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.col-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(40,80,100,.12); }
.col-card img { width: 62%; margin-bottom: 20px; filter: drop-shadow(0 10px 20px rgba(40,80,100,.14)); }
.col-card span { font-family: var(--f-sans); font-size: 11px; letter-spacing: .22em; color: var(--teal); }
.col-card h3 { font-family: var(--f-serif-ko); font-size: 24px; margin: 8px 0 8px; }
.col-card p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.col-card b { font-size: 14px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
@media (max-width: 860px) { .collection { grid-template-columns: 1fr; } .col-card { flex-direction: row; text-align: left; gap: 18px; padding: 18px; } .col-card img { width: 110px; margin: 0; flex: none; } }
.bottom-bar { display: none; }
@media (max-width: 760px) {
  .quick { display: none; }
  .bottom-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 58px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); background: #fff; }
  .bottom-bar a { display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
  .bottom-bar .kk { background: #FEE500; color: #191600; }
  body { padding-bottom: 58px; }
}
@media (max-width: 760px) {
  .bottom-bar.three { grid-template-columns: 1fr 1.1fr 1.1fr; }
  .bottom-bar .nv { background: #03C75A; color: #fff; }
}

/* ── 브랜드 SNS 링크 */
.sns-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.sns-links a { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.75); font-size: 13.5px; font-weight: 600; color: var(--ink); transition: .2s; }
.sns-links a:hover { border-color: var(--ink); background: #fff; }
.sns-links svg { width: 20px; height: 20px; flex: none; }
.sns-links .sns-insta svg { color: #d6249f; }
.sns-links.dark a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }
.sns-links.dark a:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.sns-links.dark .sns-insta svg { color: #fff; }
.artist .sns-links { margin: 14px 0 0; }
.artist .sns-links a { height: 32px; font-size: 12.5px; }

/* ── 두피 전후 나란히 비교 */
.pair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pair { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--line); }
.pair-imgs > div { position: relative; }
.pair-imgs img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.pair-imgs span { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: var(--muted); font-family: var(--f-sans); font-size: 10.5px; letter-spacing: .18em; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pair-imgs span.a { background: var(--ink); color: #fff; }
.pair figcaption { padding: 14px 16px; font-size: 14.5px; color: var(--ink-2); }
.pair figcaption b { color: var(--ink); }
.bg-ink .pair { background: #2b3035; border-color: #3a4046; }
.bg-ink .pair figcaption, .bg-ink .pair figcaption b { color: #dfe4e8; }
@media (max-width: 980px) { .pair-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pair-grid { grid-template-columns: 1fr; } }
.pair-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pair-imgs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pair, .pair-imgs > div { min-width: 0; }
@media (max-width: 980px) { .pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pair-grid { grid-template-columns: minmax(0, 1fr); } }
.ba[data-tap] { cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.pair .ba { border-radius: 0; box-shadow: none; }
.pair .ba img { aspect-ratio: 4/5; }
.ba[data-tap]::after { content: '탭하여 비교'; position: absolute; top: 12px; right: 12px; background: rgba(21,24,27,.7); color: #fff; font-size: 11.5px; padding: 4px 10px; border-radius: 999px; opacity: .9; pointer-events: none; }
@media (hover: hover) { .ba[data-tap]::after { content: '클릭하여 비교'; } }

/* ── 리뷰 반영: 신청서 상태, 포커스 표시 */
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.copy-status { margin: 0 0 12px; font-size: 13.5px; }
.copy-status.ok { color: #1f7a4a; }
.copy-status.fail { color: #b3261e; }
.form-noscript { background: #fff4e5; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin: 0 0 16px; }
.form-noscript a { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.lightbox :focus-visible { outline-color: #fff; }
/* 모바일 메뉴가 열리면 하단 상담바를 숨기고, 메뉴 높이를 화면 안으로 제한 */
@media (max-width: 920px) {
  .nav { max-height: calc(100vh - 106px); max-height: calc(100dvh - 106px); }
  body.nav-open .bottom-bar { display: none; }
}
/* #hairline 같은 주소로 들어오면 필터가 상단 고정 헤더에 가려지지 않게 */
.smp-filters button[id] { scroll-margin-top: 130px; }
body.nav-open .quick { display: none; }

/* ── 네이버 버튼 글자 대비 (흰 글씨 2.3:1 → 어두운 글씨 4.5:1 이상) */
.btn.naver, .bottom-bar .nv { color: #08311A; }
/* ── 키보드 이동 시 선택된 버튼이 상단 헤더·하단 상담바에 가려지지 않게 */
html { scroll-padding-top: 90px; }
@media (max-width: 760px) { html { scroll-padding-bottom: 72px; } }
