/* 하람 PT — 1:1 PT 프리랜서 트레이너 개인 홈페이지 디자인 샘플 (디코랩)
   구성: 섹션 = 세트(SET 1–7), 세트 사이 = 휴식 띠(원형 타이머 00:30 → 00:00), 머리글 = 세트 진행 막대 메뉴 */

:root {
  --c-board: #F3F4F0;   /* 화이트보드 — 본문 바탕 */
  --c-paper: #FFFFFF;   /* 운동일지 종이 — 카드 면 */
  --c-plate: #17191C;   /* 고무 원판 먹 — 본문 글자, 머리글 바탕 */
  --c-mat: #2A2E33;     /* 고무 매트 — 휴식 띠 */
  --c-rubber: #3A3F45;  /* 매트 줄눈 — 어두운 면 위 빈 칸 */
  --c-volt: #C5FF1A;    /* 형광 볼트 — 주 버튼·진행 채움·타이머 링 (어두운 글자와만) */
  --c-chalk: #E3E6DF;   /* 분필 회색 — 보조 면 */
  --c-chalk-2: #CDD3C8; /* 분필 진한 회색 — 표 줄·약도 건물 */
  --c-tape: #5B6168;    /* 흐린 글자 */
  --c-dim: #A9B0A6;     /* 어두운 면 위 흐린 글자 */

  --f-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --f-head: "Sunflower", var(--f-body);
  --f-num: "Barlow Condensed", "Pretendard Variable", Pretendard, sans-serif;

  --fs-h1: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3: 1.2rem;
  --fs-small: .86rem;

  --radius: 10px;
  --wrap: 1160px;
  --gutter: 20px;
  --hd-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-board);
  color: var(--c-plate);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
table { border-collapse: collapse; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; padding: 10px 14px; background: var(--c-volt); color: var(--c-plate); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--c-plate); outline-offset: 3px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* 실제 정보 자리 */
.ph { display: inline-block; padding: 0 6px; border: 1.5px dashed currentColor; border-radius: 6px; color: var(--c-tape); font-size: .92em; line-height: 1.5; }
.ph--dark { color: var(--c-dim); }

