/* 아옴 시안 D. 손에 잡히는 (Soft Mineral)
   기본 규칙이 곧 움직임을 줄인 화면이다. 고정과 스크럽은 .motion 아래에만 있다. */

:root {
  color-scheme: only light;
  /* 광물색 면 */
  --paper: #FDFCF8;
  --limestone: #F6F4ED;
  --sandstone: #EAE3D3;
  --celadon: #DAE4DB;
  --moonstone: #DDE3E4;
  --pine: #0C4A3A;
  --pine-deep: #083629;
  --lemon: #EAF45C;
  /* 글자 */
  --ink: #10261F;
  --ink-2: #2F4A41;
  --on-pine: #F6F4ED;
  --on-pine-2: #CFE0D6;
  /* 글자 크기 단계 (PC) */
  --fs-legal: 13px;
  --fs-small: 14px;
  --fs-aux: 16px;
  --fs-body: 20px;
  --fs-sub: 24px;
  --fs-h3: 32px;
  --fs-h2: 60px;
  --fs-h1: 72px;
  /* 모서리 세 단계 */
  --r-s: 14px;
  --r-m: 28px;
  --r-l: 48px;
  --gutter: 80px;
  --cta-h: 0px;
  --slab-w: 47vw;
  --shadow-sheet: 0 -18px 60px rgba(8, 40, 30, .16);
  --svh: 1vh;
  --lvh: 1vh;
}
@supports (height: 1svh) {
  :root { --svh: 1svh; --lvh: 1lvh; }
}

@media (min-width: 960px) and (max-width: 1439px), (min-width: 960px) and (max-height: 800px) {
  :root { --fs-h2: 44px; --fs-h1: 60px; --gutter: 64px; }
}

@media (min-width: 1800px) and (min-height: 1000px) {
  :root { --fs-body: 24px; --fs-sub: 32px; --fs-h3: 44px; --fs-h2: 72px; --fs-h1: 88px; --gutter: 120px; }
  .seats { --tab: 104px; --card-h: min(540px, calc(calc(var(--svh) * 100) - 2 * var(--tab) - 180px)); }
  .seats__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 860px) !important; }
}

@media (max-width: 959px) {
  :root {
    --fs-aux: 16px;
    --fs-body: 18px;
    --fs-sub: 20px;
    --fs-h3: 24px;
    --fs-h2: 32px;
    --fs-h1: 40px;
    --r-s: 12px;
    --r-m: 24px;
    --r-l: 32px;
    --gutter: 24px;
    --cta-h: calc(76px + env(safe-area-inset-bottom));
    --slab-w: 100%;
  }
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--sandstone); overflow-anchor: none; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -.01em;
  color: var(--ink);
  word-break: keep-all;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img, canvas, svg { display: block; }
a { color: inherit; }
small { font-size: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; border-radius: var(--r-s); }
.on-pine :focus-visible { outline-color: var(--lemon); }
.vh-probe { position: fixed; left: 0; top: 0; width: 0; height: calc(var(--svh) * 100); visibility: hidden; pointer-events: none; }
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px;
  background: var(--pine); color: #fff; border-radius: var(--r-s); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }
.only-m { display: none; }
@media (max-width: 959px) { .only-pc { display: none; } .only-m { display: inline; } }
.h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.22; letter-spacing: -.025em; }
.h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.lead { font-size: var(--fs-body); line-height: 1.65; color: var(--ink-2); }
.h1 + .lead, .h2 + .lead { margin-top: 16px; }
.h1 mark {
  background: var(--lemon); color: var(--ink);
  padding: 0 .12em; margin: 0 -.02em; border-radius: var(--r-s);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.note { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }
.on-pine .lead, .on-pine .note { color: var(--on-pine-2); }
.ico { width: 24px; height: 24px; flex: none; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 24px;
  background: var(--pine); color: #fff;
  border: 0; border-radius: var(--r-s);
  font-size: var(--fs-body); font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease;
}
.btn:hover { background: var(--pine-deep); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 52px; padding: 0 20px; }
.btn--xl { min-height: 80px; padding: 0 44px; font-size: var(--fs-sub); }
.btn--bar { width: 100%; min-height: 56px; font-size: var(--fs-sub); }
.btn--lemon { background: var(--lemon); color: var(--ink); }
.btn--lemon:hover { background: #E0EB4E; }

/* 세 자리 점. 점의 개수는 남은 자리 수와 같다 */
.dots { display: inline-flex; gap: 6px; vertical-align: middle; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--pine); display: block; }
.dots--lg { gap: 12px; }
.dots--lg i { width: 28px; height: 28px; }
.tag {
  display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px; border-radius: var(--r-s);
  background: var(--sandstone); color: var(--ink); font-size: var(--fs-body); font-weight: 700; line-height: 1.2;
}
.tag--lemon { background: var(--lemon); }
.logo, .pod__logo {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px;
  font-size: var(--fs-sub); font-weight: 800; letter-spacing: -.03em; color: var(--pine); text-decoration: none;
}
.sample { font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }
@media (max-width: 959px) { .sample { font-size: var(--fs-legal); } }

/* PC 고정 묶음 */
.pod {
  position: fixed; top: 16px; right: 24px; z-index: 50; display: flex; align-items: center; gap: 20px; padding: 8px 8px 8px 24px;
  background: var(--limestone); border-radius: var(--r-m); box-shadow: 0 10px 30px rgba(8, 40, 30, .18);
}
.pod.is-gone { opacity: 0 !important; visibility: hidden !important; transition: opacity .25s ease, visibility .25s; }
@media (max-width: 959px) { .pod { display: none; } }

/* 모바일 하단 고정 */
.ctabar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--limestone);
  box-shadow: 0 -6px 24px rgba(8, 40, 30, .14);
  transition: background-color .25s ease;
}
.ctabar .btn { transition: background-color .25s ease, color .25s ease, transform .18s ease; }
.ctabar.is-final { background: var(--pine); }
.ctabar.is-final .btn { background: var(--lemon); color: var(--ink); }
.ctabar.is-final .btn:focus-visible { outline-color: var(--lemon); }
@media (max-width: 959px) { .ctabar { display: block; } }

