/* ============================================
   카우치와 스크린 2026 — Cinematic Design System
   ============================================ */

:root {
  /* Color — White + Yellow only */
  --bg: #0a0908;
  --bg-elev: #15110d;
  --bg-warm: #1a1612;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.86);
  --ink-mute: rgba(255, 255, 255, 0.5);
  --ink-dim: rgba(255, 255, 255, 0.22);
  --line: rgba(255, 255, 255, 0.10);
  --accent: #f0c93b;       /* cinema yellow */
  --accent-soft: #f5dc70;  /* lighter yellow */
  --cream: #ffffff;

  /* Type — all gothic / sans */
  --f-display: "Space Grotesk", "Pretendard Variable", sans-serif;
  --f-display-kr: "Pretendard Variable", "Space Grotesk", sans-serif;
  --f-body: "Pretendard Variable", "Space Grotesk", sans-serif;
  --f-mono: "IBM Plex Mono", "Courier New", monospace;
  --f-sans: "Pretendard Variable", "Space Grotesk", sans-serif;
  --f-italic: "Space Grotesk", "Pretendard Variable", sans-serif;

  /* Spacing */
  --pad-x: clamp(24px, 5vw, 96px);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-dur: 1.1s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor { display: none; }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--accent); color: var(--cream); }

/* ============================================
   Custom cursor
   ============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cream);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.2s;
}
.cursor.is-hover {
  width: 56px; height: 56px;
  background: var(--cream);
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--ink-mute);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0.4;
}

/* ============================================
   Film grain + vignette
   ============================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
  animation: grain 0.8s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-5%, -3%); }
  20%  { transform: translate(-10%, 5%); }
  30%  { transform: translate(7%, -10%); }
  40%  { transform: translate(-5%, 8%); }
  50%  { transform: translate(-10%, 3%); }
  60%  { transform: translate(5%, 0%); }
  70%  { transform: translate(0%, 8%); }
  80%  { transform: translate(-7%, -3%); }
  90%  { transform: translate(8%, -8%); }
  100% { transform: translate(0, 0); }
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
}

/* ============================================
   Page intro mask
   ============================================ */
.intro-mask {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.intro-mask.is-gone {
  animation: introOut 1.4s var(--ease-out) forwards;
}
@keyframes introOut {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
.intro-mask-text {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  opacity: 0;
  animation: introFade 1.2s ease 0.1s forwards;
}
@keyframes introFade {
  0%   { opacity: 0; letter-spacing: 0.6em; }
  40%  { opacity: 1; letter-spacing: 0.3em; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 28px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
  /* 초기 상태: 완전 투명 (hero 위에 깔끔하게 얹힘) */
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
/* 스크롤 시: 약한 투명바 + blur (본문과 분리) — JS가 is-scrolled 토글 */
.nav.is-scrolled {
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.78) 0%, rgba(10, 9, 8, 0.42) 65%, rgba(10, 9, 8, 0) 100%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.nav-brand {
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.4;
  display: flex;
  align-items: center;
}
.nav-brand b { font-weight: 600; color: var(--cream); }
.nav-brand span { color: var(--ink-mute); font-size: 12px; }
.nav-logo {
  display: block;
  height: 52px;
  width: auto;
}
@media (max-width: 700px) {
  .nav-logo { height: 38px; }
}
.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--f-sans);
  font-size: 17px;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  transition: opacity 0.3s, color 0.3s;
  opacity: 0.85;
  white-space: nowrap;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-admin {
  color: var(--ink-mute) !important;
  opacity: 0.8 !important;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.nav-admin::after { display: none; }
.nav-admin:hover {
  color: var(--cream) !important;
  opacity: 1 !important;
}

/* 햄버거 토글 — 데스크톱 숨김 */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.18);
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
  z-index: 110;
  position: relative;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s, background 0.3s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  background: rgba(255, 237, 53, 0.06);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 100px 24px 60px;
    z-index: 100;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.32s ease;
    overflow-y: auto;
    display: flex;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--cream);
    opacity: 1;
    padding: 8px 16px;
  }
  .nav-links a:hover,
  .nav-links a:focus-visible { color: var(--accent); }
  .nav-links a.nav-admin {
    margin-top: 16px;
    padding: 14px 28px;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  body.nav-open { overflow: hidden; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  filter: contrast(1.05) saturate(0.85);
  animation: heroZoom 24s var(--ease) infinite alternate;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.25) 0%, rgba(10,9,8,0.4) 40%, var(--bg) 100%);
}
@keyframes heroZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}

