/* =========================================================
   올카데미 온라인캠퍼스 — 레퍼런스형 상세페이지
   레이아웃·모션: 레퍼런스(section-map / motion-spec) 값
   색: _analysis/tokens.css 토큰만 사용 (HEX 직접 사용 금지)
   ========================================================= */

/* ---------- 1. tokens.css (원본 그대로) ---------- */
/* D. 올카데미 색상 토큰 — 레퍼런스 역할별 1:1 대응 (color-map.md 참고) */
:root {
  --c-base: #02102B;        /* ref #000000 */
  --c-base-2: #071328;      /* ref #2C020A */
  --c-band: #16284A;        /* ref #A40022, #303030 */
  --c-primary: #2563C7;     /* ref #DE0A34 */
  --c-accent: #6EA7FE;      /* ref #EE0B39 on dark */
  --c-accent-ink: #2563C7;  /* ref #E60633 on light, #4C00E4, tab stroke */
  --c-pop: #FFC53D;         /* ref #C8FE00 */
  --c-soft: #EAF2FF;        /* ref #F6FED8 */
  --c-surface: #F4F6FA;     /* ref #F4F4F4 */
  --c-white: #FFFFFF;
  --c-cta: #FFC53D;         /* ref yellow button */
  --c-cta-ink: #071328;
  --c-on-dark: #FFFFFF;
  --c-ink: #071328;
  --c-muted: #4A5568;
}

/* ---------- 2. 파생 토큰 (위 토큰에서만 계산) ---------- */
:root {
  --c-shadow-1: color-mix(in srgb, var(--c-ink) 10%, transparent);
  --c-shadow-2: color-mix(in srgb, var(--c-ink) 4%, transparent);
  --c-shadow-arrow: color-mix(in srgb, var(--c-ink) 15%, transparent);
  --c-on-dark-60: color-mix(in srgb, var(--c-on-dark) 62%, transparent);
  --c-on-dark-40: color-mix(in srgb, var(--c-on-dark) 42%, transparent);
  --c-on-dark-15: color-mix(in srgb, var(--c-on-dark) 15%, transparent);
  --c-ink-50: color-mix(in srgb, var(--c-ink) 50%, var(--c-white));
  --c-ink-20: color-mix(in srgb, var(--c-ink) 18%, var(--c-white));
  --c-soft-on-primary: color-mix(in srgb, var(--c-soft) 80%, var(--c-primary));
  --c-tab-text: var(--c-muted);
  --c-placeholder: color-mix(in srgb, var(--c-band) 70%, var(--c-base));
  --c-placeholder-light: color-mix(in srgb, var(--c-surface) 70%, var(--c-ink-20));

  /* 모션 (motion-spec.md) */
  --ref-header-h: 111px; --ref-tabs-h: 80px;
  --ref-header-duration: 300ms; --ref-carousel-duration: 800ms;
  --ref-purchase-duration: 200ms; --ref-motion-ease: ease-out;
  --ref-purchase-ease: cubic-bezier(.645,.045,.355,1);
  --ref-arrow-size: 48px;
  --ref-pill-radius: 24px; --ref-button-radius: 16px;

  /* 폰트 (fonts.md) */
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-display: "Paperlogy", var(--font-sans);
  --font-script: "Charm", "Palatino Linotype", serif;

  --col: 500px;
}
@media (max-width: 1023px) { :root { --ref-header-h: 108px; } }

/* ---------- 3. 폰트 ---------- */
@font-face {
  font-family: "Pretendard Variable";
  src: url("../assets/fonts/PretendardVariable.woff2") format("woff2-variations"),
       url("../assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920; font-style: normal; font-display: swap;
}
@font-face { font-family: "Paperlogy"; src: url("../assets/fonts/Paperlogy-4Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("../assets/fonts/Paperlogy-7Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("../assets/fonts/Paperlogy-8ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Paperlogy"; src: url("../assets/fonts/Paperlogy-9Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face {
  font-family: "Charm"; src: url("../assets/fonts/Charm-Regular-latin.woff2") format("woff2");
  font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Charm"; src: url("../assets/fonts/Charm-Bold-latin.woff2") format("woff2");
  font-weight: 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- 4. 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-base); color: var(--c-on-dark);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.5;
  letter-spacing: -0.02em; word-break: keep-all; overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; max-width: 100%; }
main, footer { overflow-x: clip; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--c-pop); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--c-cta); color: var(--c-cta-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }

/* 섹션 공통: 레퍼런스 높이를 min-height로 고정 (PC --h, 모바일 --hm) */
.sec { position: relative; min-height: calc(var(--h) * 1px); }
.col { width: var(--col); max-width: 100%; margin: 0 auto; }
.bg-base { background: var(--c-base); color: var(--c-on-dark); }
.bg-base2 { background: var(--c-base-2); color: var(--c-on-dark); }
.bg-band { background: var(--c-band); color: var(--c-on-dark); }
.bg-primary { background: var(--c-primary); color: var(--c-on-dark); }
.bg-soft { background: var(--c-soft); color: var(--c-ink); }
.bg-white { background: var(--c-white); color: var(--c-ink); }
.bg-surface { background: var(--c-surface); color: var(--c-ink); }
.bg-pop { background: var(--c-pop); color: var(--c-ink); }
.center { text-align: center; }
.c-accent { color: var(--c-accent); }
.c-accent-ink { color: var(--c-accent-ink); }
.c-pop { color: var(--c-pop); }
.c-ink { color: var(--c-ink); }

/* 역할 타이포 (fonts.md, 500px 단 기준) */
.t-kv { font: 800 64px/1.0 var(--font-display); letter-spacing: -0.05em; }
.t-display { font: 900 55px/1.1 var(--font-display); letter-spacing: -0.10em; }
.t-name { font: 900 45px/1.2 var(--font-display); letter-spacing: 0; }
.t-h1-brand { font: 700 30px/1.3 var(--font-display); letter-spacing: -0.04em; }
.t-h1 { font: 900 28px/1.32 var(--font-sans); letter-spacing: -0.04em; }
.t-h1x { font: 800 28px/1.32 var(--font-sans); letter-spacing: -0.05em; }
.t-h2 { font: 700 33px/1.36 var(--font-sans); letter-spacing: -0.04em; }
.t-lead { font: 500 22px/1.4 var(--font-sans); letter-spacing: -0.04em; }
.t-label { font: 600 20px/1.3 var(--font-sans); letter-spacing: -0.04em; }
.t-body { font: 600 22px/1.35 var(--font-sans); letter-spacing: -0.03em; }
.t-list { font: 500 14px/1.6 var(--font-sans); letter-spacing: -0.04em; }
.t-script { font: 400 43px/1 var(--font-script); letter-spacing: -0.025em; }
.t-small { font: 500 12px/1.6 var(--font-sans); letter-spacing: -0.02em; }

.box { display: inline-block; padding: 0 .18em; line-height: 1.25; }
.box--primary { background: var(--c-primary); color: var(--c-on-dark); }
.box--white { background: var(--c-white); color: var(--c-accent-ink); }
.box--ink { background: var(--c-ink); color: var(--c-accent); }
.box--ink-light { background: var(--c-ink); color: var(--c-on-dark); }
.mark { background: var(--c-pop); color: var(--c-ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.note { font: 500 11px/1.6 var(--font-sans); color: var(--c-on-dark-60); letter-spacing: -0.02em; }
.bg-white .note, .bg-soft .note, .bg-surface .note, .bg-pop .note { color: var(--c-muted); }
.dots { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 18px auto; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: block; }
.dots i:first-child { opacity: .35; } .dots i:nth-child(2) { opacity: .65; }
.vline { width: 1px; height: 64px; background: currentColor; margin: 22px auto; }
.dash { width: 0; height: 64px; border-left: 2px dashed var(--c-accent); margin: 24px auto; }
.dash--white { border-color: var(--c-on-dark-60); }

/* 이미지·사진 자리 */
.ph {
  position: relative; display: block; width: 100%; overflow: hidden;
  background: var(--c-placeholder);
  aspect-ratio: var(--ar, auto);
}
.bg-white .ph, .bg-soft .ph, .bg-surface .ph, .bg-pop .ph, .card .ph, .sample .ph, .bcard .ph { background: var(--c-placeholder-light); }
.ph[data-photo-slot]::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 58%; height: 86%;
  background:
    radial-gradient(circle at 50% 22%, var(--c-on-dark-40) 0 17%, transparent 17.5%),
    radial-gradient(ellipse 50% 46% at 50% 100%, var(--c-on-dark-40) 0 99%, transparent 100%);
  opacity: .55;
}
.ph[data-photo-slot]::after {
  content: "사진 준비 중"; position: absolute; left: 0; right: 0; bottom: 10px;
  text-align: center; font: 600 11px/1 var(--font-sans); color: var(--c-on-dark-60);
}
img.ph-img { width: 100%; height: auto; display: block; }

/* ---------- 5. GNB (S00) ---------- */
.gnb {
  position: sticky; top: 0; z-index: 1001; height: var(--ref-header-h);
  background: var(--c-white); color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink-20);
  transition: transform var(--ref-header-duration) ease-out;
}
.gnb[data-scroll-hidden="true"] { transform: translateY(-100%); }
.gnb__top { height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.gnb__logo img { height: 34px; width: auto; }
.gnb__cta {
  background: var(--c-cta); color: var(--c-cta-ink); font: 700 14px/1 var(--font-sans);
  padding: 11px 18px; border-radius: var(--ref-button-radius);
}
.gnb__nav { height: 50px; display: flex; align-items: center; gap: 28px; padding: 0 32px; font: 700 14px/20px var(--font-sans); }
.gnb__nav a:hover { color: var(--c-accent-ink); }

/* ---------- 6. 섹션 탭 (S01) ---------- */
.tabs {
  position: sticky; top: var(--ref-header-h); z-index: 1000; height: 80px;
  background: var(--c-white); display: grid; grid-template-columns: repeat(3, 1fr);
  transition: top var(--ref-header-duration) ease-out;
}
.tabs.is-top { top: 0; }
.tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 20px 0; font: 500 14px/20px var(--font-sans); color: var(--c-tab-text); text-align: center;
}
.tabs a b { font-weight: 700; }
.tabs a:hover { color: var(--c-ink); }

/* ---------- 7. KV (S02) ---------- */
.kv {
  overflow: hidden; display: flex; flex-direction: column; align-items: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 60%, color-mix(in srgb, var(--c-primary) 55%, transparent), transparent 70%),
    linear-gradient(160deg, var(--c-base) 0%, var(--c-base) 35%, var(--c-band) 70%, var(--c-primary) 130%);
}
.kv__bg { position: absolute; inset: 0; }
.kv__bg .ph, .kv__bg img { width: 100%; height: 100%; object-fit: cover; background: transparent; }
.kv__ribbon { position: absolute; left: -10%; width: 120%; height: 70px; transform: rotate(-12deg); opacity: .5; border-radius: 40px; }
.kv__ribbon--1 { top: 52%; background: linear-gradient(90deg, transparent, var(--c-primary) 30%, var(--c-accent) 60%, transparent); }
.kv__ribbon--2 { top: 66%; background: linear-gradient(90deg, transparent, var(--c-accent) 40%, var(--c-primary) 75%, transparent); opacity: .3; height: 46px; }
.kv__inner { position: relative; width: 100%; height: 600px; }
.kv__pill {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--c-primary); color: var(--c-on-dark); font: 700 12px/1 var(--font-sans);
  padding: 7px 14px; border-radius: 999px;
}
.kv__title { position: absolute; top: 78px; left: 0; right: 0; text-align: center; z-index: 1; }
.kv__title .l1 { display: block; color: var(--c-accent); }
.kv__title .l2 { display: block; color: var(--c-on-dark); position: relative; z-index: 3; }
.kv__person { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); width: 300px; height: 330px; z-index: 2; background: transparent; }
.kv__person.ph { background: transparent; }
.kv__name {
  position: absolute; left: 50%; bottom: 128px; transform: translateX(-160px); z-index: 4;
  background: var(--c-on-dark); color: var(--c-accent-ink); font: 800 13px/1 var(--font-sans);
  padding: 7px 12px; border-radius: 4px; border-left: 4px solid var(--c-primary);
}
.kv__badges { position: absolute; top: 210px; left: 50%; margin-left: 130px; display: flex; flex-direction: column; gap: 10px; z-index: 4; }
.laurel {
  position: relative; width: 104px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--c-on-dark); font: 600 10px/1.25 var(--font-sans);
}
.laurel b { color: var(--c-pop); font-weight: 800; font-size: 13px; display: block; }
.laurel::before, .laurel::after {
  content: ""; position: absolute; top: 4px; bottom: 4px; width: 14px;
  border: 2px solid var(--c-pop); border-radius: 50%;
}
.laurel::before { left: 0; border-right-color: transparent; border-top-color: transparent; }
.laurel::after { right: 0; border-left-color: transparent; border-top-color: transparent; }
.kv__copy { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; z-index: 4; }
.kv__copy .small { font: 600 13px/1.5 var(--font-sans); }
.kv__copy .big { font: 700 19px/1.4 var(--font-sans); margin-top: 2px; }
.kv__copy em { font-style: normal; color: var(--c-accent); }
.kv__foot { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; z-index: 4; font-size: 10px; }

