/* 아옴 시안 A: 여백 (Gallery White)
   소나무색은 버튼과 점에만, 레몬색은 '마감' 한 곳에만 쓴다. 글자는 영상과 사진 위에 올리지 않는다. */

/* ---------- 토큰 ---------- */
:root {
  --ink: #14201b;
  --ink-2: #3f4b45;
  --ink-3: #59645e;
  --pine: #0c4a3a;
  --pine-hover: #083327;
  --lemon: #eaf45c;
  --mist: #f4f5f3;
  --line: #8a938d;

  --r-s: 12px;
  --r-m: 24px;
  --r-f: 999px;

  --vh1: 1vh;
  --gutter: max(56px, calc((100vw - 1328px) / 2));
  --nav-h: 72px;
  --dock-h: 0px;
  --sec-gap: 56px;

  --t-label: 14px;
  --t-sub: 16px;
  --t-body: 17px;
  --t-lead: 20px;
  --t-h4: 24px;
  --t-h3: 32px;
  --t-h2: clamp(48px, min(4.7vw, calc(var(--vh1) * 7.6)), 68px);
  --t-display: clamp(80px, min(7.2vw, calc(var(--vh1) * 11.6)), 104px);
}

@supports (height: 1svh) {
  :root { --vh1: 1svh; }
}

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  :root {
    --gutter: 24px;
    --nav-h: 56px;
    --dock-h: calc(68px + max(12px, env(safe-area-inset-bottom)));
    --sec-gap: 96px;
    --t-sub: 14px;
    --t-lead: 18px;
    --t-h4: 22px;
    --t-h3: 28px;
    --t-h2: 38px;
    --t-display: clamp(48px, min(16vw, calc(var(--vh1) * 9.4)), 68px);
  }
}

@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
  :root { --gutter: 40px; --t-sub: 16px; --t-lead: 20px; --t-h2: 56px; --t-display: 88px; }
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: var(--dock-h);
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; }
img, canvas, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2 { font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
h4 { font-size: var(--t-body); font-weight: 700; line-height: 1.4; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.icons { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 18px; height: 18px; }
.br-m { display: none; }
@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .br-m { display: inline; }
  .br-pc { display: none; }
}
.skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 20px; background: #fff; border-radius: var(--r-s); font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
.lead { font-size: var(--t-lead); font-weight: 500; line-height: 1.6; color: var(--ink-2); max-width: 32em; }
.note { font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.head { padding-inline: var(--gutter); }
.head .lead { margin-top: 12px; }

/* ---------- 버튼과 점 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-f);
  background: var(--pine);
  color: #fff;
  font-size: var(--t-body);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--pine-hover); }
.btn--lg { min-height: 64px; padding: 0 36px; font-size: var(--t-lead); }
.btn--block { display: flex; width: 100%; }
.dots { display: inline-flex; align-items: center; gap: 6px; --d: 14px; }
.dots i { display: block; width: var(--d); height: var(--d); border: 2px solid var(--pine); border-radius: 50%; background: transparent; transition: background-color 0.2s ease; }
.dots i.on { background: var(--pine); }
.dots--lg { --d: 30px; gap: 10px; }
.dots--lg i { border-width: 3px; }
.dots--sm { --d: 12px; gap: 4px; }
.seat-note { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--ink-2); }

/* ---------- 상단 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
  padding-inline: var(--gutter);
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s;
}
.nav.is-hidden { transform: translateY(-100%); visibility: hidden; transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s linear 0.3s; }
.nav__logo { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; line-height: 44px; min-width: 44px; }
.nav__tag { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.nav__links { display: flex; gap: 8px; margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 16px; font-weight: 500; text-decoration: none; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav__cta { min-height: 52px; padding: 0 24px; font-size: 16px; }
.nav.is-top .nav__cta { display: none; }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .nav__links, .nav__cta { display: none; }
}

/* ---------- 모바일 하단 고정 버튼 ---------- */
.dock { display: none; }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .dock {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: block;
    padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -10px 24px rgba(20, 32, 27, 0.08);
  }
  .dock__btn { min-height: 56px; font-size: 18px; }
}

/* ---------- 1. 히어로 ---------- */
.hero__copy { padding: calc(var(--nav-h) + clamp(8px, calc(var(--vh1) * 3), 32px)) var(--gutter) 0; }
.hero__title { font-size: var(--t-display); font-weight: 700; }
.ln { display: block; overflow: hidden; }
.ln > span { display: block; }
.ln--in { display: inline-block; }
.hero__lead { margin-top: clamp(12px, calc(var(--vh1) * 2.4), 24px); max-width: 34em; font-size: var(--t-lead); font-weight: 500; line-height: 1.6; color: var(--ink-2); }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(16px, calc(var(--vh1) * 3), 28px); }
.hero__frame, .hero__after { margin: 40px var(--gutter) 0; }
.hero__frame img, .hero__after img { width: 100%; height: auto; border-radius: var(--r-m); }
.hero__canvas { display: none; }
.cap-static { margin-top: 12px; font-size: 16px; font-weight: 600; }
.film { display: none; }
.hero { --pin: 2.9; }
.motion .pin { height: calc(var(--vh1) * 100 * (1 + var(--pin, 0))); }
.motion .hero__stage { position: sticky; top: 0; height: calc(var(--vh1) * 100); }

