/* =========================================================
   김코치 김창환 — 1차 HTML 시안
   구조·모션 참고: reyup.kr (design-to-code study). 카피·사진은 김코치 자료.
   ========================================================= */

:root {
  /* 브랜드 컬러 (website_pack/site_data.json) */
  --navy: #142B40;
  --navy-deep: #0e2031;
  --navy-ink: #09172a;
  --navy-2: #1d3a55;
  --beige: #F2EBDD;
  --beige-2: #e3d6bf;
  --white: #ffffff;
  --dim: rgba(242, 235, 221, .66);
  --dimmer: rgba(242, 235, 221, .30);
  --line: rgba(242, 235, 221, .18);

  /* 모션 — motiscope 실측값 (reyup.kr 스크롤 녹화 24.9초 분석) */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);  /* 지배적 이징: spring */
  --ease-out: cubic-bezier(.16, 1, .3, 1);         /* 첫 화면 등장: ease-out */
  --ease-soft: cubic-bezier(0, 0, .25, 1);         /* 레퍼런스 CSS 최다 곡선 (176회) */
  --stagger: .41s;                                 /* 위→아래 순차 등장 간격 409ms */
  --reveal: 1.2s;                                  /* 등장 구간 1.08~1.16s */
  --line-grow: 1.5s;                               /* 세로선 그어짐 lineGrow 1500ms */
  --glow: 6s;                                      /* 카드 빛 번짐 dotGlow 6000ms 반복 */

  --font-kr: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-en: 'Archivo', 'Pretendard Variable', 'Malgun Gothic', sans-serif;
  --gutter: clamp(20px, 5vw, 96px);
  --maxw: 1280px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-ink);
  color: var(--beige);
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }

.en { font-family: var(--font-en); font-stretch: 125%; font-weight: 900; letter-spacing: .01em; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.center { text-align: center; }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 700;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--beige-2);
  margin-bottom: clamp(20px, 2.4vw, 36px);
}
.display {
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.02em;
  color: var(--white);
}
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--dim); }

.vline {
  width: 1px;
  height: clamp(80px, 12vh, 180px);
  margin: clamp(28px, 4vw, 56px) auto;
  background: linear-gradient(var(--beige), rgba(242, 235, 221, 0));
  transform-origin: top;
}

/* ---------- 버튼 ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  border: 1px solid rgba(242, 235, 221, .7);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.btn-fill { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.btn-fill:hover { background: var(--white); border-color: var(--white); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 등장 모션 (JS가 켜졌을 때만) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity .9s var(--ease-soft),
    transform var(--reveal) var(--ease-spring);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.js [data-reveal="right"] { transform: translateX(64px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 회색 → 흰색으로 밝아지는 큰 제목 */
.js .display[data-reveal] { color: var(--dimmer); transition: opacity .9s var(--ease-soft), transform var(--reveal) var(--ease-spring), color 1.6s var(--ease-soft) .2s; }
.js .display[data-reveal].is-in { color: var(--white); }

/* 사진이 살짝 확대된 상태에서 제자리로 (zoomInEffect 1500ms) */
.js [data-zoom] img { transform: scale(1.12); transition: transform 1.5s var(--ease-out); }
.js [data-zoom].is-in img { transform: none; }

.js .vline { transform: scaleY(0); transition: transform var(--line-grow) var(--ease-soft); }
.js .vline.is-in { transform: scaleY(1); }

