/* ==========================================================================
   Sokcho Romantic Rodeo Festival — styles
   Palette sampled from the poster.
   ========================================================================== */

:root {
  --sky-top: #5283b8;
  --sky: #6593c1;
  --sky-low: #769dc6;
  --sky-pale: #e3ecf5;
  --yellow: #f4ff1f;
  --yellow-ink: #3a3d00;
  --ink: #1b232c;
  --ink-2: #27313c;
  --asphalt: #5b6068;
  --paper: #f5f2ea;
  --white: #ffffff;
  --brown: #8a4a2b;
  --line: rgba(27, 35, 44, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);

  --font-sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Segoe UI', sans-serif;
  --font-display: 'Anton', 'Bebas Neue', Impact, 'Arial Narrow Bold', sans-serif;

  --header-h: 64px;
  --gutter: 16px;
  --radius: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sec-paper :focus-visible, .sec-white :focus-visible, .sec-pale :focus-visible { outline-color: var(--sky-top); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-solid {
  background: rgba(82, 131, 184, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .15);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: block; flex-shrink: 0; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; pointer-events: none; }
.brand img { height: 34px; width: auto; }
.site-header.is-solid .brand, .site-header.menu-open .brand { opacity: 1; transform: none; pointer-events: auto; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.lang-switch { display: inline-flex; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; padding: 2px; }
.lang-switch button { border: 0; background: transparent; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--white); }
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--sky-top); }

.menu-btn { position: relative; width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-bar { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-bar:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--sky-top);
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.site-header.menu-open { background: var(--sky-top); }
.site-header.menu-open .nav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.nav ul { padding: 8px var(--gutter) 24px; }
.nav a { display: block; padding: 14px 0; font-size: 20px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-light); }
.nav a.is-active { color: var(--yellow); }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { position: static; max-height: none; overflow: visible; background: none; margin-left: auto; }
  .nav ul { display: flex; gap: 4px; padding: 0; }
  .nav a { font-size: 14px; font-weight: 600; padding: 8px 12px; border: 0; border-radius: 999px; transition: background-color .2s; }
  .nav a:hover { background: rgba(255, 255, 255, .14); }
  .header-actions { margin-left: 8px; }
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky) 55%, var(--sky-low) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-copy {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: calc(var(--header-h) + clamp(28px, 7vh, 96px));
  padding-bottom: clamp(24px, 5vh, 56px);
}
.hero-logo img { width: clamp(260px, min(40vw, 58vh), 540px); height: auto; }
.hero-tagline {
  margin-top: clamp(16px, 2.6vh, 28px);
  font-family: var(--font-display);
  font-size: clamp(26px, min(4.2vw, 6vh), 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--yellow);
  transform: scaleY(1.12);
}
.hero-tagline-local { margin-top: 12px; font-size: 14px; font-weight: 500; letter-spacing: .2em; opacity: .9; }
html[lang="en"] .hero-tagline-local { display: none; }