@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  .motion .spaces__stage,
  .motion .seats__stage,
  .motion .terms__stage,
  .motion .proof__stage { position: sticky; top: 0; height: calc(var(--vh1) * 100); }

  .motion .spaces__stage,
  .motion .terms__stage,
  .motion .proof__stage { overflow: hidden; overflow: clip; }
  .motion .hands .pin { height: auto; }
}

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  /* 모바일 스테이지는 하단 고정 버튼 위까지만 쓴다. */
  .motion .seats__stage,
  .motion .terms__stage,
  .motion .proof__stage,
  .motion .hands__stage { position: sticky; top: 0; height: calc(var(--vh1) * 100 - var(--dock-h)); }

  .motion .terms__stage,
  .motion .proof__stage { overflow: hidden; overflow: clip; }

  .motion .seats .pin,
  .motion .terms .pin,
  .motion .proof .pin,
  .motion .hands .pin { height: calc(var(--vh1) * 100 * (1 + var(--pin)) - var(--dock-h)); }
}
.motion .hero__stage { overflow: hidden; overflow: clip; background: #fff; }
.motion .hero__copy { position: absolute; inset: 0 0 auto 0; z-index: 2; will-change: transform; }

.motion .hero__frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  background: var(--mist);
  transform-origin: 50% 0;
  transform: translate3d(0, 62vh, 0) scale(0.92);
  will-change: transform;
}
.motion .hero__media { position: absolute; inset: 0; will-change: transform; }

.motion .hero__poster,
.motion .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.motion .hero__canvas { display: block; visibility: hidden; }
.motion .hero__canvas.is-ready { visibility: visible; }
.motion .hero__after, .motion .cap-static { display: none; }