/* ---------- 면 쌓기 ---------- */
.sheet { position: relative; background: var(--bg); color: var(--ink); }
.on-pine { color: var(--on-pine); }
.motion .sheet {
  position: sticky;
  top: var(--stick, 0px);
  border-radius: var(--rt, var(--r-l)) var(--rt, var(--r-l)) 0 0;
  overflow: clip;
  box-shadow: var(--shadow-sheet);
}
.motion .hero { border-radius: 0; box-shadow: none; }
.hero { --bg: var(--sandstone); z-index: 1; }
.spaces { --bg: var(--celadon); z-index: 2; }
.seats { --bg: var(--pine); z-index: 3; }
.terms { --bg: var(--sandstone); z-index: 4; }
.web { --bg: var(--moonstone); z-index: 5; }
.hands { --bg: var(--limestone); z-index: 6; }
.final { --bg: var(--pine); z-index: 7; }

/* 고정 무대. PC는 무대 전체가, 모바일은 제목을 먼저 지나 보낸 뒤 pinbox만 멈춘다 */
.hero__scene { --pin: 2.6; }
.spaces__scene { --pin: 1.2; }
.seats__scene { --pin: 2.8; }
.terms__scene { --pin: 2.55; }
.web__scene { --pin: 1.7; }
.hands__scene { --pin: 1.5; }

@media (max-width: 959px) {
  .hero__scene { --pin: 2; }
  .spaces__scene { --pin: 0; }
  .seats__scene { --pin: 2; }
  .terms__scene { --pin: 2; }
  .web__scene { --pin: 1.8; }
  .hands__scene { --pin: 1.5; }
}

@media (min-width: 960px) {
  .motion .scene { height: calc(calc(var(--svh) * 100) + var(--pin) * calc(var(--svh) * 100)); }
  .motion .stage { position: sticky; top: 0; height: calc(var(--svh) * 100); overflow: hidden; transform-origin: 50% 30%; }
}
@media (max-width: 959px) {
  .motion .scene::after { content: ""; display: block; height: calc(var(--pin) * calc(var(--svh) * 100)); }
  .motion .stage { display: contents; }
  .motion .pinbox { position: sticky; top: 0; height: calc(calc(var(--svh) * 100) - var(--cta-h)); overflow: hidden; }
}