.hero-weeks { margin-top: clamp(22px, 4vh, 44px); display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 32px); }
.hero-week { display: flex; flex-direction: column; align-items: center; }
.hero-week-label { font-size: clamp(13px, 1.4vw, 18px); font-weight: 600; letter-spacing: .04em; }
.hero-week-date { font-size: clamp(30px, min(4vw, 5.6vh), 48px); font-weight: 200; line-height: 1.15; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-week-line { width: clamp(28px, 6vw, 80px); height: 1px; background: var(--yellow); margin-bottom: clamp(20px, 2.6vw, 30px); opacity: .9; }

.hero-location { margin-top: clamp(18px, 3vh, 34px); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-location-label { font-size: clamp(13px, 1.4vw, 18px); font-weight: 600; letter-spacing: .04em; color: var(--yellow); }
.hero-location-value { font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; letter-spacing: .02em; }
.hero-location-local { font-size: 13px; opacity: .85; }
html[lang="en"] .hero-location-local { display: none; }

.hero-status {
  margin-top: clamp(18px, 3vh, 28px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(27, 35, 44, .28);
  font-size: 14px; font-weight: 600;
  backdrop-filter: blur(4px);
}
.hero-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(244, 255, 31, .7); animation: pulse 2s infinite; }
.hero-status strong { font-family: var(--font-display); font-weight: 400; font-size: 18px; letter-spacing: .02em; color: var(--yellow); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(244, 255, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 255, 31, 0); } }

.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.hero-scene { position: relative; z-index: 1; margin-top: -2px; }
.hero-scene img {
  width: 100%;
  height: clamp(320px, 74vw, 100svh);
  object-fit: cover;
  object-position: 46% 72%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
}

/* Entrance */
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .14s; }
.hero-copy > *:nth-child(4) { animation-delay: .2s; }
.hero-copy > *:nth-child(5) { animation-delay: .26s; }
.hero-copy > *:nth-child(n+6) { animation-delay: .32s; }
.hero-tagline { animation-name: rise-tag; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes rise-tag { from { opacity: 0; transform: translateY(14px) scaleY(1.12); } to { transform: scaleY(1.12); } }

/* ---------------------------------------------------------------- marquee */
.marquee { background: var(--yellow); color: var(--ink); overflow: hidden; border-block: 2px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-item { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); text-transform: uppercase; padding: 10px 0; white-space: nowrap; letter-spacing: .01em; }
.marquee-sep { display: inline-block; width: 10px; height: 10px; margin: 0 22px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- sections */
.sec { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.sec-paper { background: var(--paper); }
.sec-white { background: var(--white); }
.sec-pale { background: var(--sky-pale); }
.sec-sky { background: var(--sky-top); color: var(--white); }
.sec-ink { background: var(--ink); color: var(--white); }

.sec-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-num { font-family: var(--font-display); font-size: 16px; line-height: 1; padding: 6px 8px; border: 1.5px solid currentColor; border-radius: 6px; margin-top: 8px; letter-spacing: .04em; }
.sec-head h2 { display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.sec-en { font-family: var(--font-display); font-size: clamp(44px, 8vw, 96px); line-height: .92; text-transform: uppercase; letter-spacing: -.005em; }
.sec-sub { font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; opacity: .75; }
.sec-sky .sec-en, .sec-ink .sec-en { color: var(--yellow); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* coming soon */
.soon {
  border: 2px dashed currentColor;
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 48px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: .92;
}
.soon-title { font-family: var(--font-display); font-size: clamp(34px, 6vw, 64px); line-height: 1; text-transform: uppercase; }
.sec-ink .soon-title, .sec-sky .soon-title { color: var(--yellow); }
.soon p { max-width: 520px; }
.soon .btn { margin-top: 8px; }
.empty-note { padding: 32px 0; text-align: center; opacity: .7; }

/* ------------------------------------------------------------------ about */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: start; } }
.about-lead { font-size: clamp(24px, 3.2vw, 38px); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.about-body { margin-top: 24px; display: grid; gap: 14px; font-size: 17px; color: #3b4652; max-width: 60ch; }
.facts { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--ink); }
.fact { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.fact dt { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--sky-top); text-transform: uppercase; }
.fact dd { font-size: 18px; font-weight: 700; white-space: pre-line; }
.fact dd small { display: block; font-size: 14px; font-weight: 500; opacity: .7; }
@media (min-width: 600px) { .fact { padding-right: 24px; } }

.about-poster { position: relative; }
.poster-frame {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(27, 35, 44, .45);
  transform: rotate(1.6deg);
  transition: transform .5s var(--ease);
  cursor: zoom-in;
}
.poster-frame:hover { transform: rotate(0deg) scale(1.01); }
.poster-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.poster-thumbs { margin-top: 16px; display: flex; gap: 8px; }
.poster-thumbs button { width: 56px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; opacity: .6; }
.poster-thumbs button[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }

/* --------------------------------------------------------------- schedule */
.weeks { display: grid; gap: 20px; }
@media (min-width: 800px) { .weeks { grid-template-columns: 1fr 1fr; gap: 28px; } }
.week-card { border: 1.5px solid rgba(255, 255, 255, .55); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.week-card.is-past { opacity: .55; }
.week-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.week-label { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1; color: var(--yellow); }
.week-range { font-size: clamp(24px, 3vw, 34px); font-weight: 200; font-variant-numeric: tabular-nums; }
.week-theme { font-size: 17px; font-weight: 700; }
.week-theme.tba { font-weight: 500; opacity: .7; font-size: 15px; }
.days { display: grid; gap: 10px; }
.day {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 10px; background: rgba(255, 255, 255, .1);
}
.day-date { font-family: var(--font-display); font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.day-wd { font-size: 13px; font-weight: 800; letter-spacing: .1em; opacity: .85; }
.day-hours { font-size: 14px; text-align: right; opacity: .9; }
.day.is-today { background: var(--yellow); color: var(--ink); }
.day.is-past { opacity: .5; }
.day-badge { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--yellow); vertical-align: middle; }
.schedule-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.schedule-foot .btn-ghost { border-color: rgba(255, 255, 255, .7); }

/* ---------------------------------------------------------------- program */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 112px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-light); background: transparent; color: var(--white); text-align: left;
  transition: background-color .2s, border-color .2s, color .2s;
}
.tab:hover { border-color: rgba(255, 255, 255, .6); }
.tab[aria-selected="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.tab-week { font-size: 11px; font-weight: 800; letter-spacing: .1em; opacity: .75; }
.tab-date { font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.tab-wd { font-size: 12px; font-weight: 700; }
.tab .day-badge { margin: 4px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { padding: 6px 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; font-size: 14px; font-weight: 600; opacity: .7; }
.chip[aria-pressed="true"] { opacity: 1; background: currentColor; }
.chip[aria-pressed="true"] span { color: var(--ink); }
.sec-white .chip[aria-pressed="true"] span, .sec-paper .chip[aria-pressed="true"] span { color: var(--white); }

.timetable { margin-top: 28px; border-top: 1.5px solid var(--line-light); }
.slot { display: grid; grid-template-columns: 1fr; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 700px) { .slot { grid-template-columns: 150px 1fr auto; align-items: start; } }
.slot-time { font-family: var(--font-display); font-size: 24px; line-height: 1.1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.slot-time small { font-size: 16px; opacity: .7; }
.slot-title { font-size: 19px; font-weight: 800; line-height: 1.4; }
.slot-meta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; opacity: .8; }
.slot-desc { margin-top: 8px; font-size: 15px; opacity: .85; max-width: 62ch; }
.slot-note { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--yellow); }
.slot-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--yellow); }
.slot-side { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.slot.is-now { background: linear-gradient(90deg, rgba(244, 255, 31, .1), transparent 70%); }
.now-badge { font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 3px 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tag.c0 { background: var(--yellow); color: var(--ink); }
.tag.c1 { background: #9cc2ea; color: var(--ink); }
.tag.c2 { background: #d79a74; color: var(--ink); }
.tag.c3 { background: #f3b6c6; color: var(--ink); }
.tag.c4 { background: #b9e2b0; color: var(--ink); }
.tag.c5 { background: #e6e1d3; color: var(--ink); }

.program-always {
  margin-top: 28px; padding: 20px 22px; border-radius: var(--radius);
  border: 1.5px dashed rgba(244, 255, 31, .6);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.program-always p { font-size: 15px; max-width: 60ch; }
.program-change { margin-top: 16px; font-size: 13px; opacity: .65; }

/* ------------------------------------------------------------- experience */
.exp-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .exp-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } .exp-wide { grid-column: 1 / -1; } }
.exp-card {
  background: rgba(255, 255, 255, .1); border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: var(--radius); padding: clamp(20px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 12px;
}
.exp-zone { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--sky-top); }
.exp-name { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 40px); line-height: 1; color: var(--yellow); text-transform: uppercase; }
.exp-title { font-size: 17px; font-weight: 800; line-height: 1.4; }
.exp-desc { font-size: 15px; opacity: .92; }
.exp-steps { display: grid; gap: 10px; margin-top: 4px; counter-reset: none; }
.exp-steps li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 12px 14px; border-radius: 10px; background: rgba(27, 35, 44, .18); }
.exp-step-num { font-family: var(--font-display); font-size: 18px; color: var(--yellow); grid-row: span 2; line-height: 1.2; }
.exp-step-title { font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.exp-step-body { font-size: 14px; opacity: .88; }
.exp-items { display: grid; gap: 10px; margin-top: 4px; }
@media (min-width: 640px) { .exp-items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .exp-items { grid-template-columns: repeat(3, 1fr); } }
.exp-items li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 16px; border-radius: 12px; background: rgba(27, 35, 44, .18); }
.exp-item-num { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--yellow); }
.exp-item-name { font-weight: 800; font-size: 16px; }
.exp-item-body { margin-top: 4px; font-size: 14px; opacity: .88; }
.exp-hours { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-light); font-size: 13px; font-weight: 600; opacity: .85; }

/* ----------------------------------------------------------------- lineup */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: clamp(14px, 2vw, 28px); }
@media (min-width: 700px) { .card-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (max-width: 699px) { .artist-name { font-size: 17px; } .booth-body { padding: 12px 14px 16px; } .booth-top { flex-direction: column; align-items: flex-start; } }
.artist { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.artist-img { aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--sky); }
.artist-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) contrast(1.05); transition: filter .5s, transform .6s var(--ease); }
.artist:hover .artist-img img { filter: none; transform: scale(1.04); }
.artist-img.no-img { display: grid; place-items: center; font-family: var(--font-display); font-size: 64px; color: var(--yellow); }
@media (min-width: 700px) { .lineup-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

/* Generated poster-style thumbnail (no photo yet) */
.artist-gen {
  position: relative; isolation: isolate; container-type: inline-size;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7%; overflow: hidden; /* % padding = share of the card's width (cqi on the container itself would hit the viewport) */
}
.artist-gen::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url("../img/hero-scene-900.jpg") var(--scene, 50% 60%) / 280% auto no-repeat;
  filter: grayscale(1) contrast(1.3);
  mix-blend-mode: multiply; opacity: .34;
  transition: transform .7s var(--ease);
}
.artist-gen::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(0, 0, 0, .16) 1px, transparent 1.5px) 0 0 / 6px 6px;
  opacity: .55;
}
.artist:hover .artist-gen::before { transform: scale(1.07); }
.artist-gen.tone-0 { background: var(--yellow); color: var(--ink); }
.artist-gen.tone-1 { background: var(--sky-top); color: var(--white); }
.artist-gen.tone-1 .ag-name { color: var(--yellow); }
.artist-gen.tone-2 { background: var(--ink); color: var(--white); }
.artist-gen.tone-2::before { mix-blend-mode: screen; opacity: .2; }
.artist-gen.tone-2::after { background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px); }
.artist-gen.tone-2 .ag-name { color: var(--yellow); }
.artist-gen.tone-3 { background: var(--brown); color: var(--white); }

