/* 주월 엔클레이브 : 라임스톤 · 브론즈 · 오베르진 */
:root {
  --ink: #191320;
  --ink-2: #241b2c;
  --ink-3: #3a2e44;
  --paper: #fbf8f2;
  --stone-1: #f4efe5;
  --stone-2: #e8e0d2;
  --stone-3: #cfc4b1;
  --bronze: #7d5f2f;
  --bronze-2: #a5824a;
  --gold: #d3b680;
  --text: #2a2330;
  --text-2: #5d5363;
  --on-ink: #f3ede2;
  --on-ink-2: #b9afa9;
  --err: #a32a22;
  --err-on: #ffb4a8;

  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'Apple SD Gothic Neo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --latin: 'Cormorant Garamond', 'Times New Roman', serif;

  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hd-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--paper); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt, h1, h2, h3, p, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--bronze-2); outline-offset: 3px; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--gold); color: var(--ink); transition: top .2s; }
.skip:focus { top: 16px; }

/* ── 공통 텍스트 ───────────────── */
.eyebrow { font-family: var(--latin); font-size: 1.0625rem; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); display: flex; align-items: baseline; gap: 14px; font-weight: 500; }
.eyebrow span { font-family: var(--sans); font-size: .8125rem; letter-spacing: .06em; color: var(--text-2); font-weight: 400; }
.eyebrow--on { color: var(--gold); }
.eyebrow--on span { color: var(--on-ink-2); }
.sec__title { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.875rem, 3.6vw, 3.25rem); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.sec__title--on { color: var(--on-ink); }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.85; color: var(--text-2); }
.sec { padding-block: var(--sec); }
.sec--stone { background: var(--stone-1); }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
.sec--ink2 { background: var(--ink-2); color: var(--on-ink); }
.sec__head { margin-bottom: clamp(44px, 6vw, 80px); }

/* ── 버튼 ──────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; font-size: .9375rem; font-weight: 500; letter-spacing: .02em; border: 1px solid transparent; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); cursor: pointer; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #e3cb9c; }
.btn--ghost { border-color: rgba(243, 237, 226, .5); color: var(--on-ink); }
.btn--ghost:hover { background: rgba(243, 237, 226, .12); border-color: var(--on-ink); }
.btn--line { border-color: rgba(211, 182, 128, .7); color: var(--gold); }
.btn--line:hover { background: var(--gold); color: var(--ink); }
.btn--line-dark { border-color: var(--bronze); color: var(--bronze); }
.btn--line-dark:hover { background: var(--bronze); color: #fff; }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--ink:hover { background: var(--ink-3); }
.btn[disabled] { opacity: .65; cursor: progress; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 13px; border: 1px solid rgba(211, 182, 128, .55); font-size: .8125rem; letter-spacing: .06em; color: var(--gold); }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(211, 182, 128, .7); animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(211, 182, 128, 0); } }

.imgcut { position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; font-size: .75rem; line-height: 1.5; letter-spacing: .04em; color: #fff; background: rgba(25, 19, 32, .62); pointer-events: none; }

/* ── 헤더 ──────────────────────── */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--on-ink); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.hd.is-solid { background: rgba(25, 19, 32, .94); box-shadow: 0 1px 0 rgba(211, 182, 128, .18); }
@supports (backdrop-filter: blur(8px)) { .hd.is-solid { background: rgba(25, 19, 32, .82); backdrop-filter: blur(14px); } }
.hd__in { display: flex; align-items: center; gap: 32px; height: var(--hd-h); padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; }
.brand__word { font-family: var(--latin); font-size: 1.4375rem; font-weight: 500; letter-spacing: .2em; color: var(--on-ink); }
.gnb { display: flex; gap: clamp(20px, 2.6vw, 40px); margin-inline: auto; }
.gnb a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; color: var(--on-ink); }
.gnb a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnb a:hover::after, .gnb a.is-active::after { transform: scaleX(1); }
.hd__act { display: flex; align-items: center; gap: 20px; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--latin); font-size: 1.25rem; font-weight: 500; letter-spacing: .04em; color: var(--on-ink); font-variant-numeric: lining-nums; }
.hd__tel .ico { width: 15px; height: 15px; color: var(--gold); }
.hd__menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--on-ink); }
.hd__menu .ico { width: 24px; height: 24px; }

