/* =============================================
   DOSHI COSMETICS — PURITO-style Design System
   Pure white · Serif type · Maximum breathing room
   ============================================= */

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

:root {
  /* PURITO-style: stark white, near-black, zero color noise */
  --white:   #FFFFFF;
  --off:     #F7F6F4;       /* 아주 살짝 따뜻한 흰색 */
  --black:   #111111;
  --ink:     #1C1C1C;
  --gray-1:  #3A3A3A;
  --gray-2:  #6B6B6B;
  --gray-3:  #A0A0A0;
  --gray-4:  #D8D6D2;
  --gray-5:  #EEECE9;
  --tech:    #1C2436;       /* pip AI 다크 네이비 */
  --tech-mid:#2D4A6A;

  --serif:   'Cormorant Garamond', 'Georgia', serif;
  --sans:    'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;

  --max:     1280px;
  --hh:      68px;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--hh);
  z-index: 200;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--gray-4);
}
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
.header-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s, filter 0.4s;
}
.header.is-scrolled .header-logo img {
  filter: brightness(0);
}
.header-logo:hover img { opacity: 0.55; }

.header-nav {
  display: flex;
  gap: 40px;
}
.header-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: opacity 0.25s, color 0.4s;
}
.header.is-scrolled .header-nav a {
  color: var(--ink);
}
.header-nav a:hover { opacity: 0.55; }

/* 언어 전환 버튼 */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 5px 12px;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s, border-color 0.4s;
  white-space: nowrap;
}
.lang-switch:hover {
  background: rgba(255,255,255,0.15);
}
.header.is-scrolled .lang-switch {
  color: var(--ink);
  border-color: var(--gray-4);
}
.header.is-scrolled .lang-switch:hover {
  background: var(--off);
}
.mobile-lang-link {
  margin-top: 16px;
  font-size: 11px !important;
  color: var(--gray-3) !important;
  letter-spacing: 0.12em;
}

.header-burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.9);
  transition: 0.3s var(--ease);
}
.header.is-scrolled .header-burger span {
  background: var(--ink);
}

/* =============================================
   MOBILE MENU
   ============================================= */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray-2);
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.mobile-nav-link {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  height: 100vh;          /* 마키가 밖으로 나갔으므로 딱 100vh */
  position: relative;
  overflow: hidden;
  background: var(--ink); /* 영상 로드 전 배경 */
}

/* 유튜브 배경 */
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-yt-wrap {
  position: absolute;
  /* 16:9 비율 유지하며 풀커버 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 역산 */
}
#ytPlayer,
#ytPlayer iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.hero-yt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.40) 100%
  );
}

/* ── YouTube 차단/오류 시 CSS 애니메이션 폴백 배경 ── */
.hero-visual.yt-blocked .hero-yt-wrap {
  background: linear-gradient(135deg,
    #0a0a0a 0%,
    #1a1a1a 25%,
    #2a2a2a 50%,
    #1a1a1a 75%,
    #0a0a0a 100%
  );
  animation: heroBgShift 8s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* 폴백 시 파티클 효과 (CSS pseudo) */
.hero-visual.yt-blocked::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.025) 0%, transparent 45%);
  animation: heroGlow 6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
@keyframes heroGlow {
  0%   { opacity: 0.4; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.05); }
  100% { opacity: 0.6; transform: scale(1); }
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: calc(var(--hh) + 100px) 48px 80px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  align-self: center;
}

.hero-overline {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

.hero-headline {
  font-family: var(--sans);
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0,0,0,0.18);
  margin-bottom: 20px;
  word-break: keep-all;
}
.hero-headline em {
  font-style: normal;
  font-weight: 300;
}

.hero-en {
  font-size: 12px;
  color: rgba(255,255,255,0.60);
  letter-spacing: 0.10em;
  font-weight: 300;
  margin-bottom: 56px;
  word-break: keep-all;
}

.hero-scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  padding-bottom: 6px;
  transition: border-color 0.3s, gap 0.3s;
}
.hero-scroll-cta:hover {
  border-bottom-color: rgba(255,255,255,0.9);
  gap: 14px;
}

/* =============================================
   MARQUEE TICKER — 전광판 흐르는 텍스트
   ============================================= */
