/* ========================================================
   DO HO SUH — PERFECT HOME?
   ARCHITECTURAL INTERACTIVE EXHIBITION ARCHIVE
   ======================================================== */

:root {
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-korean: 'Noto Sans KR', sans-serif;

  --color-bg: #ffffff;
  --color-ink-900: #121212;
  --color-ink-700: #3a3a3a;
  --color-ink-500: #6c6c6c;
  --color-grid: rgba(0, 0, 0, 0.03);

  --lens-r: 110px;
  --mouse-vx: -500px;
  --mouse-vy: -500px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-ink-900);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--color-bg);
  cursor: default;
}

/* ========================================================
   ARCHITECTURE BACKGROUND GRID (Blueprint guides)
   ======================================================== */
.grid-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
  padding: 0 4.5vw;
}

.grid-line {
  width: 1px;
  height: 100%;
  background-color: var(--color-grid);
}

/* ========================================================
   FIXED HEADER: Perfect Home?
   (사용자 요청: "제일 위에 퍼펙트 홈의 텍스트는 고정")
   ======================================================== */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 2.5rem 4.5vw 1.2rem 4.5vw;
  z-index: 50;
  pointer-events: none;
  isolation: isolate;
  transform: translateZ(0);
  transition: padding 0.35s ease, background 0.35s ease;
}

body.scrolled .fixed-header {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.88) 75%,
    rgba(255, 255, 255, 0) 100%
  );
}

.header-inner {
  pointer-events: auto;
}

.fixed-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--color-ink-900);
  text-transform: none;
  user-select: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top left;
}

body.scrolled .fixed-title {
  transform: scale(0.68);
}

.title-word {
  display: block;
}


/* ========================================================
   MAIN SCROLL CONTAINER & CANVAS (1920 x 16554)
   (사용자 요청: "웹사이트 자체는 그 전 레이아웃과 크기가 좋은데")
   ======================================================== */
.page-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

/* 1. ARTWORK CANVAS LAYER: 1920x13709 비례의 개별 아트워크 모션 레이어 */
.artwork-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 13709;
  background-color: var(--color-bg);
  z-index: 5; /* 블러 커튼(10) 아래 */
}

/* 캔버스 비율 보존 스페이서 */
.canvas-spacer {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: 0;
}

/* 개별 아트워크 스크롤 밴드 */
.art-scroll-band {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
}

/* 캔버스 Y좌표 기반 100% 정밀 비율 배치 */
.band-1 { top: 6.6963%; height: 2.6260%; } /* Y: 918..1278 (1.png) */
.band-2 { top: 15.7415%; height: 7.1851%; } /* Y: 2158..3143 (2.png) */
.band-3 { top: 27.9962%; height: 5.9961%; } /* Y: 3838..4660 (4.png) */
.band-4 { top: 36.5891%; height: 5.6897%; } /* Y: 5016..5796 (3.png & 5.png) */
.band-5 { top: 49.9088%; height: 11.3429%; } /* Y: 6842..8397 (8.png, 6, 7) */
.band-6 { top: 65.1689%; height: 4.1579%; } /* Y: 8934..9504 (9.png) */
.band-7 { top: 77.1975%; height: 5.9231%; } /* Y: 10583..11395 (12.png) */
.band-8 { top: 85.4183%; height: 4.8289%; } /* Y: 11710..12372 (11.png) */
.band-9 { top: 91.7281%; height: 2.1227%; } /* Y: 12575..12866 (10.png) */

/* ========================================================
   스크롤에 맞춰 아래에서 위로 살짝 튕기듯 올라오는 스프링 모션 타깃
   (사용자 요청: "각 이미지들이 스크롤에 맞춰서 자연스럽게 움직이는 모션이 들어가게 해줘.
    스크롤을 내리면 사진이 살짝 아래에서 위로 튕기듯 올라오는거지. 너무 튀지 않게 .")
   ======================================================== */
