/* 하마슈퍼 가맹 안내 · style.css
   토큰 → 기본 → 공통 부품 → 섹션 순서. 섹션 이름 = HTML class = main.js 함수 이름 */

@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 930;
  font-style: normal;
  font-display: swap;
  src: url('../assets/font/PretendardVariable.woff2') format('woff2-variations');
}

:root {
  /* 원시 색 */
  --plum-900: #2a1236;
  --plum-700: #4a2160;
  --plum-500: #70378a;   /* 로고 하마 */
  --pink-300: #f3bfd0;   /* 캐릭터 하마 */
  --pink-100: #fbe6ec;
  --paper: #f6f1e7;
  --paper-2: #ece4d4;
  --ink: #1e1724;
  --tangerine: #ef7d2d;

  /* 역할 */
  --c-bg: var(--paper);
  --c-text: var(--ink);
  --c-sub: rgba(30, 23, 36, .66);
  --c-mute: rgba(30, 23, 36, .46);
  --c-line: rgba(30, 23, 36, .12);
  --c-brand: var(--plum-500);
  --c-accent: var(--pink-300);

  --f-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --f-serif: 'Hahmlet', 'Apple Myungjo', 'Noto Serif KR', serif;
  --f-num: 'Archivo', 'Pretendard Variable', sans-serif;
  --f-hand: 'Nanum Pen Script', 'Pretendard Variable', cursive;

  --wrap: 1240px;
  --gutter: 32px;
  --hd-h: 72px;
  --dock-h: 76px;
  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
@media (max-width: 1260px) { :root { --gutter: 24px; --hd-h: 64px; } }
@media (max-width: 768px)  { :root { --gutter: 20px; --hd-h: 58px; --dock-h: 58px; --r-lg: 20px; --r-md: 14px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hd-h); }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.6; letter-spacing: -.02em;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--plum-500); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mo { display: none; }
@media (max-width: 768px) { .mo { display: inline; } .pc { display: none; } }

