/* =====================================================================
   KLASSIEK HANDZ — Design System
   원목 가구 아틀리에 / 웜 오프화이트 · 미니멀 에디토리얼
   레퍼런스(STANDARD.a) 구조·시그니처 리빌 애니메이션 계승
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, picture, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }

/* ---------- Tokens ---------- */
:root {
  --bg:        #ECE9E1;   /* 웜 오프화이트 (스튜디오 배경 톤) */
  --bg-soft:   #E4E0D6;
  --paper:     #F4F1EA;   /* 카드/밝은 면 */
  --ink:       #201C18;   /* 웜 블랙 */
  --ink-2:     #4A433B;   /* 본문 */
  --ink-soft:  #6B6357;   /* 보조 텍스트 (WCAG AA 대비 확보) */
  --line:      #D3CCBF;   /* 헤어라인 */
  --line-soft: #DED8CC;
  --walnut:    #6E4A2E;   /* 월넛 액센트 (아주 절제) */
  --walnut-d:  #543821;

  --font-en:    'Jost', 'Century Gothic', 'Avenir Next', sans-serif;
  --font-serif: 'Cormorant Garamond', 'Nanum Myeongjo', 'Times New Roman', serif;
  --font-kr:    'Pretendard', 'Apple SD Gothic Neo', -apple-system, sans-serif;

  --ease:      cubic-bezier(0.165, 0.84, 0.44, 1);   /* 시그니처 이징 */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h:  76px;
  --gut:       clamp(20px, 5vw, 72px);   /* 좌우 여백 */
  --maxw:      1560px;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-kr);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--bg); }

