/* ========================================================================
   SOL GATE STUDIOS KOREA — Cinematic Dark Redesign
   Inspired by GiantStep. English-first, dark, content-forward.
   ======================================================================== */

:root {
  --bg: #0A1218;          /* deep near-black navy */
  --bg-2: #0F1A24;        /* one step up */
  --bg-3: #14202D;        /* card surface */
  --ink: #EDEEF0;         /* off-white */
  --ink-2: #A6ADB8;       /* muted */
  --ink-3: #5A6472;       /* very muted */
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.05);
  --blue: #1A5FE0;
  --blue-hot: #4A8CFF;
  --brand-ink: #0A1E45;

  /* bright interlude */
  --light-bg: #F1EEE8;    /* warm cream */
  --light-bg-2: #E8E4DB;
  --light-ink: #0A1218;

  --font-en: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Archivo', 'Inter', sans-serif;
  --font-narrow: 'Archivo Narrow', 'Archivo', sans-serif;
  --font-black: 'Archivo Black', 'Archivo', sans-serif;
  --font-kr: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;

  --edge: 40px;
  --edge-lg: 64px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(ko), .ko, [lang="ko"] { font-family: var(--font-kr); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

/* Selection */
::selection { background: var(--blue); color: white; }

/* ------------------------------------------------------------------
   NAV
   ------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--edge);
  mix-blend-mode: difference;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-logo-link { display: block; transition: opacity 0.2s; }
.nav-logo-link:hover { opacity: 0.7; }
.nav-logo {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(1.5);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-marker {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #fff;
  opacity: 0.7;
}
.nav-burger {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background 0.25s, border-color 0.25s;
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.35s cubic-bezier(0.6,0.05,0.3,1);
}
.nav-burger:hover { background: rgba(255,255,255,0.1); }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Fullscreen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  padding: 100px var(--edge) 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
body.menu-open .menu {
  opacity: 1;
  pointer-events: auto;
}
.menu-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.menu-index {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  margin-bottom: 40px;
}
.menu-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.menu-list li {
  overflow: hidden;
}
.menu-list a {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  font-family: var(--font-black);
  font-size: clamp(38px, 7vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  transition: color 0.25s, transform 0.35s cubic-bezier(0.6,0.05,0.3,1);
  transform: translateY(100%);
}
body.menu-open .menu-list li a { transform: translateY(0); }
body.menu-open .menu-list li:nth-child(1) a { transition-delay: 0.10s; }
body.menu-open .menu-list li:nth-child(2) a { transition-delay: 0.15s; }
body.menu-open .menu-list li:nth-child(3) a { transition-delay: 0.20s; }
body.menu-open .menu-list li:nth-child(4) a { transition-delay: 0.25s; }
body.menu-open .menu-list li:nth-child(5) a { transition-delay: 0.30s; }
body.menu-open .menu-list li:nth-child(6) a { transition-delay: 0.35s; }

.menu-list a::before {
  content: attr(data-num);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  align-self: flex-start;
  margin-top: 12px;
  min-width: 34px;
}
.menu-list a span {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  margin-left: auto;
  align-self: flex-end;
  padding-bottom: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.menu-list a:hover { color: var(--blue-hot); }
.menu-list a:hover span { opacity: 1; }

.menu-foot {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.menu-foot > div { display: flex; flex-direction: column; gap: 6px; }
.mf-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.menu-foot a { transition: color 0.2s; }
.menu-foot a:hover { color: var(--blue-hot); }
.mf-copy {
  align-self: center;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.15em;
}

/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s;
}
.hero-bg.video-loaded .hero-poster { opacity: 0; }
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: max(177.78vh, 100vw);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%) scale(1.05);
  border: 0;
  pointer-events: none;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,24,0.55) 0%, rgba(10,18,24,0.25) 40%, rgba(10,18,24,0.85) 100%),
    radial-gradient(1200px 800px at 20% 80%, rgba(10,18,24,0.4), transparent 60%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' /></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 120px var(--edge) 60px;
  display: flex;
  flex-direction: column;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.35em;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: auto;
}
.hm-dot { color: var(--blue-hot); font-size: 6px; animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Title */
.hero-title {
  font-family: var(--font-black);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 50px;
  max-width: 90%;
}
.ht-row {
  display: flex;
  align-items: baseline;
  gap: 0.05em;
  overflow: hidden;
}
.ht-word {
  display: inline-block;
  font-size: clamp(56px, 13vw, 220px);
  transform: translateY(110%);
  animation: heroWord 1s cubic-bezier(0.6,0.05,0.3,1) forwards;
}
.ht-row:nth-child(1) .ht-word { animation-delay: 0.25s; }
.ht-row:nth-child(2) .ht-word:nth-child(1) { animation-delay: 0.40s; }
.ht-row:nth-child(2) .ht-word:nth-child(2) { animation-delay: 0.48s; }
.ht-row:nth-child(2) .ht-word:nth-child(3) { animation-delay: 0.56s; }
.ht-row:nth-child(3) .ht-word { animation-delay: 0.70s; }
@keyframes heroWord { to { transform: translateY(0); } }

.ht-word-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}
.ht-word-slash {
  color: var(--blue-hot);
  font-size: clamp(40px, 10vw, 160px);
}