.motion .film {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
  padding-inline: var(--gutter);
  background: #fff;
  transform: translate3d(0, 100%, 0);
  visibility: hidden;
}
.film__state { display: flex; align-items: center; gap: 16px; flex: 1; max-width: 560px; font-size: 17px; }
.film__lbl { font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.film__lbl.is-on { font-weight: 700; color: var(--ink); }
.film__track { position: relative; flex: 1; height: 2px; background: var(--line); }
.film__fill { position: absolute; inset: -1px 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .hero__act .btn, .hero__act .seat-note { display: none; }
  .hero__act { margin: 0; }
  .ln--in { display: block; }
  .hero__lead { font-size: var(--t-lead); }
  .hero { --pin: 1.95; }
  .hero__frame, .hero__after { margin-top: 28px; }
  .motion .film { height: calc(52px + var(--dock-h)); padding-bottom: var(--dock-h); }
  .film__state { max-width: none; font-size: 16px; }
  .film__cta { display: none; }
}

/* ---------- 2. 공간 선택 ---------- */
.spaces { margin-top: var(--sec-gap); }
.motion .spaces .pin { height: auto; }
.spaces__stage { padding-top: 104px; }
.spaces__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; margin-top: 48px; padding-inline: var(--gutter); }
.space { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.space__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-m); background: var(--mist); }
.space__pan { display: block; height: 100%; }
.space__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.space:hover .space__img img { transform: scale(1.04); }
.space__cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding-top: 14px; }
.space__cap b { font-size: var(--t-h4); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.space__cap > span { grid-column: 1; font-size: var(--t-sub); line-height: 1.6; color: var(--ink-3); }
.space__cap .i { grid-column: 2; grid-row: 1; align-self: center; transition: transform 0.25s ease; }
.space:hover .space__cap .i { transform: translateX(4px); }

@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  .motion .spaces__stage {
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--nav-h) + clamp(4px, calc(var(--vh1) * 2.6), 28px));
    padding-bottom: clamp(12px, calc(var(--vh1) * 3), 32px);
  }
  .motion .spaces__track { display: flex; flex: 1; gap: 24px; width: max-content; min-height: 0; margin-top: clamp(16px, calc(var(--vh1) * 3.2), 32px); will-change: transform; }
  .motion .spaces__track li { height: 100%; }
  .motion .space { display: flex; flex-direction: column; height: 100%; }
  .motion .space__img { flex: 1; min-height: 0; aspect-ratio: auto; width: var(--card-w, 400px); }
  .motion .space__pan { width: 112%; margin-left: -6%; will-change: transform; }
  .motion .space__cap { width: var(--card-w, 400px); }
}

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .spaces__stage { padding-top: 0; }
  .spaces__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 28px; }
  .space__img { border-radius: var(--r-s); }
  .space__cap { padding-top: 10px; }
  .space__cap .i { width: 20px; height: 20px; }
}

@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
  .spaces__track { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 3. 세 자리 ---------- */
.seats { margin-top: var(--sec-gap); --pin: 2.4; }

.seats__stage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "head rows"
    "status rows"
    "note rows";
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(40px, 5vw, 72px);
  padding: 104px var(--gutter) 0;
  --row-h: clamp(96px, calc(var(--vh1) * 14), 128px);
}
.seats__head { grid-area: head; padding: 0; }
.status { grid-area: status; }
.rows { grid-area: rows; }
.seats__note { grid-area: note; align-self: end; max-width: 26em; }
.status { display: flex; align-items: center; gap: 18px; margin-top: clamp(20px, calc(var(--vh1) * 5), 48px); margin-bottom: 20px; }
.status__roll { display: block; height: 48px; overflow: hidden; font-size: var(--t-h3); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.status__line { display: flex; align-items: center; height: 48px; transition: transform 0.25s cubic-bezier(0.3, 0.7, 0.2, 1); white-space: nowrap; }
.status__done { display: flex; align-items: center; height: 48px; padding: 0 14px; border-radius: var(--r-s); background: var(--lemon); color: var(--ink); font-style: normal; font-weight: 800; }
[data-filled="1"] .status__line { transform: translateY(-100%); }
[data-filled="2"] .status__line { transform: translateY(-200%); }
[data-filled="3"] .status__line { transform: translateY(-300%); }
[data-filled="1"] .status .dots i:nth-child(1),
[data-filled="2"] .status .dots i:nth-child(-n+2),
[data-filled="3"] .status .dots i { background: var(--pine); }
.rows { display: flex; flex-direction: column; gap: 12px; }
.seat { position: relative; min-height: var(--row-h); }

.seat__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border: 2px dashed var(--line);
  border-radius: var(--r-m);
  font-weight: 500;
  color: var(--ink-3);
}
.seat__hint { display: block; }
.seat__empty.is-covered { visibility: hidden; }
html:not(.motion) .seat__empty { display: none; }