/* 접근성: 포커스 표시 */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.site-header--over :focus-visible,
.site-footer :focus-visible,
.lightbox :focus-visible,
.hero :focus-visible { outline-color: #fff; }
.nav-link:focus-visible::after,
.header-contact:focus-visible::after,
.filter__btn:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* 스크린리더 전용 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.en { font-family: var(--font-en); letter-spacing: 0.02em; }
.serif { font-family: var(--font-serif); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 160px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease-soft), border-color .5s var(--ease-soft), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: none;
}
.site-header__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav-link {
  font-family: var(--font-en); font-size: 15px; font-weight: 400; letter-spacing: 0.04em;
  position: relative; padding: 6px 0; color: var(--ink);
  transition: opacity .3s var(--ease-soft);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand__mark { width: 30px; height: 30px; border-radius: 50%; }
.brand__word {
  font-family: var(--font-en); font-weight: 500; letter-spacing: 0.16em;
  font-size: 18px; line-height: 1; white-space: nowrap;
}
.brand__word b { font-weight: 500; }

.site-header__right { display: flex; align-items: center; gap: 22px; }
.header-contact {
  font-family: var(--font-en); font-size: 14px; letter-spacing: 0.04em;
  position: relative; padding-bottom: 3px;
}
.header-contact::after {
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background: currentColor; transform: scaleX(0); transform-origin:right; transition: transform .5s var(--ease);
}
.header-contact:hover::after { transform: scaleX(1); transform-origin:left; }

/* 투명 헤더 (히어로 위) */
.site-header--over { color: #fff; }
.site-header--over .nav-link,
.site-header--over .brand__word,
.site-header--over .header-contact,
.site-header--over .menu-toggle { text-shadow: 0 1px 14px rgba(20,17,14,.4); }
.site-header--over .menu-toggle span { box-shadow: 0 1px 10px rgba(20,17,14,.35); }
.site-header--over .nav-link,
.site-header--over .brand__word,
.site-header--over .header-contact { color: #fff; }
/* 스크롤 시 솔리드 */
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.site-header.is-solid .nav-link,
.site-header.is-solid .brand__word,
.site-header.is-solid .header-contact { color: var(--ink); }

/* 모바일 메뉴가 열리면 (밝은 오버레이 위) 헤더를 잉크색으로 반전해 X·로고 가시성 확보 */
body.menu-open .site-header--over .brand__word,
body.menu-open .site-header--over .header-contact,
body.menu-open .site-header--over .menu-toggle { color: var(--ink); text-shadow: none; }
body.menu-open .site-header--over .menu-toggle span { background: var(--ink); box-shadow: none; }

/* 햄버거 */
.menu-toggle { display: none; width: 30px; height: 22px; position: relative; }
.menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-toggle span:nth-child(1){ top: 2px; }
.menu-toggle span:nth-child(2){ top: 10px; }
.menu-toggle span:nth-child(3){ top: 18px; }
body.menu-open .menu-toggle span:nth-child(1){ top:10px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2){ opacity:0; }
body.menu-open .menu-toggle span:nth-child(3){ top:10px; transform: rotate(-45deg); }

/* 모바일 메뉴 오버레이 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gut);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease), visibility .8s;
  pointer-events: none; visibility: hidden;
}
body.menu-open .mobile-nav { clip-path: inset(0 0 0 0); pointer-events: auto; visibility: visible; }
/* 데스크톱에서는 완전히 제거 (키보드 포커스 유입 차단) */
@media (min-width: 901px) { .mobile-nav { display: none; } }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--font-en); font-size: clamp(34px, 9vw, 68px); font-weight: 300;
  letter-spacing: 0.01em; line-height: 1.24; color: var(--ink);
  display: inline-block; transform: translateY(24px); opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
body.menu-open .mobile-nav a { transform: translateY(0); opacity: 1; }
.mobile-nav li:nth-child(1) a{ transition-delay:.10s } .mobile-nav li:nth-child(2) a{ transition-delay:.16s }
.mobile-nav li:nth-child(3) a{ transition-delay:.22s } .mobile-nav li:nth-child(4) a{ transition-delay:.28s }
.mobile-nav li:nth-child(5) a{ transition-delay:.34s } .mobile-nav li:nth-child(6) a{ transition-delay:.40s }
.mobile-nav li:nth-child(7) a{ transition-delay:.46s }
.mobile-nav a .kr { font-family: var(--font-kr); font-size: .32em; color: var(--ink-soft); margin-left: .6em; letter-spacing: 0; }
.mobile-nav a.is-active { text-decoration: underline; text-underline-offset: 10px; text-decoration-thickness: 1px; }
.mobile-nav__foot { margin-top: clamp(32px, 6vw, 56px); font-family: var(--font-en); font-size: 14px; color: var(--ink-soft); letter-spacing:.03em; }

/* =====================================================================
   Signature Reveal (레퍼런스 계승)
   ===================================================================== */
.reveal {
  opacity: 0; transform: translate3d(0, 5vh, 0);
  transition: transform 1.5s var(--ease), opacity 1s ease;
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal[data-delay="1"].in { transition-delay: .10s; }
.reveal[data-delay="2"].in { transition-delay: .20s; }
.reveal[data-delay="3"].in { transition-delay: .30s; }
.reveal[data-delay="4"].in { transition-delay: .40s; }
/* 이미지 마스크 리빌 */
.mask { overflow: hidden; }
.mask > img, .mask > .mask__inner {
  transform: scale(1.12); transition: transform 1.8s var(--ease);
}
.mask.in > img, .mask.in > .mask__inner { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .mask > img { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Typography helpers
   ===================================================================== */
.eyebrow {
  font-family: var(--font-en); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center::before { display: none; }

.display {
  font-family: var(--font-serif); font-weight: 300; line-height: 1.08;
  font-size: clamp(38px, 6vw, 88px); letter-spacing: -0.01em;
}
.h-sec {
  font-family: var(--font-serif); font-weight: 300; line-height: 1.12;
  font-size: clamp(30px, 4.4vw, 60px); letter-spacing: -0.005em;
}
.h-kr {
  font-family: var(--font-kr); font-weight: 300; line-height: 1.4;
  font-size: clamp(22px, 3vw, 34px); letter-spacing: -0.02em;
}
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.9; font-weight: 300; }
.muted { color: var(--ink-soft); }
.small { font-size: 14px; }

/* 밑줄 링크 */
.ulink {
  font-family: var(--font-en); font-size: 15px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 9px;
  position: relative; padding-bottom: 4px; color: var(--ink); white-space: nowrap;
}
.ulink svg { width: 22px; transition: transform .5s var(--ease); }
.ulink::after {
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%; background: currentColor;
  transform-origin: left; transition: transform .5s var(--ease);
}
.ulink:hover svg { transform: translateX(6px); }
.ulink:hover::after { transform: scaleX(0); transform-origin: right; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en);
  font-size: 14px; letter-spacing: .05em; padding: 15px 30px; border: 1px solid var(--ink);
  border-radius: 999px; color: var(--ink); overflow: hidden; position: relative; z-index: 0;
  transition: color .5s var(--ease); white-space: nowrap;
}
.btn svg { width: 20px; height: 10px; flex-shrink: 0; }
.btn::before {
  content:""; position:absolute; inset:0; background: var(--ink); z-index:-1;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light::before { background:#fff; }
.btn--light:hover { color: var(--ink); }

/* =====================================================================
   Hero (홈 풀스크린 슬라이더)
   ===================================================================== */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 1.4s var(--ease-soft), visibility 1.4s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,17,14,.52) 0%, rgba(20,17,14,.20) 14%, rgba(20,17,14,.04) 34%, rgba(20,17,14,.12) 60%, rgba(20,17,14,.58) 100%); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__inner {
  position: absolute; left: 0; right: 0; bottom: clamp(56px, 9vh, 120px); z-index: 3;
  color: #fff; pointer-events: none;
}
.hero__cat { font-family: var(--font-en); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; opacity: .85; }
.hero__cat span { opacity:.6; margin-right:.7em; }
.hero__title {
  font-family: var(--font-serif); font-weight: 300; font-size: clamp(44px, 8.5vw, 132px);
  line-height: 1; margin-top: 10px;
}
.hero__more { pointer-events: auto; margin-top: 26px; }
/* 슬라이드 전환 텍스트 애니메이션 */
.hero__cat, .hero__title { transform: translateY(30px); opacity: 0; transition: transform 1s var(--ease) .3s, opacity 1s ease .3s; }
.hero__slide.is-active .hero__cat, .hero__slide.is-active .hero__title { transform: translateY(0); opacity: 1; }
.hero__slide.is-active .hero__cat { opacity:.85; }

.hero__dots { position: absolute; right: var(--gut); bottom: clamp(56px, 9vh, 120px); z-index: 4; display: flex; flex-direction: column; gap: 14px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); transition: background .4s, transform .4s; }
.hero__dot.is-active { background: #fff; transform: scale(1.15); }
.hero__index {
  position:absolute; left: var(--gut); bottom: clamp(56px, 9vh, 120px); z-index:4; color:#fff;
  font-family: var(--font-en); font-size: 14px; letter-spacing:.1em;
}
.hero__index b{ font-weight:500 } .hero__index i{ font-style: normal; opacity:.6 }
.scroll-cue {
  position:absolute; left:50%; bottom: 26px; transform: translateX(-50%); z-index:4; color:#fff;
  font-family: var(--font-en); font-size: 11px; letter-spacing:.24em; text-transform:uppercase; opacity:.8;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.scroll-cue::after { content:""; width:1px; height:40px; background: currentColor; animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%{ transform: scaleY(0); } 40%{ transform: scaleY(1);} 100%{ transform: scaleY(0); transform-origin: bottom; } }

/* =====================================================================
   Intro / statement 블록
   ===================================================================== */
.statement { text-align: center; max-width: 940px; margin-inline: auto; }
.statement .h-kr { margin-top: 22px; }
.statement p { margin-top: 26px; }

/* 2단 소개 (이미지 + 텍스트) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.split--rev { direction: rtl; } .split--rev > * { direction: ltr; }
.split__media img { width: 100%; }
.split__body { max-width: 460px; }
.split__body .h-sec { margin-bottom: 20px; }
.split__body p + p { margin-top: 16px; }
.split__body .ulink { margin-top: 30px; }

/* 풀블리드 이미지 */
.fullbleed { width: 100%; }
.fullbleed img { width: 100%; height: clamp(340px, 62vh, 720px); object-fit: cover; }

/* =====================================================================
   Collection 그리드
   ===================================================================== */
.collection-intro { max-width: 720px; }
.filter {
  display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center;
  padding-block: 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: var(--header-h); background: var(--bg); z-index: 40;
}
.filter__btn {
  font-family: var(--font-en); font-size: 15px; letter-spacing: .03em; color: var(--ink-soft);
  padding: 6px 0; position: relative; transition: color .4s var(--ease-soft);
}
.filter__btn::after { content:""; position:absolute; left:0; bottom:0; height:1px; width:100%; background: var(--ink); transform: scaleX(0); transform-origin:left; transition: transform .45s var(--ease); }
.filter__btn:hover { color: var(--ink); }
.filter__btn.is-active { color: var(--ink); }
.filter__btn.is-active::after { transform: scaleX(1); }

.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 44px) clamp(16px, 2.4vw, 38px); margin-top: clamp(32px, 5vw, 60px); }
.pcard { display: block; }
.pcard.is-hide { display: none; }
.pcard__media { position: relative; overflow: hidden; background: var(--bg-soft); aspect-ratio: 3 / 2.15; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-bottom: 4px; }
.pcard__name { font-family: var(--font-en); font-size: 18px; letter-spacing: .01em; }
.pcard__kr { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.pcard__cat { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.pcard__tag { font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }

/* =====================================================================
   Product Detail (좌 스티키 정보 + 우 이미지 컬럼)
   ===================================================================== */
.pd { display: grid; grid-template-columns: 380px 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.pd__info { position: sticky; top: calc(var(--header-h) + 40px); }
.pd__crumb { font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.pd__crumb a:hover { color: var(--ink); }
.pd__name { font-family: var(--font-serif); font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.pd__kr { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.pd__tag { font-size: 16px; color: var(--ink-2); margin-top: 20px; font-weight: 300; }
.pd__acc { margin-top: 36px; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; text-align: left;
  font-family: var(--font-en); font-size: 15px; letter-spacing: .03em;
}
.acc__icon { position: relative; width: 12px; height: 12px; flex-shrink: 0; }
.acc__icon::before, .acc__icon::after { content:""; position:absolute; background: var(--ink); transition: transform .45s var(--ease); }
.acc__icon::before { left:0; top:50%; width:100%; height:1px; transform: translateY(-50%); }
.acc__icon::after  { top:0; left:50%; width:1px; height:100%; transform: translateX(-50%); }
.acc__item.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.acc__panel-inner { padding: 0 0 24px; color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.acc__panel-inner p + p { margin-top: 12px; }

.swatches { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.swatch { text-align: center; }
.swatch i { display:block; width: 46px; height: 46px; border-radius: 50%; border:1px solid var(--line); }
.swatch span { display:block; font-size: 11px; color: var(--ink-soft); margin-top: 7px; letter-spacing: .02em; }
.sw-walnut{ background:#5b3a22 } .sw-oak{ background:#c9a877 } .sw-cherry{ background:#9c5a3c }
.sw-woak{ background:#d8cbb4 } .sw-boak{ background:#33291f } .sw-leather{ background:#a2632f }
.sw-brass{ background:#b08d3f } .sw-ceramic{ background:#e6e2d8 }

.spec { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: 14.5px; }
.spec dt { color: var(--ink-soft); font-family: var(--font-en); letter-spacing: .02em; }
.spec dd { color: var(--ink-2); }

.pd__media { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); }
.pd__shot { background: var(--bg-soft); overflow: hidden; }
.pd__shot img { width: 100%; }
.pd__cta { margin-top: 34px; display:flex; gap: 14px; flex-wrap: wrap; }

/* 관련 제품 */
.related { border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); margin-top: 40px; }

/* =====================================================================
   Journal / Project 리스트
   ===================================================================== */
.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 52px) clamp(20px, 2.4vw, 36px); }
.jcard__media { overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.jcard__media img { width:100%; height:100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.jcard:hover .jcard__media img { transform: scale(1.05); }
.jcard__cat { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 18px; }
.jcard__title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 400; line-height: 1.4; margin-top: 8px; letter-spacing: -.02em; }
.jcard__excerpt { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.jcard__date { font-family: var(--font-en); font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* Project 대형 리스트 (교차 2단) */
.project-list { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 130px); }
.project-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.project-row:nth-child(even) { direction: rtl; } .project-row:nth-child(even) > * { direction: ltr; }
.project-row__media { overflow: hidden; aspect-ratio: 3/2; background: var(--bg-soft); }
.project-row__media img { width:100%; height:100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.project-row:hover .project-row__media img { transform: scale(1.04); }
.project-row__no { font-family: var(--font-en); font-size: 13px; letter-spacing:.1em; color: var(--ink-soft); }
.project-row__title { font-family: var(--font-serif); font-weight:300; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.08; margin: 14px 0 12px; }
.project-row__desc { color: var(--ink-2); max-width: 420px; }
.project-row .ulink { margin-top: 26px; }

/* =====================================================================
   Maintenance
   ===================================================================== */
.care-block { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 64px); padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.care-block__title .en { font-size: 13px; letter-spacing:.2em; text-transform:uppercase; color: var(--ink-soft); }
.care-block__title h3 { font-family: var(--font-serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); margin-top: 10px; line-height: 1.1; }
.care-items { display: grid; gap: clamp(22px, 3vw, 40px); }
.care-item h4 { font-size: 18px; font-weight: 500; margin-bottom: 10px; display:flex; align-items:baseline; gap:10px; }
.care-item h4 span { font-family: var(--font-en); font-size: 13px; color: var(--walnut); }
.care-item p { color: var(--ink-2); font-size: 15px; }
.care-item ul { margin-top: 8px; display:grid; gap:6px; }
.care-item li { color: var(--ink-2); font-size: 14.5px; padding-left: 16px; position: relative; }
.care-item li::before { content:""; position:absolute; left:0; top:11px; width:5px; height:1px; background: var(--ink-soft); }

/* =====================================================================
   Class (원데이클래스)
   ===================================================================== */
.class-steps { display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(20px,2.6vw,40px); counter-reset: step; }
.class-step__no { font-family: var(--font-serif); font-size: 40px; color: var(--walnut); line-height:1; }
.class-step h4 { font-size: 18px; font-weight:500; margin: 14px 0 8px; }
.class-step p { font-size: 14.5px; color: var(--ink-2); }
.class-gallery { display:grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.class-gallery a { overflow:hidden; aspect-ratio:1; background: var(--bg-soft); }
.class-gallery img { width:100%; height:100%; object-fit:cover; transition: transform 1s var(--ease); }
.class-gallery a:hover img { transform: scale(1.06); }

/* =====================================================================
   About — People / Log
   ===================================================================== */
.people { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,44px); }
.person__media { aspect-ratio: 4/5; overflow:hidden; background: var(--bg-soft); }
.person__media img{ width:100%; height:100%; object-fit:cover; filter: grayscale(.15); transition: transform 1.1s var(--ease); }
.person:hover .person__media img{ transform: scale(1.04); }
.person__name { font-family: var(--font-en); font-size: 18px; margin-top: 16px; }
.person__role { font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }

.facts { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(20px,3vw,40px); border-top:1px solid var(--line); padding-top: clamp(30px,4vw,52px); }
.fact__num { font-family: var(--font-serif); font-weight:300; font-size: clamp(40px,5vw,72px); line-height:1; }
.fact__num sup { font-size:.4em; vertical-align: super; color: var(--walnut); }
.fact__label { color: var(--ink-soft); margin-top: 12px; font-size: 14.5px; }

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,80px); }
.contact-info dl { display:grid; grid-template-columns: 92px 1fr; gap: 18px 20px; }
.contact-info dt { font-family: var(--font-en); font-size: 13px; letter-spacing:.12em; text-transform:uppercase; color: var(--ink-soft); padding-top: 3px; }
.contact-info dd { color: var(--ink-2); }
.contact-info dd a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.map { width:100%; aspect-ratio: 4/3; background: var(--bg-soft); border:1px solid var(--line); }
.map iframe, .map > div { width:100%; height:100%; border:0; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--ink); color: #cfc7ba; padding-block: clamp(56px, 8vw, 96px) 40px; margin-top: 0; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(28px,4vw,60px); padding-bottom: clamp(40px,5vw,64px); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand__word { color:#fff; font-size: 22px; }
.footer-cta { margin-top: 22px; }
.footer-cta .h-sec { color:#fff; font-family: var(--font-serif); }
.footer-col h5 { font-family: var(--font-en); font-size: 12px; letter-spacing:.16em; text-transform:uppercase; color:#8f867a; margin-bottom: 18px; }
.footer-col ul { display:grid; gap: 11px; }
.footer-col a, .footer-col p { font-size: 14.5px; color:#cfc7ba; transition: color .3s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top: 32px; font-size: 12.5px; color:#8f867a; font-family: var(--font-en); letter-spacing:.03em; }
.footer-bottom a:hover { color:#fff; }

/* 라이트박스 */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,17,14,.92);
  display: grid; place-items: center; padding: 5vw;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-soft), visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; transform: scale(.96); transition: transform .5s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 22px; right: 30px; color: #fff; font-size: 40px; line-height: 1; font-weight: 200; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq .acc__head { font-family: var(--font-kr); font-size: 16.5px; letter-spacing: -.01em; }

/* 카카오 플로팅 */
.kakao-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%;
  background: #FEE500; display:grid; place-items:center; box-shadow: 0 8px 26px rgba(0,0,0,.18);
  transition: transform .4s var(--ease); color:#3A1D1D;
}
.kakao-fab:hover { transform: translateY(-4px) scale(1.04); }
.kakao-fab svg { width: 28px; }

/* =====================================================================
   Page header (하위 페이지 상단)
   ===================================================================== */
.page-head { padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px)); }
.page-head .eyebrow { margin-bottom: 20px; }
.page-head__title { font-family: var(--font-serif); font-weight:300; font-size: clamp(40px, 6.5vw, 96px); line-height: 1.02; }
.page-head__lead { max-width: 640px; margin-top: 26px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .pd { grid-template-columns: 320px 1fr; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header__nav, .header-contact { display: none; }
  .menu-toggle { display: block; }
  .site-header .wrap { justify-content: space-between; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--rev { direction: ltr; }
  .project-row { grid-template-columns: 1fr; gap: 24px; }
  .project-row:nth-child(even) { direction: ltr; }
  .jgrid { grid-template-columns: repeat(2,1fr); }
  .people, .class-steps, .facts { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .pd { grid-template-columns: 1fr; gap: 30px; }
  .pd__info { position: static; }
  .pd__acc { max-width: 560px; }
  .care-block { grid-template-columns: 1fr; gap: 20px; }
  .class-gallery { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; }
  .jgrid, .people, .class-steps, .facts, .related-grid { grid-template-columns: 1fr; }
  .hero__dots, .hero__index, .scroll-cue { display: none; }
  .hero__inner { bottom: clamp(40px, 8vh, 90px); }
  .pcard__media { aspect-ratio: 3/2.3; }
  .contact-info dl { grid-template-columns: 80px 1fr; }
  .swatch i { width: 40px; height: 40px; }
}