/* Light leak / projector beam */
.hero-beam {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 60vw;
  height: 60vh;
  background: radial-gradient(ellipse at top, rgba(232, 184, 154, 0.18) 0%, transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  animation: beamFlicker 5s ease-in-out infinite;
}
@keyframes beamFlicker {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
  73%      { opacity: 0.95; }
  87%      { opacity: 0.6; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.hero-meta-top {
  position: absolute;
  top: 110px; left: var(--pad-x); right: var(--pad-x);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  z-index: 3;
  font-weight: 500;
}
.hero-meta-top span { font-weight: 500; }
.hero-meta-top .reveal { animation-delay: 0.5s; }

@media (max-width: 700px) {
  .hero-meta-top { font-size: 13px; top: 90px; }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(80px, 15vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--cream);
  text-transform: none;
}
.hero-title .line span {
  white-space: nowrap;
}
.hero-title .line.l2 {
  margin-left: clamp(40px, 8vw, 120px);
  color: var(--accent-soft);
}
.hero-title .line {
  display: block;
}
.hero-title .line span {
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line span {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .hero-title .line.is-in span {
    opacity: 1;
    transform: translateY(0);
  }
  .hero-title .line.l2 span { transition-delay: 0.15s; }
}
.hero-title em {
  font-style: italic;
  font-family: var(--f-italic);
  color: var(--accent-soft);
  font-weight: 300;
}

.hero-sub {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: end;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-tagline {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 460px;
  font-weight: 300;
}

.hero-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.hero-meta b {
  display: block;
  color: var(--cream);
  font-weight: 500;
  font-size: 14px;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border: 1px solid var(--ink-mute);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease);
  white-space: nowrap;
}
.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.hero-cta:hover { color: var(--bg); border-color: var(--cream); }
.hero-cta:hover::before { transform: translateY(0); }
.hero-cta .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.hero-cta:hover .arrow { transform: translate(4px, -4px); }

@media (max-width: 800px) {
  .hero-sub { grid-template-columns: 1fr; gap: 24px; }
  .hero-meta-top { font-size: 13px; }
}

/* ============================================
   Marquee
   ============================================ */
.marquee {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeMove 40s linear infinite;
  font-family: var(--f-italic);
  font-style: italic;
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 300;
  color: var(--ink-dim);
}
.marquee-track span {
  display: inline-block;
  padding: 0 32px;
}
.marquee-track span:nth-child(odd) {
  color: var(--ink);
}
.marquee-track .dot {
  color: var(--accent);
  font-style: normal;
  padding: 0 8px;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   Section base
   ============================================ */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 180px) var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.section.warm { background: var(--bg-elev); }
.section.warmer { background: var(--bg-warm); }
.section.with-bg-image {
  position: relative;
  isolation: isolate;
}
.section.with-bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  mix-blend-mode: lighten;
  z-index: -1;
  filter: grayscale(0.6) contrast(1.1);
}
.section.with-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
  z-index: -1;
}
.section.bg-projector::before { background-image: url("https://images.unsplash.com/photo-1485095329183-d0797cdc5676?auto=format&fit=crop&w=2400&q=85"); }
.section.bg-seats::before     { background-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=2400&q=85"); }
.section.bg-screen::before    { background-image: url("https://images.unsplash.com/photo-1517604931442-7e0c8ed2963c?auto=format&fit=crop&w=2400&q=85"); }
.section.bg-kucinema::before  { background-image: url("assets/ku-cinema.jpg"); opacity: 0.22; }

/* Full-bleed cinema divider — between sections */
.divider {
  position: relative;
  height: 90vh;
  min-height: 540px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.divider-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.4) contrast(1.1) brightness(0.7);
  transform: scale(1.05);
  transition: transform 0.4s ease-out;
}
.divider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,9,8,0.55) 30%, rgba(10,9,8,0.55) 70%, var(--bg) 100%);
}
.divider-content {
  position: absolute;
  inset: 0;
  padding: var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  z-index: 2;
  color: var(--cream);
}
.divider-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  justify-content: space-between;
}
.divider-meta-right { color: var(--ink-mute); }
.divider-quote {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: clamp(28px, 4vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 22ch;
  font-weight: 400;
}
.divider-quote-attr {
  display: block;
  margin-top: 16px;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Statement variant — for Interlude · I full manifesto */
.divider.is-statement {
  height: auto;
  min-height: 0;
  padding: 0;
}
.divider.is-statement .divider-content {
  position: relative;
  inset: auto;
  padding: clamp(64px, 7vw, 100px) var(--pad-x) clamp(72px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.divider.is-statement .divider-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.divider.is-statement .divider-content > * { position: relative; z-index: 2; }
.divider.is-statement::after {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10,9,8,0.40) 25%, rgba(10,9,8,0.45) 60%, var(--bg) 100%);
  z-index: 1;
}
.divider.is-statement .divider-meta {
  font-size: 12px;
  letter-spacing: 0.28em;
  margin-bottom: 48px;
}

.statement-body {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.statement-quote {
  font-family: var(--f-display-kr);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: rgb(255, 237, 53);
  max-width: 16ch;
  word-break: keep-all;
  padding-right: 24px;
  border-right: 0;
  position: sticky;
  top: 120px;
}

.statement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.statement-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.statement-list li:last-of-type { border-bottom: 0; padding-bottom: 0; }
.statement-num {
  font-family: var(--f-mono);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-top: 6px;
}
.statement-text h4 {
  font-family: var(--f-display-kr);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 12px;
}
.statement-text p {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
  color: var(--ink-soft);
}
.statement-sign {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.statement-sign b { color: var(--accent); font-weight: 500; letter-spacing: 0.15em; }

@media (max-width: 900px) {
  .statement-body { grid-template-columns: 1fr; gap: 48px; }
  .statement-quote {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-right: 0; padding-bottom: 32px;
    position: relative; top: auto;
  }
  .statement-list li { grid-template-columns: 40px 1fr; gap: 16px; }
}

.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

#viewing .section-head { font-weight: 600; }

.section-head {
  font-family: var(--f-display-kr);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 18ch;
}
.section-head em {
  font-style: italic;
  font-family: var(--f-italic);
  color: var(--accent-soft);
}

.section-lead {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
  font-weight: 300;
}

/* ============================================
   Festival intro
   ============================================ */
.festival {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}
.festival-body p { margin-bottom: 1.4em; }
.festival-body p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .festival { grid-template-columns: 1fr; }
}

/* ============================================
   Principles (numbered list)
   ============================================ */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 80px;
  border: 1px solid var(--line);
}
.principle {
  background: var(--bg);
  padding: 56px 40px 64px;
  position: relative;
  transition: background 0.5s var(--ease);
}
.principle:hover { background: var(--bg-warm); }
.principle-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 32px;
}
.principle-title {
  font-family: var(--f-display-kr);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.25;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.principle-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}
.principle-icon {
  position: absolute;
  top: 56px; right: 40px;
  width: 36px; height: 36px;
  opacity: 0.4;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.principle:hover .principle-icon {
  opacity: 1;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
}

/* ============================================
   Audience guide (4 steps)
   ============================================ */
.guide-list {
  margin-top: 80px;
  border-top: 1px solid var(--line);
}
.guide-row {
  display: grid;
  grid-template-columns: 80px 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  cursor: pointer;
  position: relative;
  transition: padding 0.5s var(--ease);
}
.guide-row::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.6s var(--ease-out);
}
.guide-row:hover::before { width: 100%; }
.guide-row:hover { padding-left: 16px; }
.guide-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.guide-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}
.guide-content h4 {
  font-family: var(--f-display-kr);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--cream);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.guide-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
}