.offer {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-areas:
    "no who price"
    "no phone phone";
  gap: 4px 12px;
  align-items: center;
  min-height: var(--row-h);
  padding: 16px 24px;
  border-radius: var(--r-m);
  background: var(--mist);
}
.offer__no { grid-area: no; align-self: start; font-size: var(--t-h4); font-weight: 700; line-height: 1.3; }
.offer__who { grid-area: who; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.offer__who h3 { font-size: var(--t-h4); }
.offer__who p { font-size: var(--t-sub); color: var(--ink-2); }
.offer__price { grid-area: price; font-size: var(--t-h4); font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; white-space: nowrap; }
.offer__phone { grid-area: phone; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.offer__label { font-size: var(--t-label); font-weight: 500; color: var(--ink-2); }
.phone { display: block; height: 28px; overflow: hidden; font-size: var(--t-body); font-weight: 600; line-height: 28px; }
.phone__roll { display: block; transition: transform 0.2s ease; }
.phone__roll > span { display: block; height: 28px; }
.offer.is-open .phone__roll { transform: translateY(-28px); }
.offer__state { display: inline-flex; font-size: var(--t-label); font-weight: 700; }
.offer__state > span { display: inline-flex; align-items: center; gap: 4px; }
.offer__state .st-open { display: none; }
.offer.is-open .st-open { display: inline-flex; }
.offer.is-open .st-lock { display: none; }

.offer--extra {
  background: #fff;
  border: 2px solid var(--ink-3);
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-areas:
    "no who"
    "no phone";
  transform: translate(20px, 14px) rotate(1.6deg);
}
.seat--extra { margin-top: 34px; }
.motion .offer--extra { transform: none; }

.seat--extra::before {
  content: "";
  position: absolute;
  inset: -22px 0 auto 0;
  height: 2px;
  background: var(--ink);
  transform-origin: 0 50%;
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.motion .seats:not([data-filled="3"]) .seat--extra::before { transform: scaleX(0); }

@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  .motion .seats__stage { padding: calc(var(--nav-h) + clamp(4px, calc(var(--vh1) * 2), 20px)) var(--gutter) clamp(16px, calc(var(--vh1) * 3), 28px); }
}

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .seats__stage { display: block; padding: 0; --row-h: 100px; }
  .seats__head { padding-inline: var(--gutter); margin-bottom: 20px; }
  .status { margin: 0 0 12px; padding-inline: var(--gutter); gap: 12px; }
  .dots--lg { --d: 22px; gap: 8px; }
  .dots--lg i { border-width: 2.5px; }
  .status__roll { font-size: var(--t-h4); height: 40px; }
  .status__line, .status__done { height: 40px; }
  .rows { padding-inline: 16px; gap: 8px; }
  .seat__empty { padding: 0 20px; border-radius: var(--r-s); }

  .offer {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    grid-template-areas:
      "no who price"
      "no sub sub"
      "no phone phone";
    gap: 2px 8px;
    padding: 12px 16px;
    border-radius: var(--r-s);
  }
  .offer__no { font-size: var(--t-lead); line-height: 1.3; }
  .offer__who { display: contents; }
  .offer__who h3 { grid-area: who; font-size: var(--t-lead); line-height: 1.3; }
  .offer__who p { grid-area: sub; line-height: 1.6; }
  .offer__price { align-self: start; font-size: var(--t-lead); }
  .offer__phone { flex-wrap: nowrap; gap: 8px; }
  .phone { font-size: 16px; }
  .offer--extra { grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "no who" "no sub" "no phone"; transform: translate(4px, 8px) rotate(1deg); }
  .seat--extra { margin-top: 28px; }
  .seat--extra::before { inset: -18px 0 auto 0; }
  .seats__note { margin-top: 20px; padding-inline: var(--gutter); }
  .seats { --pin: 1.95; }
  .motion .seats__stage { display: flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 767px) and (max-height: 700px) {
  .seats__stage { --row-h: 92px; }
}

/* ---------- 4. 조건 공개 ---------- */
.terms { margin-top: var(--sec-gap); --pin: 2.7; }
.terms__stage { padding-top: 104px; }
.terms__head { padding-inline: var(--gutter); }
.cases { margin-top: 48px; padding-inline: var(--gutter); display: flex; flex-direction: column; gap: 72px; }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 72px); align-items: start; }
.place { background: #fff; }
.place__img { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.place__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-m); }
.place__edge { display: none; }
.place__cap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; font-size: 16px; font-weight: 600; }
.place__track { display: none; }
.place__fill { position: absolute; inset: -1px 0; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.term h3 { font-size: var(--t-h3); }
.term__q { margin-top: 4px; font-size: var(--t-lead); font-weight: 500; line-height: 1.6; color: var(--ink-2); }
.term__label { margin-top: 24px; font-size: var(--t-label); font-weight: 600; color: var(--ink-3); }
.term__list { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.term__list li { display: flex; align-items: center; gap: 10px; font-size: var(--t-body); font-weight: 500; line-height: 1.6; }
.term__list li b { margin-left: auto; font-weight: 700; white-space: nowrap; }
.terms__note { margin-top: 32px; padding-inline: var(--gutter); }

@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  .motion .terms__stage {
    --stage-pt: calc(var(--nav-h) + clamp(4px, calc(var(--vh1) * 2), 20px));
    --cases-mt: clamp(16px, calc(var(--vh1) * 3), 28px);
    --ph: calc(var(--vh1) * 100 - var(--stage-pt) - var(--t-h2) * 1.2 - var(--t-lead) * 1.6 - 12px - var(--cases-mt) - 64px);
    --col-gap: clamp(40px, 5.6vw, 80px);
    --col1: min(calc(var(--ph) * 4 / 3), calc(100vw - var(--gutter) * 2 - var(--col-gap) - 400px));
    padding-top: var(--stage-pt);
  }
  .motion .cases { display: grid; grid-template-columns: var(--col1) minmax(0, 1fr); gap: 0 var(--col-gap); align-items: start; margin-top: var(--cases-mt); }
  .motion .case { display: contents; }
  .motion .place { grid-area: 1 / 1; }
  .motion .term { grid-area: 1 / 2; }

  .motion .terms__note {
    position: absolute;
    left: calc(var(--gutter) + var(--col1) + var(--col-gap));
    right: var(--gutter);
    top: calc(var(--stage-pt) + var(--t-h2) * 1.2 + var(--t-lead) * 1.6 + 12px + var(--cases-mt) + var(--col1) * 0.75 + 20px);
    margin: 0;
    padding: 0;
  }
}
.motion .place__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-m); background: var(--mist); --w: -8%; }
.motion .place__img img { position: absolute; inset: 0; border-radius: 0; }
.motion .place__after { clip-path: polygon(0 0, calc(var(--w) + 5%) 0, calc(var(--w) - 5%) 100%, 0 100%); }
.motion .place__edge { display: block; position: absolute; top: -6%; bottom: -6%; left: var(--w); width: 3px; margin-left: -1.5px; background: #fff; transform: rotate(7.6deg); }
.motion .place__cap { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.motion .place__cap > span { font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.motion .place:not(.is-after) .place__cap > .is-b,
.motion .place.is-after .place__cap > .is-a { font-weight: 700; color: var(--ink); }
.motion .place__track { position: relative; display: block; flex: 1; max-width: 320px; height: 2px; background: var(--line); }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .terms__stage { padding-top: 0; }
  .terms__head { margin-bottom: 24px; }
  .cases { margin-top: 0; padding: 0; gap: 56px; }
  .case { display: block; }
  .place__img { padding-inline: 16px; }
  .place__img img { border-radius: var(--r-s); }
  .place__cap { padding: 8px 16px 0; }
  .motion .place__cap { padding: 4px var(--gutter) 0; min-height: 40px; }
  .motion .place__track { max-width: none; }
  .term { padding: 8px var(--gutter) 0; }
  .term h3 { font-size: var(--t-h4); }
  .term__q { font-size: var(--t-body); margin-top: 2px; }
  .term__label { margin-top: 12px; }
  .term__list { margin-top: 4px; gap: 2px; }
  .term__list li { font-size: 16px; }
  .terms__note { margin-top: 24px; }
  .terms { --pin: 2; }
  .motion .cases { display: grid; gap: 0; padding: 0; }
  .motion .case { display: contents; }
  .motion .place { grid-area: 1 / 1; }
  .motion .term { grid-area: 2 / 1; }
  .motion .place__img { padding: 0; border-radius: 0; aspect-ratio: auto; height: min(75vw, calc(var(--vh1) * 34)); }
}

@media (max-width: 767px) and (max-height: 700px) {
  .motion .term__q { display: none; }
}

/* ---------- 5. 진짜 웹 증명 ---------- */
.proof { margin-top: var(--sec-gap); --pin: 2; }
.proof__stage { padding-top: 104px; }
.proof__box { margin: 40px var(--gutter) 0; height: 620px; }
.proof__scaler { transform-origin: 0 0; height: 100%; }
.proof__foot { margin: 16px var(--gutter) 0; }
.app--phone { width: min(390px, 100%); height: 620px; margin: 40px var(--gutter) 0; }
.ruler { position: relative; height: 12px; width: 100%; max-width: 100%; }
.ruler__line { position: absolute; inset: 5px 0 auto 0; height: 2px; background: var(--ink); }
.ruler__line::before, .ruler__line::after { content: ""; position: absolute; top: -5px; width: 2px; height: 12px; background: var(--ink); }
.ruler__line::before { left: 0; }
.ruler__line::after { right: 0; }
.ruler__label { margin-top: 8px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.ruler__label b { font-weight: 700; }
.proof__dev { margin-left: 6px; font-weight: 700; }
.proof__note { margin-top: 2px; }

@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  .motion .proof__stage {
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--nav-h) + clamp(4px, calc(var(--vh1) * 2), 20px));
    padding-bottom: clamp(10px, calc(var(--vh1) * 2.4), 24px);
  }
  .motion .proof__box { flex: 1; min-height: 0; height: auto; max-height: 680px; margin-top: clamp(14px, calc(var(--vh1) * 2.6), 24px); overflow: hidden; overflow: clip; }
  .proof__foot { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: baseline; }
  .ruler { grid-column: 1 / -1; }
  .proof__note { justify-self: end; text-align: right; margin: 0; }
  .ruler__label { margin-top: 6px; }
}

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .proof__stage { padding-top: 0; }
  .proof__box { margin: 28px 0 0; height: 560px; overflow: hidden; }
  .proof__box .app { border-radius: 0; }
  .app--phone { width: 100%; margin: 28px 0 0; border-radius: 0; }
  .proof { --pin: 1.7; }
  .motion .proof__stage { display: flex; flex-direction: column; justify-content: center; }
  .motion .proof__box { flex: none; margin-top: 0; }
  .motion .proof__foot { flex: none; margin-top: 12px; }
}

