@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root{
  --ink:#151515;--sub:#686868;--line:#dedede;--paper:#fff;
  --pink:#e32e8a;--blue:#367dd8;--mint:#31d8b7;--yellow:#ffd438;
  --content:1280px;--side:clamp(20px,4vw,56px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font-family:Pretendard,'Noto Sans KR',Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
h1,h2,h3,p{margin-top:0}
.wrap{width:min(var(--content),calc(100% - var(--side)*2));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:20px;top:-70px;z-index:999;padding:14px 20px;background:#111;color:#fff}
.skip-link:focus{top:20px}

/* Header */
.site-header{height:82px;background:#fff;border-bottom:1px solid #ececec;position:sticky;top:0;z-index:100}
.header-inner{height:100%;width:min(1440px,calc(100% - 48px));margin:auto;display:flex;align-items:center;justify-content:space-between}
.brand{display:inline-flex;align-items:center;gap:11px}
.brand-symbol{display:block;width:38px;height:38px;position:relative;background:var(--ink);overflow:hidden}
.brand-symbol i{position:absolute;border:5px solid var(--mint);border-radius:50%;width:30px;height:30px}
.brand-symbol i:first-child{left:-12px;top:-5px}
.brand-symbol i:last-child{right:-12px;bottom:-5px;border-color:var(--pink)}
.brand-copy{display:flex;flex-direction:column}
.brand-copy strong{font-size:17px;line-height:1.05;letter-spacing:-.6px}
.brand-copy small{font-size:9px;letter-spacing:1.2px;margin-top:4px;color:var(--sub)}
.main-nav{display:flex;gap:32px}
.main-nav a{font-size:15px;font-weight:650}

/* Footer */
.site-footer{background:#121212;color:#aaa;padding:58px 0;margin-top:60px}
.footer-inner{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:50px;align-items:start}
.footer-brand{color:#fff}
.footer-meta strong{display:block;color:#fff;margin-bottom:12px}
.footer-meta p,.footer-meta small{font-size:13px;line-height:1.7}
.footer-links{display:flex;justify-content:flex-end;gap:20px;flex-wrap:wrap;font-size:13px;align-items:center}
.footer-links button{border:0;background:none;color:#fff;border-bottom:1px solid #777;cursor:pointer}

/* Hero (home) */
.hero{--hero-accent:#31d8b7;min-height:640px;position:relative;overflow:hidden;background:#f1f1ed}
.hero-bg{position:absolute;inset:0 0 0 52%;background-image:linear-gradient(90deg,#f1f1ed 0%,rgba(15,15,15,.1) 20%,rgba(15,15,15,.34)),var(--hero-image);background-size:cover;background-position:center;filter:saturate(.8)}
.hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(241,241,237,.45),transparent 30%),linear-gradient(0deg,rgba(0,0,0,.18),transparent 45%)}
.hero-grid{min-height:580px;display:grid;grid-template-columns:46% 54%;align-items:center;position:relative;z-index:2}
.hero-copy{padding:56px 42px 40px 0}
.hero-topline{display:flex;align-items:center;gap:18px;font-size:11px;letter-spacing:1.7px;font-weight:800}
.hero-topline span:last-child{background:var(--hero-accent);padding:8px 12px;letter-spacing:0;color:#111}
.hero-kicker{font-weight:700;margin:28px 0 10px;font-size:16px}
.hero h1{font-size:clamp(42px,4.6vw,68px);line-height:1.1;letter-spacing:-.04em;margin-bottom:20px;word-break:keep-all}
.hero h1 em{font-style:normal;position:relative;z-index:0}
.hero h1 em:after{content:"";position:absolute;left:0;right:0;height:14px;bottom:4px;background:var(--hero-accent);z-index:-1}
.hero-summary{font-size:16px;line-height:1.75;color:#5d5d5d;max-width:540px}
.hero-meta{display:grid;grid-template-columns:1fr 1.3fr;border-top:1px solid #bdbdb7;margin:24px 0 0;max-width:560px}
.hero-meta div{display:grid;grid-template-columns:70px 1fr;padding:14px 16px 4px 0}
.hero-meta dt{font-size:13px;color:#777;margin:0}
.hero-meta dd{font-size:14px;font-weight:700;margin:0}
.hero-actions{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}
.button{min-height:50px;padding:0 20px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid var(--ink);font-size:14px;font-weight:700;border-radius:999px}
.button-dark{background:var(--ink);color:#fff}
.button-line{background:rgba(255,255,255,.5)}
.hero-visual{height:560px;position:relative}
.hero-poster-frame{position:absolute;width:min(300px,26vw);aspect-ratio:312/440;left:16%;top:50%;transform:translateY(-50%) rotate(1.4deg);box-shadow:0 28px 70px rgba(0,0,0,.35);background:#fff;border-radius:4px;overflow:hidden}
.hero-poster-frame img{width:100%;height:100%;object-fit:contain;background:#fff}
.hero-controls{height:64px;position:relative;z-index:3;display:flex;align-items:center;gap:18px}
.hero-progress{width:150px;height:2px;background:#bbb}
.hero-progress i{display:block;height:100%;background:#111;transition:.3s}
.hero-controls>span{font-size:11px;font-weight:700}
.round-buttons{display:flex;gap:6px;margin-left:auto}
.round-buttons button{width:42px;height:42px;border:1px solid #aaa;background:#fff;border-radius:50%;cursor:pointer;font-size:16px}
.round-buttons button:hover{background:#111;color:#fff;border-color:#111}

/* Section heading */
.section{padding:90px 0}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:40px;flex-wrap:wrap}
.section-heading h2{font-size:clamp(30px,3.4vw,46px);line-height:1.1;letter-spacing:-.03em;margin:10px 0 0}
.section-heading>p{font-size:15px;line-height:1.75;color:var(--sub);margin-bottom:5px}
.section-label{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--pink)}
.section-more-link{align-self:end;border-bottom:1px solid;padding-bottom:8px;font-weight:700;font-size:13px;white-space:nowrap}

/* Program carousel */
.program-tools{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.filter-tabs{display:flex;gap:8px;overflow-x:auto}
.filter-tabs button{min-height:42px;padding:0 18px;border:1px solid #d4d4d4;background:#fff;border-radius:30px;cursor:pointer;font-weight:650;white-space:nowrap}
.filter-tabs button.active{background:#111;color:#fff;border-color:#111}
.carousel-buttons{display:flex;gap:7px;flex:none}
.carousel-buttons button{width:42px;height:42px;border:1px solid #aaa;background:#fff;border-radius:50%;cursor:pointer;font-size:16px}
.program-viewport{margin-left:max(var(--side),calc((100vw - var(--content))/2));overflow-x:auto;scrollbar-width:none;padding-right:var(--side);scroll-snap-type:x proximity}
.program-viewport::-webkit-scrollbar{display:none}
.program-track{display:flex;gap:22px;width:max-content}
.program-card{width:clamp(220px,19vw,264px);scroll-snap-align:start}
.poster-link{display:block;aspect-ratio:2/2.83;background:#eee;overflow:hidden;border-radius:6px}
.poster-link img{width:100%;height:100%;object-fit:contain;background:#eee}
.program-card .card-copy{padding:16px 2px 0}
.program-card .genre{font-size:12px;color:var(--pink);font-weight:750}
.program-card .card-labels{display:flex;justify-content:space-between;align-items:center;gap:6px}
.program-card h3{font-size:17px;line-height:1.4;letter-spacing:-.01em;margin:8px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em}
.program-card p{font-size:13px;color:#666;margin:3px 0}
.program-card .card-actions{margin-top:14px}
.program-card .card-primary{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:700;border-top:1px solid #ddd;padding-top:12px}

/* Sub layout */
.sub-main{padding-top:0;background:#fff;color:#151515}
.sub-hero{padding:88px 0 64px;border-bottom:1px solid #e8e8e8;background:linear-gradient(135deg,#fff5fa 0%,#fff 56%,#fff8ed 100%)}
.eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.16em;color:var(--pink);margin-bottom:18px}
.sub-hero h1{font-size:clamp(42px,6vw,80px);line-height:1.02;letter-spacing:-.05em}
.sub-hero p{max-width:720px;margin-top:22px;color:#666;font-size:17px;line-height:1.8}
.breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;color:#888;margin-bottom:28px}
.breadcrumb a{color:#555}
.content-section{padding:60px 0}
.sub-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}
.sub-heading h2{font-size:38px;letter-spacing:-.04em}
.sub-heading p{color:#777;line-height:1.7}

/* Filters */
.performance-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.performance-filter button{border:1px solid #ddd;background:#fff;border-radius:999px;padding:10px 15px;font-weight:800;cursor:pointer}
.performance-filter button.active{background:#151515;color:#fff;border-color:#151515}
.search-box{margin-bottom:20px;max-width:340px}
.search-box input{width:100%;border:1px solid #ddd;border-radius:999px;padding:12px 18px;font:inherit;font-size:14px}
.search-box input:focus{outline:2px solid var(--pink);outline-offset:1px}
.result-count{color:#999;font-size:13px;margin-bottom:18px}
.result-count b{color:#151515}

/* Card grid */
.performance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.performance-tile{border:1px solid #e6e6e6;border-radius:18px;overflow:hidden;background:#fff;transition:.2s}
.performance-tile:hover{box-shadow:0 18px 40px rgba(0,0,0,.08);transform:translateY(-3px)}
.performance-tile>a:first-child{display:block;aspect-ratio:4/5;background:#eee;overflow:hidden}
.performance-tile img{width:100%;height:100%;object-fit:contain;background:#eee}
.performance-tile-body{padding:18px}
.tile-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}
.tile-tags span{padding:6px 8px;border-radius:999px;font-size:10px;font-weight:900;background:#f2f2f2}
.tile-tags .pink{background:#fff0f6;color:#c31d69}
.performance-tile h3{font-size:20px;line-height:1.35;min-height:54px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.performance-tile p{font-size:13px;color:#777;line-height:1.7;margin-top:10px}
.status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:900;padding:6px 9px;font-size:10px}
.status-now{background:var(--pink);color:#fff}
.status-upcoming{background:#f39b00;color:#fff}
.status-ended{background:#e9e9e9;color:#666}
.badge-review{background:#151515!important;color:#fff!important}

.empty{padding:80px 0;text-align:center;color:#999}

/* Detail hero */
.detail-hero{padding:70px 0;background:#161616;color:#fff}
.detail-grid{display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:64px;align-items:start}
.detail-poster{border-radius:18px;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.35);aspect-ratio:4/5;background:#2b2b2b}
.detail-poster img{width:100%;height:100%;object-fit:contain;display:block;background:#2b2b2b}
.detail-copy{padding-top:2px}
.detail-kicker{display:flex;gap:8px;flex-wrap:wrap}
.detail-kicker span{font-size:11px;font-weight:900;padding:7px 10px;border-radius:999px;background:#2b2b2b}
.detail-kicker .highlight{background:var(--pink)}
.detail-copy h1{font-size:clamp(34px,4.4vw,58px);line-height:1.15;letter-spacing:-.03em;margin-top:20px;word-break:keep-all}
.detail-summary-list{margin-top:28px;border-top:1px solid #3b3b3b;border-bottom:1px solid #3b3b3b}
.detail-summary-list>div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:18px;padding:11px 0;border-bottom:1px solid #2e2e2e;align-items:start}
.detail-summary-list>div:last-child{border-bottom:0}
.detail-summary-list dt{font-size:12px;font-weight:900;color:#a8a8a8;line-height:1.65;margin:0}
.detail-summary-list dd{font-size:15px;font-weight:750;line-height:1.65;color:#f4f4f4;word-break:keep-all;margin:0}
.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.detail-back{display:inline-flex;align-items:center;gap:6px;color:#bbb;font-size:13px;font-weight:700;margin-bottom:22px}
.detail-back:hover{color:#fff}

/* Article / description */
.article-grid-single{grid-template-columns:minmax(0,850px);justify-content:center;display:grid}
.article-copy h2{font-size:34px;margin-bottom:20px}
.article-copy p{font-size:16px;line-height:1.9;color:#555}
.review-note{margin-top:24px;padding:16px 18px;border-radius:14px;background:#fff7ea;border:1px solid #ffe2b0;color:#8a5a00;font-size:13px;line-height:1.7}

@media(max-width:900px){
  .performance-grid{grid-template-columns:repeat(2,1fr)}
  .detail-grid{grid-template-columns:260px 1fr;gap:32px}
  .footer-inner{grid-template-columns:1fr;gap:28px}
  .footer-links{justify-content:flex-start}
  .hero{min-height:0}
  .hero-bg{inset:0 0 auto;height:300px;background-position:center 30%}
  .hero-grid{display:flex;flex-direction:column;min-height:0}
  .hero-visual{order:1;width:100%;height:300px;margin:0}
  .hero-poster-frame{width:200px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(1deg)}
  .hero-copy{order:2;padding:28px 0 32px}
  .hero-controls{position:relative}
  .section{padding:60px 0}
  .round-buttons button,.carousel-buttons button{width:44px;height:44px}
}
@media(max-width:640px){
  .sub-hero{padding:58px 0 44px}
  .content-section{padding:44px 0}
  .performance-grid{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:1fr}
  .detail-poster{max-width:300px;margin:0 auto}
  .detail-summary-list>div{grid-template-columns:82px minmax(0,1fr);gap:12px}
  .program-card{width:72vw}
  .hero-meta{grid-template-columns:1fr 1fr}
  .hero-meta div{grid-template-columns:1fr;padding:10px 8px 2px 0}
  .hero-meta dt{margin-bottom:3px}
  .hero-actions{display:grid}
  .hero-actions .button{width:100%}
  .footer-inner{gap:22px}
  .footer-links{gap:14px}
}