.hero-marquee {
  position: relative;
  z-index: 1;
  border-top: none;           /* hero 하단 경계선은 hero 자체가 담당 */
  border-bottom: 1px solid rgba(212,210,206,0.5);
  overflow: hidden;
  padding: 18px 0;
  background: var(--white);
  /* 양 끝 페이드아웃 마스크 */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

/* JS가 아이템을 2배 복제하면 -50% translateX로 seamless loop */
.hero-marquee-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.mq-item {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-2);
  font-weight: 500;
  white-space: nowrap;
  padding: 0 32px;
  flex-shrink: 0;
  display: inline-block;
}

.mq-dot {
  font-size: 12px;
  color: var(--gray-4);
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
  padding: 0 4px;
  display: inline-block;
}

/* hover 시 일시정지 */
.hero-marquee:hover .hero-marquee-inner {
  animation-play-state: paused;
}

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

/* 모바일에서 속도 약간 조절 */
@media (max-width: 768px) {
  .hero-marquee-inner {
    animation-duration: 20s;
  }
  .mq-item {
    font-size: 10px;
    padding: 0 22px;
    letter-spacing: 0.16em;
  }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-4) 20%, var(--gray-4) 80%, transparent 100%);
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
.about-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.about-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-4);
}
.about-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.about-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: sticky;
  top: calc(var(--hh) + 40px);
}
.about-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray-1);
  font-weight: 300;
  margin-bottom: 24px;
}
.about-body-text {
  font-size: 14px;
  line-height: 2;
  color: var(--gray-2);
  font-weight: 300;
  margin-bottom: 0;
}
.about-body-text + .about-body-text {
  margin-top: 20px;
}
.nowrap {
  white-space: nowrap;
}
.about-line {
  width: 48px;
  height: 1px;
  background: var(--gray-4);
  margin: 40px 0;
}
.about-figures {
  display: flex;
  gap: 52px;
}
.figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.figure-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.figure-desc {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

/* =============================================
   BRANDS INTRO
   ============================================= */
.brands-intro {
  background: var(--off);
  padding: 80px 0;
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
  position: relative;
}
.brands-intro::before,
.brands-intro::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 48px;
  pointer-events: none;
  z-index: 1;
}
.brands-intro::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5) 0%, transparent 100%);
}
.brands-intro::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.3) 0%, transparent 100%);
}
.brands-intro-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: baseline;
  gap: 48px;
}
.brands-intro-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  white-space: nowrap;
  flex-shrink: 0;
}
.brands-intro-copy {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* =============================================
   BRAND SECTION — shared
   ============================================= */
.brand-section {
  position: relative;
  padding: 120px 0 80px;
  background: var(--white);
  overflow: hidden;
}
/* 브랜드 섹션 상단 구분선 */
.brand-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-4) 15%, var(--gray-4) 85%, transparent 100%);
}
.brand-section-alt { background: var(--off); }

.brand-number-bg {
  position: absolute;
  top: 20px;
  right: 48px;
  font-family: var(--serif);
  font-size: 200px;
  font-weight: 300;
  color: var(--gray-4);
  line-height: 1;
  pointer-events: none;
  opacity: 0.6;
  user-select: none;
}

.brand-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.brand-wrap-reverse { direction: rtl; }
.brand-wrap-reverse > * { direction: ltr; }

.brand-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-3);
  border: 1px solid var(--gray-4);
  padding: 5px 12px;
  margin-bottom: 32px;
  border-radius: 1px;
}
.brand-tag-tech {
  color: var(--tech-mid);
  border-color: rgba(45,74,106,0.3);
}

.brand-logo-area {
  margin-bottom: 36px;
}
.brand-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.25s, transform 0.25s;
}
.brand-logo-link:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}
.brand-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  display: block;
}

/* porepip 방문 버튼 */
.brand-visit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.brand-visit-btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.brand-visit-arrow {
  transition: transform 0.2s;
}
.brand-visit-btn:hover .brand-visit-arrow {
  transform: translateX(4px);
}

/* pip AI 텍스트 로고 */
.pip-logo-text {
  font-size: 40px;
  font-weight: 800;
  color: var(--tech);
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: var(--sans);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.pip-ai-tag {
  font-size: 13px;
  font-weight: 600;
  background: var(--tech);
  color: #fff;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.brand-heading {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.brand-heading em {
  font-style: italic;
}
.brand-heading-en {
  font-size: 13px;
  color: var(--gray-3);
  letter-spacing: 0.04em;
  font-weight: 300;
  font-style: italic;
}

/* ---- Brand right col ---- */
.brand-belief-block {
  padding-top: 16px;
}
.belief-marker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-4);
}
.belief-quote {
  font-style: normal;
  margin-bottom: 36px;
}
.belief-quote p {
  font-size: 14px;
  line-height: 2.1;
  color: var(--gray-1);
  font-weight: 300;
  margin-bottom: 20px;
}
.belief-quote p:last-child { margin-bottom: 0; }

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-tags span {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray-2);
  background: var(--gray-5);
  padding: 6px 14px;
  border-radius: 1px;
}
.brand-tags-tech span {
  color: var(--tech-mid);
  background: rgba(28,36,54,0.06);
}

