/* =========================================================
   디코랩 랜딩(다페이지) 키트 — 표준 스타일
   업종·기관이 바뀌면 :root 토큰과 폰트만 바꾼다.
   글자 값(자간·행간·굵기 대비)은 참고 사이트 측정값에서 왔다 — landing-kit/CLAUDE.md 「글자 스타일」
   움직임은 js/site-motion.js · js/text-block-animation.js · js/hero-slider.js (GSAP) 가 맡는다.
   ========================================================= */

/* 글꼴: 본문·제목 모두 Pretendard 1.3.9(SIL OFL 1.1, jsDelivr) — 깔끔한 클리닉의 결은 한 가족 글꼴의 굵기 대비로 만든다.
   중국어판 Noto Sans SC · 일본어판 Noto Sans JP(둘 다 SIL OFL 1.1, Google Fonts)를 :lang() 으로 앞에 둔다(파일 끝 「디코피부과」). */

:root {
  /* 색 — 이름은 역할. 디코피부과: 흰 진료실 + 모브(자두빛 회색) 한 가지 + 진한 자두 잉크. 차가운 민트는 진한 면 위에서만 아주 적게 */
  --c-ink: #221D27;          /* 제목 */
  --c-text: #3B3640;         /* 본문 */
  --c-muted: #776F7E;        /* 날짜·번호·보조 (흰 바탕 대비 4.9:1) */
  --c-line: #ECE8EF;         /* 행 구분 */
  --c-line-strong: #A69FAD;  /* 표 위 테두리 */
  --c-bg: #fff;
  --c-surface: #F7F5F9;      /* 옅은 라일락 회색 면 (섹션 배경·패널) */
  --c-gray: #F6F5F7;         /* 푸터·카드 면 */
  --c-primary: #6B4F86;      /* 모브 — 강조·링크·활성 (흰 바탕 대비 7.3:1) */
  --c-primary-deep: #3D3446; /* 진한 자두 회색 면 (상담 카드·탭 활성) */
  --c-primary-soft: #EFE9F4;
  --c-sun: #A8DDD6;          /* 민트 — 진한 면 위의 작은 표시에만 */
  --c-notice-bg: #F9F2F6;    /* 게시판 공지 행 */
  --c-notice: #9B3F68;
  /* 피부 층 막대: 표피 → 진피 → 피하지방 → 근막층 (옅은 색에서 진한 색으로) */
  --layer-0: #F1EBF4;
  --layer-1: #DED1E7;
  --layer-2: #C9B8D6;
  --layer-3: #A994BC;

  /* 글꼴 — 샘플마다 사이트 디자인에 맞게 바꾼다 (오픈 라이선스만) */
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
               "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-display: var(--font-body);

  /* 글자 크기·자간·행간 (참고 사이트 측정값 기준) */
  --fs-hero: clamp(2.25rem, 1rem + 4vw, 4.25rem);         /* 68px — 얇게(300) 크고, 핵심어만 굵게 */
  --fs-h2: clamp(1.75rem, 1.25rem + 1.6vw, 2.625rem);     /* 42px */
  --fs-h3: clamp(1.1875rem, 1.05rem + .5vw, 1.375rem);    /* 22px */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);     /* 20px */
  --fs-body: 1.0625rem;                                   /* 17px */
  --fs-sm: .875rem;                                       /* 14px — 날짜·번호 */
  --ls-title: -0.015em;
  --ls-body: -0.01em;
  --ls-eyebrow: .3em;
  --lh-title: 1.3;
  --lh-body: 1.75;

  /* 모양 */
  --radius-xl: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 0 10px rgba(34, 24, 44, .1);
  --shadow-card: 0 10px 34px rgba(34, 24, 44, .1);
  --shadow-big: 5px 5px 25px 6px rgba(30, 22, 36, .12);

  --container: 1400px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 1023px) { :root { --header-h: 64px; --radius-xl: 18px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--c-text);
  background: var(--c-bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; color: var(--c-ink); line-height: var(--lh-title); letter-spacing: var(--ls-title); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.container--narrow { --container: 1080px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--c-ink); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.br-pc { display: none; }
@media (min-width: 1024px) { .br-pc { display: inline; } }

/* 실제 정보 자리표시 */
.ph { display: inline-block; padding: 1px 8px; border: 1px dashed currentColor; border-radius: 6px; font-size: .9em; opacity: .7; }

/* 사진 틀: 모서리를 둥글게 자르고, site-motion.js 가 아래에서 위로 열고(클립) 스크롤 패럴랙스를 준다 */
.media { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--c-surface); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 100px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-deep); }
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: var(--c-primary-deep); }
.btn--line { border-color: #D5DBE3; background: #fff; color: var(--c-ink); }
.btn--line:hover { border-color: var(--c-ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--c-ink); }
.btn--pill { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- 샘플 안내 띠 ---------- */
.sample-banner { background: var(--c-ink); color: rgba(255,255,255,.86); font-size: .8125rem; line-height: 1.5; }
.sample-banner__inner { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.sample-banner__tag { flex: none; padding: 2px 8px; border-radius: 100px; background: var(--c-sun); color: var(--c-ink); font-weight: 700; font-size: .75rem; }
.sample-banner__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 헤더 + 메가 메뉴 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__ko { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--c-ink); letter-spacing: -0.02em; }
.logo__en { font-size: .625rem; font-weight: 600; letter-spacing: .18em; color: var(--c-muted); }

.gnb { align-self: stretch; }
.gnb__list { display: flex; height: 100%; }
.gnb__item { position: relative; display: flex; flex-direction: column; }
.gnb__link {
  display: flex; align-items: center; justify-content: center; height: var(--header-h); min-width: 120px; padding: 0 clamp(12px, 1.8vw, 32px);
  font-size: 1.125rem; font-weight: 600; color: var(--c-ink); position: relative;
}
.gnb__link::after {
  content: ""; position: absolute; left: 20%; bottom: 0; width: 60%; height: 3px; background: var(--c-primary);
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.gnb__item:hover > .gnb__link::after,
.gnb__item:focus-within > .gnb__link::after { transform: scaleX(1); }
.gnb__item:hover > .gnb__link, .gnb__item:focus-within > .gnb__link { color: var(--c-primary); }
/* 지금 보는 1차 메뉴 */
body[data-group="about"] .gnb__item[data-group="about"] > .gnb__link,
body[data-group="business"] .gnb__item[data-group="business"] > .gnb__link,
body[data-group="projects"] .gnb__item[data-group="projects"] > .gnb__link,
body[data-group="news"] .gnb__item[data-group="news"] > .gnb__link,
body[data-group="support"] .gnb__item[data-group="support"] > .gnb__link { color: var(--c-primary); }

/* 2차 메뉴: 1차에 올리면 모든 열의 2차가 한꺼번에 펼쳐진다 (메가 드롭다운) */
.gnb__sub {
  position: absolute; top: var(--header-h); left: 0; right: 0; z-index: 2;
  padding: 22px 0 28px; text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.gnb__sub a { display: block; padding: 7px 4px; font-size: .9375rem; color: #555; border-radius: 6px; }
.gnb__sub a:hover, .gnb__sub a:focus-visible { color: var(--c-primary); background: var(--c-surface); }
.gnb__sub a[aria-current="page"] { color: var(--c-primary); font-weight: 700; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 190px); z-index: 1;
  background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 18px 30px rgba(34, 24, 44, .08);
  opacity: 0; transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease), opacity .2s; pointer-events: none;
}
.site-header.is-mega::after { transform: none; opacity: 1; }
.site-header.is-mega .gnb__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-header.is-mega { border-bottom-color: var(--c-line); backdrop-filter: none; background: #fff; }

.site-header__util { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-gray); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 2px; background: var(--c-ink); border-radius: 2px; position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }

@media (max-width: 1199px) { .gnb__link { min-width: 0; font-size: 1.0625rem; } }
@media (max-width: 1023px) {
  .gnb { display: none; }
  .site-header__util .btn { display: none; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__ko { font-size: 1.125rem; }
}

/* 전체 메뉴 (모바일·데스크톱 공통) */
.site-menu {
  position: fixed; inset: 0; z-index: 150; overflow-y: auto;
  display: flex; flex-direction: column; gap: 24px;
  padding: 0 var(--gutter) 32px; background: #fff;
}
.site-menu__head { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid var(--c-line); }
.site-menu__title { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--c-ink); }
.site-menu__close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-gray); font-size: 1.5rem; line-height: 1; }
.site-menu__list { display: grid; gap: 8px; }
@media (min-width: 1024px) { .site-menu__list { grid-template-columns: repeat(5, 1fr); gap: 32px; padding-top: 24px; } .site-menu .btn { align-self: flex-start; width: auto; } }
.site-menu__group { border-bottom: 1px solid var(--c-line); padding-bottom: 12px; }
.site-menu__link { display: block; padding: 10px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--c-ink); }
.site-menu__group ul { display: grid; gap: 2px; }
.site-menu__group ul a { display: block; padding: 8px 0; color: #555; }
.site-menu a[aria-current="page"] { color: var(--c-primary); font-weight: 700; }
body.nav-open { overflow: hidden; }

/* ---------- 섹션 공통 ---------- */
.section { padding-block: clamp(80px, 10vw, 160px); }
.section--surface { background: var(--c-surface); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(32px, 4.5vw, 64px); }
.sec-head__titles { display: grid; gap: 14px; }
/* 소제목: 기관·회사 사이트 관례인 "작은 영문 + 큰 한글". 영문은 실제로 쓰는 명칭일 때만 */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; line-height: 1; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-primary); }
.eyebrow::before { content: ""; width: var(--eyebrow-w, 22px); height: 2px; background: currentColor; }
.sec-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); }
.sec-title b, .sec-title strong { color: var(--c-primary); }
.sec-desc { max-width: 36em; color: #555; font-size: var(--fs-lead); line-height: 1.6; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-ink); }
.more-link::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s var(--ease); }
.more-link:hover::after { transform: translateX(4px); }

/* =========================================================
   메인
   ========================================================= */

