/* ═══════════════════════════════════════════════════════════════════════
   Nullish — 단일 페이지 스타일
   - 색·모서리·글자 크기는 design-import 토큰 안에서만 쓴다.
     (글래스·셰이드·헤어라인은 white/beige/navy 의 알파 변형만 사용)
   - 기본(클래스 없음) = 세로 스택 레이아웃 → m-mob / m-static 이 그대로 쓴다.
   - html.m-desk 가 핀 스테이지 배치를 덮어쓴다 (≥1024px, 모션 허용).
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  /* 토큰 색 */
  --white: #ffffff;
  --beige: #F3EDE2;
  --navy: #041E42;
  --cobalt: #3A6DFF;
  --grey: #474747;
  --neutral: #6b6b6b;
  --chart-grey: #4a4a4a;
  /* 알파 변형 (새 색상 아님) */
  --glass-w: rgba(255, 255, 255, .62);
  --glass-w2: rgba(255, 255, 255, .86);
  --glass-b: rgba(243, 237, 226, .76);
  --glass-n: rgba(4, 30, 66, .74);
  --shade: rgba(4, 30, 66, .38);
  --line-l: rgba(255, 255, 255, .2);
  --line-d: rgba(4, 30, 66, .09);
  --ink-dim: rgba(4, 30, 66, .28);
  /* 토큰 모서리 */
  --r-24: 24px; --r-20: 20px; --r-16: 16px; --r-14: 14px; --r-10: 10px; --r-9: 9px;
  /* 토큰 글자 크기 (64/36/26/24/16/15) + 디스플레이 88 */
  --fs-88: clamp(2.25rem, 6.111vw, 5.5rem);
  --fs-64: clamp(2.5rem, 4.444vw, 4rem);
  --fs-36: clamp(1.75rem, 2.5vw, 2.25rem);
  --fs-26: clamp(1.25rem, 1.806vw, 1.625rem);
  --fs-24: 1.5rem;
  --fs-16: 1rem;
  --fs-15: .9375rem;
  /* 레이아웃 */
  --inset: 7px; --gap: 8px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}
@media (min-width: 1024px) { :root { --inset: 16px; --gap: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-16); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: italic; font-weight: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: var(--r-10);
}

.skip {
  position: fixed; z-index: 200; left: 16px; top: -60px; padding: 10px 16px;
  background: var(--navy); color: var(--white); border-radius: var(--r-14); font-size: var(--fs-15);
  text-decoration: none; transition: top .3s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- 글래스 ---------- */
.glass-b { background: var(--glass-b); -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15); }
.glass-n { background: var(--glass-n); -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15); color: var(--white); }

/* ---------- 헤어라인 ---------- */
.lines { position: absolute; inset: 0; pointer-events: none; z-index: 1; --lc: var(--line-l); }
.lines::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--lc); }
.lines::after { content: ""; position: absolute; top: 0; bottom: 0; left: 16px; right: 16px; border-left: 1px solid var(--lc); border-right: 1px solid var(--lc); }
.lines--dark { --lc: var(--line-d); }
/* 가이드 헤어라인 전체 비활성 — 페이지 가운데를 가르는 흰 선으로 보임(2026-11-03 사용자 피드백) */
.lines { display: none !important; }

/* ---------- 필 버튼 ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 5px 0 18px;
  border-radius: var(--r-14); font-size: var(--fs-15); font-weight: 500; text-decoration: none;
  transition: transform .3s var(--ease);
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(1px); }
.pill--navy { background: var(--navy); color: var(--white); }
.pill--beige { background: var(--beige); color: var(--navy); }
.pill__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: var(--r-10); background: var(--cobalt); color: var(--white); transition: transform .3s var(--ease); }
.pill:hover .pill__ico { transform: translateX(2px); }
.pill__ico svg { width: 20px; height: 20px; }

/* ═════════ 탑바 ═════════ */
.topbar { position: fixed; z-index: 100; top: 10px; left: 10px; right: 10px; transition: transform .5s var(--ease); }
.topbar.is-hidden { transform: translateY(-160%); }
.topbar__bar {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 12px 0 18px; border-radius: var(--r-20);
  background: var(--glass-w); -webkit-backdrop-filter: blur(20px) saturate(1.15); backdrop-filter: blur(20px) saturate(1.15);
}
.topbar__logo { display: block; padding: 6px 0; border-radius: var(--r-10); }
.topbar__logo img { width: 112px; height: auto; }
.topbar__nav { display: none; }
.topbar__link {
  font-size: var(--fs-16); color: var(--grey); text-decoration: none; padding: 8px 12px; border-radius: var(--r-10);
  transition: color .2s var(--ease);
}
.topbar__link:hover, .topbar__link[aria-expanded="true"] { color: var(--navy); }
.topbar__trigger { display: inline-flex; align-items: center; gap: 6px; }
.topbar__trigger::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.topbar__trigger[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }

.burger { position: relative; width: 44px; height: 44px; border-radius: var(--r-14); background: var(--navy); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 메가 패널·모바일 시트: 바 뒤에서 펼쳐지는 같은 재질 (UI 크롬이라 visibility 지연 전환 허용) */
.mega, .sheet {
  position: absolute; z-index: 1; left: 0; right: 0; top: 0; border-radius: var(--r-20);
  background: var(--glass-w2); -webkit-backdrop-filter: blur(24px) saturate(1.15); backdrop-filter: blur(24px) saturate(1.15);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mega.is-open, .sheet.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.mega { display: none; padding: 88px 16px 16px; }
.mega__in { display: grid; grid-template-columns: 1fr 320px; gap: 16px; }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; padding: 8px; }
.mega__list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-14); text-decoration: none; font-size: var(--fs-24); font-weight: 500; color: var(--navy); transition: background-color .2s var(--ease); }
.mega__list a:hover { background: var(--beige); }
.mega__list svg { flex: none; width: 36px; height: 36px; padding: 7px; border-radius: var(--r-10); background: var(--cobalt); color: var(--white); }
.mega__card { isolation: isolate; position: relative; display: grid; align-content: end; gap: 8px; min-height: 280px; padding: 20px; border-radius: var(--r-16); overflow: hidden; text-decoration: none; color: var(--white); }
.mega__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--glass-n); }
.mega__card-t { font-size: var(--fs-24); font-weight: 500; line-height: 1.3; }
.mega__card-d { font-size: var(--fs-15); line-height: 1.5; color: var(--beige); }

.sheet { padding: 80px 18px 18px; }
.sheet nav { display: grid; }
.sheet a { padding: 12px 4px; font-size: var(--fs-24); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-d); }

@media (min-width: 1024px) {
  .topbar { top: 32px; left: 64px; right: 64px; }
  .topbar__bar { height: 64px; padding: 0 12px 0 22px; }
  .topbar__logo img { width: 138px; }
  .topbar__nav { display: flex; align-items: center; gap: 4px; }
  .burger, .sheet { display: none; }
  .mega { display: block; }
}

/* ═════════ 공통 프레임 ═════════ */
.frame { position: absolute; inset: 0; border-radius: var(--r-24); overflow: hidden; background: var(--navy); }
.frame__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame__shade { position: absolute; inset: 0; background: var(--shade); }
.frame__shade--hero { background: linear-gradient(180deg, rgba(4, 30, 66, .12) 0%, rgba(4, 30, 66, .2) 45%, rgba(4, 30, 66, .66) 100%); }
@media (max-width:1023px){ .frame__shade--hero { background: linear-gradient(180deg, rgba(4, 30, 66, .12) 0%, rgba(4, 30, 66, .3) 40%, rgba(4, 30, 66, .62) 62%, rgba(4, 30, 66, .8) 100%); } }
@media (max-width:1023px){ .layer--hero .frame__bg { object-position: 72% 50%; } }

/* ═════════ 세로 스택 (mob / static 기본) ═════════ */
.stage__pin { display: flex; flex-direction: column; gap: var(--gap); padding: var(--inset); }
.layer { position: relative; }

/* 히어로 */
.layer--hero { min-height: calc(100svh - 2 * var(--inset)); display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-24); overflow: hidden; }
.hero__ov { position: relative; z-index: 2; display: grid; gap: 28px; padding: 120px 20px 28px; color: var(--white); }
.hero__title { font-size: var(--fs-88); line-height: 1; letter-spacing: -.01em; font-weight: 400; }
.split .tl { display: block; }
.hero__title .tl--r { padding-left: 1.1em; }
.hero__side { display: grid; gap: 22px; justify-items: start; }
.hero__lead { font-size: var(--fs-16); line-height: 1.5; max-width: 34em; }

