@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@300;500;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap");

:root {
  --bg: #07080a;
  --bg-2: #0f1114;
  --line: rgba(255,255,255,.12);
  --text: #ece9e3;
  --dim: rgba(236,233,227,.58);
  --faint: rgba(236,233,227,.32);
  --accent: #e8b25c;
  --serif: "Noto Serif KR", "AppleMyungjo", serif;
  --sans: "Noto Sans KR", -apple-system, "Apple SD Gothic Neo", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* 머리 */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  background: rgba(7,8,10,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand { white-space: nowrap; }
.brand b { font-family: var(--serif); font-weight: 500; letter-spacing: .32em; font-size: 13px; }
.brand span { font-size: 11px; letter-spacing: .12em; color: var(--dim); }
.nav { display: flex; gap: clamp(14px, 3vw, 34px); font-size: 13px; letter-spacing: .08em; }
.nav a { white-space: nowrap; color: var(--dim); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a.on { color: var(--text); border-color: var(--accent); }

/* 공통 */
.wrap { padding: 0 var(--gutter); max-width: 1480px; margin: 0 auto; }
.eyebrow { font-size: 11px; letter-spacing: .38em; color: var(--accent); text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 13px 22px; border: 1px solid var(--line); background: rgba(255,255,255,.04);
  font-size: 13px; letter-spacing: .1em; transition: background .2s, border-color .2s;
}
.btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.btn.solid { background: var(--text); color: #111; border-color: var(--text); }
.btn.solid:hover { background: #fff; }
footer { padding: 70px var(--gutter) 50px; color: var(--faint); font-size: 12px; line-height: 1.9; border-top: 1px solid var(--line); margin-top: 120px; }

/* 첫 화면 */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 4%, rgba(7,8,10,.2) 55%, rgba(7,8,10,.6)); }
.hero .in { position: relative; z-index: 2; padding-bottom: 12vh; }
.hero h1 { font-size: clamp(34px, 6.4vw, 92px); line-height: 1.12; letter-spacing: -.01em; margin: 18px 0 22px; }
.hero p { max-width: 640px; color: var(--dim); line-height: 1.85; font-size: 15px; margin: 0 0 34px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding-top: 120px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 44px); margin-top: 12px; }
.section-head p { color: var(--dim); max-width: 520px; line-height: 1.8; margin: 0; font-size: 14px; }

/* 상영회 카드 */
.exhibits { display: grid; gap: 28px; }
.exhibit { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); background: var(--bg-2); }
.exhibit .strip { position: relative; aspect-ratio: 7680 / 1080; overflow: hidden; background: #000; }
.exhibit .strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.exhibit:hover .strip img { transform: scale(1.03); }
.exhibit .strip i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.35); }
.exhibit .meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; flex-wrap: wrap; }
.exhibit h3 { font-size: 22px; }
.exhibit .meta small { display: block; color: var(--dim); margin-top: 8px; font-size: 13px; letter-spacing: .04em; }

/* 작품 격자 */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { cursor: pointer; padding: 8px 16px; border: 1px solid var(--line); background: none; font-size: 12px; letter-spacing: .14em; color: var(--dim); }
.chip.on { color: #111; background: var(--text); border-color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 40px 28px; }
.card { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; }
.card .ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease, opacity .3s; opacity: .9; }
.card:hover .ph img { transform: scale(1.05); opacity: 1; }
.card .ph .play { position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: .2em; padding: 6px 10px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.card h3 { font-size: 21px; margin: 18px 0 6px; }
.card .who { font-size: 12px; letter-spacing: .14em; color: var(--dim); }
.card .who em { font-style: normal; color: var(--accent); margin-left: 8px; }
.card p { color: var(--dim); font-size: 13.5px; line-height: 1.8; margin: 12px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 소개 */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.about p { color: var(--dim); line-height: 1.95; font-size: 15px; margin: 0 0 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.facts span { color: var(--dim); font-size: 12px; letter-spacing: .1em; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 30px; } }

/* 단독 상영 창 */
.modal { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); overflow-y: auto; }
.modal.open { display: block; }
.modal .box { max-width: 1280px; margin: 0 auto; padding: 70px var(--gutter) 60px; }
.modal video { width: 100%; background: #000; aspect-ratio: 16 / 9; }
.modal .close { position: fixed; top: 16px; right: var(--gutter); background: none; border: 1px solid var(--line); padding: 8px 14px; cursor: pointer; font-size: 12px; letter-spacing: .14em; }
.modal .info { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 28px; }
.modal .info h3 { font-size: 30px; }
.modal .info .who { color: var(--dim); margin-top: 10px; font-size: 13px; letter-spacing: .1em; }
.modal .info p { color: var(--dim); line-height: 1.9; margin: 0 0 18px; }
@media (max-width: 760px) { .modal .info { grid-template-columns: 1fr; gap: 16px; } }

@media (max-width: 640px) {
  .top { padding-top: 14px; }
  .brand span { display: none; }
  .brand b { letter-spacing: .2em; font-size: 12px; }
  .nav { font-size: 12px; gap: 12px; }
  .nav .opt { display: none; }
}

/* 12-03 대표님 「사업단 명 제대로 박혀있어야해」 — 지원 표기 */
.sponsor { display: flex; align-items: baseline; gap: 12px; margin: 0 0 22px; color: var(--dim); font-size: 13px; letter-spacing: .04em; }
.sponsor span { color: var(--faint); font-size: 11px; letter-spacing: .2em; }
.sponsor b { color: #fff; font-weight: 500; font-size: 15px; }
.hero-sp { margin: 34px 0 0; }
.gate-sp { justify-content: center; margin: 34px 0 0; }
.sponsor span { margin-right: 12px; }
.gate .sponsor { display: flex !important; }
.gate-sp b { font-size: 17px; }
