/* ==========================================================================
   김경호 지점장 메인 페이지
   네이비와 흰색으로 조용하게, 카카오톡 노란색만 유일한 강조색으로 씁니다.
   ========================================================================== */

:root {
  color-scheme: light;

  /* 색 */
  --navy-950: #08131F;
  --navy-900: #0D1B2E;
  --navy-800: #16283F;
  --ink: #111C2B;
  --slate: #56657A;
  --steel: #3E5F86;
  --line: #D9E0E8;
  --line-soft: #E7ECF1;
  --mist: #F1F4F7;
  --white: #FFFFFF;
  --kakao: #FEE500;
  --kakao-hover: #F5DC00;
  --kakao-ink: #191919;
  /* 샴페인 골드: 가는 선·번호·서명에만 조금 씁니다 (글자 배경으로는 쓰지 않음) */
  --gold: #B08D57;
  --gold-soft: #D9C29A;
  --gold-ink: #7A5F33;

  /* 글꼴 */
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'AppleMyungjo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', system-ui, sans-serif;

  /* 크기 */
  --step--1: 0.9375rem;  /* 15 */
  --step-0: 1.0625rem;   /* 17 */
  --step-1: 1.1875rem;   /* 19 */
  --step-2: 1.375rem;    /* 22 */
  --step-3: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.3rem + 3.6vw, 4rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }

.num { font-variant-numeric: tabular-nums; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--steel);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 버튼 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn-sm {
  min-height: 42px;
  padding: 0 1rem;
  font-size: var(--step--1);
}

.btn-kakao {
  background: var(--kakao);
  color: var(--kakao-ink);
}
.btn-kakao:hover { background: var(--kakao-hover); }

.btn-outline {
  background: var(--white);
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--steel);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease;
}
.text-link:hover { color: var(--navy-900); }

/* ---------- 머리글 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(160%) blur(12px);
  }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.brand-org {
  font-size: 0.875rem;
  color: var(--slate);
}

.site-nav {
  display: flex;
  gap: 0.25rem;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 4px;
  transition: color 160ms ease, background-color 160ms ease;
}
.site-nav a:hover { background: var(--mist); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy-900);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 첫 화면 ---------- */

.hero {
  padding-block: clamp(48px, 7vw, 104px) clamp(72px, 9vw, 128px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-title {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}
.hero-title .line { display: block; }

.hero-lead {
  max-width: 34em;
  margin-top: 1.75rem;
  font-size: var(--step-1);
  line-height: 1.8;
  color: var(--slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.5rem;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--slate);
}

/* 명함 카드 (실제 프로필 사진이 준비될 때까지 사진 자리를 대신합니다) */
.hero-card {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  padding: 0 28px 28px 0;
}
/* 카드 뒤로 비껴 놓인 네이비 판 */
.hero-card::before {
  content: "";
  position: absolute;
  inset: 28px 0 0 28px;
  z-index: -1;
  background: var(--navy-900);
}

.hero-card-frame {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-card-org {
  font-size: var(--step--1);
  color: var(--slate);
}
.hero-card-name {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 2rem + 2.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}
.hero-card-role {
  margin-top: 0.625rem;
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--steel);
}

.hero-card-lines {
  display: grid;
  gap: 14px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-card-lines > div {
  display: grid;
  grid-template-columns: 8.5em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.hero-card-lines dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  color: var(--slate);
}
.hero-card-lines dt .icon {
  width: 18px;
  height: 18px;
  color: var(--navy-900);
}
.hero-card-lines dd {
  font-weight: 600;
  color: var(--ink);
}
.hero-card-lines a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.hero-card-lines a:hover { text-decoration-color: currentColor; }

/* 첫 화면 등장 효과: 이 페이지에서 유일한 자동 움직임 */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line,
  .hero-lead,
  .hero-actions,
  .hero-note {
    animation: rise 700ms var(--ease-out) both;
  }
  .hero-title .line:nth-child(2) { animation-delay: 90ms; }
  .hero-lead { animation-delay: 200ms; }
  .hero-actions { animation-delay: 280ms; }
  .hero-note { animation-delay: 340ms; }

  .hero-card-frame { animation: reveal 900ms var(--ease-out) 120ms both; }
  .hero-card::before { animation: slide 900ms var(--ease-out) 60ms both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slide {
  from { transform: translate(-28px, -28px); }
  to { transform: none; }
}

/* ---------- 공통 섹션 ---------- */

.band { padding-block: var(--section-y); }
.band-mist { background: var(--mist); }

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2,
.claims-copy h2,
.closing h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  text-wrap: balance;
}
.section-head p {
  margin-top: 0.875rem;
  font-size: var(--step-1);
  color: var(--slate);
}

h3 {
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--navy-900);
  text-wrap: pretty;
}

/* ---------- 상담 방법 ---------- */

.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--navy-900);
}