/* 샘플 안내 띠 (고정은 공통 파일이 맡는다) */
.sample-banner { background: var(--c-volt); color: var(--c-plate); font-size: 13px; line-height: 1.5; }
.sample-banner__inner { display: flex; gap: 10px; align-items: center; width: min(100% - 32px, 1320px); margin-inline: auto; padding: 8px 0; }
.sample-banner__tag { flex: none; padding: 2px 8px; border-radius: 99px; background: var(--c-plate); color: var(--c-volt); font-size: 12px; font-weight: 700; }
.sample-banner p { margin: 0; }
.sample-banner a { font-weight: 700; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid var(--c-plate);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--volt { background: var(--c-volt); color: var(--c-plate); box-shadow: 0 4px 0 var(--c-plate); }
.btn--volt:hover { background: #D6FF55; }
.btn--line { background: transparent; color: var(--c-plate); }
.btn--line:hover { background: var(--c-paper); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: .95rem; }

/* ---------- 머리글 = 세트 진행 막대 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-plate); color: var(--c-board); }
.hd { display: flex; align-items: center; gap: 18px; height: var(--hd-h); width: min(100% - 32px, 1320px); margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.logo b { display: flex; flex-direction: column; font-family: var(--f-head); font-size: 1.3rem; line-height: 1.05; }
.logo small { font-family: var(--f-body); font-size: .7rem; font-weight: 500; color: var(--c-dim); margin-top: 3px; }

.sets { flex: 1; min-width: 0; }
.sets__title, .sets__cta { display: none; }
.sets__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sets__list a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 6px; padding: 6px 4px 4px; text-decoration: none; color: var(--c-dim); border-radius: 6px; }
.sets__list a:hover { color: var(--c-board); }
.sets__no { font-family: var(--f-num); font-weight: 600; font-size: .9rem; letter-spacing: .02em; }
.sets__name { font-size: .8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sets__bar { grid-column: 1 / -1; display: block; height: 7px; margin-top: 6px; border-radius: 4px; background: var(--c-rubber); overflow: hidden; }
.sets__bar i, .strip i { display: block; height: 100%; background: var(--c-volt); transform: scaleX(var(--p, 0)); transform-origin: left center; transition: transform .25s linear; }
.sets__list a.is-active { color: var(--c-board); }
.sets__list a.is-active .sets__no { color: var(--c-volt); }
.sets__list a.is-done { color: #D6DBD2; }

.remain { flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1.5px solid var(--c-rubber); border-radius: 8px; }
.remain__label { font-size: .75rem; color: var(--c-dim); line-height: 1.2; }
.remain__n { font-family: var(--f-num); font-size: 1.9rem; line-height: 1; color: var(--c-volt); min-width: 1ch; text-align: center; }
.remain.is-bump .remain__n { animation: bump .35s ease-out; }
@keyframes bump { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }

.hd-cta { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 8px; background: var(--c-volt); color: var(--c-plate); font-weight: 700; font-size: .92rem; text-decoration: none; }
.hd-tel { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; border: 1.5px solid var(--c-rubber); color: var(--c-volt); }
.hd-tel svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }
.strip { display: none; }

@media (max-width: 1180px) {
  .sets__name { display: none; }
  .sets__list a { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 899px) {
  :root { --hd-h: 56px; }
  html { scroll-padding-top: 72px; }
  .hd { gap: 10px; width: calc(100% - 32px); }
  .logo svg { width: 30px; height: 30px; }
  .logo b { font-size: 1.15rem; }
  .logo small { display: none; }
  .remain { margin-left: auto; padding: 3px 9px; }
  .remain__n { font-size: 1.5rem; }
  .hd-cta { display: none; }
  .hd-tel { width: 40px; height: 40px; }
  .menu-toggle { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: var(--c-volt); cursor: pointer; }
  .menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--c-plate); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle__bar { position: relative; }
  .menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bar::before { transform: translateY(-6px); }
  .menu-toggle__bar::after { transform: translateY(6px); }
  .site-header.is-open .menu-toggle__bar { background: transparent; }
  .site-header.is-open .menu-toggle__bar::before { transform: rotate(45deg); }
  .site-header.is-open .menu-toggle__bar::after { transform: rotate(-45deg); }

  /* 진행 띠: 머리글 아래 얇게 */
  .strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; height: 6px; padding: 0 0 0; background: var(--c-plate); }
  .strip span { display: block; background: var(--c-rubber); overflow: hidden; }

  /* 세트 메뉴 → 서랍 */
  .sets {
    position: fixed; top: var(--menu-top, 120px); left: 0; right: 0; bottom: 0; z-index: 99;
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
    background: var(--c-plate);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-header.is-open .sets { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .sets__title { display: block; margin-bottom: 8px; font-size: .8rem; color: var(--c-dim); }
  .sets__list { grid-template-columns: 1fr; gap: 4px; }
  .sets__list a { grid-template-columns: 64px 1fr; text-align: left; padding: 12px 6px; }
  .sets__no { font-size: 1.15rem; }
  .sets__name { display: block; font-size: 1.05rem; color: inherit; }
  .sets__bar { height: 5px; }
  .sets__cta { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 18px; border-radius: var(--radius); background: var(--c-volt); color: var(--c-plate); font-weight: 700; text-decoration: none; }
}

/* ---------- 히어로 (준비 운동) ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--c-tape); }
.tag-ready { padding: 1px 9px 0; border-radius: 6px; background: var(--c-plate); color: var(--c-volt); font-family: var(--f-num); font-size: 1rem; letter-spacing: .06em; }
.hero__title { margin-top: 18px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h1); line-height: 1.2; }
.hero__name { display: block; margin-top: 12px; font-family: var(--f-body); font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); font-weight: 700; letter-spacing: 0; }
.hero__name::before { content: ""; display: inline-block; width: 28px; height: 8px; margin-right: 10px; border-radius: 4px; background: var(--c-volt); box-shadow: inset 0 0 0 1.5px var(--c-plate); vertical-align: 2px; }
.hero__lead { margin-top: 18px; max-width: 32em; font-size: 1.06rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__facts { display: grid; gap: 6px; margin: 28px 0 0; padding: 16px 0 0; border-top: 1.5px solid var(--c-plate); max-width: 34em; }
.hero__facts div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.hero__facts dt { font-weight: 700; }
.hero__facts dd { margin: 0; color: #33373C; }
.hero__facts a { font-weight: 700; }
.hero-svg { width: 100%; height: auto; }
.d-small { font-family: var(--f-num); font-weight: 600; font-size: 17px; fill: #8C939A; letter-spacing: .04em; }
.d-big { font-family: var(--f-num); font-weight: 700; font-size: 84px; fill: var(--c-volt); letter-spacing: .02em; }
.d-kg { font-family: var(--f-num); font-weight: 700; font-size: 22px; fill: var(--c-volt); }

@media (max-width: 899px) {
  .hero { padding-top: 22px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__title { margin-top: 12px; }
  .hero__name { margin-top: 8px; }
  .hero__lead { margin-top: 12px; font-size: 1rem; }
  .hero__actions { margin-top: 18px; gap: 10px; }
  .hero__actions .btn { flex: 1 1 140px; padding: 0 14px; }
  .hero__art { max-width: 420px; margin-inline: auto; width: 100%; }
}

/* ---------- 세트 공통 ---------- */
.set { padding: clamp(56px, 7vw, 96px) 0; }
.set__head { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 18px; row-gap: 6px; margin-bottom: clamp(28px, 4vw, 44px); padding-bottom: 16px; border-bottom: 2px solid var(--c-plate); }
.set__no { grid-row: span 2; display: flex; align-items: baseline; gap: 6px; font-family: var(--f-num); line-height: .9; }
.set__no b { padding: 6px 12px 2px; border-radius: 8px; background: var(--c-volt); box-shadow: inset 0 0 0 2px var(--c-plate); font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem); font-weight: 700; letter-spacing: .01em; }
.set__no span { font-size: 1.4rem; font-weight: 600; color: var(--c-tape); }
.set h2 { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h2); }
.set__memo { font-size: .9rem; color: var(--c-tape); }
.set__memo::before { content: "세트 메모 — "; font-weight: 600; }
.note { margin-top: 14px; font-size: .92rem; color: var(--c-tape); }
.set h3 { font-size: var(--fs-h3); }

