/* =============================================
   Dr.ROOTEM — Main Stylesheet
   ============================================= */

/* ------------------------------------------
   0. RESET & BASE
   ------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #070707;
  --bg-alt:       #0d0d0d;
  --text:         #ffffff;
  --text-dim:     rgba(255, 255, 255, 0.55);
  --text-dimmer:  rgba(255, 255, 255, 0.30);
  --accent:       #c4a97d;
  --accent-dim:   rgba(196, 169, 125, 0.35);
  --font:         'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
  --max-w:        1320px;
  --gutter:       48px;
  --header-h:     72px;
  --ease-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scrolling */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; }

/* ------------------------------------------
   1. ETHERAL AMBIENT BLOBS (공유)
   ------------------------------------------ */
.etheral-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: rgb(5, 5, 10);
}

/* 블롭 공통 베이스 */
.etheral-canvas::before,
.etheral-canvas::after,
.etheral-canvas .e-blob,
.etheral-canvas .e-blob-2 {
  content: '';
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* 블롭 1 — 왼쪽, 인디고  |  8s */
.etheral-canvas::before {
  width: 55%; height: 52%;
  left: -8%; top: 2%;
  background: rgba(48, 52, 95, 0.40);
  /* 블러를 낮추면 엣지가 살아 움직임이 잘 보임 */
  filter: blur(48px);
  animation: eBlob1 8s ease-in-out infinite;
}

/* 블롭 2 — 오른쪽, 딥 퍼플  |  11s, -3s delay */
.etheral-canvas::after {
  width: 50%; height: 48%;
  right: -6%; top: 25%;
  background: rgba(44, 38, 82, 0.36);
  filter: blur(42px);
  animation: eBlob2 11s ease-in-out infinite;
  animation-delay: -3s;
}

/* 블롭 3 — 하단, 네이비  |  14s, -7s delay */
.etheral-canvas .e-blob {
  width: 48%; height: 50%;
  left: 14%; bottom: -8%;
  background: rgba(26, 30, 68, 0.34);
  filter: blur(52px);
  animation: eBlob3 14s ease-in-out infinite;
  animation-delay: -7s;
}

/* 블롭 4 — 중앙, 인디고-퍼플  |  10s, -5s delay */
.etheral-canvas .e-blob-2 {
  width: 42%; height: 44%;
  left: 25%; top: 10%;
  background: rgba(38, 42, 88, 0.32);
  filter: blur(44px);
  animation: eBlob4 10s ease-in-out infinite;
  animation-delay: -5s;
}

@keyframes eBlob1 {
  0%   { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
  25%  { transform: translate( 40%, -32%)  rotate( 15deg) scale(1.22); }
  55%  { transform: translate( 18%, -48%)  rotate( -8deg) scale(0.82); }
  80%  { transform: translate( 45%, -20%)  rotate( 20deg) scale(1.18); }
  100% { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
}
@keyframes eBlob2 {
  0%   { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
  30%  { transform: translate(-35%,  28%)  rotate(-12deg) scale(1.14); }
  58%  { transform: translate(-18%,  42%)  rotate( 10deg) scale(0.84); }
  82%  { transform: translate(-40%,  15%)  rotate(-18deg) scale(1.18); }
  100% { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
}
@keyframes eBlob3 {
  0%   { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
  32%  { transform: translate( 28%, -38%)  rotate( 10deg) scale(1.16); }
  62%  { transform: translate( 44%, -16%)  rotate(-14deg) scale(0.86); }
  84%  { transform: translate( 16%, -44%)  rotate( 22deg) scale(1.24); }
  100% { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
}
@keyframes eBlob4 {
  0%   { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
  22%  { transform: translate(-28%,  32%)  rotate(-16deg) scale(0.85); }
  50%  { transform: translate( 32%,  26%)  rotate( 12deg) scale(1.20); }
  76%  { transform: translate( 12%, -35%)  rotate(-10deg) scale(1.10); }
  100% { transform: translate(  0%,   0%)  rotate(  0deg) scale(1.00); }
}

/* ------------------------------------------
   2. UTILITIES
   ------------------------------------------ */

/* Text reveal animation wrapper */
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-inner {
  display: block;
  transform: translateY(105%);
  will-change: transform;
}

/* 히어로 타이틀 — blur-in 전용 (슬라이드업 없음, 애니메이션은 .hero-title 레벨에서 처리) */
.section-hero .hero-title .reveal-inner {
  transform: none;
}

/* brand-identity 타이틀 — gradual spacing 전용 (슬라이드업 없음) */
#brand-identity .bi-title .reveal-inner {
  transform: none;
}
/* 개별 글자 span */
.bi-char {
  display: inline-block;
  will-change: transform, opacity;
}

/* Logo image — shared base */
.logo-img {
  display: block;
  object-fit: contain;
  max-width: 100%;
}

/* ------------------------------------------
   3. HEADER
   ------------------------------------------ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-h);
  z-index: 900;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}
.site-header.scrolled {
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
}
.header-logo .logo-img {
  height: 28px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 2.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.header-nav a {
  opacity: 0.65;
  transition: opacity 0.3s;
}
.header-nav a:hover { opacity: 1; }

/* Hamburger */
.header-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.header-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.header-menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header-menu-btn.open span:nth-child(2) { opacity: 0; }
.header-menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.97);
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.mobile-nav-links a {
  font-size: 1.6rem;
  font-weight: 200;
  letter-spacing: 0.08em;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.mobile-nav-links a:hover { opacity: 1; }

/* ------------------------------------------
   4. SECTION 1 — HERO
   ------------------------------------------ */
.section-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(7,7,7,0.25) 0%,
    rgba(7,7,7,0.15) 50%,
    rgba(7,7,7,0.75) 100%
  );
}

.hero-content {
  position: relative;
  /* z-index 제거: stacking context가 생기면 자식의 mix-blend-mode가
     해당 context 안에서만 블렌딩되어 영상과의 blend 효과가 차단됨 */
  text-align: center;
  padding: 0 var(--gutter);
}

.hero-title {
  font-size: clamp(2rem, 6.5vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.0;
  margin-bottom: 0;
  text-transform: uppercase;
  color: #ffffff;
  mix-blend-mode: difference;
  word-break: keep-all;
}

.hero-desc {
  margin-top: 2.2rem;
  font-size: clamp(1rem, 1.6vw, 1.55rem);
  font-weight: 200;
  line-height: 1.9;
  letter-spacing: 0.01em;
  mix-blend-mode:normal;
  opacity:0.8;
  color: #ffffff;
  word-break: keep-all;
}

/* 모바일 전용 줄바꿈 — PC에서 숨김 */
.mobile-br { display: none; }

.hero-brand-logo {
  height: 0.85em;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin-left: 0.3em;
  position: relative;
  top: -0.1em;
}

/* Scroll cue — Mouse */
.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
}
.scroll-mouse {
  background:
    rgba(255,255,255,0.22)
    linear-gradient(
      transparent 0%,
      transparent 50%,
      rgba(255,255,255,0.75) 50%,
      rgba(255,255,255,0.75) 100%
    );
  position: relative;
  width: 34px;
  height: 57px;
  border-radius: 100px;
  background-size: 100% 200%;
  animation:
    scrollColorSlide 5s linear infinite,
    scrollNudgeMouse 5s ease-out infinite;
}
.scroll-mouse::before,
.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  margin: auto;
}
.scroll-mouse::before {
  width: 30px;
  height: 53px;
  background-color: var(--bg);
  border-radius: 100px;
}
.scroll-mouse::after {
  background-color: rgba(255,255,255,0.75);
  width: 6px;
  height: 6px;
  border-radius: 100%;
  animation: scrollTrackBallSlide 5s linear infinite;
}
.scroll-cue-text {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
  animation:
    scrollColorText 5s ease-out infinite,
    scrollNudgeText 5s ease-out infinite;
}
@keyframes scrollColorSlide {
  0%      { background-position: 0% 100%; }
  20%     { background-position: 0% 0%; }
  21%     { background-color: rgba(255,255,255,0.22); }
  29.99%  { background-color: rgba(255,255,255,0.75); background-position: 0% 0%; }
  30%     { background-color: rgba(255,255,255,0.22); background-position: 0% 100%; }
  50%     { background-position: 0% 0%; }
  51%     { background-color: rgba(255,255,255,0.22); }
  59%     { background-color: rgba(255,255,255,0.75); background-position: 0% 0%; }
  60%     { background-color: rgba(255,255,255,0.22); background-position: 0% 100%; }
  80%     { background-position: 0% 0%; }
  81%     { background-color: rgba(255,255,255,0.22); }
  90%, 100% { background-color: rgba(255,255,255,0.75); }
}
@keyframes scrollTrackBallSlide {
  0%          { opacity: 1; transform: scale(1) translateY(-13px); }
  6%          { opacity: 1; transform: scale(0.9) translateY(3px); }
  14%         { opacity: 0; transform: scale(0.4) translateY(26px); }
  15%, 19%    { opacity: 0; transform: scale(0.4) translateY(-13px); }
  28%, 29.99% { opacity: 1; transform: scale(1) translateY(-13px); }
  30%         { opacity: 1; transform: scale(1) translateY(-13px); }
  36%         { opacity: 1; transform: scale(0.9) translateY(3px); }
  44%         { opacity: 0; transform: scale(0.4) translateY(26px); }
  45%, 49%    { opacity: 0; transform: scale(0.4) translateY(-13px); }
  58%, 59.99% { opacity: 1; transform: scale(1) translateY(-13px); }
  60%         { opacity: 1; transform: scale(1) translateY(-13px); }
  66%         { opacity: 1; transform: scale(0.9) translateY(3px); }
  74%         { opacity: 0; transform: scale(0.4) translateY(26px); }
  75%, 79%    { opacity: 0; transform: scale(0.4) translateY(-13px); }
  88%, 100%   { opacity: 1; transform: scale(1) translateY(-13px); }
}
@keyframes scrollNudgeMouse {
  0%  { transform: translateY(0); }
  20% { transform: translateY(8px); }
  30% { transform: translateY(0); }
  50% { transform: translateY(8px); }
  60% { transform: translateY(0); }
  80% { transform: translateY(8px); }
  90% { transform: translateY(0); }
}
@keyframes scrollNudgeText {
  0%  { transform: translateY(0); }
  20% { transform: translateY(2px); }
  30% { transform: translateY(0); }
  50% { transform: translateY(2px); }
  60% { transform: translateY(0); }
  80% { transform: translateY(2px); }
  90% { transform: translateY(0); }
}
@keyframes scrollColorText {
  21% { color: rgba(255,255,255,0.22); }
  30% { color: rgba(255,255,255,0.75); }
  51% { color: rgba(255,255,255,0.22); }
  60% { color: rgba(255,255,255,0.75); }
  81% { color: rgba(255,255,255,0.22); }
  90% { color: rgba(255,255,255,0.75); }
}


/* ------------------------------------------
   5. BI + VIDEO 공유 래퍼 + 에테리얼 배경
   ------------------------------------------ */

/* 두 섹션을 하나로 묶는 스테이지 */
/* overflow: hidden 금지 — sticky 자식 요소(에테리얼 bg, 비디오 프레임)가 작동하려면 필수 */
.bi-video-stage {
  position: relative;
}

/* sticky 에테리얼 배경 — 두 섹션 전체를 하나의 BG로 관통 */
.bi-video-etheral {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-bottom: -100vh; /* 다음 요소가 위에 겹치도록 */
  overflow: hidden;
  z-index: 0;
}
.bi-video-etheral .etheral-canvas {
  position: absolute;
  inset: 0;
}
/* bg-brandidentity.png — 미세 질감 오버레이 */
.bi-video-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  mix-blend-mode: screen;
  z-index: 2;
}
/* 상단/하단 경계를 사이트 배경색으로 자연스럽게 페이드 */
.bi-video-etheral::before,
.bi-video-etheral::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 18vh;
  z-index: 3;
  pointer-events: none;
}
.bi-video-etheral::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg), transparent);
}
.bi-video-etheral::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg), transparent);
}

