/* ===== 기본 ===== */
:root {
  --primary: #0f1b2d;
  --accent: #b8965a;
  --light: #f5f2ec;
  --text: #222;
  --muted: #6b6b6b;
  --line: rgba(0,0,0,.1);
  --header-h: 76px;
  --serif: "Pretendard", "Pretendard Variable", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --sans: "Pretendard", "Pretendard Variable", "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--sans); color: var(--text); line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.container { width: min(1200px, 100% - 48px); margin: 0 auto; }

/* ===== 버튼 ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; font-size: 15px; font-weight: 500; letter-spacing: .02em; transition: .25s; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { filter: brightness(1.08); }
.btn--line { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.btn--line:hover { background: #fff; color: var(--primary); }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ===== 헤더 ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: #fff; transition: background .3s, box-shadow .3s; }
.header.is-solid { background: var(--primary); box-shadow: 0 2px 20px rgba(0,0,0,.2); }
.header__inner { height: 100%; width: min(1400px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; margin-right: auto; }
.logo img { height: 40px; }
.logo__en { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .12em; }
.logo__ko { font-size: 11px; letter-spacing: .2em; opacity: .8; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.nav__cta { padding: 8px 18px !important; background: var(--accent); }
.header__tel { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .04em; }
.burger { display: none; width: 32px; height: 24px; position: relative; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: .3s; }
.burger span:nth-child(1) { top: 2px; } .burger span:nth-child(2) { top: 11px; } .burger span:nth-child(3) { top: 20px; }
.burger.is-open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ===== 이미지 / 임시 이미지 ===== */
.img { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; }
.img--contain { background-size: contain; background-repeat: no-repeat; }
.ph { display: flex; align-items: center; justify-content: center; background:
  linear-gradient(135deg, rgba(255,255,255,.06) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.06) 75%, transparent 75%) 0 0/24px 24px,
  linear-gradient(160deg, #3a4a63, #1c2737); color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: .05em; text-align: center; }
.ph span { padding: 6px 14px; border: 1px dashed rgba(255,255,255,.45); }
.ph span:empty { display: none; }

/* ===== 인트로 ===== */
.hero { position: relative; height: 100vh; min-height: 600px; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--primary); }
.hero__media, .hero__media > *, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.hero__img { animation: kenburns 20s ease-in-out infinite alternate; }
.hero__img.ph { align-items: flex-end; padding-bottom: 120px; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.15) 40%, rgba(0,0,0,.55)); }
.hero__content { position: relative; padding: 0 24px; animation: rise 1.2s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__badge { display: inline-block; margin: 0 0 20px; padding: 6px 18px; border: 1px solid var(--accent); color: var(--accent); font-family: var(--serif); font-size: 18px; letter-spacing: .3em; }
.hero__title { font-family: var(--serif); font-size: clamp(40px, 7vw, 92px); font-weight: 500; letter-spacing: .06em; }
.hero__sub { margin: 18px 0 40px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 300; opacity: .92; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; padding-bottom: 44px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px; background: #fff; animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ===== 섹션 공통 ===== */
.section { padding: 120px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--primary); color: #fff; }
.sec-head { text-align: center; margin-bottom: 60px; }
.sec-en { margin: 0 0 10px; font-family: var(--serif); font-size: 18px; letter-spacing: .3em; color: var(--accent); }
.sec-head h2, .register h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
.sec-desc { margin: 16px 0 0; color: var(--muted); }
.section--dark .sec-desc { color: rgba(255,255,255,.7); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ===== 분양일정 ===== */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border-top: 2px solid var(--primary); }
.timeline li { padding: 28px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.timeline__no { font-family: var(--serif); font-size: 26px; color: var(--accent); }
.timeline strong { font-size: 17px; }
.timeline__date { color: var(--muted); font-size: 15px; }
.link-row { display: flex; gap: 10px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* ===== 프리미엄 ===== */
.premium-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { overflow: hidden; }
.card .img { aspect-ratio: 3/4; transition: transform .6s; }
.card:hover .img { transform: scale(1.05); }
.card__body { padding: 22px 4px 0; }
.card__no { font-family: var(--serif); font-size: 20px; color: var(--accent); }
.card h3 { font-size: 20px; margin: 6px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.premium-grid .card:nth-child(2) { transition-delay: .1s; } .premium-grid .card:nth-child(3) { transition-delay: .2s; } .premium-grid .card:nth-child(4) { transition-delay: .3s; }

/* ===== 평면 ===== */
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.tabs button { min-width: 100px; padding: 12px 22px; border: 1px solid rgba(255,255,255,.3); font-family: var(--serif); font-size: 20px; letter-spacing: .05em; transition: .2s; }
.tabs button:hover { border-color: var(--accent); }
.tabs button.is-active { background: var(--accent); border-color: var(--accent); }

/* ===== 커뮤니티 ===== */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cm { position: relative; margin: 0; overflow: hidden; }
.cm .img { aspect-ratio: 16/10; transition: transform .6s; }
.cm:hover .img { transform: scale(1.05); }
.cm figcaption { position: absolute; inset: auto 0 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; display: flex; flex-direction: column; }
.cm strong { font-size: 18px; }
.cm span { font-size: 14px; opacity: .85; }
.cm .ph span { display: none; }

/* ===== 브랜드 ===== */
.brand { position: relative; padding: 180px 0; color: #fff; text-align: center; overflow: hidden; }
.brand__bg, .brand__bg .img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.brand__bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,18,30,.6); }
.brand__content { position: relative; }
.brand__title { font-family: var(--serif); font-size: clamp(40px, 6vw, 80px); font-weight: 500; letter-spacing: .08em; margin-bottom: 40px; }
.brand__lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: clamp(16px, 1.8vw, 21px); font-weight: 300; }

/* ===== 오시는 길 ===== */
.places { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.place { background: #fff; }
.place .img { aspect-ratio: 16/9; }
.place__body { padding: 28px; }
.place h3 { font-size: 22px; margin-bottom: 8px; }
.place p { margin: 0 0 20px; color: var(--muted); }
.place__links { display: flex; gap: 8px; }
.place__links a { padding: 10px 18px; border: 1px solid var(--line); font-size: 14px; transition: .2s; }
.place__links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== 신청 폼 ===== */
.register__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.register__desc { margin: 16px 0 40px; color: rgba(255,255,255,.75); }
.register__tel { font-family: var(--serif); font-size: 48px; font-weight: 600; color: var(--accent); letter-spacing: .03em; }
.register__hours { color: rgba(255,255,255,.6); font-size: 14px; }
.form { background: #fff; color: var(--text); padding: 36px; display: grid; gap: 14px; }
.form__title { font-size: 22px; }
.form__types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.form__types input { position: absolute; opacity: 0; }
.form__types span { display: block; text-align: center; padding: 10px 4px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: .2s; }
.form__types input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.form__types input:focus-visible + span { outline: 2px solid var(--accent); }
.field { display: grid; gap: 6px; font-size: 14px; }
.field span { font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #ccc; font: inherit; font-size: 16px; background: #fff; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.agree { font-size: 14px; }
.agree label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.agree summary { margin-top: 6px; color: var(--muted); cursor: pointer; font-size: 13px; }
.agree details p { margin: 8px 0 0; padding: 12px; background: #f6f6f6; color: var(--muted); font-size: 12px; }
.form__msg { margin: 0; font-size: 14px; min-height: 1.2em; }
.form__msg.is-error { color: #c0392b; }
.form__msg.is-ok { color: #1e8449; }

/* ===== 모달 ===== */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(480px, 100%); max-height: 100%; overflow: auto; transform: translateY(20px); transition: .25s; }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 8px; right: 12px; font-size: 30px; line-height: 1; color: #999; z-index: 1; }

/* ===== 팝업 ===== */
.popups { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.5); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.popups.is-open { display: flex; }
.popups__row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-height: calc(100% - 60px); overflow: auto; }
.popup { width: 320px; max-width: 100%; background: #fff; }
.popup img { display: block; width: 100%; }
.popup__ph { aspect-ratio: 4/5; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; background: linear-gradient(160deg, var(--primary), #2b3d5a); color: #fff; }
.popup__ph strong { font-size: 24px; color: var(--accent); margin-bottom: 14px; }
.popup__ph p { margin: 0; line-height: 1.8; }
.popups__bar { display: flex; gap: 20px; margin-top: 12px; color: #fff; font-size: 14px; }

/* ===== 푸터 ===== */
.footer { background: #0a0f18; color: rgba(255,255,255,.55); padding: 60px 0 100px; font-size: 13px; }
.footer p { margin: 0 0 6px; }
.footer__logo { font-size: 18px; color: #fff; margin-bottom: 16px !important; }
.footer__disclaimer { margin-top: 16px !important; max-width: 820px; }
.footer__copy { margin-top: 20px !important; }

/* ===== 모바일 하단 바 ===== */
.quickbar { display: none; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .premium-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .unit, .register__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header__tel { display: none; }
  .burger { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--primary); padding: 10px 24px 24px; transform: translateY(-120%); transition: transform .3s; z-index: -1; }
  .nav.is-open { transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__cta { margin-top: 14px; text-align: center; }
  .header:has(.nav.is-open) { background: var(--primary); }
  .section { padding: 80px 0; }
  .sec-head { margin-bottom: 40px; }
  .places { grid-template-columns: 1fr; }
  .quickbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; inset: auto 0 0; z-index: 40; background: var(--primary); color: #fff; padding-bottom: env(safe-area-inset-bottom); }
  .quickbar > * { padding: 16px 4px; text-align: center; font-size: 15px; border-right: 1px solid rgba(255,255,255,.12); }
  .quickbar .is-accent { background: var(--accent); }
  .hero__actions .btn { flex: 1 1 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .premium-grid { grid-template-columns: 1fr; }
  .card .img { aspect-ratio: 4/3; }
  .community-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .form { padding: 26px 20px; }

  .register__tel { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== v2 추가 ===== */
.to-white { filter: brightness(0) invert(1); }
.logo img { height: 22px; width: auto; }
.schedule__img { display: block; width: 100%; margin-top: 50px; }
.brand__logo { display: block; width: 180px; height: auto; margin: 0 auto 30px; }
@media (max-width: 560px) { .logo img { height: 18px; } }

/* ===== 평면안내 (밝은 톤) ===== */
.section--units { background: #fff; }
#units .tabs { gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
#units .tabs button { min-width: 0; padding: 14px 26px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: 0; color: #999; }
#units .tabs button:hover { color: var(--text); background: none; }
#units .tabs button.is-active { color: var(--primary); background: none; border-bottom-color: var(--accent); }
.unit-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; max-width: 960px; }
.unit-types button { min-width: 64px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #ddd; font-size: 14px; color: #555; transition: .2s; }
.unit-types button:hover { border-color: var(--primary); color: var(--primary); }
.unit-types button.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.unit { display: block; max-width: 1140px; margin: 0 auto; color: var(--text); }
.unit__bar { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; gap: 28px; padding: 18px 28px; background: var(--primary); color: #fff; }
.unit__head { display: flex; align-items: baseline; gap: 14px; margin-right: auto; }
.unit__label { font-size: 13px; font-weight: 500; letter-spacing: .25em; color: rgba(255,255,255,.5); }
.unit__type { font-family: var(--sans); font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.01em; color: #fff; }
.unit__group { font-size: 14px; color: var(--accent); }
.unit__bar dl { display: flex; gap: 20px; margin: 0; font-size: 14px; }
.unit__bar dl div { display: flex; gap: 6px; }
.unit__bar dt { color: rgba(255,255,255,.5); }
.unit__bar dd { margin: 0; }
.unit__nav { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.55); }
.unit__nav b { color: #fff; font-weight: 600; }
.unit__arrow { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); font-size: 16px; transition: .2s; }
.unit__arrow:hover { background: var(--accent); border-color: var(--accent); }
.unit__cta { padding: 12px 22px; }
.unit__plan { border: 1px solid #e8e8e8; border-top: 0; background: #fff; animation: unitIn .4s ease; }
@keyframes unitIn { from { opacity: 0; } to { opacity: 1; } }
.unit__plan img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.unit__empty { padding: 160px 20px; text-align: center; color: #aaa; font-size: 15px; }
.unit__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .unit__bar { flex-wrap: wrap; gap: 14px 20px; padding: 16px 18px; }
  .unit__head { width: 100%; margin-right: 0; }
  .unit__type { font-size: 32px; }
  .unit__nav { margin-right: auto; }
}
@media (max-width: 560px) {
  #units .tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; margin-bottom: 18px; }
  #units .tabs button { padding: 10px 0 12px; font-size: 15px; font-weight: 600; text-align: center; line-height: 1.2; }
  .t-long { display: none; }
  .t-short small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; opacity: .7; }
  .unit-types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 24px; }
  .unit-types button { min-width: 0; padding: 9px 0; font-size: 13px; border-radius: 6px; }
  .unit__cta { width: 100%; }
}
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,12,16,.92); display: flex; align-items: center; justify-content: center; padding: 50px 20px 20px; opacity: 0; visibility: hidden; transition: .25s; overflow: auto; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; background: #fff; }
.lightbox__close { position: fixed; top: 12px; right: 20px; color: #fff; font-size: 40px; line-height: 1; }
@media (max-width: 1024px) {
  .unit { grid-template-columns: 1fr; gap: 0; }
  .unit__info { position: static; }
  .unit__plan { min-height: 0; padding: 20px; }
}
@media (max-width: 560px) {
  #units .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  #units .tabs button { flex: 0 0 auto; padding: 12px 16px; font-size: 15px; }
  .unit-types { gap: 6px; margin-bottom: 28px; }
  .unit-types button { min-width: 0; padding: 7px 12px; font-size: 13px; }

  .unit__info { padding: 28px 22px; }
}

.img { position: relative; }
.img__cut { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; background: rgba(0,0,0,.45); color: rgba(255,255,255,.85); font-size: 11px; letter-spacing: .02em; }
.cm .img__cut { top: 8px; bottom: auto; }
@media (max-width: 560px) { .unit__type { font-size: 30px; } }

.t-short { display: none; }
@media (max-width: 560px) { .t-short { display: block; } }

/* ===== e-모델하우스 ===== */
.vr__frame { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.vr__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vr__cover { position: absolute; inset: 0; width: 100%; padding: 0; cursor: pointer; }
.vr__cover .img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; transition: transform .8s; }
.vr__cover:hover .img { transform: scale(1.04); }
.vr__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(10,14,20,.45); color: #fff; }
.vr__play i { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-style: normal; font-size: 22px; font-weight: 600; transition: .3s; }
.vr__cover:hover .vr__play i { background: var(--accent); border-color: var(--accent); }
.vr__play b { font-size: 22px; font-weight: 600; }
.vr__play small { font-size: 14px; opacity: .75; }
.vr__full { position: absolute; right: 12px; top: 12px; z-index: 2; padding: 8px 14px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; }
@media (max-width: 860px) {
  .vr__frame { aspect-ratio: auto; height: 70vh; min-height: 420px; }
  .vr__play i { width: 76px; height: 76px; font-size: 18px; }
  .vr__play b { font-size: 18px; }
}
.vr__cover .img__cut { z-index: 1; top: 10px; left: 10px; right: auto; bottom: auto; }

/* ===== 상단 메뉴 하위메뉴 ===== */
.nav__item { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px); min-width: 130px; padding: 10px 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transition: .2s; }
.nav__sub a { display: block; padding: 9px 20px !important; color: var(--text); font-size: 14px; white-space: nowrap; }
.nav__sub a::after { display: none; }
.nav__sub a:hover { color: var(--accent); }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (max-width: 860px) {
  .nav__item > a { display: block; }
  .nav__sub { position: static; transform: none; opacity: 1; visibility: visible; background: none; box-shadow: none; padding: 0 0 8px 14px; display: flex; gap: 14px; }
  .nav__sub a { padding: 8px 0 !important; border: 0 !important; color: rgba(255,255,255,.65); }
}

/* ===== 사업안내 ===== */
.biz { background: #fff; }
.biz__tabs { display: flex; justify-content: center; border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.biz__tabs button { padding: 14px 32px; font-size: 17px; font-weight: 500; color: #999; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: .2s; }
.biz__tabs button:hover { color: var(--text); }
.biz__tabs button.is-active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 600; }
.biz__panel { animation: unitIn .4s ease; max-width: 1140px; margin: 0 auto; }
.biz__render { position: relative; }
.biz__render img { display: block; width: 100%; height: auto; }
.biz__table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 48px; margin: 40px 0 0; }
.biz__table div { border-top: 2px solid var(--primary); padding-top: 14px; }
.biz__table dt { font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.biz__table dd { margin: 0; font-size: 16px; color: var(--text); line-height: 1.6; }
.biz__long { position: relative; overflow: hidden; }
.biz__long img { display: block; width: 100%; height: auto; }
.biz__long.is-folded { max-height: 1500px; }
.biz__long.is-folded::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, #fff); }
.biz__more { display: flex; margin: 24px auto 0; }
.bp__head { text-align: center; margin-bottom: 56px; }
.bp__head p { margin: 0 0 8px; font-size: clamp(18px, 2.2vw, 26px); font-weight: 500; }
.bp__head h3 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.bp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; }
.bp { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.bp h4 { margin: 0 0 16px; font-size: 21px; font-weight: 400; line-height: 1.45; }
.bp h4 em { font-style: normal; font-weight: 700; }
.bp--navy h4 em { color: #141c38; }
.bp--red h4 em { color: #7a1f22; }
.bp p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
.bp__icon { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.bp__icon svg { width: 46px; height: 46px; }
.bp--navy .bp__icon { background: #141c38; }
.bp--red .bp__icon { background: #7a1f22; }
@media (max-width: 860px) {
  .biz__tabs { margin-bottom: 30px; }
  .biz__tabs button { flex: 1; padding: 12px 0; font-size: 15px; }
  .biz__table { grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-top: 28px; }
  .biz__table dt, .biz__table dd { font-size: 14px; }
  .biz__long.is-folded { max-height: 1100px; }
  .bp__grid { grid-template-columns: 1fr; }
  .bp { padding: 26px 0; }
  .bp h4 { font-size: 18px; }
  .bp p { font-size: 14px; }
  .bp p br { display: none; }
  .bp__icon { flex-basis: 64px; width: 64px; height: 64px; }
  .bp__icon svg { width: 36px; height: 36px; }
}
@media (max-width: 560px) { .biz__table { grid-template-columns: 1fr; } }

.footer__disclaimer { white-space: pre-line; line-height: 1.8; }
#footerCompany { color: rgba(255,255,255,.8); font-size: 14px; }

/* ===== CLUB HILLS ===== */
.club { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: center; margin: 0 0 64px; padding: 48px; background: var(--light); }
.club__title { margin: 0 0 18px; font-size: clamp(34px, 4vw, 52px); font-weight: 800; letter-spacing: .14em; color: #8a7765; line-height: 1; }
.club h3 { margin: 0 0 16px; font-size: 22px; font-weight: 600; line-height: 1.5; }
.club__desc { margin: 0 0 32px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.club__key > p { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.club__keybox { display: flex; align-items: center; gap: 18px; padding: 14px 16px; background: #fff; border: 1px solid #ddd; border-radius: 10px; }
.club__keybox img { width: 140px; height: auto; flex: 0 0 auto; }
.club__keybox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.club__keybox li { display: flex; align-items: center; gap: 7px; }
.club__keybox i { width: 9px; height: 13px; flex: 0 0 auto; }
.club__plan { margin: 0; }
.club__plan img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.club__plan figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 1024px) { .club { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; } }
@media (max-width: 560px) {
  .club { padding: 28px 18px; margin-bottom: 40px; }
  .club h3 { font-size: 19px; }
  .club__keybox { flex-direction: column; align-items: flex-start; }
  .club__keybox img { width: 100%; max-width: 260px; }
}
.club__title { white-space: nowrap; font-size: clamp(30px, 3vw, 42px); letter-spacing: .12em; }

.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-on { opacity: 1; }

/* ===== 사전예약 안내 ===== */
.visit-notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 36px; padding: 26px 32px; background: #fff; border: 1px solid var(--accent); border-left: 6px solid var(--accent); }
.visit-notice strong { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 700; color: #7a1f22; }
.visit-notice strong::before { content: "!"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: #7a1f22; color: #fff; font-size: 15px; vertical-align: 2px; }
.visit-notice p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.7; }
.visit-notice__btns { display: flex; gap: 8px; flex: 0 0 auto; }
.place .img { aspect-ratio: 459/338; background-size: contain; background-repeat: no-repeat; background-color: #eee; }
@media (max-width: 860px) {
  .visit-notice { flex-direction: column; align-items: stretch; padding: 22px 20px; }
  .visit-notice strong { font-size: 17px; }
  .visit-notice__btns .btn { flex: 1; padding: 13px 10px; }
}

/* ===== 모바일 메뉴 정리 ===== */
@media (max-width: 860px) {
  .nav { height: calc(100dvh - var(--header-h)); overflow-y: auto; overflow-x: hidden; padding: 6px 24px 40px; }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__sub { transform: none !important; left: auto; }
  .nav > a, .nav__item > a { font-size: 17px; font-weight: 500; padding: 17px 0; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__item > a { border-bottom: 0 !important; }
  .nav__sub { flex-wrap: wrap; gap: 8px; padding: 0 0 16px; min-width: 0; }
  .nav__sub a { padding: 7px 14px !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.8); }
  .nav__cta { margin-top: 24px; padding: 15px !important; font-size: 16px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .quickbar { display: none; }
}

/* ===== 타입 표 (평면도 없는 현장) ===== */
.ut__lead { text-align: center; margin: -16px auto 36px; max-width: 760px; color: var(--muted); font-size: 15px; }
.ut__wrap { max-width: 1000px; margin: 0 auto; overflow-x: auto; }
.ut { width: 100%; border-collapse: collapse; text-align: center; font-size: 15px; }
.ut thead th { padding: 16px 10px; background: var(--primary); color: #fff; font-weight: 500; letter-spacing: .04em; }
.ut thead th:first-child { color: var(--accent); }
.ut td { padding: 18px 10px; border-bottom: 1px solid var(--line); }
.ut tbody tr { transition: background .2s; }
.ut tbody tr:hover { background: #faf8f4; }
.ut__type { font-size: 20px; font-weight: 700; color: var(--primary); letter-spacing: .02em; }
.ut tfoot td { font-weight: 700; background: var(--light); }
.ut__btn { padding: 8px 14px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; transition: .2s; }
.ut__btn:hover { background: var(--accent); color: #fff; }
.ut__views { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1140px; margin: 56px auto 0; }
.ut__views figure { margin: 0; }
.ut__views img { width: 100%; aspect-ratio: 16/9; object-fit: cover; cursor: zoom-in; }
.ut__views figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.ut__views figcaption b { color: var(--primary); margin-right: 2px; }
#units .unit__note { text-align: center; }
.cm-head { text-align: center; margin: 80px 0 32px; }
.cm-head h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; color: var(--primary); letter-spacing: .02em; }
.cm-head p { margin: 10px 0 0; color: var(--muted); }
.club__keybox:not(:has(img)) { display: block; }
@media (max-width: 860px) {
  .ut { font-size: 13px; }
  .ut th:nth-child(3), .ut td:nth-child(3) { display: none; }
  .ut td, .ut thead th { padding: 13px 6px; }
  .ut__type { font-size: 16px; }
  .ut__btn { padding: 6px 8px; font-size: 12px; }
  .ut__views { grid-template-columns: 1fr; }
  .cm-head { margin-top: 56px; }
}

/* 메인 위 건물 이미지(공식 히어로 비주얼) */
.hero__overlay { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.hero__overlay img { display: block; width: 100%; height: auto; }
.hero__shade { z-index: 1; }
.hero__content { z-index: 2; }
.card .img { background-color: #e8e5df; }

/* 모바일 다듬기 (긴 영문 이름) */
@media (max-width: 560px) {
  .logo__en { font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
  .logo__ko { font-size: 10px; }
  .hero__badge { font-size: 12px; letter-spacing: .14em; padding: 6px 12px; }
  .hero__title { font-size: 36px; letter-spacing: .02em; }
  .timeline:has(li:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  .timeline:has(li:nth-child(3):last-child) li { padding: 20px 10px; }
  .timeline:has(li:nth-child(3):last-child) strong { font-size: 15px; }
  .timeline:has(li:nth-child(3):last-child) .timeline__date { font-size: 12px; }
}

/* 일러스트를 화면 아래에 붙이고, 글씨는 위쪽 하늘에 */
.hero:has(.hero__overlay) { align-items: flex-start; }
.hero__media > .hero__overlay { top: auto; bottom: 0; height: auto; display: block; }
.hero__overlay img { width: 100%; height: 60vh; object-fit: cover; object-position: center bottom; }
.hero:has(.hero__overlay) .hero__content { padding-top: calc(var(--header-h) + 7vh); }
.hero:has(.hero__overlay) .hero__shade { background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%); }
.hero:has(.hero__overlay) .hero__scroll { display: none; }
@media (max-width: 860px) {
  .hero__overlay img { height: 40vh; }
  .hero:has(.hero__overlay) .hero__content { padding-top: calc(var(--header-h) + 4vh); }
  .hero:has(.hero__overlay) .hero__actions .btn { padding: 12px 20px; }
}

/* 단지 프리미엄: 한 줄에 하나씩, 사진 안 잘리게 */
.premium-grid { grid-template-columns: 1fr !important; gap: 90px; max-width: 1080px; margin: 0 auto; }
.pr { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; overflow: visible; }
.pr--rev .pr__img { order: 2; }
.pr__img { position: relative; background: #f1efea; display: flex; justify-content: center; }
.pr__img img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.pr__no { font-size: 56px; font-weight: 300; color: var(--accent); line-height: 1; }
.pr h3 { margin: 18px 0 16px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.pr p { margin: 0; font-size: 17px; line-height: 1.8; color: var(--muted); max-width: 420px; }
.premium-grid .card:nth-child(n) { transition-delay: 0s; }
@media (max-width: 860px) {
  .premium-grid { gap: 60px; }
  .pr { grid-template-columns: 1fr; gap: 24px; }
  .pr--rev .pr__img { order: 0; }
  .pr__no { font-size: 40px; }
  .pr p { font-size: 15px; }
}

/* ===== 영상 섹션 ===== */
.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.bg-video.is-on { opacity: 1; }
.brand__bg .bg-video { z-index: 0; }
.brand__bg::after { z-index: 1; }
.film { position: relative; height: 80vh; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: #000; }
.film__bg, .film__bg .img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.film__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }
.film__txt { position: relative; z-index: 2; padding-bottom: 70px; }
.film h2 { font-size: clamp(30px, 4vw, 54px); font-weight: 700; letter-spacing: -.02em; margin: 6px 0 12px; }
.film p:last-child { margin: 0; font-size: clamp(15px, 1.4vw, 19px); opacity: .85; }
.shorts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shorts__item { position: relative; aspect-ratio: 9/16; overflow: hidden; background: #000; padding: 0; }
.shorts__item img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s, opacity .3s; }
.shorts__item:hover img { transform: scale(1.04); opacity: 1; }
.shorts__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; padding-left: 4px; }
.shorts__item iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) {
  .film { height: 70vh; }
  .film__txt { padding-bottom: 50px; }
  .shorts__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
  .shorts__item { flex: 0 0 62%; scroll-snap-align: center; }
}

/* v3: 넓은 화면에서도 글씨와 건물이 겹치지 않게 */
.hero__overlay { display: flex !important; justify-content: center; }
.hero__overlay img { width: auto; max-width: 100%; height: auto; max-height: min(58vh, calc(100vh - 410px)); object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.hero:has(.hero__overlay) .hero__content { padding-top: calc(var(--header-h) + 3vh); }
.hero:has(.hero__overlay) .hero__badge { margin-bottom: 14px; }
.hero:has(.hero__overlay) .hero__title { font-size: clamp(38px, 5.2vw, 84px); }
.hero:has(.hero__overlay) .hero__sub { margin: 12px 0 24px; }
@media (max-width: 860px) {
  .hero__overlay img { max-height: 40vh; -webkit-mask-image: none; mask-image: none; width: 100%; object-fit: cover; object-position: center bottom; height: 40vh; }
}
