/*
Theme Name: Hair#426
Theme URI: https://hair-426.limseojin.com/
Author: Hair#426
Author URI: https://hair-426.limseojin.com/
Description: 성동구 장한평역 프라이빗 헤어살롱 헤어샵426(Hair#426) 공식 홈페이지를 위한 에디토리얼 원페이지 테마.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hair426
*/

/* ============================================================
   Hair#426  —  Bernardo Moda Contrast (LOGO ONLY)
   ============================================================ */
@font-face {
  font-family: "Bernardo Moda Contrast";
  src: url("assets/fonts/BernardoModaContrast.woff2") format("woff2"),
       url("assets/fonts/BernardoModaContrast.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ----------  Reset / base  ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #14110f;
  --ink-2:  #2a2622;
  --paper:  #f6f2ea;
  --paper-2:#ece5d8;
  --line:   #d8cfbf;
  --gold:   #a9824f;
  --gold-2: #c8a16a;
  --muted:  #837a6c;
  --white:  #ffffff;
  --maxw:   1200px;
  --ease:   cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
               "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* Logo typeface — used ONLY on the brand wordmark */
.brand-type {
  font-family: "Bernardo Moda Contrast", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  font-feature-settings: normal;
}

/* Section label kicker */
.kicker {
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
}

.sec-title {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
}
.sec-title em { font-style: normal; color: var(--gold); }

section { position: relative; }
.pad { padding: clamp(72px, 11vw, 140px) 0; }

/* ----------  Header / Nav  ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(20,17,15,.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 26px; color: #fff; line-height: 1; transition: color .3s; }
.nav-logo .hash { color: var(--gold-2); }
.site-header.scrolled .nav-logo { color: #fff; }
.nav-menu { display: flex; gap: 34px; align-items: center; }
.nav-menu a {
  color: rgba(255,255,255,.82);
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  transition: color .25s;
}
.nav-menu a:hover { color: var(--gold-2); }
.nav-cta {
  border: 1px solid rgba(255,255,255,.5); color: #fff !important;
  padding: 9px 20px; border-radius: 999px; letter-spacing: .12em !important;
  transition: all .25s var(--ease);
}
.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 2px; background: #fff; transition: .3s var(--ease); }
.nav-toggle span:nth-child(1){ top: 0; }
.nav-toggle span:nth-child(2){ top: 10px; }
.nav-toggle span:nth-child(3){ top: 20px; }

/* ----------  Hero  ---------- */
.hero {
  min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("assets/img/salon-03.jpg") center 30% / cover no-repeat;
  transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(20,17,15,.55) 0%, rgba(20,17,15,.35) 40%, rgba(20,17,15,.78) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 110px 24px 70px; }
.hero-kicker {
  font-size: 12px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 26px;
}
.hero-logo {
  font-size: clamp(64px, 15vw, 168px);
  line-height: .92; margin: 0 0 6px; text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.hero-logo .hash { color: var(--gold-2); }
.hero-sub {
  font-size: clamp(17px, 2.4vw, 23px); font-weight: 500;
  letter-spacing: .02em; margin-top: 22px; color: rgba(255,255,255,.95);
}
.hero-desc {
  margin: 16px auto 0; max-width: 620px;
  color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.9;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 46px; margin: 12px auto 0;
  background: linear-gradient(rgba(255,255,255,.7), transparent);
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px; font-size: 14px; font-weight: 600;
  letter-spacing: .04em; cursor: pointer; transition: all .28s var(--ease); border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--gold); transform: translateY(-2px); }
.btn-out { border-color: var(--ink); color: var(--ink); }
.btn-out:hover { background: var(--ink); color: #fff; }

/* ----------  About  ---------- */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.about-copy p { color: var(--ink-2); margin-top: 22px; font-size: 16.5px; line-height: 2.05; }
.about-copy .lead { font-size: clamp(20px,2.6vw,26px); line-height: 1.6; color: var(--ink); font-weight: 600; letter-spacing: -.02em; margin-top: 24px; }
.about-figure { position: relative; }
.about-figure img { border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(20,17,15,.5); }
.about-figure .tag {
  position: absolute; bottom: -22px; left: -22px; background: var(--ink); color: #fff;
  padding: 18px 26px; border-radius: 4px;
}
.about-figure .tag .n { font-size: 30px; font-weight: 700; color: var(--gold-2); line-height: 1; }
.about-figure .tag .l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; border-top: 1px solid var(--line); padding-top: 34px; }
.stats .num { font-size: clamp(30px,4vw,42px); font-weight: 700; letter-spacing: -.03em; }
.stats .num span { color: var(--gold); font-size: .6em; }
.stats .cap { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ----------  Style / Signature  ---------- */
.style { background: var(--ink); color: var(--paper); }
.style .kicker { color: var(--gold-2); }
.style .sec-title { color: #fff; }
.style-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.style-head p { color: rgba(246,242,234,.6); max-width: 420px; }
.style-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.style-card { position: relative; overflow: hidden; border-radius: 4px; }
.style-card:nth-child(1){ transform: translateY(0); }
.style-card:nth-child(2){ transform: translateY(38px); }
.style-card:nth-child(3){ transform: translateY(0); }
.style-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform 1s var(--ease); filter: grayscale(.1); }
.style-card:hover img { transform: scale(1.07); }
.style-card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 20px;
  background: linear-gradient(transparent, rgba(20,17,15,.85)); }
.style-card .meta h3 { font-size: 19px; font-weight: 700; }
.style-card .meta span { font-size: 12px; color: var(--gold-2); letter-spacing: .14em; text-transform: uppercase; }
.style-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; justify-content: center; }
.style-tags span { border: 1px solid rgba(246,242,234,.22); color: rgba(246,242,234,.8);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; }

/* ----------  Price  ---------- */
.price { background: var(--paper-2); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 60px; margin-top: 54px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row .nm { font-weight: 600; font-size: 17px; }
.price-row .nm small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-5px); }
.price-row .pr { font-weight: 700; font-size: 17px; white-space: nowrap; }
.price-row .pr span { color: var(--gold); font-size: .8em; font-weight: 600; }
.price-note { margin-top: 40px; font-size: 13.5px; color: var(--muted); line-height: 1.9;
  background: var(--white); border-left: 3px solid var(--gold); padding: 18px 22px; border-radius: 0 4px 4px 0; }

