@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

/* ============================================================
   수원시티발레단 — 에디토리얼 발레단 (버건디 · 아이보리 · 잉크)
   디스플레이: Noto Serif KR / 본문: Pretendard / EN 병기: Playfair Display(이탤릭은 라틴 전용 — 한글 가짜 기울임 금지)
   ============================================================ */
:root {
  --red: #E4000C;
  --burgundy: #7A1420;
  --burgundy-deep: #571017;
  --gold: #A8783C;
  --gold-soft: #C7A36B;
  --gold-pale: #E7D4B5;
  --ivory: #FBF8F3;
  --cream: #F4ECDF;
  --cream-2: #ECE0CD;
  --white: #FFFFFF;
  --charcoal: #2A2326;
  --ink: #1B1618;
  --muted: #6E625C;
  --muted-soft: #8B8078;
  --on-dark: rgba(255,255,255,.96);
  --on-dark-dim: rgba(255,255,255,.74);
  --line: rgba(42,35,38,.13);
  --line-gold: rgba(168,120,60,.32);

  --font-display: "Noto Serif KR", "Nanum Myeongjo", serif;
  --font-en: "Playfair Display", "Noto Serif KR", serif;
  --font-body: "Pretendard", "Noto Sans KR", system-ui, -apple-system, "Malgun Gothic", sans-serif;

  --line-strong: rgba(42,35,38,.34);
  --track-caps: .12em;

  --maxw: 1460px;
  --maxw-narrow: 880px;
  --pad: clamp(20px, 4vw, 56px);
  --header-h: 72px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font-body); font-weight: 400;
  color: var(--charcoal); background: var(--ivory); line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; word-break: keep-all; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--burgundy); color: #fff; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--burgundy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
/* 풀블리드 변형 — 화면 한 줄을 다 쓰는 섹션(레퍼토리 셀렉터 등) */
.container--bleed { max-width: none; padding-inline: clamp(10px, 1.4vw, 24px); }
.section { padding-block: clamp(58px, 8vw, 108px); }

.eyebrow { font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .75rem; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--gold); vertical-align: .28em; margin-right: 12px; }

.section__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3.1rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.section__title em, .accent { color: var(--burgundy); font-style: normal; }

/* 구 골드 단축바 — 에디토리얼 개편으로 비표시 (HTML의 <hr class="rule">는 유지) */
.rule { display: none; }

.section__head { max-width: var(--maxw-narrow); }
.section__head.is-center { margin-inline: auto; text-align: center; }
.section__head.is-center .eyebrow::before { display: none; }
.section__lead { font-size: clamp(1.02rem, 1.9vw, 1.18rem); color: var(--muted); margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 500; font-size: .92rem; padding: 14px 30px; border-radius: 0; cursor: pointer; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); letter-spacing: .04em; }
.btn:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: var(--burgundy); color: #fff; }
.btn--on-dark { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================ Header ============================================================ */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.header__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 38px; width: auto; filter: brightness(0) invert(1); transition: filter .4s var(--ease); }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: #fff; letter-spacing: .01em; transition: color .4s var(--ease); white-space: nowrap; }
.header.is-solid { background: rgba(251,248,243,.9); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 10px 40px -28px rgba(0,0,0,.5); }
.header.is-solid .brand__logo { filter: none; }
.header.is-solid .brand__name { color: var(--ink); }
.header.is-solid .nav__link { color: var(--charcoal); }
.nav__list { display: flex; gap: 32px; }
.nav__link { position: relative; font-size: .96rem; font-weight: 500; color: rgba(255,255,255,.92); padding: 6px 0; transition: color .3s var(--ease); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--gold); transition: width .3s var(--ease); }
.nav__link:hover { color: var(--gold-soft); }
.header.is-solid .nav__link:hover { color: var(--burgundy); }
.nav__link:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s var(--ease); }
.header.is-solid .nav__toggle span { background: var(--ink); }
body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-open .nav__toggle span { background: var(--ink); }
@media (max-width: 860px) { .nav { display: none; } .nav__toggle { display: flex; } }