@media (max-width: 800px) {
  .guide-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .guide-tag { grid-column: 2; }
  .guide-content { grid-column: 2; }
}

/* ============================================
   Films
   ============================================ */
.films {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 80px;
}
.film {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
}
.film-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.film-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: transform 1.2s var(--ease-out), filter 0.6s;
}
.film:hover .film-img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.1);
}
.film-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,9,8,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}
.film-info {
  width: 100%;
}
.film-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.film-title {
  font-family: var(--f-display-kr);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 38px);
  color: var(--cream);
  margin-bottom: 8px;
  line-height: 1.15;
}
.film-title em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 300;
}
.film-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease), opacity 0.4s, margin-top 0.4s;
  font-weight: 300;
}
.film:hover .film-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 12px;
}

@media (max-width: 800px) {
  .films { grid-template-columns: 1fr; }
}

/* ============================================
   Program (schedule)
   ============================================ */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 80px;
}
.program-visual {
  position: sticky;
  top: 120px;
  aspect-ratio: 3 / 4;
  background-image: url("https://images.unsplash.com/photo-1489599735734-79b4af4e58c3?auto=format&fit=crop&w=900&q=82");
  background-size: cover;
  background-position: center;
  filter: grayscale(0.5) contrast(1.1);
  position: relative;
}
.program-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg) 100%);
}
.schedule-list { display: flex; flex-direction: column; }
.schedule-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  position: relative;
}
.schedule-item:first-child { border-top: 1px solid var(--line); }
.schedule-time {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 500;
}
/* 소요시간(분) 표기 강조 — 휴식·토론 길이 잘 보이게 */
.schedule-mark .dur {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.schedule-title {
  font-family: var(--f-display-kr);
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 26px);
  color: var(--cream);
  line-height: 1.3;
  word-break: keep-all;
}
.schedule-mark {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
}

