@charset "UTF-8";
/* ==========================================================================
   BOSQUE NAMSAN — 재구성 스타일시트
   원본: https://www.bosquenamsan.co.kr/
   토큰: gold #766B4A / body #5a5a5a / line #cdcbc1 / marker #BA4E56
   ========================================================================== */

/* ---------- Reset & Base ---------- */
* , *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;            /* 1rem = 10px */
  background: #000;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #fff;
  position: relative;
  overscroll-behavior-y: none;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', '맑은 고딕', sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

ul, li, dl, dt, dd, p, h1, h2, h3, h4, figure { margin: 0; padding: 0; }
li { list-style: none; }
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; border: 0; }
button, input, textarea, select { font-family: inherit; }

:root {
  --gold: #766B4A;
  --ink: #5a5a5a;
  --ink-strong: #373737;
  --line: #cdcbc1;
  --marker: #BA4E56;
  --display: 'Poppins', 'Century Gothic', 'Segoe UI', 'Trebuchet MS', sans-serif;
  /* 원본 GSAP power1.out(=quadOut)의 정확한 3차 등가 곡선 */
  --ease-quiet: cubic-bezier(.333,.667,.667,1);
  /* 움직임 거리와 페이드 시간 — 감속 모드에서 '거리'만 0 이 된다 */
  --lift-hero: 10px;
  --lift-reveal: 18px;
  --dur-hero: .8s;        /* 원본 gsap duration:0.8 */
  --dur-reveal: .9s;
  --dur-clip: 1.5s;
  --dur-exit: .45s;      /* 이탈 페이드 — site.js 의 이동 타이머와 반드시 같이 움직인다 */
}

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #ffffff22; }
::-webkit-scrollbar-thumb { background-color: #00000099; border-radius: 3px; }

/* 접근성: 모션 최소화 요청 존중 */
/* 감속 요청은 '움직임을 줄여달라'는 뜻이지 '아무것도 보여주지 말라'가 아니다.
   불투명도 페이드는 접근성 지침이 권장하는 대체 수단이므로 그대로 남기고,
   이동·확대·무한 반복만 없앤다. (Windows 애니메이션 효과 OFF 환경 포함) */
/* 원본은 GSAP(JS 인라인 스타일)로 움직이므로 이 미디어쿼리의 영향을 전혀 받지 않는다.
   즉 Windows 애니메이션 효과가 꺼진 PC에서도 원본은 그대로 움직인다.
   재구축본도 같은 연출을 보여야 하므로 여기서 모션을 죽이지 않는다.
   (부드러운 스크롤만 즉각적으로 낮춘다 — 입력 응답성은 지켜준다) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- 스킵 네비 ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99999;
  background: #fff; color: #000; padding: 1rem 2rem; font-size: 1.4rem;
}
.skip-link:focus { left: 0; }

/* ---------- 페이지 진입 트랜지션 ---------- */
/* 베일은 짧게 걷는다 — 진입 애니메이션이 이 뒤에 가려지면 안 된다 */
#page-veil {
  position: fixed; inset: 0; background: #000; z-index: 20000;
  pointer-events: none; opacity: 1;
  transition: opacity .25s ease;
}
body.loaded #page-veil { opacity: 0; }
body.leaving #page-veil { opacity: 1; pointer-events: auto; transition: opacity var(--dur-exit) ease; }

/* ==========================================================================
   공통 — 버거 토글
   ========================================================================== */
#menu-toggle {
  position: fixed; right: 4rem; bottom: 10%;
  width: 7rem; height: 7rem; border-radius: 50%;
  background: #fff; border: 1px solid #93939335;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 15000;
  transition: transform .35s ease, background .35s ease;
}
#menu-toggle:hover { transform: scale(1.08); }
#menu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

#menu-toggle .burger { width: 15px; height: 14px; position: relative; }
#menu-toggle .burger span {
  display: block; position: absolute; height: 2px; width: 100%;
  background: #000; left: 0; opacity: 1;
  transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
#menu-toggle .burger span:nth-child(1) { top: 0; }
#menu-toggle .burger span:nth-child(2) { top: 6px; }
#menu-toggle .burger span:nth-child(3) { top: 12px; }
#menu-toggle .burger.open span:nth-child(1) { transform: rotate(45deg);  top: 7px; }
#menu-toggle .burger.open span:nth-child(2) { opacity: 0; }
#menu-toggle .burger.open span:nth-child(3) { transform: rotate(-45deg); top: 7px; }

/* ==========================================================================
   공통 — 풀스크린 오버레이 메뉴
   ========================================================================== */
body.menu-open { overflow: hidden; height: 100%; touch-action: none; }

