/* 우인 랜딩 공통 스타일
   원칙: 장식 없이 실물(영상·사진)과 글로만. 글꼴 하나, 흰 바탕, 빨강은 버튼과 강조 한 줄에만. */
:root {
  --ink: #111111;
  --text: #1E1E1E;
  --muted: #6A6A6A;
  --line: #E4E4E4;
  --soft: #F6F5F3;
  --red: #D7261E;
  --bar-h: 62px;
  --top-h: 104px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: #fff;
  font-family: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere;
  padding-bottom: var(--bar-h);
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: .5rem 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.75rem; border: 1px solid var(--red); border-radius: 2px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #B81E17; border-color: #B81E17; }
.btn-sm { min-height: 40px; padding: 0 1rem; font-size: .9375rem; }
.btn-line { background: #fff; color: var(--text); border-color: #BDBDBD; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-line:hover { background: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.more { display: inline-block; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.more:hover { color: var(--red); }
.fine { margin-top: 1.25rem; font-size: .8125rem; color: var(--muted); }
.todo { display: block; margin: 1rem 0; padding: .75rem 1rem; border: 1px dashed #C99A00; background: #FFF9E0; color: #6B5200; font-size: .875rem; line-height: 1.5; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.top-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; min-height: 60px; }
.nav { order: 3; flex: 0 0 calc(100% + 2.5rem); width: calc(100% + 2.5rem); min-width: 0; overflow: hidden; margin-inline: -1.25rem; border-top: 1px solid var(--line); }
.nav ul { display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; padding-inline: 1.25rem; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: .625rem 0; white-space: nowrap; text-decoration: none; font-size: .9375rem; font-weight: 600; color: #444; }
.nav a:hover, .nav a.is-on { color: var(--red); }
@media (min-width: 1000px) {
  :root { --top-h: 64px; }
  .top-inner { flex-wrap: nowrap; min-height: 64px; }
  .nav { order: 0; flex: 1; width: auto; margin: 0 0 0 2rem; border: 0; }
  .nav ul { gap: 1.75rem; padding: 0; }
  .nav a { padding: .5rem 0; }
}
.logo { display: flex; align-items: baseline; gap: .625rem; text-decoration: none; min-width: 0; }
.logo strong { font-size: 1.125rem; white-space: nowrap; }
.logo { align-items: center; }
.logo-mark { display: block; height: 22px; width: auto; color: #26210B; flex: none; }
.foot-logo .logo-mark { height: 26px; color: #fff; margin-bottom: 1rem; }
.logo span { font-size: .8125rem; color: var(--muted); white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 1.25rem; }
.top-tel { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

/* 섹션 공통 */
.sec { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.sec-soft { background: var(--soft); }
.head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head h2 { font-size: clamp(1.625rem, 3.4vw, 2.375rem); line-height: 1.38; font-weight: 500; letter-spacing: -.025em; }
.head h2 strong { font-weight: 800; }
.head p { margin-top: 1rem; color: var(--muted); }

/* 첫 화면: 영상이 주인공 */
.hero { background: #0D0D0D; color: #fff; }
.hero-media { position: relative; height: min(64svh, 640px); overflow: hidden; background: #8F8F99; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 113.8svh); height: max(100%, 56.25vw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-still { position: absolute; inset: 0; background: linear-gradient(90deg, #9595A1, #8C8D96); }
.hero-still picture { position: absolute; inset: 0; display: flex; justify-content: center; }
.hero-still img { height: 100%; width: auto; max-width: none; object-fit: cover; object-position: 50% 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.hero-still .todo { position: absolute; right: 1rem; top: 1rem; margin: 0; }
.hero-text { padding-block: clamp(1.75rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3rem); }
.hero-by { font-size: .9375rem; color: rgba(255, 255, 255, .7); margin-bottom: .75rem; }
.hero h1 { font-size: clamp(1.625rem, 4.2vw, 3rem); line-height: 1.34; font-weight: 700; letter-spacing: -.03em; }
.hero-lead { margin-top: 1rem; color: rgba(255, 255, 255, .78); max-width: 40rem; }

/* 자막이 들어간 영상용: 영상을 자르지 않고 16:9 그대로, PC 에서는 글을 옆에 둔다 */
.hero-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.hero-tel { color: #fff; font-weight: 800; font-size: 1.125rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.hero.is-split .hero-media { height: auto; aspect-ratio: 16 / 9; background: #000; }
.hero.is-split .hero-media video { object-fit: contain; }
@media (min-width: 1000px) {
  .hero.is-split { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); align-items: stretch; }
  .hero.is-split .hero-media { align-self: center; }
  .hero.is-split .hero-text { width: auto; margin: 0; padding: 2rem clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
  .hero.is-split h1 { font-size: clamp(1.625rem, 2.5vw, 2.5rem); }
  .hero.is-split .hero-lead { font-size: 1rem; }
}

/* 상황 선택 */
.choose { border-bottom: 1px solid var(--line); }
.choose-in { padding-block: clamp(2rem, 4vw, 3rem); }
.choose h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.choose ul { border-top: 2px solid var(--ink); }
.choose li { border-bottom: 1px solid var(--line); }
.choose li a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.125rem .25rem; text-decoration: none; font-size: clamp(1.125rem, 2.4vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.choose li i { font-style: normal; color: var(--muted); transition: transform .2s, color .2s; }
.choose li a:hover { color: var(--red); }
.choose li a:hover i { color: var(--red); transform: translateX(6px); }
.choose-tel { margin-top: 1.25rem; font-size: .9375rem; color: var(--muted); }
.choose-tel a { color: var(--text); font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .choose ul { display: grid; grid-template-columns: repeat(3, 1fr); }
  .choose li + li { border-left: 1px solid var(--line); }
  .choose li a { padding: 1.5rem 1.5rem 1.5rem 1.25rem; }
  .choose li:first-child a { padding-left: .25rem; }
}

/* 근거 띠 */
.proof { background: #0D0D0D; color: #fff; border-top: 1px solid rgba(255, 255, 255, .12); }
.proof dl { display: grid; grid-template-columns: 1fr 1fr; }
.proof div { padding: 1.25rem 1rem 1.25rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.proof div:nth-child(even) { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.proof dt { font-size: clamp(1.125rem, 2.4vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.proof dd { margin-top: .25rem; font-size: .875rem; color: rgba(255, 255, 255, .68); line-height: 1.5; }
@media (min-width: 900px) {
  .proof dl { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .proof div, .proof div:nth-child(even) { padding: 1.75rem 2rem 1.75rem 0; border: 0; }
  .proof div + div { padding-left: 2rem; border-left: 1px solid rgba(255, 255, 255, .14); }
}

/* 고비 → 우인의 준비 */
/* 전체 지도: 신청에서 인가까지 한 줄, 고비마다 아래로 빠지는 길 */
.gate-map { margin-bottom: clamp(2rem, 4vw, 3.5rem); overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
.gate-map::-webkit-scrollbar { display: none; }
.gate-map ol { position: relative; display: grid; grid-template-columns: auto repeat(4, minmax(132px, 1fr)) auto; min-width: 760px; padding-top: 3.25rem; }
.gate-map ol::before { content: ''; position: absolute; left: 0; right: 0; top: calc(3.25rem + 21px); height: 2px; background: var(--ink); }
.gate-map li { position: relative; display: grid; justify-items: center; align-content: start; }
.gm-end span { position: relative; z-index: 1; display: grid; place-items: center; height: 44px; padding: 0 1.125rem; background: var(--ink); color: #fff; font-weight: 800; font-size: .9375rem; white-space: nowrap; }
.gm-end.is-goal span { background: var(--red); }
.gm-node a { display: grid; justify-items: center; text-decoration: none; }
.gm-node a b { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); font-size: 1.125rem; font-weight: 800; transition: background .2s, color .2s; }
.gm-node a:hover b { background: var(--ink); color: #fff; }
.gm-node a span { position: absolute; bottom: calc(100% - 3.25rem + .625rem); top: auto; transform: translateY(-3.25rem); font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.gm-node a span { position: absolute; top: -2.5rem; bottom: auto; transform: none; }
.gm-node em { font-style: normal; display: grid; justify-items: center; margin-top: 0; padding-top: 2.25rem; position: relative; font-size: .9375rem; font-weight: 800; color: #8A8A8A; }
.gm-node em::before { content: ''; position: absolute; top: 2px; left: 50%; height: 1.75rem; border-left: 2px dashed #B5B5B5; }
.gm-node em::after { content: ''; position: absolute; top: 1.5rem; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-right: 2px solid #B5B5B5; border-bottom: 2px solid #B5B5B5; transform: rotate(45deg); }
.gm-node em small { font-size: .75rem; font-weight: 500; color: #9A9A9A; }

.gate-list { border-top: 2px solid var(--ink); }
.gate { display: grid; border-bottom: 1px solid var(--ink); scroll-margin-top: calc(var(--top-h) + 12px); }
.gate-risk { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.75rem 0; }
.gate-no { font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: .95; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-variant-numeric: tabular-nums; min-width: 1.4em; }
.gate-ours { padding: 1.5rem 1.25rem 1.75rem; background: var(--soft); margin-bottom: 1.75rem; border-left: 3px solid var(--red); }
.gate-step { font-size: .875rem; font-weight: 700; color: var(--muted); margin-bottom: .5rem; }
.gate-label { font-size: .875rem; font-weight: 800; color: var(--red); margin-bottom: .5rem; }
.gate h3 { font-size: clamp(1.1875rem, 2.3vw, 1.4375rem); line-height: 1.45; font-weight: 800; letter-spacing: -.02em; }
.gate-risk h3 { font-weight: 600; }
.gate h3 + p { margin-top: .75rem; color: #444; font-size: 1rem; }
@media (min-width: 900px) {
  .gate { grid-template-columns: 1fr 1fr; }
  .gate-risk { padding: 2.25rem 3rem 2.25rem 0; gap: 1.5rem; }
  .gate-ours { padding: 2.25rem 2.5rem; margin: 0; }
}

/* 고비별 도해 */
.viz { margin-top: 1.5rem; }
.viz-note { margin-top: .75rem; font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.viz-line ol { display: flex; }
.viz-line li { flex: 1; position: relative; padding-top: 1.25rem; display: grid; gap: .125rem; }
.viz-line li::before { content: ''; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: #C9C9C9; }
.viz-line li:last-child::before { right: auto; width: 0; }
.viz-line li::after { content: ''; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.viz-line b { font-size: .9375rem; }
.viz-line small { font-size: .8125rem; color: var(--muted); }
.viz-week .viz-big { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--red); }
.week-row { margin-top: 1rem; display: flex; align-items: center; gap: .625rem; font-size: .8125rem; font-weight: 700; white-space: nowrap; }
.week-row ol { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; flex: 1; max-width: 300px; }
.week-row li { display: grid; place-items: center; aspect-ratio: 1; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; }
.viz-bars > div { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: .75rem; padding: .375rem 0; font-size: .875rem; font-weight: 700; }
.viz-bars .vbar { display: block; height: 18px; background: #C9C9C9; }
.viz-bars .vbar.is-long { width: 100%; background: var(--ink); }
.viz-bars .vbar.is-short { width: 62%; }
.viz-vote > div { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; column-gap: .75rem; row-gap: .25rem; padding: .5rem 0; font-size: .875rem; font-weight: 700; }
.viz-vote .track { position: relative; height: 18px; background: #E6E6E6; }
.viz-vote .need { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); }
.viz-vote .need::after { content: ''; position: absolute; right: -1px; top: -5px; bottom: -5px; border-right: 2px solid var(--red); }
.viz-vote .need.is-75 { width: 75%; } .viz-vote .need.is-67 { width: 66.7%; }
.viz-vote b { grid-column: 2; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.viz-people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.viz-people figure { margin: 0; display: grid; grid-template-columns: 64px 1fr; gap: .75rem; align-items: center; }
.viz-people img { width: 64px; height: 64px; object-fit: cover; object-position: 50% 18%; border-radius: 50%; background: #9494A0; }
.viz-people figcaption { display: grid; }
.viz-people b { font-size: .9375rem; line-height: 1.35; }
.viz-people small { font-size: .75rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 520px) { .viz-people { grid-template-columns: 1fr; } }
.viz-chips p { font-size: .8125rem; font-weight: 700; color: var(--muted); margin-bottom: .5rem; }
.viz-chips ul { display: flex; flex-wrap: wrap; gap: .375rem; }
.viz-chips li { padding: .375rem .75rem; background: #fff; border: 1px solid var(--ink); font-size: .875rem; font-weight: 700; }
.viz-span ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.viz-span li { padding: .5rem .25rem; background: #fff; border: 1px solid #C9C9C9; font-size: .75rem; font-weight: 700; text-align: center; line-height: 1.3; display: grid; place-items: center; }
.viz-span p { margin-top: .5rem; display: flex; align-items: center; gap: .625rem; color: var(--red); font-size: .875rem; }
.viz-span p i { flex: 1; height: 0; border-top: 3px solid var(--red); }
.viz-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.viz-split > div { padding: .875rem; border: 1px solid #C9C9C9; display: grid; gap: .25rem; }
.viz-split > div:last-of-type { border: 2px solid var(--ink); }
.viz-split b { font-size: .9375rem; }
.viz-split small { font-size: .8125rem; color: var(--muted); }
.viz-split .viz-note { grid-column: 1 / -1; }
.viz-join > div { display: flex; align-items: center; gap: .625rem; flex-wrap: wrap; }
.viz-join b { padding: .625rem .875rem; background: #fff; border: 1px solid var(--ink); font-size: .9375rem; }
.viz-join i { font-style: normal; font-weight: 800; }
.viz-join p { margin-top: .625rem; padding-top: .625rem; border-top: 3px solid var(--red); display: inline-block; font-weight: 800; color: var(--red); font-size: .9375rem; }

/* 사진 자리 */
.shot { overflow: hidden; background: #E4E2DD; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot.is-empty { display: grid; place-items: center; aspect-ratio: 16 / 9; border: 1px dashed #A9A59B; background: repeating-linear-gradient(135deg, #ECEAE5 0 14px, #E4E2DD 14px 28px); }
.shot.is-empty span { padding: .5rem .875rem; background: #FFF9E0; border: 1px dashed #C99A00; color: #6B5200; font-size: .8125rem; text-align: center; }

/* 사진 + 한 문장 띠 */
.band { background: #1A1819; color: #fff; }
.band .shot { aspect-ratio: 21 / 9; max-height: 520px; width: 100%; border: 0; }
.band-text { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band blockquote { margin: 0; font-size: clamp(1.625rem, 4.2vw, 2.75rem); line-height: 1.4; font-weight: 700; letter-spacing: -.03em; }
.band blockquote::before { content: '“'; display: block; font-size: 1.5em; line-height: .6; color: var(--red); margin-bottom: .25em; }
.band-text p { margin-top: 1.25rem; font-size: .9375rem; color: rgba(255, 255, 255, .65); }

/* 대리인을 고를 때 물어볼 것 */
.ask { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.ask thead th { text-align: left; padding: .875rem 0; font-size: .875rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--ink); }
.ask thead th + th { color: var(--red); }
.ask tbody th, .ask tbody td { text-align: left; vertical-align: top; padding: 1.125rem 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.ask tbody th { font-weight: 600; padding-right: 1.5rem; width: 44%; }
.ask tbody td { font-weight: 800; letter-spacing: -.01em; }
.ask-cta { margin-top: 2rem; }
.ask-grid { display: grid; gap: 2rem; }
.ask-photo { margin: 0; position: relative; max-width: 420px; }
.ask-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; background: #9494A0; }
.ask-photo figcaption { position: absolute; left: 0; bottom: 0; padding: .625rem 1rem; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 700; }
@media (max-width: 899px) { .ask-photo { display: none; } }
@media (min-width: 900px) {
  .ask-grid { grid-template-columns: 4fr 8fr; gap: 4rem; align-items: start; }
  .ask-photo { position: sticky; top: calc(var(--top-h) + 28px); }
  .ask-grid .ask tbody th { width: 40%; }
}
@media (max-width: 640px) {
  .ask thead { display: none; }
  .ask tbody th, .ask tbody td { display: block; width: auto; padding: 0; border: 0; }
  .ask tbody th { padding-top: 1.125rem; color: var(--muted); font-size: .9375rem; }
  .ask tbody td { padding: .25rem 0 1.125rem; border-bottom: 1px solid var(--line); }
}

/* 자주 묻는 질문 */
.q-list { border-top: 2px solid var(--ink); }
.q { display: grid; gap: .75rem; padding-block: 1.75rem; border-bottom: 1px solid #DCDAD4; }
.q > h3 { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.5; font-weight: 600; letter-spacing: -.02em; color: #444; }
.q > h3::before { content: 'Q. '; color: var(--red); font-weight: 800; }
.q-answer > * + * { margin-top: 1rem; }
.q-a { font-size: clamp(1.125rem, 2.2vw, 1.3125rem); line-height: 1.55; font-weight: 800; letter-spacing: -.02em; }
.q-answer details > summary { cursor: pointer; font-size: .9375rem; font-weight: 600; color: var(--muted); list-style: none; display: inline-flex; gap: .375rem; }
.q-answer details > summary::-webkit-details-marker { display: none; }
.q-answer details > summary::after { content: '+'; }
.q-answer details[open] > summary::after { content: '−'; }
.q-answer details > * + * { margin-top: 1rem; }
.q-answer details p { color: #444; }
.q-facts { display: grid; border-top: 1px solid #DCDAD4; }
.q-facts div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid #DCDAD4; }
.q-facts dt { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.q-facts dd { font-size: .9375rem; color: var(--muted); line-height: 1.55; }
.q-table { width: 100%; border-collapse: collapse; border-top: 1px solid #DCDAD4; }
.q-table th, .q-table td { padding: .75rem 0; border-bottom: 1px solid #DCDAD4; vertical-align: top; text-align: left; font-size: 1rem; line-height: 1.6; }
.q-table th { width: 9.5rem; padding-right: 1rem; font-weight: 700; }
.q-caveat { padding-left: 1rem; border-left: 2px solid var(--red); color: #444; font-size: .9375rem; }
.q-caveat b { display: block; font-size: .8125rem; color: var(--red); margin-bottom: .125rem; }
@media (min-width: 900px) { .q { grid-template-columns: 5fr 7fr; gap: 3rem; } }

/* 한 팀 */
.team { background: var(--soft); }
.person .todo { margin-top: 1rem; }
.team-grid { display: grid; gap: 2.5rem; }
.person-photo { background: #9494A0; overflow: hidden; }
.person-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.person h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; margin-top: 1.125rem; }
.person h3 span { font-size: .9375rem; font-weight: 500; color: var(--muted); margin-left: .25rem; }
.person-was { font-weight: 700; margin-top: .25rem; }
.person-text p:not(.person-was) { margin-top: .75rem; color: #444; font-size: 1rem; }
.person ul { margin-top: 1rem; border-top: 1px solid #DCDAD4; }
.person li { padding: .5rem 0; border-bottom: 1px solid #DCDAD4; font-size: .9375rem; }
.team-side { display: grid; gap: 2rem; align-content: start; }
.team-side .person { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: start; }
.team-side .person h3 { margin-top: 0; }
.team-side .person-photo img { aspect-ratio: 1; }
@media (min-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .person.is-lead { display: grid; grid-template-columns: 1fr; }
  .team-side { gap: 3rem; padding-top: 0; }
  .team-side .person { grid-template-columns: 180px 1fr; gap: 1.75rem; }
}

/* 유튜브 */
.yt-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.yt-top .head { margin-bottom: 0; }
.yt-stage { display: grid; gap: 1.25rem; }
.yt-player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.yt-player iframe, .yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; }
.yt-poster img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 12px; background: var(--red); display: grid; place-items: center; }
.yt-play::before { content: ''; border-style: solid; border-width: 9px 0 9px 16px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.yt-now { display: grid; gap: .75rem; align-content: start; justify-items: start; }
.yt-now-title { font-size: 1.25rem; font-weight: 700; line-height: 1.5; letter-spacing: -.015em; }
@media (min-width: 900px) { .yt-stage { grid-template-columns: 7fr 4fr; gap: 2.5rem; } }
.yt-tabs { display: flex; gap: 1.5rem; margin: 2.5rem 0 1.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.yt-tabs::-webkit-scrollbar { display: none; }
.yt-tabs button { flex: none; padding: .625rem 0; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font-weight: 600; }
.yt-tabs button.is-on { color: var(--ink); border-color: var(--ink); }
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
@media (min-width: 900px) { .yt-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; } }
.yt-card[hidden] { display: none; }
.yt-card button { display: grid; gap: .625rem; width: 100%; padding: 0; background: none; border: 0; text-align: left; }
.yt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-card.is-playing .yt-thumb { outline: 3px solid var(--red); outline-offset: -3px; }
.yt-new { position: absolute; left: 0; top: 0; background: var(--red); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .06em; padding: .15rem .45rem; }
.yt-title { font-size: .9375rem; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-card button:hover .yt-title { text-decoration: underline; text-underline-offset: 4px; }

/* 신청 시기 점검 */
.check { background: #fff; border: 1px solid #DCDAD4; }
.check-list li + li { border-top: 1px solid var(--line); }
.check-list label { display: flex; gap: .875rem; align-items: flex-start; padding: 1rem 1.25rem; cursor: pointer; }
.check-list input { width: 22px; height: 22px; margin: .2rem 0 0; flex: none; accent-color: var(--red); }
.check-list input:checked + span { font-weight: 700; }
.check-result { padding: 1.5rem 1.25rem; border-top: 2px solid var(--ink); display: grid; gap: .75rem; justify-items: start; }
.check-count { color: var(--muted); }
.check-count strong { font-size: 1.75rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.check-msg { font-weight: 600; min-height: 3.5em; }

/* 단계별 Q&A */
.guide-tools { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.guide-search input { width: 100%; height: 54px; padding: 0 1rem; border: 1px solid #9A9A9A; border-radius: 2px; font-size: 1rem; background: #fff; }
.guide-search input:focus { border-color: var(--ink); outline: 0; box-shadow: inset 0 0 0 1px var(--ink); }
.guide-meta { font-size: .8125rem; color: var(--muted); }
.guide-body { display: grid; gap: 1.5rem; }
.guide-body > * { min-width: 0; }
.guide-nav ol { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; }
.guide-nav ol::-webkit-scrollbar { display: none; }
.guide-nav a { display: flex; align-items: center; gap: .5rem; white-space: nowrap; min-height: 42px; padding: 0 .875rem; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.guide-nav a b { font-weight: 600; }
.guide-nav a small { font-size: .75rem; color: #9A9A9A; }
.guide-nav a.is-on { border-color: var(--ink); color: var(--ink); }
.js .guide:not(.is-searching) .guide-panel:not(.is-on) { display: none; }
.guide-panel + .guide-panel { margin-top: 2.5rem; }
.guide-panel h3 { font-size: 1.25rem; font-weight: 800; padding-bottom: .875rem; border-bottom: 1px solid var(--ink); }
.guide-panel details { border-bottom: 1px solid var(--line); }
.guide-panel details[hidden], .guide-panel[hidden] { display: none; }
.guide-panel summary { display: flex; gap: 1rem; justify-content: space-between; padding: 1.0625rem .125rem; font-weight: 600; cursor: pointer; list-style: none; }
.guide-panel summary::-webkit-details-marker { display: none; }
.guide-panel summary::after { content: '+'; font-weight: 400; font-size: 1.375rem; line-height: 1.2; color: var(--muted); }
.guide-panel details[open] summary::after { content: '−'; }
.guide-panel details p { padding: 0 2rem 1.375rem .125rem; color: #444; }
.guide-empty { padding: 2rem 0; color: var(--muted); }
@media (min-width: 960px) {
  .guide-tools { grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; }
  .guide-body { grid-template-columns: 250px 1fr; gap: 3.5rem; align-items: start; }
  .guide-nav { position: sticky; top: calc(var(--top-h) + 20px); }
  .guide-nav ol { display: block; border-top: 1px solid var(--ink); }
  .guide-nav a { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 .25rem; min-height: 48px; }
  .guide-nav a small { margin-left: auto; }
  .guide-nav a.is-on { font-weight: 800; }
  .guide-nav a.is-on b { color: var(--red); }
}

/* 첫 상담 */
.firstmeet { display: grid; gap: 2.5rem; }
.fm-steps { counter-reset: fm; border-top: 1px solid var(--ink); }
.fm-steps li { counter-increment: fm; position: relative; padding: 1.25rem 0 1.25rem 2.75rem; border-bottom: 1px solid #DCDAD4; }
.fm-steps li::before { content: counter(fm); position: absolute; left: .25rem; top: 1.2rem; font-size: 1.25rem; font-weight: 800; }
.fm-steps h3 { font-size: 1.125rem; font-weight: 700; }
.fm-steps p { color: #444; font-size: 1rem; margin-top: .25rem; }
.fm-side { display: grid; gap: 1.25rem; align-content: start; }
.fm-side .shot { aspect-ratio: 7 / 3; }
.fm-side .shot.is-empty { aspect-ratio: 16 / 10; }
.fm-docs { background: #fff; border: 1px solid #DCDAD4; padding: 1.5rem 1.5rem 1.25rem; }
.fm-docs h3 { font-size: 1.0625rem; font-weight: 800; margin-bottom: .75rem; }
.fm-docs li { padding: .5rem 0 .5rem 1.25rem; border-bottom: 1px solid var(--line); position: relative; font-size: 1rem; }
.fm-docs li::before { content: ''; position: absolute; left: .125rem; top: 1.15em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.fm-docs p { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) { .firstmeet { grid-template-columns: 7fr 5fr; gap: 4rem; } }

/* 언론 */
.outlets { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-bottom: 2.25rem; padding: 1.25rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.outlets li { font-size: clamp(1.0625rem, 2vw, 1.3125rem); font-weight: 800; letter-spacing: -.01em; color: #3A3A3A; white-space: nowrap; }
.press-groups { display: grid; gap: 2.5rem; }
.press-groups h3 { font-size: 1rem; font-weight: 800; margin-bottom: .75rem; }
.press a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1000px) { .press-groups { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; } .press-groups section:nth-child(3) { grid-column: 1 / -1; } .press-groups .press li { grid-template-columns: 1fr; } .press-groups section:nth-child(3) .press { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; } }
.press { border-top: 1px solid var(--ink); }
.press li { display: grid; gap: .125rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.press li span { font-size: .8125rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.press li a { text-decoration: none; }
@media (min-width: 800px) { .press li { grid-template-columns: 11rem 1fr; align-items: baseline; } }

/* 상담 신청서 */
.consult { background: var(--soft); }
.consult-grid { display: grid; gap: 2rem; }
.consult-side .head { margin-bottom: 0; }
.consult-notes { margin-top: 1.5rem; border-top: 1px solid #DCDAD4; }
.consult-notes li { padding: .625rem 0; border-bottom: 1px solid #DCDAD4; font-size: .9375rem; color: #444; }
.consult-tel { margin-top: 2rem; display: grid; }
.consult-tel span { font-size: .875rem; color: var(--muted); }
.consult-tel a { font-size: 2rem; font-weight: 800; text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.consult-tel small { font-size: .8125rem; color: var(--muted); }
.consult-form { background: #fff; border: 1px solid #DCDAD4; padding: 1.5rem 1.25rem 1.75rem; display: grid; gap: 1.5rem; align-content: start; }
.form-steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: fs; border-bottom: 1px solid var(--line); }
.form-steps li { counter-increment: fs; padding-bottom: .75rem; font-size: .9375rem; font-weight: 600; color: #A8A8A8; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.form-steps li::before { content: counter(fs) '. '; }
.form-steps li.is-on { color: var(--ink); border-color: var(--ink); font-weight: 800; }
.form-steps li.is-done { color: var(--text); }
.form-step { display: grid; gap: 1.5rem; }
.js .form-step:not(.is-on) { display: none; }
.consult-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.consult-form legend, .field > span { display: block; padding: 0; margin-bottom: .5rem; font-size: .9375rem; font-weight: 700; }
.consult-form legend small { font-weight: 400; color: var(--muted); margin-left: .375rem; }
.consult-form em { font-style: normal; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips.is-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.chip { position: relative; display: block; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; min-height: 48px; padding: .5rem 1.125rem; border: 1px solid #BDBDBD; border-radius: 2px; background: #fff; font-weight: 600; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.chips.is-list .chip span { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .625rem .25rem; font-weight: 500; background: none; color: var(--text); }
.chips.is-list .chip span::before { content: ''; width: 20px; height: 20px; flex: none; border: 1px solid #9A9A9A; border-radius: 2px; margin-right: .75rem; background: #fff; }
.chips.is-list .chip input:checked + span { background: none; color: var(--text); font-weight: 700; }
.chips.is-list .chip input:checked + span::before { border-color: var(--red); background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 100% no-repeat; }
@media (min-width: 640px) { .chips.is-list { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
fieldset.is-bad .chip span { border-color: var(--red); }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: block; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .625rem .875rem; border: 1px solid #BDBDBD; border-radius: 2px; background: #fff; font-size: 1rem; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 0; box-shadow: inset 0 0 0 1px var(--ink); }
.field [aria-invalid='true'] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.form-hint { font-size: .9375rem; color: var(--muted); }
.form-nav { display: flex; gap: .5rem; }
.form-nav .btn:not(.btn-line) { flex: 1; }
.agree { display: flex; gap: .625rem; align-items: flex-start; font-size: .8125rem; line-height: 1.6; color: var(--muted); }
.agree b { color: var(--text); }
.agree input { width: 20px; height: 20px; margin: .1rem 0 0; flex: none; accent-color: var(--red); }
.ts-slot:empty, .form-msg:empty { display: none; }
.form-msg { font-weight: 700; padding: .875rem 1rem; background: #FDECEB; color: #9C1711; }
.form-msg.is-ok { background: var(--ink); color: #fff; }
@media (min-width: 960px) {
  .consult-grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .consult-side { position: sticky; top: calc(var(--top-h) + 28px); }
  .consult-form { padding: 2.25rem 2.25rem 2.5rem; }
}

/* 용어 사전 */
.guide-terms { margin-top: 1.5rem; }
.crumb { font-size: .875rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumb a { text-underline-offset: 4px; }
.crumb-back { margin-top: 2.5rem; margin-bottom: 0; }
.dict-head h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.dict-head p { margin-top: .75rem; color: var(--muted); }
.dict-search { margin-top: 1.75rem; position: sticky; top: calc(var(--top-h) + 1px); z-index: 5; background: #fff; padding-block: .75rem; }
.dict-search input { width: 100%; height: 60px; padding: 0 1.125rem; border: 2px solid var(--ink); border-radius: 2px; font-size: 1.125rem; background: #fff; }
.dict-search input:focus { outline: 0; box-shadow: 0 0 0 3px rgba(17, 17, 17, .12); }
.dict-count { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.dict-group { margin-top: 2rem; }
.dict-group[hidden], .dict-item[hidden] { display: none; }
.dict-group h2 { font-size: 1rem; font-weight: 800; color: var(--red); padding-bottom: .5rem; border-bottom: 1px solid var(--ink); }
.dict-item { border-bottom: 1px solid var(--line); }
.dict-item a { display: grid; gap: .25rem; padding: 1rem .125rem; text-decoration: none; }
.dict-item b { font-size: 1.125rem; font-weight: 800; letter-spacing: -.01em; }
.dict-item span { color: #444; font-size: 1rem; line-height: 1.65; }
.dict-item a:hover b { color: var(--red); }
.dict-item mark { background: #FFE9A8; color: inherit; }
@media (min-width: 800px) { .dict-item a { grid-template-columns: 13rem 1fr; gap: 1.5rem; align-items: baseline; } }
.dict-empty { padding: 2.5rem 0; color: var(--muted); }
.term h1 { font-size: clamp(1.875rem, 4.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
.term-alias { margin-top: .5rem; font-size: .9375rem; color: var(--muted); }
.term-def { margin-top: 1.75rem; padding-left: 1.125rem; border-left: 3px solid var(--ink); font-size: clamp(1.1875rem, 2.4vw, 1.375rem); line-height: 1.65; font-weight: 600; letter-spacing: -.01em; }
.term-more { margin-top: 1.75rem; }
.term-more p + p { margin-top: 1rem; }
.term-box { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.term-box h2 { font-size: 1rem; font-weight: 800; margin-bottom: .75rem; }
.term-rel { display: flex; flex-wrap: wrap; gap: .5rem; }
.term-rel a { padding: .5rem .875rem; border: 1px solid #BDBDBD; border-radius: 2px; text-decoration: none; font-weight: 600; font-size: .9375rem; }
.term-rel a:hover { border-color: var(--ink); }
.term-meta { margin-top: 2.5rem; font-size: .8125rem; color: var(--muted); }
.term-cta { margin-top: 2.5rem; padding: 1.5rem; background: var(--soft); display: grid; gap: 1rem; justify-items: start; }
.term-cta p { font-weight: 600; }

/* 하단 */
.foot { background: #0D0D0D; color: rgba(255, 255, 255, .62); padding: 2.5rem 0 3rem; font-size: .875rem; }
.foot p + p { margin-top: .375rem; }
.foot-brand { color: #fff; font-weight: 800; font-size: 1rem; }
.foot .fine { color: rgba(255, 255, 255, .42); }
.foot-home { margin-top: 1.5rem; }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-map { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.foot-map h2 { font-size: .875rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.foot-map li + li { margin-top: .5rem; }
.foot-map a { color: rgba(255, 255, 255, .62); text-decoration: none; }
.foot-map a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-fine { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 0; }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 5fr 7fr; gap: 3rem 4rem; }
  .foot-map { grid-template-columns: repeat(3, 1fr); }
  .foot-fine { grid-column: 1 / -1; }
}
.foot-home .todo { margin-top: .75rem; }
/* 하단 고정 상담 바 — 메인 홈페이지의 바와 같은 구성 (개인 상담 제외) */
.bar { position: fixed; inset: auto 0 0; z-index: 60; background: #151515; color: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .22); }
.bar-in { display: grid; grid-template-columns: 1fr 1.25fr; height: var(--bar-h); }
.bar a, .bar-who { display: flex; flex-direction: column; justify-content: center; padding-inline: 1rem; text-decoration: none; min-width: 0; }
.bar small { font-size: .75rem; color: rgba(255, 255, 255, .62); line-height: 1.3; white-space: nowrap; }
.bar b { font-size: 1.0625rem; font-weight: 800; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: .5rem; }
.bar-who, .bar-tv { display: none !important; }
.bar-cta { background: var(--red); }
.bar-cta small { color: rgba(255, 255, 255, .85); }
.bar-cta i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-size: .75rem; }
.bar-cta:hover { background: #B81E17; }
.bar-tv i { font-style: normal; color: var(--red); font-size: .875rem; }
@media (min-width: 1000px) {
  :root { --bar-h: 86px; }
  .bar { background: none; box-shadow: none; pointer-events: none; padding-bottom: 12px; }
  .bar-in { pointer-events: auto; width: min(1280px, 100% - 3rem); margin-inline: auto; height: 86px; grid-template-columns: 1.35fr 1.1fr 1fr .95fr; background: #151515; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
  .bar a, .bar-who { padding-inline: 1.75rem; border-left: 1px solid rgba(255, 255, 255, .1); }
  .bar-who { display: flex !important; position: relative; padding-left: 8.75rem; border-left: 0; }
  .bar-who picture { position: absolute; left: 1.25rem; bottom: 0; width: 6.5rem; height: 118px; overflow: hidden; border-radius: 3.25rem 3.25rem 0 0; background: linear-gradient(#9C9CA8, #8A8A95); display: flex; align-items: flex-end; justify-content: center; }
  .bar-who img { width: 128%; max-width: none; height: auto; }
  .bar-who small { color: #FF6A5E; }
  .bar-tv { display: flex !important; }
  .bar small { font-size: .8125rem; margin-bottom: .125rem; }
  .bar b { font-size: 1.375rem; letter-spacing: -.01em; }
  .bar-tel b { font-size: 1.5rem; }
  .bar-tv:hover b, .bar-tel:hover b { text-decoration: underline; text-underline-offset: 5px; }
  body { padding-bottom: calc(var(--bar-h) + 28px); }
}
@media (max-width: 520px) { .top-tel, .logo span { display: none; } .logo-mark { height: 19px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
