:root {
  color-scheme: light;
  --bg: #F8F6F2;
  --bg-alt: #EFEAE2;
  --ink: #1A1815;
  --ink-muted: #5B564E;
  --ink-subtle: #8A8378;
  --border: #E2DBCF;
  --accent: #B5663A;
  --accent-ink: #7C4527;
  --dark-surface: #1F1B17;
  --on-dark: #F8F6F2;
  --on-dark-muted: #C9C2B8;
  --font-body: "Pretendard", -apple-system, sans-serif;
  --font-display: "Pretendard", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lede {
  color: var(--ink-muted);
  font-size: 17px;
  max-width: 56ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-accent { background: var(--accent); color: var(--on-dark); }
.btn-accent:hover { background: var(--accent-ink); }

.btn-outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(248, 246, 242, 0.4);
}
.btn-outline-light:hover { background: rgba(248, 246, 242, 0.1); }

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

.chapter-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(8px);
}
.chapter-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.chapter-nav-brand {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 15px;
}
.chapter-nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  flex: 1;
  overflow-x: auto;
}
.chapter-nav-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 250ms ease;
}
.chapter-nav-list a:hover { color: var(--accent); }
.chapter-nav-list a[aria-current="true"] { color: var(--accent); }
.chapter-nav-cta {
  justify-content: center;
  min-width: 168px;
  padding: 12px 26px;
  font-size: 15px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.chapter-nav-cta svg { flex: none; width: 16px; height: 16px; }

main#pageContent { padding-top: 60px; }

.chapter { padding: 64px 0; }
.sale-group, .chapter { scroll-margin-top: 76px; }

.phone-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.phone-modal[aria-hidden="false"] { display: block; }
.phone-modal-backdrop { position: absolute; inset: 0; background: rgba(26, 24, 21, 0.6); }
.phone-modal-panel {
  position: relative;
  max-width: 360px;
  margin: 15vh auto 0;
  background: var(--dark-surface);
  color: var(--on-dark);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.phone-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: var(--on-dark);
  font-size: 20px; cursor: pointer;
}
.phone-modal-word { font-family: var(--font-display); font-weight: 900; font-size: 20px; margin: 8px 0; }
.phone-modal-number {
  display: block; font-size: 28px; font-weight: 700; margin: 12px 0;
  color: var(--on-dark);
  transition: color 250ms ease;
}
.phone-modal-number:hover, .phone-modal-number:active { color: var(--accent); }
.phone-modal-hint { color: var(--on-dark-muted); font-size: 13px; margin-bottom: 20px; }

.scroll-top-btn {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark-surface);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.scroll-top-btn:hover { background: var(--ink); }

.hero-split-top { display: flex; min-height: 540px; }
.hero-photo-panel { position: relative; width: 58%; flex-shrink: 0; overflow: hidden; background: #221E1A; }

/* 사진만 클리핑 — 위에 얹은 문구는 따로 움직인다 */
.hero-photo-clip { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 100% 0 0); }
.hero-split.is-in .hero-photo-clip { clip-path: inset(0 0 0 0); transition: clip-path 1.05s cubic-bezier(0.76, 0, 0.24, 1); }
.hero-photo-clip img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.06);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.06) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1.4%, -1.2%, 0); }
}
/* 문구가 읽히도록 아래쪽을 어둡게 */
.hero-photo-clip::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.84) 0%, rgba(20,18,16,0.5) 26%, rgba(20,18,16,0.1) 54%, transparent 74%);
}

.hero-photo-tag {
  position: absolute; left: 22px; top: 20px; z-index: 4;
  background: rgba(26,24,21,0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--on-dark);
  font-size: 11px; letter-spacing: 0.04em;
  padding: 6px 13px; border-radius: 999px;
  opacity: 0;
  transition: opacity 0.6s ease 0.35s;
}
.hero-split.is-in .hero-photo-tag { opacity: 1; }