@media (max-width: 599px) {
  .set__head { grid-template-columns: 1fr; align-items: start; }
  .set__no { grid-row: auto; }
}

/* SET 1 소개 */
.about { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about__pic { margin: 0; }
.about__pic svg { width: 100%; height: auto; }
.about__pic figcaption { margin-top: 8px; font-size: .82rem; color: var(--c-tape); }
.pic-tag { font-family: var(--f-head); font-weight: 700; font-size: 15px; fill: var(--c-plate); }
.about__lead { font-family: var(--f-head); font-weight: 500; font-size: clamp(1.25rem, 1rem + .8vw, 1.55rem); line-height: 1.45; margin-bottom: 14px; }
.about__body > p + p { margin-top: 10px; }
.about__body strong { background: linear-gradient(transparent 58%, var(--c-volt) 58%); }
.log { width: 100%; margin-top: 26px; background: var(--c-paper); border: 1.5px solid var(--c-plate); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.log caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.log th, .log td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--c-chalk-2); }
.log thead th { background: var(--c-plate); color: var(--c-board); font-size: .85rem; font-weight: 600; }
.log tbody tr:last-child th, .log tbody tr:last-child td { border-bottom: 0; }
.log tbody th { font-weight: 700; }
.log td { color: #33373C; white-space: nowrap; }
.career { margin-top: 26px; }
.career h3 { margin-bottom: 10px; }
.career dl { margin: 0; display: grid; gap: 8px; }
.career div { display: grid; grid-template-columns: 52px 1fr; gap: 10px; }
.career dt { font-weight: 700; color: var(--c-tape); }
.career dd { margin: 0; }

@media (max-width: 799px) {
  .about { grid-template-columns: 1fr; }
  .about__pic { max-width: 300px; }
  .log th, .log td { padding: 10px 12px; }
}

/* ---------- 휴식 띠 ---------- */
.rest {
  position: relative;
  background-color: var(--c-mat);
  background-image: repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.04) 119px 121px);
  color: var(--c-board);
  padding: 26px 0;
  border-top: 4px solid var(--c-plate);
  border-bottom: 4px solid var(--c-plate);
}
.rest__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(18px, 3vw, 36px); }
.timer { position: relative; width: 120px; height: 120px; }
.timer svg { width: 100%; height: 100%; overflow: visible; }
.timer__track { fill: none; stroke: var(--c-rubber); stroke-width: 9; }
.timer__ring { fill: none; stroke: var(--c-volt); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 60px 60px; }
.timer__hand { transform-origin: 60px 60px; }
.timer__hand circle { fill: var(--c-board); stroke: var(--c-plate); stroke-width: 3; }
.timer__num { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 12px; font-family: var(--f-num); font-weight: 700; font-size: 2rem; letter-spacing: .02em; color: var(--c-volt); font-variant-numeric: tabular-nums; }
.timer__tag { position: absolute; left: 0; right: 0; bottom: 30px; text-align: center; font-family: var(--f-num); font-weight: 600; font-size: .8rem; letter-spacing: .14em; color: var(--c-dim); }
.rest__kicker { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: var(--c-volt); }
.rest__tip { margin-top: 4px; max-width: 36em; color: #DCE0D8; }
.rest__next { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 16px; border: 2px solid var(--c-volt); border-radius: var(--radius); color: var(--c-board); text-decoration: none; font-weight: 700; transition: background-color .2s ease, color .2s ease, opacity .3s ease; }
.rest__next span { font-size: .75rem; font-weight: 600; color: var(--c-volt); }
.rest__next:hover { background: var(--c-volt); color: var(--c-plate); }
.rest__next:hover span { color: var(--c-plate); }
.rest.is-ready .rest__next { opacity: .5; }
.rest.is-go .rest__next { animation: go .5s ease-out; }
.rest.is-go .timer { animation: go .5s ease-out; }
@keyframes go { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

@media (max-width: 699px) {
  .rest { padding: 20px 0; }
  .rest__in { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 14px; }
  .timer { width: 92px; height: 92px; }
  .timer__num { font-size: 1.55rem; padding-bottom: 10px; }
  .timer__tag { bottom: 22px; font-size: .7rem; }
  .rest__kicker { font-size: 1.12rem; }
  .rest__tip { font-size: .92rem; }
  .rest__next { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
}

/* ---------- SET 2 수업 방식 ---------- */
.where { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--c-plate); border-radius: var(--radius); overflow: hidden; background: var(--c-paper); }
.where__col { padding: clamp(20px, 3vw, 32px); }
.where__col + .where__col { border-left: 2px solid var(--c-plate); }
.where__ico { width: 120px; height: 80px; margin-bottom: 10px; }
.where h3 { font-family: var(--f-head); font-size: 1.45rem; margin-bottom: 12px; }
.where dl { margin: 0; display: grid; }
.where dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--c-chalk-2); }
.where dt { font-weight: 700; color: var(--c-tape); font-size: .92rem; }
.where dd { margin: 0; }
@media (max-width: 799px) {
  .where { grid-template-columns: 1fr; }
  .where__col + .where__col { border-left: 0; border-top: 2px solid var(--c-plate); }
  .where dl div { grid-template-columns: 76px 1fr; }
}

