/* =====================================================================
   토니바디W우먼 전용 스타일 (women.html 만 사용)
   2026-09-21 개편. 공용 style.css 의 둥근 카드·그라데이션·알약 버튼을 걷어내고
   종이톤 바탕 + 세리프 제목 + 헤어라인 + 큰 사진 배치로 브랜드 페이지처럼 만든다.
   원칙: 모서리 0, 그림자 없음, 색은 로즈 한 가지를 아껴 쓴다.
   ===================================================================== */

@font-face {
  font-family: "NanumBarunGothic";
  font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/nanum-300.woff2") format("woff2");
}
@font-face {
  font-family: "NanumBarunGothic";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/nanum-400.woff2") format("woff2");
}
@font-face {
  font-family: "NanumBarunGothic";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/nanum-700.woff2") format("woff2");
}

:root {
  --paper: #f6f2ee;      /* 기본 바탕 — 순백보다 한 톤 따뜻하게 */
  --paper-2: #ede6e0;    /* 교차 섹션 */
  --white: #fdfbf9;
  --ink: #1f191a;        /* 본문·제목 */
  --ink-2: #4a3f41;
  --muted: #7d7074;
  --line: #d9cfca;       /* 헤어라인 */
  --rose: #9c4a64;       /* 포인트 — 버튼·번호·강조어에만 */
  --rose-deep: #7e3850;
  --rose-soft: #d9b3bf;
  --night: #1c1718;      /* 어두운 섹션 */

  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --latin: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "NanumBarunGothic", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --gut: clamp(20px, 4.4vw, 64px);   /* 좌우 여백 */
  --maxw: 1320px;
  --sec: clamp(88px, 11vw, 168px);   /* 섹션 위아래 */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
h1, h2, h3, p, li, a, dd, blockquote { overflow-wrap: break-word; word-break: keep-all; }
em { font-style: normal; }
::selection { background: var(--rose); color: #fff; }

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

/* ===== 공통 타이포 ===== */
/* 섹션 라벨: "01 — Why TONYBODY W" 형태. 번호는 로즈 세리프 */
.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--latin); font-style: italic; font-size: 1.12rem;
  letter-spacing: .02em; color: var(--ink-2); margin-bottom: 26px;
}
.label span {
  font-style: normal; font-size: .82rem; letter-spacing: .12em; color: var(--rose);
  display: inline-flex; align-items: center; gap: 14px;
}
.label span::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.label--light { color: rgba(255,255,255,.78); }
.label--light span { color: var(--rose-soft); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.3; letter-spacing: -.02em;
}
.sec__head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 760px; }
.sec__head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}
.sec__side { display: flex; align-items: flex-end; gap: 36px; }
.sec__lead {
  margin-top: 20px; color: var(--muted); font-weight: 300;
  font-size: clamp(.98rem, 1.2vw, 1.06rem); line-height: 1.85; max-width: 520px;
}
.sec__head--split .sec__lead { margin-top: 0; }

/* ===== 버튼·링크 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .95rem;
  letter-spacing: .02em; padding: 18px 30px;
  transition: background .25s ease;
}
.btn::after { content: "→"; font-weight: 400; transition: transform .25s ease; }
.btn:hover { background: var(--rose); }
.btn:hover::after { transform: translateX(4px); }
.btn--lg { padding: 24px 40px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 700; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--ink);
  transition: color .2s, border-color .2s, gap .25s;
}
.link-arrow::after { content: "→"; font-weight: 400; }
.link-arrow:hover { color: var(--rose); border-color: var(--rose); gap: 16px; }

/* ===== HEADER ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(246,242,238,.96); backdrop-filter: blur(10px);
  transition: background .35s ease, border-color .35s ease;
  border-bottom: 1px solid var(--line);
}
.header.scrolled { background: rgba(246,242,238,.98); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.header.scrolled .header__inner { height: 68px; }
.header__inner { transition: height .3s ease; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 26px; width: auto; filter: invert(1); }
.logo__sub {
  font-family: var(--latin); font-style: italic; font-size: 1.02rem; color: var(--rose);
  padding-left: 14px; border-left: 1px solid var(--line); line-height: 1;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav a, .nav-dropdown__toggle { font-size: .9rem; color: var(--ink-2); transition: color .2s; }
.nav > a:hover, .nav-dropdown__toggle:hover { color: var(--rose); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__cta {
  font-size: .88rem; font-weight: 700; padding: 11px 20px;
  border: 1px solid var(--ink); transition: background .2s, color .2s;
}
.header__cta:hover { background: var(--ink); color: #fff; }

.nav-dropdown { position: relative; }
.nav-dropdown__toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.caret { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
         transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
.nav-dropdown.open .caret, .nav-dropdown:hover .caret { transform: rotate(225deg) translateY(-1px); }
.nav-dropdown__menu {
  position: absolute; top: calc(100% + 22px); left: -22px; min-width: 220px;
  background: var(--white); border: 1px solid var(--line); padding: 10px 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-dropdown__menu a { padding: 11px 22px; font-size: .88rem; color: var(--ink-2); }
.nav-dropdown__menu a:hover { color: var(--rose); background: var(--paper); }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
/* 드롭다운과 토글 사이 틈에서 hover 가 끊기지 않게 */
.nav-dropdown__menu::before { content: ""; position: absolute; inset: -24px 0 auto 0; height: 24px; }