/* ---------- 1. 히어로 ---------- */
.hero__stage {
  position: relative;
  display: grid; grid-template-columns: var(--slab-w) minmax(0, 1fr); gap: 16px;
  padding: 24px;
}
.hero__slab {
  order: -1;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px 56px;
  background: var(--limestone);
  border-radius: var(--r-l);
}
.hero__copy { margin-block: auto; padding-block: 24px; width: 100%; }
.hero__copy .lead { margin-top: 24px; font-size: var(--fs-sub); line-height: 1.6; }
.hero__cta { margin-top: 40px; }
.hero__cta .ico { width: 28px; height: 28px; }
.hero__frame { position: relative; min-height: calc(calc(var(--svh) * 100) - 48px); border-radius: var(--r-l); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { display: none; }
.hero__hint, .hero__cap, .hero__glow { display: none; }
.motion .hero__glow {
  display: block; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(58% 52% at 50% 40%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 72%);
}
.hero__pair { order: 1; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero__pair figure { border-radius: var(--r-l); overflow: hidden; background: var(--limestone); }
.hero__pair img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero__pair figcaption { display: flex; align-items: center; gap: 16px; padding: 16px 24px; font-size: var(--fs-body); font-weight: 600; }
.motion .hero__scene { height: calc(calc(var(--lvh) * 100) + var(--pin) * calc(var(--svh) * 100)); }
.motion .hero__stage {
  position: sticky; top: 0;
  display: block; height: calc(var(--lvh) * 100); padding: 0; overflow: hidden;
  background: var(--sandstone);
  transform-origin: 50% 30%;
}
.motion .hero__frame {
  position: absolute; inset: 0; min-height: 0; border-radius: 0; overflow: visible;
  clip-path: inset(24px 24px 24px calc(var(--slab-w) + 40px) round var(--r-l));
}
.motion .hero__media { transform: translateX(calc((var(--slab-w) + 16px) / 2)); will-change: transform; }
.motion .hero__canvas { display: block; visibility: hidden; }
.motion .hero__canvas.is-ready { visibility: visible; }
@media (min-width: 960px) and (max-height: 700px) {
  .hero__copy .lead { font-size: var(--fs-body); margin-top: 16px; }
  .hero__cta { margin-top: 24px; min-height: 64px; }
}
.motion .hero__slab { position: absolute; left: 24px; top: 24px; bottom: 24px; width: var(--slab-w); z-index: 2; will-change: transform; }
.motion .hero__pair { display: none; }
.motion .hero__hint {
  position: absolute; z-index: 2;
  left: calc(var(--slab-w) + 40px + (100vw - var(--slab-w) - 64px) / 2);
  bottom: 44px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  min-height: 52px; padding: 0 20px 0 16px;
  background: var(--limestone); border-radius: var(--r-s);
  font-size: var(--fs-aux); font-weight: 600;
}
.motion .hero__cap {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 44px;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 32px 14px 14px;
  background: var(--limestone); border-radius: var(--r-m);
  visibility: hidden;
}
.hero__cap p { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }

@media (max-width: 959px) {
  .hero__stage { grid-template-columns: minmax(0, 1fr); padding: 0 0 calc(var(--cta-h) + 16px); gap: 12px; }
  .hero__slab { padding: 12px 24px 16px; border-radius: 0 0 var(--r-l) var(--r-l); }
  .hero__copy { padding-block: 8px 0; margin-block: 0; }
  .hero__copy .lead { margin-top: 12px; font-size: var(--fs-body); line-height: 1.65; }
  .hero__cta { display: none; }
  .hero__slab .sample { margin-top: 12px; }
  .hero__frame { min-height: calc(var(--svh) * 50); border-radius: var(--r-m); margin-inline: 12px; }
  .hero__pair { grid-template-columns: minmax(0, 1fr); padding-inline: 12px; }
  .hero__pair figure { border-radius: var(--r-m); }
  .motion .hero__frame { margin: 0; clip-path: inset(calc(var(--svh) * 46) 12px calc(var(--cta-h) + 12px) 12px round var(--r-m)); }
  .motion .hero__media { transform: translateY(calc(var(--svh) * 20)); }
  .motion .hero__slab { left: 0; right: 0; top: 0; bottom: auto; width: auto; }
  .motion .hero__hint { left: 50%; bottom: auto; top: calc(var(--svh) * 100 - var(--cta-h) - 76px); }
  .motion .hero__cap { left: 12px; right: 12px; top: 12px; bottom: auto; padding: 10px 16px 10px 10px; gap: 12px; border-radius: var(--r-m); }
  .hero__cap p { font-size: var(--fs-sub); }
}

/* ---------- 2. 공간 선택 ---------- */
.spaces__stage {
  display: flex; flex-direction: column; gap: 24px;
  padding: 120px var(--gutter);
}
.spaces__intro { padding-right: 320px; }
.spaces__grid {
  position: relative;
  display: grid; gap: 20px 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.space {
  position: relative;
  display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0;
  padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
}
.space__photo {
  position: relative; display: block; flex: 1; min-height: 220px;
  border-radius: var(--r-m); overflow: hidden; background: var(--sandstone);
}
.space__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.space:hover .space__photo img, .space:focus-visible .space__photo img { transform: scale(1.04); }
.space__label {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 44px; padding-inline: 4px;
  font-size: var(--fs-sub); font-weight: 700; line-height: 1.25; letter-spacing: -.02em;
}
.space__label small { display: block; margin-top: 2px; font-size: var(--fs-aux); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; color: var(--ink-2); }
.space__label .ico { transition: transform .25s ease; }
.space:hover .space__label .ico { transform: translateX(4px); }
.space__photo { transition: transform .18s ease; }
.space:active .space__photo { transform: scale(.985); }
.space--home { grid-column: span 2; grid-row: span 2; }
.space--wide { grid-column: span 2; }
.space--home .space__label { font-size: var(--fs-h3); }

@media (min-width: 960px) {
  .motion .spaces__stage { padding: 44px var(--gutter) 28px; gap: 20px; }
  .motion .spaces__grid { flex: 1; min-height: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .motion .space__photo { min-height: 0; }
}

@media (max-width: 959px) {
  .spaces__stage { padding: 72px var(--gutter) 72px; }
  .spaces__intro { padding-right: 0; }
  .spaces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; margin-top: 24px; }
  .space__photo { flex: none; aspect-ratio: 4 / 5; min-height: 0; }
  .space--home, .space--wide { grid-column: 1 / -1; grid-row: auto; }
  .space--home .space__photo, .space--wide .space__photo { aspect-ratio: 16 / 10; }
  .motion .spaces__scene { padding: 72px var(--gutter) calc(72px + var(--cta-h)); }
}

/* ---------- 3. 세 자리 ---------- */
.seats { --tab: 84px; --card-h: min(424px, calc(calc(var(--svh) * 100) - 2 * var(--tab) - 180px)); }
.seats__stage { padding: 120px var(--gutter); display: grid; gap: 56px; }
.seats__copy { display: grid; }
.swap + .swap { margin-top: 56px; }
.meter { display: none; }
.motion .meter { display: flex; align-items: center; gap: 20px; min-height: 76px; margin-top: 40px; }
.meter__label { font-size: var(--fs-body); font-weight: 600; color: var(--on-pine-2); }
.meter__dots { display: inline-flex; gap: 10px; }
.dot { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--lemon); will-change: transform; }
.meter__count { font-size: var(--fs-h3); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--on-pine); }
.meter.is-closed .meter__count {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 20px;
  background: var(--on-pine); color: var(--ink); border-radius: var(--r-s);
}
.seats .note { margin-top: 16px; }
.stack { display: grid; gap: 16px; }
.offer__in {
  display: flex; flex-direction: column; height: 100%;
  background: var(--c); color: var(--ink);
  border-radius: var(--r-m); overflow: hidden;
  box-shadow: 0 3px 0 rgba(2, 24, 18, .22), 0 26px 56px rgba(2, 24, 18, .36);
  will-change: transform;
}
.offer__head { display: flex; align-items: center; gap: 12px; min-height: var(--tab); padding: 0 28px; flex: none; }
.offer__id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.offer__name { font-size: var(--fs-sub); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; white-space: nowrap; }
.offer__check { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-aux); font-weight: 600; color: var(--pine); white-space: nowrap; }
.offer__check .ico { width: 20px; height: 20px; }
.offer__price { margin-left: auto; font-size: var(--fs-h3); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.offer__terms { flex: 1; min-height: 0; display: grid; align-content: start; gap: 8px; padding: 0 28px 14px; }
.offer__terms > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.offer__terms dt { font-size: var(--fs-aux); font-weight: 600; color: var(--ink-2); }
.offer__terms dd { font-size: var(--fs-sub); line-height: 1.4; font-weight: 600; }
.offer__word dd { font-weight: 500; }
.offer__late { flex: 1; padding: 0 28px 16px; font-size: var(--fs-body); font-weight: 600; line-height: 1.5; }
.offer__phone {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  flex: none; padding: 14px 28px;
  background: var(--c2);
}
.offer__who { font-size: var(--fs-aux); font-weight: 600; color: var(--ink); }
.offer__num { font-size: var(--fs-sub); font-weight: 700; letter-spacing: 0; }
.state {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  min-height: 44px; padding: 0 14px;
  border-radius: var(--r-s);
  background: var(--ink); color: #fff;
  font-size: var(--fs-aux); font-weight: 700;
  transition: background-color .2s ease;
}
.state .ico { width: 20px; height: 20px; }
.state .ico--open { display: none; }
.offer__phone.is-open .state { background: var(--pine); }
.motion .offer__phone.is-open .state { animation: state-open .2s ease; }
@keyframes state-open { 50% { transform: scale(1.08); } }
.offer__phone.is-open .ico--open { display: block; }
.offer__phone.is-open .ico--lock { display: none; }

@media (min-width: 960px) {
  .seats__stage { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); align-items: start; }
  .motion .seats__stage { align-items: center; padding: 72px var(--gutter) 0; }
  .motion .seats__copy .swap { grid-area: 1 / 1; margin: 0; }
}