/* ------------------------------------------
   6. SECTION 2 — BRAND IDENTITY
   ------------------------------------------ */
.section-brand-identity {
  position: relative;
  z-index: 1;
  /* 스크롤 여유 확보 — 콘텐츠가 sticky로 머무는 구간 */
  min-height: 240vh;
}

/* 콘텐츠 진입 전 여유 공간 — 히어로 이후 바로 나오지 않도록 */
.bi-spacer {
  height: 75vh;
}

.bi-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 60px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.bi-text {
  text-align: center;
  margin-bottom: 90px;
}

.bi-title {
  font-size: clamp(1.4rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
  margin-bottom: 0.5rem;
}

.bi-subtitle {
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Cards + Logo wrapper */
.bi-cards-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 4 Cards */
.bi-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.bi-card {
  width: 230px;
  height: 310px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  will-change: transform, opacity;
}
.bi-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo reveal — 카드 위에 절대 위치 오버레이 */
.bi-logo-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
  background: rgba(7, 7, 7, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 18px;
}
.bi-logo-reveal .logo-img {
  height: clamp(32px, 4vw, 56px);
  width: auto;
}

/* ------------------------------------------
   7. SECTION 3 — VIDEO
   ------------------------------------------ */
.section-video {
  position: relative;
  z-index: 1;
}

/* Sticky scroll — square box expands to fullscreen */
.video-scroll-space {
  position: relative;
  height: 380vh;
}
.video-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.video-frame {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  will-change: width, height, border-radius;
}
.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Darkening overlay inside box */
.video-darken {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  pointer-events: none;
  z-index: 1;
}

/* Content overlay — reveals from bottom */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.38);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 4vw, 48px);
  clip-path: inset(100% 0 0 0);
  z-index: 2;
}
.video-overlay-caption {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  font-family: ui-monospace, 'Courier New', monospace;
}
.video-overlay-content {
  max-width: 60ch;
}
.video-overlay-content h3 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0 0 1.2rem;
  color: #fff;
  word-break: keep-all;
}
.video-overlay-content p {
  font-size: clamp(16px, 3vw, 28px);
  line-height: 1.3;
  color: rgba(255,255,255,0.82);
  margin: 0;
  word-break: keep-all;
}