.art-motion-target {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.art-band-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none !important;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

/* Specimen Interactive Hitboxes */
.specimen-zone {
  position: absolute;
  pointer-events: auto !important;
  z-index: 50 !important;
  cursor: pointer;
}

/* Hitbox Positions Within Each Art Band */
.band-1 .zone-houses { top: 0; left: 12.5%; width: 75%; height: 100%; }
.band-2 .zone-handles-nebula { top: 0; left: 12.5%; width: 75%; height: 100%; }
.band-3 .zone-large-handle { top: 0; left: 22%; width: 60%; height: 100%; }
.band-4 .zone-intercom-phone,
.band-4 .zone-phone-3 { top: 0; left: 68.5%; width: 16%; height: 95%; }
.band-5 .zone-lamp-fan { top: 0; left: 22%; width: 50%; height: 100%; }
.band-5 .zone-boiler-switch { top: 35%; left: 22%; width: 50%; height: 58%; }
.band-6 .zone-paper-holder { top: 0; left: 34%; width: 48%; height: 100%; }
.band-7 .zone-sockets-plate { top: 0; left: 37%; width: 63%; height: 100%; }
.band-8 .zone-light-fixtures { top: 0; left: 9%; width: 44%; height: 100%; }
.band-9 .zone-specimen-misc { top: 0; left: 34%; width: 18%; height: 100%; }

/* ========================================================
   4.PNG INTERACTIVE FLOATING HANDLE LEVER
   ======================================================== */
.band-3 .interactive-handle-wrapper {
  position: absolute;
  left: 22.8125%;
  top: 23.3564%;
  width: 23.3854%;
  pointer-events: none;
  z-index: 7;
}

.handle-lever-img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 90.2% 51.2%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
}

.handle-lever-img.moving,
.art-motion-target:has(.zone-large-handle:hover) .handle-lever-img,
.zone-large-handle:hover ~ .interactive-handle-wrapper .handle-lever-img {
  animation: handle-sway-updown 2.2s ease-in-out infinite;
}

@keyframes handle-sway-updown {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(-2.4deg) translateY(-5px);
  }
  50% {
    transform: rotate(0deg) translateY(0);
  }
  75% {
    transform: rotate(1.8deg) translateY(4px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

/* ========================================================
   3.PNG INTERACTIVE FLOATING PHONE RECEIVER (GENTLE SHAKE)
   ======================================================== */
.band-4 .interactive-phone-wrapper {
  position: absolute;
  left: 69.5833%;
  top: 0;
  width: 13.5938%;
  height: 88.0769%;
  pointer-events: none;
  z-index: 7;
}

.phone-receiver-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 18%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.04));
}

.phone-receiver-img.ringing,
.art-motion-target:has(.zone-phone-3:hover) .phone-receiver-img,
.zone-phone-3:hover ~ .interactive-phone-wrapper .phone-receiver-img {
  animation: phone-ring-wobble 0.4s ease-in-out infinite;
}

