/* =========================================================
   디코 더 레지던스 — 아파트 분양 홍보 홈페이지 디자인 샘플 (가상 단지)
   계획서: ../_plan.md · 생성기: ../_build/build.py
   원칙: 분양 브로슈어의 결 — 딥 틸블랙 판 + 샌드 가는 선(액자·이중선), 모서리 2px, 그림자는 아래 고정 막대 하나.
   ========================================================= */
:root {
  --c-paper: #FFFFFF;
  --c-ink: #0E2A2B;            /* 딥 틸블랙 — 판·헤더·제목 */
  --c-ink-2: #16393A;
  --c-ink-3: #24504F;
  --c-ink-deep: #081C1D;       /* 푸터 */
  --c-sand: #E7DCC8;           /* 샌드 — 버튼·가는 선·강조 */
  --c-sand-deep: #B39A6E;      /* 진한 샌드 — 흰 바탕 위 선 */
  --c-sand-soft: #F5F0E7;      /* 옅은 샌드 — 보조 면 */
  --c-line: #E3DDD1;
  --c-text: #26302F;
  --c-muted: #56625F;          /* 흰 바탕 6.3:1 */
  --c-primary: var(--c-ink);

  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-title: "Diphylleia", "Pretendard Variable", Pretendard, serif;
  --font-en: "Marcellus", "Pretendard Variable", Pretendard, serif;

  --fs-hero: clamp(2.2rem, 1.3rem + 2.6vw, 3.8rem);
  --fs-h1: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem);
  --fs-body: 1.0625rem;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --dock-space: 96px;
  --r: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (max-width: 1023px) { :root { --header-h: 64px; --dock-space: 84px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 40px); }
body {
  margin: 0; padding-bottom: var(--dock-space); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.75; letter-spacing: -0.01em;
  color: var(--c-text); background: var(--c-paper); word-break: keep-all; overflow-wrap: anywhere; overflow-x: clip;
}
h1, h2, h3 { margin: 0; color: var(--c-ink); line-height: 1.32; letter-spacing: -0.02em; text-wrap: balance; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { 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: 2px solid var(--c-sand-deep); outline-offset: 3px; }
table { border-collapse: collapse; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 940px; }
.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: 300; padding: 10px 16px; background: var(--c-ink); color: #fff; }
.skip-link:focus { top: 12px; }
.num { font-family: var(--font-en); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.ph { display: inline-block; padding: 0 7px; border: 1px dashed currentColor; border-radius: var(--r); font-size: .9em; line-height: 1.6; opacity: .78; }
.i { width: 18px; height: 18px; flex: none; }
.note { font-size: .875rem; color: var(--c-muted); line-height: 1.65; }
.note a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-sand-deep); }
.h-sub { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); margin-bottom: 16px; }
.lead-text { font-family: var(--font-title); font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); line-height: 1.55; color: var(--c-ink); letter-spacing: -0.02em; }
.lead-text b { font-weight: 400; background: linear-gradient(transparent 62%, var(--c-sand) 62%); }
.lead-text--center { text-align: center; max-width: 30em; margin: 0 auto clamp(40px, 5vw, 64px); }

.media { position: relative; display: block; overflow: hidden; background: var(--c-sand-soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 버튼: 각진 면 + 샌드 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r); font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--sand { background: var(--c-sand); border-color: var(--c-sand); color: var(--c-ink); }
.btn--sand:hover { background: #fff; border-color: #fff; }
.btn--ink { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-sand); }
.btn--ink:hover { background: var(--c-ink-3); border-color: var(--c-ink-3); }
.btn--line { border-color: var(--c-ink); background: transparent; color: var(--c-ink); }
.btn--line:hover { background: var(--c-ink); color: var(--c-sand); }
.btn--line-light { border-color: rgba(231, 220, 200, .6); color: #fff; }
.btn--line-light:hover { border-color: var(--c-sand); background: var(--c-sand); color: var(--c-ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.link-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--c-sand-deep); font-weight: 700; color: var(--c-ink); }
.link-line .i { transition: transform .25s var(--ease); }
.link-line:hover .i { transform: translateX(4px); }
.link-line--light { color: var(--c-sand); border-color: rgba(231, 220, 200, .5); }

/* 소제목: 영문(Marcellus) 위 + 한글, 왼쪽 가는 선 */
.eyebrow { display: grid; gap: 2px; margin-bottom: 16px; padding-left: 18px; border-left: 1px solid var(--c-sand-deep); font-size: .9375rem; font-weight: 700; color: var(--c-ink); }
.eyebrow__en { font-family: var(--font-en); font-weight: 400; font-size: .875rem; letter-spacing: .06em; color: var(--c-sand-deep); }
.section--ink .eyebrow { color: #fff; border-color: rgba(231, 220, 200, .5); }
.section--ink .eyebrow__en { color: var(--c-sand); }
.cate { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--c-sand-deep); border-radius: var(--r); color: var(--c-ink); font-size: .8125rem; font-weight: 700; white-space: nowrap; }

/* ---------- 안내 띠 ---------- */
.sample-banner { background: #061314; 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 9px; background: var(--c-sand); color: var(--c-ink); font-weight: 800; font-size: .75rem; border-radius: var(--r); }
.sample-banner__link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 헤더: 틸블랙 판 + 샌드 로고 ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-ink); color: #fff; border-bottom: 1px solid rgba(231, 220, 200, .18); }
.site-header__inner { --wrap: 1600px; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--c-sand); }
.logo__mark { width: 38px; height: 38px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__ko { font-family: var(--font-title); font-size: 1.3rem; color: #fff; letter-spacing: -0.01em; }
.logo__en { font-family: var(--font-en); font-size: .6875rem; letter-spacing: .16em; color: var(--c-sand); }
.gnb { align-self: stretch; flex: 1; max-width: 920px; margin: 0 clamp(16px, 3vw, 56px); }
.gnb__list { display: flex; justify-content: space-between; height: 100%; }
.gnb__item { position: relative; display: flex; flex-direction: column; flex: 1 1 0; }
.gnb__link { position: relative; display: flex; align-items: center; justify-content: center; height: var(--header-h); padding: 0 8px; font-size: 1.0625rem; font-weight: 600; white-space: nowrap; color: rgba(255, 255, 255, .88); }
.gnb__link::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--c-sand); transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.gnb__item:hover > .gnb__link, .gnb__item:focus-within > .gnb__link { color: var(--c-sand); }
.gnb__item:hover > .gnb__link::after, .gnb__item:focus-within > .gnb__link::after { transform: rotate(45deg) scale(1); }
body[data-group="overview"] .gnb__item[data-group="overview"] > .gnb__link::after,
body[data-group="complex"] .gnb__item[data-group="complex"] > .gnb__link::after,
body[data-group="units"] .gnb__item[data-group="units"] > .gnb__link::after,
body[data-group="sale"] .gnb__item[data-group="sale"] > .gnb__link::after,
body[data-group="pr"] .gnb__item[data-group="pr"] > .gnb__link::after,
body[data-group="support"] .gnb__item[data-group="support"] > .gnb__link::after { transform: rotate(45deg) scale(1); }
.gnb__sub { position: absolute; top: calc(var(--header-h) + 1px); left: 0; right: 0; z-index: 2; padding: 22px 0 28px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.gnb__sub a { display: block; padding: 7px 4px; font-size: .9375rem; color: rgba(255, 255, 255, .72); white-space: nowrap; }
.gnb__sub a:hover, .gnb__sub a:focus-visible { color: var(--c-sand); }
.gnb__sub a[aria-current="page"] { color: var(--c-sand); font-weight: 700; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--mega-h, 200px); z-index: 1; background: var(--c-ink-2); border-bottom: 1px solid rgba(231, 220, 200, .25); 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; transition-delay: 0s; }
.site-header__util { display: flex; align-items: center; gap: 8px; }
.util-btn, .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; border-radius: var(--r); background: transparent; color: inherit; }
.util-btn .i { width: 22px; height: 22px; }
.util-btn:hover { border-color: rgba(231, 220, 200, .5); }
.menu-btn { border-color: rgba(231, 220, 200, .5); }
.menu-btn:hover { background: var(--c-sand); color: var(--c-ink); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; 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; width: 12px; }
@media (max-width: 1279px) { .gnb { display: none; } }
@media (max-width: 639px) { .site-header__cta { display: none; } .logo__mark { width: 32px; height: 32px; } .logo__ko { font-size: 1.125rem; } }

/* 전체 메뉴 */
.site-menu { position: fixed; inset: 0; top: var(--sample-banner-h, 0px); z-index: 150; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; padding: 0 var(--gutter) 40px; background: var(--c-ink); color: #fff; }
.site-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-bottom: 1px solid rgba(231, 220, 200, .25); }
.site-menu__close { width: 44px; height: 44px; border: 1px solid rgba(231, 220, 200, .5); border-radius: var(--r); background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; }
.site-menu__list { display: grid; gap: 4px; }
@media (min-width: 768px) { .site-menu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1200px) { .site-menu__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; padding-top: 16px; } }
.site-menu__group { border-bottom: 1px solid rgba(231, 220, 200, .14); padding-bottom: 12px; }
.site-menu__link { display: grid; padding: 12px 0 6px; font-family: var(--font-title); font-size: 1.4rem; line-height: 1.3; }
.site-menu__link small { font-family: var(--font-en); font-size: .75rem; letter-spacing: .08em; color: var(--c-sand); }
.site-menu__group ul { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.site-menu__group ul a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .72); }
.site-menu a[aria-current="page"] { color: var(--c-sand); font-weight: 700; }
.site-menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.site-menu__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--c-sand); font-weight: 600; }
body.nav-open { overflow: hidden; }

