:root {
  --ink: #111111;
  --ink-2: #555555;
  --line: #e4e2dd;
  --paper: #fbfaf7;
  --paper-2: #f2f0eb;
  --accent: #8e1838;
  --radius: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.15; }
i { font-style: normal; color: var(--accent); }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgb(251 250 247 / 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.mark { font-weight: 800; font-size: 15px; line-height: 1; letter-spacing: -0.02em; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); font-size: 15px; font-weight: 500; }
.top nav a:not(.btn-sm):hover { color: var(--accent); }
.btn-sm { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; }

/* buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600;
  transition: background .2s;
}
.btn:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 4vw, 48px);
}
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 800; }
.lead { margin: 24px 0 32px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-reel .frame:nth-child(2) { transform: translateY(-28px); }
.hero-reel .frame:nth-child(3) { transform: translateY(20px); }

/* frames */
.frame { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.frame-v { aspect-ratio: 9 / 16; }
.frame-h { aspect-ratio: 16 / 9; }
a:hover .frame img, a.frame:hover img { transform: scale(1.04); }

/* facts */
.facts {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.facts div { padding: 24px clamp(16px, 3vw, 32px); display: flex; flex-direction: column; gap: 4px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.facts span { font-size: 14px; color: var(--ink-2); }

/* blocks */
.block { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 48px); }
.block-alt { max-width: none; background: var(--paper-2); }
.block-alt > * { max-width: calc(var(--max) - 2 * clamp(20px, 4vw, 48px)); margin-left: auto; margin-right: auto; }
.block-head { margin-bottom: 40px; }
.block-head h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 800; }
.block-head p { margin: 10px 0 0; color: var(--ink-2); }
.genre { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
.more { display: inline-block; margin-top: 16px; font-weight: 600; border-bottom: 1.5px solid currentColor; }
.more:hover { color: var(--accent); }

/* serials */
.serials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.serial h3 { font-size: 23px; font-weight: 700; }
.serial-body { padding-top: 18px; }
.no {
  position: absolute; left: 12px; top: 10px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: rgb(17 17 17 / 0.7); padding: 2px 8px; border-radius: 6px;
}
.hook { margin: 10px 0 16px; color: var(--ink-2); }
.eps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.eps a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 2px; border-bottom: 1px solid var(--line); font-weight: 500;
}
.eps a:hover { color: var(--accent); }
.dur { color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 400; }
.ost { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.ost:hover { text-decoration: underline; }

/* comedy + shorts rows */
.comedy { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.comedy + .comedy { margin-top: 56px; }
.comedy-head h3 { font-size: 26px; font-weight: 700; }
.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.row-4 { grid-template-columns: repeat(4, 1fr); }
.short { display: flex; flex-direction: column; gap: 10px; }
.card-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.short:hover .card-title { color: var(--accent); }
.card-sub { margin-top: -6px; font-size: 13px; color: var(--ink-2); }

/* studio */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li {
  counter-increment: s; padding: 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 8px;
}
.steps li::before { content: "0" counter(s); font-size: 13px; font-weight: 700; color: var(--accent); }
.steps b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.steps span { color: var(--ink-2); }

/* contact */
.contact { background: var(--ink); color: #fff; text-align: center; padding: clamp(72px, 10vw, 128px) 24px; }
.contact .eyebrow { color: #e7a3b5; }
.contact h2 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 800; }
.contact i { color: #e7a3b5; }
.mail {
  display: inline-block; margin-top: 36px; padding: 16px 28px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: clamp(15px, 2vw, 18px);
  transition: background .2s, color .2s;
}
.mail:hover { background: var(--accent); color: #fff; }

.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 24px clamp(20px, 4vw, 48px); font-size: 13px; color: var(--ink-2);
}
.foot a:hover { color: var(--accent); }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-reel { max-width: 460px; }
  .serials { grid-template-columns: 1fr; }
  .comedy { grid-template-columns: 1fr; gap: 16px; }
  .row-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top nav a:not(.btn-sm) { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .row { grid-template-columns: repeat(2, 1fr); }
  .row .short:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame img { transition: none; }
}
