/* ============================================================
   수원시티발레단 — 레퍼토리 상세 페이지 공유 스타일
   (메인 styles.css의 디자인 토큰을 그대로 따름 · 독립 파일)
   ============================================================ */

@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');

/* ---------- Design tokens (styles.css와 동일) ---------- */
:root {
  --red: #E4000C;
  --burgundy: #7A1420;
  --burgundy-deep: #571017;
  --gold: #A8783C;
  --gold-soft: #C7A36B;
  --ivory: #FBF8F3;
  --cream: #F4ECDF;
  --cream-2: #ECE0CD;
  --white: #FFFFFF;
  --charcoal: #2A2326;
  --ink: #1B1618;
  --muted: #6E625C;
  --on-dark: rgba(255, 255, 255, .96);
  --on-dark-dim: rgba(255, 255, 255, .74);
  --line: rgba(42, 35, 38, .13);

  --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-gold: rgba(168,120,60,.32);
  --track-caps: .12em;

  --maxw: 1280px;
  --maxw-text: 760px;
  --pad: clamp(20px, 4vw, 56px);
  --header-h: 64px;

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

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400; font-size: 16px; line-height: 1.78;
  color: var(--charcoal); background: var(--ivory);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
/* 한글 줄바꿈: 어절 단위 + 외톨이 단어 방지 */
body { word-break: keep-all; }
.rp-lead, .rp-prose p, .rp-hero__tag, .rp-section__title, .rp-act__body, .rp-point__d, .rp-quote__text, .rp-fact__v, .rp-credit__v, .rp-press-note, .rp-tl__desc, .rp-upcoming__meta, .rp-upcoming__note, .rp-upcoming__press-detail-title { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.22; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.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);
}
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--gold); vertical-align: .28em; margin-right: 12px; }
/* 구 골드 단축바 — 에디토리얼 개편으로 비표시 */
.rule { display: none; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.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; }
.reveal[data-delay="5"] { transition-delay: .40s; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--burgundy); color: #fff; padding: 10px 16px; border-radius: 0;
  font-size: .9rem; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ============================================================
   Top bar (홈으로 돌아가기)
   ============================================================ */