@media (min-width: 960px) and (max-height: 800px) {
  .seats { --tab: 68px; }
  .offer__terms { gap: 4px; }
  .offer__phone { padding: 10px 28px; }
  .motion .meter { margin-top: 24px; }
}
.motion .swap[data-swap="remove"] { visibility: hidden; }
.motion .stack { position: relative; display: block; height: calc(var(--card-h) + 2 * var(--tab)); }
.motion .offer { position: absolute; left: 0; right: 0; top: calc(var(--i) * var(--tab)); height: var(--card-h); transform-origin: 50% 0; will-change: transform; }
.motion .offer--late { top: 0; height: auto; }

@media (max-width: 959px) {
  .seats { --tab: 60px; }
  .seats__stage { padding: 72px var(--gutter); gap: 24px; }
  .offer__head { padding: 0 18px; gap: 8px; }
  .offer__id { display: grid; gap: 0; }
  .offer__name { line-height: 1.25; }
  .offer__check { font-size: var(--fs-small); line-height: 1.3; gap: 2px; }
  .offer__check .ico { width: 16px; height: 16px; }
  .offer__terms { padding: 2px 18px 12px; gap: 6px; }
  .offer__terms > div { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
  .offer__terms dd { font-size: var(--fs-aux); line-height: 1.5; }
  .offer__late { padding: 0 18px 12px; font-size: var(--fs-aux); }
  .offer__phone { padding: 8px 18px; gap: 4px 10px; }
  .offer__who { width: 100%; font-size: var(--fs-small); line-height: 1.4; }
  .offer__num { font-size: var(--fs-sub); }
  .state { min-height: 36px; padding: 0 12px; }
  .motion .seats__stage {
    position: sticky; top: 0;
    display: flex; flex-direction: column; gap: 12px;
    height: calc(calc(var(--svh) * 100) - var(--cta-h)); overflow: hidden;
    padding: 20px var(--gutter) 12px;
  }
  .motion .seats__side { flex: none; }
  .motion .seats__copy .swap { grid-area: 1 / 1; margin: 0; }
  .motion .seats .lead { font-size: var(--fs-aux); margin-top: 6px; line-height: 1.6; }
  .motion .meter { margin-top: 10px; min-height: 44px; gap: 10px; }
  .motion .meter__label { font-size: var(--fs-aux); }
  .motion .meter__dots { gap: 6px; }
  .motion .dot { width: 24px; height: 24px; }
  .motion .meter__count { font-size: var(--fs-sub); }
  .motion .meter.is-closed .meter__count { min-height: 40px; padding: 0 14px; font-size: var(--fs-sub); }
  .motion .seats__side { position: relative; }
  .motion .seats__note { position: absolute; right: 0; bottom: 2px; margin: 0; text-align: right; line-height: 1.35; color: var(--on-pine-2); }
  .motion .stack { flex: 1; min-height: 0; height: auto; }
  .motion .offer { height: min(372px, calc(100% - 2 * var(--tab))); }
  .motion .offer--late { height: auto; }
}
@media (max-width: 959px) and (min-height: 780px) {
  .seats { --tab: 68px; }
  .offer__terms dd { font-size: var(--fs-body); }
  .offer__terms { gap: 8px; }
}
@media (max-width: 959px) and (max-height: 779px) {
  .motion .offer__word { display: none; }
}
@media (max-width: 959px) and (max-height: 660px) {
  .seats { --tab: 52px; }
  .motion .offer__crew { display: none; }
}

/* ---------- 4. 조건 공개 ---------- */
.terms { --tab: 64px; }
.terms__stage { display: flex; flex-direction: column; gap: 24px; padding: 120px var(--gutter); }
.terms__intro { padding-right: 320px; }
.terms__intro .lead { margin-top: 8px; }
.terms__pin { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.slabs { display: grid; gap: 16px; }
.slab { background: var(--c); border-radius: var(--r-m); overflow: hidden; }
.slab__tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--tab); padding: 0 32px; flex: none; }
.slab__tab h3 { font-size: var(--fs-sub); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.slab__tab small { margin-left: 4px; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.slab__tab p { font-size: var(--fs-aux); font-weight: 600; color: var(--ink-2); }
.slab__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.slab__text { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 32px 40px; }
.slab__text h4 { font-size: var(--fs-aux); font-weight: 700; color: var(--ink-2); }
.incl { display: grid; gap: 4px; }
.incl li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sub); font-weight: 600; line-height: 1.5; }
.incl .ico { color: var(--pine); }
.extra { margin-top: 20px; padding: 20px 24px; background: var(--lemon); color: var(--ink); border-radius: var(--r-s); }
.extra h4 { color: var(--ink); }
.extra p { margin-top: 2px; font-size: var(--fs-sub); font-weight: 700; line-height: 1.45; }
.slab__photo { position: relative; min-height: 320px; overflow: hidden; }
.wipe { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--sandstone); }
.wipe__stroke { stroke-dasharray: 2100 9999; }
.slab__state { position: absolute; left: 16px; top: 16px; background: var(--paper); }
.motion .slabs { position: relative; display: block; flex: 1; min-height: 0; }
.motion .slab {
  position: absolute; left: 0; right: 0; top: calc(var(--i) * var(--tab)); bottom: 0;
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 36px rgba(8, 40, 30, .14);
  will-change: transform;
}
.motion .slab__body { flex: 1; min-height: 0; }