/* =========================================================
   헤더
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .4s ease, height .4s ease, backdrop-filter .4s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(9, 23, 42, .78), rgba(9, 23, 42, 0));
  transition: opacity .4s ease;
}
.site-header.is-scrolled { height: 70px; background: rgba(14, 32, 49, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header.is-scrolled::before { opacity: 0; }

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .en { font-size: clamp(19px, 1.7vw, 24px); color: var(--white); }
.logo small { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .34em; color: var(--dim); }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav ul a { position: relative; font-size: 15px; font-weight: 500; letter-spacing: .02em; color: rgba(255, 255, 255, .86); }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--beige); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 11px 18px; font-size: 14px; font-weight: 700; background: var(--beige); color: var(--navy); transition: background .3s ease; }
.nav-cta:hover { background: var(--white); }

.menu-btn { display: none; width: 44px; height: 44px; position: relative; z-index: 2; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 90px var(--gutter) 120px;
  background: var(--navy-deep);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
}
.mobile-menu a { font-size: 30px; font-weight: 800; color: var(--white); padding: 6px 0; }
.mobile-menu a small { display: block; font-family: var(--font-en); font-stretch: 125%; font-size: 12px; letter-spacing: .3em; color: var(--dim); font-weight: 700; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }

/* =========================================================
   1. 첫 화면
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(64px, 10vh, 120px);
  background: var(--navy-ink);
  overflow: hidden;
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 1000px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-soft); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.js .hero-media { opacity: 0; transform: scale(1.08); transition: opacity 1.6s var(--ease-out), transform 2.6s var(--ease-out); }
.js.is-loaded .hero-media { opacity: 1; transform: none; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-ink) 0%, rgba(9, 23, 42, .6) 30%, rgba(9, 23, 42, 0) 62%),
    linear-gradient(0deg, var(--navy-ink) 0%, rgba(9, 23, 42, 0) 42%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-en { display: flex; flex-direction: column; font-size: clamp(46px, 8.4vw, 136px); line-height: .92; text-transform: uppercase; color: var(--white); margin-bottom: clamp(20px, 2.6vw, 36px); }
.hero-title { font-size: clamp(22px, 2.5vw, 36px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; color: var(--white); }
.hero-sub { margin-top: 16px; font-size: clamp(15px, 1.25vw, 18px); color: var(--dim); }
.hero-sub b { color: var(--beige); font-weight: 700; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 34px; }
.hero-tags li { padding: 6px 14px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; color: var(--beige); background: rgba(242, 235, 221, .04); }
.js .hero-inner > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-soft), transform var(--reveal) var(--ease-spring); transition-delay: calc(.5s + var(--i, 0) * .14s); }
.js.is-loaded .hero-inner > * { opacity: 1; transform: none; }

.hero-award {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(64px, 10vh, 120px);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border: 1px solid var(--line); background: rgba(9, 23, 42, .55); backdrop-filter: blur(6px);
  font-size: 14px; color: var(--beige); transition: border-color .3s ease;
}
.hero-award:hover { border-color: var(--beige); }
.hero-award .en { font-size: 22px; color: var(--white); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; color: var(--dim); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--beige), rgba(242, 235, 221, 0)); animation: cue 2.2s var(--ease-soft) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* =========================================================
   2. 김코치의 원칙 (카드 3개)
   ========================================================= */
.values .display { max-width: 900px; margin: 0 auto; }
.values .sub { font-size: clamp(22px, 2.6vw, 36px); font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.vcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 32px); margin-top: clamp(48px, 6vw, 84px); }
.vcard {
  position: relative; overflow: hidden;
  min-height: 300px; padding: clamp(40px, 4vw, 60px) clamp(24px, 2.6vw, 40px);
  border: 1px solid rgba(242, 235, 221, .3);
  text-align: center;
}
.vcard::after {
  content: ""; position: absolute; right: -28%; bottom: -46%; width: 85%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(242, 235, 221, .26) 0%, rgba(242, 235, 221, .08) 38%, rgba(242, 235, 221, 0) 66%);
  animation: glow var(--glow) ease-in-out infinite alternate;
}
.vcard:nth-child(2)::after { animation-delay: -2s; }
.vcard:nth-child(3)::after { animation-delay: -4s; }
@keyframes glow { from { transform: translate(0, 0) scale(1); opacity: .55; } to { transform: translate(-14%, -12%) scale(1.18); opacity: 1; } }
.vcard .en { font-size: clamp(26px, 2.5vw, 38px); color: var(--white); margin-bottom: 22px; }
.vcard strong { display: block; font-size: 18px; color: var(--white); margin-bottom: 8px; }
.vcard p { position: relative; z-index: 1; color: var(--dim); font-size: 16px; }
.values .btn-row { margin-top: clamp(40px, 5vw, 64px); }

