/* =========================================================
   메인 3차 — A+ 첫 화면 + 새 섹션(젬마기술 · 3가지 이유 · 젬마소식)
   v2.css · heroes.css 위에 덧붙임
   ========================================================= */

/* ---------- 첫 화면 ---------- */
.hx-scroll { position: absolute; z-index: 6; left: 50%; bottom: calc(var(--cbar-h) + 22px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }
.hx-scroll i { width: 1px; height: 40px; background: linear-gradient(rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); transform-origin: top; animation: hxs 2.4s var(--ease) infinite; }
@keyframes hxs { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.is-shot .hx-scroll i { animation: none; }
.pre .hx-scroll { visibility: hidden; }
.hx-a2 .a-media .a-vid2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; }
.hx-a2 .a-vid2, .hx-a2 .a-stills img.tone { filter: brightness(.9); }

/* ---------- 젬마기술: 카드가 차례로 덮으며 쌓임 ---------- */
.gt { position: relative; background: var(--night); color: var(--white); padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 7vw, 110px); }
.gt__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.gt__idx { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.gt__idx span { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line-d); border-radius: 999px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.gtcard { position: sticky; top: calc(var(--gnb-h) + 14px); height: calc(100vh - var(--gnb-h) - var(--cbar-h) - 40px); height: calc(100svh - var(--gnb-h) - var(--cbar-h) - 40px); min-height: 540px; max-height: 780px; margin: 0 var(--pad) 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: #121a16; border: 1px solid var(--line-d); overflow: hidden; transform-origin: 50% 0; }
.gtcard:last-child { margin-bottom: 0; }
.gtcard__txt { position: relative; z-index: 1; display: flex; flex-direction: column; padding: clamp(26px, 3.2vw, 52px); min-height: 0; }
.gtcard__no { font-size: 14px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.gtcard__t { margin-top: 16px; font-size: clamp(32px, 3.3vw, 54px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.gtcard__t small { display: block; margin-top: 12px; font-size: clamp(15px, 1.2vw, 19px); font-weight: 600; letter-spacing: -.01em; color: rgba(255, 255, 255, .6); }
.gtcard__tag { margin-top: 20px; align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 4px 14px; border: 1px solid rgba(221, 187, 102, .55); border-radius: 999px; color: var(--gold); font-size: 13px; font-weight: 600; }
.gtcard__d { margin-top: 16px; font-size: clamp(14.5px, 1.05vw, 16.5px); line-height: 1.85; color: rgba(255, 255, 255, .72); max-width: 36em; }
.gtcard__d + .gtcard__d { margin-top: 10px; }
.gtcard__facts { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid var(--line-d); }
.gtcard__facts b { display: block; font-size: clamp(21px, 1.9vw, 32px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.gtcard__facts span { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .55); }
.gtcard__chips { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line-d); }
.gtcard__chips li { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, .06); border-radius: 2px; font-size: 14px; font-weight: 600; }
.gtcard__vis { position: relative; overflow: hidden; background: #0d1310; }
.gtcard__vis img { width: 100%; height: 100%; object-fit: cover; }
.gtcard__vis svg { position: absolute; left: 6%; top: 6%; width: 88%; height: 84%; }
.gtcard__vis--lab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 15, 13, .72), rgba(11, 15, 13, 0) 45%); }
.gtcard__vis .fr { position: absolute; z-index: 1; width: 26px; height: 26px; border: 0 solid rgba(255, 255, 255, .75); }
.gtcard__vis .fr1 { left: 22px; top: 22px; border-left-width: 1.5px; border-top-width: 1.5px; }
.gtcard__vis .fr2 { right: 22px; top: 22px; border-right-width: 1.5px; border-top-width: 1.5px; }
.gtcard__vis .fr3 { left: 22px; bottom: 22px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.gtcard__vis .fr4 { right: 22px; bottom: 22px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.gtcard__cap { position: absolute; z-index: 1; left: 36px; bottom: 34px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.gtcard__shade { position: absolute; inset: 0; z-index: 3; background: #0b0f0d; opacity: 0; pointer-events: none; }
/* GEMFACTOR: 원심분리 그림 */
.gf .o { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.gf .o2 { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; stroke-dasharray: 3 6; vector-effect: non-scaling-stroke; }
.gf .arc { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke; }
.gf .tube { fill: none; stroke: rgba(255, 255, 255, .78); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.gf .plasma { fill: rgba(221, 187, 102, .88); }
.gf .hub { fill: #121a16; stroke: rgba(255, 255, 255, .6); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.gf-steps .ln, .ai-tl .ln { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ai-tl .ln-on, .gf-steps .ln-on { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.gf-steps circle, .ai-tl circle { fill: #121a16; stroke: rgba(255, 255, 255, .45); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: fill .4s, stroke .4s; }
.gf-steps .st.on circle, .ai-tl .nd.on circle { fill: var(--gold); stroke: var(--gold); }
.gf-steps text, .ai-tl text { fill: rgba(255, 255, 255, .78); font-family: var(--sans); font-size: 14px; font-weight: 600; text-anchor: middle; }
/* AI 모발 진단: 정밀 스캔 + 타임라인 예측 */
.ai-field circle { fill: rgba(255, 255, 255, .26); transition: fill .5s; }
.ai-field circle.hit { fill: var(--gold); }
.ai-ret .c { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.ai-ret .x { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ai-keys { position: absolute; left: 6%; right: 6%; top: 5%; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-keys li { height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid var(--line-d); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .6); transition: color .4s, border-color .4s, background .4s; }
.ai-keys li.on { color: #0b0f0d; background: var(--gold); border-color: var(--gold); }
.ai-keys li.etc { border-style: dashed; }

/* ---------- 젬마가 좋은 3가지 이유 ---------- */
.why { position: relative; background: var(--off); color: var(--ink); padding: clamp(110px, 12vw, 170px) 0; }
.why__grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.why__item { position: relative; padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 40px) 0 0; }
.why__item + .why__item { padding-left: clamp(20px, 2.4vw, 40px); border-left: 1px solid var(--line-l); }
.why__no { font-size: 13px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.why__ic { margin-top: 28px; width: 58px; height: 58px; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why__ic circle[r="4"], .why__ic circle[r="3"] { fill: var(--green); }
.why__t { margin-top: 24px; font-size: clamp(21px, 1.7vw, 27px); font-weight: 700; letter-spacing: -.025em; }
.why__d { margin-top: 14px; font-size: 15px; line-height: 1.85; color: #4b5450; max-width: 30em; }

/* ---------- 젬마소식 ---------- */
.news { position: relative; background: var(--white); color: var(--ink); padding: clamp(80px, 9vw, 130px) 0 clamp(110px, 12vw, 170px); overflow: hidden; }
.news__mq { overflow: hidden; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); padding: 20px 0; margin-bottom: clamp(60px, 7vw, 100px); }
.news__mq .tr { display: inline-flex; white-space: nowrap; animation: mq 56s linear infinite; }
.news__mq span { display: inline-flex; align-items: center; font-size: clamp(20px, 2.1vw, 32px); font-weight: 600; letter-spacing: -.025em; color: var(--green); }
.news__mq span::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 clamp(26px, 3vw, 48px); border-radius: 50%; background: var(--gold); }
@keyframes mq { to { transform: translateX(-50%); } }
.is-shot .news__mq .tr { animation: none; }
.news__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(30px, 5vw, 100px); align-items: start; }
@media (min-width: 981px) { .news__grid { padding-right: calc(var(--pad) + 60px); } }
.btn--line { margin-top: 34px; height: 48px; border: 1px solid var(--line-l); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.news__list { border-top: 1px solid var(--ink); }
.news__list a { display: grid; grid-template-columns: 70px minmax(0, 1fr) 28px; align-items: center; gap: 18px; padding: 24px 4px; border-bottom: 1px solid var(--line-l); transition: background .3s, padding .3s var(--ease); }
.news__list a:hover { background: var(--off); padding-left: 14px; }
.news__list .cat { font-size: 13px; font-weight: 700; color: var(--green); }
.news__list .tt { font-size: clamp(16px, 1.25vw, 19px); font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.news__list .go { position: relative; width: 28px; height: 28px; border: 1px solid var(--line-l); border-radius: 50%; }
.news__list .go::after { content: ""; position: absolute; left: 8px; top: 9.5px; width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); }

/* ---------- 상담·오시는 길: 진료시간 · 정책 링크 ---------- */
.visit__info .hr { display: block; }
.visit__info .hr b { display: inline-block; min-width: 96px; font-weight: 500; opacity: .6; }
.visit__info .off { display: block; margin-top: 4px; font-size: 13.5px; opacity: .55; }
.m3 .foot { flex-wrap: wrap; }
.foot__links { order: 3; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
.foot__links a { color: rgba(255, 255, 255, .7); transition: color .3s; }
.foot__links a:hover { color: var(--white); }

/* ---------- 첫 방문 팝업: 포스터 + 제목 알약 + 다시 보지 않기 | 닫기 (실제 병원 홈페이지 방식) ---------- */
.pp { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.pp[hidden] { display: none; }
.pp__dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.pp__wrap { --pw: min(460px, 88vw, calc((100svh - 150px) * .8)); position: relative; width: var(--pw); }
.pp__pills { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pp__pillrow { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.pp__pillrow::-webkit-scrollbar { display: none; }
.pp__pillrow button { flex: none; height: 34px; padding: 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .2); border: 1.5px solid transparent; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.pp__pillrow button.on { background: rgba(0, 0, 0, .25); border-color: #fff; }
.pp__arr { flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #222; font-size: 20px; line-height: 1; padding-bottom: 2px; }
.pp__card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); }
.pp__card:focus { outline: none; }
.pp__view { overflow: hidden; }
.pp__track { display: flex; transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.pp__bar { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ececec; }
.pp__bar button { height: 54px; font-size: 15px; font-weight: 600; color: #555; }
.pp__bar button + button { border-left: 1px solid #ececec; }
.pp__bar button:hover { color: #111; }
/* 포스터 공통: 폭에 맞춰 글자 크기가 같이 줄어듦 */
.pst { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; overflow: hidden; font-size: calc(var(--pw) / 30); display: flex; flex-direction: column; }
.pst > * { flex-shrink: 0; }
.pst__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pst--ai::before, .pst--cell::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.pst--ai > :not(.pst__bg), .pst--cell > :not(.pst__bg) { position: relative; z-index: 2; }
.pst__row { margin-top: 1.1em; display: flex; justify-content: space-between; align-items: center; }
.pst__row img { height: 1.7em; width: auto; }
/* 1. 진료일정 달력 */
.pst--cal { background: #f6f4ee; color: #1b1f1d; padding: 2em 1.9em 1.5em; }
.pst--cal .pst__logo { height: 1.7em; width: auto; align-self: flex-start; }
.pst__eng { margin-top: 1.25em; font-size: .72em; font-weight: 700; letter-spacing: .34em; color: #b8962e; }
.pst--cal .pst__ttl { margin-top: .15em; font-size: 2.5em; font-weight: 800; letter-spacing: -.045em; color: var(--green); line-height: 1.15; }
.pst--cal .cal { margin-top: .9em; }
.pst--cal .cal__d span { height: 3.15em; }
.pst__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; font-size: .74em; color: #6b736f; }
.pst__foot b { font-size: 1.55em; font-weight: 800; color: var(--green); letter-spacing: -.01em; }
/* 2. 수상 */
.pst--award { background: radial-gradient(120% 85% at 50% 28%, #2b6c56 0%, #1f5744 45%, #133a2c 100%); color: #fff; text-align: center; align-items: center; padding: 2.2em 2em 2em; }
.pst__medal { position: relative; width: 15.5em; height: 12.9em; display: grid; place-items: center; }
.pst__medal .laurel { position: absolute; inset: 0; width: 100%; height: 100%; }
.pst__yr { position: relative; margin-top: 1.05em; font-size: 3.05em; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #e6c875; }
.pst--award .pst__ttl { margin-top: .7em; font-size: 2.35em; font-weight: 800; letter-spacing: -.045em; }
.pst__gold { margin-top: .25em; font-size: 1.3em; font-weight: 700; color: #e6c875; }
.pst__rule { width: 2.4em; height: 2px; background: rgba(230, 200, 117, .7); margin: 1.3em 0 1.1em; }
.pst--award .pst__sub { font-size: .98em; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.pst__brand { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: .45em; }
.pst__brand img { height: 1.9em; width: auto; }
.pst__brand span { font-size: .7em; letter-spacing: .12em; color: rgba(255, 255, 255, .72); }
/* 3. AI 모발 진단 */
.pst--ai { color: #fff; padding: 2.1em 1.9em 1.8em; }
.pst--ai::before { background: linear-gradient(180deg, rgba(8, 14, 11, .86) 0%, rgba(8, 14, 11, .45) 48%, rgba(8, 14, 11, .92) 100%); }
.pst__tag { align-self: flex-start; font-size: .76em; font-weight: 800; letter-spacing: .05em; padding: .45em .95em; border: 1.5px solid #e6c875; color: #e6c875; border-radius: 999px; }
.pst--ai .pst__ttl { margin-top: .75em; font-size: 2.55em; font-weight: 800; line-height: 1.18; letter-spacing: -.05em; }
.pst--ai .pst__sub { margin-top: .75em; font-size: .9em; font-weight: 600; color: rgba(255, 255, 255, .82); }
.pst__box { margin-top: auto; display: grid; gap: .45em; }
.pst__box li { display: flex; align-items: baseline; gap: .55em; padding: .7em .95em; background: rgba(255, 255, 255, .1); border-left: 3px solid #e6c875; font-size: .88em; font-weight: 600; }
.pst__box b { font-size: 1.3em; font-weight: 800; color: #e6c875; letter-spacing: -.02em; }
.pst__cta { font-size: .92em; font-weight: 700; color: rgba(255, 255, 255, .85); }
.pst__cta b { font-size: 1.25em; font-weight: 800; color: #fff; margin-left: .2em; }
/* 4. GEMCELL */
.pst--cell { color: #fff; padding: 2.1em 1.9em 1.8em; }
.pst--cell .pst__bg { filter: brightness(.62) saturate(.85); }
.pst--cell::before { background: linear-gradient(180deg, rgba(8, 14, 11, .55) 0%, rgba(8, 14, 11, .3) 40%, rgba(8, 14, 11, .92) 100%); }
.pst__badge { align-self: flex-start; font-size: .8em; font-weight: 800; padding: .5em 1em; background: #e6c875; color: #143a2d; border-radius: 2px; }
.pst__word { margin-top: .5em; font-size: 4em; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.pst--cell .pst__sub { margin-top: .35em; font-size: 1.1em; font-weight: 600; color: rgba(255, 255, 255, .88); }
.pst__nums { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.pst__nums div { padding-top: .75em; border-top: 1.5px solid rgba(230, 200, 117, .75); }
.pst__nums b { display: block; font-size: 1.85em; font-weight: 800; color: #e6c875; letter-spacing: -.02em; }
.pst__nums span { display: block; margin-top: .35em; font-size: .66em; line-height: 1.5; color: rgba(255, 255, 255, .78); }

/* ---------- 진료일정 달력 (팝업 · 오시는 길 공통) ---------- */
.cal__w, .cal__d { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal__w span { padding: .5em 0; font-size: .78em; font-weight: 700; color: #6b736f; border-bottom: 1.5px solid var(--green); }
.cal__w .sun { color: #cf4339; } .cal__w .sat { color: #b08a26; }
.cal__d span { height: 2.6em; display: flex; flex-direction: column; align-items: center; justify-content: center; border-bottom: 1px solid #e2dfd4; }
.cal__d b { width: 1.75em; height: 1.75em; display: grid; place-items: center; border-radius: 50%; font-size: .92em; font-weight: 700; font-variant-numeric: tabular-nums; }
.cal__d i { font-style: normal; font-size: .52em; font-weight: 700; line-height: 1.2; color: #8a918d; }
.cal__d .off b { background: #cf4339; color: #fff; }
.cal__d .off i { color: #cf4339; }
.cal__d .sat b { color: #a37f1f; box-shadow: inset 0 0 0 1.5px #d9b65a; }
.cal__d .sat i { color: #a37f1f; }
.cal__d .today b { outline: 2px solid var(--green); outline-offset: 2px; }
.cal__lg { margin-top: .9em; display: flex; flex-wrap: wrap; gap: .35em 1em; font-size: .68em; font-weight: 600; color: #4c5450; }
.cal__lg i { display: inline-block; width: .9em; height: .9em; border-radius: 50%; margin-right: .4em; vertical-align: -.12em; }
.cal__lg .off { background: #cf4339; } .cal__lg .sat { box-shadow: inset 0 0 0 1.5px #d9b65a; } .cal__lg .day { background: #cdd3d0; }
.visit__right { min-width: 0; }
.vcal { margin-top: 26px; padding: 20px 22px 18px; border: 1px solid var(--line-d); background: rgba(255, 255, 255, .02); }
.vcal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.vcal__head b { font-size: 15px; font-weight: 700; }
.vcal__nav { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vcal__nav button { width: 28px; height: 28px; border: 1px solid var(--line-d); border-radius: 50%; color: var(--white); font-size: 16px; line-height: 1; padding-bottom: 2px; }
.vcal__nav button:disabled { opacity: .3; cursor: default; }
.cal--dark { font-size: 15px; }
.cal--dark .cal__w span { color: rgba(255, 255, 255, .55); border-bottom-color: rgba(255, 255, 255, .28); }
.cal--dark .cal__w .sun { color: #f08b82; } .cal--dark .cal__w .sat { color: #e6c875; }
.cal--dark .cal__d span { border-bottom-color: rgba(255, 255, 255, .08); }
.cal--dark .cal__d i { color: rgba(255, 255, 255, .45); }
.cal--dark .cal__d .sat b { color: #e6c875; }
.cal--dark .cal__d .sat i { color: #e6c875; }
.vcal .cal__lg { font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.vcal .cal__lg .day { background: rgba(255, 255, 255, .35); }
@media (max-width: 980px) { .vcal { padding: 16px 14px; } .cal--dark { font-size: 14px; } }

@media (max-width: 980px) {
  body.m3 .hx-copy { bottom: calc(var(--cbar-h) + clamp(30px, 6vh, 64px)) !important; }
  .hx-scroll { display: none; }
  .gt__head { flex-direction: column; align-items: flex-start; }
  .gt__idx { justify-content: flex-start; }
  .gtcard { position: relative; top: auto; height: auto; min-height: 0; max-height: none; grid-template-columns: 1fr; margin-bottom: 20px; }
  .gtcard__vis { aspect-ratio: 4 / 3.3; order: -1; }
  .gtcard__facts { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line-l); }
  .news__grid { grid-template-columns: 1fr; }
  .news__list a { grid-template-columns: 46px minmax(0, 1fr) 24px; gap: 12px; padding: 18px 0; }
}
@media (prefers-reduced-motion: reduce) { .news__mq .tr, .hx-scroll i { animation: none; } }

/* =========================================================
   메인 4차 — 첫 화면 카피 · 성과 · 전후사진 잠금 · 기술 합침 · 원장 자동 넘김 · 오시는 길 · 간략한 하단
   ========================================================= */

/* ---------- 첫 화면: 카피 크게, '젬마니까' 금색 ---------- */
.m4 .hx-copy { max-width: none; }
.m4 .hx-title { font-size: clamp(36px, 4.4vw, 76px); line-height: 1.24; letter-spacing: -.04em; }
.m4 .hx-title .gm { font-style: normal; color: var(--white); background: var(--green); padding: 0 .14em; margin-left: .04em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.m4.gm-gold .hx-title .gm, .m4.gm-g .hx-title .gm { background: none; padding: 0; margin-left: 0; color: var(--gold); }
.m4.gm-g .hx-title .gm { color: #7dc6aa; }

/* ---------- 2. 젬마의 성과: 선언 문장 + 숫자 묶음 카드 ---------- */
.proof { position: relative; background: var(--white); color: var(--ink); padding: clamp(84px, 8.5vw, 128px) 0 clamp(60px, 6vw, 96px); }
.proof__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(40px, 5vw, 64px); }
.proof__t { margin-top: 16px; font-size: clamp(30px, 3.3vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.32; }
.proof__t .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.proof__t .ln > span { display: inline-block; }
.proof__t em { font-style: normal; color: var(--green); }
.proof__note { font-size: 13px; color: var(--mute); white-space: nowrap; }
.proof__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr); grid-template-rows: minmax(260px, auto) minmax(260px, auto); gap: 18px; }
.pcard { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(24px, 2.4vw, 36px); display: flex; flex-direction: column; }
.pcard--photo { grid-row: 1 / 3; color: var(--white); background: #10251d; }
.pcard--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.pcard--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9, 26, 19, .62) 0%, rgba(9, 26, 19, .22) 42%, rgba(9, 26, 19, .88) 100%); }
.pcard--photo > :not(img) { position: relative; z-index: 2; }
.pcard--green { background: var(--green); color: var(--white); }
.pcard--light { background: #edf3f0; }
.pcard--wide { grid-column: 2 / 4; background: var(--off); }
.pcard__n { display: flex; align-items: baseline; font-size: clamp(46px, 4.4vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.pcard__n small { font-size: .4em; font-weight: 700; margin-left: .14em; letter-spacing: 0; }
.pcard__b { margin-top: auto; padding-top: 34px; }
.pcard__b h3 { font-size: clamp(18px, 1.4vw, 22px); font-weight: 700; letter-spacing: -.02em; }
.pcard__b p { margin-top: 8px; font-size: 14px; line-height: 1.7; opacity: .75; }
.pcard__go { position: absolute; right: clamp(20px, 2vw, 30px); top: clamp(20px, 2vw, 30px); width: 56px; height: 56px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .35s var(--ease); }
.pcard__go::after { content: ""; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: translate(-2px, 1px) rotate(45deg); }
.pcard__go:hover { transform: translateX(4px); }
.pcard--wide .pcard__go { box-shadow: inset 0 0 0 1px var(--line-l); }
.pcard--wide .pcard__b { max-width: 44%; }
.pcard__tl { position: absolute; right: clamp(24px, 2.4vw, 36px); bottom: clamp(30px, 3vw, 42px); width: 50%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; }
.pcard__tl::before, .pcard__tl .tl-on { content: ""; position: absolute; left: 10%; right: 10%; top: 5px; height: 2px; background: #dde2dd; }
.pcard__tl .tl-on { background: var(--green); transform-origin: left center; }
.pcard__tl span { position: relative; padding-top: 26px; font-size: 12px; line-height: 1.5; color: var(--mute); white-space: nowrap; }
.pcard__tl span::before { content: ""; position: absolute; left: 50%; top: 0; width: 12px; height: 12px; margin-left: -6px; box-sizing: border-box; border-radius: 50%; background: var(--off); border: 2px solid var(--green); }
.pcard__tl b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pcard__tl .now::before { background: var(--green); box-shadow: 0 0 0 6px rgba(31, 87, 68, .14); }
.pcard__tl .now b { color: var(--green); }

/* ---------- 3. 전후사진: 사례 정보(촬영일·부위·모수·경과일) + 주의 문구 ---------- */
.ba .bacard__dt { position: absolute; right: 6px; z-index: 2; height: 22px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px; border-radius: 4px; background: rgba(17, 21, 19, .74); color: var(--white); font-size: 10.5px; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ba .bacard__dt.is-b { top: 6px; }   /* 전(위쪽 사진) 오른쪽 위 — 가운데 BEFORE·AFTER 글자와 겹치지 않게 */
.ba .bacard__dt.is-a { bottom: 6px; }   /* 후(아래쪽 사진) 오른쪽 아래 */
.m4 .ba .bacard figcaption { display: block; }
.m4 .ba .bacard figcaption b { display: block; color: var(--green); font-size: 16px; letter-spacing: -.02em; }
.m4 .ba .bacard figcaption span { display: block; margin-top: 3px; color: #4b5450; font-size: 13px; }
.ba .bacard--more .bacard__ph { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(24px, 2.4vw, 36px); background: var(--green); color: var(--white); border-radius: 2px; transition: background .3s; }
.ba .bacard--more .bacard__ph:hover { background: #173d2d; }
.ba .bacard--more .mt { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.ba .bacard--more .arr { width: 30px; }
.ba .bacard--more .ms { font-size: 13px; opacity: .72; }
.ba__note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-l); display: grid; gap: 2px; }
.ba__note li { position: relative; padding-left: 18px; font-size: 12.5px; line-height: 1.8; color: var(--mute); }
.ba__note li::before { content: "※"; position: absolute; left: 0; top: 0; }

/* ---------- 4. 젬마의원의 기술: 진단 · 채취 · 생착 · 재생 ---------- */
.tk { position: relative; background: var(--off); color: var(--ink); padding: clamp(80px, 8vw, 120px) 0; }
.tk__head { margin-bottom: clamp(36px, 4.5vw, 60px); }
.tk__body { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 70px); align-items: stretch; }
.tk__list { border-top: 1px solid var(--ink); align-self: start; }
.tk__list > li { position: relative; border-bottom: 1px solid var(--line-l); }
.tk__list button { position: relative; width: 100%; display: grid; grid-template-columns: 40px 56px minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 22px 0; text-align: left; }
.tk__list em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.tk__list .k { font-size: 13px; font-weight: 700; color: #8a938f; }
.tk__list b { font-size: clamp(19px, 1.5vw, 24px); font-weight: 700; letter-spacing: -.025em; color: #98a19c; transition: color .3s; }
.tk__list li.on b, .tk__list button:hover b { color: var(--ink); }
.tk__list .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); transform-origin: left center; transform: scaleX(0); }
.tk__txt { display: none; padding: 0 0 26px 104px; }
.tk__list li.on .tk__txt { display: block; }
.tk__txt p { font-size: 15px; line-height: 1.8; color: #4b5450; }
.tk__txt p.lead { margin-bottom: 6px; font-size: 16.5px; font-weight: 700; line-height: 1.65; color: var(--ink); }
.tk__txt .chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tk__txt .chips li { height: 32px; padding: 0 13px; display: inline-flex; align-items: center; background: #e3ece7; color: var(--green); border-radius: 999px; font-size: 13px; font-weight: 700; }
.tk__stage { position: relative; min-height: 560px; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 90% at 28% 18%, #2a6450 0%, #1b4b3b 52%, #102f26 100%); }
.tk__vis { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.tk__vis.on { opacity: 1; visibility: visible; }
.tk__vis > svg { position: absolute; left: 7%; top: 10%; width: 86%; height: 82%; }
.tk__vis > svg.dl { left: 15%; top: 13%; width: 70%; height: 74%; }
.tk__vis .ai-keys { top: 6%; }
.fx .zone { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .28); stroke-width: 1; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.fx .zl { fill: rgba(255, 255, 255, .7); font-family: var(--sans); font-size: 14px; font-weight: 600; }
.fx .fl { fill: #e6c875; font-family: var(--sans); font-size: 15px; font-weight: 700; text-anchor: middle; }
.fx .fus circle { fill: rgba(255, 255, 255, .58); }
.fx .marks circle { fill: none; stroke: rgba(230, 200, 117, .65); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.fx .tray { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fx .picked circle { fill: #e6c875; }
.fx .punch .o { fill: none; stroke: #e6c875; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.fx .punch .i { fill: none; stroke: rgba(230, 200, 117, .55); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.dl__bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.dl__arc { fill: none; stroke: #e6c875; stroke-width: 10; }
.dl__v { fill: var(--white); font-family: var(--sans); font-size: 66px; font-weight: 300; letter-spacing: -2px; }
.dl__u { font-size: 26px; font-weight: 500; }
.dl__k { fill: rgba(255, 255, 255, .72); font-family: var(--sans); font-size: 15px; font-weight: 600; }

/* ---------- 5. 원장 8인: 자동으로 넘어감 ---------- */
.dk { position: relative; background: var(--white); color: var(--ink); padding: clamp(80px, 8vw, 120px) 0; overflow: hidden; }
.dk__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(30px, 4vw, 52px); }
.dk__d { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--mute); }
.dk__view { padding-left: var(--pad); }
.dk__track { display: flex; gap: clamp(12px, 1.4vw, 22px); will-change: transform; }
.dk .doc { width: clamp(220px, 21vw, 300px); }
.dk .doc__ph img { height: 100%; }

/* ---------- 7. 오시는 길: 약도 모션그래픽 ---------- */
.loc { position: relative; background: var(--white); color: var(--ink); padding: clamp(64px, 6vw, 96px) 0 clamp(80px, 8vw, 116px); }
.m4 .ba { padding: clamp(60px, 6vw, 96px) 0 clamp(80px, 8vw, 120px); }
.m4 .why { padding: clamp(80px, 8vw, 120px) 0; }
.m4 .news { padding: clamp(64px, 6.5vw, 100px) 0 clamp(64px, 6vw, 96px); }
.loc__head { margin-bottom: clamp(32px, 4vw, 52px); }
.loc__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.loc__map { position: relative; min-height: 560px; border-radius: 24px; overflow: hidden; background: #edefea; }
.loc__tag { position: absolute; z-index: 2; left: 20px; top: 18px; height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--white); font-size: 12.5px; font-weight: 700; color: var(--mute); }
.map { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.map .blk { fill: #e1e4de; }
.map .blk--g { fill: #d3e5da; stroke: rgba(31, 87, 68, .55); stroke-width: 1.5; }
.map .rd { fill: none; stroke: var(--white); stroke-width: 30; }
.map .rd2 { stroke-width: 14; }
.map .rdl { fill: #8f9893; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.map .route { fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; }
.map .stn__o { fill: var(--white); stroke: #ef7c1c; stroke-width: 3; }
.map .stn__i { fill: #ef7c1c; }
.map .stn text { fill: var(--white); font-family: var(--sans); font-size: 15px; font-weight: 800; }
.map .exit rect { fill: #4f5a55; }
.map .exit text { fill: var(--white); font-family: var(--sans); font-size: 13px; font-weight: 800; }
.map .lbl-m rect { fill: var(--white); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .1)); }
.map .lbl-m text { fill: var(--ink); font-family: var(--sans); font-size: 15px; font-weight: 700; }
.map .lbl-m--k rect { fill: var(--green); }
.map .lbl-m--k text { fill: var(--white); font-size: 17px; font-weight: 800; }
.map .lbl-m--k text.s { fill: rgba(255, 255, 255, .78); font-size: 12px; font-weight: 600; }
.map .walker { fill: var(--green); stroke: var(--white); stroke-width: 3; }
.map .pin .ring { fill: var(--white); stroke: var(--gold); stroke-width: 4; }
.map .pin .dot { fill: var(--green); }
.map .pin .pulse { fill: rgba(221, 187, 102, .35); }
.map .nmark path { fill: #8f9893; }
.map .nmark text { fill: #8f9893; font-family: var(--sans); font-size: 12px; font-weight: 800; }
.loc__dl { border-top: 1px solid var(--ink); }
.loc__dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-l); font-size: 15px; line-height: 1.7; }
.loc__dl dt { color: var(--mute); font-size: 14px; }
.loc__dl .hr { display: block; }
.loc__dl .hr b { display: inline-block; min-width: 96px; font-weight: 500; color: var(--mute); }
.loc__dl .off { display: block; margin-top: 2px; font-size: 13px; color: var(--mute); }
.loc .vcal { margin-top: 22px; border-color: var(--line-l); background: transparent; }
.loc .vcal__nav button { border-color: var(--line-l); color: var(--ink); }
.loc .cal { font-size: 15px; }
.loc .vcal .cal__lg { color: #4c5450; }
.loc .vcal .cal__lg .day { background: #cdd3d0; }
.loc__btns { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc__btns .btn { margin: 0; height: 54px; justify-content: center; }
.loc .btn--g { background: var(--green); color: var(--white); }
.loc .btn--g:hover { background: #173d2d; }
.loc .btn--line { border: 1px solid var(--line-l); color: var(--ink); }

/* ---------- 하단: 간략하게 ---------- */
.ft { position: relative; background: #1b211e; color: rgba(255, 255, 255, .58); padding: 34px 0 calc(var(--cbar-h) + 34px); font-size: 13px; }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ft__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft__links a { color: rgba(255, 255, 255, .72); transition: color .3s; }
.ft__links a:hover { color: var(--white); }
.ft__links b { color: var(--white); font-weight: 700; }
.ft__top img { height: 26px; width: auto; opacity: .9; }
.ft__info { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 0; line-height: 1.8; }
.ft__info span + span::before { content: ""; display: inline-block; width: 1px; height: 10px; margin: 0 12px; background: rgba(255, 255, 255, .22); vertical-align: -1px; }
.ft__copy { margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .38); }

@media (max-width: 980px) {
  .m4 .hx-title { font-size: clamp(26px, 8.2vw, 36px); }
  .proof__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .proof__t { word-break: keep-all; text-wrap: balance; }
  .proof__t .ln > span { text-wrap: balance; }
  .proof__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 12px; }
  .pcard { min-height: 0; border-radius: 18px; padding: 22px 20px; }
  .pcard--photo { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .pcard--wide { grid-column: 1 / -1; }
  .pcard__n { font-size: 44px; }
  .pcard--green .pcard__n, .pcard--light .pcard__n { font-size: 34px; }
  .pcard__go { width: 40px; height: 40px; right: 16px; top: 16px; }
  .pcard__go::after { width: 8px; height: 8px; }
  .pcard__b { padding-top: 28px; }
  .pcard__b h3 { font-size: 16px; }
  .pcard__b p { font-size: 12.5px; line-height: 1.6; }
  .pcard--wide .pcard__b { max-width: none; }
  .pcard__tl { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 26px; }
  .pcard__tl span { font-size: 11px; }
  .pcard__tl b { font-size: 13px; }
  .m4 .ba .ba__head { flex-wrap: wrap; align-items: flex-end; }
  .m4 .ba__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ba__note li { font-size: 12px; }
  .tk__body { grid-template-columns: 1fr; }
  .tk__stage { order: -1; min-height: 0; aspect-ratio: 1 / 1; }
  .tk__vis > svg { left: 2%; top: 9%; width: 96%; height: 86%; }
  .tk__vis[data-i="0"] > svg { top: 14%; height: 83%; }
  .tk__vis > svg.dl { left: 10%; top: 9%; width: 80%; height: 82%; }
  .tk .gf-steps text, .tk .ai-tl text { font-size: 23px; }
  .tk .fx .zl { font-size: 22px; }
  .tk .fx .fl { font-size: 24px; }
  .tk .dl__k { font-size: 22px; }
  .tk .ai-keys li { height: 27px; padding: 0 10px; font-size: 11.5px; }
  .tk__txt { padding-left: 0; }
  .tk__list button { grid-template-columns: 34px 48px minmax(0, 1fr); }
  .dk .doc { width: 64vw; }
  .dk__ctrl { display: flex; }
  .loc__grid { grid-template-columns: 1fr; }
  .loc__map { min-height: 0; aspect-ratio: 470 / 552; border-radius: 18px; }
  .loc__tag { left: auto; right: 14px; top: 14px; }
  .map .lbl-m text { font-size: 18px; }
  .map .lbl-m--k text { font-size: 21px; }
  .map .lbl-m--k text.s { font-size: 14.5px; }
  .ft__top { flex-direction: column-reverse; align-items: flex-start; }
  .ft__info { flex-direction: column; }
  .ft__info span + span::before { display: none; }
}

/* =========================================================
   메인 5차 — 회색 작은 라벨 + 굵은 고딕 큰 제목(AI 템플릿 느낌) 대신
   명조(Noto Serif KR) 가운데 정렬 제목 · 섹션 리듬(웜화이트 / 진한 그린) · 수상·언론 보도 썸네일
   (레퍼런스: 모제림 명조 가운데 제목, 봄온·세계로탑 세리프 디스플레이 + 브랜드 색 강조)
   ========================================================= */
:root { --serif: "Noto Serif KR", "Nanum Myeongjo", AppleMyungjo, "Batang", serif; --warm: #f6f5f1; --ink2: #18201c; --body: #4d5651; --deep: #163a2d; }

/* ---------- 제목 체계 ---------- */
.m5 .t5 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.45; letter-spacing: -.02em; color: var(--ink2); text-align: center; word-break: keep-all; }
.m5 .t5 em { font-style: normal; font-weight: 600; color: var(--green); }
.m5 .d5 { margin-top: 14px; font-size: 16px; line-height: 1.75; color: var(--body); text-align: center; }

/* ---------- 첫 화면 카피: 명조 ---------- */
.m5 .hx-title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.9vw, 66px); line-height: 1.34; letter-spacing: -.025em; }
.m5 .hx-title .br { font-weight: 400; }
.m5 .hx-title .gm { padding: 0 .16em .02em; border-radius: 3px; }

/* ---------- 2. 젬마의 성과 ---------- */
.m5 .proof__head { display: block; text-align: center; margin-bottom: clamp(40px, 4.5vw, 64px); }
.m5 .proof__t { margin: 0; font-size: clamp(28px, 2.6vw, 42px); font-weight: 500; letter-spacing: -.02em; line-height: 1.45; }
.m5 .proof__t em { color: var(--green); }
.m5 .pcard { border-radius: 8px; }
.m5 .pcard__n { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
.m5 .pcard__n small { font-family: var(--sans); font-weight: 600; font-size: .3em; margin-left: .22em; }
.m5 .pcard__b h3 { font-weight: 600; }
.m5 .proof__foot { margin-top: 16px; text-align: right; font-size: 13px; color: var(--mute); }

/* ---------- 3. 전후사진 ---------- */
.m5 .ba { background: var(--warm); }
.m5 .ba__head { display: block; text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.m5 .ba__foot { justify-content: space-between; }
.m5 .ba__note { justify-items: center; text-align: center; border-top: 0; padding-top: 4px; }
.m5 .ba__note li { padding-left: 0; }
.m5 .ba__note li::before { position: static; margin-right: 6px; }

/* ---------- 4. 의료진: 진한 그린 바탕 ---------- */
.m5 .dk { background: var(--deep); color: var(--white); }
.m5 .dk .t5 { color: var(--white); }
.m5 .dk .t5 em { color: var(--gold); }
.m5 .dk .d5 { color: rgba(255, 255, 255, .72); }
.m5 .dk__head { display: block; text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.m5 .dk .doc__ph { background: #dfe3e1; }
.m5 .dk .doc__cap { border-top-color: rgba(255, 255, 255, .26); }
.m5 .dk .doc__cap b { font-family: var(--serif); font-weight: 600; color: var(--white); }
.m5 .dk .doc__cap span { color: rgba(255, 255, 255, .62); }
.m5 .dk__foot { margin-top: 30px; display: flex; justify-content: flex-end; }
.m5 .dk .ba__ctrl button { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.m5 .dk .ba__ctrl button:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------- 5. 수상 · 언론 보도: 기사마다 썸네일 ---------- */
.nw { position: relative; background: var(--white); color: var(--ink); padding: clamp(80px, 8vw, 120px) 0; }
.nw__head { margin-bottom: clamp(36px, 4vw, 56px); }
.nw__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3vw, 46px) clamp(18px, 2vw, 28px); }
.nw__grid a { display: block; }
.nw__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #eceeeb; }
.nw__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .8s var(--ease); }
.nw__grid a:hover .nw__ph img { transform: scale(1.04); }
.nw__cat { position: absolute; left: 12px; top: 12px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 3px; background: var(--white); color: var(--green); font-size: 12px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.nw__t { margin-top: 16px; font-size: 17px; font-weight: 500; line-height: 1.55; letter-spacing: -.02em; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.nw__grid a:hover .nw__t { color: var(--green); }
.nw__more { margin-top: clamp(40px, 4vw, 56px); text-align: center; }
.nw__all { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 26px; border: 1px solid var(--line-l); font-size: 15px; font-weight: 600; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.nw__all:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- 6. 오시는 길 ---------- */
.m5 .loc { background: var(--warm); }
.m5 .loc__head { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.m5 .loc__map { border-radius: 8px; background: #eceee9; }
.m5 .loc .vcal { background: var(--white); }

@media (max-width: 980px) {
  .m5 .hx-title { font-size: clamp(24px, 7vw, 32px); }
  .m5 .t5, .m5 .proof__t { font-size: clamp(23px, 6.2vw, 30px); }
  .m5 .d5 { font-size: 14.5px; }
  .m5 .proof__foot { text-align: left; }
  .m5 .dk__foot { justify-content: center; }
  .nw__grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .nw__ph { border-radius: 4px; }
  .nw__t { margin-top: 10px; font-size: 14.5px; }
  .nw__cat { left: 8px; top: 8px; height: 22px; padding: 0 8px; font-size: 11px; }
}
