:root {
  color-scheme: dark;
  --ink: #12130f;
  --dark: #171913;
  --paper: #eeede3;
  --white: #f7f7ed;
  --muted: #b4b7aa;
  --acid: #dbff3f;
  --line: #373a2f;
  --font: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --display: 'Space Grotesk', var(--font);
  --gutter: clamp(1.25rem, 5vw, 4.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--font); font-size: 1rem; line-height: 1.55; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
em { font-style: normal; }
section { scroll-margin-top: 1rem; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--ink); background: var(--acid); }

.shell { width: min(100% - var(--gutter) * 2, 77rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .75rem; left: .75rem; padding: .6rem 1rem; color: var(--ink); background: var(--acid); opacity: 0; pointer-events: none; }
.skip-link:focus { opacity: 1; pointer-events: auto; }

.site-header { position: relative; z-index: 2; background: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--white); font: 700 .93rem/.95 var(--display); letter-spacing: -.035em; }
.brand-break { display: block; }
.spark { display: inline-block; flex: none; width: 1.85rem; aspect-ratio: 1; color: var(--acid); background: currentColor; clip-path: polygon(44% 0,56% 0,56% 35%,81% 10%,90% 19%,65% 44%,100% 44%,100% 56%,65% 56%,90% 81%,81% 90%,56% 65%,56% 100%,44% 100%,44% 65%,19% 90%,10% 81%,35% 56%,0 56%,0 44%,35% 44%,10% 19%,19% 10%,44% 35%); }
.navigation { display: flex; align-items: center; gap: clamp(1.2rem, 3.1vw, 2.65rem); color: #d2d5c7; font-size: .94rem; font-weight: 650; }
.navigation a:hover, .navigation a:focus-visible { color: var(--acid); }
.navigation .nav-apply { padding: .48rem .9rem; border: 1px solid #808e3e; color: var(--acid); }
.navigation .nav-apply:hover { background: var(--acid); color: var(--ink); }

.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: max(39.5rem, calc(100svh - 9.15rem)); overflow: hidden; overflow: clip; background: #22251a; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -2; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #484d33, #24291b 78%); }
.hero-media::after { content: ''; background: radial-gradient(ellipse at 49% 48%, #11130bd4 1%, #14170db3 38%, #13170c78 81%), linear-gradient(180deg, #12140e65, transparent 25%, transparent 73%, #10120ee0); }
.hero-video { position: absolute; top: 50%; left: 50%; width: max(100%, calc(100cqh * 16 / 9)); aspect-ratio: 16 / 9; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; filter: saturate(.68) contrast(1.04); transition: opacity .55s ease; }
.hero-media { container-type: size; }
.hero-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero.is-playing .hero-video { opacity: 1; }
.hero-frame { position: absolute; z-index: -1; inset: 1.6rem var(--gutter); pointer-events: none; background: linear-gradient(var(--white),var(--white)) left top / 1.15rem 1px, linear-gradient(var(--white),var(--white)) left top / 1px 1.15rem, linear-gradient(var(--white),var(--white)) right top / 1.15rem 1px, linear-gradient(var(--white),var(--white)) right top / 1px 1.15rem; background-repeat: no-repeat; opacity: .38; }
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 4.25rem 5rem; }
.hero-kicker { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--white); font-size: clamp(.96rem, 1.45vw, 1.2rem); font-weight: 700; letter-spacing: .1em; }
.hero-kicker span { width: 1.05rem; height: 1px; background: var(--acid); }
.hero h1 { margin: .45rem 0 .86rem; font-size: clamp(3rem, 9vw, 8.35rem); font-weight: 850; line-height: 1.04; letter-spacing: -.087em; word-spacing: .025em; }
.hero h1 em { color: var(--acid); }
.hero-tagline { font-size: clamp(1.09rem, 2.2vw, 1.68rem); font-weight: 650; letter-spacing: -.04em; }
.hero-countdown { margin: clamp(1.75rem, 5vh, 2.7rem) 0 1.55rem; }
.countdown-caption { color: #e8eacc; font-size: .91rem; font-weight: 650; letter-spacing: .035em; }
.countdown-caption time { margin-left: .35rem; color: var(--acid); font-weight: 730; }
.timer { display: grid; grid-template-columns: repeat(3, minmax(2.75rem, 1fr) auto) minmax(2.75rem, 1fr); align-items: start; gap: clamp(.22rem, 1.1vw, .72rem); margin: .38rem auto 0; }
.timer-item { display: grid; justify-items: center; min-width: clamp(3rem, 6vw, 4.3rem); }
.timer-item strong, .timer-separator { color: var(--white); font-family: var(--display); font-size: clamp(2.2rem, 4.7vw, 3.6rem); font-variant-numeric: tabular-nums; font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.timer-item > span { margin-top: .34rem; color: #d3d6c4; font-size: .875rem; font-weight: 600; }
.timer-separator { margin-top: -.08em; color: #b2bb81; opacity: .75; font-weight: 400; }
.button { display: inline-flex; min-height: 3.65rem; min-width: 11.5rem; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .82rem 1.22rem; border: 1px solid transparent; font-size: 1.08rem; font-weight: 800; letter-spacing: -.025em; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-primary { background: var(--acid); color: var(--ink); }
.button-primary:hover { border-color: var(--white); background: var(--white); }
.button-primary:focus-visible { outline-color: var(--acid); }
.button .button-spark { width: 1.02rem; color: inherit; }
.hero-bottom { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.video-credit { padding: .35rem 0; color: #d8dacc; font-size: .82rem; font-weight: 550; }
.video-credit span { margin-right: .31rem; color: var(--acid); }
.video-credit:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.video-toggle { flex: none; display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid #e1e6c47a; background: #14170b80; color: var(--white); cursor: pointer; }
.video-toggle:hover { border-color: var(--acid); color: var(--acid); }
.video-toggle > span, .play-icon::after { width: 0; height: 0; margin-left: 3px; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid currentColor; }
.video-toggle.is-playing > span { width: 10px; height: 12px; margin-left: 0; border: solid currentColor; border-width: 0 3px; }

.event-bar { background: var(--acid); color: var(--ink); }
.event-facts { display: grid; grid-template-columns: 1.5fr 1fr .85fr; }
.event-facts > div { display: flex; min-height: 4.65rem; align-items: center; gap: 1rem; }
.event-facts > div + div { padding-left: clamp(1rem, 5vw, 4rem); border-left: 1px solid #191b1740; }
.event-facts dt { font-size: .82rem; font-weight: 780; }
.event-facts dd { font-size: clamp(1.12rem, 2.2vw, 1.77rem); font-weight: 825; line-height: 1.05; letter-spacing: -.05em; }
.event-facts time, .date-dash { font-family: var(--display); font-weight: 700; }
.date-dash { margin-inline: .18em; }
.fact-days { margin-left: .65em; font-size: .7em; }

.section { padding-block: clamp(4.4rem, 9vw, 8rem); }
.section-label { margin-bottom: .85rem; color: var(--acid); font-size: .88rem; font-weight: 800; letter-spacing: .04em; }
.section h2 { font-size: clamp(2.45rem, 5.4vw, 5.1rem); font-weight: 825; line-height: 1.06; letter-spacing: -.08em; word-break: keep-all; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.75rem, 4.5vw, 3.6rem); }
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2.5rem, 9vw, 9rem); }
.about h2 em { color: var(--acid); }
.about-copy > p { max-width: 30rem; color: var(--muted); font-size: 1.12rem; line-height: 1.75; word-break: keep-all; }
.about-copy .about-inclusion { margin-top: 1.4rem; padding-left: 1rem; border-left: 2px solid var(--acid); }
.about-inclusion strong { color: var(--white); }

.schedule { color: var(--ink); background: var(--paper); }
.schedule .section-label, .apply .section-label { color: #444a22; }
.schedule-location { padding-bottom: .15rem; color: #44483b; text-align: right; line-height: 1.55; white-space: nowrap; }
.schedule-location strong { color: var(--ink); }
.schedule-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.schedule-list li { display: grid; grid-template-columns: minmax(9.5rem, 22%) minmax(8rem, 21%) 1fr; align-items: center; gap: 1.2rem; padding: 1.55rem 0; border-bottom: 1px solid #b2b1a4; }
.day { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.day time { font: 700 clamp(2.2rem, 5vw, 4.25rem)/1 var(--display); letter-spacing: -.085em; }
.day span { align-self: end; margin-bottom: .22rem; font-size: 1rem; font-weight: 800; }
.session-time { width: fit-content; padding: .34rem .65rem; border: 1px solid #8b8c7e; font: 650 .98rem/1.3 var(--display); white-space: nowrap; }
.schedule-list h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 825; line-height: 1.25; letter-spacing: -.045em; }
.schedule-list li div p { margin-top: .42rem; color: #484a3e; word-break: keep-all; }

.film-source { color: var(--muted); text-align: right; }
.films-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.35rem); }
.film-card { min-width: 0; border-bottom: 1px solid var(--line); }
.film-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.film-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease, filter .22s ease; filter: brightness(.77) saturate(.8); }
.film-cover:hover img, .film-cover:focus-visible img { transform: scale(1.035); filter: brightness(.95) saturate(.92); }
.play-icon { position: absolute; display: grid; width: 3.25rem; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--acid); color: var(--ink); }
.play-icon::after { content: ''; }
.film-meta { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 0; }
.film-meta h3 { font-size: clamp(1.04rem, 2.2vw, 1.47rem); font-weight: 725; letter-spacing: -.03em; word-break: keep-all; }
.film-meta h3 span { margin-right: .32rem; color: var(--acid); font-family: var(--display); }
.qr { display: block; flex: none; width: fit-content; background: white; }
.qr img { height: auto; image-rendering: pixelated; }

.apply { background: var(--acid); color: var(--ink); }
.apply-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: clamp(1.8rem, 7vw, 6rem); }
.apply-inner > div > p:not(.section-label) { margin: 1.15rem 0 1.6rem; max-width: 36rem; font-size: 1.1rem; line-height: 1.7; word-break: keep-all; }
.apply-qr { align-self: center; padding: .65rem; border: 1px solid #191b1765; }
.apply-qr figcaption { margin-top: .42rem; font-size: .875rem; font-weight: 800; text-align: center; }
.button-dark { color: var(--acid); background: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--white); border-color: var(--ink); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 6.1rem; }
.footer-inner p { color: var(--muted); font-size: .88rem; }
.footer-inner .spark { width: 1.2rem; }

@media (max-width: 760px) {
  .header-inner { min-height: 4.1rem; }
  .navigation { gap: .75rem; font-size: .86rem; }
  .navigation a:first-child { display: none; }
  .hero { min-height: max(36rem, calc(100svh - 8.2rem)); }
  .hero h1 { font-size: clamp(2.7rem, 11.3vw, 5.1rem); }
  .hero-frame { top: 1.2rem; }
  .event-facts { grid-template-columns: 1.43fr 1fr .84fr; }
  .event-facts > div { min-height: 4.1rem; flex-direction: column; justify-content: center; align-items: start; gap: .2rem; }
  .event-facts > div + div { padding-left: clamp(.58rem, 2.5vw, 1.15rem); }
  .event-facts dt { font-size: .78rem; }
  .fact-days { display: none; }
  .about { grid-template-columns: 1fr; gap: 1.35rem; }
  .schedule-list li { grid-template-columns: auto 1fr; gap: .75rem 1rem; padding-block: 1.15rem; }
  .schedule-list li > div { grid-column: 1 / -1; }
  .apply-inner { grid-template-columns: 1fr auto; }
  .apply-qr img { width: clamp(7rem, 22vw, 10.5rem); }
  .wide-break { display: none; }
}

@media (max-width: 480px) {
  .brand { font-size: .8rem; gap: .52rem; }
  .brand .spark { width: 1.4rem; }
  .navigation a:nth-child(3) { display: none; }
  .navigation .nav-apply { padding-inline: .54rem; }
  .hero h1 { margin-bottom: .7rem; }
  .hero-frame { inset-inline: 1rem; }
  .hero-bottom { bottom: 1rem; }
  .video-credit { font-size: .76rem; }
  .hero-media::after { background: linear-gradient(180deg, #15170e96, #14160fcb 38%, #14160fc7 65%, #11130ce6); }
  .section-heading { display: block; }
  .schedule-location, .film-source { margin-top: .85rem; text-align: left; }
  .films-grid { grid-template-columns: 1fr; gap: 1.65rem; }
  .apply-inner { grid-template-columns: 1fr; }
  .apply-qr { justify-self: start; }
  .apply-qr img { width: 8.5rem; }
  .footer-inner { align-items: start; flex-direction: column; justify-content: center; gap: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