/* 사진 위 문구 — 마크힐은, 마크힐을 아는 곳에서 */
.hero-photo-over { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 4; }
.hero-over-line { display: block; overflow: hidden; }
.hero-over-line i {
  display: inline-block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.35vw, 33px);
  line-height: 1.24;
  letter-spacing: -0.022em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
  transform: translateY(108%);
}
.hero-split.is-in .hero-over-line i { transform: translateY(0); transition: transform 0.85s cubic-bezier(0.19, 1, 0.22, 1); }
.hero-split.is-in .hero-over-line:nth-of-type(1) i { transition-delay: 0.92s; }
.hero-split.is-in .hero-over-line:nth-of-type(2) i { transition-delay: 1.06s; }
.hero-over-line .accent { color: #E8A87C; }

.hero-over-rule { height: 2px; width: 0; background: var(--accent); border-radius: 2px; margin: 15px 0 11px; }
.hero-split.is-in .hero-over-rule { width: 46px; transition: width 0.55s cubic-bezier(0.19, 1, 0.22, 1) 1.42s; }

.hero-over-sub {
  font-size: 12.5px; letter-spacing: 0.01em;
  color: rgba(248, 246, 242, 0.9);
  opacity: 0; transform: translateY(9px); filter: blur(5px);
}
.hero-split.is-in .hero-over-sub {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1.55s,
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1) 1.55s,
              filter 0.7s ease 1.55s;
}
.hero-over-sub b { color: #fff; font-weight: 700; }
.hero-content-panel {
  width: 42%;
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
  padding: 40px clamp(24px, 4vw, 56px);
}
.hero-wordmark {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em;
}
.hero-wordmark .w { display: block; overflow: hidden; }
.hero-wordmark .w i { display: inline-block; font-style: normal; white-space: nowrap; transform: translateY(105%); }
.hero-wordmark .w.accent i { color: var(--accent); }
.hero-split.is-in .hero-wordmark .w i { transform: translateY(0); transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.hero-split.is-in .hero-wordmark .w.accent i { transition-delay: 0.09s; }

.hero-head { display: flex; align-items: center; gap: 16px; }
.hero-copy {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-muted);
}
.hero-copy strong { color: var(--ink); font-weight: 700; }
.hero-copy::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 2px; height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
}
.hero-copy.is-visible::before { transform: scaleY(1); transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); }
.hero-copy-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(9px);
  filter: blur(7px);
}
.hero-copy.is-visible .hero-copy-word {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.6s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-cards { display: flex; flex-direction: column; gap: 10px; }
.hero-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.hero-card:hover { box-shadow: 0 6px 18px rgba(26,24,21,0.1); transform: translateY(-1px); }
@keyframes heroCardWave {
  0%   { transform: translateY(0);    color: var(--ink-muted); }
  45%  { transform: translateY(-4px); color: var(--accent); }
  100% { transform: translateY(0);    color: var(--accent); }
}
@media (hover: hover) {
  .hero-card:hover.is-revealed .hero-card-word {
    animation: heroCardWave 0.55s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: calc(var(--i) * 40ms);
  }
  .hero-card:hover .hero-card-arrow { transform: translateX(3px); }
}
.hero-card-icon { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.hero-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-text { display: flex; flex-direction: column; }
.hero-card-title { font-weight: 700; font-size: 15px; }
.hero-card-sub { font-size: 10px; color: var(--ink-subtle); letter-spacing: 0.06em; }
.hero-card-desc { flex: 1; font-size: 11px; color: var(--ink-muted); padding-left: 13px; border-left: 1px solid var(--border); }
.hero-card-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(7px);
  filter: blur(5px);
}
.hero-card.is-revealed .hero-card-word {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: calc(var(--i) * 45ms);
}
.hero-card-arrow {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-card.is-revealed .hero-card-arrow { opacity: 1; }

.hero-statbar { display: flex; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.hero-stat { flex: 1; text-align: center; padding: 18px 8px; border-right: 1px solid var(--border); }
.hero-stat:last-child { border-right: none; }
.hero-stat b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.hero-stat span { font-size: 12px; color: var(--ink-subtle); }

@media (prefers-reduced-motion: reduce) {
  .hero-card { transition: none; }
  .hero-copy-word, .hero-card-word, .hero-card-arrow {
    opacity: 1; transform: none; filter: none;
  }
  .hero-copy::before { transform: scaleY(1); }
  .hero-photo-clip, .hero-split.is-in .hero-photo-clip { clip-path: none !important; transition: none !important; }
  .hero-photo-clip img { animation: none !important; transform: none !important; }
  .hero-over-line i, .hero-wordmark .w i { transform: none !important; transition: none !important; }
  .hero-over-sub { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero-over-rule { width: 46px !important; transition: none !important; }
  .hero-photo-tag { opacity: 1 !important; transition: none !important; }
}

/* 역사 — 스티키 연도 레일 + 대형 사진 타임라인 */
.htl { display: grid; grid-template-columns: 250px 1fr; gap: 40px; margin-top: 40px; }
.htl-rail { position: sticky; top: 88px; align-self: start; }
.htl-year {
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 52px; line-height: 1;
  color: var(--ink); letter-spacing: -0.03em; margin-bottom: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.htl-year.is-swapping { opacity: 0; transform: translateY(-8px); }
.htl-place { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 20px; transition: opacity 0.3s ease; }
.htl-place.is-swapping { opacity: 0; }
.htl-count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-subtle); letter-spacing: 0.1em; margin-bottom: 10px; }
.htl-count b { color: var(--ink); font-size: 15px; }
.htl-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 22px; }
.htl-bar i { display: block; height: 100%; width: 0%; background: var(--accent); border-radius: 2px; transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1); }
.htl-total { font-size: 12px; line-height: 1.7; color: var(--ink-subtle); border-top: 1px solid var(--border); padding-top: 14px; }
.htl-total b { color: var(--ink); font-size: 15px; font-family: 'JetBrains Mono', monospace; }

.htl-item { margin-bottom: 56px; opacity: 0; transform: translateY(28px); }
.htl-item:last-child { margin-bottom: 0; }
.htl-item.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.htl-photo { position: relative; border-radius: 14px; overflow: hidden; height: 270px; background: #221E1A; margin-bottom: 16px; }
.htl-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1) brightness(1);
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1), filter 0.55s ease;
}
.htl-item:hover .htl-photo img { transform: scale(1.05); filter: saturate(1.03) brightness(1.02); }
/* 6차 카드는 옥탑 선셋라운지 사진을 재사용 — 이 카드에서만 노을 톤을 살리기 위해 살짝 어둡게 */
.htl-item-now .htl-photo img { filter: saturate(0.97) brightness(0.88); }
.htl-item-now:hover .htl-photo img { filter: saturate(1) brightness(0.94); }
.htl-no {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 20px; letter-spacing: 0.07em;
  color: var(--on-dark); text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.htl-h { font-weight: 900; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; margin: 0 0 7px; }
.htl-h em { font-style: normal; color: var(--accent); }
.htl-d { font-size: 13.5px; line-height: 1.7; color: var(--ink-muted); margin: 0; max-width: 46ch; }
.htl-item-now .btn { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) {
  .htl-item { opacity: 1; transform: none; transition: none; }
  .htl-photo img, .htl-year, .htl-place, .htl-bar i { transition: none !important; }
}
@media (max-width: 720px) {
  .htl { grid-template-columns: 1fr; gap: 24px; }
  .htl-rail { position: static; }
  .htl-year { font-size: 40px; }
  .htl-item { margin-bottom: 40px; }
  .htl-photo { height: 210px; }
}

/* 1~5차 카드를 클릭하면 뜨는 상세 모달 (markhill_blog 원문 정리 내용) */
.htl-item[data-phase] { cursor: pointer; }
.htl-tap { font-size: 11.5px; font-weight: 700; color: var(--accent); margin-top: 10px; opacity: 0.8; transition: opacity 0.2s ease; }
.htl-item[data-phase]:hover .htl-tap { opacity: 1; }

.hm-overlay {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(20,18,16,0.6); padding: 5vh 20px; overflow-y: auto;
}
.hm-overlay.is-open { display: flex; }
.hm-modal {
  background: var(--bg); border-radius: 18px; max-width: 640px; width: 100%; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
  opacity: 0; transform: translateY(18px) scale(0.98);
  transition: opacity 0.28s cubic-bezier(0.23,1,0.32,1), transform 0.28s cubic-bezier(0.23,1,0.32,1);
}
.hm-overlay.is-open .hm-modal { opacity: 1; transform: none; }
.hm-modal-photo { position: relative; height: 220px; background: #221E1A; }
.hm-modal-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-modal-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.75) 0%, transparent 55%); }
.hm-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20,18,16,0.5); color: var(--on-dark); border: none; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.hm-close:hover { background: rgba(20,18,16,0.75); }
.hm-modal-tag { position: absolute; left: 24px; bottom: 16px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; color: rgba(248,246,242,0.75); }
.hm-modal-title { position: absolute; left: 24px; bottom: 34px; z-index: 2; font-weight: 900; font-size: 26px; color: var(--on-dark); letter-spacing: -0.01em; }
.hm-modal-body { padding: 26px 28px 30px; }
.hm-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.hm-spec { background: var(--bg-alt); border-radius: 10px; padding: 12px 14px; }
.hm-spec .k { font-size: 11px; color: var(--ink-subtle); margin-bottom: 4px; }
.hm-spec .v { font-size: 15px; font-weight: 800; color: var(--ink); font-family: 'JetBrains Mono', monospace; }
.hm-sec-title, .hm-feat-title { font-size: 12px; font-weight: 800; color: var(--accent-ink); letter-spacing: 0.04em; margin-bottom: 10px; text-transform: uppercase; }
.hm-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 22px; }
.hm-gallery-note { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-subtle); margin: -2px 0 2px; }
.hm-gcell { position: relative; border-radius: 10px; overflow: hidden; height: 118px; background: #221E1A; }
.hm-gcell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.23,1,0.32,1); }
.hm-gcell:hover img { transform: scale(1.06); }
.hm-gcell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,18,16,0.68) 0%, transparent 55%); }
.hm-gcell .lbl { position: absolute; left: 9px; bottom: 7px; z-index: 2; font-size: 11.5px; font-weight: 700; color: var(--on-dark); text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hm-feat { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hm-feat li { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); padding-left: 16px; position: relative; }
.hm-feat li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hm-feat li b { color: var(--ink); font-weight: 700; }
.hm-note { font-size: 11.5px; color: var(--ink-subtle); border-top: 1px solid var(--border); padding-top: 14px; }
@media (prefers-reduced-motion: reduce) {
  .hm-modal { transition: none !important; }
  .hm-gcell img { transition: none !important; }
}
@media (max-width: 560px) {
  .hm-specs, .hm-gallery { grid-template-columns: 1fr 1fr; }
}

.spec-table { width: 100%; border-collapse: collapse; margin: 32px 0; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th { width: 160px; color: var(--ink-subtle); font-weight: 600; font-size: 14px; }
.spec-table td { font-size: 15px; }
.spec-highlight {
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(transparent 62%, rgba(181, 102, 58, 0.16) 62%);
  padding: 0 1px;
}
.spec-strong { font-weight: 700; color: var(--ink); }
.siteplan-block img { border-radius: 12px; border: 1px solid var(--border); aspect-ratio: 1600 / 1131; object-fit: cover; }
.siteplan-caption {
  margin-top: 12px; font-size: 13px; color: var(--ink-subtle);
  opacity: 0; transform: translateY(8px); filter: blur(4px);
}
.siteplan-caption.is-revealed {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.55s cubic-bezier(0.23, 1, 0.32, 1);
}
.siteplan-scaler { transform-origin: center center; will-change: transform; }
.overview-intro > .eyebrow,
.overview-intro > .section-title,
.spec-row {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
}
.overview-intro.is-visible > .eyebrow,
.overview-intro.is-visible > .section-title,
.overview-intro.is-visible .spec-row {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-reduced-motion: reduce) {
  .overview-intro > .eyebrow,
  .overview-intro > .section-title,
  .spec-row {
    opacity: 1; transform: none; filter: none;
  }
  .siteplan-scaler { transform: none !important; }
  .siteplan-caption { opacity: 1; transform: none; filter: none; }
}

.feature-title { font-weight: 800; margin-bottom: 8px; }

.premium-intro > .eyebrow, .premium-intro > .section-title, .premium-intro > .section-lede {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
}
.premium-intro.is-visible > .eyebrow,
.premium-intro.is-visible > .section-title,
.premium-intro.is-visible > .section-lede {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.premium-intro.is-visible > .section-title { transition-delay: 90ms; }
.premium-intro.is-visible > .section-lede { transition-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  .premium-intro > .eyebrow, .premium-intro > .section-title, .premium-intro > .section-lede {
    opacity: 1; transform: none; filter: none;
  }
}

.acc { display: flex; gap: 8px; height: 420px; margin: 32px 0 12px; }
.acc-item {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: 12px; overflow: hidden; cursor: pointer;
  background: #1F1B17;
  transition: flex-grow 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.acc-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), filter 0.55s ease;
  filter: saturate(0.82) brightness(0.8);
}
.acc-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,24,21,0.86) 0%, rgba(26,24,21,0.6) 45%, rgba(26,24,21,0.38) 100%);
  transition: background 0.55s ease;
}
.acc-item:hover { flex-grow: 3.6; }
.acc-item:hover img { transform: scale(1.06); filter: saturate(1.04) brightness(1.06); }
.acc-item:hover::after {
  background: linear-gradient(to top, rgba(26,24,21,0.82) 0%, rgba(26,24,21,0.34) 38%, rgba(26,24,21,0) 68%);
}
.acc-num {
  position: absolute; top: 16px; left: 0; right: 0; z-index: 3;
  text-align: center; font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; color: rgba(248,246,242,0.7);
  transition: opacity 0.3s ease, text-align 0.3s ease;
}
.acc-item:hover .acc-num { text-align: left; padding-left: 22px; }
.acc-badge {
  position: absolute; top: 38px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: center;
  transition: justify-content 0.3s ease, padding-left 0.3s ease;
}
.acc-item:hover .acc-badge { justify-content: flex-start; padding-left: 22px; }
.acc-badge span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(248,246,242,0.34); color: rgba(248,246,242,0.9);
  background: rgba(26,24,21,0.34); backdrop-filter: blur(3px);
}
.acc-badge span.is-new {
  border-color: rgba(232,168,124,0.6); color: #F3C9A8; background: rgba(181,102,58,0.26);
}
.acc-vert {
  position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3;
  display: flex; justify-content: center; opacity: 1;
  transition: opacity 0.18s ease;
}
.acc-vert span {
  writing-mode: vertical-rl; font-weight: 800; font-size: 14.5px;
  letter-spacing: 0.03em; color: #F8F6F2; white-space: nowrap;
  text-shadow: 0 1px 8px rgba(26,24,21,0.5);
}
.acc-item:hover .acc-vert { opacity: 0; }
.acc-open {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 22px 24px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.acc-item:hover .acc-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.45s ease 0.15s, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.15s, visibility 0s;
}
.acc-open h3 { font-weight: 900; font-size: 21px; color: #F8F6F2; margin-bottom: 9px; letter-spacing: -0.01em; white-space: nowrap; }
.acc-open p { font-size: 13px; line-height: 1.65; color: rgba(248,246,242,0.88); max-width: 32ch; }
.acc-open .acc-key { color: #E8A87C; font-weight: 700; }
.acc-note { margin: 0 0 40px; font-size: 13px; font-weight: 700; color: #7C4527; letter-spacing: 0.01em; }
.acc-note-hl {
  background-image: linear-gradient(rgba(181,102,58,0.28), rgba(181,102,58,0.28));
  background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  padding: 1px 3px; border-radius: 3px;
}
.acc-note.is-visible .acc-note-hl {
  background-size: 100% 100%;
  transition: background-size 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .acc-item, .acc-item img, .acc-item::after, .acc-num, .acc-badge, .acc-vert, .acc-open {
    transition: none !important;
  }
  .acc-note-hl { background-size: 100% 100% !important; transition: none !important; }
}

.rooftop-intro { margin-top: 40px; }
.rooftop-title { font-weight: 900; letter-spacing: -0.015em; font-size: 30px; line-height: 1.2; color: var(--ink); margin: 4px 0 12px; }
.rooftop-key { color: var(--accent); font-weight: 700; }

/* 옥탑 타이틀 — 단어가 마스크 안에서 아래로부터 밀려 올라옴 */
.rt-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.rt-word i { display: inline-block; font-style: normal; transform: translateY(105%); }
.rooftop-intro.is-visible .rt-word i {
  transform: translateY(0);
  transition: transform 0.78s cubic-bezier(0.19, 1, 0.22, 1);
}
/* 이유브로우 / 부제 — 흐림 걷히며 올라옴, 같은 리빌 그룹 */
.rooftop-intro .rt-fade { opacity: 0; transform: translateY(12px); filter: blur(4px); }
.rooftop-intro.is-visible .rt-fade {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-reduced-motion: reduce) {
  .rt-word i { transform: none !important; transition: none !important; }
  .rooftop-intro .rt-fade { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* 벤토그리드 — 큰 타일(선셋라운지) + 수치 타일(2.93kw) + 사진 3장 */
.rooftop-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 152px; gap: 12px; margin: 28px 0 16px; }
.rooftop-cell {
  position: relative; border-radius: 14px; overflow: hidden; background: #221E1A;
  opacity: 0; transform: translateY(22px) scale(0.97);
}
.rooftop-bento.is-visible .rooftop-cell {
  opacity: 1; transform: none;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.rooftop-cell img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1), filter 0.55s ease;
  filter: saturate(1) brightness(1);
}
.rooftop-cell:hover img { transform: scale(1.05); filter: saturate(1.03) brightness(1.03); }
.rooftop-cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.88) 0%, rgba(20,18,16,0.3) 52%, rgba(20,18,16,0.06) 100%);
}
.rooftop-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; }
.rooftop-cap h4 { font-weight: 900; font-size: 16px; color: var(--on-dark); letter-spacing: -0.01em; margin: 0 0 4px; }
.rooftop-cap p { font-size: 12px; line-height: 1.55; color: var(--on-dark-muted); margin: 0; }
.rooftop-cell-big { grid-column: span 2; grid-row: span 2; }
.rooftop-cell-big .rooftop-cap { padding: 22px 24px; }
.rooftop-cell-big .rooftop-cap h4 { font-size: 24px; margin-bottom: 6px; }
.rooftop-cell-big .rooftop-cap p { font-size: 13px; max-width: 34ch; }