@media (min-width: 960px) {
  .motion .terms__stage { padding: 40px var(--gutter) 28px; gap: 16px; }
  .motion .terms__pin { flex: 1; }
  .motion .slab__photo { min-height: 0; }
}

@media (max-width: 959px) {
  .terms { --tab: 48px; }
  .terms__stage { padding: 72px var(--gutter); }
  .terms__intro { padding-right: 0; }
  .slab__tab { padding: 0 18px; }
  .slab__body { grid-template-columns: minmax(0, 1fr); }
  .slab__photo { order: -1; min-height: 200px; }
  .slab__text { padding: 12px 18px 16px; gap: 6px; }
  .incl li { font-size: var(--fs-aux); gap: 6px; }
  .slab__tab { gap: 8px; }
  .slab__tab p { font-size: var(--fs-small); }
  .incl .ico { width: 20px; height: 20px; }
  .extra { padding: 10px 14px; margin-top: 8px; }
  .extra p { font-size: var(--fs-aux); }
  .extra h4 { font-size: var(--fs-small); }
  .slab__text h4 { font-size: var(--fs-small); }
  .slab__state { left: 10px; top: 10px; min-height: 36px; padding: 0 12px; font-size: var(--fs-aux); }
  .motion .terms__scene { padding-top: 72px; }
  .motion .terms__intro { padding: 0 var(--gutter) 24px; }
  .motion .terms__pin { padding: 8px 12px 8px; }
  .motion .slab__body { display: flex; flex-direction: column; }
  .motion .slab__photo { flex: 1; min-height: 100px; }
  .motion .slab__text { flex: none; }
}