/* Brand visual strip — 하단 가로 라인 */
.brand-visual-strip {
  margin-top: 80px;
  padding: 20px 48px;
  border-top: 1px solid var(--gray-4);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  padding: 20px 48px;
}
.strip-text {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-3);
}
.strip-divider {
  color: var(--gray-4);
}

/* =============================================
   PHILOSOPHY
   ============================================= */
.philosophy {
  padding: 140px 0;
  background: var(--ink);
  position: relative;
}
/* 어두운-밝은 섹션 전환 구분 효과 */
.philosophy::before,
.philosophy::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  pointer-events: none;
}
.philosophy::before {
  top: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(200,169,110,0.4) 30%, rgba(200,169,110,0.6) 50%, rgba(200,169,110,0.4) 70%, transparent 100%);
}
.philosophy::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(200,169,110,0.25) 30%, rgba(200,169,110,0.45) 50%, rgba(200,169,110,0.25) 70%, transparent 100%);
}
.philosophy-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
.philosophy-header {
  text-align: center;
  margin-bottom: 100px;
}
.philosophy-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 28px;
}
.philosophy-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.philosophy-subtitle {
  font-size: 14px;
  color: var(--gray-3);
  letter-spacing: 0.06em;
  font-style: italic;
  font-weight: 300;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.philo-item {
  padding: 52px 40px;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.philo-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(200,169,110,0) 0%, rgba(200,169,110,0.7) 50%, rgba(200,169,110,0) 100%);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.philo-item:last-child {
  border-right: 1px solid rgba(255,255,255,0.08);
}
.philo-item:hover {
  background: rgba(255,255,255,0.05);
  border-top-color: rgba(200,169,110,0.15);
  border-bottom-color: rgba(200,169,110,0.08);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  z-index: 1;
}
.philo-item:hover::before {
  transform: scaleX(1);
}
.philo-item:hover .philo-num {
  color: rgba(200,169,110,0.7);
}
.philo-item:hover .philo-title {
  color: rgba(255,255,255,1);
  letter-spacing: 0.18em;
}
.philo-item:hover .philo-desc {
  color: rgba(255,255,255,0.65);
}

.philo-num {
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.philo-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  transition: color 0.3s, letter-spacing 0.3s;
}
.philo-desc {
  font-size: 13px;
  line-height: 1.95;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  transition: color 0.3s;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-4) 20%, var(--gray-4) 80%, transparent 100%);
}
.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 28px;
}
.contact-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.contact-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-2);
  font-weight: 300;
  margin-bottom: 32px;
}

/* ---- 연락처 정보 테이블 ---- */
.contact-info-table {
  border-top: 1px solid var(--gray-4);
  margin-bottom: 32px;
}
.cit-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-5);
}
.cit-key {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-3);
  flex: 0 0 72px;
  padding-top: 1px;
}
.cit-val {
  font-size: 14px;
  color: var(--ink);
  font-weight: 300;
}
.cit-link {
  transition: opacity 0.2s;
  text-decoration: none;
}
.cit-link:hover { opacity: 0.5; text-decoration: underline; }

/* ---- 문의 유형 칩 ---- */
.contact-types { margin-top: 0; }
.ct-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 12px;
}
.ct-list { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip {
  display: inline-block;
  font-size: 11px;
  color: var(--gray-2);
  border: 1px solid var(--gray-4);
  border-radius: 2px;
  padding: 5px 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ---- 문의 폼 섹션 ---- */
.contact-form-section {
  border: 1px solid var(--gray-4);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.contact-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-4);
  background: var(--ink);
}
.contact-form-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.contact-form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.contact-form {
  display: flex;
  flex-direction: column;
}

/* ---- 테이블형 폼 행 ---- */
.form-field-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: 1px solid var(--gray-4);
  min-height: 56px;
  transition: background 0.15s;
}
.form-field-row:focus-within {
  background: rgba(200,169,110,0.04);
}
.form-field-row--textarea {
  min-height: 148px;
  align-items: stretch;
}
.form-field-label {
  display: flex;
  align-items: center;
  padding: 14px 12px 14px 20px;
  border-right: 1px solid var(--gray-4);
  background: var(--off);
}
.form-field-row--textarea .form-field-label {
  align-items: flex-start;
  padding-top: 18px;
}
.form-field-label label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-2);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.form-field-row:focus-within .form-field-label label {
  color: rgba(160,130,80,1);
}
.form-field-input {
  display: flex;
  align-items: center;
}
.form-field-row--textarea .form-field-input {
  align-items: stretch;
}

