/* ------------------------------------------------------------------
   STUDIO ES — Renewal
   Warm off-black film tone × kinetic motion × mint accent
------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   Design210 fonts
   210 태극고딕 — embedded (works for every visitor)
   210 상상명조 — referenced from the user's installed copy via local();
                  falls back to Instrument Serif until the files are embedded
------------------------------------------------------------------ */
@font-face {
  font-family: '210 Taegeukgothic';
  src: local('210 Taegeukgothic R'), local('210 태극고딕 R'),
       url('fonts/210-taegeukgothic-r.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: '210 SangSangMyeongjo';
  src: local('210 상상명조 B'), local('210 SangSangMyeongjo B'), local('210 SangSangMyeongjoB');
  font-weight: 600 900;
  font-style: normal;
}
@font-face {
  font-family: '210 SangSangMyeongjo';
  src: local('210 상상명조 M'), local('210 SangSangMyeongjo M'), local('210 SangSangMyeongjoM'),
       local('210 상상명조 L'), local('210 SangSangMyeongjo L');
  font-weight: 100 500;
  font-style: normal;
}

:root {
  --accent: #FF2D9B;                         /* BI primary — hot magenta */
  --accent-glow: rgba(255, 45, 155, 0.40);

  /* Vivid ink palette (StudioES BI) */
  --bg: #0E0E12;
  --bg-2: #15151C;
  --bg-3: #1E1E28;
  --line: rgba(244, 244, 248, 0.12);
  --line-strong: rgba(244, 244, 248, 0.24);

  --ink: #F4F4F8;
  --ink-soft: #C9C9D6;
  --ink-muted: #8A8A9C;
  --ink-faint: #55555F;

  --paper: #F4F4F8;

  /* on bright accent fills */
  --on-accent: #0E0E12;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-soft: 0 30px 80px -40px rgba(0,0,0,.6);

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1480px;

  --font-kr: '210 Taegeukgothic', 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', system-ui, sans-serif;
  --font-en: '210 Taegeukgothic', 'Pretendard Variable', Pretendard, ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Instrument Serif', '210 SangSangMyeongjo', 'Pretendard Variable', Pretendard, serif;
  /* Korean display headlines */
  --font-display-kr: '210 SangSangMyeongjo', 'Instrument Serif', '210 Taegeukgothic', serif;
  /* Latin wordmark (BI) */
  --font-grotesk: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-kr);
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: 'ss01', 'ss02';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }

/* ------------------------------------------------------------------
   Film grain overlay (toggleable)
------------------------------------------------------------------ */
body.grain::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .07;
  mix-blend-mode: overlay;
  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='1.6' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ------------------------------------------------------------------
   Type system
------------------------------------------------------------------ */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.h1 {
  font-family: var(--font-display-kr);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(56px, 11vw, 200px);
  margin: 0;
}
.h2 {
  font-family: var(--font-display-kr);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(40px, 6.4vw, 104px);
  margin: 0;
}
.h3 {
  font-family: var(--font-kr);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-size: clamp(22px, 2.2vw, 32px);
  margin: 0;
}

.italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
/* Korean accent words inside display headings: match the heading's font,
   weight, spacing and baseline — only the colour should differ */
.h1 .italic, .h2 .italic, .h3 .italic {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}

.mono { font-family: var(--font-mono); }

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
  max-width: 64ch;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------
   Layout
------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section {
  position: relative;
  padding-block: clamp(96px, 12vw, 200px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

.section-head .meta { display: flex; flex-direction: column; gap: 18px; }

hr.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* ------------------------------------------------------------------
   NAV
------------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 14, 18, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-grotesk);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 18px;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav .brand svg { width: 26px; height: 26px; }
.nav .brand .brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  object-fit: cover;
}
.nav .brand .wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  line-height: 1;
}
.nav .brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }

.nav .brand .es {
  font-family: var(--font-grotesk);
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(244, 237, 224, 0.06); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

/* Mobile popup-menu toggle (hamburger) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(244, 244, 248, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .25s ease, background .25s ease;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle.open { border-color: var(--accent); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile popup menu */
.nav-popup {
  position: fixed;
  top: 74px;
  right: var(--gutter);
  left: var(--gutter);
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(14, 14, 18, 0.94);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
  opacity: 0;
  transform: translateY(-10px) scale(.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.nav-popup.open { opacity: 1; transform: none; pointer-events: auto; }
.nav-popup a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 14px 16px;
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-popup a:active,
.nav-popup a:hover { color: var(--ink); background: rgba(244, 237, 224, 0.07); }
.nav-popup .nav-popup-cta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-kr);
  font-size: 15px;
}
.nav-popup .nav-popup-cta:hover { background: var(--accent); color: var(--on-accent); filter: brightness(1.05); }
.nav-popup .nav-popup-cta .arr {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--on-accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 13px;
}
.nav-popup-scrim {
  position: fixed; inset: 0;
  z-index: 100;
}

.nav .cta {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: transform .25s ease;
}
.nav .cta:hover { transform: translateY(-1px); }
.nav .cta .arr {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--on-accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 981px) {
  .nav-popup, .nav-popup-scrim { display: none; }
}

/* ------------------------------------------------------------------
   HERO
------------------------------------------------------------------ */
.hero {
  min-height: 100vh;
  padding-block: 120px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

/* Hero background — cycling thumbnails (Ken Burns) or YouTube iframe */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg .scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(14, 14, 18, 0.55) 55%, var(--bg) 100%),
    linear-gradient(180deg, rgba(14,14,18,0.55) 0%, rgba(14,14,18,0.3) 30%, rgba(14,14,18,0.85) 95%);
  z-index: 2;
}
.hero-bg .scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.12) 3px,
    rgba(0,0,0,0) 4px
  );
  mix-blend-mode: multiply;
  z-index: 3;
  opacity: .35;
}

.hero-bg .slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.18);
  transition: opacity 1.6s ease;
  filter: grayscale(0.25) brightness(0.55) contrast(1.08) saturate(0.85);
}
.hero-bg .slide.active {
  opacity: 1;
  animation: kenburns 10s ease-out forwards;
}
.hero-bg .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease;
  filter: grayscale(0.2) brightness(0.6) contrast(1.06) saturate(0.9);
  pointer-events: none;
}
.hero-bg .hero-video.active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg .hero-video { transition: none; }
}
@keyframes kenburns {
  from { transform: scale(1.18) translate(0, 0); }
  to   { transform: scale(1.28) translate(-1.5%, -1.5%); }
}

.hero-bg .yt-frame {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;        /* 16:9 */
  min-width: 177.78vh;    /* fill height-bound */
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  filter: grayscale(0.15) brightness(0.6) contrast(1.05);
}

.hero > .hero-status,
.hero > .wrap { position: relative; z-index: 4; }

.hero-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
}

.hero-headline {
  position: relative;
  display: grid;
  gap: clamp(8px, 1.2vw, 14px);
}
.hero-headline .l1, .hero-headline .l2, .hero-headline .l3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 30px);
}
.hero-headline .word {
  font-family: var(--font-display-kr);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-size: clamp(44px, 10.5vw, 220px);
  display: inline-block;
  max-width: 100%;
  position: relative;
  will-change: transform;
}
.hero-headline .it {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-size: clamp(44px, 10.8vw, 228px);
  line-height: 0.9;
  max-width: 100%;
  margin-right: 0.18em;
}
/* italic glyphs overhang their box — give the reveal mask extra side room
   so the swash 'r' tail isn't clipped */