/* 인터스티셜 (모바일: A 만 짧은 블록) */
.intro { display: none; }
.intro--a { display: block; height: 460px; }
.intro__surface { background: var(--beige); color: var(--navy); }
.intro--b .intro__surface { background: var(--navy); color: var(--beige); }
.intro--c .intro__surface { background: var(--chart-grey); color: var(--white); }
.bfield { position: absolute; width: 70%; aspect-ratio: 3 / 2; color: rgba(4, 30, 66, .14); pointer-events: none; }
.intro--b .bfield, .intro--c .bfield { color: rgba(243, 237, 226, .16); }
.bfield--tl { left: 16px; top: 16px; }
.bfield--br { right: 16px; bottom: 16px; transform: rotate(180deg); }
.intro__tint { position: absolute; inset: 0; background: rgba(255, 255, 255, .62); opacity: 0; pointer-events: none; }
.intro--b .intro__tint, .intro--c .intro__tint { background: var(--glass-n); }
.tile { position: absolute; left: var(--l); top: var(--t); width: calc(var(--w) * .62); height: calc(var(--h) * .62); border-radius: var(--r-20); overflow: hidden; will-change: transform; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.intro__title { position: absolute; z-index: 2; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); font-size: var(--fs-88); line-height: 1; letter-spacing: -.01em; font-weight: 400; }
.split .tl--c { text-align: center; }
.split .tl--r { text-align: right; }
.intro__title .tl + .tl { margin-top: 12px; }

/* 콘텐츠 장면 (모바일: 사진 배경 패널) */
.scene { padding: 84px 16px 16px; border-radius: var(--r-24); overflow: hidden; color: var(--white); }
.scene > .frame .frame__bg { transform: scale(1.08); will-change: transform; }
.chead { position: relative; z-index: 2; font-size: var(--fs-36); line-height: 1.2; font-weight: 500; margin: 0 4px 24px; }
.overlay { position: relative; z-index: 2; }

/* 갭 장면 */
.stats { display: grid; gap: 0; margin-bottom: 16px; }
.stat { padding: 18px 4px; border-top: 1px solid var(--line-l); }
.stat__n { display: flex; align-items: baseline; gap: 12px; font-size: var(--fs-64); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stat__u { font-size: var(--fs-24); font-weight: 500; letter-spacing: 0; }
.stat__l { margin-top: 8px; font-size: var(--fs-16); color: var(--beige); }
.stats__note { padding: 14px 4px 0; border-top: 1px solid var(--line-l); font-size: var(--fs-15); color: var(--beige); }
.statcard { padding: 22px 20px; border-radius: var(--r-24); color: var(--navy); }
.statcard__k { font-size: var(--fs-15); color: var(--grey); margin-bottom: 14px; }
.statcard__text { font-size: var(--fs-26); line-height: 1.29; font-weight: 500; }
.gaplist { display: grid; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.gaplist li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-16); font-weight: 500; }
.sq { flex: none; width: 14px; height: 14px; background: var(--cobalt); border-radius: 2px; }

/* 글자 리빌(데스크톱) · 문장 점등(모바일) */
.rv { color: var(--ink-dim); transition: color .12s linear; }
.rv.on { color: var(--navy); }
.sl { color: var(--ink-dim); transition: color .5s var(--ease); }
.sl.on { color: var(--navy); }

/* 오도미터 */
.odo { display: inline-flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo__s { display: block; will-change: transform; }
.odo__s span { display: block; height: 1em; line-height: 1; }

/* 번호 카드 스택 */
.stack { display: grid; gap: 12px; }
.scard { border-radius: var(--r-24); background: var(--beige); color: var(--navy); overflow: hidden; }
.scard__bar { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 8px 8px 18px; background: var(--navy); color: var(--beige); text-align: left; font-size: var(--fs-15); font-weight: 500; border-radius: 0; }
.scard__n { font-variant-numeric: tabular-nums; }
.scard__bt { flex: 1; }
.scard__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r-10); background: var(--cobalt); color: var(--white); }
.scard__ico svg { width: 20px; height: 20px; }
.scard__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.scard__in { overflow: hidden; display: grid; gap: 16px; padding: 20px 18px 18px; }
.scard__t { font-size: var(--fs-36); line-height: 1.2; font-weight: 500; margin-bottom: 12px; }
.scard__txt p { font-size: var(--fs-16); color: var(--grey); }
.scard__out { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-d); font-size: var(--fs-15) !important; color: var(--navy) !important; font-weight: 500; }
.scard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-16); }
.scard__bar { cursor: default; }