.flow { margin-top: clamp(36px, 5vw, 56px); }
.flow h3 { margin-bottom: 14px; }
.flow__bar, .session__bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.flow__bar li, .session__bar li { flex: var(--m) 1 0; min-width: 0; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--c-plate); background: var(--c-chalk); }
.flow__bar li.is-main, .session__bar li:nth-child(2) { background: var(--c-volt); }
.session__bar li:nth-child(3) { background: var(--c-plate); color: var(--c-board); }
.session__bar li:nth-child(4) { background: var(--c-chalk-2); color: var(--c-plate); }
.flow__bar b, .session__bar b { display: block; font-family: var(--f-num); font-size: 1.5rem; line-height: 1.05; }
.flow__bar span, .session__bar span { display: block; font-weight: 700; }
.flow__bar small { display: block; margin-top: 2px; font-size: .86rem; color: #33373C; }

@media (max-width: 699px) {
  .flow__bar { flex-direction: column; }
  .flow__bar li { display: grid; grid-template-columns: 64px 1fr; column-gap: 8px; }
  .flow__bar li b { grid-row: span 2; }
}

/* ---------- SET 3 8주 프로그램 짜기 ---------- */
.builder { display: grid; grid-template-columns: 320px 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.pick { position: sticky; top: 96px; display: grid; gap: 18px; padding: 22px; border: 2px solid var(--c-plate); border-radius: var(--radius); background: var(--c-paper); }
.pick fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pick legend { padding: 0; margin-bottom: 8px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 1.5px solid var(--c-plate); border-radius: 8px; background: var(--c-board); font-weight: 600; font-size: .95rem; transition: background-color .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--c-plate); color: var(--c-volt); }
.chips input:focus-visible + span { outline: 3px solid var(--c-plate); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--c-chalk-2); font-size: .95rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-plate); }

