/* =====================================================================
   sections.css : 섹션 · B형 레이아웃 · 서브페이지 · 모션 상태
   - 기본(모바일) 스타일은 A/B 공통
   - A형 PC 덮어쓰기는 ".layout-brand" + 991px 로 스코프 (B형은 PC에서도 모바일 컬럼 유지)
   ===================================================================== */

/* ── 1. 섹션 골격 ────────────────────────────────────────── */
.s { position: relative; padding: var(--sec-pad) var(--gutter); overflow: hidden; }
.s-in { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.sec-head { position: relative; z-index: 1; margin-bottom: 32px; text-align: center; }
.layout-brand main { padding-top: calc(var(--hd-h) + var(--quick-top-h)); }
@media (min-width: 991px) {
  .layout-brand main.home { padding-top: 0; }
  .layout-brand .sec-head { margin-bottom: 56px; }
}

/* ── 2. 스크롤 리빌 (html.js-motion일 때만 숨김) ─────────────── */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), clip-path 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js-motion [data-reveal="clip"] { clip-path: inset(18% 0 0 0); transform: translateY(40px); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* ── 3. 히어로 ───────────────────────────────────────────── */
.s-hero {
  display: flex; flex-direction: column;
  min-height: min(150vw, 820px); padding: 0;
  background: var(--color-main1); color: #fff;
}
.hero-pic, .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; object-position: 55% 50%; }
.js-motion .hero-bg { transform: scale(1.12); transition: transform 8s ease-out; }
.js-motion .s-hero.is-ready .hero-bg { transform: scale(1); }
.s-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 62%; z-index: 1; background: linear-gradient(to bottom, rgb(10 14 22 / .78), rgb(10 14 22 / .35) 60%, transparent); }
.s-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; z-index: 1; background: linear-gradient(to top, rgb(10 14 22 / .85), transparent); }

.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 36px var(--gutter) 0; text-align: center; }
.js-motion .hero-copy > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * .12s); }
.js-motion .s-hero.is-ready .hero-copy > * { opacity: 1; transform: none; }
.hero-emblem { width: auto; height: 60px; }
.hero-sub { padding: 6px 16px; border: 1px solid rgb(255 255 255 / .45); border-radius: 2em; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.hero-main { font-size: clamp(40px, 13vw, 52px); font-weight: 800; line-height: 1.12; letter-spacing: -0.04em; text-shadow: 0 4px 18px rgb(0 0 0 / .45); }
.hero-main b { font-weight: 900; color: var(--color-main3); }
.hero-line, .hero-specials, .scroll-ind { display: none; }
.hero-badge {
  position: relative; z-index: 2; margin: auto var(--gutter) 24px; padding: 14px 12px;
  border-radius: 6px; background: var(--color-point); color: var(--color-on-point);
  font-size: 16px; font-weight: 700; text-align: center; box-shadow: 0 8px 24px rgb(0 0 0 / .35);
  animation: badge-pulse 2.4s ease-in-out infinite;
}
.hero-badge b { font-weight: 900; }
.hero-points { position: relative; z-index: 2; display: flex; background: var(--color-main1); }
.hero-points li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 16px 4px 14px; text-align: center; }
.hero-points li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 40px; margin-top: -20px; background: rgb(255 255 255 / .18); }
.hero-points .ico { width: 26px; height: 26px; margin-bottom: 8px; color: var(--color-point); }
.hero-points strong { font-size: 16px; font-weight: 800; letter-spacing: -0.03em; color: var(--color-point); }
.hero-points span { margin-top: 4px; font-size: 11px; line-height: 1.3; color: rgb(255 255 255 / .7); }
.layout-brand .hero-points { display: none; }
@keyframes badge-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