/* 모바일 전용 블록 — 기본(PC)에서는 숨김 */
.video-mobile-wrap {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 64px var(--gutter) 120px;
}
.video-mobile-caption {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: ui-monospace, 'Courier New', monospace;
  color: rgba(255,255,255,0.55);
  margin: 0 0 14px;
  text-align: center;
  width: 100%;
}
.video-mobile-frame {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}
.video-mobile-frame .video-player {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}
.video-mobile-frame {
  width: 100%;
}
.video-mobile-content {
  padding: 24px 0 0;
  text-align: center;
  width: 100%;
}
.video-mobile-content h3 {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.9rem;
  color: #fff;
  word-break: keep-all;
}
.video-mobile-content p {
  font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0;
  word-break: keep-all;
}

/* ------------------------------------------
   8. SECTION 4 — OUR MISSION
   ------------------------------------------ */
.section-mission {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* 이전 섹션 에테리얼 블롭이 비쳐 보이지 않도록 차단 */
  background: var(--bg);
}

/* mission-sparkles — 섹션 전체 배경 */
.mission-sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.mission-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--gutter);
}

.mission-title {
  font-size: clamp(1.4rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
  margin-bottom: 4rem;
}

.mission-body {
  display: flex;
  justify-content: space-between;
  /* 두 컬럼이 같은 높이로 늘어나야 좌상단·우하단 정렬 가능 */
  align-items: stretch;
  gap: 80px;
  min-height: 320px;
}

.mission-left {
  text-align: left;
  align-self: flex-start; /* 좌상단 */
}

.mission-left p {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 200;
  line-height: 1.45;
  word-break: keep-all;
}

.mission-right {
  text-align: right;
  align-self: flex-end;   /* 우하단 */
}

.mission-inner strong {
  font-weight: 700;
}

.mission-right p {
  font-size: clamp(1.15rem, 1.75vw, 1.65rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  word-break: keep-all;
}

/* ------------------------------------------
   9. SECTION 5 — OUR VISION
   ------------------------------------------ */
.section-vision {
  position: relative;
  min-height: 280vh;
  padding-top: 80px;   /* 섹션 상단 여백 (header가 stage 안으로 이동) */
}

.vision-wave-canvas {
  position: sticky;
  top: 0;
  display: block;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0; /* GSAP ScrollTrigger 로 제어 */
  /* sticky 이후 공간을 차지하지 않도록 끌어올림 */
  margin-bottom: -100vh;
}

.vision-header {
  text-align: center;
  padding: 0;
  margin: 0;
}
.vision-title {
  font-size: clamp(1.4rem, 3.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  word-break: keep-all;
  margin-bottom: 0.5rem;
}

/* Vision card stage */
.vision-stage-wrap {
  position: relative;
  z-index: 2;
  /* sticky 체류 구간: 200vh - 100vh = 100vh 확보 */
  min-height: 200vh;
  padding: 0 0 260px;
}

.vision-stage-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.vision-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  padding: 0 var(--gutter);
}

/* GlareCard 컨테이너 — perspective 기준점 */
.vision-card {
  --r-x: 0deg;
  --r-y: 0deg;
  --m-x: 50%;
  --m-y: 50%;
  --glare-opacity: 0;

  flex-shrink: 0;
  width: 300px;
  height: 420px;  /* 명시적 높이 — inner가 100%로 따라옴 */
  perspective: 600px;
  cursor: pointer;
}

/* 회전 대상 내부 레이어 */
.vision-card-inner {
  position: relative;
  width: 100%;
  height: 100%;   /* outer .vision-card 높이를 그대로 따름 */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotateY(var(--r-x)) rotateX(var(--r-y));
  filter: saturate(0.22) brightness(0.8);
  transition: filter 0.5s ease, transform 300ms ease, box-shadow 0.4s ease;
  will-change: transform, filter;
}
.vision-card-inner:hover {
  filter: saturate(1) brightness(1);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

/* Glare — 커서 위치 따라가는 radial 반사광 */
.vision-card-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 20px;
  opacity: var(--glare-opacity);
  background: radial-gradient(
    circle at var(--m-x) var(--m-y),
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.10) 35%,
    rgba(255, 255, 255, 0) 65%
  );
  mix-blend-mode: soft-light;
  transition: opacity 300ms ease;
}

.vision-card-img {
  width: 100%;
  height: 100%;
  position: relative; /* context for .vision-card-info absolute */
}
.vision-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.vision-card-inner:hover .vision-card-img img {
  transform: scale(1.04);
}

.vision-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 34px;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}
.vision-card-info h3 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.vision-card-info p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
}

