/* v1 에셋 보강: 원래의 섹션 순서, 색상, 폭, 캐러셀을 유지한다. */
.kv__layer-pic .real-portrait {
  inset: auto; left: 50%; bottom: 90px; transform: translateX(-50%);
  width: 320px; height: 390px; object-fit: contain; object-position: center bottom;
  filter: drop-shadow(0 12px 22px color-mix(in srgb,var(--c-base) 35%,transparent));
  mask-image: linear-gradient(to bottom,#000 90%,transparent 100%);
}
.director__plate .real-portrait {
  top: 65px; left: 50%; transform: translateX(-50%); width: 360px; height: 530px;
  object-fit: contain; object-position: center bottom;
  mask-image: linear-gradient(to bottom,#000 90%,transparent 100%);
}
img.gesture.real-portrait {
  width: 340px; height: 440px; object-fit: contain;
  margin: 30px auto 0; mask-image: linear-gradient(to bottom,#000 87%,transparent 100%);
}
.team__card img.real-portrait {
  width: 100%; height: 200px; object-fit: contain; object-position: center top;
  background: radial-gradient(ellipse at 50% 30%,var(--c-band),var(--c-base));
  filter: none;
}
.asset-video-frame { clip-path: none; border: 1px solid var(--c-on-dark-15); border-radius: 12px; overflow: hidden; background: var(--c-base-2); }
.asset-video-frame video.asset-video { display:block; width:100%; aspect-ratio:16/9; object-fit:contain; height:auto; background:var(--c-base-2); }
.asset-caption { color:var(--c-on-dark-60); font-size:11px; line-height:1.6; text-align:center; padding:8px 16px 0; margin:0; word-break:keep-all; }
#S17-case2-interview { padding-bottom:20px; }
#S22-youtube .asset-video-frame { width:310px; max-width:calc(100% - 32px); padding:0; margin:0 auto; }
#S22-youtube video.asset-video { aspect-ratio:9/16; max-height:550px; }
#S22-youtube { padding-bottom:30px; }
#S32-portfolio-carousel-B { padding-bottom:16px; }
.sample--document { height:171px; background:var(--c-soft); overflow:hidden; }
.document-preview { width:100%; height:100%; position:relative; display:block; border:0; padding:0; cursor:zoom-in; color:var(--c-ink); background:linear-gradient(135deg,var(--c-soft),var(--c-white)); text-align:left; }
.document-preview img { position:absolute; width:115px; height:164px; object-fit:contain; left:22px; top:14px; transform:rotate(-7deg); box-shadow:0 8px 18px var(--c-shadow-1); transition:transform .2s; }
.document-preview:hover img,.document-preview:focus-visible img { transform:rotate(-3deg) translateY(-4px); }
.document-title { position:absolute; left:156px; right:14px; top:43px; font-size:15px; font-weight:800; line-height:1.5; word-break:keep-all; }
.document-tag { position:absolute; left:156px; bottom:24px; font-size:10px; color:var(--c-primary); font-weight:700; }
.document-preview:focus-visible { outline:3px solid var(--c-pop); outline-offset:-3px; }
.document-dialog { border:1px solid var(--c-ink-20); border-radius:16px; padding:0; width:min(680px,92vw); max-height:90dvh; background:var(--c-surface); color:var(--c-ink); }
.document-dialog::backdrop { background:color-mix(in srgb,var(--c-base) 82%,transparent); }
.document-dialog__bar { display:flex; align-items:center; justify-content:space-between; gap:16px; position:sticky; top:0; background:var(--c-white); padding:16px 20px; border-bottom:1px solid var(--c-ink-20); }
.document-dialog__bar h2 { font-size:16px; line-height:1.4; }
.document-dialog__close { border:0; border-radius:7px; padding:10px 14px; min-height:44px; background:var(--c-primary); color:var(--c-white); white-space:nowrap; cursor:pointer; }
.document-dialog__image { width:calc(100% - 32px); height:auto; margin:16px; }
.document-dialog > p { margin:0 16px 20px; font-size:12px; text-align:center; }
html:has(.document-dialog[open]) { overflow:hidden; }
#S50-guerrilla-live .real-field { width:100%; height:470px; margin:32px auto 8px; position:relative; }
#S50-guerrilla-live .real-field figure { width:258px; background:var(--c-white); padding:0; border:6px solid var(--c-white); }
.real-field img { width:100%; height:165px; object-fit:cover; }
.real-field figcaption { font-size:11px; line-height:1.5; padding:7px 4px 4px; color:var(--c-ink); font-weight:600; }
#S50-guerrilla-live .real-field figure:nth-child(1) { left:0; top:0; transform:rotate(-4deg); z-index:2; }
#S50-guerrilla-live .real-field figure:nth-child(2) { right:0; top:34px; transform:rotate(4deg); }
#S50-guerrilla-live .real-field figure:nth-child(3) { left:18px; top:222px; transform:rotate(3deg); z-index:2; }
#S50-guerrilla-live .real-field figure:nth-child(4) { right:8px; top:245px; transform:rotate(-4deg); }
.real-classroom { width:100%; height:200px; object-fit:cover; }
@media(max-width:559px) {
 .kv__layer-pic .real-portrait { width:300px; height:365px; bottom:176px; }
 .director__plate .real-portrait { width:290px; height:390px; top:42px; }
 img.gesture.real-portrait { width:280px; height:370px; }
 .team__card img.real-portrait { height:150px; }
 #S22-youtube .asset-video-frame { width:260px; }
 #S22-youtube video.asset-video { max-height:462px; }
 #S50-guerrilla-live .real-field { width:calc(100% - 24px); height:390px; margin-top:26px; }
 #S50-guerrilla-live .real-field figure { width:55%; border-width:4px; }
 .real-field img { height:128px; }
 .real-field figcaption { font-size:10px; }
 #S50-guerrilla-live .real-field figure:nth-child(3) { left:6px; top:187px; }
 #S50-guerrilla-live .real-field figure:nth-child(4) { right:2px; top:211px; }
 .document-title { font-size:13px; left:145px; }
 .document-tag { left:145px; }
}
@media(prefers-reduced-motion:reduce) { .document-preview img { transition:none; } }
/* 실제 사진의 얼굴과 제목이 겹치지 않도록 같은 히어로 안에서 배치 조정 */
@media(min-width:560px) {
 .kv__layer-pic .real-portrait { left:calc(50% - 190px); width:300px; height:370px; bottom:92px; }
 .kv__name { transform:translateX(-320px); }
}
#S50-guerrilla-live .real-field + .note { margin-top:18px; padding:0 16px 28px; }
/* 기존 프로필 카드 사진 비율에 맞춰 높이 통일 */
.team__card img.real-portrait { height:auto; aspect-ratio:260 / 200; object-fit:cover; object-position:center top; }

/* Provided marketing source 19.png: display only its original photo region. */
.crowd-classroom { position:relative; aspect-ratio:670 / 500; }
.crowd-classroom img.classroom-confirmed { position:absolute; width:125.671642%; max-width:none; height:auto; left:-12.38806%; top:-65.4%; }

/* Aside browser QA: full-length portrait video and content-safe cards. */
#S17-case2-interview .asset-video-frame,
#S22-youtube .asset-video-frame { width:310px; max-width:calc(100% - 32px); margin:0 auto; }
#S17-case2-interview video.asset-video,
#S22-youtube video.asset-video { aspect-ratio:9/16; max-height:none; object-fit:contain; }
.bcard { height:auto; min-height:357px; }
.bcard__body { flex:1; padding-bottom:20px; }
.bcard .en { line-height:1.4; }
#S44-bonus2 .col { padding-bottom:28px; }
#S50-guerrilla-live h2 { padding-inline:20px; text-wrap:balance; overflow-wrap:anywhere; }
#S29-objection-a .qq, .ratio, .p-mon { line-height:1.3; }
@media(max-width:559px) {
 .tabs a { flex-direction:row; gap:4px; font-size:12px; }
 .tabs a br { display:none; }
 .chat { position:static; margin:16px auto 100px; }
 .buybar__panel { height:auto; min-height:64px; padding-left:12px; gap:8px; }
 .buybar__txt { flex:1; min-width:0; }
 .buybar__txt b { font-size:11px; }
 .buybar__txt span { font-size:10px; }
 .buybar__btn { padding-inline:12px; font-size:13px; }
 #S17-case2-interview .asset-video-frame,
 #S22-youtube .asset-video-frame { width:280px; }
 #S50-guerrilla-live h2 { font-size:24px; line-height:1.4; }
 #S50-guerrilla-live .note { white-space:normal; word-break:keep-all; }
 .document-title { left:132px; right:10px; font-size:12px; }
 .document-tag { left:132px; font-size:9px; }
 .document-preview img { left:12px; width:105px; }
 #S24-scope .bubbles { max-width:calc(100% / var(--fitk,.7)); }
}
/* Replace outdated five-day raster labels with current, readable course artwork. */
.course-visual { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:235px; padding:28px; overflow:hidden; color:var(--c-white); background:radial-gradient(ellipse at top right,var(--c-primary),var(--c-base) 75%); }
.course-visual>div { position:relative; z-index:1; }
.course-visual span { display:block; font-size:9px; letter-spacing:.1em; color:var(--c-accent); }
.course-visual strong { display:block; margin:14px 0; font:800 28px/1.2 var(--font-display); white-space:nowrap; }
.course-visual em { color:var(--c-pop); font-style:normal; }
.course-visual small { font-size:11px; white-space:nowrap; }
.course-visual>img { width:32%; height:auto; transform:rotate(9deg); box-shadow:0 12px 26px var(--c-shadow-1); }
.bcard .course-visual { min-height:171px; height:171px; flex:none; padding:16px; gap:10px; }
.bcard .course-visual strong { font-size:21px; margin:8px 0; }
.bcard .course-visual small { font-size:9px; }
@media(max-width:359px) { #price .course-visual { padding:20px; gap:12px; } #price .course-visual strong { font-size:24px; } }
@media(max-width:359px) {
 #coach .t-h2 .nobr { white-space:normal; }
 .document-preview img { left:10px; top:12px; width:82px; height:140px; }
 .document-title { left:102px; top:28px; font-size:11px; line-height:1.5; }
 .document-tag { left:102px; bottom:14px; font-size:8px; }
}
.bcard { height:100%; }
.bcard .course-visual { height:auto; min-height:0; aspect-ratio:313 / 171; }
.bcard .course-visual>img { max-height:150px; width:32%; object-fit:contain; }
/* Let the mobile hero disclaimer grow without colliding with the promise above it. */
@media(max-width:559px) {
 .kv__inner { height:auto; min-height:745px; padding-top:650px; }
 .kv__layer-pic .real-portrait { top:204px; bottom:auto; }
 .kv__name { top:540px; bottom:auto; }
 .kv__badges { top:592px; bottom:auto; }
 .kv__copy { position:relative; bottom:auto; }
 .kv__foot { position:relative; bottom:auto; padding:12px 16px 20px; }
}

/* Mobile / iPad visual review: larger readable cards, retained horizontal sequence. */
@media(min-width:560px) and (max-width:959px) {
 .carousel:not(.carousel--review) .carousel__card { flex-basis:calc((100% - 20px) / 2); }
 .carousel:not(.carousel--review) .carousel__viewport { scroll-snap-type:x proximity; scroll-padding:0 24px; }
 .carousel:not(.carousel--review) .carousel__card { scroll-snap-align:start; }
 .tabs a { flex-direction:row; gap:5px; }
 .tabs a br { display:none; }
 .tabs { height:60px; }
}
@media(max-width:559px) {
 .carousel:not(.carousel--review) .carousel__card { flex-basis:80%; }
 .carousel:not(.carousel--review) .carousel__viewport { scroll-snap-type:x proximity; scroll-padding-left:20px; }
 .carousel:not(.carousel--review) .carousel__card { scroll-snap-align:start; }
 .bcard__body { padding:16px; }
 .bcard .tags { line-height:1.6; }
}
@media(min-width:560px) and (max-width:1099px) {
 .chat { position:static; margin:20px auto 120px; }
 .buybar__panel { max-width:calc(100vw - 32px); }
}
/* Anchor destinations remain below the sticky navigation. */
.sec[id] { scroll-margin-top:calc(var(--ref-header-h) + var(--ref-tabs-h) + 16px); }
@media(min-width:560px) and (max-width:959px) { :root { --ref-tabs-h:60px; } }
@media(max-width:559px) { :root { --ref-tabs-h:52px; } }
@media(min-width:560px) and (max-width:959px) {
 .team { flex-wrap:wrap; gap:20px; max-width:760px; margin:auto; }
 .team__card { flex:0 0 calc((100% - 40px) / 3); width:auto; padding:12px; }
 .team__card:nth-child(even) { margin-top:0; }
 .team__card p { font-size:12px; line-height:1.5; }
}
/* Keep regenerated example titles and mockups fully visible in every frame. */
.proofm__img img.generated-example { object-fit: contain; object-position: center; }
.sample img.generated-example { aspect-ratio: 2688 / 1520; object-fit: contain; }
