/* ==========================================================================
   리아이피 특허법률사무소 홈페이지 스타일
   - 색과 크기는 :root 변수에서 한 번에 바꿀 수 있습니다.
   - 화면 폭 기준: 1024px 이하 = 모바일 메뉴(햄버거), 640px 이하 = 휴대전화
   ========================================================================== */

:root {
  --navy: #16233B;          /* 로고 남색: 바탕, 제목 */
  --navy-deep: #101A2E;     /* 하단, 액자 안쪽 */
  --navy-ink: #0C1424;
  --navy-line: #2B3A57;     /* 남색 바탕 위 구분선 */
  --navy-line-2: #4A5A78;
  --gold: #8A6A38;          /* 로고 금색: 흰 바탕 위 강조 */
  --gold-light: #C9A86A;    /* 남색 바탕 위 강조 */
  --accent: #B08D57;        /* 금색 줄 */
  --cream: #E6DAC0;
  --text: #1C2433;
  --text-2: #3E4757;
  --muted: #4A5263;
  --muted-2: #5E6677;
  --on-navy: #C8CFDC;
  --on-navy-2: #AEB7C8;
  --on-navy-3: #8E98AC;
  --line: #E3E6EC;
  --line-2: #C9CED8;
  --bg: #FFFFFF;
  --bg-alt: #F3F5F8;

  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --header-h: 92px;
  --section-y: clamp(64px, 8vw, 120px);
  --h2: clamp(1.625rem, 1.15rem + 1.6vw, 2.25rem);
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
}
html[lang="en"] body { word-break: normal; }
img, video { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }
.br-wide { display: inline; }
@media (max-width: 640px) { .br-wide { display: none; } }

/* 접었다 펴는 영역: 자바스크립트가 켜진 경우에만 접힘 (검색로봇·자바스크립트 미지원 환경에서는 모두 보임) */
.js .collapsible:not(.is-open) { display: none; }