.mobile-nav { position: fixed; inset: 0; z-index: 95; background: var(--ivory); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--pad); transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden; }
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav__link { font-family: var(--font-display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 500; color: var(--ink); padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
.mobile-nav__link .en { font-family: var(--font-en); font-style: italic; font-size: 1.05rem; color: var(--gold); font-weight: 400; }

/* ============================================================ Hero ============================================================ */
/* 히어로 슬라이드쇼 — 대표 무대 4컷(그날·파키타·호두까기·미운오리) 크로스페이드. 컷별 object-position은 index.html 인라인(기본 center 50%). 활성 슬라이드는 미세 줌 정착(heroDrift)으로 자연스러운 전환. */
.hero { position: relative; height: 95svh; background: var(--ink); }
.hero__sticky { position: relative; height: 95svh; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--ink); overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__media img.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img.is-active { animation: heroDrift 8s var(--ease) both; }
  @keyframes heroDrift { from { transform: scale(1.045); } to { transform: scale(1); } }
}
/* 히어로 콘텐츠 순차 등장 — 로드 시 아이브로우→타이틀→태그라인→버튼→메타 (글래스 히어로 레퍼런스의 스태거 인상만 이식) */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { opacity: 0; transform: translateY(18px); animation: heroRise 1s var(--ease-out) forwards; }
  .hero__content .hero__eyebrow { animation-delay: .08s; }
  .hero__content .hero__title { animation-delay: .2s; }
  .hero__content .hero__tagline { animation-delay: .34s; }
  .hero__content .hero__actions { animation-delay: .48s; }
  .hero__content .hero__meta { animation-delay: .62s; }
  @keyframes heroRise { to { opacity: 1; transform: none; } }
}
@media (max-width: 768px) {
  .hero, .hero__sticky { height: 92svh; }
  /* 모바일 세로 화면은 커버 크롭이 좌우로만 일어나 object-position Y가 무효 —
     이미지 박스를 아래 기준으로 키워 위쪽을 잘라내면 인물이 화면 위로 올라온다 (index 히어로 컷별 지정) */
  .hero__media img[data-crop-mob="up-strong"] { top: auto; bottom: 0; height: 210%; } /* 위 52% 크롭 — 중앙 무용수 수직 다리 끝 보존 한계치 */
  .hero__media img[data-crop-mob="up-slight"] { top: auto; bottom: 0; height: 114%; }
}
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,12,14,.22) 0%, rgba(20,12,14,0) 30%, rgba(20,12,14,.08) 55%, rgba(20,12,14,.74) 100%), linear-gradient(90deg, rgba(20,12,14,.4) 0%, rgba(20,12,14,.02) 58%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--pad) clamp(96px, 13vh, 150px); }
.hero__content { max-width: 760px; }
.hero__eyebrow { color: rgba(255,255,255,.72); }
.hero__eyebrow::before { background: var(--gold-soft); }
.hero__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 4px 44px rgba(0,0,0,.45); }
.hero__title .ko { display: block; }
.hero__tagline { margin-top: 26px; font-size: clamp(1.1rem, 2.4vw, 1.45rem); color: var(--on-dark); font-weight: 300; max-width: 620px; }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 34px; color: rgba(255,255,255,.62); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.hero__meta span { display: inline-flex; align-items: center; }
@media (max-width: 600px) {
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 34px; }
}
/* 스크롤 큐는 디렉터 지시로 제거(2026-07-15) — 마크업·규칙 모두 삭제 */

/* 슬라이드 인디케이터 바 — main.js가 슬라이드 수만큼 생성, 클릭으로 해당 컷 이동 */
.hero__dots { position: absolute; left: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); bottom: clamp(42px, 6vh, 72px); z-index: 3; display: flex; gap: 6px; }
.hero__dots button { width: 34px; height: 16px; padding: 7px 0; margin: 0; border: 0; background: transparent; cursor: pointer; }
.hero__dots button::before { content: ""; display: block; height: 2px; background: rgba(255,255,255,.36); transition: background .35s var(--ease); }
.hero__dots button:hover::before { background: rgba(255,255,255,.7); }
.hero__dots button.is-active::before { background: var(--gold-pale); }
@media (max-width: 1100px) { .hero__dots { display: none; } } /* 카드가 시트로 전환되는 구간부터 스와이프 전용 */

/* 다음 무대 글래스 카드(시안 C) — 우하단, 타이틀(좌하단)과 대각 균형. >1100px 카드 / 이하 하단 시트 */
/* 대형 화면에서 구석에 박히지 않도록 카드·인디케이터를 콘텐츠 컨테이너(--maxw) 가장자리에 정렬, 하단 여백은 화면 높이에 비례 */
.hero__next { position: absolute; right: max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); bottom: clamp(42px, 6vh, 72px); z-index: 3; width: min(380px, 29vw); padding: 20px 22px 15px; background: rgba(15,8,10,.52); border: 1px solid rgba(255,255,255,.17); backdrop-filter: blur(13px); -webkit-backdrop-filter: blur(13px); }
.hero__next-label { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 4px; }
.hero__next-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero__next-label + .hero__next-item { border-top: 0; padding-top: 6px; }
.hero__next-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero__next-title { font-family: var(--font-display); font-weight: 600; font-size: .99rem; line-height: 1.45; color: #fff; word-break: keep-all; transition: color .25s var(--ease); }
.hero__next-title:hover { color: var(--gold-pale); }
.hero__next-meta { font-size: .77rem; color: rgba(255,255,255,.66); }
.hero__next-book { flex: none; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--gold-pale); border: 1px solid rgba(231,212,181,.55); padding: 4px 13px; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.hero__next-book:hover { background: var(--gold-pale); color: var(--burgundy-deep); }
.hero__next-all { display: block; margin-top: 2px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.14); font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.72); transition: color .25s var(--ease); }
.hero__next-all:hover { color: #fff; }
/* 카드 등장 — 히어로 텍스트 스태거가 끝난 뒤 마지막으로 떠오름 */
@media (prefers-reduced-motion: no-preference) {
  .hero__next { opacity: 0; animation: heroRise 1s var(--ease-out) .8s forwards; }
}
@media (max-width: 1100px) {
  /* 하단 시트 전환 — 카드 내용 그대로 풀폭 스택 */
  .hero__next { left: 0; right: 0; bottom: 0; width: auto; border-left: 0; border-right: 0; border-bottom: 0; padding: 11px var(--pad) 12px; }
  .hero__next-item { padding: 9px 0; }
  .hero__next-label + .hero__next-item { padding-top: 4px; }
  .hero__next-all { padding-top: 9px; }
}

/* Reveal-on-scroll (shared) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================ Showreel — lazy YouTube facade ============================================================ */
.showreel { background: var(--cream); }
.showreel__head { max-width: var(--maxw-narrow); margin-bottom: clamp(32px, 5vw, 56px); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: 0; overflow: hidden; background: var(--ink); box-shadow: 0 30px 70px -42px rgba(40,20,24,.5); }
.video::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(231,212,181,.18); pointer-events: none; z-index: 3; }