/* Hero foot */
.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 1.0s cubic-bezier(0.2,0.7,0.3,1) forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.hero-manifesto {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
}
.hero-manifesto b { color: white; font-weight: 600; }

.hero-reel-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-reel-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}
.hrb-icon {
  width: 42px;
  height: 42px;
  background: #fff;
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hrb-icon svg { width: 14px; height: 14px; margin-left: 2px; }
.hrb-text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.hrb-label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.hrb-sub { font-size: 10px; letter-spacing: 0.15em; opacity: 0.6; text-transform: uppercase; }

/* Hero bottom marquee */
.hero-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 100px;
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-marquee-track {
  display: inline-flex;
  gap: 26px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-narrow);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  opacity: 0.85;
}
.hero-marquee-track > span { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-scroll {
  position: absolute;
  left: var(--edge);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.7);
}
.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -30%;
  width: 30%;
  height: 100%;
  background: #fff;
  animation: scrollDash 2s cubic-bezier(0.6,0.05,0.3,1) infinite;
}
@keyframes scrollDash { to { left: 130%; } }

.hero-mute {
  position: absolute;
  right: var(--edge);
  bottom: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.hero-mute:hover { background: rgba(0,0,0,0.6); border-color: rgba(255,255,255,0.5); }
.hero-mute svg { width: 18px; height: 18px; color: #fff; }

/* ------------------------------------------------------------------
   MANIFESTO STRIP
   ------------------------------------------------------------------ */
.manifesto {
  padding: 180px var(--edge) 180px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.manifesto-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.manifesto-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  margin-bottom: 60px;
}
.tag-num { color: var(--blue-hot); }
.manifesto-line {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 58px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 1300px;
}
.manifesto-line em {
  font-style: normal;
  color: var(--blue-hot);
  font-weight: 500;
}
.manifesto-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------
   Section common
   ------------------------------------------------------------------ */
.section-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue-hot);
  margin-bottom: 24px;
}

/* ------------------------------------------------------------------
   FEATURED WORK — horizontal slider
   ------------------------------------------------------------------ */
.work {
  padding: 120px 0 100px;
  background: var(--bg);
}
.work-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 0 var(--edge);
  margin-bottom: 60px;
  align-items: end;
}
.work-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.wt-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.work-head-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 8px;
}
.work-head-right p {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 400px;
  text-align: right;
  line-height: 1.7;
}
.work-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.wc-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.wc-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); transform: scale(1.05); }
.wc-btn svg { width: 20px; height: 20px; }
.wc-counter {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--ink-2);
  min-width: 70px;
  text-align: center;
}
.wc-sep { color: var(--ink-3); margin: 0 4px; }
#wcCurrent { color: var(--ink); }

.work-viewport {
  overflow: hidden;
  position: relative;
}
.work-track {
  display: flex;
  gap: 40px;
  padding: 0 var(--edge);
  transition: transform 0.9s cubic-bezier(0.6,0.05,0.3,1);
  will-change: transform;
}

/* Each slide is 100% of viewport minus edges */
.slide {
  flex: 0 0 calc(100vw - var(--edge) * 2);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: 72vh;
}
.slide-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  aspect-ratio: 16/9;
}
.slide-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.2,0.7,0.3,1);
  will-change: transform;
}
.slide-media img { filter: brightness(0.85) saturate(1.05); }
.slide.is-active .slide-media img { transform: scale(1.04); }