/* ---------- 8. 공통 텍스트 섹션 ---------- */
.stack { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px 0; min-height: inherit; }
.intro__logo { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 40px; font: 700 15px/1 var(--font-sans); letter-spacing: .08em; }
.intro__logo img { height: 40px; width: auto; }
.intro__logo span { color: var(--c-muted); }

/* 마키 (S05) */
.marquee { overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--c-ink) 12%, var(--c-ink) 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, var(--c-ink) 12%, var(--c-ink) 88%, transparent); }
.marquee__row { display: flex; width: max-content; gap: 8px; animation: marq 18s linear infinite; }
.marquee__row:nth-child(2) { animation-direction: reverse; animation-duration: 21s; }
.marquee__row:nth-child(3) { animation-duration: 24s; }
.chip { flex: none; background: var(--c-white); color: var(--c-ink); font: 700 13px/1 var(--font-sans); padding: 8px 12px; border-radius: 6px; white-space: nowrap; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hint { display: flex; align-items: center; justify-content: center; font: 500 12px/1 var(--font-sans); color: var(--c-on-dark); }

/* ---------- 9. 캐러셀 ---------- */
.carousel { position: relative; padding: 0 24px; }
.carousel + .carousel { margin-top: 10px; }
.carousel__viewport { overflow: hidden; }
.carousel__cards { display: flex; gap: 20px; transition: transform var(--ref-carousel-duration) ease-out; will-change: transform; }
.carousel__card { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; }
.carousel__btn {
  position: absolute; top: calc(50% - 24px); width: var(--ref-arrow-size); height: var(--ref-arrow-size);
  border-radius: 50%; background: var(--c-white); box-shadow: 0 4px 4px var(--c-shadow-arrow);
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.carousel__btn svg { width: 18px; height: 18px; stroke: var(--c-accent-ink); stroke-width: 2; fill: none; }
.carousel__btn--prev { left: -2px; } .carousel__btn--next { right: -2px; }
.carousel__btn--next svg { transform: scaleX(-1); }
.carousel__btn[hidden] { display: none; }
.sample { background: var(--c-surface); border-radius: 2px; overflow: hidden; }
.sample .ph { --ar: 313 / 171; }
.sample__label { position: absolute; left: 10px; top: 8px; font: 700 10px/1.2 var(--font-sans); color: var(--c-ink); z-index: 1; max-width: 70%; text-align: left; }
.sample__tag { position: absolute; right: 8px; top: 8px; z-index: 1; font: 700 9px/1 var(--font-sans); background: var(--c-ink); color: var(--c-on-dark); padding: 3px 6px; border-radius: 3px; }
.cap { text-align: center; margin-top: 4px; }

/* ---------- 10. 문제 (S10) ---------- */
.problem { padding: 56px 0 48px; display: flex; flex-direction: column; align-items: center; }
.tilt { border: 2px solid var(--c-ink); background: var(--c-white); padding: 12px 18px; font: 500 15px/1.4 var(--font-sans); letter-spacing: -0.04em; }
.tilt b { font-weight: 800; }
.tilt:nth-child(1) { transform: rotate(-2deg) translateX(-30px); }
.tilt:nth-child(2) { transform: rotate(1.5deg) translateX(34px); margin-top: 14px; }
.tilt:nth-child(3) { transform: rotate(-1.5deg) translateX(-10px); margin-top: 14px; }

/* S11 */
.agitate .grey { color: var(--c-on-dark-60); }
.script { display: block; font: 400 48px/1 var(--font-script); color: var(--c-accent); margin-top: 4px; }

/* S12 chevrons */
.chev { display: flex; flex-direction: column; align-items: center; margin: 22px 0; }
.chev svg { width: 34px; height: 16px; margin-top: -4px; }
.chev path { fill: none; stroke: var(--c-accent-ink); stroke-width: 3; }
.chev svg:nth-child(1) path { opacity: .3; } .chev svg:nth-child(2) path { opacity: .6; }

/* ---------- 11. 사례 1 (S13) ---------- */
.case { padding: 0 0 40px; }
.bookcurve { height: 70px; background: var(--c-white); clip-path: ellipse(70% 100% at 50% 0); opacity: .08; }
.case__kw { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 16px; }
.case__kw span { color: var(--c-pop); font: 700 14px/1 var(--font-sans); border: 1px solid var(--c-pop); padding: 6px 10px; border-radius: 999px; }
.fan { position: relative; height: 500px; margin: 24px 0 10px; }
.fan__env { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 360px; height: 180px; background: linear-gradient(180deg, var(--c-primary), var(--c-band)); border-radius: 10px; z-index: 3; }
.fan__env::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: var(--c-accent); clip-path: polygon(0 0, 100% 0, 50% 100%); opacity: .55; }
.fan__card { position: absolute; left: 50%; bottom: 110px; width: 170px; transform-origin: 50% 120%; z-index: 2; box-shadow: 0 6px 18px var(--c-shadow-1); }
.fan__card .ph { --ar: 3 / 4; background: var(--c-placeholder-light); }
.fan__card:nth-child(1) { transform: translateX(-50%) rotate(-30deg) translateY(-40px); }
.fan__card:nth-child(2) { transform: translateX(-50%) rotate(-20deg) translateY(-70px); }
.fan__card:nth-child(3) { transform: translateX(-50%) rotate(-10deg) translateY(-90px); }
.fan__card:nth-child(4) { transform: translateX(-50%) rotate(0deg) translateY(-100px); }
.fan__card:nth-child(5) { transform: translateX(-50%) rotate(10deg) translateY(-90px); }
.fan__card:nth-child(6) { transform: translateX(-50%) rotate(20deg) translateY(-70px); }
.fan__card:nth-child(7) { transform: translateX(-50%) rotate(30deg) translateY(-40px); }

.panel { background: var(--c-base-2); border: 1px solid var(--c-on-dark-15); border-radius: 10px; padding: 18px 16px; margin: 24px 0 0; }
.panel h3 { font: 800 16px/1.4 var(--font-sans); margin-bottom: 12px; text-align: center; }
.tl { width: 100%; border-collapse: collapse; font: 500 13px/1.4 var(--font-sans); }
.tl th { font-weight: 700; color: var(--c-accent); text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--c-on-dark-15); white-space: nowrap; }
.tl td { padding: 7px 8px; border-bottom: 1px solid var(--c-on-dark-15); }
.tl tbody tr { animation: rowhl 4.2s steps(1) infinite; }
.tl tbody tr:nth-child(2) { animation-delay: .6s; } .tl tbody tr:nth-child(3) { animation-delay: 1.2s; }
.tl tbody tr:nth-child(4) { animation-delay: 1.8s; } .tl tbody tr:nth-child(5) { animation-delay: 2.4s; }
.tl tbody tr:nth-child(6) { animation-delay: 3s; } .tl tbody tr:nth-child(7) { animation-delay: 3.6s; }
@keyframes rowhl { 0% { background: color-mix(in srgb, var(--c-pop) 28%, transparent); } 14.3%, 100% { background: transparent; } }
.bars { display: flex; align-items: flex-end; justify-content: space-around; height: 190px; padding: 0 10px; border-bottom: 1px solid var(--c-on-dark-40); }
.bar { width: 62px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar span { font: 800 15px/1 var(--font-sans); color: var(--c-pop); margin-bottom: 6px; }
.bar i { display: block; width: 100%; height: var(--v); background: linear-gradient(0deg, var(--c-primary), var(--c-accent)); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: barup 1.2s linear infinite; }
@keyframes barup { 0% { transform: scaleY(0); } 25%, 100% { transform: scaleY(1); } }
.bars__lbl { display: flex; justify-content: space-around; padding: 6px 10px 0; font: 600 11px/1.3 var(--font-sans); color: var(--c-on-dark-60); text-align: center; }
.bars__lbl span { width: 62px; }
.quote { margin: 26px 0 0; background: var(--c-white); color: var(--c-ink); border-radius: 10px; padding: 20px 18px; position: relative; }
.quote p { font: 700 16px/1.5 var(--font-sans); }
.quote cite { display: block; margin-top: 8px; font: 500 12px/1 var(--font-sans); font-style: normal; color: var(--c-muted); }
.torn { position: relative; margin-top: 28px; clip-path: polygon(0 3%, 6% 0, 14% 2.5%, 22% 0, 33% 3%, 45% .5%, 58% 3%, 70% 0, 82% 2.5%, 92% 0, 100% 2%, 100% 97%, 93% 100%, 80% 97.5%, 67% 100%, 55% 97%, 42% 100%, 30% 97.5%, 18% 100%, 8% 97%, 0 100%); }
.torn video, .torn .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hr { display: flex; align-items: center; }
.hr::before { content: ""; flex: 1; height: 1px; background: var(--c-accent); opacity: .7; }

/* 사례 2 콜라주 (S15) */
.collage { position: relative; height: 649px; margin: 10px 0; }
.collage__item { position: absolute; width: 300px; left: 50%; background: var(--c-white); color: var(--c-ink); padding: 10px; box-shadow: 0 8px 24px var(--c-shadow-1); animation: drop 4.92s ease-out infinite both; }
.collage__item .ph { --ar: 4 / 3; }
.collage__item figcaption { font: 700 12px/1.4 var(--font-sans); margin-top: 6px; }
.collage__item:nth-child(1) { top: 20px; transform: translateX(-80%) rotate(-6deg); --r: -6deg; --x: -80%; }
.collage__item:nth-child(2) { top: 150px; transform: translateX(-20%) rotate(5deg); --r: 5deg; --x: -20%; animation-delay: .4s; }
.collage__item:nth-child(3) { top: 300px; transform: translateX(-70%) rotate(-3deg); --r: -3deg; --x: -70%; animation-delay: .8s; }
.collage__item:nth-child(4) { top: 410px; transform: translateX(-30%) rotate(4deg); --r: 4deg; --x: -30%; animation-delay: 1.2s; }
@keyframes drop {
  0% { opacity: 0; transform: translateX(var(--x)) translateY(-60px) rotate(calc(var(--r) * 3)); }
  12%, 85% { opacity: 1; transform: translateX(var(--x)) translateY(0) rotate(var(--r)); }
  100% { opacity: 0; transform: translateX(var(--x)) translateY(0) rotate(var(--r)); }
}

/* 위젯 (S16) */
.widget { background: var(--c-white); color: var(--c-ink); border-radius: 999px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 18px; width: 340px; margin: 10px auto 0; }
.widget__btn { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-dark); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.widget__body { flex: 1; min-width: 0; text-align: left; font: 600 11px/1.3 var(--font-sans); }
.widget__track { display: flex; gap: 4px; align-items: flex-end; height: 18px; margin-top: 3px; }
.widget__track i { display: block; width: 100%; background: var(--c-ink-20); border-radius: 2px; height: 100%; position: relative; overflow: hidden; }
.widget__track i::after { content: ""; position: absolute; inset: 0; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .8s ease-out; }
.widget.is-on .widget__track i::after { transform: scaleX(var(--v)); }
.widget__track--list i::after { background: var(--c-accent); }
.widget-cap { font: 700 13px/1.4 var(--font-sans); margin-top: 14px; }

/* 사례 3 (S18) */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.ba .ph { --ar: 4 / 3; background: var(--c-placeholder-light); }
.ba__tag { display: inline-block; font: 800 12px/1 var(--font-sans); padding: 5px 10px; border-radius: 999px; background: var(--c-on-dark); color: var(--c-ink); margin-bottom: 8px; }
.ba__txt { font: 600 14px/1.5 var(--font-sans); text-align: left; }
.arrow-pop { width: 120px; height: 120px; margin: 30px auto; background: linear-gradient(180deg, transparent, var(--c-pop)); clip-path: polygon(30% 0, 70% 0, 70% 55%, 100% 55%, 50% 100%, 0 55%, 30% 55%); }
.ratio { font: 900 54px/1 var(--font-display); color: var(--c-accent); letter-spacing: -0.04em; margin: 18px 0 6px; }
.after { background: var(--c-white); color: var(--c-ink); border-radius: 10px; padding: 18px; text-align: left; }
.after .ph { --ar: 16 / 10; margin-top: 12px; }

/* 후기 카드 (S20) */
.review { background: var(--c-white); color: var(--c-ink); border-radius: 10px; padding: 16px 14px; height: calc(var(--rh, 420px) * .9); display: flex; flex-direction: column; overflow: hidden; }
.review__who { font: 700 12px/1 var(--font-sans); color: var(--c-muted); margin-bottom: 10px; }
.review__q { font: 600 15px/1.6 var(--font-sans); }
.review .ph { margin-top: auto; --ar: 4 / 3; }
.carousel--review .carousel__cards { align-items: center; }
.carousel--review .carousel__btn { display: flex; }

/* 영상 (S22) */
.yt { padding: 0 24px; }
.yt video, .yt .ph { width: 980px; max-width: 100%; aspect-ratio: 16 / 9; margin: 0 auto; background: var(--c-placeholder); }

/* 범위 (S24) */
.bubbles { position: relative; height: 470px; margin: 30px 0; }
.bub { position: absolute; font: 800 14px/1 var(--font-sans); padding: 9px 14px; border-radius: 999px; white-space: nowrap; background: var(--c-white); color: var(--c-ink); }
.bub--p { background: var(--c-primary); color: var(--c-on-dark); }
.bub--a { background: var(--c-accent); color: var(--c-ink); }
.bub--big { font-size: 26px; padding: 20px 30px; font-weight: 900; }

/* 대표 (S25) */
.director { overflow: hidden; }
.director__glow { position: absolute; left: 50%; top: 80px; width: 520px; height: 520px; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 70%, transparent), transparent 65%); }
.director__photo { position: relative; width: 350px; height: 480px; margin: 90px auto 0; background: transparent; }
.director__txt { position: relative; padding: 30px 0 60px; }