.way {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 28px;
}
.way + .way { border-left: 1px solid var(--line); }
.way:first-child { padding-left: 0; }
.way:last-child { padding-right: 0; }

.way-icon {
  width: 36px;
  height: 36px;
  color: var(--navy-900);
  margin-bottom: 20px;
}
.way p {
  margin-top: 0.625rem;
  color: var(--slate);
  flex: 1;
}
.way .text-link { margin-top: 1rem; align-self: flex-start; }
.way .num { color: var(--ink); font-weight: 600; }

/* ---------- 도와드리는 일 ---------- */

.services { border-top: 1px solid var(--line); }

.service {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px 40px;
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}

.service-icon {
  width: 32px;
  height: 32px;
  margin-top: 4px;
  color: var(--steel);
}

.service-body p {
  max-width: 32em;
  margin-top: 0.625rem;
  color: var(--slate);
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.checks .icon {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--steel);
}

/* ---------- 점검 사례 ---------- */

.ledger {
  background: var(--white);
  border-top: 2px solid var(--navy-900);
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px 48px;
  align-items: start;
  padding: 36px 36px;
}
.ledger-row + .ledger-row { border-top: 1px solid var(--line); }

.ledger-client {
  display: block;
  margin-bottom: 6px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--steel);
}
.ledger-who h3 { font-size: var(--step-1); }

.ledger-change {
  display: grid;
  gap: 12px;
}
.ledger-change > div {
  display: grid;
  grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
.ledger-change dt {
  font-size: var(--step--1);
  color: var(--slate);
}
.ledger-change dd { color: var(--ink); }
.ledger-change > div:first-child dd { color: var(--slate); }

.ledger-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.ledger-result strong {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.ledger-result span {
  font-size: var(--step--1);
  color: var(--slate);
}

/* ---------- 보험금 지급 ---------- */

.claims-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.claims-copy p {
  max-width: 30em;
  margin-top: 1rem;
  color: var(--slate);
}
.claims-copy h2 + p { margin-top: 1.5rem; }
.claims-copy .text-link { margin-top: 1.25rem; }

.claims-figure {
  padding: clamp(28px, 4vw, 44px);
  background: var(--navy-900);
  color: var(--white);
}

.claims-caption {
  margin-bottom: 28px;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.78);
}

.bar-row + .bar-row { margin-top: 28px; }

.bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}
.bar-label span { font-size: var(--step--1); color: rgba(255, 255, 255, 0.86); }
.bar-label strong {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 700;
}

.bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
}
.bar-fill {
  height: 100%;
  /* 2%를 가득 찬 막대로 봅니다 */
  width: calc(var(--w) / 2 * 100%);
  background: var(--white);
}
.bar-fill-muted { background: #7F93AD; }

.bar-count {
  display: block;
  margin-top: 8px;
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.86);
}

.source {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- 진행 순서 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  counter-reset: none;
}

.step {
  padding-top: 24px;
  border-top: 1px solid var(--navy-900);
}
.step-num {
  display: block;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-900);
}
.step h3 { font-size: var(--step-1); }
.step p {
  margin-top: 0.5rem;
  color: var(--slate);
}

/* ---------- 보험 자료실 ---------- */

.library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--line);
}
.library li { border-bottom: 1px solid var(--line); }
.library a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title icon"
    "desc  icon";
  align-items: center;
  column-gap: 16px;
  padding: 22px 4px;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.library a:hover { background: var(--mist); }
.lib-title {
  grid-area: title;
  font-weight: 700;
  color: var(--navy-900);
}
.lib-desc {
  grid-area: desc;
  font-size: var(--step--1);
  color: var(--slate);
}
.library .icon {
  grid-area: icon;
  width: 22px;
  height: 22px;
  color: var(--steel);
  transition: transform 180ms var(--ease-out);
}
.library a:hover .icon { transform: translate(2px, -2px); }