/* ---- 폼 입력 요소 (테이블형 리셋) ---- */
.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 14px 20px;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.15s;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-4); }
.form-input:focus,
.form-textarea:focus {
  background: rgba(200,169,110,0.04);
}
.form-input:valid:not(:placeholder-shown) {
  color: var(--ink);
}

/* Select */
select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23a0a0a0' d='M5 7L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}
select.form-input option { background: #fff; color: #1c1c1c; }

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.75;
  padding: 18px 20px;
}

/* 필수 표시 */
.form-required {
  color: rgba(200,169,110,0.9);
  margin-left: 2px;
  font-size: 12px;
}

/* 문자 카운터 */
.form-counter {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 11px;
  color: var(--gray-4);
  pointer-events: none;
  transition: color 0.2s;
}
.form-counter.warn { color: rgba(200,168,67,0.9); }
.form-counter.over { color: rgba(200,80,80,0.9); }

/* ---- 하단 영역 ---- */
.form-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: var(--off);
  border-top: 1px solid var(--gray-4);
}
.form-privacy {
  font-size: 11px;
  color: var(--gray-3);
  font-weight: 300;
  line-height: 1.5;
  flex: 1;
}

/* ---- 전송 버튼 ---- */
.form-submit {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
  min-height: 44px;
  white-space: nowrap;
}
.submit-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.form-submit:not(:disabled):hover {
  background: rgba(28,28,28,0.85);
  transform: translateY(-1px);
}
.form-submit:not(:disabled):hover .submit-arrow {
  transform: translateX(3px);
}
.form-submit:active:not(:disabled) { transform: translateY(0); }
.form-submit:disabled {
  opacity: 0.30;
  cursor: not-allowed;
  background: var(--gray-2);
  border-color: var(--gray-2);
}

/* 전송 중 */
.submit-loading { display: none; align-items: center; gap: 8px; }
.submit-spinner {
  width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 결과 메시지 */
.form-result {
  font-size: 13px;
  padding: 14px 20px;
  min-height: 0;
  display: none;
}
.form-result.visible { display: block; }
.form-result.success {
  background: rgba(92,184,122,0.08);
  border-top: 1px solid rgba(92,184,122,0.3);
  color: #2d7c4f;
}
.form-result.error {
  background: rgba(200,80,80,0.07);
  border-top: 1px solid rgba(200,80,80,0.25);
  color: #9e2020;
}



/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--off);
  border-top: 1px solid var(--gray-4);
  padding: 60px 0 48px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}
.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0);
  opacity: 0.65;
}
.footer-brands-col { text-align: right; }
.footer-brands-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 12px;
}
.footer-brands-list {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}
.footer-brand-logo {
  height: 18px;
  width: auto;
  filter: brightness(0);
  opacity: 0.45;
}
.footer-pip-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-2);
  letter-spacing: -0.02em;
}
.footer-pip-logo strong { font-weight: 900; }