/* ------------------------------------------
   10. SECTION 6 — VISION DETAIL
   ------------------------------------------ */
.section-vision-detail { position: relative; }

.vd-item {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.vd-bg {
  position: absolute;
  inset: -6%;          /* 패럴랙스 이동 여백 확보 */
  background-size: cover;
  background-position: left center;
  filter: blur(10px);
  /* transform은 GSAP이 관리 */
  will-change: filter, transform;
  /* 좌측 절반만 보이고 중앙을 향해 페이드 */
  -webkit-mask-image: linear-gradient(to right,
    black 0%,
    black 30%,
    transparent 62%
  );
  mask-image: linear-gradient(to right,
    black 0%,
    black 30%,
    transparent 62%
  );
}
.vd-item--reverse .vd-bg {
  background-position: right center;  /* 역배치: 이미지 우측 */
  -webkit-mask-image: linear-gradient(to left,
    black 0%,
    black 30%,
    transparent 62%
  );
  mask-image: linear-gradient(to left,
    black 0%,
    black 30%,
    transparent 62%
  );
}
.vd-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,7,7,0.75);
  z-index: 1;
}

.vd-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 130px var(--gutter);
}

/* Reverse layout for even items */
.vd-item--reverse .vd-inner {
  direction: rtl;
}
.vd-item--reverse .vd-text-col {
  direction: ltr;
}
.vd-item--reverse .vd-image-col {
  direction: ltr;
}

.vd-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
}
.vd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform, opacity;
}

.vd-text-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vd-kicker {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--text-dimmer);
  margin-bottom: 16px;
}

.vd-title {
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.vd-subtitle {
  font-size: 1.5rem;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.vd-desc {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 28px;
}
.vd-desc p {
  font-size: clamp(1.2rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-dim);
  word-break: keep-all;
}

.vd-desc strong {
  font-weight: 600;
  color: var(--text);
}

.vd-desc strong:first-child {
  font-size: clamp(1.5rem, 1.2vw, 1.05rem)
}

/* ------------------------------------------
   11. SECTION 7a — EXPERT TOP
   ------------------------------------------ */
.section-expert-top {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.et-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.et-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  will-change: opacity;
}
.et-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,7,7,0.48);
}

.et-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px var(--gutter) 80px;
}