@keyframes phone-ring-wobble {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
  15% {
    transform: rotate(-1.8deg) translate3d(-1.2px, -0.8px, 0);
  }
  30% {
    transform: rotate(1.8deg) translate3d(1.2px, 0.5px, 0);
  }
  45% {
    transform: rotate(-1.4deg) translate3d(-0.8px, 0.6px, 0);
  }
  60% {
    transform: rotate(1.4deg) translate3d(0.8px, -0.4px, 0);
  }
  75% {
    transform: rotate(-0.8deg) translate3d(-0.5px, 0, 0);
  }
  90% {
    transform: rotate(0.8deg) translate3d(0.5px, 0, 0);
  }
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

/* ========================================================
   8.PNG INTERACTIVE GLOWING WALL LAMP
   ======================================================== */
.band-5 .interactive-lamp-wrapper {
  position: absolute;
  left: 23.6979%;
  top: 13.2476%;
  width: 27.3438%;
  pointer-events: none;
  z-index: 7;
}

.lamp-ambient-glow {
  position: absolute;
  left: 5%;
  top: 35%;
  width: 65%;
  height: 95%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 60% 50% at 45% 35%,
    rgba(255, 232, 140, 0.55) 0%,
    rgba(255, 205, 80, 0.28) 40%,
    rgba(255, 170, 45, 0.10) 70%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  filter: blur(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.lamp-lit-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 14px rgba(255, 220, 100, 0)) drop-shadow(0 10px 30px rgba(255, 180, 50, 0));
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.lamp-lit-img.lit,
.art-motion-target:has(.zone-lamp-fan:hover) .lamp-lit-img,
.zone-lamp-fan:hover ~ .interactive-lamp-wrapper .lamp-lit-img {
  opacity: 1;
  filter: drop-shadow(0 4px 18px rgba(255, 225, 110, 0.6)) drop-shadow(0 14px 40px rgba(255, 185, 60, 0.35));
}

.lamp-ambient-glow.lit,
.art-motion-target:has(.zone-lamp-fan:hover) .lamp-ambient-glow,
.zone-lamp-fan:hover ~ .interactive-lamp-wrapper .lamp-ambient-glow {
  opacity: 1;
  transform: scale(1.08);
}

/* ========================================================
   9.PNG & 10.PNG GENTLE SLOW VERTICAL SWAY
   (사용자 요청: "9.png랑 10.png에 마우스를 올렸을 때 ... 살짝 위아래로 흔들리게 해줘 천천히.")
   ======================================================== */
.sway-target-img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.sway-target-img.swaying,
.art-motion-target:has(.zone-paper-holder:hover) #paper-holder-img,
.zone-paper-holder:hover ~ #paper-holder-img,
.art-motion-target:has(.zone-specimen-misc:hover) #specimen-misc-img,
.zone-specimen-misc:hover ~ #specimen-misc-img {
  animation: slow-vertical-sway 2.6s ease-in-out infinite;
}

@keyframes slow-vertical-sway {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(4.5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ========================================================
   12.PNG TACTILE SWITCH / SOCKET PLATE MOTION
   (사용자 요청: "12.png에 마우스를 올렸을 때 어울리는 효과음 넣어줘. 모션도 살짝 넣어줘")
   ======================================================== */
.sockets-target-img {
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  transform-origin: center right;
}

.sockets-target-img.active,
.art-motion-target:has(.zone-sockets-plate:hover) #sockets-plate-img,
.zone-sockets-plate:hover ~ #sockets-plate-img {
  animation: socket-tactile-motion 2.2s ease-in-out infinite;
}

@keyframes socket-tactile-motion {
  0% {
    transform: translateY(0) scale(1);
  }
  18% {
    transform: translateY(2px) scale(0.995);
  }
  45% {
    transform: translateY(-2.8px) scale(1.006);
  }
  75% {
    transform: translateY(1px) scale(1.002);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ========================================================
   11.PNG INTERACTIVE GLOWING LIGHT FIXTURES
   (사용자 요청: "11.png 이미지에 마우스를 올렸을 때. 첨부한 각 부분에서만 자연스럽게 불이 켜지게 해줘.")
   ======================================================== */
.band-8 .interactive-fixtures-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 7;
}

.fixtures-ambient-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 95px 85px at 16.9% 32.5%, rgba(255, 235, 140, 0.45) 0%, rgba(255, 185, 60, 0.18) 50%, transparent 100%),
    radial-gradient(ellipse 95px 85px at 29.9% 40.8%, rgba(255, 235, 140, 0.45) 0%, rgba(255, 185, 60, 0.18) 50%, transparent 100%),
    radial-gradient(ellipse 95px 85px at 41.7% 48.3%, rgba(255, 235, 140, 0.45) 0%, rgba(255, 185, 60, 0.18) 50%, transparent 100%),
    radial-gradient(ellipse 95px 85px at 49.7% 56.6%, rgba(255, 235, 140, 0.45) 0%, rgba(255, 185, 60, 0.18) 50%, transparent 100%),
    radial-gradient(circle 105px at 32.2% 87.2%, rgba(255, 235, 140, 0.50) 0%, rgba(255, 185, 60, 0.20) 50%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  mix-blend-mode: screen;
}

.fixtures-lit-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  pointer-events: none;
}

.fixtures-lit-img.lit,
.art-motion-target:has(.zone-light-fixtures:hover) .fixtures-lit-img,
.zone-light-fixtures:hover ~ .interactive-fixtures-wrapper .fixtures-lit-img {
  opacity: 1;
  filter: drop-shadow(0 4px 18px rgba(255, 225, 110, 0.55)) drop-shadow(0 14px 40px rgba(255, 185, 60, 0.30));
}

.fixtures-ambient-glow.lit,
.art-motion-target:has(.zone-light-fixtures:hover) .fixtures-ambient-glow,
.zone-light-fixtures:hover ~ .interactive-fixtures-wrapper .fixtures-ambient-glow {
  opacity: 1;
  transform: scale(1.03);
}

/* ========================================================
   2. FINAL SCENE SECTION
   (13.png 고정 + 14.png 하단 슬라이드 언더 + 블러 소멸)
   ======================================================== */
.final-scene-section {
  position: relative;
  width: 100%;
  height: 2845px; /* 원본 레이아웃 비례와 정확히 일치 (16554 - 13709) */
  background-color: var(--color-bg);
}

/* 13.png 고정 핀 래퍼 (블러 커튼 z-index 10 위로 배치) */
.box-pin-wrapper {
  position: sticky;
  top: 18vh;
  width: 100%;
  z-index: 15;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.box-pin-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  pointer-events: none;
}

/* 서도호의 집 클릭 인터랙션 링크 (유튜브 이동) */
.house-youtube-link {
  position: relative;
  left: 16.8%; /* 14.png 기준 박스 X좌표 비율 (242px / 1440px) */
  width: 67.3%; /* 14.png 기준 박스 너비 비율 (969px / 1440px) */
  max-width: 969px;
  display: block;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
  outline: none;
}

.house-youtube-link.is-interactive {
  pointer-events: auto;
  cursor: pointer;
}

/* 집 아래에 은은하게 띄워지는 안내 뱃지 (사용자 요청: "안내 멘트가 집 아래에 나타나야 할 것 같아") */
.house-guide-badge {
  position: absolute;
  bottom: -18px;
  left: 42%;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  user-select: none;
  z-index: 20;
}

.house-guide-badge .guide-text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 500;
  color: #333333;
  letter-spacing: -0.02em;
}