/* ---------- 5. 진짜 웹 증명 ---------- */
.web__stage { display: flex; flex-direction: column; gap: 24px; padding: 120px var(--gutter); }
.web__intro { padding-right: 320px; }
.web__intro .lead { margin-top: 8px; }
.webx-read { display: none; }
.webx-read b { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; }
.webx-read__label { margin-right: 4px; }
.webx-read__kind { margin-left: 8px; font-weight: 700; color: var(--pine); }
.web__caps { display: none; }
.webx {
  container: webx / inline-size;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-m) var(--r-m) 0 0;
  overflow: hidden;
  font-size: var(--fs-aux);
  --inv: 1;
}
.wx-addr {
  display: flex; align-items: center; min-height: 44px; padding: 0 20px;
  background: var(--limestone);
  font-size: var(--fs-small); font-weight: 600; color: var(--ink-2);
}
.wx {
  position: relative;
  display: grid; gap: 20px; padding: 16px 20px 28px;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "nav" "head" "new" "today" "hands";
}
.wx > * { min-width: 0; }
.wx-nav { grid-area: nav; display: flex; align-items: center; gap: 4px; }
.wx-logo { font-size: 20px; font-weight: 800; color: var(--pine); letter-spacing: -.03em; margin-right: auto; }
.wx-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: var(--r-s); font-weight: 600; white-space: nowrap; }
.wx-link.is-on { background: var(--celadon); color: var(--pine); font-weight: 700; }
.wx-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.wx-name { font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.wx-name small { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.wx-head p { color: var(--ink-2); line-height: 1.5; }
.wx-role { display: inline-flex; gap: 2px; padding: 4px; background: var(--limestone); border-radius: var(--r-m); }
.wx-role .t { padding: 6px 12px; border-radius: var(--r-s); font-size: var(--fs-small); font-weight: 600; line-height: 1.4; white-space: nowrap; }
.wx-role .is-on { background: var(--pine); color: #fff; }
.wx-title { font-size: calc(20px * var(--inv)); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; margin-bottom: 8px; white-space: nowrap; }
.wx-new { grid-area: new; }
.wx-write { grid-area: write; display: none; }
.wx-today { grid-area: today; }
.wx-hands { grid-area: hands; }
.wx-list { display: grid; gap: 4px; }
.wx-job { display: grid; gap: 4px 12px; padding: 12px 0; align-items: center; grid-template-columns: minmax(0, 1fr) auto; }
.wx-job__main { grid-column: 1 / -1; display: grid; }
.wx-job__main b { font-size: 20px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.wx-job__main span { color: var(--ink-2); line-height: 1.5; }
.wx-job__seat { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.wx-job__seat.is-closed { font-weight: 700; }
.wx-job__seat.is-closed .t { padding: 2px 10px; border-radius: var(--r-s); background: var(--ink); color: #fff; font-size: var(--fs-small); }
.wx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-s); background: var(--pine); color: #fff; font-weight: 700; white-space: nowrap; }
.wx-btn--wide { display: flex; margin-top: 12px; min-height: 48px; }
.wx-btn--soft { margin-top: 10px; background: var(--celadon); color: var(--pine); }
.wx-plain { display: grid; gap: 10px; }
.wx-plain li { display: grid; }
.wx-plain b { font-weight: 700; line-height: 1.4; }
.wx-plain span { color: var(--ink-2); line-height: 1.5; }
.wx-form { display: grid; gap: 12px; }
.wx-form dt { font-size: var(--fs-small); font-weight: 600; color: var(--ink-2); }
.wx-form dd { font-weight: 700; line-height: 1.4; padding: 10px 14px; background: var(--limestone); border-radius: var(--r-s); }
@container webx (min-width: 600px) {
  .wx { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "nav nav" "head head" "new new" "today hands"; padding: 20px 28px 32px; }
  .wx-job { grid-template-columns: minmax(0, 1fr) 132px 100px; gap: 4px 8px; }
  .wx-job__main { grid-column: auto; }
  .wx-job__seat.is-closed { grid-column: 2 / -1; justify-self: start; }
}
@container webx (min-width: 880px) {
  .wx { grid-template-columns: 148px minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "nav head head" "nav new today" "nav new hands"; gap: 20px 32px; grid-template-rows: auto auto 1fr; padding: 20px 28px 32px 16px; }
  .wx-nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .wx-logo { margin: 0 0 12px 10px; }
}
@container webx (min-width: 1200px) {
  .wx { grid-template-columns: 148px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .9fr); grid-template-areas: "nav head head head" "nav new write today" "nav new write hands"; }
  .wx-write { display: block; }
}

@media (min-width: 960px) {
  .motion .web__stage { padding: 44px var(--gutter) 0; gap: 8px; }
  .motion .web__pin { flex: 1; min-height: 0; }
  .webx-wrap { position: relative; height: 100%; }
  .motion .webx-read {
    position: absolute; z-index: 2; top: 0; left: 50%;
    display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap;
    min-height: 44px; padding: 0 2px;
    font-size: var(--fs-body); font-weight: 600; line-height: 44px; color: var(--ink);
    will-change: transform;
  }
  .motion .webx-view { position: absolute; left: 0; right: 0; top: 52px; bottom: 0; display: flex; justify-content: center; }
  .motion .webx { width: 390px; height: 100%; box-shadow: 0 -8px 40px rgba(8, 40, 30, .16); }
}

@media (max-width: 959px) {
  .web__stage { padding: 72px var(--gutter); }
  .web__intro { padding-right: 0; }
  .motion .web__scene { padding-top: 72px; }
  .motion .web__intro { padding: 0 var(--gutter) 24px; }
  .motion .web__pin { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 12px var(--gutter) 12px; }
  .webx-wrap { position: relative; }
  .motion .webx-wrap { flex: none; display: flex; flex-direction: column; gap: 8px; }
  .motion .webx-read { display: flex; align-items: baseline; gap: 4px; font-size: var(--fs-aux); font-weight: 600; line-height: 1.4; min-height: 34px; }
  .motion .webx-view { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--paper); box-shadow: 0 10px 34px rgba(8, 40, 30, .16); }
  .motion .webx { position: absolute; left: 0; top: 0; transform-origin: 0 0; border-radius: 0; will-change: transform; }
  .motion .web__caps { display: grid; flex: none; min-height: 58px; }
  .web__cap { grid-area: 1 / 1; font-size: var(--fs-body); font-weight: 600; line-height: 1.55; color: var(--ink); visibility: hidden; }
  /* 축소된 폭에서는 읽을 수 없는 글자를 막대로 바꾼다. 큰 제목만 실제 크기로 남는다 */
  .webx.is-mini .t { position: relative; color: transparent !important; background: none !important; }
  .webx.is-mini .t::after {
    content: ""; position: absolute; left: 0; right: 12%; top: 22%; bottom: 22%;
    background: var(--ink-2); opacity: .26; border-radius: calc(5px * var(--inv));
  }
  .webx.is-mini .wx-role .is-on::after { background: var(--pine); opacity: 1; }
  .webx.is-mini .wx-btn { color: transparent; }
  .webx.is-mini .wx-btn .t::after { background: #fff; opacity: .7; }
  .webx.is-mini .wx-job__seat.is-closed .t::after { background: var(--ink); opacity: .85; }
  .webx.is-mini .wx-name { font-size: calc(18px * var(--inv)); }
  .webx.is-mini .wx-name small { display: none; }
  .webx.is-mini .wx-logo { font-size: calc(16px * var(--inv)); margin: 0 0 16px 8px; }
  .webx.is-mini .wx-title { font-size: calc(15px * var(--inv)); margin-bottom: calc(4px * var(--inv)); }
}

/* ---------- 6. 일손 ---------- */
.hands__stage { display: flex; flex-direction: column; gap: 32px; padding: 120px var(--gutter); }
.hands__pin { position: relative; }
.role { display: none; }
.motion .role { display: inline-flex; padding: 6px; background: var(--paper); border-radius: var(--r-m); box-shadow: 0 2px 10px rgba(8, 40, 30, .10); }
.faces { display: grid; gap: 16px; }
.face { display: flex; flex-direction: column; gap: 24px; padding: 32px 40px; border-radius: var(--r-m); overflow: hidden; min-width: 0; }
.face--busy { background: var(--celadon); }
.face--free { background: var(--sandstone); }
.face__head { flex: none; }
.face__day { display: block; font-size: var(--fs-body); font-weight: 700; color: var(--ink-2); line-height: 1.4; }
.face__day small { margin-left: 4px; font-size: var(--fs-small); font-weight: 600; }
.face__big { margin-top: 4px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; white-space: nowrap; }
.face__sum { margin-top: 6px; font-size: var(--fs-body); font-weight: 600; color: var(--ink-2); line-height: 1.5; }
.face__more { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 20px; }
.face__rows { display: grid; gap: 10px; }
.face__rows > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.face__rows dt { font-size: var(--fs-aux); font-weight: 600; color: var(--ink-2); }
.face__rows dd { font-size: var(--fs-sub); font-weight: 600; line-height: 1.45; }
.face__act {
  display: flex; align-items: center; justify-content: center; align-self: flex-start;
  min-height: 60px; min-width: 240px; padding: 0 32px; margin-top: auto;
  background: var(--pine); color: #fff; border-radius: var(--r-s);
  font-size: var(--fs-body); font-weight: 700;
}
.role__thumb { position: absolute; left: 6px; top: 6px; bottom: 6px; width: 104px; background: var(--lemon); border-radius: var(--r-s); will-change: transform; }
.role__opt { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 104px; min-height: 44px; font-size: var(--fs-aux); font-weight: 600; color: var(--ink-2); }
.role__opt.is-on { font-weight: 800; color: var(--ink); }

@media (min-width: 960px) {
  .faces { grid-template-columns: 1fr 1fr; }
  .motion .hands__stage { padding: 44px var(--gutter) 28px; gap: 16px; }
  .motion .hands__pin { flex: 1; min-height: 0; display: flex; flex-direction: column; }
  .motion .role { position: absolute; right: 0; top: -68px; z-index: 2; }
  .motion .faces { flex: 1; min-height: 0; display: flex; align-items: flex-start; }
  .motion .face { flex: 1 1 0; height: 100%; }
  .motion .face__rows { min-width: min(560px, 46vw); }
}

@media (max-width: 959px) {
  .hands { --tab: 90px; }
  .hands__stage { padding: 72px var(--gutter); }
  .face { padding: 18px 20px 20px; gap: 12px; }
  .face__day { font-size: var(--fs-aux); }
  .face__big { margin-top: 2px; font-size: var(--fs-h2); }
  .face__sum { font-size: var(--fs-body); margin-top: 8px; }
  .face__more { gap: 14px; }
  .face__rows { gap: 6px; }
  .face__rows > div { grid-template-columns: 44px minmax(0, 1fr); gap: 8px; }
  .face__rows dd { font-size: var(--fs-body); }
  .face__act { align-self: stretch; min-height: 56px; min-width: 0; font-size: var(--fs-body); }
  .motion .hands__scene { padding-top: 72px; }
  .motion .hands__intro { padding: 0 var(--gutter) 24px; }
  .motion .hands__pin { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
  .motion .role { position: relative; flex: none; align-self: flex-start; }
  .motion .faces { position: relative; display: block; flex: 1; min-height: 0; }
  .motion .face { position: absolute; left: 0; right: 0; top: 0; bottom: 0; box-shadow: 0 -8px 26px rgba(8, 40, 30, .12); }
  .motion .face--free { top: var(--tab); will-change: transform; }
}

/* ---------- 7. 마지막 행동 유도와 푸터 ---------- */
.final { min-height: calc(var(--svh) * 100); display: flex; flex-direction: column; }
.final__main {
  flex: 1;
  display: grid; align-items: center; gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 140px var(--gutter) 120px;
}
.final__copy .lead { margin-top: 24px; }
.final__cta { margin-top: 40px; }
.final__cta .ico { width: 28px; height: 28px; }
.final__photo { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 11; }
.final__photo img { width: 100%; height: 100%; object-fit: cover; }
.footer { padding: 0 var(--gutter) 48px; font-size: var(--fs-small); line-height: 1.6; color: var(--on-pine-2); }
.footer__legal { font-size: var(--fs-aux); font-weight: 600; color: var(--on-pine); margin-bottom: 6px; }

@media (max-width: 959px) {
  .final__main { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 72px var(--gutter) 56px; align-items: start; align-content: center; }
  .final__copy .lead { margin-top: 16px; }
  .final__cta { display: none; }
  .final__photo { border-radius: var(--r-m); aspect-ratio: 16 / 10; }
  .footer { padding: 0 var(--gutter) calc(var(--cta-h) + 24px); font-size: var(--fs-legal); }
  .footer__legal { font-size: var(--fs-small); }
}

/* ---------- 견적 요청 ---------- */
.req {
  width: calc(100% - 32px); max-width: 620px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 40px; border: 0;
  background: var(--limestone); color: var(--ink);
  border-radius: var(--r-l);
  overflow: auto; overscroll-behavior: contain;
}
.req::backdrop { background: rgba(8, 54, 41, .62); }
.req h2:focus, .req__done:focus { outline: none; }
.req h2 { font-size: var(--fs-h3); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; padding-right: 48px; }
.req__close { position: absolute; right: 20px; top: 20px; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: var(--r-s); background: var(--sandstone); cursor: pointer; }
.req__form { display: grid; gap: 24px; }
.req fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.req legend, .req__field label { display: block; padding: 0; margin-bottom: 8px; font-size: var(--fs-aux); font-weight: 700; }
.req__chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.req__chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.req__chips span { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-s); background: var(--sandstone); font-size: var(--fs-body); font-weight: 600; cursor: pointer; }
.req__chips input:checked + span { background: var(--pine); color: #fff; font-weight: 700; }
.req__chips input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 3px; }
.req__field input {
  display: block; width: 100%; min-height: 56px; padding: 0 16px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink-2); border-radius: var(--r-s);
  font: inherit; font-size: var(--fs-body); font-weight: 600;
}
.req__field input::placeholder { color: var(--ink-2); font-weight: 500; }
.req__field input:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }
.req__field input[aria-invalid="true"] { border-color: #8A1F11; }
.req__error { margin-top: 6px; font-size: var(--fs-aux); font-weight: 600; color: #8A1F11; }
.req .note { margin-top: -12px; text-align: center; }
.req__done { display: grid; gap: 20px; }
.req__done[hidden] { display: none; }
.req__done p { color: var(--ink-2); }
@media (max-width: 959px) {
  .req { width: 100%; max-width: none; margin: auto 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: var(--r-l) var(--r-l) 0 0; max-height: 94vh; max-height: 94dvh; }
  .req__close { right: 12px; top: 12px; }
  .req__form { gap: 18px; }
  .req__chips span { font-size: var(--fs-aux); }
}