/* =========================================================
   3. 소개 + 자격·수상
   ========================================================= */
.about { background: var(--navy-deep); }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.about-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-photo figcaption { position: absolute; left: 20px; bottom: 18px; font-size: 13px; letter-spacing: .2em; color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.about-text .display { font-size: clamp(28px, 3.4vw, 48px); margin-bottom: clamp(24px, 3vw, 40px); }
.about-text p + p { margin-top: 14px; }
.about-text .lead { color: var(--beige); opacity: .86; }
.quote { margin-top: clamp(28px, 3vw, 44px); padding-left: 22px; border-left: 2px solid var(--beige); font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; color: var(--white); line-height: 1.6; }

.creds { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 90px); margin-top: clamp(90px, 12vw, 170px); align-items: start; }
.creds-photo { position: relative; overflow: hidden; aspect-ratio: 9 / 16; max-height: 760px; background: #000; }
.creds-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.creds-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-deep) 0%, rgba(14, 32, 49, 0) 35%); }
.creds-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.creds-head .en { font-size: clamp(20px, 2vw, 28px); color: var(--white); }
.creds-head span { font-size: 13px; color: var(--dim); }
.creds-list li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(242, 235, 221, .08); font-size: clamp(15px, 1.25vw, 18px); color: var(--beige); }
.creds-list li b { flex: 0 0 auto; min-width: 64px; font-family: var(--font-en); font-stretch: 112%; font-weight: 800; font-size: 14px; color: var(--beige-2); }
.creds-list li.best { color: var(--white); font-weight: 700; }
.creds-list li.best b { color: var(--white); }
.creds-block + .creds-block { margin-top: clamp(40px, 5vw, 64px); }

/* =========================================================
   4. 첫 수업 5단계
   ========================================================= */
.steps { position: relative; margin-top: clamp(56px, 7vw, 100px); --p: 0; }
.steps-line { position: relative; height: 1px; background: rgba(242, 235, 221, .28); margin: 0 0 clamp(32px, 4vw, 52px); }
.steps-line::before { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: calc(var(--p) * 100%); background: var(--beige); }
.steps-dot { position: absolute; top: -6px; left: calc(var(--p) * 100%); width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--beige); box-shadow: 0 0 0 6px rgba(242, 235, 221, .14), 0 0 24px rgba(242, 235, 221, .5); }
.steps-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 26px); }
.step-no { font-family: var(--font-en); font-stretch: 112%; font-weight: 800; font-size: 13px; letter-spacing: .18em; color: var(--beige-2); }
.step-en { font-size: clamp(18px, 1.7vw, 26px); color: var(--white); margin: 6px 0 2px; }
.step-kr { font-size: 17px; font-weight: 700; color: var(--white); }
.step-desc { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--dim); min-height: 4.95em; }
.step-img { margin-top: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-2); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.js .step .step-img, .js .step .step-en, .js .step .step-kr { transition: opacity .6s var(--ease-soft), color .6s var(--ease-soft); }
.js .step:not(.is-active) .step-img { opacity: .32; }
.js .step:not(.is-active) .step-en, .js .step:not(.is-active) .step-kr { color: var(--dimmer); }
.steps-note { margin-top: clamp(36px, 4vw, 56px); font-size: 15px; color: var(--dim); }
.steps-note b { color: var(--beige); }

/* =========================================================
   5. PT 프로그램 (세로 타일 5개)
   ========================================================= */