.ag-top, .ag-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 3cqi; font-size: 4.6cqi; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ag-no { font-family: var(--font-display); font-weight: 400; font-size: 6cqi; letter-spacing: 0; }
.ag-bottom { border-top: 1.5px solid currentColor; padding-top: 3cqi; font-size: 4.2cqi; }
.ag-name {
  font-family: var(--font-display), var(--font-sans);
  font-weight: 400; font-synthesis: none;
  line-height: .9; letter-spacing: -.005em; /* no uppercase: keeps stylized names like "ALi" — write thumbName in caps if wanted */
  word-break: keep-all; overflow-wrap: normal;
}
.ag-name.ag-hangul { font-family: var(--font-sans); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.ag-xl { font-size: 32cqi; }
.ag-l { font-size: 22cqi; }
.ag-m { font-size: 16cqi; }
.ag-s { font-size: 13.5cqi; }
.ag-sub { margin-top: 2.5cqi; font-size: 5.4cqi; font-weight: 800; letter-spacing: .02em; }
.ag-stamp {
  position: absolute; right: 6cqi; bottom: 21%;
  transform: rotate(-10deg);
  padding: 1.6cqi 3.4cqi; border: .9cqi solid var(--yellow); border-radius: 2cqi;
  font-family: var(--font-display); font-size: 6.4cqi; text-transform: uppercase; letter-spacing: .04em;
  color: var(--yellow); background: rgba(27, 35, 44, .55);
}
.artist-gen.is-tba .ag-name { opacity: .92; }
.artist-name { font-size: 20px; font-weight: 800; line-height: 1.3; }
.artist-role { font-size: 14px; opacity: .7; }
.artist-dates { display: flex; gap: 6px; flex-wrap: wrap; }
.date-pill { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; }

/* ----------------------------------------------------------------- booths */
.booth { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.booth-img { aspect-ratio: 4 / 3; background: var(--sky-pale); }
.booth-img img { width: 100%; height: 100%; object-fit: cover; }
.booth-body { padding: 16px 18px 20px; display: grid; gap: 8px; }
.booth-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.booth-name { font-size: 18px; font-weight: 800; }
.booth-desc { font-size: 15px; color: #45505c; }
.booth-spot { font-size: 13px; font-weight: 700; color: var(--sky-top); }
.booths-chips { margin: 0 0 24px; color: var(--ink); }

/* --------------------------------------------------------------- location */
.location-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .location-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; } }
.loc-name { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.loc-name-en { display: block; font-family: var(--font-display); font-weight: 400; font-size: .6em; letter-spacing: .02em; color: var(--sky-top); text-transform: uppercase; margin-bottom: 6px; }
.loc-address { margin-top: 12px; font-size: 16px; color: #3b4652; }
.loc-maps { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.loc-transport { margin-top: 36px; display: grid; gap: 4px; }
.loc-transport h3 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-top); margin-bottom: 8px; }
.tr { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.tr-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.tr-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--sky-top); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-title { font-weight: 800; }
.tr-body { font-size: 15px; color: #45505c; white-space: pre-line; }
.loc-visual { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sky); min-height: 280px; }
.loc-visual iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; }
.loc-visual > img { width: 100%; height: clamp(280px, 40vw, 440px); object-fit: cover; object-position: 50% 70%; }
.loc-visual-overlay { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(to top, rgba(27, 35, 44, .8), transparent); color: var(--white); display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.loc-visual-overlay p { font-family: var(--font-display); font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.sitemap-btn { margin-top: 16px; }

/* ------------------------------------------------------------------- news */
.news-list { border-top: 2px solid var(--ink); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item summary, .news-row { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 0; cursor: pointer; align-items: center; }
.news-row { cursor: default; }
.news-item summary::-webkit-details-marker { display: none; }
@media (min-width: 700px) { .news-item summary, .news-row { grid-template-columns: 130px 1fr auto; } }
.news-date { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--sky-top); }
.news-title { font-size: 18px; font-weight: 700; grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (min-width: 700px) { .news-title { grid-column: auto; } }
.news-toggle { width: 28px; height: 28px; position: relative; grid-row: 1; grid-column: 2; }
@media (min-width: 700px) { .news-toggle { grid-column: 3; } }
.news-toggle::before, .news-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s; }
.news-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .news-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.news-body { padding: 0 0 24px; font-size: 16px; color: #3b4652; white-space: pre-line; max-width: 70ch; }
@media (min-width: 700px) { .news-body { padding-left: 146px; } }
.news-body a { font-weight: 700; color: var(--sky-top); }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; }
.badge-pin { background: var(--ink); color: var(--yellow); }
.badge-new { background: var(--yellow); color: var(--ink); border: 1px solid var(--ink); }

/* ---------------------------------------------------------------- gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery-grid button { padding: 0; border: 0; background: var(--ink-2); border-radius: 8px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.gallery-grid button:nth-child(5n+1) { grid-row: span 2; aspect-ratio: auto; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.05); }

/* -------------------------------------------------------------------- faq */
.faq-list { border-top: 2px solid var(--ink); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: 'Q'; font-family: var(--font-display); color: var(--sky-top); font-size: 22px; line-height: 1.2; margin-right: 4px; }
.faq-item summary span:not(.news-toggle) { flex: 1; }
.faq-item .news-toggle { flex-shrink: 0; }
.faq-a { padding: 0 0 24px 28px; color: #3b4652; white-space: pre-line; }

/* --------------------------------------------------------------- partners */
.partner-group + .partner-group { margin-top: 40px; }
.partner-group h3 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--asphalt); margin-bottom: 16px; }
.partner-list { display: flex; flex-wrap: wrap; gap: 12px; }
.partner { display: grid; place-items: center; min-width: 140px; height: 72px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 700; }
.partner img { max-height: 44px; width: auto; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--sky-top); color: var(--white); padding: 64px 0 28px; }
.footer-inner { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand img { width: min(320px, 80%); }
.footer-tagline { margin-top: 14px; font-family: var(--font-display); font-size: 22px; color: var(--yellow); text-transform: uppercase; }
.footer-info { display: grid; gap: 18px; font-size: 15px; }
.footer-info dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; opacity: .7; text-transform: uppercase; }
.footer-info dd a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px; }
.social a:hover { background: rgba(255, 255, 255, .15); }
.social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-light); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; opacity: .85; }
.to-top { text-decoration: none; font-weight: 700; }

/* --------------------------------------------------------------- lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 20, 26, .88); }
.lightbox img { max-width: min(92vw, 1000px); max-height: 84vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lightbox-caption { color: var(--white); text-align: center; margin-top: 12px; font-size: 14px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font-size: 28px; line-height: 1; }

/* ------------------------------------------------------------------ toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .35s var(--ease), visibility 0s .35s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s var(--ease), visibility 0s; }

.noscript { position: fixed; bottom: 0; left: 0; right: 0; background: var(--yellow); color: var(--ink); padding: 12px 16px; text-align: center; font-weight: 600; z-index: 99; }

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

/* ------------------------------------------------------------------ print */
@media print {
  .site-header, .marquee, .hero-cta, .hero-scene, .lightbox, .toast { display: none !important; }
  .hero { background: none; color: var(--ink); }
  .hero-logo img { filter: invert(1); }
  .sec { padding: 24px 0; }
  .sec-sky, .sec-ink { background: none; color: var(--ink); }
  .reveal { opacity: 1; transform: none; }
}
