:root {
  --bg: #101010;
  --surface: #191919;
  --surface-elevated: #242321;
  --surface-soft: #2e2c29;
  --text: #ece6de;
  --muted: #c2b6a7;
  --line: rgba(255, 221, 171, 0.16);
  --accent: #ffd79b;
  --accent-strong: #f1b238;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 215, 155, 0.08), transparent 28%),
    linear-gradient(180deg, #161616 0%, #101010 38%, #121110 100%);
  color: var(--text);
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  line-height: 1.6;
}

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

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

button,
a.button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--accent);
  color: #241700;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.content-shell {
  width: min(860px, calc(100vw - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  backdrop-filter: blur(18px);
  background: rgba(16, 16, 16, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 78px;
  height: auto;
  filter: invert(1);
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), rgba(255, 215, 155, 0.1));
  box-shadow: 0 0 24px rgba(255, 215, 155, 0.4);
}

.brand-name,
.top-nav a,
.mobile-nav a,
.section-label,
.meta-label,
.visit-label,
.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-name {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a {
  font-size: 0.76rem;
  color: var(--muted);
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.top-nav a:hover,
.top-nav a[aria-current="true"] {
  color: var(--accent);
}

.hero {
  position: relative;
  padding: 26px 0 18px;
}

.hero-shell {
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: min(820px, calc(100vw - 24px));
  height: min(96dvh, 1180px);
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0d0d;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.02) 0%, rgba(7, 7, 7, 0.28) 100%),
    radial-gradient(circle at top, rgba(255, 215, 155, 0.08), transparent 28%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
  object-fit: contain;
  transform: none;
}

.hero-video {
  opacity: 0.7;
}

.hero-fallback {
  opacity: 0.48;
}

.hero-media.is-ready .hero-fallback {
  opacity: 0;
}

.eyebrow,
.section-label,
.meta-label,
.visit-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
}

.section-title,
.cta-title {
  margin: 0;
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-meta,
.intro-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin-top: 40px;
  padding: 24px;
  background: rgba(16, 16, 16, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.meta-value {
  margin: 0;
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    sans-serif;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.intro-panel {
  margin-bottom: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.intro-copy {
  margin-top: 28px;
}

.intro-kicker {
  margin: 14px 0 0;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-lead {
  margin: 22px 0 0;
  font-size: 1.12rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.top-nav a:focus-visible,
.mobile-nav a:focus-visible,
.visit-card a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.button-primary {
  background: var(--accent);
  color: #261800;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: rgba(255, 215, 155, 0.28);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(255, 215, 155, 0.52);
  background: rgba(255, 215, 155, 0.08);
}

.section {
  padding: 96px 0;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0)),
    var(--bg);
}

.section-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.03));
}

.section-grid,
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}

.section-text,
.section-intro,
.cta-copy {
  color: var(--muted);
  font-size: 1rem;
}

.section-text p:first-child,
.section-intro,
.cta-copy,
.artist-copy p,
.schedule-card p,
.visit-card p {
  margin-top: 0;
}

.section-text p:last-child,
.artist-copy p:last-child,
.schedule-card p:last-child,
.visit-card p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  text-transform: uppercase;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.schedule-card,
.visit-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.schedule-card:hover,
.visit-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 215, 155, 0.3);
}

.schedule-time {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.schedule-card h3 {
  margin: 12px 0 14px;
  font-size: 1.9rem;
  line-height: 1.05;
}

.program-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.program-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 215, 155, 0.12);
  color: var(--text);
}

.program-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.program-action,
.visit-action {
  margin: 20px 0 0;
}

.schedule-card span {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-cta {
  background:
    radial-gradient(circle at top, rgba(255, 215, 155, 0.07), transparent 24%),
    linear-gradient(180deg, #0f0f0f 0%, #151412 100%);
}

.cta-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.cta-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  text-transform: uppercase;
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.visit-stack {
  display: grid;
  gap: 18px;
}

.visit-label {
  font-size: 0.7rem;
}

.visit-card a {
  color: var(--accent);
}

.mobile-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.mobile-nav a[aria-current="true"] {
  background: rgba(255, 215, 155, 0.12);
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 16px 110px;
  text-align: center;
  color: #9f9589;
  font-size: 0.88rem;
}

.footer-logo {
  display: block;
  width: min(156px, 42vw);
  height: auto;
  filter: invert(1);
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .hero-frame {
    width: min(660px, calc(100vw - 20px));
    height: min(92dvh, 1040px);
    border-radius: 26px;
  }

  .section-grid,
  .section-head,
  .cta-wrap,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .mobile-nav {
    display: grid;
  }

  .site-footer {
    padding-bottom: 118px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-frame {
    width: calc(100vw - 18px);
    height: min(88dvh, 860px);
    border-radius: 22px;
  }

  .section-text,
  .section-intro,
  .cta-copy,
  .schedule-card p,
  .visit-card p,
  .intro-lead {
    font-size: 0.98rem;
  }

  .section {
    padding: 78px 0;
  }

  .intro-panel,
  .schedule-card,
  .visit-card {
    padding: 22px;
  }

  .mobile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 28px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