/* ---------- 글자 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--plum-500); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--pink-300); }
.h2 {
  font-family: var(--f-serif); font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px); line-height: 1.24; letter-spacing: -.035em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--plum-500); }
.h2.light { color: #fff; }
.h2.light em { color: var(--pink-300); }
.lead { margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; color: var(--c-sub); max-width: 34em; text-wrap: pretty; }
.lead.sm { font-size: 16px; margin-top: 0; }
.lead.light { color: rgba(255,255,255,.75); }
.note { margin-top: 28px; font-size: 13.5px; line-height: 1.6; color: var(--c-mute); max-width: 62em; }
.note::before { content: '※ '; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 16px; font-weight: 700; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink-300); color: var(--plum-900); }
.btn-pink:hover { background: #f7cfdc; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn.wide { width: 100%; height: 58px; }

/* ---------- 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ---------- 헤더 ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
  color: #fff;
}
.hd.is-solid { background: rgba(246, 241, 231, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--c-line); }
.hd.is-hide { transform: translateY(-100%); }
.hd-in { height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 36px; }
.hd-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 21px; letter-spacing: -.04em; }
.hd-logo img { width: 40px; height: auto; }
.hd-logo em { font-style: normal; font-weight: 500; font-size: 13px; opacity: .6; margin-left: 4px; padding-left: 10px; border-left: 1px solid currentColor; }
.hd-nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.hd-nav a { opacity: .78; transition: opacity .2s; }
.hd-nav a:hover { opacity: 1; }
.hd-cta { height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; background: var(--pink-300); color: var(--plum-900); }
.hd-burger { display: none; width: 40px; height: 40px; margin-left: auto; border: 0; background: none; position: relative; cursor: pointer; }
.hd-burger i { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.hd-burger i:first-child { top: 15px; } .hd-burger i:last-child { top: 23px; }
.hd-burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.hd-burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1260px) {
  .hd-nav, .hd-cta { display: none; }
  .hd-burger { display: block; }
  .hd-logo em { display: none; }
}
.sitemap {
  position: fixed; inset: 0; z-index: 45; background: var(--plum-700); color: #fff;
  padding: calc(var(--hd-h) + 24px) var(--gutter) 40px; overflow: auto;
}
.sitemap nav { display: grid; gap: 4px; }
.sitemap a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-serif); font-weight: 700; font-size: clamp(28px, 8vw, 44px); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.sitemap small { font-family: var(--f-sans); font-size: 12px; font-weight: 600; color: var(--pink-300); }
.sitemap-hama { width: 150px; margin: 28px 0 0 auto; }
body.menu-open { overflow: hidden; }
body.menu-open .hd { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }

/* ---------- 1. hero ---------- */
.hero { position: relative; background: var(--ink); }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--paper); }
.hero-frame { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; clip-path: inset(0 0 0 0 round 0px); }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20,12,26,.78) 0%, rgba(20,12,26,.42) 46%, rgba(20,12,26,0) 72%),
  linear-gradient(0deg, rgba(20,12,26,.5), rgba(20,12,26,0) 40%); }
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: clamp(70px, 13vh, 150px);
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); color: #fff;
}
.hero-title {
  font-family: var(--f-serif); font-weight: 800; font-size: clamp(40px, 6.6vw, 98px);
  line-height: 1.12; letter-spacing: -.045em;
}
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; }
.js .hero-title .ln > span { transform: translateY(105%); }
.hero-sub { margin-top: 26px; font-size: clamp(16px, 1.4vw, 20px); color: rgba(255,255,255,.86); max-width: 34em; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.js .hero-sub, .js .hero-act, .js .hero-copy .eyebrow { opacity: 0; transform: translateY(20px); }
.hero-second {
  position: absolute; left: 0; right: 0; top: calc(var(--hd-h) + 5vh); text-align: center; pointer-events: none;
  color: var(--ink); opacity: 0;
}
.hero-second p { font-family: var(--f-serif); font-weight: 700; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.3; letter-spacing: -.04em; padding: 0 var(--gutter); }
.hero-second b { color: var(--plum-500); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 32px; color: rgba(255,255,255,.7); font-size: 12px; display: flex; align-items: center; gap: 10px; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 52px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 1.8s infinite var(--ease); }
@keyframes drip { to { top: 100%; } }
.hero-spacer { height: 140vh; }
.hero::after { content: ''; position: absolute; inset: 0; background: var(--paper); z-index: -1; }
@media (max-width: 768px) {
  .hero-shade { background: linear-gradient(0deg, rgba(20,12,26,.86) 0%, rgba(20,12,26,.5) 50%, rgba(20,12,26,.15) 100%); }
  .hero-video { object-position: 64% 50%; }
  .hero-copy { bottom: 64px; }
  .hero-title { font-size: min(40px, 10vw); }
  .h2 { font-size: min(30px, 8vw); }
  .hero-act .btn { height: 50px; padding: 0 20px; font-size: 15px; }
  .hero-scroll { display: none; }
  .hero-spacer { height: 100vh; }
}

/* ---------- 2. terms ---------- */
.terms { position: relative; padding: clamp(90px, 11vw, 150px) 0 0; overflow: hidden; }
.terms-head { font-family: var(--f-serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -.035em; line-height: 1.25; margin-bottom: 48px; }
.terms-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.terms-list li { padding: 28px 28px 32px 0; border-right: 1px solid var(--c-line); }
.terms-list li + li { padding-left: 28px; }
.terms-list li:last-child { border-right: 0; }
.t-label { font-size: 15px; font-weight: 600; color: var(--c-sub); }
.t-num { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.t-num b { font-size: clamp(46px, 5vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.t-num span { font-size: 20px; font-weight: 700; }
.t-num small { font-size: 15px; font-weight: 600; color: var(--c-sub); margin-right: 6px; }
.terms-list li:nth-child(3) b { color: var(--plum-500); }
.t-desc { margin-top: 16px; font-size: 15px; color: var(--c-sub); line-height: 1.55; }
@media (max-width: 1000px) {
  .terms-list { grid-template-columns: 1fr 1fr; }
  .terms-list li { padding: 24px 18px 26px 0 !important; border-right: 0; border-bottom: 1px solid var(--c-line); }
  .terms-list li:nth-child(odd) { border-right: 1px solid var(--c-line); }
  .terms-list li:nth-child(even) { padding-left: 18px !important; }
}
@media (max-width: 768px) {
  .terms-head { margin-bottom: 32px; }
  .t-num span { font-size: 16px; }
  .t-num small { display: block; width: 100%; }
  .t-num { flex-wrap: wrap; }
  .t-desc { font-size: 14px; }
}
.belt { margin-top: clamp(80px, 10vw, 130px); background: var(--plum-500); color: #fff; overflow: hidden; transform: rotate(-1.4deg); width: 104%; margin-left: -2%; }
.belt-track { display: flex; width: max-content; animation: belt 38s linear infinite; }
.belt-track span { font-family: var(--f-serif); font-weight: 700; font-size: clamp(20px, 2.2vw, 30px); padding: 18px 0; white-space: nowrap; }
.belt-track span::after { content: '●'; font-size: .4em; color: var(--pink-300); margin: 0 1.4em; vertical-align: middle; }
@keyframes belt { to { transform: translateX(-50%); } }

/* ---------- 3. flow ---------- */
.flow { position: relative; margin-top: clamp(40px, 6vw, 80px); }
.flow-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.flow-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.flow-steps { margin-top: 40px; display: grid; gap: 4px; counter-reset: s; }
.flow-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; opacity: .32; transition: opacity .4s; }
.flow-steps li.is-on { opacity: 1; }
.flow-steps li > b { font-size: 14px; font-weight: 700; color: var(--plum-500); padding-top: 4px; }
.flow-steps strong { display: block; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.03em; }
.flow-steps p { font-size: 15px; color: var(--c-sub); margin-top: 2px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.flow-steps li.is-on p { max-height: 60px; }
.flow-bar { margin-top: 20px; height: 3px; background: var(--c-line); border-radius: 3px; overflow: hidden; }
.flow-bar i { display: block; height: 100%; width: 20%; background: var(--plum-500); transform-origin: left; transition: width .4s var(--ease); }
.flow-spacer { height: 320vh; }
.flow-phone { display: flex; flex-direction: column; align-items: center; }
.phone-cap { margin-top: 14px; font-size: 12px; color: var(--c-mute); }

.phone {
  position: relative; width: min(330px, 30vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px;
  background: #19121d; box-shadow: 0 40px 80px -30px rgba(42,18,54,.45), inset 0 0 0 2px #3a2f40;
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #19121d; z-index: 3; }
.screens { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.scr { position: absolute; inset: 0; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s, transform .55s var(--ease); font-size: 13px; letter-spacing: -.02em; display: flex; flex-direction: column; }
.scr.is-on { opacity: 1; transform: none; }
.scr-top { padding: 52px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #eee; background: #fff; }
.scr-top span { font-size: 20px; line-height: 1; color: #888; }
.scr-top b { font-size: 14.5px; }
.scr-top small { margin-left: auto; font-size: 11px; color: var(--plum-500); font-weight: 700; }
.chat { flex: 1; background: #b9cad8; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.scr-chat .scr-top { background: #b9cad8; border: 0; }
.chat .d { align-self: center; font-size: 10.5px; background: rgba(0,0,0,.12); color: #fff; padding: 2px 10px; border-radius: 10px; }
.msg { max-width: 82%; }
.msg i { display: block; font-style: normal; font-size: 10.5px; color: #3d4a57; margin-bottom: 3px; }
.msg p { background: #fff; padding: 8px 11px; border-radius: 4px 14px 14px 14px; line-height: 1.45; font-size: 12.5px; }
.msg.me { align-self: flex-end; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 5px; max-width: 92%; }
.msg.me p { background: #fee500; border-radius: 14px 4px 14px 14px; }
.msg span { font-size: 9.5px; color: #4b5866; white-space: nowrap; }
.ord, .tally, .check, .done { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #faf8f4; }
.ord-item { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 9px; box-shadow: 0 1px 0 #eee; }
.ord-item b { font-size: 13px; display: block; }
.ord-item p { font-size: 12px; color: #777; }
.ph { width: 46px; height: 46px; border-radius: 9px; background: center / cover no-repeat url('../assets/img/grocery.webp'); }
.ph-a { background-position: 95% 92%; background-size: 420%; }
.ph-b { background-position: 82% 12%; background-size: 330%; }
.ph-c { background-position: 82% 58%; background-size: 330%; }
.qty { font-size: 12px; font-weight: 700; border: 1px solid #e3e0da; border-radius: 20px; padding: 3px 9px; white-space: nowrap; }
.ord-field { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 8px; align-items: center; font-size: 12px; color: #777; }
.ord-field span { background: #fff; border: 1px solid #e3e0da; border-radius: 8px; padding: 7px 10px; color: var(--ink); font-weight: 600; }
.ord-pay { margin-top: auto; background: var(--plum-500); color: #fff; font-weight: 700; text-align: center; border-radius: 12px; padding: 13px; font-size: 14px; }
.tally-h { font-size: 13px; color: #555; }
.tally-h b { color: var(--ink); font-size: 15px; }
.tl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12.5px; }
.tl i { grid-column: 1 / -1; grid-row: 2; height: 8px; border-radius: 8px; background: #ece6f0; position: relative; overflow: hidden; }
.tl i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--plum-500); border-radius: 8px; }
.tl b { font-size: 13px; }
.tally-s { font-size: 11.5px; color: #999; }
.check label { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px; font-weight: 600; box-shadow: 0 1px 0 #eee; }
.check .ok { width: 20px; height: 20px; flex: none; }
.check .ok circle { fill: var(--plum-500); transform-origin: center; transform: scale(0); transition: transform .4s var(--ease); }
.check .ok path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .4s ease .2s; }
.scr-check.is-on .ok circle { transform: scale(1); }
.scr-check.is-on .ok path { stroke-dashoffset: 0; }
.scr-check.is-on label:nth-child(2) .ok circle, .scr-check.is-on label:nth-child(2) .ok path { transition-delay: .35s, .55s; }
.scr-check.is-on label:nth-child(3) .ok circle, .scr-check.is-on label:nth-child(3) .ok path { transition-delay: .7s, .9s; }
.scr-check .sort span { transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.scr-check.is-on .sort span { transform: none; opacity: 1; }
.scr-check.is-on .sort span:nth-child(n) { transition-delay: calc(1s + var(--i, 0) * 60ms); }
.done-ring { background: conic-gradient(var(--plum-500) calc(var(--ring, 1) * 100%), #eee 0); }
.sort { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sort span { background: var(--pink-100); border-radius: 8px; text-align: center; padding: 12px 0; font-weight: 700; font-size: 12px; color: var(--plum-700); }
.done { align-items: center; text-align: center; padding-top: 28px; }
.done-ring { width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; background: conic-gradient(var(--plum-500) 0 100%, #eee 0); position: relative; }
.done-ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #faf8f4; }
.done-ring b, .done-ring small { position: relative; }
.done-ring b { font-size: 30px; font-weight: 800; line-height: 1; }
.done-ring small { font-size: 11px; color: #888; }
.done > p { font-weight: 700; font-size: 15px; }
.done ul { width: 100%; display: grid; gap: 6px; text-align: left; }
.done li { background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 11.5px; color: #555; box-shadow: 0 1px 0 #eee; }

@media (max-width: 900px) {
  .flow-pin { position: relative; height: auto; display: block; padding: 20px 0 0; }
  .flow-spacer { display: none; }
  .flow-grid { grid-template-columns: 1fr; gap: 40px; }
  .flow-steps li { opacity: 1; }
  .flow-steps p { max-height: none; }
  .flow-bar { display: none; }
  .phone { width: min(300px, 78vw); }
}

/* ---------- 4. parcel ---------- */
.parcel { padding: clamp(120px, 14vw, 200px) 0 clamp(80px, 10vw, 140px); }
.fill-text { font-family: var(--f-serif); font-weight: 700; font-size: clamp(28px, 4.4vw, 62px); line-height: 1.25; letter-spacing: -.04em; text-wrap: balance; }
.fill-text span {
  display: block;
  --p: 0;
  background: linear-gradient(90deg, var(--ink) calc(var(--p) * 100%), rgba(30,23,36,.16) calc(var(--p) * 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fill-text span:last-child { background-image: linear-gradient(90deg, var(--plum-500) calc(var(--p) * 100%), rgba(112,55,138,.18) calc(var(--p) * 100%)); }
.parcel-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 64px; }
.parcel-side { grid-template-columns: 1fr 1fr; }
.parcel-stage { aspect-ratio: 16 / 8; }
.parcel-stage {
  position: relative; min-height: 460px; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #fffdf8 0%, #efe6d6 100%);
}
.parcel-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-webgl .parcel-fallback { display: none; }
.truck-reveal { position: absolute; inset: 0; clip-path: circle(0% at 50% 50%); overflow: hidden; }
.truck-reveal > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1.18)); }
.truck-done { opacity: 0; transition: opacity 1.2s ease; }
.parcel-stage.is-packed .truck-done { opacity: 1; }
.parcel-3d { position: absolute; inset: 0; z-index: 1; transform-origin: 50% 50%; will-change: transform, opacity; }
.parcel-stage::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(20,12,26,.55), rgba(20,12,26,0)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.parcel-stage.is-truck::after { opacity: 1; }
.parcel-stage.is-truck .parcel-cap { color: #fff; }
.parcel-stage.is-truck .parcel-cap b { color: var(--pink-300); }
.parcel-stage.is-truck .parcel-hint { opacity: 0; }
.parcel-cap { z-index: 2; }
.parcel-cap .c3 { opacity: 0; transform: translateY(10px); }
.parcel-stage.is-truck .c1 { opacity: 0; transform: translateY(-10px); }
.parcel-stage.is-truck:not(.is-packed) .c3 { opacity: 1; transform: none; }
.parcel-cap { position: absolute; left: 24px; bottom: 20px; right: 24px; font-size: 15px; font-weight: 600; color: var(--c-sub); pointer-events: none; }
.parcel-cap span { position: absolute; left: 0; bottom: 0; transition: opacity .5s, transform .6s var(--ease); }
.parcel-cap .c2 { opacity: 0; transform: translateY(10px); color: var(--ink); }
.parcel-cap b { color: var(--plum-500); }
.parcel-stage.is-packed .c1 { opacity: 0; transform: translateY(-10px); }
.parcel-stage.is-packed .c2 { opacity: 1; transform: none; color: #fff; }
.parcel-hint { position: absolute; right: 22px; top: 18px; font-size: 12px; color: var(--c-mute); pointer-events: none; }
.parcel-hint::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pink-300); margin-right: 7px; vertical-align: 1px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (hover: none) { .parcel-hint { display: none; } }
@media (max-width: 900px) { .parcel-stage { min-height: 340px; aspect-ratio: auto; } .parcel-side { grid-template-columns: 1fr; } }

/* 경로 선 (SVG 선 그리기) */
.route { position: relative; margin-top: 56px; height: 170px; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-base { fill: none; stroke: var(--c-line); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-line { fill: none; stroke: var(--plum-500); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-dot { fill: var(--pink-300); stroke: var(--plum-500); stroke-width: 3; vector-effect: non-scaling-stroke; }
.route-stops li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, 16px); text-align: center; white-space: nowrap; transition: opacity .4s, transform .5s var(--ease); }
.js .route-stops li { opacity: .25; }
.route-stops li.is-on { opacity: 1; transform: translate(-50%, 12px); }
.route-stops b { display: block; font-size: 15px; }
.route-stops span { font-size: 12.5px; color: var(--c-sub); }
@media (max-width: 768px) {
  .route { height: 150px; margin-top: 36px; }
  .route-stops b { font-size: 13px; }
  .route-stops span { display: none; }
  .route-stops li:first-child { transform: translate(-10%, 16px); }
  .route-stops li:last-child { transform: translate(-85%, 16px); }
}

.parcel-side { display: grid; gap: 14px; }
.pc-card { background: #fff; border-radius: var(--r-lg); padding: 28px 30px; }
.pc-card.dark { background: var(--plum-700); color: #fff; }
.pc-k { font-weight: 700; font-size: 15px; }
.pc-v { font-size: 14px; color: var(--c-sub); margin-top: 4px; }
.pc-card.dark .pc-v, .pc-card.dark .pc-d { color: rgba(255,255,255,.72); }
.pc-big { margin-top: 18px; font-size: 22px; font-weight: 700; }
.pc-big b { font-size: clamp(44px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-right: 4px; }
.pc-card.dark .pc-big b { color: var(--pink-300); }
.pc-d { margin-top: 10px; font-size: 15px; color: var(--c-sub); }
@media (max-width: 900px) {
  .parcel-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .parcel-boxes { gap: 5px; }
}
@media (max-width: 768px) { .fill-text { font-size: min(28px, 7.4vw); } }

/* ---------- 5. roles ---------- */
.roles { position: relative; background: var(--ink); color: #fff; }
.roles-pin { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.roles-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.roles-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,12,26,.92) 0%, rgba(20,12,26,.55) 45%, rgba(20,12,26,.1) 80%); }
.roles-in { position: relative; padding-top: 30vh; padding-bottom: clamp(60px, 8vw, 110px); }
.roles-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.role { background: rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg); padding: 30px 32px; }
.role.pink { background: rgba(243,191,208,.16); border-color: rgba(243,191,208,.35); }
.role-k { font-family: var(--f-serif); font-weight: 700; font-size: 26px; color: var(--pink-300); margin-bottom: 14px; }
.role li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 16px; color: rgba(255,255,255,.88); }
.role li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--pink-300); }
@media (max-width: 768px) { .roles-cards { grid-template-columns: 1fr; } .role { padding: 24px 22px; } .role li { font-size: 15px; } .roles-in { padding-top: 40vh; } }

/* ---------- 6. price ---------- */
.price { padding: clamp(110px, 13vw, 180px) 0 clamp(60px, 8vw, 100px); }
.eq { margin-top: 56px; display: flex; align-items: stretch; gap: 14px; }
.eq-cell { flex: 1; background: #fff; border-radius: var(--r-lg); padding: 26px 28px 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.eq-cell small { width: 100%; font-size: 14px; font-weight: 600; color: var(--c-sub); margin-bottom: 18px; }
.eq-cell b { font-size: clamp(36px, 4.2vw, 62px); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.eq-cell span { font-size: 18px; font-weight: 700; }
.eq-cell.hi { background: var(--plum-500); color: #fff; }
.eq-cell.hi small { color: rgba(255,255,255,.75); }
.eq-op { display: grid; place-items: center; font-size: 34px; font-weight: 300; color: var(--c-mute); }
@media (max-width: 900px) {
  .eq { flex-direction: column; gap: 6px; }
  .eq-op { font-size: 24px; height: 24px; }
  .eq-cell { padding: 20px 22px; }
  .eq-cell small { margin-bottom: 8px; }
}
.pp { margin: 0; }
.pp img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.pp-a img { aspect-ratio: 4 / 5; }
.pp-wide { margin-top: 18px; }
.pp-wide img { aspect-ratio: 21 / 9; }
@media (max-width: 768px) { .pp-wide img { aspect-ratio: 4 / 3; } }

/* 품목 띠 + 유리 라벨 (liquid-glass) */
.goods { position: relative; margin: 72px auto 0; width: calc(100% - var(--gutter) * 2); max-width: 1600px; aspect-ratio: 21 / 9; border-radius: var(--r-lg); overflow: hidden; }
.goods > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.goods-tags li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.goods-tags span, .glass-chip { display: inline-flex; align-items: center; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.goods-tags li:not(.is-glass) span { background: rgba(255,255,255,.22); backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 14px 30px rgba(0,0,0,.18); }
.glass-chip { padding: 0; height: auto; }
.glass-chip span { position: relative; z-index: 1; display: block; padding: 14px 26px; }
.glass-chip > canvas { box-shadow: 0 16px 34px rgba(30,23,36,.22) !important; }
.goods-cap { position: absolute; left: 28px; bottom: 24px; max-width: 30em; color: #fff; font-size: 15px; font-weight: 500; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
@media (max-width: 768px) {
  .goods { aspect-ratio: 21 / 11; margin-top: 48px; overflow: visible; }
  .goods > img { border-radius: var(--r-md); }
  .goods-tags span, .glass-chip span { font-size: 14px; padding: 10px 16px; }
  .goods-tags span { height: 40px; }
  .goods-cap { position: absolute; top: calc(100% + 10px); left: 0; right: 0; bottom: auto; font-size: 13.5px; color: var(--c-sub); text-shadow: none; }
  .goods + .wrap .pp-wide { margin-top: 64px; }
}
.pp figcaption { margin-top: 12px; font-size: 14px; color: var(--c-sub); }

/* ---------- 7. calc ---------- */
.calc { padding: clamp(100px, 12vw, 160px) 0; background: var(--paper-2); }
.calc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.calc-box { margin-top: 52px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 16px; }
.calc-in { background: #fff; border-radius: var(--r-lg); padding: 34px; display: grid; gap: 28px; }
.rg label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 600; color: var(--c-sub); }
.rg output { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 8px 0 0; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--plum-500) var(--fill), #e9e3ec var(--fill)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--plum-500) var(--fill), #e9e3ec var(--fill)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--plum-500); box-shadow: 0 2px 8px rgba(42,18,54,.2); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--plum-500); }
.seg { border: 0; padding: 0; margin: 0; }
.seg legend { font-size: 15px; font-weight: 600; color: var(--c-sub); margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { width: 100%; }
.seg label { flex: 1; min-width: 130px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; border-radius: 12px; border: 1.5px solid #e3dde6; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s; }
.seg input:checked + span { border-color: var(--plum-500); background: var(--pink-100); color: var(--plum-700); }
.seg input:focus-visible + span { outline: 2px solid var(--plum-500); outline-offset: 2px; }
.calc-out { background: var(--plum-900); color: #fff; border-radius: var(--r-lg); padding: 34px; display: flex; flex-direction: column; }
.co-k { font-size: 15px; color: rgba(255,255,255,.7); font-weight: 600; }
.co-big { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.co-big b { font-size: clamp(60px, 7vw, 104px); font-weight: 800; letter-spacing: -.055em; line-height: .95; color: var(--pink-300); font-variant-numeric: tabular-nums; }
.co-big span { font-size: 24px; font-weight: 700; }
.co-big.neg b { color: #ffb08a; }
.co-s { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 8px; }
.co-grid { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.co-grid div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.co-grid div:nth-child(odd) { padding-right: 14px; border-right: 1px solid rgba(255,255,255,.14); }
.co-grid div:nth-child(even) { padding-left: 18px; }
.co-grid dt { font-size: 13px; color: rgba(255,255,255,.6); }
.co-grid dd { margin-top: 4px; font-size: 21px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.co-bar { margin-top: auto; padding-top: 26px; position: relative; }
.co-bar::before { content: ''; display: block; height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); }
.co-bar i { position: absolute; left: 0; top: 26px; height: 8px; border-radius: 8px; background: var(--pink-300); width: 30%; transition: width .5s var(--ease); }
.co-bar span { position: absolute; top: 40px; font-size: 11px; color: rgba(255,255,255,.55); left: var(--bep, 10%); transform: translateX(-50%); white-space: nowrap; }
.co-bar span::before { content: ''; position: absolute; left: 50%; top: -18px; width: 2px; height: 12px; background: #fff; }
.calc-assume { margin-top: 18px; background: rgba(255,255,255,.55); border-radius: var(--r-md); padding: 0 24px; }
.calc-assume summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 15px; }
.calc-assume ul { padding-bottom: 20px; display: grid; gap: 8px; }
.calc-assume li { font-size: 14px; color: var(--c-sub); padding-left: 14px; position: relative; }
.calc-assume li::before { content: '·'; position: absolute; left: 2px; }
@media (max-width: 900px) {
  .calc-head, .calc-box { grid-template-columns: 1fr; }
  .calc-head { gap: 18px; }
  .calc-in, .calc-out { padding: 24px 22px; }
  .co-bar { padding-bottom: 22px; }
  .co-grid dd { font-size: 18px; }
}

/* ---------- 8. cost ---------- */
.cost { padding: clamp(110px, 13vw, 180px) 0 clamp(60px, 8vw, 100px); }
.cost-steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.cs { background: #fff; border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.cs:nth-child(1) { min-height: 220px; }
.cs:nth-child(2) { min-height: 270px; }
.cs:nth-child(3) { min-height: 320px; background: var(--plum-500); color: #fff; }
.cs-n { font-weight: 700; font-size: 17px; }
.cs-f { font-size: 14px; color: var(--c-sub); margin-top: 4px; }
.cs:nth-child(3) .cs-f { color: rgba(255,255,255,.7); }
.cs-v { margin-top: auto; font-size: 20px; font-weight: 700; }
.cs-v b { font-size: clamp(40px, 4.2vw, 60px); font-weight: 800; letter-spacing: -.05em; margin-right: 4px; }
.cost-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.ck { border: 1.5px solid var(--c-line); border-radius: var(--r-lg); padding: 30px; }
.ck h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.tick li { position: relative; padding: 9px 0 9px 28px; font-size: 16px; border-top: 1px dashed var(--c-line); }
.tick li::before { content: ''; position: absolute; left: 3px; top: 15px; width: 12px; height: 7px; border: solid var(--plum-500); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
@media (max-width: 768px) {
  .cost-steps { grid-template-columns: 1fr; }
  .cs { min-height: 0 !important; flex-direction: row; flex-wrap: wrap; align-items: baseline; padding: 20px 22px; }
  .cs-f { width: 100%; order: 3; }
  .cs-v { margin: 0 0 0 auto; }
  .cs-v b { font-size: 36px; }
  .cost-two { grid-template-columns: 1fr; }
  .ck { padding: 24px 22px; }
  .tick li { font-size: 15px; }
}

/* ---------- 9. day ---------- */
.day { padding: clamp(60px, 8vw, 100px) 0 clamp(110px, 13vw, 170px); }
.day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.day-pic { position: sticky; top: calc(var(--hd-h) + 30px); margin: 0; }
.day-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
.tl-list { margin-top: 44px; position: relative; }
.tl-list::before { content: ''; position: absolute; left: 92px; top: 10px; bottom: 10px; width: 1px; background: var(--c-line); }
.tl-list li { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 18px 0; position: relative; }
.tl-list li::after { content: ''; position: absolute; left: 87px; top: 27px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--plum-500); }
.tl-list time { font-size: 15px; font-weight: 700; color: var(--plum-500); padding-top: 2px; }
.tl-list p { font-size: 16px; color: var(--c-sub); }
.tl-list b { display: block; font-size: 20px; color: var(--ink); margin-bottom: 2px; letter-spacing: -.03em; }
@media (max-width: 768px) {
  .day-grid { grid-template-columns: 1fr; }
  .day-pic { position: relative; top: 0; }
  .day-pic img { aspect-ratio: 1 / 1; border-radius: 140px 140px var(--r-lg) var(--r-lg); }
  .tl-list::before { left: 72px; }
  .tl-list li { grid-template-columns: 72px 1fr; gap: 22px; }
  .tl-list li::after { left: 67px; }
  .tl-list time { font-size: 13.5px; }
  .tl-list b { font-size: 18px; }
  .tl-list p { font-size: 15px; }
}

/* ---------- 10. faq ---------- */
.faq { padding: clamp(100px, 12vw, 160px) 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq-side { position: relative; }
.faq-hama { width: min(260px, 70%); margin-top: 40px; }
.faq-list details { border-top: 1px solid var(--c-line); }
.faq-list details:last-child { border-bottom: 1px solid var(--c-line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; letter-spacing: -.03em; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: linear-gradient(var(--plum-500), var(--plum-500)) center / 12px 2px no-repeat, linear-gradient(var(--plum-500), var(--plum-500)) center / 2px 12px no-repeat, var(--pink-100);
  transition: transform .3s var(--ease); }
.faq-list details[open] > summary::after { transform: rotate(45deg); }
.faq-list details div { padding: 0 40px 26px 0; color: var(--c-sub); font-size: 16px; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-hama { position: absolute; right: 0; top: -10px; width: 110px; margin: 0; }
  .faq-side .h2 { padding-right: 100px; }
  .faq-list details div { padding-right: 0; font-size: 15px; }
}

/* ---------- 11. inquiry ---------- */
.inquiry { position: relative; overflow: hidden; background: var(--plum-700); color: #fff; padding: clamp(100px, 12vw, 160px) 0; isolation: isolate; }
.inq-bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 1.2s; }
.inq-bg:has(canvas) { opacity: 1; }
.inq-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,18,54,.72) 0%, rgba(42,18,54,.3) 60%, rgba(42,18,54,.2) 100%); }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.inq-pic { margin: 40px 0 0; }
.inq-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); }
.inq-form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 36px; display: flex; flex-wrap: wrap; gap: 18px 14px; }
.f { width: 100%; display: grid; gap: 7px; }
.f.half { width: calc(50% - 7px); }
.f label { font-size: 14px; font-weight: 600; }
.f label span { font-weight: 400; color: var(--c-mute); }
.f input, .f select, .f textarea { width: 100%; border: 1.5px solid #e3dde6; border-radius: 12px; padding: 13px 14px; font-size: 16px; background: #fcfbf9; transition: border-color .2s; }
.f textarea { resize: vertical; min-height: 92px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 0; border-color: var(--plum-500); background: #fff; }
.f .is-err { border-color: #d6452f; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--c-sub); cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--plum-500); flex: none; }
.form-msg { width: 100%; font-size: 14px; font-weight: 600; color: var(--plum-500); min-height: 1em; }
.form-msg.err { color: #d6452f; }
@media (max-width: 900px) {
  .inq-grid { grid-template-columns: 1fr; }
  .inq-pic { display: none; }
  .inq-form { padding: 24px 20px; }
  .f.half { width: 100%; }
}

/* ---------- footer ---------- */
.ft { background: var(--plum-900); color: rgba(255,255,255,.7); padding: 64px 0 calc(var(--dock-h) + 40px); font-size: 14px; }
.ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.hd-logo.light { color: #fff; }
.ft-top nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft-info { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 26px; }
.ft-info div { display: flex; gap: 8px; }
.ft-info dt { color: rgba(255,255,255,.45); }
.ft-small { margin-top: 14px; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ---------- dock (하단 상담바) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: var(--dock-h);
  background: rgba(30, 23, 36, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff;
  transform: translateY(100%); transition: transform .5s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock.is-up { transform: none; }
.dock.is-rest { transform: translateY(100%); }
.dock-in { height: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.dock-t { display: flex; align-items: center; gap: 10px; font-size: 16px; color: rgba(255,255,255,.85); white-space: nowrap; }
.dock-t b { color: var(--pink-300); }
.dock-form { display: flex; gap: 8px; margin-left: auto; }
.dock-form input { height: 46px; width: 150px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); padding: 0 14px; font-size: 15px; color: #fff; }
.dock-form input::placeholder { color: rgba(255,255,255,.5); }
.dock-form input:focus { outline: 0; border-color: var(--pink-300); }
.dock-form input.is-err { border-color: #ff8a73; }
.dock-form .btn { height: 46px; }
.dock-mo { display: none; }
@media (max-width: 1260px) { .dock-t { display: none; } .dock-form { margin: 0 auto; } .dock-form input { width: auto; flex: 1; } }
@media (max-width: 768px) {
  .dock { background: var(--pink-300); color: var(--plum-900); }
  .dock-form { display: none; }
  .dock-mo { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; }
}
.to-top {
  position: fixed; right: 20px; bottom: calc(var(--dock-h) + 16px); z-index: 39; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 20px; box-shadow: 0 6px 20px rgba(42,18,54,.16);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.is-show { opacity: 1; pointer-events: auto; }
@media (max-width: 768px) { .to-top { width: 42px; height: 42px; right: 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-sub, .js .hero-act, .js .hero-copy .eyebrow { opacity: 1; transform: none; }
  .js .hero-title .ln > span { transform: none; }
}

/* ---------- 2-1. mark (liquid-logo) : sticky + spacer, 상자가 하마 입으로 ---------- */
.mark { position: relative; }
.mark-pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.mark-spacer { height: 130vh; }
.mark-word {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--f-serif); font-weight: 800; font-size: clamp(160px, 26vw, 420px); line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(112,55,138,.13);
}
.mark-word span { display: inline-block; will-change: transform; }
.mark-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.mark-stage { position: relative; aspect-ratio: 4 / 3; perspective: 900px; }
.mark-plate {
  position: absolute; left: 12%; right: 12%; top: 8%; bottom: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(243,191,208,.75), rgba(243,191,208,.28) 55%, rgba(246,241,231,0) 100%);
  filter: blur(6px);
}
.mark-body { position: absolute; inset: -8%; transform-style: preserve-3d; transform-origin: 50% 85%; will-change: transform; }
.mark-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.has-webgl .mark-fallback { opacity: 0; }
.mark-logo { position: absolute; inset: 0; }
.liquid-logo { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s; filter: saturate(.55) contrast(1.05) drop-shadow(0 18px 24px rgba(74,33,96,.18)); }
.liquid-logo.is-ready { opacity: 1; }
.mark-shadow { position: absolute; left: 20%; right: 14%; bottom: 8%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42,18,54,.28), rgba(42,18,54,0)); will-change: transform; }
.mark-feed { position: absolute; inset: 0; pointer-events: none; }
.fb { position: absolute; left: 0; top: 0; width: 46px; height: 40px; margin: -20px 0 0 -23px; border-radius: 4px; background: #c99a63; box-shadow: inset 0 -4px 0 rgba(0,0,0,.08), 0 6px 12px rgba(42,18,54,.15); opacity: 0; }
.fb::before { content: ''; position: absolute; left: 42%; width: 16%; top: 0; bottom: 0; background: rgba(255,248,235,.6); }
.fb::after { content: attr(data-u); position: absolute; left: 5px; bottom: 4px; font-size: 9px; font-weight: 700; color: rgba(74,33,96,.8); letter-spacing: 0; }
.mark-crumb { position: absolute; left: 0; top: 0; width: 1px; height: 1px; }
.mark-count { display: flex; gap: 10px; margin-top: 34px; }
.mark-count li { flex: 1; background: #fff; border-radius: var(--r-md); padding: 16px 18px; position: relative; }
.mark-count li + li::before { content: ''; position: absolute; left: -10px; top: 50%; width: 10px; height: 2px; background: var(--c-line); }
.mark-count b { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--plum-500); font-variant-numeric: tabular-nums; }
.mark-count span { display: block; margin-top: 8px; font-size: 14px; color: var(--c-sub); }
.mark-note { margin-top: 14px; font-size: 13px; color: var(--c-mute); }
@media (max-width: 900px) {
  .mark-pin { position: relative; height: auto; padding: 90px 0 40px; }
  .mark-spacer { display: none; }
  .mark-grid { grid-template-columns: 1fr; }
  .mark-stage { width: 92%; margin: 0 auto; }
  .mark-word { top: 22%; }
  .mark-count { gap: 8px; }
  .mark-count li { padding: 12px; }
  .mark-count span { font-size: 12.5px; }
  .fb { width: 24px; height: 22px; margin: -11px 0 0 -12px; }
  .fb::after { display: none; }
}

/* ---------- SVG 손글씨 밑줄 ---------- */
.scribble { position: relative; white-space: nowrap; }
.scribble svg { position: absolute; left: -4%; bottom: -.16em; width: 108%; height: .42em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--pink-300); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .9; }
.h2.light .scribble path { stroke: var(--pink-300); opacity: .6; }
.scribble { z-index: 0; }
.scribble svg { z-index: -1; }

/* 마그넷 버튼 · 사진 기울기 */
.btn, .hd-cta { will-change: transform; }
.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); }

/* ---------- 폰트·문구 고도화 ---------- */
/* 숫자 전용 서체 : 가격표처럼 또렷하게 */
.t-num b, .eq-cell b, .co-big b, .cs-v b, .pc-big b, .mark-count b, .co-grid dd, .rg output, .done-ring b, .tally-h b, .tl b {
  font-family: var(--f-num); font-stretch: 88%; font-weight: 700; letter-spacing: -.035em; font-feature-settings: 'tnum' 1;
}
.t-num b, .eq-cell b, .co-big b, .cs-v b, .pc-big b { font-weight: 650; }

/* 손글씨 메모 */
.hand { font-family: var(--f-hand); font-size: 23px; line-height: 1.15; color: var(--plum-500); margin-top: 10px; transform: rotate(-2deg); transform-origin: left; letter-spacing: 0; }
.hand::before { content: '↳ '; font-family: var(--f-sans); font-size: 14px; opacity: .6; }
.hand.light { color: var(--pink-300); font-size: 20px; margin-top: 4px; }
@media (max-width: 768px) { .hand { font-size: 19px; } }

.hero-memo {
  position: absolute; right: clamp(24px, 6vw, 110px); bottom: clamp(90px, 16vh, 170px); width: 236px; padding: 22px 20px 16px;
  background: #fffbe9; color: #2b2330; border-radius: 3px; transform: rotate(3.5deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 34px -12px rgba(0,0,0,.45);
  font-family: var(--f-hand); font-size: 25px; line-height: 1.12; letter-spacing: 0;
}
.hero-memo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(to top, rgba(0,0,0,.05), transparent); }
.hero-memo p + p { margin-top: 4px; }
.hero-memo u { text-decoration: none; background: linear-gradient(transparent 58%, rgba(243,191,208,.9) 58%); }
.hero-memo span { display: block; margin-top: 10px; font-family: var(--f-sans); font-size: 11px; color: #8a7f8e; letter-spacing: -.01em; }
.memo-pin { position: absolute; left: 50%; top: -9px; width: 70px; height: 20px; margin-left: -35px; background: rgba(243,191,208,.75); transform: rotate(-4deg); }
.js .hero-memo { opacity: 0; }
@media (max-width: 1100px) { .hero-memo { display: none; } }

/* 영수증 카드 : 톱니 가장자리 + 점선 */
.receipt { --tooth: 16px; --cut: var(--paper); background: #fff; position: relative; padding-top: 30px; padding-bottom: 30px; }
.receipt::before, .receipt::after { content: ''; position: absolute; left: 0; right: 0; height: 8px; pointer-events: none; z-index: 2; }
.receipt::before { top: 0; background: conic-gradient(from 135deg at 50% 0, transparent 90deg, var(--cut) 0) 0 0 / var(--tooth) 8px repeat-x; }
.receipt::after { bottom: 0; background: conic-gradient(from -45deg at 50% 100%, transparent 90deg, var(--cut) 0) 0 100% / var(--tooth) 8px repeat-x; }
.eq.receipt { gap: 0; border-radius: 0; padding-left: 14px; padding-right: 14px; }
.eq.receipt .eq-cell { background: transparent; border-radius: 0; }
.eq.receipt .eq-cell.hi { background: var(--plum-500); border-radius: 14px; }
.eq.receipt .eq-op { padding: 0 6px; border-left: 1.5px dashed var(--c-line); border-right: 1.5px dashed var(--c-line); width: 54px; }
.ck.receipt { border: 0; border-radius: 0; }
.ck.receipt h3 { padding-bottom: 12px; border-bottom: 1.5px dashed var(--c-line); font-family: var(--f-sans); }
@media (max-width: 900px) {
  .eq.receipt .eq-op { width: auto; height: 28px; border: 0; border-top: 1.5px dashed var(--c-line); border-bottom: 1.5px dashed var(--c-line); }
}

/* 문고리 걸이 태그 버튼 */
.btn-tag { position: relative; padding-left: 46px; border-radius: 14px 999px 999px 14px; }
.btn-tag::before {
  content: ''; position: absolute; left: 17px; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%;
  background: var(--tag-hole, var(--plum-900)); box-shadow: inset 0 1px 2px rgba(0,0,0,.35), 0 0 0 2px rgba(255,255,255,.35);
}
.btn-tag::after { content: ''; position: absolute; left: 22px; top: -14px; width: 2px; height: 22px; background: currentColor; opacity: 0; transition: opacity .3s; }
.btn-ink.btn-tag { --tag-hole: #fff; }
.hero .btn-tag { --tag-hole: rgba(20,12,26,.85); }

@media (max-width: 768px) { .hero-act .btn-tag { padding-left: 40px; } .btn-tag::before { left: 15px; width: 11px; height: 11px; margin-top: -5.5px; } }

/* 탑차 장면 고정 : 화면 가운데에 붙잡아 두고, 아래 빈 길이만큼 스크롤하는 동안 3D → 전환 → 영상(스크롤 연동) */
.parcel-track { --stage-h: min(68svh, 46vw, 600px); position: relative; height: calc(var(--stage-h) + 230svh); }
.parcel-track .parcel-stage { position: sticky; top: calc((100svh - var(--stage-h)) / 2); height: var(--stage-h); min-height: 0; aspect-ratio: auto; }
@media (max-width: 900px) {
  .parcel-track { --stage-h: min(62svh, 440px); height: calc(var(--stage-h) + 200svh); }
}

/* ---------- 1. film · walk : 화면 가득 영상 + 스크롤 재생 ---------- */
.film { position: relative; background: #f2f0ec; }
.film.walk { background: #120c16; }
.film-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  background: linear-gradient(90deg, rgba(14,9,18,.72) 0%, rgba(14,9,18,.35) 45%, rgba(14,9,18,0) 75%), linear-gradient(0deg, rgba(14,9,18,.55), rgba(14,9,18,0) 45%); }
.film-pin.is-dark .film-shade { opacity: 1; }
.film-spacer { height: 240vh; }
.walk .film-spacer { height: 340vh; }
.film-step {
  position: absolute; left: 0; right: 0; bottom: clamp(70px, 13vh, 150px);
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s var(--ease); pointer-events: none;
}
.film-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
.film-kicker { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--plum-500); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.film-kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.film-title { font-family: var(--f-serif); font-weight: 800; font-size: clamp(38px, 5.4vw, 82px); line-height: 1.13; letter-spacing: -.045em; color: var(--ink); text-wrap: balance; transition: color .6s; }
.film-title.sm { font-size: clamp(28px, 3.6vw, 54px); line-height: 1.2; }
.film-title em { font-style: normal; color: var(--plum-500); }
.film-pin.is-dark .film-title { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.film-pin.is-dark .film-title em { color: var(--pink-300); }
.film-pin.is-dark .film-kicker { color: var(--pink-300); }
.film .hero-act { margin-top: 30px; }
.film-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(30,23,36,.08); }
.film-pin.is-dark .film-bar { background: rgba(255,255,255,.14); }
.film-bar i { display: block; height: 100%; background: var(--plum-500); transform-origin: left; transform: scaleX(0); }
.film-pin.is-dark .film-bar i { background: var(--pink-300); }
.film .hero-scroll { color: var(--c-sub); transition: opacity .4s; }
.film .hero-scroll i { background: rgba(30,23,36,.2); }
.film .hero-scroll i::after { background: var(--ink); }
.film-pin.is-moving .hero-scroll { opacity: 0; }
/* 원테이크 첫 단계의 손글씨 메모 */
.js .walk .hero-memo, .walk .hero-memo { position: relative; right: auto; bottom: auto; display: block; opacity: 1; margin: 0 0 28px auto; transform: rotate(-2.5deg); }
@media (max-width: 1100px) { .walk .hero-memo { display: block; margin: 0 0 22px; width: 220px; font-size: 22px; } }
@media (max-width: 768px) {
  .film-step { bottom: 64px; }
  .film-title { font-size: min(38px, 9.6vw); }
  .film-title.sm { font-size: min(28px, 7.4vw); }
  .film-spacer { height: 200vh; }
  .walk .film-spacer { height: 280vh; }
  .walk .hero-memo { width: 200px; font-size: 20px; padding: 18px 16px 12px; }
}
/* 헤더 : 첫 화면이 하얀 모형이라 처음부터 어두운 글자 */
.hd { color: var(--ink); }

/* ---------- 4. supply ---------- */
.supply-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 56px; align-items: stretch; }
.supply-pic { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; }
.supply-pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.supply-pic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 24px 20px; color: #fff; font-size: 15px; font-weight: 500; background: linear-gradient(0deg, rgba(20,12,26,.7), rgba(20,12,26,0)); }
.supply-grid .parcel-side { grid-template-columns: 1fr; }
@media (max-width: 900px) { .supply-grid { grid-template-columns: 1fr; } }

/* ---------- calc 3D 단지 ---------- */
.co-3d { position: relative; height: 230px; margin: -10px -10px 18px; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #3a1a4c 0%, #2a1236 70%); }
.co-3d-canvas { position: absolute; inset: 0; }
.co-3d-cap { position: absolute; left: 16px; bottom: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.co-3d-cap b { color: #ffd98a; font-family: var(--f-num); font-size: 15px; }
@media (max-width: 768px) { .co-3d { height: 190px; } }
.co-3d-cap { background: rgba(20,10,26,.6); padding: 5px 10px; border-radius: 8px; backdrop-filter: blur(6px); }
.co-3d { height: 260px; }
@media (max-width: 768px) { .co-3d { height: 210px; } }
@media (max-width: 768px) { .film-step { bottom: calc(var(--dock-h) + 40px); padding-right: 64px; } .film .hero-act .btn { height: 46px; font-size: 14px; } }
.js .film .hero-act { opacity: 1; transform: none; }

/* ---------- 글자 디자인 2차 : 제목용 Wanted Sans (OFL, github.com/wanteddev/wanted-sans) ----------
   다이클로에서 가져온 원칙 : 크기 단계를 정해 두고, 자간은 좁게, 강조는 핵심 구절 하나만 브랜드색.
   영상 위 문장(film)은 함렛 명조로 남겨 영화 자막처럼, 섹션 제목은 산세리프로 또렷하게 나눈다 */
@font-face {
  font-family: 'Wanted Sans Variable';
  font-weight: 400 1000; font-style: normal; font-display: swap;
  src: url('../assets/font/WantedSansVariable.woff2') format('woff2-variations');
}
:root {
  --f-head: 'Wanted Sans Variable', 'Pretendard Variable', sans-serif;
  /* 제목 크기 단계 (PC → 모바일) */
  --t-display: clamp(34px, 4.6vw, 64px);
  --t-section: clamp(30px, 3.7vw, 52px);
  --t-sub: clamp(19px, 1.6vw, 24px);
}
.h2, .terms-head, .fill-text, .role-k, .ck h3, .co-k, .faq-list summary, .tl-list b, .flow-steps strong, .pc-k, .cs-n {
  font-family: var(--f-head);
}
.h2 { font-size: var(--t-section); font-weight: 800; line-height: 1.22; letter-spacing: -.045em; }
.terms-head { font-size: var(--t-display); font-weight: 850; line-height: 1.15; letter-spacing: -.05em; }
.terms-head em { font-style: normal; color: var(--plum-500); }
.fill-text { font-weight: 850; letter-spacing: -.05em; line-height: 1.18; font-size: clamp(32px, 4.8vw, 68px); }
.flow-steps strong, .tl-list b { font-weight: 700; letter-spacing: -.035em; }
.faq-list summary { font-weight: 700; letter-spacing: -.035em; }
.eyebrow { font-family: var(--f-head); font-weight: 700; letter-spacing: -.01em; font-size: 15px; }
.lead { letter-spacing: -.025em; }
/* 영상 위 문장 : 명조 유지, 강조어만 굵게 */
.film-title { font-weight: 700; letter-spacing: -.05em; }
.film-title em { font-weight: 800; }
@media (max-width: 768px) {
  .h2 { font-size: min(30px, 7.8vw); }
  .terms-head { font-size: min(32px, 8.4vw); }
  .fill-text { font-size: min(30px, 8vw); }
}

/* ---------- PC 전용 하마 커서 ---------- */
.hippo-cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .35s; }
.hippo-cursor.is-on { opacity: 1; }
.hc-flip { position: absolute; left: -31px; top: -40px; width: 62px; height: 42px; transform-origin: 50% 100%; }
.hc-body { width: 62px; height: 42px; transform-origin: 50% 100%; will-change: transform; filter: drop-shadow(0 3px 6px rgba(42,18,54,.18)); }
.hc-body svg { display: block; overflow: visible; fill: #70378a; }
.hc-leg { transform-box: fill-box; transform-origin: 50% 0; }
.hc-l1, .hc-l3 { fill: #5a2a72; }
.hc-tail { fill: none; stroke: #70378a; stroke-width: 4; stroke-linecap: round; }
.hc-pupil, .hc-nose { fill: #3d1a50; }
.hc-eye { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .07s; }
.hc-eye.is-blink { transform: scaleY(.12); }
.hc-shadow { position: absolute; left: 0; top: -2px; width: 46px; height: 8px; border-radius: 50%; background: rgba(30,23,36,.5); filter: blur(3px); transform: translateX(-50%); }
@media (hover: none), (max-width: 1023px) { .hippo-cursor { display: none; } }

/* ---------- 창업 비용 : 단지 모형 카드 (1개 → 2개 → 3개) ---------- */
.cost-steps { align-items: end; }
.cs.cs-model { min-height: 0 !important; background: #f8efe4; color: var(--ink); padding: 0 26px 26px; display: flex; flex-direction: column; overflow: hidden; cursor: default;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .6s; }
.cs.cs-model:nth-child(3) { background: #f8efe4; color: var(--ink); }
.cs-pic { position: relative; margin: 0 -26px 6px; aspect-ratio: 900 / 679; }
.cs-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .7s ease, transform .9s var(--ease); }
.cs-on { opacity: 0; }
.cs-model:nth-child(1) .cs-pic img { transform: scale(.74) translateY(10%); }
.cs-model:nth-child(2) .cs-pic img { transform: scale(.88) translateY(5%); }
.cs-model .cs-n { font-size: 18px; }
.cs-model .cs-f { color: var(--c-sub) !important; }
.cs-model .cs-v { margin-top: 14px; }
.cs-model:nth-child(3) .cs-v b { color: var(--plum-500); }
.cs-note { margin-top: 8px; font-family: var(--f-hand); font-size: 21px; color: var(--plum-500); line-height: 1.1; }
.cs-model::after { content: ''; position: absolute; inset: auto 0 0; height: 0; }
/* 마우스를 올리면 모형에 불이 켜지고 살짝 떠오른다 */
.cs-model:hover, .cs-model:focus-visible { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(42,18,54,.35); }
.cs-model:hover .cs-on, .cs-model:focus-visible .cs-on { opacity: 1; }
.cs-model:nth-child(1):hover .cs-pic img { transform: scale(.78) translateY(8%); }
.cs-model:nth-child(2):hover .cs-pic img { transform: scale(.92) translateY(3%); }
.cs-model:nth-child(3):hover .cs-pic img { transform: scale(1.04); }
@media (max-width: 768px) {
  .cs.cs-model { flex-direction: column !important; padding: 0 20px 20px; }
  .cs-model .cs-v { margin: 10px 0 0 !important; }
  .cs-model .cs-f { order: 0 !important; }
  .cs-model:nth-child(1) .cs-pic img, .cs-model:nth-child(2) .cs-pic img { transform: none; }
  .cs-pic { aspect-ratio: 900 / 560; }
}
.cs.cs-model { align-items: stretch !important; }
.cs-model .cs-pic { align-self: stretch; }
@media (max-width: 768px) { .cs-model .cs-pic { aspect-ratio: auto; height: 0; padding-bottom: 62%; flex: none; } }

/* ---------- 오픈채팅 화면 (구체화) ---------- */
.scr-chat { background: #b9cad8; }
.kc-top { display: flex; align-items: center; gap: 8px; padding: 48px 12px 10px; background: #b9cad8; }
.kc-back { font-size: 22px; color: #1d2a36; line-height: 1; }
.kc-title { flex: 1; display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.kc-title b { font-size: 14px; color: #1d2a36; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-title small { font-size: 12px; color: #4c5b69; }
.kc-ico svg { width: 18px; height: 18px; fill: none; stroke: #1d2a36; stroke-width: 1.6; stroke-linecap: round; }
.kc-notice { display: flex; gap: 8px; align-items: flex-start; margin: 0 10px 6px; padding: 9px 11px; background: rgba(255,255,255,.92); border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.kc-notice svg { width: 16px; height: 16px; flex: none; fill: #3a4a58; stroke: #3a4a58; stroke-width: 1.2; margin-top: 1px; }
.kc-notice p { font-size: 11.5px; line-height: 1.4; color: #2c3640; }
.kc-notice b { margin-right: 3px; }
.kc-body { flex: 1; overflow: hidden; padding: 4px 10px 8px; display: flex; flex-direction: column; gap: 7px; position: relative; }
.kc-date { align-self: center; font-size: 10.5px; color: #fff; background: rgba(40,56,70,.28); padding: 3px 11px; border-radius: 11px; margin: 2px 0 2px; }
.kc-sys { align-self: center; font-size: 10.5px; color: #44525f; background: rgba(255,255,255,.35); padding: 3px 10px; border-radius: 11px; }
.kc-row { display: flex; gap: 7px; align-items: flex-start; }
.kc-av { width: 32px; height: 32px; border-radius: 12px; object-fit: cover; background: #fff3f6; flex: none; }
.kc-av-t { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: #8ea4b8; }
.kc-av-t.c2 { background: #c9a27e; }
.kc-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.kc-name { font-style: normal; font-size: 10.5px; color: #33414e; }
.kc-name em { font-style: normal; font-size: 9px; background: #f5c94a; color: #4a3a00; border-radius: 4px; padding: 0 4px; margin-left: 3px; }
.kc-line { display: flex; align-items: flex-end; gap: 4px; }
.kc-me { justify-content: flex-end; }
.kc-bub { background: #fff; border-radius: 4px 13px 13px 13px; padding: 7px 10px; font-size: 11.5px; line-height: 1.45; color: #1b1b1b; max-width: 188px; }
.kc-me .kc-bub { background: #fee500; border-radius: 13px 4px 13px 13px; }
.kc-meta { display: flex; flex-direction: column; align-items: flex-start; font-size: 9px; color: #4b5866; white-space: nowrap; line-height: 1.2; }
.kc-me .kc-meta { align-items: flex-end; }
.kc-meta b { color: #e6b800; font-size: 9.5px; font-family: var(--f-num); }
.kc-link { display: block; width: 188px; background: #fff; border-radius: 12px; overflow: hidden; color: #1b1b1b; box-shadow: 0 1px 0 rgba(0,0,0,.05); position: relative; }
.kc-link-img { display: grid; place-items: center; height: 82px; background: #fff5f7; }
.kc-link-img img { width: 64px; height: 64px; }
.kc-link-t { display: block; padding: 8px 10px 0; font-size: 12px; font-weight: 700; }
.kc-link-d { display: block; padding: 3px 10px 0; font-size: 10.5px; color: #6b6b6b; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kc-link-u { display: block; padding: 5px 10px 9px; font-size: 10px; color: #9a9a9a; }
.kc-input { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; background: #fff; }
.kc-input span { font-size: 20px; color: #888; line-height: 1; }
.kc-input p { flex: 1; background: #f3f3f3; border-radius: 16px; padding: 6px 12px; font-size: 11.5px; color: #aaa; }
.kc-input i { width: 26px; height: 26px; border-radius: 50%; background: #fee500; }
/* 화면이 켜지면 말풍선이 차례로 올라오고, 마지막에 링크 카드를 누르는 손가락 */
.scr-chat .kc-body > * { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); }
.scr-chat.is-on .kc-body > * { opacity: 1; transform: none; }
.scr-chat.is-on .kc-body > *:nth-child(2) { transition-delay: .15s; }
.scr-chat.is-on .kc-body > *:nth-child(3) { transition-delay: .55s; }
.scr-chat.is-on .kc-body > *:nth-child(4) { transition-delay: .85s; }
.scr-chat.is-on .kc-body > *:nth-child(5) { transition-delay: 1.1s; }
.scr-chat.is-on .kc-body > *:nth-child(6) { transition-delay: 1.4s; }
.kc-tap { position: absolute; left: 112px; top: 210px; width: 34px; height: 34px; border-radius: 50%; background: rgba(112,55,138,.25); box-shadow: 0 0 0 2px rgba(112,55,138,.5); }
.scr-chat.is-on .kc-tap { animation: kcTap 2.4s 1.8s infinite; }
@keyframes kcTap { 0%, 100% { opacity: 0; transform: scale(.6); } 20% { opacity: 1; transform: scale(1); } 35% { transform: scale(.82); } 60% { opacity: 0; transform: scale(1.3); } }

/* ---------- 주문서 화면 : hamasuper.com 색과 구성을 따른다 ---------- */
.scr.hm { background: #fffaf5; font-family: var(--f-sans); }
.hm-top { display: flex; align-items: center; gap: 6px; padding: 48px 14px 10px; background: #fff; border-bottom: 1px solid #f0e4e8; }
.hm-top img { width: 26px; height: 26px; border-radius: 50%; background: #fff5f7; object-fit: cover; }
.hm-top b { font-size: 16px; color: #cf4570; letter-spacing: -.03em; }
.hm-top small { margin-left: auto; font-size: 11px; color: #7e6e75; background: #fbf1f3; padding: 3px 8px; border-radius: 3px; }
.hm-tabs { display: flex; gap: 6px; padding: 10px 12px 4px; }
.hm-tabs span { font-size: 11px; padding: 6px 10px; border-radius: 3px; border: 1px solid #e4d3d9; color: #7e6e75; background: #fff; }
.hm-tabs .on { border-color: #cf4570; color: #cf4570; font-weight: 700; background: #fff5f7; }
.hm-body { flex: 1; padding: 8px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.hm-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid #f0e4e8; border-radius: 3px; padding: 8px; }
.hm-item .ph { width: 52px; height: 52px; border-radius: 3px; background-color: #fdf3e7; }
.hm-info b { display: block; font-size: 12.5px; color: #2a1c22; }
.hm-info p { font-size: 13px; font-weight: 800; color: #2a1c22; margin-top: 1px; font-family: var(--f-num); }
.hm-info small { font-size: 10px; color: #b7a9af; }
.hm-qty { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #2a1c22; }
.hm-qty i { font-style: normal; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #e4d3d9; border-radius: 3px; color: #cf4570; background: #fff; }
.hm-qty.off { color: #b7a9af; }
.hm-addr { display: flex; justify-content: space-between; font-size: 11px; padding: 9px 10px; background: #fbf1f3; border-radius: 3px; color: #7e6e75; }
.hm-addr b { color: #2a1c22; }
.hm-pay { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 18px; background: #fff; border-top: 2px solid #cf4570; }
.hm-pay span { font-size: 11px; color: #7e6e75; }
.hm-pay b { background: #cf4570; color: #fff; padding: 10px 14px; border-radius: 3px; font-size: 13px; }
.ph.ph-a { background: center / cover no-repeat url("../assets/img/p-tangerine.webp") !important; }
.ph.ph-b { background: center / cover no-repeat url("../assets/img/p-eggs.webp") !important; }
.ph.ph-c { background: center / cover no-repeat url("../assets/img/p-fish.webp") !important; }

/* ---------- 3-1. live : 하마슈퍼 주문서 연결 ---------- */
.live { padding: clamp(100px, 12vw, 160px) 0; background: #fffaf5; }
.live-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.live-head .h2 em { color: #cf4570; }
.live-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 60px); margin-top: 56px; align-items: start; }
.live-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ls { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid #f0e4e8; }
.ls figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: #fbf1f3; }
.ls figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ls:hover figure img { transform: scale(1.04); }
.ls-phone { display: grid; place-items: center; padding: 18px 0 0; }
.ls-phone img { width: 62% !important; height: auto !important; object-fit: contain !important; border-radius: 22px; box-shadow: 0 20px 40px -18px rgba(42,18,54,.35); align-self: end; }
.ls > div { padding: 18px 20px 22px; }
.ls b { font-family: var(--f-num); font-size: 13px; color: #cf4570; }
.ls h3 { font-family: var(--f-head); font-size: 18px; font-weight: 800; letter-spacing: -.035em; margin: 6px 0 6px; line-height: 1.3; }
.ls p { font-size: 14px; color: var(--c-sub); line-height: 1.55; }
.live-try { position: sticky; top: calc(var(--hd-h) + 24px); display: flex; flex-direction: column; align-items: center; }
.live-phone { width: 300px; }
.live-phone .screens iframe { width: 100%; height: 100%; border: 0; display: block; background: #fffaf5; }
.live-cap { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink); text-align: center; }
.live-cap i { width: 8px; height: 8px; border-radius: 50%; background: #2fb36b; box-shadow: 0 0 0 4px rgba(47,179,107,.18); animation: blink 1.6s infinite; flex: none; }
.live-act { display: grid; gap: 8px; width: 100%; margin-top: 16px; }
.live-act .btn { width: 100%; }
.btn-line { background: #fff; color: #cf4570; box-shadow: inset 0 0 0 1.5px #e4d3d9; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px #cf4570; }
.live-try .note { margin-top: 14px; }
@media (max-width: 1100px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-try { position: relative; top: 0; }
}
@media (max-width: 900px) {
  .live-head { grid-template-columns: 1fr; gap: 16px; }
  .live-steps { grid-template-columns: 1fr; }
  .ls { flex-direction: row; }
  .ls figure { width: 42%; flex: none; aspect-ratio: auto; }
  .ls-phone { padding: 12px 0 0; }
  .ls > div { padding: 14px 16px; }
  .ls h3 { font-size: 16px; }
  .ls p { font-size: 13px; }
  .live-phone { width: min(300px, 80vw); }
}
.live-phone .screens { padding-top: 36px; background: #fff; }
.live-phone .screens iframe { height: calc(100% - 0px); }
.live-phone .screens iframe { transform-origin: 0 0; max-width: none; }
/* 실제 주문서 iframe 은 레이아웃 흐름에서 빼서, 크기를 바꿔도 휴대폰 틀이 늘어나지 않게 한다 (늘어남 → 다시 계산 → 무한히 커지던 버그) */
.live-phone .screens { position: relative; }
.live-phone .screens iframe { position: absolute; left: 0; top: 36px; }
/* 사진 기울기 효과가 이미지를 1.06배 키우므로 틀 밖으로 나가지 않게 자른다 */
.pp-wide, .day-pic, .inq-pic { overflow: hidden; border-radius: var(--r-lg); }
.pp-wide figcaption { padding-top: 12px; }
.co-grid div { display: flex; flex-direction: column; }
.co-grid .hand.light { margin-top: 6px; transform: rotate(-1.5deg); display: block; line-height: 1.2; }

/* ---------- 모바일 최적화 (2026-11-19 실기기 피드백) ---------- */
.film-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; background: center / cover no-repeat; }
.film.use-frames .film-canvas { display: block; }
.film.use-frames .film-video { display: none; }
/* 휴대폰은 처음 잰 화면 높이로 고정 : 주소창이 접혀도 장면 크기가 흔들리지 않게 */
@media (max-width: 768px) {
  .film-pin { height: 100lvh; }
  @supports not (height: 100lvh) { .film-pin { height: 100vh; } }
  .film-step { bottom: calc(var(--dock-h) + 28px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(var(--dock-h) + 14px + env(safe-area-inset-bottom)); }
}
.co-3d-static { display: none; position: absolute; inset: 8% 6% 18%; width: 88%; height: 74%; object-fit: contain; }
.is-phone .co-3d-static { display: block; }
.is-phone .co-3d { background: radial-gradient(120% 100% at 50% 0%, #fff6ea 0%, #f3e6d8 100%); }
.is-phone .co-3d-cap { color: #5d4b63; background: rgba(255,255,255,.75); }
.is-phone .mark-fallback { opacity: 1 !important; filter: none; }
.is-phone .inq-bg { opacity: 1; background: radial-gradient(90% 70% at 85% 10%, rgba(243,191,208,.45), transparent 60%), radial-gradient(80% 60% at 10% 90%, rgba(112,55,138,.6), transparent 60%); }
.is-phone .glass-chip canvas { display: none; }

/* ---------- 모바일 2차 (실기기 피드백) ---------- */
/* 하단 상담바 : 아이폰 홈 표시줄 높이만큼 바를 더 키운다 (안쪽을 깎지 않게) */
.dock { height: calc(var(--dock-h) + env(safe-area-inset-bottom)); }
.dock-in { height: var(--dock-h); }
.ft { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + 40px); }
/* 스크롤 영상 : 주소창이 펴져 있어도 자막이 보이는 높이(svh)로 고정 */
@media (max-width: 768px) {
  .film-pin { height: 100svh; }
  @supports not (height: 100svh) { .film-pin { height: 100vh; } }
}
/* 이름 이야기 : 휴대폰은 선명한 벡터 하마, 뒤 큰 외곽 글자는 숨김 */
.mark-svg { display: none; position: absolute; inset: 6% 4%; width: 92%; height: 88%; overflow: visible; }
.is-phone .mark-svg { display: block; }
.is-phone .mark-fallback, .is-phone .mark-logo, .is-phone .mark-shadow { display: none !important; }
.is-phone .mark-word { display: none; }
.is-phone .mark-plate { left: 4%; right: 4%; }

/* 휴대폰 이름 이야기 하마 : 힉스필드로 만든 입체 금속 하마 (배경 제거) */
.mark-chrome { object-fit: contain; inset: 8% 2% 6%; width: 96%; height: 86%; filter: drop-shadow(0 18px 22px rgba(74,33,96,.18)); }
.is-phone .mark-plate { background: radial-gradient(closest-side, rgba(243,191,208,.6), rgba(243,191,208,.18) 60%, rgba(246,241,231,0) 100%); }