/* 경력 카드 (S26) */
.profile { background: var(--c-soft); color: var(--c-ink); border-radius: 24px; padding: 40px 32px; text-align: left; }
.profile h3 { font: 900 30px/1.2 var(--font-sans); letter-spacing: -0.04em; }
.profile .role { font: 800 15px/1.4 var(--font-sans); color: var(--c-accent-ink); margin: 6px 0 20px; }
.profile li { font: 600 15px/1.6 var(--font-sans); padding-left: 10px; position: relative; letter-spacing: -0.04em; }
.profile li::before { content: "·"; position: absolute; left: 0; }
.profile h4 { font: 800 15px/1.4 var(--font-sans); margin-top: 18px; }

/* 경력 흐름 (S27) */
.vscroll { height: 272px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, var(--c-ink) 55%, transparent);
          mask-image: linear-gradient(180deg, var(--c-ink) 55%, transparent); }
.vscroll__list { animation: vmarq 13.12s linear infinite; padding: 0 40px; }
.vscroll__list li { font: 600 15px/1.5 var(--font-sans); padding: 9px 0; color: var(--c-ink); text-align: left; }
.vscroll__list li b { font-weight: 800; }
.vscroll__list li span { color: var(--c-accent-ink); font-weight: 700; }
.vscroll__title { font: 900 18px/1 var(--font-sans); color: var(--c-ink); padding: 26px 40px 6px; text-align: left; }
@keyframes vmarq { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Q&A (S28-29) */
.q { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: inherit; text-align: center; }
.q__mark { font: 400 56px/1 var(--font-script); color: var(--c-ink-20); }
.objection { padding: 70px 0 60px; }
.bookcurve-top { position: absolute; top: 0; left: 0; right: 0; height: 60px; background: var(--c-white); clip-path: polygon(0 0, 100% 0, 100% 20%, 50% 100%, 0 20%); }
.qq { font: 900 32px/1 var(--font-sans); }
.qq::before, .qq::after { color: var(--c-accent); font-family: var(--font-script); }
.qq::before { content: "\201C  "; } .qq::after { content: "  \201D"; }
.gesture { width: 380px; height: 420px; margin: 40px auto 0; background: transparent; }
.ring { position: relative; width: 420px; height: 420px; margin: 20px auto 0; }
.ring__c { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 60px color-mix(in srgb, var(--c-primary) 80%, transparent); }
.ring__p { position: absolute; width: 110px; height: 110px; border-radius: 50%; overflow: hidden; filter: grayscale(1); }
.ring .ph { height: 100%; }
.ring__c .ph { border-radius: 50%; }
.ring__p:nth-child(2) { left: 155px; top: 0; } .ring__p:nth-child(3) { right: 0; top: 155px; }
.ring__p:nth-child(4) { left: 155px; bottom: 0; } .ring__p:nth-child(5) { left: 0; top: 155px; }

/* 팀 (S30) */
.team { display: flex; justify-content: center; gap: 14px; padding: 40px 24px; }
.team__card { width: 180px; background: var(--c-white); color: var(--c-ink); border-radius: 6px; padding: 8px; box-shadow: 0 6px 16px var(--c-shadow-1); }
.team__card:nth-child(even) { margin-top: 60px; }
.team__card .ph { --ar: 1 / 1; filter: grayscale(1); }
.team__card h3 { font: 800 15px/1.2 var(--font-sans); margin-top: 8px; }
.team__card .r { font: 700 12px/1.2 var(--font-sans); color: var(--c-accent-ink); margin-top: 2px; }
.team__card p { font: 500 11px/1.4 var(--font-sans); color: var(--c-muted); margin-top: 4px; }

/* 키트 (S34-40) */
.kit-sub { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: inherit; text-align: center; }
.script--ink { color: var(--c-ink); }
.bcard { background: var(--c-white); color: var(--c-ink); height: 357px; display: flex; flex-direction: column; overflow: hidden; }
.bcard .ph { height: 150px; flex: none; }
.bcard__body { padding: 14px 14px 12px; text-align: left; }
.bcard__no { font: 800 13px/1 var(--font-sans); color: var(--c-ink); }
.bcard__no b { color: var(--c-primary); font-weight: 800; }
.bcard h3 { font: 800 17px/1.3 var(--font-sans); margin-top: 6px; letter-spacing: -0.04em; }
.bcard .en { font: 400 15px/1.1 var(--font-script); color: var(--c-primary); }
.bcard .tags { font: 700 11px/1.4 var(--font-sans); color: var(--c-primary); margin-top: 6px; }
.bcard p { font: 500 12px/1.5 var(--font-sans); color: var(--c-muted); margin-top: 6px; }
.kit-note { padding: 30px 0; text-align: left; }
.kit-note p { font: 500 12px/1.7 var(--font-sans); color: var(--c-on-dark); }

/* 보너스·프로세스 (S41-44) */
.badge-ink { display: inline-block; background: var(--c-ink); color: var(--c-on-dark); font: 800 14px/1 var(--font-sans); padding: 9px 16px; border-radius: 999px; }
.badge-ink i { font-style: italic; color: var(--c-pop); }
.blurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.blurs .ph { --ar: 1 / 1; border-radius: 10px; filter: blur(3px); }
.pillbar { display: inline-block; background: var(--c-pop); color: var(--c-ink); font: 800 14px/1.3 var(--font-sans); padding: 10px 20px; border-radius: 999px; margin: 12px 0; }
.acc { padding: 0; }
.acc details { background: var(--c-base); border-radius: 6px; }
.acc summary { list-style: none; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font: 700 14px/1 var(--font-sans); cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 32px; height: 32px; }
.acc summary svg path { stroke: var(--c-pop); stroke-width: 2; fill: none; }
.acc .unfold { display: none; }
.acc details[open] .fold { display: none; }
.acc details[open] .unfold { display: block; }
.acc__body { padding: 4px 18px 22px; font: 500 13px/1.8 var(--font-sans); text-align: left; }
.acc__body li::before { content: "■ "; color: var(--c-pop); }
.ticket { position: relative; height: 330px; margin-top: 30px; }
.ticket .ph { height: 100%; background: transparent; }
.ticket__fallback { position: absolute; left: 50%; top: 40px; transform: translateX(-50%) rotate(-8deg); width: 300px; height: 130px; background: var(--c-ink); border-radius: 10px; color: var(--c-pop); display: flex; align-items: center; justify-content: center; text-align: center; font: 900 20px/1.3 var(--font-sans); box-shadow: 0 10px 30px var(--c-shadow-1); }
.ticket__env { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: 330px; height: 170px; background: var(--c-pop); border-radius: 12px; }
.ticket__env::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--c-pop) 80%, var(--c-ink)); clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); border-radius: 12px; }