@media (min-width: 991px) {
  .layout-brand .s-hero { min-height: 100vh; min-height: 100svh; }
  .layout-brand .s-hero::before { height: 100%; background: linear-gradient(90deg, rgb(10 14 22 / .72), rgb(10 14 22 / .22) 55%, transparent); }
  .layout-brand .hero-copy { position: absolute; left: 9%; top: 50%; transform: translateY(-50%); align-items: flex-start; gap: 20px; max-width: 46rem; padding: 0; text-align: left; }
  .layout-brand .hero-sub { padding: 0; border: 0; font-size: 22px; }
  .layout-brand .hero-main { font-size: clamp(56px, 5.2vw, 92px); }
  .layout-brand .hero-line { display: block; width: 140px; height: 1px; background: rgb(255 255 255 / .5); }
  .layout-brand .hero-specials { display: flex; gap: 40px; }
  .hero-specials li { font-size: 18px; font-weight: 600; }
  .hero-specials span { display: block; margin-bottom: 4px; font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; color: var(--color-main3); }
  .layout-brand .hero-badge { position: absolute; left: 9%; bottom: 56px; margin: 0; padding: 14px 28px; font-size: 18px; }
  .layout-brand .scroll-ind {
    position: absolute; right: 48px; top: 50%; z-index: 2; transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    font-family: var(--f-en); font-size: 12px; letter-spacing: .3em; transition: opacity .4s;
  }
  .scroll-ind span { writing-mode: vertical-rl; }
  .scroll-ind i { position: relative; width: 1px; height: 120px; background: rgb(255 255 255 / .35); }
  .scroll-ind i::after { content: ""; position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--color-point); animation: rail 2.6s var(--ease-out) infinite; }
  body.is-scrolled .scroll-ind { opacity: 0; }
}
@keyframes rail { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ── 4. 인트로 커튼 (A형 PC) ─────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 1000; display: flex; pointer-events: none; }
.intro > i { flex: 1; background: var(--color-main1); transform-origin: bottom; animation: curtain .9s var(--ease-curtain) forwards; }
.intro > i:nth-child(1) { animation-delay: .7s; }
.intro > i:nth-child(2) { animation-delay: .8s; }
.intro > i:nth-child(3) { animation-delay: .9s; }
.intro-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; opacity: 0; animation: intro-txt 1s ease .1s forwards; }
.intro-txt span { font-size: 18px; opacity: .8; }
.intro-txt p { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.intro-txt img { height: 72px; width: auto; margin-top: 12px; }
@keyframes curtain { to { transform: scaleY(0); } }
@keyframes intro-txt { 0% { opacity: 0; transform: translateY(12px); } 40%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ── 5. SPECIAL ──────────────────────────────────────────── */
.special-list { display: grid; gap: 14px; max-width: 600px; margin: 0 auto; }
.special-card { position: relative; padding: 28px 22px 24px; border: 1px solid var(--color-main2); background: linear-gradient(135deg, rgb(255 255 255 / .08), rgb(255 255 255 / .02)); }
.special-card::before { content: attr(data-tag); position: absolute; top: -1px; right: -1px; padding: 4px 10px; background: var(--color-point); color: var(--color-on-point); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.special-num { display: block; margin-bottom: 6px; font-family: var(--f-en); font-size: 20px; color: var(--color-main2); }
.special-card strong { display: block; font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -0.03em; }
.special-card strong b { font-weight: 900; color: var(--color-main3); }
.special-card p { margin-top: 10px; font-size: 14px; color: rgb(255 255 255 / .7); }
@media (min-width: 991px) {
  .layout-brand .special-list { grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; }
  .layout-brand .special-card { padding: 44px 40px 40px; }
  .layout-brand .special-card strong { font-size: 36px; }
  .layout-brand .special-card p { font-size: 16px; }
}

/* ── 6. 혜택 그리드 ──────────────────────────────────────── */
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefit { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 112px; padding: 16px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.benefit .no { font-family: var(--f-en); font-size: 13px; color: var(--color-main2); }
.benefit p { font-size: 16px; line-height: 1.4; letter-spacing: -0.03em; }
.benefit p b { font-weight: 800; color: var(--color-main1); }
.benefit p small { font-size: 12px; color: var(--mute); }
.benefit.is-wide { grid-column: 1 / -1; min-height: auto; padding: 20px; background: var(--color-main1); border-color: var(--color-main1); color: #fff; }
.benefit.is-wide p b, .benefit.is-wide .no { color: var(--color-main3); }
@media (min-width: 991px) {
  .layout-brand .benefit-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  /* hover용 transition이 리빌 transition을 덮지 않도록 opacity(순차 지연 포함)를 같이 선언 */
  .layout-brand .benefit { aspect-ratio: 4 / 3; min-height: 0; align-items: flex-start; justify-content: flex-end; padding: 32px; text-align: left; transition: opacity .9s var(--ease-out) var(--d, 0s), transform .5s var(--ease-out), box-shadow .4s; }
  .layout-brand .benefit:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgb(0 0 0 / .08); }
  .layout-brand .benefit .no { position: absolute; top: 24px; left: 32px; font-family: var(--f-num); font-size: 40px; font-weight: 700; }
  .layout-brand .benefit p { font-size: 22px; }
  .layout-brand .benefit.is-wide { aspect-ratio: auto; flex-direction: row; align-items: center; justify-content: center; gap: 16px; }
  .layout-brand .benefit.is-wide .no { position: static; font-size: 22px; }
}

/* ── 7. 표 (개요 · 평면 · 유의사항) ──────────────────────── */
.tbl { border-top: 2px solid var(--color-main1); font-size: 14px; background: #fff; }
.tbl th, .tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { width: 32%; background: var(--soft); color: var(--color-main1); font-weight: 600; white-space: nowrap; }
.is-soft .tbl th { background: color-mix(in srgb, var(--color-main3) 25%, #fff); }
.tbl td b { color: var(--color-main1); }
.ov { display: grid; gap: 24px; }
.ov-img img { width: 100%; border-radius: var(--radius); }
@media (min-width: 991px) {
  .layout-brand .ov { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  .layout-brand .tbl { font-size: 16px; }
  .layout-brand .tbl th, .layout-brand .tbl td { padding: 16px 20px; }
}

/* ── 8. 슬라이더 공통 + 입지 ─────────────────────────────── */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slider-ctrl { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-family: var(--f-num); font-size: 13px; color: var(--sub); }
.slider-dots { display: flex; gap: 10px; margin-right: auto; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.slider-dots button.is-active { background: var(--color-main1); transform: scale(1.3); }
.slider-bar { position: relative; width: 96px; height: 2px; overflow: hidden; background: var(--line); }
.slider-bar i { position: absolute; inset: 0; background: var(--color-main1); transform: scaleX(0); transform-origin: left; }

.loc-slider { margin-bottom: 28px; }
.loc-slider .slide { display: grid; gap: 20px; }
.loc-sub { font-size: 15px; color: var(--sub); }
.loc-title { margin-top: 6px; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -0.03em; }
.loc-title b { font-weight: 800; color: var(--color-main1); }
.loc-desc { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--sub); }
.loc-desc small { display: block; font-size: 12px; color: var(--mute); }
.loc-arch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.loc-keys { display: grid; gap: 10px; }
.loc-keys li { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--soft); }
.loc-keys strong { flex-shrink: 0; padding: 2px 10px; border-radius: 2em; background: var(--color-main1); color: #fff; font-size: 13px; }
.loc-keys p { font-size: 14px; }
@media (min-width: 991px) {
  .layout-brand .loc-slider .slide { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .layout-brand .loc-sub { font-size: 20px; }
  .layout-brand .loc-title { font-size: 44px; }
  .layout-brand .loc-desc { margin-top: 24px; padding-top: 24px; font-size: 17px; }
  /* 아치 마스크 : 레퍼런스 시그니처 */
  .layout-brand .loc-arch { display: flex; justify-content: center; }
  .layout-brand .loc-arch img { width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 360px 360px 0 0; }
  .layout-brand .slider-ctrl { margin-top: 36px; }
  .layout-brand .loc-keys { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
  .layout-brand .loc-keys li { flex-direction: column; padding: 24px; }
  .layout-brand .loc-keys p { font-size: 16px; }
}

/* ── 9. 스탯 타일 ────────────────────────────────────────── */
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { padding: 26px 12px 22px; border-radius: 10px; background: var(--color-main1); color: #fff; text-align: center; }
.stat strong { display: block; font-family: var(--f-num); font-size: 34px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--color-point); }
.stat small { margin-left: 2px; font-family: var(--f-sans); font-size: .5em; }
.stat span { display: block; margin-top: 8px; font-size: 13px; color: rgb(255 255 255 / .75); }
@media (min-width: 991px) {
  .layout-brand .stat-list { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
  .layout-brand .stat { padding: 44px 16px; }
  .layout-brand .stat strong { font-size: 56px; }
  .layout-brand .stat span { font-size: 16px; }
}

/* ── 10. 가로 스크롤러 (조망 · 인테리어) ──────────────────── */
.scroller { display: flex; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller figure { flex: 0 0 80%; scroll-snap-align: center; }
.scroller img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.scroller figcaption { margin-top: 10px; font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; color: var(--mute); }
@media (min-width: 991px) {
  .layout-brand .scroller { gap: 24px; margin: 0; padding: 0 0 8px; }
  .layout-brand .scroller figure { flex-basis: calc((100% - 48px) / 3); }
}

/* ── 11. 커뮤니티 (배경 페이드 + 원형 썸네일) ──────────────── */
.sec-deco { display: none; }
.layout-brand .sec-deco {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font-family: var(--f-en); font-size: clamp(56px, 16vw, 220px); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .16); pointer-events: none;
}
.comm .slide { position: relative; }
.comm .slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.comm-cap { position: absolute; left: 16px; bottom: 14px; font-size: 20px; font-weight: 700; text-shadow: 0 2px 12px rgb(0 0 0 / .5); }
.comm-thumbs { display: flex; gap: 10px; margin-top: 16px; padding: 4px 2px; overflow-x: auto; scrollbar-width: none; }
.comm-thumb { flex: 0 0 60px; height: 60px; overflow: hidden; border: 2px solid transparent; border-radius: 50%; opacity: .55; transition: opacity .3s, border-color .3s, transform .3s; }
.comm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.comm-thumb.is-active { opacity: 1; border-color: var(--color-point); }
@media (min-width: 991px) {
  .layout-brand .sec-deco { display: block; }
  .layout-brand .comm .slide img { aspect-ratio: 21 / 9; }
  .layout-brand .comm-cap { left: 40px; bottom: 32px; font-size: 32px; }
  .layout-brand .comm-thumbs { justify-content: center; gap: 20px; margin-top: 28px; }
  .layout-brand .comm-thumb { flex-basis: 96px; height: 96px; }
  .comm-thumb:hover { opacity: 1; transform: translateY(-4px); }
}

/* ── 12. 평면 타입 탭 ───────────────────────────────────── */
.unit-tabs { display: flex; gap: 6px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.unit-tab { flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--line); border-radius: 2em; background: #fff; font-family: var(--f-num); font-size: 15px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.unit-tab small { margin-left: 3px; font-size: 10px; letter-spacing: .08em; }
.unit-tab[aria-selected="true"] { background: var(--color-main1); border-color: var(--color-main1); color: #fff; }
.unit-panel { display: grid; gap: 20px; margin-top: 20px; }
.unit-plan { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.unit-plan img { margin: 0 auto; }
.unit-type { margin-bottom: 14px; font-family: var(--f-num); font-size: 40px; font-weight: 700; line-height: 1; color: var(--color-main1); }
.unit-type small { margin-left: 6px; font-size: 14px; letter-spacing: .1em; color: var(--color-main2); }
@media (min-width: 991px) {
  .layout-brand .unit-tabs { justify-content: center; }
  .layout-brand .unit-panel { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; margin-top: 40px; }
  .layout-brand .unit-plan { padding: 32px; }
  .layout-brand .unit-type { font-size: 72px; }
}

/* ── 13. 폼 ──────────────────────────────────────────────── */
.form-box { max-width: 640px; min-height: 220px; margin: 0 auto; padding: 24px 20px; border-radius: 10px; background: #fff; color: var(--ink); }
.form-fallback { padding: 20px 0; text-align: center; }
.ff-tit { font-size: 20px; font-weight: 800; color: var(--color-main1); }
.ff-txt { margin-top: 8px; font-size: 14px; color: var(--sub); }
.ff-btn { display: inline-block; margin-top: 20px; padding: 14px 28px; border-radius: 2em; background: var(--color-point); color: var(--color-on-point); font-family: var(--f-num); font-weight: 800; }

/* ── 14. PC 섹션 스냅 (config.pcSnap) ────────────────────── */
@media (min-width: 991px) {
  html.pc-snap { scroll-snap-type: y proximity; }
  html.pc-snap .home > .s { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; scroll-snap-align: start; }
}

/* ── 15. B형 전환형 레이아웃 ─────────────────────────────── */
.layout-landing { background: color-mix(in srgb, var(--color-main3) 30%, #eef1f0); }
.lp-wrap { max-width: 560px; margin: 0 auto; background: #fff; }
.side-card { display: none; }
.layout-landing .s { padding: 56px 16px; }
.layout-landing .s-hero { padding: 0; }
.layout-landing .sec-head { margin-bottom: 24px; }
.layout-landing .h2 b { display: block; color: var(--color-point-ink); }   /* 일반 + 강조(줄바꿈) */
.layout-landing .is-dark .h2 b { color: var(--color-point); }
.layout-landing .hero-copy { padding-top: 32px; }
.layout-landing .hero-badge { margin: 16px auto 0; padding: 10px 22px; border-radius: 2em; font-size: 15px; box-shadow: none; animation: none; }
.layout-landing .hero-points { margin-top: auto; }

.sc-head { position: relative; }
.sc-head img { width: 100%; height: 150px; object-fit: cover; }
.sc-head::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--color-main1) 62%, transparent); }
.sc-num { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--f-num); font-size: 34px; font-weight: 800; text-shadow: 0 2px 10px rgb(0 0 0 / .5); }
.sc-body { padding: 18px 22px 20px; }
.sc-name { display: block; font-size: 16px; font-weight: 500; color: var(--mute); }
.sc-status { display: block; margin-top: 2px; font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.03em; color: var(--color-main1); }
.sc-desc { margin-top: 8px; font-size: 13px; color: var(--sub); }
.sc-btns { display: flex; gap: 8px; margin: 14px 0 6px; }
.sc-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.sc-btn.is-call { background: var(--color-main1); color: #fff; font-family: var(--f-num); }
.sc-btn.is-reserve { background: var(--color-point); color: var(--color-on-point); }
.sc-info div { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.sc-info dt { flex: 0 0 52px; color: var(--mute); }
.sc-note { padding: 14px; background: var(--color-main1); color: rgb(255 255 255 / .85); font-size: 12px; line-height: 1.6; text-align: center; }

@media (min-width: 821px) {
  .layout-landing { padding: 20px 0; }
  .lp-wrap { display: flex; align-items: flex-start; gap: 28px; max-width: 1031px; padding: 0 15px; background: none; }
  .side-card { position: sticky; top: 20px; display: block; flex: 0 0 300px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgb(0 0 0 / .08); }
  .lp-col { flex: 1; min-width: 0; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgb(0 0 0 / .08); }
}

/* ── 16. 서브페이지 (A형) ────────────────────────────────── */
.sub-top { position: relative; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; height: clamp(220px, 52vw, 30rem); padding: 0 var(--gutter); overflow: hidden; text-align: center; }
.sub-top-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 80% 20%, color-mix(in srgb, var(--color-main3) 70%, #fff), var(--soft) 60%, #fff); }
.js-motion .sub-top-bg { animation: sub-reveal 1.4s var(--ease-curtain) .2s both, sub-drift 16s ease-in-out 1.6s infinite alternate; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sub); }
.crumb i { font-style: normal; opacity: .5; }
.sub-title { font-size: clamp(30px, 8vw, 56px); font-weight: 700; letter-spacing: .02em; }
.sub-slogan { font-size: clamp(13px, 3.4vw, 20px); color: var(--sub); }
.word { display: inline-block; overflow: hidden; padding-bottom: .08em; vertical-align: top; }
.word > span { display: inline-block; }
.js-motion .word > span { animation: word-up .9s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes word-up { from { transform: translateY(110%); opacity: 0; } }
@keyframes sub-reveal { from { clip-path: inset(0 0 100% 0); transform: scale(1.12); } to { clip-path: inset(0); transform: scale(1.04); } }
@keyframes sub-drift { from { transform: scale(1.04); } to { transform: scale(1.04) translateX(-1.5%); } }

.sub-nav {
  position: sticky; top: calc(var(--hd-h) + var(--quick-top-h)); z-index: 50;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / .96);
}
.sub-nav a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 2em; font-size: 14px; color: var(--sub); transition: background .3s, color .3s; }
.sub-nav a[aria-current="page"] { background: var(--color-main1); border-color: var(--color-main1); color: #fff; }
.sub-body { padding: 48px 0 96px; }
.sub-body > :not(.s) { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sub-body > .s:first-child { padding-top: 0; }
.blk-images img { width: 100%; margin: 0 auto 24px; }
.blk-title { margin-bottom: 16px; font-size: 22px; font-weight: 700; }
.img-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.img-tabs button { padding: 10px 20px; border-radius: 2em; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--sub); }
.img-tabs button[aria-selected="true"] { background: var(--color-main1); color: #fff; }

/* =====================================================================
   17. 르파르크 더테라스 현장 확장 (2026-11-24)
   워드마크 · 라움형 히어로 · 카드 레일 · 프리미엄 6 · 입지도 · 지역발전 풀블리드 · 하이엔드 개요 · 예약
   ※ 현장 폴더 전용. 다른 현장에도 쓰려면 template/로 옮긴다 (사용자 확인 후)
   ===================================================================== */
:root {
  --f-display: "Cormorant Garamond", var(--f-en);
  --cream: color-mix(in srgb, var(--color-main3) 20%, #fff);
  --scrim: color-mix(in srgb, var(--color-main1) 92%, transparent);
  --danger: #b3261e;
}

/* 17.1 워드마크 ─────────────────────────────────────────── */
.wm { display: inline-flex; align-items: center; gap: .6em; line-height: 1; white-space: nowrap; color: inherit; }
.wm-main { font-family: var(--f-display); font-weight: 600; letter-spacing: .26em; margin-right: -.26em; }
.wm-rule { display: block; width: 1px; height: .95em; background: currentColor; opacity: .4; }
.wm-sub { font-family: var(--f-en); font-size: .46em; letter-spacing: .42em; margin-right: -.42em; color: var(--color-point); }
.wm.is-stack { flex-direction: column; gap: .55em; }
.wm.is-stack .wm-rule { width: 2.6em; height: 1px; }
.wm-mark { display: block; width: 1.9em; height: 1.9em; margin-bottom: .15em; color: var(--color-point); }
.wm-mark svg { width: 100%; height: 100%; }
.hd-logo.has-wm { font-size: 17px; }
.hd-logo.has-wm .wm { flex-direction: column; gap: 4px; }
.hd-logo.has-wm .wm-rule { display: none; }
.hd-logo.has-wm .wm-sub { font-size: .5em; }
.wm.is-hero { font-size: clamp(22px, 6.6vw, 30px); color: #fff; text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
.wm.is-hero .wm-sub { color: var(--color-main3); }
.ft-wm { margin-bottom: 22px; font-size: 26px; color: #fff; }
.intro-txt .wm { margin-top: 16px; font-size: 34px; }
@media (min-width: 991px) {
  /* 991~1199px: 가운데 GNB와 겹치지 않도록 2줄(스택) 로고 유지 */
  .hd-logo.has-wm { font-size: 20px; }
  .layout-brand .wm.is-hero { font-size: clamp(30px, 2.7vw, 46px); }
}
@media (min-width: 1200px) {
  /* 1줄 워드마크(약 263px + 거터)가 들어가도록 GNB 양옆 여백을 300 → 380px로 */
  .layout-brand .hd { --nav-w: min(52rem, calc(100vw - 760px)); }
  .hd-logo.has-wm { font-size: 23px; }
  .hd-logo.has-wm .wm { flex-direction: row; gap: .6em; }
  .hd-logo.has-wm .wm-rule { display: block; }
  .hd-logo.has-wm .wm-sub { font-size: .46em; }
}

/* 17.2 히어로 (라움형: 캡슐 서브 → 메인 → 워드마크 → 라인 → SPECIAL 박스 2) ─ */
.s-hero .hero-copy { flex: 1; padding-bottom: 30px; }
.hero-wm { margin-top: 2px; }
.s-hero .hero-specials { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: auto; text-align: left; }
.hero-specials li { padding: 12px 12px 13px; border: 1px solid rgb(255 255 255 / .32); background: color-mix(in srgb, var(--color-main1) 50%, transparent); backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: -0.02em; }
.hero-specials span { display: block; margin-bottom: 5px; font-family: var(--f-en); font-size: 11px; font-weight: 400; letter-spacing: .22em; color: var(--color-main3); }
.hero-note { position: absolute; right: var(--gutter); bottom: 8px; z-index: 2; font-size: 10px; color: rgb(255 255 255 / .55); }
@media (min-width: 991px) {
  .layout-brand .s-hero .hero-copy { flex: none; padding-bottom: 0; gap: 22px; }
  .layout-brand .hero-sub { padding: 9px 24px; border: 1px solid rgb(255 255 255 / .5); border-radius: 2em; font-size: 20px; backdrop-filter: blur(4px); background: rgb(255 255 255 / .06); }
  .layout-brand .hero-line { width: 100%; max-width: 32rem; height: 1px; background: rgb(255 255 255 / .45); }
  .layout-brand .s-hero .hero-specials { display: flex; width: auto; gap: 16px; margin-top: 2px; }
  .layout-brand .hero-specials li { min-width: 232px; padding: 18px 26px 20px; font-size: 19px; }
  .layout-brand .hero-specials span { font-size: 13px; margin-bottom: 8px; }
  .layout-brand .hero-note { right: 48px; bottom: 20px; font-size: 12px; }
}

/* 17.3 생활 인프라 카드 레일 (07~13 카드 원본) ─────────────── */
.s-cards .sec-head { text-align: left; margin-bottom: 24px; }
.rail-nav { display: none; }
.rail-track { display: flex; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline: 2px solid var(--color-point); outline-offset: 4px; }
.rail-track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail-item { flex: 0 0 78%; scroll-snap-align: start; }
.rail-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid color-mix(in srgb, var(--color-point) 30%, transparent); transition: transform .7s var(--ease-out), border-color .4s, box-shadow .7s; -webkit-user-drag: none; }
.rail-progress { display: block; height: 1px; margin-top: 24px; overflow: hidden; background: rgb(255 255 255 / .14); }
.rail-progress i { display: block; height: 100%; background: var(--color-point); transform: scaleX(.1); transform-origin: left; transition: transform .35s var(--ease-out); }
@media (min-width: 991px) {
  .layout-brand .s-cards .rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
  .layout-brand .s-cards .sec-head { margin: 0; }
  .layout-brand .rail-nav { display: flex; align-items: center; gap: 12px; }
  .rail-count { margin-right: 16px; font-family: var(--f-num); font-size: 14px; letter-spacing: .12em; color: rgb(255 255 255 / .45); }
  .rail-count b { font-weight: 600; color: #fff; }
  .rail-btn { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; color: #fff; transition: background .3s, border-color .3s, color .3s, opacity .3s; }
  .rail-btn .ico { width: 20px; height: 20px; }
  .rail-btn.is-prev .ico { transform: rotate(180deg); }
  .rail-btn:hover:not(:disabled) { background: var(--color-point); border-color: var(--color-point); color: var(--color-on-point); }
  .rail-btn:disabled { opacity: .28; cursor: default; }
  .layout-brand .rail-track { gap: 28px; margin: 0 calc(50% - 50vw) 0 0; padding: 12px var(--gutter) 12px 0; cursor: grab; }
  .layout-brand .rail-item { flex-basis: clamp(300px, 25vw, 400px); }
  .rail-item:hover img { transform: translateY(-10px); border-color: var(--color-point); box-shadow: 0 24px 48px rgb(0 0 0 / .35); }
}

/* 17.4 프리미엄 6 (아치 슬라이더 + 아이콘 탭 바) ─────────────── */
.is-cream { background: var(--cream); }
.pm .slide { display: grid; gap: 22px; }
.pm-text > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.pm .slide.is-active .pm-text > * { opacity: 1; transform: none; }
.pm .slide.is-active .pm-text > :nth-child(2) { transition-delay: .08s; }
.pm .slide.is-active .pm-text > :nth-child(3) { transition-delay: .16s; }
.pm .slide.is-active .pm-text > :nth-child(4) { transition-delay: .24s; }
.pm-no { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-display); font-size: 46px; font-weight: 500; line-height: 1; color: var(--color-point-ink); }
.pm-no span { font-family: var(--f-en); font-size: 12px; letter-spacing: .32em; color: var(--color-main2); }
.pm-label { margin-top: 14px; font-family: var(--f-serif); font-size: 18px; font-weight: 500; color: var(--color-main2); }
.pm-title { margin-top: 6px; font-size: 26px; font-weight: 600; line-height: 1.35; letter-spacing: -0.03em; }
.pm-title b { font-weight: 800; color: var(--color-main1); }
.pm-desc { margin-top: 16px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--color-point) 45%, transparent); font-size: 14px; color: var(--sub); }
.pm-arch { overflow: hidden; border-radius: 999px 999px 0 0; }
.pm-arch img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transform: scale(1.1); transition: transform 7s linear; }
.pm .slide.is-active .pm-arch img { transform: scale(1); }
.pm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid color-mix(in srgb, var(--color-main1) 14%, transparent); }
.pm-tab { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 4px 18px; color: var(--mute); transition: color .3s; }
.pm-tab .lico { width: 30px; height: 30px; color: var(--color-point-ink); opacity: .5; transition: opacity .3s, transform .4s var(--ease-out); }
.pm-tab-no { font-family: var(--f-num); font-size: 11px; letter-spacing: .14em; }
.pm-tab-label { font-size: 14px; font-weight: 600; letter-spacing: -0.02em; }
.bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--color-main1); transform: scaleX(0); transform-origin: left; }
.pm-tab.is-active { color: var(--color-main1); }
.pm-tab.is-active .lico, .pm-tab:hover .lico { opacity: 1; transform: translateY(-3px); }
@media (min-width: 991px) {
  .layout-brand .pm .slide { grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .layout-brand .pm-no { font-size: 76px; }
  .layout-brand .pm-label { margin-top: 22px; font-size: 22px; }
  .layout-brand .pm-title { margin-top: 10px; font-size: 44px; }
  .layout-brand .pm-desc { margin-top: 28px; padding-top: 26px; font-size: 17px; }
  .layout-brand .pm-arch { justify-self: center; width: min(100%, 460px); }
  .layout-brand .pm-arch img { aspect-ratio: 4 / 5; }
  .layout-brand .pm-tabs { grid-template-columns: repeat(6, 1fr); margin-top: 72px; }
  .layout-brand .pm-tab { padding: 26px 8px 4px; }
  .layout-brand .pm-tab + .pm-tab::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 6px; width: 1px; background: color-mix(in srgb, var(--color-main1) 10%, transparent); }
  .layout-brand .pm-tab .lico { width: 40px; height: 40px; }
  .layout-brand .pm-tab-label { font-size: 16px; }
}

/* 17.5 입지 (입지도 중심) ───────────────────────────────── */
.lc { display: grid; gap: 28px; }
.lc .sec-head { text-align: left; margin-bottom: 16px; }
.lc-body { font-size: 15px; color: var(--sub); }
.lc-icons { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lc-icons li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 2px; font-size: 13px; font-weight: 600; }
.lc-icons li + li { border-left: 1px solid var(--line); }
.lc-icons .lico { width: 30px; height: 30px; color: var(--color-point-ink); }
.lc-places { margin-top: 22px; }
.lc-places-tit { margin-bottom: 10px; font-family: var(--f-en); font-size: 12px; letter-spacing: .28em; color: var(--color-main2); }
.lc-places ul { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-places li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 2em; font-size: 13px; color: var(--sub); }
.lc-map { overflow: hidden; }
.lc-map img { width: 100%; transition: transform 1.4s var(--ease-out); }
.lc-map:hover img { transform: scale(1.03); }
.lc-map figcaption { margin-top: 10px; font-size: 12px; color: var(--mute); }
@media (min-width: 991px) {
  .layout-brand .lc { grid-template-columns: .85fr 1.25fr; gap: 80px; align-items: center; }
  .layout-brand .lc-body { font-size: 17px; }
  .layout-brand .lc-icons li { padding: 22px 4px; font-size: 15px; }
  .layout-brand .lc-icons .lico { width: 36px; height: 36px; }
}

/* 17.6 지역발전 호재 (풀블리드) ─────────────────────────── */
.s-develop { padding: 0; }
.dv { display: flex; flex-direction: column; }
.dv-head { order: -1; position: relative; padding: var(--sec-pad) var(--gutter) 28px; text-align: center; }
.dv-head .h2 b { color: var(--color-main3); }
.dv-deco { display: none; }
.dv-slide { position: relative; }
.dv-bg { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.dv-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.dv-slide.is-active .dv-bg img { transform: scale(1); }
.dv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim) 0%, color-mix(in srgb, var(--color-main1) 55%, transparent) 50%, transparent 80%); }
.dv-copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; z-index: 2; color: #fff; }
.dv-copy > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.dv-slide.is-active .dv-copy > * { opacity: 1; transform: none; }
.dv-slide.is-active .dv-copy > :nth-child(1) { transition-delay: .25s; }
.dv-slide.is-active .dv-copy > :nth-child(2) { transition-delay: .35s; }
.dv-slide.is-active .dv-copy > :nth-child(3) { transition-delay: .45s; }
.dv-slide.is-active .dv-copy > :nth-child(4) { transition-delay: .55s; }
.dv-slide.is-active .dv-copy > :nth-child(5) { transition-delay: .65s; }
.dv-tag { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-main3); }
.dv-tag span { font-family: var(--f-display); font-size: 24px; line-height: 1; color: var(--color-point); }
.dv-title { margin-top: 8px; font-family: var(--f-serif); font-size: 27px; font-weight: 500; line-height: 1.28; letter-spacing: -0.02em; }
.dv-quote { margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--color-main3); }
.dv-desc { margin-top: 8px; font-size: 13px; line-height: 1.65; color: rgb(255 255 255 / .74); }
.dv-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px solid rgb(255 255 255 / .22); }
.dv-stats li { display: flex; flex-direction: column; gap: 4px; padding: 12px 8px 0 0; }
.dv-stats li + li { padding-left: 10px; border-left: 1px solid rgb(255 255 255 / .22); }
.dv-stats .lico { width: 22px; height: 22px; color: var(--color-point); }
.dv-stats span { font-size: 11px; color: rgb(255 255 255 / .6); }
.dv-stats strong { font-family: var(--f-serif); font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--color-main3); }
.dv-thumbs { display: flex; gap: 8px; padding: 16px var(--gutter) 12px; overflow-x: auto; scrollbar-width: none; }
.dv-thumbs::-webkit-scrollbar { display: none; }
.dv-thumb { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 14px 9px 8px; border: 1px solid rgb(255 255 255 / .14); color: rgb(255 255 255 / .55); text-align: left; transition: color .3s, border-color .3s, background .3s; }
.dv-thumb-img { flex-shrink: 0; width: 44px; height: 44px; overflow: hidden; }
.dv-thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), filter .4s; }
.dv-thumb-txt { font-size: 12px; line-height: 1.3; }
.dv-thumb-txt em { display: block; font-family: var(--f-display); font-size: 15px; font-style: normal; color: var(--color-point); }
.dv-thumb .bar { top: auto; bottom: -1px; }
.dv-thumb .bar i { background: var(--color-point); }
.dv-thumb.is-active { border-color: rgb(255 255 255 / .42); background: rgb(255 255 255 / .06); color: #fff; }
.dv-note { padding: 4px var(--gutter) 28px; font-size: 11px; color: rgb(255 255 255 / .45); }
@media (min-width: 991px) {
  .layout-brand .dv { display: block; position: relative; height: 100vh; height: 100svh; min-height: 760px; max-height: 1080px; }
  .layout-brand .dv .slides { position: absolute; inset: 0; }
  .layout-brand .dv-bg { position: absolute; inset: 0; aspect-ratio: auto; }
  .layout-brand .dv-bg::after { background: linear-gradient(90deg, var(--scrim) 0%, color-mix(in srgb, var(--color-main1) 62%, transparent) 38%, transparent 70%), linear-gradient(to top, color-mix(in srgb, var(--color-main1) 85%, transparent) 0%, transparent 38%), linear-gradient(to bottom, color-mix(in srgb, var(--color-main1) 70%, transparent), transparent 32%); }
  .layout-brand .dv-head { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: calc(var(--hd-h) + 64px) var(--gutter) 0; pointer-events: none; }
  .layout-brand .dv-deco { display: block; position: absolute; top: calc(var(--hd-h) + 18px); left: 50%; z-index: -1; transform: translateX(-50%); font-family: var(--f-en); font-size: clamp(90px, 11vw, 200px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .16); }
  .layout-brand .dv-copy { left: max(var(--gutter), calc(50% - 600px)); right: auto; bottom: 104px; width: min(520px, 38vw); }
  .layout-brand .dv-tag { font-size: 15px; }
  .layout-brand .dv-tag span { font-size: 30px; }
  .layout-brand .dv-title { font-size: clamp(34px, 2.9vw, 44px); }
  .layout-brand .dv-quote { margin-top: 16px; font-size: 19px; }
  .layout-brand .dv-desc { margin-top: 12px; font-size: 16px; }
  .layout-brand .dv-stats { margin-top: 28px; }
  .layout-brand .dv-stats li { padding-top: 18px; gap: 6px; }
  .layout-brand .dv-stats li + li { padding-left: 18px; }
  .layout-brand .dv-stats .lico { width: 28px; height: 28px; }
  .layout-brand .dv-stats span { font-size: 13px; }
  .layout-brand .dv-stats strong { font-size: 21px; }
  .layout-brand .dv-thumbs { position: absolute; right: max(var(--gutter), calc(50% - 600px)); bottom: 104px; z-index: 3; gap: 12px; padding: 0; overflow: visible; }
  .layout-brand .dv-thumb { flex-direction: column; align-items: flex-start; gap: 12px; width: clamp(112px, 9.4vw, 140px); padding: 0 0 14px; border: 0; background: none; }
  .layout-brand .dv-thumb-img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .dv-thumb-img img { filter: grayscale(.5) brightness(.7); }
  .dv-thumb.is-active .dv-thumb-img img, .dv-thumb:hover .dv-thumb-img img { filter: none; }
  .dv-thumb:hover .dv-thumb-img img { transform: scale(1.06); }
  .layout-brand .dv-thumb-txt { font-size: 14px; }
  .layout-brand .dv-thumb-txt em { font-size: 18px; margin-bottom: 2px; }
  .layout-brand .dv-thumb .bar { background: rgb(255 255 255 / .2); }
  .layout-brand .dv-note { position: absolute; left: max(var(--gutter), calc(50% - 600px)); bottom: 32px; z-index: 3; padding: 0; font-size: 12px; }
}

/* 17.7 사업개요 (하이엔드형) ─────────────────────────────── */
.ov2-visual { position: relative; margin: 0 calc(var(--gutter) * -1) 40px; overflow: hidden; }
.ov2-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ov2-visual figcaption { position: absolute; left: var(--gutter); bottom: 14px; font-family: var(--f-en); font-size: 11px; letter-spacing: .3em; color: rgb(255 255 255 / .88); text-shadow: 0 1px 8px rgb(0 0 0 / .4); }
.ov2 { display: grid; gap: 40px; }
.ov2-intro .eyebrow { text-align: left; }
.ov2-statement { margin-top: 16px; font-family: var(--f-display); font-size: 42px; font-weight: 400; line-height: 1.05; color: var(--color-main1); }
.ov2-statement em { font-style: italic; color: var(--color-point-ink); }
.ov2-title { margin-top: 18px; font-family: var(--f-serif); font-size: 20px; font-weight: 500; line-height: 1.55; letter-spacing: -0.02em; }
.ov2-title b { font-weight: 700; color: var(--color-point-ink); }
.ov2-lead { margin-top: 12px; font-size: 14px; color: var(--sub); }
.ov2-figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; border-top: 1px solid var(--color-main1); }
.ov2-figs li { padding-top: 18px; }
.ov2-figs li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.ov2-figs strong { display: block; font-family: var(--f-display); font-size: 40px; font-weight: 500; line-height: 1; color: var(--color-main1); }
.ov2-figs small { margin-left: 3px; font-family: var(--f-sans); font-size: 13px; font-weight: 600; }
.ov2-figs span { display: block; margin-top: 8px; font-size: 12px; color: var(--mute); }
.ov2-specs { border-top: 1px solid var(--color-main1); }
.ov2-row { display: grid; grid-template-columns: 108px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ov2-row dt { font-size: 14px; font-weight: 600; color: var(--color-main1); }
.ov2-row dt em { display: block; margin-bottom: 3px; font-family: var(--f-en); font-size: 10px; font-style: normal; letter-spacing: .28em; color: var(--color-main2); }
.ov2-row dd { font-size: 15px; }
@media (min-width: 991px) {
  .layout-brand .ov2-visual { margin: 0 0 104px; }
  .layout-brand .ov2-visual img { aspect-ratio: 21 / 9; }
  .layout-brand .ov2-visual figcaption { left: 32px; bottom: 24px; font-size: 12px; }
  .layout-brand .ov2 { grid-template-columns: 1fr 1.05fr; gap: 120px; align-items: start; }
  .layout-brand .ov2-intro { position: sticky; top: calc(var(--hd-h) + 48px); }
  .layout-brand .ov2-statement { font-size: clamp(56px, 4.6vw, 80px); }
  .layout-brand .ov2-title { margin-top: 28px; font-size: 26px; }
  .layout-brand .ov2-lead { font-size: 16px; }
  .layout-brand .ov2-figs { margin-top: 48px; }
  .layout-brand .ov2-figs strong { font-size: 60px; }
  .layout-brand .ov2-figs span { font-size: 14px; }
  .layout-brand .ov2-row { grid-template-columns: 200px 1fr; padding: 26px 0; }
  .layout-brand .ov2-row dt { font-size: 16px; }
  .layout-brand .ov2-row dt em { font-size: 11px; }
  .layout-brand .ov2-row dd { font-size: 18px; }
}

/* 17.8 예약 (상담 정보 + 폼 카드) ───────────────────────── */
.rv-bg { position: absolute; inset: 0; z-index: 0; }
.rv-bg img { width: 100%; height: 100%; object-fit: cover; }
.rv-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--color-main1) 93%, transparent), color-mix(in srgb, var(--color-main1) 97%, transparent)); }
.rv { z-index: 1; display: grid; gap: 32px; }
.rv .sec-head { text-align: left; margin-bottom: 22px; }
.rv-tel { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid rgb(255 255 255 / .22); border-bottom: 1px solid rgb(255 255 255 / .22); }
.rv-tel span { font-size: 13px; color: var(--color-main3); }
.rv-tel strong { font-family: var(--f-display); font-size: 50px; font-weight: 500; line-height: 1; letter-spacing: .03em; color: #fff; }
.rv-meta div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .12); font-size: 14px; }
.rv-meta dt { display: flex; align-items: center; gap: 8px; color: var(--color-main3); }
.rv-meta .lico { width: 18px; height: 18px; color: var(--color-point); }
.rv-meta dd { color: rgb(255 255 255 / .86); }
.rv-form { max-width: none; min-height: 0; margin: 0; padding: 28px 22px; border-radius: 0; box-shadow: 0 30px 60px rgb(0 0 0 / .25); }
.mf-tit { margin-bottom: 18px; font-family: var(--f-serif); font-size: 21px; font-weight: 600; color: var(--color-main1); }
.mf-grid { display: grid; gap: 12px; }
.mf-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--sub); }
.mf-field input, .mf-field select { height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.mf-field input:focus-visible, .mf-field select:focus-visible { outline: none; border-color: var(--color-main1); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-main1) 14%, transparent); }
.mf-agree { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; cursor: pointer; }
.mf-agree input { width: 18px; height: 18px; accent-color: var(--color-main1); }
.mf-agree small { color: var(--color-point-ink); }
.mf-terms { margin-top: 8px; font-size: 12px; color: var(--mute); }
.mf-terms summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.mf-terms p { margin-top: 8px; padding: 12px; background: var(--soft); line-height: 1.6; }
.mf-submit { width: 100%; height: 58px; margin-top: 22px; background: var(--color-main1); color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; transition: background .3s, color .3s; }
.mf-submit:hover { background: var(--color-point); color: var(--color-on-point); }
.mf-msg { min-height: 1.4em; margin-top: 12px; font-size: 13px; color: var(--danger); }
.mf-msg.is-ok { color: var(--color-point-ink); font-weight: 600; }
@media (min-width: 991px) {
  .layout-brand .rv { grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
  .layout-brand .rv-tel { padding: 28px 0; }
  .layout-brand .rv-tel span { font-size: 15px; }
  .layout-brand .rv-tel strong { font-size: 76px; }
  .layout-brand .rv-meta div { grid-template-columns: 140px 1fr; padding: 18px 0; font-size: 16px; }
  .layout-brand .rv-form { padding: 48px 44px; }
  .layout-brand .mf-grid { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
}

/* 17.9 v3 (2026-11-24) : 클라이언트 투시도 · 히어로 크롭 · DB카트 대기 카드 ─────── */
/* 사업개요 좌측 컬럼 하단의 공식 투시도 (PC에서는 sticky 컬럼의 빈 공간을 채운다) */
.ov2-ext { margin-top: 32px; }
.ov2-ext img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ov2-ext figcaption { margin-top: 10px; font-family: var(--f-en); font-size: 11px; letter-spacing: .24em; color: var(--mute); }
@media (min-width: 991px) {
  .layout-brand .ov2-ext { margin-top: 48px; }
  /* GPT 히어로(1918×820)는 건물이 오른쪽 → 좌측 카피 영역에 하늘이 오도록 우측 기준 크롭 */
  .layout-brand .s-hero .hero-bg { object-position: 74% 50%; }
}
/* DB카트 연결 전 대기 카드 : 임베드 폼 높이만큼 자리를 잡아 연결 시 레이아웃이 튀지 않게 */
.form-fallback.is-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; padding: 32px 8px; border: 1px solid var(--line); }
.ff-eyebrow { margin-bottom: 12px; font-family: var(--f-en); font-size: 12px; letter-spacing: .32em; color: var(--color-main2); }
.is-pending .ff-tit { font-family: var(--f-serif); font-size: 24px; font-weight: 600; }
.is-pending .ff-txt { margin-top: 12px; font-size: 15px; line-height: 1.7; }
.is-pending .ff-btn { margin-top: 28px; padding: 16px 34px; border-radius: 0; background: var(--color-main1); color: #fff; font-size: 17px; letter-spacing: .02em; transition: background .3s, color .3s; }
.is-pending .ff-btn:hover { background: var(--color-point); color: var(--color-on-point); }
@media (min-width: 991px) { .form-fallback.is-pending { min-height: 480px; } }

/* =====================================================================
   18. 아크메르 동탄 현장 확장 (2026-11-24)
   국문 워드마크 서체 · 프리미엄 N탭 · 청약 일정 타임라인
   ※ 현장 폴더 전용. 다른 현장에도 쓰려면 template/로 옮긴다 (사용자 확인 후)
   ===================================================================== */
/* 국문 워드마크(아크메르)·국문 디스플레이 글자는 Noto Serif KR로 받는다 */
:root { --f-display: "Cormorant Garamond", "Noto Serif KR", var(--f-en); }

/* 프리미엄 탭 수 = 항목 수 (render.js가 --n을 넣는다) */
.pm-tabs { grid-template-columns: repeat(var(--n, 3), 1fr); }
@media (min-width: 991px) { .layout-brand .pm-tabs { grid-template-columns: repeat(var(--n, 6), 1fr); } }

/* 18.1 청약 일정 (MO 세로 → PC 가로) ─────────────────────── */
.s-schedule { position: relative; overflow: hidden; }
.sch-year { position: absolute; top: 24px; right: -0.04em; font-family: var(--f-display); font-size: clamp(110px, 34vw, 300px); font-weight: 500; line-height: 1; color: rgb(255 255 255 / .045); pointer-events: none; user-select: none; }
.s-schedule .sec-head { position: relative; }
.sch { position: relative; display: grid; margin-top: 8px; list-style: none; }
.sch::before { content: ""; position: absolute; top: 30px; bottom: 30px; left: 5px; width: 1px; background: color-mix(in srgb, var(--color-point) 45%, transparent); }
.sch-item { position: relative; display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 4px 10px; padding: 20px 0 20px 30px; border-bottom: 1px solid rgb(255 255 255 / .1); }
.sch-dot { position: absolute; top: 50%; left: 0; width: 11px; height: 11px; margin-top: -5.5px; border: 1px solid var(--color-point); border-radius: 50%; background: var(--color-main1); transition: background .4s, box-shadow .4s; }
.sch-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.sch-date b { font-family: var(--f-num); font-size: 24px; font-weight: 600; letter-spacing: .02em; color: #fff; }
.sch-date small { font-size: 13px; color: var(--color-main3); }
.sch-label { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: rgb(255 255 255 / .92); }
.sch-label span { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid rgb(255 255 255 / .28); font-size: 12px; font-weight: 500; letter-spacing: 0; vertical-align: 2px; color: var(--color-main3); }
.sch-state { padding: 2px 8px; background: var(--color-point); color: var(--color-on-point); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .04em; }
.sch-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* 상태: done(지난 일정) · today(오늘) · next(다가오는 일정) */
.sch-item.is-done .sch-date, .sch-item.is-done .sch-label { opacity: .42; }
.sch-item.is-done .sch-state { background: transparent; border: 1px solid rgb(255 255 255 / .4); color: #fff; }
.sch-item.is-done .sch-dot { background: color-mix(in srgb, var(--color-point) 55%, var(--color-main1)); }
.sch-item.is-today .sch-dot, .sch-item.is-next .sch-dot { background: var(--color-point); box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-point) 22%, transparent); }
.sch-item.is-today .sch-date b, .sch-item.is-next .sch-date b { color: var(--color-point); }
@media (min-width: 991px) {
  .layout-brand .sch-year { top: 64px; right: 40px; }
  .layout-brand .sch { grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 40px; }
  .layout-brand .sch::before { top: 5px; bottom: auto; left: 0; right: 0; width: auto; height: 1px; }
  .layout-brand .sch-item { grid-template-columns: 1fr; align-content: start; gap: 0; padding: 40px 24px 0 0; border-bottom: 0; }
  .layout-brand .sch-dot { top: 0; margin-top: 0; }
  .layout-brand .sch-date b { font-size: 42px; font-weight: 500; }
  .layout-brand .sch-date small { font-size: 15px; }
  .layout-brand .sch-label { margin-top: 14px; font-size: 18px; }
  .layout-brand .sch-label span { display: table; margin: 10px 0 0; }
}

/* 18.2 QA 보정 ─────────────────────────────────────────── */
/* Cormorant 기본 숫자는 올드스타일(내려앉는 숫자) → 배경 연도는 라이닝 숫자로 */
.sch-year { font-variant-numeric: lining-nums; }
/* 개관 이벤트 3개: MO 2열에서 홀수 마지막 카드는 한 줄 전체 */
@media (max-width: 990px) { .s-benefits .benefit:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* 배경 연도는 헤드라인 뒤(위쪽)로: 타임라인 날짜와 겹치지 않게 */
.sch-year { top: -0.08em; }
@media (min-width: 991px) { .layout-brand .sch-year { top: -0.08em; right: 40px; } }
/* 8단계(계약·잔여 세대 포함)도 PC 한 줄에 들어가도록 날짜 크기를 폭에 맞춘다 */
@media (min-width: 991px) {
  .layout-brand .sch-item { padding-right: 16px; }
  .layout-brand .sch-date b { font-size: clamp(28px, 2.4vw, 40px); }
  .layout-brand .sch-label { font-size: 17px; }
}

/* =====================================================================
   18.3 클라이언트 수정 (2026-11-24)
   ① 히어로 영문 HYPER-END · ③ 분양 일정 날짜 크기 · ④ 사업개요 좌우 높이 맞춤
   ===================================================================== */
/* ① 영문 키워드는 사이트의 영문 디스플레이 서체(Cormorant)로. 세리프는 대문자 높이가 낮아 1.1배로 국문 높이에 맞춘다 */
.hero-en { font-family: var(--f-display); font-size: 1.1em; font-weight: 600; letter-spacing: .01em; }

/* ③ 날짜를 작게 → 8단계 사이 여백 확보 */
.sch-date b { font-size: 21px; }
@media (min-width: 991px) {
  .layout-brand .sch-date b { font-size: clamp(22px, 1.75vw, 27px); font-weight: 500; letter-spacing: .03em; }
  .layout-brand .sch-date small { font-size: 13px; }
  .layout-brand .sch-label { margin-top: 12px; font-size: 16px; }
}

/* ④ 사업개요 PC: 좌(영문 스테이트먼트~사진)와 우(스펙 표)의 위·아래 끝선을 맞춘다
   두 칸을 같은 높이로 늘리고(stretch), 표의 행이 남는 높이를 똑같이 나눠 가진다 → 행마다 여유 + 끝선 일치
   행 내용은 세로 가운데 정렬. 좌측 sticky는 높이가 같아져 필요 없으므로 끈다 */
.ov2-row { align-items: center; padding: 18px 0; }
@media (min-width: 991px) {
  .layout-brand .ov2 { align-items: stretch; }
  .layout-brand .ov2-intro { position: static; display: flex; flex-direction: column; }
  .layout-brand .ov2-intro > .eyebrow { margin-top: -0.35em; }        /* 아이브로 글자 윗선 = 표 윗선 */
  .layout-brand .ov2-ext { margin-top: auto; padding-top: 48px; }       /* 사진 묶음을 칸 바닥에 붙인다 */
  .layout-brand .ov2-specs { display: flex; flex-direction: column; }
  .layout-brand .ov2-row { flex: 1; grid-template-columns: 176px 1fr; padding: 22px 0; }
  .layout-brand .ov2-row dt em { margin-bottom: 5px; }
  .layout-brand .ov2-row dd { font-size: 17px; line-height: 1.55; }
}
/* ① MO: HYPER-END는 하이픈에서 끊지 않는다. 2줄째("HYPER-END를 짓다" ≈ 9.3em)가 한 줄에 들어가도록 헤드라인을 화면 폭에 맞춘다 */
.hero-en { white-space: nowrap; }
@media (max-width: 990px) { .hero-main { font-size: clamp(30px, 9.3vw, 44px); } }

/* 18.4 B형 단일 페이지 전환 (2026-11-25) : 평면 탭 단지 구분(95·99) */
.unit-tab em, .unit-type em { margin-right: 5px; font-style: normal; font-size: .62em; font-weight: 600; letter-spacing: .04em; opacity: .55; }
/* 무상제공 품목: 가로 스크롤 → 그리드(MO 2열 · 단일 컬럼 PC 3열), 세로 사진은 4:5로 */
.s-views .scroller { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 10px; margin: 0; padding: 0; overflow: visible; }
.s-views .scroller figure { min-width: 0; }
.s-views .scroller img { aspect-ratio: 4 / 5; }
@media (min-width: 600px) { .s-views .scroller { grid-template-columns: repeat(3, 1fr); gap: 24px 14px; } }
/* 단지 배치도: 범례·투시도까지 보이도록 자르지 않는다 */
.s-interior .scroller { align-items: flex-start; }
.s-interior .scroller figure { flex-basis: 88%; }
.s-interior .scroller img { aspect-ratio: auto; object-fit: contain; background: #fff; }
/* 국문 캡션은 국문 서체로 (영문 서체 자간이 한글을 벌려 놓는다) */
.s-views .scroller figcaption, .s-interior .scroller figcaption { font-family: var(--f-sans); font-size: 13px; line-height: 1.45; letter-spacing: -0.01em; color: var(--sub); }
/* 팝업: 세로형 공식 팝업 이미지를 자르지 않고 화면 높이에 맞춘다 */
.promo-title { font-size: 22px; }
.promo-body img { display: block; width: auto; max-width: 100%; max-height: min(52vh, 460px); margin: 14px auto 0; aspect-ratio: auto; object-fit: contain; }
.promo-cta { margin: 16px -20px 0; }
