/* BELNUA 브랜드 홈 — 누아르 + 샴페인 골드, 인터랙티브 (docs/brand.md 토큰) */

@font-face {
  font-family: 'Cormorant';
  src: url('/assets/fonts/CormorantGaramond-variable.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/Jost-variable.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --noir: #0a0a0c;
  --well: #060607;
  --gold: #e9cba0;
  --gold-bright: #fddcad;
  --gold-deep: #c9a97a;
  --cream: #eae3d6;
  --muted: #948c7c;
  --hair: rgba(233, 203, 160, 0.15);
  --kr: 'Apple SD Gothic Neo', 'Pretendard', 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--noir);
  color: var(--cream);
  font-family: var(--kr);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
::selection { background: rgba(233, 203, 160, 0.22); color: #fff; }

/* ── 커서 팔로우 아우라 ── */
.cursor-aura {
  position: fixed;
  top: -260px;
  left: -260px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 203, 160, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s;
}
.cursor-aura.is-on { opacity: 1; }

/* ── 상단 바 ── */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, env(safe-area-inset-left));
  background: linear-gradient(rgba(10, 10, 12, 0.85), transparent);
}
.topbar-mark { height: 26px; }
.topbar nav { display: flex; gap: 28px; }
.topbar a {
  font-family: 'Jost', var(--kr);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.topbar a:hover { color: var(--gold); }

/* ── 히어로: 라이브 워치 ── */
.hero {
  position: relative;
  min-height: 100svh;
  touch-action: pan-y; /* 히어로 전역 가로 드래그 허용 (세로 스크롤은 유지) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 70px;
  overflow: hidden;
}
.hero-aura {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(120vw, 980px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.7);
  background: radial-gradient(circle, rgba(253, 220, 173, 0.17), rgba(233, 203, 160, 0.07) 35%, transparent 65%);
  filter: blur(10px);
  opacity: 0;
  transition: opacity 1.6s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero.is-awake .hero-aura { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 워치 페이스 피커 — 중앙 현재 페이스 + 양옆 이웃 미리보기 (Wear OS 피커 UX) */
:root { --watch-size: min(64vw, 320px); }

.watch-stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: calc(var(--watch-size) * 1.32);
  z-index: 2;
  cursor: grab;
  outline: none;
  touch-action: pan-y;            /* 세로 스크롤은 페이지에 양보 */
  transition: filter 1.2s ease;
  filter: brightness(0.92);
  user-select: none;
  -webkit-user-drag: none;
}
.watch-stage.is-dragging { cursor: grabbing; }
.watch-stage.is-awake { filter: brightness(1); }
.watch-stage:focus-visible { box-shadow: 0 0 0 2px rgba(233, 203, 160, 0.3); border-radius: 12px; }

.watch-track { position: relative; width: 100%; height: 100%; }

.face-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--watch-size);
  height: var(--watch-size);
  border-radius: 50%;
  overflow: hidden;               /* 각 페이스가 스스로 원형 클리핑 */
  will-change: transform, opacity;
  container-type: size;           /* lm-date 폰트 비례 */
  background: #000;               /* 실물처럼 화면 가장자리 검정 베젤(디스플레이 보더) */
}
.face-slide::after {              /* 유리 반사 */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%);
  pointer-events: none;
}
.watch-layer {
  position: absolute;
  inset: 5%;                      /* 표시 영역 90% — 둘레에 얇은 검정 보더 */
  width: 90%;
  height: 90%;
  border-radius: 50%;             /* 사각 캔버스 모서리가 보더 위에 비치지 않게 */
  will-change: transform;
  pointer-events: none;
}

/* AOD 인트로 (Chrono 슬라이드) — 깨어나면 사라짐 */
.watch-aod { opacity: 1; transition: opacity 1.4s ease; }
.watch-stage.is-awake .watch-aod { opacity: 0; }

/* 서브침 회전 중심 (450 캔버스 기준 WFS 피벗과 동일) */
.sub-cc-date { transform-origin: 28.2222% 48.2222%; }
.sub-cc-hr   { transform-origin: 71.7778% 48.2222%; }
.sub-cc-batt { transform-origin: 50% 72.2222%; }
.sub-lm-batt { transform-origin: 50% 33.3333%; }
.sub-lm-sec  { transform-origin: 50% 68.8889%; }