.rp-topbar {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(251, 248, 243, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.rp-topbar__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rp-back { display: inline-flex; align-items: center; gap: .5em; font-size: .94rem; font-weight: 500; color: var(--charcoal); }
.rp-back svg { width: 18px; height: 18px; }
.rp-back:hover { color: var(--burgundy); }
.rp-topbar__brand { display: flex; align-items: center; gap: .5em; }
.rp-topbar__brand img { height: 30px; width: auto; }
.rp-topbar__brand span { font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink); }
@media (max-width: 560px) { .rp-topbar__brand span { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.rp-hero {
  position: relative; min-height: clamp(440px, 76vh, 720px);
  display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden;
}
.rp-hero__bg { position: absolute; inset: 0; z-index: -2; }
/* 상세 페이지 → 소식 페이지 블로그 후기 연결 링크 */
.rp-press__more { margin-top: clamp(22px, 3vw, 34px); }
.rp-press__more a { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; color: var(--burgundy); border-bottom: 1.5px solid var(--line-gold); padding-bottom: 3px; transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease); }
.rp-press__more a:hover { color: var(--gold); border-color: var(--gold); gap: 12px; }

/* 무대 사진은 인물이 하단에 몰림 — 하단 중심 크롭 (사진별 조정은 인라인 style) */
.rp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.rp-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(40,8,12,.42) 0%, rgba(40,8,12,.05) 38%, rgba(40,8,12,.04) 50%, rgba(87,16,23,.78) 100%);
}
.rp-hero__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding: 0 var(--pad) clamp(44px, 9vh, 92px); }
.rp-hero__eyebrow { color: rgba(255,255,255,.72); }
.rp-hero__eyebrow::before { background: var(--gold-soft); }
.rp-hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 4.2rem); line-height: 1.1; margin-top: .26em;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
}
/* 부제에 한글이 올 수 있어 이탤릭 금지(가짜 기울임 방지) — 디스플레이 세리프로 통일 */
.rp-hero__sub { font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: .4em; color: rgba(255,255,255,.78); margin-top: .55em; letter-spacing: .01em; }
.rp-hero__tag { margin-top: .8em; font-size: clamp(1.05rem, 3.4vw, 1.45rem); font-weight: 300; color: var(--on-dark); max-width: 32ch; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
.rp-hero__meta { margin-top: 1.4em; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.rp-hero__chip {
  font-size: .76rem; font-weight: 500; letter-spacing: .02em; color: #fff;
  padding: .42em 1.05em; border-radius: 0;
  background: transparent; border: 1px solid rgba(255,255,255,.42);
}

/* ============================================================
   다가오는 공연 밴드 (히어로 직후 — 공연 시즌에만 노출)
   ============================================================ */
.rp-upcoming { background: var(--burgundy-deep); color: var(--on-dark); padding-block: clamp(40px, 7vw, 72px); }
.rp-upcoming__inner { display: grid; gap: clamp(26px, 5vw, 52px); align-items: center; }
.rp-upcoming__poster {
  display: block; width: 100%; max-width: 240px;
  border: 1px solid rgba(255,255,255,.18);
  transition: opacity .25s var(--ease);
}
a.rp-upcoming__poster:hover { opacity: .88; }
.rp-upcoming__poster img { width: 100%; }
.rp-upcoming__eyebrow {
  font-weight: 600; font-size: .75rem; letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--gold-soft);
}
.rp-upcoming__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--on-dark);
  margin-top: .5em; letter-spacing: -.01em; line-height: 1.25;
}
.rp-upcoming__meta { margin-top: .7em; color: var(--on-dark-dim); font-size: 1.02rem; line-height: 1.7; }
.rp-upcoming__btn {
  display: inline-flex; align-items: center; gap: .55em;
  margin-top: clamp(18px, 3vw, 26px); padding: .78em 1.9em;
  background: var(--gold); color: #fff;
  font-weight: 600; font-size: .98rem; letter-spacing: .02em;
  transition: background .25s var(--ease);
}
.rp-upcoming__btn:hover { background: var(--gold-soft); }
.rp-upcoming__btn span { transition: transform .2s var(--ease); }
.rp-upcoming__btn:hover span { transform: translateX(3px); }
.rp-upcoming__note { margin-top: clamp(18px, 3vw, 26px); color: var(--on-dark-dim); font-size: .95rem; line-height: 1.7; max-width: 46ch; }
.rp-upcoming__press {
  margin-top: clamp(20px, 3.4vw, 30px); padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
  font-size: .88rem;
}
.rp-upcoming__press-label {
  font-weight: 600; font-size: .7rem; letter-spacing: var(--track-caps);
  text-transform: uppercase; color: var(--gold-soft);
}
.rp-upcoming__press a { color: rgba(255,255,255,.75); transition: color .2s var(--ease); }
.rp-upcoming__press a:hover { color: var(--gold-soft); }
.rp-upcoming__press a.is-active { color: var(--gold-soft); border-bottom: 1px solid var(--gold-soft); }
.rp-upcoming__press-detail {
  flex-basis: 100%; margin-top: 6px;
  padding: 14px 16px; background: rgba(255,255,255,.06); border-left: 2px solid var(--gold);
  display: grid; gap: 8px;
}
.rp-upcoming__press-detail-title { color: var(--on-dark); font-size: .95rem; line-height: 1.6; }
.rp-upcoming__press-detail-open {
  display: inline-flex; align-items: center; gap: .45em; width: fit-content;
  font-weight: 600; font-size: .88rem; color: var(--gold-soft); transition: color .2s var(--ease);
}
.rp-upcoming__press-detail-open:hover { color: #fff; }
.rp-upcoming__press-detail-open span { transition: transform .2s var(--ease); }
.rp-upcoming__press-detail-open:hover span { transform: translateX(3px); }
@media (min-width: 720px) {
  .rp-upcoming__inner { grid-template-columns: minmax(180px, 230px) 1fr; }
}

/* ============================================================
   Sections
   ============================================================ */
.rp-section { padding-block: clamp(56px, 10vw, 110px); }
.rp-section--tint { background: var(--cream); }
.rp-section__head { max-width: var(--maxw-text); margin-bottom: clamp(28px, 5vw, 48px); }
.rp-section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 4.6vw, 2.5rem); color: var(--ink); margin-top: .4em;
  letter-spacing: -0.02em; line-height: 1.22;
}
.rp-lead {
  font-size: clamp(1.06rem, 2.8vw, 1.28rem); font-weight: 500; color: var(--ink); line-height: 1.7;
  max-width: var(--maxw-text);
}
.rp-prose { max-width: var(--maxw-text); color: var(--muted); font-size: 1.04rem; }
.rp-prose p + p { margin-top: 1.1em; }
.rp-prose strong { color: var(--ink); font-weight: 600; }
.rp-pull {
  margin: clamp(28px, 5vw, 44px) 0 0; padding-left: clamp(18px, 3vw, 26px);
  border-left: 3px solid var(--gold);
  font-family: var(--font-display); font-weight: 500; font-style: normal;
  font-size: clamp(1.15rem, 3vw, 1.5rem); line-height: 1.6; color: var(--burgundy); max-width: var(--maxw-text);
}