.nav-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer;
              flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px; }
.nav-toggle span { display: block; height: 1px; background: var(--ink); width: 26px; }
.nav-toggle span:last-child { width: 18px; }

/* ===== HERO =====
   사진 위에 그라데이션을 덮지 않는다. 글과 사진을 좌우로 나눠 각각 온전히 보여준다. */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh; min-height: 100svh; padding-top: 84px;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px var(--gut) 56px;
  padding-left: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut)));
}
.hero__tag {
  font-size: .8rem; letter-spacing: .14em; color: var(--rose); font-weight: 700;
  margin-bottom: 34px;
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1.3; letter-spacing: -.035em;
}
.hero__title em { color: var(--rose); }
.hero__sub {
  margin-top: 30px; font-weight: 300; color: var(--ink-2);
  font-size: clamp(.98rem, 1.2vw, 1.1rem); line-height: 1.9;
}
.hero__cta { margin-top: 46px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero__facts {
  margin-top: auto; padding-top: 64px;
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
}
.hero__facts > div { padding: 18px 28px 0 0; margin-right: 28px; border-top: 1px solid var(--line); }
.hero__facts > div:last-child { margin-right: 0; }
.hero__facts dt { font-family: var(--latin); font-style: italic; font-size: 1rem; color: var(--rose); }
.hero__facts dd { font-size: .86rem; color: var(--ink-2); margin-top: 2px; white-space: nowrap; }
.hero__media { position: relative; overflow: hidden; background: var(--paper-2); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 40%;
  animation: heroIn 1.6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== STORY ===== */
.story__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.story__body { max-width: 640px; }
.story__pain { font-weight: 300; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 2.2; }
.story__beat {
  margin-top: 48px; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.75;
}
.story__beat b { font-weight: 600; }
.story__ask { margin-top: 48px; font-weight: 300; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 2.1; }
.story__into {
  margin-top: 72px; display: flex; align-items: center; gap: 16px;
  font-size: .84rem; letter-spacing: .14em; color: var(--rose); font-weight: 700;
}
.story__into::after { content: ""; flex: 0 0 60px; height: 1px; background: var(--rose); opacity: .5; }
.story__answer {
  margin-top: 22px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.3; letter-spacing: -.03em;
}
.story__answer em { color: var(--rose); }

/* ===== DIFFERENCE ===== */
.diff { background: var(--paper-2); }
.diff__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.diff__media { aspect-ratio: 4 / 5; overflow: hidden; }
.diff__media img { width: 100%; height: 100%; object-fit: cover; }
.diff .h2 { margin-bottom: 48px; }
.rows { border-top: 1px solid var(--ink); }
.rows li {
  display: grid; grid-template-columns: 56px 150px 1fr; gap: 12px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.rows__no { font-family: var(--latin); font-style: italic; color: var(--rose); font-size: 1.1rem; }
.rows h3 { font-size: 1.05rem; font-weight: 700; }
.rows p { color: var(--muted); font-size: .95rem; font-weight: 300; line-height: 1.75; }

/* ===== PROGRAMS — 카드 대신 목차형 ===== */
.index { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 96px); border-top: 1px solid var(--ink); }
.index li {
  display: grid; grid-template-columns: 70px 1fr; gap: 8px;
  padding: 34px 0 36px; border-bottom: 1px solid var(--line);
}
/* 2열 그리드라 첫 줄 오른쪽 칸도 굵은 선 아래에 닿게 한다 */
.index__no { font-family: var(--latin); font-size: 2.2rem; line-height: 1; color: var(--rose); font-weight: 500; }
.index h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.4; letter-spacing: -.02em; }
.index p { margin-top: 12px; color: var(--muted); font-weight: 300; font-size: .96rem; line-height: 1.8; }
.programs__more { margin-top: 56px; }

/* ===== FACILITY — 모자이크 ===== */
.facility { background: var(--paper-2); }
.mosaic {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(70px, 7.4vw, 108px); gap: 12px;
}
.mosaic figure { position: relative; overflow: hidden; background: var(--paper); cursor: zoom-in; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; left: 16px; bottom: 14px; color: #fff; pointer-events: none;
  font-family: var(--latin); font-style: italic; font-size: 1.05rem; letter-spacing: .02em;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.m1 { grid-column: 1 / 6;  grid-row: 1 / 6; }
.m2 { grid-column: 6 / 13; grid-row: 1 / 4; }
.m3 { grid-column: 6 / 9;  grid-row: 4 / 8; }
.m4 { grid-column: 9 / 13; grid-row: 4 / 8; }
.m5 { grid-column: 1 / 6;  grid-row: 6 / 8; }
.m6 { grid-column: 1 / 5;  grid-row: 8 / 12; }
.m7 { grid-column: 5 / 9;  grid-row: 8 / 12; }
.m8 { grid-column: 9 / 13; grid-row: 8 / 12; }

/* ===== 넘기는 갤러리 (비포애프터·바디프로필·트레이너) =====
   script.js 가 자식들을 .gal-page 로 묶고 뒤에 .gal-dots 를 붙인다. */
.slider {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider .gal-page {
  flex: 0 0 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.slider figure { overflow: hidden; background: var(--white); cursor: zoom-in; }
.slider img { width: 100%; height: 100%; }
.slider--sq figure { aspect-ratio: 1 / 1; }
.slider--sq img { object-fit: contain; }
.slider--tall figure { aspect-ratio: 3 / 4; }
.slider--tall img { object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.slider--tall figure:hover img { transform: scale(1.04); }

.gal-dots { display: flex; gap: 6px; margin-top: 28px; }
.gal-dots button { flex: 0 0 28px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.gal-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); transition: background .25s, height .25s; }
.gal-dots button.is-on::before { background: var(--ink); height: 2px; top: 6px; }

.pager { display: flex; gap: 8px; }
.pager__btn {
  width: 52px; height: 52px; border: 1px solid var(--ink); background: none; color: var(--ink);
  font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s;
}
.pager__btn:hover { background: var(--ink); color: #fff; }

.results { background: var(--paper); }
.profile { background: var(--paper); }
.rights-note { margin-top: 36px; max-width: 640px; font-size: .74rem; line-height: 1.8; color: var(--muted); font-weight: 300; }

/* ===== JOURNAL (블로그) ===== */
.journal { background: var(--paper-2); }
.journal__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.post { display: block; }
.post__thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.post__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.post:hover .post__thumb img { transform: scale(1.04); }
.post__no {
  display: block; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--latin); font-style: italic; font-size: 1rem; color: var(--rose);
}
.post__title { display: block; margin-top: 6px; font-size: 1rem; font-weight: 700; line-height: 1.55; transition: color .2s; }
.post:hover .post__title { color: var(--rose); }

/* ===== REVIEWS — 박스 없이 인용문으로 ===== */
.reviews { background: var(--white); }
.quotes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--ink); }
.quote { padding: 44px 40px 8px 0; display: flex; flex-direction: column; }
.quote + .quote { padding-left: 40px; border-left: 1px solid var(--line); }
.quote blockquote {
  flex: 1; font-weight: 300; color: var(--ink-2); font-size: .98rem; line-height: 1.95;
}
.quote blockquote::before {
  content: "“"; display: block; font-family: var(--latin); font-size: 4rem; line-height: .7;
  color: var(--rose); margin-bottom: 18px;
}
.quote--lead blockquote { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.85; }
.quote figcaption { margin-top: 30px; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.quote figcaption span { color: var(--rose); letter-spacing: .18em; margin-right: 12px; font-size: .72rem; }

/* ===== TRAINERS ===== */
.trainers { background: var(--paper-2); }
.coaches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
/* 데스크톱에선 한 장씩 묶인 .gal-page 를 없는 셈 친다 */
.coaches .gal-page { display: contents; }
.coaches + .gal-dots { display: none; }
.coach { cursor: zoom-in; }
.coach img { width: 100%; height: auto; aspect-ratio: 1100 / 1555; object-fit: cover; transition: opacity .3s; }
.coach:hover img { opacity: .88; }
.coach figcaption { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.coach figcaption b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.coach figcaption span { font-family: var(--latin); font-style: italic; color: var(--rose); font-size: .98rem; }

/* ===== PT HOOK — 어두운 전면 섹션 ===== */
.pthook { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: #fff; min-height: 88vh; }
.pthook__media { position: relative; overflow: hidden; }
.pthook__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pthook__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--sec) var(--gut); max-width: 700px;
}
.pthook__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem); line-height: 1.25; letter-spacing: -.035em;
}
.pthook__title em { color: var(--rose-soft); }
.pthook__body { margin-top: 40px; font-weight: 300; color: rgba(255,255,255,.74); font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 2.1; }

/* ===== PT CTA ===== */
.pt { background: var(--paper); }
.pt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.pt__grid .sec__lead { margin-top: 0; }
.pt__cta { margin-top: 36px; }
.pt__sign { margin-top: clamp(56px, 7vw, 96px); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.pt__sign b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3.2vw, 2.6rem); letter-spacing: -.03em; line-height: 1.35; }
.pt__sign span { font-family: var(--latin); font-style: italic; color: var(--rose); font-size: 1.2rem; }