.video__facade { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; cursor: pointer; background-color: var(--ink); background-size: cover; background-position: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: #fff; font-family: var(--font-body); }
.video__facade::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,14,.28) 0%, rgba(20,12,14,.08) 40%, rgba(20,12,14,.62) 100%); transition: background .4s var(--ease); z-index: 1; }
.video__facade:hover::before, .video__facade:focus-visible::before { background: linear-gradient(180deg, rgba(20,12,14,.36) 0%, rgba(20,12,14,.16) 40%, rgba(20,12,14,.7) 100%); }

.video__play { position: relative; z-index: 2; width: clamp(64px, 9vw, 88px); height: clamp(64px, 9vw, 88px); border-radius: 50%; background: rgba(251,248,243,.14); border: 1.5px solid rgba(231,212,181,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease); box-shadow: 0 18px 50px -16px rgba(0,0,0,.6); }
.video__play svg { width: 38%; height: 38%; margin-left: 8%; color: var(--gold-pale); }
.video__facade:hover .video__play, .video__facade:focus-visible .video__play { transform: scale(1.08); background: var(--burgundy); border-color: var(--gold-soft); }
.video__facade:hover .video__play svg, .video__facade:focus-visible .video__play svg { color: #fff; }

.video__label { position: relative; z-index: 2; font-family: var(--font-en); font-style: italic; letter-spacing: .04em; font-size: clamp(.92rem, 1.8vw, 1.1rem); color: var(--gold-pale); text-shadow: 0 2px 18px rgba(0,0,0,.55); }

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .video__facade::before, .video__play { transition: none; }
}

/* ============================================================ About ============================================================ */
.about { background: var(--ivory); }
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__lead { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.32rem, 2.6vw, 1.85rem); line-height: 1.6; color: var(--ink); margin-bottom: 26px; }
.about__lead .accent { color: var(--burgundy); font-weight: 600; }
.about__body { color: var(--muted); font-size: 1.04rem; }
.about__body + .about__body { margin-top: 1.15em; } /* 문단 사이 여백 — 문단이 붙지 않게 */
.about__media { position: relative; margin: 0; }
.about__media-link { display: block; overflow: hidden; box-shadow: 0 26px 54px -40px rgba(40,20,24,.4); }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0; transition: transform .8s var(--ease); }
.about__media-link:hover img, .about__media-link:focus-visible img { transform: scale(1.035); }
.about__media-frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line-gold); border-radius: 0; z-index: -1; }
.about__info { margin-top: 34px; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 44px); }
.about__info-row { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
@media (max-width: 700px) { .about__info { grid-template-columns: 1fr; } }
.about__info-row dt { font-size: .7rem; font-weight: 600; letter-spacing: var(--track-caps); color: var(--muted); text-transform: uppercase; font-family: var(--font-body); font-style: normal; }
.about__info-row dd { margin: 0; color: var(--charcoal); font-size: 1rem; font-weight: 500; }
.about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 90px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-strong); }
.stat { text-align: left; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(18px, 2.4vw, 32px); }
.stat__num { display: block; font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; }
.stat__num .unit { font-size: .46em; color: var(--muted); margin-left: 3px; }
.stat__label { display: block; margin-top: 12px; color: var(--muted); font-size: .78rem; letter-spacing: .04em; line-height: 1.55; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 420px; }
  .about__media-frame { inset: 12px -12px -12px 12px; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .about__stats .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ============================================================ Repertoire — expanding selector ============================================================ */
.repertoire { background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%); padding-block: clamp(72px, 11vw, 150px); }
/* 홈 뉴스 티저 — .repertoire 그라디언트(→cream)를 이어받아 경계선 제거 (news.css의 .news-archive→.news-official 패턴과 동일) */
.news-teaser { background: var(--cream); }
.repertoire__head { margin-bottom: clamp(36px, 5vw, 56px); }
.rep-selector { display: flex; gap: 10px; height: clamp(560px, 76vh, 740px); }
.rep-panel { position: relative; flex: 1 1 0%; min-width: 0; overflow: hidden; cursor: pointer; border-radius: 0; border: 1px solid rgba(255,255,255,.12); background-size: cover; background-position: center; transition: flex-grow .8s var(--ease), box-shadow .6s var(--ease), filter .6s var(--ease), opacity .7s var(--ease), transform .7s var(--ease); box-shadow: 0 14px 36px -22px rgba(40,20,24,.6); filter: saturate(.92) brightness(.82); opacity: 0; transform: translateX(-36px); }
.rep-panel.in { opacity: 1; transform: none; }
.rep-panel.is-active { flex-grow: 6.2; filter: none; box-shadow: 0 30px 70px -30px rgba(40,20,24,.8); }
.rep-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,14,.05) 0%, rgba(20,12,14,.12) 45%, rgba(20,12,14,.88) 100%); transition: opacity .6s var(--ease); }
.rep-panel.is-active::after { background: linear-gradient(180deg, rgba(20,12,14,.12) 0%, rgba(20,12,14,.04) 38%, rgba(20,12,14,.55) 72%, rgba(20,12,14,.92) 100%); }
.rep-panel__spine { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 18px; display: flex; align-items: flex-end; justify-content: center; transition: opacity .4s var(--ease); }
.rep-panel__spine-title { writing-mode: vertical-rl; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: #fff; letter-spacing: .04em; text-shadow: 0 2px 14px rgba(0,0,0,.6); white-space: nowrap; }
.rep-panel.is-active .rep-panel__spine { opacity: 0; pointer-events: none; }
.rep-panel__content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: clamp(20px, 2.6vw, 30px); opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease) .15s, transform .5s var(--ease) .15s; pointer-events: none; max-width: 760px; }
.rep-panel.is-active .rep-panel__content { opacity: 1; transform: none; pointer-events: auto; }
.rep-num { font-family: var(--font-en); font-style: normal; font-weight: 500; color: var(--gold-pale); font-size: .98rem; letter-spacing: .08em; }
.rep-panel__eyebrow { color: rgba(255,255,255,.68); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 8px 0 10px; }
.rep-panel__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.14; }
.rep-panel__title .ko-sub { display: block; font-weight: 500; font-size: .5em; color: var(--on-dark-dim); margin-top: 4px; line-height: 1.25; }
.rep-panel__title .en { display: block; font-family: var(--font-en); font-style: italic; font-weight: 400; font-size: .46em; color: var(--on-dark-dim); margin-top: 4px; letter-spacing: .01em; }
.rep-panel__title .ko-sub + .en { margin-top: 4px; }
.rep-panel__tag { color: var(--gold-pale); font-size: clamp(1rem, 1.8vw, 1.15rem); margin: 10px 0 8px; font-weight: 500; }
.rep-panel__desc { color: var(--on-dark); font-size: .98rem; line-height: 1.7; font-weight: 300; max-width: 620px; }
.rep-panel__meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; }
.rep-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 500; letter-spacing: .02em; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.42); padding: 6px 14px; border-radius: 0; }
.rep-chip--gold { background: transparent; border-color: rgba(231,212,181,.55); color: var(--gold-pale); }
.rep-panel__credit { margin-top: 10px; font-size: .82rem; color: var(--on-dark-dim); letter-spacing: .01em; }
.rep-panel__thumbs { display: flex; gap: 8px; margin-top: 14px; }
.rep-thumb { width: 66px; height: 46px; border-radius: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.4); cursor: pointer; padding: 0; background: none; transition: border-color .3s var(--ease); }
.rep-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.rep-thumb:hover { border-color: var(--gold-pale); }
.rep-thumb:hover img { transform: scale(1.07); }
.rep-panel__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 22px; border-radius: 0; border: 1px solid var(--gold-pale); color: #fff; font-weight: 500; font-size: .88rem; letter-spacing: .04em; background: transparent; transition: background .3s var(--ease), color .3s var(--ease), gap .3s var(--ease); }
.rep-panel__more:hover { background: var(--gold-pale); color: var(--burgundy-deep); gap: 12px; }
@media (max-width: 860px) {
  .rep-selector { flex-direction: column; height: auto; gap: 16px; }
  .rep-panel { flex: none !important; width: 100%; aspect-ratio: 3/4; border-radius: 0; filter: none; opacity: 0; transform: translateY(28px); }
  .rep-panel.in { opacity: 1; transform: none; }
  .rep-panel::after, .rep-panel.is-active::after { background: linear-gradient(180deg, rgba(20,12,14,.05) 0%, rgba(20,12,14,.04) 30%, rgba(20,12,14,.6) 64%, rgba(20,12,14,.94) 100%); }
  .rep-panel__spine { display: none; }
  .rep-panel__content { position: absolute; opacity: 1; transform: none; pointer-events: auto; padding: 26px 22px; }
  .rep-panel__desc { font-size: .94rem; }
  .rep-panel__title { font-size: 1.7rem; }
}