/* 실제 HTML로 만든 업체 화면. 컨테이너 폭에 따라 배치가 바뀐다. */
.app { container: app / inline-size; height: 100%; overflow: hidden; border-radius: var(--r-m); background: var(--mist); font-size: 16px; line-height: 1.5; }
.app__grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "nav" "list"; grid-template-rows: auto 1fr; gap: 8px; height: 100%; padding: 16px; }
.app__nav { grid-area: nav; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.app__logo { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.app__role { display: inline-flex; padding: 3px; border-radius: var(--r-f); background: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; }
.app__role > * { padding: 3px 12px; border-radius: var(--r-f); font-weight: 500; }
.app__role b { background: var(--ink); color: #fff; font-weight: 700; }
.app__nav .app__role { margin-left: auto; }
.app__tabs { order: 4; display: flex; flex: 1 0 100%; gap: 4px; font-size: 16px; font-weight: 500; }
.app__tab { padding: 8px 12px; border-radius: var(--r-s); white-space: nowrap; }
.app__tab.is-on { background: #fff; font-weight: 700; }
.app__tab--more, .app__me { display: none; }
.app__me small { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.app__h { display: flex; flex-direction: column; margin-bottom: 10px; }
.app__h b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.app__h span { font-size: 14px; color: var(--ink-2); }
.app__list { grid-area: list; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.job { container: job / inline-size; border-radius: var(--r-s); background: #fff; }

.job__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "main main"
    "seats btn";
  gap: 8px 12px;
  align-items: center;
  padding: 14px 16px;
}
.job__main { grid-area: main; display: flex; flex-direction: column; }
.job__main b { font-size: 17px; font-weight: 700; line-height: 1.4; }
.job__main span { font-size: 14px; color: var(--ink-2); }
.job__seats { grid-area: seats; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }

.app__btn {
  grid-area: btn;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--r-f);
  background: var(--pine);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.app__btn--wide { display: flex; min-height: 48px; margin-top: 16px; font-size: 16px; }
.app__detail, .app__sched { display: none; align-self: start; min-width: 0; padding: 18px 20px; border-radius: var(--r-s); background: #fff; }
.app__detail { grid-area: detail; }
.app__sched { grid-area: sched; }
.app__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.app__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); }
.app__dl { display: flex; flex-direction: column; gap: 8px; }
.app__dl > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 10px; }
.app__dl dt { font-size: 14px; line-height: 1.6; color: var(--ink-2); font-weight: 500; }
.app__dl dd { font-size: 16px; font-weight: 600; line-height: 1.4; }
.app__h--more, .job--more { display: none; }
.app__events { display: flex; flex-direction: column; gap: 12px; }
.app__events li { display: flex; flex-direction: column; }
.app__events b { font-size: 16px; font-weight: 700; }
.app__events span { font-size: 14px; color: var(--ink-2); }

@keyframes pane-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@container job (min-width: 440px) {
  .job__in { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main seats btn"; gap: 16px; }
}

@container app (min-width: 620px) {
  .app__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "nav nav"
      "list detail";
    gap: 12px;
    padding: 20px;
  }
  .app__tabs { order: 0; flex: 0 1 auto; margin-left: 12px; }
  .app__tab--more { display: block; }
  .app__detail { display: block; animation: pane-in 0.32s ease both; }
}

@container app (min-width: 960px) {
  .app__grid { grid-template-columns: 196px minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: "nav list detail"; grid-template-rows: 1fr; padding: 24px; gap: 16px; }
  .app__nav { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 16px; padding-right: 8px; animation: pane-in 0.32s ease both; }
  .app__nav .app__role { order: 1; margin: 0; }
  .app__tabs { order: 2; flex: 0 0 auto; flex-direction: column; width: 100%; margin: 8px 0 0; }
  .app__tab { padding: 10px 12px; }
  .app__me { order: 3; display: flex; flex-direction: column; margin-top: auto; font-size: 16px; font-weight: 700; line-height: 1.4; }
  .app__list { gap: 10px; }
  .app__h--more { display: flex; margin: 14px 0 0; }
  .job--more { display: block; }
}

@container app (min-width: 1240px) {
  .app__grid { grid-template-columns: 196px minmax(0, 1.3fr) minmax(0, 1fr) 216px; grid-template-areas: "nav list detail sched"; }
  .app__sched { display: block; animation: pane-in 0.32s ease both; }
}

/* ---------- 6. 일손 ---------- */
.hands { margin-top: 152px; }
.hands__tabs { display: none; }
.hands__panels { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 56px; padding-inline: var(--gutter); }
.role { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-m); background: var(--mist); font-size: var(--t-body); }
.role__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.role__day { font-size: var(--t-lead); font-weight: 700; letter-spacing: -0.02em; }
.role h3 { margin-top: 24px; font-size: var(--t-h3); }
.role__dl { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; font-size: var(--t-body); }
.role__dl > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; }
.role__dl dt { font-weight: 500; color: var(--ink-2); }
.role__dl dd { font-weight: 600; }
.role__dl .is-pay { align-items: baseline; margin-bottom: 4px; }
.role__dl .is-pay dd { font-size: var(--t-h3); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.role__btn { margin-top: 28px; }
.hands__note { margin-top: 16px; padding-inline: var(--gutter); }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .hands { margin-top: var(--sec-gap); }
  .hands__panels { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 28px; padding-inline: 16px; }
  .role { padding: 20px; border-radius: var(--r-s); }
  .role h3 { margin-top: 12px; font-size: var(--t-h4); }
  .role__dl { margin-top: 12px; font-size: 17px; gap: 4px; }
  .role__dl > div { grid-template-columns: 52px minmax(0, 1fr); }
  .role__btn { margin-top: 16px; min-height: 52px; }
  .hands { --pin: 1.3; }
  .motion .hands__stage { display: flex; flex-direction: column; justify-content: center; }
  .motion .hands__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 16px; padding: 4px; border-radius: var(--r-f); background: var(--mist); }
  .hands__tab { min-height: 48px; border: 0; border-radius: var(--r-f); background: transparent; font-size: 17px; font-weight: 500; cursor: pointer; }
  .hands__tab.is-on { background: var(--ink); color: #fff; font-weight: 700; }
  .motion .hands__panels { display: grid; margin-top: 12px; }
  .motion .role { grid-area: 1 / 1; transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
  .motion .hands[data-role="0"] .role--worker,
  .motion .hands[data-role="1"] .role--boss { opacity: 0; visibility: hidden; transform: translateX(16px); }
  .motion .hands[data-role="0"] .role--boss,
  .motion .hands[data-role="1"] .role--worker { transition-delay: 0.18s, 0.18s, 0.18s; }
  .motion .role__day { display: none; }
  .motion .role__top { justify-content: flex-start; }
}

/* ---------- 7. 마지막 ---------- */
.end { margin-top: 168px; padding-inline: var(--gutter); }
.end__title { font-size: var(--t-display); font-weight: 700; }
.end__act { margin-top: 40px; }
.foot { margin-top: 168px; padding: 40px var(--gutter) 48px; background: var(--mist); }
.foot__logo { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.foot__legal { font-size: 14px; line-height: 1.6; color: var(--ink-2); }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .end { margin-top: 112px; }
  .end__act { margin-top: 20px; }
  .end__act .seat-note { display: inline-flex; }
  .foot { margin-top: 96px; padding: 32px var(--gutter) 40px; }
}

/* ---------- 견적 요청 창 ---------- */
.quote { width: min(560px, calc(100vw - 32px)); max-height: calc(var(--vh1) * 100 - 32px); padding: 32px; border: 0; border-radius: var(--r-m); background: #fff; color: var(--ink); }
.quote::backdrop { background: rgba(20, 32, 27, 0.55); }
.quote__form, .quote__done { display: flex; flex-direction: column; gap: 20px; }
.quote__done[hidden], .quote__form[hidden] { display: none; }
.quote__head { display: flex; align-items: center; justify-content: space-between; }
.quote h2 { font-size: var(--t-h3); letter-spacing: -0.02em; line-height: 1.3; }
.quote h2:focus { outline: none; }

.quote__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  border-radius: var(--r-f);
  background: transparent;
  cursor: pointer;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field legend, .field__label { padding: 0; font-size: var(--t-body); font-weight: 700; }
.field legend { margin-bottom: 8px; }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--line); border-radius: var(--r-s); font-size: 16px; font-weight: 500; }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.input { width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--r-s); background: #fff; color: var(--ink); font: inherit; font-size: 17px; }
.input::placeholder { color: var(--ink-3); opacity: 1; }
.input:focus { border-color: var(--ink); outline: none; }
.quote__error { font-size: 16px; font-weight: 600; color: #a1261b; }
.quote__seat { display: flex; align-items: center; gap: 14px; font-size: var(--t-h4); font-weight: 700; }

@media (max-width: 767px), (max-width: 1023px) and (orientation: portrait) {
  .quote { width: 100vw; max-width: none; margin: auto 0 0; padding: 24px 24px max(24px, env(safe-area-inset-bottom)); border-radius: var(--r-m) var(--r-m) 0 0; overflow-y: auto; }
  .quote__form, .quote__done { gap: 16px; }
}