.rooftop-stat {
  background: linear-gradient(150deg, var(--accent) 0%, var(--accent-ink) 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 18px;
}
.rooftop-num { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 30px; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.rooftop-unit-kw { font-size: 17px; }
.rooftop-unit { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,0.82); margin-top: 6px; letter-spacing: 0.04em; }
.rooftop-desc { font-size: 12px; line-height: 1.55; color: rgba(255,255,255,0.9); margin-top: 12px; }
@media (prefers-reduced-motion: reduce) {
  .rooftop-cell, .rooftop-cell img { transition: none !important; }
}

.rooftop-note { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent-ink); letter-spacing: 0.01em; }
.rooftop-note-hl {
  background-image: linear-gradient(rgba(181,102,58,0.28), rgba(181,102,58,0.28));
  background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  padding: 1px 3px; border-radius: 3px;
}
.rooftop-note.is-visible .rooftop-note-hl {
  background-size: 100% 100%;
  transition: background-size 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.25s;
}
@media (prefers-reduced-motion: reduce) {
  .rooftop-note-hl { background-size: 100% 100% !important; transition: none !important; }
}
.area-table, .price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.area-table th, .price-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--bg-alt);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.area-table td, .price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.area-table td:first-child, .price-table td:first-child { font-weight: 700; color: var(--ink); }
.types-intro > .eyebrow, .types-intro > .section-title {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(5px);
}
.types-intro.is-visible > .eyebrow, .types-intro.is-visible > .section-title {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.types-intro.is-visible > .section-title { transition-delay: 90ms; }
@media (prefers-reduced-motion: reduce) {
  .types-intro > .eyebrow, .types-intro > .section-title { opacity: 1; transform: none; filter: none; }
}
.price-disclaimer { font-size: 13px; color: var(--ink-subtle); margin-bottom: 32px; }
.terms-block { display: grid; gap: 8px; font-size: 15px; }
.terms-hl {
  position: relative;
  font-weight: 700; color: var(--ink);
  background-image: linear-gradient(rgba(181, 102, 58, 0.22), rgba(181, 102, 58, 0.22));
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  padding: 0 3px;
  border-radius: 3px;
}
.terms-block.is-visible .terms-hl {
  background-size: 100% 100%;
  transition: background-size 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.terms-hl-num { color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .terms-hl { background-size: 100% 100%; }
}

.location-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.location-row:first-of-type { border-top: none; padding-top: 6px; }
.location-row-flip .location-text { order: 2; }
.location-num {
  font-size: 13px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.location-num::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.location-text .feature-title { font-size: 22px; margin-bottom: 14px; }
.location-list { list-style: none; padding: 0; margin: 0 0 16px; }
.location-list li {
  position: relative; padding-left: 14px; margin-bottom: 7px;
  font-size: 13.5px; line-height: 1.65; color: var(--ink-muted);
}
.location-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 1px; background: var(--accent);
}
.location-concl {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(181, 102, 58, 0.16) 62%);
  padding: 0 2px;
}
.location-concl span { color: var(--accent); }
.location-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.location-pics img {
  width: 100%; height: 150px; object-fit: cover; display: block;
  border-radius: 10px; border: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}
.location-row:hover .location-pics img {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(26, 24, 21, 0.13);
}
.location-row:hover .location-pics img:last-child { transition-delay: 0.06s; }
@media (prefers-reduced-motion: reduce) {
  .location-pics img { transition: none; }
}

.location-map { margin-top: 34px; }
.location-map-label { font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-subtle); margin-bottom: 10px; }
.location-map-embed { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); height: 300px; }
.location-map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.location-row, .location-map {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
}
.location-row.is-visible, .location-map.is-visible {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.7s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (prefers-reduced-motion: reduce) {
  .location-row, .location-map { opacity: 1; transform: none; filter: none; }
}

/* 갤러리 — 차수별 벤토 그리드, 커서 위치로 자동 스크롤 */
.bg-wrap { margin: 36px 0 8px; }
.bg-phase { margin-bottom: 30px; }
.bg-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.bg-head b { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: 0.02em; }
.bg-head span { font-size: 13px; color: var(--ink-subtle); }
.bg-head i { font-style: normal; margin-left: auto; font-size: 11.5px; color: var(--accent); font-weight: 700; }

.bg-view { position: relative; }
.bg-scroller {
  overflow-x: auto; overflow-y: hidden; padding: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.bg-scroller::-webkit-scrollbar { display: none; }

.bg-edge {
  position: absolute; top: 4px; bottom: 4px; width: 88px; z-index: 5; pointer-events: none;
  display: flex; align-items: center; opacity: 0; transition: opacity 0.3s ease;
}
.bg-edge.on { opacity: 1; }
.bg-edge-l { left: 0; justify-content: flex-start; padding-left: 10px;
  background: linear-gradient(to right, rgba(248,246,242,0.96), rgba(248,246,242,0)); border-radius: 12px 0 0 12px; }
.bg-edge-r { right: 0; justify-content: flex-end; padding-right: 10px;
  background: linear-gradient(to left, rgba(248,246,242,0.96), rgba(248,246,242,0)); border-radius: 0 12px 12px 0; }
.bg-edge span {
  width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--accent);
  box-shadow: 0 4px 14px rgba(26,24,21,0.18); display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
}

.bg-grid {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, 132px);
  grid-auto-columns: 176px; gap: 10px; width: max-content;
}
.bg-cell {
  position: relative; border-radius: 12px; overflow: hidden; background: #221E1A;
  cursor: pointer; border: none; padding: 0;
  transition: transform 0.3s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s ease;
}
.bg-cell:hover { transform: scale(1.02); box-shadow: 0 14px 34px rgba(26,24,21,0.22); z-index: 2; }
.bg-cell img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1) brightness(1);
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), filter 0.35s ease;
}
.bg-cell:hover img { transform: scale(1.06); filter: saturate(1.04) brightness(1.03); }
.bg-cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.82) 0%, rgba(20,18,16,0.28) 45%, transparent 75%);
  opacity: 0; transition: opacity 0.35s ease;
}
.bg-cell:hover::after { opacity: 1; }
.bg-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 0 12px 11px;
  text-align: left; color: var(--on-dark); opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.23,1,0.32,1);
}
.bg-cell:hover .bg-cap { opacity: 1; transform: none; }
.bg-cap b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.bg-cap span { display: block; font-size: 11.5px; color: var(--on-dark-muted); margin-top: 2px; }