.plan { display: grid; gap: 22px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: var(--c-paper); border: 2px solid var(--c-plate); }
.plan__kicker { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--c-plate); color: var(--c-volt); font-size: .82rem; font-weight: 700; }
.plan__head h3 { margin-top: 8px; font-family: var(--f-head); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.plan__head #plan-why { margin-top: 6px; color: #33373C; }
.plan h4 { font-size: 1rem; margin-bottom: 10px; }

.weeks { margin: 0; padding: 16px; border-radius: 8px; background: var(--c-board); }
.weeks figcaption { font-size: .86rem; color: var(--c-tape); margin-bottom: 12px; }
.weeks__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; align-items: end; min-height: 182px; }
.wk { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; min-width: 0; }
.wk__tag { margin-bottom: 4px; text-align: center; font-size: .7rem; font-weight: 700; color: var(--c-plate); white-space: nowrap; }
.wk__stack { display: flex; flex-direction: column-reverse; gap: 4px; }
.blk { display: block; border-radius: 5px; border: 1.5px solid var(--c-plate); }
.blk.lv1 { height: 22px; background: var(--c-paper); }
.blk.lv2 { height: 32px; background: var(--c-volt); }
.blk.lv3 { height: 42px; background: var(--c-plate); box-shadow: inset 0 4px 0 var(--c-volt); }
.wk__n { margin-top: 6px; text-align: center; font-family: var(--f-num); font-weight: 600; font-size: .95rem; border-top: 2px solid var(--c-plate); padding-top: 2px; }
.weeks__phases { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 8px; }
.phase { padding: 4px 6px; border-radius: 6px; background: var(--c-chalk); font-size: .78rem; font-weight: 700; text-align: center; line-height: 1.3; }
.phase:nth-child(even) { background: var(--c-chalk-2); }
.weeks__legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: var(--c-tape); }
.weeks__legend li { display: flex; align-items: center; gap: 6px; }
.weeks__legend i { display: inline-block; width: 16px; height: 12px; border-radius: 3px; border: 1.5px solid var(--c-plate); }
.weeks__legend .lv1 { background: var(--c-paper); }
.weeks__legend .lv2 { background: var(--c-volt); }
.weeks__legend .lv3 { background: var(--c-plate); }

.plan__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.session { grid-column: 1 / -1; }
.session__bar li { padding: 10px 12px; min-width: 84px; }
.session__bar b { font-size: 1.3rem; }
.session__bar span { font-size: .84rem; font-weight: 600; line-height: 1.35; margin-top: 2px; }

.bill__rows { list-style: none; margin: 0; padding: 0; }
.bill__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--c-chalk-2); font-size: .95rem; }
.bill__rows b, .bill__sum b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill__sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; font-weight: 700; }
.bill__sum b { font-family: var(--f-num); font-size: 1.9rem; line-height: 1.1; }
.bill__note { margin-top: 4px; font-size: .84rem; color: var(--c-tape); }

.say { padding: 16px 18px; border-radius: 8px; border: 1.5px dashed var(--c-plate); }
.say__text { font-size: 1rem; }
.say__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plan__care { padding: 12px 14px; border-radius: 8px; background: var(--c-chalk); font-size: .9rem; }
.plan__care.is-pain { background: var(--c-plate); color: var(--c-board); }
.plan__care.is-pain b { color: var(--c-volt); }