/* ----------  Gallery  ---------- */
.gallery { background: var(--paper); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 54px; }
.gallery-grid a { overflow: hidden; border-radius: 4px; display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ----------  Instagram  ---------- */
.insta { background: var(--ink); color: #fff; text-align: center; }
.insta .sec-title { color: #fff; }
.insta .kicker { color: var(--gold-2); }
.insta p { color: rgba(255,255,255,.7); max-width: 520px; margin: 18px auto 34px; }
.insta-handle { font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--gold-2); margin-top: 8px; }

/* ----------  Location  ---------- */
.loc { background: var(--paper-2); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,5vw,70px); margin-top: 54px; }
.loc-map { border-radius: 4px; overflow: hidden; min-height: 360px; border: 1px solid var(--line); background:#ddd; }
.loc-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display:block; }
.info-row { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { padding-top: 0; }
.info-row .ic { width: 26px; flex: none; color: var(--gold); font-size: 18px; }
.info-row .k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-row .v { font-size: 16px; margin-top: 4px; color: var(--ink); }
.info-row .v small { color: var(--muted); }
.hours-table { width: 100%; margin-top: 6px; }
.hours-table td { padding: 3px 0; font-size: 15px; }
.hours-table td:last-child { text-align: right; color: var(--ink-2); }
.loc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ----------  Q&A  ---------- */
.qa { background: var(--paper); }
.qa-list { margin-top: 50px; max-width: 880px; }
.qa-item { border-bottom: 1px solid var(--line); }
.qa-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-size: clamp(16px,2vw,19px); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.qa-q .q-mark { color: var(--gold); font-weight: 800; margin-right: 14px; font-size: 1.05em; }
.qa-q .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform .35s var(--ease); }
.qa-q .plus::before, .qa-q .plus::after { content:""; position: absolute; background: var(--gold); transition: .35s var(--ease); }
.qa-q .plus::before { top: 10px; left: 0; right: 0; height: 2px; }
.qa-q .plus::after { left: 10px; top: 0; bottom: 0; width: 2px; }
.qa-item.open .qa-q .plus { transform: rotate(135deg); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.qa-a-inner { padding: 0 0 26px 38px; color: var(--ink-2); font-size: 15.5px; line-height: 1.95; }

/* ----------  Footer  ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 76px 0 36px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-logo { font-size: 40px; color: #fff; }
.foot-logo .hash { color: var(--gold-2); }
.foot-top p { margin-top: 16px; line-height: 1.8; }
.foot-col h4 { color: #fff; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.foot-col a, .foot-col .li { display: block; padding: 5px 0; color: rgba(255,255,255,.62); transition: color .2s; }
.foot-col a:hover { color: var(--gold-2); }
.biz-info { padding-top: 26px; line-height: 1.95; font-size: 12.5px; color: rgba(255,255,255,.45); }
.biz-info strong { color: rgba(255,255,255,.7); font-weight: 600; }
.copyright { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.4); }

/* ----------  Floating action  ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; text-align: center; line-height: 1.1;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,.5); transition: transform .25s var(--ease); }
.fab a:hover { transform: scale(1.08); }
.fab .f-call { background: var(--ink); }
.fab .f-book { background: #03c75a; } /* Naver green */

/* ----------  Reveal animation  ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ----------  Work gallery (시술 / 상단)  ---------- */
.work { background: var(--ink); color: var(--paper); }
.work .kicker { color: var(--gold-2); }
.work .sec-title { color: #fff; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.work-head p { color: rgba(246,242,234,.6); max-width: 460px; }
.work-grid {
  margin-top: 50px;
  columns: 4; column-gap: 14px;
}
.work-card {
  break-inside: avoid; margin-bottom: 14px; position: relative; display: block;
  border-radius: 4px; overflow: hidden; background: #222;
}
.work-card img { width: 100%; display: block; transition: transform 1s var(--ease); }
.work-card:hover img { transform: scale(1.06); }
.work-card .wmeta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px;
  background: linear-gradient(transparent, rgba(20,17,15,.86));
  opacity: 0; transform: translateY(8px); transition: .35s var(--ease);
}
.work-card:hover .wmeta { opacity: 1; transform: none; }
.work-card .wmeta .t { font-size: 14px; font-weight: 700; color: #fff; }
.work-card .wmeta .ig { font-size: 11px; color: var(--gold-2); letter-spacing: .12em; }
.work-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; justify-content: center; }
.work-tags span { border: 1px solid rgba(246,242,234,.22); color: rgba(246,242,234,.82);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; }

/* ----------  Designers (시술사진 밑)  ---------- */
.designers { background: var(--paper); }
.dz-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 54px; }
.dz-card {
  display: block; background: var(--white); border-radius: 6px; overflow: hidden;
  box-shadow: 0 20px 50px -34px rgba(20,17,15,.55); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dz-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(20,17,15,.55); }
.dz-photo { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.dz-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dz-card:hover .dz-photo img { transform: scale(1.05); }
.dz-photo .book-cue {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20,17,15,.45); opacity: 0; transition: opacity .35s var(--ease);
}
.dz-photo .book-cue span {
  border: 1px solid #fff; color: #fff; padding: 11px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; backdrop-filter: blur(2px);
}
.dz-card:hover .dz-photo .book-cue { opacity: 1; }
.dz-body { padding: 22px 22px 26px; text-align: center; }
.dz-body .role { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.dz-body .name { font-size: 21px; font-weight: 700; margin-top: 7px; letter-spacing: -.01em; }
.dz-body .line { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.dz-body .book-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* ----------  Instagram feed  ---------- */
.insta-feed { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; margin: 40px 0 0; }
.insta-feed a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 3px; display: block; }
.insta-feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta-feed a:hover img { transform: scale(1.08); }
.insta-feed a::after {
  content: "↗"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(20,17,15,.4); color: #fff; opacity: 0; transition: opacity .3s; font-size: 18px;
}
.insta-feed a:hover::after { opacity: 1; }

/* ----------  Responsive  ---------- */
@media (max-width: 860px) {
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(78vw,320px);
    background: rgba(20,17,15,.98); flex-direction: column; justify-content: center; gap: 26px;
    transform: translateX(100%); transition: transform .4s var(--ease); padding: 40px;
  }
  .nav-menu.open { transform: none; }
  .nav-menu a { font-size: 15px; }
  .nav-toggle { display: block; z-index: 110; }
  .about-grid, .loc-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; max-width: 420px; }
  .style-grid { grid-template-columns: 1fr 1fr; }
  .style-card:nth-child(2){ transform: none; }
  .price-grid { grid-template-columns: 1fr; gap: 0 40px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .foot-top { grid-template-columns: 1fr; gap: 30px; }
  .work-grid { columns: 3; }
  .dz-grid { grid-template-columns: 1fr 1fr; }
  .dz-grid .dz-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .insta-feed { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .style-grid { grid-template-columns: 1fr; }
  .style-card { transform: none !important; }
  .g-wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .work-grid { columns: 2; }
  .dz-grid { grid-template-columns: 1fr; }
  .dz-grid .dz-card:nth-child(3) { max-width: 100%; }
  .insta-feed { grid-template-columns: repeat(3,1fr); }
}