.et-title {
  text-align: center;
  margin-bottom: 60px;
  word-break: keep-all;
}
/* 첫 줄: 가늘고 작게 */
.et-title .reveal-line:first-child {
  display: block;
  font-size: clamp(0.95rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 2.1;
  color: rgba(255,255,255,0.62);
}
/* 둘째 줄: 크고 굵게 */
.et-title .reveal-line:last-child {
  display: block;
  font-size: clamp(1.5rem, 2.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.et-figures {
  display: grid;
  max-width: 1000px;
  margin: 0 auto;
  /* 라벨이 section overflow:hidden에 잘리지 않도록 여백 확보 */
  padding: 0 56px;
  /* 내측(2·3번) 더 넓게 → 원근감 표현 */
  grid-template-columns: 0.95fr 1.05fr 1.05fr 0.95fr;
  gap: 0;
  align-items: end;
}

.et-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
/* 외측 인물: 원근감(더 작고 뒤) */
.et-figure:nth-child(1) {
  transform: scale(0.95);
  transform-origin: bottom center;
}

.et-figure:nth-child(2) .et-figure-img{
  justify-content:start;
}

.et-figure:nth-child(4) {
  transform: scale(0.95);
  transform-origin: bottom center;
}

.et-figure-img {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 58vh;
  position: relative;
  z-index: 2; /* 라벨(z:1)보다 위 레이어 */
}
/* 발 아래 그림자 */
.et-figure-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 32px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 45%, transparent 72%);
  pointer-events: none;
}

.et-figure-img img {
  width: auto;         /* 고유 크기 유지 */
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  object-position: bottom center;
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}

/* ── 이름표: 배경 이미지 리본 ── */
.et-figure figcaption {
  position: absolute;
  z-index: 1; /* et-figure-img(z:2)보다 낮은 레이어 → 인물 뒤에 표시 */
  min-width: clamp(160px, 14vw, 210px);  /* 배경 이미지 길게 표시 */
  padding: 10px 28px 10px 36px;
  background: no-repeat center / 100% 100%;
  white-space: nowrap;
  text-align: left;
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}
/* 1번 (외측 왼쪽) : 높은 위치 */
.et-figure:nth-child(1) figcaption {
  left: -115px;
  bottom: 36%;
  background-image: url('../assets/bg-figure-label-left.png');
}
/* 2번 (내측 왼쪽) : 낮은 위치 */
.et-figure:nth-child(2) figcaption {
  left: -115px;
  bottom: 16%;
  background-image: url('../assets/bg-figure-label-left.png');
}
/* 3번 (내측 오른쪽) : 낮은 위치 */
.et-figure:nth-child(3) figcaption {
  right: -70px;
  left: auto;
  bottom: 16%;
  text-align: right;
  padding: 10px 36px 10px 28px;
  background-image: url('../assets/bg-figure-label-right.png');
}
/* 4번 (외측 오른쪽) : 높은 위치 */
.et-figure:nth-child(4) figcaption {
  right: -90px;
  left: auto;
  bottom: 36%;
  text-align: right;
  padding: 10px 36px 10px 28px;
  background-image: url('../assets/bg-figure-label-right.png');
}
.et-figure figcaption span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.60);
  margin-bottom: 4px;
}
.et-figure figcaption strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ------------------------------------------
   12. SECTION 7b — EXPERT MAIN (Sticky)
   ------------------------------------------ */
.section-expert-main {
  height: 500vh;
  position: relative;
}

.em-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* BG */
.em-bgs {
  position: absolute;
  inset: 0;
}
.em-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.em-bg.active { opacity: 1; }
.em-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,7,7,0.18);
}

/* Panels */
.em-panels {
  position: relative;
  z-index: 1;
  height: 100%;
}

.em-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.em-panel.active {
  opacity: 1;
  pointer-events: all;
}
/* 모바일 전용 이미지 — 데스크탑에서는 숨김 */
.em-panel-img { display: none; }
/* 텍스트 영역 쪽 다크 오버레이 (기본: 텍스트 좌측) */
.em-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(7,7,7,0.94) 28%,
    rgba(7,7,7,0.70) 46%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}
/* 텍스트 우측 패널 (이시형·김윤근): 오버레이 반전 */
.em-panel[data-idx="0"]::before,
.em-panel[data-idx="2"]::before {
  background: linear-gradient(
    to left,
    rgba(7,7,7,0.94) 28%,
    rgba(7,7,7,0.70) 46%,
    transparent 68%
  );
}
/* 텍스트 우측 패널 (이시형·김윤근) */
.em-panel[data-idx="0"],
.em-panel[data-idx="2"] {
  justify-content: flex-end;
}
.em-panel[data-idx="0"] .em-text,
.em-panel[data-idx="2"] .em-text {
  margin-left: auto;
}

.em-text {
  width: 100%;
  max-width: 780px;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 텍스트 내부 실제 콘텐츠 블럭 */
.em-text-inner {
  max-width:780px;
  padding: 0 var(--gutter);
}

.em-panel[data-idx="1"] .em-text,
.em-panel[data-idx="3"] .em-text {
  align-items: end;
}

.em-panel[data-idx="0"] .em-text,
.em-panel[data-idx="2"] .em-text {
  align-items: start;
}

/* 좌측 텍스트 패널(1·3): inner를 왼쪽 정렬 */
.em-panel[data-idx="1"] .em-text-inner,
.em-panel[data-idx="3"] .em-text-inner {
  padding-left: calc(var(--gutter) + 24px);
}

/* 우측 텍스트 패널(0·2): inner를 오른쪽 정렬 */
.em-panel[data-idx="0"] .em-text-inner,
.em-panel[data-idx="2"] .em-text-inner {
  padding-right: calc(var(--gutter) + 24px);
}

.em-kicker {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: rgba(255,255,255,0.58);
  margin-bottom: 0.7rem;
}

.em-name {
  margin-bottom: 1.8rem;
  line-height: 1.2;
}
.em-name-ko {
  display: inline;
  font-size: clamp(1.7rem, 3vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.em-name-en {
  display: inline;
  font-size: clamp(1.5rem, 2vw, 2.05rem);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 0.4em;
  vertical-align: middle;
}

.em-desc {
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  line-height: 1.5;
  color: #fff;
  word-break: keep-all;
  margin-bottom: 2rem;
  font-weight: 100;
}
.em-desc strong {
  color: #fff;
  font-weight: 700;
}

.em-history {
  padding-top: 1.2rem;
}
.em-history strong {
  display: inline-block;
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  margin-bottom: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.5);
}
.em-history ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.em-history li {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.58);
  padding-left: 1.1rem;
  position: relative;
}
.em-history li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.45);
}

/* Progress dots */
.em-indicators {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.em-dot {
  display: block;
  width: 2px;
  height: 36px;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 1px;
  transition: background 0.35s ease, height 0.35s ease;
}
.em-dot.active {
  height: 56px;
  background: var(--accent);
}

/* ------------------------------------------
   13. SECTION 8 — BRAND PILLAR
   ------------------------------------------ */
.section-pillar {
  position: relative;
  padding: 240px 0 160px;
  overflow: hidden;
}

.pillar-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.pillar-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pillar-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,7,7,0.65);
}

