/* 랜딩엔진 디자인 시스템 — "Editorial Residence"
   아이보리 지면 · 잉크 블랙 · 현장별 강조색 2개(--accent 주색, --accent2 금속색).
   현장마다 바뀌는 건 :root 의 색 3개뿐 (build.mjs 가 site.json theme 에서 주입). */

/* 폰트 = Pretendard 하나(사용자 결정 2026-10-16). 굵기 상한 = 700(bold). 폰트 범위도 700 까지만 선언해 800·900 을 써도 700 으로 고정된다 (사용자 결정 2026-10-16).
   폰트는 전부 동봉(외부 CDN 0 — checklinks 의 '미러링 누락' 방지). 경로는 assets/site.css 기준. */
@font-face { font-family: "Pretendard Variable"; font-weight: 45 700; font-style: normal; font-display: swap; src: url("fonts/PretendardVariable.woff2") format("woff2"); }

:root {
  --paper: #f5f2ec;
  --paper2: #ebe6dc;
  --line: #d9d1c3;
  --text: #1a1d20;
  --muted: #6c6860;
  --white: #fffdf9;
  --on-ink: #f1ece2;
  --on-ink-muted: rgba(241, 236, 226, .62);
  --ink-line: rgba(241, 236, 226, .14);
  --gnb-h: 64px;
  --r: 6px;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gnb-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.65 var(--sans); letter-spacing: -0.01em; word-break: keep-all;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--accent); }
button, input, select { font: inherit; color: inherit; }
/* hidden 속성은 언제나 숨김 — .unit{display:grid} 같은 규칙이 덮어써 탭 패널이 전부 보이던 버그 방지 */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 40px; } }

/* ── 버튼 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--text); color: var(--paper); border-color: var(--text); }
.btn-block { width: 100%; }

/* ── 상단 내비 ── */
.gnb {
  transition: background .3s, color .3s, border-color .3s;
  position: fixed; inset: 0 0 auto; z-index: 40; height: var(--gnb-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.gnb.is-scrolled { border-color: var(--line); }
.gnb-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.gnb-brand { display: flex; align-items: center; min-width: 0; text-decoration: none; }
.gnb-logo { height: 20px; width: auto; }
.gnb-logo-l { display: none; }
.on-dark-hero .gnb:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.on-dark-hero .gnb:not(.is-scrolled) .gnb-logo-d { display: none; }
.on-dark-hero .gnb:not(.is-scrolled) .gnb-logo-l { display: block; }
.on-dark-hero .gnb:not(.is-scrolled) .gnb-nav a { color: rgba(255, 255, 255, .78); }
.on-dark-hero .gnb:not(.is-scrolled) .gnb-nav a:hover { color: #fff; }
.on-dark-hero .gnb:not(.is-scrolled) .gnb-tel { color: #fff; }
.logo-text { font-weight: 700; letter-spacing: -0.03em; }
.gnb-nav { display: none; margin: 0 auto; gap: 4px; }
.gnb-nav a {
  position: relative; padding: 8px 12px; font-size: .9rem; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.gnb-nav a:hover, .gnb-nav a.on { color: var(--text); }
.gnb-nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--accent); }
.gnb-tel {
  display: none; align-items: center; gap: 6px; font-weight: 700; text-decoration: none;
  font-variant-numeric: tabular-nums; color: var(--accent);
}
.gnb-menu { margin-left: auto; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; }
@media (min-width: 1080px) {
  .gnb-nav { display: flex; }
  .gnb-tel { display: inline-flex; }
  .gnb-menu { display: none; }
}

.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--on-ink);
  padding: 88px 24px 32px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto;
}
.sheet[hidden] { display: none; }
.sheet-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: none; color: inherit; font-size: 1.5rem; cursor: pointer; }
.sheet nav { display: grid; }
.sheet nav a { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ink-line); text-decoration: none; font-size: 1.35rem; font-weight: 700; }
.sheet nav span { font: 600 1rem var(--sans); color: var(--accent2); }

/* ── 섹션 공통 ── */
.sec { padding: 44px 0; }   /* 세로 여백 절반 (사용자 2026-10-16) */
@media (min-width: 900px) { .sec { padding: 64px 0; } }
.sec-paper2 { background: var(--paper2); }
.sec-ink { background: var(--ink); color: var(--on-ink); }

.sh { max-width: 760px; margin-bottom: 24px; }
.sh-center { margin-inline: auto; text-align: center; }
.sh-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sh-center .sh-meta { justify-content: center; }
.sh-no {
  font: 600 .8rem/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .08em;
  padding: 6px 10px; border: 1px solid currentColor; border-radius: 999px; color: var(--accent);
}
.sh-en { font: 600 1.25rem/1 var(--sans); color: var(--accent2); letter-spacing: .01em; }
.sh-kicker { font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.sh-title { font-size: clamp(1.75rem, 4.2vw, 2.9rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.035em; }
.sh-lead { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }
.sh-cap { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--muted); }
.sh-cap em { color: var(--accent); font-weight: 700; }
.sh-dark .sh-cap { border-color: var(--ink-line); color: var(--on-ink-muted); }
.sh-dark .sh-cap em { color: var(--accent2); }
.sh-dark .sh-no { color: var(--accent2); }
.sh-dark .sh-kicker, .sh-dark .sh-lead { color: var(--on-ink-muted); }
.sh-dark em { color: var(--accent2); }

.note { margin-top: 28px; font-size: .82rem; color: var(--muted); }
.note-dark { color: var(--on-ink-muted); }

/* ── 미디어 ── */
.m { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper2); }
.m img, .m video { width: 100%; height: 100%; object-fit: cover; }
.m-label {
  position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 4px;
  font-size: .7rem; color: #fff; background: rgba(0, 0, 0, .45); backdrop-filter: blur(4px);
}
.m-slot {
  display: grid; place-items: center; text-align: center; padding: 16px;
  background: repeating-linear-gradient(-45deg, var(--paper2) 0 12px, color-mix(in srgb, var(--paper2) 70%, var(--line)) 12px 24px);
  border: 1px dashed var(--line);
}
.m-slot-name { font-size: .8rem; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }

/* ── 히어로 (full: 휴대폰 한 화면 꽉 채우는 어두운 풀스크린) ── */
.hero-full {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; color: #fff; background: var(--ink);
  padding: calc(var(--gnb-h) + 24px) 0 calc(var(--bar-h, 150px) + 36px);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg .m { height: 100%; border-radius: 0; background: var(--ink); }
.hero-bg.is-kb .m img, .hero-bg.is-kb .m video { transform-origin: 55% 35%; animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1.24) translate3d(-2%, -3%, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 9, 11, .72) 0%, rgba(6, 9, 11, .25) 22%, rgba(6, 9, 11, .35) 45%, rgba(6, 9, 11, .88) 78%, rgba(6, 9, 11, .96) 100%),
    radial-gradient(120% 70% at 50% 40%, transparent 40%, rgba(0, 0, 0, .45) 100%),
    color-mix(in srgb, var(--accent) 22%, transparent);
  mix-blend-mode: normal;
}
.hero-full .hero-inner { position: relative; }
.hero-full .hero-kicker { font: 600 1.15rem/1.4 var(--sans); color: color-mix(in srgb, var(--accent2) 65%, #fff); margin-bottom: 12px; }
.hero-full .hero-kicker em { color: inherit; }
.hero-full .hero-title { font-size: clamp(2.3rem, 10.5vw, 5rem); line-height: 1.14; font-weight: 700; letter-spacing: -0.045em; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-full .hero-title em, .hero-full .hero-sub em { color: color-mix(in srgb, var(--accent2) 55%, #fff); }
.hero-full .hero-sub { margin-top: 14px; font-size: clamp(1.15rem, 4.6vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; }
.hero-full .hero-chips { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-full .hero-chips li {
  display: flex; gap: 8px; align-items: baseline; padding: 12px 12px; border-radius: var(--r);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 700; font-size: .92rem; line-height: 1.35;
  opacity: 0; transform: translateY(14px); animation: hx .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d);
}
.hero-full .hero-chips li em { color: color-mix(in srgb, var(--accent2) 55%, #fff); }
.hero-full .hero-chips span { font: 600 .95rem var(--sans); color: color-mix(in srgb, var(--accent2) 70%, #fff); }
.hero-scroll {
  display: grid; justify-items: center; gap: 6px; width: max-content; margin: 26px auto 0;
  font-size: .68rem; letter-spacing: .32em; color: rgba(255, 255, 255, .7); text-decoration: none;
}
.hero-scroll i { width: 1px; height: 28px; background: linear-gradient(rgba(255, 255, 255, .8), transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-label { position: absolute; right: 12px; bottom: calc(var(--bar-h, 150px) + 10px); font-size: .68rem; color: rgba(255, 255, 255, .7); }
.hx { opacity: 0; transform: translateY(18px); animation: hx .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes hx { to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .hero-full .hero-inner { max-width: 1200px; }
  .hero-full .hero-chips { grid-template-columns: repeat(4, 1fr); max-width: 980px; }
  .hero-full .hero-scroll { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg.is-kb .m img, .hero-bg.is-kb .m video, .hero-scroll i { animation: none; }
  .hx, .hero-full .hero-chips li { animation: none; opacity: 1; transform: none; }
}

/* ── 히어로 A. 아치 ── */
.hero-arch {
  position: relative; min-height: 100svh; overflow: hidden; color: #fff;
  background: radial-gradient(90% 60% at 50% 30%, color-mix(in srgb, var(--accent) 35%, var(--ink)) 0%, var(--ink) 70%);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--gnb-h) + 8px) 0 calc(var(--bar-h, 150px) + 60px);
}
.ha-stage { display: grid; justify-items: center; text-align: center; padding: 0 20px; }
.ha-kicker { font: 600 1.1rem var(--sans); color: color-mix(in srgb, var(--accent2) 65%, #fff); margin-bottom: 14px; }
.ha-kicker em { color: inherit; }
.ha-window {
  position: relative; width: min(64vw, 340px); aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent2) 55%, transparent); outline: 1px solid color-mix(in srgb, var(--accent2) 25%, transparent); outline-offset: 8px;
  clip-path: inset(100% 0 0 0 round 999px 999px 6px 6px); animation: archUp 1.3s cubic-bezier(.7, 0, .2, 1) .15s forwards;
}
@keyframes archUp { to { clip-path: inset(0 0 0 0 round 999px 999px 6px 6px); } }
.ha-window .m { height: 100%; border-radius: 0; }
.ha-window img { animation: kb 20s ease-in-out infinite alternate; }
.ha-en { position: absolute; left: 0; right: 0; top: 22%; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); font: 600 .7rem var(--sans); letter-spacing: .35em; color: rgba(255, 255, 255, .8); }
.ha-title { position: relative; z-index: 1; margin-top: -1.1em; font-size: clamp(2.2rem, 10vw, 4.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.045em; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.ha-title em, .ha-sub em { color: color-mix(in srgb, var(--accent2) 55%, #fff); }
.ha-sub { margin-top: 12px; font-size: clamp(1.05rem, 4.2vw, 1.4rem); font-weight: 700; }
.ha-ticker { position: absolute; left: 0; right: 0; bottom: calc(var(--bar-h, 150px) + 14px); overflow: hidden; border-block: 1px solid var(--ink-line); padding: 12px 0; }
.ha-track { display: flex; width: max-content; gap: 22px; align-items: center; animation: marquee 22s linear infinite; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.ha-track em { color: color-mix(in srgb, var(--accent2) 55%, #fff); }
.ha-track i { font-style: normal; color: var(--accent2); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 900px) { .ha-window { width: 300px; } }
.hero-arch .hero-label { bottom: auto; top: calc(var(--gnb-h) + 8px); }

/* ── 히어로 B. 매거진 커버 ── */
.hero-cover { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--gnb-h) + 4px) 0 calc(var(--bar-h, 150px) + 28px); }
.hc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 9, 11, .55) 0%, rgba(6, 9, 11, .1) 35%, rgba(6, 9, 11, .5) 62%, rgba(6, 9, 11, .95) 100%); }
.hc-mast { display: grid; padding: 0 16px; font: 500 clamp(2.4rem, 14vw, 8.5rem)/.9 var(--sans); letter-spacing: -0.02em; text-transform: uppercase; }
.hc-mast span { display: block; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .85); }
.hc-mast span:nth-child(even) { text-align: right;  color: rgba(255, 255, 255, .92); -webkit-text-stroke: 0; }
.hc-foot { max-width: 1200px; }
.hc-kicker { font: 600 1.05rem var(--sans); color: color-mix(in srgb, var(--accent2) 65%, #fff); margin-bottom: 10px; }
.hc-kicker em { color: inherit; }
.hc-title { font-size: clamp(2.1rem, 9.4vw, 4.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.045em; max-width: 12em; }
.hc-title em, .hc-sub em { color: color-mix(in srgb, var(--accent2) 55%, #fff); }
.hc-sub { margin-top: 10px; font-size: clamp(1.05rem, 4.2vw, 1.4rem); font-weight: 700; }
.hc-badge { position: absolute; right: 14px; top: 46%; width: 128px; height: 128px; display: grid; place-items: center; }
.hc-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hc-badge text { fill: #fff; font: 700 14px var(--sans); letter-spacing: 1px; }
.hc-badge p { width: 84px; height: 84px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--accent2); color: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.hc-badge small { font-size: .62rem; font-weight: 600; opacity: .9; }
.hc-badge b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 900px) { .hc-badge { right: 8%; top: 40%; width: 180px; height: 180px; } .hc-badge p { width: 118px; height: 118px; } .hc-badge b { font-size: 1.4rem; } }

/* ── 히어로 C. 조건 카드 ── */
.hero-stack { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); display: flex; align-items: center; padding: calc(var(--gnb-h) + 16px) 0 calc(var(--bar-h, 150px) + 24px); }
.hs-bg { z-index: -1; }
.hs-bg .m img { filter: blur(3px) brightness(.38) saturate(.8); transform: scale(1.08); animation: kb 26s ease-in-out infinite alternate; }
.hs-in { position: relative; }
.hs-kicker { font: 600 1.05rem var(--sans); color: color-mix(in srgb, var(--accent2) 65%, #fff); margin-bottom: 10px; }
.hs-kicker em { color: inherit; }
.hs-title { font-size: clamp(1.9rem, 8.4vw, 3.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.04em; }
.hs-title em, .hs-sub em { color: color-mix(in srgb, var(--accent2) 55%, #fff); }
.hs-sub { margin-top: 8px; font-size: 1.05rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.hs-deck { margin-top: 26px; }
.hs-deck ul { position: relative; height: 200px; }
.hs-card {
  position: absolute; inset: 0; display: grid; align-content: end; gap: 4px; padding: 22px 22px 20px; border-radius: 18px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 70%, #000) 0%, color-mix(in srgb, var(--ink) 90%, #000) 100%);
  border: 1px solid color-mix(in srgb, var(--accent2) 45%, transparent);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(26px) scale(.94) rotate(-1.5deg); transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}
.hs-card.is-on { opacity: 1; transform: none; }
.hs-card.is-out { opacity: 0; transform: translateY(-20px) scale(1.02) rotate(1deg); }
.hs-no { position: absolute; top: 18px; left: 22px; font: 600 .95rem var(--sans); color: color-mix(in srgb, var(--accent2) 70%, #fff); }
.hs-card b { font-size: clamp(3rem, 15vw, 5.4rem); line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: color-mix(in srgb, var(--accent2) 45%, #fff); }
.hs-card small { font-size: 1rem; font-weight: 700; color: rgba(255, 255, 255, .85); }
.hs-dots { display: flex; gap: 6px; margin-top: 14px; }
.hs-dots button { flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-dots i { display: block; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; position: relative; }
.hs-dots i::after { content: ""; position: absolute; inset: 0; background: var(--accent2); transform: scaleX(0); transform-origin: left; }
.hs-dots .is-on i::after { animation: fill var(--hs-t, 2.8s) linear forwards; }
.hs-dots .is-done i::after { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
@media (min-width: 900px) { .hs-in { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; } .hs-deck { margin: 0; } .hs-deck ul { height: 260px; } }

@media (prefers-reduced-motion: reduce) {
  .ha-window { animation: none; clip-path: none; }
  .ha-track, .hc-badge svg, .hs-bg .m img, .ha-window img { animation: none; }
}

/* ── 히어로 (split: 밝은 지면 · 좌 카피 / 우 미디어) ── */
.hero-split { padding: calc(var(--gnb-h) + 28px) 0 56px; overflow: hidden; }
.hero-split .hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-split .hero-kicker { font: 600 1.2rem/1.4 var(--sans); color: var(--accent2); margin-bottom: 14px; }
.hero-split .hero-kicker em { color: var(--accent2); }
.hero-split .hero-title { font-size: clamp(2.35rem, 7.4vw, 4.6rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.045em; }
.hero-split .hero-sub { margin-top: 18px; font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; }
.hero-split .hero-sub em { color: var(--accent2); }
.hero-split .hero-chips { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--text); }
.hero-split .hero-chips li {
  display: flex; gap: 10px; align-items: baseline; padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line); font-weight: 600; font-size: .98rem; line-height: 1.4;
}
.hero-split .hero-chips li:nth-child(odd) { border-right: 1px solid var(--line); }
.hero-split .hero-chips li:nth-child(even) { padding-left: 14px; }
.hero-split .hero-chips span { font: 600 .95rem var(--sans); color: var(--accent2); }
.hero-split .hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-split .hero-cta .btn-line { font-variant-numeric: tabular-nums; }
.hero-split .hero-media { position: relative; }
.hero-split .hero-m { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(18, 22, 25, .45); }
.hero-split .hero-vert {
  position: absolute; top: 0; right: -6px; transform: translateX(100%);
  writing-mode: vertical-rl; font: 600 .95rem var(--sans); letter-spacing: .3em; color: var(--muted);
  white-space: nowrap; display: none;
}
@media (min-width: 900px) {
  .hero-split { padding-top: calc(var(--gnb-h) + 56px); padding-bottom: 88px; }
  .hero-split .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .hero-split .hero-m { aspect-ratio: 2 / 3; max-height: calc(100svh - var(--gnb-h) - 120px); margin-left: auto; }
  .hero-split .hero-vert { display: block; transform: translateX(28px); }
}

/* ── 핵심 수치 띠 ── */
.facts { border-block: 1px solid var(--text); }
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); }
.fact { padding: 11px 0 11px 16px; border-left: 1px solid var(--line); }
.fact:nth-child(odd) { border-left: 0; padding-left: 0; }
.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
.fact-num { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fact-num small { font-size: .45em; font-weight: 700; margin-left: 3px; letter-spacing: 0; color: var(--accent); }
.fact-label { margin-top: 8px; font-size: .85rem; color: var(--muted); }
@media (min-width: 900px) {
  .facts-row { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(odd) { padding: 16px 0 16px 28px; border-left: 1px solid var(--line); border-top: 0; }
  .fact:first-child { border-left: 0; padding-left: 0; }
}

/* ── 혜택: 티켓 ── */
.tickets { display: grid; gap: 12px; counter-reset: t; }
.ticket {
  --notch: 12px;
  position: relative; display: grid; grid-template-columns: 76px 1fr; align-items: center;
  min-height: 92px; border-radius: var(--r);
  background: color-mix(in srgb, var(--on-ink) 6%, transparent);
  border: 1px solid var(--ink-line);
}
.ticket::before, .ticket::after {
  content: ""; position: absolute; left: calc(76px - var(--notch)); width: calc(var(--notch) * 2); height: calc(var(--notch) * 2);
  border-radius: 50%; background: var(--ink); border: 1px solid var(--ink-line);
}
.ticket::before { top: calc(var(--notch) * -1 - 1px); clip-path: inset(50% 0 0 0); }
.ticket::after { bottom: calc(var(--notch) * -1 - 1px); clip-path: inset(0 0 50% 0); }
.ticket-no {
  align-self: stretch; display: grid; place-items: center; border-right: 1px dashed var(--ink-line);
  font: 600 2rem/1 var(--sans); color: var(--accent2);
}
.ticket-title { padding: 18px 20px; font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.ticket-title em { color: var(--accent2); }
.ticket-desc { grid-column: 2; padding: 0 20px 18px; margin-top: -10px; color: var(--on-ink-muted); font-size: .92rem; }
@media (min-width: 900px) {
  .tickets { grid-template-columns: 1fr 1fr; gap: 16px; }
  .ticket:first-child { grid-column: 1 / -1; min-height: 120px; }
  .ticket:first-child .ticket-title { font-size: 2rem; }
  /* 항목이 6개 이상이면 첫 카드 강조를 풀어 2열 균등 격자로 */
  .tickets:has(> :nth-child(6)) .ticket:first-child { grid-column: auto; min-height: 92px; }
  .tickets:has(> :nth-child(6)) .ticket:first-child .ticket-title { font-size: clamp(1.15rem, 2.6vw, 1.6rem); }
  .ticket { grid-template-columns: 96px 1fr; }
  .ticket::before, .ticket::after { left: calc(96px - var(--notch)); }
}

/* ── 상담 신청 ── */
.sec-lead { background: var(--paper2); }
.lead-grid { display: grid; gap: 32px; align-items: start; }
.lead-copy .sh { margin-bottom: 24px; }
.lead-tel { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.lead-phone {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: 1.1rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums;
}
.lead-form {
  display: grid; gap: 18px; padding: 28px 22px; background: var(--white); border-radius: calc(var(--r) * 2);
  border: 1px solid var(--line); box-shadow: 0 24px 48px -32px rgba(18, 22, 25, .35);
}
.f-field { display: grid; gap: 6px; }
.f-field > span { font-size: .82rem; font-weight: 700; color: var(--muted); }
.f-field input, .f-field select {
  height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); font-size: 1.05rem; appearance: none;
}
.f-field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.f-field input:focus, .f-field select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.f-agree { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; font-weight: 600; cursor: pointer; }
.f-agree input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.f-agree small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; line-height: 1.5; margin-top: 2px; }
.f-done { padding: 16px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); font-weight: 700; text-align: center; }
@media (min-width: 900px) {
  .lead-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .lead-form { padding: 36px; }
}

/* ── 특징 카드 ── */
.cards { display: grid; gap: 28px; }
.card-m { aspect-ratio: 4 / 3; }
.card-no { margin-top: 18px; font: 600 1rem var(--sans); color: var(--accent2); }
.card-title { margin-top: 4px; font-size: 1.22rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; }
.card-desc { margin-top: 6px; color: var(--muted); font-size: .95rem; }
/* 이미지 없는 카드 = 번호가 주인공인 텍스트 카드 */
.card:not(:has(.m)) { padding: 24px 0 8px; border-top: 1px solid var(--text); }
.card:not(:has(.m)) .card-no { margin-top: 0; font-size: 2.4rem; line-height: 1; }
.card:not(:has(.m)) .card-title { margin-top: 14px; }
.cards:not(:has(.m)) { row-gap: 8px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

/* ── 스토리 밴드 ── */
.band { position: relative; color: var(--on-ink); background: var(--ink); min-height: 76svh; display: flex; align-items: flex-end; overflow: hidden; }
.band-bg { position: absolute; inset: 0; }
.band-bg .m { height: 100%; border-radius: 0; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 14, .05) 30%, rgba(10, 12, 14, .82)); }
.band-inner { position: relative; z-index: 1; padding-block: 40px 32px; }
.band .sh { margin-bottom: 0; }
.band-points { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.band-points li { padding: 8px 14px; border: 1px solid var(--ink-line); border-radius: 999px; font-size: .9rem; backdrop-filter: blur(6px); background: rgba(0, 0, 0, .2); }
.band-stack { display: block; min-height: 0; padding: 44px 0; }
.band-stack .band-inner { padding: 0 20px 20px; }
.band-media .m { background: transparent; }
@media (min-width: 900px) { .band-stack { padding: 64px 0; } .band-stack .band-inner { padding: 0 40px 28px; } }

/* ── 사업개요 ── */
.ov-grid { display: grid; gap: 40px; align-items: start; }
.ov-media .m { aspect-ratio: 1 / 1; }
.spec { border-top: 1px solid var(--text); }
.spec > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: .9rem; padding-top: 1px; }
.spec dd { font-weight: 600; }
.spec a { color: var(--accent); text-decoration: none; }
.spec-sm > div { padding: 10px 0; font-size: .93rem; }
.type-pills { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.type-pills li { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 14px; border-radius: 999px; background: var(--paper2); font-size: .9rem; }
.type-pills b { color: var(--accent); }
@media (min-width: 900px) {
  .ov-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .ov-media { position: sticky; top: calc(var(--gnb-h) + 24px); }
}

/* ── 입지 ── */
.loc-grid { display: grid; gap: 32px; }
.loc-group { padding: 20px 0; border-top: 1px solid var(--text); }
.loc-group + .loc-group { border-top-color: var(--line); }
.loc-group h3 { display: flex; gap: 12px; align-items: baseline; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.loc-group h3 span { font: 600 1rem var(--sans); color: var(--accent2); }
.loc-group li { position: relative; padding: 4px 0 4px 18px; }
.loc-group li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--accent); }
.loc-extra { margin-top: 32px; }
@media (min-width: 900px) { .loc-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; } }

/* ── 타임라인 ── */
.tl { position: relative; display: grid; gap: 0; }
.tl::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 36px 40px; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.tl-date { font: 600 1.2rem/1.2 var(--sans); color: var(--accent2); }
.tl-title { margin-top: 4px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; }
.tl-desc { margin-top: 6px; color: var(--muted); font-size: .95rem; max-width: 640px; }
.tl-tag { justify-self: start; display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.tl-done { background: var(--accent); color: #fff; }
.tl-plan { border: 1px solid var(--line); color: var(--muted); }
.tl-media { margin-top: 24px; }
@media (min-width: 900px) {
  .tl { grid-template-columns: 1fr 1fr; column-gap: 64px; }
  .tl::before { display: none; }
  .tl-item { padding: 28px 0 28px 0; border-top: 1px solid var(--line); }
  .tl-item::before { display: none; }
  .tl-item { display: grid; grid-template-columns: 7.5em 1fr; column-gap: 16px; align-content: start; }
  .tl-item > :not(.tl-date) { grid-column: 2; }
  .tl-date { grid-row: 1 / span 3; }
}

/* ── 단지 시스템 ── */
.sys { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--text); }
.sys li { display: flex; gap: 10px; align-items: baseline; padding: 18px 10px 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.sys span { font: 600 .9rem var(--sans); color: var(--accent2); }
@media (min-width: 900px) { .sys { grid-template-columns: repeat(4, 1fr); } .sys li { padding: 24px 16px 24px 0; } }

/* ── 동호수 ── */
.dh-plan { margin-bottom: 40px; }
.dh-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.dh-legend button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); font-size: .9rem; font-weight: 600; cursor: pointer;
}
.dh-legend button.on { background: var(--text); color: var(--paper); border-color: var(--text); }
.dh-legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--tc); }
.dh { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.dh-bld { scroll-snap-align: start; }
.dh-name { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--text); font-weight: 700; font-size: 1.1rem; }
.dh-name small { font-weight: 500; font-size: .8rem; color: var(--muted); }
.dh-grid { display: grid; gap: 2px; }
.dh-row { display: grid; grid-template-columns: 30px 1fr; gap: 4px; align-items: center; }
.dh-fl { font-size: .62rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.dh-cells { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 2px; }
.dh-cell {
  height: 18px; display: grid; place-items: center; font-size: .6rem; font-variant-numeric: tabular-nums; border-radius: 2px;
  background: color-mix(in srgb, var(--tc, #999) 22%, var(--white)); color: color-mix(in srgb, var(--tc, #999) 70%, #000);
  transition: opacity .2s, background .2s;
}
.dh-cell.is-dim { opacity: .14; }
.dh-cell.is-hit { background: var(--tc); color: #fff; }
.dh-skip .dh-cells { display: block; }
.dh-pit { display: block; height: 14px; line-height: 14px; text-align: center; font-size: .58rem; letter-spacing: .3em; color: var(--muted); background: repeating-linear-gradient(90deg, var(--line) 0 4px, transparent 4px 8px); opacity: .8; }
.dh-lines { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .85rem; color: var(--muted); }
.dh-lines b { color: var(--text); }
.dh-total { margin-top: 8px; font-size: .78rem; color: var(--muted); }

/* ── 갤러리 레일 ── */
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-item { flex: 0 0 82%; scroll-snap-align: center; }
.rail-item .m { aspect-ratio: 16 / 10; background: #000; }
.rail-item .m img { object-fit: cover; }
.rail-contain .rail-item .m { aspect-ratio: 4 / 3; }
.rail-contain .rail-item .m img { object-fit: contain; }   /* 글자 박힌 통이미지 갤러리는 fit:"contain" */
.rail-ctl { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.rail-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink-line); background: none; color: var(--on-ink); cursor: pointer; font-size: 1.1rem; }
.rail-ctl button:hover { background: var(--on-ink); color: var(--ink); }
.rail-ctl .note { margin: 0 0 0 auto; }
@media (min-width: 900px) {
  .rail { padding-inline: max(40px, calc((100vw - 1200px) / 2 + 40px)); gap: 20px; }
  .rail-item { flex-basis: 56%; }
}

/* ── 평형 탭 ── */
.tab-list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 32px; scrollbar-width: none; }
.tab-list button {
  flex: none; display: grid; gap: 2px; text-align: left; min-width: 104px; padding: 12px 18px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--white); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; cursor: pointer;
}
.tab-list small { font-size: .74rem; font-weight: 500; color: var(--muted); }
.tab-list button[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tab-list button[aria-selected="true"] small { color: var(--accent2); }
.unit { display: grid; gap: 32px; }
.unit-media { display: grid; gap: 12px; }
.unit-media .m { background: var(--white); border: 1px solid var(--line); aspect-ratio: auto !important; }
.unit-media .m img { object-fit: contain; height: auto; }
.unit-tag { font: 600 1.1rem var(--sans); color: var(--accent2); }
.unit-type { margin: 4px 0 20px; display: flex; align-items: baseline; gap: 12px; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.unit-type span { font-size: .95rem; font-weight: 600; color: var(--accent); letter-spacing: 0; }
.unit-optt { margin: 28px 0 10px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.unit-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.unit-opts li { padding: 6px 12px; border-radius: 999px; background: var(--paper2); font-size: .85rem; }
@media (min-width: 900px) { .unit { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; } }

/* ── 전화 띠 ── */
.cta { background: var(--accent); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.cta p { font-size: clamp(1.05rem, 2.4vw, 1.35rem); font-weight: 700; letter-spacing: -0.02em; }
.cta .btn { background: #fff; color: var(--accent); font-variant-numeric: tabular-nums; }
.cta .btn:hover { background: var(--ink); color: #fff; }

/* ── 오시는 길 ── */
.map-grid { display: grid; gap: 24px; }
.map-grid .sh { margin-bottom: 0; }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1fr 1fr; column-gap: 80px; } .map-links { grid-column: 2; } }

/* ── 푸터 ── */
.foot { background: var(--ink); color: var(--on-ink-muted); padding: 56px 0 40px; font-size: .8rem; line-height: 1.75; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--ink-line); }
.foot-logo { height: 22px; width: auto; opacity: .9; }
.foot-tel { color: var(--on-ink); font-size: 1.4rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.foot-info a { color: var(--on-ink); }
.foot-info b { color: var(--on-ink); }
.foot-legal { margin-top: 20px; display: grid; gap: 4px; font-size: .74rem; opacity: .8; }

/* ── 하단 리드 시트 (아이보리 바텀시트 · 캡슐 입력 · 접으면 알약) ── */
.lbar {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; pointer-events: none;
  padding: 0 0 env(safe-area-inset-bottom);
}
.lbar-in {
  position: relative; pointer-events: auto; margin: 0 auto;
  background: var(--white); color: var(--text);
  border-radius: 20px 20px 0 0; border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 -18px 40px -18px rgba(18, 22, 25, .35);
  padding: 6px 14px 12px;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.lbar-handle { display: block; width: 100%; height: 18px; border: 0; background: none; cursor: pointer; }
.lbar-handle i { display: block; width: 40px; height: 4px; margin: 0 auto; border-radius: 2px; background: var(--line); transition: background .2s; }
.lbar-handle:hover i { background: var(--muted); }
.lbar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lbar-title { display: flex; align-items: baseline; gap: 8px; }
.lbar-title b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.lbar-en { font: 600 1rem var(--sans); color: var(--accent2); }
.lbar-tel {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--accent); font-weight: 700; font-size: .92rem; text-decoration: none; font-variant-numeric: tabular-nums;
}
.lbar-cap {
  display: grid; grid-template-columns: .85fr 1.15fr auto; align-items: center;
  height: 54px; padding: 4px; border-radius: 999px; background: var(--paper);
  border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.lbar-cap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.lbar-f { min-width: 0; height: 100%; }
.lbar-f + .lbar-f { border-left: 1px solid var(--line); }
.lbar-f input { width: 100%; height: 100%; padding: 0 14px; border: 0; background: transparent; font-size: 1rem; color: var(--text); }
.lbar-f input:focus { outline: none; }
.lbar-go {
  display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 16px 0 18px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: .98rem; cursor: pointer; transition: background .2s;
}
.lbar-go:hover { background: color-mix(in srgb, var(--accent) 82%, #000); }
.lbar-go .ic { transition: transform .2s; }
.lbar-go:hover .ic { transform: translateX(3px); }
.lbar-in.is-pulse { animation: pulse .9s ease; }
@keyframes pulse { 0% { box-shadow: 0 -18px 40px -18px rgba(18, 22, 25, .35), 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); } 100% { box-shadow: 0 -18px 40px -18px rgba(18, 22, 25, .35), 0 0 0 14px transparent; } }
/* 동의 = 토글 스위치 */
.lbar-agree { position: relative; display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: .72rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.lbar-agree input { position: absolute; opacity: 0; width: 34px; height: 20px; margin: 0; }
.lbar-agree i { position: relative; flex: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line); transition: background .2s; }
.lbar-agree i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.lbar-agree input:checked + i { background: var(--accent); }
.lbar-agree input:checked + i::after { transform: translateX(14px); }
.lbar-agree input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.lbar-agree b { color: var(--text); font-weight: 700; margin-right: 4px; }
.lbar-agree a { color: var(--text); }
.lbar-done { padding: 14px; text-align: center; font-weight: 700; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, #fff); color: var(--accent); }
/* 접힘: 시트는 내려가고 알약 버튼만 */
.lbar-pill {
  position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%);
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1rem; white-space: nowrap; cursor: pointer; pointer-events: auto;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.lbar-pill small { font-weight: 500; font-size: .8rem; opacity: .75; }
.lbar.is-closed .lbar-in { transform: translateY(110%); opacity: 0; pointer-events: none; }
.lbar.is-closed .lbar-pill { transform: translate(-50%, 0); opacity: 1; }
body { padding-bottom: var(--bar-h, 0px); }
@media (min-width: 900px) {
  .lbar { padding-bottom: 16px; }
  .lbar-in { max-width: 920px; border-radius: 20px; border-bottom: 1px solid var(--line); padding: 4px 22px 16px; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: center; box-shadow: 0 24px 60px -24px rgba(18, 22, 25, .45); }
  .lbar-handle { grid-column: 1 / -1; }
  .lbar-head { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0; }
  .lbar-agree { margin-top: 8px; }
  .lbar-pill { bottom: 24px; }
}

/* 눌리지 않는 전화번호 — 버튼 모양은 두되 손가락 커서·호버 반응을 없앤다 */
.is-static .pn { display: inline-block; }
.is-static a, a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; pointer-events: none; }
.is-static { cursor: default; user-select: text; -webkit-user-select: text; }
.btn.is-static:hover, .btn.is-static:active { transform: none; }
.btn-solid.is-static:hover { background: var(--accent); }
.btn-line.is-static:hover { background: transparent; color: inherit; border-color: currentColor; }
.cta .btn.is-static:hover { background: #fff; color: var(--accent); }

/* ── 하단 리드창 변형 (site.leadbar.style) ── */
/* ① dark: 다크 글래스 + 금색 */
.lbar--dark .lbar-in { background: color-mix(in srgb, var(--ink) 88%, transparent); color: #fff; border-color: var(--ink-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lbar--dark .lbar-handle i { background: rgba(255, 255, 255, .3); }
.lbar--dark .lbar-tel { border-color: var(--ink-line); color: color-mix(in srgb, var(--accent2) 60%, #fff); }
.lbar--dark .lbar-cap { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.lbar--dark .lbar-f + .lbar-f { border-color: rgba(255, 255, 255, .16); }
.lbar--dark .lbar-f input { color: #fff; }
.lbar--dark .lbar-f input::placeholder { color: rgba(255, 255, 255, .5); }
.lbar--dark .lbar-go { background: var(--accent2); }
.lbar--dark .lbar-agree { color: var(--on-ink-muted); }
.lbar--dark .lbar-agree b, .lbar--dark .lbar-agree a { color: #fff; }
.lbar--dark .lbar-agree i { background: rgba(255, 255, 255, .2); }
.lbar--dark .lbar-agree input:checked + i { background: var(--accent2); }

/* 제목·번호는 절대 줄바꿈 안 함 */
.lbar-title b, .lbar-tel { white-space: nowrap; }
.lbar--step .lbar-en { display: none; }
/* ② step: 성함 → 다음 → 연락처·동의 → 신청 */
.lbar--step .lbar-cap { grid-template-columns: 1fr auto; }
.lbar--step .lbar-f { animation: stepIn .35s ease; }
.lbar--step:not(.is-step2) .lbar-f-phone, .lbar--step:not(.is-step2) .lbar-agree { display: none; }
.lbar--step.is-step2 .lbar-f-name { display: none; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.lbar-steps { display: none; }
.lbar--step .lbar-steps { display: inline-flex; gap: 4px; margin-left: 8px; }
.lbar--step .lbar-steps i { width: 18px; height: 3px; border-radius: 2px; background: var(--line); }
.lbar--step .lbar-steps i:first-child, .lbar--step.is-step2 .lbar-steps i { background: var(--accent); }
.lbar-back { display: none; }
.lbar--step.is-step2 .lbar-back { display: inline; border: 0; background: none; color: var(--muted); font-size: .8rem; cursor: pointer; padding: 0 4px; }

/* ③ float: 떠 있는 카드 + 현장색 머리띠 */
.lbar--float { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
.lbar--float .lbar-in { border-radius: 18px; border: 0; overflow: hidden; padding: 0 0 12px; box-shadow: 0 20px 50px -16px rgba(0, 0, 0, .55); }
.lbar--float .lbar-handle { position: absolute; top: 0; left: 0; right: 0; height: 52px; z-index: 1; }
.lbar--float .lbar-handle i { display: none; }
.lbar--float .lbar-head { margin: 0 0 12px; padding: 12px 14px; background: var(--accent); color: #fff; }
.lbar--float .lbar-head::after { content: ""; position: absolute; right: 18px; top: 22px; width: 8px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.lbar--float .lbar-en { color: color-mix(in srgb, var(--accent2) 50%, #fff); }
.lbar--float .lbar-tel { position: relative; z-index: 2; margin-right: 22px; border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .1); }
.lbar--float .lbar-body { padding: 0 12px; }
.lbar--float .lbar-cap { border-radius: 12px; }
.lbar--float .lbar-go { border-radius: 9px; }
@media (min-width: 900px) { .lbar--float .lbar-in { display: block; max-width: 760px; } .lbar--float .lbar-head { flex-direction: row; } }

/* ── 돋보기 확대 ── */
.is-zoomable img { cursor: zoom-in; }
.m-zoom {
  position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 82%, transparent); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform .2s, background .2s;
}
.m-zoom svg { width: 22px; height: 22px; }
.m-zoom:hover { transform: scale(1.08); background: var(--accent); }
.zv {
  position: fixed; inset: 0; z-index: 80; background: #0b0d0f;
  display: flex; flex-direction: column; opacity: 0; transition: opacity .25s;
}
.zv.is-on { opacity: 1; }
.zv[hidden] { display: none; }
.zv-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: calc(10px + env(safe-area-inset-top)) 72px 10px 18px; color: rgba(255, 255, 255, .8); font-size: .85rem; }
.zv-close:hover { background: rgba(255, 255, 255, .22); }
.zv-close { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 3; width: 48px; height: 48px; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(18, 20, 22, .78); color: #fff; font-size: 1.4rem; cursor: pointer; }
.zv-stage { flex: 1; overflow: auto; overscroll-behavior: contain; display: grid; place-items: center; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.zv-stage img { max-width: 100vw; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; user-select: none; }
.zv.is-big .zv-stage { display: block; }
.zv.is-big .zv-stage img { max-width: none; max-height: none; cursor: zoom-out; }
.zv-hint { flex: none; text-align: center; padding: 8px 0 calc(12px + env(safe-area-inset-bottom)); font-size: .75rem; color: rgba(255, 255, 255, .5); }

/* ── 등장 모션 (JS 있을 때만, 동작 줄이기 존중) ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