/* ============================================================ History timeline ============================================================ */
.history { background: var(--cream); }
.history__wrap { max-width: 940px; margin-inline: auto; margin-top: clamp(40px, 6vw, 64px); position: relative; }
.history__wrap::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-soft), var(--line-gold) 90%, transparent); }
@media (min-width: 720px) { .history__wrap::before { left: 118px; } }
.tl-year { position: relative; padding-left: 30px; margin: 26px 0 12px; font-family: var(--font-display); font-weight: 600; color: var(--burgundy); font-size: 1.5rem; }
.tl-year::before { content: ""; position: absolute; left: -5px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 5px var(--cream); }
@media (min-width: 720px) { .tl-year { padding-left: 148px; } .tl-year::before { left: 113px; } }
.tl-item { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 2px; opacity: 0; transform: translateX(-18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.tl-item.is-visible { opacity: 1; transform: none; }
.tl-item::before { content: ""; position: absolute; left: -4px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); border: 2px solid var(--cream); }
@media (min-width: 720px) { .tl-item { grid-template-columns: 118px 1fr; gap: 30px; padding-left: 0; align-items: baseline; } .tl-item::before { left: 114px; top: 22px; } }
.tl-date { font-family: var(--font-body); font-style: normal; font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 600; font-size: .8rem; letter-spacing: .06em; white-space: nowrap; }
.tl-title { font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.5; }
.tl-venue { color: var(--muted); font-size: .9rem; margin-top: 1px; }
.tl-note { display: inline-block; margin-top: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--burgundy); background: transparent; border: 1px solid rgba(122,20,32,.28); padding: 3px 11px; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .tl-item { opacity: 1; transform: none; } }