.program { background: var(--navy-deep); }
.tiles { display: flex; gap: 12px; height: clamp(420px, 44vw, 580px); margin-top: clamp(48px, 6vw, 80px); }
.tile { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow .7s var(--ease-out); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.5); transform: scale(1.02); transition: filter .6s ease, transform 1.2s var(--ease-out); }
.tile-body { position: absolute; inset: auto 0 0; padding: clamp(20px, 2vw, 30px); text-align: center; }
.tile h3 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 800; color: var(--white); }
.tile .tile-en { display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .24em; color: var(--beige-2); font-family: var(--font-en); font-stretch: 112%; font-weight: 800; }
.tile p { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; font-size: 14.5px; line-height: 1.65; color: var(--beige); transition: max-height .6s var(--ease-out), opacity .5s ease, margin-top .5s ease; }
.tile:hover, .tile:focus-within { flex-grow: 1.9; }
.tile:hover img, .tile:focus-within img { filter: grayscale(0) brightness(.62); transform: scale(1.06); }
.tile:hover p, .tile:focus-within p { max-height: 8em; opacity: 1; margin-top: 10px; }
.program .btn-row { margin-top: clamp(36px, 4vw, 56px); }

/* =========================================================
   6. 회원 변화 사례 (엇갈린 카드)
   ========================================================= */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px) clamp(20px, 4vw, 72px); margin-top: clamp(56px, 7vw, 100px); }
.case:nth-child(even) { margin-top: clamp(80px, 12vw, 220px); }
.case:nth-child(3) { margin-top: calc(clamp(80px, 12vw, 220px) * -.6); }
.case a { display: block; }
.case-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.case:nth-child(even) .case-photo { aspect-ratio: 4 / 5; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: transform 1.2s var(--ease-out), filter .5s ease; }
.case a:hover .case-photo img { transform: scale(1.05); filter: brightness(.75); }
.case-photo .tag { position: absolute; left: 20px; top: 20px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; background: rgba(242, 235, 221, .88); color: var(--navy); border-radius: 4px; }
.case-photo h3 { position: absolute; left: 20px; top: 58px; right: 20px; font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; color: var(--white); line-height: 1.3; }
.case-body { padding: 20px 4px 0; }
.case-body p { font-size: 15.5px; color: var(--dim); }
.case-body .go { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--beige); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.cases-more { margin-top: clamp(48px, 6vw, 90px); }

/* =========================================================
   7. 릴스
   ========================================================= */
.reels { background: var(--navy-deep); overflow: hidden; }
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reels-arrows { display: flex; gap: 8px; }
.reels-arrows button { width: 48px; height: 48px; border: 1px solid var(--line); font-size: 18px; transition: background .3s ease, color .3s ease; }
.reels-arrows button:hover { background: var(--beige); color: var(--navy); }
.reels-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px var(--gutter) 18px; margin: clamp(36px, 4vw, 56px) calc(var(--gutter) * -1) 0; scrollbar-width: thin; scrollbar-color: var(--navy-2) transparent; }
.reel { flex: 0 0 clamp(168px, 18vw, 236px); scroll-snap-align: start; }
.reel a { display: block; }
.reel-cover { position: relative; overflow: hidden; aspect-ratio: 9 / 16; border-radius: 14px; background: var(--navy-2); }
.reel-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.reel a:hover .reel-cover img { transform: scale(1.05); }
.reel-cover::after { content: "▶"; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; font-size: 12px; border-radius: 50%; background: rgba(9, 23, 42, .6); color: var(--white); }
.reel p { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--beige); }

/* =========================================================
   8. 운동 칼럼 (네이버 블로그 연동)
   ========================================================= */