.hero-headline .it .line-mask {
  padding-right: 0.32em;
  margin-right: -0.32em;
}
.hero-headline .frame-pill {
  display: inline-grid;
  place-items: center;
  padding: 0 clamp(20px, 2.6vw, 48px);
  height: clamp(72px, 12vw, 200px);
  border-radius: 999px;
  border: 2px solid var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 22px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.hero-headline .kr {
  font-family: var(--font-kr);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 36px);
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  margin-left: auto;
  max-width: 22ch;
  text-align: right;
  line-height: 1.35;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  padding: 32px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.hero-foot .col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-foot .col.right { text-align: right; align-items: flex-end; }
.hero-foot .col strong {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-foot .col span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.hero-foot .cta-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 64px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(244, 237, 224, 0.04);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.01em;
  font-weight: 500;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.hero-foot .cta-big:hover {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.hero-foot .cta-big .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
.hero-foot .cta-big:hover .dot { background: var(--on-accent); box-shadow: none; }

/* Status bar above hero */
.hero-status {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px var(--gutter) 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.hero-status .left, .hero-status .right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-status .right { justify-content: flex-end; }
.hero-status .rec {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
}
.hero-status .rec::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: rec 1.6s ease-in-out infinite;
}
.hero-status .center { color: var(--ink-soft); }

@media (max-width: 820px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .col.right { text-align: left; align-items: flex-start; }
  .hero-headline .kr { margin-left: 0; text-align: left; max-width: none; }
  .hero-status { grid-template-columns: 1fr; }
  .hero-status .right, .hero-status .left { justify-content: flex-start; }
}

/* ------------------------------------------------------------------
   MARQUEE
------------------------------------------------------------------ */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll linear infinite;
  animation-duration: calc(var(--mq-speed, 40) * 1s);
}
.marquee.alt .marquee-track { animation-direction: reverse; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-kr);
  font-size: clamp(22px, 3.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-item .sep {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
}
.marquee-item.muted { color: var(--ink-muted); font-weight: 500; }

/* Trusted-by marquee (smaller, all caps) */
.trusted {
  padding: 26px 0;
  background: transparent;
}
.trusted .marquee-track { gap: 64px; }
.trusted .marquee-item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 400;
}
.trusted .marquee-item .sep { color: var(--line-strong); font-style: normal; font-family: var(--font-mono); }

/* ------------------------------------------------------------------
   ABOUT
------------------------------------------------------------------ */
.about {
  background: var(--bg);
}
.about .lede-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.about .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--accent);
  margin: 32px 0 0;
  text-wrap: balance;
}
.about .since {
  margin-top: clamp(56px, 8vw, 120px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about .since .year {
  font-family: var(--font-display-kr);
  font-weight: 800;
  font-size: clamp(72px, 10vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.about .since .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
}
.about .since .center {
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: -0.01em;
  max-width: 36ch;
}

@media (max-width: 820px) {
  .about .lede-block { grid-template-columns: 1fr; }
  .about .since { grid-template-columns: 1fr; text-align: left; }
  .about .since .label { text-align: left; }
}

/* ------------------------------------------------------------------
   WORKS — showreel hero + featured grid
------------------------------------------------------------------ */
.works {
  background: var(--bg);
  position: relative;
}

.showreel {
  position: relative;
  width: 100%;
  height: min(82vh, 900px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b0907;
  cursor: pointer;
  margin-bottom: clamp(56px, 8vw, 112px);
}

.showreel .bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 1.2s ease, filter 1.2s ease;
  filter: grayscale(0.4) brightness(0.55) contrast(1.05);
}
.showreel:hover .bg { transform: scale(1.0); filter: grayscale(0) brightness(0.75) contrast(1.05); }
.showreel .vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.6) 100%),
    linear-gradient(180deg, rgba(14,14,18,0.4) 0%, transparent 30%, transparent 70%, rgba(14,14,18,0.8) 100%);
}

.showreel .play {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  margin-top: calc(clamp(180px, 22vw, 320px) / -2);
  margin-left: calc(clamp(180px, 22vw, 320px) / -2);
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 0 var(--accent-glow);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 0 var(--accent-glow); }
  100% { box-shadow: 0 30px 80px rgba(0,0,0,.4), 0 0 0 40px transparent; }
}
.showreel:hover .play { transform: scale(1.06); }
.showreel .play .triangle {
  width: 0; height: 0;
  margin-left: 8px;
  border-style: solid;
  border-width: 22px 0 22px 36px;
  border-color: transparent transparent transparent var(--on-accent);
}
.showreel .play .label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--on-accent);
  bottom: 22%;
  font-weight: 600;
}
.showreel .play .ring-text {
  position: absolute;
  inset: -10%;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.showreel .play .ring-text text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .25em;
  fill: var(--accent);
  text-transform: uppercase;
}

.showreel .corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.showreel .corner.tl { top: 28px; left: 28px; }
.showreel .corner.tr { top: 28px; right: 28px; color: var(--accent); }
.showreel .corner.bl { bottom: 28px; left: 28px; display: flex; gap: 24px; align-items: end; }
.showreel .corner.br { bottom: 28px; right: 28px; }
.showreel .corner.bl .scene { display: flex; flex-direction: column; gap: 4px; }
.showreel .corner.bl .scene b { font-weight: 500; color: var(--ink); }

.showreel .ticks {
  position: absolute;
  left: 28px; right: 28px;
  bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  height: 36px;
  pointer-events: none;
}
.showreel .ticks span {
  width: 1px;
  background: var(--line-strong);
}
.showreel .ticks span:nth-child(5n+1) { height: 100%; background: var(--ink-soft); }
.showreel .ticks span:nth-child(5n+1)::after {
  content: attr(data-t);
  position: absolute;
  bottom: -18px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--ink-muted);
}
.showreel .ticks span { height: 30%; position: relative; }

/* Works grid — alternating editorial layout */
.works-list {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.work:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.work:nth-child(even) .work-media { order: 2; }
.work:nth-child(even) .work-meta { order: 1; }

@media (max-width: 820px) {
  .work, .work:nth-child(even) { grid-template-columns: 1fr; }
  .work:nth-child(even) .work-media, .work:nth-child(even) .work-meta { order: initial; }
}

.work-media {
  position: relative;
  width: 100%;
  align-self: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-3);
  cursor: pointer;
}
.work-media .thumb {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.2,.8,.2,1), filter .6s ease;
  filter: grayscale(0.3) brightness(0.8) contrast(1.05);
}
.work-media:hover .thumb { transform: scale(1.06); filter: grayscale(0) brightness(0.95) contrast(1.05); }

