/* =========================================================
   HOME-03 · hhlaw.co.kr 톤 적용 레이어 (style.css 위에 덮어씀)
   - 색/글꼴/간격/장식/모션만 바꾸고 문구·구조·링크는 그대로
   ========================================================= */
:root {
  --navy-900: #141b40;   /* footer / deepest */
  --navy-800: #1c2b73;   /* headings, primary buttons */
  --navy-700: #24357f;
  --navy-600: #2d3f8f;
  --gold-500: #c9a063;   /* line, small labels */
  --gold-400: #e5b062;   /* accent text on dark */
  --gold-300: #ecc68e;
  --gold-100: #f6ead6;
  --cream: #ffffff;
  --cream-2: #f6f6f6;
  --paper: #ffffff;
  --ink: #2b2b2b;
  --ink-2: #3d3d3d;
  --muted: #696969;
  --line: #e4e4e4;
  --serif: 'Noto Serif KR', 'KoPub Batang', 'Nanum Myeongjo', serif;
  --en: 'Archivo', 'Pretendard', sans-serif;
  --radius: 0;
  --shadow: 0 18px 40px -24px rgba(20, 27, 64, .35);
  --orn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='10' viewBox='0 0 140 10'%3E%3Cpath d='M0 5h63M77 5h63' stroke='%23e5b062' stroke-width='1'/%3E%3Cpath d='M70 1l4 4-4 4-4-4z' fill='%23e5b062'/%3E%3C/svg%3E");
  --orn-r: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M0 5h112' stroke='%23e5b062' stroke-width='1'/%3E%3Cpath d='M115 1l4 4-4 4-4-4z' fill='%23e5b062'/%3E%3C/svg%3E");
}
body { background: #fff; color: var(--ink); }

/* ---------- labels: wide-tracked English in gold ---------- */
.eyebrow, .kicker {
  font-family: var(--en); font-weight: 500; letter-spacing: .3em; font-size: 13px;
  color: var(--gold-400); text-transform: uppercase;
}
.kicker { gap: 14px; }
.kicker::after { content: ''; width: 120px; height: 10px; background: var(--orn-r) no-repeat left center; flex: none; }
.kicker .num { border: 0; background: none; color: var(--gold-400); min-width: 0; padding: 0; font-family: var(--en); font-size: 13px; letter-spacing: .1em; }
.eyebrow.light, .eyebrow .num-light { color: var(--gold-400); }

/* ---------- headings: bold serif, larger ---------- */
.h2 { font-weight: 700; font-size: clamp(26px, 6vw, 41px); letter-spacing: -.03em; line-height: 1.35; color: var(--navy-800); margin-bottom: 24px; }
.h2.light { color: #fff; }
.h3, .h4 { color: var(--navy-800); font-weight: 700; }
.page-title, .cta-title, .hero-title { font-weight: 700; }

/* full-width sections → centered title block with gold ornament (hhlaw 섹션 머리 패턴) */
.section > .container > .kicker,
.section > .container > .eyebrow { justify-content: center; text-align: center; display: flex; }
.section > .container > .kicker::after { display: none; }
.section > .container > .h2 { text-align: center; }
.section > .container > .h2::after { content: ''; display: block; width: 140px; height: 10px; margin: 22px auto 0; background: var(--orn) no-repeat center; }
.section > .container > .muted.maxw, .section > .container > p.muted { text-align: center; margin-inline: auto; }

/* ---------- buttons: square, outline gold ---------- */
.btn { border-radius: 0; min-height: 54px; padding: 0 34px; font-size: 14px; font-weight: 600; letter-spacing: .04em; border-width: 1px; }
.btn .arrow { font-family: var(--en); }
.btn-outline { border-color: var(--gold-400); color: var(--gold-500); background: transparent; }
.btn-outline:hover { background: var(--gold-400); border-color: var(--gold-400); color: #fff; }
.btn-navy { background: var(--navy-800); border-color: var(--navy-800); }
.btn-navy:hover { background: var(--navy-900); }
.btn-light { background: transparent; color: #fff; border-color: var(--gold-400); }
.btn-light:hover { background: var(--gold-400); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.6); }

/* ---------- header: transparent over the dark top, white after scroll ---------- */
.site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header .brand, .site-header .tabs a { color: #fff; }
.site-header .brand-text small { color: rgba(255,255,255,.7); font-family: var(--en); letter-spacing: .2em; }
.site-header .tabs a { font-weight: 600; }
.site-header .tabs a::after { background: var(--gold-400); }
.site-header .header-cta { background: transparent; border: 1px solid var(--gold-400); color: #fff; }
.site-header.is-scrolled { background: #fff; border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(20,27,64,.5); }
.site-header.is-scrolled .brand, .site-header.is-scrolled .tabs a { color: var(--ink); }
.site-header.is-scrolled .tabs a.is-active { color: var(--navy-800); }
.site-header.is-scrolled .brand { color: var(--navy-800); }
.site-header.is-scrolled .brand-text small { color: var(--muted); }
.site-header.is-scrolled .header-cta { background: var(--navy-800); border-color: var(--navy-800); }
.main-nav { mask-image: none; -webkit-mask-image: none; }

/* ---------- hero: full-bleed photo, dark overlay, centered serif headline ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; background: #0e1330; }
.hero::before { display: none; }
.hero .scale-svg, .hero .books { display: none !important; }
.hero-art .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; animation: hhZoom 9s ease-out both; }
.hero-art::after, .hero-art:has(.hero-photo.is-loaded)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,27,64,.55) 0%, rgba(14,19,48,.45) 45%, rgba(10,13,32,.72) 100%); }
@keyframes hhZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { width: 100%; text-align: center; padding-top: calc(var(--header-h) + 40px) !important; padding-bottom: 72px !important; display: block !important; min-height: 0 !important; }
.hero-copy { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-copy .eyebrow { order: 2; margin: 0 0 30px; font-size: 14px; letter-spacing: .32em; }
.hero-title { order: 1; font-size: clamp(32px, 8.4vw, 60px); line-height: 1.3; margin-bottom: 22px; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-title em { color: #fff; font-weight: 700; box-shadow: inset 0 -.16em 0 rgba(229,176,98,.55); }
.hero-lead { order: 3; border-left: 0; padding-left: 0 !important; margin: 0 auto 36px; color: rgba(255,255,255,.88); }
.hero-copy .btn-row { order: 4; justify-content: center; }
.hero-side { display: block !important; margin: 48px auto 0 !important; padding: 18px 0 0 !important; border-left: 0 !important; border-top: 1px solid rgba(229,176,98,.55); max-width: 360px; font-family: var(--serif); font-size: 15px; color: rgba(255,255,255,.8); }

/* sub-page heroes: same dark-overlay band, centered */
.page-hero { text-align: center; padding: calc(var(--header-h) + 64px) 0 72px; background: linear-gradient(180deg, rgba(20,27,64,.82), rgba(14,19,48,.9)), url(../assets/img/photos/hero.jpg) center/cover; }
.page-hero::after { display: none; }
.page-hero .eyebrow { justify-content: center; }
.page-lead { margin-inline: auto; }
.page-title::after { content: ''; display: block; width: 140px; height: 10px; margin: 20px auto 0; background: var(--orn) no-repeat center; }

/* ---------- sections: more air, white / light-gray rhythm ---------- */
.section { padding: 84px 0; }
.section-tint { background: #f6f6f6; }
.section-dark { background: var(--navy-900); }
.academic { background: #fafafa; border-color: #eee; }
.academic-icon { color: var(--gold-400); }

/* career cards: square, thin border, gold top rule */
.career-card { border: 1px solid #e6e6e6; box-shadow: none; border-top: 2px solid var(--gold-400); }
.career-card:hover { box-shadow: var(--shadow); }
.career-visual { background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.badge-num { background: var(--gold-400); color: #fff; font-family: var(--en); letter-spacing: .1em; }
.career-card--plus { background: #f6f6f6; border-style: solid; }
.career-card:nth-child(-n+2)::after { color: var(--gold-400) !important; }

/* questions / method */
.q-list li { border-radius: 0; background: #fff; border: 1px solid #e6e6e6; }
.q-answer { border-radius: 0; }
.method-num { color: var(--gold-400); font-family: var(--en); }

/* 주요 업무분야 카드: 광욱님 요청(2026-11-14)으로 푸른 막 씌운 타일 → 기존 시안의 사진 카드 그대로 복원 (style.css 규칙 사용) */

/* chips, roles, faq, forms: square + navy/gold */
.chip { border-radius: 0; }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); }
.role, .faq details, .contact-form, .academic-list--cards li { border-radius: 0; border-color: #e6e6e6; }
.role-head { border-top: 2px solid var(--gold-400); }
.role-axis { font-family: var(--en); color: var(--gold-400); letter-spacing: .14em; }
.role-meaning { background: #f6f6f6; border-left-color: var(--gold-400); }
.faq summary::before { color: var(--gold-400); }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: 0; }

/* CTA band: deep navy with photo veil */
.cta-band { background: linear-gradient(90deg, rgba(20,27,64,.94), rgba(28,43,115,.86)), url(../assets/img/photos/psych.jpg) center/cover; padding: 80px 0; }
.cta-title { color: #fff; }

/* footer: deep navy, label/value rows */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 64px 0 80px; font-size: 14px; }
.footer-brand { font-weight: 700; }
.footer-meta span { color: rgba(255,255,255,.78); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }

/* mobile bottom bar: navy + gold */
.mobile-bar a.primary { background: var(--gold-400); color: #fff; }

/* ---------- quick menu (PC): fixed right column ---------- */
.hh-quick { display: none; }

/* ---------- motion: slower, longer fade-up (AOS 느낌) ---------- */
.reveal { transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .hero-art .hero-photo { animation: none; }
  .reveal { transform: none; transition: none; }
}

@media (min-width: 1024px) {
  :root { --header-h: 96px; }
  .header-inner { height: 96px; }
  .tabs { gap: 14px; }
  .tabs a { font-size: 16px; padding: 36px 14px; }
  .tabs a::after { bottom: 26px; }
  .section { padding: 140px 0; }
  .hero { min-height: max(720px, 100vh); }
  .hero-lead { font-size: 18px; }
  .page-hero { padding: calc(var(--header-h) + 96px) 0 104px; }
  .cta-band { padding: 110px 0; }
  /* (removed) .pp-grid gap: 기존 시안 카드 형태로 복원 */
  .practice-preview { grid-template-columns: 280px 1fr; gap: 56px; }
  .hh-quick {
    display: block; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 45; width: 84px;
    background: #fff; box-shadow: -6px 10px 30px -14px rgba(20,27,64,.35);
  }
  .hh-quick p { margin: 0; background: var(--gold-400); color: #fff; text-align: center; font-family: var(--en); font-weight: 700; font-size: 12px; letter-spacing: .14em; padding: 10px 0; }
  .hh-quick a, .hh-quick button {
    display: grid; place-items: center; gap: 6px; width: 100%; min-height: 82px; padding: 10px 6px;
    border: 0; border-top: 1px solid #ececec; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.3; text-align: center;
  }
  .hh-quick svg { width: 22px; height: 22px; color: var(--navy-800); }
  .hh-quick a:hover, .hh-quick button:hover { background: var(--navy-800); color: #fff; }
  .hh-quick a:hover svg, .hh-quick button:hover svg { color: var(--gold-400); }
  .hh-quick button { font-family: var(--en); letter-spacing: .14em; min-height: 52px; }
}
@media (max-width: 1023px) {
  .site-header { background: rgba(20,27,64,.0); }
  .site-header .tabs a.is-active { color: #fff; }
}

/* 기존 사이트에 남아 있던 챗봇용 3칸 설정(.mobile-bar 1fr 1fr 1.2fr) 정리 → 2칸 꽉 차게 */
.mobile-bar { grid-template-columns: 1fr 1.4fr; }
body[data-page="contact"] .mobile-bar { grid-template-columns: 1fr; }

/* 확정본 메모 #2 (2026-11-14): '법정에서 시작되지 않습니다.' 전체를 금색으로 */
.hero-title em { color: var(--gold-400); box-shadow: none; }

/* 경력 세로 타임라인 (A 구조 공유, hh 톤) */
.tl-body { border-radius: 0; border-color: #e6e6e6; border-top: 2px solid var(--gold-400); }
.tl-axis { font-family: var(--en); color: var(--gold-400); letter-spacing: .14em; }
.tl-item::after { background: rgba(201,160,99,.55); }
.timeline-intro { text-align: center; }
.timeline-intro .maxw { margin-inline: auto; }

/* 경력 학력·경력 목록 + 주요 업무 카드 (hh 톤) */
.cv-title { border-bottom-color: var(--navy-800); }
.cv-list li::before { background: var(--gold-400); }
.role-card { border-radius: 0; border-color: #e6e6e6; }
.role-card .role-axis { font-family: var(--en); color: var(--gold-400); letter-spacing: .14em; }
@media (min-width: 1024px) { .role-card summary { border-top-color: var(--gold-400); } }

/* 첫화면: 글은 가운데 유지, 배경 사진은 흐리고 강하게 어둡게 (광욱님 2026-11-14 "첫화면은 무조건 글이 가운데") */
.hero-art .hero-photo { filter: blur(4px) brightness(.6) saturate(.7); transform: scale(1.04); animation: none; }
.hero-art::after, .hero-art:has(.hero-photo.is-loaded)::after {
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10,13,32,.88) 0%, rgba(10,13,32,.78) 60%, rgba(10,13,32,.7) 100%); }
.hero-title { text-shadow: 0 2px 18px rgba(0,0,0,.45); }

/* 학력·경력: PC도 세로 한 단(학력 → 경력), 가운데 정렬된 한 열 + 같은 이름 칸 너비 (광욱님 2026-11-15) */
.cv-grid { grid-template-columns: 1fr !important; gap: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }
.cv-title { text-align: left; }
@media (min-width: 640px) {
  .cv-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 20px; align-items: baseline; }
  .cv-list li strong { margin-right: 0; }
}

/* 주요 업무 카드: 모바일도 항상 펼침 (접기/＋ 버튼 없음, 광욱님 2026-11-15) */
.role-card-head { padding: 22px 22px 18px; }
.role-card-head h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-800); line-height: 1.4; }
.role-card-head .muted { font-size: 14px; margin-top: 2px; }
@media (min-width: 1024px) { .role-card-head { padding: 28px 28px 20px; border-top: 2px solid var(--gold-400); } }

/* 프로필 사진 (광욱님 2026-11-15): picture 래퍼 대응 */
.profile-photo picture { display: block; }
.profile-photo picture + .photo-fallback { display: none; }

/* 프로필 사진: 원본 비율 그대로(크롭 없음), 더 작게, 이름표는 사진 아래로 — 어깨까지 보이게 (광욱님 2026-11-15) */
.profile-photo { max-width: 320px; }
.profile-photo img { width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; display: block; }
.profile-photo figcaption { position: static; display: inline-block; margin-top: 0; }
@media (max-width: 1023px) {
  .profile-photo { width: 75%; max-width: 300px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1024px) {
  .profile { grid-template-columns: 320px 1fr; }
}

/* 업무분야 상세 머리: 모바일에서 아이콘 → 분류(한 줄) → 제목·설명 세로 배치, 장식선 숨김 (광욱님 2026-11-15) */
.pd-head > div { min-width: 0; }
@media (max-width: 767px) {
  .pd-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pd-head .kicker { white-space: nowrap; }
  .pd-head .kicker::after { display: none; }
}
@media (min-width: 768px) {
  .pd-head .kicker { white-space: nowrap; }
}
/* 분류 구분자: 얇은 세로 막대 (광욱님 2026-11-15: '핵심 분야 | 여성·청소년 사건') */
.eb-sep { display: inline-block; margin: 0 .5em; font-weight: 300; opacity: .55; transform: translateY(-.05em); }

/* 모바일: 사진 아래 이름표 가운데 정렬 + 짧은 금색 바 가운데 (광욱님 2026-11-15) */
@media (max-width: 767px) {
  .profile-photo figcaption { display: block; text-align: center; border-top: 0; padding: 14px 0 0; background: transparent; position: relative; }
  .profile-photo figcaption::before { content: ''; position: absolute; top: 0; left: 50%; width: 48px; height: 2px; margin-left: -24px; background: var(--gold-500); }
}

/* 모바일: 짧은 금색 바 제거 → 사진 폭 전체 금색 선 (광욱님 2026-11-15 01:45) */
@media (max-width: 767px) {
  .profile-photo figcaption::before { content: none; display: none; }
  .profile-photo picture img, .profile-photo > img { border-bottom: 3px solid var(--gold-500); box-sizing: border-box; }
  .profile-photo figcaption { padding-top: 12px; }
}

/* 프로필 사진 키움: 참고 doahlaw 크기(PC 396x500, 모바일 약 240x304) + 상체 아래 확장 사진 (광욱님 2026-11-15 11:43) */
.profile-photo { max-width: 396px; }
@media (max-width: 1023px) {
  .profile-photo { width: 69%; max-width: 320px; }
}
@media (min-width: 1024px) {
  .profile { grid-template-columns: 396px 1fr; }
}

/* DOAH IDEA 1 */
@media (max-width: 767px) {
  .mobile-bar a.primary {
    color: #141b40;
  }
}

#page-contact .contact-form .mail-submit-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* DOAH IDEA 2 */
.mobile-menu-toggle {
  display: none;
}

@media (max-width: 767px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    height: var(--header-h);
  }

  .site-header .header-inner {
    height: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 8px;
    padding-top: 0;
  }

  .site-header .brand,
  .site-header .brand-text {
    min-width: 0;
  }

  .site-header .brand-text strong {
    font-size: clamp(14px, 4.5vw, 18px);
    white-space: nowrap;
  }

  .site-header .brand-text small {
    font-size: 8px;
    letter-spacing: .1em;
    white-space: nowrap;
  }

  .site-header .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 66px;
    min-height: 44px;
    padding: 0 8px;
    border: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }

  .site-header.is-scrolled .mobile-menu-toggle {
    color: #141b40;
  }

  .mobile-menu-toggle svg {
    flex: none;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    max-height: calc(100vh - var(--header-h) - 64px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--header-h) - 64px - env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    overscroll-behavior-y: contain;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    box-shadow: 0 12px 24px -18px rgba(20, 27, 64, .45);
  }

  body.menu-open .site-header .main-nav {
    display: block;
  }

  .site-header .main-nav::-webkit-scrollbar {
    display: block;
    width: 6px;
  }

  .site-header .main-nav .tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 8px var(--gutter) 12px;
  }

  .site-header .main-nav .tabs li + li {
    border-top: 1px solid #e4e4e4;
  }

  .site-header .main-nav .tabs a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 12px;
    color: #141b40;
    font-size: 15px;
    line-height: 1.5;
    white-space: normal;
  }

  .site-header .main-nav .tabs a.is-active {
    color: #141b40;
    background: #f6ead6;
  }

  .site-header .main-nav .tabs a::after {
    display: none;
  }

  .site-header .main-nav .tabs a:focus-visible {
    outline-offset: -3px;
  }
}

/* DOAH IDEA 3 */
#page-about > .page-hero + .section {
  padding-bottom: 40px;
}

#page-about > .section.section--cv {
  padding-top: 40px;
  border-top: 1px solid #e4e4e4;
}

@media (max-width: 767px) {
  #page-about > .page-hero + .section {
    padding-bottom: 30px;
  }

  #page-about > .section.section--cv {
    padding-top: 30px;
  }
}

/* DOAH IDEA 4 */
.career-body h3,
.cv-title,
.role-card-head h3,
.pp-body strong,
.academic-list strong,
.psych-list h3,
.principles h3,
.topic-grid h3,
.step-body h3,
.pd-cols .h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

#page-home .pp-body small {
  font-size: 14px;
  line-height: 1.6;
}

.kicker,
.page-hero .eyebrow,
.academic-inner .eyebrow,
.psych-copy .eyebrow,
#psychology > .container > .eyebrow {
  letter-spacing: .12em;
}

/* 업무 상세의 한국어 분류는 기존 자간 유지 */
.pd-head .kicker {
  letter-spacing: .04em;
}

@media (max-width: 767px) {
  .page .kicker,
  .page-hero .eyebrow,
  .psych-copy .eyebrow,
  #psychology > .container > .eyebrow {
    display: none;
  }

  .page .pd-head .kicker {
    display: flex;
  }
}

/* DOAH IDEA 5 */
@media (min-width: 1024px) {
  #page-about .profile {
    column-gap: 48px;
  }
}

/* DOAH IDEA 1 보강: 태블릿(768–1023)에서도 하단바가 보이므로 남색 글씨 적용 */
.mobile-bar a.primary { color: #141b40; }

/* LINEBREAK (2026-11-15): 문장 단위 줄바꿈 + 심리학 소개문 가운데 정렬 */
.maxw .lb { display: block; word-break: keep-all; text-wrap: balance; }
#psychology > .container > p.psych-intro { text-align: center; margin-inline: auto; word-break: keep-all; }
@media (min-width: 1024px) {
  #psychology > .container > p.psych-intro { max-width: 1100px; }
}

/* HERO EYEBROW (2026-11-15): '경찰 경력 형사변호사' 크기 키움. 자간만큼 text-indent로 시각적 가운데 보정 */
.hero-copy .eyebrow { font-size: 16px; letter-spacing: .18em; text-indent: .18em; font-weight: 600; white-space: nowrap; }
@media (min-width: 768px) {
  .hero-copy .eyebrow { font-size: 20px; }
}

/* HEROSUB (2026-11-15): 광욱님 원문 줄바꿈 그대로 3줄 + 문단 간격 + 3줄 (PC·모바일 동일) */
.hero-lead.hero-lead-sub .hl-block { display: block; }
.hero-lead.hero-lead-sub .hl-block + .hl-block { margin-top: .9em; }
.hero-lead.hero-lead-sub .hl-line { display: block; white-space: nowrap; word-break: keep-all; }

/* NAMETAG (2026-11-15): 맺음말 서명 삭제, 사진 이름표를 서명 크기로(이름 20→24px, '변호사' 16→18px), 금색 띠 비례 확대(×1.2 → PC 2→3px, 모바일 3→4px) */
.profile-photo figcaption { font-size: 18px; padding: 12px 20px; border-top-width: 3px; }
.profile-photo figcaption strong { font-size: 24px; margin-right: 4px; }
@media (max-width: 767px) {
  .profile-photo figcaption { padding: 14px 0 0; border-top-width: 0; }
  .profile-photo picture img, .profile-photo > img { border-bottom-width: 4px; }
}
.profile-copy > p:last-child { margin-bottom: 0; }

/* PC 첫화면 배경: 사진을 오른쪽으로 밀고 선명하게, 글 뒤만 어둡게 (광욱님 2026-11-16 시안1 선택) */
@media (min-width: 1024px) {
  .hero-art { background: #0b0f26; }
  .hero-art .hero-photo { filter: brightness(.92) saturate(.95); transform: translateX(20%); object-position: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
  .hero-art::after, .hero-art:has(.hero-photo.is-loaded)::after { background:
    radial-gradient(ellipse 34% 46% at 50% 47%, rgba(10,13,32,.80) 0%, rgba(10,13,32,.62) 55%, rgba(10,13,32,0) 100%),
    linear-gradient(90deg, rgba(10,13,32,.95) 0%, rgba(10,13,32,.75) 28%, rgba(10,13,32,.25) 60%, rgba(10,13,32,.10) 100%); }
}

/* 업무 항목 아래 예시 줄 (광욱님 2026-11-16) */
.dot-list .duty-ex { display: block; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
/* 카드 부서·직책 줄 키우기 (광욱님 2026-11-16 "중요한 스펙이니까 가시성 좋게") */
.role-card-head p.muted { font-size: 16px; font-weight: 500; color: #3d4560; line-height: 1.55; }
@media (min-width: 768px) { .role-card-head p.muted { font-size: 18px; } }

/* 글자 크기 한 단계 키우기 (광욱님 2026-11-16, hhlaw 비교 후 추천안 승인). fs_bump.py로 생성 */
@media (min-width: 1024px) { .small { font-size: 16px; } }
@media (min-width: 1024px) { .eyebrow { font-size: 14px; } }
@media (min-width: 1024px) { .kicker { font-size: 14px; } }
@media (min-width: 1024px) { .kicker .num { font-size: 14px; } }
@media (min-width: 1024px) { .h4 { font-size: 17px; } }
@media (min-width: 1024px) { .btn { font-size: 16px; } }
@media (min-width: 1024px) { .btn-lg { font-size: 17px; } }
@media (min-width: 1024px) and (min-width: 1024px) { .tabs a { font-size: 17px; } }
@media (min-width: 1024px) { .hero-lead { font-size: 17px; } }
@media (min-width: 1024px) { .badge-num { font-size: 14px; } }
@media (min-width: 1024px) { .career-body { font-size: 16px; } }
@media (min-width: 1024px) { .psych-list h3 { font-size: 17px; } }
@media (min-width: 1024px) { .psych-list p { font-size: 16px; } }
@media (min-width: 1024px) { .academic-list strong { font-size: 17px; } }
@media (min-width: 1024px) { .academic-list span { font-size: 16px; } }
@media (min-width: 1024px) { .pp-body strong { font-size: 17px; } }
@media (min-width: 1024px) { .cta-text { font-size: 16px; } }
@media (min-width: 1024px) { .cta-action small { font-size: 14px; } }
@media (min-width: 1024px) { .chip { font-size: 16px; } }
@media (min-width: 1024px) { .pd-nav { font-size: 16px; } }
@media (min-width: 1024px) { .segmented button { font-size: 16px; } }
@media (min-width: 1024px) { .step-sub { font-size: 14px; } }
@media (min-width: 1024px) { .step-body > p { font-size: 16px; } }
@media (min-width: 1024px) { .step-points li { font-size: 14px; } }
@media (min-width: 1024px) { .checklist li { font-size: 16px; } }
@media (min-width: 1024px) { .info-label { font-size: 14px; } }
@media (min-width: 1024px) { .process-mini li { font-size: 16px; } }
@media (min-width: 1024px) { .process-mini li span { font-size: 14px; } }
@media (min-width: 1024px) { .field > span, .field legend { font-size: 16px; } }
@media (min-width: 1024px) { .field input, .field select, .field textarea { font-size: 17px; } }
@media (min-width: 1024px) { .radio-row label, .agree { font-size: 16px; } }
@media (min-width: 1024px) { .agree { font-size: 16px; } }
@media (min-width: 1024px) { .form-status { font-size: 16px; } }
@media (min-width: 1024px) { .faq details p { font-size: 16px; } }
@media (min-width: 1024px) { .site-footer { font-size: 16px; } }
@media (min-width: 1024px) { .mobile-bar a { font-size: 16px; } }
@media (min-width: 1024px) and (min-width: 1024px) { .header-cta { font-size: 16px; } }
@media (min-width: 1024px) { .hero-side { font-size: 16px; } }
@media (min-width: 1024px) and (min-width: 1024px) { .books span:nth-child(3) { font-size: 16px; } }
@media (min-width: 1024px) { .career-axis { font-size: 14px; } }
@media (min-width: 1024px) { .career-plus-label { font-size: 14px; } }
@media (min-width: 1024px) { .q-list li { font-size: 17px; } }
@media (min-width: 1024px) { .role-axis { font-size: 14px; } }
@media (min-width: 1024px) { .role-meaning { font-size: 16px; } }
@media (min-width: 1024px) { .role-meaning strong { font-size: 14px; } }
@media (min-width: 1024px) { .analysis-list li { font-size: 16px; } }
@media (min-width: 1024px) { .analysis-list li::before { font-size: 16px; } }
@media (min-width: 1024px) { .principle-num { font-size: 16px; } }
@media (min-width: 1024px) { .principles p { font-size: 16px; } }
@media (min-width: 1024px) { .chip-group-label { font-size: 14px; } }
@media (min-width: 1024px) { .topic-grid h3 { font-size: 22px; } }
@media (min-width: 1024px) { .channel-state { font-size: 14px; } }
@media (min-width: 1024px) { .powered { font-size: 14px; } }
@media (min-width: 1024px) { .ai-prompts button, .ai-card { font-size: 16px; } }
@media (min-width: 1024px) { .ai-card span:last-child { font-size: 16px; } }
@media (min-width: 1024px) { .chat-fab { font-size: 16px; } }
@media (min-width: 1024px) { .chat-msg { font-size: 16px; } }
@media (min-width: 1024px) { .chat-frame-loading { font-size: 16px; } }
@media (min-width: 1024px) { .chat-suggest button { font-size: 14px; } }
@media (min-width: 1024px) { .chat-form textarea { font-size: 17px; } }
@media (min-width: 1024px) { .chat-handoff { font-size: 16px; } }
@media (min-width: 1024px) { .dot-list .duty-note { font-size: 14px; } }
@media (min-width: 1024px) and (min-width: 1024px) { .hero-lead.hero-lead-sub { font-size: 17px; } }
@media (min-width: 1024px) { .tl-axis { font-size: 14px; } }
@media (min-width: 1024px) { .tl-unit { font-size: 16px; } }
@media (min-width: 1024px) { .cv-list li { font-size: 17px; } }
@media (min-width: 1024px) { .role-card summary .muted { font-size: 16px; } }
@media (min-width: 1024px) { .eyebrow, .kicker { font-size: 14px; } }
@media (min-width: 1024px) and (min-width: 1024px) { .hh-quick p { font-size: 14px; } }
@media (min-width: 1024px) { .role-card-head .muted { font-size: 16px; } }
@media (min-width: 1024px) { #page-contact .contact-form .mail-submit-note { font-size: 14px; } }
@media (min-width: 1024px) { .career-body h3,
.cv-title,
.role-card-head h3,
.pp-body strong,
.academic-list strong,
.psych-list h3,
.principles h3,
.topic-grid h3,
.step-body h3,
.pd-cols .h4 { font-size: 22px; } }
@media (min-width: 1024px) { #page-home .pp-body small { font-size: 16px; } }
@media (min-width: 1024px) { .dot-list .duty-ex { font-size: 16px; } }
@media (min-width: 1024px) { .role-card-head p.muted { font-size: 17px; } }
@media (max-width: 1023px) { .small { font-size: 15px; } }
@media (max-width: 1023px) { .eyebrow { font-size: 13px; } }
@media (max-width: 1023px) { .kicker { font-size: 13px; } }
@media (max-width: 1023px) { .kicker .num { font-size: 14px; } }
@media (max-width: 1023px) { .h4 { font-size: 17px; } }
@media (max-width: 1023px) { .btn { font-size: 15px; } }
@media (max-width: 1023px) { .btn-lg { font-size: 17px; } }
@media (max-width: 1023px) { .tabs a { font-size: 16px; } }
@media (max-width: 1023px) { .hero-lead { font-size: 17px; } }
@media (max-width: 1023px) { .badge-num { font-size: 14px; } }
@media (max-width: 1023px) { .career-body { font-size: 15px; } }
@media (max-width: 1023px) { .psych-list h3 { font-size: 17px; } }
@media (max-width: 1023px) { .psych-list p { font-size: 15px; } }
@media (max-width: 1023px) { .academic-list strong { font-size: 17px; } }
@media (max-width: 1023px) { .academic-list span { font-size: 15px; } }
@media (max-width: 1023px) { .pp-body strong { font-size: 17px; } }
@media (max-width: 1023px) { .cta-text { font-size: 16px; } }
@media (max-width: 1023px) { .cta-action small { font-size: 14px; } }
@media (max-width: 1023px) { .chip { font-size: 15px; } }
@media (max-width: 1023px) { .pd-nav { font-size: 15px; } }
@media (max-width: 1023px) { .segmented button { font-size: 16px; } }
@media (max-width: 1023px) { .step-sub { font-size: 13px; } }
@media (max-width: 1023px) { .step-body > p { font-size: 16px; } }
@media (max-width: 1023px) { .step-points li { font-size: 14px; } }
@media (max-width: 1023px) { .checklist li { font-size: 16px; } }
@media (max-width: 1023px) { .info-label { font-size: 14px; } }
@media (max-width: 1023px) { .process-mini li { font-size: 15px; } }
@media (max-width: 1023px) { .process-mini li span { font-size: 14px; } }
@media (max-width: 1023px) { .field > span, .field legend { font-size: 15px; } }
@media (max-width: 1023px) { .field input, .field select, .field textarea { font-size: 17px; } }
@media (max-width: 1023px) { .radio-row label, .agree { font-size: 16px; } }
@media (max-width: 1023px) { .agree { font-size: 15px; } }
@media (max-width: 1023px) { .form-status { font-size: 15px; } }
@media (max-width: 1023px) { .faq details p { font-size: 16px; } }
@media (max-width: 1023px) { .site-footer { font-size: 15px; } }
@media (max-width: 1023px) { .mobile-bar a { font-size: 16px; } }
@media (max-width: 1023px) { .career-axis { font-size: 13px; } }
@media (max-width: 1023px) { .career-plus-label { font-size: 13px; } }
@media (max-width: 1023px) { .q-list li { font-size: 17px; } }
@media (max-width: 1023px) { .role-axis { font-size: 13px; } }
@media (max-width: 1023px) { .role-meaning { font-size: 16px; } }
@media (max-width: 1023px) { .role-meaning strong { font-size: 14px; } }
@media (max-width: 1023px) { .analysis-list li { font-size: 16px; } }
@media (max-width: 1023px) { .analysis-list li::before { font-size: 15px; } }
@media (max-width: 1023px) { .principle-num { font-size: 16px; } }
@media (max-width: 1023px) { .principles p { font-size: 16px; } }
@media (max-width: 1023px) { .chip-group-label { font-size: 13px; } }
@media (max-width: 1023px) { .channel-state { font-size: 14px; } }
@media (max-width: 1023px) { .powered { font-size: 13px; } }
@media (max-width: 1023px) { .ai-prompts button, .ai-card { font-size: 16px; } }
@media (max-width: 1023px) { .ai-card span:last-child { font-size: 15px; } }
@media (max-width: 1023px) { .chat-fab { font-size: 16px; } }
@media (max-width: 1023px) { .chat-msg { font-size: 16px; } }
@media (max-width: 1023px) { .chat-frame-loading { font-size: 15px; } }
@media (max-width: 1023px) { .chat-suggest button { font-size: 14px; } }
@media (max-width: 1023px) { .chat-form textarea { font-size: 17px; } }
@media (max-width: 1023px) { .chat-handoff { font-size: 15px; } }
@media (max-width: 1023px) { .dot-list .duty-note { font-size: 14px; } }
@media (max-width: 1023px) and (max-width: 480px) { .hero-lead.hero-lead-sub { font-size: 15px; } }
@media (max-width: 1023px) { .tl-axis { font-size: 13px; } }
@media (max-width: 1023px) { .tl-unit { font-size: 16px; } }
@media (max-width: 1023px) { .cv-list li { font-size: 17px; } }
@media (max-width: 1023px) { .role-card summary .muted { font-size: 15px; } }
@media (max-width: 1023px) { .eyebrow, .kicker { font-size: 14px; } }
@media (max-width: 1023px) { .hero-side { font-size: 16px; } }
@media (max-width: 1023px) { .role-card-head .muted { font-size: 15px; } }
@media (max-width: 1023px) { #page-contact .contact-form .mail-submit-note { font-size: 14px; } }
@media (max-width: 1023px) and (max-width: 767px) { .site-header .mobile-menu-toggle { font-size: 15px; } }
@media (max-width: 1023px) and (max-width: 767px) { .site-header .main-nav .tabs a { font-size: 16px; } }
@media (max-width: 1023px) { #page-home .pp-body small { font-size: 15px; } }
@media (max-width: 1023px) { .dot-list .duty-ex { font-size: 15px; } }
@media (min-width: 1024px) { .main-nav a { font-size: 18px !important; } }

/* 큰 화면에서만 내용 폭 넓히기 (광욱님 2026-11-16, 도아·일선 비교) */
@media (min-width: 1440px) { .container { max-width: 1360px; } }
@media (min-width: 1800px) { .container { max-width: 1440px; } }
/* 큰 화면 문단 한 줄 길이 상한 (광욱님 2026-11-16 "문장이 길어진 느낌") */
@media (min-width: 1440px) { .whyme-copy > p, .profile-copy > p:not(.profile-closing) { max-width: 46em; } } /* 2026-11-16 박스·카드·업무분야 상세 안 문단은 제한 제외 (광욱님 "한쪽에 몰려") */
.nw{white-space:nowrap}
@media (max-width: 480px) { .hero-lead.hero-lead-key { font-size: min(17px, 4.4vw); } }
/* 모바일 본문 줄끝 정리: 양쪽정렬 대신 text-wrap pretty (광욱님 2026-11-16 2번 단어끊김 거부) */
@media (max-width: 1023px) {
  .whyme-copy p, .career-body p, .psych-copy p, .profile-copy p, .q-answer p, .pd-lead,
  .role-meaning, .psych-list--grid p, .principles p, .caveat, .pp-copy p.muted {
    text-wrap: pretty;
  }
}
/* 수사 단계 카드 높이 통일 + 하단 안내문 가운데 (광욱님 2026-11-16) */
@media (min-width: 1024px) {
  .steps { align-items: stretch; grid-auto-rows: 1fr; }
  .step { grid-template-rows: auto 1fr; align-content: stretch; }
  .step-body { height: auto; align-self: stretch; margin-top: 0 !important; }
  .steps + .note { text-align: center; margin-inline: auto; }
}
/* 모바일 업무분야 칩: 가로 스크롤 대신 줄바꿈 (광욱님 2026-11-16 "스크롤해야만 보이는 요소 안 됨") */
@media (max-width: 1023px) {
  .chip-row { flex-wrap: wrap !important; overflow-x: visible !important; margin-inline: 0 !important; padding-inline: 0 !important; }
}
/* 모바일 히어로: 책 사진 선명 + 글자 가독성 보완 (광욱님 2026-11-16 2번 시안 확정) */
@media (max-width: 1023px) {
  .hero-art .hero-photo { filter: brightness(.78) saturate(.9) contrast(1.05) !important; transform: none !important; }
  .hero-art::after, .hero-art:has(.hero-photo.is-loaded)::after { background: radial-gradient(80% 45% at 50% 52%, rgba(10,13,32,.45) 0%, rgba(10,13,32,0) 100%), linear-gradient(180deg, rgba(14,19,48,.55) 0%, rgba(14,19,48,.42) 40%, rgba(10,13,32,.78) 100%) !important; }
  .hero-lead.hero-lead-key { color: #fff !important; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
  .hero-lead.hero-lead-sub { color: rgba(255,255,255,.95) !important; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.6); }
  .hero-side { text-shadow: 0 1px 8px rgba(0,0,0,.6); }
}

/* 모바일 프로필 사진 B안 확대 (광욱님 2026-11-16 03:22) */
@media (max-width: 1023px) { .profile-photo { width: 82%; max-width: 360px; } }

/* ---------- 상담 안내 시안 (로컬, 배포 전) 2026-11-16 ---------- */
.contact-stack { display: grid; gap: 36px; }
.contact-stack, .contact-priority, .contact-form, .contact-info, .contact-card-meta, .contact-promise {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: left;
}
#page-contact > .page-hero + .section { padding-top: 48px; }
.contact-priority { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 20px; min-width: 0; min-height: 112px;
  text-decoration: none; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-card-icon {
  flex: none; display: grid; place-items: center;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
}
.contact-card-icon svg { width: 24px; height: 24px; }
.contact-card-body { display: grid; gap: 6px; min-width: 0; flex: 1; }
.contact-card-title { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.contact-card-main { display: grid; gap: 6px; }
.contact-card-value { font-size: 22px; font-weight: 700; line-height: 1.35; color: inherit; }
.contact-card-value[data-config="phone"] { white-space: nowrap; }
.contact-card-meta { font-size: 15px; line-height: 1.55; }
.contact-card-meta-label { font-weight: 600; margin-right: 4px; }

.contact-card--phone {
  background: var(--navy-800); border-color: var(--navy-800); color: #fff;
}
.contact-card--phone .contact-card-title { color: var(--gold-300); }
.contact-card--phone .contact-card-meta { color: rgba(255,255,255,.8); }

.contact-card--kakao {
  background: #FEE500; border-color: #FEE500; color: #191919;
}
.contact-card--kakao .contact-card-icon { background: rgba(25,25,25,.08); }
.contact-card--kakao .contact-card-title { color: #191919; }
.contact-card--kakao .contact-card-meta { color: rgba(25,25,25,.72); }
.contact-card--kakao.is-pending { cursor: pointer; }

.contact-form--quick { border-top: 2px solid var(--gold-400); }
.contact-promise {
  margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--ink);
}
#page-contact .contact-form .h3,
#page-contact .contact-form > .muted,
#page-contact .contact-form .mail-submit-note { text-align: left; word-break: keep-all; }
#page-contact .contact-form .mail-submit-note { font-size: 15px; }

.kakao-toast {
  position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); z-index: 80;
  max-width: calc(100vw - 32px); margin: 0;
  padding: 12px 18px; background: var(--navy-900); color: #fff;
  font-size: 15px; line-height: 1.5; word-break: keep-all;
  box-shadow: var(--shadow);
}
.kakao-toast[hidden] { display: none !important; }

/* 모바일 하단바: 전화 / 카톡 / 상담 신청 3칸, 320px에서도 한 줄 */
.mobile-bar,
body[data-page="contact"] .mobile-bar { grid-template-columns: 1fr 1fr 1fr; }
body[data-page="contact"] .mobile-bar a.primary { display: flex; }
.mobile-bar a {
  min-width: 0; padding: 0 4px; gap: 4px;
  white-space: nowrap; letter-spacing: -.02em;
}
.mobile-bar a.kakao { background: #FEE500; color: #191919; }
.mobile-bar a.kakao svg { color: #191919; }

@media (min-width: 700px) {
  /* v3: 전화+카톡은 한 덩어리라 2칸으로 나누지 않음 */
  .contact-priority { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .contact-stack { gap: 48px; }
  #page-contact > .page-hero + .section { padding-top: 80px; }
  .contact-card { padding: 28px 26px; }
  .contact-card-value { font-size: 24px; }
  .contact-card-meta { font-size: 16px; }
  .contact-card--phone .contact-card-main {
    display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 16px 28px;
  }
  .contact-card--phone .contact-card-meta {
    flex: 1; min-width: 0; padding-left: 22px;
    border-left: 1px solid rgba(255,255,255,.22);
  }
  .contact-promise { font-size: 16px; }
  #page-contact .contact-form .mail-submit-note { font-size: 16px; }
  .kakao-toast { bottom: 32px; font-size: 16px; }
  .hh-quick a.kakao { background: #FEE500; color: #191919; }
  .hh-quick a.kakao svg { color: #191919; }
  .hh-quick a.kakao:hover { background: #f3dc00; color: #191919; }
  .hh-quick a.kakao:hover svg { color: #191919; }
}
@media (max-width: 1023px) {
  .mobile-bar,
  body[data-page="contact"] .mobile-bar { grid-template-columns: 1fr 1fr 1fr; }
  body[data-page="contact"] .mobile-bar a.primary { display: flex; color: #141b40; }
  .mobile-bar a { font-size: 13px; }
  .mobile-bar svg { width: 16px; height: 16px; flex: none; }
  .contact-card-value { font-size: 20px; }
  .contact-promise { font-size: 15px; }
  #page-contact .contact-form .mail-submit-note { font-size: 15px; }
}
@media (min-width: 380px) and (max-width: 1023px) {
  .mobile-bar a { font-size: 14px; }
  .mobile-bar svg { width: 18px; height: 18px; }
}
@media (max-width: 359px) {
  .mobile-bar a { font-size: 12px; gap: 3px; padding: 0 2px; }
  .mobile-bar svg { width: 15px; height: 15px; }
}

/* ---------- 상담 안내 가독성 보정 (Claude 레이아웃, 로컬 시안) 2026-11-16 ---------- */
#page-contact .reveal { opacity: 1; transform: none; transition: none; }

.contact-card,
.contact-form { box-shadow: none; }
.contact-card--kakao { background: #fff; border: 1px solid var(--line); color: var(--navy-800); }
.contact-card--kakao .contact-card-icon { background: #FEE500; color: #191919; }
.contact-card--kakao .contact-card-title { color: #8a6a33; }
.contact-card--kakao .contact-card-meta { color: var(--muted); }
#page-contact .kicker,
#page-contact .faq summary::before { color: #8a6a33; }
#page-contact .contact-info .h3,
#page-contact .contact-form--detail .h3 { font-size: 22px; }
#page-contact .contact-promise,
#page-contact .info-value,
#page-contact .contact-form > .muted,
#page-contact .process-mini li { font-size: 16px; }
#page-contact .mail-submit-note,
#page-contact .info-label,
#page-contact .contact-card-meta,
#page-contact .agree,
#page-contact .contact-form > .muted.small { font-size: 15px; }
#page-contact .contact-stack > *,
#page-contact .contact-priority,
#page-contact .contact-form,
#page-contact .contact-info,
#page-contact .field-row,
#page-contact .field { min-width: 0; }

/* v3: 한 칸 · 신청서 1개 */
.contact-priority { grid-template-columns: 1fr; gap: 0; }
.contact-card { min-height: 0; }
.contact-card--kakao { border-top: 0; align-items: center; padding: 14px 20px; }
.contact-card--kakao .contact-card-title { display: none; }
.contact-card--kakao .contact-card-icon { width: 32px; height: 32px; }
.contact-card--kakao .contact-card-icon svg { width: 18px; height: 18px; }
.contact-card--kakao .contact-card-body,
.contact-card--kakao .contact-card-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.contact-card--kakao .contact-card-value { font-size: 17px; }

.form-more { margin: 4px 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-more > summary { display: flex; justify-content: space-between; padding: 16px 0; cursor: pointer;
  list-style: none; font-size: 16px; font-weight: 600; color: var(--navy-800); }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary span { margin-right: auto; margin-left: 6px; font-weight: 400; color: var(--muted); }
.form-more > summary::after { content: '+'; font-weight: 400; }
.form-more[open] > summary::after { content: '\2212'; }
.form-more-body { padding: 4px 0 8px; }

.contact-meta { display: grid; gap: 6px; font-size: 16px; line-height: 1.7; color: var(--ink-2); word-break: keep-all; text-align: left; }
.contact-meta p { margin: 0; }
.contact-meta span { display: inline-block; min-width: 72px; font-size: 15px; color: var(--muted); }
.contact-meta b { font-weight: 600; color: var(--navy-800); }
.contact-meta a { color: var(--navy-800); font-weight: 600; }

@media (min-width: 1024px) {
  #page-contact .container { max-width: calc(760px + 2 * var(--gutter)); }
  #page-contact > .page-hero + .section { padding-top: 64px; }
  #page-contact .contact-stack { grid-template-columns: 1fr; gap: 40px; }
  .contact-priority { grid-template-columns: 1fr; }
  .contact-card { height: auto; }
  .contact-card--phone { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px;
    align-items: start; padding: 32px 36px; }
  .contact-card--phone .contact-card-body,
  .contact-card--phone .contact-card-main { display: contents; }
  .contact-card--phone .contact-card-icon { grid-column: 1; grid-row: 1 / span 2; }
  .contact-card--phone .contact-card-title,
  .contact-card--phone .contact-card-value { grid-column: 2; }
  .contact-card--phone .contact-card-value { font-size: 32px; }
  #page-contact .contact-card--phone .contact-card-meta { grid-column: 2; padding-left: 0; border-left: 0; font-size: 16px; white-space: nowrap; }
  .contact-card--kakao { padding: 16px 36px; }
  .contact-form { padding: 44px 48px; }
  .contact-form--quick .h3 { font-size: 26px; }
  .contact-form--quick .field-row { grid-template-columns: 1fr 1fr; }
  #page-contact .mail-submit-note { font-size: 15px; }
  .hh-quick a.kakao, .hh-quick a.kakao:hover { background: #fff; color: var(--ink); }
  .hh-quick a.kakao svg, .hh-quick a.kakao:hover svg { color: #FEE500; }
}

@media (max-width: 1023px) {
  #page-contact .page-hero { padding: calc(var(--header-h) + 12px) 0 16px; }
  #page-contact .page-title { font-size: 28px; margin-bottom: 6px; }
  #page-contact .page-title::after { display: none; }
  #page-contact .page-lead { font-size: 15px; margin: 6px auto 0; }
  #page-contact > .page-hero + .section { padding-top: 28px; }
  .contact-card--phone .contact-card-value { font-size: clamp(22px, 6.4vw, 26px); }
  .contact-card--kakao { min-height: 0; padding: 14px 20px; }
  .contact-card--kakao .contact-card-value { font-size: 17px; }
  #page-contact .contact-form {
    padding: 24px 0 0; border: 0; border-top: 2px solid var(--gold-400);
    background: none; box-shadow: none;
  }
  .mobile-bar a.kakao { background: var(--navy-900); color: #fff; border-left: 1px solid rgba(255,255,255,.14); }
  .mobile-bar a.kakao svg { color: #FEE500; }
}

/* ---------- v4: 전화·카톡 같은 크기 카드 + 사이트 접수 ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#page-contact .form-status.is-ok {
  margin-top: 16px; padding: 14px 16px; background: #f3f6f1; color: #2f6b4a;
  font-size: 16px; font-weight: 600; line-height: 1.6; word-break: keep-all;
}

.contact-priority {
  display: grid !important;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 12px !important;
  align-items: stretch;
}
#page-contact .contact-card {
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  min-height: 148px;
  padding: 22px 20px !important;
  box-sizing: border-box;
}
#page-contact .contact-card--phone {
  grid-template-columns: unset;
  column-gap: unset;
  row-gap: unset;
}
#page-contact .contact-card--phone .contact-card-body,
#page-contact .contact-card--phone .contact-card-main,
#page-contact .contact-card--kakao .contact-card-body,
#page-contact .contact-card--kakao .contact-card-main {
  display: grid !important;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
#page-contact .contact-card--phone .contact-card-icon,
#page-contact .contact-card--kakao .contact-card-icon {
  grid-column: auto;
  grid-row: auto;
  width: 44px;
  height: 44px;
  flex: none;
}
#page-contact .contact-card--kakao .contact-card-icon svg {
  width: 24px;
  height: 24px;
}
#page-contact .contact-card--phone .contact-card-title,
#page-contact .contact-card--phone .contact-card-value,
#page-contact .contact-card--phone .contact-card-meta {
  grid-column: auto;
  white-space: normal;
}
#page-contact .contact-card--kakao {
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--navy-800);
  align-items: flex-start;
}
#page-contact .contact-card--kakao .contact-card-title {
  display: block !important;
  color: #8a6a33;
  font-size: 14px;
}
#page-contact .contact-card--kakao .contact-card-icon { background: #FEE500; color: #191919; }
#page-contact .contact-card--kakao .contact-card-value { font-size: 20px; font-weight: 700; }
#page-contact .contact-card--kakao .contact-card-meta { color: var(--muted); }
#page-contact .contact-card--phone .contact-card-value { font-size: clamp(22px, 6.4vw, 26px); }
#page-contact .contact-card--phone .contact-card-meta { font-size: 15px; line-height: 1.5; }

@media (min-width: 1024px) {
  #page-contact .contact-priority {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  #page-contact .contact-card { padding: 24px 22px !important; min-height: 168px; }
  #page-contact .contact-card--phone .contact-card-value { font-size: 28px; }
  #page-contact .contact-card--kakao .contact-card-value { font-size: 20px; }
  #page-contact .contact-card--phone .contact-card-meta { font-size: 15px; white-space: normal; }
}

/* 프로필 사진 표시 크기 약 12% 확대 (광욱님 2026-11-16 15:30) */
.profile-photo { max-width: 444px; }
@media (min-width: 1024px) { .profile { grid-template-columns: 444px 1fr; } }
@media (max-width: 1023px) { .profile-photo { width: 92%; max-width: 400px; } }

/* 상담 동의 문구: 장문, 읽기 쉽게 (cbr16, 광욱님 2026-11-16) */
#page-contact .agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
  min-width: 0;
  max-width: 100%;
}
#page-contact .agree span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (min-width: 1024px) {
  #page-contact .agree { font-size: 14px; }
}
