/* ═══════════════════════════════════════════════════════════════
   KDH ENTERTAINMENT — Design System
   ───────────────────────────────────────────────────────────────
   Palette  "Bright" — white ground like YG / Starship / Pledis / Antenna
     bg        #FFFFFF   white, light gray sections #F4F4F1
     text      #0A0A0A   near-black
     gold      #FFBE1A   bright gold, used as FILL (buttons, badges, routes)
     accent    #1E3A8A   royal navy, used for small TEXT accents (AA on white)
     navy      #102A72   feature bands (map, CTA) — dark context, gold reads here
   Dark contexts (.on-dark list below) flip text to white over video / photos / navy
   Type
     Display        Geist              (SIL OFL)
     Korean / body  Pretendard Variable (SIL OFL)
     labels         Pretendard Variable (SIL OFL)
   ═══════════════════════════════════════════════════════════════ */

:root {
  color-scheme: only light; /* 삼성 인터넷·크롬 자동 다크 모드가 색을 뒤집지 않게 */
  --bg: #FFFFFF;
  --bg-2: #F4F4F1;
  --surface: #F4F4F1;
  --surface-2: #E9E9E5;
  --navy: #102A72;
  --text: #0A0A0A;
  --text-2: #4A4A4A;
  --text-3: #8A8A8A;
  --gold: #FFBE1A;
  --gold-light: #FFD65C;
  --on-gold: #111111;
  --accent: #1E3A8A;
  --hairline: #E6E6E1;
  --border: #CFCFC9;
  --bg-rgb: 255, 255, 255;
  --gold-rgb: 255, 190, 26;
  --map-land: #3A5299;
  --hero-video-opacity: 0.95;

  --font-display: "Archivo", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-label: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;

  --container: 1360px;
  --gutter: clamp(20px, 4vw, 64px);
  --section: clamp(96px, 12vw, 180px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 500ms;
  --dur-slow: 900ms;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all; overflow-wrap: break-word;   /* 한글 어절 단위 줄바꿈 */
}
/* 한글은 어절 단위로 줄바꿈, 긴 영문/주소는 넘치지 않게 끊는다 */
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--gold); color: var(--on-gold); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* Display: Geist (Latin) + Pretendard (Hangul fallback) */
.serif { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; }
.serif:lang(ko), 
/* ── Layout ────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--navy { background: var(--navy); }
.section--surface { background: var(--bg-2); }

.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

/* ── Typography scale (fluid) ──────────────────────────────── */
.eyebrow {
  font-family: var(--font-label); font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
@media (max-width: 640px) { .eyebrow { font-size: 11px; letter-spacing: 0.04em; } .hero__eyebrow::before { display: none; } }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}
.h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.h2.serif { font-weight: 700; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.65; color: var(--text-2); max-width: 40em; }
.body { color: var(--text-2); max-width: 44em; }
.muted { color: var(--text-2); }
.gold { color: var(--accent); }
em { font-style: normal; color: var(--accent); }

.section-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .lead { margin-top: 20px; }
@media (max-width: 768px) { .section-head { grid-template-columns: 1fr; } }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 28px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid var(--text);
  color: var(--text);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }
.btn--solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── Header ────────────────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background var(--dur) var(--ease-out), backdrop-filter var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.header.is-scrolled { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--hairline); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
/* 공식 로고 — 마스크로 칠해 헤더·푸터 배경(밝음/어두움)에 자동으로 맞춘다.
   마스크 미지원 브라우저에서는 글자 로고만 남는다. */