/* ============================================================ Collaborations ============================================================ */
.collab { background: var(--ivory); }
.collab__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); margin-top: clamp(40px, 6vw, 60px); }
.collab-card { background: var(--white); border: 1px solid var(--line); border-radius: 0; padding: clamp(26px, 3vw, 36px); transition: border-color .4s var(--ease); }
.collab-card:hover { border-color: var(--line-strong); }
.collab-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.collab-card__icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; background: transparent; color: var(--burgundy); }
.collab-card__icon svg { width: 22px; height: 22px; }
.collab-card__rn { font-family: var(--font-en); font-style: normal; font-weight: 500; color: var(--gold-soft); font-size: .9rem; letter-spacing: .06em; }
.collab-card__title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--ink); }
.collab-card__list li { position: relative; padding: 9px 0 9px 18px; border-top: 1px solid var(--line); color: var(--charcoal); font-size: .95rem; line-height: 1.55; }
.collab-card__list li:first-child { border-top: 0; }
.collab-card__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.collab-card__list .y { color: var(--muted); font-size: .85rem; }
.collab__note { margin-top: 28px; color: var(--muted); font-size: .95rem; max-width: var(--maxw-narrow); }
@media (max-width: 720px) { .collab__grid { grid-template-columns: 1fr; } }

/* ============================================================ Season schedule ============================================================ */
.schedule { position: relative; color: #fff; background: var(--burgundy-deep); overflow: hidden; }
.schedule__bg { position: absolute; inset: 0; z-index: 0; opacity: .22; }
.schedule__bg img { width: 100%; height: 100%; object-fit: cover; }
.schedule::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(58,11,16,.86), rgba(40,8,12,.94)); }
.schedule > .container { position: relative; z-index: 2; }
.schedule .eyebrow { color: rgba(255,255,255,.66); }
.schedule .eyebrow::before { background: var(--gold-soft); }
.schedule .section__title { color: #fff; }
.schedule .section__lead { color: var(--on-dark-dim); }
.sched-list { margin-top: clamp(40px, 6vw, 60px); border-top: 1px solid rgba(231,212,181,.25); }
.sched-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid rgba(231,212,181,.18); }
.sched-row:hover .sched-title { color: var(--gold-pale); }
.sched-month { font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--gold-pale); }
.sched-title { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.26rem); font-weight: 500; color: #fff; transition: color .3s var(--ease); }
.sched-title .tag { display: inline-block; margin-left: 12px; font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .04em; color: var(--gold-pale); background: transparent; border: 1px solid rgba(231,212,181,.5); padding: 2px 10px; border-radius: 0; vertical-align: middle; }
.sched-venue { color: var(--on-dark-dim); font-size: .92rem; text-align: right; }
/* 예매 버튼 — .sched-title 안에 <a class="sched-book"> (홈 '다음 무대' + performances 공용) */
.sched-book {
  display: inline-block;
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-pale);
  border: 1px solid rgba(231, 212, 181, .55);
  padding: 3px 13px;
  border-radius: 0;
  text-decoration: none;
  vertical-align: middle;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.sched-book:hover,
.sched-book:focus-visible { background: var(--gold-pale); color: var(--burgundy-deep); }
.sched-foot { margin-top: 22px; color: var(--on-dark-dim); font-size: .84rem; font-style: normal; font-family: var(--font-body); }
@media (max-width: 720px) { .sched-row { grid-template-columns: 64px 1fr; } .sched-venue { grid-column: 2; text-align: left; } .sched-month { font-size: .72rem; } }

/* ============================================================ Posters slider ============================================================ */
.posters { background: var(--ink); color: #fff; padding-block: clamp(72px, 11vw, 140px); overflow: hidden; }
.posters .eyebrow { color: rgba(255,255,255,.6); }
.posters .eyebrow::before { background: var(--gold-soft); }
.posters .section__title { color: #fff; }
.posters .section__lead { color: var(--on-dark-dim); }
.poster-slider { margin-top: clamp(40px, 6vw, 60px); position: relative; width: 100%; }
.poster-slider__mask { -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); overflow: hidden; }
.poster-track { display: flex; gap: 26px; width: max-content; animation: posterScroll 42s linear infinite; }
.poster-slider[data-paused="true"] .poster-track { animation-play-state: paused; }
@keyframes posterScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .poster-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }
.poster-card { position: relative; flex: none; width: clamp(220px, 26vw, 300px); }
.poster-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 0; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); position: relative; }
.poster-open img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s var(--ease), filter .6s var(--ease); filter: brightness(.94); }
.poster-open:hover img { transform: scale(1.04); filter: brightness(1.04); }
.poster-card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--burgundy-deep); background: var(--gold-pale); padding: 4px 11px; border-radius: 0; }
.poster-card__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; font-size: .9rem; font-weight: 500; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.poster-open:hover .poster-card__cap { opacity: 1; transform: none; }
.posters__hint { text-align: center; margin-top: 28px; color: var(--on-dark-dim); font-size: .85rem; }