.column-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.column-intro { position: sticky; top: 120px; }
.column-intro .display { font-size: clamp(30px, 3.4vw, 48px); }
.column-intro .lead { margin-top: 20px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.blog-filters button { padding: 7px 14px; font-size: 13.5px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; color: var(--dim); transition: all .25s ease; }
.blog-filters button:hover { color: var(--beige); border-color: var(--beige); }
.blog-filters button[aria-pressed="true"] { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.blog-updated { margin-top: 18px; font-size: 12.5px; color: var(--dimmer); }

.blog-list { border-top: 1px solid var(--line); }
.blog-list li { border-bottom: 1px solid var(--line); }
.post { display: grid; grid-template-columns: clamp(110px, 13vw, 180px) 1fr; gap: clamp(18px, 2.4vw, 36px); align-items: center; padding: clamp(20px, 2.4vw, 30px) 0; }
.post-thumb { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--navy-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-thumb.is-empty { display: grid; place-items: center; padding: 10px; text-align: center; font-size: 13px; font-weight: 700; color: var(--beige-2); }
.post:hover .post-thumb img { transform: scale(1.06); }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--dim); }
.post-cat { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--beige-2); font-weight: 600; }
.post-title { margin-top: 10px; font-size: clamp(17px, 1.5vw, 21px); font-weight: 700; line-height: 1.45; color: var(--white); }
.post-sum { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-go { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--beige); transition: transform .3s ease; }
.post:hover .post-go { transform: translateX(6px); }
.blog-more { margin-top: 28px; }
.blog-empty { padding: 30px 0; color: var(--dim); }
.blog-empty a { color: var(--beige); text-decoration: underline; }

/* =========================================================
   9. 문의 · 오시는 길
   ========================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; min-height: clamp(320px, 30vw, 420px); display: flex; align-items: center; padding: clamp(36px, 5vw, 72px); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.45); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 23, 42, .85) 0%, rgba(9, 23, 42, .35) 70%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; width: 100%; flex-wrap: wrap; }
.cta-inner .display { font-size: clamp(26px, 3.2vw, 46px); }
.cta-inner p { margin-top: 14px; color: var(--beige); opacity: .9; max-width: 560px; }
.cta-inner .btn-row { flex-direction: column; min-width: 240px; }

/* 예약 상담 신청 */
.booking { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 90px); align-items: start; margin-top: clamp(80px, 10vw, 140px); }
.booking-title { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.booking-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); background: rgba(242, 235, 221, .03); }
.booking-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--beige); }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(242, 235, 221, .28); border-radius: 0;
  background: rgba(9, 23, 42, .6); color: var(--white); font: inherit; font-size: 16px; font-weight: 500;
}
.booking-form textarea { min-height: 110px; resize: vertical; }
.booking-form select option { color: #111; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: 2px solid var(--beige); outline-offset: 0; border-color: var(--beige); }
.booking-form input[type="date"] { color-scheme: dark; }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf-kind { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; border: 0; }
.bf-kind legend { width: 100%; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: var(--beige); }
.bf-kind label, .bf-consent { display: flex !important; align-items: center; gap: 10px !important; font-weight: 600 !important; cursor: pointer; }
.bf-kind input, .bf-consent input { width: 20px !important; min-height: 20px !important; height: 20px; padding: 0 !important; accent-color: var(--beige); flex: 0 0 auto; }
.bf-consent { align-items: flex-start !important; font-size: 14px !important; line-height: 1.6; color: var(--dim) !important; }
.bf-consent a { color: var(--beige); text-decoration: underline; }
.bf-hint { font-weight: 500; color: var(--dimmer); font-size: 13px; }
.bf-hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.bf-msg { margin: 0; min-height: 1.6em; font-size: 15px; font-weight: 700; color: var(--beige); }
.bf-msg.err { color: #ffb4a2; }
.booking-form .btn { justify-self: start; }
.booking-form.sent { opacity: .75; }
.copyright a { color: var(--dim); text-decoration: underline; }

.location { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 90px); align-items: center; margin-top: clamp(80px, 10vw, 140px); }
.location-photo { overflow: hidden; aspect-ratio: 4 / 5; max-height: 620px; }
.location-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.location h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 800; color: var(--white); }
.location .note { margin-top: 6px; font-size: 14px; color: var(--dim); }
.info { margin-top: 28px; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(242, 235, 221, .08); font-size: 16px; }
.info dt { font-weight: 700; color: var(--beige-2); }
.info dd { margin: 0; color: var(--white); }
.info dd a { border-bottom: 1px solid var(--line); }
.location .btn-row { margin-top: 30px; }