/* ---------- Synopsis (작품 줄거리, 막 구성) ---------- */
.rp-acts { display: grid; gap: clamp(16px, 3vw, 24px); }
.rp-act {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: clamp(22px, 4vw, 34px);
  display: grid; gap: 10px;
}
.rp-act__label { font-family: var(--font-en); font-style: normal; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-size: .95rem; }
.rp-act__title { font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.4rem); color: var(--ink); }
.rp-act__body { color: var(--muted); font-size: 1.01rem; }

/* ---------- Timeline (해설있는발레 시대별 작품) ---------- */
.rp-timeline { display: grid; gap: 0; max-width: 880px; }
.rp-tl {
  position: relative; padding: clamp(20px,3.4vw,30px) 0 clamp(20px,3.4vw,30px) clamp(28px, 5vw, 44px);
  border-left: 2px solid var(--gold-soft);
}
.rp-tl:last-child { border-left-color: transparent; }
.rp-tl::before {
  content: ""; position: absolute; left: -8px; top: clamp(24px,3.8vw,34px);
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--ivory);
}
.rp-section--tint .rp-tl::before { box-shadow: 0 0 0 4px var(--cream); }
.rp-tl__era { font-family: var(--font-body); font-style: normal; font-weight: 600; color: var(--gold); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.rp-tl__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 3.2vw, 1.5rem); color: var(--ink); margin-top: .2em; }
.rp-tl__works { margin-top: .5em; color: var(--burgundy); font-weight: 500; font-size: 1rem; }
.rp-tl__desc { margin-top: .5em; color: var(--muted); font-size: 1rem; }
.rp-tl-note { margin-top: clamp(18px, 3vw, 28px); color: var(--muted); font-size: .94rem; line-height: 1.7; max-width: 880px; padding-left: clamp(28px, 5vw, 44px); }