/* 가로 트랙 (모바일: 스냅 스와이프) */
.track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
.track-wrap::-webkit-scrollbar { display: none; }
.track { display: flex; gap: 12px; }
.track > * { flex: none; scroll-snap-align: start; }
.vcard { display: flex; flex-direction: column; width: min(78vw, 383px); min-height: 300px; padding: 20px; border-radius: var(--r-24); }
.vcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 40px; }
.ichip { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-10); background: var(--cobalt); color: var(--white); }
.ichip svg { width: 24px; height: 24px; }
.vcard__n { font-size: var(--fs-15); color: var(--beige); font-variant-numeric: tabular-nums; }
.vcard__t { font-size: var(--fs-24); line-height: 1.3; font-weight: 500; margin-bottom: 10px; }
.vcard p { font-size: var(--fs-16); color: var(--beige); }

/* 인용 */
.quote { padding: 0 var(--inset) var(--gap); }
.quote__panel { position: relative; display: grid; place-items: center; min-height: 80svh; padding: 72px 22px; border-radius: var(--r-24); background: var(--beige); overflow: hidden; }
.quote__mark { position: relative; width: 44px; height: 44px; color: var(--navy); margin-bottom: 28px; }
.quote__block { position: relative; max-width: 980px; }
.quote__panel { align-content: center; }
.quote__text { font-size: var(--fs-36); line-height: 1.2; font-weight: 500; }
.qline { display: block; }
.qline__in { display: inline-block; }
.quote__by { display: grid; gap: 2px; margin-top: 32px; }
.quote__name { font-size: var(--fs-16); font-weight: 500; }
.quote__role { font-size: var(--fs-15); color: var(--neutral); }

/* 작업 */
.work { padding: 0 var(--inset) var(--gap); }
.work__pin { position: relative; padding: 64px 16px 24px; border-radius: var(--r-24); background: var(--white); overflow: hidden; }
.work__head { position: relative; margin: 0 4px 28px; }
.work__h { font-size: var(--fs-36); line-height: 1.2; font-weight: 500; }
.work__sub { margin-top: 8px; font-size: var(--fs-16); color: var(--grey); }
.wcard { width: min(80vw, 460px); padding: 8px 8px 22px; border-radius: var(--r-24); background: var(--beige); }
.wcard img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: var(--r-16); margin-bottom: 18px; }
.badge { display: inline-block; margin: 0 12px 12px; padding: 3px 10px; border-radius: var(--r-9); border: 1px solid var(--navy); font-size: var(--fs-15); font-weight: 500; }
.wcard__t { margin: 0 12px 8px; font-size: var(--fs-24); line-height: 1.3; font-weight: 500; }
.wcard p { margin: 0 12px; font-size: var(--fs-16); color: var(--grey); }

/* 푸터 + 문의 */
.footer { position: relative; padding: 0 var(--inset) var(--inset); }
.footer__move { position: relative; border-radius: var(--r-24); overflow: hidden; }
.footer__sky { position: absolute; inset: 0; }
.footer__sky img { width: 100%; height: 100%; object-fit: cover; }
.footer__body { position: relative; z-index: 1; display: grid; gap: var(--gap); padding: 96px 12px 12px; }
.footer__lead { color: var(--white); padding: 0 8px 24px; }
.footer__claim { font-size: var(--fs-64); line-height: 1; letter-spacing: -.01em; }
.footer__sub { margin-top: 16px; max-width: 30em; font-size: var(--fs-16); }

.form { display: grid; gap: 18px; padding: 24px 18px; border-radius: var(--r-24); }
.form__h { font-size: var(--fs-36); line-height: 1.2; font-weight: 500; margin-bottom: 4px; }
.form__row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-15); color: var(--beige); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-14); border: 1px solid rgba(243, 237, 226, .35);
  background: rgba(255, 255, 255, .08); color: var(--white); font: inherit; font-size: var(--fs-16);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:hover, .field textarea:hover { border-color: var(--beige); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 2px; border-color: var(--beige); }