/* =========================================================
   푸터
   ========================================================= */
.site-footer { padding: clamp(80px, 10vw, 140px) 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.wordmark { width: 100%; height: auto; display: block; }
.wordmark text { font-family: var(--font-en); font-stretch: 125%; font-weight: 900; fill: var(--beige); }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.footer-info { font-size: 14px; line-height: 1.9; color: var(--dim); }
.footer-info b { color: var(--beige); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--beige); color: var(--navy); font-size: 12px; font-weight: 800; transition: background .3s ease; }
.socials a:hover { background: var(--white); }
.socials svg { width: 22px; height: 22px; }
.copyright { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(242, 235, 221, .08); font-size: 13px; color: var(--dimmer); }

/* 폰 하단 고정 문의 바 */
.quickbar { display: none; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .nav ul { display: none; }
  .menu-btn { display: block; }
  .steps-list { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .step { scroll-snap-align: start; }
  .steps-line { display: none; }
}

@media (max-width: 900px) {
  .vcards { grid-template-columns: 1fr; }
  .vcard { min-height: 0; }
  .about-grid, .creds, .column-grid, .location, .booking { grid-template-columns: 1fr; }
  .creds-photo { aspect-ratio: 4 / 5; max-height: none; }
  .column-intro { position: static; }
  .tiles { height: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .tile { aspect-ratio: 3 / 4; }
  .tile:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .tile p { max-height: 8em; opacity: 1; margin-top: 8px; }
  .tile img { filter: grayscale(.2) brightness(.5); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .nav-cta { display: none; }
  .site-header.is-scrolled { height: 60px; }
  .hero { padding-bottom: 48px; }
  .eyebrow { letter-spacing: .26em; }
  .hero-media { width: 100%; }
  .hero-slide img { object-position: 50% 12%; }
  .hero-media::after { background: linear-gradient(0deg, var(--navy-ink) 18%, rgba(9, 23, 42, .55) 52%, rgba(9, 23, 42, .1) 100%); }
  .hero-award { position: relative; right: auto; bottom: auto; margin-top: 24px; display: inline-flex; }
  .hero { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .scroll-cue { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .steps-list { grid-template-columns: 1fr; overflow: visible; }
  .step { display: grid; grid-template-columns: 120px 1fr; gap: 0 18px; align-items: start; }
  .step-img { grid-row: 1 / span 4; grid-column: 1; margin-top: 0; aspect-ratio: 4 / 5; }
  .step > :not(.step-img) { grid-column: 2; }
  .step-desc { min-height: 0; }
  .js .step:not(.is-active) .step-img { opacity: 1; }
  .js .step:not(.is-active) .step-en, .js .step:not(.is-active) .step-kr { color: var(--white); }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile:last-child { aspect-ratio: 16 / 10; grid-column: auto; }
  .cases { grid-template-columns: 1fr; }
  .case:nth-child(n) { margin-top: 0; }
  .case:nth-child(even) .case-photo { aspect-ratio: 4 / 3; }
  .post { grid-template-columns: 96px 1fr; align-items: start; }
  .cta-band { border-radius: 18px; }
  .cta-inner .btn-row { min-width: 0; width: 100%; }
  .info div { grid-template-columns: 76px 1fr; }
  .bf-row { grid-template-columns: 1fr; }
  .booking-form .btn { justify-self: stretch; }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy-deep); border-top: 1px solid var(--line);
  }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 62px; font-size: 15.5px; font-weight: 800; }
  .quickbar a + a { background: var(--beige); color: var(--navy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero-inner > *, .js .hero-media { opacity: 1 !important; transform: none !important; }
  .js .display[data-reveal] { color: var(--white); }
  .js [data-zoom] img, .js .vline { transform: none !important; }
}