.house-guide-badge .guide-arrow {
  color: #666666;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.house-youtube-link.is-interactive .house-guide-badge {
  opacity: 0.96;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  animation: badge-gentle-breathe 3.2s ease-in-out infinite;
}

.house-youtube-link.is-interactive:hover .house-guide-badge {
  opacity: 1;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
  transform: translateX(-50%) translateY(2px);
  animation-play-state: paused;
}

.house-youtube-link.is-interactive:hover .guide-arrow {
  transform: translate(2px, -2px);
  color: #000000;
}

@keyframes badge-gentle-breathe {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(3px);
  }
}

.img-box-13 {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.04));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.house-youtube-link.is-interactive:hover .img-box-13 {
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.12));
  transform: scale(1.008);
}

/* 14.png 방 스크롤 래퍼 (13.png 아래로 들어옴) */
.room-scroll-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.room-canvas {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.img-room-14 {
  position: relative;
  z-index: 2; /* 13.png(15) 및 블러커튼(10) 아래 */
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

/* "Home is more than a place." 타이포 (사용자 요청: "home is more than place 글자 오른쪽으로 붙여줘. 완전은 아닌데 오른쪽에 치우취게") */
.final-quote-overlay {
  position: absolute;
  bottom: 8%;
  left: auto;
  right: 15%;
  pointer-events: none;
  z-index: 40;
  isolation: isolate;
  transform: translateZ(0);
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.08;
  letter-spacing: -0.035em;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================
   3. CRISP TYPOGRAPHY OVERLAY
   (사용자 요청: "글자는 아무것도 블러처리가 되지 않게 해" -> z-index 40으로 블러 커튼 위에 배치)
   ======================================================== */
.typography-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1920 / 13709;
  z-index: 40; /* 블러 커튼(10) 위에 위치하여 절대 블러되지 않음 */
  pointer-events: none;
  isolation: isolate;
  transform: translateZ(0);
}

.typo-block {
  position: absolute;
  pointer-events: auto;
}

/* Category Subtitle */
.category-tag {
  display: block;
  font-family: var(--font-korean);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-ink-500);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

/* Section Main Headline */
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--color-ink-900);
}

