@import url(
  "https://cdn.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.3/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css"
);

:root {
  --font-display: "SummerFlower", "Wanted Sans Variable";
  --font-body: "Wanted Sans Variable";
  --navy-950: #071a3b;
  --navy-900: #0b2451;
  --navy-800: #11366f;
  --blue-600: #0877ba;
  --blue-500: #1696d2;
  --sky-100: #edf8fc;
  --green-600: #27a45c;
  --green-100: #f1f8ec;
  --coral-600: #ef6658;
  --coral-500: #f47a62;
  --pink-100: #fff1f3;
  --purple-500: #8152a8;
  --orange-400: #f39a62;
  --ink: #152033;
  --muted: #687183;
  --line: #dce4ec;
  --white: #ffffff;
  --header-height: 84px;
  --content-width: 1120px;
  --shadow-soft: 0 18px 50px rgba(18, 41, 73, 0.1);
  --shadow-card: 0 20px 50px rgba(27, 55, 86, 0.14);
}

/* 텍스트 드래그 선택 색상 */
::selection {
  color: #ffffff;
  background: #ff3b1f;
}

/* Firefox */
::-moz-selection {
  color: #ffffff;
  background: #ff3b1f;
}

@font-face {
  font-family: "SummerFlower";
  src: url("../fonts/Asummerflowertree.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  word-break: keep-all;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--white);
  background: transparent;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.sub-page .site-header {
  background: rgba(7, 26, 59, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 190px;
  color: var(--white);
}

.logo-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.logo-sub {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  opacity: 0.84;
}

.gnb-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.gnb {
  display: flex;
  align-items: center;
  gap: 52px;
}

.gnb-item {
  position: relative;
  padding: 31px 0;
}

.gnb-link {
  position: relative;
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s ease;
}

.gnb-item.is-active .gnb-link,
.gnb-item:hover .gnb-link,
.gnb-item:focus-within .gnb-link {
  color: #ff7c68;
}

.gnb-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.gnb-item.is-active .gnb-link::after,
.gnb-item:hover .gnb-link::after,
.gnb-item:focus-within .gnb-link::after {
  transform: scaleX(1);
}

.depth {
  position: absolute;
  top: 74px;
  left: 50%;
  min-width: 156px;
  padding: 10px 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(220, 228, 236, 0.9);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.gnb-item:hover .depth,
.gnb-item:focus-within .depth {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.depth a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.depth a:hover,
.depth a:focus-visible {
  color: var(--coral-600);
  background: #fff4f1;
  outline: 0;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.mobile-menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Shared */
.content-inner {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.3vw, 52px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-desc {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.section-action {
  margin-top: 38px;
  text-align: center;
}

.round-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 21px 1px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(8, 119, 186, 0.2);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.round-button:hover,
.round-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 119, 186, 0.28);
  outline: 0;
}

.round-button.coral {
  background: var(--coral-600);
  box-shadow: 0 10px 22px rgba(239, 102, 88, 0.22);
}

.round-button.green {
  background: var(--green-600);
  box-shadow: 0 10px 22px rgba(39, 164, 92, 0.22);
}

.round-button-icon {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 900;
}

/* Hero */
.main-hero {
  position: relative;
  min-height: 720px;
  height: min(72vw, 840px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.75s ease,
    visibility 0.75s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(4, 20, 54, 0.24),
    rgba(4, 20, 54, 0) 58%
  );
  pointer-events: none;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    #0a3679 0%,
    #4f3d8f 48%,
    #8f4f8e 100%
  );
}

.hero-art::before {
  content: "";
  position: absolute;
  top: 39%;
  left: 62%;
  z-index: 2;
  width: min(20vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb66f, #ef6f5c);
  transform: translate(-50%, -50%);
}

.hero-slide.theme-two .hero-art {
  background: linear-gradient(
    180deg,
    #082c6d 0%,
    #4a3d92 52%,
    #c05c83 100%
  );
}

.hero-slide.theme-two .hero-art::before {
  left: 67%;
  width: min(21vw, 280px);
  background: linear-gradient(135deg, #ffe28b, #f39463);
}

.hero-slide.theme-three .hero-art {
  background: linear-gradient(
    180deg,
    #0d3977 0%,
    #2f4e94 48%,
    #734486 100%
  );
}

.hero-slide.theme-three .hero-art::before {
  left: 47%;
  width: min(26vw, 340px);
}

.hero-wave {
  position: absolute;
  left: -8%;
  width: 116%;
  border-radius: 50%;
  transform-origin: center;
}

.hero-wave.one {
  top: -20%;
  z-index: 4;
  height: 42%;
  background: #071f49;
  transform: rotate(7deg);
}

.hero-wave.two {
  top: 31%;
  z-index: 1;
  left: -15%;
  height: 36%;
  background: #193f82;
  transform: rotate(3deg);
}

.hero-wave.three {
  top: 58%;
  z-index: 3;
  left: -10%;
  height: 43%;
  background: #46a7db;
  transform: rotate(8deg);
}

.hero-wave.four {
  top: 64%;
  z-index: 4;
  left: 21%;
  height: 31%;
  background: #ea8eb8;
  transform: rotate(-10deg);
}

.hero-wave.five {
  top: 78%;
  z-index: 5;
  left: 12%;
  height: 30%;
  background: #5b4a94;
  transform: rotate(-2deg);
}

.hero-shore {
  position: absolute;
  z-index: 6;
  left: -7%;
  bottom: -15%;
  width: 44%;
  height: 39%;
  border-radius: 50% 60% 0 0;
  background: #1d7aa8;
  transform: rotate(16deg);
}

.hero-star {
  position: absolute;
  z-index: 7;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.hero-star.star-1 {
  top: 38%;
  left: 13%;
  width: 18px;
  height: 18px;
}

.hero-star.star-2 {
  top: 32%;
  left: 15%;
  width: 8px;
  height: 8px;
}

.hero-star.star-3 {
  top: 43%;
  right: 19%;
  width: 20px;
  height: 20px;
}

.hero-star.star-4 {
  top: 35%;
  right: 10%;
  width: 8px;
  height: 8px;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: min(var(--content-width), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 90px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-title {
  max-width: 680px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 18px rgba(6, 25, 59, 0.18);
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  margin: 18px 0 0;
  font-family: var(--font-body);
  font-size: clamp(22px, 2.1vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero-subtitle + .round-button {
  margin-top: 28px;
}

.hero-date {
  margin: 30px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 57px);
  line-height: 1;
  letter-spacing: 0.015em;
}

.hero-date small {
  margin: 0 4px;
  font-family: var(--font-body);
  font-size: 0.34em;
  font-weight: 700;
  vertical-align: top;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 26, 59, 0.22);
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(239, 102, 88, 0.88);
  transform: translateY(-50%) scale(1.05);
  outline: 0;
}

.hero-arrow.prev {
  left: 30px;
}

.hero-arrow.next {
  right: 30px;
}

.hero-arrow svg {
  width: 21px;
  height: 21px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 27px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.hero-dot.is-active {
  width: 36px;
  background: var(--white);
}

.hero-progress {
  position: absolute;
  left: 50%;
  bottom: 13px;
  z-index: 12;
  width: 64px;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--white);
}

.hero-progress span.is-running {
  animation: hero-progress 5.5s linear forwards;
}

/* PC·모바일 구분 이미지를 사용하는 슬라이드만 적용 */
.hero-slide.has-responsive-image
.hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
}

.hero-slide.has-responsive-image
.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 이미지 슬라이드에만 전용 오버레이 적용 */
.hero-slide.has-responsive-image::before {
  background: linear-gradient(
    90deg,
    rgba(4, 20, 54, 0.62) 0%,
    rgba(4, 20, 54, 0.26) 46%,
    rgba(4, 20, 54, 0.04) 76%
  );
}

.hero-slide.has-responsive-image
.hero-content {
  position: relative;
  z-index: 2;
}

@keyframes hero-progress {
  to {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .hero-slide.has-responsive-image
  .hero-picture img {
    object-position: center center;
  }

  .hero-slide.has-responsive-image::before {
    background: linear-gradient(
      180deg,
      rgba(4, 20, 54, 0.08) 0%,
      rgba(4, 20, 54, 0.2) 48%,
      rgba(4, 20, 54, 0.72) 100%
    );
  }
}

/* Home sections */
.home-section {
  padding: 68px 0 72px;
  scroll-margin-top: var(--header-height);
}

.home-films {
  background: var(--sky-100);
}

.home-stage {
  background: var(--green-100);
}

.home-sponsors {
  background: var(--pink-100);
}

.home-films .section-title {
  color: var(--blue-600);
}

.home-stage .section-title {
  color: var(--green-600);
}

.home-sponsors .section-title {
  color: var(--coral-600);
}

.film-grid {
  width: min(760px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.film-card {
  position: relative;
  min-width: 0;
  padding: 11px 11px 15px;
  background: var(--white);
  border: 1px solid rgba(214, 226, 235, 0.8);
  border-radius: 13px;
  box-shadow: 0 9px 22px rgba(27, 55, 86, 0.08);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.film-card:hover,
.film-card:focus-within {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.film-poster {
  position: relative;
  aspect-ratio: 7 / 9.7;
  overflow: hidden;
  border-radius: 9px;
  background: #dce5ed;
}

.film-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.film-card:hover .film-poster img,
.film-card:focus-within .film-poster img {
  transform: scale(1.055);
}

.film-hover {
  position: absolute;
  inset: auto 0 0;
  padding: 58px 16px 17px;
  color: var(--white);
  background: linear-gradient(
    180deg,
    rgba(7, 26, 59, 0),
    rgba(7, 26, 59, 0.88) 42%,
    rgba(7, 26, 59, 0.96)
  );
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.film-card:hover .film-hover,
.film-card:focus-within .film-hover {
  opacity: 1;
  transform: translateY(0);
}

.film-hover strong {
  display: block;
  font-size: 17px;
}

.film-hover p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}

.film-meta {
  padding: 12px 4px 0;
  text-align: center;
}

.film-label {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 10px;
  margin-right: 5px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.film-label.red {
  background: var(--coral-600);
}

.film-label.gray {
  background: #8b8f98;
}

.film-name {
  font-family: var(--font-display);
  font-size: 18px;
  vertical-align: middle;
}

.film-time {
  margin: 9px 0 0;
  color: #495366;
  font-size: 12px;
  font-weight: 600;
}

.stage-carousel {
  position: relative;
  width: min(830px, 100%);
  min-height: 420px;
  margin: 31px auto 0;
  display: grid;
  place-items: center;
}

.stage-card {
  position: absolute;
  width: 290px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(30, 65, 61, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.82);
  z-index: 1;
  transition:
    transform 0.42s ease,
    opacity 0.42s ease,
    filter 0.42s ease;
}

.stage-card.is-active {
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1.08);
  filter: none;
}

.stage-card.is-prev {
  z-index: 1;
  opacity: 0.48;
  transform: translateX(-245px) scale(0.86);
  filter: saturate(0.75);
}

.stage-card.is-next {
  z-index: 1;
  opacity: 0.48;
  transform: translateX(245px) scale(0.86);
  filter: saturate(0.75);
}

.stage-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-info {
  position: absolute;
  inset: auto 0 0;
  padding: 46px 14px 12px;
  color: var(--ink);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.9) 55%,
    rgba(255, 255, 255, 0.96)
  );
}

.stage-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
}

.stage-info span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
}

.stage-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 2px solid #9aa2a4;
  border-radius: 50%;
  color: #7d8789;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.stage-arrow:hover,
.stage-arrow:focus-visible {
  color: var(--white);
  border-color: var(--green-600);
  background: var(--green-600);
  outline: 0;
}

.stage-arrow.prev {
  left: 4px;
}

.stage-arrow.next {
  right: 4px;
}

.sponsor-grid {
  width: min(820px, 100%);
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(239, 185, 191, 0.7);
  border-left: 1px solid rgba(239, 185, 191, 0.7);
  background: rgba(255, 255, 255, 0.35);
}

.sponsor-cell {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid rgba(239, 185, 191, 0.7);
  border-bottom: 1px solid rgba(239, 185, 191, 0.7);
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.sponsor-cell img {
  width: auto;
  max-width: 130px;
  max-height: 52px;
  object-fit: contain;
  opacity: 0.42;
  transform: scale(1);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.sponsor-cell:hover img,
.sponsor-cell:focus-within img {
  opacity: 1;
  transform: scale(1.08);
}

/* Scroll background typography */
.home-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-section > .content-inner {
  position: relative;
  z-index: 2;
}

.section-bg-word {
  position: absolute;
  z-index: 0;
  display: flex;
  align-items: center;
  color: #ff3b1f;
  font-family: var(--font-body);
  font-size: clamp(100px, 14vw, 215px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.075em;
  white-space: nowrap;
  opacity: 0.5;
  user-select: none;
  pointer-events: none;
}

.section-bg-word span {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform:
    translateY(90px)
    scale(0.88)
    rotate(6deg);

  transition:
    opacity 0.75s ease
      calc(var(--letter-index) * 0.14s),
    filter 0.85s ease
      calc(var(--letter-index) * 0.14s),
    transform 1s
      cubic-bezier(0.16, 1, 0.3, 1)
      calc(var(--letter-index) * 0.14s);
}

.home-section.is-bg-visible
.section-bg-word span {
  opacity: 1;
  filter: blur(0);
  transform:
    translateY(0)
    scale(1)
    rotate(0);
}

/* 상영작 - DADAEPO */
.home-films .section-bg-word {
  top: auto;
  bottom: 26px;
  left: -20px;
}

/* 축하공연 - SUNSET */
.home-stage .section-bg-word {
  top: auto;
  right: -12px;
  bottom: 26px;
}

/* 후원사 - FILM FESTIVAL */
.home-sponsors .section-bg-word {
  top: auto;
  bottom: 22px;
  left: 50%;
  font-size: clamp(85px, 11vw, 170px);
  transform: translateX(-50%);
}

/* 페이지 상단 이동 버튼 */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;

  width: 52px;
  height: 52px;
  padding: 0;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  color: var(--white);
  background: var(--coral-600);

  box-shadow:
    0 12px 28px
    rgba(18, 41, 73, 0.25);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(16px);

  cursor: pointer;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--navy-900);

  box-shadow:
    0 16px 34px
    rgba(18, 41, 73, 0.32);

  transform: translateY(-4px);

  outline: 0;
}

@media (max-width: 820px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;

    width: 46px;
    height: 46px;
  }

  .back-to-top svg {
    width: 21px;
    height: 21px;
  }
}

/* Footer */
.site-footer {
  color: var(--white);
  background: #5b5b5b;
}

.footer-inner {
  position: relative;

  width: min(
    var(--content-width),
    calc(100% - 48px)
  );

  min-height: 150px;
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr);

  align-items: center;
  gap: 30px;
}

.footer-copy {
  justify-self: start;
}

.footer-title {
  margin: 0;

  font-family: var(--font-display);
  font-size: 22px;
  line-height: 0.98;
}

.footer-info {
  margin: 10px 0 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 10px;
  line-height: 1.7;
}

/* 중앙 DSFF 로고 */
.footer-logo {
  width: 130px;

  display: block;
  justify-self: center;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;

  /*
   * 투명 배경은 유지하고
   * 검은색 로고만 흰색으로 변환
   */
  filter:
    brightness(0)
    invert(1);
}

.footer-logo:hover,
.footer-logo:focus-visible {
  opacity: 0.78;
  transform: translateY(-3px);
  outline: 0;
}

.footer-sns {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;
  justify-self: end;

  border: 3px solid var(--white);
  border-radius: 14px;

  color: var(--white);

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.footer-sns:hover,
.footer-sns:focus-visible {
  color: #5b5b5b;
  background: var(--white);
  outline: 0;
}

/* Sub pages */
.sub-page {
  background: #f8fafc;
}

.sub-hero {
  position: relative;
  min-height: 370px;
  padding: calc(var(--header-height) + 60px) 24px 68px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 72% 42%, #f39a62 0 9%, transparent 9.4%),
    linear-gradient(145deg, #0c2f6d 0%, #5b3f8d 52%, #ba5684 100%);
  overflow: hidden;
}

.sub-hero::before,
.sub-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  width: 120%;
  border-radius: 50%;
}

.sub-hero::before {
  top: 48%;
  height: 48%;
  background: rgba(51, 146, 201, 0.65);
  transform: rotate(5deg);
}

.sub-hero::after {
  top: 68%;
  left: 18%;
  height: 38%;
  background: rgba(231, 132, 177, 0.72);
  transform: rotate(-8deg);
}

.sub-hero-content {
  position: relative;
  z-index: 1;
}

.sub-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sub-hero p {
  margin: 17px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.sub-tabs {
  position: sticky;
  top: var(--header-height);
  z-index: 800;
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(23, 42, 68, 0.06);
  backdrop-filter: blur(12px);
}

.sub-tabs button {
  position: relative;
  min-width: 150px;
  min-height: 62px;
  padding: 0 22px;
  border: 0;
  color: #5c6677;
  background: transparent;
  font-family: var(--font-display);
  font-size: 18px;
  cursor: pointer;
}

.sub-tabs button::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: var(--coral-600);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.sub-tabs button.is-active {
  color: var(--coral-600);
}

.sub-tabs button.is-active::after {
  transform: scaleX(1);
}

.sub-page-main {
  background: #f8fafc;
}

.sub-panel {
  display: none;
  min-height: 650px;
  padding: 80px 0 105px;
}

.sub-panel.is-active {
  display: block;
}

.panel-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.panel-block {
  margin-top: 42px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  min-height: 210px;
  padding: 28px;
  background: var(--white);
  border-top: 4px solid var(--blue-600);
  box-shadow: var(--shadow-soft);
}

.info-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
}

.info-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* 출연진 페이지 */
.cast-section-list {
  display: grid;
  gap: 82px;
}

.cast-group {
  min-width: 0;
}

.cast-group-heading {
  margin-bottom: 24px;
  padding-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid var(--navy-950);
}

.cast-group-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--coral-600);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.cast-group-heading h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cast-group-date {
  margin: 0 0 2px;
  color: var(--blue-600);
  font-size: 15px;
  font-weight: 800;
}

.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cast-card {
  min-width: 0;
  background: var(--white);
  border-bottom: 3px solid transparent;
  box-shadow: var(--shadow-soft);
  overflow: hidden;

  transition:
    transform 0.38s
      cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.38s ease;
}

.cast-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--navy-900);
}

/* 기존 가상 인물 실루엣 제거 */
.cast-visual::after {
  display: none;
}

.cast-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 50%;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 59, 0),
    rgba(7, 26, 59, 0.7)
  );
  pointer-events: none;
}

.cast-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 0.65s
      cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
}

.cast-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  min-height: 27px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  background: var(--coral-600);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.cast-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 72% 24%,
      rgba(255, 170, 94, 0.96) 0 11%,
      transparent 11.5%
    ),
    linear-gradient(
      145deg,
      #123d78 0%,
      #59418d 42%,
      #c55485 72%,
      #ee7869 100%
    );
}

.cast-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(7, 26, 59, 0.24)
    );
}