.mnav { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; justify-content: center; padding: 80px var(--gutter) 40px; background: var(--ink); color: var(--on-ink); }
.mnav[hidden] { display: none; }
.mnav__close { position: absolute; top: 16px; right: calc(var(--gutter) - 10px); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.mnav__close .ico { width: 24px; height: 24px; }
.mnav nav a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.5rem; border-bottom: 1px solid rgba(243, 237, 226, .12); }
.mnav__tel { margin-top: 32px; font-family: var(--latin); font-size: 2rem; color: var(--gold); font-variant-numeric: lining-nums; }

/* ── 히어로 ────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: var(--on-ink); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: drift 14s var(--ease) both; }
@keyframes drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero__media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(25, 19, 32, .82) 0%, rgba(25, 19, 32, .5) 38%, rgba(25, 19, 32, 0) 68%),
  linear-gradient(0deg, rgba(25, 19, 32, .92) 0%, rgba(25, 19, 32, .35) 30%, rgba(25, 19, 32, 0) 52%),
  linear-gradient(180deg, rgba(25, 19, 32, .5) 0%, rgba(25, 19, 32, 0) 18%); }
.hero__body { position: relative; padding-top: calc(var(--hd-h) + 32px); }
.hero__eyebrow { margin-top: 28px; font-family: var(--serif); font-size: clamp(1rem, 1.3vw, 1.25rem); font-weight: 300; letter-spacing: .1em; color: var(--gold); }
.hero__title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 5.4vw, 5rem); line-height: 1.26; letter-spacing: -.025em; }
.hero__sub { margin-top: 22px; font-size: clamp(1rem, 1.3vw, 1.1875rem); color: rgba(243, 237, 226, .9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__body > * { animation: rise 1.1s var(--ease) both; }
.hero__body > :nth-child(2) { animation-delay: .1s; }
.hero__body > :nth-child(3) { animation-delay: .2s; }
.hero__body > :nth-child(4) { animation-delay: .3s; }
.hero__body > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__facts { position: relative; margin-top: clamp(40px, 6vh, 72px); padding-bottom: clamp(24px, 4vh, 40px); }
.facts { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(211, 182, 128, .4); }
.facts dt { font-size: .8125rem; letter-spacing: .04em; color: var(--on-ink-2); }
.facts dd { margin-top: 6px; font-family: var(--serif); font-size: clamp(1.125rem, 1.9vw, 1.6875rem); font-weight: 400; letter-spacing: -.01em; }
.facts small { font-size: .62em; margin-inline: .12em; color: var(--on-ink-2); }
.imgcut--hero { bottom: auto; top: calc(var(--hd-h) + 12px); right: var(--gutter); }

/* ── 단지 소개 ─────────────────── */
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__fig img { width: 100%; object-fit: cover; aspect-ratio: 829 / 971; }
.about__fig figcaption { margin-top: 12px; font-size: .8125rem; color: var(--text-2); }
.spec { margin-top: 40px; border-top: 1px solid var(--stone-3); }
.spec > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--stone-2); }
.spec dt { font-size: .875rem; color: var(--text-2); }
.spec dd { font-size: 1rem; color: var(--ink); }

