/* 디코스튜디오 — 인테리어 원페이지 디자인 샘플 (디코랩)
   주 컬러: 블랙 / 화이트 · 보조: 웜그레이 · 포인트: 샌드(아주 조금)
   구조: 실적 사진 로테이트 히어로 · 단어가 밝아지는 소개 문장 · 편집형 실적 그리드 · 커서 미리보기 서비스 목록 · 가로 타임라인 · 2단 FAQ · 블랙 상담 */

:root {
  --black: #0B0B0C;
  --black-2: #161618;
  --white: #FFFFFF;
  --gray: #F4F4F2;
  --line: #E4E4E0;
  --line-dark: rgba(255, 255, 255, .14);
  --text: #1A1A1C;
  --text-sub: #6B6B68;
  --text-sub-dark: #A3A39F;
  --sand: #C9A27A;          /* 포인트 — 선·작은 표시에만 */
  --sand-ink: #8A6A47;      /* 흰 바탕 위 텍스트용 */

  --font-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --fs-hero: clamp(2.8rem, 1.2rem + 6.4vw, 7.2rem);
  --fs-section: clamp(1.9rem, 1.3rem + 2.4vw, 3.4rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.075rem);

  --container: 1280px;
  --gutter: 20px;
  --header-h: 68px;
  --section-py: clamp(80px, 8vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 74px; } }