/* ---------- 마지막 안내 ---------- */

.closing {
  padding-block: clamp(80px, 10vw, 136px);
  background: var(--navy-900);
  color: var(--white);
}
.closing h2 { color: var(--white); }
.closing p {
  margin-top: 1.25rem;
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.82);
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.5rem;
}
.closing :focus-visible { outline-color: var(--white); }

/* ---------- 바닥글 ---------- */

.site-footer {
  padding-block: 56px 40px;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--step--1);
}
.site-footer :focus-visible { outline-color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-name {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--white);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}
.footer-contact dt {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact dd { color: var(--white); }
.footer-contact a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}
.footer-contact a:hover { text-decoration-color: var(--white); }

.footer-notice {
  padding-top: 28px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}
.footer-notice p { max-width: 62em; }
.footer-notice p + p { margin-top: 0.5rem; }
.footer-notice .copyright { margin-top: 1.25rem; }

/* ---------- 모바일 하단 버튼 ---------- */

.mobile-bar { display: none; }

/* ---------- 천천히 움직이는 영상 (assets/video) ----------
   원본 사진은 Unsplash 무료 라이선스이고, 사진 번호는 index.html 첫 화면 주석에 적어 두었습니다.
   재생은 home.js 가 맡습니다: 화면에 보일 때만 재생하고, '움직임 줄이기' 설정이면 첫 장면(포스터)만 보여 줍니다. */

.bg-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* 첫 화면 배경 영상 */
.hero.has-video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mist);
}
/* 제목·설명 글씨가 또렷하도록 흰 막을 덮습니다. 글이 있는 왼쪽은 진하게, 오른쪽은 옅게. */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0.62) 100%);
}

/* 각 구역 제목 오른쪽 영상 창 */
.section-head.has-media {
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  max-width: none;
}
.section-video {
  justify-self: end;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--line-soft);
  border: 1px solid var(--line);
}

/* ---------- 지점장 이야기 · 무엇이 다를까요 · 약속 (2026.09.30) ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-light::before { background: var(--gold-soft); }
.hero-eyebrow { letter-spacing: 0.08em; text-transform: none; }

/* 새 첫 문장은 길어서 한 단계 작게, 세 줄로 또렷하게 끊습니다 */
.hero-title { font-size: clamp(2.125rem, 1.3rem + 2.6vw, 3.15rem); line-height: 1.32; }

.hero-em {
  font-style: normal;
  background: linear-gradient(transparent 68%, rgba(176, 141, 87, 0.28) 68%);
}

/* 서명: 지점장 김경호 */
.hero-sign {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 22rem;
}
.hero-sign-role { font-size: var(--step--1); letter-spacing: 0.1em; color: var(--slate); }
.hero-sign-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--navy-900);
}

/* 나의 이야기 */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.story-head h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.story-head { position: sticky; top: calc(var(--header-h) + 32px); }

/* ol[role="list"] 의 padding: 0 보다 앞서도록 선택자를 한 단계 더 구체적으로 씁니다 */
.story-head .timeline {
  position: relative;
  display: grid;
  gap: 22px;
  margin-top: 2.5rem;
  padding: 0 0 0 26px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 5px;
  width: 1px;
  background: linear-gradient(var(--gold-soft), var(--line));
}
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline strong { font-size: var(--step--1); font-weight: 700; color: var(--ink); line-height: 1.5; }
.timeline li > span:not(.timeline-dot) { font-size: 0.875rem; color: var(--slate); line-height: 1.5; }
.timeline-dot {
  position: absolute;
  top: 7px;
  left: -26px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
}
.timeline .is-now .timeline-dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.18); }
.timeline .is-now strong { color: var(--navy-900); }