/* 비교 (S45) */
.compare { display: flex; justify-content: center; gap: 20px; padding: 0 24px; }
.pcard { width: 480px; background: var(--c-white); color: var(--c-ink); border-radius: 16px; padding: 32px 28px; text-align: center; }
.pcard .s { font: 700 17px/1.3 var(--font-sans); }
.pcard .pill { display: inline-block; background: var(--c-ink); color: var(--c-on-dark); font: 900 20px/1.2 var(--font-sans); padding: 10px 20px; border-radius: 999px; margin: 10px 0 18px; letter-spacing: -0.04em; }
.pcard .pill em { font-style: normal; color: var(--c-accent); }
.pcard ul { text-align: left; display: table; margin: 0 auto; }
.pcard li { font: 600 14px/1.9 var(--font-sans); }
.pcard li::before { content: "• "; }
.pcard li.star { color: var(--c-primary); }

/* 더 (S46) */
.more { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: inherit; }
.more svg { width: 64px; height: 44px; }
.more svg path { fill: none; stroke: var(--c-primary); stroke-width: 6; stroke-linecap: round; }
.band { display: inline-flex; align-items: center; gap: 8px; background: var(--c-ink); color: var(--c-on-dark); font: 800 15px/1 var(--font-sans); padding: 10px 14px; margin-top: 8px; }
.band b { color: var(--c-pop); }
.band--w { background: var(--c-white); color: var(--c-ink); }
.band--w b { color: var(--c-primary); }
.band i { width: 18px; height: 18px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-dark); font-style: normal; font-size: 14px; line-height: 18px; text-align: center; }
.band:nth-of-type(1) { transform: rotate(-3deg); } .band:nth-of-type(2) { transform: rotate(1.5deg); } .band:nth-of-type(3) { transform: rotate(-1.5deg); }

/* 일정 (S47) */
.labels { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 20px 0 26px; }
.lbl { display: flex; border: 2px solid var(--c-primary); font: 700 14px/1 var(--font-sans); }
.lbl span:first-child { background: var(--c-primary); color: var(--c-on-dark); padding: 8px 12px; }
.lbl span:last-child { background: var(--c-white); color: var(--c-ink); padding: 8px 14px; }
.cal { background: var(--c-white); border-radius: 10px; overflow: hidden; border: 2px solid var(--c-ink); margin: 0 30px 14px; }
.cal h3 { background: var(--c-ink); color: var(--c-on-dark); font: 800 16px/1 var(--font-sans); padding: 12px 0; text-align: center; }
.cal table { width: 100%; border-collapse: collapse; table-layout: fixed; font: 600 12px/1 var(--font-sans); color: var(--c-ink); }
.cal th { padding: 9px 0 6px; font-weight: 800; }
.cal th:nth-child(6) { color: var(--c-primary); } .cal th:nth-child(7) { color: var(--c-primary); }
.cal td { text-align: center; padding: 6px 0; height: 34px; vertical-align: top; }
.cal td.m span { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-accent-ink); color: var(--c-on-dark); }
.cal td small { display: block; font: 700 9px/1.2 var(--font-sans); color: var(--c-accent-ink); margin-top: 2px; }