/* App-dev placeholder media (no video thumbnail) */
.work-media .thumb-placeholder {
  background:
    radial-gradient(120% 120% at 18% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
    repeating-linear-gradient(135deg, var(--bg-2) 0 22px, var(--bg-3) 22px 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
}
.work-media:hover .thumb-placeholder { filter: none; }
.work-media .thumb-placeholder .ph-word {
  font-family: var(--font-grotesk);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 120px);
  letter-spacing: -0.03em;
  color: color-mix(in srgb, var(--accent) 90%, white);
  opacity: .92;
  text-shadow: 0 12px 40px var(--accent-glow);
}
.work-media .open-mini {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  transform: scale(.7);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s;
}
.work-media:hover .open-mini { transform: scale(1); opacity: 1; }
.work-media .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.7) 100%);
}
.work-media .corner {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 999px;
}
.work-media .corner .glyph {
  color: var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
}
.work-media .play-mini {
  position: absolute;
  bottom: 18px; right: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid; place-items: center;
  transform: scale(.85);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s;
}
.work-media:hover .play-mini { transform: scale(1); opacity: 1; }
.work-media .play-mini::after {
  content: '';
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent var(--on-accent);
}
.work-media .runtime {
  position: absolute;
  bottom: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ink-soft);
}

.work-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(8px, 2vw, 24px) 0;
}
.work-meta .nr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.work-meta h3 {
  font-family: var(--font-display-kr);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(34px, 4.4vw, 72px);
  margin: 0;
}
.work-meta h3 .it { color: var(--accent); }
.work-meta p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  max-width: 42ch;
}
.work-meta .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.work-meta .tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.work-meta .credits {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  font-size: 13px;
  margin-top: 8px;
}
.work-meta .credits dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  align-self: center;
}
.work-meta .credits dd {
  margin: 0;
  color: var(--ink);
  font-size: 13.5px;
}

/* Award strip */
.award {
  margin-top: clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-block: 1px solid var(--line);
}
.award .star {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(48px, 6vw, 88px);
  color: var(--accent);
  line-height: 1;
}
.award h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(20px, 1.8vw, 26px);
}
.award h4 .it { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--accent); }
.award p { margin: 4px 0 0; color: var(--ink-muted); font-size: 13px; font-family: var(--font-mono); letter-spacing: .15em; text-transform: uppercase; }
.award .year-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

@media (max-width: 820px) {
  .award { grid-template-columns: 1fr; gap: 16px; }
}

/* ------------------------------------------------------------------
   SERVICES — 5 letter cards, alternating reveal
------------------------------------------------------------------ */
.services {
  background: var(--bg-2);
}
.services-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 64px auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: padding .5s cubic-bezier(.2,.8,.2,1);
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 155, 0.04), transparent);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service:hover { padding-left: 12px; }