@media (max-width: 900px) {
  .program-grid { grid-template-columns: 1fr; }
  .program-visual { aspect-ratio: 16/10; position: relative; top: 0; }
  .schedule-item { grid-template-columns: 80px 1fr; gap: 6px 14px; padding: 14px 0; }
  .schedule-mark { grid-column: 2; }
}

/* ============================================
   Archive
   ============================================ */
.archive-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
.archive-years {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 40px;
}
.archive-year {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.archive-year-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.15em;
}
.archive-year-text {
  color: var(--ink-soft);
  font-size: 15px;
}
.archive-year-text b {
  color: var(--cream);
  font-weight: 500;
  margin-right: 12px;
}

.editions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.edition {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  min-height: 540px;
}
.edition-year {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.edition-meta {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.edition-title {
  font-family: var(--f-display-kr);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.edition-title em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--accent-soft);
}
.edition-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 300;
  flex: 1;
}
.edition-quote {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.edition.is-current {
  background: var(--bg-warm);
}
.edition.is-current .edition-year { color: var(--cream); }

@media (max-width: 900px) {
  .editions { grid-template-columns: 1fr; }
  .archive-intro { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: clamp(60px, 8vw, 120px) var(--pad-x) 60px;
  background: var(--bg);
}
.footer-mega {
  font-family: var(--f-display-kr);
  font-weight: 400;
  font-size: clamp(48px, 11vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 80px;
}
.footer-mega em {
  font-family: var(--f-italic);
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 300;
}
.footer-info {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col p, .footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.footer-col a { display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-meta {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .footer-info { grid-template-columns: 1fr 1fr; }
  .footer-meta { flex-direction: column; gap: 16px; }
}

/* ============================================
   Reveal animations
   ============================================ */
.reveal { /* visible by default; only hidden in non-reduced-motion */ }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.is-in {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* Split text — word reveal */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
}
.split-word > span {
  display: inline-block;
}
@media (prefers-reduced-motion: no-preference) {
  .split-word > span {
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .split-word.is-in > span { transform: translateY(0); }
}

/* Progress indicator */
.progress {
  position: fixed;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--accent);
  width: 0;
  z-index: 300;
  transition: width 0.1s linear;
}

/* Section index */
.section-idx {
  position: fixed;
  left: 28px;
  bottom: 32px;
  z-index: 150;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  mix-blend-mode: difference;
  color: var(--cream);
}
.section-idx b {
  color: var(--cream);
  font-weight: 500;
}

@media (max-width: 800px) {
  .section-idx { display: none; }
}

/* ============================================
   Mobile hamburger nav v2 (shared)
   Used by index.html + archive.html.
   admin/dashboard.html ships a duplicate inline copy of these rules.
   The legacy .nav-toggle styles above remain unused but harmless.
   ============================================ */
.nav-ham {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  line-height: 1;
  color: var(--cream);
}
.nav-ham-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.45s var(--ease), opacity 0.3s, width 0.3s var(--ease);
}
.nav-ham.is-open .nav-ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.is-open .nav-ham-line:nth-child(2) { opacity: 0; width: 0; }
.nav-ham.is-open .nav-ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 800px) { .nav-ham { display: flex; } }

.mob-nav {
  position: fixed;
  inset: 0;
  z-index: 210; /* must be above .nav (z-index 200) so brand/logo doesn't bleed through */
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.65s var(--ease);
  pointer-events: none;
}
.mob-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.6'/></svg>");
  animation: grain 0.8s steps(6) infinite;
}
.mob-nav.is-open {
  clip-path: inset(0 0 0% 0);
  pointer-events: auto;
}
.mob-nav-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 var(--pad-x) clamp(32px, 6vw, 56px);
  position: relative;
  z-index: 1;
}
.mob-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 82px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.mob-nav-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mob-nav-close-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0;
  transition: color 0.3s;
}
.mob-nav-close-btn:hover { color: var(--cream); }
.mob-nav-close-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: border-color 0.3s, background 0.3s;
  line-height: 1;
}
.mob-nav-close-btn:hover .mob-nav-close-icon {
  border-color: var(--accent);
  background: rgba(240,201,59,0.08);
}
.mob-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}
.mob-nav-links a {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(26px, 7.5vw, 44px);
  color: var(--cream);
  letter-spacing: -0.025em;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.2;
  word-break: keep-all;
  opacity: 0;
  transform: translateY(12px);
  transition: color 0.3s, opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.mob-nav-links a::before {
  content: attr(data-num);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  padding-top: 2px;
}
.mob-nav-links a:hover { color: var(--accent); }
.mob-nav-links a.mob-admin {
  color: var(--ink-mute);
  font-size: clamp(18px, 4.5vw, 28px);
  letter-spacing: -0.01em;
}
.mob-nav-links a.mob-admin::before { content: attr(data-num); color: var(--ink-mute); opacity: 0.5; }
.mob-nav-links a.mob-admin:hover { color: var(--cream); }
/* Staggered entry — extended to 7 slots for variable nav lengths */
.mob-nav.is-open .mob-nav-links a:nth-child(1) { opacity:1; transform:none; transition-delay:0.07s; }
.mob-nav.is-open .mob-nav-links a:nth-child(2) { opacity:1; transform:none; transition-delay:0.12s; }
.mob-nav.is-open .mob-nav-links a:nth-child(3) { opacity:1; transform:none; transition-delay:0.17s; }
.mob-nav.is-open .mob-nav-links a:nth-child(4) { opacity:1; transform:none; transition-delay:0.22s; }
.mob-nav.is-open .mob-nav-links a:nth-child(5) { opacity:1; transform:none; transition-delay:0.27s; }
.mob-nav.is-open .mob-nav-links a:nth-child(6) { opacity:1; transform:none; transition-delay:0.32s; }
.mob-nav.is-open .mob-nav-links a:nth-child(7) { opacity:1; transform:none; transition-delay:0.37s; }
.mob-nav-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.mob-nav-accent-bar {
  position: absolute;
  left: 0; top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  opacity: 0.4;
}

/* ============================================
   Apply CTA — 참가 신청하기 (#films 섹션 하단)
   ============================================ */
.apply-cta-wrap {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.apply-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
  white-space: nowrap;
}
.apply-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.apply-cta:hover { color: var(--accent); }
.apply-cta:hover::before { transform: translateY(0); }
.apply-cta .apply-cta-label,
.apply-cta .apply-cta-arrow {
  position: relative;
  z-index: 1;
}
.apply-cta-arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform 0.4s var(--ease);
}
.apply-cta:hover .apply-cta-arrow { transform: translate(4px, -4px); }
.apply-cta-note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 600px) {
  .apply-cta {
    width: 100%;
    justify-content: center;
    padding: 18px 24px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }
  .apply-cta-note { font-size: 10px; }
}