/* ============================================================ Contact ============================================================ */
.contact { position: relative; color: #fff; overflow: hidden; padding-block: clamp(80px, 12vw, 160px); }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.contact__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(30,8,12,.78), rgba(20,6,10,.9)); }
.contact__inner { position: relative; z-index: 2; max-width: var(--maxw-narrow); }
.contact .eyebrow { color: rgba(255,255,255,.66); }
.contact .eyebrow::before { background: var(--gold-soft); }
.contact__title { font-weight: 600; }
.contact__title { color: #fff; }
.contact__lead { margin-top: 20px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--on-dark); font-weight: 300; max-width: 560px; }
.contact__links { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; max-width: 720px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 0; background: transparent; transition: background .35s var(--ease), border-color .35s var(--ease); min-width: 0; }
.contact-card:hover { background: rgba(255,255,255,.07); border-color: var(--gold-pale); }
.contact-card__icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; background: transparent; color: var(--gold-pale); }
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__txt { min-width: 0; }
.contact-card__label { display: block; font-size: .66rem; font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--font-body); font-style: normal; }
.contact-card__value { display: block; font-size: 1rem; font-weight: 500; color: #fff; overflow-wrap: anywhere; word-break: break-word; line-height: 1.4; }
@media (max-width: 600px) { .contact__links { grid-template-columns: 1fr; } }

/* ============================================================ Footer ============================================================ */
.footer { background: var(--ink); color: var(--on-dark-dim); padding-block: clamp(46px, 6vw, 70px) 30px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer__logo { height: 34px; filter: brightness(0) invert(1); opacity: .92; }
.footer__name { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; }
.footer__meta { font-size: .9rem; line-height: 1.9; }
.footer__meta a:hover { color: var(--gold-pale); }
.footer__bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .82rem; color: var(--muted-soft); }

/* ============================================================ Lightbox ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(15,8,10,.94); backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox__close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s var(--ease); }
.lightbox__close:hover { background: var(--burgundy); }
.lightbox__close svg { width: 22px; height: 22px; }
.lightbox__fig { position: relative; z-index: 1; margin: 0; width: 100vw; height: 100svh; display: flex; align-items: center; justify-content: center; animation: pop .4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.lightbox__img { max-width: 96vw; max-height: 90svh; object-fit: contain; border-radius: 0; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); transform-origin: center center; will-change: transform; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__img { cursor: grab; border-radius: 0; }
.lightbox.is-zoomed .lightbox__img:active { cursor: grabbing; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; text-align: center; color: var(--on-dark-dim); font-size: .92rem; padding: 0 16px; pointer-events: none; transition: opacity .25s var(--ease); }
.lightbox__hint { position: absolute; left: 0; right: 0; top: 22px; z-index: 2; text-align: center; color: rgba(255,255,255,.5); font-size: .78rem; pointer-events: none; transition: opacity .25s var(--ease); }
.lightbox.is-zoomed .lightbox__cap, .lightbox.is-zoomed .lightbox__hint { opacity: 0; }

/* ============================================================ 한글 줄바꿈 개선 ============================================================ */
/* 단어(어절) 단위 줄바꿈 + 마지막 줄 외톨이 단어 방지 */
body { word-break: keep-all; }
.hero__tagline, .hero__title, .section__title, .section__lead,
.about__lead, .about__body, .rep-panel__desc, .rep-panel__tag, .rep-panel__title,
.stat__label, .sched-title, .tl-title, .tl-venue, .collab-card__list li,
.collab__note, .contact__lead, .mobile-nav__link { text-wrap: pretty; }

/* ============================================================ 네비 드롭다운 (레퍼토리) ============================================================ */
.nav__item--sub { position: relative; }
.nav__caret { font-size: .68em; opacity: .75; margin-left: 2px; display: inline-block; transition: transform .25s var(--ease); }
.nav__item--sub:hover .nav__caret, .nav__item--sub:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 184px; background: var(--ivory); border: 1px solid var(--line); border-radius: 0;
  padding: 8px; box-shadow: 0 22px 54px -26px rgba(40,20,24,.55);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease);
  list-style: none; margin: 0;
}
.nav__sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.nav__sub li a { display: block; padding: 9px 14px; border-radius: 0; font-size: .92rem; color: var(--charcoal); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.nav__sub li a:hover { background: var(--cream); color: var(--burgundy); }

/* 모바일 서브메뉴 */
.mobile-nav { overflow-y: auto; padding-block: 90px 40px; }
.mobile-nav__sub { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 12px; padding: 6px 0 12px 18px; border-left: 2px solid var(--line-gold); }
.mobile-nav__sub a { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; color: var(--muted); padding: 7px 0; }
.mobile-nav__sub a:hover { color: var(--burgundy); }

/* 협연 카드 '그 외 다수' */
.collab-card__list li.is-more { color: var(--muted-soft); font-style: normal; font-size: .85rem; }
.collab-card__list li.is-more::before { background: var(--gold-soft); opacity: .55; }

/* ============================================================
   Multi-page shared components (풀 사이트 공통)
   ============================================================ */

/* ---- 내비 현재 페이지 표시 ---- */
.nav__link.is-active { color: var(--gold-soft); }
.nav__link.is-active::after { width: 100%; }
.header.is-solid .nav__link.is-active { color: var(--burgundy); }
.mobile-nav__link.is-active { color: var(--burgundy); }
.mobile-nav__link.is-active .en { color: var(--burgundy); opacity: .7; }

/* ---- 페이지 섹션 내비 (콘텐츠 많은 페이지의 스티키 서브메뉴 — community/news/booking) ---- */
.page-nav { position: sticky; top: var(--header-h); z-index: 60; background: rgba(251,248,243,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.page-nav__inner { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.page-nav__inner::-webkit-scrollbar { display: none; }
.page-nav a { flex: none; padding: 14px 15px; font-size: .87rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color .25s var(--ease), border-color .25s var(--ease); }
.page-nav a:hover { color: var(--burgundy); }
.page-nav a.is-active { color: var(--burgundy); border-bottom-color: var(--burgundy); font-weight: 600; }
/* 다크 구간 사이의 페이지 내비(performances 첫 화면) — 스티키로 헤더에 붙기 전엔 다크 톤 (main.js가 .is-stuck 토글) */
.page-nav--dark { transition: background .3s var(--ease), border-color .3s var(--ease); }
.page-nav--dark:not(.is-stuck) { background: rgba(58, 11, 16, .92); border-bottom-color: rgba(255, 255, 255, .14); }
.page-nav--dark:not(.is-stuck) a { color: rgba(255, 255, 255, .72); }
.page-nav--dark:not(.is-stuck) a:hover { color: #fff; }
.page-nav--dark:not(.is-stuck) a.is-active { color: #fff; border-bottom-color: var(--gold); }
/* 앵커 이동 시 스티키 바에 가리지 않게 */
main section[id] { scroll-margin-top: calc(var(--header-h) + 56px); }

/* ---- 서브히어로 (내부 페이지 상단) ---- */
.subhero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: calc(var(--header-h) + clamp(72px, 11vw, 150px)) 0 clamp(56px, 8vw, 110px); }
.subhero__bg { position: absolute; inset: 0; z-index: 0; }
/* 무대 사진은 인물이 하단 1/3에 있는 경우가 대부분 — 기본 크롭을 하단 중심으로.
   사진별 미세조정은 img 인라인 style="object-position:center NN%"로. */
.subhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.subhero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,12,14,.62) 0%, rgba(20,12,14,.4) 45%, rgba(20,12,14,.82) 100%), linear-gradient(90deg, rgba(20,12,14,.5) 0%, rgba(20,12,14,.06) 65%); }
.subhero__inner { position: relative; z-index: 2; }
.subhero .eyebrow { color: rgba(255,255,255,.7); }
.subhero .eyebrow::before { background: var(--gold-soft); }
.subhero__title { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: clamp(2.2rem, 5.6vw, 3.9rem); line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 4px 34px rgba(0,0,0,.4); }
.subhero__lead { margin-top: 20px; font-size: clamp(1.04rem, 2vw, 1.3rem); color: var(--on-dark); font-weight: 300; max-width: 640px; text-wrap: pretty; }

/* ---- CTA 밴드 (내부 페이지 푸터 직전 컴팩트 문의) ---- */
.contact-band { background: var(--burgundy-deep); color: #fff; padding-block: clamp(48px, 7vw, 84px); }
.contact-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 34px; }
.contact-band__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3.2vw, 2rem); color: #fff; text-wrap: pretty; }
.contact-band__sub { margin-top: 8px; color: var(--gold-pale); font-size: .96rem; font-weight: 300; }
.contact-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- 소식 카드 (홈 티저 + news 페이지 공용) ---- */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 46px); margin-top: clamp(38px, 6vw, 58px); }
.news-card { display: flex; flex-direction: column; gap: 12px; background: transparent; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 24px 0 0; transition: border-color .35s var(--ease); }
.news-card:hover { border-top-color: var(--burgundy); }
.news-card__meta { display: flex; align-items: center; gap: 10px; font-size: .74rem; color: var(--muted); }
.news-card__source { font-weight: 700; color: var(--burgundy); letter-spacing: .06em; }
.news-card__date { font-family: var(--font-body); font-style: normal; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--muted); }
.news-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.news-card__excerpt { color: var(--muted); font-size: .92rem; line-height: 1.7; text-wrap: pretty; }
.news-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--burgundy); }
.news-card:hover .news-card__more { color: var(--burgundy); }
@media (max-width: 860px) { .news-cards { grid-template-columns: 1fr; } }