.bg-s-2x2 { grid-row: span 2; grid-column: span 2; }
.bg-s-1x2 { grid-column: span 2; }
.bg-s-2x1 { grid-row: span 2; }

.bg-track { height: 3px; background: var(--border); border-radius: 2px; margin: 10px 4px 0; overflow: hidden; }
.bg-track i { display: block; height: 100%; background: var(--accent); border-radius: 2px; width: 0; }

@media (prefers-reduced-motion: reduce) {
  .bg-cell, .bg-cell img, .bg-cap, .bg-edge { transition: none !important; }
}
@media (max-width: 640px) {
  .bg-grid { grid-template-rows: repeat(2, 100px); grid-auto-columns: 130px; }
  .bg-edge { width: 56px; }
}

/* 갤러리 확대 모달 */
.bg-modal {
  position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center;
  background: rgba(18,16,14,0.86); padding: 4vh 20px;
}
.bg-modal.is-open { display: flex; }
.bg-modal-box {
  position: relative; max-width: 1000px; width: 100%;
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.25s cubic-bezier(0.23,1,0.32,1), transform 0.25s cubic-bezier(0.23,1,0.32,1);
}
.bg-modal.is-open .bg-modal-box { opacity: 1; transform: none; }
.bg-modal-box img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 12px; display: block; }
.bg-modal-cap { text-align: center; color: rgba(248,246,242,0.85); font-size: 13.5px; margin-top: 12px; }
.bg-modal-cap b { color: var(--on-dark); font-weight: 800; }
.bg-x {
  position: absolute; top: -46px; right: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: var(--on-dark);
  font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bg-x:hover { background: rgba(255,255,255,0.22); }
.bg-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: var(--on-dark);
  font-size: 21px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.bg-nav:hover { background: rgba(255,255,255,0.22); }
.bg-prev { left: -60px; } .bg-next { right: -60px; }
@media (prefers-reduced-motion: reduce) {
  .bg-modal-box { transition: none !important; }
}
@media (max-width: 820px) {
  .bg-prev { left: 6px; } .bg-next { right: 6px; } .bg-x { top: 6px; right: 6px; }
}

.gallery-group { margin: 40px 0; }
.gallery-group-label { color: var(--accent-ink); margin-bottom: 12px; }
.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.gallery-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; transition: transform 0.25s ease; }
.gallery-row img:hover { transform: scale(1.02); }
.gallery-group-current .gallery-row { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery-note { margin-top: 12px; font-size: 13px; color: var(--ink-subtle); }

.chapter-dark { background: var(--dark-surface); color: var(--on-dark); }
.contact-block { text-align: center; padding: 40px 0; }
.contact-card {
  margin: 32px auto 0;
  max-width: 420px;
  padding: 32px;
  border: 1px solid rgba(248,246,242,0.15);
  border-radius: 16px;
}
.contact-name { font-family: var(--font-display); font-weight: 900; font-size: 22px; margin-bottom: 8px; }
.contact-detail { color: var(--on-dark-muted); font-size: 14px; margin-bottom: 20px; }
.site-footer { background: var(--dark-surface); color: var(--on-dark-muted); padding: 40px 0; font-size: 13px; }
.footer-grid { display: grid; gap: 8px; }
.footer-word { font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--on-dark); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 640px) {
  .chapter-nav-inner { gap: 12px; }
  .chapter-nav-list .nav-long { display: none; }
  .chapter-nav-list { gap: 13px; }
  .spec-table th { width: 110px; font-size: 13px; }
  .area-table, .price-table { font-size: 12px; }
  .area-table th, .price-table th, .area-table td, .price-table td { padding: 8px 6px; }
  .chapter-nav-brand { display: none; }
  .chapter-nav-cta { min-width: 120px; padding: 9px 18px; font-size: 13.5px; }
  .chapter-nav-cta svg { width: 15px; height: 15px; }
  .hero-split-top { flex-direction: column; min-height: 0; }
  .hero-photo-panel { width: 100%; aspect-ratio: 4 / 3; }
  .hero-photo-over { left: 20px; right: 20px; bottom: 20px; }
  .hero-photo-tag { left: 16px; top: 14px; }
  .hero-over-rule { margin: 11px 0 8px; }
  .hero-content-panel { width: 100%; padding: 28px 20px; }
  .hero-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-card-desc { font-size: 10px; }
  .hero-statbar { flex-wrap: wrap; }
  .hero-stat { width: 50%; flex: 0 0 50%; border-bottom: 1px solid var(--border); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .scroll-top-btn { right: 12px; bottom: 16px; }
}

/* ── Entry promo popup ─────────────────────────────────────────── */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  padding: 20px 16px;
  overflow-y: auto;
}
.promo-popup[aria-hidden="false"] { display: block; }
.promo-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 14, 12, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.promo-popup.is-open .promo-popup-backdrop { opacity: 1; }