/* 커리큘럼 (S48) */
.cur { padding: 40px 24px 36px; }
.cur h2 { font: 900 30px/1.2 var(--font-sans); color: var(--c-ink); letter-spacing: -0.04em; }
.cur h2 em { font-style: normal; color: var(--c-accent-ink); }
.cur .sub { font: 600 14px/1.5 var(--font-sans); color: var(--c-muted); margin: 6px 0 16px; }
.curlist { border: 2px solid var(--c-ink); border-radius: 16px; padding: 18px 18px; text-align: left; color: var(--c-ink); }
.curday + .curday { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--c-ink-20); }
.curday h3 { font: 800 14px/1.45 var(--font-sans); color: var(--c-accent-ink); }
.curday h3 small { display: block; font: 600 11px/1.4 var(--font-sans); color: var(--c-muted); }
.curday li { font: 500 12.5px/1.5 var(--font-sans); letter-spacing: -0.04em; }
.curday li b { font-weight: 800; }
.plus { width: 36px; height: 36px; border-radius: 50%; background: var(--c-accent-ink); color: var(--c-on-dark); margin: -18px auto 0; position: relative; display: flex; align-items: center; justify-content: center; font: 700 24px/1 var(--font-sans); }
.curfoot { background: var(--c-ink); color: var(--c-on-dark); border-radius: 0 0 16px 16px; padding: 24px 18px 20px; margin-top: 10px; }
.curfoot b { font: 900 20px/1.3 var(--font-sans); display: block; }

/* 일차 카드 (S49) */
.days { padding: 56px 40px; }
.dcard { background: var(--c-base); border-radius: 10px; overflow: hidden; text-align: left; margin-top: 14px; }
.dcard h3 { display: flex; align-items: center; gap: 10px; background: var(--c-base-2); padding: 12px 14px; font: 800 15px/1.3 var(--font-sans); }
.dcard h3 span { flex: none; background: var(--c-primary); color: var(--c-on-dark); font: 800 12px/1 var(--font-sans); padding: 5px 9px; border-radius: 4px; }
.dcard p { padding: 12px 14px 14px; font: 500 13px/1.6 var(--font-sans); color: var(--c-on-dark-60); }

/* 현장 (S50) */
.live { overflow: hidden; background:
  repeating-linear-gradient(115deg, transparent 0 80px, color-mix(in srgb, var(--c-primary) 22%, transparent) 80px 120px, transparent 120px 220px),
  radial-gradient(ellipse at 80% 0, color-mix(in srgb, var(--c-primary) 60%, transparent), transparent 60%),
  var(--c-base); }
.live__bg { position: absolute; inset: 0; }
.live__bg img { width: 100%; height: 100%; object-fit: cover; }
.tiltbox { display: inline-block; border: 3px solid var(--c-accent); color: var(--c-accent); font: 900 28px/1 var(--font-sans); padding: 14px 22px; transform: rotate(-3deg); margin-top: 16px; }
.photos { position: relative; height: 470px; margin-top: 10px; }
.photos figure { position: absolute; width: 250px; border: 6px solid var(--c-white); box-shadow: 0 10px 24px var(--c-shadow-1); }
.photos .ph { --ar: 4 / 3; }
.photos figure:nth-child(1) { left: 0; top: 0; transform: rotate(-4deg); }
.photos figure:nth-child(2) { right: 0; top: 30px; transform: rotate(3deg); }
.photos figure:nth-child(3) { left: 20px; top: 210px; transform: rotate(2deg); }
.photos figure:nth-child(4) { right: 10px; top: 250px; transform: rotate(-3deg); }

/* 대상 (S51) */
.tcards { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; padding: 0 40px; }
.tcard { background: var(--c-white); color: var(--c-ink); border-radius: 8px; padding: 20px 10px; text-align: center; }
.tcard span { display: block; font: 500 14px/1.5 var(--font-sans); }
.tcard strong { display: block; font: 800 16px/1.5 var(--font-sans); }

/* 혜택 요약 (S52) */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border: 3px solid var(--c-primary); padding: 6px; background: var(--c-white); margin: 26px 30px 26px; }
.thumbs .ph { --ar: 313 / 171; }
.sumc { display: flex; margin: 0 40px 12px; text-align: left; }
.sumc b { flex: none; width: 56px; background: var(--c-ink); color: var(--c-on-dark); display: flex; align-items: center; justify-content: center; font: 900 18px/1 var(--font-sans); }
.sumc div { flex: 1; background: var(--c-white); padding: 16px 16px; }
.sumc h3 { font: 800 16px/1.3 var(--font-sans); }
.sumc p { font: 500 12px/1.5 var(--font-sans); color: var(--c-muted); margin-top: 4px; }

/* 가격 (S53-54) */
.price { padding: 70px 0 50px; }
.price h2 { font: 800 24px/1.45 var(--font-sans); letter-spacing: -0.04em; }
.pricecard { width: 400px; max-width: 100%; margin: 26px auto 0; background: var(--c-white); color: var(--c-ink); border-radius: 12px; overflow: hidden; text-align: left; }
.pricecard .ph { --ar: 2 / 1; }
.pricecard__b { padding: 20px 22px 24px; }
.tagbox { display: inline-block; border: 1px solid var(--c-ink); font: 800 11px/1 var(--font-sans); padding: 5px 8px; }
.pricecard h3 { font: 700 19px/1.4 var(--font-sans); margin: 10px 0 12px; letter-spacing: -0.04em; }
.pricecard ul { background: var(--c-surface); margin: 0 -22px; padding: 14px 22px; }
.pricecard li { font: 500 13px/1.8 var(--font-sans); color: var(--c-muted); }
.pricecard li::before { content: "- "; }
.p-old { text-align: right; margin-top: 16px; font: 500 14px/1 var(--font-sans); color: var(--c-muted); text-decoration: line-through; }
.p-now { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 6px; }
.p-now span { background: var(--c-primary); color: var(--c-on-dark); font: 800 12px/1 var(--font-sans); padding: 5px 8px; border-radius: 999px; }
.p-now strong { font: 800 20px/1 var(--font-sans); }
.p-mon { text-align: right; font: 900 28px/1 var(--font-sans); margin-top: 10px; letter-spacing: -0.03em; }
.p-mon small { display: block; font: 500 11px/1.5 var(--font-sans); color: var(--c-muted); margin-top: 4px; }
.btn-cta { display: block; width: 100%; background: var(--c-cta); color: var(--c-cta-ink); text-align: center; font: 800 16px/1 var(--font-sans); padding: 18px 0; border-radius: 10px; margin-top: 16px; transition: background-color var(--ref-purchase-duration) ease; }
.btn-cta:hover { background: color-mix(in srgb, var(--c-cta) 85%, var(--c-ink)); }
.btn-ink { background: var(--c-ink); color: var(--c-on-dark); }
.price .after-note { margin-top: 14px; }
.price .after-note a { text-decoration: underline; }

/* 유의사항 (S55-56) */
.warn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: inherit; }
.warn svg { width: 40px; height: 36px; }
.warn svg path { fill: var(--c-pop); }
.notice { padding: 10px 24px 70px; font: 400 12px/1.85 var(--font-sans); color: var(--c-on-dark); }
.notice h3 { font: 700 12px/1.85 var(--font-sans); margin-top: 22px; }
.notice h3:first-child { margin-top: 0; }
.notice li::before { content: "- "; }
.notice table { border-collapse: collapse; margin: 8px 0; font-size: 12px; }
.notice th, .notice td { border: 1px solid var(--c-on-dark-40); padding: 6px 10px; text-align: left; font-weight: 500; }
.notice a { text-decoration: underline; }

/* 푸터 (S57) */
.footer { padding: 40px 24px 130px; font: 400 12px/1.8 var(--font-sans); color: var(--c-muted); }
.footer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.footer__top img { height: 40px; width: auto; }
.footer nav { display: flex; gap: 18px; font: 600 13px/1 var(--font-sans); color: var(--c-ink); flex-wrap: wrap; }
.footer nav a:hover { color: var(--c-accent-ink); }
.footer .copy { margin-top: 26px; }