.cast-placeholder-number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.cast-placeholder-text {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cast-body {
  padding: 21px 20px 23px;
}

.cast-body strong {
  display: block;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.15;
}

.cast-role {
  min-height: 46px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.cast-meta {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cast-meta > div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.cast-meta > div + div {
  margin-top: 7px;
}

.cast-meta dt {
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 850;
}

.cast-meta dd {
  min-width: 0;
  margin: 0;
  color: #5c6677;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.cast-group-busking .cast-placeholder {
  background:
    radial-gradient(
      circle at 70% 23%,
      rgba(255, 174, 101, 0.92) 0 10%,
      transparent 10.5%
    ),
    linear-gradient(
      145deg,
      #0c376e 0%,
      #35528e 36%,
      #724385 68%,
      #d45f7d 100%
    );
}

@media (hover: hover) {
  .cast-card:hover {
    border-bottom-color: var(--coral-600);
    box-shadow:
      0 24px 48px rgba(18, 41, 73, 0.18);

    transform:
      translateY(-8px)
      scale(1.01);
  }

  .cast-card:hover .cast-visual img {
    filter:
      saturate(1.08)
      brightness(1.03);

    transform: scale(1.055);
  }

  .cast-card:hover .cast-placeholder-text {
    transform: scale(1.04);
  }
}

.cast-placeholder-text {
  transition:
    transform 0.4s
      cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 1040px) {
  .cast-section-list {
    gap: 68px;
  }

  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .cast-section-list {
    gap: 58px;
  }

  .cast-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .cast-group-heading h3 {
    font-size: 34px;
  }

  .cast-group-date {
    font-size: 14px;
  }

  .cast-grid {
    grid-template-columns: 1fr;
  }

  .cast-card {
    width: min(340px, 100%);
    margin: 0 auto;
  }
}

/* Timetable */
.timetable-wrap {
  overflow-x: auto;
  background: var(--white);
  border-top: 3px solid var(--navy-950);
  box-shadow: var(--shadow-soft);
}

.timetable {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
  border-collapse: collapse;
}

.timetable th,
.timetable td {
  padding: 17px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.timetable thead th {
  color: var(--white);
  background: var(--navy-900);
  font-family: var(--font-display);
  font-size: 18px;
}

.timetable tbody th {
  width: auto;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  color: var(--blue-600);
  background: #f3f8fb;
  font-size: 14px;
  white-space: nowrap;
}

.timetable td {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.timetable .highlight {
  color: var(--coral-600);
}

.timetable .screening-cell {
  color: var(--navy-900);
  background-color: #e7f3f9;
  font-weight: 700;
  vertical-align: middle;
}

.timetable-subtitle-main {
  margin-top: 42px;
}

.timetable .main-stage-place {
  padding: 20px 12px;
  color: #ffffff;
  background: #f58a4b;
  font-size: 15px;
  line-height: 1.5;
  white-space: nowrap;
}

.timetable .main-stage-place strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.timetable .main-stage-place span {
  display: block;
  margin-top: 3px;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 750;
}

/* 메인무대·기타 프로그램 표 공통 너비 */
.main-stage-timetable,
.venue-timetable {
  width: 100%;
  min-width: 1040px;
  table-layout: fixed;
}

/* 장소 열 */
.timetable .place-column {
  width: 150px;
}

/* 시간 열 */
.timetable .time-column {
  width: 160px;
}

/* 날짜 열 */
.timetable .day-column {
  width: calc((100% - 310px) / 3);
}

/* 장소별 프로그램 시간표 */
.timetable-subtitle {
  margin: 58px 0 18px;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.venue-timetable-wrap {
  margin-top: 0;
}

.venue-timetable .venue-place {
  padding-left: 12px;
  padding-right: 12px;
  color: var(--navy-900);
  background: #edf3f7;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.venue-timetable .venue-time {
  padding-left: 10px;
  padding-right: 10px;
  color: var(--blue-600);
  background: #f7fafc;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
  white-space: nowrap;
}

.venue-timetable .venue-program {
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  vertical-align: middle;
}

.venue-timetable .venue-empty {
  color: var(--muted);
  text-align: center;
}

.venue-timetable .venue-detail {
  color: var(--muted);
  font-weight: 600;
}

.venue-timetable .venue-note {
  margin-left: 7px;
  color: var(--coral-600);
  font-weight: 800;
}

@media (max-width: 820px) {
  .timetable-subtitle {
    margin-top: 46px;
    font-size: 26px;
  }

  /*
   * 메인무대 타임테이블
   * 좌우 스크롤 사용
   */
  .main-stage-timetable-wrap {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color:
      var(--coral-600)
      #e8edf2;
  }

  .main-stage-timetable-wrap::-webkit-scrollbar {
    height: 6px;
  }

  .main-stage-timetable-wrap::-webkit-scrollbar-track {
    background: #e8edf2;
  }

  .main-stage-timetable-wrap::-webkit-scrollbar-thumb {
    background: var(--coral-600);
    border-radius: 999px;
  }

  .main-stage-timetable {
    min-width: 690px;
  }

  /* 장소 폭 축소 */
  .main-stage-timetable .place-column {
    width: 72px;
  }

  .main-stage-timetable .time-column {
    width: 104px;
  }

  .main-stage-timetable .day-column {
    width: calc(
      (100% - 176px) / 3
    );
  }

  .main-stage-timetable th,
  .main-stage-timetable td {
    padding: 12px 8px;
    font-size: 12px;
    line-height: 1.5;
  }

  .main-stage-timetable thead th {
    font-size: 13px;
    white-space: nowrap;
  }

  /* 장소 열 고정 */
  .main-stage-timetable
  thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 9;
  }

  .main-stage-timetable
  .main-stage-place {
    position: sticky;
    left: 0;
    z-index: 7;
    width: 72px;
    min-width: 72px;
    padding-left: 5px;
    padding-right: 5px;
    white-space: normal;
    word-break: keep-all;
  }

  .main-stage-timetable
  .main-stage-place strong {
    font-size: 12px;
    line-height: 1.35;
  }

  /* 시간 열 고정 */
  .main-stage-timetable
  thead th:nth-child(2) {
    position: sticky;
    left: 72px;
    z-index: 9;
    box-shadow:
      5px 0 8px
      rgba(7, 26, 59, 0.1);
  }

.main-stage-timetable
tbody th[scope="row"] {
  position: sticky;
  left: 72px;
  z-index: 6;
  width: 104px;
  min-width: 104px;
  padding-left: 5px;
  padding-right: 5px;
  background: #f3f8fb;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow:
    5px 0 8px
    rgba(7, 26, 59, 0.08);
}

  /*
 * 기타 프로그램
 * 기존 좌우 스크롤 방식
 */
.venue-timetable-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.venue-timetable {
  width: 100%;
  min-width: 920px;
  table-layout: auto;
}

.venue-timetable
.venue-place-column {
  width: 135px;
}

.venue-timetable
.venue-time-column {
  width: 145px;
}

.venue-timetable
.venue-day-column {
  width: calc(
    (100% - 280px) / 3
  );
}

.venue-timetable
th,
.venue-timetable
td {
  position: static;
  min-width: 0;
  padding: 14px 12px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  word-break: keep-all;
  box-shadow: none;
}

.venue-timetable
thead th {
  font-size: 13px;
}

.venue-timetable
.venue-place {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
}

.venue-timetable
.venue-time {
  background: #f7fafc;
  font-size: 12px;
  white-space: nowrap;
}

.venue-timetable
.venue-program {
  padding-left: 18px;
  padding-right: 18px;
}

.venue-timetable
.venue-note {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.4;
}
}

/* Program film detail */
.film-detail-list {
  width: min(980px, 100%);
}

.film-detail {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.film-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.film-detail-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.film-detail-heading span {
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.film-detail-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.film-detail-content {
  display: grid;
  grid-template-columns:
    minmax(220px, 300px)
    minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.film-detail-poster {
  position: relative;
  aspect-ratio: 7 / 10;
  overflow: hidden;
  background: #dce5ed;
  box-shadow: 0 14px 32px rgba(19, 41, 70, 0.12);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.film-detail-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 59, 0),
    rgba(7, 26, 59, 0.2)
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.film-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}

.film-detail-poster:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(19, 41, 70, 0.22);
}

.film-detail-poster:hover::after {
  opacity: 1;
}

.film-detail-poster:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.film-detail-info {
  min-width: 0;
  padding-top: 6px;
}

.film-detail-schedule {
  margin: 16px 0 0;
  color: var(--coral-600);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.film-detail-title {
  margin: 17px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.film-detail-en {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.film-spec-list {
  margin: 34px 0 0;
  border-top: 2px solid var(--navy-950);
}

.film-spec-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.film-spec-list dt {
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 800;
}

.film-spec-list dd {
  min-width: 0;
  margin: 0;
  color: #4f596a;
  font-size: 14px;
  line-height: 1.65;
}

.film-award-person {
  margin-left: 5px;
  color: var(--muted);
  font-size: 12px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-card {
  position: relative;
  min-height: 320px;
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background:
    linear-gradient(
      180deg,
      rgba(7, 26, 59, 0.02) 0%,
      rgba(7, 26, 59, 0.12) 34%,
      rgba(7, 26, 59, 0.9) 100%
    ),
    linear-gradient(
      145deg,
      #123d78 0%,
      #55428d 34%,
      #b64f89 62%,
      #ec6975 82%,
      #f39a62 100%
    );
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

/* 카드 안쪽 선셋 빛 표현 */
.event-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 178, 105, 0.2);
  filter: blur(2px);
  opacity: 0.85;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    transform 0.5s
      cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -95px;
  height: 180px;
  border-radius: 50% 50% 0 0;
  background: rgba(7, 26, 59, 0.22);
  transform: rotate(-4deg);
  pointer-events: none;

  transition:
    background 0.35s ease,
    transform 0.5s
      cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card-top,
.event-card-body {
  position: relative;
  z-index: 1;
}

.event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.event-card span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.event-category {
  color: rgba(255, 255, 255, 0.82);
}

.event-place {
  min-height: 27px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(7, 26, 59, 0.18);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.event-card-body {
  margin-top: auto;
  transition:
    transform 0.4s
      cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card strong {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1.2;
}

.event-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.65;
}

.event-card .event-schedule {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.event-card .event-description {
  color: rgba(255, 255, 255, 0.78);
}

.event-card {
  transition:
    transform 0.4s
      cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    filter 0.4s ease;
}

/* 전체 카드 마우스 오버 효과 */
@media (hover: hover) {
  .event-card:hover {
    transform:
      translateY(-8px)
      scale(1.012);

    box-shadow:
      0 25px 48px rgba(18, 41, 73, 0.24);

    filter:
      saturate(1.1)
      brightness(1.035);
  }

  .event-card:hover::before {
    opacity: 1;
    transform: scale(1.15);
  }

  .event-card:hover::after {
    background: rgba(7, 26, 59, 0.28);
    transform:
      translateY(-9px)
      rotate(-4deg);
  }

  .event-card:hover .event-card-body {
    transform: translateY(-3px);
  }

  .event-card:hover .event-place {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(7, 26, 59, 0.3);
  }
}

/* 링크 카드 키보드 포커스 */
.event-card-link:focus-visible {
  transform:
    translateY(-8px)
    scale(1.012);

  box-shadow:
    0 25px 48px rgba(18, 41, 73, 0.24);

  filter:
    saturate(1.1)
    brightness(1.035);

  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -6px;
}

.event-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.event-more span {
  transition:
    transform 0.3s
      cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card-link:hover .event-more span,
.event-card-link:focus-visible .event-more span {
  transform: translateX(5px);
}

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

  .event-card {
    min-height: 290px;
    padding: 25px;
  }
}

/* Apply */
.dance-info {
  background: var(--white);
  border-top: 4px solid var(--navy-950);
  box-shadow: var(--shadow-soft);
}

.dance-summary {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.dance-summary > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  min-height: 76px;
  padding: 18px 26px;
}

.dance-summary > div + div {
  border-left: 1px solid var(--line);
}

.dance-summary dt {
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 800;
}

.dance-summary dd {
  margin: 0;
  color: #4f596a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.dance-process {
  padding: 34px 32px 38px;
}

.dance-process h3 {
  margin: 0 0 24px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.dance-process-list {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy-950);
}

.dance-process-list li {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 19px 6px;
  border-bottom: 1px solid var(--line);
}

.dance-process-list time {
  color: var(--blue-600);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.65;
}

.dance-process-list p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
}

.dance-process-detail {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

.apply-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  padding: 40px;
  background: var(--white);
  border-top: 4px solid var(--coral-600);
  box-shadow: var(--shadow-soft);
}

.apply-box h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 34px;
}

.apply-list {
  margin-top: 23px;
}

.apply-list li {
  position: relative;
  padding: 11px 0 11px 19px;
  color: #4f596a;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.6;
}

.apply-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-600);
}

.apply-side {
  padding: 28px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy-900), var(--purple-500));
}

.apply-side strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
}

.apply-side p {
  margin: 13px 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

/* Boards */
.board-list {
  background: var(--white);
  border-top: 3px solid var(--navy-950);
}

.board-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 120px 130px;
  gap: 18px;
  align-items: center;
  min-height: 66px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.board-num,
.board-date,
.board-writer {
  color: var(--muted);
}

.board-title {
  font-weight: 750;
}

.notice-board {
  width: 100%;
}

.notice-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notice-item:hover,
.notice-item:focus-visible {
  background: #f4f8fb;
  outline: 0;
}

/* 목록 또는 상세 영역 숨김 */
.notice-detail[hidden],
.board-list[hidden] {
  display: none;
}

.notice-detail {
  padding: 38px 32px 32px;
  background: var(--white);
  border-top: 3px solid var(--navy-950);
}

.notice-detail-header {
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.notice-detail-header h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.notice-detail-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.notice-detail-body {
  min-height: 260px;
  padding: 30px 0 40px;
  color: #4f596a;
  font-size: 15px;
  line-height: 1.85;
}

.notice-detail-body p {
  margin: 0 0 20px;
}

.notice-detail-body p:last-child {
  margin-bottom: 0;
}

.notice-detail-action {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: right;
}

.notice-back-button {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--navy-900);
  color: var(--navy-900);
  background: var(--white);
  font-weight: 750;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.notice-back-button:hover,
.notice-back-button:focus-visible {
  color: var(--white);
  background: var(--navy-900);
  outline: 0;
}

.qna-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-top: 3px solid var(--navy-950);
}

.qna-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.qna-table th,
.qna-table td {
  height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

.qna-table th {
  background: #f5f7f9;
  font-weight: 800;
}

.qna-table .num {
  width: 90px;
  text-align: center;
}

.qna-table .writer,
.qna-table .date {
  width: 130px;
}

.answer-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.answer-badge.wait {
  color: #9f6719;
  background: #fff3d7;
}

.answer-badge.done {
  color: var(--white);
  background: var(--coral-600);
}

.board-tools {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination button,
.search-row button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.pagination .current {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  font-weight: 800;
}

.search-row {
  display: flex;
  gap: 7px;
}

.search-row select,
.search-row input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.search-row input {
  width: 230px;
}

.qna-write-button {
  margin-top: 18px;
}

.qna-write-panel {
  display: none;
  margin-top: 28px;
  padding: 30px;
  background: var(--white);
  border-top: 3px solid var(--coral-600);
  box-shadow: var(--shadow-soft);
}

.qna-write-panel.is-open {
  display: block;
}

.qna-write-panel h3 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 28px;
}

.qna-write-panel input,
.qna-write-panel textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.qna-write-panel textarea {
  min-height: 150px;
  resize: vertical;
}

.faq-list {
  background: var(--white);
  border-top: 3px solid var(--navy-950);
}

.faq-item {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}

.faq-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* DSFF 소개 페이지 */
.dsff-intro-lead {
  max-width: 850px;
}

/* 축제 포스터 */
.dsff-poster {
  position: relative;
  isolation: isolate;
  width: min(420px, 100%);
  margin: 50px auto 0;
  overflow: visible;

  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 포스터 이미지 프레임 */
.dsff-poster-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 22px 55px rgba(14, 31, 57, 0.18);

  transition:
    box-shadow 0.7s ease;
}

.dsff-poster img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;

  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s ease;
}

/* 포스터 뒤쪽 선셋 글로우 */
.dsff-poster::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: 0;

  background: linear-gradient(
    135deg,
    rgba(255, 52, 28, 0.96) 0%,
    rgba(255, 103, 28, 0.9) 45%,
    rgba(237, 53, 119, 0.84) 100%
  );

  background-size: 180% 180%;
  filter: blur(11px);
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;

  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 포스터 이미지 위 선셋 오버레이 */
.dsff-poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    145deg,
    rgba(255, 52, 28, 0.075),
    transparent 46%,
    rgba(255, 122, 35, 0.11) 73%,
    rgba(237, 53, 119, 0.075)
  );

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.65s ease;
}

/* 선셋 색상 흐름 */
@keyframes poster-sunset-glow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* 마우스 오버 효과 */
@media (hover: hover) {
  .dsff-poster:hover {
    transform:
      translateY(-9px)
      scale(1.008);
  }

  .dsff-poster:hover::before {
    opacity: 0.82;
    transform: scale(1.025);

    animation:
      poster-sunset-glow
      5s
      ease-in-out
      infinite;
  }

  .dsff-poster:hover
  .dsff-poster-frame {
    box-shadow:
      0 32px 72px rgba(14, 31, 57, 0.25);
  }

  .dsff-poster:hover img {
    transform: scale(1.035);

    filter:
      saturate(1.11)
      contrast(1.035)
      brightness(1.015);
  }

  .dsff-poster:hover
  .dsff-poster-frame::after {
    opacity: 1;
  }
}

/* 축제 목표 4개 */
.dsff-goal-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dsff-goal-card {
  position: relative;
  min-height: 250px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 4px solid var(--blue-600);
  box-shadow: var(--shadow-soft);
  overflow: hidden;

  /* 애니메이션 시작 상태 */
  opacity: 0;
  visibility: hidden;
  filter: blur(7px);
  transform:
    translateY(65px)
    scale(0.95);

  transition:
    opacity 1s ease,
    visibility 1s ease,
    filter 1.1s ease,
    transform 1.25s
      cubic-bezier(0.16, 1, 0.3, 1);

  will-change:
    opacity,
    transform,
    filter;
}

/* 화면에 노출된 상태 */
.dsff-goal-grid.is-visible
.dsff-goal-card {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform:
    translateY(0)
    scale(1);
}

/* 카드별 순차 노출 */
.dsff-goal-grid.is-visible
.dsff-goal-card:nth-child(1) {
  transition-delay: 0.1s;
}

.dsff-goal-grid.is-visible
.dsff-goal-card:nth-child(2) {
  transition-delay: 0.4s;
}

.dsff-goal-grid.is-visible
.dsff-goal-card:nth-child(3) {
  transition-delay: 0.7s;
}

.dsff-goal-grid.is-visible
.dsff-goal-card:nth-child(4) {
  transition-delay: 1s;
}

.dsff-goal-card:nth-child(2) {
  border-top-color: var(--coral-600);
}

.dsff-goal-card:nth-child(3) {
  border-top-color: var(--green-600);
}

.dsff-goal-card:nth-child(4) {
  border-top-color: var(--purple-500);
}

.dsff-goal-number {
  display: block;
  margin-bottom: 28px;
  color: #a1a9b6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.dsff-goal-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.dsff-goal-card p {
  margin: auto 0 0;
  padding-top: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* 축제 개요 */
.dsff-overview {
  margin-top: 72px;
  padding: 0 34px;
  color: var(--white);
  background: #302e2f;
}

.dsff-overview-row {
  margin: 0;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.23);
}

.dsff-overview-row:first-child {
  border-top: 0;
}

.dsff-overview-row dt,
.dsff-overview-row dd {
  margin: 0;
  padding: 24px 0;
}

.dsff-overview-row dt {
  padding-right: 30px;
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
}

.dsff-overview-row dd {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.8;
}

.dsff-overview-row dd strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 750;
}

.dsff-overview-row dd span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.dsff-overview-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dsff-overview-list li {
  position: relative;
  padding-left: 14px;
}

.dsff-overview-list li::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--coral-500);
}

/* 태블릿 */
@media (max-width: 1040px) {
  .dsff-goal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dsff-overview-row {
    grid-template-columns: 210px minmax(0, 1fr);
  }
}

/* 모바일 */
@media (max-width: 820px) {
  .dsff-poster {
    width: min(320px, 100%);
    margin-top: 38px;
  }

  .dsff-goal-grid {
    margin-top: 48px;
    gap: 14px;
  }

  .dsff-goal-card {
    min-height: 220px;
    transform:
      translateY(42px)
      scale(0.97);
  }

  .dsff-goal-grid.is-visible
  .dsff-goal-card {
    transform:
      translateY(0)
      scale(1);
  }

  .dsff-overview {
    margin-top: 52px;
    padding: 0 22px;
  }

  .dsff-overview-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .dsff-overview-row dt,
  .dsff-overview-row dd {
    padding: 20px 0;
  }

  .dsff-overview-row dt {
    padding-right: 20px;
    font-size: 17px;
  }
}

@media (max-width: 820px) {
  .section-bg-word {
    top: 62px;
    font-size: clamp(72px, 23vw, 112px);
    letter-spacing: -0.08em;
    opacity: 0.5;
  }

  .home-films .section-bg-word {
    top: auto;
    bottom: 22px;
    left: -12px;
  }

  .home-stage .section-bg-word {
    top: auto;
    right: -8px;
    bottom: 22px;
  }

  .home-sponsors .section-bg-word {
    top: auto;
    bottom: 18px;
    left: 50%;
    font-size: clamp(46px, 13vw, 70px);
    transform: translateX(-50%);
  }

  .section-bg-word span {
    transform:
      translateY(45px)
      rotate(4deg);
  }
}

@media (max-width: 600px) {
  .dsff-goal-grid {
    grid-template-columns: 1fr;
  }

  .dsff-goal-card {
    min-height: 210px;
  }

  .dsff-overview {
    padding: 0 18px;
  }

  .dsff-overview-row {
    display: block;
    padding: 20px 0;
  }

  .dsff-overview-row dt,
  .dsff-overview-row dd {
    padding: 0;
  }

  .dsff-overview-row dt {
    margin-bottom: 10px;
    font-size: 17px;
  }
}

@media (max-width: 1040px) {
  .gnb {
    gap: 34px;
  }

  .hero-content {
    padding-left: 40px;
  }

  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .logo {
    min-width: 0;
  }

  .logo-title {
    font-size: 17px;
  }

  .logo-sub {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .gnb-wrap {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    display: block;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .gnb-wrap.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gnb {
    display: block;
    padding: 13px 22px 24px;
  }

  .gnb-item {
    padding: 0;
    border-bottom: 1px solid var(--line);
  }

  .gnb-link {
    padding: 17px 2px;
    color: var(--ink);
    font-size: 20px;
  }

  .gnb-link::after {
    display: none;
  }

.depth {
  position: static;
  display: none;
  min-width: 0;
  padding: 0 0 13px;
  color: var(--muted);
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* 햄버거 메뉴가 열렸을 때 모든 하위 메뉴 표시 */
.gnb-wrap.is-open .depth {
  display: block;
}

.gnb-item:hover .depth,
.gnb-item:focus-within .depth {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

  .depth a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .main-hero {
    min-height: 650px;
    height: 92svh;
  }

  .hero-content {
    width: calc(100% - 44px);
    padding: calc(var(--header-height) + 54px) 0 84px;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(46px, 13vw, 66px);
  }

  .hero-subtitle {
    margin-top: 15px;
    font-size: 22px;
  }

  .hero-date {
    margin: 24px 0 23px;
    font-size: 35px;
  }

  .hero-arrow {
    top: 72%;
    width: 38px;
    height: 38px;
  }

  .hero-arrow.prev {
    left: 10px;
  }

  .hero-arrow.next {
    right: 10px;
  }

  .home-section {
    padding: 58px 0 64px;
  }

  .content-inner,
  .footer-inner {
    width: calc(100% - 36px);
  }

  .film-grid {
    grid-template-columns: 1fr;
    width: min(330px, 100%);
    gap: 18px;
  }

  .film-card {
    border-radius: 11px;
  }

  .stage-carousel {
    min-height: 410px;
  }

  .stage-card,
  .stage-card.is-active {
    width: min(300px, calc(100% - 86px));
    transform: translateX(0) scale(1);
  }

  .stage-card.is-prev {
    opacity: 0;
    transform: translateX(-70%) scale(0.84);
  }

  .stage-card.is-next {
    opacity: 0;
    transform: translateX(70%) scale(0.84);
  }

  .stage-arrow.prev {
    left: 0;
  }

  .stage-arrow.next {
    right: 0;
  }

  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    min-height: 170px;
  }

  .sub-hero {
    min-height: 310px;
  }

  .sub-tabs {
    justify-content: center;
    gap: 0;
    padding: 0 12px;
    overflow: hidden;
  }

  .sub-tabs button {
    flex: 1 1 0;
    min-width: 0;
    max-width: 180px;
    min-height: 56px;
    padding: 0 8px;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
  }

  .sub-tabs button::after {
    left: 12px;
    right: 12px;
  }

  .sub-panel {
    padding: 62px 0 82px;
  }

  .info-grid,
  .program-film-grid,
  .event-grid,
  .apply-box {
    grid-template-columns: 1fr;
  }

  .cast-grid {
    grid-template-columns: 1fr 1fr;
  }

  .board-item {
    grid-template-columns: 56px minmax(0, 1fr) 100px;
  }

  .board-writer {
    display: none;
  }

  .board-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-row {
    flex-wrap: wrap;
  }

  .search-row select,
  .search-row input {
    flex: 1 1 100%;
    width: 100%;
  }

.film-detail {
  margin-bottom: 56px;
  padding-bottom: 56px;
}

.film-detail-content {
  grid-template-columns: 1fr;
  gap: 28px;
}

.film-detail-poster {
  width: min(300px, 100%);
  margin: 0 auto;
}

.film-detail-info {
  padding-top: 0;
}

.film-detail-title {
  font-size: 42px;
}

}

.dance-summary {
  grid-template-columns: 1fr;
}

.dance-summary > div {
  grid-template-columns: 68px minmax(0, 1fr);
  min-height: auto;
  padding: 17px 20px;
}

.dance-summary > div + div {
  border-top: 1px solid var(--line);
  border-left: 0;
}

.dance-process {
  padding: 28px 20px 32px;
}

.dance-process h3 {
  margin-bottom: 20px;
  font-size: 27px;
}

.dance-process-list li {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 17px 2px;
}

.dance-process-list time {
  font-size: 13px;
}

.dance-process-list p {
  font-size: 14px;
}

.dance-process-detail {
  margin-top: 6px;
  font-size: 13px;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.home-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.main-hero {
  touch-action: pan-y;
}

.stage-carousel {
  overflow: hidden;
}

@media (max-width: 520px) {
  .section-title {
    font-size: 38px;
  }

  .section-desc {
    font-size: 14px;
  }

  .hero-title {
    font-size: 45px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-date {
    font-size: 29px;
  }

  .hero-art::before {
    top: 43%;
    left: 72%;
    width: 130px;
  }

  .round-button {
    min-height: 43px;
    font-size: 17px;
  }

  .cast-grid {
    grid-template-columns: 1fr;
  }

  .board-item {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 14px 12px;
  }

  .board-date {
    display: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

.film-detail-heading {
  margin-bottom: 22px;
  gap: 11px;
}

.film-detail-heading h3 {
  font-size: 32px;
}

.film-detail-heading span {
  font-size: 10px;
}

.film-detail-title {
  font-size: 38px;
}

.film-spec-list {
  margin-top: 28px;
}

.film-spec-list > div {
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
}

.film-spec-list dt,
.film-spec-list dd {
  font-size: 13px;
}

.sponsor-cell {
  min-height: 88px;
  padding: 15px;
}

.sponsor-cell img {
  max-width: 105px;
  max-height: 42px;
}

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 520px) {
  .notice-detail {
    padding: 28px 18px 24px;
  }

  .notice-detail-header h3 {
    font-size: 25px;
  }

  .notice-detail-meta {
    gap: 12px;
    font-size: 12px;
  }

  .notice-detail-body {
    min-height: 220px;
    padding: 24px 0 32px;
    font-size: 14px;
    line-height: 1.8;
  }

  .notice-detail-action {
    text-align: center;
  }

  .notice-back-button {
    width: 100%;
  }
}

/* ========================================
   Q&A 게시판
======================================== */

.qna-board {
  width: 100%;
}

.qna-list-view {
  width: 100%;
}

.qna-empty {
  height: 150px !important;
  color: var(--muted);
  text-align: center !important;
}

.qna-title-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.qna-title-button:hover,
.qna-title-button:focus-visible {
  color: var(--coral-600);
  outline: 0;
}

.qna-write-button {
  margin-top: 20px;
  text-align: right;
}

/* 페이지 번호 */
.qna-page-button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.qna-page-button.is-active {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
  font-weight: 800;
}

.qna-page-button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ========================================
   Q&A 모달
======================================== */

body.qna-modal-open {
  overflow: hidden;
}

.qna-modal[hidden] {
  display: none;
}

.qna-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qna-modal-dim {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 59, 0.72);
  backdrop-filter: blur(5px);
}

.qna-modal-box {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  padding: 38px;
  overflow-y: auto;
  background: var(--white);
  border-top: 4px solid var(--coral-600);
  box-shadow:
    0 30px 90px
    rgba(5, 20, 47, 0.35);
}

.qna-password-box {
  width: min(480px, 100%);
}

.qna-detail-box {
  width: min(760px, 100%);
}

.qna-modal-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.qna-modal-close:hover,
.qna-modal-close:focus-visible {
  color: var(--coral-600);
  outline: 0;
}

.qna-modal-header {
  padding-right: 45px;
  margin-bottom: 28px;
}

.qna-modal-header h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.qna-modal-header p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   Q&A 입력 폼
======================================== */

.qna-form-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.qna-field {
  display: block;
}

.qna-field + .qna-field {
  margin-top: 18px;
}

.qna-form-grid .qna-field + .qna-field {
  margin-top: 0;
}

.qna-field > span,
.qna-fixed-title > span {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 800;
}

.qna-field em {
  margin-left: 4px;
  color: var(--coral-600);
  font-size: 11px;
  font-style: normal;
}

.qna-field input,
.qna-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  outline: 0;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.qna-field input {
  height: 48px;
  padding: 0 14px;
}

.qna-field textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
  line-height: 1.7;
}

.qna-field input:focus,
.qna-field textarea:focus {
  border-color: var(--coral-600);
  box-shadow:
    0 0 0 3px
    rgba(239, 102, 88, 0.12);
}

.qna-fixed-title {
  margin: 20px 0;
}

.qna-fixed-title strong {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  color: #5f6877;
  background: #f5f7f9;
  font-size: 14px;
}

.qna-agreement {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #596274;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.qna-agreement input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--coral-600);
}

.qna-form-message {
  min-height: 21px;
  margin: 13px 0 0;
  color: var(--coral-600);
  font-size: 13px;
  font-weight: 700;
}

.qna-form-message.is-success {
  color: var(--green-600);
}

.qna-form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.qna-outline-button {
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid var(--navy-900);
  color: var(--navy-900);
  background: var(--white);
  font-weight: 750;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.qna-outline-button:hover,
.qna-outline-button:focus-visible {
  color: var(--white);
  background: var(--navy-900);
  outline: 0;
}

/* ========================================
   Q&A 상세 내용
======================================== */

.qna-detail-header {
  padding: 0 44px 22px 0;
  border-bottom: 1px solid var(--line);
}

.qna-detail-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qna-detail-title-row h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.25;
}

.qna-detail-title-row .answer-badge {
  flex: 0 0 auto;
  margin-left: 0;
}

.qna-detail-meta {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.qna-detail-section,
.qna-answer-section {
  padding: 28px 0;
}

.qna-detail-label {
  display: block;
  margin-bottom: 15px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 850;
}

.qna-detail-content,
.qna-answer-content {
  min-height: 100px;
  color: #4f596a;
  font-size: 15px;
  line-height: 1.85;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.qna-answer-section {
  padding: 25px;
  border-left: 4px solid var(--coral-600);
  background: #fff5f3;
}

.qna-answer-section[hidden] {
  display: none;
}

.qna-answer-content {
  min-height: auto;
}

.qna-answer-date {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* ========================================
   Q&A 모바일
======================================== */

@media (max-width: 820px) {
  .qna-table {
    min-width: 620px;
  }

  .qna-table .num {
    width: 65px;
  }

  .qna-table .writer,
  .qna-table .date {
    width: 110px;
  }

  .qna-modal {
    padding: 16px;
  }

  .qna-modal-box {
    max-height: calc(100vh - 32px);
    padding: 32px 22px 26px;
  }

  .qna-modal-header h3 {
    font-size: 30px;
  }

  .qna-form-grid {
    grid-template-columns: 1fr;
  }

  .qna-form-grid .qna-field + .qna-field {
    margin-top: 16px;
  }
}

@media (max-width: 520px) {
  .qna-write-button {
    text-align: center;
  }

  .qna-write-button .round-button {
    width: 100%;
  }

  .qna-modal {
    padding: 0;
    align-items: end;
  }

  .qna-modal-box {
    width: 100%;
    max-height: 92svh;
    padding:
      31px 18px
      calc(24px + env(safe-area-inset-bottom));
    border-top-width: 4px;
  }

  .qna-modal-header {
    padding-right: 38px;
  }

  .qna-modal-header h3,
  .qna-detail-title-row h3 {
    font-size: 27px;
  }

  .qna-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .qna-form-actions button {
    width: 100%;
  }

  .qna-detail-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .qna-detail-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .qna-answer-section {
    padding: 21px 18px;
  }
}

@media (max-width: 820px) {
  .footer-inner {
    min-height: auto;
    padding: 38px 0;

    grid-template-columns:
      minmax(0, 1fr)
      auto;

    gap: 28px 20px;
  }

  .footer-copy {
    grid-column: 1 / 2;
    grid-row: 1;
  }

  .footer-logo {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 105px;
  }

  .footer-sns {
    grid-column: 2 / 3;
    grid-row: 1;
  }
}