.field__hint { font-size: var(--fs-15); color: var(--beige); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-15); color: var(--beige); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--cobalt); }
.form .pill { justify-self: start; }

.fpanel { display: grid; gap: 4px; }
.fpanel__main { display: grid; gap: 28px; padding: 24px 20px; border-radius: var(--r-24); color: var(--navy); }
.fpanel__brand { display: flex; align-items: center; gap: 18px; }
.fpanel__logo { width: 88px; height: 88px; }
.fpanel__tag { font-size: var(--fs-24); font-weight: 500; line-height: 1.3; }
.fpanel__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
.fcol { display: grid; gap: 8px; align-content: start; }
.fcol__h { font-size: var(--fs-15); color: var(--grey); margin-bottom: 4px; }
.fcol a { font-size: var(--fs-16); font-weight: 500; text-decoration: none; transition: color .2s var(--ease); }
.fcol a:hover { color: var(--grey); }
.fpanel__side { display: grid; gap: 8px; align-content: start; padding: 24px 20px; border-radius: var(--r-24); font-size: var(--fs-16); }
.fpanel__side .fcol__h { color: var(--beige); }
.fpanel__side a { font-weight: 500; text-decoration: none; }
.fpanel__side a:hover { text-decoration: underline; }
.fpanel__note, .fpanel__copy { font-size: var(--fs-15); color: var(--beige); }
.fpanel__note { margin-top: 18px; }

/* 모바일 전용: 카드가 진입하며 열림 (탭으로도 열림) */
.m-mob .scard { position: sticky; top: 16px; }
.m-mob .scard__bar { cursor: pointer; }
.m-mob .scard:not(.is-open) .scard__body { grid-template-rows: 0fr; }
.m-mob .scard:not(.is-open) .scard__in { padding-top: 0; padding-bottom: 0; }
.m-mob .scard__in { transition: padding .5s var(--ease); }