/* ===== LOCATION ===== */
.location { background: var(--paper-2); }
.location__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: stretch; }
.location__list { margin-top: 44px; border-top: 1px solid var(--ink); }
.location__list > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.location__list dt { font-size: .86rem; font-weight: 700; }
.location__list dd { font-size: .95rem; color: var(--ink-2); font-weight: 300; }
.location__list .link-arrow { font-weight: 700; color: var(--ink); padding-bottom: 3px; }
.location__map { min-height: 460px; background: var(--paper); }
/* 구글 지도 기본 색이 페이지 톤과 싸운다 → 흑백으로 눌러 둔다 */
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 460px; filter: grayscale(1) contrast(1.02) brightness(1.02); }

/* ===== FOOTER ===== */
.footer { background: var(--night); color: rgba(255,255,255,.62); padding: 88px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.6fr auto; gap: 40px; align-items: start; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo { font-family: var(--latin); font-size: 1.9rem; color: #fff; letter-spacing: .06em; line-height: 1; }
.footer__logo em { font-style: italic; color: var(--rose-soft); }
.footer__tag { margin-top: 12px; font-family: var(--latin); font-style: italic; font-size: 1rem; }
.footer__info { font-size: .8rem; line-height: 1.9; font-weight: 300; }
.sns { display: flex; gap: 22px; }
.sns__btn { font-family: var(--latin); font-style: italic; font-size: 1.05rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.sns__btn:hover { color: var(--rose-soft); border-color: var(--rose-soft); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.footer__copy { font-size: .76rem; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: .8rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }

/* ===== 라이트박스 (script.js 가 만든다) ===== */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(20,16,17,.96); }
.lb.is-open { display: flex; }
.lb__stage { display: flex; max-width: 92vw; max-height: 86vh; }
.lb__img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; background: #fff; }
.lb__close, .lb__nav {
  position: absolute; background: none; color: #fff; border: 1px solid rgba(255,255,255,.35);
  cursor: pointer; line-height: 1; padding: 0; display: grid; place-items: center; transition: background .2s, color .2s;
}
.lb__close:hover, .lb__nav:hover { background: #fff; color: var(--ink); }
.lb__close { top: 20px; right: 20px; width: 48px; height: 48px; font-size: 1.6rem; }
.lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.7rem; }
.lb__prev { left: 20px; }
.lb__next { right: 20px; }
.lb__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--latin); font-style: italic; font-size: 1.05rem; letter-spacing: .08em; }

/* ===== 스크롤 등장 효과 — JS 가 켜졌을 때만 숨겨 둔다 ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
}

/* ===================================================================
   반응형
   =================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .rows li { grid-template-columns: 44px 1fr; }
  .rows li p { grid-column: 2; }
  .coaches { grid-template-columns: repeat(3, 1fr); gap: 32px 16px; }
}

@media (max-width: 900px) {
  .header__inner, .header.scrolled .header__inner { height: 64px; }
  .logo img { height: 22px; }
  .logo__sub { font-size: .92rem; padding-left: 10px; }
  .header__actions { gap: 8px; }
  .header__cta { padding: 8px 14px; font-size: .8rem; }
  .header { background: rgba(246,242,238,.94); border-color: var(--line); }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 64px; right: 0; bottom: 0; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-left: 1px solid var(--line); padding: 16px var(--gut) 40px;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); overflow-y: auto;
    height: calc(100vh - 64px);
  }
  .nav.open { transform: none; }
  .nav > a, .nav-dropdown__toggle { display: flex; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); justify-content: space-between; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown__menu {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    border: 0; background: none; padding: 4px 0 10px; min-width: 0;
  }
  .nav-dropdown__menu::before { display: none; }
  .nav-dropdown.open .nav-dropdown__menu { display: flex; }
  .nav-dropdown:hover .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown__menu a { padding: 12px 0 12px 16px; color: var(--muted); }

  /* 히어로: 사진 위, 글 아래 */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero { padding-top: 64px; }
  .hero__media { order: -1; aspect-ratio: 4 / 5; }
  .hero__media img { object-position: 72% 40%; }
  .hero__text { padding: 48px var(--gut) 72px; }
  .hero__tag { margin-bottom: 22px; }
  .hero__cta { margin-top: 36px; gap: 22px; }
  .hero__facts { padding-top: 48px; grid-template-columns: repeat(3, 1fr); }
  .hero__facts > div { padding-right: 10px; margin-right: 10px; }
  .hero__facts dd { white-space: normal; font-size: .8rem; }

  .story__grid, .diff__grid, .location__grid, .pt__grid { grid-template-columns: 1fr; }
  .story__grid { gap: 8px; }
  .diff__media { aspect-ratio: 4 / 3; }
  .index { grid-template-columns: 1fr; }
  .index li { grid-template-columns: 56px 1fr; padding: 26px 0 28px; }
  .index__no { font-size: 1.8rem; }

  /* 모자이크 → 가로로 넘기는 띠 */
  .mosaic {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); scrollbar-width: none;
    scroll-padding: 0 var(--gut);
  }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic figure { flex: 0 0 74%; aspect-ratio: 4 / 5; scroll-snap-align: start; }

  .slider .gal-page { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pager__btn { width: 44px; height: 44px; }
  .sec__side { gap: 20px; }

  .journal { background: var(--paper-2); }
.journal__list { grid-template-columns: repeat(2, 1fr); gap: 40px 14px; }
  .post__title { font-size: .92rem; }

  .quotes { grid-template-columns: 1fr; }
  .quote, .quote + .quote { padding: 34px 0; border-left: 0; }
  .quote + .quote { border-top: 1px solid var(--line); }

  /* 트레이너: 한 장씩 넘기기 */
  .coaches {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none;
  }
  .coaches::-webkit-scrollbar { display: none; }
  .coaches .gal-page { display: block; flex: 0 0 100%; scroll-snap-align: start; padding: 0 10%; }
  .coaches + .gal-dots { display: flex; justify-content: center; }

  .pthook { grid-template-columns: 1fr; min-height: 0; }
  .pthook__media { aspect-ratio: 4 / 5; }
  .pthook__media img { object-position: center 35%; }

  .location__map, .location__map iframe { min-height: 340px; }

  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .header__cta { display: none; }
  .hero__title { font-size: clamp(2rem, 8.6vw, 2.5rem); }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .sec__head--split { flex-direction: column; align-items: flex-start; gap: 22px; }
  .sec__side { flex-direction: column; align-items: flex-start; gap: 18px; }
  .rows li { padding: 22px 0; }
  .btn--lg { width: 100%; justify-content: space-between; padding: 22px 26px; }
  .journal { background: var(--paper-2); }
.journal__list { gap: 32px 12px; }
  .post__no { margin-top: 14px; padding-top: 10px; font-size: .92rem; }
  .post__title { font-size: .86rem; }
  .lb__nav { top: auto; bottom: 16px; transform: none; width: 44px; height: 44px; }
  .lb__count { bottom: 28px; }
}