/* ---------- 공통 요소 ---------- */
.eyebrow { margin: 0 0 16px; font-size: 14px; letter-spacing: 0.2em; font-weight: 600; color: var(--gold); }
.on-navy .eyebrow { color: var(--gold-light); }
.section-title { font-family: var(--serif); font-size: var(--h2); font-weight: 600; line-height: 1.4; color: var(--navy); }
.on-navy .section-title { color: #fff; }
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.on-navy { background: var(--navy); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center;
}
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: #22324F; color: #fff; }
.btn--line { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- 상단 메뉴 ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
html[lang="en"] .brand img { height: 52px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
html[lang="en"] .nav-list { font-size: 15.5px; gap: 26px; }
.nav-list a { display: block; padding: 10px 0; }
.nav-list a.is-current { color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-cta.is-current { background: var(--gold); }
.lang-switch { display: flex; align-items: center; gap: 6px; padding-left: 20px; border-left: 1px solid #D5D9E1; font-size: 14px; letter-spacing: 0.08em; }
.lang-switch a { padding: 10px 4px; color: #6B7385; }
.lang-switch a[aria-current="page"] { font-weight: 600; color: var(--navy); box-shadow: inset 0 -2px 0 var(--accent); }
.lang-switch span { color: #A3AAB8; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 15px; background: var(--navy); color: #fff; }
.nav-cta:hover { background: #22324F; color: #fff; }

.header-actions, .header-call, .nav-toggle { display: none; }

@media (max-width: 1200px) and (min-width: 1025px) {
  .site-nav, .nav-list { gap: 20px; }
  .nav-list { font-size: 15px; }
  .brand img { height: 50px; }
}

@media (max-width: 1024px) {
  .header-inner { gap: 12px; }
  .brand img, html[lang="en"] .brand img { height: 40px; }
  .header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .header-call {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--navy);
  }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; background: var(--navy); color: #fff; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* 접힌 메뉴: 상단 바로 아래에 펼쳐지는 패널 */
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 32px; background: #fff; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav-list, html[lang="en"] .nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: 18px; }
  .nav-list a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-list a.is-current { box-shadow: none; color: var(--gold); }
  .lang-switch { padding: 20px 0 0; border-left: 0; font-size: 15px; }
  .lang-switch a { padding: 10px 8px; }
  .nav-cta { margin-top: 20px; min-height: 52px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 360px) {
  .header-call-text { display: none; }
}
/* 자바스크립트가 꺼져 있으면 모바일에서도 메뉴를 그대로 펼쳐 보여 줌 */
html:not(.js) .site-nav { position: static; visibility: visible; opacity: 1; transform: none; flex-wrap: wrap; flex-direction: row; padding: 0 0 12px; }
html:not(.js) .nav-toggle { display: none; }
@media (max-width: 1024px) {
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 10px; }
  html:not(.js) .site-nav { order: 3; width: 100%; gap: 0 16px; }
  html:not(.js) .nav-list { flex-direction: row; flex-wrap: wrap; gap: 0 16px; font-size: 15px; }
  html:not(.js) .nav-list a { padding: 8px 0; border: 0; }
  html:not(.js) .lang-switch { padding: 0; }
  html:not(.js) .nav-cta { display: none; }
}

/* ---------- 첫 화면 ---------- */
.hero { position: relative; }
.hero-inner { display: flex; flex-wrap: wrap; align-items: stretch; gap: 40px 48px; padding-top: clamp(40px, 6vw, 88px); }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 22px 0 136px; }
@media (max-width: 1180px) { .hero-text { padding: 0; gap: 28px; } }
.hero-eyebrow { margin: 0 0 28px; font-size: 14px; line-height: 1.4; letter-spacing: 0.24em; color: var(--gold-light); font-weight: 500; }
.hero-rule { height: 2px; width: 72px; background: var(--accent); margin-bottom: 36px; }
.hero h1 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3;
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.75rem);
}
html[lang="en"] .hero h1 { line-height: 1.22; font-size: clamp(2rem, 1.1rem + 3.4vw, 3.5rem); }
.hero-desc { max-width: 540px; font-size: clamp(16px, 0.95rem + 0.3vw, 18px); line-height: 1.8; color: var(--on-navy); }
.hero-desc p + p { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--navy-line); color: var(--cream); }
@media (max-width: 640px) {
  .hero-eyebrow { margin-bottom: 20px; font-size: 12.5px; letter-spacing: 0.18em; }
  .hero-rule { margin-bottom: 24px; }
}

/* 액자 슬라이드 */
.hero-media { flex: 0 1 600px; min-width: 0; display: flex; justify-content: center; }
@media (max-width: 1180px) { .hero-media { flex-basis: 100%; } }
.frame-figure { width: 100%; max-width: 600px; }
.frame { position: relative; aspect-ratio: 1 / 1; padding: 22px 14px; border: 1px solid #34435F; background: var(--navy-deep); }
.frame::before, .frame::after { content: ''; position: absolute; left: 14px; right: 14px; height: 2px; background: var(--accent); }
.frame::before { top: 9px; }
.frame::after { bottom: 9px; }
.slides { position: relative; width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; display: flex; gap: 10px; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease; }
.slide--column { flex-direction: column; }
.slide-cell { flex: 1 1 0; position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--navy-ink); }
.slide-cell--score { flex: 0 0 46%; }
.slide-cell picture, .slide-cell img, .slide-cell video { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-cell img, .slide-cell video { object-fit: cover; object-position: center; }
.fit-contain img, .fit-contain video { object-fit: contain; }
.tone-mono .slide-cell img, .tone-mono .slide-cell video { filter: grayscale(1) contrast(1.05); }

.frame-caption { padding: 16px 14px 0; }
.slide-caps { min-height: 54px; font-size: 15px; line-height: 1.75; color: var(--on-navy); }
.js .slide-cap { display: none; }
.js .slide-cap.is-active { display: block; }
html:not(.js) .slide-cap:not(:first-child) { display: none; }
.slide-year { font-family: var(--serif); color: var(--gold-light); letter-spacing: 0.04em; margin-right: 6px; }
.slide-title { color: #fff; font-weight: 600; }
.slide-text { display: block; }
.slide-controls { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
html:not(.js) .slide-controls { display: none; }
.slide-dot { flex: 1 1 0; min-width: 0; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.slide-dot span { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.35); transition: background .3s; }
.slide-dot[aria-current="true"] span { background: var(--gold-light); }
.slide-pause { flex: none; margin-left: 6px; width: 32px; height: 32px; padding: 0; border: 1px solid var(--navy-line-2); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.slide-pause .icon-play { display: none; }
.is-paused .slide-pause .icon-play { display: block; }
.is-paused .slide-pause .icon-pause { display: none; }
@media (max-width: 640px) {
  .frame-caption { padding: 14px 0 0; }
  .slide-caps { font-size: 14.5px; }
  .slide-controls { gap: 3px; }
}

.hero-statement { padding: clamp(40px, 5vw, 56px) 0 clamp(32px, 4vw, 48px); text-align: center; font-family: var(--serif); font-size: clamp(17px, 0.9rem + 0.5vw, 21px); line-height: 1.6; color: var(--cream); }

/* 수치 */
.stats-band { border-top: 1px solid var(--navy-line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 32px 24px; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--navy-line); }
.stat-value { font-family: var(--serif); font-size: clamp(28px, 1.2rem + 1.4vw, 36px); font-weight: 600; line-height: 1.3; color: #fff; }
.stat-label { margin-top: 6px; font-size: 15px; color: var(--on-navy-2); }
@media (max-width: 640px) {
  .stat { padding: 24px 16px; }
  .stat-label { font-size: 14px; }
}

/* 등록결정률 */
.rates-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rates-head { padding: 32px 24px 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.rates-title { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.4; color: #fff; }
.rates-title span, .rates-unit { color: var(--gold-light); }
.basis-toggle { min-height: 32px; padding: 0 12px; border: 1px solid var(--navy-line-2); background: transparent; font-size: 13px; color: var(--on-navy); cursor: pointer; }
html:not(.js) .basis-toggle { display: none; }
.rates-legend { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--on-navy-2); }
.rates-legend span { display: flex; align-items: center; gap: 8px; }
.rates-legend i { width: 18px; height: 3px; background: var(--gold-light); }
.rates-legend i.kipo { background: #6F7C96; }
.rate { padding: 32px 24px; border-left: 1px solid var(--navy-line); }
.rate-label { font-size: 15px; color: var(--on-navy-2); }
.rate-value { margin-top: 6px; font-family: var(--serif); font-size: clamp(28px, 1.2rem + 1.4vw, 36px); font-weight: 600; color: #fff; }
.rates-unit { font-size: 0.6em; margin-left: 2px; }
.bar { margin-top: 14px; height: 3px; background: var(--navy-line); }
.bar i { display: block; height: 100%; width: var(--v); background: var(--gold-light); }
.bar--kipo { margin-top: 6px; }
.bar--kipo i { background: #6F7C96; }
.js .rates:not(.is-shown) .bar i { width: 0; }
.js .rates .bar i { transition: width 1.6s cubic-bezier(.22,.61,.36,1); }
.rate-kipo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--on-navy-3); }
.rate-kipo b { font-family: var(--serif); font-size: 15px; font-weight: 500; color: var(--on-navy); }
.rates-basis { padding: 0 0 28px; }
.rates-basis-box { padding: 14px 18px; background: var(--navy-deep); border-top: 2px solid var(--accent); font-size: 13.5px; line-height: 1.75; color: var(--on-navy-2); }
.rates-basis-box p + p { margin-top: 8px; }
@media (max-width: 1024px) {
  .rates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rates-head { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 28px 0 8px; gap: 12px 16px; }
  .rates-legend { flex-direction: row; gap: 16px; margin: 0; }
  .rate { border-left: 0; border-top: 1px solid var(--navy-line); padding: 24px 24px 24px 0; }
  .rate:nth-child(odd) { padding: 24px 0 24px 24px; border-left: 1px solid var(--navy-line); }
}
@media (max-width: 640px) {
  .rates-grid { grid-template-columns: minmax(0, 1fr); }
  .rate, .rate:nth-child(odd) { padding: 20px 0; border-left: 0; }
}

/* ---------- 소개 ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.split-head { flex: 1 1 300px; }
.split-body { flex: 999 1 560px; min-width: 0; }
.about-title { font-size: clamp(1.625rem, 1.15rem + 1.4vw, 2.125rem); line-height: 1.45; }
.about-body { font-size: clamp(16px, 0.95rem + 0.2vw, 17px); line-height: 1.95; color: var(--text-2); }
html[lang="en"] .about-body { line-height: 1.85; }
.about-body p + p { margin-top: 20px; }
.about-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.about-sign strong { font-weight: 600; color: var(--navy); font-size: 17px; }
.bio-toggle { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: #fff; font-size: 15px; color: var(--navy); cursor: pointer; }
html:not(.js) .bio-toggle { display: none; }
.bio-panel { margin-top: 24px; padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 36px); background: var(--bg-alt); border-top: 2px solid var(--accent); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; font-size: 15px; line-height: 1.8; }
.bio-panel h4 { margin: 0 0 10px; font-size: 13.5px; letter-spacing: 0.14em; font-weight: 600; color: var(--gold); }
.bio-panel li { display: flex; gap: 10px; padding: 3px 0; color: var(--text-2); }
.bio-panel li::before { content: '•'; flex: none; color: var(--gold); }

/* ---------- 업무분야 ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p.lead { max-width: 460px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1px; background: #DCE0E7; border: 1px solid #DCE0E7; }
.practice-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 36px); background: #fff; }
.practice-card svg { width: 40px; height: 40px; }
.practice-card h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); }
.practice-card p { font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.practice-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }
.practice-link:hover { color: var(--navy); }

/* ---------- 메뉴 묶음 안의 둘째 부분 (주요 기술 분야, 비용, 오시는 길) ---------- */
.subblock { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-2); }
.sublabel { margin: 0 0 14px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--gold); }
html[lang="ko"] .eyebrow { letter-spacing: 0.08em; font-size: 15px; }
html[lang="ko"] .sublabel { letter-spacing: 0.04em; font-size: 14.5px; }

/* 주요 기술 분야 */
.industries-title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.4; }
.split-head .lead { margin-top: 24px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.industry-list { border-top: 1px solid var(--navy); }
.industry-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 32px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.industry-no { font-family: var(--serif); font-size: 15px; color: var(--gold); width: 32px; }
.industry-name { flex: 1 1 200px; font-size: clamp(18px, 1rem + 0.4vw, 21px); font-weight: 600; color: var(--navy); }
.industry-desc { flex: 2 1 280px; font-size: 15.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 640px) {
  .industry-desc { flex-basis: 100%; padding-left: 64px; }
}

/* ---------- 진행 · 비용 ---------- */
.process-lead { margin-top: 20px; max-width: 560px; font-size: 16px; line-height: 1.8; color: var(--muted); }
.process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 32px; margin-top: clamp(36px, 5vw, 56px); }
.process-list li { border-top: 2px solid var(--accent); padding-top: 24px; }
.process-step { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.process-name { margin: 10px 0 0; font-size: 21px; font-weight: 600; line-height: 1.4; color: var(--navy); text-wrap: balance; }
.process-who { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--gold); }
.process-list p:not(.process-step):not(.process-who) { margin-top: 12px; font-size: 15px; line-height: 1.75; color: var(--muted); }
@media (max-width: 1100px) { .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
@media (max-width: 480px) {
  .process-list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .process-name { font-size: 19px; }
}

.fees-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.fees-main { flex: 999 1 560px; min-width: 0; }
.fees-side { flex: 1 1 320px; min-width: 0; }
.fees-title { margin: 0 0 24px; font-size: clamp(1.375rem, 1.05rem + 0.9vw, 1.75rem); font-weight: 600; line-height: 1.4; color: var(--navy); }
.fee-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--navy); }
.fee-table tr { border-bottom: 1px solid var(--line); }
.fee-table th, .fee-table td { padding: 22px 24px; vertical-align: top; text-align: left; }
.fee-table th { width: 42%; font-weight: 400; padding-left: 4px; }
.fee-stage { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); }
.fee-item { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; color: var(--navy); }
.fee-table td { font-size: 15px; line-height: 1.8; color: var(--muted); }
.fee-notes { margin-top: 20px; font-size: 14px; line-height: 1.85; color: var(--muted-2); }
.fee-notes li::before { content: '· '; }
.promise-list { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--bg-alt); border-top: 2px solid var(--accent); }
.promise-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.75; color: var(--text-2); }
.promise-no { flex: none; font-family: var(--serif); font-weight: 600; color: var(--gold); }
.promise-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; min-height: 60px; padding: 0 28px; background: var(--navy); color: #fff; font-size: 16px; font-weight: 600; }
.promise-cta:hover { background: #22324F; color: #fff; }
.faq { margin-top: clamp(56px, 7vw, 80px); }
.faq-list { border-top: 1px solid var(--navy); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 4px; font-size: 17px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: none; font-size: 20px; font-weight: 400; color: var(--gold); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 4px 22px; font-size: 15.5px; line-height: 1.85; color: var(--muted); }
@media (max-width: 640px) {
  .fee-table th, .fee-table td { display: block; width: auto; padding: 18px 4px 0; }
  .fee-table td { padding: 6px 4px 18px; }
  .promise-list { padding: 22px 20px; }
  .faq-item summary { font-size: 16px; }
}

/* ---------- 상담 · 오시는 길 ---------- */
.contact-wrap { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.contact-info { flex: 1 1 480px; min-width: 0; }
.contact-side { flex: 1 1 380px; min-width: 0; }
.contact-title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.5; }
.contact-info .lead { margin-top: 18px; font-size: 16px; color: var(--muted); line-height: 1.8; }
.confidential { display: flex; gap: 16px; margin-top: 28px; padding: clamp(20px, 3vw, 28px); background: #fff; border-top: 2px solid var(--accent); }
.confidential-icon { flex: none; color: var(--gold); padding-top: 2px; }
.confidential h4 { font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--navy); }
.confidential p { margin-top: 8px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-actions a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 clamp(20px, 3vw, 28px); font-size: 17px; font-weight: 600; }
.contact-actions .value { margin-left: auto; }
.contact-actions .call { background: var(--navy); color: #fff; }
.contact-actions .call:hover { background: #22324F; color: #fff; }
.contact-actions .call .value { font-family: var(--serif); letter-spacing: 0.04em; }
.contact-actions .mail { background: #fff; border: 1px solid var(--line-2); color: var(--navy); }
.fax { margin-top: 10px; font-size: 14px; color: var(--muted-2); }
.consult-title { margin: 36px 0 8px; font-size: 18px; font-weight: 600; color: var(--navy); }
.consult-steps li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.consult-steps li:first-child { border-top: 1px solid var(--navy); }
.consult-no { flex: none; width: 28px; height: 28px; border: 1px solid var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 14px; color: var(--gold); }
.consult-steps strong { display: block; font-size: 16px; font-weight: 600; color: var(--navy); }
.consult-steps p { margin-top: 4px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.careers { margin-top: 18px; font-size: 14px; color: var(--muted-2); }
@media (max-width: 640px) {
  .contact-actions a { font-size: 16px; }
  .confidential { flex-direction: column; gap: 10px; }
}

/* 오시는 길 */
.location-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: clamp(28px, 4vw, 40px); }
.location-map { flex: 1 1 480px; min-width: 0; }
.map-frame { position: relative; aspect-ratio: 1 / 1; max-height: 600px; width: 100%; background: #E9ECF1; border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-links { display: flex; gap: 10px; margin-top: 12px; }
.map-links a { flex: 1 1 0; min-height: 48px; font-size: 15px; }
.location-info { flex: 1 1 480px; min-width: 0; font-size: 16px; line-height: 1.85; color: var(--text-2); }
.location-info h4 { margin: 40px 0 14px; font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); }
.location-info h4:first-child { margin-top: 0; }
.location-info .sub-note { color: #6B7385; }
.transit-label { margin: 0 0 10px; font-size: 14.5px; font-weight: 600; color: var(--gold); }
.transit-label + .transit-label, .transit-list + .transit-label { margin-top: 28px; }
.transit-list { display: flex; flex-direction: column; gap: 10px; }
.transit-list li { display: flex; align-items: center; gap: 12px; }
.line-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; color: #fff; flex: none; }
.line-2 { background: #00A84D; }
.line-9 { background: #8C7C4D; }
.line-sb { background: #C4003A; }
.drive-from { margin-top: 16px; font-weight: 600; color: var(--navy); }
.drive-from:first-of-type { margin-top: 0; }
.drive-from + p { margin-top: 2px; }

/* ---------- 하단 ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); }
.footer-inner { padding: clamp(48px, 6vw, 72px) var(--gutter) 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.footer-logo { height: 72px; width: auto; }
html[lang="en"] .footer-logo { height: 66px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; }
.footer-nav button, .footer-nav a { padding: 10px 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.footer-nav .strong { font-weight: 600; }
.legal-panel { margin-top: 32px; padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 40px); background: var(--navy); border-top: 2px solid var(--accent); color: var(--on-navy); }
.legal-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.legal-head h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; }
.legal-close { min-height: 40px; padding: 0 16px; border: 1px solid var(--navy-line-2); background: transparent; font-size: 14px; color: #fff; cursor: pointer; }
html:not(.js) .legal-close { display: none; }
.legal-panel > p { font-size: 15px; line-height: 1.85; }
.legal-item { padding: 16px 0; border-top: 1px solid var(--navy-line); margin-top: 20px; }
.legal-item + .legal-item { margin-top: 0; }
.legal-item h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; color: #fff; }
.legal-item p { font-size: 14.5px; line-height: 1.85; }
.legal-date { margin-top: 16px; font-size: 14px; color: var(--on-navy-3); }
.footer-info { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.footer-address { flex: 1 1 520px; min-width: 0; font-size: 15px; line-height: 2; font-style: normal; }
.footer-address a { color: inherit; }
.footer-address .sep { color: #4A5873; margin: 0 4px; }
.kakao { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border: 1px solid #26324A; color: #fff; }
.kakao:hover { color: #fff; border-color: var(--navy-line-2); }
.kakao-qr { width: 96px; height: 96px; flex: none; background: #fff; padding: 6px; }
.kakao-qr img { width: 100%; height: 100%; }
.kakao-text { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--on-navy-2); }
.kakao-text strong { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.kakao-text strong i { width: 18px; height: 18px; border-radius: 5px; background: #FEE500; flex: none; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid #26324A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-navy-3); }
@media (max-width: 640px) {
  .footer-logo, html[lang="en"] .footer-logo { height: 56px; }
  .footer-address { font-size: 14.5px; line-height: 1.9; }
  .footer-address .sep { display: none; }
  .footer-address .item { display: block; }
  .kakao-qr { width: 80px; height: 80px; }
}

@media print {
  .site-header, .slide-controls, .map-frame, .kakao { display: none !important; }
  .js .collapsible:not(.is-open) { display: block; }
}


/* ==========================================================================
   2026-10-28 개편: 인트로 + 5개 대목차를 카드(영역)로 구분
   - 각 영역은 둥근 윤곽선 카드. 마우스를 올리면 그 영역이 밝아지고 금색 윤곽선이 생기며,
     나머지 영역은 살짝 흐려집니다. (터치 화면에서는 화면 가운데에 있는 영역이 밝아짐)
   ========================================================================== */
:root {
  --page-bg: #E4E8EE;
  --zone-gap: clamp(10px, 1.6vw, 22px);
  --zone-radius: clamp(14px, 1.8vw, 24px);
  --zone-warm: #F9F7F2;
  --zone-cool: #F1F4F9;
  --zone-line: #D5DBE4;
}
body { background: var(--page-bg); }
main { display: flex; flex-direction: column; gap: var(--zone-gap); padding: var(--zone-gap) 0 calc(var(--zone-gap) * 2); }

.zone {
  position: relative; isolation: isolate;
  width: calc(100% - var(--zone-gap) * 2); max-width: 1320px; margin: 0 auto;
  border: 1px solid var(--zone-line); border-radius: var(--zone-radius);
  background: var(--zone-warm);
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease, transform .45s ease;
}
.zone--cool { background: var(--zone-cool); }
.zone--navy { background: var(--navy); border-color: #2A3A58; }
/* 위쪽 금색 줄: 밝아질 때 왼쪽에서 오른쪽으로 그어짐 */
.zone::before {
  content: ''; position: absolute; z-index: 3; left: var(--zone-radius); right: var(--zone-radius); top: -1px; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
/* 흐려짐 막: 다른 영역에 마우스가 있을 때만 보임 */
.zone::after {
  content: ''; position: absolute; z-index: 2; inset: -1px; border-radius: inherit; pointer-events: none;
  background: rgba(214, 220, 230, .55); opacity: 0; transition: opacity .45s ease;
}
.zone--navy::after { background: rgba(6, 11, 22, .38); }

.zone.is-lit, .zone:focus-within { background: #fff; border-color: var(--accent); box-shadow: 0 22px 50px -26px rgba(22, 35, 59, .45); }
.zone--navy.is-lit, .zone--navy:focus-within { background: #1C2D4D; border-color: var(--accent); }
.zone.is-lit::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .zone:hover { background: #fff; border-color: var(--accent); box-shadow: 0 22px 50px -26px rgba(22, 35, 59, .45); transform: translateY(-2px); }
  .zone--navy:hover { background: #1C2D4D; }
  .zone:hover::before { transform: scaleX(1); }
  main:has(.zone:hover) .zone:not(:hover)::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .zone, .zone::before, .zone::after { transition: none; }
  .zone:hover { transform: none; }
}

.zone-inner { padding: clamp(36px, 5.5vw, 80px) clamp(20px, 4.5vw, 64px); }
.zone.hero .container { max-width: none; padding-left: clamp(20px, 4.5vw, 64px); padding-right: clamp(20px, 4.5vw, 64px); }

/* 대목차 */
.zone-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: clamp(36px, 5vw, 64px); padding-bottom: clamp(18px, 2.4vw, 28px); border-bottom: 2px solid var(--navy); }
.zone-no { font-family: var(--serif); font-size: clamp(18px, 1rem + .6vw, 24px); font-weight: 600; color: var(--gold); letter-spacing: .04em; }
.zone-title { font-family: var(--serif); font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.zone-en { margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: .24em; color: #8B93A3; }
@media (max-width: 640px) { .zone-en { display: none; } }

/* 소목차 묶음 */
.sub + .sub { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(44px, 5.5vw, 72px); border-top: 1px solid var(--line-2); }
.sub-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sub-head .sublabel { margin-bottom: 12px; }
.sublabel, html[lang="ko"] .sublabel { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; letter-spacing: .06em; color: var(--gold); }
html[lang="en"] .sublabel { font-size: 14px; letter-spacing: .14em; }
.sublabel::before { content: ''; width: 22px; height: 2px; background: var(--accent); }
.sub-lead { max-width: 760px; font-family: var(--serif); font-size: clamp(1.25rem, 1.02rem + .8vw, 1.625rem); font-weight: 500; line-height: 1.55; color: var(--navy); }

/* 사무소 소개: 수치 패널 */
.figures { margin-top: clamp(48px, 6vw, 80px); padding: 0 clamp(20px, 3.5vw, 44px) clamp(20px, 2.5vw, 28px); border-radius: calc(var(--zone-radius) - 6px); }
.figures .stats-grid { border-bottom: 1px solid var(--navy-line); }
.figures .stat-value sup { font-size: .5em; color: var(--gold-light); margin-left: 2px; }
.figures-note { padding: 12px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--on-navy-2); }
.figures .rates { margin-top: 12px; border-top: 1px solid var(--navy-line); }
@media (min-width: 1025px) { .figures .rates-head { justify-content: center; } }
.figures .rates .figures-note { border-top: 1px solid var(--navy-line); }
@media (max-width: 640px) { .figures .stat:first-child { padding-left: 0; } .figures .stat { padding-right: 8px; } }

/* 업무분야 카드: 개별 카드도 마우스를 올리면 강조 */
.practice-card { transition: background-color .3s ease, box-shadow .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .practice-card:hover { background: #FBF8F1; box-shadow: inset 0 -3px 0 var(--accent); }
}

/* 비용 */
.fee-link { margin-top: 24px; }

/* 리아이피의 약속: 세 장의 카드 */
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; background: none; border: 0; }
.promise-list li { flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 30px); background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent); border-radius: 12px; font-size: 16px; line-height: 1.75; }
.promise-no { font-size: 22px; }
@media (max-width: 900px) { .promise-list { grid-template-columns: minmax(0, 1fr); } }

/* 공지 및 인사이트 */
.news-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.news-item a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 24px 26px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--text); transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.news-item a:hover { border-color: var(--accent); box-shadow: 0 14px 30px -20px rgba(22,35,59,.5); transform: translateY(-2px); color: var(--text); }
.news-date { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--gold); }
.news-title { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.45; color: var(--navy); }
.news-excerpt { font-size: 15px; line-height: 1.75; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-empty { grid-column: 1 / -1; padding: 28px; background: #fff; border: 1px dashed var(--line-2); border-radius: 12px; font-size: 15.5px; color: var(--muted); }
.news-empty a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 컨택 */
.consult-open { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; min-height: 104px; padding: 18px clamp(22px, 3vw, 32px); background: var(--navy); color: #fff; border-radius: 14px; transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.consult-open:hover { background: #22324F; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(22,35,59,.8); }
.consult-open-label { font-family: var(--serif); font-size: clamp(26px, 1.4rem + .8vw, 32px); font-weight: 600; line-height: 1.2; }
.consult-open-sub { grid-column: 1; font-size: 14.5px; color: var(--on-navy); }
.consult-open svg { grid-column: 2; grid-row: 1 / span 2; color: var(--gold-light); }
.contact-line { margin-top: 12px; font-size: 14.5px; color: var(--muted-2); }
.contact-info .lead { font-size: 17px; }

/* 상담 신청 양식 (팝업) */
.consult-dialog { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgba(10,16,30,.6); }
.consult-dialog::backdrop { background: rgba(10, 16, 30, .62); }
.consult-form { padding: clamp(22px, 4vw, 36px); }
.consult-form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.consult-form-head h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); }
.dialog-close { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: #fff; color: var(--navy); font-size: 18px; cursor: pointer; }
.dialog-close:hover { border-color: var(--navy); }
.consult-form-intro { margin-top: 16px; font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.consult-form-notice { margin-top: 14px; padding: 14px 16px; background: #FBF8F1; border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; font-size: 14px; line-height: 1.75; color: var(--text-2); }
.consult-form-notice p + p { margin-top: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.field { display: block; margin-top: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.field b { color: #B4232A; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: inherit; font-size: 16px; color: var(--text); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; line-height: 1.7; color: var(--text-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent b { color: var(--navy); }
.recaptcha-box { margin-top: 16px; min-height: 0; }
.recaptcha-box:not(:empty) { min-height: 78px; }
.form-status { margin-top: 14px; font-size: 15px; line-height: 1.7; }
.form-status:empty { display: none; }
.form-status.is-error { color: #B4232A; }
.form-status.is-ok { padding: 14px 16px; background: #EEF6EF; border-radius: 8px; color: #1F5F2E; }
.consult-form-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.consult-form-actions .btn { min-width: 140px; border-radius: 8px; }
.consult-form.is-sending .btn { opacity: .6; pointer-events: none; }
body.dialog-open { overflow: hidden; }
.zone .split { gap: 32px 64px; }
.zone .split-head { flex: 1 1 340px; }
.about-title { font-size: clamp(1.5rem, 1.05rem + 1.2vw, 2rem); }

/* 2026-10-28 추가: 첫 슬라이드 로댕 이미지가 천천히 커졌다 작아짐, 인공지능 슬라이드는 컬러 */
.slide-cell img.breathe { transform-origin: 50% 90%; animation: leeip-breathe 9s ease-in-out infinite; }
@keyframes leeip-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .slide-cell img.breathe { animation: none; } }
.tone-mono .slide--color .slide-cell img, .tone-mono .slide--color .slide-cell video { filter: none; }
.hero-tagline { margin-top: 18px; font-size: clamp(15px, 0.9rem + 0.3vw, 18px); letter-spacing: .02em; color: var(--gold-light); }


/* ==========================================================================
   2026-10-29 일괄 수정
   ========================================================================== */
/* 말러 자필 악보: 화면에 나오는 동안 악보를 왼쪽에서 오른쪽으로 천천히 훑음 */
.slide-cell--pan img { object-fit: cover; object-position: 0% 50%; }
.slide.is-active .slide-cell--pan img { animation: leeip-pan 10s ease-in-out forwards; }
@keyframes leeip-pan { from { object-position: 0% 50%; } to { object-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) { .slide.is-active .slide-cell--pan img { animation: none; object-position: 50% 50%; } }

/* 대표변리사 카드: 이력 영역에 마우스를 올린 동안만 표시 */
.bio-zone { position: relative; }
.bio-card {
  position: absolute; z-index: 6; right: 0; top: 0; transform: translateY(calc(-100% - 14px)) scale(.96); transform-origin: 100% 100%;
  width: 196px; padding: 10px 10px 12px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--accent);
  border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(22,35,59,.55); opacity: 0; transition: opacity .2s ease, transform .2s ease;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; pointer-events: none;
}
.bio-card.is-on { opacity: 1; transform: translateY(calc(-100% - 14px)) scale(1); }
.bio-card canvas { display: block; width: 176px; height: 199px; border-radius: 8px; background: var(--bg-alt); }
.bio-card-name { margin-top: 10px; text-align: center; line-height: 1.35; }
.bio-card-name span { display: block; font-size: 12.5px; letter-spacing: .06em; color: var(--gold); }
.bio-card-name strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy); }
@media (max-width: 640px) { .bio-card { width: 168px; } .bio-card canvas { width: 148px; height: 167px; } }

/* 업무분야 카드: 아이콘과 제목을 한 줄로, 세로 높이 축소 */
.practice-card { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; row-gap: 10px; padding: clamp(18px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px); }
.practice-card svg { width: 30px; height: 30px; }
.practice-card h4 { font-size: 20px; }
.practice-card p { grid-column: 1 / -1; font-size: 15px; line-height: 1.75; }

/* 빈 공간 줄이기 */
:root { --section-y: clamp(44px, 5.5vw, 80px); }
.zone-inner { padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px); }
.zone-head { margin-bottom: clamp(24px, 3vw, 40px); padding-bottom: clamp(12px, 1.6vw, 18px); }
.sub + .sub { margin-top: clamp(36px, 4.5vw, 60px); padding-top: clamp(28px, 3.5vw, 44px); }
.sub-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.hero-inner { padding-top: clamp(28px, 4vw, 56px); gap: 28px 48px; }
.hero-text { padding: 12px 0 72px; gap: 28px; }
@media (max-width: 1180px) { .hero-text { padding: 0; } }
.hero-rule { margin-bottom: 24px; }
.hero-eyebrow { margin-bottom: 20px; }
.hero-statement { padding: clamp(24px, 3vw, 40px) 0 clamp(24px, 3vw, 36px); }
.figures { margin-top: clamp(32px, 4vw, 52px); }
.stat { padding: 22px 24px; }
.rates-head { padding: 22px 24px 22px 0; }
.rate { padding: 22px 24px; }
.about-sign { margin-top: 28px; padding-top: 20px; }
.about-body p + p { margin-top: 14px; }
.process-list { margin-top: clamp(24px, 3vw, 36px); gap: 28px 28px; }
.process-list li { padding-top: 18px; }
.industry-list li { padding: 16px 0; }
.fee-table th, .fee-table td { padding: 16px 20px; }
.faq-item summary { min-height: 54px; padding: 12px 4px; }
.promise-list li { padding: clamp(18px, 2.2vw, 24px); }
.consult-title { margin-top: 28px; }
.consult-steps li { padding: 12px 0; }
.location-grid { margin-top: clamp(20px, 3vw, 28px); gap: 32px 56px; }
.map-frame { aspect-ratio: 4 / 3; max-height: 440px; }
.location-info h4 { margin-top: 28px; }
.footer-inner { padding-top: clamp(36px, 4.5vw, 52px); padding-bottom: 32px; }
.footer-info { margin-top: 32px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; }

/* 첫 슬라이드(8초): 반가사유상 정면 1.5초 → 일정한 속도로 반 바퀴 회전 5초 → 생각하는 사람 정면 1.5초 → 다음 슬라이드 */
.slide-cell--drum { --r: 120px; perspective: 1500px; background: radial-gradient(ellipse 70% 60% at 50% 62%, #253250 0%, var(--navy-ink) 72%); }
.drum { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(0deg); }
.drum-face { position: absolute; inset: 4% 0 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.drum-face picture, .drum-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.drum-face--front { transform: translateZ(var(--r)); }
.drum-face--back { transform: rotateY(180deg) translateZ(var(--r)); }
.slide.is-active .drum { animation: leeip-drum 8s linear forwards; }
.is-paused .slide.is-active .drum { animation-play-state: paused; }
@keyframes leeip-drum {
  0%, 18.75%    { transform: translateZ(calc(var(--r) * -1)) rotateY(0deg); }
  81.25%, 100%  { transform: translateZ(calc(var(--r) * -1)) rotateY(180deg); }
}
@media (max-width: 640px) { .slide-cell--drum { --r: 80px; } }
@media (prefers-reduced-motion: reduce) { .slide.is-active .drum { animation: none; } }
/* 첫 슬라이드 설명: 생각하는 사람이 앞으로 돌아 나오는 시점(약 4초)부터 " · 로댕 「생각하는 사람」"이 덧붙음 */
.slide-cap.is-active .cap-add { animation: leeip-cap-add 8s linear forwards; }
@keyframes leeip-cap-add { 0%, 50% { opacity: 0; } 58%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .slide-cap.is-active .cap-add { animation: none; } }

/* footer motto */
.footer-motto { margin: 40px 0 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-motto .motto-la { font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif; font-style: italic; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .04em; color: #fff; }
.footer-motto .motto-tr { font-size: 13.5px; color: var(--on-navy-2); letter-spacing: .02em; }
.footer-motto .motto-src { color: var(--on-navy-3); margin-left: 4px; }
@media (max-width: 640px) { .footer-motto { margin-top: 32px; } .footer-motto .motto-src { display: block; margin: 2px 0 0; } }