.sub-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--color-ink-900);
}

/* Exact Positions Matching Canvas (height = 13709px) */
/* 1. Intro typo (y = 634px) */
.typo-intro {
  top: 4.62%;
  left: 8.5%;
}

/* 2. Encounter typo (y = 1672px) */
.typo-encounter {
  top: 12.20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  max-width: 800px;
}

/* 2.5. Observe typo (y = 4050px) */
.typo-observe {
  top: 29.54%;
  left: 75.25%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  max-width: 520px;
}

/* 3. Remember typo (y = 6218px) */
.typo-remember {
  top: 45.36%;
  left: 8.5%;
  text-align: left;
}

/* 4. Reconstruct typo (y = 9983px) */
.typo-reconstruct {
  top: 72.82%;
  left: 61.5%;
  text-align: left;
}

/* 5. Reflect typo (y = 13408px) */
.typo-reflect {
  top: 97.20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  max-width: 800px;
}

/* ========================================================
   BACKDROP BLUR CURTAIN
   (사용자 피드백 반영: 아래에 도착하면 블러가 사라짐)
   ======================================================== */
.blur-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
  transition: opacity 0.2s ease-out;

  mask-image: radial-gradient(
    circle var(--lens-r) at var(--mouse-vx) var(--mouse-vy),
    transparent 0%,
    transparent calc(var(--lens-r) - 2px),
    black var(--lens-r)
  );
  -webkit-mask-image: radial-gradient(
    circle var(--lens-r) at var(--mouse-vx) var(--mouse-vy),
    transparent 0%,
    transparent calc(var(--lens-r) - 2px),
    black var(--lens-r)
  );
}

/* ========================================================
   DYNAMIC LENS FOLLOWER UI
   (사용자 피드백 반영: "원테두리 스트로크를 좀 더 연하게 해줘")
   ======================================================== */
.lens-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 45;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lens-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--lens-r) * 2);
  height: calc(var(--lens-r) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  
  /* 연하고 섬세한 1px 연그레이 스트로크 */
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.03),
    inset 0 0 16px rgba(255, 255, 255, 0.4);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.lens-follower.on-image .lens-ring {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 
    0 6px 28px rgba(0, 0, 0, 0.05),
    inset 0 0 24px rgba(255, 255, 255, 0.5);
}

/* ========================================================
   5초 마우스 팔로워 안내 문구 (돋보기로 집을 살펴보세요.)
   (사용자 요청: "웹사이트 딱 시작하고 5초정도 마우스를 따라서 '돋보기로 집을 살펴보세요.' 문구를 넣어줘. 그 후에는 사라지게 해줘")
   ======================================================== */
.lens-guide-bubble {
  position: absolute;
  top: 32px;
  left: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  box-shadow: 
    0 4px 18px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  animation: guide-bubble-subtle-float 2.4s ease-in-out infinite;
}

.lens-guide-bubble.is-fading-out {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(8px) scale(0.92) !important;
  animation: none !important;
}

.guide-bubble-icon {
  display: inline-block;
  flex-shrink: 0;
  color: var(--color-ink-900);
}

.guide-bubble-text {
  font-family: var(--font-korean);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-ink-900);
  user-select: none;
}

@keyframes guide-bubble-subtle-float {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* ========================================================
   RESPONSIVE LAYOUT
   ======================================================== */
@media (max-width: 960px) {
  .fixed-header {
    padding: 2rem 5vw 1rem 5vw;
  }

  .house-guide-badge {
    bottom: -22px;
    left: 50%;
    padding: 5px 13px;
    gap: 5px;
  }

  .house-guide-badge .guide-text {
    font-size: 0.74rem;
  }
}