#overlay-menu {
  position: fixed; inset: 0;
  background: #000000ea; backdrop-filter: blur(2px);
  color: #fff; z-index: 14000;
  display: flex; flex-direction: column; align-items: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transform: translateY(-100%);
  transition: transform .8s cubic-bezier(.55,.06,.24,.99), opacity .5s ease, visibility 0s linear .8s;
}
#overlay-menu.open {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: transform .6s cubic-bezier(.16,.84,.44,1), opacity .4s ease, visibility 0s;
}

#overlay-menu .menu-header { margin-top: 3.5rem; }
#overlay-menu .menu-header img { display: block; width: 9rem; }

#overlay-menu ul {
  display: flex; flex-direction: column; width: 100%;
  text-align: left; margin-top: 2rem;
}
#overlay-menu li {
  position: relative; line-height: 2;
  border-bottom: 1px solid #ffffff0f;
  /* 스태거 진입 */
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.44,1);
}
#overlay-menu.open li { opacity: 1; transform: translateY(0); }
#overlay-menu.open li:nth-child(1) { transition-delay: .50s; }
#overlay-menu.open li:nth-child(2) { transition-delay: .58s; }
#overlay-menu.open li:nth-child(3) { transition-delay: .66s; }
#overlay-menu.open li:nth-child(4) { transition-delay: .74s; }
#overlay-menu.open li:nth-child(5) { transition-delay: .82s; }
#overlay-menu.open li:nth-child(6) { transition-delay: .90s; }

#overlay-menu li::before {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: #ffffff;
  transition: width .5s ease-in-out;
}
#overlay-menu li:hover::before { width: 100%; }

#overlay-menu ul li a {
  display: block; color: #fff; font-family: var(--display);
  font-size: 7rem; line-height: 1.8; letter-spacing: -.2rem;
  font-weight: 200; padding: 0 5rem;
  transition: color .35s ease, padding-left .45s cubic-bezier(.16,.84,.44,1);
}
#overlay-menu ul li:hover a { padding-left: 6.5rem; color: #fff; }
#overlay-menu ul li a span {
  display: inline-block; padding-right: 3rem;
  opacity: .2; font-weight: 500; font-size: 4rem;
  font-family: var(--display); letter-spacing: -.2rem;
  transition: opacity .35s ease;
}
#overlay-menu ul li:hover a span { opacity: .6; }
#overlay-menu ul li a.current span { opacity: .75; color: var(--gold); }

#overlay-menu ul li:last-child { padding-right: 8rem; }
#overlay-menu ul li:last-child a { text-align: right; }

#overlay-menu .menu-footer span {
  display: block; margin: 3rem 0; text-align: center;
  font-size: 1.2rem; color: #ffffff8b;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 200;
}

/* ==========================================================================
   MAIN — 히어로
   ========================================================================== */
/* 배경 크로스페이드 슬라이드쇼 (vegas 대체) */
#hero-bg { position: fixed; inset: 0; z-index: -2; background: #000; }
#hero-bg .bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 2s ease-in-out;
  will-change: opacity;
}
#hero-bg .bg-slide.active { opacity: 1; }
#hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.41); pointer-events: none;
}

.container {
  position: relative; display: flex;
  justify-content: center; align-items: center; text-align: center;
  padding: 0 20px; min-height: 100vh;
}
.content {
  width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-bottom: 9rem; z-index: 1;
}