@media (min-width: 1120px) { :root { --gutter: 48px; --header-h: 78px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.72; letter-spacing: -0.01em;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 220; padding: 12px 18px; background: var(--white); color: var(--black); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
#main:focus { outline: none; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.line { display: inline-block; }
.ph { display: inline; padding: .04em .4em; border: 1px dashed currentColor; border-radius: 4px; font-size: .94em; opacity: .85; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Sample banner ---------- */
.sample-banner { background: var(--black); color: #D9D9D5; font-size: .8125rem; line-height: 1.55; border-bottom: 1px solid var(--line-dark); }
.sample-banner__inner { display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.sample-banner__tag { flex: none; padding: 2px 9px; border: 1px solid var(--white); color: var(--white); font-weight: 700; font-size: .72rem; letter-spacing: .04em; }
.sample-banner__link { color: var(--white); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 479.98px) { .sample-banner { font-size: .75rem; } .sample-banner__inner { align-items: flex-start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 30px; border: 1px solid transparent; border-radius: 0;
  font-size: .95rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .875rem; }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { background: var(--sand); }
.btn--line-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.btn--line-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

/* ---------- Header (블랙 → 스크롤하면 화이트) ---------- */
.site-header { position: sticky; top: 0; z-index: 120; height: var(--header-h); background: var(--black); color: var(--white); transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); color: var(--black); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(140%) blur(14px); } }
.site-header.is-open { background: var(--black); color: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo__mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid currentColor; font-weight: 900; font-size: 1.05rem; }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__en { font-size: .95rem; font-weight: 900; letter-spacing: .22em; }
.logo__ko { font-size: .66rem; font-weight: 600; letter-spacing: .06em; opacity: .7; }
.site-header.is-scrolled .btn--white { background: var(--black); color: var(--white); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; padding: 0; border: 0; background: transparent; cursor: pointer; color: inherit; }
.nav-toggle__bars { position: relative; width: 24px; height: 14px; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (max-width: 1119.98px) {
  .site-nav { position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; display: flex; flex-direction: column; gap: 24px; padding: 16px var(--gutter) calc(30px + env(safe-area-inset-bottom)); background: var(--black); color: var(--white); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
  html:not(.js) .nav-toggle { display: none; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
  .site-nav__list { list-style: none; margin: 0; padding: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line-dark); }
  .site-nav__list a { display: flex; align-items: center; min-height: 60px; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
  .site-nav__cta { width: 100%; }
}
@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: 34px; }
  .site-nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
  .site-nav__list a { position: relative; padding: 4px 0; font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; opacity: .72; transition: opacity .2s; }
  .site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .site-nav__list a:hover, .site-nav__list a.is-active { opacity: 1; }
  .site-nav__list a:hover::after, .site-nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
}
body.nav-open { overflow: hidden; }

/* ---------- Common ---------- */
.section { padding-block: var(--section-py); }
.section--black { background: var(--black); color: #E8E8E4; }
.section--gray { background: var(--gray); }
.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head--split { display: grid; gap: 18px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr minmax(0, 26em); gap: 48px; } }
.section-head__aside { color: var(--text-sub); }
.section-head__aside small { display: block; margin-top: 4px; font-size: .8125rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--sand-ink); font-size: .78rem; font-weight: 800; letter-spacing: .24em; }
.eyebrow::before { content: ""; width: var(--eyebrow-w, 34px); height: 1px; background: currentColor; }
.eyebrow--light { color: var(--sand); }
.section-title { color: var(--black); font-size: var(--fs-section); font-weight: 800; line-height: 1.15; letter-spacing: -0.045em; }
.section-title--light { color: var(--white); }
.media { position: relative; overflow: hidden; background: #DADAD6; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 1. Hero (실적 사진 로테이트) ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(620px, calc(100svh - var(--header-h))); overflow: hidden; background: var(--black); color: var(--white); }
.slides { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; }
.js:not(.has-motion) .slide { transition: opacity .6s ease; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, .15) 38%, rgba(11, 11, 12, .72) 78%, rgba(11, 11, 12, .92) 100%); pointer-events: none; }

.hero__content { padding-top: clamp(60px, 10vh, 120px); }
.hero__title { font-size: var(--fs-hero); font-weight: 900; line-height: 1.02; letter-spacing: -0.06em; }
.hero__title .line { display: block; min-height: 1.02em; }
/* 타자 효과(interior.js) — 준비 전엔 원문을 숨겨 깜빡임을 막고, 스크립트가 못 돌면 3초 뒤 다시 보인다 */
.has-motion [data-typewriter]:not(.tw-ready) { visibility: hidden; }
.tb-timeout [data-typewriter] { visibility: visible; }
.tw-word { color: var(--sand); }
.caret { display: inline-block; width: .06em; height: .86em; margin-left: .06em; vertical-align: -.06em; background: var(--white); }
.has-motion .caret { animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__desc { max-width: 30em; margin-top: 22px; color: #D9D9D5; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero__ui { display: grid; gap: 18px; align-items: end; margin-top: clamp(36px, 6vh, 70px); padding-block: 22px 28px; border-top: 1px solid var(--line-dark); }
@media (min-width: 1000px) { .hero__ui { grid-template-columns: minmax(0, 1fr) auto auto; gap: 40px; } }
.hero__caption { display: grid; gap: 2px; }
.hero__cat { color: var(--sand); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.hero__name { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 800; letter-spacing: -0.03em; }
.hero__caption small { color: var(--text-sub-dark); font-size: .75rem; }
.hero__controls { display: flex; align-items: center; gap: 18px; }
.hero__counter { display: flex; align-items: baseline; gap: 6px; font-weight: 900; font-variant-numeric: tabular-nums; }
.hero__counter span:first-child { font-size: 2rem; letter-spacing: -0.04em; }
.hero__total { color: var(--text-sub-dark); font-size: .9rem; }
.hero__progress { position: relative; width: clamp(80px, 12vw, 160px); height: 2px; background: var(--line-dark); overflow: hidden; }
.hero__progress span { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left center; }
.hero__buttons { display: flex; gap: 6px; }
.round { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.round:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.round__pause { position: relative; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.round[aria-pressed="true"] .round__pause { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.thumbs { display: none; gap: 8px; margin: 0; }
@media (min-width: 1000px) { .thumbs { display: flex; } }
.thumb { position: relative; display: block; width: 72px; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: #222; cursor: pointer; opacity: .45; transition: opacity .3s, transform .3s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--white); opacity: 0; transition: opacity .3s; }
.thumb:hover { opacity: .8; }
.thumb.is-active { opacity: 1; transform: translateY(-4px); }
.thumb.is-active::after { opacity: 1; }

/* ---------- 2. About (단어가 밝아지는 문장 + 숫자) ---------- */
.statement { max-width: 22em; color: var(--black); font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3rem); font-weight: 800; line-height: 1.38; letter-spacing: -0.04em; }
.statement .word { opacity: .14; }
.figures { display: grid; gap: 14px; margin-top: clamp(50px, 7vw, 100px); }
@media (min-width: 800px) { .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--black); } }
.figure { padding: 26px 0; border-top: 1px solid var(--black); }
@media (min-width: 800px) { .figure { border-top: 0; padding: 30px 28px 30px 0; } .figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); } }
.figure__num { color: var(--black); font-size: clamp(3rem, 2.2rem + 3vw, 5rem); font-weight: 900; line-height: 1; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.figure__num small { margin-left: 4px; font-size: .32em; letter-spacing: 0; }
.figure__label { margin-top: 12px; color: var(--text-sub); }
.figures__note { margin-top: 14px; color: var(--text-sub); font-size: .8125rem; }

/* ---------- 3. Works (편집형 그리드) ---------- */
.works__grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .works__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 22px; }
  .work { grid-column: span 4; grid-row: span 3; }
  .work--wide { grid-column: span 8; grid-row: span 4; }
  .work--tall { grid-row: span 5; }
}
.work figure { display: flex; flex-direction: column; height: 100%; }
.work .media { flex: 1; min-height: 260px; }
.work img { transition: scale .9s var(--ease); }
.work:hover img { scale: 1.06; } /* 개별 scale 속성 — GSAP 패럴랙스의 transform 과 겹치지 않는다 */
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.work figcaption span { color: var(--text-sub); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; }
.work figcaption strong { color: var(--black); font-weight: 800; letter-spacing: -0.02em; }

/* ---------- 4. Services (커서 미리보기) ---------- */
.svc { border-top: 1px solid var(--line-dark); }
.svc__row { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px 18px; padding: 30px 0; border-bottom: 1px solid var(--line-dark); cursor: default; transition: padding .4s var(--ease); }
@media (min-width: 900px) { .svc__row { grid-template-columns: 90px minmax(0, 1fr) auto; align-items: center; padding: 38px 0; } .svc__row:hover { padding-left: 18px; } }
.svc__no { color: var(--sand); font-weight: 800; font-size: .9rem; letter-spacing: .1em; }
.svc__body h3 { color: var(--white); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.2; transition: color .3s; }
.svc__body p { margin-top: 8px; color: var(--text-sub-dark); }
.svc__tag { grid-column: 2; color: var(--text-sub-dark); font-size: .85rem; font-weight: 600; }
@media (min-width: 900px) { .svc__tag { grid-column: auto; } .svc:hover .svc__row:not(:hover) .svc__body h3 { color: #5A5A57; } }
.svc__preview { position: fixed; left: 0; top: 0; z-index: 5; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); }
.svc__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 5. Process (가로 타임라인) ---------- */
.timeline { display: grid; gap: 0; counter-reset: tl; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; } }
.tl { position: relative; padding: 28px 0 30px; border-top: 1px solid var(--line); }
.tl::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--black); transform: scaleX(var(--step-line, 1)); transform-origin: left; }
.tl__no { display: block; color: var(--black); font-size: clamp(2.6rem, 2rem + 2vw, 4rem); font-weight: 900; line-height: 1; letter-spacing: -0.06em; }
.tl h3 { margin-top: 18px; color: var(--black); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.tl p { margin-top: 6px; color: var(--text-sub); }

/* ---------- 6. FAQ ---------- */
.faq__grid { display: grid; gap: 30px; }
@media (min-width: 1000px) { .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; } }
.accordion { border-top: 1px solid var(--black); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__heading { font-size: inherit; font-weight: inherit; }
.accordion__trigger { display: flex; align-items: center; gap: 16px; width: 100%; padding: 24px 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.accordion__text { flex: 1; color: var(--black); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.accordion__icon { position: relative; flex: none; width: 20px; height: 20px; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1.5px; background: var(--black); transition: transform .35s var(--ease); }
.accordion__icon::after { transform: rotate(90deg); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }
.accordion__panel { display: grid; grid-template-rows: 1fr; }
.js .accordion__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease), visibility 0s linear .35s; }
.js .accordion__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease), visibility 0s; }
.accordion__panel > div { min-height: 0; overflow: hidden; }
.accordion__panel p { padding-bottom: 24px; color: var(--text-sub); }

/* ---------- 7. Contact ---------- */
.contact { position: relative; overflow: hidden; padding-block: var(--section-py); background: var(--black); color: #E8E8E4; }
.contact::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 60vw; height: 60vw; border: 1px solid var(--line-dark); border-radius: 50%; translate: 0 var(--cta-ring-y, 0px); pointer-events: none; }
.contact__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 60px; } }
.contact__title { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.8rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.055em; }
.contact__title .line { display: block; }
.info { display: grid; }
.info__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.info__row:first-child { border-top: 1px solid var(--line-dark); }
.info dt { color: var(--sand); font-weight: 700; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 44px 40px; background: var(--black); border-top: 1px solid var(--line-dark); color: #8E8E8A; font-size: .875rem; }
.site-footer__inner { display: grid; gap: 12px; }
.site-footer__brand { color: var(--white); font-weight: 900; letter-spacing: .2em; }
.site-footer__brand span { margin-left: 8px; font-weight: 500; letter-spacing: 0; color: #8E8E8A; }
.site-footer__credit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.credit-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); font-weight: 700; }
.credit-link img { width: 70px; height: auto; filter: brightness(0) invert(1); }