.logo__mark, .logo__lockup { display: none; }
@supports (-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000)) {
  .logo__mark { display: block; width: 34px; height: 39px; background-color: currentColor;
    -webkit-mask: url("../assets/logo-mark.svg") center / contain no-repeat;
    mask: url("../assets/logo-mark.svg") center / contain no-repeat; }
  .logo__word { display: block; width: 131px; height: 11px; background-color: currentColor;
    -webkit-mask: url("../assets/logo-word.svg") center / contain no-repeat;
    mask: url("../assets/logo-word.svg") center / contain no-repeat; }
  .logo { gap: 11px; }
  @media (max-width: 480px) {
    .logo__mark { width: 29px; height: 33px; }
    .logo__word { width: 107px; height: 9px; }
  }
  .logo__lockup { display: block; width: 62px; height: 78px; background-color: currentColor;
    -webkit-mask: url("../assets/logo-lockup.svg") center / contain no-repeat;
    mask: url("../assets/logo-lockup.svg") center / contain no-repeat; }
  .logo--lockup { gap: 0; }
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
  font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: 0.04em;
  color: var(--text-2); padding: 8px 0; position: relative;
  transition: color var(--dur-fast);
}
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-out); }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--text); }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.lang { display: flex; align-items: center; border: 1px solid var(--hairline); border-radius: 999px; padding: 3px; font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; }
.lang button { min-width: 44px; height: 30px; padding: 0 10px; border-radius: 999px; color: var(--text-3); transition: background var(--dur-fast), color var(--dur-fast); }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); font-weight: 700; }
.lang button:not([aria-pressed="true"]):hover { color: var(--text); }