/* ── 혜택 띠 ───────────────────── */
.benefit { position: relative; color: var(--on-ink); background: var(--ink); overflow: hidden; }
.benefit__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; opacity: .78; }
.benefit::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(25, 19, 32, .96) 0%, rgba(25, 19, 32, .8) 42%, rgba(25, 19, 32, .5) 100%); }
.benefit__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(80px, 10vw, 148px); }
.benefit__opts { margin-top: 22px; font-size: 1.0625rem; color: rgba(243, 237, 226, .88); }
.benefit__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(211, 182, 128, .32); }
.benefit__list li:first-child { border-top: 1px solid rgba(211, 182, 128, .32); }
.benefit__list span { font-size: 1rem; }
.benefit__list strong { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; color: var(--gold); white-space: nowrap; }
.benefit > .imgcut { z-index: 2; }

/* ── 세대 구성 ─────────────────── */
.types__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.tlist__head, .trow { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 12px; align-items: center; }
.tlist__head { padding: 0 16px 12px; font-size: .8125rem; color: var(--text-2); border-bottom: 1px solid var(--ink); }
.trow { width: 100%; min-height: 62px; padding: 8px 16px; text-align: left; font-size: 1rem; color: var(--text); border-bottom: 1px solid var(--stone-2); transition: background-color .3s var(--ease), color .3s var(--ease); }
.trow b { font-family: var(--latin); font-size: 1.5rem; font-weight: 500; letter-spacing: .02em; color: var(--ink); font-variant-numeric: lining-nums; transition: color .3s var(--ease); }
.trow:hover { background: var(--stone-1); }
.trow[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.trow[aria-pressed="true"] b { color: var(--gold); }
.tlist__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; font-size: .9375rem; font-weight: 500; color: var(--bronze); border-bottom: 1px solid currentColor; }
.tlist__cta .ico { transition: transform .3s var(--ease); }
.tlist__cta:hover .ico { transform: translateX(4px); }

.stack { padding: clamp(18px, 2.4vw, 32px); background: var(--stone-1); }
.stack__cap { font-size: .875rem; color: var(--text-2); margin-bottom: 14px; }
.stack__cap b { font-family: var(--serif); font-weight: 500; color: var(--ink); margin-right: 4px; }
.stack__grid { display: grid; grid-template-columns: 34px 1fr 1fr; gap: 3px; }
.fl { display: flex; align-items: center; font-family: var(--latin); font-size: .9375rem; color: var(--text-2); font-variant-numeric: lining-nums; }
.unit { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 36px; padding: 0 12px; font-size: .875rem; background: var(--paper); color: var(--text); font-variant-numeric: tabular-nums; transition: background-color .35s var(--ease), color .35s var(--ease); }
.unit em { font-style: normal; font-size: .75rem; color: var(--text-2); transition: color .35s var(--ease); }
.unit.is-on { background: var(--ink); color: var(--on-ink); }
.unit.is-on em { color: var(--gold); }
.unit--comm { grid-column: 2 / -1; justify-content: center; background: var(--stone-2); font-size: .8125rem; }

.plan { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--stone-3); }
.plan figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 20px; }
.plan figcaption b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.plan figcaption span { font-size: .8125rem; color: var(--text-2); }
.plan img { width: min(100%, 876px); margin-inline: auto; mix-blend-mode: multiply; }

/* ── 프리미엄 ──────────────────── */
.pm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) clamp(20px, 3vw, 40px); }
.pm__item--a { grid-column: span 5; }
.pm__item--b { grid-column: span 7; }
.pm__item--c { grid-column: span 6; }
.pm__img { position: relative; overflow: hidden; background: var(--ink-2); }
.pm__item--a .pm__img { aspect-ratio: 5 / 6; }
.pm__item--b .pm__img { aspect-ratio: 7 / 6; }
.pm__item--c .pm__img { aspect-ratio: 3 / 2; }
.pm__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pm__item:hover .pm__img img { transform: scale(1.04); }
.pm__txt { display: grid; grid-template-columns: 44px 1fr; gap: 2px 8px; margin-top: 20px; }
.pm__txt i { grid-row: span 2; font-family: var(--latin); font-style: normal; font-size: 1.5rem; line-height: 1.4; color: var(--gold); font-variant-numeric: lining-nums; }
.pm__txt h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.125rem, 1.6vw, 1.4375rem); line-height: 1.5; color: var(--on-ink); }
.pm__txt p { margin-top: 4px; font-size: .9375rem; color: var(--on-ink-2); }

