/* 살롱 디코 디자인 샘플 — 흑백 하이패션 룩북형 */
:root {
  --black: #0E0E0E; --white: #FAF9F7; --stone: #E9E6E1; --stone-2: #D8D2C8;
  --champ: #C7B299; --sub: #8B8680; --line: #2A2A2A;
  --header-h: 74px;
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Noto Sans KR', sans-serif;
  --ease: cubic-bezier(.77, 0, .18, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); color: var(--white); background: var(--black); line-height: 1.7; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: clip; }
svg, img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--black); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--champ); outline-offset: 3px; }
.container { width: min(1240px, 100% - 56px); margin-inline: auto; }
.ph { display: inline-block; padding: 0 6px; border: 1px dashed var(--champ); color: var(--champ); font-size: .9em; font-style: normal; font-family: var(--sans); }

.sample-banner { background: var(--white); color: var(--black); font-size: 12.5px; }
.sample-banner__inner { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.sample-banner__tag { flex: none; padding: 0 10px; background: var(--black); color: var(--white); }
.sample-banner a { font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; mix-blend-mode: difference; color: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.logo i { font-weight: 400; }
.site-nav ul { display: flex; gap: 34px; }
.site-nav a { font-family: var(--serif); font-style: italic; font-size: 17px; text-decoration: none; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 18px 34px; border-radius: 99px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .4s, color .4s; will-change: transform; }
.btn span { display: inline-block; pointer-events: none; }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--champ); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }

/* 등장 */
.has-motion .reveal-up { opacity: 0; transform: translateY(50px); transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.has-motion .reveal-up.is-in { opacity: 1; transform: none; }

/* 히어로 */
.hero { position: relative; min-height: calc(100vh - 36px); min-height: calc(100svh - 36px); margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 60px) 0 80px; display: flex; overflow: hidden; }
.strands { position: absolute; inset: 0; width: 100%; height: 100%; }
.strands path { fill: none; stroke: #fff; stroke-linecap: round; }
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero__kicker { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--sub); }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(80px, 15vw, 230px); line-height: .9; letter-spacing: -.03em; }
.hero__title i { font-weight: 400; color: var(--champ); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; }
.has-motion .line > span { transform: translateY(105%); animation: line-up 1.4s var(--ease) forwards; }
.has-motion .line:nth-child(2) > span { animation-delay: .15s; }
@keyframes line-up { to { transform: none; } }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero__lead { max-width: 28em; color: #CFCAC3; font-size: 16.5px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: 28px; bottom: 28px; writing-mode: vertical-rl; font-family: var(--serif); font-style: italic; color: var(--sub); }
.has-motion .hero__scroll::after { content: ""; display: block; width: 1px; height: 60px; margin: 10px auto 0; background: var(--sub); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 섹션 공통 */
.section { padding: 140px 0; position: relative; }
.section--light { background: var(--stone); color: var(--black); }
.sec-head { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; margin-bottom: 60px; }
.sec-head--left { margin-bottom: 26px; }
.sec-head .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--champ); }
.sec-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -.02em; }
.sec-head__ko { flex-basis: 100%; color: var(--sub); }
.body { font-size: 17px; color: #4A4744; max-width: 30em; }

/* 룩북 */
.looks { border-top: 1px solid var(--line); }
.look { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default; transition: color .4s, padding .6s var(--ease); }
.look__en { font-family: var(--serif); font-size: clamp(34px, 5vw, 68px); line-height: 1.05; transition: transform .6s var(--ease), color .4s; }
.look__ko { color: var(--sub); }
.look__tag { font-size: 12px; letter-spacing: .2em; color: var(--sub); }
.looks:hover .look { color: #4A4744; }
.looks:hover .look:hover { color: var(--white); }
.look:hover .look__en { transform: translateX(24px); font-style: italic; color: var(--champ); }
.preview { position: fixed; left: 0; top: 0; z-index: 30; width: 240px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s, transform .5s var(--ease); }
.preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.preview svg { width: 240px; height: 300px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.preview path[data-hair] { transition: d .5s var(--ease); }
.preview__note { position: absolute; left: 10px; bottom: 10px; font-size: 11px; color: #666; background: rgba(255,255,255,.8); padding: 2px 6px; }

/* 비포·애프터 */
.ba__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.ba__meta { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.compare { position: relative; aspect-ratio: 1; overflow: hidden; user-select: none; touch-action: pan-y; }
.compare__img { width: 100%; height: 100%; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); pointer-events: none; z-index: 2; }
.compare__handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--white); color: var(--black); font-size: 22px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.compare__range:focus-visible ~ .compare__handle span { outline: 2px solid var(--champ); outline-offset: 3px; }
.compare__note { position: absolute; right: 12px; top: 12px; z-index: 2; font-size: 11px; background: rgba(255,255,255,.85); color: #555; padding: 2px 8px; }

/* 가격 */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.price-col h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; color: var(--champ); margin: 30px 0 10px; }
.price-col h3:first-child { margin-top: 0; }
.price-col dl > div { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; }
.price-col dt { font-size: 17px; }
.price-col dl > div::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted #555; transform: translateY(-4px); }
.price-col dd { order: 2; }

/* 디자이너 */
.des-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.des__photo { overflow: hidden; margin-bottom: 18px; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease); }
.des__photo svg { transition: transform 1.2s var(--ease); }
.des:hover .des__photo { filter: sepia(.35); }
.des:hover .des__photo svg { transform: scale(1.06); }
.des__role { font-family: var(--serif); font-style: italic; color: #7A6A55; }
.des h3 { margin: 4px 0; font-size: 20px; }
.des__spec { color: #6B6660; font-size: 15px; }
.designers .ph { color: #7A6A55; border-color: #7A6A55; }

/* 예약 */
.booking { padding: 0 0 140px; background: var(--black); }
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; margin-bottom: 110px; }
.ticker__track { display: flex; width: max-content; font-family: var(--serif); font-style: italic; font-size: clamp(48px, 8vw, 120px); line-height: 1; color: transparent; -webkit-text-stroke: 1px #6B6660; white-space: nowrap; }
.has-motion .ticker__track { animation: tick 24s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.booking__title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.2; }
.booking__title i { color: var(--champ); font-weight: 400; }
.booking__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.booking__note { margin-top: 16px; font-size: 13px; color: var(--sub); }
.info { border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-family: var(--serif); font-style: italic; color: var(--sub); }
.faq { margin-top: 36px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; padding: 16px 0; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 16px; color: #CFCAC3; }

.site-footer { padding: 30px 0; border-top: 1px solid var(--line); color: var(--sub); font-size: 13px; }
.site-footer i { font-family: var(--serif); }
.credit a { display: inline-flex; align-items: center; gap: 6px; color: #fff; vertical-align: middle; }
.credit img { filter: brightness(0) invert(1); }

@media (max-width: 1023.98px) {
  .site-header { mix-blend-mode: normal; background: var(--black); }
  .nav-toggle { display: block; padding: 8px 18px; border: 1px solid #fff; border-radius: 99px; background: none; color: #fff; font-family: var(--serif); font-style: italic; font-size: 16px; cursor: pointer; }
  .site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; z-index: 45; background: var(--black); display: grid; place-items: center; clip-path: circle(0 at 100% 0); transition: clip-path .7s var(--ease); }
  .site-nav.is-open { clip-path: circle(150% at 100% 0); }
  .site-nav ul { flex-direction: column; align-items: center; gap: 18px; }
  .site-nav a { font-size: 40px; }
  .hero { margin-top: 0; padding-top: 50px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .ba__grid, .booking__grid, .price-grid { grid-template-columns: 1fr; gap: 50px; }
  .des-list { grid-template-columns: repeat(2, 1fr); }
  .look__ko { display: none; }
  .preview { display: none; }
}
@media (max-width: 767.98px) {
  :root { --header-h: 64px; }
  .container { width: calc(100% - 40px); }
  .sample-banner__inner { align-items: flex-start; font-size: 12px; }
  .hero { min-height: 0; padding: 40px 0 90px; }
  .hero__title { font-size: 21vw; }
  .hero__actions { width: 100%; }
  .btn { flex: 1 1 100%; }
  .section { padding: 96px 0; }
  .sec-head { margin-bottom: 36px; }
  .look { grid-template-columns: 1fr auto; gap: 12px; padding: 20px 0; }
  .des-list { grid-template-columns: 1fr; }
  .ticker { margin-bottom: 70px; }
  .booking { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