.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 1px; background: var(--text); position: relative; transition: transform var(--dur) var(--ease-out), background var(--dur-fast); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--text); transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__list { display: none; }
  .burger { display: inline-flex; }
  .nav { gap: 12px; }
}
@media (max-width: 480px) {
  .lang button { min-width: 40px; padding: 0 8px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 60px;
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility 0s linear var(--dur);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu a { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(2.4rem, 9vw, 4rem); line-height: 1.15; padding: 6px 0; color: var(--text); transform: translateY(20px); opacity: 0; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu a:nth-child(1) { transition-delay: 60ms; } .mobile-menu a:nth-child(2) { transition-delay: 100ms; }
.mobile-menu a:nth-child(3) { transition-delay: 140ms; } .mobile-menu a:nth-child(4) { transition-delay: 180ms; }
.mobile-menu a:nth-child(5) { transition-delay: 220ms; } .mobile-menu a:nth-child(6) { transition-delay: 260ms; }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu__foot { margin-top: auto; color: var(--text-3); font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; }
body.menu-open { overflow: hidden; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { --hero-inset: clamp(20px, 3.2vw, 48px); background: #000; position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(72px, 10.5vw, 172px); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: var(--hero-video-opacity); }
/* Ken Burns 슬라이드: 5장 × 4초 노출 + 1초 교차 페이드 = 20초 루프 */
.hero__slide { position: absolute; inset: 0; opacity: 0; animation: heroFade 20s linear infinite; }
.hero__slide img { transform-origin: center; object-position: 80% center; animation: heroZoomIn 20s linear infinite; }
.hero__slide:nth-child(even) img { animation-name: heroZoomOut; }
.hero__slide:nth-child(1), .hero__slide:nth-child(1) img { animation-delay: -1s; }
.hero__slide:nth-child(2), .hero__slide:nth-child(2) img { animation-delay: 3s; }
.hero__slide:nth-child(3), .hero__slide:nth-child(3) img { animation-delay: 7s; }
.hero__slide:nth-child(4), .hero__slide:nth-child(4) img { animation-delay: 11s; }
.hero__slide:nth-child(5), .hero__slide:nth-child(5) img { animation-delay: 15s; }
@keyframes heroFade { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 25% { opacity: 0; } 100% { opacity: 0; } }
@keyframes heroZoomIn { 0% { transform: scale(1); } 25% { transform: scale(1.1); } 100% { transform: scale(1.1); } }
@keyframes heroZoomOut { 0% { transform: scale(1.1); } 25% { transform: scale(1); } 100% { transform: scale(1); } }
/* 데이터 절약 모드 등에서는 첫 장으로 고정 */
.hero__media--still .hero__slide { animation: none; opacity: 0; }
.hero__media--still .hero__slide:first-child { opacity: 1; }
.hero__media--still .hero__slide img { animation: none; transform: none; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.72) 0%, rgba(var(--bg-rgb), 0.28) 50%, rgba(var(--bg-rgb), 0) 100%), linear-gradient(180deg, rgba(var(--bg-rgb), 0.85) 0%, rgba(var(--bg-rgb), 0) 26%, rgba(var(--bg-rgb), 0) 62%, rgba(var(--bg-rgb), 0.95) 100%); }
/* 히어로 카피는 컨테이너보다 왼쪽으로 붙인다 */
.hero__content { position: relative; z-index: 2; width: 100%; max-width: none; padding-inline: var(--hero-inset); }
.hero__eyebrow { margin-bottom: 32px; }
.hero__title { max-width: 14ch; font-size: clamp(3.2rem, 8.2vw, 8.6rem); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); }
.hero__sub { margin-top: 28px; font-size: clamp(1.05rem, 1.6vw, 1.4rem); color: var(--text-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(160px, 22vw, 260px); padding-bottom: clamp(56px, 8vw, 100px); position: relative; }
.page-hero .display { max-width: 12ch; }
.page-hero .lead { margin-top: 32px; }

/* ── Marquee ───────────────────────────────────────────────── */

/* ── Stats ─────────────────────────────────────────────────── */

/* ── Network map ───────────────────────────────────────────── */
.network { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .network { grid-template-columns: 1fr; } }
.map { position: relative; max-width: 620px; margin-inline: auto; width: 100%; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .land { fill: none; stroke: var(--map-land); stroke-width: 4; stroke-linecap: round; }
.map .route { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: 1000; opacity: 0.85; }
.map.is-in .route { animation: draw 2.4s var(--ease-out) forwards; }
.map.is-in .route:nth-of-type(2) { animation-delay: 0.3s; }
.map.is-in .route:nth-of-type(3) { animation-delay: 0.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map .pin { fill: var(--gold); }
.map .pin-ring { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; transform-origin: center; transform-box: fill-box; }
.map.is-in .pin-ring { animation: ring 2.6s var(--ease-out) infinite; }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(3); opacity: 0; } }
.map .label { font-family: var(--font-label); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; fill: var(--text-2); text-transform: uppercase; paint-order: stroke; stroke: var(--navy); stroke-width: 4px; }
.map .label.seoul { fill: var(--gold); }

/* ── Business cards (bento) ────────────────────────────────── */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.biz-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .biz-grid { grid-template-columns: 1fr; } .biz-grid .biz-card { min-height: 0; } }
.biz-card { color: inherit; text-decoration: none; background: var(--bg); padding: clamp(28px, 3vw, 44px); min-height: 340px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: background var(--dur) var(--ease-out); }
.biz-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(var(--gold-rgb), 0.12), transparent 60%); opacity: 0; transition: opacity var(--dur) var(--ease-out); }
.biz-card:hover::before { opacity: 1; }
.biz-card__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.1; margin-top: 40px; }
.biz-card__desc { color: var(--text-2); font-size: 14.5px; margin-top: 14px; }
.biz-card__list { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.biz-card__list li { font-family: var(--font-label); font-weight: 500; font-size: 10.5px; letter-spacing: 0.04em; color: var(--text-2); border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 10px; }

/* ── Project timeline ──────────────────────────────────────── */
.projects { display: grid; gap: 1px; background: var(--hairline); border-block: 1px solid var(--hairline); }
.project { display: grid; grid-template-columns: 140px minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px clamp(20px, 3vw, 40px); background: var(--bg); transition: background var(--dur) var(--ease-out), padding var(--dur) var(--ease-out); }
.project:hover { background: var(--bg-2); }
.project__year { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; font-size: clamp(2rem, 3vw, 2.8rem); color: var(--accent); line-height: 1; }
.project__name { display: block; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; }
.project__city { display: block; color: var(--text-2); font-size: 14px; margin-top: 6px; }
.project__venue { font-family: var(--font-label); font-weight: 500; font-size: 12px; letter-spacing: 0.04em; color: var(--text-2); text-transform: uppercase; }
@media (max-width: 900px) { .project { grid-template-columns: 88px minmax(0, 1fr); gap: 10px 20px; padding: 24px 20px; align-items: start; } .project__year { font-size: 1.9rem; } .project__venue { grid-column: 2; } }

/* Project detail cards */
.proj-card { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); isolation: isolate; }
.proj-card__img { position: absolute; inset: 0; z-index: -1; }
.proj-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur) var(--ease-out); }
.proj-card:hover .proj-card__img img { transform: scale(1.04); opacity: 0.75; }
.proj-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.1) 0%, rgba(var(--bg-rgb), 0.3) 40%, rgba(var(--bg-rgb), 0.97) 100%); }
.proj-card .project__year { font-size: clamp(3rem, 5vw, 4.5rem); }
.proj-card__title { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; margin-top: 12px; }
.proj-card__meta { margin-top: 8px; color: var(--text-2); font-size: 14px; }
.proj-card__desc { margin-top: 16px; color: var(--text-2); font-size: 14px; }