/* ---------- Highlight cards (관람 포인트) ---------- */
.rp-points { display: grid; grid-template-columns: 1fr; gap: 14px; }
.rp-point {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: clamp(22px, 4vw, 30px);
  transition: border-color .3s var(--ease);
}
.rp-point:hover { border-color: var(--gold-soft); }
.rp-point__k { font-family: var(--font-en); font-style: normal; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-size: .92rem; }
.rp-point__t { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-top: .25em; }
.rp-point__d { margin-top: .55em; color: var(--muted); font-size: .98rem; line-height: 1.7; }
@media (min-width: 640px) { .rp-points { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 980px) { .rp-points { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* ---------- Credits + Facts ---------- */
.rp-split { display: grid; gap: clamp(32px, 6vw, 64px); }
@media (min-width: 860px) { .rp-split { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.rp-credits { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rp-credit { display: grid; grid-template-columns: minmax(110px, 32%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rp-credit__k { font-weight: 600; color: var(--ink); font-size: .95rem; }
.rp-credit__v { color: var(--muted); font-size: .98rem; }
.rp-facts {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: clamp(22px, 4vw, 30px); display: grid; gap: 16px;
}
.rp-fact { display: grid; gap: 3px; }
/* 키에 한글이 옴("공연 규모" 등) — 이탤릭 금지, 본문 고딕 캡션으로 */
.rp-fact__k { font-family: var(--font-body); font-style: normal; font-weight: 600; color: var(--muted); font-size: .7rem; letter-spacing: var(--track-caps); text-transform: uppercase; }
.rp-fact__v { color: var(--ink); font-weight: 500; }
.rp-fact__v b { font-family: var(--font-display); font-weight: 600; color: var(--burgundy); font-size: 1.25em; }

/* ---------- Press / reviews ---------- */
.rp-press { display: grid; gap: 16px; }
@media (min-width: 760px) { .rp-press { grid-template-columns: repeat(2, 1fr); } }
.rp-quote {
  background: var(--white); border: 1px solid var(--line); border-radius: 0;
  padding: clamp(22px, 4vw, 30px); display: grid; gap: 12px;
}
.rp-quote__mark { font-family: var(--font-en); font-size: 2.4rem; line-height: .6; color: var(--gold-soft); }
.rp-quote__text { color: var(--charcoal); font-size: 1.02rem; line-height: 1.72; }
.rp-quote__src { font-size: .86rem; font-weight: 600; color: var(--burgundy); }
.rp-press-note { margin-top: 18px; color: var(--muted); font-size: .88rem; }

/* ---------- Gallery ---------- */
.rp-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
@media (min-width: 700px) { .rp-gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1000px) { .rp-gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.rp-gallery__item {
  position: relative; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 0; overflow: hidden; line-height: 0;
  box-shadow: 0 14px 30px -22px rgba(42,35,38,.5);
}
.rp-gallery__item img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s var(--ease), filter .4s var(--ease);
}
.rp-gallery__item:hover img, .rp-gallery__item:focus-visible img { transform: scale(1.05); filter: brightness(1.05); }

/* ---------- Lightbox ---------- */
.rp-lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 5vw, 56px);
}
.rp-lightbox[hidden] { display: none; }
.rp-lightbox__backdrop { position: absolute; inset: 0; background: rgba(20,4,7,.92); backdrop-filter: blur(6px); cursor: zoom-out; }
.rp-lightbox__img {
  position: relative; z-index: 1; max-width: min(94vw, 1100px); max-height: 86vh; width: auto; height: auto;
  border-radius: 0; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  opacity: 0; transform: scale(.97); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.rp-lightbox.is-open .rp-lightbox__img { opacity: 1; transform: none; }
.rp-lightbox__close {
  position: absolute; top: clamp(12px,3vw,24px); right: clamp(12px,3vw,24px); z-index: 2;
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff;
  backdrop-filter: blur(6px); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.rp-lightbox__close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.rp-lightbox__close svg { width: 22px; height: 22px; }
.rp-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff;
  backdrop-filter: blur(6px); transition: background-color .2s var(--ease);
}
.rp-lightbox__nav:hover { background: rgba(255,255,255,.2); }
.rp-lightbox__nav svg { width: 24px; height: 24px; }
.rp-lightbox__nav--prev { left: clamp(8px, 2vw, 24px); }
.rp-lightbox__nav--next { right: clamp(8px, 2vw, 24px); }
body.rp-lightbox-open { overflow: hidden; }

/* ============================================================
   Footer
   ============================================================ */
.rp-footer { background: var(--burgundy-deep); color: rgba(255,255,255,.82); padding-block: clamp(44px, 8vw, 66px); }
.rp-footer__inner { display: flex; flex-direction: column; gap: 22px; }
.rp-footer__brand { display: flex; align-items: center; gap: .7em; }
.rp-footer__logo { height: 40px; filter: brightness(0) invert(1); opacity: .95; }
.rp-footer__name { font-family: var(--font-display); font-size: 1.1rem; color: #fff; }
.rp-footer__meta { font-size: .9rem; line-height: 1.9; color: rgba(255,255,255,.66); }
.rp-footer__meta a:hover { color: var(--gold-soft); }
.rp-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: .82rem; color: rgba(255,255,255,.5); }
@media (min-width: 760px) { .rp-footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Full-site nav (풀사이트 공통 내비 — 상단바)
   ============================================================ */
.rp-topbar__brand { flex-shrink: 0; }
.rp-nav {
  display: flex; align-items: center; gap: clamp(12px, 2.2vw, 24px);
  min-width: 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rp-nav::-webkit-scrollbar { display: none; }
.rp-nav a {
  position: relative; white-space: nowrap;
  font-size: clamp(.86rem, 2.4vw, .95rem); font-weight: 500; color: var(--charcoal);
  padding: 6px 2px; transition: color .2s var(--ease);
}
.rp-nav a:hover { color: var(--burgundy); }
.rp-nav a.is-active { color: var(--burgundy); }
.rp-nav a.is-active::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 0;
  height: 1.5px; border-radius: 0; background: var(--gold);
}

/* ---- '작품' 드롭다운 (메인 셸 .nav__sub 과 동일 룩) ----
   .rp-nav 의 모바일 가로 스크롤(overflow)이 드롭다운을 잘라내므로
   데스크톱에서만 overflow 를 풀고, 모바일에선 드롭다운을 숨긴다(탭 → 작품 허브로 이동). */
.rp-nav__item { position: relative; }
.rp-nav__caret { font-size: .68em; opacity: .75; margin-left: 2px; display: inline-block; transition: transform .25s var(--ease); }
.rp-nav__item:hover .rp-nav__caret, .rp-nav__item:focus-within .rp-nav__caret { transform: rotate(180deg); }
.rp-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);
  z-index: 110;
}
.rp-nav__sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.rp-nav__item:hover .rp-nav__sub, .rp-nav__item:focus-within .rp-nav__sub { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.rp-nav__sub li a { display: block; padding: 9px 14px; font-size: .92rem; color: var(--charcoal); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.rp-nav__sub li a:hover { background: var(--cream); color: var(--burgundy); }
@media (min-width: 861px) { .rp-nav { overflow: visible; } }
@media (max-width: 860px) { .rp-nav__sub, .rp-nav__caret { display: none; } }

/* ============================================================
   다른 작품 보기 밴드 (푸터 직전)
   ============================================================ */
.rp-morework { background: var(--cream-2); padding-block: clamp(26px, 5vw, 44px); }
.rp-morework__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
}
.rp-morework__text { font-family: var(--font-display); font-size: clamp(1.05rem, 3vw, 1.35rem); color: var(--ink); }
.rp-morework__link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 1.02rem; color: var(--burgundy); transition: color .2s var(--ease);
}
.rp-morework__link:hover { color: var(--red); }
.rp-morework__link span { transition: transform .2s var(--ease); }
.rp-morework__link:hover span { transform: translateX(3px); }

/* ============================================================
   Footer site nav (사이트 메뉴 컬럼)
   ============================================================ */
.rp-footer__nav { display: flex; flex-direction: column; gap: 9px; }
.rp-footer__nav-title {
  font-family: var(--font-body); font-style: normal; font-weight: 600; letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--gold-soft); font-size: .68rem; margin-bottom: 3px;
}
.rp-footer__nav a { font-size: .92rem; color: rgba(255,255,255,.7); transition: color .2s var(--ease); }
.rp-footer__nav a:hover { color: var(--gold-soft); }