/* Leatherman 날짜창 텍스트 — 중심 (347,225)/450 */
.lm-date {
  position: absolute;
  left: 74.4%;                    /* 50% + (77.1111-50)×0.90 — 90% 축소 좌표계 */
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Jost', var(--kr);
  font-size: 3.51cqw;             /* 3.9cqw × 0.90 */
  color: #e6e0d4;
  letter-spacing: 0.02em;
}

/* 고정 스크린 (페이스가 빠져나가면 꺼진 화면이 보임) */
.watch-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--watch-size);
  height: var(--watch-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #000;
  z-index: 1;
}

/* 갤럭시워치8 케이스 — 화면 창이 뚫려 있어 페이스가 그 사이로 갈아끼워짐 */
.watch-case {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--watch-size) * 1.0771);
  max-width: none;
  /* 케이스 이미지 내부 화면 중심(48.64%, 50%)을 스테이지 중심에 정렬 */
  transform: translate(-48.64%, -50%);
  z-index: 15;
  pointer-events: none;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.55));
  transition: opacity 0.35s ease;
}
.watch-case.is-swapping { opacity: 0; }

/* 스트랩 — 케이스와 같은 표준 캔버스(1200×2200), 케이스 밑으로 파고드는 레이어 */
.watch-strap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--watch-size) * 1.0771);
  max-width: none;
  transform: translate(-48.64%, -50%);
  z-index: 14;
  pointer-events: none;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.5));
  transition: opacity 0.35s ease;
}
.watch-strap.is-swapping { opacity: 0; }

/* 도트 + 페이스명 */
.watch-meta { margin-top: 20px; z-index: 2; text-align: center; }
.watch-dots { display: inline-flex; gap: 10px; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(233, 203, 160, 0.45);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.is-active { background: var(--gold); transform: scale(1.25); }
.watch-face-label {
  margin-top: 10px;
  font-family: 'Cormorant', serif;
  font-size: 15px;
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}

/* 베젤링 오버레이 — 내경이 화면에 맞게 (내경 1000px 기준 캔버스 1259px, 2% 오버랩) */
.watch-bezel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--watch-size) * 1.1); /* 외경 ≈ 케이스 폭 — 밖으로 안 나가는 최대치 */
  max-width: none;
  transform: translate(-50%, -50%);
  z-index: 16;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
}
.watch-bezel.is-on { opacity: 1; }