.service .nr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.service .title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.service .title .big {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: clamp(56px, 7vw, 104px);
  line-height: 0.9;
  font-weight: 400;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.service:hover .title .big { transform: translateY(-4px); }
.service .title .rest {
  font-family: var(--font-kr);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.service .desc {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 48ch;
}
.service .desc .tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.service .desc .tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(244, 237, 224, 0.04);
}

@media (max-width: 1100px) {
  .service {
    grid-template-columns: auto 1fr;
    gap: 8px 16px;
  }
  .service .desc { grid-column: 1 / -1; }
  .service .title .big { font-size: clamp(40px, 9vw, 72px); }
  .service .title .rest { font-size: clamp(22px, 5.4vw, 40px); }
}
@media (max-width: 420px) {
  .service .title .big { font-size: clamp(34px, 11vw, 48px); }
  .service .title .rest { font-size: clamp(18px, 5.6vw, 26px); }
  .service .title { gap: 4px; }
}

/* ------------------------------------------------------------------
   PROCESS — 4 stages, sticky-ish horizontal feel
------------------------------------------------------------------ */
.process {
  background: var(--bg);
  position: relative;
}
.process .rail {
  position: relative;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process .rail::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.process .step {
  position: relative;
  padding: 0 24px 0 0;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.process .step:first-child { border-left: 0; padding-left: 0; }

.process .step .dot {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-soft);
  margin-bottom: 24px;
  z-index: 2;
  transition: background .35s ease, color .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.process .step:hover .dot {
  background: var(--accent);
  color: var(--on-accent);
  transform: scale(1.08);
}
.process .step .phase {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.process .step h4 {
  margin: 0 0 14px;
  font-family: var(--font-kr);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(24px, 2.4vw, 36px);
}
.process .step h4 .kr {
  display: block;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  margin-top: 6px;
  font-family: var(--font-kr);
}
.process .step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .process .rail { grid-template-columns: 1fr 1fr; }
  .process .rail::before { display: none; }
  .process .step:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 600px) {
  .process .rail { grid-template-columns: 1fr; }
  .process .step { border-left: 0; padding-left: 0; padding-bottom: 32px; }
}

/* ------------------------------------------------------------------
   BEHIND THE SCENES — image slot collage
------------------------------------------------------------------ */
.bts { background: var(--bg-2); }
.bts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 14px;
  margin-top: 56px;
}
.bts-grid image-slot,
.bts-grid img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-3);
}
.bts-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* layout pattern */
.bts-grid .s1 { grid-column: 1 / span 4; grid-row: 1 / span 3; }
.bts-grid .s2 { grid-column: 5 / span 5; grid-row: 1 / span 2; }
.bts-grid .s3 { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.bts-grid .s4 { grid-column: 5 / span 3; grid-row: 3 / span 2; }
.bts-grid .s5 { grid-column: 8 / span 5; grid-row: 3 / span 2; }
.bts-grid .s6 { grid-column: 1 / span 4; grid-row: 4 / span 2; }
.bts-grid .s7 { grid-column: 5 / span 4; grid-row: 5 / span 2; }
.bts-grid .s8 { grid-column: 9 / span 4; grid-row: 5 / span 2; }

@media (max-width: 820px) {
  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .bts-grid .s1, .bts-grid .s2, .bts-grid .s3, .bts-grid .s4,
  .bts-grid .s5, .bts-grid .s6, .bts-grid .s7, .bts-grid .s8 {
    grid-column: auto; grid-row: auto;
  }
  .bts-grid .s1, .bts-grid .s5 { grid-column: span 2; }
}

.bts-caption {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------
   ORIGINALS — two-card spotlight
------------------------------------------------------------------ */
.originals {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.originals::before {
  content: 'ES';
  position: absolute;
  top: 80px; right: -40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(200px, 28vw, 480px);
  color: rgba(255, 45, 155, 0.06);
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
}
.originals .wrap { position: relative; z-index: 1; }

.originals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
@media (max-width: 980px) { .originals-grid { grid-template-columns: 1fr; } }

.original-card {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  padding-top: clamp(58px, 5.4vw, 78px);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  transition: border-color .35s ease, transform .35s ease;
}
.original-card:hover { border-color: var(--accent); transform: translateY(-4px); }

/* Top-left category tab — tells what each item is */
.card-type {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px 8px clamp(20px, 2vw, 28px);
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  border-bottom-right-radius: 14px;
  z-index: 2;
  box-shadow: 0 8px 22px -10px var(--accent-glow);
}
.card-type::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-accent);
  opacity: .65;
}

.original-card .stage {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.original-card .title-pair {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.original-card h3 {
  margin: 0;
  font-family: var(--font-display-kr);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}
.original-card .en {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--accent);
  letter-spacing: -0.02em;
}
.original-card .status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  white-space: nowrap;
}
.original-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}
.original-card .specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.original-card .specs > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.original-card .specs dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.original-card .specs dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.original-card .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-top: 4px;
  width: max-content;
  transition: gap .25s ease;
}
.original-card .cta-link:hover { gap: 16px; }

/* ------------------------------------------------------------------
   TESTIMONIALS
------------------------------------------------------------------ */
.testimonials { background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 980px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testi .stars {
  color: var(--accent);
  letter-spacing: 4px;
  font-size: 14px;
}
.testi blockquote {
  margin: 0;
  font-family: var(--font-kr);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.testi .author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testi .author .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
}
.testi .author b {
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 14px;
}
.testi .author span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------ */
.faq { background: var(--bg); }
.faq-list { border-top: 1px solid var(--line); margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-kr);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink);
  cursor: pointer;
  transition: padding .35s ease;
}
.faq-q:hover { padding-left: 12px; }
.faq-q .q-nr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.faq-q .toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.faq-q .toggle::before, .faq-q .toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: background .3s ease, transform .35s ease;
}
.faq-q .toggle::before { width: 12px; height: 1.5px; }
.faq-q .toggle::after { width: 1.5px; height: 12px; }
.faq-item.open .toggle { background: var(--accent); border-color: var(--accent); transform: rotate(180deg); }
.faq-item.open .toggle::before, .faq-item.open .toggle::after { background: var(--on-accent); }
.faq-item.open .toggle::after { transform: scaleY(0); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  padding-right: 80px;
}
.faq-item.open .faq-a > div {
  padding-bottom: 28px;
}