/* ---- 섹션 하단 CTA 버튼 줄 ---- */
.section__cta { margin-top: clamp(32px, 5vw, 48px); display: flex; justify-content: center; }
.section__cta--left { justify-content: flex-start; }

/* ---- 푸터 사이트 내비 ---- */
.footer__nav { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; line-height: 1.9; }
.footer__nav a:hover { color: var(--gold-pale); }
.footer__nav-title { font-family: var(--font-body); font-style: normal; font-weight: 600; text-transform: uppercase; color: var(--gold-soft); font-size: .68rem; letter-spacing: var(--track-caps); margin-bottom: 6px; }

/* ============================================================ KoCACA 자료 배너 ============================================================ */
/* 페이지 최상단(헤더 아래). 배경이 고정 헤더 뒤까지 차올라 — 투명 헤더의 흰 글자가 버건디 위에서 읽힘. */
.kocaca-bar { position: relative; z-index: 80; background: linear-gradient(100deg, var(--burgundy-deep), var(--burgundy) 70%); color: #fff; padding-top: calc(var(--header-h) + 14px); padding-bottom: 14px; border-bottom: 1px solid var(--line-gold); }
.kocaca-bar__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; gap: 18px; }
.kocaca-bar__label { flex: none; font-family: var(--font-en); font-style: italic; font-size: 1rem; letter-spacing: .06em; color: var(--gold-pale); white-space: nowrap; display: flex; align-items: center; }
.kocaca-bar__label::after { content: ""; display: inline-block; width: 1px; height: 18px; margin-left: 18px; background: rgba(231,212,181,.4); }
.kocaca-bar__items { display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
.kocaca-bar__items::-webkit-scrollbar { display: none; }
.kv-pill { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 0; border: 1px solid rgba(231,212,181,.5); background: transparent; color: #fff; font-size: .88rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.kv-pill:hover { background: var(--gold-pale); border-color: var(--gold-pale); color: var(--burgundy-deep); }
.kv-pill__ico { width: 15px; height: 15px; opacity: .85; flex: none; }
@media (max-width: 600px) {
  .kocaca-bar__inner { gap: 12px; }
  .kocaca-bar__label { font-size: .82rem; }
  .kocaca-bar__label::after { margin-left: 12px; height: 15px; }
  .kv-pill { padding: 8px 15px; font-size: .85rem; }
}

/* ============================================================ KoCACA 자료 뷰어 (모달) ============================================================ */
.kv { position: fixed; inset: 0; z-index: 300; display: flex; }
.kv[hidden] { display: none; }
.kv__backdrop { position: absolute; inset: 0; background: rgba(15,8,10,.94); backdrop-filter: blur(4px); animation: fade .3s var(--ease); }
.kv__panel { position: relative; z-index: 1; margin: auto; width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--ink); animation: pop .35s var(--ease); }
@media (min-width: 880px) {
  .kv { padding: 26px; }
  .kv__panel { width: min(980px, 100%); height: min(94vh, 1180px); border-radius: 0; overflow: hidden; box-shadow: 0 40px 110px -30px rgba(0,0,0,.85); }
}
.kv__bar { flex: none; display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: linear-gradient(100deg, var(--burgundy-deep), var(--burgundy) 80%); color: #fff; border-bottom: 1px solid var(--line-gold); }
.kv__brand { flex: none; font-family: var(--font-en); font-style: italic; color: var(--gold-pale); font-size: .85rem; letter-spacing: .06em; }
.kv__title { flex: 1; min-width: 0; font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv__close { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s var(--ease); }
.kv__close:hover { background: rgba(0,0,0,.5); }
.kv__close svg { width: 20px; height: 20px; }
.kv__scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; background: #0d0709; overscroll-behavior: contain; }
.kv__stack { display: flex; flex-direction: column; }
.kv__slide { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: #0d0709; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.kv__slide + .kv__slide { border-top: 1px solid rgba(255,255,255,.05); }
.kv__slide img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.kv__slide::after { content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.42) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E7D4B5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M11 8v6M8 11h6M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/18px no-repeat; opacity: 0; transition: opacity .25s var(--ease); pointer-events: none; }
@media (hover: hover) { .kv__slide:hover::after { opacity: 1; } }
@media (pointer: coarse) { .kv__slide:first-of-type::after { opacity: .9; } }
.kv__state { color: var(--on-dark-dim); text-align: center; padding: 64px 22px; font-size: .95rem; line-height: 1.7; }
.kv__hint { color: rgba(255,255,255,.46); text-align: center; font-size: .8rem; padding: 16px 16px 30px; }
.kv__hint[hidden] { display: none; }
/* 가로 리플렛(발레단)용 회전 안내 — 세로일 때만 노출, 가로로 돌리면 자동 숨김(데스크탑도 숨김) */
.kv__rotate-tip { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 18px; background: rgba(168,120,60,.16); border-bottom: 1px solid var(--line-gold); color: var(--gold-pale); font-size: .86rem; line-height: 1.45; text-align: center; }
.kv__rotate-tip svg { width: 20px; height: 20px; flex: none; }
@media (orientation: landscape) { .kv__rotate-tip { display: none; } }

/* ============================================================ 공지 팝업 (홈 — 예매 오픈 등 · index [data-promo]) ============================================================ */
body.promo-open { overflow: hidden; }
.promo { position: fixed; inset: 0; z-index: 350; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px); }
.promo[hidden] { display: none; }
.promo__backdrop { position: absolute; inset: 0; background: rgba(20,12,14,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s var(--ease); }
.promo__card { position: relative; z-index: 1; display: flex; width: min(700px, 100%); max-height: min(88svh, 620px); background: var(--ivory); box-shadow: 0 34px 90px -18px rgba(0,0,0,.5); opacity: 0; transform: translateY(22px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.promo.is-open .promo__backdrop { opacity: 1; }
.promo.is-open .promo__card { opacity: 1; transform: none; }
.promo__x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(20,12,14,.35); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .25s var(--ease); }
.promo__x:hover { background: rgba(20,12,14,.6); }
.promo__x svg { width: 17px; height: 17px; }
.promo__poster { flex: 0 0 44%; min-width: 0; background: var(--cream-2); }
.promo__poster img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.promo__body { flex: 1; min-width: 0; padding: clamp(24px, 4vw, 36px) clamp(22px, 3.4vw, 34px) 14px; display: flex; flex-direction: column; }
.promo__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.promo__title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.62rem); line-height: 1.3; color: var(--ink); }
.promo__meta { margin-top: 12px; font-size: .9rem; font-weight: 600; color: var(--burgundy); line-height: 1.6; }
.promo__desc { margin-top: 10px; font-size: .9rem; color: var(--muted); line-height: 1.7; word-break: keep-all; text-wrap: pretty; }
.promo__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.promo__actions .btn { padding: 12px 24px; font-size: .88rem; }
.promo__today { margin-top: auto; padding: 14px 4px 2px; border: 0; background: none; font-family: var(--font-body); font-size: .78rem; color: var(--muted-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; align-self: flex-start; }
.promo__today:hover { color: var(--charcoal); }
@media (max-width: 640px) {
  .promo { padding: 12px; }
  .promo__card { flex-direction: column; max-height: 90svh; overflow-y: auto; }
  .promo__poster { flex: none; height: 34svh; }
  .promo__body { padding: 18px 18px 10px; }
  .promo__actions { margin-top: 14px; }
  .promo__actions .btn { padding: 11px 20px; }
  .promo__today { padding-top: 10px; }
}