/* ── Artists ───────────────────────────────────────────────── */
.artists { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.artist.artist--wide { grid-column: span 2; }
@media (max-width: 900px) { .artists { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .artists { grid-template-columns: 1fr; } .artist.artist--wide { grid-column: auto; } .artist--wide .artist__img { aspect-ratio: 3 / 2; flex: none; } }
.artist { position: relative; display: flex; flex-direction: column; }
.artist__img { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); }
.artist--wide .artist__img { aspect-ratio: auto; flex: 1; min-height: 240px; }
.artist__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; position: absolute; inset: 0; transition: transform var(--dur-slow) var(--ease-out); }
.artist:hover .artist__img img { transform: scale(1.04); }
.artist__img::after { content: none; }
.artist__body { padding: 18px 2px 0; }
.artist__name { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; }
.artist__name:lang(ko) { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em; }
.artist__role { color: var(--text-2); font-size: 13px; margin-top: 8px; }

/* ── Value / mission lists ─────────────────────────────────── */
.value-list { border-top: 1px solid var(--hairline); list-style: none; margin: 0; padding: 0; }
.value__title:only-child { grid-column: 1 / -1; }
.value { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.value__title { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 768px) { .value { grid-template-columns: 1fr; gap: 8px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split--sticky > :first-child { position: sticky; top: 120px; align-self: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--sticky > :first-child { position: static; } }

/* ── CEO ───────────────────────────────────────────────────── */
.quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.3; letter-spacing: -0.025em; }
.quote:lang(ko) { font-family: var(--font-sans); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.5; letter-spacing: -0.02em; }
.ceo-msg p + p { margin-top: 1.4em; }
.ceo-sign { margin-top: 40px; display: flex; align-items: center; gap: 20px; }
.ceo-sign::before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.portrait { aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.timeline { border-top: 1px solid var(--hairline); }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.timeline .yr { font-family: var(--font-label); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; color: var(--accent); padding-top: 3px; }
.tabs-sub { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tabs-sub button { font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; padding: 10px 16px; border: 1px solid var(--hairline); border-radius: 999px; color: var(--text-2); transition: all var(--dur-fast); min-height: 40px; }
.tabs-sub button[aria-selected="true"] { border-color: var(--text); background: var(--text); color: var(--bg); }
.tabs-sub button:hover { color: var(--text); border-color: var(--border); }

/* ── Media ─────────────────────────────────────────────────── */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .media-grid { grid-template-columns: 1fr; } }
.media-card { display: block; width: 100%; overflow: hidden; text-align: left; cursor: pointer; background: #FFFFFF; border: 1px solid var(--hairline); color: inherit; text-decoration: none; }
.media-card__thumb { aspect-ratio: 16 / 9; position: relative; background: var(--surface-2); overflow: hidden; }
.media-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.media-card:hover .media-card__thumb img { transform: scale(1.04); }
.media-card__play { position: absolute; inset: 0; display: grid; place-items: center; }
.media-card__play span { width: 56px; height: 56px; border-radius: 50%; border: 1px solid #FFFFFF; background: rgba(0, 0, 0, 0.35); display: grid; place-items: center; color: #FFFFFF; backdrop-filter: blur(6px); transition: background var(--dur-fast), color var(--dur-fast); }
.media-card:hover .media-card__play span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.media-card__play svg { width: 18px; height: 18px; fill: currentColor; margin-left: 3px; }
.media-card__body { padding: 20px 22px 24px; }
.media-card__cat { font-family: var(--font-label); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; color: var(--accent); }
.media-card__title { margin-top: 10px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.media-card__date { margin-top: 8px; font-family: var(--font-label); font-weight: 500; font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; }
.media-card.is-filtered { display: none; }

/* ── Contact ───────────────────────────────────────────────── */
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--font-label); font-weight: 700; font-size: 11px; letter-spacing: 0.04em; color: var(--accent); text-transform: uppercase; }
.contact-info dd { margin: 8px 0 32px; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.contact-info dd a:hover { color: var(--accent); }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; color: var(--text-2); text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--text);
  border: 0; border-bottom: 1px solid var(--border); padding: 12px 0; font: inherit; font-size: 16px;
  border-radius: 0; transition: border-color var(--dur-fast);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231E3A8A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; cursor: pointer; }
.field select option { background: var(--surface); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.form__note { font-size: 12px; color: var(--text-3); font-family: var(--font-label); font-weight: 500; }
.map-links { border: 1px solid var(--hairline); background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.map-links__addr { font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 600; letter-spacing: -0.02em; }

/* ── CTA band ──────────────────────────────────────────────── */
.cta-band { background: var(--navy); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--gold-rgb), 0.14), transparent); pointer-events: none; }
.cta-band .container { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
@media (max-width: 768px) { .cta-band .container { grid-template-columns: 1fr; } }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: #0A0A0A; padding: 64px 0 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--text-2); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 768px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand .logo { margin-bottom: 20px; }
.footer__brand p { max-width: 36em; }
.footer h4 { font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.footer__links li + li { margin-top: 10px; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--hairline); font-family: var(--font-label); font-weight: 500; font-size: 11px; letter-spacing: 0.04em; color: var(--text-3); }

/* ── Video modal ───────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(var(--bg-rgb), 0.92); display: grid; place-items: center; padding: var(--gutter); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: min(1100px, 100%); }
.modal__frame { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--hairline); }
.modal__frame iframe, .modal__frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.modal__frame [hidden] { display: none; }
.modal__close { position: absolute; right: 0; top: -52px; width: 44px; height: 44px; font-size: 28px; line-height: 1; color: var(--text-2); border: 1px solid var(--hairline); border-radius: 50%; transition: color var(--dur-fast), border-color var(--dur-fast); }
.modal__close:hover { color: var(--gold); border-color: var(--gold); }
.video-row { display: flex; flex-wrap: wrap; gap: 10px; }
.video-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; font-size: 13px; color: var(--text); border: 1px solid var(--border); border-radius: 999px; transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast); text-align: left; }
.video-chip svg { width: 14px; height: 14px; fill: var(--accent); flex: none; }
.video-chip:hover { border-color: var(--gold); background: var(--gold); color: var(--on-gold); }
.video-chip:hover svg { fill: var(--on-gold); }
.proj-card .video-chip { align-self: flex-start; }
.proj-card__in { display: block; font-family: var(--font-display); font-weight: 500; color: var(--accent); font-size: 0.9em; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.gallery__item { margin: 0; position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); }
.gallery__item--wide { grid-column: span 2; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-label); font-weight: 500; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery__item--wide { grid-column: auto; } }
.artist-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.artist-thumb--tall { aspect-ratio: 3 / 4; max-width: 420px; }
.artist-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.album-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 520px; }
.album-row img { aspect-ratio: 1; object-fit: cover; border: 1px solid var(--hairline); }
.media-card__thumb--album img { object-fit: contain; background: var(--surface-2); }

/* ── Reveal animations ─────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
[data-reveal-stagger].is-in > :nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-in > :nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].is-in > :nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].is-in > :nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-in > :nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].is-in > :nth-child(6) { transition-delay: 400ms; }
.hero.is-in .hero__title .line > span { animation: rise 1.1s var(--ease-out) forwards; }
.hero.is-in .hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero.is-in .hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero__sub, .hero__actions, .hero__eyebrow { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.hero.is-in .hero__eyebrow { opacity: 1; transform: none; transition-delay: 0.1s; }
.hero.is-in .hero__sub { opacity: 1; transform: none; transition-delay: 0.5s; }
.hero.is-in .hero__actions { opacity: 1; transform: none; transition-delay: 0.65s; }

/* Language swap fade */
[data-i18n] { transition: opacity var(--dur-fast) var(--ease-out); }
body.lang-switching [data-i18n] { opacity: 0; }

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide { animation: none; opacity: 0; }
  .hero__slide:first-child { opacity: 1; }
  .hero__slide img { animation: none; transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__sub, .hero__actions, .hero__eyebrow { opacity: 1; transform: none; }
  .map .route { stroke-dashoffset: 0; }
}

/* Utilities */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }

/* ── Dark contexts ─────────────────────────────────────────── */
.hero, .section--navy, .cta-band, .footer, .modal, .proj-card, .gallery__item, .media-card__play,
body[data-page="home"]:not(.menu-open) .header:not(.is-scrolled) {
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.8);
  --text-3: rgba(255, 255, 255, 0.58);
  --hairline: rgba(255, 255, 255, 0.16);
  --border: rgba(255, 255, 255, 0.45);
  --accent: var(--gold);
  --bg: #0A0A0A;
  --bg-rgb: 0, 0, 0;
  --surface: #141414;
  --surface-2: #1F1F1F;
  color: var(--text);
}

/* ── History timeline (SM 스타일: 연도 + 제목 + 설명) ───────── */
.history { list-style: none; margin: 0; padding: 0; }
.history__row { display: grid; grid-template-columns: 140px 24px 1fr; align-items: start; gap: 0 24px; padding: 0 0 clamp(28px, 3vw, 44px); position: relative; }
.history__row:last-child { padding-bottom: 0; }
.history__year { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; letter-spacing: -0.04em; color: var(--text-3); }
.history__row:first-child .history__year { color: var(--accent); }
.history__dot { position: relative; width: 24px; align-self: stretch; }
.history__dot::before { content: ""; position: absolute; left: 50%; top: 10px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--gold); }
.history__dot::after { content: ""; position: absolute; left: 50%; top: 22px; bottom: -6px; width: 1px; margin-left: -0.5px; background: var(--hairline); }
.history__row:last-child .history__dot::after { display: none; }
.history__body { padding-top: 2px; }
.history__title { display: block; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; }
.history__desc { display: block; margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 640px) {
  .history__row { grid-template-columns: 76px 18px 1fr; gap: 0 14px; }
  .history__year { font-size: 1.6rem; }
  .history__dot { width: 18px; }
}

/* 사업영역 카드: 선 아이콘 대신 실제 사진 (사이트 다른 곳에 안 쓰인 컷) */
.biz-card__photo { display: block; margin: calc(-1 * clamp(28px, 3vw, 44px)) calc(-1 * clamp(28px, 3vw, 44px)) 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.biz-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.biz-card:hover .biz-card__photo img { transform: scale(1.03); }
.biz-card__photo + .biz-card__title { margin-top: 26px; }