.story-body { display: grid; gap: 1.5rem; max-width: 40em; }
.story-body p { color: var(--slate); line-height: 1.95; }
.story-body .story-lead {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.7;
  color: var(--navy-900);
}
.story-quote {
  margin: 0.5rem 0;
  padding: 1.75rem 0 1.75rem 1.75rem;
  border-left: 2px solid var(--gold);
}
.story-quote p {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

/* 무엇이 다를까요 */
.section-head .eyebrow + h2 { margin-top: 0; }
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(32px, 4vw, 52px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy-900);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}
.pillar:hover { border-top-color: var(--gold); box-shadow: 0 24px 48px -28px rgba(13, 27, 46, 0.35); transform: translateY(-2px); }
.pillar-no {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.pillar p { color: var(--slate); line-height: 1.9; }
.pillar .text-link { margin-top: auto; align-self: flex-start; }

/* 나의 꿈과 약속 */
.vision {
  position: relative;
  padding-block: clamp(88px, 11vw, 152px);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(176, 141, 87, 0.14), transparent 60%),
    var(--navy-900);
  color: rgba(255, 255, 255, 0.84);
  overflow: hidden;
}
.vision::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 194, 154, 0.5), transparent);
}
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.vision h2 {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--white);
}
.vision-body { display: grid; gap: 1.5rem; }
.vision-body p { line-height: 1.95; }
.vision-quote {
  margin: 0.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(217, 194, 154, 0.45);
  border-bottom: 1px solid rgba(217, 194, 154, 0.45);
}
.vision-quote p {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.7;
  color: var(--gold-soft);
}
.vision :focus-visible { outline-color: var(--white); }

/* 구역 제목 위 작은 글씨가 .section-head p · .closing p 규칙에 덮이지 않게 */
.section-head .eyebrow,
.closing .eyebrow {
  margin-top: 0;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
}
.section-head .eyebrow { color: var(--gold-ink); }
.closing .eyebrow { color: var(--gold-soft); margin-bottom: 1.5rem; }

/* 마지막 안내 */
.closing-inner > p:not(.eyebrow) { max-width: 42em; }
.btn-light { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.closing .closing-sign {
  margin-top: 2.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
}
.closing-sign span {
  margin-left: 0.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
}
.closing .closing-note { margin-top: 0.75rem; font-size: var(--step--1); color: rgba(255, 255, 255, 0.62); }
.closing-note a { color: var(--white); text-underline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow { animation: rise 700ms var(--ease-out) both; }
  .hero-sign { animation: rise 700ms var(--ease-out) 240ms both; }
}

@media (max-width: 960px) {
  .story-grid,
  .vision-grid { grid-template-columns: minmax(0, 1fr); }
  .story-head { position: static; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .story-quote { padding-left: 1.25rem; }
  .hero-sign-name { font-size: 1.5rem; }
  .closing-sign span { display: block; margin: 0.25rem 0 0; }
}

/* ---------- 반응형 ---------- */

@media (max-width: 1080px) {
  .site-nav a { padding: 0 0.5rem; }
  .header-row { gap: 1rem; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(13, 27, 46, 0.08);
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav a {
    min-height: 52px;
    padding: 0;
    font-size: var(--step-0);
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a:hover { background: none; color: var(--steel); }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card {
    justify-self: start;
    max-width: 440px;
  }

  /* 글이 화면 전체 너비로 퍼지므로 흰 막을 고르게 */
  .hero-video::after { background: rgba(255, 255, 255, 0.88); }

  .section-head.has-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .section-video {
    justify-self: start;
    max-width: 560px;
  }

  .ways { grid-template-columns: minmax(0, 1fr); }
  .way,
  .way:first-child,
  .way:last-child { padding: 28px 0; }
  .way + .way { border-left: 0; border-top: 1px solid var(--line); }

  .service { grid-template-columns: 44px minmax(0, 1fr); }
  .service .checks { grid-column: 2; }

  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 28px 24px;
  }
  .ledger-result {
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .claims-grid { grid-template-columns: minmax(0, 1fr); }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }

  .library { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

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

  .brand { flex-direction: column; gap: 0; }
  .brand-name { font-size: 1.125rem; line-height: 1.3; }
  .brand-org { font-size: 0.8125rem; line-height: 1.3; }

  .hero-actions .btn,
  .closing-actions .btn { flex: 1 1 100%; }

  .hero-card { padding: 0 18px 18px 0; }
  .hero-card::before { inset: 18px 0 0 18px; }
  .hero-card-lines > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .service { grid-template-columns: minmax(0, 1fr); padding-block: 32px; }
  .service .checks { grid-column: auto; }
  .service-icon { margin-top: 0; }

  .ledger-row { padding: 24px 20px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .footer-contact { grid-template-columns: minmax(0, 1fr); }

  /* 모바일 하단 상담 버튼 */
  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 0.75rem; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