.main-heading-box { text-align: center; margin-bottom: 10rem; }
.main-heading-box ul {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.4rem; margin-bottom: 2rem;
}
.main-heading-box ul li { font-weight: 100; font-size: 1.6rem; color: #fff; }
.main-heading-box .hash { display: block; margin-bottom: 1rem; }
.main-heading-box p { font-size: 2rem; font-family: var(--display); font-weight: 500; }
.title img { max-width: 100%; width: 46rem; }

/* 라인 단위 스플릿 등장 (SplitType + GSAP 대체) */
/* 히어로 라인 진입 — 원본 gsap.from({y:'10px', opacity:0, duration:.8, ease:power1.out}) 재현.
   마스크(overflow:hidden)로 잘라 올리던 '커튼' 연출은 원본에 없어 둔탁하게 읽혔다. */
.line-mask { display: block; }
.line-mask > span {
  display: block;
  transform: translateY(var(--lift-hero));
  opacity: 0;
  transition: opacity var(--dur-hero) var(--ease-quiet), transform var(--dur-hero) var(--ease-quiet);
  transition-delay: .10s;
}
body.loaded .line-mask > span { transform: translateY(0); opacity: 1; }

/* 라인별 위상차 — 원본 gsap stagger:0.8 그대로 (한 줄씩 또박또박 읽히는 속도) */
.line-mask[data-seq="1"] > span { transition-delay: .90s; }
.line-mask[data-seq="2"] > span { transition-delay: 1.70s; }
.line-mask[data-seq="3"] > span { transition-delay: 2.50s; }
.line-mask[data-seq="4"] > span { transition-delay: 3.30s; }
/* 로고도 원본에선 .title.txt-split 의 한 '라인'이라 똑같이 움직인다 */
.line-mask[data-seq="5"] > span { transition-delay: 4.10s; }

.copyright {
  position: absolute; bottom: 20px; left: 0; width: 100%;
  padding-top: 2rem; border-top: 1px solid #ffffff2b;
  font-size: 1.2rem; color: #ffffff8b; font-weight: 200;
  letter-spacing: 1px; text-transform: uppercase; text-align: center; z-index: 10;
}

/* ==========================================================================
   서브 공통
   ========================================================================== */
body.sub-page { background: #fff; color: var(--ink); }

.sub-logo-header {
  position: fixed; top: 3.5rem; left: 5rem; z-index: 12000;
  opacity: 0; transition: opacity .8s ease .3s;   /* 베일 직후 살짝 먼저 */
}
body.loaded .sub-logo-header { opacity: 1; }
.sub-logo-header img { width: 9rem; display: block; }
.sub-logo-header.on-dark img { filter: invert(1) brightness(2); opacity: .55; }

.txt-box { display: flex; flex-direction: column; gap: 1.3rem; padding-bottom: 2rem; }

p.main-heading {
  color: var(--gold); font-family: var(--display);
  font-weight: 600; letter-spacing: -.05rem; line-height: 1.3; font-size: 1.9rem;
}
p.main-heading b { display: block; font-weight: 600; }

p.sub-desc {
  color: var(--ink); font-weight: 400; line-height: 1.5;
  font-size: 1.5rem; letter-spacing: -.04rem;
}
p.sub-desc b { color: #000; font-weight: 600; }

.sub-inner { height: auto; align-content: center; }
.con-wrapper {
  max-width: 164rem; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
}

/* 스크롤 리빌 (IntersectionObserver) */
.reveal { opacity: 0; transform: translateY(var(--lift-reveal));
  transition: opacity var(--dur-reveal) var(--ease-quiet), transform var(--dur-reveal) var(--ease-quiet); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .18s; }
.reveal[data-d="2"] { transition-delay: .36s; }
.reveal[data-d="3"] { transition-delay: .54s; }
.reveal[data-d="4"] { transition-delay: .72s; }
.reveal[data-d="5"] { transition-delay: .90s; }
.reveal[data-d="6"] { transition-delay: 1.08s; }

/* 이미지 클립 리빌 */
/* ⚠️ 초기 상태에 clip-path 로 면적을 0 으로 만들면 크롬 IntersectionObserver 가 교차 없음으로 판정해 .in 이 영원히 안 붙는다
   (brand 3장·architect 1장 미노출, 2026-09-10 QA). 초기엔 opacity 로만 숨기고, 클립 애니메이션은 .in 이 붙은 뒤 keyframes 로 재생한다. */
.clip-reveal { opacity: 0; transition: opacity var(--dur-reveal) var(--ease-quiet); }
.clip-reveal.in { opacity: 1; animation: clip-reveal-in var(--dur-clip) var(--ease-quiet) both; }
@keyframes clip-reveal-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* 라인 드로잉 */
.reveal-wrapper { position: absolute; overflow: hidden; }
.reveal-wrapper.horizontal { top: 0; left: 0; width: 100%; height: 1px; }
.reveal-wrapper.vertical   { top: 0; right: 0; width: 1px; height: 100%; }
.reveal-line { width: 100%; height: 1px; background: var(--line);
  transform: translateX(-100%); transition: transform 2.4s cubic-bezier(.16,1,.3,1); }
.reveal-line.vertical { width: 1px; height: 100%; transform: translateY(-100%); }
.reveal-line.in, .reveal-line.vertical.in { transform: translate(0,0); }

/* ==========================================================================
   01 BRAND
   ========================================================================== */
.brand { background: url(/assets/img/section1_bg.webp) center/cover no-repeat, #fff; }
.brand .sub-inner { min-height: 100vh; display: flex; align-items: center; padding: 14rem 5rem 8rem; }
.brand .con-wrapper { width: 100%; gap: 6rem; align-items: flex-end; }
/* 원고에 박힌 <br> 줄바꿈이 다시 접히지 않도록 텍스트 단은 줄어들지 않게 */
.brand .con-wrapper > .txt-box { flex: 0 0 auto; }
.brand .con-wrapper > .img-box { flex: 1 1 auto; min-width: 0; justify-content: flex-end; }
.brand .txt-box > div { margin-bottom: 3rem; }
.brand .txt-box img { width: 12rem; }
.brand .img-box { display: flex; gap: 4rem; }
.brand .img-box div { overflow: hidden; }
.brand .img-box img {
  display: block; width: 100%; transition: transform 1.2s cubic-bezier(.16,.84,.44,1);
}
.brand .img-box div:hover img { transform: scale(1.06); }

/* ==========================================================================
   02 LOCATION
   ========================================================================== */
.location .sub-inner { background: #fff; position: relative; }
.location .map-wrapper {
  position: relative; height: 100vh; width: 100%; overflow: hidden;
}
.location .map-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.4); opacity: .2; filter: blur(4px);
  transition: opacity 1.6s ease, filter 1.6s ease, transform 2.4s ease;
  will-change: opacity, filter, transform;
}
.location .map-img.in { opacity: 1; filter: blur(0); transform: scale(1.4); }

/* 마커: 점이 좌표에 정확히 얹히고, 라벨은 그 아래에 매달린다.
   폭을 명시해야 절대배치된 라벨이 점 크기(1rem)로 찌그러지지 않는다. */
/* 원본과 동일하게 라벨은 우측 정렬 — 점에서 왼쪽으로 뻗어 지도 지명과 겹치지 않는다 */
.location .marker {
  position: absolute; z-index: 10; text-align: right;
  width: 14rem; height: 1rem;
  transform: translate(calc(-100% + .5rem), -50%);
  opacity: 0; transition: opacity 1.2s ease .6s;
}
.location .marker.in { opacity: 1; }
.location .marker .dot {
  display: block; width: 1rem; height: 1rem; margin: 0 0 0 auto;
  background: var(--marker); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.location .marker .label {
  display: block; position: absolute; top: 1.8rem; left: 0; right: 0; text-align: right;
}
/* label.svg 의 path 는 fill 속성이 없어 기본 검정 — 밝은 지도 위에서 그대로 읽힌다 */
.location .marker .label img { display: inline-block; width: 11rem; }

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 1; }
  50%  { transform: scale(1.4); opacity: .5; }
  100% { transform: scale(1);   opacity: 1; }
}

.location .txt-box {
  position: absolute; bottom: 10rem; right: 12vw;
  background: #ffffffe8; padding: 3.5rem 4rem; max-width: 52rem;
  backdrop-filter: blur(3px);
}

/* ==========================================================================
   03 ARCHITECT
   ========================================================================== */
.architect-container { background: url(/assets/img/bg_architect.webp) center/cover no-repeat, #f4f3ef; min-height: 100vh; }
.architect { display: flex; min-height: 100vh; width: 100%; justify-content: center; }
.architect .right { width: 100%; max-width: 150rem; margin: 0 auto; }

.architect .top { display: flex; align-items: flex-end; min-height: 50vh; padding-top: 12rem; }
.architect .top .top-box {
  position: relative; display: flex; gap: 11rem; align-items: flex-end;
  padding: 4rem 8rem; width: fit-content;
}
.architect .top .txt-box { padding-bottom: 0; }
.architect .right p.main-heading { color: var(--gold); font-weight: 600; padding-bottom: 2rem; }

.architect .image-wrapper { overflow: hidden; }
.architect .image-wrapper img { display: block; width: 21.2rem; }
.architect .top .name { color: #000; margin-top: 1rem; font-size: 1.3rem; font-weight: 200; text-align: right; }
.architect .top .name p { display: inline-block; font-weight: 500; font-size: 1.5rem; padding-left: .5rem; }

.architect .bottom { position: relative; min-height: 50vh; display: flex; justify-content: center; }
.architect .bottom .bottom-box { display: flex; align-items: center; padding: 6rem 8rem; }
.architect .bottom ul.bottom-list li { display: flex; font-size: 1.5rem; }
.architect .bottom ul.bottom-list li:not(:last-child) { padding-bottom: 1rem; }
.architect .bottom ul.bottom-list li b {
  width: 30%; min-width: 16rem; color: var(--gold); font-weight: 500; letter-spacing: -.02rem;
}
.architect .bottom ul.bottom-list li span {
  width: 70%; color: var(--ink); font-weight: 400; line-height: 1.5; letter-spacing: -.02rem;
}

/* ==========================================================================
   04 FAÇADE
   ========================================================================== */
body.facade-page { background: #000; }
.facade { height: 100vh; position: relative; z-index: 1; overflow: hidden; }
/* z-index 0 + 본문 z-index 1 — body 배경에 가려지지 않도록 (음수 z-index 사용 금지) */
#facade-slideshow { position: fixed; inset: 0; z-index: 0; background: #000; }
#facade-slideshow .fc-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 4s ease-in-out; will-change: opacity;
}
#facade-slideshow .fc-slide.active { opacity: 1; }
#facade-slideshow::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.30); }

.facade .slide-text { position: relative; height: 100vh; }
.facade .slide-text .text {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.5s ease, visibility 0s linear 1.5s, transform 1.5s cubic-bezier(.16,.84,.44,1);
  transform: translateY(18px);
}
.facade .slide-text .text.on {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 1.5s ease .6s, visibility 0s, transform 1.5s cubic-bezier(.16,.84,.44,1) .6s;
}
.facade .con-wrapper { width: 100%; }
.facade .txt-box { align-items: flex-start; text-align: left; }
.facade p.main-heading { color: #fff; font-weight: 500; text-align: left; font-size: 2.6rem; }
.facade p.sub-desc { color: #ffffffd7; text-align: left; letter-spacing: -.02rem; }
.facade p.sub-desc b { color: #fff; }
.facade .con-wrapper.one  { justify-content: flex-end; padding-right: 18vw; padding-top: 10rem; }
.facade .con-wrapper.zero { display: block; }
.facade .con-wrapper.zero .txt-box { width: 100%; padding-left: 12vw; }

/* 파사드 UI 크롬은 첫 슬라이드 카피가 뜬 뒤 마지막에 등장 */
.facade-pagination, .facade-arrows, .facade-progress {
  opacity: 0; transition: opacity .9s ease 1.15s;
}
body.loaded .facade-pagination,
body.loaded .facade-arrows,
body.loaded .facade-progress { opacity: 1; }

/* 페이지네이션 & 화살표 */
.facade-pagination {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 1rem; z-index: 100;
}
.facade-pagination .bullet {
  width: .7rem; height: .7rem; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  border: 0; padding: 0; transition: background .3s, transform .3s;
}
.facade-pagination .bullet:hover { transform: scale(1.35); }
.facade-pagination .bullet.active { background: #fff; }
.facade-pagination .bullet:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.facade-arrows {
  position: fixed; top: 50%; left: 0; right: 0; transform: translateY(-50%);
  display: flex; justify-content: space-between; padding: 0 30px;
  z-index: 101; pointer-events: none;
}
.facade-arrows .arrow {
  pointer-events: auto; cursor: pointer; background: none; border: 0; padding: 1rem;
  transition: transform .3s ease, opacity .3s ease; opacity: .75;
}
.facade-arrows .arrow:hover { opacity: 1; }
.facade-arrows .prev-arrow:hover { transform: translateX(-6px); }
.facade-arrows .next-arrow:hover { transform: translateX(6px); }
.facade-arrows .arrow:focus-visible { outline: 1px solid #ffffff80; }

/* 자동재생 진행 바 */
.facade-progress {
  position: fixed; left: 0; bottom: 0; height: 2px; width: 100%;
  background: #ffffff1f; z-index: 100;
}
.facade-progress i {
  display: block; height: 100%; width: 0; background: #ffffffcc;
}
.facade-progress i.run { animation: fcBar 8s linear forwards; }
@keyframes fcBar { from { width: 0; } to { width: 100%; } }

/* ==========================================================================
   05 PROJECT OVERVIEW
   ========================================================================== */
.overview-container { background: url(/assets/img/over1.webp) center/cover no-repeat, #fff; overflow-x: hidden; }
.overview-inner { width: 100%; max-width: 164rem; margin: 0 auto; padding: 0 5rem; }
.top-wrapper { padding-top: 14rem; position: relative; }
.overview-container .top-wrapper .overview-inner {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: 5rem; gap: 6rem;
}
.overview-container .txt-box { display: flex; gap: 3rem; justify-content: space-between; }

.overview-container ul.left-list li {
  display: flex; width: 100%; font-size: 1.5rem; font-weight: 300; color: var(--ink);
}
.overview-container ul.left-list li:not(:last-child) { padding-bottom: 1rem; }
.overview-container ul.left-list li b {
  width: 7rem; min-width: 9rem; font-weight: 700; color: var(--gold);
}
.overview-container ul.left-list li span { font-size: 1.5rem; color: var(--ink); letter-spacing: -.02rem; }

/* 세대 타입 표 */
.table-basic { min-width: 46rem; }
.table-basic table { width: 100%; border-collapse: collapse; font-size: 1.4rem; }
.table-basic thead th {
  color: var(--gold); font-weight: 600; text-align: left;
  padding: 1.2rem 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--display);
}
.table-basic tbody th, .table-basic tbody td {
  padding: 1.4rem 1rem; border-bottom: 1px solid #cdcbc180;
  color: var(--ink); font-weight: 400; text-align: left;
}
.table-basic tbody th { color: var(--ink-strong); font-weight: 600; }
.table-basic tbody tr { transition: background .3s ease; }
.table-basic tbody tr:hover { background: #766b4a12; }

/* 계절 슬라이더 (Swiper 대체) */
.season-slider { position: relative; overflow: hidden; margin-bottom: 2rem; }
.season-track {
  display: flex; gap: 3rem; cursor: grab;
  transition: transform .7s cubic-bezier(.16,.84,.44,1);
}
.season-track.dragging { cursor: grabbing; transition: none; }
.season-slide { flex: 0 0 auto; overflow: hidden; }
.season-slide img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.season-scrollbar {
  position: relative; height: 3px; background: #cdcbc199; margin: 0 5rem 6rem;
  cursor: pointer;
}
.season-scrollbar i {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--gold); border-radius: 2px; transition: left .3s ease;
}

/* 하단 카피 — 스크롤에 따라 색 변화 */
.bottom-wrapper { background: transparent; }
.bottom-wrapper .overview-inner { display: flex; justify-content: center; }
.bottom-desc {
  text-align: center; margin: 0 auto; width: 100%;
  font-size: 1.5rem; letter-spacing: -.02rem; font-weight: 500;
  line-height: 1.7; padding: 6rem 0 3rem;
  color: #d8d5cc; transition: color .1s linear;
}

/* 세로 라인 그로우 */
.reveal-line-vertical {
  width: 1px; height: 12rem; background: var(--line); margin: 2rem auto 6rem;
  transform: scaleY(0); transform-origin: top;
  transition: transform 2s cubic-bezier(.16,1,.3,1);
}
.reveal-line-vertical.in { transform: scaleY(1); }

/* 커뮤니티 크로스페이드 슬라이더 */
.com-slider { position: relative; height: 78vh; min-height: 48rem; overflow: hidden; background: #000; }
.com-slider .com-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 2s ease-in-out;
}
.com-slider .com-slide.active { opacity: 1; }
.com-slider .com-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.com-slider .overview-inner.bottom {
  position: absolute; top: 5rem; left: 50%; transform: translateX(-50%); z-index: 5;
}
.com-slider p.main-heading { color: #fff; font-size: 2.4rem; }
.com-pagination {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 1rem; z-index: 6;
}
.com-pagination .bullet {
  width: .7rem; height: .7rem; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s, transform .3s;
}
.com-pagination .bullet.active { background: #fff; }
.com-pagination .bullet:hover { transform: scale(1.35); }

/* ==========================================================================
   REGISTER — 관심고객 등록
   ========================================================================== */
body.register-page { background: #0b0b0b; color: #fff; }
.modal-sub {
  min-height: 100vh; padding: 12rem 2rem 8rem;
  background: url(/assets/img/modal_bg.webp) center/cover no-repeat fixed, #0b0b0b;
  display: flex; align-items: center; justify-content: center;
}
.modal-sub::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.62); }

.modal { position: relative; width: 100%; max-width: 120rem; }
.modal-content { background: rgba(0,0,0,.62); backdrop-filter: blur(6px); padding: 5rem; }
.modal-heading-box h1 img { width: 9rem; display: block; margin-bottom: 3rem; }
.modal-heading-box h2 { font-size: 2.4rem; font-weight: 500; margin-bottom: 1.5rem; letter-spacing: -.05rem; }
.modal-heading-box p {
  color: #ffffffba; font-size: 1.6rem; font-weight: 300;
  padding: 0 0 3rem; border-bottom: 1px solid #ededed48;
}

.modal-wrapper { display: flex; gap: 4rem; padding-top: 3rem; margin-bottom: 1rem; }
.modal-wrapper > div { flex: 1; min-width: 0; }

.form-group { margin-bottom: 2.5rem; }
.form-group > label { display: block; font-size: 1.5rem; margin-bottom: .5rem; color: #fff; font-weight: 400; }
.highlight { color: #BA4E56; }

.modal-content input {
  width: 100%; padding: 1.5rem; border: 0; border-bottom: 1px solid #ededed48;
  background: transparent; color: #fff; border-radius: 0; font-size: 1.5rem;
  transition: border-color .3s ease;
}
.modal-content input::placeholder { color: #ffffffa4; font-size: 1.5rem; }
.modal-content input:focus { outline: none; border-bottom-color: #fff; }
.modal-content input.error { border-bottom-color: #BA4E56; }
.modal-content input[readonly] { cursor: pointer; }
/* 관심고객 폼 방문예약일·방문시간(오렐청평 항목 이식, 2026-09-10) — input 과 같은 밑줄 스타일 */
.modal-content select {
  width: 100%; padding: 1.5rem; border: 0; border-bottom: 1px solid #ededed48;
  background: transparent; color: #fff; border-radius: 0; font-size: 1.5rem; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27><path d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%23ffffffa4%27 stroke-width=%271.5%27/></svg>"); background-repeat: no-repeat; background-position: right 1.2rem center;
}
.modal-content select:focus { outline: none; border-bottom-color: #fff; }
.modal-content select option { color: #111; background: #fff; }
.modal-content input[type="date"] { color-scheme: dark; }
.modal-content input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; cursor: pointer; }

.address-group { display: flex; width: 100%; gap: 2rem; }
.modal-content button.add-btn {
  flex: 0 0 auto; width: 12rem; padding: 0 2rem; margin-top: 0;
  background: transparent; border: 1px solid #ededed48; color: #fff;
  font-size: 1.4rem; cursor: pointer; transition: background .25s ease, border-color .25s ease;
}
.modal-content button.add-btn:hover { background: #ffffff14; border-color: #ffffff8c; }

.field-msg { display: block; min-height: 1.8rem; margin-top: .6rem; font-size: 1.3rem; color: #BA4E56; }

.form-group.txt-box { padding-bottom: 0; gap: .5rem; }
.modal-content textarea {
  width: 100%; height: 26rem; padding: 1.5rem; resize: none;
  background: rgba(255,255,255,.04); border: 1px solid #ededed48;
  color: #ffffffc4; font-size: 1.3rem; line-height: 1.7; white-space: pre-wrap;
}
.modal-content textarea:focus { outline: none; border-color: #ffffff8c; }

.agree_wrapper { margin-top: 2.5rem; }
.radio-group { display: flex; gap: 2rem; }
.custom-radio { display: inline-flex; align-items: center; cursor: pointer; font-size: 1.7rem; color: #fff; }
.custom-radio input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.custom-radio .box {
  width: 1.9rem; height: 1.9rem; margin-right: .8rem;
  border: 1px solid #6f6f6f; display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s ease; flex: 0 0 auto;
}
.custom-radio .box::after {
  content: ""; width: .9rem; height: .9rem; background: #fff;
  transform: scale(0); transition: transform .2s ease;
}
.custom-radio:hover .box { border-color: #eee; }
.custom-radio input:checked ~ .box { border-color: #fff; }
.custom-radio input:checked ~ .box::after { transform: scale(1); }
.custom-radio input:focus-visible ~ .box { outline: 2px solid var(--gold); outline-offset: 2px; }

.submit-button {
  background: #1c1c1c; color: #fff; border: 0; cursor: pointer;
  padding: 2rem 5rem; margin-top: 2rem; font-size: 1.6rem;
  letter-spacing: .1rem; font-weight: 400;
  transition: background .2s ease-in-out;
}
.submit-button:hover { background: #2a2a2a; }
.submit-button:disabled { opacity: .5; cursor: not-allowed; }

/* 주소 검색 레이어 */
.addr-layer {
  position: fixed; inset: 0; z-index: 16000;
  background: rgba(0,0,0,.7); display: none;
  align-items: center; justify-content: center; padding: 2rem;
}
.addr-layer.open { display: flex; }
.addr-panel {
  background: #141414; border: 1px solid #ffffff26; width: 100%; max-width: 52rem;
  padding: 3rem; max-height: 80vh; overflow-y: auto;
}
.addr-panel h3 { font-size: 1.8rem; margin-bottom: 2rem; font-weight: 500; }
.addr-panel .addr-close {
  float: right; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1;
}
.addr-list { margin-top: 1.5rem; }
.addr-list li button {
  width: 100%; text-align: left; background: none; border: 0;
  border-bottom: 1px solid #ffffff1a; color: #ffffffc4; padding: 1.4rem .5rem;
  font-size: 1.4rem; cursor: pointer; transition: color .2s, background .2s;
}
.addr-list li button:hover { color: #fff; background: #ffffff0d; }
.addr-empty { color: #ffffff7a; font-size: 1.4rem; padding: 2rem .5rem; }

/* 완료 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 4rem; transform: translate(-50%, 2rem);
  background: #fff; color: #000; padding: 1.6rem 3rem; font-size: 1.5rem;
  z-index: 18000; opacity: 0; pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 등록 완료 레이어 */
.done-layer {
  position: fixed; inset: 0; z-index: 17000; background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.done-layer.open { display: flex; }
.done-layer .done-box { max-width: 44rem; }
.done-layer h3 { font-family: var(--display); font-size: 3.2rem; font-weight: 300; margin-bottom: 1.5rem; }
.done-layer p { color: #ffffffb4; font-size: 1.5rem; line-height: 1.8; margin-bottom: 3rem; }
.done-layer a {
  display: inline-block; border: 1px solid #ffffff6b; padding: 1.4rem 3.5rem;
  font-size: 1.4rem; transition: background .25s ease;
}
.done-layer a:hover { background: #ffffff16; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #000; color: #fff; padding: 6rem 5rem 4rem; }
.footer-inner { max-width: 164rem; margin: 0 auto; }
.footer-left { display: flex; flex-wrap: wrap; gap: 1.2rem 4rem; }
.footer-left li { display: flex; gap: 1rem; font-size: 1.3rem; }
.footer-left li p { color: #ffffff6e; font-weight: 300; min-width: 8rem; }
.footer-left li span { color: #ffffffc4; font-weight: 300; }
.footer-note { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #ffffff1f; }
.footer-note li { font-size: 1.2rem; color: #ffffff5e; line-height: 1.9; font-weight: 200; }
.footer-copy {
  margin-top: 2rem; font-size: 1.2rem; color: #ffffff8b;
  letter-spacing: 1px; text-transform: uppercase; font-weight: 200;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1600px) {
  .location .txt-box { right: 6vw; }
  .architect .top .top-box { gap: 6rem; padding: 4rem 5rem; }
  .architect .bottom .bottom-box { padding: 5rem; }
}

@media (max-width: 1280px) {
  #overlay-menu ul li a { font-size: 5rem; padding: 0 3rem; }
  #overlay-menu ul li a span { font-size: 3rem; padding-right: 2rem; }
  #overlay-menu ul li:last-child { padding-right: 4rem; }

  .brand .con-wrapper { flex-direction: column; align-items: flex-start; gap: 4rem; }
  .brand .img-box { gap: 2rem; width: 100%; }

  .overview-container .top-wrapper .overview-inner { flex-direction: column; align-items: flex-start; }
  .overview-container .txt-box { flex-direction: column; }
  .table-basic { width: 100%; min-width: 0; }

  .architect .top .top-box { flex-direction: column-reverse; align-items: flex-start; gap: 3rem; }
  .architect .bottom ul.bottom-list li b { min-width: 13rem; }

  .facade .con-wrapper.one { padding-right: 8vw; }
  .facade .con-wrapper.zero .txt-box { padding-left: 8vw; }

  .location .txt-box { right: 4vw; bottom: 6rem; max-width: 44rem; }
}

@media (max-width: 900px) {
  html { font-size: 58%; }

  #menu-toggle { right: 2rem; bottom: 3rem; width: 5.6rem; height: 5.6rem; }
  #overlay-menu ul li a { font-size: 3.4rem; padding: 0 2.5rem; letter-spacing: -.1rem; }
  #overlay-menu ul li a span { font-size: 2rem; padding-right: 1.5rem; }
  #overlay-menu ul li:last-child { padding-right: 2.5rem; }
  #overlay-menu ul li:hover a { padding-left: 3.2rem; }

  .sub-logo-header { top: 2.5rem; left: 2.5rem; }
  .sub-logo-header img { width: 7rem; }

  .title img { width: 30rem; }
  .main-heading-box { margin-bottom: 6rem; }

  .brand .sub-inner { padding: 12rem 2.5rem 6rem; }
  .brand .img-box { flex-direction: column; gap: 1.5rem; }

  .location .map-wrapper { height: 62vh; }
  .location .map-img { transform: scale(1.9); }
  .location .map-img.in { transform: scale(1.9); }
  .location .txt-box {
    position: static; background: #fff; max-width: none;
    padding: 4rem 2.5rem; backdrop-filter: none;
  }

  .architect .top { padding-top: 10rem; }
  .architect .top .top-box { padding: 3rem 2.5rem; gap: 2.5rem; }
  .architect .image-wrapper img { width: 16rem; }
  .architect .bottom .bottom-box { padding: 3rem 2.5rem 6rem; }
  .architect .bottom ul.bottom-list li { flex-direction: column; }
  .architect .bottom ul.bottom-list li b,
  .architect .bottom ul.bottom-list li span { width: 100%; }
  .architect .bottom ul.bottom-list li span { white-space: normal; }

  .facade .con-wrapper.one { padding-right: 0; padding-left: 2.5rem; padding-top: 0; justify-content: flex-start; }
  .facade .con-wrapper.zero .txt-box { padding-left: 2.5rem; padding-right: 2.5rem; }
  .facade p.main-heading { font-size: 2.2rem; }
  .facade-arrows { padding: 0 10px; }

  .overview-inner { padding: 0 2.5rem; }
  .top-wrapper { padding-top: 11rem; }
  .season-scrollbar { margin: 0 2.5rem 4rem; }
  .com-slider { height: 60vh; min-height: 34rem; }

  .modal-sub { padding: 10rem 1.5rem 6rem; background-attachment: scroll; }
  .modal-content { padding: 3rem 2rem; }
  .modal-wrapper { flex-direction: column; gap: 2rem; }
  .submit-button { width: 100%; }
  .modal-heading-box p br { display: none; }

  .site-footer { padding: 4rem 2.5rem 3rem; }
  .footer-left { flex-direction: column; gap: 1rem; }
  .footer-left li { flex-direction: column; gap: .2rem; }
}

@media (max-width: 560px) {
  .address-group { flex-direction: column; gap: 1rem; }
  .modal-content button.add-btn { width: 100%; padding: 1.4rem; }
  .radio-group { flex-direction: column; gap: 1rem; }
  .title img { width: 24rem; }
}

/* ==========================================================================
   Lenis 부드러운 스크롤 (원본과 동일한 스크롤 감각)
   ========================================================================== */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }   /* html의 smooth와 이중 이징 방지 */
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