/* ------------------------------------------------------------------
   CONTACT
------------------------------------------------------------------ */
.contact {
  background: var(--bg-2);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: 48px;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-aside .row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contact-aside .row:first-of-type { border-top: 1px solid var(--line); }
.contact-aside .row .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-aside .row .val {
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact-aside .row .val a { color: var(--accent); }
.contact-aside .channels {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.contact-aside .channels a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: border-color .25s, color .25s;
}
.contact-aside .channels a:hover { border-color: var(--accent); color: var(--accent); }

/* Brand-identity messenger chips */
.contact-aside .channels a.ch-kakao,
.contact-aside .channels a.ch-insta {
  letter-spacing: .08em;
  text-transform: none;
  font-weight: 600;
  border: 0;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.contact-aside .channels a.ch-kakao {
  background: #FEE500;
  color: #341B1B;
}
.contact-aside .channels a.ch-kakao:hover {
  color: #341B1B;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(254, 229, 0, .7);
}
.contact-aside .channels a.ch-insta {
  background: linear-gradient(105deg, #F9CE34 0%, #EE2A7B 45%, #6228D7 100%);
  color: #fff;
}
.contact-aside .channels a.ch-insta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -12px rgba(221, 42, 123, .7);
}
.contact-aside .channels .ch-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form {
  display: grid;
  gap: 14px;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form label .lab {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.form input,
.form textarea,
.form select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: border-color .25s, background .25s;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 45, 155, 0.04);
}
.form textarea { resize: vertical; min-height: 120px; }

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  font-family: var(--font-kr);
  font-size: 13px;
  letter-spacing: -0.01em;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s ease;
  user-select: none;
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.chip:hover:not(.active) { border-color: var(--ink-soft); color: var(--ink); }

.form .submit {
  margin-top: 8px;
  height: 64px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform .25s, background .25s;
}
.form .submit:hover { transform: translateY(-2px); }
.form .submit:disabled { opacity: .6; cursor: default; transform: none; }
.form-note {
  margin: 14px 0 0;
  font-family: var(--font-kr);
  font-size: 14px;
  line-height: 1.5;
}
.form-note.ok { color: var(--accent); }
.form-note.err { color: #ff6b6b; }
.form .submit .arr {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--on-accent);
  color: var(--accent);
  display: grid; place-items: center;
}
.form .consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--ink-muted);
  letter-spacing: -0.005em;
}
.form .consent input { width: auto; }
.form .consent a { color: var(--accent); }

/* ------------------------------------------------------------------
   FOOTER
------------------------------------------------------------------ */
.footer {
  background: var(--bg);
  padding: clamp(80px, 10vw, 140px) 0 40px;
  border-top: 1px solid var(--line);
}
.footer-mega {
  font-family: var(--font-grotesk);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: .82;
  font-size: clamp(120px, 26vw, 480px);
  color: var(--ink);
  margin: 0;
  text-transform: uppercase;
}
.footer-mega .it {
  font-family: var(--font-grotesk);
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.footer-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
  font-size: 13.5px;
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .footer-row { grid-template-columns: 1fr 1fr; }
}
.footer-row h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 14px;
  font-weight: 400;
}
.footer-row a { display: block; padding: 4px 0; transition: color .2s; }
.footer-row a:hover { color: var(--accent); }
.footer-bot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .15em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* ------------------------------------------------------------------
   Reveal animations
------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }

/* Big text reveal — line mask */
.line-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  /* room for descenders/ascenders so tight line-heights don't clip glyphs;
     negative margins keep surrounding layout unchanged */
  padding: 0.12em 0.04em 0.22em;
  margin: -0.12em -0.04em -0.22em;
}
.line-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.in .line-mask > span,
.line-mask.in > span { transform: translateY(0); }

/* Cursor (custom) */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, opacity .25s;
  opacity: 0;
}
.cursor.show { opacity: 1; }
.cursor.big { width: 80px; height: 80px; }
@media (hover: none) { .cursor { display: none; } }

/* ------------------------------------------------------------------
   Channel palette — colorful per channel
   Each service / work / phase carries its own accent;
   the hero & brand-line stay mint as the through-thread.
------------------------------------------------------------------ */
:root {
  --ch-cine:    #FF6A00;   /* Cinematography · Film/Drama — Blaze orange */
  --ch-live:    #00E5FF;   /* Live broadcast — Neon cyan */
  --ch-viral:   #FF2D9B;   /* Viral ad film — Pop magenta */
  --ch-youtube: #C6FF00;   /* YouTube production — Arcade lime */
  --ch-brand:   #9D4EDD;   /* Brand & corporate — Purple */
  --ch-game:    #2DE38A;   /* Mobile game & app — Mint green */
}

