/* 극단 도깨비 홈페이지 스타일
   색: 먹(무대 검정) · 한지 · 도깨비 진홍 · 조명 금빛 · 쪽빛 (2026-10-24 새 로고 기준) */
:root {
  /* 퍼스널 컬러 — 도깨비 진홍(로고 붓글씨 색)이 대표색, 먹·한지가 바탕, 금빛·쪽빛이 보조 */
  --ink: #15110F;
  --ink-2: #1E1815;
  --ink-3: #2B231E;
  --paper: #F6EFE3;
  --paper-2: #ECE1CF;
  --line: #D9C9AE;
  --red: #C21C31;      /* 도깨비 진홍(로고 붓글씨 색): 큰 글씨·장식 */
  --red-btn: #B21A2D;  /* 흰 글씨를 올리는 버튼 (흰 글씨 대비 6.8:1) */
  --red-d: #A01729;    /* 한지 위 작은 글씨·링크 (한지 대비 6.9:1) */
  --gold: #E8B04A;     /* 조명 금빛: 어두운 바탕 위 강조 */
  --jjok: #1F3B60;     /* 쪽빛: 교육·학교 프로그램 */
  --text: #2B231D;
  --text-soft: #5E5146;
  --on-ink: #F1E8DA;
  --on-ink-soft: #B9AB99;
  /* 글자체(2026-10-23 선정): 제목 함렛 — 붓으로 끊은 듯한 획 끝이 로고와 닮은 힘 있는 제목체 / 본문 프리텐다드 */
  --display: "Hahmlet", "Noto Serif KR", "AppleMyungjo", serif;
  --serif: "Hahmlet", "Noto Serif KR", "AppleMyungjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display-w: 800;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red-btn); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ── 헤더 ───────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-ink);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid, .site-header.is-open { background: rgba(21, 17, 15, .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { display: block; height: 40px; width: auto; }
@media (max-width: 640px) { .brand__logo { height: 32px; } }
.nav ul { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: .04em; opacity: .86; padding: 6px 0; border-bottom: 2px solid transparent; transition: opacity .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; border-color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: rgba(21, 17, 15, .97); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .is-open .nav { max-height: 80vh; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav a { display: block; font-size: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

/* ── 공통 버튼·라벨 ───────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red-btn); color: #fff; }
.btn--red:hover { background: var(--red-d); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: rgba(255, 255, 255, .1); }
.btn svg { width: 18px; height: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .18em; color: var(--red-d); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-ink .eyebrow, .section--ink .eyebrow, .section--ink-2 .eyebrow, .hero .eyebrow, .show-hero .eyebrow { color: var(--gold); }

/* ── 첫 화면 ─────────────────────── */
.hero { position: relative; min-height: max(620px, 100svh); display: grid; align-items: end; color: var(--on-ink); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { z-index: -2; }
.hero__media video { opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 17, 15, .8) 0%, rgba(21, 17, 15, .42) 36%, rgba(21, 17, 15, 0) 62%),
    radial-gradient(120% 80% at 70% 30%, rgba(21, 17, 15, 0) 0%, rgba(21, 17, 15, .12) 62%, rgba(21, 17, 15, .6) 100%),
    linear-gradient(180deg, rgba(21, 17, 15, .45) 0%, rgba(21, 17, 15, 0) 20%, rgba(21, 17, 15, .08) 58%, rgba(21, 17, 15, .9) 100%);
}
.hero__inner { padding: 160px 0 clamp(64px, 10vh, 120px); }
.hero h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(56px, 11vw, 150px); line-height: .95; margin: 18px 0 22px; letter-spacing: -.01em; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.hero__lead { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.7; max-width: 26em; margin: 0 0 34px; color: #f3e9da; text-shadow: 0 2px 18px rgba(0, 0, 0, .75), 0 0 4px rgba(0, 0, 0, .4); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 28px; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; color: var(--on-ink-soft); text-decoration: none; }
.hero__scroll::after { content: ""; display: inline-block; width: 1px; height: 56px; margin-top: 12px; background: linear-gradient(var(--on-ink-soft), transparent); }
@media (max-width: 640px) { .hero__scroll { display: none; } }

/* ── 섹션 ───────────────────────── */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink-2 { background: var(--ink-2); color: var(--on-ink); }
.section--paper-2 { background: var(--paper-2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head h2 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(34px, 5.2vw, 62px); line-height: 1.08; margin: 0; }
.section-head p { margin: 0; font-size: 18px; color: var(--text-soft); }
.section--ink .section-head p, .section--ink-2 .section-head p { color: var(--on-ink-soft); }
.grain::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  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 type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .32 0 0 0 .18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 소개 */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.about__quote { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.55; margin: 0; color: var(--ink); }
.about__quote em { font-style: normal; color: var(--red); }
.about__body p { margin: 0 0 1.2em; color: var(--text-soft); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: clamp(48px, 7vw, 88px); grid-column: 1 / -1; }
.pillar { border-top: 2px solid var(--red); padding: 22px 4px 0; }
.pillar h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 26px; margin: 0 0 8px; line-height: 1.2; }
.pillar p { margin: 0; color: var(--text-soft); font-size: 16px; }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* 연표 */
.timeline { list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.timeline li { padding: 20px 18px 6px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.timeline b { display: block; font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 30px; line-height: 1.1; color: var(--ink); }
.timeline span { font-size: 15px; color: var(--text-soft); }

/* 작품 카드 */
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.work { position: relative; display: block; text-decoration: none; color: var(--on-ink); }
.work__img { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.95); }
.work:hover .work__img img { transform: scale(1.045); filter: saturate(1.1); }
.work__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 18px; }
.work h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 28px; line-height: 1.15; margin: 0; }
.work__year { font-size: 14px; font-weight: 800; color: var(--gold); letter-spacing: .08em; white-space: nowrap; }
.work p { margin: 6px 0 0; font-size: 15px; color: var(--on-ink-soft); line-height: 1.6; }
.work__tag { position: absolute; top: 14px; left: 14px; background: rgba(21, 17, 15, .78); color: var(--on-ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(4px); }

/* 영상 */
.feature-video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9); }
.feature-video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; margin-top: 34px; }
.vcard { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--on-ink); }
.vcard__img { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--ink-3); }
.vcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard:hover .vcard__img img { transform: scale(1.05); }
.vcard__img::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .3s; }
.vcard:hover .vcard__img::after { background: rgba(0, 0, 0, .15); }
.play { position: absolute; z-index: 1; right: 14px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.vcard:hover .play { transform: scale(1.1); }
.play svg { width: 18px; height: 18px; margin-left: 3px; fill: #fff; }
.vcard b { display: block; margin-top: 12px; font-size: 17px; }
.vcard span { font-size: 14px; color: var(--on-ink-soft); }
.yt-note { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); }
.yt-note p { margin: 0; color: var(--on-ink-soft); }

/* 극장 밖에서 */
.programs { display: grid; gap: clamp(56px, 8vw, 110px); }
.program { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.program:nth-child(even) .program__media { order: 2; }
.program__media { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.program__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.program__media > :first-child { grid-row: span 2; aspect-ratio: 4 / 3.4; }
.program__media > :not(:first-child) { aspect-ratio: 1; }
.program__media video { width: 100%; border-radius: 10px; grid-column: 1 / -1; aspect-ratio: 16 / 9; background: #000; }
.program h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; margin: 10px 0 14px; }
.program p { margin: 0 0 1em; color: var(--text-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(194, 28, 49, .08); color: var(--red-d); }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } .program:nth-child(even) .program__media { order: 0; } }

/* 사진첩 */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filters button { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 700; cursor: pointer; color: var(--text-soft); transition: all .2s; }
.filters button:hover { border-color: var(--text-soft); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery { columns: 3 280px; column-gap: 14px; }
.gallery a { display: block; margin: 0 0 14px; break-inside: avoid; border-radius: 8px; overflow: hidden; position: relative; background: var(--paper-2); }
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery a.is-hidden, .gallery a.is-extra { display: none; }
.gallery-more { margin: 26px auto 0; display: flex; }

/* 문의 */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact__phone { display: inline-block; font-family: var(--display); font-weight: var(--display-w); font-size: clamp(44px, 7vw, 84px); line-height: 1; text-decoration: none; color: var(--on-ink); margin: 12px 0 18px; }
.contact__phone:hover { color: var(--gold); }
.contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact li { display: flex; gap: 14px; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.contact li b { color: var(--gold); min-width: 5.5em; }
.contact li span { color: var(--on-ink-soft); }
.sns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sns a, .sns span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; border: 1.5px solid rgba(255, 255, 255, .22); }
.sns a:hover { background: rgba(255, 255, 255, .08); }
.sns span { opacity: .5; cursor: default; }
.sns svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact li { flex-direction: column; gap: 2px; } }

/* 푸터 */
.site-footer { background: #0d0a08; color: var(--on-ink-soft); padding: 48px 0 56px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.site-footer .brand { color: var(--on-ink); }
.site-footer p { margin: 0; }

/* ── 작품 상세 페이지 ───────────── */
.show-hero { position: relative; color: var(--on-ink); background: var(--ink); padding: 140px 0 clamp(60px, 8vw, 100px); overflow: hidden; isolation: isolate; }
.show-hero__bg { position: absolute; inset: -40px; z-index: -2; background-size: cover; background-position: center; filter: blur(28px) brightness(.4) saturate(1.1); transform: scale(1.1); }
.show-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 17, 15, .3), rgba(21, 17, 15, .92)); }
.show-hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 5vw, 70px); align-items: end; }
.show-hero__poster { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9); }
.show-hero__poster { max-width: 400px; justify-self: start; }
.show-hero__poster img { width: auto; max-width: 100%; max-height: min(68vh, 620px); height: auto; }
.crumbs { font-size: 14px; color: var(--on-ink-soft); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.show-hero h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(46px, 8vw, 108px); line-height: 1; margin: 12px 0 18px; }
.show-hero__tagline { font-family: var(--serif); font-size: clamp(18px, 2vw, 23px); margin: 0 0 26px; color: #f3e9da; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; font-size: 16px; }
.facts dt { color: var(--gold); font-weight: 800; }
.facts dd { margin: 0; color: var(--on-ink); }
@media (max-width: 760px) { .show-hero .wrap { grid-template-columns: 1fr; } .show-hero__poster { max-width: 260px; } .show-hero__poster img { max-height: 46vh; } }
.show-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(36px, 6vw, 80px); align-items: start; }
.show-body .prose p { font-size: 18px; margin: 0 0 1.2em; }
.show-body .prose .eyebrow { margin-bottom: 18px; }
.credits { background: var(--paper-2); border-radius: var(--radius); padding: 26px 28px; font-size: 15px; }
.credits h2 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 28px; margin: 0 0 12px; }
.credits dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; }
.credits dt { font-weight: 800; color: var(--red-d); }
.credits dd { margin: 0; color: var(--text-soft); }
.credits .note { margin: 16px 0 0; font-size: 14px; color: var(--text-soft); border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 900px) { .show-body { grid-template-columns: 1fr; } }
.show-photos { columns: 3 240px; column-gap: 12px; }
.show-photos a { display: block; margin-bottom: 12px; border-radius: 8px; overflow: hidden; break-inside: avoid; }
.others { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.others .work h3 { font-size: 24px; }

/* ── 영상 창·사진 크게 보기 ─────── */
dialog { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; color: var(--on-ink); }
dialog::backdrop { background: rgba(10, 8, 6, .92); }
.dlg-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
.dlg-close:hover { background: var(--red); }
#video-dialog video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; }
#video-dialog p { text-align: center; margin: 14px 0 0; font-weight: 700; }
#lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; }
#lightbox img { max-height: 82vh; width: auto; border-radius: 6px; }
#lightbox figcaption { font-size: 15px; color: var(--on-ink-soft); text-align: center; }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
.lb-nav:hover { background: var(--red); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

/* 등장 애니메이션 */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── 2026-10 개편: 프로그램·축제·안내 페이지 ───────── */
.hero__lead strong { display: inline-block; font-weight: 800; font-size: 1.08em; color: #fff; margin-bottom: 4px; }
.hero__pause { position: absolute; left: var(--gutter); bottom: 24px; z-index: 2; background: rgba(21, 17, 15, .6); color: var(--on-ink); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer; }
.hero__pause:hover { background: rgba(21, 17, 15, .85); }
.work__img--poster img { object-fit: contain; }
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.offer { display: block; text-decoration: none; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -26px rgba(21, 17, 15, .5); transition: transform .3s var(--ease); }
.offer:hover { transform: translateY(-4px); }
.offer__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.offer__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.offer:hover .offer__img img { transform: scale(1.05); }
.offer .eyebrow { margin: 20px 22px 0; }
.offer h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 26px; line-height: 1.2; margin: 8px 22px 6px; color: var(--ink); }
.offer p { margin: 0 22px; font-size: 15.5px; line-height: 1.7; color: var(--text-soft); }
.offer__more { display: block; margin: 14px 22px 22px; font-size: 15px; font-weight: 800; color: var(--red-d); }
.offer--wide { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr; align-items: center; background: var(--paper-2); }
.offer--wide .offer__img { height: 100%; aspect-ratio: auto; min-height: 220px; }
@media (max-width: 640px) { .offer--wide { grid-template-columns: 1fr; } .offer--wide .offer__img { aspect-ratio: 4 / 3; min-height: 0; } }
.event-box { margin-top: clamp(48px, 7vw, 80px); padding: 26px 28px; border-radius: var(--radius); background: var(--paper-2); border-left: 4px solid var(--red); }
.event-box h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 30px; margin: 0 0 12px; color: var(--ink); }
.event-box p { margin: 0; color: var(--text-soft); }
.event-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.event-box li { font-weight: 800; font-size: 15.5px; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.section--paper-2 .event-box { background: var(--paper); }
.section--paper-2 .event-box li { background: var(--paper-2); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.info { padding: 22px 24px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.section--paper-2 .info { background: var(--paper); }
.grain .info { background: rgba(255, 255, 255, .55); }
.info h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--red-d); }
.info p { margin: 0; font-size: 16px; color: var(--text-soft); line-height: 1.7; }
.ticks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; max-width: 760px; }
.ticks li { position: relative; padding-left: 30px; font-size: 18px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; counter-reset: st; }
.steps li { counter-increment: st; padding: 22px 22px 20px; border-radius: 12px; background: rgba(255, 255, 255, .55); border-top: 3px solid var(--red); }
.steps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--display); font-weight: var(--display-w); font-size: 30px; color: var(--red); line-height: 1; margin-bottom: 8px; }
.steps b { display: block; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--text-soft); font-size: 15.5px; line-height: 1.7; }
.small-note { margin: 18px 0 0; font-size: 15px; color: var(--text-soft); }
.section--ink .small-note { color: var(--on-ink-soft); }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row img:last-child { display: none; } }
.show-hero--page { padding-bottom: clamp(56px, 7vw, 90px); }
.show-hero--page .wrap { grid-template-columns: 1fr; }
.show-hero--page h1 { font-size: clamp(48px, 8vw, 104px); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta h2 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.15; margin: 10px 0 10px; }
.cta p { margin: 0; max-width: 40em; color: var(--on-ink-soft); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__btns svg { fill: currentColor; }
.event-list li { display: grid; gap: 2px; border-radius: 12px; padding: 10px 16px; }
.event-list li b { font-weight: 800; }
.event-list li span { font-size: 13px; font-weight: 700; color: var(--red-d); }
.program__media--poster { display: block; }
.program__media--poster img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; aspect-ratio: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 50px -24px rgba(21, 17, 15, .6); }
.program__media--poster > a { aspect-ratio: auto; display: block; }