.promo-popup-panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--dark-surface);
  color: var(--on-dark);
  border: 1px solid rgba(248, 246, 242, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.promo-popup.is-open .promo-popup-panel { opacity: 1; transform: none; }
.promo-popup-panel:focus { outline: none; }

.promo-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 4;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid rgba(248, 246, 242, 0.28);
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: rgba(248, 246, 242, 0.85);
  font-size: 16px; line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.promo-close:hover { color: var(--on-dark); border-color: rgba(248, 246, 242, 0.6); }

/* 1 — 메인: 모델하우스 오픈 (4차 애월 거실 사진 배경) */
.promo-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 166px;
  padding: 34px 24px 14px;
  isolation: isolate;
}
.promo-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}
.promo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(18, 15, 13, 0.72) 0%, rgba(18, 15, 13, 0.46) 42%, rgba(31, 27, 23, 0.97) 100%),
    linear-gradient(90deg, rgba(18, 15, 13, 0.62) 0%, rgba(18, 15, 13, 0.14) 78%);
}
.promo-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 10.5px;
  color: rgba(240, 196, 158, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.promo-kicker .mono { letter-spacing: 0.15em; text-transform: uppercase; }
.promo-kicker i { width: 11px; height: 1px; background: rgba(240, 196, 158, 0.55); }
.promo-kicker-ko { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: rgba(248, 246, 242, 0.88); }

.promo-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 7.4vw, 35px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.promo-title em {
  display: block;
  font-style: normal;
  font-size: 0.6em;
  letter-spacing: -0.02em;
  color: rgba(248, 246, 242, 0.86);
}
.promo-when {
  display: inline-flex;
  align-self: flex-start;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
  padding: 6px 13px;
  border: 1px solid rgba(240, 196, 158, 0.5);
  border-radius: 999px;
  background: rgba(181, 102, 58, 0.32);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.promo-when b { font-family: var(--font-mono); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.promo-when span { font-size: 12px; color: rgba(248, 246, 242, 0.85); }

/* 2 — 한정 혜택 (강조 배너 + 점멸) */
.promo-benefits { padding: 12px 24px 0; }
.promo-benefits-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(216, 154, 106, 0.4);
  border-radius: 10px;
  background: rgba(181, 102, 58, 0.16);
  animation: promoBannerPulse 1.6s ease-in-out infinite;
}
.promo-blink {
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #E7A877;
  animation: promoBlink 1s steps(1, end) infinite;
}
.promo-benefits-label {
  font-size: clamp(14px, 4vw, 15.5px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: #F0C49E;
  text-align: center;
}
.promo-benefits-label b { color: var(--on-dark); font-weight: 800; }

@keyframes promoBlink {
  0%, 49% { opacity: 1; transform: scale(1); }
  50%, 100% { opacity: 0.18; transform: scale(0.82); }
}
@keyframes promoBannerPulse {
  0%, 100% { border-color: rgba(216, 154, 106, 0.4); box-shadow: 0 0 0 0 rgba(216, 154, 106, 0); }
  50% { border-color: rgba(240, 196, 158, 0.85); box-shadow: 0 0 16px 0 rgba(216, 154, 106, 0.3); }
}

.promo-benefit-list { list-style: none; display: grid; gap: 7px; }
.promo-benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border: 1px solid rgba(248, 246, 242, 0.1);
  border-radius: 10px;
  background: rgba(248, 246, 242, 0.03);
}
.promo-benefit-no {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(216, 154, 106, 0.85);
}
.promo-benefit-body dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-dark-muted);
  margin-bottom: 1px;
}
.promo-benefit-body dd { font-size: 14px; font-weight: 800; line-height: 1.3; }