/* derive each item's glow from its own accent */
.service,
.work,
.process .step,
.original-card { --accent-glow: color-mix(in srgb, var(--accent) 35%, transparent); }

/* Services — one channel colour each */
.services-list .service:nth-child(1) { --accent: var(--ch-cine); }
.services-list .service:nth-child(2) { --accent: var(--ch-live); }
.services-list .service:nth-child(3) { --accent: var(--ch-viral); }
.services-list .service:nth-child(4) { --accent: var(--ch-youtube); }
.services-list .service:nth-child(5) { --accent: var(--ch-brand); }
.services-list .service:nth-child(6) { --accent: var(--ch-game); }

/* hover wash follows the channel colour */
.service::before {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 10%, transparent), transparent);
}

/* Works — matched to the same channels (Brand · Drama · Live · Viral · YouTube) */
.works-list .work:nth-child(1) { --accent: var(--ch-brand); }
.works-list .work:nth-child(2) { --accent: var(--ch-cine); }
.works-list .work:nth-child(3) { --accent: var(--ch-live); }
.works-list .work:nth-child(4) { --accent: var(--ch-viral); }
.works-list .work:nth-child(5) { --accent: var(--ch-youtube); }
.works-list .work:nth-child(6) { --accent: var(--ch-brand); }
.works-list .work:nth-child(7) { --accent: var(--ch-game); }

/* Process — four phase colours */
.process .step:nth-child(1) { --accent: var(--ch-cine); }
.process .step:nth-child(2) { --accent: var(--ch-youtube); }
.process .step:nth-child(3) { --accent: var(--ch-live); }
.process .step:nth-child(4) { --accent: var(--ch-viral); }

/* Originals — spotlight colours (films + games) */
.originals-grid .original-card:nth-child(1) { --accent: var(--ch-viral); }
.originals-grid .original-card:nth-child(2) { --accent: var(--ch-youtube); }
.originals-grid .original-card:nth-child(3) { --accent: var(--ch-live); }
.originals-grid .original-card:nth-child(4) { --accent: var(--ch-game); }

/* ------------------------------------------------------------------
   ORIGINALS — interactive tool launcher + modal
------------------------------------------------------------------ */
.tool-launcher {
  --accent: var(--ch-youtube);
  margin-top: 32px;
  position: relative;
  z-index: 1;
  padding: clamp(28px, 3.4vw, 48px);
  padding-top: clamp(54px, 4.6vw, 64px);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  --accent-glow: color-mix(in srgb, var(--accent) 35%, transparent);
  transition: border-color .35s ease, transform .35s ease;
}
.tool-launcher:hover { border-color: var(--accent); transform: translateY(-4px); }
@media (max-width: 860px) { .tool-launcher { grid-template-columns: 1fr; } }

.tool-launcher .stage {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.tool-launcher .title-pair { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.tool-launcher .title-pair h3 {
  margin: 0;
  font-family: var(--font-display-kr);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1;
}
.tool-launcher .status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.tool-launcher .en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink-soft);
  margin-top: 6px;
}
.tool-launcher p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 56ch;
  text-wrap: pretty;
}
.tool-launcher-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.tool-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tool-run-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px var(--accent-glow); }
.tool-run-glyph { font-size: 12px; }
.tool-open-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-muted);
  transition: color .25s ease;
}
.tool-open-link:hover { color: var(--accent); }

/* Modal — isolated iframe so the tool can't touch homepage layout */
.tool-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}
.tool-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 9, 0.78);
  backdrop-filter: blur(6px);
  animation: tool-fade .25s ease;
}
@keyframes tool-fade { from { opacity: 0; } to { opacity: 1; } }
.tool-modal-frame {
  position: relative;
  width: min(1200px, 100%);
  height: min(820px, 92vh);
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 60px 140px -40px rgba(0,0,0,.85);
  animation: tool-pop .28s cubic-bezier(.2,.8,.2,1);
}
@keyframes tool-pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.tool-modal-bar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-3);
}
.tool-modal-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.tool-modal-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ch-youtube, var(--accent));
  box-shadow: 0 0 12px var(--accent-glow);
}
.tool-modal-actions { display: flex; align-items: center; gap: 14px; }
.tool-modal-ext {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-muted);
  transition: color .25s ease;
}
.tool-modal-ext:hover { color: var(--accent); }
.tool-modal-close {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tool-modal-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tool-modal-iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
  background: #faf9f5;
}