.slide-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.slide-play svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
  transition: transform 0.35s cubic-bezier(0.6,0.05,0.3,1);
}
.slide-play::before {
  content: '';
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
  transition: transform 0.35s cubic-bezier(0.6,0.05,0.3,1), background 0.35s;
}
.slide-play:hover::before {
  transform: scale(1.1);
  background: rgba(255,255,255,0.95);
}
.slide-play:hover svg {
  color: var(--bg);
  transform: scale(1.15);
}

.slide-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: white;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
}

.slide-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}
.slide-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue-hot);
  margin-bottom: 24px;
}
.slide-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(44px, 5.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--ink);
}
.slide-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 460px;
  margin-bottom: 40px;
}
.slide-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.slide-tags span {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: var(--ink-2);
}

/* Character IP slide mosaic */
.slide-ip-mosaic {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr;
  align-items: center;
  padding: 30px;
  gap: 8px;
  background:
    radial-gradient(600px 400px at 50% 60%, rgba(74,140,255,0.15), transparent 70%),
    linear-gradient(180deg, #14202D, #0A1218);
}
.slide-ip-mosaic img {
  width: 100%;
  height: auto;
  max-height: 82%;
  object-fit: contain;
  transition: transform 0.6s;
  filter: none;
}
.slide-ip-mosaic .ip-mosaic-center {
  max-height: 100%;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
.slide:hover .slide-ip-mosaic img { transform: translateY(-6px); }
.slide:hover .slide-ip-mosaic img:nth-child(2n) { transform: translateY(6px); }

/* Progress bar */
.work-progress {
  margin: 30px var(--edge) 0;
  height: 1px;
  background: var(--line);
  position: relative;
}
.wp-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--blue-hot);
  width: 14.28%;
  transition: width 0.6s cubic-bezier(0.6,0.05,0.3,1), transform 0.6s cubic-bezier(0.6,0.05,0.3,1);
}

/* ------------------------------------------------------------------
   LABS — vertical list, hover reveals imagery
   ------------------------------------------------------------------ */
.labs {
  padding: 160px var(--edge);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.labs-head {
  max-width: 1400px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.labs-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.lt-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.labs-lede {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
  max-width: 480px;
  justify-self: end;
  text-align: right;
}
.labs-list {
  list-style: none;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.lab-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: padding 0.5s cubic-bezier(0.6,0.05,0.3,1);
}
.lab-row:hover { padding: 60px 0; }
.lr-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  transition: color 0.3s;
}
.lab-row:hover .lr-num { color: var(--blue-hot); }
.lr-name {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: transform 0.4s cubic-bezier(0.6,0.05,0.3,1);
}
.lab-row:hover .lr-name { transform: translateX(10px); }
.lr-name span {
  color: var(--ink-3);
  font-weight: 900;
  transition: color 0.3s;
}
.lab-row:hover .lr-name span { color: var(--ink-2); }
.lr-desc {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 420px;
}
.lr-media {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  width: 320px;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.5s cubic-bezier(0.6,0.05,0.3,1);
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.lr-media img { width: 100%; height: 100%; object-fit: cover; }
.lab-row:hover .lr-media {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.lr-arrow {
  font-family: var(--font-narrow);
  font-size: 22px;
  color: var(--ink-3);
  transition: color 0.3s, transform 0.4s cubic-bezier(0.6,0.05,0.3,1);
}
.lab-row:hover .lr-arrow { color: var(--blue-hot); transform: translateX(10px); }

/* ------------------------------------------------------------------
   CHARACTER IP — BRIGHT INTERLUDE
   ------------------------------------------------------------------ */
.ip {
  background: var(--light-bg);
  color: var(--light-ink);
  padding: 180px var(--edge) 160px;
  position: relative;
  overflow: hidden;
}
.ip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.ip .section-num { color: var(--brand-ink); }

/* Chapter intro */
.ip-chapter {
  max-width: 1400px;
  margin: 0 auto 140px;
  text-align: left;
}
.ip-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(10,18,24,0.5);
  margin-bottom: 40px;
}
.ip-tag .tag-num { color: var(--blue); }
.ip-headline {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(38px, 6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--light-ink);
  max-width: 1200px;
  margin-bottom: 40px;
}
.ip-headline em {
  font-style: normal;
  color: var(--blue);
}
.ip-sub {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(10,18,24,0.65);
  max-width: 720px;
  font-family: var(--font-kr);
}

/* IP blocks */
.ip-block {
  max-width: 1400px;
  margin: 0 auto 140px;
}
.ip-block:last-child { margin-bottom: 0; }
.ip-block-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue);
  margin-bottom: 20px;
}
.ip-block-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(38px, 5.5vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--light-ink);
  margin-bottom: 12px;
}
.ipbt-ko {
  font-family: var(--font-kr);
  font-weight: 900;
  font-size: 0.55em;
  color: rgba(10,18,24,0.5);
  letter-spacing: -0.01em;
}
.ip-block-tag {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(10,18,24,0.7);
  margin-bottom: 60px;
  max-width: 640px;
}
.ip-block-tag em { font-style: italic; color: var(--blue); }
.ip-block-head { margin-bottom: 60px; }