/* ---------- Reveal (CSS fallback) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Text block reveal ---------- */
.js [data-text-block]:not(.is-split) { visibility: hidden; }
.tb-timeout [data-text-block] { visibility: visible; }
.block-line { position: relative; display: block; overflow: hidden; }
.block-line__revealer { position: absolute; inset: 0; z-index: 2; transform: scaleX(0); transform-origin: left center; }

/* ---------- Site motion ---------- */
.has-motion .reveal { transition: none; }
.has-motion [data-hero-item], .has-motion .hero .eyebrow { opacity: 0; }
.tb-timeout [data-hero-item], .tb-timeout .hero .eyebrow { opacity: 1; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 130; height: 2px; background: var(--sand); transform: scaleX(0); transform-origin: left center; pointer-events: none; }

/* 스퀴시 — position:relative 필수 */
[data-squishy] { position: relative; overflow: hidden; isolation: isolate; }
[data-squishy] > :not(.squishy-bg) { position: relative; z-index: 1; }
.squishy-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; fill: rgba(11, 11, 12, .045); overflow: visible; pointer-events: none; transition: fill .6s var(--ease); }
[data-squishy]:hover .squishy-bg { fill: rgba(201, 162, 122, .18); }

/* 3D 의자 — 화면 전체 고정 캔버스. 켜지면 SVG 의자를 숨긴다 */
.scroll-tooth { position: absolute; right: 6%; top: 18%; width: 110px; opacity: .85; pointer-events: none; }
.tooth-3d { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.tooth-3d canvas { display: block; width: 100%; height: 100%; }
.tooth3d-on .scroll-tooth { display: none; }