/* ---------- 히어로: 사진 슬라이드쇼 (js/hero-slider.js) ----------
   둥근 큰 패널 안에서 사진이 오른쪽에서 밀려 들어오고(클립), 사진은 천천히 확대가 풀리며(켄 번스),
   제목은 줄 단위로 아래에서 올라온다. 진행 막대가 다 차면 다음 장으로. 정지 버튼·이전/다음 제공. */
.hero { padding: 16px var(--gutter) 0; position: relative; }
.hero__stage {
  position: relative; max-width: 1840px; margin-inline: auto; overflow: hidden; isolation: isolate;
  height: clamp(560px, calc(100svh - var(--header-h) - 60px), 900px);
  border-radius: var(--radius-xl); background: var(--c-primary-deep); color: #fff;
}
.hero-slide { position: absolute; inset: 0; visibility: hidden; }
.hero-slide.is-active, .hero-slide.is-leaving { visibility: visible; }
.hero-slide.is-active { z-index: 2; }
.hero-slide.is-leaving { z-index: 1; }
.hero-slide__media { position: absolute; inset: 0; overflow: hidden; }
.hero-slide__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero-slide__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 22, 36, .78) 0%, rgba(30, 22, 36, .45) 45%, rgba(30, 22, 36, .05) 80%), linear-gradient(0deg, rgba(30, 22, 36, .45), transparent 40%); }
.hero-slide__body { position: relative; z-index: 1; height: 100%; display: grid; align-content: center; gap: 22px; padding: 0 clamp(24px, 6vw, 110px) 150px; max-width: 980px; }
.hero-slide__eyebrow { color: #fff; opacity: .9; }
.hero-slide__eyebrow::before { background: var(--c-sun); }
.hero-slide__title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-hero); line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.hero-slide__title b { font-weight: 700; }
.hero-slide__title .hl { color: #E3D3F0; }
.hero-slide__title .line-mask { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-slide__desc { max-width: 32em; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255, 255, 255, .86); }
.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-slide__actions .btn--primary { background: #fff; color: var(--c-primary-deep); }
.hero-slide__actions .btn--primary:hover { background: var(--c-sun); }
/* CSS 만으로도 넘어가도록(GSAP 없을 때): 페이드 */
.hero-slide { opacity: 0; transition: opacity .8s ease, visibility 0s .8s; }
.hero-slide.is-active { opacity: 1; transition: opacity .8s ease; }
.has-gsap .hero-slide, .has-gsap .hero-slide.is-active { opacity: 1; transition: none; }

/* 바로가기 카드(.quick)가 히어로 아래 끝에 56px(좁은 화면 40px) 걸쳐 올라오므로 그만큼 위에 둔다 — 전에는 진행 막대가 카드에 가려졌다 (2026-10-28) */
.hero__ui { position: absolute; left: clamp(24px, 6vw, 110px); right: clamp(24px, 6vw, 110px); bottom: calc(56px + clamp(20px, 2.4vw, 36px)); z-index: 3; display: flex; align-items: center; gap: 18px; }
@media (max-width: 1023px) { .hero__ui { bottom: calc(40px + 18px); } }
.hero__count { font-family: var(--font-display); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; white-space: nowrap; }
.hero__count span { opacity: .55; font-weight: 300; }
.hero__dots { display: flex; gap: 8px; flex: 1; max-width: 520px; }
.hero__dot { flex: 1; display: grid; gap: 8px; padding: 6px 0; border: 0; background: none; color: rgba(255, 255, 255, .7); text-align: left; font-size: .8125rem; font-weight: 600; }
.hero__dot[aria-current="true"] { color: #fff; }
.hero__dot .bar { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__dot .bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-done .bar::after { transform: scaleX(1); }
.hero__dot[aria-current="true"] .bar::after { animation: hero-fill var(--hero-dur, 7s) linear forwards; }
.hero__stage.is-paused .hero__dot[aria-current="true"] .bar::after,
.hero__stage.is-focus .hero__dot[aria-current="true"] .bar::after,
.hero__stage:hover .hero__dot[aria-current="true"] .bar::after { animation-play-state: paused; }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__btns { display: flex; gap: 8px; margin-left: auto; }
.hero__btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(6px); transition: background-color .2s, color .2s; }
.hero__btn:hover { background: #fff; color: var(--c-ink); }
.hero__btn svg { width: 18px; height: 18px; }
.hero__btn .i-play { display: none; }
.hero__stage.is-paused .hero__btn .i-play { display: block; }
.hero__stage.is-paused .hero__btn .i-pause { display: none; }
@media (max-width: 767px) {
  .hero__stage { height: clamp(560px, calc(100svh - var(--header-h) - 40px), 720px); }
  .hero-slide__body { align-content: end; padding-bottom: 150px; }
  .hero-slide__media::after { background: linear-gradient(0deg, rgba(30, 22, 36, .85) 0%, rgba(30, 22, 36, .4) 60%, rgba(30, 22, 36, .15) 100%); }
  .hero__dot .label { display: none; }
  .hero__btn { width: 42px; height: 42px; }
}

/* 원형 글자 배지 — 스크롤한 만큼 돈다 (스스로 계속 돌지 않음) */
.round-badge { position: absolute; right: clamp(24px, 4vw, 64px); top: clamp(24px, 4vw, 56px); z-index: 3; width: 112px; height: 112px; border-radius: 50%; background: rgba(255, 255, 255, .12); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; color: #fff; }
.round-badge svg:first-child { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); transform: rotate(var(--badge-rot, 0deg)); }
.round-badge text { font-size: 11.5px; font-weight: 700; letter-spacing: .2em; fill: currentColor; }
.round-badge__arrow { width: 22px; height: 22px; }
@media (max-width: 767px) { .round-badge { display: none; } }

/* 바로가기 카드: 히어로 아래 끝에 걸친다 */
.quick { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -56px; }
.quick__card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 24px 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.quick__card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(34, 24, 44, .16); }
.quick__icon { width: 52px; height: 52px; padding: 12px; border-radius: 16px; background: var(--c-primary-soft); color: var(--c-primary); }
.quick__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--c-ink); line-height: 1.3; }
.quick__text { display: block; font-size: .875rem; color: #6B7580; line-height: 1.5; margin-top: 2px; }
.quick__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-gray); color: var(--c-ink); font-weight: 700; transition: background-color .2s, color .2s, transform .25s var(--ease); }
.quick__card:hover .quick__go { background: var(--c-primary); color: #fff; transform: translateX(3px); }
@media (max-width: 1023px) { .quick { grid-template-columns: 1fr; margin-top: -40px; gap: 10px; } .quick__card { padding: 18px 20px; } }

/* ---------- 메인: 회사 한 줄 소개 (큰 문장 + 사진 두 장) ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.statement__lead, .intro__lead, .vision-head__lead { text-wrap: balance; }
.statement__text { display: grid; gap: 28px; align-content: start; }
.statement__lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 3.125rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--c-ink); }
.statement__lead b { font-weight: 700; color: var(--c-primary); }
.statement__desc { max-width: 34em; color: #555; }
.statement__media { position: relative; padding-bottom: 22%; }
.statement__media .media { aspect-ratio: 4 / 5; }
.statement__media .media + .media { position: absolute; left: -22%; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid #fff; border-radius: 30px; box-shadow: var(--shadow-card); }
@media (max-width: 1023px) { .statement { grid-template-columns: 1fr; } .statement__media { margin-left: 18%; } }

/* ---------- 메인: 사업분야 (왼쪽 제목 고정 + 오른쪽 사진 카드) ---------- */
.biz-sticky { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.biz-sticky__head { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 18px; }
.biz-sticky__list { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.biz-card { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; color: #fff; isolation: isolate; aspect-ratio: 16 / 10; }
.biz-card .media { position: absolute; inset: 0; border-radius: 0; z-index: -1; }
.biz-card .media img { transition: transform .9s var(--ease); }
.biz-card:hover .media img { transform: scale(1.06); }
.biz-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30, 22, 36, .82) 0%, rgba(30, 22, 36, .1) 60%); }
.biz-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; padding: clamp(22px, 3vw, 40px); }
.biz-card__num { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--c-sun); }
.biz-card h2 { color: #fff; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); margin: 6px 0 8px; }
.biz-card p { color: rgba(255, 255, 255, .82); max-width: 30em; }
.biz-card__go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-ink); font-weight: 700; font-size: 1.25rem; transition: transform .3s var(--ease), background-color .2s; }
.biz-card:hover .biz-card__go { transform: rotate(-45deg); background: var(--c-sun); }
@media (max-width: 1023px) { .biz-sticky { grid-template-columns: 1fr; } .biz-sticky__head { position: static; } .biz-card { aspect-ratio: 4 / 3; } }

/* 사업 개요 페이지: 사진 카드 세 장 */
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.biz-grid .biz-card { aspect-ratio: 3 / 4; }
.biz-grid .biz-card__body { top: 0; grid-template-columns: 1fr; align-content: end; }
.biz-grid .biz-card__go { position: absolute; right: clamp(22px, 3vw, 40px); top: clamp(22px, 3vw, 40px); }
@media (max-width: 1023px) { .biz-grid { grid-template-columns: 1fr; } .biz-grid .biz-card { aspect-ratio: 16 / 10; } }

