/* =========================================================
   변호사 김광욱 — style
   ========================================================= */
:root {
  --navy-900: #0a1220;
  --navy-800: #0d1726;
  --navy-700: #152237;
  --navy-600: #1f2f48;
  --gold-500: #a8875e;
  --gold-400: #bfa07a;
  --gold-300: #d9c5a5;
  --gold-100: #efe7da;
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --paper: #fffdf9;
  --ink: #1b2331;
  --ink-2: #3c4555;
  --muted: #6d7482;
  --line: #e2d9ca;
  --line-dark: rgba(255, 255, 255, .12);

  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --header-h: 112px;
  --radius: 4px;
  --shadow: 0 10px 30px -12px rgba(13, 23, 38, .25);
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.br-pc { display: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.maxw { max-width: 760px; }
.light-muted { color: rgba(255, 255, 255, .72); }

/* ---------- typography ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 600; margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold-400); }
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; color: var(--gold-500); font-weight: 600; margin-bottom: 14px;
}
.kicker .num {
  display: inline-grid; place-items: center; min-width: 32px; height: 26px; padding: 0 6px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); letter-spacing: 0; font-size: 13px;
}
.h2 { font-family: var(--serif); font-size: clamp(24px, 5.6vw, 34px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; color: var(--navy-800); }
.h2.light { color: #fff; }
.h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 18px; color: var(--navy-800); }
.h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--navy-800); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-600); }
.btn-light { background: var(--cream); color: var(--navy-900); }
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--gold-500); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header / tabs ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .94);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(13, 23, 38, .5); }
.header-inner {
  display: grid; grid-template-columns: 1fr; align-items: center;
  column-gap: 16px; padding-top: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy-800); min-height: 46px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.brand-text small { font-size: 9px; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.header-cta { display: none; }

.main-nav {
  grid-column: 1 / -1; margin: 8px calc(var(--gutter) * -1) 0;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 28px), transparent);
}
.main-nav::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: 4px; padding: 0 var(--gutter); width: max-content; }
.tabs a {
  position: relative; display: block; padding: 10px 12px 12px;
  font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: color .2s;
}
.tabs a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transition: transform .25s;
}
.tabs a:hover { color: var(--navy-800); }
.tabs a.is-active { color: var(--navy-800); font-weight: 700; }
.tabs a.is-active::after { transform: scaleX(1); }

/* ---------- page switching ---------- */
.page { animation: pageIn .45s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.section { padding: 64px 0; }
.section-tint { background: var(--cream-2); }
.section-dark { background: var(--navy-800); color: rgba(255, 255, 255, .82); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 72% 40%, rgba(168, 135, 94, .14), transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 100%, rgba(31, 47, 72, .9), transparent 70%),
    linear-gradient(120deg, #070d18 0%, #0f1a2b 55%, #1a2232 100%);
}
.hero::before {
  /* window light */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 80px, rgba(255, 255, 255, .025) 80px 82px);
}
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.scale-svg {
  position: absolute; right: -60px; bottom: 30px; width: 260px; opacity: .16; color: var(--gold-300);
}
.books { display: none; }
.hero-inner { position: relative; padding-top: 64px; padding-bottom: 72px; }
.hero-title {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(34px, 9vw, 64px); line-height: 1.25; margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--gold-400); }
.hero-lead {
  font-size: 16px; color: rgba(255, 255, 255, .84); max-width: 560px;
  padding-left: 16px; border-left: 1px solid var(--gold-500); margin-bottom: 32px;
}
.hero-side { display: none; }

/* ---------- why me / careers ---------- */
.whyme { display: grid; gap: 36px; }
.whyme-copy p:not(.kicker) { color: var(--ink-2); margin-bottom: 28px; }
.career-cards { display: grid; gap: 16px; counter-reset: c; }
.career-card {
  display: grid; grid-template-columns: 112px 1fr; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.career-visual {
  position: relative; display: grid; place-items: center; min-height: 140px;
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
  color: var(--gold-400); overflow: hidden;
}
.career-visual::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(255, 255, 255, .05) 14px 15px),
              repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, .04) 18px 19px);
}
.career-visual.v2 { background: linear-gradient(160deg, #24426b, var(--navy-900)); }
.career-visual.v3 { background: linear-gradient(160deg, #3b4d66, var(--navy-900)); }
.career-icon { position: relative; width: 48px; height: 48px; }
.career-icon svg { width: 100%; height: 100%; }
.badge-num {
  position: absolute; top: 0; left: 0; z-index: 1; padding: 4px 10px;
  background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 600;
}
.career-body { padding: 18px 18px 20px; font-size: 14px; color: var(--ink-2); }
.career-body h3 { font-family: var(--serif); font-size: 17px; color: var(--navy-800); margin-bottom: 10px; }
.career-body p { margin-bottom: 8px; line-height: 1.6; }

/* ---------- psych ---------- */
.psych {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 40% 50%, rgba(60, 80, 110, .45), transparent 70%),
    var(--navy-800);
}
.psych-inner { display: grid; gap: 40px; }
.psych-copy p { margin-bottom: 28px; }
.psych-list { border: 1px solid var(--line-dark); }
.psych-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-bottom: 1px solid var(--line-dark);
}
.psych-list li:last-child { border-bottom: 0; }
.psych-icon { color: var(--gold-400); width: 40px; height: 40px; }
.psych-icon svg { width: 100%; height: 100%; }
.psych-list h3 { font-size: 16px; color: #fff; margin-bottom: 4px; }
.psych-list p { font-size: 14px; color: rgba(255, 255, 255, .68); line-height: 1.6; }
.psych-list--grid { margin-top: 36px; display: grid; }

/* ---------- academic ---------- */
.academic { background: var(--paper); border-block: 1px solid var(--line); padding: 36px 0; }
.academic-inner { display: grid; gap: 8px; }
.academic-inner .eyebrow { margin: 0 0 8px; }
.academic-list { display: grid; gap: 0; }
.academic-list li {
  display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.academic-list li:last-child { border-bottom: 0; }
.academic-icon {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-400);
}
.academic-icon svg { width: 24px; height: 24px; }
.academic-list strong { display: block; font-family: var(--serif); color: var(--navy-800); font-size: 16px; }
.academic-list span { font-size: 14px; color: var(--muted); }
.academic-list em { font-style: normal; }
.academic-list--cards { margin-top: 28px; gap: 12px; }
.academic-list--cards li { background: var(--paper); border: 1px solid var(--line); padding: 20px; }
.academic-list--cards li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- practice preview ---------- */
.practice-preview { display: grid; gap: 32px; }
.pp-copy p { margin-bottom: 24px; }
.pp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pp-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.pp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pp-visual {
  display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--gold-300);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
}
.pp-visual svg { width: 38%; height: auto; }
.t2 .pp-visual { background: linear-gradient(160deg, #3a2034, #120c18); }
.t3 .pp-visual { background: linear-gradient(160deg, #26384d, #0b121d); }
.t4 .pp-visual { background: linear-gradient(160deg, #4b3a2a, #17110b); }
.t5 .pp-visual { background: linear-gradient(160deg, #2f3a33, #0d120f); }
.t6 .pp-visual { background: linear-gradient(160deg, #2b3550, #0c0f1b); }
.t7 .pp-visual { background: linear-gradient(160deg, #4a3b35, #15100d); }
.pp-body { position: relative; display: flex; flex-direction: column; padding: 14px 14px 34px; flex: 1; }
.pp-body strong { font-size: 16px; color: var(--navy-800); margin-bottom: 4px; }
.pp-body small { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.pp-body .arrow { position: absolute; right: 14px; bottom: 10px; color: var(--navy-800); }

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff; padding: 64px 0;
  background:
    radial-gradient(ellipse 50% 90% at 20% 100%, rgba(168, 135, 94, .1), transparent 70%),
    linear-gradient(120deg, #080e19, #121c2c);
}
.cta-inner { display: grid; gap: 22px; }
.cta-title { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 6vw, 38px); letter-spacing: -.02em; }
.cta-text { color: rgba(255, 255, 255, .74); font-size: 15px; }
.cta-action { display: grid; gap: 10px; justify-items: start; }
.cta-action small { color: rgba(255, 255, 255, .6); font-size: 13px; }

/* ---------- sub page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; padding: 56px 0 52px;
  background:
    radial-gradient(ellipse 50% 90% at 85% 30%, rgba(168, 135, 94, .12), transparent 70%),
    linear-gradient(120deg, #070d18, #16233a);
}
.page-hero::after {
  content: ''; position: absolute; right: -40px; top: 50%; width: 220px; height: 220px; transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .02), 0 0 0 60px rgba(255, 255, 255, .015);
}
.page-title { font-family: var(--serif); font-size: clamp(30px, 7vw, 46px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 10px; }
.page-lead { color: rgba(255, 255, 255, .75); max-width: 640px; }

/* ---------- about ---------- */
.profile { display: grid; gap: 36px; }
.profile-photo { margin: 0; position: relative; max-width: 380px; }
.profile-photo img, .photo-fallback {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream-2);
  border: 1px solid var(--line);
}
.profile-photo img + .photo-fallback { display: none; }
.photo-fallback {
  display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--gold-500);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.photo-fallback svg { width: 90px; }
.photo-fallback span { font-size: 11px; letter-spacing: .24em; color: rgba(255, 255, 255, .5); }
.profile-photo figcaption {
  position: absolute; left: 0; bottom: 0; padding: 10px 18px; background: var(--paper); color: var(--ink-2);
  border-top: 2px solid var(--gold-500);
}
.profile-photo figcaption strong { font-family: var(--serif); font-size: 20px; color: var(--navy-800); }
.profile-copy p:not(.kicker) { color: var(--ink-2); }
.signature { margin-top: 28px; font-family: var(--serif); font-size: 18px; }
.signature strong { font-size: 24px; color: var(--navy-800); margin-left: 6px; }


/* ---------- practice detail ---------- */
.chip-row {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px;
  margin: 0 calc(var(--gutter) * -1) 28px; padding-inline: var(--gutter);
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 10px 18px; border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all .2s;
}
.chip:hover { border-color: var(--gold-500); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.practice-detail { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); animation: pageIn .35s ease both; }
.pd-head { display: flex; gap: 18px; align-items: center; padding: 28px 22px; border-bottom: 1px solid var(--line); }
.pd-head .h2 { margin-bottom: 4px; }
.pd-head .kicker { margin-bottom: 6px; }
.pd-icon {
  flex: none; display: grid; place-items: center; width: 72px; height: 72px; color: var(--gold-300);
  background: linear-gradient(160deg, var(--navy-600), var(--navy-900));
}
.pd-icon svg { width: 38px; height: 38px; }
.pd-lead { padding: 24px 22px 0; font-size: 16.5px; color: var(--ink); font-family: var(--serif); line-height: 1.85; }
.pd-cols { display: grid; gap: 28px; padding: 28px 22px; }
.dot-list li, .num-list li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.dot-list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 6px; height: 6px; background: var(--gold-500); transform: rotate(45deg); }
.num-list { counter-reset: n; }
.num-list li { padding-left: 34px; }
.num-list li::before {
  counter-increment: n; content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 10px;
  font-family: var(--serif); color: var(--gold-500); font-weight: 600;
}
.pd-foot { display: grid; gap: 18px; padding: 0 22px 28px; }
.pd-nav { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.pd-nav a:hover { color: var(--navy-800); }

/* ---------- process ---------- */
.segmented {
  display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 36px;
}
.segmented button {
  border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font-weight: 600; color: var(--muted); font-size: 15px;
}
.segmented button[aria-selected="true"] { background: var(--navy-800); color: #fff; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; position: relative; padding-bottom: 28px; }
.step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-300); font-family: var(--serif); font-size: 18px; font-weight: 600;
}
.step-body { background: var(--paper); border: 1px solid var(--line); padding: 20px 22px; }
.step-sub { font-size: 12px; letter-spacing: .08em; color: var(--gold-500); font-weight: 700; margin-bottom: 4px; }
.step-body h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-800); margin-bottom: 10px; }
.step-body > p { color: var(--ink-2); font-size: 15px; }
.step-points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.step-points li { font-size: 13px; padding: 4px 10px; background: var(--gold-100); color: #7a5a2c; font-weight: 600; }

.checklist { display: grid; gap: 12px; margin-top: 28px; }
.checklist li {
  position: relative; padding: 18px 20px 18px 54px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px;
}
.checklist li::before {
  content: ''; position: absolute; left: 20px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-800);
}
.checklist li::after {
  content: ''; position: absolute; left: 26px; top: 26px; width: 5px; height: 9px; border: solid var(--gold-300); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checklist strong { display: block; color: var(--navy-800); margin-bottom: 2px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.info-list li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-label { font-size: 13px; color: var(--muted); }
.info-value { font-size: 17px; font-weight: 600; color: var(--navy-800); }
a.info-value:hover { color: var(--gold-500); }
.process-mini { margin-top: 32px; padding: 22px; background: var(--navy-800); color: #fff; }
.process-mini .h4 { color: var(--gold-300); }
.process-mini ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.process-mini li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.process-mini li span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--gold-500); color: var(--gold-300); font-size: 13px; flex: none;
}

.contact-form { background: var(--paper); border: 1px solid var(--line); padding: 28px 22px; box-shadow: var(--shadow); }
.contact-form .h3 { margin-bottom: 6px; }
.contact-form > .muted { margin-bottom: 22px; }
.field-row { display: grid; gap: 0 16px; }
.field { display: grid; gap: 6px; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 6px; }
.field em { color: #b5523b; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(168, 135, 94, .18); }
.field .is-invalid { border-color: #b5523b; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.radio-row label, .agree { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.radio-row input, .agree input { accent-color: var(--navy-800); width: 18px; height: 18px; flex: none; }
.agree { align-items: flex-start; margin-bottom: 22px; font-size: 14px; }
.agree input { margin-top: 3px; }
.form-status { margin-top: 14px; font-size: 14px; min-height: 1.4em; }
.form-status.is-error { color: #b5523b; }
.form-status.is-ok { color: #2f6b4a; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 600; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q.'; font-family: var(--serif); color: var(--gold-500); margin-right: 8px; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border: solid var(--navy-800); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 20px 20px 48px; color: var(--ink-2); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .6); padding: 40px 0; font-size: 13px; }
.footer-inner { display: grid; gap: 18px; }
.footer-brand { font-family: var(--serif); color: #fff; font-size: 18px; margin-bottom: 8px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-legal { color: rgba(255, 255, 255, .45); line-height: 1.7; }

/* ---------- mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr;
  padding-bottom: env(safe-area-inset-bottom); background: var(--navy-900);
  box-shadow: 0 -8px 20px -10px rgba(0, 0, 0, .4);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px;
  color: #fff; font-weight: 600; font-size: 15px;
}
.mobile-bar a.primary { background: var(--cream); color: var(--navy-900); }
.mobile-bar svg { width: 20px; height: 20px; }
body[data-page="contact"] .mobile-bar a.primary { display: none; }
body[data-page="contact"] .mobile-bar { grid-template-columns: 1fr; }

/* =========================================================
   ≥ 600px
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .pp-grid { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .process-mini ol { grid-template-columns: repeat(4, 1fr); }
  .process-mini li { flex-direction: column; text-align: center; gap: 8px; }
  .scale-svg { width: 340px; right: -40px; opacity: .5; }
  .psych-list--grid { grid-template-columns: 1fr 1fr; }
  .psych-list--grid li:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .psych-list--grid li:nth-last-child(-n+2) { border-bottom: 0; }
  .pd-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pd-head, .pd-lead, .pd-cols, .pd-foot { padding-inline: 36px; }
  .pd-foot { grid-template-columns: auto 1fr; align-items: center; }
  .pd-nav { justify-content: flex-end; gap: 28px; }
  .academic-list--cards { grid-template-columns: repeat(3, 1fr); }
  .contact-form { padding: 36px; }
}

/* =========================================================
   ≥ 1024px  (PC)
   ========================================================= */
@media (min-width: 1024px) {
  :root { --gutter: 40px; --header-h: 80px; }
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .br-pc { display: inline; }

  .header-inner { grid-template-columns: auto 1fr auto; height: 80px; padding-top: 0; column-gap: 32px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 20px; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 0 22px; font-size: 14px; }
  .main-nav { grid-column: auto; margin: 0; overflow: visible; mask-image: none; justify-self: center; }
  .tabs { padding: 0; gap: 6px; }
  .tabs a { padding: 28px 14px; font-size: 15px; }
  .tabs a::after { bottom: 18px; left: 14px; right: 14px; }

  .section { padding: 100px 0; }

  .hero-inner { display: grid; grid-template-columns: 1fr 220px; align-items: start; padding-top: 110px; padding-bottom: 120px; min-height: 620px; }
  .hero-lead { font-size: 18px; padding-left: 20px; }
  .hero-side {
    display: block; padding-left: 18px; border-left: 1px solid var(--gold-500);
    font-size: 14px; color: rgba(255, 255, 255, .78); line-height: 1.9; margin-top: 8px;
  }
  .scale-svg { width: 340px; right: 150px; bottom: 24px; opacity: .45; }
  .books { position: absolute; right: 0; bottom: 70px; display: grid; gap: 6px; }
  .books span {
    display: block; width: 300px; padding: 18px 26px; font-family: var(--serif); font-size: 17px; letter-spacing: .06em;
    color: rgba(217, 197, 165, .75); background: linear-gradient(180deg, #1a2333, #0b1220);
    border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: inset 4px 0 0 rgba(217, 197, 165, .25), -10px 10px 30px rgba(0, 0, 0, .5);
  }
  .books span:nth-child(2) { margin-left: 18px; }
  .books span:nth-child(3) { margin-left: 8px; font-size: 15px; }


  .whyme { gap: 48px; }
  .whyme-copy { display: grid; grid-template-columns: 1fr 1.25fr; column-gap: 64px; }
  .whyme-copy .kicker, .whyme-copy .h2 { grid-column: 1; }
  .whyme-copy .h2 { grid-row: 2 / span 3; align-self: start; }
  .whyme-copy > p:not(.kicker), .whyme-copy .btn { grid-column: 2; justify-self: start; }
  .whyme-copy > p:nth-of-type(2) { grid-row: 2; }
  .whyme-copy > p:nth-of-type(3) { grid-row: 3; }
  .whyme-copy .btn { grid-row: 4; }
  .whyme-copy > p:not(.kicker) { margin-bottom: 16px; }
  .career-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .career-card { grid-template-columns: 1fr; position: relative; }
  .career-card:nth-child(-n+2)::after {
    content: '›'; position: absolute; right: -16px; top: 76px; font-size: 24px; color: var(--navy-800);
  }
  .career-visual { min-height: 170px; }
  .career-icon { width: 64px; height: 64px; }
  .career-body { padding: 22px; }

  .psych-inner { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
  .psych-list--grid li { padding: 32px; }

  .academic-inner { grid-template-columns: 220px 1fr; align-items: center; }
  .academic-inner .eyebrow { margin: 0; }
  .academic-list:not(.academic-list--cards) { grid-template-columns: repeat(3, 1fr); }
  .academic-list:not(.academic-list--cards) li { border-bottom: 0; border-left: 1px solid var(--line); padding: 4px 28px; }

  .practice-preview { grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
  .pp-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }

  .cta-band { padding: 72px 0; }
  .cta-title { font-size: 32px; }
  .cta-inner { grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 48px; }
  .cta-action { justify-items: center; }

  .page-hero { padding: 96px 0 84px; }
  .page-hero::after { right: 8%; width: 300px; height: 300px; }

  .profile { grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
  .profile-photo { position: sticky; top: calc(var(--header-h) + 24px); }

  .chip-row { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .step::before { left: 56px; right: -24px; top: 27px; bottom: auto; width: auto; height: 1px; }
  .step:nth-child(3n)::before { display: none; }
  .step-body { height: 100%; }
  .checklist { grid-template-columns: 1fr 1fr; }


  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .contact-form { padding: 44px; }

  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-legal { text-align: right; }
}

@media (min-width: 1280px) {
  .tabs a { padding-inline: 18px; }
  .tabs a::after { left: 18px; right: 18px; }
}

/* =========================================================
   v2 — brand brief sections
   ========================================================= */
.num-light { display: inline-block; margin-right: 10px; padding: 2px 8px; border: 1px solid var(--line-dark); color: #fff; letter-spacing: 0; }
.hero-side { font-family: var(--serif); }
@media (min-width: 1024px) { .hero-side { font-size: 17px; line-height: 1.8; color: rgba(255, 255, 255, .85); } }

/* career cards */
.career-axis {
  position: absolute; right: 10px; top: 6px; z-index: 1; font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .7);
}
.career-card--plus { grid-template-columns: 1fr; background: var(--cream-2); border-style: dashed; box-shadow: none; }
.career-card--plus .career-body { display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.career-plus-label { font-size: 12px; letter-spacing: .1em; color: var(--gold-500); font-weight: 700; }

/* questions + method */
.questions { display: grid; gap: 40px; }
.q-list { display: grid; gap: 10px; }
.q-list li {
  position: relative; padding: 14px 18px 14px 44px; background: var(--paper); border: 1px solid var(--line);
  font-family: var(--serif); font-size: 16px; color: var(--navy-800);
}
.q-list li::before { content: '?'; position: absolute; left: 18px; top: 13px; color: var(--gold-500); font-weight: 700; }
.q-answer { background: var(--paper); border: 1px solid var(--line); padding: 28px 22px; }
.q-lead { color: var(--ink-2); margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.q-lead strong { color: var(--navy-800); }
.method { display: grid; gap: 18px; margin-bottom: 28px; }
.method li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.method-num { font-family: var(--serif); font-size: 20px; color: var(--gold-500); line-height: 1.4; }
.method strong { display: block; color: var(--navy-800); margin-bottom: 2px; }
.method p { font-size: 14.5px; color: var(--muted); }

/* roles (about) */
.roles { display: grid; gap: 16px; margin-top: 32px; }
.role { background: var(--paper); border: 1px solid var(--line); }
.role-head { padding: 24px 22px; border-bottom: 1px solid var(--line); }
.role-axis { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-500); margin-bottom: 8px; }
.role-head h3 { font-family: var(--serif); font-size: 21px; color: var(--navy-800); }
.role-body { padding: 18px 22px 24px; }
.role-meaning { margin-top: 18px; padding: 16px 18px; background: var(--cream); font-size: 15px; color: var(--ink-2); border-left: 2px solid var(--navy-800); }
.role-meaning strong { display: block; font-size: 13px; color: var(--navy-800); margin-bottom: 4px; }

/* analysis + caveat */
.analysis { display: grid; gap: 24px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.h3.light { color: #fff; }
.analysis-list { display: grid; gap: 0; counter-reset: a; }
.analysis-list li {
  position: relative; padding: 13px 0 13px 40px; border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, .85); font-size: 15px;
}
.analysis-list li::before {
  counter-increment: a; content: counter(a, decimal-leading-zero); position: absolute; left: 0; top: 13px;
  font-family: var(--serif); color: var(--gold-400); font-size: 14px;
}
.caveat {
  margin-top: 36px; padding: 20px 22px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03);
  font-size: 14.5px; color: rgba(255, 255, 255, .72);
}
.caveat strong { color: #fff; margin-right: 6px; }

/* principles */
.principles { display: grid; gap: 16px; margin-top: 28px; }
.principles li { padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--navy-800); }
.principle-num { font-family: var(--serif); color: var(--gold-500); font-size: 15px; }
.principles h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-800); margin: 6px 0 10px; }
.principles p { color: var(--ink-2); font-size: 15px; }

/* practice chips grouped */
.chip-groups { display: grid; gap: 14px; margin-bottom: 28px; }
.chip-group-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.chip-groups .chip-row { margin-bottom: 0; }
.pp-visual { position: relative; }
.pp-group {
  position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); letter-spacing: .04em;
}
.t8 .pp-visual { background: linear-gradient(160deg, #3a4352, #10141b); }
.pd-head .kicker { letter-spacing: .04em; }

/* insight */
.topic-grid { display: grid; gap: 12px; margin-top: 28px; }
.topic-grid li { padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.topic-icon { display: block; width: 36px; height: 36px; color: var(--navy-800); margin-bottom: 14px; }
.topic-icon svg { width: 100%; height: 100%; }
.topic-grid h3 { font-family: var(--serif); font-size: 18px; color: var(--navy-800); margin-bottom: 6px; }
.topic-grid p { font-size: 14.5px; color: var(--muted); }
.channel-grid { display: grid; gap: 12px; margin-top: 28px; }
.channel { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 20px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s; }
a.channel:hover { border-color: var(--navy-800); }
.channel-icon { width: 40px; height: 40px; color: var(--navy-800); }
.channel-icon svg { width: 100%; height: 100%; }
.channel strong { display: block; color: var(--navy-800); }
.channel small { color: var(--muted); font-size: 13.5px; }
.channel-state { font-style: normal; font-size: 13px; color: var(--muted); }
.channel.is-soon { opacity: .75; }
.empty-state { margin-top: 24px; padding: 28px 24px; border: 1px dashed var(--line); background: var(--paper); color: var(--ink-2); }

@media (min-width: 600px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .channel { grid-template-columns: 40px 1fr; }
  .channel-state { grid-column: 1 / -1; }
  .principles { grid-template-columns: repeat(3, 1fr); }
  .role-head, .role-body { padding-inline: 32px; }
  .q-answer { padding: 36px; }
}
@media (min-width: 1024px) {
  .questions { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .role { display: grid; grid-template-columns: 340px 1fr; }
  .role-head { border-bottom: 0; border-right: 1px solid var(--line); padding: 32px; }
  .role-body { padding: 28px 32px; }
  .analysis { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .analysis-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .topic-grid { grid-template-columns: repeat(5, 1fr); }
  .chip-groups { grid-template-columns: 3fr 1fr 1fr; gap: 24px; }
  .chip-groups .chip-row { flex-wrap: wrap; }
}

/* =========================================================
   v3 — Powered by, AI legal guide widget
   ========================================================= */
.powered { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: rgba(255, 255, 255, .5); font-size: 12px; letter-spacing: .02em; transition: color .2s; }
.powered img { height: 19px; width: auto; filter: brightness(0) invert(1); opacity: .7; transition: opacity .2s; }
.powered:hover { color: #fff; }
.powered:hover img { opacity: 1; }
.chat-powered { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; font-size: 11px; letter-spacing: .04em; color: rgba(255, 255, 255, .6); background: var(--navy-900); }
.chat-powered img { width: 14px; height: 14px; }
.chat-powered:hover { color: #fff; }

/* home band */
.ai-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.ai-inner { display: grid; gap: 32px; }
.ai-copy p.muted { margin-bottom: 24px; }
.ai-prompts { display: grid; gap: 10px; }
.ai-prompts button, .ai-card {
  width: 100%; text-align: left; border: 1px solid var(--line); background: var(--cream);
  padding: 16px 44px 16px 18px; font-size: 15px; color: var(--navy-800); position: relative; transition: border-color .2s, background .2s;
}
.ai-prompts button::after { content: '→'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold-500); }
.ai-prompts button:hover, .ai-card:hover { border-color: var(--navy-800); background: #fff; }
.ai-card { display: grid; gap: 4px; padding: 20px; margin-bottom: 28px; background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.ai-card:hover { background: var(--navy-600); border-color: var(--navy-600); }
.ai-card strong { font-family: var(--serif); font-size: 18px; }
.ai-card span:last-child { font-size: 14px; color: rgba(255, 255, 255, .75); }
.ai-card-label { font-size: 11px; letter-spacing: .16em; color: var(--gold-300); font-weight: 700; }

/* floating button (PC) */
.chat-fab {
  display: none; position: fixed; right: 24px; bottom: 24px; z-index: 70; align-items: center; gap: 10px;
  padding: 14px 20px; border: 0; border-radius: 999px; background: var(--navy-800); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 30px -12px rgba(13, 23, 38, .6); transition: transform .2s, background .2s;
}
.chat-fab:hover { transform: translateY(-2px); background: var(--navy-600); }
.chat-fab svg { width: 22px; height: 22px; }
body.chat-open .chat-fab { display: none !important; }

/* mobile bar: 3 buttons */
.mobile-bar { grid-template-columns: 1fr 1fr 1.2fr; }
.mobile-bar a.ai { background: var(--navy-700); color: var(--gold-300); }
body[data-page="contact"] .mobile-bar { grid-template-columns: 1fr 1fr; }

/* panel */
.chat-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(7, 13, 24, .45); }
.chat-panel {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--paper);
  padding-bottom: env(safe-area-inset-bottom); animation: chatIn .25s ease both;
}
.chat-panel[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
body.chat-open { overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--navy-800); color: #fff; }
.chat-kicker { font-size: 10px; letter-spacing: .18em; color: var(--gold-300); margin: 0 0 2px; }
.chat-head h2 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.chat-x { border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; width: 40px; height: 40px; }
.chat-notice { margin: 0; padding: 10px 20px; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); background: var(--gold-100); }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.chat-msg { max-width: 88%; padding: 12px 15px; font-size: 15px; line-height: 1.65; border-radius: 14px; }
.chat-msg.bot { align-self: flex-start; background: var(--cream-2); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--navy-800); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.chat-msg ul { margin: 6px 0; padding-left: 18px; list-style: disc; }
.chat-msg.is-typing { display: flex; gap: 4px; }
.chat-msg.is-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite; }
.chat-msg.is-typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chat-panel.is-iframe .chat-body { padding: 0; }
.chat-frame { flex: 1; width: 100%; border: 0; }
.chat-panel.is-iframe .chat-body { position: relative; }
.chat-frame-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--paper); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.chat-frame-dots { display: inline-flex; gap: 4px; }
.chat-frame-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); animation: dot 1s infinite; }
.chat-frame-dots i:nth-child(2) { animation-delay: .15s; }
.chat-frame-dots i:nth-child(3) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .chat-frame-dots i { animation: none; } }
.chat-suggest { display: flex; gap: 8px; overflow-x: auto; padding: 0 20px 10px; scrollbar-width: none; }
.chat-suggest:empty { display: none; }
.chat-suggest button {
  flex: none; max-width: 260px; text-align: left; padding: 8px 12px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; font-size: 13px; color: var(--navy-800); white-space: normal;
}
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat-form[hidden] { display: none; }
.chat-form textarea {
  flex: 1; resize: none; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: 16px; line-height: 1.5; max-height: 140px;
}
.chat-form textarea:focus { outline: none; border-color: var(--gold-500); }
.chat-form button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--navy-800); color: #fff; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; }
.chat-handoff { display: block; text-align: center; padding: 12px; font-size: 14px; font-weight: 600; color: var(--navy-800); background: var(--cream); border-top: 1px solid var(--line); }

@media (min-width: 600px) {
  .ai-prompts { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .chat-fab { display: inline-flex; }
  .ai-inner { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
  .ai-prompts { grid-template-columns: 1fr; }
  .chat-panel { inset: auto 24px 24px auto; width: 400px; height: min(640px, calc(100vh - 48px)); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(13, 23, 38, .5); }
  .chat-backdrop { background: transparent; }
  .pd-foot .btn-row { flex-wrap: wrap; }
}

.chip-group { min-width: 0; }
@media (min-width: 1024px) { .site-footer { padding-bottom: 96px; } }

/* =========================================================
   v4 — photo slots (assets/img/photos/*.jpg)
   통일감을 위해 모든 사진에 같은 톤 보정(채도↓·약한 웜톤)과 남색 그라데이션을 씌웁니다.
   ========================================================= */
.photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.72) contrast(1.03) sepia(.08); opacity: 0; transition: opacity .5s ease;
}
.photo.is-loaded { opacity: 1; }
.pp-visual, .career-visual { position: relative; overflow: hidden; }
.pp-visual .photo, .career-visual .photo { transition: transform .6s ease; }
.pp-card:hover .photo { transform: scale(1.04); }
.pp-visual:has(.photo.is-loaded) > svg, .career-visual:has(.photo.is-loaded) .career-icon { display: none; }
.pp-visual:has(.photo.is-loaded)::after, .career-visual:has(.photo.is-loaded)::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 32, .35), rgba(10, 18, 32, .05) 45%, rgba(10, 18, 32, .25));
}
.career-visual:has(.photo.is-loaded)::before { display: none; }
.pp-group, .badge-num, .career-axis { z-index: 2; }

.hero-photo.is-loaded { opacity: .55; }
.hero-art:has(.hero-photo.is-loaded) .scale-svg, .hero-art:has(.hero-photo.is-loaded) .books { display: none; }
.hero-art:has(.hero-photo.is-loaded)::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 24, .92) 0%, rgba(7, 13, 24, .7) 45%, rgba(7, 13, 24, .25) 100%);
}
.psych-photo.is-loaded { opacity: .22; }
.psych > .container { position: relative; z-index: 1; }

.pd-banner { position: relative; height: 0; overflow: hidden; }
.pd-banner:has(.photo.is-loaded) { height: 180px; }
.pd-banner:has(.photo.is-loaded)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 18, 32, .35)); }
@media (min-width: 1024px) { .pd-banner:has(.photo.is-loaded) { height: 260px; } }

/* === confirmed 2026-11-14 apply === */
/* 하단 바: 챗봇 제거 후 남은 3칸 설정 정리 → 2칸 꽉 차게 */
.mobile-bar { grid-template-columns: 1fr 1.4fr; }
body[data-page="contact"] .mobile-bar { grid-template-columns: 1fr; }
/* 경력 카드 사진: 세 사진 같은 높이·같은 기준(가운데)으로 자르기 */
.career-visual { min-height: 0; height: 170px; }
.career-visual .photo { object-position: center center; }
/* CTA 제목 2줄 유지 */
@media (min-width: 1024px) {
  .cta-inner { grid-template-columns: max-content minmax(0, 1fr) auto; gap: 48px; }
  .cta-title { white-space: nowrap; }
}
/* 휴대폰에서도 CTA 제목 2줄 */
@media (max-width: 599px) { .cta-title { font-size: clamp(20px, 5.6vw, 26px); } }
/* 학력 4개 */
@media (min-width: 1024px) {
  .academic-list:not(.academic-list--cards) { grid-template-columns: repeat(4, 1fr); }
  .academic-inner { grid-template-columns: 180px 1fr; }
  .academic-list:not(.academic-list--cards) li { padding: 4px 20px; }
  .academic-list--cards { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .academic-list--cards { grid-template-columns: repeat(2, 1fr); }
}
/* 경력 목록 (학력 카드와 같은 형식) */
.section--history { padding-top: 0; }
@media (min-width: 600px) { .history-list { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) { .history-list { grid-template-columns: repeat(3, 1fr) !important; } }
/* (B) A의 색상 설정은 hh 팔레트를 덮지 않도록 제외 */

/* HOME-02 여청 경력 맺음 문장 (인사말 경력 문단의 강조 맺음) */
.profile-copy p.profile-closing {
  margin: 26px 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--gold-500);
  font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.75; letter-spacing: -.01em; color: var(--navy-800);
}
@media (min-width: 1024px) { .profile-copy p.profile-closing { font-size: 19px; } }

/* 인지수사 항목 보조 설명 (2026-11-14 광욱님 승인) */
.dot-list .duty-note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* === 2026-11-14 첫화면 메인문구 교체 (광욱님 원문) === */
.hero-lead.hero-lead-key { max-width: 640px; margin-bottom: 18px; font-family: var(--serif); font-size: 18px; line-height: 1.7; color: rgba(255, 255, 255, .95); }
.hero-lead.hero-lead-sub { max-width: 640px; font-size: 15px; line-height: 1.85; color: rgba(255, 255, 255, .8); }
@media (min-width: 1024px) {
  .hero-lead.hero-lead-key { font-size: 22px; margin-bottom: 20px; }
  .hero-lead.hero-lead-sub { font-size: 16px; max-width: 680px; }
}
@media (max-width: 480px) {
  .hero-lead.hero-lead-key { font-size: 17px; }
  .hero-lead.hero-lead-sub { font-size: 14px; letter-spacing: -.02em; word-break: keep-all; }
}

/* === 2026-11-14 경력 세로 타임라인 (시간순, 오래된 것부터) === */
.timeline-intro { margin-top: 8px; }
.timeline-title { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; }
.timeline { list-style: none; margin: 44px 0 0; padding: 0; }
.tl-item { position: relative; padding: 0 0 44px 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; box-sizing: border-box; border: 2px solid var(--navy-800); background: var(--paper); border-radius: 50%; z-index: 1; }
.tl-item--stage::before { background: var(--navy-800); }
.tl-item::after { content: ''; position: absolute; left: 6px; top: 20px; bottom: -7px; width: 1px; background: var(--gold-300); }
.tl-item:last-child::after { display: none; }
.tl-axis { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--gold-500); margin-bottom: 6px; }
.tl-axis:empty { display: none; }
.tl-head h3 { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--navy-800); }
.tl-unit { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.tl-body { margin-top: 16px; padding: 20px 20px 22px; background: var(--paper); border: 1px solid var(--line); }
.tl-body .role-meaning { margin-top: 16px; }
@media (min-width: 1024px) {
  .tl-item { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; padding-left: 52px; }
  .tl-head h3 { font-size: 23px; }
  .tl-body { margin-top: 0; padding: 26px 30px 28px; }
}

/* === PREVIEW: 학력·경력 한 줄 목록 + 주요 업무 카드 === */
.cv-grid { display: grid; gap: 40px; margin-top: 36px; }
.cv-title { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy-800); padding-bottom: 12px; border-bottom: 2px solid var(--navy-800); }
.cv-list { list-style: none; margin: 0; padding: 0; }
.cv-list li { position: relative; padding: 15px 0 15px 18px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; }
.cv-list li::before { content: ''; position: absolute; left: 0; top: 26px; width: 8px; height: 1px; background: var(--gold-500); }
.cv-list li strong { font-weight: 600; color: var(--ink); margin-right: 4px; }
@media (min-width: 900px) { .cv-grid { grid-template-columns: 1fr 1.25fr; gap: 64px; } }

.role-cards { display: grid; gap: 14px; margin-top: 32px; }
.role-card { background: var(--paper); border: 1px solid var(--line); }
.role-card summary { list-style: none; position: relative; display: block; padding: 22px 52px 20px 22px; cursor: pointer; }
.role-card summary::-webkit-details-marker { display: none; }
.role-card summary h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-800); line-height: 1.4; }
.role-card summary .muted { font-size: 14px; margin-top: 2px; }
.role-toggle { position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; }
.role-toggle::before, .role-toggle::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--navy-800); transition: transform .2s; }
.role-toggle::after { transform: rotate(90deg); }
.role-card[open] .role-toggle::after { transform: rotate(0deg); }
.role-card-body { padding: 0 22px 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.role-card-body .role-meaning { margin-top: 16px; }
@media (min-width: 1024px) {
  .role-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .role-card { display: flex; flex-direction: column; }
  .role-card summary { cursor: default; padding: 28px 28px 20px; border-top: 2px solid var(--navy-800); }
  .role-toggle { display: none; }
  .role-card-body { padding: 18px 28px 28px; flex: 1; display: flex; flex-direction: column; }
  .role-card-body .role-meaning { margin-top: auto; }
  .role-card-body .dot-list { margin-bottom: 18px; }
}
