:root {
  --bg: #0a0a0b; --bg-2: #141416; --fg: #f2efe9; --muted: #8b8883; --line: rgba(242,239,233,.12);
  --accent: #5b4bff; --ease: cubic-bezier(.76,0,.24,1); --ease-out: cubic-bezier(.16,1,.3,1);
  --pad: clamp(20px, 3.6vw, 64px);
  --font: 'Inter Tight', 'Pretendard Variable', Pretendard, system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --kr: 'Pretendard Variable', Pretendard, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lb-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
body::before { content: ''; position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.fh { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); mix-blend-mode: difference; color: #fff; }
.fh__logo { font-size: 24px; font-weight: 700; letter-spacing: -.05em; }
.fh__logo i, .ff i { color: var(--accent); font-style: normal; }
.fh__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-family: var(--kr); }
.fh__back { opacity: .8; transition: opacity .3s; }
.fh__back:hover { opacity: 1; }

.pill { position: relative; display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 99px; border: 1px solid currentColor; font-family: var(--kr); font-size: 14px; font-weight: 600; overflow: hidden; isolation: isolate; }
.pill::before { content: ''; position: absolute; inset: 0 -14%; z-index: -1; background: currentColor; border-radius: 50% 50% 0 0; transform: translateY(102%); transition: transform .65s var(--ease), border-radius .65s var(--ease); }
.pill:hover::before { transform: none; border-radius: 0; }
.pill span { transition: color .4s; }
.pill:hover span { color: #000; }

.intro { padding: clamp(140px, 18vw, 240px) var(--pad) clamp(48px, 6vw, 90px); }
.intro__tag, .cta__tag { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.intro__title { font-size: clamp(64px, 13.5vw, 250px); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.intro__title > * { display: inline-block; opacity: 0; transform: translateY(40%); animation: rise 1.2s var(--ease-out) forwards; }
.intro__title em { padding-right: .06em; color: var(--accent); animation-delay: .08s; }
.intro__title > :last-child { animation-delay: .16s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.intro__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(32px, 4vw, 60px); padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--kr); color: var(--muted); font-size: 16px; }
.intro__count { font-family: var(--font); font-size: 14px; color: var(--fg); white-space: nowrap; }

.feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 3vw, 56px); padding: 0 var(--pad) clamp(80px, 9vw, 140px); align-items: end; }
.feature__frame { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: var(--bg-2); }
.feature__frame video, .card__media video, .card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__frame video { transform: scale(1.04); transition: transform 1.4s var(--ease-out); }
.feature__frame:hover video { transform: scale(1); }
.feature__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.play { position: absolute; left: 50%; top: 50%; width: clamp(72px, 8vw, 116px); aspect-ratio: 1; margin: calc(clamp(72px, 8vw, 116px) / -2) 0 0 calc(clamp(72px, 8vw, 116px) / -2); border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; color: #fff; transition: transform .6s var(--ease-out), background .4s; }
.play svg { width: 34%; margin-left: 6%; }
.feature__frame:hover .play, .card:hover .play { transform: scale(1.12); background: var(--accent); border-color: var(--accent); }
.feature__hint { position: absolute; left: 24px; bottom: 20px; font-family: var(--kr); font-size: 13px; color: rgba(255,255,255,.8); }
.feature__no { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.feature__info h2 { font-family: var(--kr); font-size: clamp(28px, 3vw, 46px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.feature__desc { font-family: var(--kr); color: var(--muted); margin-top: 16px; font-size: 15px; white-space: pre-line; }
.feature__dur { margin-top: 22px; font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.4vw, 40px); padding: 0 var(--pad) clamp(100px, 10vw, 160px); }
.card { text-align: left; display: block; width: 100%; opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.card.is-in { opacity: 1; transform: none; }
.card:nth-child(even) { margin-top: clamp(0px, 8vw, 140px); }
.card__media { position: relative; display: block; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.card__media img { transition: transform 1.2s var(--ease-out), opacity .4s; }
.card__media video { opacity: 0; transition: opacity .4s; }
.card:hover .card__media img { transform: scale(1.05); }
.card.is-playing .card__media video { opacity: 1; }
.card .play { width: 72px; margin: -36px 0 0 -36px; opacity: 0; transform: scale(.7); }
.card:hover .play { opacity: 1; transform: scale(1); }
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.card__title { font-family: var(--kr); font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.03em; }
.card__dur { font-size: 13px; color: var(--muted); white-space: nowrap; }
.card__desc { font-family: var(--kr); font-size: 14px; color: var(--muted); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.empty { padding: 0 var(--pad) 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; font-family: var(--kr); color: var(--muted); font-size: 18px; }
.cta { padding: clamp(80px, 9vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.cta__link { display: inline-block; font-family: var(--kr); font-size: clamp(34px, 5.6vw, 96px); font-weight: 600; letter-spacing: -.05em; line-height: 1.1; transition: color .4s; }
.cta__link em { font-family: var(--serif); letter-spacing: -.02em; }
.cta__link span { display: inline-block; transition: transform .6s var(--ease-out); }
.cta__link:hover { color: var(--accent); }
.cta__link:hover span { transform: translateX(.25em); }
.ff { display: flex; justify-content: space-between; padding: 28px var(--pad); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ff a { color: var(--fg); font-weight: 700; letter-spacing: -.04em; }

.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px, 4vw, 60px); }
.lb__bg { position: absolute; inset: 0; background: rgba(5,5,6,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .4s; }
.lb__box { position: relative; width: min(100%, calc((100vh - 140px) * 16 / 9)); animation: pop .6s var(--ease-out); }
.lb video { width: 100%; max-height: calc(100vh - 140px); display: block; border-radius: 16px; background: #000; }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 14px; font-family: var(--kr); }
.lb__close { font-size: 14px; color: var(--muted); transition: color .3s; white-space: nowrap; }
.lb__close:hover { color: var(--fg); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .card:nth-child(even) { margin-top: 0; }
  .card .play { opacity: 1; transform: none; width: 56px; margin: -28px 0 0 -28px; }
  .intro__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) { .fh__back { display: none; } .pill { height: 42px; padding: 0 18px; } }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .intro__title > *, .card { opacity: 1; transform: none; } }