/* 베젤 선택 */
.bezel-picker {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.bezel-opt {
  padding: 6px 14px;
  border: 1px solid rgba(233, 203, 160, 0.22);
  background: transparent;
  color: var(--muted);
  font-family: var(--kr);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.bezel-opt.is-active { color: var(--gold); border-color: var(--gold); }

/* 스트랩 선택 — 컬러 선택 아래 별도 줄 */
.strap-picker {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.strap-opt {
  padding: 6px 14px;
  border: 1px solid rgba(233, 203, 160, 0.22);
  background: transparent;
  color: var(--muted);
  font-family: var(--kr);
  font-size: 12px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.strap-opt.is-active {
  color: var(--gold);
  border-color: var(--gold);
}

/* 케이스 색상 스와치 */
.case-colors {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.case-color {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(233, 203, 160, 0.25);
  background: transparent;
  padding: 2px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}
.case-color span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.case-color.is-active {
  border-color: var(--gold);
  transform: scale(1.15);
}

.watch-hint {
  margin-top: 22px;
  font-family: 'Jost', var(--kr);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  opacity: 0;
  animation: hint-in 1s ease 2.6s both;
  transition: opacity 0.5s;
}
.watch-hint.is-dismissed { opacity: 0 !important; }
@keyframes hint-in { from { opacity: 0; } to { opacity: 0.8; } }

.hero-content { position: relative; z-index: 2; margin-top: 40px; }
.hero-wordmark {
  height: clamp(16px, 2.6vw, 22px);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}
.hero-slogan-kr {
  margin-top: 20px;
  font-size: clamp(14px, 1.9vw, 17px);
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease 0.7s, transform 1s ease 0.7s;
}
.hero-slogan-en {
  margin-top: 8px;
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: clamp(16px, 2.1vw, 21px);
  color: var(--gold-deep);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease 0.9s, transform 1s ease 0.9s;
}
.hero.is-awake .hero-wordmark,
.hero.is-awake .hero-slogan-kr,
.hero.is-awake .hero-slogan-en { opacity: 1; transform: translateY(0); }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Jost', var(--kr);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
  opacity: 0;
  animation: hint-in 1.2s ease 3s both;
}

/* ── 공통 섹션 ── */
section { padding: 130px 24px; position: relative; z-index: 2; }
.eyebrow {
  font-family: 'Jost', var(--kr);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 26px;
}
h2 {
  font-weight: 200;
  font-size: clamp(27px, 5.4vw, 44px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 em, h2 .em {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

/* 스크롤 리빌 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── 스토리 (빛 들어오는 헤드라인) ── */
.story { text-align: center; max-width: 680px; margin: 0 auto; }
.lightup span { opacity: 0.18; transition: opacity 0.2s linear; }
.story-body { margin-top: 28px; font-weight: 200; color: var(--muted); font-size: 16px; }
/* 방향 A: 영어 메인 + 한글 서브 2단 캡션 — 히어로 슬로건(The Shining Moment)과 동일한 문법 */
.cap-main {
  display: block;
  font-family: 'Cormorant', serif;
  font-style: italic;
  color: var(--gold-deep);
  font-size: clamp(16px, 2.1vw, 21px);
}
.cap-sub {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(13px, 1.7vw, 15px);
  letter-spacing: 0.06em;
}
.editorial-caption .cap-main { font-size: clamp(18px, 3vw, 24px); }
.etym {
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: 'Jost', var(--kr);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.etym .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-deep); }

/* ── 에디토리얼 (패럴랙스) ── */
.editorial { padding: 8px 0 44px; text-align: center; }
.parallax-frame {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--hair);
  padding: 12px;
  overflow: hidden;
}
.parallax-frame img { will-change: transform; transform: scale(1.12); }
.editorial-caption {
  margin-top: 28px;
  font-weight: 200;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ── 페이스 (틸트 카드) ── */
.faces {
  text-align: center;
  background: var(--well);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.face-grid {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  margin-top: 60px;
  flex-wrap: wrap;
}
.face {
  position: relative;
  width: min(38vw, 240px);
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
}
.face-glow {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 220, 173, 0.15), transparent 62%);
  filter: blur(6px);
  opacity: 0.55;
  transition: opacity 0.4s;
}
.face img { position: relative; border-radius: 50%; }
.face figcaption {
  margin-top: 20px;
  font-family: 'Cormorant', serif;
  font-size: 19px;
  color: var(--cream);
}
.face figcaption span {
  display: block;
  margin-top: 4px;
  font-family: 'Jost', var(--kr);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.faces-note { margin-top: 52px; font-size: 14px; color: var(--muted); }
.cta {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 34px;
  border: 1px solid rgba(233, 203, 160, 0.35);
  font-family: 'Jost', var(--kr);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.cta:hover { background: rgba(233, 203, 160, 0.08); }
.cta[aria-disabled='true'] { opacity: 0.6; pointer-events: none; }

/* ── 푸터 ── */
footer {
  text-align: center;
  padding: 90px 24px calc(48px + env(safe-area-inset-bottom));
}
.footer-mark { height: 30px; margin: 0 auto 16px; opacity: 0.9; }
.footer-slogan {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold-deep);
}
.footer-copy {
  margin-top: 22px;
  font-family: 'Jost', var(--kr);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cta-row .cta { margin-top: 0; }
.cta-primary {
  background: var(--gold);
  color: var(--noir);
  border-color: var(--gold);
  font-weight: 500;
}
.cta-primary:hover { background: var(--gold-bright); }

/* ── 접근성: 모션 최소화 ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .hero-wordmark, .hero-slogan-kr, .hero-slogan-en { opacity: 1; transform: none; }
  .lightup span { opacity: 1; }
  .watch-hint, .scroll-cue { opacity: 0.8; }
  .cursor-aura { display: none; }
}