/* ── 접수 양식 · 일정 달력 · 새 소식 ─────────────── */
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px -30px rgba(21, 17, 15, .5); color: var(--text); }
.form-card h2 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 8px 0 6px; color: var(--ink); }
.form-card h3 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 30px; margin: 0 0 14px; color: var(--ink); }
.form-card__lead { margin: 0 0 18px; color: var(--text-soft); font-size: 15.5px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.fld { display: grid; gap: 5px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.fld--full { grid-column: 1 / -1; }
.fld .req { color: var(--red-d); }
.fld input, .fld select, .fld textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); width: 100%; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(194, 28, 49, .15); }
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--text-soft); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.form__foot .btn { border: 0; }
.form-msg { margin: 0; font-size: 15px; font-weight: 700; }
.form-msg.is-ok { color: #2f7a3e; }
.form-msg.is-err { color: var(--red-d); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.form-card--ink { background: var(--paper); }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact__links .btn { min-height: 44px; font-size: 15px; }

dialog.form-dialog { max-width: min(680px, 94vw); max-height: 92vh; overflow: auto; }
dialog.form-dialog .dlg-close { position: sticky; float: right; top: 8px; margin: 8px 8px 0 0; z-index: 2; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: var(--red-btn); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); }
.fab:hover { background: var(--red-d); }
@media (max-width: 640px) { .fab { right: 12px; bottom: 12px; padding: 12px 16px; font-size: 14px; } }

.cal { background: var(--paper); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); box-shadow: 0 20px 50px -30px rgba(21, 17, 15, .45); max-width: 900px; }
.cal__choose { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.cal__choose label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; }
.cal__choose input { accent-color: var(--red); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__head b { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: 30px; color: var(--ink); }
.cal__head button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 22px; cursor: pointer; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__wd { text-align: center; font-size: 13px; font-weight: 800; color: var(--text-soft); padding: 4px 0; }
.cal__wd.is-sun { color: var(--red-d); } .cal__wd.is-sat { color: var(--jjok); }
.cal__day { min-height: 68px; border-radius: 10px; padding: 6px 7px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: rgba(255, 255, 255, .5); border: 1px solid var(--line); font: inherit; text-align: left; color: var(--text); }
.cal__day b { font-size: 15px; }
.cal__day span { font-size: 11.5px; font-weight: 800; line-height: 1.3; }
.cal__day.is-empty { background: none; border: 0; }
.cal__day.is-past { opacity: .35; }
.cal__day.is-weekend { background: transparent; color: var(--text-soft); }
.cal__day.is-busy { background: #e2d8c8; color: #7c6e60; }
.cal__day.is-pending { background: #FBE6BF; border-color: var(--gold); }
.cal__day.is-pending span { color: #9a6a12; }
.cal__day.is-open { background: #fff; border-color: #9cc3a3; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.cal__day.is-open span { color: #2f7a3e; }
.cal__day.is-open:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(47, 122, 62, .7); }
@media (max-width: 560px) { .cal__day { min-height: 52px; padding: 4px; } .cal__day span { font-size: 10px; } .cal__day b { font-size: 13px; } }
.cal__legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-soft); }
.cal__legend li::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }
.cal__legend .is-open::before { background: #fff; border-color: #9cc3a3; }
.cal__legend .is-pending::before { background: #FBE6BF; border-color: var(--gold); }
.cal__legend .is-busy::before { background: #e2d8c8; }
.cal__legend .is-weekend::before { background: transparent; }
.cal__note { margin: 10px 0 0; font-size: 14px; color: var(--text-soft); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.news-item { margin: 0; background: rgba(255, 255, 255, .6); border-radius: 12px; overflow: hidden; }
.news-item img, .news-item video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #000; }
.news-item figcaption { padding: 10px 12px 12px; font-size: 15px; font-weight: 700; }
.news-item figcaption span { display: block; font-size: 13px; font-weight: 400; color: var(--text-soft); }

.policy { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 14px 24px; max-width: 900px; margin: 0; }
.policy dt { font-weight: 800; color: var(--red-d); }
.policy dd { margin: 0; color: var(--text-soft); }
@media (max-width: 640px) { .policy { grid-template-columns: 1fr; gap: 4px; } .policy dd { margin-bottom: 12px; } }
.site-footer a { color: inherit; }
.fab { transition: opacity .25s, transform .25s; }
.fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ── 2026-10 최종 로고 · 퍼스널 컬러 ─────────────── */
::selection { background: var(--red); color: #fff; }
.site-header.is-solid, .site-header.is-open { box-shadow: inset 0 -2px 0 var(--red); }
.brand:hover .brand__logo { opacity: .88; }

/* 첫 화면: 선이 그려지며 등장하는 상징 */
/* 첫 화면: 큰 로고(새 로고 2026-10-24) */
.hero h1.hero__logo { margin: 14px 0 22px; line-height: 0; font-size: 0; }
.hero__logo img { width: clamp(250px, 44vw, 600px); height: auto; filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .6)); }
.hero::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 6px; z-index: 1;
  background: linear-gradient(90deg, var(--red) 0 38%, var(--gold) 38% 52%, transparent 52%);
}

/* 어두운 구역 오른쪽 아래의 큰 상징(배경 무늬) */
.has-mark { overflow: hidden; isolation: isolate; }
.bg-mark { position: absolute; z-index: -1; right: -4vw; bottom: -3vw; width: min(560px, 66vw); height: auto; opacity: .08; pointer-events: none; }

/* 제목 위 눈썹 글: 짧은 빨간 선 대신 'ㄱ' 꺾쇠 */
.eyebrow::before { width: 22px; height: 10px; background: none; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: skewX(18deg); }

/* 바닥글 */
.site-footer { border-top: 3px solid var(--red); }
.footer-brand { display: grid; gap: 8px; }
.footer-brand .brand__logo { height: 44px; }
.footer-brand__slogan { margin: 0; font-family: var(--serif); font-size: 14px; color: var(--gold); }

/* 교육·학교 계열: 쪽빛 */
.offer--edu .eyebrow, .offer--edu .offer__more { color: var(--jjok); }
.offer { border-top: 4px solid var(--red); }
.offer--edu { border-top-color: var(--jjok); box-shadow: 0 18px 40px -26px rgba(31, 59, 96, .55); }
.tone-edu .section:not(.section--ink):not(.section--ink-2) .eyebrow { color: var(--jjok); }
.tone-edu .info h3 { color: var(--jjok); }
.tone-edu .steps li { border-top-color: var(--jjok); }
.tone-edu .steps li::before { color: var(--jjok); }
.tone-edu .ticks li::before { border-color: var(--jjok); }
.tone-edu .event-box { border-left-color: var(--jjok); }
.tone-edu .chips li { background: rgba(31, 59, 96, .08); color: var(--jjok); }
.videos-title { font-family: var(--display); font-weight: var(--display-w); letter-spacing: -.02em; font-size: clamp(26px, 3vw, 34px); margin: 48px 0 0; color: var(--on-ink); }
.videos-title + .videos { margin-top: 18px; }
.section--video { padding-bottom: clamp(24px, 4vw, 48px); }

/* 함렛 제목 다듬기 */
.hero h1 { font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.section-head h2 { line-height: 1.15; }
.show-hero h1 { font-weight: 900; letter-spacing: -.03em; }
.hero__lead, .show-hero__tagline { font-weight: 500; }
.footer-brand__slogan { font-weight: 600; }

/* 공연 좌석 예약 배너창 (첫 화면) · 메뉴 '좌석 예약' — site_config.json 의 reserve_notice. 공연이 끝나면 함께 빠집니다 */
.promo { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(21, 17, 15, .62); animation: promo-in .3s var(--ease); }
.promo[hidden] { display: none; }
.promo__card { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--ink); color: var(--on-ink); border: 1px solid rgba(232, 176, 74, .45); border-top: 5px solid var(--red); border-radius: 18px; padding: 28px 26px 0; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); outline: none; }
.promo__card:has(.promo__poster) { width: min(760px, 100%); display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 26px; padding-left: 22px; }
.promo__poster { grid-row: 1; align-self: start; margin-top: 2px; border-radius: 12px; overflow: hidden; }
.promo__poster img { display: block; width: 100%; height: auto; }
.promo__body { grid-row: 1; min-width: 0; }
.promo__card:has(.promo__poster) .promo__foot { grid-column: 1 / -1; margin-left: -22px; margin-top: 4px; }
@media (max-width: 700px) { .promo__card:has(.promo__poster) { display: block; padding-left: 26px; } .promo__poster { display: none; } .promo__card:has(.promo__poster) .promo__foot { margin-left: -26px; } }
.promo__x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; color: var(--on-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.promo__tag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .08em; padding: 4px 11px; border-radius: 8px; }
.promo__series { margin: 14px 0 2px; color: var(--gold); font-weight: 700; font-size: 15px; }
.promo h2 { margin: 0 0 14px; font-family: var(--display); font-weight: 900; font-size: clamp(34px, 8vw, 44px); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.promo__facts { margin: 0; display: grid; gap: 6px; font-size: 15.5px; }
.promo__facts div { display: grid; grid-template-columns: 3em 1fr; gap: 10px; }
.promo__facts dt { color: var(--on-ink-soft); font-weight: 700; }
.promo__facts dd { margin: 0; font-weight: 700; }
.promo__open { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(232, 176, 74, .14); border: 1px solid rgba(232, 176, 74, .6); color: var(--gold); font-weight: 800; font-size: 15px; line-height: 1.5; }
.promo__go { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin: 20px 0 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); }
.promo__qr { width: 132px; height: 132px; background: #fff; border-radius: 10px; padding: 6px; }
.promo__go .btn { width: 100%; justify-content: center; }
.promo__hint { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--on-ink-soft); }
.promo__short { margin: 6px 0 0; font-size: 13.5px; color: var(--on-ink-soft); }
.promo__short b { color: var(--gold); font-size: 15px; letter-spacing: .02em; }
.promo__foot { display: flex; justify-content: space-between; margin: 0 -26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.promo__foot button { flex: 1; border: 0; background: none; color: var(--on-ink-soft); font: inherit; font-size: 14.5px; padding: 14px; cursor: pointer; }
.promo__foot button + button { border-left: 1px solid rgba(255, 255, 255, .12); color: var(--on-ink); font-weight: 700; }
.promo__foot button:hover { background: rgba(255, 255, 255, .06); }
@keyframes promo-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: none) and (pointer: coarse) { .promo__qr, .promo__hint { display: none; } .promo__go { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .promo { animation: none; } }
.nav a.nav__reserve { opacity: 1; color: var(--gold); border-color: var(--gold); }
@media (max-width: 820px) { .nav a.nav__reserve { border-color: rgba(255, 255, 255, .08); } }