.pillar-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.pillar-kicker {
  display: block;
  font-size: 1.7rem;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 0;
}

.pillar-kicker strong {
  font-weight: 700;
  color: #fff;
}

.pillar-title {
  font-size: clamp(1.5rem, 2.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 100px;
}

.pillar-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pillar-card {
  padding: 0 25px 60px;
  text-align: center;
  opacity: 0;
  transform: translateY(32px);
  will-change: transform, opacity;
  transition: background 0.3s ease;
}
.pillar-symbol {
  width: 180px;
  height: 180px;
  margin: 1.2rem auto 2rem;
}
.pillar-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar-card-name {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  color: #fff;
}
.pillar-card-sub {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  color: #fff;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 1.8rem;
}
.pillar-card-desc {
  font-size: clamp(0.7rem, 0.95vw, 1.0rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.50);
  word-break: keep-all;
}
.pillar-card-desc strong {
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}

/* ------------------------------------------
   14. SECTION 9 — OUR PRODUCT
   ------------------------------------------ */
.section-products {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.products-dotted-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.products-dotted-bg canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.products-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 60px;
  padding: 0 var(--gutter);
  overflow: hidden;
}
.products-kicker {
  display: block;
  font-size: 1.7rem;
  letter-spacing: 0;
  color: #fff;
  margin-bottom: 0;
}
.products-title {
  font-size: clamp(1.5rem, 2.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Infinite scroll track */
.products-track-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  margin-bottom: 64px;
  /* Soft fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.products-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: productScroll 28s linear infinite;
  padding: 20px 10px;
}
.products-track:hover {
  animation-play-state: paused;
}

@keyframes productScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.product-card {
  width: 260px;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.025);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-expo);
}
.product-card:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-8px);
}

.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}

.product-info {
  padding: 18px 20px 22px;
}
.product-cat {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.58);
  margin-bottom: 6px;
}
.product-name {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  word-break: keep-all;
}

/* CTA */
.products-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
}
.btn-meet {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 15px 52px;
  border: 1px solid rgba(255,255,255,0.28);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}
.btn-meet:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.5);
  gap: 1rem;
}
.btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

/* ------------------------------------------
   15. FOOTER
   ------------------------------------------ */
.site-footer {
  background: #030303;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--gutter) 44px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
}
.footer-logo .logo-img {
  height: 26px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.footer-nav a {
  color: var(--text-dim);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--text); }

.footer-line {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-info p {
  font-size: 0.76rem;
  color: var(--text-dimmer);
  line-height: 2;
}
.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.18);
}

/* SNS 아이콘 버튼 */
.footer-sns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.55);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.sns-btn svg {
  width: 17px;
  height: 17px;
}
.sns-btn:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ------------------------------------------
   16. RESPONSIVE
   ------------------------------------------ */

/* --- 1200px --- */
@media (max-width: 1200px) {
  :root { --gutter: 36px; }

  .bi-card { width: 200px; height: 275px; }
  .vision-card { width: 260px; height: 360px; }
}

/* --- 1024px (Tablet Landscape) --- */
@media (max-width: 1024px) {
  :root { --gutter: 28px; }

  .bi-card { width: 180px; height: 250px; }

  .mission-body { gap: 52px; }

  .vd-inner { gap: 52px; }

  .pillar-cards { grid-template-columns: repeat(2, 1fr); }

  .em-text { max-width: 480px; }

  /* expert-main: 우측 패널(2,4번) 텍스트 세로 중앙 정렬 */
  .em-panel[data-idx="1"] .em-text,
  .em-panel[data-idx="3"] .em-text { align-items: center; }

  .vision-card { width: 220px; height: 320px; }
}