/* 넓은 정적 화면(모션 줄이기 ≥1024): 같은 흐름, 데스크톱 크기 */
@media (min-width: 1024px) {
  .hero__ov { grid-template-columns: 1fr 420px; align-items: end; padding: 160px 64px 64px; }
  .scene { padding: 120px 48px 48px; }
  .scene--gaps .overlay { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .scard__in { grid-template-columns: 1fr 340px; padding: 28px; }
  .stack { max-width: 865px; margin: 0 auto; }
  .intro--a { height: 560px; }
  .tile { width: var(--w); height: var(--h); }
  .intro__title { left: 64px; right: 64px; }
  .work__pin { padding: 104px 48px 48px; }
  .footer__body { grid-template-columns: 1fr 560px; padding: 160px 48px 16px; }
  .footer__lead { align-self: start; }
  .fpanel { grid-column: 1 / -1; grid-template-columns: 1fr 332px; }
  .fpanel__main { grid-template-columns: auto 1fr; gap: 48px; padding: 32px; }
  .fpanel__cols { grid-template-columns: repeat(3, 1fr); }
  .fpanel__side { padding: 32px; }
  .form { padding: 32px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .quote__panel { min-height: 100vh; }
}

/* ═════════ 데스크톱 핀 스테이지 (html.m-desk) ═════════ */
.m-desk .stage { position: relative; z-index: 3; }
.m-desk .stage__pin {
  position: sticky; top: 0; height: 100vh; display: block; padding: 0; overflow: clip;
  clip-path: inset(16px round 24px);
}
.m-desk .layer { position: absolute; inset: 0; margin: 0; padding: 0; min-height: 0; border-radius: 0; overflow: visible; opacity: 0; pointer-events: none; display: block; }
.m-desk .layer.is-on { opacity: 1; pointer-events: auto; }
.m-desk .layer--intro { z-index: 1; height: auto; }
.m-desk .layer--content { z-index: 2; }
.m-desk .layer .frame { inset: auto; left: 16px; top: 16px; width: calc(100% - 32px); height: calc(100% - 32px); will-change: left, top, width, height; }
.m-desk .scene > .frame .frame__bg { transform: none; }
.m-desk .overlay { position: absolute; inset: 0; }

/* 히어로 */
.m-desk .hero__ov { position: absolute; inset: auto 0 0 0; padding: 0 80px 80px; will-change: transform, opacity; }

/* 인터스티셜 */
.m-desk .intro__surface { overflow: hidden; }
.m-desk .bfield { width: 52%; }
.m-desk .intro__title { top: 50%; left: 80px; right: 80px; transform: none; margin-top: -1.8em; will-change: transform, opacity; }
.m-desk .intro__title .tl + .tl { margin-top: 24px; }

/* 섹션 헤드 (FLIP 대상) */
.m-desk .chead { position: absolute; z-index: 3; left: 0; right: 0; top: 104px; margin: 0; font-size: 2.25rem; white-space: nowrap; text-align: center; opacity: 0; }
.m-desk .chead .cl { display: inline-block; transform-origin: 50% 50%; }

/* 갭 장면 */
.m-desk .scene--gaps .overlay { display: block; }
.m-desk .stats { position: absolute; left: 80px; top: 216px; width: min(560px, 40%); margin: 0; }
.m-desk .stat, .m-desk .stats__note { will-change: transform, opacity; }
.m-desk .statcard { position: absolute; left: 58%; right: 80px; top: 176px; padding: 32px; will-change: transform, opacity; }

/* 카드 스택 */
.m-desk .stack { position: absolute; left: 50%; top: 200px; width: 865px; height: 500px; margin-left: -432.5px; display: block; }
.m-desk .scard { position: absolute; inset: 0; transform-origin: 50% 0; will-change: transform, opacity; display: flex; flex-direction: column; }
.m-desk .scard__body { flex: 1; min-height: 0; }
.m-desk .scard__in { height: 100%; grid-template-columns: 1fr 360px; padding: 32px; }
.m-desk .scard__img { aspect-ratio: auto; height: 100%; min-height: 0; }

/* 서비스 트랙 */
.m-desk .scene--svc .track-wrap { position: absolute; left: 0; right: 0; top: 220px; margin: 0; padding: 0; overflow: visible; }
.m-desk .track[data-track] { gap: 29px; will-change: transform; }
.m-desk .vcard { width: 383px; min-height: 420px; padding: 28px; }

/* 인용 */
.m-desk .quote { position: relative; z-index: 3; padding: 0; background: var(--white); }
.m-desk .quote__panel { min-height: 100vh; border-radius: var(--r-24); margin: 0 16px; }
.m-desk .qline__in { will-change: clip-path; }

/* 작업: 흰 핀 */
.m-desk .work { position: relative; z-index: 3; padding: 0; background: var(--white); }
.m-desk .work__pin { position: sticky; top: 0; height: 100vh; padding: 0; border-radius: 0; overflow: clip; }
.m-desk .work__head { position: absolute; left: 0; right: 0; top: 112px; margin: 0; text-align: center; }
.m-desk .work .track-wrap { position: absolute; left: 0; right: 0; top: 236px; margin: 0; padding: 0; overflow: visible; }
.m-desk .wcard { width: 460px; }

/* 푸터: 작업 섹션 아래에서 드러남 */
.m-desk .footer { z-index: 0; padding: 0; }
.m-desk .footer__move { border-radius: 0; will-change: transform; }
.m-desk .footer__sky { position: absolute; inset: 16px; border-radius: var(--r-24); overflow: hidden; }
.m-desk .footer__move { min-height: 100vh; display: flex; flex-direction: column; }
.m-desk .footer__body { flex: 1; align-content: space-between; padding: 80px 80px 32px; }
/* 낮은 화면(노트북 768~900px): 푸터 콘텐츠가 화면보다 커서 하늘 패널 윗모서리가 잘리던 문제 → 세로 여백만 압축 */
@media (max-height: 920px) {
  .m-desk .footer__body { padding: 56px 80px 32px; }
  .m-desk .form { padding: 24px; gap: 12px; }
  .m-desk .form textarea { height: 64px; min-height: 64px; }
  .m-desk .fpanel__main, .m-desk .fpanel__side { padding: 24px; }
}

/* ═════════ 모션 줄이기: 전부 정지 ═════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.m-static .scene > .frame .frame__bg { transform: none; }

/* 좁은 화면: 오른쪽 타일이 패널 밖으로 나가지 않게 */
@media (max-width: 1023px) {
  .tile { left: min(var(--l), calc(100% - var(--w) * .62 - 12px)); }
}