/* FourDucks */
.ducks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.duck {
  position: relative;
  padding: 32px 20px 28px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.4s;
}
.duck:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(10,18,24,0.15);
}
.duck::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 60%;
  height: 60%;
  background: var(--tint);
  filter: blur(80px);
  opacity: 0.25;
  transform: translateX(-50%);
  transition: opacity 0.4s;
}
.duck:hover::before { opacity: 0.4; }
.duck-img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}
.duck-img img {
  max-height: 100%;
  width: auto;
  transition: transform 0.5s;
}
.duck:hover .duck-img img { transform: scale(1.06) translateY(-4px); }
.duck figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(10,18,24,0.1);
  padding-top: 18px;
}
.d-name {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--light-ink);
}
.dn-ko {
  font-family: var(--font-kr);
  font-size: 0.7em;
  font-weight: 700;
  color: rgba(10,18,24,0.5);
  margin-left: 4px;
}
.d-elem {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--tint);
  text-transform: uppercase;
}
.d-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(10,18,24,0.55);
  text-transform: uppercase;
}

/* Cherino */
.ip-cherino {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cherino-portrait {
  position: relative;
  aspect-ratio: 3/4;
  background:
    radial-gradient(circle at 50% 40%, #FADCE0 0%, #F1EEE8 60%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: center;
}
.cherino-portrait img {
  width: 82%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(10,18,24,0.15));
  transition: transform 0.6s;
}
.ip-cherino:hover .cherino-portrait img { transform: translateY(-8px); }

.cherino-facts {
  margin: 24px 0 32px;
  border-top: 1px solid rgba(10,18,24,0.1);
}
.cherino-facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid rgba(10,18,24,0.1);
  gap: 20px;
  align-items: baseline;
}
.cherino-facts dt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(10,18,24,0.5);
  text-transform: uppercase;
}
.cherino-facts dd {
  font-size: 15px;
  color: var(--light-ink);
  font-weight: 500;
}
.cherino-story {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(10,18,24,0.75);
  border-left: 2px solid var(--blue);
  padding-left: 20px;
}
.cherino-story em { font-style: italic; color: var(--blue); font-weight: 500; }

/* Celebrity-to-Character */
.ip-c2c { text-align: left; }
.c2c-head { margin-bottom: 60px; }
.c2c-arrow {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 0.55em;
  vertical-align: middle;
  padding: 0 0.2em;
}
.c2c-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
}
.c2c-original {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #E8E4DB;
}
.c2c-original img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.c2c-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(10,18,24,0.85));
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.c2c-tag > span:first-child {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 600;
  opacity: 0.7;
}
.c2c-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.c2c-styles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.c2c-styles figure {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.3,1);
}
.c2c-styles figure:hover { transform: translateY(-4px); }
.c2c-styles img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #F1EEE8;
}
.c2c-styles figcaption {
  padding: 14px 18px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--light-ink);
}
.c2c-caption {
  margin-top: 40px;
  text-align: right;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(10,18,24,0.6);
  font-style: italic;
}

/* ------------------------------------------------------------------
   NUMBERS
   ------------------------------------------------------------------ */