/* --- 768px (Tablet Portrait) --- */
@media (max-width: 768px) {
  :root {
    --gutter: 22px;
    --header-h: 60px;
  }

  /* Header */
  .header-nav { display: none; }
  .header-menu-btn { display: flex; }

  /* ── Hero ── */
  .hero-title { letter-spacing: 0.06em; line-height:1.2; }
  .hero-desc  { margin-top: 1.5rem; }
  .mobile-br  { display: inline; }

  /* ── Brand Identity ── */
  .bi-cards { gap: 12px; }
  .bi-card  { width: 150px; height: 210px; border-radius: 12px; }

  /* ── Mission ── */
  .mission-body {
    flex-direction: column;
    gap: 40px;
    min-height: unset;
  }
  .mission-left  { align-self: auto; }
  .mission-right { align-self: auto; text-align: left; }

  /* ── Video Section — PC 블록 숨김, 모바일 전용 블록 표시 ── */
  .video-scroll-space  { display: none; }
  .video-mobile-wrap   { display: flex; }

  /* ── Vision — 섹션 / 래퍼 / sticky 높이 해제 ── */
  .section-vision       { min-height: unset; }
  .vision-stage-wrap    { min-height: unset; padding: 0 0 40px; }
  .vision-stage-sticky  {
    position: relative;
    height: auto;
    padding: 40px 0 60px;
  }
  .vision-stage { gap: 12px; align-items: center; }
  .vision-card  { width: 180px; height: 270px; }

  /* ── Vision Detail ── */
  .vd-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 80px var(--gutter);
  }
  .vd-item--reverse .vd-inner { direction: ltr; }
  .vd-image-wrap { aspect-ratio: 16/9; max-height: 280px; }
  .vd-kicker   { font-size: 1rem; letter-spacing: 0.1em; }
  .vd-subtitle { font-size: 1.05rem; }

  /* ── Expert Top — 지그재그 레이아웃 ── */
  .et-inner   { padding-top: 80px; padding-bottom: 60px; }
  .et-title   { margin-bottom: 36px; }
  .et-title .reveal-line:first-child { font-size: clamp(0.85rem, 3vw, 1rem); }
  .et-title .reveal-line:last-child  { font-size: clamp(1.2rem, 5vw, 1.9rem); }

  /* 그리드 → 1열 플렉스 지그재그 */
  .et-figures {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: 100%;
    overflow: visible;
  }
  .et-figure { width: 70%; }

  /* 순서 + 좌우 배치: 2(좌) 3(우) 1(좌) 4(우) */
  .et-figure:nth-child(1) { order: 3; align-self: flex-start; margin-top: -100px; transform: none; }
  .et-figure:nth-child(2) { order: 1; align-self: flex-start; }
  .et-figure:nth-child(3) { order: 2; align-self: flex-end;   margin-top: -100px; }
  .et-figure:nth-child(4) { order: 4; align-self: flex-end;   margin-top: -100px; transform: none; }

  /* 이미지: 원본 비율 그대로 */
  .et-figure-img { min-height: unset; height: auto; }
  .et-figure-img img { max-height: 52vh; width: auto; max-width: 100%; }

  /* 이미지 좌우 끝 정렬 — 끝단에서 살짝 띄움 */
  .et-figure:nth-child(2) .et-figure-img,
  .et-figure:nth-child(1) .et-figure-img {
    justify-content: flex-start;
    padding-left: 14px;
  }
  .et-figure:nth-child(3) .et-figure-img,
  .et-figure:nth-child(4) .et-figure-img {
    justify-content: flex-end;
    padding-right: 14px;
  }

  /* 그림자: 이미지 발 아래 위치 */
  .et-figure:nth-child(2) .et-figure-img::after,
  .et-figure:nth-child(1) .et-figure-img::after {
    left: -8px;
    right: auto;
    transform: none;
  }
  .et-figure:nth-child(3) .et-figure-img::after,
  .et-figure:nth-child(4) .et-figure-img::after {
    right: -8px;
    left: auto;
    transform: none;
  }

  /* figcaption: 인물 반대편(바깥쪽 모서리)에 배치 */
  .et-figure figcaption {
    position: absolute;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    min-width: unset;
    text-align: center !important;
    white-space: normal;
    padding: 6px 10px 8px !important;
    background-image: none !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0;
    z-index: 3;
  }
  /* 좌측 인물 (2번, 1번) → 레이블 오른쪽 */
  .et-figure:nth-child(2) figcaption,
  .et-figure:nth-child(1) figcaption {
    right: -12px !important;
    left:  auto !important;
  }
  /* 우측 인물 (3번, 4번) → 레이블 왼쪽 */
  .et-figure:nth-child(3) figcaption,
  .et-figure:nth-child(4) figcaption {
    left:  -12px !important;
    right: auto !important;
  }
  .et-figure figcaption span   { font-size: 0.82rem; }
  .et-figure figcaption strong { font-size: 1.1rem; }

  /* ── Expert Main — sticky 유지 + 패널 내부만 이미지↑ 텍스트↓ 구조 ── */
  .section-expert-main { height: 400vh; }
  .em-bgs              { display: none; }   /* bg 레이어 숨김 → em-panel-img 사용 */

  /* 패널 내부: column 레이아웃 (position·opacity는 base CSS 유지) */
  .em-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;  /* 세로 중앙 정렬 */
    overflow: hidden;
  }

  /* 모바일 전용 이미지: 상단에 full-width 표시 */
  .em-panel-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 58vh;
    object-fit: contain;
    object-position: top center;
    flex-shrink: 0;
  }

  /* 오버레이 그라디언트 제거 */
  .em-panel::before,
  .em-panel[data-idx="0"]::before,
  .em-panel[data-idx="2"]::before { content: none; }

  /* 텍스트: 이미지 아래, 모두 왼쪽 정렬 */
  .em-panel[data-idx="0"],
  .em-panel[data-idx="2"] { justify-content: center; }
  .em-panel[data-idx="0"] .em-text,
  .em-panel[data-idx="2"] .em-text { margin-left: 0; align-items: flex-start; }
  .em-panel[data-idx="1"] .em-text,
  .em-panel[data-idx="3"] .em-text { align-items: flex-start; }

  .em-text { padding: 16px 0 24px; max-width: 100%; width: 100%; }
  .em-text-inner,
  .em-panel[data-idx="0"] .em-text-inner,
  .em-panel[data-idx="1"] .em-text-inner,
  .em-panel[data-idx="2"] .em-text-inner,
  .em-panel[data-idx="3"] .em-text-inner { padding: 0 var(--gutter); }

  .em-kicker    { font-size: 0.9rem; margin-bottom: 0.4rem; }
  .em-name-ko   { font-size: clamp(1.4rem, 5.5vw, 1.9rem); }
  .em-name-en   { font-size: clamp(0.95rem, 3.5vw, 1.25rem); display: block; margin-left: 0; margin-top: 0.1rem; }
  .em-name      { margin-bottom: 0.9rem; }
  .em-desc      { margin-bottom: 0.8rem; }
  .em-history   { padding-top: 0.8rem; }
  .em-history strong { font-size: 0.85rem; margin-bottom: 0.5rem; padding-top: 0.5rem; }
  .em-history li     { font-size: 0.85rem; }

  /* ── Brand Pillar ── */
  .pillar-cards    { grid-template-columns: repeat(2, 1fr); }
  .pillar-card-desc{ font-size: 0.95rem; }
  .pillar-symbol   { width: 150px; height: 150px; margin: 0.8rem auto 1.2rem; }

  /* ── Product ── */
  .product-card { width: 220px; }

  /* ── Footer ── */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .footer-nav    { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-sns    { margin-top: 4px; }
}