/* 검색 */
.site-search { position: fixed; inset: 0; top: var(--sample-banner-h, 0px); z-index: 160; background: rgba(8, 28, 29, .6); }
.site-search__inner { padding: clamp(20px, 4vw, 44px) clamp(20px, 3vw, 40px) 32px; background: #fff; color: var(--c-ink); }
.site-search__form { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--c-ink); padding-bottom: 10px; }
.site-search__form > .i { width: 26px; height: 26px; }
.site-search__form input { flex: 1; min-width: 0; height: 56px; border: 0; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 600; }
.site-search__form input:focus { outline: none; }
.site-search__close { flex: none; width: 48px; height: 48px; border: 1px solid var(--c-ink); border-radius: var(--r); background: #fff; 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 14px; border: 1px solid var(--c-sand-deep); border-radius: 999px; font-size: .9375rem; font-weight: 600; }
.site-search__quick a:hover { background: var(--c-sand); }
.site-search__results { display: grid; 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-sand-soft); }
.site-search__results small { color: var(--c-muted); font-size: .8125rem; }
.site-search__results mark { background: var(--c-sand); color: var(--c-ink); }
.site-search__empty { padding: 20px 8px; color: var(--c-muted); }

/* =========================================================
   히어로 — 꽉 찬 조감 사진 + 수평 패럴랙스 레이어(뒤·가운데·앞) + 청약 카운트다운 띠 (js/hero.js)
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--c-ink); color: #fff;
  min-height: max(640px, calc(100svh - var(--header-h) - var(--sample-banner-h, 0px) - var(--dock-space))); display: flex; flex-direction: column; }
.hero__layer { position: absolute; inset: 0; pointer-events: none; }
.hero__layer--back { inset: -3% -10%; z-index: -3; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__layer--back::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 42, 43, .9) 0%, rgba(14, 42, 43, .62) 38%, rgba(14, 42, 43, .22) 70%, rgba(14, 42, 43, .35) 100%),
              linear-gradient(0deg, rgba(8, 28, 29, .85) 0%, rgba(8, 28, 29, 0) 34%); }
.hero__layer--mid { z-index: -2; }
.hero__word { position: absolute; left: 3vw; bottom: 22%; margin: 0; font-family: var(--font-en); font-size: clamp(5rem, 15vw, 15.5rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(231, 220, 200, .55); letter-spacing: .01em; }
.hero__layer--front { z-index: -1; }
.hero__panel { position: absolute; padding: 10px; border: 1px solid rgba(231, 220, 200, .55); background: rgba(14, 42, 43, .35); }
.hero__panel img { width: 100%; height: 100%; object-fit: cover; }
.hero__panel--a { right: max(var(--gutter), 5vw); top: 9%; width: clamp(210px, 21vw, 330px); aspect-ratio: 3 / 4; }
.hero__panel--b { right: calc(max(var(--gutter), 5vw) + clamp(210px, 21vw, 330px) - 40px); top: 46%; width: clamp(200px, 18vw, 290px); aspect-ratio: 4 / 3; }
.hero.is-ready .hero__panel { animation: panel-in 1.4s var(--ease) both; }
.hero.is-ready .hero__panel--b { animation-delay: .18s; }
.hero.is-ready .hero__word { animation: word-in 1.8s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }
@keyframes word-in { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
.hero__inner { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: clamp(32px, 5vh, 72px) 22px; }
.hero__text { max-width: 36rem; }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 22px; font-size: .9375rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.hero__eyebrow .en { font-family: var(--font-en); font-weight: 400; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-sand); }
.hero__title { font-family: var(--font-title); font-weight: 400; font-size: var(--fs-hero); line-height: 1.28; letter-spacing: -0.02em; color: #fff; max-width: 11.5em; }
.hero__title .ln { display: inline-block; }
.hero__desc { max-width: 31em; margin-top: 22px; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.7; color: rgba(255, 255, 255, .82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__cap { font-size: .8125rem; color: rgba(255, 255, 255, .62); }

/* 카운트다운 띠 */
.countdown { position: relative; z-index: 2; background: rgba(8, 28, 29, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(231, 220, 200, .28); color: #fff; }
.countdown__inner { display: grid; grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "lead nums steps" "note note note"; align-items: center; gap: 12px clamp(20px, 3vw, 48px); padding-block: 16px 12px; }
.countdown__lead { grid-area: lead; }
.countdown__label { font-weight: 700; color: var(--c-sand); }
.countdown__date { font-size: .875rem; color: rgba(255, 255, 255, .7); }
.countdown__nums { grid-area: nums; display: flex; gap: 6px; }
.countdown__nums span { display: grid; justify-items: center; min-width: 68px; padding: 6px 8px 4px; border: 1px solid rgba(231, 220, 200, .35); border-radius: var(--r); }
.countdown__nums b { font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1.05; color: #fff; }
.countdown__nums small { font-size: .75rem; color: rgba(255, 255, 255, .7); }
.countdown__steps { grid-area: steps; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-left: 1px solid rgba(231, 220, 200, .25); }
.countdown__steps li { display: grid; gap: 2px; padding: 4px 12px; border-right: 1px solid rgba(231, 220, 200, .12); font-size: .8125rem; color: rgba(255, 255, 255, .62); line-height: 1.4; }
.countdown__steps time { font-size: 1rem; color: rgba(255, 255, 255, .85); }
.countdown__steps li.is-past { opacity: .45; }
.countdown__steps li[aria-current="step"] { color: var(--c-sand); }
.countdown__steps li[aria-current="step"] time { color: var(--c-sand); }
.countdown__note { grid-area: note; font-size: .8125rem; color: rgba(255, 255, 255, .62); }
.countdown__note a { color: var(--c-sand); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .countdown__inner { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "lead nums" "steps steps" "note note"; } .countdown__nums { justify-content: flex-end; } }
@media (max-width: 1023px) { .hero__panel--b { display: none; } .hero__panel--a { width: 200px; top: 6%; opacity: .9; } }
@media (max-width: 767px) {
  .hero { min-height: 0; }
  .hero__layer--front { display: none; }
  .hero__word { bottom: auto; top: 18px; font-size: 5.2rem; }
  .hero__inner { padding-block: 120px 28px; }
  .hero__actions .btn { flex: 1 1 auto; padding: 0 16px; }
  .countdown__steps { grid-template-columns: repeat(5, minmax(84px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .countdown__steps::-webkit-scrollbar { display: none; }
  .countdown__nums span { min-width: 56px; }
}
@media (max-width: 420px) { .countdown__inner { grid-template-columns: 1fr; grid-template-areas: "lead" "nums" "steps" "note"; } .countdown__nums { justify-content: flex-start; } }

/* ---------- 섹션 공통 ---------- */
.section { padding-block: clamp(76px, 9vw, 136px); }
.section--sand { background: var(--c-sand-soft); }
.section--ink { background: var(--c-ink); color: rgba(255, 255, 255, .78); }
.section--ink h2, .section--ink h3 { color: #fff; }
.sec-head { margin-bottom: clamp(30px, 3.5vw, 52px); }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 16px clamp(32px, 5vw, 80px); }
.sec-title { font-family: var(--font-title); font-weight: 400; font-size: var(--fs-h2); letter-spacing: -0.02em; }
.sec-desc { color: var(--c-muted); }
.section--ink .sec-desc { color: rgba(255, 255, 255, .7); }
@media (max-width: 899px) { .sec-head--split { grid-template-columns: 1fr; } }

/* 메인 소개 */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro__title { font-family: var(--font-title); font-weight: 400; font-size: var(--fs-h2); margin-bottom: 18px; }
.intro__p { color: var(--c-muted); max-width: 34em; margin-bottom: 28px; }
.intro__media { aspect-ratio: 4 / 5; outline: 1px solid var(--c-sand-deep); outline-offset: 12px; }
@media (max-width: 899px) { .intro__grid { grid-template-columns: 1fr; } .intro__media { aspect-ratio: 4 / 3; margin: 12px; } }

/* 개요 표 (dl) */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--c-ink); }
.spec > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--c-line); }
.spec dt { font-size: .875rem; font-weight: 700; color: var(--c-muted); }
.spec dd { color: var(--c-ink); font-weight: 500; }
.spec--compact > div { padding-block: 12px; }
@media (max-width: 639px) { .spec { grid-template-columns: 1fr; } .spec > div { grid-template-columns: 6.5em minmax(0, 1fr); } }

/* =========================================================
   단지 배치도 (대표 장치 1)
   ========================================================= */
.siteplan__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 26px; }
.sp-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-filter { min-height: 40px; padding: 0 16px; border: 1px solid var(--c-sand-deep); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 600; color: var(--c-ink); transition: background-color .2s, color .2s; }
.sp-filter:hover { background: var(--c-sand); }
.sp-filter[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-sand); }
.siteplan__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; border: 1px solid var(--c-ink); background: #fff; }
.siteplan__map { position: relative; padding: clamp(10px, 1.5vw, 20px); }
.siteplan__cap { margin-top: 8px; font-size: .8125rem; color: var(--c-muted); }
.siteplan__svg { width: 100%; height: auto; font-family: var(--font-body); }
.sp-land { fill: #EFE8DA; }
.sp-road { fill: #D9CFBC; }
.sp-road-line { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 18 14; }
.sp-road-t { fill: #6E6656; font-size: 15px; font-weight: 600; }
.sp-site { fill: #FAF7F1; stroke: var(--c-ink); stroke-width: 1.5; stroke-dasharray: 8 6; }
.sp-green { fill: #DDE6D5; }
.sp-park { fill: #CCDBC3; }
.sp-park-in { fill: #BED0B3; }
.sp-walk { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; }
.sp-walk--thin { stroke-width: 6; }
.sp-fac rect { fill: var(--c-ink-3); }
.sp-fac text { fill: var(--c-sand); font-size: 18px; font-weight: 700; }
.sp-play circle { fill: #EADBB9; stroke: var(--c-sand-deep); stroke-width: 2; }
.sp-play text, .sp-gate text { fill: var(--c-ink); font-size: 16px; font-weight: 700; }
.sp-gate path { fill: none; stroke: var(--c-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sp-park-t text { fill: #36533F; font-size: 20px; font-weight: 700; }
.sp-park-t .sp-small, .sp-small { font-size: 14px; font-weight: 500; fill: #4D5F52; }
.sp-ramp { fill: #CFC4AE; }
.sp-north circle { fill: #fff; stroke: var(--c-ink); stroke-width: 1.5; }
.sp-north path { fill: var(--c-ink); }
.sp-north text { fill: var(--c-ink); font-family: var(--font-en); font-size: 16px; }
.sp-dong { cursor: pointer; outline: none; }
.sp-dong rect { fill: #fff; stroke: var(--c-ink); stroke-width: 2.5; transition: fill .2s, opacity .3s; }
.sp-dong text { fill: var(--c-ink); font-family: var(--font-en); font-size: 24px; pointer-events: none; transition: fill .2s; }
.sp-dong:hover rect, .sp-dong:focus-visible rect { fill: var(--c-sand); }
.sp-dong:focus-visible rect { stroke: var(--c-sand-deep); stroke-width: 5; }
.sp-dong.is-on rect { fill: var(--c-ink); }
.sp-dong.is-on text { fill: var(--c-sand); }
.sp-dong.is-dim { opacity: .28; }
.sp-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; background: var(--c-ink); color: rgba(255, 255, 255, .8); }
.sp-card.is-swap .sp-card__no, .sp-card.is-swap .sp-card__dl { animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: .2; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.sp-card__en { font-family: var(--font-en); letter-spacing: .1em; color: var(--c-sand); font-size: .875rem; }
.sp-card__no { display: flex; align-items: baseline; gap: 6px; font-size: 1.25rem; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(231, 220, 200, .25); }
.sp-card__no b { font-family: var(--font-en); font-weight: 400; font-size: 4.2rem; line-height: 1; color: var(--c-sand); }
.sp-card__dl { display: grid; gap: 10px; }
.sp-card__dl div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 10px; font-size: .9375rem; }
.sp-card__dl dt { color: rgba(255, 255, 255, .6); }
.sp-card__dl dd { color: #fff; font-weight: 600; }
.sp-card__go { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(231, 220, 200, .55); border-radius: var(--r); color: var(--c-sand); font-weight: 700; transition: background-color .2s, color .2s; }
.sp-card__go:hover { background: var(--c-sand); color: var(--c-ink); }
.sp-chips { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: auto; padding-top: 6px; }
.sp-chip { width: 100%; min-height: 40px; border: 1px solid rgba(231, 220, 200, .3); border-radius: var(--r); background: transparent; color: #fff; font-family: var(--font-en); font-size: .9375rem; transition: background-color .2s, color .2s, opacity .2s; }
.sp-chip:hover { border-color: var(--c-sand); }
.sp-chip[aria-pressed="true"] { background: var(--c-sand); border-color: var(--c-sand); color: var(--c-ink); }
.sp-chip.is-dim { opacity: .3; }
.sp-table { margin-top: 18px; }
.sp-table summary { display: inline-flex; cursor: pointer; font-weight: 700; color: var(--c-ink); padding: 6px 0; border-bottom: 1px solid var(--c-sand-deep); }
.sp-table .ptable { margin-top: 14px; background: #fff; }
@media (max-width: 1023px) { .siteplan__body { grid-template-columns: 1fr; } .sp-chips { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
@media (max-width: 639px) { .sp-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sp-card__no b { font-size: 3.2rem; } }

/* =========================================================
   평형 탭 + 평면도 (대표 장치 2)
   ========================================================= */
.units__head { display: grid; gap: 22px; margin-bottom: 28px; }
.unit-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-line); }
.unit-tab { position: relative; display: grid; gap: 2px; justify-items: start; padding: 16px 18px 18px; border: 0; background: transparent; text-align: left; color: var(--c-muted); transition: color .2s, background-color .2s; }
.unit-tab + .unit-tab { border-left: 1px solid var(--c-line); }
.unit-tab b { font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); line-height: 1.1; color: inherit; }
.unit-tab span { font-size: .8125rem; font-weight: 600; }
.unit-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--c-ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.unit-tab:hover { color: var(--c-ink); background: var(--c-sand-soft); }
.unit-tab[aria-selected="true"] { color: var(--c-ink); }
.unit-tab[aria-selected="true"]::after { transform: scaleX(1); }
.unit-panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.unit-panel.is-swap .plan { animation: card-in .5s var(--ease) both; }
.plan { padding: clamp(12px, 2vw, 28px); background: #fff; border: 1px solid var(--c-line); }
.plan__svg { width: 100%; height: auto; font-family: var(--font-body); }
.rm { stroke: var(--c-ink); stroke-width: 5; transition: fill .2s, opacity .2s; }
.rm--bed { fill: #FFFFFF; }
.rm--live { fill: #F2EADB; }
.rm--wet { fill: #D9E6E3; }
.rm--svc { fill: #E9E7E0; }
.rm--hall { fill: #FAF8F3; }
.rm--bal { fill: #FBF9F4; stroke-width: 2; stroke-dasharray: 10 8; }
.win { fill: #fff; stroke: var(--c-ink); stroke-width: 2; pointer-events: none; }
.rm-t { fill: var(--c-ink); font-size: 24px; font-weight: 700; pointer-events: none; }
.rm-t--s { font-size: 18px; font-weight: 600; }
.plan.has-hi .rm:not(.is-hi) { opacity: .35; }
.rm.is-hi { fill: var(--c-sand); }
.plan__north path { fill: var(--c-ink); }
.plan__north text, .plan__note { fill: var(--c-muted); font-size: 16px; }
.plan__north text { font-family: var(--font-en); }
.unit-side__en { font-family: var(--font-en); letter-spacing: .1em; color: var(--c-sand-deep); }
.unit-side__t { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem); margin-bottom: 18px; }
.unit-side__t small { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--c-muted); letter-spacing: -0.01em; }
.unit-pts { display: grid; gap: 8px; margin-bottom: 24px; }
.unit-pts li { position: relative; padding-left: 20px; }
.unit-pts li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border: 1px solid var(--c-sand-deep); transform: rotate(45deg); }
.unit-side__h { font-size: .875rem; font-weight: 700; color: var(--c-muted); margin-bottom: 10px; }
.rooms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.room-btn { min-height: 38px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 600; color: var(--c-ink); transition: background-color .2s, border-color .2s, color .2s; }
.room-btn:hover { border-color: var(--c-sand-deep); }
.room-btn[aria-pressed="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-sand); }
.unit-mini { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-ink); }
.unit-mini div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.unit-mini dt { font-size: .8125rem; color: var(--c-muted); }
.area { width: 100%; border-top: 1px solid var(--c-ink); font-size: .9375rem; }
.area caption { text-align: left; font-weight: 700; color: var(--c-ink); padding-bottom: 8px; }
.area th, .area td { padding: 11px 4px; border-bottom: 1px solid var(--c-line); text-align: left; }
.area th { font-weight: 600; color: var(--c-muted); }
.area td { text-align: right; }
.units > .note { margin-top: 20px; }
@media (max-width: 1023px) { .unit-panel { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .unit-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unit-tab:nth-child(3) { border-left: 0; }
  .unit-tab:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .unit-tab { padding: 12px 14px; }
}

/* 입지 (메인, 진한 바탕) */
.life { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(231, 220, 200, .3); }
.life__col { padding: 26px 22px 30px; border-left: 1px solid rgba(231, 220, 200, .16); }
.life__col:first-child { border-left: 0; padding-left: 0; }
.life__en { font-family: var(--font-en); letter-spacing: .08em; color: var(--c-sand); font-size: .875rem; }
.life__h { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin: 2px 0 16px; }
.life__h .i { color: var(--c-sand); }
.life__col ul { display: grid; gap: 12px; }
.life__col li { display: grid; gap: 2px; font-size: .9375rem; }
.life__col li b { color: #fff; font-weight: 600; }
.life__col li span { color: rgba(255, 255, 255, .7); }
@media (max-width: 1023px) { .life { grid-template-columns: 1fr 1fr; } .life__col:nth-child(3) { border-left: 0; padding-left: 0; } .life__col:nth-child(n+3) { border-top: 1px solid rgba(231, 220, 200, .16); } }
@media (max-width: 559px) { .life { grid-template-columns: 1fr; } .life__col { border-left: 0; padding-left: 0; } .life__col + .life__col { border-top: 1px solid rgba(231, 220, 200, .16); } }

/* 청약 일정 타임라인 */
.tl { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 66px; height: 1px; background: var(--c-sand-deep); }
.tl__item { position: relative; display: grid; align-content: start; gap: 6px; padding-right: 14px; }
.tl__date { display: flex; align-items: baseline; gap: 6px; height: 52px; }
.tl__date .num { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); color: var(--c-ink); line-height: 1; }
.tl__date small { font-size: .8125rem; color: var(--c-muted); }
.tl__dot { width: 15px; height: 15px; margin: 2px 0 10px; border: 1px solid var(--c-ink); background: #fff; transform: rotate(45deg); }
.tl__name { color: var(--c-ink); font-size: 1rem; line-height: 1.4; }
.tl__desc { font-size: .875rem; color: var(--c-muted); line-height: 1.6; }
.tl__item.is-past { opacity: .5; }
.tl__item.is-past .tl__dot { background: var(--c-ink); }
.tl__item.is-next .tl__dot { background: var(--c-sand); border-color: var(--c-sand-deep); box-shadow: 0 0 0 5px rgba(231, 220, 200, .6); }
.tl__item.is-next .tl__name::after { content: "다음 일정"; display: block; width: max-content; margin-top: 6px; padding: 1px 8px; background: var(--c-ink); color: var(--c-sand); font-size: .75rem; border-radius: var(--r); }
.sched-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(36px, 4vw, 56px); }
@media (max-width: 899px) {
  .tl { grid-template-columns: 1fr; padding-left: 4px; }
  .tl::before { left: 11px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .tl__item { grid-template-columns: 22px 92px minmax(0, 1fr); grid-template-areas: "dot date name" ". . desc"; column-gap: 12px; padding: 0 0 22px; }
  .tl__dot { grid-area: dot; margin: 8px 0 0; }
  .tl__date { grid-area: date; height: auto; }
  .tl__date .num { font-size: 1.5rem; }
  .tl__name { grid-area: name; padding-top: 4px; }
  .tl__desc { grid-area: desc; }
}

/* 커뮤니티 사진 줄 (가로로 넘김) */
.gal-ctrl { display: flex; gap: 8px; justify-content: flex-end; }
.gal-btn { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--c-ink); border-radius: 50%; background: transparent; color: var(--c-ink); transition: background-color .2s, color .2s; }
.gal-btn:hover { background: var(--c-ink); color: var(--c-sand); }
.gal { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 25vw, 340px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--c-sand-deep) transparent;
  padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 22px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); margin-bottom: 20px; }
.gal:focus-visible { outline-offset: -3px; }
.gal__item { scroll-snap-align: start; display: grid; align-content: start; gap: 4px; }
.gal__img { aspect-ratio: 3 / 4; margin-bottom: 12px; }
.gal__en { font-family: var(--font-en); letter-spacing: .08em; color: var(--c-sand-deep); font-size: .875rem; }
.gal__t { font-family: var(--font-title); font-weight: 400; font-size: 1.5rem; }
.gal__d { color: var(--c-text); font-size: .9375rem; }
.gal__w { font-size: .8125rem; color: var(--c-muted); }
@media (max-width: 767px) { .gal-ctrl { display: none; } .gal { grid-auto-columns: 72vw; } }

/* 소식 + 견본주택 카드 */
.news { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.news__lists { display: grid; gap: 40px; }
.nl__h { padding-bottom: 12px; border-bottom: 1px solid var(--c-ink); font-size: 1.125rem; }
.nl__h a { display: flex; align-items: center; justify-content: space-between; }
.nl li { border-bottom: 1px solid var(--c-line); }
.nl a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px 0; }
.nl__t { font-weight: 600; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl a:hover .nl__t { text-decoration: underline; text-decoration-color: var(--c-sand-deep); text-underline-offset: 4px; }
.nl time { font-size: .875rem; color: var(--c-muted); }
.mh-card { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); background: var(--c-ink); color: rgba(255, 255, 255, .8); outline: 1px solid var(--c-sand-deep); outline-offset: -10px; }
.mh-card__en { font-family: var(--font-en); letter-spacing: .1em; color: var(--c-sand); }
.mh-card__t { font-family: var(--font-title); font-weight: 400; font-size: 2rem; color: #fff; }
.mh-card__dl { display: grid; gap: 12px; }
.mh-card__dl div { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 10px; font-size: .9375rem; }
.mh-card__dl dt { display: flex; align-items: center; gap: 6px; color: var(--c-sand); }
.mh-card__dl dd { color: #fff; }
.mh-card__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
@media (max-width: 1023px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 559px) { .nl a { grid-template-columns: minmax(0, 1fr) auto; } .nl .cate { display: none; } }

/* ---------- 분양 광고 고지 (모든 페이지) ---------- */
.legal { background: var(--c-sand-soft); border-top: 1px solid var(--c-line); }
.legal__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 24px; padding-block: 22px; font-size: .875rem; color: var(--c-muted); line-height: 1.65; }
.legal__h { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--c-ink); white-space: nowrap; }
@media (max-width: 767px) { .legal__inner { grid-template-columns: 1fr; } }

/* ---------- 푸터 ---------- */
.site-footer { padding: 56px 0 40px; background: var(--c-ink-deep); color: rgba(255, 255, 255, .66); font-size: .9375rem; }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-bottom: 26px; border-bottom: 1px solid rgba(231, 220, 200, .14); }
.site-footer__nav, .site-footer__policy { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 600; color: #fff; }
.site-footer__nav a:hover, .site-footer__policy a:hover { color: var(--c-sand); }
.site-footer__info { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 28px; margin: 24px 0 22px; }
.site-footer__info div { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.site-footer__info dt { color: rgba(255, 255, 255, .5); }
.site-footer__policy { padding-bottom: 22px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.site-footer__policy .is-strong { color: var(--c-sand); font-weight: 800; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(231, 220, 200, .14); font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.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: #fff; }
.credit-link img { height: 16px; width: auto; filter: brightness(0) invert(1); }

/* =========================================================
   2차 메뉴 — 화면 아래 고정 플로팅 막대(dock): 지금 1차의 2차 + 오른쪽 「방문 예약」. 휴대폰도 아래.
   ========================================================= */
.dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 95; display: flex; align-items: center; gap: 4px;
  max-width: min(100% - 24px, 980px); padding: 6px; border-radius: 999px; background: rgba(14, 42, 43, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(231, 220, 200, .28); box-shadow: 0 14px 36px rgba(8, 28, 29, .3); color: #fff; transform: translate(-50%, 0); }
.has-motion .dock { transform: translate(-50%, 150%); transition: transform .7s var(--ease) .2s; }
.has-motion .dock.is-in { transform: translate(-50%, 0); }
.dock__group { flex: none; padding: 0 12px 0 16px; font-family: var(--font-en); font-size: .8125rem; letter-spacing: .1em; color: var(--c-sand); border-right: 1px solid rgba(231, 220, 200, .25); }
.dock__list { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dock__list::-webkit-scrollbar { display: none; }
.dock__list a { display: flex; align-items: center; height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 999px; font-size: .9375rem; font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; transition: color .2s, border-color .2s, background-color .2s; }
.dock__list a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.dock__list a[aria-current="page"], .dock__list a.is-active { color: var(--c-sand); border-color: rgba(231, 220, 200, .6); }
.dock__cta { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; background: var(--c-sand); color: var(--c-ink); font-weight: 800; font-size: .9375rem; white-space: nowrap; transition: background-color .2s; }
.dock__cta:hover { background: #fff; }
body.nav-open .dock { visibility: hidden; }
@media (max-width: 767px) {
  .dock { left: 8px; right: 8px; max-width: none; bottom: calc(8px + env(safe-area-inset-bottom)); transform: none; padding: 5px; }
  .has-motion .dock { transform: translateY(150%); }
  .has-motion .dock.is-in { transform: none; }
  .dock__group { display: none; }
  .dock__list a { height: 42px; padding: 0 12px; font-size: .875rem; }
  .dock__cta { height: 42px; padding: 0 14px; font-size: .875rem; }
  .dock__cta .i { display: none; }
}

/* =========================================================
   서브 틀: 브로슈어 표지형 머리 — 왼쪽 틸블랙 판(1차 이름) + 오른쪽 액자 사진 → 제목 → 본문
   ========================================================= */
.cover { display: grid; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); min-height: clamp(320px, 44vh, 460px); background: var(--c-ink); color: #fff; overflow: hidden; }
.cover__panel { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(28px, 3.5vw, 48px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.cover__en { font-family: var(--font-en); letter-spacing: .14em; text-transform: uppercase; color: var(--c-sand); font-size: .9375rem; }
.cover__group { font-family: var(--font-title); font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); line-height: 1.2; color: #fff; }
.cover__count { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(231, 220, 200, .25); font-size: .9375rem; color: rgba(255, 255, 255, .7); }
.cover__count .num { color: var(--c-sand); }
.cover__media { position: relative; overflow: hidden; margin: 14px 14px 14px 0; }
.cover__media img { width: 100%; height: 100%; object-fit: cover; }
.cover__media::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(231, 220, 200, .75); pointer-events: none; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: auto; font-size: .875rem; color: rgba(255, 255, 255, .7); }
.cover__panel .breadcrumb { margin-bottom: auto; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 899px) {
  .cover { grid-template-columns: 1fr; min-height: 0; }
  .cover__media { order: -1; aspect-ratio: 16 / 8; margin: 0; }
  .cover__media::after { inset: 8px; }
  .cover__panel { padding: 22px var(--gutter) 24px; gap: 4px; }
  .cover__panel .breadcrumb { margin-bottom: 10px; }
}

.page { padding-block: clamp(52px, 7vw, 96px) clamp(80px, 10vw, 130px); }
.page-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 14px 48px; padding-bottom: 28px; margin-bottom: clamp(40px, 5vw, 68px); border-bottom: 1px solid var(--c-sand-deep); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: var(--c-sand-deep); }
.page-head__en { font-family: var(--font-en); letter-spacing: .1em; color: var(--c-sand-deep); margin-bottom: 4px; }
.page-head__title { font-family: var(--font-title); font-weight: 400; font-size: var(--fs-h1); letter-spacing: -0.02em; }
.page-head__desc { color: var(--c-muted); max-width: 34em; }
@media (max-width: 767px) { .page-head { grid-template-columns: 1fr; } }

.block { margin-top: clamp(60px, 8vw, 110px); }
.block--first { margin-top: 0; }
.block__head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px 48px; align-items: baseline; margin-bottom: clamp(24px, 3vw, 38px); }
.block__head h2 { font-family: var(--font-title); font-weight: 400; font-size: var(--fs-h2); }
.block__head p { color: var(--c-muted); max-width: 36em; }
.block__head p a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-sand-deep); }
@media (max-width: 767px) { .block__head { grid-template-columns: 1fr; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs--left { margin-bottom: 28px; }
.tab { min-height: 42px; padding: 0 18px; border: 1px solid var(--c-sand-deep); border-radius: 999px; background: #fff; font-size: .9375rem; font-weight: 600; color: var(--c-ink); transition: background-color .2s, color .2s; }
.tab:hover { background: var(--c-sand-soft); }
.tab[aria-selected="true"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-sand); }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks .i { width: 22px; height: 22px; margin-top: 3px; padding: 3px; border: 1px solid var(--c-sand-deep); border-radius: 50%; color: var(--c-ink); }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(56px, 7vw, 90px); padding: 24px 28px; border: 1px solid var(--c-ink); outline: 1px solid var(--c-sand-deep); outline-offset: 5px; }
.cta-line p { font-weight: 700; color: var(--c-ink); }
.ptable { width: 100%; font-size: .9375rem; border-top: 1px solid var(--c-ink); }
.ptable th, .ptable td { padding: 15px 14px; border-bottom: 1px solid var(--c-line); text-align: left; }
.ptable thead th { background: var(--c-sand-soft); color: var(--c-ink); font-weight: 700; }
.ptable tbody th { font-weight: 700; color: var(--c-ink); }
.ptable tr.is-past { opacity: .5; }
.ptable tr.is-next { background: #FBF7EE; }
@media (max-width: 639px) {
  .ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable tr { padding: 14px 0; border-bottom: 1px solid var(--c-line); }
  .ptable th, .ptable td { padding: 2px 0; border: 0; }
}
.disclaim { display: flex; gap: 10px; margin-top: clamp(48px, 6vw, 80px); padding: 16px 20px; background: var(--c-sand-soft); border-left: 2px solid var(--c-sand-deep); font-size: .875rem; color: var(--c-muted); line-height: 1.65; }
.disclaim .i { margin-top: 2px; color: var(--c-ink); }
.callout { display: flex; gap: 12px; margin-bottom: clamp(40px, 5vw, 64px); padding: 20px 24px; border: 1px solid var(--c-sand-deep); background: #FCFAF5; }
.callout .i { width: 22px; height: 22px; margin-top: 3px; color: var(--c-ink); }
.pair { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(56px, 7vw, 96px); }
.pair .media { aspect-ratio: 4 / 3; }
.pair .media:last-child { aspect-ratio: auto; }
@media (max-width: 559px) { .pair { grid-template-columns: 1fr; } .pair .media:last-child { aspect-ratio: 4 / 3; } }

/* 사업 개요 */
.ov-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ov-lead__img { aspect-ratio: 16 / 10; }
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--c-ink); }
.ideas li { display: grid; gap: 8px; align-content: start; padding: 24px 24px 28px 0; }
.ideas li + li { padding-left: 24px; border-left: 1px solid var(--c-line); }
.idea__n { font-size: 2rem; color: var(--c-sand-deep); line-height: 1; }
.ideas h3 { font-size: 1.25rem; }
.ideas p { color: var(--c-muted); }
@media (max-width: 899px) { .ov-lead { grid-template-columns: 1fr; } .ideas { grid-template-columns: 1fr; } .ideas li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); } }

/* 입지 */
.loc-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.loc-top__text { display: grid; gap: 18px; }
.loc-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.loc-col { padding-top: 18px; border-top: 1px solid var(--c-ink); }
.loc-col .life__en { color: var(--c-sand-deep); }
.loc-col__h { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; margin-bottom: 14px; }
.loc-col dl { display: grid; gap: 12px; }
.loc-col dt { font-weight: 700; color: var(--c-ink); font-size: .9375rem; }
.loc-col dd { font-size: .875rem; color: var(--c-muted); }
@media (max-width: 1023px) { .loc-top { grid-template-columns: 1fr; } .loc-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .loc-cols { grid-template-columns: 1fr; } }
.map-box { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border: 1px solid var(--c-line); background: #EFE8DA; }
.map-box img { width: 100%; height: 100%; object-fit: cover; }
.map-box--tall { aspect-ratio: 4 / 3; }
.map-note { position: absolute; left: 0; bottom: 0; padding: 8px 14px; background: var(--c-ink); color: #fff; font-size: .8125rem; }

/* 견본주택 */
.mh-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.info-rows { border-top: 1px solid var(--c-ink); }
.info-rows > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 18px 2px; border-bottom: 1px solid var(--c-line); }
.info-rows dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--c-ink); }
.info-rows dt .i { color: var(--c-sand-deep); }
.info-rows--compact > div { grid-template-columns: 5.5em minmax(0, 1fr); padding-block: 14px; font-size: .9375rem; }
@media (max-width: 899px) { .mh-grid { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .info-rows > div { grid-template-columns: 1fr; gap: 4px; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--c-ink); }
.steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { display: grid; gap: 6px; align-content: start; padding: 22px 22px 26px 0; border-bottom: 1px solid var(--c-line); }
.steps li .num { font-size: 1.75rem; color: var(--c-sand-deep); line-height: 1; }
.steps li b { font-size: 1.125rem; color: var(--c-ink); }
.steps li p { color: var(--c-muted); font-size: .9375rem; }
@media (max-width: 899px) { .steps, .steps--6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .steps, .steps--6 { grid-template-columns: 1fr; } }

/* 단지 안내 */
.princ { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.princ li { padding: 22px 24px; background: var(--c-sand-soft); border-top: 2px solid var(--c-ink); }
.princ h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.princ p { color: var(--c-muted); font-size: .9375rem; }
@media (max-width: 767px) { .princ { grid-template-columns: 1fr; } }
.facs { display: grid; gap: clamp(36px, 5vw, 64px); }
.fac { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.fac:nth-child(even) .fac__img { order: 2; }
.fac__img { aspect-ratio: 4 / 3; }
.fac__body { display: grid; gap: 8px; }
.fac__t { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.fac__w { display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--c-muted); }
@media (max-width: 767px) { .fac { grid-template-columns: 1fr; } .fac:nth-child(even) .fac__img { order: 0; } }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
.zone { display: grid; gap: 8px; align-content: start; }
.zone__img { aspect-ratio: 3 / 4; margin-bottom: 8px; }
.zone h2 { font-family: var(--font-title); font-weight: 400; font-size: 1.6rem; }
.zone p { color: var(--c-muted); font-size: .9375rem; }
@media (max-width: 767px) { .zones { grid-template-columns: 1fr; } .zone__img { aspect-ratio: 4 / 3; } }

/* 세대 안내 */
.sp-rows { display: grid; gap: 0; border-top: 1px solid var(--c-ink); }
.sp-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: end; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--c-line); }
.sp-row:nth-child(even) .sp-row__img { order: 2; }
.sp-row__img { aspect-ratio: 16 / 10; }
.sp-row__t { display: grid; gap: 8px; padding-bottom: 8px; }
.sp-row__t h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.8rem); }
.sp-row__t p { color: var(--c-muted); }
.sp-rows + .note { margin-top: 20px; }
@media (max-width: 767px) { .sp-row { grid-template-columns: 1fr; } .sp-row:nth-child(even) .sp-row__img { order: 0; } }
.fin-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(36px, 5vw, 56px); }
.fin-top .media { aspect-ratio: 4 / 3; }
.fin-top > div { display: grid; gap: 16px; }
@media (max-width: 767px) { .fin-top { grid-template-columns: 1fr; } }
.opt { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.opt--base { background: var(--c-ink); color: var(--c-sand); }
.opt--sel { border: 1px solid var(--c-sand-deep); color: var(--c-ink); }

/* 분양 안내 */
.cd-box .countdown { border: 0; border-radius: var(--r); background: var(--c-ink); }
.cd-box .countdown__inner { padding: 24px clamp(18px, 3vw, 36px) 18px; }
.tl--full .tl__item { padding-right: 18px; }
.pdf-card { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, .8fr); align-items: center; gap: 16px 28px; margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 32px); background: var(--c-ink); color: rgba(255, 255, 255, .8); outline: 1px solid var(--c-sand-deep); outline-offset: -8px; }
.pdf-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--c-sand); border-radius: 50%; color: var(--c-sand); }
.pdf-card__icon .i { width: 28px; height: 28px; }
.pdf-card__en { font-family: var(--font-en); letter-spacing: .1em; color: var(--c-sand); font-size: .875rem; }
.pdf-card__t { font-family: var(--font-title); font-weight: 400; font-size: 1.9rem; color: #fff; }
.pdf-card__note { font-size: .875rem; }
@media (max-width: 899px) { .pdf-card { grid-template-columns: auto minmax(0, 1fr); } .pdf-card__note { grid-column: 1 / -1; } }
.pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--c-ink); }
.pay__item { display: grid; gap: 6px; padding: 22px 24px; }
.pay__item + .pay__item { border-left: 1px solid var(--c-line); }
.pay__item b { font-family: var(--font-title); font-weight: 400; font-size: 1.6rem; color: var(--c-ink); }
.pay__item > span { font-size: .9375rem; color: var(--c-muted); }
@media (max-width: 767px) { .pay { grid-template-columns: 1fr; } .pay__item + .pay__item { border-left: 0; border-top: 1px solid var(--c-line); } }
.kinds { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.kinds li { display: grid; gap: 8px; justify-items: start; padding: 18px; border: 1px solid var(--c-line); border-top: 2px solid var(--c-ink); }
.kinds b { color: var(--c-ink); }
.kinds .ph { font-size: .8125rem; }
@media (max-width: 1023px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 홍보관 */
.persp__tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.persp__fig { aspect-ratio: 16 / 9; overflow: hidden; outline: 1px solid var(--c-sand-deep); outline-offset: 10px; margin: 10px; }
.persp__fig img { width: 100%; height: 100%; object-fit: cover; }
.persp__cap { margin-top: 24px; font-size: .875rem; color: var(--c-muted); }
.vid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.vid__player { position: relative; }
.vid__player .media { aspect-ratio: 16 / 9; }
.vid__player .media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 28, 29, .45); }
.vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; border: 0; background: none; color: #fff; font-weight: 700; }
.vid__play .i { width: 84px; height: 84px; padding: 26px 24px 26px 30px; border: 1px solid var(--c-sand); border-radius: 50%; color: var(--c-sand); background: rgba(14, 42, 43, .5); transition: background-color .2s, color .2s; }
.vid__play:hover .i { background: var(--c-sand); color: var(--c-ink); }
.vid__note { margin-top: 14px; padding: 14px 18px; background: var(--c-sand-soft); border-left: 2px solid var(--c-sand-deep); font-weight: 600; color: var(--c-ink); }
.chapters { display: grid; border-top: 1px solid var(--c-ink); margin-bottom: 16px; }
.chapters li { display: flex; gap: 14px; padding: 13px 2px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.chapters .num { color: var(--c-sand-deep); }
@media (max-width: 899px) { .vid { grid-template-columns: 1fr; } }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); margin-bottom: 24px; }
.pcard { display: grid; gap: 10px; align-content: start; }
.pcard__img { aspect-ratio: 4 / 3; }
.pcard__img img { transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8125rem; color: var(--c-muted); }
.pcard__src { opacity: .8; }
.pcard strong { color: var(--c-ink); font-size: 1.0625rem; line-height: 1.45; }
.pcard:hover strong { text-decoration: underline; text-decoration-color: var(--c-sand-deep); text-underline-offset: 4px; }
.pcard__sum { font-size: .9375rem; color: var(--c-muted); }
@media (max-width: 899px) { .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .pcards { grid-template-columns: 1fr; } }

/* 고객센터 */
.reg-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.reg-aside { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); background: var(--c-sand-soft); border-top: 2px solid var(--c-ink); }
.reg-aside__en { font-family: var(--font-en); letter-spacing: .1em; color: var(--c-sand-deep); }
.reg-aside__t { font-family: var(--font-title); font-weight: 400; font-size: 1.5rem; }
@media (max-width: 1023px) { .reg-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form__field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.form__field--full { grid-column: 1 / -1; }
@media (max-width: 639px) { .form { grid-template-columns: 1fr; } }
.form label, .form legend { font-weight: 700; color: var(--c-ink); font-size: .9375rem; }
.form__set { margin: 0; padding: 0; border: 0; }
.form__set legend { padding: 0; margin-bottom: 8px; }
.form .req { color: #A1342B; margin-left: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #CFC7B7; border-radius: var(--r); background: #fff; font-size: 1rem; }
.form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px var(--c-sand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-flex; cursor: pointer; font-weight: 500 !important; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #CFC7B7; border-radius: 999px; background: #fff; font-size: .9375rem; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover span { border-color: var(--c-sand-deep); }
.chip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-sand); font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--c-sand-deep); outline-offset: 2px; }
.form__terms { margin-bottom: 8px; font-size: .875rem; color: var(--c-muted); }
.form__terms summary { cursor: pointer; font-weight: 700; color: var(--c-ink); }
.form__terms p { padding: 12px 14px; margin-top: 8px; background: var(--c-sand-soft); }
.form__agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.form__agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-ink); }
.form__agree--opt { margin-top: 6px; color: var(--c-muted) !important; }
.form__note { grid-column: 1 / -1; padding: 14px 18px; background: var(--c-sand-soft); border-left: 2px solid var(--c-sand-deep); color: var(--c-ink); font-size: .9375rem; font-weight: 600; }
.qna-group + .qna-group { margin-top: 44px; }
.qna-group__h { font-family: var(--font-title); font-weight: 400; font-size: 1.5rem; padding-bottom: 12px; border-bottom: 1px solid var(--c-ink); }
.qna details { border-bottom: 1px solid var(--c-line); }
.qna summary { position: relative; display: block; padding: 20px 44px 20px 0; cursor: pointer; list-style: none; font-weight: 700; color: var(--c-ink); font-size: 1.0625rem; }
.qna summary::-webkit-details-marker { display: none; }
.qna summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border: 1px solid var(--c-sand-deep); border-radius: 50%; font-weight: 500; line-height: 1; }
.qna details[open] summary::after { content: "−"; background: var(--c-ink); color: var(--c-sand); border-color: var(--c-ink); }
.qna p { padding: 0 0 22px; color: var(--c-text); max-width: 46em; }
.qna-more { margin-top: 32px; }

/* 게시판 */
.board-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.board-search { display: flex; width: min(100%, 380px); height: 48px; border: 1px solid var(--c-ink); border-radius: var(--r); overflow: hidden; }
.board-search input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: transparent; font-size: 1rem; }
.board-search input:focus { outline: none; }
.board-search button { flex: none; width: 46px; border: 0; background: var(--c-ink); color: var(--c-sand); display: grid; place-items: center; }
.board-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; font-size: .875rem; color: var(--c-muted); }
.board-meta b { color: var(--c-ink); }
.board-meta__note { margin-left: auto; }
.board-table { width: 100%; table-layout: fixed; border-top: 1px solid var(--c-ink); }
.board-table th { height: 54px; font-size: .9375rem; font-weight: 700; 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: .875rem; color: var(--c-muted); }
.board-table .col-num { width: 72px; } .board-table .col-cate { width: 100px; } .board-table .col-date { width: 120px; } .board-table .col-hit { width: 72px; }
.board-table .td-subject { text-align: left; }
.board-table .td-subject a { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--c-ink); }
.board-table .td-subject a span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-table tbody tr:hover .td-subject a span { text-decoration: underline; text-decoration-color: var(--c-sand-deep); text-underline-offset: 4px; }
.board-table tr.is-notice { background: #FBF7EE; }
.badge-notice { display: inline-block; padding: 2px 8px; background: var(--c-ink); color: var(--c-sand); font-size: .75rem; font-weight: 800; border-radius: var(--r); }
.board-empty td { height: 140px; 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 { display: block; }
  .board-table tr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 10px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
  .board-table tr[hidden] { display: none; }
  .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; }
  .board-table .td-subject { grid-column: 1 / -1; order: 3; }
  .board-table .td-subject a span { white-space: normal; }
  .board-table td.td-cate { order: 1; } .board-table td.td-date { order: 4; } .board-table td.td-hit { order: 5; }
  .board-table td.td-hit::before { content: "조회 "; }
  .board-empty td { grid-column: 1 / -1; text-align: center; }
  .board-meta__note { margin-left: 0; width: 100%; }
}
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.pagination button { min-width: 40px; height: 40px; padding: 0 8px; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; color: var(--c-muted); font-family: var(--font-en); font-size: .9375rem; }
.pagination [aria-current="page"] { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-sand); }
.pagination button:hover:not([aria-current]) { border-color: var(--c-ink); color: var(--c-ink); }
.post-head { display: grid; gap: 12px; justify-items: start; padding: 28px 0; border-top: 1px solid var(--c-ink); border-bottom: 1px solid var(--c-line); }
.post-head__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .875rem; color: var(--c-muted); }
.post-meta div { display: flex; gap: 6px; }
.post-body { display: grid; gap: 1.1em; padding: 36px 0 52px; max-width: 46em; }
.post-body h3 { margin-top: .6em; font-size: 1.1875rem; }
.post-body ul { padding-left: 1.2em; display: grid; gap: .4em; }
.post-body a { color: var(--c-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c-sand-deep); }
.post-fig { aspect-ratio: 16 / 9; margin: .4em 0; }
.post-nav { border-top: 1px solid var(--c-ink); }
.post-nav li { display: grid; grid-template-columns: 90px minmax(0, 1fr) 110px; align-items: center; gap: 12px; min-height: 58px; border-bottom: 1px solid var(--c-line); font-size: .9375rem; }
.post-nav li > span:first-child { font-weight: 800; color: var(--c-ink); }
.post-nav a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-nav a:hover { text-decoration: underline; text-decoration-color: var(--c-sand-deep); }
.post-nav time { color: var(--c-muted); text-align: right; }
@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: 36px; }

/* =========================================================
   움직임 — 보이는 상태가 기본, 스크립트가 숨겼다 보여 준다
   ========================================================= */
.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: var(--c-sand-deep); transform: scaleX(0); transform-origin: left; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .hero.is-ready .hero__panel, .hero.is-ready .hero__word { animation: none; }
  .sp-card.is-swap .sp-card__no, .sp-card.is-swap .sp-card__dl, .unit-panel.is-swap .plan { animation: none; }
  .pcard:hover .pcard__img img { transform: none; }
  .dock { transition: none; }
}