.numbers {
  padding: 160px var(--edge);
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.numbers-head {
  max-width: 1400px;
  margin: 0 auto 80px;
}
.numbers-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(52px, 8vw, 130px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.nt-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.numbers-grid {
  max-width: 1400px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.num-card {
  background: var(--bg);
  padding: 40px 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  transition: background 0.3s;
}
.num-card:hover { background: var(--bg-2); }
.nc-num {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nc-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 260px;
}
.num-card-hot .nc-num { color: var(--blue-hot); }
.num-card-hot { background: var(--bg-2); }

/* Partners */
.partners {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.partners-title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--ink-2);
  margin-bottom: 40px;
}
.partners-title span {
  color: var(--ink-3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.05em;
  font-family: var(--font-en);
  font-size: 12px;
  margin-left: 10px;
}
.partners-groups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.pg {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.pg-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--blue-hot);
  margin-bottom: 14px;
}
.pg-items {
  font-family: var(--font-narrow);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--ink);
}

/* ------------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------------ */
.contact {
  padding: 180px var(--edge) 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.contact-head { max-width: 1400px; margin: 0 auto 80px; }
.contact-title {
  font-family: var(--font-black);
  font-weight: 900;
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.ct-line { display: block; }
.ct-line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.contact-grid {
  max-width: 1400px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}
.c-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--blue-hot);
  margin-bottom: 10px;
}
.c-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
a.c-value:hover { color: var(--blue-hot); }
.c-mail { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.2); }
.c-muted { color: var(--ink-3); font-size: 14px; font-weight: 400; }

.contact-wordmark {
  max-width: 1400px;
  margin: 0 auto 40px;
  overflow: hidden;
}
.contact-wordmark img {
  width: 100%;
  filter: brightness(1.4);
  opacity: 0.9;
}

.contact-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-3);
}

/* ------------------------------------------------------------------
   REEL MODAL
   ------------------------------------------------------------------ */
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,8,12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.reel-modal.open { opacity: 1; pointer-events: auto; }
.reel-modal-close {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  z-index: 2;
}
.reel-modal-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  transform: rotate(90deg);
}
.reel-modal-close svg { width: 22px; height: 22px; }
.reel-modal-inner {
  width: 100%;
  max-width: 1280px;
  transform: scale(0.94);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.3,1);
}
.reel-modal.open .reel-modal-inner { transform: scale(1); }
.reel-modal-frame {
  aspect-ratio: 16/9;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7);
  background: #000;
}
.reel-modal-frame iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

/* ------------------------------------------------------------------
   Reveal on scroll
   ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2,0.7,0.3,1), transform 0.9s cubic-bezier(0.2,0.7,0.3,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(0.6,0.05,0.3,1);
}
.reveal-media.in { clip-path: inset(0 0 0 0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  :root { --edge: 28px; }
  .work-head { grid-template-columns: 1fr; }
  .work-head-right { align-items: flex-start; }
  .work-head-right p { text-align: left; }
  .labs-head { grid-template-columns: 1fr; }
  .labs-lede { justify-self: start; text-align: left; }
  .lab-row { grid-template-columns: 60px 1fr auto; gap: 20px; }
  .lr-desc { display: none; }
  .lr-media { display: none; }
  .ducks { grid-template-columns: repeat(2, 1fr); }
  .ip-cherino { grid-template-columns: 1fr; }
  .c2c-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-groups { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-bottom { flex-direction: column; gap: 10px; }
  .slide { grid-template-columns: 1fr; min-height: auto; }
  .slide-media { aspect-ratio: 16/10; }
  .menu-list a { font-size: 48px; gap: 16px; }
  .menu-list a span { display: none; }
  .menu-foot { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --edge: 20px; }
  .hero-content { padding: 100px var(--edge) 40px; }
  .ht-word { font-size: 68px; }
  .hero-marquee { bottom: 80px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-scroll, .hero-mute { bottom: 20px; }
  .manifesto { padding: 100px var(--edge); }
  .manifesto-foot { flex-direction: column; gap: 12px; }
  .work { padding: 80px 0; }
  .labs { padding: 100px var(--edge); }
  .lab-row { padding: 30px 0; }
  .lab-row:hover { padding: 30px 0; }
  .ip { padding: 120px var(--edge); }
  .ducks { grid-template-columns: 1fr 1fr; gap: 14px; }
  .duck-img { height: 200px; }
  .c2c-styles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .numbers { padding: 100px var(--edge); }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-card { min-height: 200px; padding: 26px 20px; }
  .contact { padding: 120px var(--edge) 30px; }
  .cherino-facts > div { grid-template-columns: 100px 1fr; gap: 10px; }
}