/* ---------- 12. 하단 고정 구매 바 ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1002; height: 80px;
  display: flex; justify-content: center; pointer-events: none;
  transform: translateY(-16px);
  transition: all var(--ref-purchase-duration) var(--ref-purchase-ease);
}
.buybar__panel {
  pointer-events: auto; width: 920px; max-width: calc(100% - 48px); height: 80px; padding: 16px 24px;
  background: var(--c-white); color: var(--c-ink); border-radius: var(--ref-pill-radius);
  box-shadow: 0 4px 20px var(--c-shadow-1), 0 2px 8px var(--c-shadow-2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.buybar__txt { font: 400 14px/21px var(--font-sans); }
.buybar__txt b { display: block; font-weight: 700; color: var(--c-accent-ink); }
.buybar__btn {
  flex: none; height: 48px; padding: 12px 24px; border-radius: var(--ref-button-radius);
  background: var(--c-cta); color: var(--c-cta-ink); font: 700 14px/24px var(--font-sans);
  transition: background-color var(--ref-purchase-duration) ease;
}
.buybar__btn:hover { background: color-mix(in srgb, var(--c-cta) 85%, var(--c-ink)); }
.chat { position: fixed; right: 20px; bottom: 112px; z-index: 1003; width: 52px; height: 52px; border-radius: 50%; background: var(--c-ink); color: var(--c-on-dark); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px var(--c-shadow-1); }
.chat svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- 12b. 연결된 이미지 (asset-manifest) ---------- */
picture { display: block; }
img.ph-img { width: 100%; height: auto; display: block; }
.kv__bgimg-pic, .kv__bgimg, .kv__layer-pic, .kv__layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.kv__bgimg, .kv__layer { object-fit: cover; object-position: center bottom; }
.kv__layer-pic { z-index: 2; }
.kv:has(.kv__bgimg) .kv__ribbon { display: none; }
.kv:has(.kv__bgimg) { background: var(--c-base); }
.kv__title { z-index: 3; text-shadow: 0 2px 14px var(--c-base); }
.director__txt { text-shadow: 0 1px 10px var(--c-base); }
.kv__copy em { text-shadow: 0 1px 6px var(--c-base); }
.c1-head { position: relative; z-index: 2; }
img.c1-plate { position: relative; z-index: 1; width: 88%; margin: -8.4% auto -26.6%; }
.collage__item { width: auto; padding: 0; background: none; }
.collage__item img { width: auto; max-width: 100%; }
.collage .collage__item--1 { top: 10px; --x: -62%; --r: -4deg; }
.collage .collage__item--2 { top: 80px; --x: -58%; --r: 3deg; animation-delay: .4s; }
.collage .collage__item--3 { top: 430px; --x: -46%; --r: -2deg; animation-delay: .8s; }
.collage .collage__item--4 { top: 230px; --x: 8%; --r: 5deg; animation-delay: 1.2s; }
.collage .collage__item--5 { top: 580px; --x: -50%; --r: -1.5deg; animation-delay: 1.6s; }
.collage__item:nth-child(n) { transform: translateX(var(--x)) rotate(var(--r)); }
.ba { display: block; margin-top: 26px; }
.ba .ba__txt { margin-bottom: 10px; text-align: center; }
img.after-img { margin-top: 18px; }
.review:has(img) { height: auto; padding: 0; background: none; border-radius: 10px; overflow: hidden; }
.director__plate { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: var(--col); max-width: 100%; }
.director__plate img { position: absolute; top: 0; left: 0; }
.director__plate img.plate-bg { position: relative; }
.director__space { height: 610px; }
img.gesture { width: 100%; max-width: 500px; height: auto; margin: 30px auto 0; }
img.ring { width: 100%; max-width: 500px; height: auto; margin: 10px auto 0; filter: none; }
img.blurs { width: 100%; height: auto; margin-top: 24px; filter: none; }
img.photos { width: 100%; height: auto; }
.team__card img { filter: grayscale(1); }
.ticket2 { position: relative; margin: 24px 0 10px; }
.ticket2__txt { position: absolute; left: 51%; top: 34%; transform: translate(-50%, -50%) rotate(-12deg); color: var(--c-pop); font: 900 21px/1.3 var(--font-sans); text-align: center; letter-spacing: -0.04em; }
.live__bgimg-pic, .live__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard img.ph-img { flex: none; }
.sample:has(img) .sample__label, .sample:has(img) .sample__tag { display: none; }
.torn video, .yt video { object-fit: cover; height: auto; }


/* 12c. 높이 맞춤 (연결 이미지 기준) */
.carousel + .carousel { margin-top: 7px; }
.ba .ba__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ba { margin-top: 18px; }
#S18-case3-beauty .ratio { margin: 6px 0 10px; font-size: 46px; }
#S18-case3-beauty .after { padding: 12px 16px; }
#S18-case3-beauty .after .t-body { font-size: 15px; }
img.after-img { margin-top: 8px; aspect-ratio: 500 / 776; object-fit: cover; object-position: 50% 50.4%; }
#S18-case3-beauty .t-h2:last-of-type { position: relative; }
[data-sec="S13-case1-petwear"] .panel { margin-top: 14px; padding: 14px 14px; }
[data-sec="S13-case1-petwear"] .panel h3 { margin-bottom: 8px; }
[data-sec="S13-case1-petwear"] .tl td, [data-sec="S13-case1-petwear"] .tl th { padding: 5px 8px; }
[data-sec="S13-case1-petwear"] .bars { height: 150px; }
[data-sec="S13-case1-petwear"] .quote { margin-top: 14px; padding: 14px 16px; }
[data-sec="S13-case1-petwear"] .torn { margin-top: 16px; }
img.blurs { margin-top: 14px; }
.ticket2 { margin: 6px 0 0; }
.ticket2 img { max-height: 430px; width: auto; margin: 0 auto; }
img.photos { margin-top: -300px; position: relative; z-index: 0; }
#S50-guerrilla-live .col > h2, #S50-guerrilla-live .tiltbox, #S50-guerrilla-live .dash { position: relative; z-index: 1; }
#S50-guerrilla-live .note { position: relative; z-index: 1; margin-top: -150px; }
.review-note { position: absolute; left: 0; right: 0; bottom: -36px; z-index: 2; margin: 0 auto !important; }


/* 12d. S13·S18 레퍼런스 높이 맞춤 */
.ba img.ph-img { aspect-ratio: 500 / 185; object-fit: cover; object-position: 50% 55.4%; }
[data-sec="S18-case3-beauty"] .arrow-pop { width: 64px; height: 64px; margin: 8px auto; }
[data-sec="S13-case1-petwear"] .tl td, [data-sec="S13-case1-petwear"] .tl th { padding: 4px 8px; }
[data-sec="S13-case1-petwear"] .bars { height: 130px; }
[data-sec="S13-case1-petwear"] .quote { margin-top: 10px; padding: 12px 16px; }


/* 12f. QA 수정 */
.nobr { white-space: nowrap; }
.carousel--2 .carousel__card { flex: 0 0 calc((100% - 20px) / 2); }
.carousel--2 .pcard { width: 100%; }
.review__cap { font: 600 11px/16px var(--font-sans); color: var(--c-on-dark-60); margin-top: 6px; text-align: left; }

[data-sec="S13-case1-petwear"] .panel h3 { margin-bottom: 4px; }
[data-sec="S13-case1-petwear"] .note { margin-top: 8px !important; }
[data-sec="S18-case3-beauty"] .t-h2[style] { margin-top: 28px !important; }
.director__txt { padding: 8px 0 16px; }
[data-sec="S31-bridge"] .stack { padding: 30px 0; }
[data-sec="S41-bonus1"] .stack { padding: 46px 0; }