.footer-divider {
  height: 1px;
  background: var(--gray-4);
  margin-bottom: 36px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer-company {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-1);
  margin-bottom: 8px;
}
.footer-address {
  font-size: 12px;
  color: var(--gray-2);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 0;
  word-break: keep-all;
}
.footer-copy {
  font-size: 11px;
  color: var(--gray-3);
  font-weight: 300;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-reveal.in-view {
  opacity: 1;
  transform: none;
}
.js-reveal.d1 { transition-delay: 0.1s; }
.js-reveal.d2 { transition-delay: 0.2s; }
.js-reveal.d3 { transition-delay: 0.3s; }
.js-reveal.d4 { transition-delay: 0.4s; }

/* =============================================
   PHILOSOPHY-ITEM (buildPhilosophySection 사용 클래스)
   ============================================= */
/* philosophy-item — 항상 표시, hover 효과만 적용 */
.philosophy-item {
  padding: 52px 40px;
  border-left: 1px solid rgba(255,255,255,0.10);
  border-top: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: default;
  opacity: 1 !important;
  transform: none !important;
}
/* .reveal 클래스가 있어도 항상 보임 */
.philosophy-item.reveal {
  opacity: 1 !important;
  transform: none !important;
}
.philosophy-item.reveal.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* 상단 골드 라인 hover 효과 */
.philosophy-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(200,169,110,0) 0%, rgba(200,169,110,0.75) 50%, rgba(200,169,110,0) 100%);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transform-origin: center;
}
.philosophy-item:last-child {
  border-right: 1px solid rgba(255,255,255,0.10);
}
.philosophy-item:hover {
  background: rgba(255,255,255,0.05);
  border-top-color: rgba(200,169,110,0.20);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  z-index: 1;
}
.philosophy-item:hover::before {
  transform: scaleX(1);
}

.philosophy-num {
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}
.philosophy-item:hover .philosophy-num {
  color: rgba(200,169,110,0.75);
}

.philosophy-content { }

.philosophy-item-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.90);
  margin-bottom: 20px;
  transition: color 0.3s, letter-spacing 0.3s;
}
.philosophy-item:hover .philosophy-item-title {
  color: #fff;
  letter-spacing: 0.18em;
}

.philosophy-item-text {
  font-size: 13px;
  line-height: 1.95;
  color: rgba(255,255,255,0.42);
  font-weight: 300;
  transition: color 0.3s;
}
.philosophy-item:hover .philosophy-item-text {
  color: rgba(255,255,255,0.65);
}

/* philosophy-headline (buildPhilosophySection) */
.philosophy-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
  text-align: center;
}


   ============================================= */
@media (max-width: 1024px) {
  .header-wrap { padding: 0 32px; }
  .about-inner,
  .brand-wrap,
  .brands-intro-inner,
  .philosophy-inner,
  .contact-inner,
  .footer-inner { padding: 0 32px; }
  .brand-number-bg { right: 32px; font-size: 140px; }
  .about-body { grid-template-columns: 1fr; gap: 48px; }
  .about-headline { position: static; }
  .brand-visual-strip { padding: 20px 32px; }
}

@media (max-width: 768px) {
  :root { --hh: 60px; }

  .header-wrap { padding: 0 24px; }
  .header-nav { display: none; }
  .header-burger { display: flex; }

  .hero-text { padding: calc(var(--hh) + 60px) 24px 60px; }

  .about { padding: 80px 0; }
  .about-inner,
  .brand-wrap,
  .brands-intro-inner,
  .philosophy-inner,
  .contact-inner,
  .footer-inner { padding: 0 24px; }

  .brands-intro { padding: 52px 0; }
  .brands-intro-inner { flex-direction: column; gap: 12px; }

  .brand-section { padding: 80px 0 60px; }
  .brand-number-bg { font-size: 100px; top: 12px; right: 24px; opacity: 0.4; }
  .brand-wrap { grid-template-columns: 1fr; gap: 52px; }
  .brand-wrap-reverse { direction: ltr; }
  .brand-visual-strip { padding: 16px 24px; margin-top: 52px; }

  .philosophy { padding: 80px 0; }
  .philosophy-header { margin-bottom: 60px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philo-item {
    border-left: none;
    border-right: none !important;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 36px 0;
  }

  .contact { padding: 80px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 52px; }

  .footer-top { flex-direction: column; gap: 28px; }
  .footer-brands-col { text-align: left; }
  .footer-brands-list { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-dot { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 32px; letter-spacing: -0.01em; }
  .about-headline { font-size: 36px; }
  .about-figures { gap: 36px; }
  .footer-address { font-size: 11px; }
}


/* =============================================
   CONTACT — 반응형
   ============================================= */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 52px; }
}
@media (max-width: 768px) {
  .contact { padding: 80px 0; }
  .contact-inner { padding: 0 24px; }
  .form-field-row { grid-template-columns: 1fr; }
  .form-field-label {
    border-right: none;
    border-bottom: 1px solid var(--gray-5);
    padding: 12px 16px 10px 16px;
    background: var(--off);
  }
  .form-field-row--textarea .form-field-label { padding-top: 12px; }
  .form-input, .form-textarea { font-size: 16px; } /* iOS zoom 방지 */
  .form-footer-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .form-submit { width: 100%; justify-content: center; }
  .ct-list { gap: 6px; }
}