.promo-actions { padding: 12px 24px 14px; }
.promo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-dark);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
}
.promo-cta:hover { background: var(--accent-ink); transform: translateY(-1px); }
.promo-cta .mono { font-weight: 600; font-size: 14.5px; opacity: 0.92; }
.promo-cta-sub {
  margin-top: 7px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-subtle);
  text-wrap: balance;
}
.promo-cta-sub b { color: var(--on-dark-muted); font-weight: 700; }

/* 3 — 하단: 아승공인중개사 */
.promo-info {
  padding: 12px 24px;
  border-top: 1px solid rgba(248, 246, 242, 0.1);
  background: rgba(0, 0, 0, 0.24);
}
.promo-sign { font-size: 12.5px; color: var(--on-dark-muted); margin-bottom: 3px; }
.promo-sign b { color: rgba(240, 196, 158, 0.95); font-weight: 700; }
.promo-agency { font-size: 10.5px; line-height: 1.5; color: var(--ink-subtle); }

.promo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 24px;
  border-top: 1px solid rgba(248, 246, 242, 0.1);
}
.promo-foot button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--ink-subtle);
  cursor: pointer;
  transition: color 0.2s ease;
}
.promo-foot button:hover { color: var(--on-dark); }
.promo-dismiss { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-subtle); }
.promo-dismiss input { accent-color: var(--accent); width: 14px; height: 14px; cursor: pointer; }

@media (max-width: 480px) {
  .promo-popup { padding: 14px 12px; }
  .promo-hero { min-height: 168px; padding: 34px 18px 14px; }
  .promo-benefits, .promo-actions, .promo-info, .promo-foot { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-popup-backdrop, .promo-popup-panel { transition: none !important; }
  .promo-popup-panel { transform: none; }
  .promo-benefits-head, .promo-blink { animation: none !important; }
}

/* 초소형 화면(320px대) — 메뉴 4개와 분양상담 버튼이 모두 들어가도록 한 단계 더 압축 */
@media (max-width: 360px) {
  .chapter-nav-inner { padding: 10px 16px; gap: 10px; }
  .chapter-nav-list { gap: 11px; }
  .chapter-nav-list a { font-size: 13px; }
  .chapter-nav-cta { min-width: 104px; padding: 9px 14px; font-size: 13px; }
  .chapter-nav-cta svg { width: 14px; height: 14px; }
}