/* ---------- 13. 반응형 ---------- */
@media (max-width: 959px) {
  .carousel__btn { display: none !important; }
  .carousel:not(.carousel--review) .carousel__viewport { overflow-x: auto; scrollbar-width: none; }
  .carousel:not(.carousel--review) .carousel__viewport::-webkit-scrollbar { display: none; }
  .carousel:not(.carousel--review) .carousel__cards { transform: none !important; }
}
@media (max-width: 559px) {
  :root { --col: 100%; }
  .sec { min-height: calc(var(--hm, var(--h)) * 1px); }
  .carousel { padding: 0; }
  .carousel__cards { gap: 0; }
  .carousel__card { box-sizing: content-box; padding: 0 10px; flex: 0 0 66%; }
  .carousel__card:first-child { margin-left: 10px; }
  .carousel--2 .carousel__card { flex: 0 0 66%; }
  .carousel--review .carousel__cards { gap: 20px; }
  .carousel--review .carousel__card { flex: 0 0 75%; padding: 0; box-sizing: border-box; }
  .carousel--review .carousel__card:first-child { margin-left: 12.5%; }
  .gnb__top { padding: 0 16px; } .gnb__nav { padding: 0 16px; gap: 16px; height: 48px; font-size: 13px; overflow-x: auto; white-space: nowrap; }
  .gnb { border-bottom: 0; }
  .t-kv { font-size: 46px; }
  .t-display { font-size: 42px; }
  .t-name { font-size: 34px; }
  .t-h1, .t-h1x { font-size: 23px; } .t-h1-brand { font-size: 24px; }
  .t-h2 { font-size: 24px; } .t-lead { font-size: 16px; } .t-body { font-size: 16px; }
  .t-script, .script { font-size: 34px; }
  .stack { padding: 44px 20px; }
  .kv__inner { height: 745px; }
  .kv__title { top: 76px; }
  .kv__person { width: 290px; height: 340px; bottom: 170px; }
  .kv__name { bottom: 178px; transform: translateX(-140px); }
  .kv__badges { top: auto; bottom: 106px; left: 0; right: 0; margin: 0; flex-direction: row; justify-content: center; }
  .kv__copy { bottom: 30px; padding: 0 16px; }
  .kv__copy .big { font-size: 16px; }
  .problem { padding: 44px 16px; }
  .tilt:nth-child(1) { transform: rotate(-2deg) translateX(-8px); } .tilt:nth-child(2) { transform: rotate(1.5deg) translateX(10px); } .tilt:nth-child(3) { transform: rotate(-1.5deg); }
  .tilt { font-size: 13.5px; }
  .case, .director__txt, .objection { padding-left: 16px; padding-right: 16px; }
  .fan { zoom: .6; }
  .vscroll { height: 180px; }
  .director__space { height: 440px; }
  .ticket2__txt { font-size: 17px; }
  .cal td { height: 28px; padding: 4px 0; } .cal th { padding: 6px 0 4px; }
  .panel { padding: 14px 10px; } .tl { font-size: 12px; } .bars { height: 150px; }
  .torn { margin-top: 18px; } .quote { margin-top: 18px; }
  .collage { zoom: .72; }
  .widget { width: 320px; }
  .bubbles { zoom: .74; }
  .director__photo { width: 280px; height: 380px; }
  .profile { margin: 0 16px; padding: 30px 22px; }
  .ring { zoom: .8; }
  .gesture { width: 300px; height: 330px; }
  .team { flex-wrap: wrap; gap: 12px; padding: 30px 16px; }
  .team__card { width: calc(50% - 6px); } .team__card:nth-child(even) { margin-top: 0; }
  .compare { padding: 0 16px; flex-direction: column; align-items: center; }
  .pcard { width: 100%; padding: 26px 18px; }
  .cur { padding: 32px 16px; } .days { padding: 44px 16px; }
  .cal { margin: 0 16px 14px; }
  .tcards { padding: 0 20px; } .sumc { margin: 0 20px 12px; } .thumbs { margin: 22px 16px; }
  .photos { height: 430px; } .photos figure { width: 190px; }
  .price { padding: 50px 16px 40px; } .price h2 { font-size: 20px; }
  .notice { padding: 10px 16px 50px; }
  .footer { padding: 30px 16px 190px; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .yt { padding: 0 16px; }
  /* 모바일 구매 바: 흰 설명 박스 + 전폭 노랑 버튼 2단 */
  .buybar { height: auto; transform: none; flex-direction: column; align-items: stretch; }
  .buybar__panel { max-width: 100%; width: 100%; height: auto; flex-direction: column; padding: 0; background: transparent; box-shadow: none; border-radius: 0; gap: 0; }
  .buybar__txt { background: var(--c-white); border-radius: var(--ref-pill-radius); box-shadow: 0 4px 20px var(--c-shadow-1), 0 2px 8px var(--c-shadow-2); padding: 8px 16px; height: 58px; text-align: center; margin: 0 0 10px; width: 100%; }
  .buybar__btn { width: 100%; height: 90px; border-radius: 0; font: 700 18px/43.2px var(--font-sans); display: flex; align-items: center; justify-content: center; }
  .chat { bottom: 186px; right: 14px; }
}


/* 12e. S13·S18 모바일 높이 맞춤 */
@media (max-width: 559px) {
  [data-sec="S13-case1-petwear"] .case__kw { margin: 16px 0 10px; }
  [data-sec="S13-case1-petwear"] .tl { font-size: 11.5px; }
  [data-sec="S13-case1-petwear"] .tl td, [data-sec="S13-case1-petwear"] .tl th { padding: 3px 6px; }
  [data-sec="S13-case1-petwear"] .bars { height: 100px; }
  [data-sec="S13-case1-petwear"] .panel { padding: 10px 8px; margin-top: 10px; }
  [data-sec="S13-case1-petwear"] .quote p { font-size: 14px; }
  [data-sec="S13-case1-petwear"] .case { padding-bottom: 20px; }
  [data-sec="S18-case3-beauty"] .case { padding-top: 30px !important; padding-bottom: 20px; }
  [data-sec="S18-case3-beauty"] .ratio { font-size: 34px; margin: 4px 0 6px; }
  [data-sec="S18-case3-beauty"] .after .t-body { font-size: 13px; }
  [data-sec="S18-case3-beauty"] .t-h2[style] { margin-top: 20px !important; }
}

/* ---------- 14. 모션 줄이기 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .marquee__row, .vscroll__list { animation: none !important; }
  .carousel__cards { transition: none; }
}

/* 12f. KV 인물 레이어: 화면이 넓어져도 1027 기준 크기·위치 고정 (확대되어 제목을 가리던 문제 수정) */
.kv__layer-pic { left: 50%; right: auto; width: 1027px; transform: translateX(-50%); }
.kv__layer { object-fit: contain; object-position: center bottom; }
@media (max-width: 559px) {
  .kv__layer-pic { left: 0; width: 100%; transform: none; }
  .kv__layer { object-fit: cover; }
}

/* 12g. Aside 검수 반영 */
/* S27: 위로 올라가는 목록이 제목 아래에서 반쯤 잘려 보이던 문제 → 위쪽도 페이드 */
.vscroll {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, var(--c-ink) 22%, var(--c-ink) 55%, transparent);
          mask-image: linear-gradient(180deg, transparent 0, var(--c-ink) 22%, var(--c-ink) 55%, transparent);
}
/* S50: 사진 콜라주·안내문 겹침 간격을 px → 폭 비례(%)로 바꿔 모바일에서도 PC와 같은 비율 유지 (PC 500px 기준 값 동일) */
img.photos { margin-top: -60%; }
#S50-guerrilla-live .note { margin-top: -30%; }
/* 12h. 내용보다 레퍼런스 높이가 큰 섹션: 내용이 위에 몰리고 아래가 비던 문제 → 세로 가운데 정렬 (섹션 시작 위치는 그대로) */
:is([data-sec="S10-problem"], [data-sec="S15-case2-office"], [data-sec="S24-scope"], [data-sec="S26-profile"],
    [data-sec="S29-objection-a"], [data-sec="S30-team"], [data-sec="S44-bonus2"], [data-sec="S45-package-compare"],
    [data-sec="S49-live-curriculum"], [data-sec="S51-target"], [data-sec="S52-benefit-summary"],
    [data-sec="S53-price-option1"], [data-sec="S54-price-option2"]) {
  display: flex; flex-direction: column; justify-content: center;
}
/* 페이지 끝 유의사항·푸터는 내용 길이대로 */
[data-sec="S56-notice-text"], [data-sec="S57-footer"] { min-height: 0 !important; }
/* 모바일: 레퍼런스 비율로 추정한 높이가 내용보다 큰 섹션은 내용 길이대로 (위아래 여백만 유지) */
@media (max-width: 559px) {
  :is([data-sec="S10-problem"], [data-sec="S15-case2-office"], [data-sec="S24-scope"], [data-sec="S26-profile"],
      [data-sec="S29-objection-a"], [data-sec="S30-team"], [data-sec="S44-bonus2"], [data-sec="S45-package-compare"],
      [data-sec="S49-live-curriculum"], [data-sec="S51-target"], [data-sec="S52-benefit-summary"],
      [data-sec="S53-price-option1"], [data-sec="S54-price-option2"]) {
    min-height: 0 !important; padding-top: 40px; padding-bottom: 48px;
  }
}