/* --- 480px (Mobile) --- */
@media (max-width: 480px) {

  /* ── Hero ── */
  .hero-title { letter-spacing: 0.03em; }
  .hero-desc  { margin-top: 1rem; }

  /* ── Brand Identity — 4장 → 2×2 그리드 ── */
  .bi-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 268px;
    margin: 0 auto;
  }
  .bi-card { width: 126px; height: 178px; }

  /* ── Expert Top ── */
  .et-figure { width: 75%; }
  .et-figure-img img { max-height: 44vh; }

  /* ── Vision Detail ── */
  .vd-title   { font-size: clamp(1.5rem, 7vw, 2rem); }
  .vd-inner   { padding: 60px var(--gutter); gap: 28px; }
  .vd-kicker  { font-size: 0.85rem; }
  .vd-subtitle{ font-size: 0.95rem; }

  /* ── Vision stage — 세로 스택 센터 정렬 ── */
  .vision-stage {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  /* 원래 비율(300:420 = 5:7) 유지하면서 화면 폭에 맞게 확장 */
  .vision-card {
    width: min(78vw, 300px);
    height: auto;
    aspect-ratio: 5 / 7;
  }

  /* ── Expert Main — 더 작은 화면 ── */
  .em-name-ko  { font-size: clamp(1.2rem, 6vw, 1.5rem); }
  .em-name-en  { font-size: clamp(0.85rem, 3vw, 1rem); }
  .em-kicker   { font-size: 0.8rem; }
  .em-desc     { font-size: 0.88rem; }
  .em-history strong { font-size: 0.78rem; }
  .em-history li     { font-size: 0.78rem; }

  /* ── Brand Pillar ── */
  .pillar-cards    { grid-template-columns: 1fr; }
  .pillar-card     { padding: 40px 24px; }
  .pillar-card-desc{ font-size: 1rem; }
  .pillar-symbol   { width: 130px; height: 130px; margin: 0.6rem auto 1rem; }

  /* ── Product ── */
  .product-card { width: 200px; }

  /* ── Footer ── */
  .footer-legal { flex-wrap: wrap; gap: 0.8rem 1.2rem; }
}

/* --- iOS: background-attachment:fixed 비지원 대응 --- */
@media (max-width: 768px) {
  .hero-bg,
  .vd-bg {
    background-attachment: scroll;
  }
}

/* ------------------------------------------
   16-a. TABLET LANDSCAPE
   (1025px–1400px, 가로 모드)
   ------------------------------------------ */
@media (min-width: 1025px) and (max-width: 1400px) and (orientation: landscape) {
  /* expert-main: em-text 너비 제한 */
  .em-text { max-width: 680px; }

  /* expert-main: 4번째 bg 가로 위치 */
  .em-bg[data-idx="3"] { background-position: 80% top; }
}

/* ------------------------------------------
   16-b. TABLET PORTRAIT
   (768px–1024px, 세로 모드)
   ------------------------------------------ */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  :root { --gutter: 28px; }

  /* ── Video Section — 모바일과 동일 ── */
  .video-scroll-space { display: none; }
  .video-mobile-wrap  { display: flex; }

  /* ── Mission ── */
  .mission-left p  { font-size: clamp(1.7rem, 3vw, 2.2rem); }
  .mission-right p { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

  /* ── Brand Identity — 2×2 그리드 ── */
  .bi-cards {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
  }
  .bi-card { width: 210px; height: 290px; }

  /* ── Vision — sticky 해제, 카드·텍스트 확대 ── */
  .section-vision      { min-height: unset; }
  .vision-stage-wrap   { min-height: unset; padding: 0 0 40px; }
  .vision-stage-sticky { position: relative; height: auto; padding: 40px 0 60px; }
  .vision-stage        { align-items: center; }
  .vision-card         { width: 240px; height: 336px; }
  .vision-title        { font-size: clamp(1.8rem, 3.5vw, 3rem); }

  /* ── Expert Top — label 안 겹치게 ── */
  .et-figures { max-width: 800px; }
  .et-figure:nth-child(1) figcaption { left: -140px; }
  .et-figure:nth-child(2) figcaption { left: -120px; }
  .et-figure:nth-child(3) figcaption { right: -105px; left: auto; }
  .et-figure:nth-child(4) figcaption { right: -125px; left: auto; }

  /* ── Expert Main — 텍스트 확대 + bg 가로 위치 ── */
  .em-kicker    { font-size: 1.05rem; }
  .em-name-ko   { font-size: clamp(2rem, 3.2vw, 2.6rem); }
  .em-name-en   { font-size: clamp(1.1rem, 1.9vw, 1.5rem); }
  .em-desc      { font-size: clamp(1rem, 1.5vw, 1.3rem); }
  .em-history li { font-size: 0.95rem; }
  .em-bg[data-idx="0"] { background-position: 40% top; }
  .em-bg[data-idx="1"] { background-position: 65% top; }
  .em-bg[data-idx="2"] { background-position: 30% top; }
  .em-bg[data-idx="3"] { background-position: 85% top; }

  /* ── Brand Pillar — 아이템 확대 + 3,4번 상단 여백 ── */
  .pillar-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .pillar-card  { padding: 52px 28px; }
  .pillar-symbol { width: 160px; height: 160px; }
  .pillar-card-name { font-size: clamp(1.5rem, 2.2vw, 2rem); }
  .pillar-card-desc { font-size: 1rem; }
  .pillar-card:nth-child(3),
  .pillar-card:nth-child(4) { margin-top: 16px; }

  /* ── Footer ── */
  .footer-info p { font-size: 0.9rem; }
  .footer-copy   { font-size: 0.82rem; }
}

/* ------------------------------------------
   17. ACCESSIBILITY
   ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-inner { transform: none !important; }
  .products-track { animation: none !important; }
}