@media (max-width: 999px) {
  .builder { grid-template-columns: 1fr; }
  .pick { position: static; }
  .plan__row { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .pick { padding: 16px; }
  .plan { padding: 16px; }
  .weeks { padding: 12px 10px; }
  .weeks__grid, .weeks__phases { gap: 4px; }
  .wk__tag { font-size: .62rem; }
  .phase { font-size: .7rem; padding: 3px 2px; }
  .session__bar { flex-direction: column; }
  .session__bar li { display: grid; grid-template-columns: 54px 1fr; align-items: center; padding: 8px 12px 10px; }
  .session__bar span { margin-top: 0; }
  .session__bar li::after { content: ""; grid-column: 1 / -1; height: 5px; width: calc(var(--m) * 2%); margin-top: 6px; border-radius: 3px; background: currentColor; opacity: .55; }
}

/* ---------- SET 4 비용 ---------- */
.price { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(22px, 4vw, 48px); align-items: start; }
.rack { width: 100%; background: var(--c-paper); border: 2px solid var(--c-plate); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; font-variant-numeric: tabular-nums; }
.rack th, .rack td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-chalk-2); }
.rack thead th { background: var(--c-plate); color: var(--c-board); font-size: .85rem; font-weight: 600; }
.rack tbody tr:last-child > * { border-bottom: 0; }
.rack tbody th { font-weight: 700; white-space: nowrap; }
.rack tbody th small { display: block; margin-left: 36px; font-size: .78rem; font-weight: 500; color: var(--c-tape); }
.rack td { white-space: nowrap; }
.rack td:nth-child(3) { font-weight: 700; }
.rack .is-pick > * { background: #F4FFD6; }
.plates { display: inline-flex; gap: 2px; align-items: center; width: 30px; margin-right: 6px; vertical-align: -3px; }
.plates i { display: block; width: 5px; height: 18px; border-radius: 2px; background: var(--c-plate); }
.is-pick .plates i { background: var(--c-plate); box-shadow: 0 0 0 1.5px var(--c-volt); }
.is-trial .plates i { height: 12px; background: var(--c-tape); }
.price__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.price__notes li { padding: 14px 16px; border-left: 6px solid var(--c-volt); background: var(--c-paper); border-radius: 0 8px 8px 0; box-shadow: inset 0 0 0 1.5px var(--c-chalk-2); }
.price__notes b { display: block; margin-bottom: 2px; }
@media (max-width: 899px) {
  .price { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .rack th, .rack td { padding: 11px 8px; font-size: .9rem; }
  .rack thead th:nth-child(4), .rack td:nth-child(4) { display: none; }
  .rack tbody th small { margin-left: 0; }
  .plates { display: none; }
}

/* ---------- SET 5 첫 수업까지 ---------- */
.reps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: rep; }
.reps li { padding: 20px 18px; background: var(--c-paper); border: 2px solid var(--c-plate); border-radius: var(--radius); }
.reps li:nth-child(2) { border-style: solid; box-shadow: inset 0 -6px 0 var(--c-volt); }
.reps__n { font-size: .9rem; font-weight: 700; color: var(--c-tape); }
.reps__n b { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 6px; border-radius: 50%; background: var(--c-plate); color: var(--c-volt); font-family: var(--f-num); font-size: 1.4rem; }
.reps h3 { margin: 12px 0 6px; font-family: var(--f-head); font-size: 1.3rem; }
.reps p:last-child { color: #33373C; font-size: .96rem; }
@media (max-width: 999px) { .reps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .reps { grid-template-columns: 1fr; } }

/* ---------- SET 6 질문 ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.qa { background: var(--c-paper); border: 1.5px solid var(--c-plate); border-radius: var(--radius); }
.qa h3 { font-size: 1.05rem; }
.qa button { display: flex; justify-content: space-between; align-items: center; gap: 14px; width: 100%; padding: 18px 20px; border: 0; background: none; text-align: left; font-weight: 700; color: inherit; cursor: pointer; line-height: 1.45; }
.qa i { flex: none; position: relative; width: 28px; height: 28px; border-radius: 6px; background: var(--c-chalk); }
.qa i::before, .qa i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2.5px; background: var(--c-plate); transition: transform .2s ease; }
.qa i::after { transform: rotate(90deg); }
.qa.is-open i { background: var(--c-volt); }
.qa.is-open i::after { transform: rotate(0deg); }
.qa__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .25s ease; }
.qa__panel > div { overflow: hidden; min-height: 0; }
.qa__panel p { padding: 0 20px 18px; color: #33373C; }
.js .qa__panel { grid-template-rows: 0fr; }
.js .qa.is-open .qa__panel { grid-template-rows: 1fr; }

/* ---------- SET 7 장소·연락 ---------- */
.contact { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 4vw, 48px); align-items: start; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; border: 2px solid var(--c-plate); border-radius: var(--radius); }
.map figcaption { margin-top: 8px; font-size: .82rem; color: var(--c-tape); }
.map-label { font-family: var(--f-body); font-weight: 700; font-size: 15px; fill: var(--c-plate); paint-order: stroke; stroke: var(--c-chalk); stroke-width: 6px; stroke-linejoin: round; }
.map-pin { font-family: var(--f-num); font-weight: 700; font-size: 20px; fill: var(--c-plate); }
.info { margin: 0; display: grid; }
.info div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--c-chalk-2); }
.info dt { font-weight: 700; }
.info dd { margin: 0; }
.hours { width: 100%; margin-top: 22px; }
.hours caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
.hours th, .hours td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--c-chalk-2); vertical-align: top; }
.hours th { width: 96px; white-space: nowrap; }
.hours small { display: block; color: var(--c-tape); font-size: .82rem; }
.hours .is-off td { color: var(--c-tape); }
.hours .is-today { background: #F4FFD6; }
.hours__today { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 5px; background: var(--c-plate); color: var(--c-volt); font-size: .72rem; vertical-align: 1px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.finish { margin-top: clamp(40px, 6vw, 72px); padding: 18px 0; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); border-top: 2px solid var(--c-plate); border-bottom: 2px solid var(--c-plate); }
.finish::before { content: "SET 7 / 7 "; font-family: var(--f-num); color: var(--c-tape); margin-right: 8px; }
@media (max-width: 899px) {
  .contact { grid-template-columns: 1fr; }
  .contact__actions .btn { flex: 1 1 200px; }
}
@media (max-width: 599px) {
  .info div { grid-template-columns: 84px 1fr; }
  .hours th { width: 78px; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: var(--c-plate); color: #C9CEC6; padding: 40px 0 44px; font-size: .88rem; }
.site-footer__logo { font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; color: var(--c-board); margin-bottom: 10px; }
.site-footer__biz { line-height: 1.8; }
.site-footer__links { display: flex; gap: 16px; margin-top: 12px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links .strong { font-weight: 800; color: var(--c-board); }
.site-footer__credit { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-rubber); }
.site-footer__credit a { color: var(--c-volt); }

/* ---------- 하단 고정 연락 (모바일) ---------- */
.quickbar { display: none; }
@media (max-width: 899px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr 1.4fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--c-plate); border-top: 2px solid var(--c-volt);
  }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 62px; color: var(--c-board); font-weight: 700; font-size: .92rem; text-decoration: none; }
  .quickbar a + a { border-left: 1px solid var(--c-rubber); }
  .quickbar svg { width: 20px; height: 20px; }
  .quickbar__cta { background: var(--c-volt); color: var(--c-plate) !important; }
  body.nav-open .quickbar { visibility: hidden; }
}

/* 샘플 안내 토스트 */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 200; width: min(92vw, 440px); transform: translateX(-50%); padding: 14px 18px; border-radius: var(--radius); background: var(--c-plate); color: var(--c-board); font-size: .93rem; box-shadow: 0 0 0 2px var(--c-volt); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* ---------- 움직임: JS 가 has-motion 을 붙였을 때만 ---------- */
.has-motion .hero__copy > * { animation: rise .6s cubic-bezier(.2,.7,.3,1) both; }
.has-motion .hero__copy > :nth-child(2) { animation-delay: .08s; }
.has-motion .hero__copy > :nth-child(3) { animation-delay: .16s; }
.has-motion .hero__copy > :nth-child(4) { animation-delay: .24s; }
.has-motion .hero__copy > :nth-child(5) { animation-delay: .32s; }
.has-motion .hero .d-segs rect:nth-child(3) { animation: blink 1.4s ease-in-out 3; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .2; } }

/* 동작 줄이기 — 큰 이동은 끄고, 색·투명도 피드백은 둔다 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .btn, .chips span, .qa__panel, .rest__next, .sets__list a { transition-duration: .2s !important; }
}