/* 12i. 모바일 구매 바 한 줄(약 64px)로 축소 + 상담 버튼을 바 바로 위로 (레퍼런스 2단 158px → 화면 가림 줄임) */
@media (max-width: 559px) {
  .buybar { height: auto; transform: none; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .buybar__panel {
    width: 100%; max-width: 100%; height: 64px; flex-direction: row; align-items: center; gap: 10px;
    padding: 8px 8px 8px 18px; background: var(--c-white); border-radius: var(--ref-pill-radius);
    box-shadow: 0 4px 20px var(--c-shadow-1), 0 2px 8px var(--c-shadow-2);
  }
  .buybar__txt { height: auto; margin: 0; padding: 0; width: auto; background: none; box-shadow: none; border-radius: 0; text-align: left; font: 400 12px/17px var(--font-sans); }
  .buybar__txt b { font-size: 13px; }
  .buybar__btn { width: auto; height: 48px; padding: 0 16px; border-radius: var(--ref-button-radius); font: 700 14px/48px var(--font-sans); white-space: nowrap; }
  .chat { width: 44px; height: 44px; right: 12px; bottom: 86px; }
  .chat svg { width: 20px; height: 20px; }
  .footer { padding-bottom: 100px; }
}
/* 12j. 모바일 KV: 각주가 2줄로 늘어나 소개 문구와 10px 겹치던 문제 */
@media (max-width: 559px) { .kv__copy { bottom: 48px; } .kv__foot { padding: 0 16px; line-height: 1.4; } }

/* 12k. pen.dev 검수 반영: 톤 유지, 가독성·비율만 보정 */
/* S50 모바일 배경 이미지가 가로로 눌려 보이던 문제 */
img.live__bg { object-fit: cover; object-position: center top; }
/* 11px 미만 글자 최소 11px로 (KV 실적 배지·각주, S47 달력 라벨, 샘플 카드 태그) */
.laurel { font-size: 11px; }
.kv__foot { font-size: 11px; }
.cal td small { font-size: 11px; }
.sample__tag { font-size: 11px; padding: 3px 7px; }
.sample__label { font-size: 11px; }

/* 12l. 기기 최적화 (24" 모니터 · iPad Pro 11/13 · iPhone 15~18 · Galaxy S24~) */
/* 넓은 화면: 헤더·섹션 탭 내용을 KV 콘텐츠 폭(1027)에 맞춰 가운데로 — 배경은 전체 폭 유지 */
@media (min-width: 1100px) {
  .gnb__top, .gnb__nav { padding-left: max(32px, calc((100% - 1027px) / 2)); padding-right: max(32px, calc((100% - 1027px) / 2)); }
  .tabs { padding-left: max(0px, calc((100% - 1027px) / 2)); padding-right: max(0px, calc((100% - 1027px) / 2)); }
}
/* 노치·다이내믹 아일랜드 가로 안전 영역 */
@media (max-width: 1099px) { .gnb__top, .gnb__nav { padding-left: max(var(--gnb-pad, 32px), env(safe-area-inset-left)); } }
@media (max-width: 559px) { :root { --gnb-pad: 16px; } }
.chat { right: max(12px, calc(env(safe-area-inset-right) + 12px)); }
/* 터치 기기: 탭 강조 제거, 버튼 터치 영역 44px 이상 */
@media (pointer: coarse) {
  a, button { -webkit-tap-highlight-color: transparent; }
  .carousel__btn { min-width: 44px; min-height: 44px; }
}

/* 12m. 실기기(iPhone) 피드백 반영 */
/* 상담 버튼: 네이비 섹션 위에서 원이 묻혀 아이콘만 떠 보이던 문제 → 주색 원 + 흰 테두리 */
.chat { background: var(--c-primary); color: var(--c-on-dark); box-shadow: 0 0 0 2px var(--c-white), 0 6px 16px var(--c-shadow-1); }
@media (max-width: 559px) {
  /* 상단 고정 영역 축소: 메뉴 줄 숨김(섹션 탭이 대신함), 탭 한 줄 52px */
  :root { --ref-header-h: 60px; }
  .gnb__nav { display: none; }
  .tabs { height: 52px; min-height: 0 !important; }
  .tabs a { padding-top: 0 !important; padding-bottom: 0 !important; display: flex; align-items: center; justify-content: center; gap: 4px; }
  .tabs a b { display: inline; }
  /* S15 콜라주·S24 말풍선: PC 500 기준 배치를 화면 폭에 맞춰 통째로 축소해 가운데 정렬 (JS가 --fitk 계산) */
  .collage, .bubbles { width: 500px; zoom: var(--fitk, .7); margin-left: auto; margin-right: auto; }
  .collage { margin-top: 90px; }
}
@media (max-width: 559px) { .gnb { min-height: 0 !important; height: 60px; } }

/* 12n. 모바일 전체 점검 반영 */
/* S13: 봉투 이미지 아래쪽이 성과표 머리(제목·첫 줄)를 덮던 문제 → 표를 이미지 위로 */
[data-sec="S13-case1-petwear"] .panel, [data-sec="S13-case1-petwear"] .quote, [data-sec="S13-case1-petwear"] .torn { position: relative; z-index: 2; }
@media (max-width: 559px) {
  /* 화면 끝에 붙던 안내 문구 좌우 여백 */
  [data-sec="S16-audio-jingle"] .note,
  [data-sec="S20-review-carousel"] .review-note,
  [data-sec="S40-kit-note"] p { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
}
@media (max-width: 559px) { [data-sec="S16-audio-jingle"] { padding-top: 28px; } }

/* 12o. 태블릿·PC 점검 반영 */
/* 유의사항·푸터: 넓은 화면에서 글줄이 화면 끝까지 늘어지던 문제 → 헤더와 같은 1027 폭 안에 */
.notice { max-width: 1027px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
@media (min-width: 560px) { .notice { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1100px) { .footer { padding-left: max(32px, calc((100% - 1027px) / 2)); padding-right: max(32px, calc((100% - 1027px) / 2)); } }
/* S25: 회색 사진 자리 위 글자 가독성 → 사진 아래쪽을 배경색으로 서서히 어둡게 (실사진에도 자연스러움) */
.director__plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; pointer-events: none;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c-base) 88%, transparent) 70%, var(--c-base)); z-index: 1; }
.director__txt { position: relative; z-index: 2; }
/* KV 상단 배지가 투명 인물 레이어 아래에 깔리던 겹침 순서 */
.kv__pill { z-index: 4; }

/* 12p. S15 콜라주 모바일 재배치: iOS Safari에서 오른쪽으로 쏠리던 문제 → zoom·JS 보정 없이 CSS만으로 가운데 겹쳐 쌓기 */
@media (max-width: 559px) {
  .collage { zoom: 1 !important; translate: none !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1.05; margin: 64px auto 12px !important; }
  .collage .collage__item { left: 50% !important; }
  .collage .collage__item--1 { width: 78%; top: 0;   --x: calc(-50% - 18px); --r: -4deg; }
  .collage .collage__item--2 { width: 74%; top: 10%; --x: calc(-50% - 26px); --r: 3deg; }
  .collage .collage__item--4 { width: 48%; top: 30%; --x: calc(-50% + 46px); --r: 5deg; }
  .collage .collage__item--3 { width: 82%; top: 62%; --x: calc(-50% - 10px); --r: -2deg; }
  .collage .collage__item--5 { width: 84%; top: 86%; --x: calc(-50% - 4px); --r: -1.5deg; }
  .collage .collage__item img { width: 100%; max-width: 100%; height: auto; }
}

/* 12q: S30 팀 — 장준영 가운데. 모바일 2열: 장준영 위 가운데 / 박민정|강민정 / 정지웅|김태양 */
@media (max-width: 559px) {
  .team { display: grid !important; grid-template-columns: 1fr 1fr; }
  .team__card { width: auto !important; margin-top: 0 !important; }
  .team__card:nth-child(3) { order: -1; grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px) !important; }
  .team__card:nth-child(2) { order: 1; } .team__card:nth-child(4) { order: 2; }
  .team__card:nth-child(1) { order: 3; } .team__card:nth-child(5) { order: 4; }
}

/* 12r: S41 수강 성과후기 3장 */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; width: 100%; text-align: center; }
.proof__card { background: var(--c-white); color: var(--c-ink); border-radius: 10px; padding: 14px 10px 10px; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.proof__num { font: 800 26px/1.1 var(--font-display); letter-spacing: -0.04em; color: var(--c-primary); white-space: nowrap; }
.proof__lab { font: 700 12px/1.35 var(--font-sans); margin-top: 4px; word-break: keep-all; }
.proof__card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border: 1px solid #E4E8F0; border-radius: 6px; margin-top: 10px; }
.proof__who { font: 500 11px/1.3 var(--font-sans); color: var(--c-muted); margin-top: 6px; }
.proof__note { margin-top: 14px; opacity: .8; }
#S41-bonus1 { min-height: 0 !important; height: auto !important; }
#S41-bonus1 .col { padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 559px) {
  .proof { grid-template-columns: 1fr; gap: 10px; }
  .proof__card { display: grid; grid-template-columns: 1fr 120px; grid-template-rows: auto auto 1fr; column-gap: 12px; text-align: left; align-items: start; padding: 14px; }
  .proof__num, .proof__lab, .proof__who { grid-column: 1; }
  .proof__card img { grid-column: 2; grid-row: 1 / 4; margin-top: 0; }
  .proof__num { font-size: 28px; }
}
/* 12r-2: 캡처는 왼쪽 위(글 제목·숫자) 기준으로 자르기, 모바일 여백 */
.proof { box-sizing: border-box; }
.proof__card img { height: 170px !important; aspect-ratio: auto !important; object-fit: cover !important; object-position: left top !important; }
@media (max-width: 559px) {
  .proof { padding: 0 16px; }
  .proof__card { grid-template-columns: 1fr 132px; }
  .proof__card img { height: 104px !important; }
  .proof__note { padding: 0 20px; }
}
@media (max-width: 559px) { #S42-process .pillbar { margin-left: 16px; margin-right: 16px; padding: 10px 18px; } }
/* 12s: S45 비교 카드 — 넓은 화면에서 늘어나지 않게, 내용 높이에 맞춤 */
#S45-package-compare { min-height: 0 !important; height: auto !important; padding-bottom: 56px; }
#S45-package-compare .carousel__viewport { max-width: 840px; margin-left: auto; margin-right: auto; }
#S45-package-compare .carousel__cards { align-items: stretch; }
#S45-package-compare .pcard { min-height: 0 !important; height: 100%; padding: 30px 24px 32px; }
/* 12t: S41 성과후기 마퀴 — 왼쪽에서 오른쪽으로 흐름 */
#S41-bonus1 .col + .proofm { margin-top: 28px; }
.proofm { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.proofm__track { display: flex; width: max-content; animation: proofm-flow 70s linear infinite; }
.proofm:hover .proofm__track { animation-play-state: paused; }
.proofm__set > ul { display: flex; gap: 12px; padding: 4px 6px 4px; }
.proofm__card { flex: none; width: 210px; background: var(--c-white); color: var(--c-ink); border-radius: 10px; padding: 14px 12px 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.proofm__num { font: 800 26px/1.1 var(--font-display); letter-spacing: -0.04em; color: var(--c-primary); white-space: nowrap; }
.proofm__lab { font: 700 12px/1.35 var(--font-sans); margin-top: 4px; word-break: keep-all; min-height: 2.7em; display: flex; align-items: center; }
.proofm__img { display: block; width: 100%; height: 132px; margin-top: 8px; border: 1px solid #E4E8F0; border-radius: 6px; overflow: hidden; background: #fff; }
.proofm__img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.proofm__card--w .proofm__img { display: flex; align-items: center; padding: 6px; }
.proofm__card--w .proofm__img img { height: auto; object-fit: contain; }
.proofm__who { font: 500 11px/1.3 var(--font-sans); color: var(--c-muted); margin-top: 6px; }
@keyframes proofm-flow { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 559px) {
  .proofm__card { width: 176px; padding: 12px 10px 9px; }
  .proofm__num { font-size: 23px; }
  .proofm__img { height: 112px; }
  .proofm__track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
  .proofm { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .proofm__track { animation: none; }
  .proofm__set[aria-hidden="true"] { display: none; }
}
#S41-bonus1 .col:first-child { padding-bottom: 0; }
#S41-bonus1 .proofm { margin-top: 32px; }
#S41-bonus1 .proofm + .col { padding-top: 18px; }