/* ---------- 메인: 시공사례 · 시공사례 페이지 공통 카드 ---------- */
.pj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pj-grid--home .pj-card:first-child { grid-column: span 2; grid-row: span 2; }
.pj-grid--home .pj-card:first-child .media { aspect-ratio: auto; height: 100%; }
.pj-card { display: grid; gap: 14px; align-content: start; }
.pj-card .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.pj-card .media img { transition: transform .9s var(--ease); }
.pj-card:hover .media img { transform: scale(1.06); }
.pj-card__meta { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--c-muted); }
.pj-card__title { font-size: 1.1875rem; font-weight: 700; color: var(--c-ink); line-height: 1.4; transition: color .2s; }
.pj-card:hover .pj-card__title { color: var(--c-primary); }
.pj-grid--home .pj-card:first-child { position: relative; }
@media (max-width: 1023px) { .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pj-grid, .pj-grid--home { grid-template-columns: 1fr; } .pj-grid--home .pj-card:first-child { grid-column: auto; grid-row: auto; } .pj-grid--home .pj-card:first-child .media { aspect-ratio: 4 / 3; height: auto; } }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- 메인: 공지 + 소식 (2단) ---------- */
.board-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 1023px) { .board-split { grid-template-columns: 1fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding: 0 20px; border: 1px solid #DDE2E8; border-radius: 100px; background: #fff; font-size: 1rem; font-weight: 500; color: #555; transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--c-primary-deep); color: var(--c-primary-deep); }
.tab[aria-selected="true"], .tab.is-active { background: var(--c-primary-deep); border-color: var(--c-primary-deep); color: #fff; }
.mini-board { border-top: 2px solid var(--c-ink); margin-top: 20px; }
.mini-board li { border-bottom: 1px solid var(--c-line); }
.mini-board a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 20px 4px; transition: background-color .2s; }
.mini-board a:hover { background: var(--c-surface); }
.mini-board__title { font-size: 1.125rem; font-weight: 600; color: var(--c-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-board__date { font-size: var(--fs-sm); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.cate { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 100px; background: var(--c-primary-soft); color: var(--c-primary); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.cate--notice { background: var(--c-notice-bg); color: var(--c-notice); }
.cate--site { background: var(--c-primary-soft); color: var(--c-primary-deep); }

.news-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.news-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); margin-top: 0; }
@media (max-width: 1023px) { .news-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .news-cards, .news-cards--3 { grid-template-columns: 1fr; } }
.news-card { display: grid; gap: 14px; align-content: start; }
.news-card__thumb { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.news-card__thumb img { transition: transform .9s var(--ease); }
.news-card:hover .news-card__thumb img { transform: scale(1.06); }
.news-card__date { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 8px 12px; border-radius: 12px; background: var(--c-primary-deep); color: #fff; text-align: center; line-height: 1.1; }
.news-card__date b { display: block; font-size: 1.5rem; font-family: var(--font-display); }
.news-card__date small { font-size: .75rem; opacity: .8; }
.news-card__title { font-size: 1.125rem; font-weight: 700; color: var(--c-ink); line-height: 1.45; transition: color .2s; }
.news-card:hover .news-card__title { color: var(--c-primary); }

/* ---------- 메인: 바로가기 묶음 (크기가 다른 카드) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.bento__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; transition: transform .3s var(--ease); }
a.bento__card:hover { transform: translateY(-6px); }
.bento__card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); color: inherit; }
.bento__tag { font-size: .9375rem; font-weight: 600; opacity: .8; }
.bento__card--deep { grid-column: span 2; grid-row: span 2; background: var(--c-primary-deep); color: #fff; box-shadow: var(--shadow-big); }
.bento__card--blue { background: var(--c-primary); color: #fff; }
.bento__card--soft { background: var(--c-primary-soft); color: var(--c-ink); }
.bento__card--white { background: #fff; color: var(--c-ink); box-shadow: var(--shadow-card); }
.bento__card--photo { color: #fff; }
.bento__card--photo .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.bento__card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30, 22, 36, .75), rgba(30, 22, 36, .15)); }
.bento__card--wide { grid-column: span 2; }
.bento__info { display: grid; gap: 8px; margin: 0; font-size: 1rem; }
.bento__info div { display: flex; gap: 14px; }
.bento__info dt { min-width: 5em; opacity: .65; }
.bento__info dd { margin: 0; }
.bento__deco { position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); }
.bento__card--deep .btn { align-self: flex-start; background: #fff; color: var(--c-primary-deep); }
.bento__arrow { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-weight: 700; }
.bento__card--soft .bento__arrow, .bento__card--white .bento__arrow { background: var(--c-primary); color: #fff; }
@media (max-width: 1023px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .bento { grid-template-columns: 1fr; } .bento__card--deep, .bento__card--wide { grid-column: auto; grid-row: auto; } }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--c-gray); padding: 56px 0 40px; font-size: .9375rem; color: #555; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid #E3E6EA; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; color: var(--c-ink); }
.site-footer__info { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 24px 0; }
.site-footer__info div { display: flex; gap: 8px; }
.site-footer__info dt { color: #888; }
.site-footer__info dd { margin: 0; }
.site-footer__info dd a { color: inherit; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: #888; }
.site-footer__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.credit-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-ink); }
.credit-link img { height: 16px; width: auto; }

/* =========================================================
   서브 페이지 틀
   서브 비주얼(사진 패널 + 1차 메뉴명 + 경로) → 2차 메뉴 탭(스크롤 시 고정) → 페이지 제목 → 본문
   2차 메뉴는 모두 별도 페이지다 (같은 페이지 안 구역으로 내려가지 않는다)
   ========================================================= */
.sub-visual { padding: 16px var(--gutter) 0; }
.sub-visual__panel { position: relative; max-width: 1840px; margin-inline: auto; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); min-height: clamp(260px, 26vw, 380px); display: grid; align-content: center; justify-items: center; gap: 14px; padding: 56px 24px 84px; text-align: center; color: #fff; background: var(--c-primary-deep); }
.sub-visual__media { position: absolute; inset: 0; z-index: -1; }
.sub-visual__media img { width: 100%; height: 100%; object-fit: cover; }
.sub-visual__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 22, 36, .7), rgba(30, 22, 36, .35)); }
.sub-visual__group { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); color: #fff; line-height: 1.2; letter-spacing: var(--ls-title); }
.sub-visual__en { font-size: .875rem; font-weight: 600; letter-spacing: var(--ls-eyebrow); color: rgba(255, 255, 255, .85); text-transform: uppercase; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: .875rem; color: rgba(255, 255, 255, .78); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

.lnb { position: sticky; top: var(--header-h); z-index: 50; margin-top: -32px; }
.lnb__inner { display: flex; justify-content: center; }
.lnb__list { display: flex; gap: 4px; padding: 6px; border-radius: 100px; background: #fff; box-shadow: var(--shadow-soft); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.lnb__list::-webkit-scrollbar { display: none; }
.lnb__list a { display: flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 100px; font-weight: 600; color: #555; white-space: nowrap; transition: background-color .2s, color .2s; }
.lnb__list a:hover { color: var(--c-primary); }
.lnb__list a[aria-current="page"] { background: var(--c-primary-deep); color: #fff; }
@media (max-width: 639px) { .lnb__list a { height: 42px; padding: 0 16px; font-size: .9375rem; } }

.page { padding-block: clamp(56px, 7vw, 110px) clamp(80px, 10vw, 160px); }
.page > .section:last-child { padding-bottom: 0; }
.page-head { display: grid; justify-items: center; gap: 14px; text-align: center; margin-bottom: clamp(40px, 5.5vw, 80px); }
.page-head__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); }
.page-head__desc { color: #666; max-width: 36em; font-size: var(--fs-lead); line-height: 1.6; }

/* 소개형: 글 + 사진 겹침 + 옅은 영문 워터마크 */
.intro { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 1023px) { .intro { grid-template-columns: 1fr; } }
.intro__lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.625rem); line-height: 1.4; color: var(--c-ink); letter-spacing: -0.015em; }
.intro__lead b { font-weight: 700; color: var(--c-primary); }
.prose { display: grid; gap: 1.1em; margin-top: 28px; color: #444; max-width: 38em; }
.sign { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: var(--c-ink); font-weight: 600; }
.intro__media { position: relative; padding: 0 0 18% 14%; }
.intro__media .media { aspect-ratio: 4 / 3; }
.intro__media .media + .media { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 8px solid #fff; border-radius: 28px; box-shadow: var(--shadow-card); }
.watermark { position: relative; margin-top: clamp(56px, 8vw, 120px); font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1rem + 8vw, 9.375rem); line-height: .9; letter-spacing: -0.03em; color: #F1F3F6; white-space: nowrap; user-select: none; }
.watermark-wrap { overflow: hidden; }
.value-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: -0.4em; position: relative; }
@media (max-width: 1023px) { .value-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .value-cards { grid-template-columns: 1fr; } }
.value-card { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 30px; border-radius: var(--radius); background: var(--c-gray); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.value-card:hover { background: var(--c-primary-deep); color: rgba(255, 255, 255, .8); transform: translateY(-6px); }
.value-card:hover h3 { color: #fff; }
.value-card:hover svg { color: var(--c-sun); }
.value-card svg { width: 42px; height: 42px; color: var(--c-primary); transition: color .3s; }
.value-card h3 { font-size: 1.1875rem; transition: color .3s; }
.value-card p { font-size: .9375rem; line-height: 1.6; }

/* 비전형: 큰 영문 단어(첫 글자 강조) + 설명 + 사진을 좌우 번갈아 (startup 서브 결) */
.vision-head { display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 100px); }
.vision-head__lead { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem); line-height: 1.35; color: var(--c-ink); }
.vision-head__lead b { font-weight: 700; color: var(--c-primary); }
.vision-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.vision-row + .vision-row { margin-top: clamp(64px, 9vw, 140px); }
.vision-row:nth-child(even) .media { order: 2; }
.vision-row .media { aspect-ratio: 5 / 4; }
.vision-word { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 1.6rem + 4.5vw, 6rem); line-height: 1; letter-spacing: -0.02em; color: var(--c-ink); }
.vision-word span { color: var(--c-primary); }
.vision-row h2 { margin: 18px 0 14px; font-size: var(--fs-h3); }
.vision-row p { color: #555; max-width: 30em; }
@media (max-width: 1023px) { .vision-row { grid-template-columns: 1fr; } .vision-row:nth-child(even) .media { order: 0; } }

/* 연혁 */
.history { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.history__aside { position: sticky; top: calc(var(--header-h) + 100px); display: grid; gap: 20px; }
.history__aside .media { aspect-ratio: 4 / 5; }
@media (max-width: 1023px) { .history { grid-template-columns: 1fr; } .history__aside { position: static; } .history__aside .media { aspect-ratio: 16 / 9; } }
.timeline__year { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 40px 0; border-top: 1px solid var(--c-line); }
.timeline__year:first-child { border-top: 2px solid var(--c-ink); }
.timeline__year h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); color: var(--c-primary); line-height: 1; }
.timeline__list { display: grid; gap: 14px; }
.timeline__list li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 16px; }
.timeline__list time { font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .timeline__year { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; } }

/* 사업 상세 */
.detail-hero { display: grid; gap: clamp(28px, 4vw, 48px); }
.detail-hero .media { aspect-ratio: 21 / 9; }
@media (max-width: 767px) { .detail-hero .media { aspect-ratio: 4 / 3; } }
.detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 100px); margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 1023px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid h2 { font-family: var(--font-display); font-size: var(--fs-h2); }
.detail-grid h2 b { color: var(--c-primary); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec-table th, .spec-table td { padding: 18px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.spec-table th { width: 9em; color: var(--c-ink); font-weight: 700; background: var(--c-gray); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 2px solid var(--c-ink); }
.icon-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1023px) { .icon-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .icon-cards { grid-template-columns: 1fr; } }
.icon-card { display: grid; gap: 12px; padding: 28px; border-radius: var(--radius); background: var(--c-gray); transition: transform .3s var(--ease), box-shadow .3s, background-color .3s; }
.icon-card:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow-card); }
.icon-card svg { width: 40px; height: 40px; color: var(--c-primary); }
.icon-card b { display: block; color: var(--c-ink); font-size: 1.125rem; line-height: 1.3; }
.icon-card span { font-size: .9375rem; color: #6B7580; line-height: 1.55; }
.section--surface .icon-card { background: #fff; }
.split-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.split-media .media { aspect-ratio: 4 / 3; }
@media (max-width: 639px) { .split-media { grid-template-columns: 1fr; } }

/* 다른 사업 바로가기 */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related a { position: relative; display: flex; align-items: end; min-height: 200px; padding: 24px; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.related a .media { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.related a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(30, 22, 36, .8), rgba(30, 22, 36, .1)); transition: background-color .3s; }
.related a:hover::after { background-color: rgba(107, 79, 134, .35); }
.related a[aria-current="page"] { outline: 3px solid var(--c-primary); outline-offset: 3px; }
@media (max-width: 767px) { .related { grid-template-columns: 1fr; } .related a { min-height: 140px; } }

/* 진행 과정 (순서가 있는 내용이라 번호를 쓴다) */
.flow { display: grid; gap: 0; counter-reset: flow; }
.flow__item { counter-increment: flow; display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--c-line); }
.flow__item:first-child { border-top: 2px solid var(--c-ink); }
.flow__item::before { content: counter(flow, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); line-height: 1; color: var(--c-primary-soft); -webkit-text-stroke: 1px var(--c-primary); }
.flow__item h2 { font-size: var(--fs-h3); margin-bottom: 8px; }
.flow__item p { color: #555; }
.flow__item .media { aspect-ratio: 16 / 9; border-radius: var(--radius); }
@media (max-width: 1023px) { .flow__item { grid-template-columns: 72px minmax(0, 1fr); } .flow__item .media { grid-column: 1 / -1; } }

/* ---------- 게시판 (startup 목록 결: 번호·제목·날짜·조회 한 줄, 옅은 구분선) ---------- */
.board-tools { display: grid; justify-items: center; gap: 24px; margin-bottom: 36px; }
.board-search { display: flex; width: min(100%, 520px); height: 54px; border-radius: 100px; background: var(--c-gray); padding: 4px; }
.board-search input { flex: 1; min-width: 0; padding: 0 22px; border: 0; background: transparent; font-size: 1rem; }
.board-search input:focus { outline: none; }
.board-search:focus-within { box-shadow: 0 0 0 2px var(--c-primary); }
.board-search button { flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--c-primary); color: #fff; display: grid; place-items: center; }
.board-search svg { width: 20px; height: 20px; }
.board-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: var(--fs-sm); color: #777; }
.board-meta b { color: var(--c-primary); }

.board-table { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 1px solid var(--c-line-strong); }
.board-table th { height: 56px; font-size: .9375rem; font-weight: 600; color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.board-table td { height: 64px; padding: 10px 6px; border-bottom: 1px solid var(--c-line); text-align: center; font-size: var(--fs-sm); font-weight: 500; color: #999; font-variant-numeric: tabular-nums; }
.board-table .col-num { width: 72px; }
.board-table .col-date { width: 130px; }
.board-table .col-hit { width: 80px; }
.board-table .td-subject { text-align: left; }
.board-table .td-subject a { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; font-weight: 700; color: var(--c-text); line-height: 1.45; }
.board-table .td-subject a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-table tbody tr { transition: background-color .15s; }
.board-table tbody tr:hover { background: #FAFAFA; }
.board-table tbody tr:hover .td-subject a { color: var(--c-primary); }
.board-table tr.is-notice { background: var(--c-notice-bg); }
.board-table tr.is-notice .col-num-badge { color: var(--c-notice); font-weight: 700; }
.board-empty td { height: 160px; color: #888; font-size: 1rem; }
@media (max-width: 767px) {
  .board-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .board-table, .board-table tbody, .board-table tr { display: block; }
  .board-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 4px; border-bottom: 1px solid var(--c-line); }
  .board-table td { display: block; height: auto; padding: 0; border: 0; text-align: left; }
  .board-table td.td-num { display: none; }
  .board-table tr.is-notice td.td-num { display: block; grid-column: 1 / -1; }
  .board-table .td-subject { grid-column: 1 / -1; }
  .board-table .td-subject a span { white-space: normal; }
  .board-table td.td-hit::before { content: attr(data-label) " "; }
  .board-empty td { grid-column: 1 / -1; text-align: center; padding: 40px 0; }
}
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pagination button, .pagination span { min-width: 38px; height: 38px; padding: 0 8px; display: inline-grid; place-items: center; border: 1px solid #EEE; border-radius: 6px; background: #EEE; color: #959599; font-size: .875rem; font-weight: 500; }
.pagination [aria-current="page"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.pagination button:hover:not([aria-current]) { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }

/* 글 보기 */
.post-head { border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-line); padding: 28px 4px; display: grid; gap: 14px; }
.post-head h1 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.post-meta div { display: flex; gap: 6px; }
.post-meta dt { color: #666; }
.post-meta dd { margin: 0; }
.post-files { margin: 0; padding: 16px 4px; border-bottom: 1px solid var(--c-line); font-size: .9375rem; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.post-files b { color: var(--c-ink); }
.post-body { display: grid; gap: 1.1em; padding: 40px 4px 56px; color: #444; max-width: 52em; }
.post-body h2, .post-body h3 { margin-top: .6em; font-size: 1.1875rem; }
.post-body ul { padding-left: 1.2em; display: grid; gap: .4em; }
.post-body .media { aspect-ratio: 16 / 9; border-radius: var(--radius); margin: .6em 0; }
.post-nav { border-top: 1px solid var(--c-line-strong); }
.post-nav li { display: grid; grid-template-columns: 90px minmax(0, 1fr) 120px; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--c-line); font-size: .9375rem; }
.post-nav li > span:first-child { font-weight: 700; color: var(--c-ink); padding-left: 8px; }
.post-nav a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--c-text); }
.post-nav a:hover { color: var(--c-primary); }
.post-nav time { color: var(--c-muted); text-align: right; padding-right: 8px; }
@media (max-width: 639px) { .post-nav li { grid-template-columns: 64px minmax(0, 1fr); } .post-nav time { display: none; } }
.post-actions { display: flex; justify-content: center; margin-top: 40px; }

/* 사례 보기 */
.case-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(28px, 4vw, 48px) 0; border-top: 2px solid var(--c-ink); border-bottom: 1px solid var(--c-line); }
.case-summary div { padding: 22px 18px; border-left: 1px solid var(--c-line); }
.case-summary div:first-child { border-left: 0; }
.case-summary dt { font-size: .875rem; color: var(--c-muted); margin-bottom: 6px; }
.case-summary dd { margin: 0; font-weight: 700; color: var(--c-ink); }
@media (max-width: 767px) { .case-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case-summary div:nth-child(3) { border-left: 0; } .case-summary div { border-top: 1px solid var(--c-line); } }

/* ---------- 문의 · FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { position: relative; display: grid; gap: 18px; align-content: start; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; background: var(--c-primary-deep); color: #fff; }
.contact-aside .media { position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; border-radius: 0; opacity: .35; }
.contact-aside h2 { color: #fff; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.contact-aside p { color: rgba(255, 255, 255, .8); }
.contact-aside dl { display: grid; gap: 10px; margin: 8px 0 0; }
.contact-aside dl div { display: flex; gap: 14px; }
.contact-aside dt { min-width: 5em; color: rgba(255, 255, 255, .6); }
.contact-aside dd { margin: 0; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__field { display: grid; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
@media (max-width: 639px) { .form { grid-template-columns: 1fr; } }
.form label, .form legend { font-weight: 600; color: var(--c-ink); font-size: .9375rem; }
.form .req { color: var(--c-notice); margin-left: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #D9DEE4; border-radius: 12px; background: #fff; font-size: 1rem;
}
.form textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.form__agree { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: #555; }
.form__agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-primary); }
.form__note { grid-column: 1 / -1; padding: 14px 18px; border-radius: 12px; background: var(--c-surface); color: var(--c-primary-deep); font-size: .9375rem; }

.faq-group + .faq-group { margin-top: clamp(40px, 5vw, 64px); }
.faq-group > h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.faq { border-top: 2px solid var(--c-ink); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 700; color: var(--c-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); font-family: var(--font-display); }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; font-weight: 300; color: var(--c-muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px 52px; color: #555; }
.cta-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-xl); background: var(--c-surface); }
.cta-strip p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); color: var(--c-ink); }

/* ---------- 오시는 길 ---------- */
.map-box { position: relative; width: 100%; border-radius: var(--radius-xl); overflow: hidden; background: var(--c-surface); aspect-ratio: 16 / 7; min-height: 280px; }
/* 좁은 화면: min-height 가 aspect-ratio 를 거쳐 폭을 640px 로 늘리던 문제(375px 가로 넘침) — 비율을 바꿔 높이만 확보 */
@media (max-width: 639px) { .map-box { aspect-ratio: 4 / 3; min-height: 0; } }
.map-box img { width: 100%; height: 100%; object-fit: cover; }
.map-box__note { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-soft); font-size: .875rem; color: #555; }
.info-rows { margin-top: 36px; border-top: 2px solid var(--c-ink); }
.info-rows > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 24px 4px; border-bottom: 1px solid var(--c-line); }
.info-rows dt { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-ink); }
.info-rows dt svg { width: 22px; height: 22px; color: var(--c-primary); }
.info-rows dd { margin: 0; display: grid; gap: 6px; }
@media (max-width: 639px) { .info-rows > div { grid-template-columns: 1fr; gap: 8px; } }

/* =========================================================
   대기업 사이트 벤치마킹 반영 (2026-10-27, docs/benchmark-kr-top30.md)
   ========================================================= */

/* 헤더 유틸: 언어 · 검색 */
.util-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 100px; background: transparent; color: var(--c-ink); font-size: .875rem; font-weight: 700; letter-spacing: .04em; transition: background-color .2s; }
.util-btn:hover, .util-btn[aria-expanded="true"] { background: var(--c-gray); }
.util-btn svg { width: 20px; height: 20px; }
.lang { position: relative; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 200px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.lang__menu a, .lang__menu > li > span { display: block; padding: 10px 14px; border-radius: 10px; font-size: .9375rem; color: #555; }
.lang__menu a:hover { background: var(--c-surface); color: var(--c-primary); }
.lang__menu a[aria-current="true"] { color: var(--c-primary); font-weight: 700; }
@media (max-width: 639px) { .lang { display: none; } }

.site-search { position: fixed; inset: 0; z-index: 160; background: rgba(30, 22, 36, .45); backdrop-filter: blur(4px); }
.site-search__inner { margin-top: 0; padding: clamp(20px, 4vw, 48px) clamp(20px, 3vw, 40px) 32px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); background: #fff; box-shadow: var(--shadow-big); }
.site-search__form { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--c-ink); padding-bottom: 10px; }
.site-search__form > svg { flex: none; width: 26px; height: 26px; color: var(--c-primary); }
.site-search__form input { flex: 1; min-width: 0; height: 56px; border: 0; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-family: var(--font-display); font-weight: 700; }
.site-search__form input:focus { outline: none; }
.site-search__form input::-webkit-search-cancel-button { display: none; }
/* 데모 공통 안내 띠(/demo/_shared/sample-banner.*)가 맨 위에 고정돼 있어, 화면을 덮는 창은 띠 아래에서 시작한다 */
.site-menu, .site-search { top: var(--sample-banner-h, 0px); }
.site-search__close { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--c-gray); font-size: 1.5rem; line-height: 1; }
.site-search__hint { margin: 20px 0 10px; font-size: .875rem; font-weight: 600; color: var(--c-muted); }
.site-search__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.site-search__quick a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid #DDE2E8; border-radius: 100px; font-size: .9375rem; color: #555; }
.site-search__quick a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.site-search__results { display: grid; gap: 2px; margin-top: 12px; max-height: 50vh; overflow-y: auto; }
.site-search__results a { display: flex; align-items: baseline; gap: 12px; padding: 14px 8px; border-bottom: 1px solid var(--c-line); }
.site-search__results a:hover, .site-search__results a:focus-visible { background: var(--c-surface); }
.site-search__results b { color: var(--c-ink); font-size: 1.0625rem; }
.site-search__results small { color: var(--c-muted); font-size: .8125rem; }
.site-search__results mark { background: var(--c-primary-soft); color: var(--c-primary-deep); border-radius: 3px; }
.site-search__empty { padding: 20px 8px; color: #777; }

/* 숫자로 보는 회사 */
.numbers__note { max-width: 26em; font-size: .875rem; color: var(--c-muted); }
.numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--c-ink); }
.numbers__item { display: grid; gap: 14px; padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--c-line); }
.numbers__item:first-child { border-left: 0; padding-left: 0; }
.numbers__item dt { font-size: .9375rem; font-weight: 600; color: #6B7580; }
.numbers__item dd { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.numbers__item b { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--c-primary-deep); font-variant-numeric: tabular-nums; }
.numbers__item span { font-weight: 700; color: var(--c-ink); }
@media (max-width: 767px) { .numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbers__item:nth-child(3) { border-left: 0; padding-left: 0; } .numbers__item:nth-child(n+3) { border-top: 1px solid var(--c-line); } }

/* 푸터 위 띠: 채용 · 회사소개서 · 사업 문의 */
.prefooter { padding: clamp(56px, 7vw, 100px) 0; background: #fff; border-top: 1px solid var(--c-line); }
.prefooter__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prefooter__item { position: relative; display: grid; gap: 8px; align-content: start; min-height: 190px; padding: clamp(24px, 2.6vw, 34px); padding-right: 80px; border-radius: var(--radius); background: var(--c-gray); color: #555; font-size: .9375rem; line-height: 1.6; transition: transform .3s var(--ease), background-color .3s; }
a.prefooter__item:hover { transform: translateY(-6px); background: var(--c-surface); }
.prefooter__item strong { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); color: var(--c-ink); }
.prefooter__tag { font-size: .8125rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-primary); }
.prefooter__go { position: absolute; right: 24px; top: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c-ink); font-weight: 700; transition: background-color .2s, color .2s; }
a.prefooter__item:hover .prefooter__go { background: var(--c-primary); color: #fff; }
.prefooter__item--accent { background: var(--c-primary-deep); color: rgba(255, 255, 255, .8); }
.prefooter__item--accent strong { color: #fff; }
.prefooter__item--accent .prefooter__tag { color: var(--c-sun); }
a.prefooter__item--accent:hover { background: var(--c-primary); }
.prefooter__item--file { cursor: default; }
@media (max-width: 1023px) { .prefooter__grid { grid-template-columns: 1fr; } .prefooter__item { min-height: 0; } }

/* 푸터 표준 세트 */
.site-footer__side { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.family-select { height: 44px; min-width: 200px; padding: 0 40px 0 16px; border: 1px solid #DDE2E8; border-radius: 100px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; appearance: none; font-size: .9375rem; color: #555; }
.sns { display: flex; gap: 8px; }
.sns__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #555; border: 1px solid #E3E6EA; }
.sns__btn svg { width: 18px; height: 18px; }
.site-footer__policy { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 22px 0 0; font-size: .9375rem; font-weight: 600; color: var(--c-ink); }
.site-footer__policy li.is-strong { color: var(--c-primary); }
.site-footer__policy a:hover { color: var(--c-primary); }
.site-footer__body { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px 40px; }
.wa-mark { margin: 24px 0; font-size: .8125rem; color: #888; }

/* 서브 머리 변형: 흰 바탕 + 경로 + 큰 제목 (사진이 적은 메뉴·고객용) */
.sub-visual--light .sub-visual__panel { color: var(--c-ink); background-color: var(--c-surface); background-image: linear-gradient(rgba(107, 79, 134, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 79, 134, .06) 1px, transparent 1px); background-size: 48px 48px; min-height: clamp(220px, 20vw, 300px); }
.sub-visual--light .sub-visual__group { color: var(--c-ink); }
.sub-visual--light .sub-visual__en { color: var(--c-primary); }
.sub-visual--light .breadcrumb ol { color: var(--c-muted); }
.sub-visual--light .breadcrumb a:hover { color: var(--c-primary); }

/* 히어로 제목 대비 — 사진 위 가는 대형 제목은 대비가 약하다(벤치마킹 「피할 것」). 어둡게 깐 면을 넓히고 은은한 그림자를 둔다 */
.hero-slide__media::after { background: linear-gradient(90deg, rgba(30, 22, 36, .85) 0%, rgba(30, 22, 36, .55) 48%, rgba(30, 22, 36, .1) 82%), linear-gradient(0deg, rgba(30, 22, 36, .5), transparent 42%); }
.hero-slide__title, .hero-slide__desc { text-shadow: 0 2px 24px rgba(0, 0, 0, .28); }
.hero-slide__title { font-weight: 300; }
.hero-slide__title b { font-weight: 700; }

/* =========================================================
   움직임 — 보이는 상태가 기본, 스크립트가 숨겼다 보여 준다
   ========================================================= */
/* 텍스트 블록 리빌: 분할 전 깜빡임 방지. 스크립트가 3초 안에 못 뜨면 tb-timeout 으로 다시 표시 */
.js [data-text-block]:not(.is-split) { visibility: hidden; }
.tb-timeout [data-text-block] { visibility: visible; }
.block-line { position: relative; display: block; overflow: hidden; }
.block-line__revealer { position: absolute; inset: 0; z-index: 2; transform: scaleX(0); transform-origin: left center; }
/* 스크롤 진행 막대 */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 130; height: 3px; background: linear-gradient(90deg, var(--c-primary), var(--c-sun)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .quick__card:hover, .news-card:hover img, .pj-card:hover img, .biz-card:hover img, .value-card:hover, .icon-card:hover, a.bento__card:hover { transform: none; }
  .round-badge svg:first-child { transform: none; }
}

/* ---------- 2차 메뉴 모양 고르기 (scripts/lnb.py <사이트> <pill|line|path|side>) ----------
   pill(기본, 위의 .lnb) · line 밑줄 탭 · path 위치 드롭다운 막대 · side 왼쪽 세로 메뉴(좁은 화면은 밑줄 탭).
   .sub-body = 2차 메뉴 + 본문을 감싸는 틀. side 일 때만 두 칸 격자가 된다. */
.sub-visual:has(+ .sub-body > [class*="lnb--"]) .sub-visual__panel { padding-bottom: 56px; }

/* 밑줄 탭 (line) — side 의 좁은 화면 모양도 같다 */
.lnb--line, .lnb--side { margin-top: 0; background: #fff; border-bottom: 1px solid var(--c-line); }
.lnb--line .lnb__inner, .lnb--side .lnb__inner { justify-content: center; }
.lnb--line .lnb__list, .lnb--side .lnb__list { gap: clamp(20px, 3.4vw, 56px); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.lnb--line .lnb__list a, .lnb--side .lnb__list a { position: relative; height: 64px; padding: 0 2px; border-radius: 0; color: #666; font-weight: 500; }
.lnb--line .lnb__list a::after, .lnb--side .lnb__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c-primary); transform: scaleX(0); transition: transform .3s var(--ease); }
.lnb--line .lnb__list a:hover, .lnb--side .lnb__list a:hover { color: var(--c-ink); }
.lnb--line .lnb__list a:hover::after, .lnb--side .lnb__list a:hover::after { transform: scaleX(.4); }
.lnb--line .lnb__list a[aria-current="page"], .lnb--side .lnb__list a[aria-current="page"] { background: none; color: var(--c-ink); font-weight: 700; }
.lnb--line .lnb__list a[aria-current="page"]::after, .lnb--side .lnb__list a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 639px) { .lnb--line .lnb__list a, .lnb--side .lnb__list a { height: 52px; } .lnb--line .lnb__inner, .lnb--side .lnb__inner { justify-content: flex-start; } }

/* 위치 드롭다운 막대 (path) — 홈 › 1차 ▼ › 2차 ▼ */
.lnb--path { margin-top: 0; background: var(--c-primary-deep); color: #fff; }
.lnb--path .lnb__inner { justify-content: flex-start; align-items: stretch; height: 60px; }
.lnb__home { flex: none; display: grid; place-items: center; width: 60px; border-inline: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.lnb__home svg { width: 20px; height: 20px; }
.lnb__home:hover { background: rgba(255, 255, 255, .08); }
.lnb__drop { position: relative; flex: 0 1 240px; min-width: 0; border-right: 1px solid rgba(255, 255, 255, .14); }
.lnb__drop > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 100%; padding: 0 20px; list-style: none; cursor: pointer; font-weight: 600; white-space: nowrap; }
.lnb__drop > summary::-webkit-details-marker { display: none; }
.lnb__drop > summary > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.lnb__drop > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.lnb__drop[open] > summary { background: rgba(255, 255, 255, .08); }
.lnb__drop[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.lnb--path .lnb__drop-list { position: absolute; left: 0; right: 0; top: 100%; display: block; margin: 0; padding: 8px 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); background: #fff; box-shadow: var(--shadow-card); overflow: visible; max-width: none; }
.lnb--path .lnb__drop-list a { display: block; height: auto; padding: 11px 20px; border-radius: 0; color: #444; font-weight: 500; white-space: normal; }
.lnb--path .lnb__drop-list a:hover { color: var(--c-primary); background: var(--c-surface); }
.lnb--path .lnb__drop-list a[aria-current="page"] { color: var(--c-primary); background: none; font-weight: 700; }
@media (max-width: 639px) { .lnb--path .lnb__inner { width: 100%; height: 52px; } .lnb__home { width: 52px; border-left: 0; } .lnb__drop { flex: 1 1 0; } .lnb__drop > summary { padding: 0 14px; font-size: .9375rem; } }

/* 왼쪽 세로 메뉴 (side) — 넓은 화면에서만. 좁은 화면은 위의 밑줄 탭 */
.lnb__title { display: none; }
@media (min-width: 1024px) {
  .sub-body:has(> .lnb--side) { display: grid; grid-template-columns: 232px minmax(0, 1fr); column-gap: clamp(40px, 5vw, 88px); width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
  .sub-body:has(> .lnb--side) > .page { width: 100%; }
  .lnb--side { position: static; padding-top: clamp(56px, 7vw, 110px); background: none; border: 0; }
  .lnb--side .lnb__inner { position: sticky; top: calc(var(--header-h) + 32px); display: block; }
  .lnb__title { display: block; margin: 0; padding: 30px 26px; border-radius: var(--radius) var(--radius) 0 0; background: var(--c-primary-deep); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; line-height: 1.3; }
  .lnb__title span { display: block; margin-bottom: 8px; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgba(255, 255, 255, .7); }
  .lnb--side .lnb__list { display: block; padding: 0; border-top: 0; overflow: visible; }
  .lnb--side .lnb__list a { justify-content: space-between; height: auto; padding: 17px 10px 17px 26px; border-bottom: 1px solid var(--c-line); white-space: normal; }
  .lnb--side .lnb__list a::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); }
  .lnb--side .lnb__list a:hover::after { transform: scaleY(.5); }
  .lnb--side .lnb__list a[aria-current="page"] { color: var(--c-primary); background: var(--c-surface); }
  .lnb--side .lnb__list a[aria-current="page"]::after { transform: scaleY(1); }
  .lnb--side .lnb__list a::before { content: "›"; order: 2; color: var(--c-muted); }
}

/* ---------- 사람 카드 — 뒤집기형 (2026-10-29 대학 사이트 벤치마킹 반영, dicolab-design references/benchmark-univ.md) ----------
   앞면: 옅은 면 + 이름·직위 + 카드 바닥에 붙은 상반신 사진(배경을 지운 PNG·실루엣) + 둥근 ↗ 단추
   뒷면: 진한 면 + 메일·전화·호실·연구실 링크 + 작은 원형 사진
   마우스 올림·키보드 초점에 뒤집히고, 휴대폰은 ↗ 단추를 누르면 뒤집힌다(js/main.js data-pcard-flip).
   동작 줄이기면 뒤집지 않고 뒷면을 앞면 위에 겹쳐 보인다. 뒷면 정보도 HTML 에 그대로 있어 검색·화면 읽기에 읽힌다. */
.pcards { display: grid; gap: clamp(14px, 1.6vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
@media (min-width: 1024px) { .pcards--stagger { padding-bottom: 64px; } .pcards--stagger > .pcard:nth-child(3n+2) { transform: translateY(64px); } }
.pcard { position: relative; aspect-ratio: 3 / 4; perspective: 1400px; }
@media (max-width: 559px) { .pcard { aspect-ratio: 5 / 4; } .pcard__photo { left: 38%; right: 4%; height: 82%; } }
.pcard__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.4, .2, .2, 1); }
@media (hover: hover) { .pcard:hover .pcard__inner { transform: rotateY(180deg); } }
.pcard:focus-within .pcard__inner, .pcard.is-flipped .pcard__inner { transform: rotateY(180deg); }
.pcard__face { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.pcard__front { background: var(--c-gray); }
.pcard__head { position: relative; z-index: 1; padding: 22px 22px 0; }
.pcard__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1.3; color: var(--c-ink); }
.pcard__name small { margin-left: 6px; font-family: var(--font-body); font-size: .8125rem; font-weight: 500; color: var(--c-muted); }
.pcard__role { margin-top: 2px; font-size: .8125rem; color: var(--c-muted); }
.pcard__photo { position: absolute; left: 8%; right: 8%; bottom: 0; height: 70%; margin: 0; }
.pcard__photo img, .pcard__photo svg { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.pcard__badge { position: absolute; right: 0; top: 0; z-index: 2; padding: 6px 10px; background: var(--c-primary); color: #fff; font-size: .75rem; font-weight: 700; }
.pcard__flip { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; font-size: 1.1rem; cursor: pointer; }
.pcard__back { transform: rotateY(180deg); display: grid; align-content: start; gap: 6px; padding: 22px; background: var(--c-primary-deep); color: rgba(255, 255, 255, .86); }
.pcard__back .pcard__name { color: #fff; }
.pcard__back .pcard__role { color: rgba(255, 255, 255, .65); }
.pcard__info { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .875rem; }
.pcard__info li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 8px; }
.pcard__info b { font-weight: 600; color: rgba(255, 255, 255, .55); }
.pcard__info a { color: #fff; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.pcard__avatar { position: absolute; right: 18px; bottom: 18px; width: 72px; height: 72px; overflow: hidden; border-radius: 50%; background: #fff; }
.pcard__avatar img, .pcard__avatar svg { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pcard__back .pcard__flip { background: rgba(255, 255, 255, .18); }
@media (prefers-reduced-motion: reduce) {
  .pcard__inner { transition: none; transform: none !important; }
  .pcard__back { transform: none; opacity: 0; transition: opacity .2s; }
  .pcard:hover .pcard__back, .pcard:focus-within .pcard__back, .pcard.is-flipped .pcard__back { opacity: 1; }
  .pcards--stagger > .pcard { transform: none !important; }
}
/* 두 톤 영문 제목 — 앞 단어 옅게·얇게, 뒤 단어 진하게 (한 구역에 한 번) */
.sec-title--duo { font-family: "Montserrat", var(--font-display); letter-spacing: -0.02em; }
.sec-title--duo .t-light { font-weight: 300; color: var(--c-muted); }

/* =========================================================
   디코피부과 (demo_landing/derma) — 4개 언어 · 피부 층 막대 · 시술 정보 표
   페이지는 _build/build.py 가 원고(_build/content/*.json)로 만든다
   ========================================================= */

/* 언어별 글꼴·줄바꿈: 중국어·일본어는 Noto Sans SC/JP 를 앞에 두고, 한글식 어절 줄바꿈(keep-all)을 풀어 준다 */
html:lang(ja) { --font-body: "Noto Sans JP", "Pretendard Variable", Pretendard, system-ui, sans-serif; }
html:lang(zh-Hans) { --font-body: "Noto Sans SC", "Pretendard Variable", Pretendard, system-ui, sans-serif; }
html:lang(ja) body, html:lang(zh-Hans) body { word-break: normal; line-break: strict; }
html:lang(en) body { word-break: normal; }

/* 제목: 한 가족 글꼴(Pretendard)로 굵기 대비만 준다 — 큰 제목은 600, 문장형 제목은 300 + 핵심어 700 */
.sec-title, .page-head__title, .sub-visual__group { font-weight: 650; }
.statement__lead b, .intro__lead b { font-weight: 650; }

/* 지금 보는 1차 메뉴 */
body[data-group="skin"] .gnb__item[data-group="skin"] > .gnb__link,
body[data-group="lifting"] .gnb__item[data-group="lifting"] > .gnb__link,
body[data-group="petit"] .gnb__item[data-group="petit"] > .gnb__link,
body[data-group="body"] .gnb__item[data-group="body"] > .gnb__link,
body[data-group="community"] .gnb__item[data-group="community"] > .gnb__link { color: var(--c-primary); }
@media (max-width: 1399px) { .gnb__link { min-width: 0; padding: 0 clamp(10px, 1.3vw, 22px); font-size: 1.0625rem; } }
@media (min-width: 1024px) { .site-menu__list { grid-template-columns: repeat(6, 1fr); } }

/* 언어 선택: 헤더(지구본 + 현재 언어) · 전체 메뉴(한 줄) */
.lang .util-btn span:not(.sr-only) { font-size: .8125rem; }
.lang__list { list-style: none; margin: 0; padding: 0; }
.lang__menu { min-width: 150px; }
.lang__list span[aria-disabled], .lang-row span[aria-disabled] { display: block; padding: 10px 14px; color: #B5AEBB; cursor: default; }
.site-menu__langs { padding-top: 4px; }
.lang-row { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.lang-row a, .lang-row span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 100px; font-size: .875rem; font-weight: 600; color: #555; }
.lang-row a[aria-current="true"] { background: var(--c-primary-deep); border-color: var(--c-primary-deep); color: #fff; }
.lang-row span[aria-disabled] { padding: 0 14px; }

/* 메인 진료 분야 카드: 제목이 h3 */
.biz-card h3 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); font-weight: 650; margin: 6px 0 8px; }
.biz-card__num { color: var(--c-sun); letter-spacing: .2em; text-transform: uppercase; font-size: .8125rem; }

/* ---------- 피부 층 막대 (개념 그림) ---------- */
.depth { margin: 0; --h: 10px; padding-bottom: 30px; }
.depth__bar { position: relative; display: flex; height: var(--h); border-radius: 100px; }
.depth__layer { position: relative; flex: none; height: 100%; }
.depth__layer:first-child { border-radius: 100px 0 0 100px; }
.depth__layer:last-child { border-radius: 0 100px 100px 0; }
.depth__layer + .depth__layer { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .9); }
.depth__layer--0 { background: var(--layer-0); }
.depth__layer--1 { background: var(--layer-1); }
.depth__layer--2 { background: var(--layer-2); }
.depth__layer--3 { background: var(--layer-3); }
.depth__layer > span { position: absolute; left: 0; top: calc(100% + 8px); font-size: .8125rem; font-weight: 600; color: var(--c-muted); white-space: nowrap; }
.depth__range { position: absolute; top: calc(var(--h) / -2); bottom: calc(var(--h) / -2); border-radius: 100px; background: var(--c-primary); box-shadow: 0 0 0 3px #fff; }
.depth__range::before, .depth__range::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; }
.depth__range::before { left: 6px; }
.depth__range::after { right: 6px; }
.depth__cap { display: flex; justify-content: space-between; margin-top: 34px; font-size: .75rem; letter-spacing: .04em; color: var(--c-muted); }
.depth__cap span:last-child::after { content: " →"; }
.depth--large { --h: 16px; padding-bottom: 0; }
.depth--large .depth__layer > span { top: calc(100% + 14px); font-size: .9375rem; }
.depth--large .depth__cap { margin-top: 48px; }
.depth--mini { --h: 6px; padding-bottom: 0; }
.depth--mini .depth__layer > span { display: none; }
.depth--mini .depth__range { box-shadow: 0 0 0 2px #fff; }
.depth--mini .depth__range::before, .depth--mini .depth__range::after { display: none; }
.depth__note { margin-top: 18px; font-size: .875rem; color: var(--c-muted); max-width: 52em; }
.tx-depth .depth { padding: 36px clamp(20px, 3vw, 40px) 30px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }

/* ---------- 메인: 피부 고민으로 찾기 ---------- */
.finder__tabs { margin-bottom: clamp(24px, 3vw, 40px); }
.cc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1199px) { .cc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 479px) {
  .cc-grid { grid-template-columns: 1fr; gap: 0; }
  .cc { grid-template-columns: 104px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .cc__media { grid-row: 1 / 5; aspect-ratio: 1; align-self: start; }
  .cc__group { margin-top: 0; }
  .cc__title { font-size: 1.0625rem; }
  .cc__text { font-size: .875rem; }
}
.cc { display: grid; gap: 10px; align-content: start; padding-bottom: 6px; }
.cc__media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.cc__media img { transition: transform .9s var(--ease); }
.cc:hover .cc__media img { transform: scale(1.05); }
.cc__group { font-size: .8125rem; font-weight: 600; color: var(--c-primary); margin-top: 4px; }
.cc__title { font-size: 1.1875rem; font-weight: 700; transition: color .2s; }
.cc:hover .cc__title { color: var(--c-primary); }
.cc__text { font-size: .9375rem; line-height: 1.6; color: #5D5663; }
.cc .depth { margin-top: 6px; }
.finder__note { margin-top: 28px; font-size: .875rem; color: var(--c-muted); }
.finder__tabs .tab { min-height: 42px; }

/* 메인: 진료 원칙 */
.principles { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.principles__head { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 40px); }
.principles__media { aspect-ratio: 4 / 3; }
.principles__list { border-top: 2px solid var(--c-ink); }
.principles__list li { display: grid; gap: 8px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--c-line); }
.principles__list h3 { display: flex; align-items: center; gap: 12px; font-size: var(--fs-h3); }
.principles__list h3::before { content: ""; flex: none; width: 18px; height: 2px; background: var(--c-primary); }
.principles__list p { padding-left: 30px; }
.principles__list p { color: #5D5663; }
@media (max-width: 1023px) { .principles { grid-template-columns: 1fr; } .principles__head { position: static; } }

/* 메인: 둘러보기 사진 띠 */
.tour-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.tour-strip__item { margin: 0; display: grid; gap: 10px; }
.tour-strip__item .media { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.tour-strip__item:first-child .media { aspect-ratio: auto; height: 100%; min-height: 100%; }
.tour-strip__item:first-child { grid-template-rows: 1fr auto; }
.tour-strip figcaption { font-size: .9375rem; font-weight: 600; color: var(--c-ink); }
@media (max-width: 767px) { .tour-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tour-strip__item:first-child .media { aspect-ratio: 3 / 4; height: auto; } }

/* 메인: 오시는 길 + 진료 시간 */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.visit__info { display: grid; gap: 22px; }
.visit .map-box { aspect-ratio: 5 / 4; }
.visit__rows { display: grid; gap: 8px; margin: 0; }
.visit__rows div { display: flex; gap: 16px; }
.visit__rows dt { min-width: 5em; color: var(--c-muted); }
.visit__rows dd { margin: 0; }
.visit__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__btns svg, .guide-call svg { width: 18px; height: 18px; }
@media (max-width: 1023px) { .visit { grid-template-columns: 1fr; } .visit .map-box { aspect-ratio: 16 / 10; } }
@media (max-width: 639px) { .visit .map-box { aspect-ratio: 4 / 3; } }

/* 진료 시간표 */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; border-top: 2px solid var(--c-ink); }
.hours th, .hours td { padding: 16px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.hours thead th { font-size: .875rem; color: var(--c-muted); font-weight: 600; }
.hours tbody th { width: 9em; color: var(--c-ink); font-weight: 700; }
.hours td:nth-child(2) { font-weight: 600; color: var(--c-ink); }
.hours td:nth-child(3) { color: #5D5663; font-size: .9375rem; }
.hours tr.is-off td, .hours tr.is-off th { color: var(--c-notice); }
.hours--compact th, .hours--compact td { padding: 12px 6px; }
.hours__note { margin-top: 10px; font-size: .8125rem; color: var(--c-muted); }

/* 광고 심의 안내 */
.ad-note { margin-top: 16px; font-size: .8125rem; color: var(--c-muted); }
.ad-box { display: flex; gap: 14px; align-items: flex-start; margin-bottom: clamp(28px, 4vw, 44px); padding: 18px 22px; border: 1px solid var(--c-line); border-left: 3px solid var(--c-primary); border-radius: var(--radius-sm); background: var(--c-surface); font-size: .9375rem; color: #4A4450; }
.ad-box svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--c-primary); }
.post-body .ad-box { margin: 1em 0 0; }

/* 이벤트 카드 */
.ev-card .news-card__thumb { position: relative; }
.ev-card__status { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 6px 12px; border-radius: 100px; font-size: .8125rem; font-weight: 700; background: var(--c-primary-deep); color: #fff; }
.ev-card__status--end { background: #fff; color: var(--c-muted); }
.ev-card__period { font-size: .875rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.ev-card[data-cate="end"] .news-card__thumb img { filter: grayscale(.6); opacity: .85; }
.ev-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid var(--c-line); }
.ev-info div { padding: 18px 16px; border-left: 1px solid var(--c-line); }
.ev-info div:first-child { border-left: 0; }
.ev-info dt { font-size: .8125rem; color: var(--c-muted); margin-bottom: 4px; }
.ev-info dd { margin: 0; font-weight: 600; color: var(--c-ink); }
@media (max-width: 767px) { .ev-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ev-info div:nth-child(3) { border-left: 0; } .ev-info div:nth-child(n+3) { border-top: 1px solid var(--c-line); } }
.post-list { padding-left: 1.2em; display: grid; gap: .4em; }

/* 목록 표시 */
.dot-list, .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dot-list li, .check-list li { position: relative; padding-left: 20px; }
.dot-list li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-primary); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary); transform: rotate(-45deg); }
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list li { padding: 5px 12px; border-radius: 100px; background: var(--c-primary-soft); color: var(--c-primary-deep); font-size: .875rem; font-weight: 600; }

/* ---------- 시술 상세 ---------- */
.tx-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 1023px) { .tx-grid { grid-template-columns: 1fr; } }
.tx-grid__text > h2 { font-size: var(--fs-h2); font-weight: 300; }
.tx-grid__text > h2 b { font-weight: 650; color: var(--c-primary); }
.tx-grid .prose { margin-top: 22px; }
.tx-sub { margin: 32px 0 14px; font-size: 1.0625rem; }
.tx-info { position: sticky; top: calc(var(--header-h) + 32px); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.tx-info__title { font-size: .875rem; font-weight: 700; letter-spacing: .02em; color: var(--c-primary); margin-bottom: 8px; }
.tx-info__list { margin: 0; }
.tx-info__list div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.tx-info__list div:last-child { border-bottom: 0; }
.tx-info__list dt { font-size: .9375rem; color: var(--c-muted); }
.tx-info__list dd { margin: 0; font-weight: 600; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.tx-info__note { margin-top: 10px; padding-top: 14px; border-top: 1px dashed var(--c-line-strong); font-size: .8125rem; color: var(--c-muted); }
@media (max-width: 1023px) { .tx-info { position: static; } }
@media (max-width: 479px) { .tx-info__list div { grid-template-columns: 1fr; gap: 2px; } }

.tx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tx-steps li { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 8px 4px 0; border-top: 2px solid var(--c-primary); }
.tx-steps__num { font-size: .8125rem; font-weight: 700; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.tx-steps__num::before { content: "0"; }
.tx-steps b { color: var(--c-ink); font-size: 1.0625rem; }
.tx-steps span:last-child { font-size: .9375rem; color: #5D5663; line-height: 1.6; }
@media (max-width: 1023px) { .tx-steps { grid-template-columns: 1fr; gap: 0; } .tx-steps li { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 8px; padding: 16px 0; border-top: 1px solid var(--c-line); } .tx-steps li:first-child { border-top: 2px solid var(--c-ink); } .tx-steps li > b, .tx-steps li > span:last-child { grid-column: 2; } .tx-steps__num { grid-row: 1 / 3; padding-top: 3px; } }

.tx-care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 767px) { .tx-care { grid-template-columns: 1fr; } }
.tx-care__box { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--c-surface); }
.tx-care__box h2 { font-size: var(--fs-h3); margin-bottom: 18px; }
.tx-care__box--warn { background: #fff; border: 1px solid var(--c-line); border-top: 3px solid var(--c-notice); }
.tx-care__box--warn .dot-list li::before { background: var(--c-notice); }
.tx-care__note { margin-top: 18px; font-size: .875rem; color: var(--c-muted); }
.cta-strip__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.related a span { position: relative; }

/* ---------- 리프팅 비교 ---------- */
.cmp-legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-bottom: 20px; font-size: .9375rem; color: #5D5663; }
.cmp-legend p { max-width: 46em; }
.cmp-legend ul { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: .875rem; font-weight: 600; }
.cmp-legend li { display: inline-flex; align-items: center; gap: 6px; }
.depth__swatch { width: 18px; height: 8px; border-radius: 4px; }
.depth__swatch--0 { background: var(--layer-0); } .depth__swatch--1 { background: var(--layer-1); } .depth__swatch--2 { background: var(--layer-2); } .depth__swatch--3 { background: var(--layer-3); }
.cmp { width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-ink); }
.cmp thead th { padding: 14px 12px; font-size: .875rem; font-weight: 600; color: var(--c-muted); text-align: left; border-bottom: 1px solid var(--c-line); }
.cmp td, .cmp tbody th { padding: 22px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: middle; font-size: .9375rem; }
.cmp tbody th { width: 22%; }
.cmp tbody th a { display: block; font-size: 1.0625rem; font-weight: 700; color: var(--c-ink); }
.cmp tbody th a:hover { color: var(--c-primary); }
.cmp tbody th span { display: block; margin-top: 4px; font-size: .8125rem; font-weight: 400; color: var(--c-muted); line-height: 1.5; }
.cmp__depth { width: 26%; }
.cmp__depth .depth { padding: 6px 0; }
.cmp__layers { display: block; margin-top: 8px; font-size: .8125rem; color: var(--c-muted); }
.cmp__go { width: 1%; white-space: nowrap; }
.cmp__go .more-link { font-size: .875rem; }
@media (max-width: 1023px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp tbody, .cmp tr, .cmp td, .cmp tbody th { display: block; width: auto; }
  .cmp tr { padding: 20px 0; border-bottom: 1px solid var(--c-line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 20px; }
  .cmp tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .cmp td { padding: 0; border: 0; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; color: var(--c-muted); margin-bottom: 2px; }
  .cmp td.cmp__depth { grid-column: 1 / -1; }
  .cmp td.cmp__go { grid-column: 1 / -1; }
}
.pick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pick li { padding: 28px; border-radius: var(--radius); background: var(--c-surface); }
.pick h3 { font-size: 1.125rem; margin-bottom: 10px; }
.pick p { font-size: .9375rem; color: #5D5663; }
@media (max-width: 1023px) { .pick { grid-template-columns: 1fr; } }

/* ---------- 부위별 관리 상담 ---------- */
.areas { list-style: none; margin: clamp(32px, 4vw, 56px) 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 1023px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .areas { grid-template-columns: 1fr; } }
.area { display: grid; gap: 10px; align-content: start; padding: 26px; border: 1px solid var(--c-line); border-radius: var(--radius); }
.area h2 { font-size: var(--fs-h3); }
.area p { font-size: .9375rem; color: #5D5663; }
.area__links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area__links a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 100px; background: var(--c-primary-soft); color: var(--c-primary-deep); font-size: .875rem; font-weight: 600; }
.area__links a:hover { background: var(--c-primary); color: #fff; }
.bring { margin-top: clamp(32px, 4vw, 56px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--c-surface); }
.bring h2, .bring h3 { margin-bottom: 16px; }
.block-title { font-size: var(--fs-h3); margin-bottom: 18px; }

/* ---------- 병원 소개 ---------- */
.values-title { margin-bottom: 24px; }
.value-card { border-top: 3px solid var(--c-primary); border-radius: 0 0 var(--radius) var(--radius); }

/* 휴대폰 히어로: 아래 고정 연락 막대(56px)만큼 낮춰 슬라이드 버튼이 첫 화면에 보이게 */
@media (max-width: 767px) { .hero__stage { height: clamp(520px, calc(100svh - var(--header-h) - 150px), 680px); } }

/* 의료진: 사진 없이 이름·자격 자리 + 진료 분야 + 약력 */
.doc-note { margin: -20px auto clamp(28px, 4vw, 48px); max-width: 40em; text-align: center; font-size: .9375rem; color: var(--c-muted); }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1023px) { .docs { grid-template-columns: 1fr; } }
.doc { display: grid; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.doc__head { display: grid; gap: 6px; padding: 28px 28px 24px; background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.doc__role { font-size: .875rem; font-weight: 700; color: var(--c-primary); }
.doc__name { font-size: 1.375rem; }
.doc__spec { font-size: .9375rem; color: #5D5663; }
.doc__body { display: grid; gap: 12px; padding: 24px 28px 28px; }
.doc__body h3 { font-size: .875rem; color: var(--c-muted); font-weight: 600; margin-top: 6px; }
.table-scroll { overflow-x: auto; }
.sched { width: 100%; min-width: 520px; border-collapse: collapse; border-top: 2px solid var(--c-ink); text-align: center; }
.sched th, .sched td { padding: 16px 8px; border-bottom: 1px solid var(--c-line); }
.sched thead th { font-size: .875rem; color: var(--c-muted); font-weight: 600; }
.sched tbody th { text-align: left; color: var(--c-ink); }
.sched td.is-on { color: var(--c-primary); font-weight: 700; }
.sched td.is-off { color: #B5AEBB; }

/* 둘러보기 */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.gallery__item { margin: 0; display: grid; gap: 12px; align-content: start; }
.gallery__item .media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide .media { aspect-ratio: 16 / 9; }
.gallery__item figcaption { display: grid; gap: 2px; font-size: .9375rem; color: #5D5663; }
.gallery__item figcaption b { color: var(--c-ink); font-size: 1.0625rem; }
.gallery__note { margin-top: 24px; font-size: .875rem; color: var(--c-muted); }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr; } .gallery__item--wide { grid-column: auto; } .gallery__item--wide .media { aspect-ratio: 4 / 3; } }

/* 진료 안내 */
.guide-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); }
@media (max-width: 1023px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-call { display: grid; gap: 14px; margin-top: 28px; padding: 24px; border-radius: var(--radius); background: var(--c-primary-deep); color: rgba(255, 255, 255, .86); }
.guide-call .btn { justify-self: start; background: #fff; color: var(--c-primary-deep); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.steps__item { display: grid; gap: 8px; align-content: start; padding: 24px 20px; border-radius: var(--radius); background: var(--c-surface); }
.steps__num { font-size: .8125rem; font-weight: 700; color: var(--c-primary); }
.steps__item h3 { font-size: 1.0625rem; }
.steps__item p { font-size: .9375rem; color: #5D5663; line-height: 1.6; }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 폼 ---------- */
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #D9D3DE; border-radius: 100px; background: #fff; font-size: .9375rem; font-weight: 500; color: #4A4450; font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--c-primary); }
.chip input:checked + span { background: var(--c-primary-deep); border-color: var(--c-primary-deep); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.form input[type="date"] { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #D9DEE4; border-radius: 12px; background: #fff; font-size: 1rem; }
.form__hint { font-size: .8125rem; color: var(--c-muted); }
.form__terms { padding: 14px 18px; border-radius: 12px; background: var(--c-surface); font-size: .9375rem; }
.form__terms summary { cursor: pointer; font-weight: 600; color: var(--c-ink); }
.form__terms ul { margin-top: 12px; font-size: .875rem; }

/* ---------- 비급여 진료비 ---------- */
.fee + .fee { margin-top: clamp(36px, 5vw, 56px); }
.fee__table { width: 100%; min-width: 560px; border-collapse: collapse; border-top: 2px solid var(--c-ink); }
.fee__table th, .fee__table td { padding: 16px 12px; border-bottom: 1px solid var(--c-line); text-align: left; font-size: .9375rem; }
.fee__table thead th { font-size: .8125rem; color: var(--c-muted); font-weight: 600; }
.fee__table tbody th { color: var(--c-ink); width: 30%; }
.fee__price { width: 18%; }
.fee__updated { margin: -8px 0 28px; text-align: right; font-size: .875rem; color: var(--c-muted); }

/* 푸터 */
.site-footer__hours { font-size: .9375rem; color: #5D5663; }
.site-footer__info { margin: 24px 0 8px; }

/* 모바일 하단 고정 연락 막대: 전화 · 예약 · 오시는 길 */
.mbar { display: none; }
@media (max-width: 1023px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--c-primary-deep); box-shadow: 0 -6px 20px rgba(30, 22, 36, .18); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; color: #fff; font-size: .9375rem; font-weight: 600; }
  .mbar a + a { border-left: 1px solid rgba(255, 255, 255, .14); }
  .mbar a:nth-child(2) { background: var(--c-primary); }
  .mbar svg { width: 18px; height: 18px; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  body.nav-open .mbar { display: none; }
}