/* ── 입지 ──────────────────────── */
.loc__grid { display: grid; grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.loc__map img { width: 100%; }
.loc__map a { display: block; }
.loc__map figcaption { margin-top: 12px; font-size: .8125rem; color: var(--text-2); }
.dist__title { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; color: var(--ink); margin-bottom: 12px; }
.dist li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--stone-3); }
.dist li:last-child { border-bottom: 1px solid var(--stone-3); }
.dist b { font-family: var(--latin); font-size: 1.3125rem; font-weight: 500; color: var(--bronze); font-variant-numeric: lining-nums; }
.dist span { font-size: .9375rem; }
.loc__four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); }
.loc__four h3 { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; color: var(--ink); padding-top: 16px; border-top: 1px solid var(--ink); }
.loc__four p { margin-top: 10px; font-size: .9375rem; color: var(--text-2); }
.loc__real { margin-top: clamp(48px, 6vw, 80px); background: var(--paper); }
.loc__real iframe { display: block; width: 100%; height: clamp(300px, 34vw, 440px); border: 0; }
.loc__addr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 20px clamp(16px, 2vw, 28px); }
.loc__addr b { display: block; font-size: .8125rem; font-weight: 400; color: var(--text-2); }
.loc__addr p { color: var(--ink); }
.loc__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── 샘플하우스 · 등록 ─────────── */
.contact { background-image: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.sample .eyebrow { margin-top: 28px; }
.sample__list { margin-top: 36px; border-top: 1px solid rgba(211, 182, 128, .32); }
.sample__list > div { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(243, 237, 226, .12); }
.sample__list dt { font-size: .875rem; color: var(--on-ink-2); }
.sample__list small { display: block; margin-top: 2px; font-size: .8125rem; color: var(--on-ink-2); }
.sample__tel { display: inline-block; margin-top: 36px; font-family: var(--latin); font-size: clamp(2.5rem, 4.6vw, 3.75rem); line-height: 1.1; font-weight: 500; letter-spacing: .01em; color: var(--gold); font-variant-numeric: lining-nums; }
.sample__tel small { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: .8125rem; font-weight: 400; letter-spacing: .04em; color: var(--on-ink-2); }

.regi { background: var(--paper); color: var(--text); padding: clamp(28px, 4vw, 56px); scroll-margin-top: calc(var(--hd-h) + 16px); }
.form__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--ink); line-height: 1.4; }
.form__desc { margin-top: 8px; font-size: .9375rem; color: var(--text-2); }
.field { margin-top: 22px; }
.field label { display: block; font-size: .875rem; font-weight: 500; color: var(--ink); }
.field label em { font-style: normal; font-weight: 400; font-size: .75rem; color: var(--bronze); margin-left: 2px; }
.field label span { font-weight: 400; font-size: .75rem; color: var(--text-2); margin-left: 4px; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 10px 2px; font-size: 1rem; background: transparent; border: 0; border-bottom: 1px solid var(--stone-3); border-radius: 0; transition: border-color .25s var(--ease); -webkit-appearance: none; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237d5f2f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 28px; cursor: pointer; }
.field textarea { resize: vertical; line-height: 1.6; }
.field input::placeholder { color: #8a8089; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-bottom: 2px solid var(--bronze); padding-bottom: 9px; }
.field input[aria-invalid="true"] { border-bottom: 2px solid var(--err); padding-bottom: 9px; }
.field__err { margin-top: 5px; font-size: .8125rem; color: var(--err); }
.field__err:empty, .form__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { margin-top: 26px; font-size: .875rem; }
.chk { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; cursor: pointer; }
.chk input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--bronze); cursor: pointer; }
.agree__more { margin: -6px 0 2px 30px; font-size: .8125rem; color: var(--text-2); }
.agree__more summary { display: inline-block; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.agree__more ul { margin-top: 6px; padding: 12px 14px; background: var(--stone-1); }
.agree__more li + li { margin-top: 4px; }
.form__err { margin-top: 14px; padding: 12px 14px; font-size: .875rem; color: var(--err); background: #f9e9e6; }
#form-submit { margin-top: 18px; min-height: 58px; font-size: 1rem; }
.done { text-align: center; padding-block: clamp(32px, 6vw, 64px); }
.done:focus { outline: 0; }
.done__ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 20px; border: 1px solid var(--bronze); border-radius: 50%; color: var(--bronze); }
.done__ico .ico { width: 26px; height: 26px; }
.done p { margin: 12px 0 28px; color: var(--text-2); }

/* ── 푸터 ──────────────────────── */
.ft { background: var(--ink); color: var(--on-ink-2); padding-block: 56px 48px; border-top: 1px solid rgba(211, 182, 128, .18); }
.ft__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.ft__info { font-size: .9375rem; color: var(--on-ink); }
.ft__info a { color: var(--gold); }
.ft__note { margin-top: 24px; max-width: 72em; font-size: .8125rem; line-height: 1.8; }
.ft__copy { margin-top: 16px; font-size: .8125rem; }

/* ── 플로팅 버튼 ────────────────── */
.fab { position: fixed; right: 0; bottom: clamp(24px, 8vh, 72px); z-index: 90; display: flex; flex-direction: column; gap: 1px; box-shadow: 0 12px 32px rgba(25, 19, 32, .32); }
.fab__btn { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 52px; padding: 16px 0; font-size: .8125rem; line-height: 1; background: var(--ink); color: var(--on-ink); transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s var(--ease); }
.fab__btn span { writing-mode: vertical-rl; letter-spacing: .14em; }
.fab__btn .ico { width: 20px; height: 20px; color: var(--gold); transition: color .3s var(--ease); }
.fab__btn:hover { background: var(--ink-3); }
.fab__btn--reg { background: var(--gold); color: var(--ink); font-weight: 600; }
.fab__btn--reg .ico { color: var(--ink); }
.fab__btn--reg:hover { background: #e3cb9c; }
.fab__btn--top { padding: 12px 0; gap: 4px; font-family: var(--latin); font-size: .8125rem; }
.fab__btn--top span { writing-mode: horizontal-tb; letter-spacing: .08em; }
.fab__btn--top .ico { width: 15px; height: 15px; }
.fab__btn--top.is-hidden { opacity: 0; pointer-events: none; }
.fab__num { position: absolute; right: 100%; top: 0; bottom: 0; display: flex; align-items: center; padding: 0 20px; font-family: var(--latin); font-size: 1.5rem; font-weight: 500; white-space: nowrap; background: var(--ink); color: var(--gold); font-variant-numeric: lining-nums; opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.fab__btn--tel:hover .fab__num, .fab__btn--tel:focus-visible .fab__num { opacity: 1; transform: none; }

/* ── 팝업 ──────────────────────── */
.pop { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pop[hidden] { display: none; }
.pop__dim { position: absolute; inset: 0; background: rgba(25, 19, 32, .68); animation: fade .4s var(--ease) both; }
.pop__box { position: relative; display: flex; flex-direction: column; width: min(760px, 100%); max-height: calc(100svh - 40px); background: var(--paper); box-shadow: 0 32px 80px rgba(0, 0, 0, .45); animation: rise .55s var(--ease) both; overflow: auto; }
.pop__box:focus { outline: 0; }
.pop__x { position: absolute; top: 6px; right: 6px; z-index: 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.pop__x .ico { width: 20px; height: 20px; }
.pop__con { display: grid; grid-template-columns: 5fr 6fr; }
.pop__media { position: relative; min-height: 320px; background: var(--ink); }
.pop__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop__txt { padding: clamp(32px, 5vw, 52px) clamp(24px, 4vw, 44px) clamp(24px, 4vw, 40px); }
.pop__eye { font-size: .8125rem; letter-spacing: .06em; color: var(--bronze); }
.pop__title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--ink); line-height: 1.35; }
.pop__list { margin: 22px 0 26px; border-top: 1px solid var(--stone-3); }
.pop__list li { padding: 11px 0; font-size: .9375rem; color: var(--text); border-bottom: 1px solid var(--stone-2); }
.pop__foot { display: flex; justify-content: space-between; background: var(--ink); color: var(--on-ink); font-size: .875rem; }
.pop__foot button { min-height: 48px; padding: 0 20px; }
.pop__foot button:hover { color: var(--gold); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
body.is-locked { overflow: hidden; }

/* ── 스크롤 등장 ───────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── 반응형 ────────────────────── */
@media (min-width: 761px) {
  :root { --gutter: clamp(60px, 5vw, 64px); }
}
@media (max-width: 1180px) {
  .gnb, .hd__cta { display: none; }
  .hd__act { margin-left: auto; }
  .hd__menu { display: inline-flex; }
}
@media (max-width: 960px) {
  :root { --hd-h: 64px; }
  .about__grid, .types__grid, .loc__grid, .contact__grid, .benefit__in { grid-template-columns: minmax(0, 1fr); }
  .about__fig { order: 2; }
  .benefit__in { align-items: start; }
  .loc__four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm__item--a, .pm__item--b, .pm__item--c { grid-column: span 12; }
  .pm__item--a .pm__img, .pm__item--b .pm__img, .pm__item--c .pm__img { aspect-ratio: 4 / 3; }
  .benefit__bg { opacity: .55; }
  .benefit::before { background: linear-gradient(180deg, rgba(25, 19, 32, .86), rgba(25, 19, 32, .72)); }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 76px; }
  .brand__word { font-size: 1.25rem; }
  .brand__mark { width: 30px; height: 30px; }
  .hd__tel { display: none; }
  .hero__media img { object-position: 74% 50%; }
  .hero__media::after { background:
    linear-gradient(0deg, rgba(25, 19, 32, .96) 0%, rgba(25, 19, 32, .72) 46%, rgba(25, 19, 32, .15) 78%),
    linear-gradient(180deg, rgba(25, 19, 32, .55) 0%, rgba(25, 19, 32, 0) 16%); }
  .hero__cta .btn { flex: 1 1 140px; padding: 0 16px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding-top: 18px; }
  .facts > div:nth-child(3) { grid-column: 1 / -1; order: 5; }
  .imgcut--hero { top: calc(var(--hd-h) + 6px); }
  .loc__four { grid-template-columns: minmax(0, 1fr); }
  .loc__addr .btn { flex: 1 1 130px; }
  .loc__links { width: 100%; }
  .trow { padding-inline: 10px; gap: 6px; font-size: .9375rem; }
  .tlist__head { padding-inline: 10px; gap: 6px; }
  .trow b { font-size: 1.3125rem; }
  .fab { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -8px 24px rgba(25, 19, 32, .25); }
  .fab__btn { flex: 1 1 50%; width: auto; min-height: 60px; padding: 8px 6px; flex-direction: row; gap: 8px; font-size: .9375rem; }
  .fab__btn span { writing-mode: horizontal-tb; letter-spacing: .01em; }
  .fab__btn .ico { width: 18px; height: 18px; }
  .fab__btn--top, .fab__num { display: none; }
  .pop__con { grid-template-columns: minmax(0, 1fr); }
  .pop__media { min-height: 0; height: 150px; }
  .pop__txt { padding: 24px 22px 22px; }
  .pop__list { margin: 16px 0 18px; }
  .pop__list li { padding: 9px 0; }
  .pop__x { color: #fff; background: rgba(25, 19, 32, .5); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