/* ------------------------------------------------------------------ — released mobile game showcase
------------------------------------------------------------------ */
.roomtidy {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.roomtidy .wrap { position: relative; z-index: 1; }

/* soft pink halo to echo the game art without breaking the dark tone */
.roomtidy::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 60vw; height: 60vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(255,45,155,0.14), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

/* Release card --------------------------------------------------- */
.rt-release {
  margin-top: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
@media (max-width: 980px) { .rt-release { grid-template-columns: 1fr; } }

.rt-id { display: flex; gap: clamp(18px, 2.4vw, 28px); align-items: flex-start; }
.rt-icon {
  width: clamp(84px, 9vw, 112px);
  height: clamp(84px, 9vw, 112px);
  border-radius: 24px;
  flex-shrink: 0;
  box-shadow: 0 20px 50px -22px rgba(255,45,155,0.6);
  border: 1px solid var(--line-strong);
}
.rt-id-text { min-width: 0; }
.rt-stage {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.rt-title-pair { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.rt-title-pair h3 {
  margin: 0;
  font-family: var(--font-display-kr);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1;
}
.rt-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.rt-id-text p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 16px 0 0;
  text-wrap: pretty;
}
.rt-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.rt-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-muted);
}

/* Google Play button */
.gp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gp-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -18px rgba(0,0,0,.8); }
.gp-icon { display: flex; }
.gp-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.gp-txt small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .7;
}
.gp-txt strong {
  font-family: var(--font-grotesk);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* feature graphic */
.rt-feature {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease;
}
.rt-feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.rt-feature img { width: 100%; height: auto; display: block; }

/* Specs ---------------------------------------------------------- */
.rt-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .rt-specs { grid-template-columns: repeat(2, 1fr); } }
.rt-specs > div { display: flex; flex-direction: column; gap: 6px; }
.rt-specs dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.rt-specs dd { margin: 0; font-size: 15px; font-weight: 500; }

/* Screenshot rail ------------------------------------------------ */
.rt-shots-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 64px 0 22px;
}
.rt-shots-count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-muted);
}
.rt-rail {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.rt-rail::-webkit-scrollbar { height: 8px; }
.rt-rail::-webkit-scrollbar-track { background: var(--bg-3); border-radius: 8px; }
.rt-rail::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
.rt-shot {
  margin: 0;
  flex: 0 0 clamp(300px, 46vw, 560px);
  scroll-snap-align: start;
}
.rt-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-3);
  transition: transform .35s ease, border-color .35s ease;
}
.rt-shot:hover img { transform: translateY(-4px); border-color: var(--accent); }
.rt-shot figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.rt-shot-cap { font-size: 14px; font-weight: 600; }
.rt-shot-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------------
   MOBILE TYPE GUARDS
   Keep oversized display type from overflowing lines / breaking
   layout on small screens. Korean wraps at word boundaries
   (keep-all); long latin words break instead of pushing the page.
------------------------------------------------------------------ */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 1024px) {
  /* Reduce vw growth so a single word can't exceed the line and clip at the edge */
  .hero-headline .word { font-size: clamp(40px, 9vw, 132px); }
  .hero-headline .it   { font-size: clamp(40px, 9.2vw, 136px); }
}

@media (max-width: 600px) {
  /* Display headings: cap the vw growth so words fit the viewport */
  h1 { font-size: clamp(40px, 13vw, 64px); }
  h2 { font-size: clamp(30px, 9.5vw, 48px); }
  h3 { font-size: clamp(22px, 6vw, 32px); }

  /* Hero headline — the largest type on the page */
  .hero-headline .word { font-size: clamp(36px, 11vw, 60px); }
  .hero-headline .it   { font-size: clamp(36px, 11.2vw, 62px); }
  .hero-headline .l1, .hero-headline .l2, .hero-headline .l3 { gap: 10px 14px; }
  .hero-headline .frame-pill {
    height: clamp(48px, 13vw, 64px);
    padding: 0 18px;
    font-size: 12px;
  }
  .hero-headline .kr {
    margin-left: 0;
    text-align: left;
    max-width: 100%;
    font-size: clamp(16px, 4.4vw, 20px);
  }

  /* About / section display type */
  .about .pull { font-size: clamp(28px, 8vw, 44px); }
  .about .since .num { font-size: clamp(56px, 18vw, 96px); }
  .section-title { font-size: clamp(20px, 6.5vw, 32px); }
  .work-meta h3 { font-size: clamp(28px, 8vw, 44px); }

  /* Marquee items can shrink; they scroll so needn't be huge */
  .marquee-item { font-size: clamp(22px, 7vw, 40px); }
}
