/* DIGITAL AF SEOUL — original street-art / Seoul-night aesthetic */
:root {
  --bg: #0a0a0a;
  --fg: #f4f1e8;
  --muted: #8a877e;
  --accent: #ff2e4d;
  --accent-2: #f7d046;
  --accent-3: #8be4c9;
  --accent-4: #c4a2ff;
  --card: #141414;
  --line: rgba(244, 241, 232, 0.12);
  --grain: rgba(244, 241, 232, 0.04);
}
[data-theme="light"] {
  --bg: #ede8dc;
  --fg: #0a0a0a;
  --muted: #6b6860;
  --card: #e2dcce;
  --line: rgba(10, 10, 10, 0.14);
  --grain: rgba(10, 10, 10, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--fg); font-family: 'Space Grotesk', sans-serif; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { transition: background 0.4s ease, color 0.4s ease; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { max-width: 100%; display: block; }

/* grain texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, var(--grain) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, var(--grain) 1px, transparent 1px);
  background-size: 4px 4px, 6px 6px;
  pointer-events: none; z-index: 1; opacity: 0.6;
}

/* =========== NAV =========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; letter-spacing: 0.08em;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.nav.hidden { transform: translateY(-100%); opacity: 0; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: 0.04em; }
.nav-brand .brand-mark { display: inline-block; width: 28px; height: 28px; }
.nav-brand .brand-dot { color: var(--accent); }
.nav-brand .brand-unity { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { position: relative; padding: 6px 0; text-transform: uppercase; cursor: pointer; font-weight: 500; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-right { display: flex; gap: 12px; align-items: center; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 24px; padding: 6px 12px;
  font-size: 11px; letter-spacing: 0.1em; transition: border-color 0.2s;
}
.theme-toggle:hover { border-color: var(--fg); }
.theme-toggle .dot-l, .theme-toggle .dot-d { width: 10px; height: 10px; border-radius: 50%; }
.theme-toggle .dot-l { background: #ede8dc; border: 1px solid var(--fg); }
.theme-toggle .dot-d { background: #0a0a0a; border: 1px solid var(--fg); }

/* =========== INTRO (scroll-driven) =========== */
.intro {
  position: relative;
  height: 600vh; /* scroll distance for 6 scenes */
  background: var(--bg);
}
.intro.intro-video {
  height: 100vh;
}
.intro.intro-scroll {
  height: 100vh; /* before ENTER click — no scroll possible */
}
.intro.intro-scroll.started {
  height: 700vh; /* after ENTER — proportional to ~5s video duration */
}
.intro-scroll-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  letter-spacing: 0.4em;
  color: #fff;
  text-shadow: 0 0 18px rgba(0,0,0,0.85), 0 2px 8px rgba(0,0,0,0.7);
  z-index: 5;
  pointer-events: none;
  animation: scroll-hint-fadein 0.6s ease-out;
}
.intro-scroll-arrow {
  font-size: 32px;
  letter-spacing: 0;
  animation: scroll-hint-bob 1.4s ease-in-out infinite;
}
@keyframes scroll-hint-fadein {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes scroll-hint-bob {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%      { transform: translateY(12px); opacity: 1; }
}
.intro-gate {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 56px;
  background: var(--bg);
  z-index: 6;
  padding: 32px;
}
.intro-gate-logo {
  display: flex; align-items: center; gap: 24px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 9vw, 120px);
  letter-spacing: 0.02em;
  color: var(--fg);
  text-transform: uppercase;
  line-height: 1;
}
.intro-gate-logo .brand-dot { color: var(--accent); }
.intro-gate-kr {
  font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif;
  color: var(--accent);
  letter-spacing: 0;
  margin-left: 8px;
}
.intro-gate-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; letter-spacing: 0.32em;
  padding: 18px 38px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, letter-spacing 0.2s, padding 0.2s;
}
.intro-gate-btn:hover {
  background: var(--fg);
  color: var(--bg);
  letter-spacing: 0.42em;
  padding: 18px 44px;
}
.intro-flash {
  position: fixed; inset: 0;
  background: #fff;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  animation: intro-flash-bloom 1.4s ease-out forwards;
  box-shadow: 0 0 240px 120px #fff, 0 0 480px 240px rgba(255,255,255,0.6);
}
@keyframes intro-flash-bloom {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  35%  { opacity: 1; }
  100% { opacity: 0; }
}
.intro-sticky {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
}
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-slot { position: absolute; inset: 0; transition: opacity 0.2s; }
.intro-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.intro-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background: var(--bg);
  z-index: 5;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-size: 11px;
}
.intro-loading-label { color: var(--fg); }
.intro-loading-bar {
  width: min(320px, 60vw); height: 2px;
  background: var(--line); overflow: hidden;
}
.intro-loading-bar span {
  display: block; height: 100%;
  background: var(--accent);
  transition: width 0.15s linear;
}
.intro-loading-pct { font-size: 10px; }
.scene-progress-bar {
  position: absolute; bottom: 24px; left: 32px; right: 32px;
  height: 2px; background: var(--line); z-index: 10;
}
.scene-progress-bar span { display: block; height: 100%; background: var(--accent); transition: width 0.05s linear; }
.scene-progress-ticks {
  position: absolute; bottom: 40px; left: 32px; right: 32px;
  display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--muted); letter-spacing: 0.2em; z-index: 10;
}
.scene-progress-ticks span.active { color: var(--fg); }
.skip-intro {
  position: absolute; top: 100px; right: 32px; z-index: 20;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.15em;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 24px;
  background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.skip-intro:hover { border-color: var(--accent); color: var(--accent); }
.scroll-hint {
  position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.3em;
  color: var(--muted); z-index: 10;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* =========== HERO =========== */
.hero { position: relative; padding: 140px 32px 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 40px; align-items: start; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 32px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title { font-family: 'Anton', sans-serif; font-size: clamp(56px, 14vw, 220px); line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase; display: flex; flex-direction: column; }
.hero-title span { display: block; }
.hero-title .outline { -webkit-text-stroke: 3px var(--fg); color: transparent; }
.hero-title .kr { font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif; font-size: 0.65em; color: var(--accent); }
.hero-tagline { font-size: 20px; line-height: 1.4; max-width: 520px; margin: 32px 0 40px; color: var(--fg); opacity: 0.9; }
.hero-ctas { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 2px; transition: all 0.2s; cursor: pointer; }
.btn.primary { background: var(--accent); color: #0a0a0a; }
.btn.primary:hover { background: var(--fg); color: var(--bg); }
.btn.ghost { border: 1px solid var(--line); color: var(--fg); }
.btn.ghost:hover { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.btn.big { padding: 20px 32px; font-size: 16px; }
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.7) contrast(1.05) brightness(0.7);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in oklab, var(--bg) 25%, transparent) 0%,
    color-mix(in oklab, var(--bg) 50%, transparent) 70%,
    var(--bg) 100%);
}
[data-theme="light"] .hero-bg img { filter: grayscale(0.7) contrast(1.05) brightness(0.95); }
.hero-bg-tag {
  position: absolute;
  bottom: 16px; right: 16px;
  z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em;
  padding: 6px 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  backdrop-filter: blur(6px);
  pointer-events: auto;
}
.hero { position: relative; isolation: isolate; }
.hero-grid { position: relative; z-index: 1; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 24px; border: 1px solid var(--line); background: var(--card); }
.hero-stats div { display: flex; flex-direction: column; gap: 6px; padding: 12px 8px; background: var(--bg); }
.hero-stats b { font-family: 'Anton', sans-serif; font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: 0.01em; }
.hero-stats span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }

.hero-right { display: flex; flex-direction: column; gap: 24px; }
.countdown { border: 1px solid var(--line); padding: 24px; background: var(--card); }
.cd-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 16px; }
.cd-digits { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.cd-digits div { display: flex; flex-direction: column; gap: 4px; align-items: center; background: var(--bg); padding: 12px 8px; }
.cd-digits b { font-family: 'Anton', sans-serif; font-size: 36px; font-weight: 400; letter-spacing: 0.02em; }
.cd-digits span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.cd-foot { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }
.hero-cat { position: relative; display: flex; justify-content: center; align-items: center; padding: 24px; overflow: hidden; }
.hero-cat > svg:first-child { animation: sway 6s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
.paw-trail { position: absolute; bottom: 10px; left: 20px; display: flex; gap: 12px; }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 60px; }
.marquee-inner { display: flex; white-space: nowrap; animation: scroll 30s linear infinite; font-family: 'Anton', sans-serif; font-size: 28px; letter-spacing: 0.04em; will-change: transform; }
.marquee-inner span { flex-shrink: 0; padding-right: 40px; }
.marquee-band {
  position: relative;
  z-index: 2;
  margin: 0 -32px;          /* cancel the hero's 32px horizontal padding */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  padding: 18px 0;
}
.marquee-band .marquee-inner {
  font-size: 28px;
  color: #fff;
}
.hero-stats-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-stats-block .hero-stats {
  border-bottom: none;
}
.hero-enter {
  margin-top: 0;
  padding: 22px 36px;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-align: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-top: none;
}

/* clickable cat — fun reactions */
.hero-cat { position: relative; cursor: pointer; user-select: none; }
.hero-cat-inner { display: inline-block; transform-origin: center 70%; will-change: transform; }
.hero-cat:active .hero-cat-inner { filter: brightness(1.3); }

.cat-anim-bounce { animation: cat-bounce 0.6s cubic-bezier(.5,1.6,.5,1); }
@keyframes cat-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  30%      { transform: translateY(-40px) scale(1.06, 0.94); }
  55%      { transform: translateY(0) scale(0.92, 1.08); }
  75%      { transform: translateY(-12px) scale(1.02, 0.98); }
}
.cat-anim-shake { animation: cat-shake 0.55s; }
@keyframes cat-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  15% { transform: translateX(-14px) rotate(-6deg); }
  30% { transform: translateX(14px) rotate(6deg); }
  45% { transform: translateX(-10px) rotate(-4deg); }
  60% { transform: translateX(10px) rotate(4deg); }
  75% { transform: translateX(-6px) rotate(-2deg); }
}
.cat-anim-spin { animation: cat-spin 0.75s cubic-bezier(.4,1.4,.4,1); }
@keyframes cat-spin {
  0%   { transform: rotate(0) scale(1); }
  60%  { transform: rotate(380deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
.cat-anim-flip { animation: cat-flip 0.75s; }
@keyframes cat-flip {
  0%   { transform: scaleX(1); }
  50%  { transform: scaleX(-1.1) translateY(-10px); }
  100% { transform: scaleX(-1); }
}
.cat-anim-tilt { animation: cat-tilt 0.7s; }
@keyframes cat-tilt {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-22deg); }
  45% { transform: rotate(22deg); }
  70% { transform: rotate(-10deg); }
  90% { transform: rotate(4deg); }
}
.cat-anim-zoom { animation: cat-zoom 0.55s; }
@keyframes cat-zoom {
  0%, 100% { transform: scale(1); }
  40%      { transform: scale(1.35) rotate(-4deg); }
  70%      { transform: scale(0.92); }
}
.cat-anim-wiggle { animation: cat-wiggle 0.85s; }
@keyframes cat-wiggle {
  0%, 100% { transform: skewX(0); }
  15% { transform: skewX(-12deg); }
  30% { transform: skewX(10deg); }
  45% { transform: skewX(-8deg); }
  60% { transform: skewX(6deg); }
  75% { transform: skewX(-4deg); }
}
.cat-anim-flop { animation: cat-flop 0.85s ease-out; }
@keyframes cat-flop {
  0%   { transform: rotate(0) translateY(0); }
  50%  { transform: rotate(95deg) translateY(20px); }
  70%  { transform: rotate(85deg) translateY(20px); }
  100% { transform: rotate(0) translateY(0); }
}

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-25%); } }

/* =========== SECTIONS =========== */
section { position: relative; z-index: 2; }
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.section-head .num { color: var(--accent); font-weight: 700; }
.section-title { font-family: 'Anton', sans-serif; font-size: clamp(36px, 7vw, 100px); line-height: 0.96; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: clamp(28px, 4vw, 60px); max-width: 1100px; text-wrap: balance; }
.section-title .accent { color: var(--accent); }

/* TRACK RECORD */
.trackrecord { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tr-edition { padding: 28px 24px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 14px; transition: border-color 0.3s; }
.tr-edition:hover { border-color: var(--accent); }
.tr-edition-wide { grid-column: 1 / -1; }
.tr-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.25em; color: var(--accent); }
.tr-edition-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.tr-edition-text { font-size: 14px; line-height: 1.55; opacity: 0.85; }
.tr-stats { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tr-stats-4 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.tr-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; background: var(--bg); }
.tr-stats b { font-family: 'Anton', sans-serif; font-size: 32px; font-weight: 400; line-height: 1; }
.tr-stats span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }
.tr-speakers { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.tr-speakers-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.22em; color: var(--muted); }
.tr-cta { margin-top: 32px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.3em; color: var(--accent); text-align: right; }

/* WHAT WE'LL DO */
.whatwell { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.whatwell-intro { font-size: 16px; line-height: 1.55; max-width: 820px; margin-bottom: 48px; opacity: 0.9; }
.whatwell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.whatwell-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.whatwell-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.ww-daf { border-color: var(--accent); }
.ww-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.3em; color: var(--accent); }
.whatwell-card h3 { font-family: 'Anton', sans-serif; font-size: 32px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.ww-meta { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; }
.ww-stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  padding: 0; margin: 4px 0 0;
}
.ww-stats li { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; background: var(--bg); }
.ww-stats b { font-family: 'Anton', sans-serif; font-size: 28px; font-weight: 400; line-height: 1; }
.ww-stats span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }
.ww-text { font-size: 14px; line-height: 1.55; opacity: 0.85; }
.whatwell-flow {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.ww-flow-step {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--card);
}
.ww-flow-num { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--accent); }
.ww-flow-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; }
.ww-flow-sep { color: var(--accent); font-family: 'Anton', sans-serif; font-size: 18px; }

/* VENUE */
.venue { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.venue-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  min-height: 540px;
}
.venue-photo-main { grid-column: 1; grid-row: 1 / span 2; }
.venue-photo-side { grid-column: 2; grid-row: 1; }
.venue-photo-plan { grid-column: 2; grid-row: 2; background: #fff; }
.venue-photo {
  position: relative;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}
.venue-photo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s, filter 0.6s;
}
.venue-photo-main img,
.venue-photo-side img { filter: grayscale(0.3) contrast(1.05); }
.venue-photo-plan img { object-fit: contain; padding: 12px; filter: invert(0.05); }
[data-theme="dark"] .venue-photo-plan { background: #f4f4f4; }
.venue-photo:hover img { transform: scale(1.03); filter: grayscale(0); }
.venue-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em;
  padding: 6px 10px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  backdrop-filter: blur(6px);
}
.venue-info {
  display: flex; flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--card);
}
.venue-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.venue-stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  padding: 0; margin: 0;
}
.venue-stats li {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  background: var(--bg);
}
.venue-stats b { font-family: 'Anton', sans-serif; font-size: 28px; font-weight: 400; line-height: 1; }
.venue-stats span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em; color: var(--muted); text-transform: uppercase; }
.venue-text { font-size: 14px; line-height: 1.55; opacity: 0.9; }
@container (max-width: 720px), (max-width: 720px) {
  .venue-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }
  .venue-photo-main, .venue-photo-side, .venue-photo-plan { grid-column: 1; grid-row: auto; }
  .venue-photo-main { aspect-ratio: 16/9; }
  .venue-photo-side { aspect-ratio: 16/9; }
  .venue-photo-plan { aspect-ratio: 16/9; }
}

/* SEOUL NETWORK */
.seoul-network { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.kbw-pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  margin-bottom: 22px;
  flex-wrap: wrap;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.kbw-pill-tag { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.3em; color: var(--accent); }
.kbw-pill-text { font-family: 'Anton', sans-serif; font-size: 16px; letter-spacing: 0.04em; }
.kbw-pill-stats { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); }
.seoul-network-intro { font-size: 16px; line-height: 1.55; max-width: 820px; margin-bottom: 48px; opacity: 0.9; }
.seoul-web {
  display: flex; justify-content: center; align-items: center;
  width: 100%;
}
.seoul-web svg {
  width: 100%; max-width: 1700px; height: auto;
  filter: drop-shadow(0 0 30px color-mix(in oklab, var(--accent) 18%, transparent));
}
.seoul-line {
  animation: seoul-line-pulse 3.4s ease-in-out infinite;
}
@keyframes seoul-line-pulse {
  0%, 100% { opacity: 0.45; stroke-dashoffset: 0; }
  50%      { opacity: 0.75; stroke-dashoffset: -10; }
}
.seoul-node {
  animation: seoul-node-pulse 3s ease-in-out infinite;
  transform-origin: center;
}
@keyframes seoul-node-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.78; }
}
.seoul-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}
.sn-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: var(--card);
  align-items: start;
  transition: border-color 0.3s, transform 0.3s;
}
.sn-item:hover { border-color: var(--accent); transform: translateY(-3px); }
.sn-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-top: 4px;
}
.sn-info { display: flex; flex-direction: column; gap: 8px; }
.sn-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.sn-name {
  font-family: 'Anton', sans-serif;
  font-size: 22px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.sn-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.sn-desc { font-size: 14px; line-height: 1.5; opacity: 0.9; }

.seoul-hub > circle:nth-child(1),
.seoul-hub > circle:nth-child(2) {
  animation: hub-ring 2.6s ease-in-out infinite;
}
@keyframes hub-ring {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

/* MANIFESTO */
.manifesto { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.manifesto-body { display: flex; flex-direction: column; gap: 32px; max-width: 900px; }
.manifesto-body p { font-size: 18px; line-height: 1.6; opacity: 0.85; }
.manifesto-body .manifesto-lead {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-transform: none;
  opacity: 1;
  padding: 32px;
  border-left: 4px solid var(--accent);
  background: var(--card);
}

/* LEGACY */
.legacy { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.legacy-intro { font-size: 18px; line-height: 1.55; max-width: 720px; margin-bottom: 60px; opacity: 0.9; }
.legacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.legacy-card { padding: 32px 28px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 14px; transition: border-color 0.3s, transform 0.3s; }
.legacy-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.legacy-tag { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.25em; color: var(--accent); }
.legacy-card h3 { font-family: 'Anton', sans-serif; font-size: 28px; letter-spacing: 0.01em; }
.legacy-card p { font-size: 14px; line-height: 1.55; opacity: 0.85; }
.legacy-foot { margin-top: 48px; font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.3em; color: var(--accent); text-align: center; }

.objective { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.obj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.obj-card { padding: 32px 24px; border: 1px solid var(--line); background: var(--card); transition: all 0.3s; display: flex; flex-direction: column; gap: 16px; }
.obj-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.obj-card h3 { font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.obj-card p { font-size: 14px; line-height: 1.55; color: var(--fg); opacity: 0.8; }

.events { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.event-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 40px;
  overflow: hidden;
  transition: border-color 0.4s;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  scroll-margin-top: 80px;
  container-type: inline-size;
}
@container (max-width: 720px) {
  .event-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .event-card > .ec-photo { grid-column: 1; grid-row: auto; aspect-ratio: 16/9; }
  .event-card > .ec-body { grid-column: 1; grid-row: auto; }
  .event-card > .ec-deep { grid-column: 1; grid-row: auto; padding-top: 22px; }
  .ec-special-roster .ec-roster-headliner { grid-template-columns: 1fr; }
  .ec-roster-photo { aspect-ratio: 16/9; }
}
.event-card:hover { border-color: var(--card-accent); }
.event-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, var(--card-accent) 200%);
  opacity: 0; transition: opacity 0.4s;
}
.event-card:hover::before { opacity: 0.10; }
.event-card > .ec-top { grid-column: 1 / -1; }
.event-card > .ec-photo { grid-column: 1; grid-row: 2; align-self: start; aspect-ratio: 4/3; }
.event-card > .ec-body { grid-column: 2; grid-row: 2; }
.event-card > .ec-deep { grid-column: 1 / -1; grid-row: 3; padding-top: 28px; border-top: 1px solid var(--line); }
.ec-top { display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; }
.ec-num { color: var(--muted); }
.ec-label { color: var(--card-accent); font-weight: 700; }
.ec-visual { position: relative; height: 180px; display: flex; align-items: center; justify-content: center; }
.ec-cat { position: relative; z-index: 2; transition: transform 0.5s; }
.event-card.hover .ec-cat { transform: scale(1.1) rotate(-3deg); }
.ec-kr {
  position: relative; z-index: 2;
  font-family: 'Black Han Sans', 'Noto Sans KR', sans-serif;
  font-size: clamp(64px, 7vw, 110px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.4s, letter-spacing 0.4s;
  text-shadow: 0 0 18px color-mix(in oklab, currentColor 40%, transparent);
}
.event-card.hover .ec-kr {
  transform: scale(1.06);
  letter-spacing: 0.06em;
}
.ec-spray { position: absolute; inset: 20%; border-radius: 50%; opacity: 0.2; filter: blur(30px); z-index: 1; }
.ec-title { font-family: 'Anton', sans-serif; font-size: 56px; letter-spacing: 0.01em; text-transform: uppercase; line-height: 0.9; }
.ec-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); margin-top: 8px; margin-bottom: 16px; }
.ec-blurb { font-size: 15px; line-height: 1.55; opacity: 0.9; margin-bottom: 20px; }
.ec-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ec-meta li { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.15em; padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); }
.ec-deep {
  display: flex; flex-direction: column; gap: 22px;
}
.ec-deep-hero {
  font-family: 'Anton', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  color: var(--card-accent);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

/* Photo slot for event card */
.ec-photo {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.ec-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ec-photo-iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.ec-photo img[src$=".png"] { object-fit: contain; padding: 24px; background: #0a0a0a; }
[data-theme="light"] .ec-photo img[src$=".png"] { background: #f4f4f4; filter: invert(1); }
.ec-photo-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; height: 100%; gap: 12px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--card-accent) 18%, transparent), transparent 80%);
}
.ec-photo-tbd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--card-accent);
}
.ec-photo-corner {
  position: absolute; top: 12px; right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em;
  padding: 5px 9px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* Keywords */
.ec-keywords {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.ec-kw {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--fg);
  background: var(--bg);
}

/* Special blocks */
.ec-special {
  border-left: 3px solid var(--card-accent);
  padding: 18px 22px;
  background: color-mix(in oklab, var(--card-accent) 8%, transparent);
  display: flex; flex-direction: column; gap: 12px;
}
.ec-special-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--card-accent);
  text-transform: uppercase;
}
.ec-special-title {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.ec-special-text { font-size: 14px; line-height: 1.55; opacity: 0.92; }

/* App-type special (Hackathon — Chanoirs) */
.ec-special-app .ec-special-video {
  margin-top: 6px;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.ec-special-app .ec-special-video iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.ec-video-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ec-video-label {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--card-accent);
}
.ec-video-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

/* Roster (Art / Party) */
.ec-special-roster .ec-roster-headliner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
}
.ec-roster-photo {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in oklab, var(--card-accent) 25%, transparent), transparent);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ec-roster-photo img { width: 100%; height: 100%; object-fit: cover; }
.ec-roster-info { display: flex; flex-direction: column; gap: 6px; }
.ec-roster-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em;
  color: var(--card-accent);
}
.ec-roster-name {
  font-family: 'Anton', sans-serif;
  font-size: 28px; line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.ec-roster-desc { font-size: 13px; line-height: 1.5; opacity: 0.88; }
.ec-roster-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  padding: 0; margin: 8px 0 0;
}
.ec-roster-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ec-roster-country {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.25em;
  color: var(--card-accent);
}
.ec-roster-rname {
  font-family: 'Anton', sans-serif;
  font-size: 18px; letter-spacing: 0.01em;
}
.ec-roster-rrole {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.1em; color: var(--muted);
}
.ec-roster-footnote {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--card-accent);
  text-transform: uppercase;
}

/* CTA button */
.ec-deep-cta {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-block;
  padding: 14px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: #0a0a0a;
  text-transform: uppercase;
  border: none; cursor: pointer;
  transition: transform 0.2s, letter-spacing 0.2s;
}
.ec-deep-cta:hover { transform: translateY(-2px); letter-spacing: 0.28em; }

/* Portfolio modal */
.portfolio-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: portfolio-fadein 0.3s ease-out;
}
@keyframes portfolio-fadein { from { opacity: 0; } to { opacity: 1; } }
.portfolio-modal {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--card-accent);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  animation: portfolio-pop 0.35s cubic-bezier(.4,1.4,.4,1);
}
@keyframes portfolio-pop {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.portfolio-close {
  position: absolute; top: 12px; right: 16px;
  width: 36px; height: 36px;
  font-size: 28px;
  border: none; background: transparent; cursor: pointer;
  color: var(--fg);
  line-height: 1;
}
.portfolio-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
}
.portfolio-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1; letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 8px 0 8px;
}
.portfolio-sub { font-size: 14px; opacity: 0.85; margin-bottom: 24px; }
.portfolio-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.portfolio-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--card);
  align-items: baseline;
}
.portfolio-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--card-accent);
}
.portfolio-name {
  grid-column: 2;
  font-family: 'Anton', sans-serif;
  font-size: 22px; letter-spacing: 0.02em;
  text-transform: uppercase;
}
.portfolio-desc {
  grid-column: 2;
  font-size: 13px; line-height: 1.45;
  opacity: 0.85;
}
.portfolio-cta-row { display: flex; justify-content: flex-end; }
.portfolio-cta {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.22em;
  text-decoration: none;
  color: #0a0a0a;
  text-transform: uppercase;
  transition: transform 0.2s;
}
.portfolio-cta:hover { transform: translateY(-2px); }

/* Strategic cards (Partners section) */
.partners { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); }
.strat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.strat-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: var(--card);
  transition: border-color 0.3s, transform 0.3s;
}
.strat-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.strat-top { display: flex; justify-content: space-between; align-items: center; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; }
.strat-num { color: var(--muted); }
.strat-label { color: var(--accent); font-weight: 700; }
.strat-title { font-family: 'Anton', sans-serif; font-size: 26px; line-height: 1.05; letter-spacing: 0.01em; text-transform: uppercase; }
.strat-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.strat-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }
.strat-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 13px; line-height: 1.5;
  opacity: 0.9;
}
.strat-bullets li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-size: 12px;
}
.strat-role {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed color-mix(in oklab, var(--line) 80%, var(--accent) 20%);
  display: flex; flex-direction: column; gap: 6px;
}
.strat-role-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--accent);
}
.strat-role p { font-size: 13px; line-height: 1.45; font-style: italic; opacity: 0.95; }

.timeline { padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line); position: relative; }

.timetable {
  position: relative;
  display: grid;
  grid-template-columns: 130px repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--card);
  transition: filter 0.3s;
  overflow: hidden;
}
.tt-corner, .tt-day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.tt-corner { color: var(--muted); display: flex; align-items: center; }
.tt-day { display: flex; flex-direction: column; gap: 4px; color: var(--accent); }
.tt-day-name { font-family: 'Anton', sans-serif; font-size: 22px; line-height: 1; letter-spacing: 0.05em; }
.tt-day-date { font-size: 10px; color: var(--muted); letter-spacing: 0.18em; }
.tt-time {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.tt-time-num { font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: 0.05em; color: var(--fg); }
.tt-time-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.25em; color: var(--muted); }
.tt-cell {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.4;
  transition: background 0.3s;
  display: flex; align-items: center;
}
.tt-cell:hover { background: color-mix(in oklab, var(--accent) 8%, var(--card)); }
.tt-day:nth-last-child(1), .tt-cell:nth-of-type(6n+6) { border-right: none; }
.timetable > *:nth-last-child(-n+6) { border-bottom: none; }

.tt-footer {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-align: center;
}

/* psyched mode — reality breaks (readable) */
.timetable.psyched {
  animation: psych-bg 1.4s steps(5) infinite;
  filter: contrast(1.05) saturate(1.2);
}
.timetable.psyched .tt-day,
.timetable.psyched .tt-time {
  border-color: transparent;
}
.timetable.psyched .tt-cell {
  text-shadow: -1px 0 0 #ff2e4d, 1px 0 0 #00ffe1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fg);
  animation: psych-soft-flicker 2.4s steps(8) infinite;
  border-color: transparent;
}
.timetable.psyched .tt-time-num,
.timetable.psyched .tt-day-name {
  animation: psych-shift 1.2s steps(3) infinite;
}
.timetable.psyched::before {
  content: ''; position: absolute; inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,46,77,0.04) 0,
      rgba(255,46,77,0.04) 2px,
      transparent 2px,
      transparent 6px
    );
  mix-blend-mode: screen;
  animation: psych-scan 2s linear infinite;
  z-index: 5;
}
@keyframes psych-soft-flicker {
  0%, 100% { opacity: 1; }
  88% { opacity: 1; }
  90% { opacity: 0.7; }
  92% { opacity: 1; }
  94% { opacity: 0.85; }
  96% { opacity: 1; }
}
@keyframes psych-bg {
  0%, 100% { background: transparent; }
  20% { background: rgba(255,46,77,0.06); }
  40% { background: rgba(0,255,225,0.06); }
  60% { background: rgba(196,162,255,0.06); }
  80% { background: rgba(247,208,70,0.06); }
}
@keyframes psych-jitter {
  0%   { transform: translate(0, 0) skewX(0); }
  50%  { transform: translate(-3px, 1px) skewX(-1.5deg); }
  100% { transform: translate(2px, -1px) skewX(1deg); }
}
@keyframes psych-flicker {
  0%   { opacity: 1; transform: scaleX(1); }
  25%  { opacity: 0.55; transform: scaleX(1.03) translateX(-1px); }
  50%  { opacity: 0.85; transform: scaleX(0.98) translateX(2px); }
  75%  { opacity: 0.4; transform: scaleX(1.02); }
}
@keyframes psych-shift {
  0%, 100% { color: #ff2e4d; transform: translateX(0); }
  33% { color: #00ffe1; transform: translateX(3px); }
  66% { color: #c4a2ff; transform: translateX(-3px); }
}
@keyframes psych-bar-pulse {
  from { background-position: 0% 0; }
  to   { background-position: 400% 0; }
}
@keyframes psych-scan {
  from { transform: translateY(0); }
  to   { transform: translateY(20px); }
}

.timeline-psych-toggle {
  position: absolute;
  top: 120px; right: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 6px 10px;
  border: 1px dashed var(--muted);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.timeline-psych-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  letter-spacing: 0.28em;
}
.timeline-psych-toggle.on {
  border-style: solid;
  border-color: #ff2e4d;
  color: #fff;
  background: #ff2e4d;
  animation: psych-toggle-pulse 0.4s ease-in-out infinite;
}
@keyframes psych-toggle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,46,77,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(255,46,77,0); }
}
.tl-row { display: grid; grid-template-columns: 100px 1fr 2fr; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); transition: background 0.3s; }
.tl-row:hover { background: var(--card); }
.tl-row:last-child { border-bottom: 1px solid var(--line); }
.tl-day { font-family: 'Anton', sans-serif; font-size: 24px; letter-spacing: 0.05em; }
.tl-bar { height: 8px; background: var(--line); position: relative; overflow: hidden; }
.tl-bar span { position: absolute; top: 0; left: 0; bottom: 0; background: var(--accent); }
.tl-text { font-size: 14px; opacity: 0.85; }

.contact { padding: 120px 32px 40px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; margin-bottom: 80px; align-items: start; }
.contact-sub { font-size: 18px; line-height: 1.5; max-width: 480px; margin-bottom: 40px; opacity: 0.9; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.contact-channels div { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-channels div:last-child { border-bottom: 1px solid var(--line); }
.cc-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.contact-channels a { font-family: 'Anton', sans-serif; font-size: 22px; transition: color 0.2s; }
.contact-channels a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--card); padding: 32px; border: 1px solid var(--line); }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { background: var(--bg); border: 1px solid var(--line); color: var(--fg); padding: 12px 14px; font-family: inherit; font-size: 14px; letter-spacing: 0; border-radius: 0; outline: none; transition: border-color 0.2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form button { margin-top: 8px; }

.footer-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.15em; color: var(--muted); }
.ff-left { display: flex; align-items: center; gap: 12px; }
.ff-right { display: flex; align-items: center; gap: 12px; }

/* =========== EVENT PAGE =========== */
.event-page {
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--bg); color: var(--fg);
  overflow-y: auto;
  animation: slideUp 0.5s cubic-bezier(.2,.8,.2,1);
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ep-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: blur(12px); z-index: 10; }
.ep-close { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; transition: color 0.2s; }
.ep-close:hover { color: var(--page-accent); }
.ep-crumbs { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }
.ep-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 80px 32px; align-items: center; }
.ep-kicker { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; margin-bottom: 16px; }
.ep-title { font-family: 'Anton', sans-serif; font-size: clamp(80px, 14vw, 180px); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; }
.ep-hero-text { font-size: 22px; line-height: 1.4; margin-top: 32px; max-width: 560px; opacity: 0.9; }
.ep-meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ep-meta-row span { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.18em; padding: 8px 14px; border: 1px solid var(--line); color: var(--fg); }
.ep-visual { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.ep-spray { position: absolute; inset: 10%; border-radius: 50%; opacity: 0.25; filter: blur(50px); }
.ep-cat { position: relative; z-index: 2; }
.ep-cat svg { animation: drift 8s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(-6px, 0) rotate(-2deg); } 50% { transform: translate(6px, -10px) rotate(2deg); } }
.ep-body { padding: 40px 32px 80px; max-width: 1000px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.ep-section { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.ep-section-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.2em; color: var(--page-accent); }
.ep-section-head { font-family: 'Anton', sans-serif; font-size: 32px; letter-spacing: 0.02em; text-transform: uppercase; }
.ep-section-text { font-size: 17px; line-height: 1.6; opacity: 0.9; grid-column: 2; padding-top: 12px; }
.ep-cta { display: flex; align-items: center; gap: 24px; padding: 40px 32px; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ep-cta-text { flex: 1; font-family: 'Anton', sans-serif; font-size: 40px; letter-spacing: 0.02em; }
.ep-nav { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; border-top: 1px solid var(--line); }
.ep-nav-item { padding: 32px 24px; text-align: left; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); border-top: 3px solid transparent; transition: all 0.3s; }
.ep-nav-item:last-child { border-right: none; }
.ep-nav-item:hover { background: var(--card); }
.epn-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; color: var(--muted); }
.epn-title { font-family: 'Anton', sans-serif; font-size: 40px; letter-spacing: 0.02em; text-transform: uppercase; }
.epn-arrow { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--muted); margin-top: 8px; }

/* cursor cat */
.cat-cursor { position: fixed; width: 30px; height: 30px; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); mix-blend-mode: difference; transition: transform 0.1s ease-out; }

/* scattered cats in page bg */
.scatter-cat { position: absolute; opacity: 0.05; pointer-events: none; z-index: 0; }

/* =========== SITE-WIDE RED PAW TRAIL =========== */
.red-paw-trail {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  overflow: hidden;
  /* no z-index — children manage their own stacking against sections */
}
.red-paw {
  position: absolute;
  filter: drop-shadow(0 0 4px var(--accent));
  animation: red-paw-pulse 5s ease-in-out infinite;
}
@keyframes red-paw-pulse {
  0%, 100% { filter: drop-shadow(0 0 3px var(--accent)); }
  50%      { filter: drop-shadow(0 0 8px var(--accent)); }
}

/* =========== GLITCH FX (intense) =========== */
.glitch-fx {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0.30;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.10) 0px,
      rgba(255,255,255,0.10) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
  animation: glitch-jitter 2.2s steps(1) infinite;
}
.glitch-fx::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,46,77,0.10) 50%,
    transparent 100%);
  background-size: 100% 14px;
  animation: glitch-scanline 3.2s linear infinite;
  mix-blend-mode: screen;
}
.glitch-fx::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 255, 225, 0.07);
  animation: glitch-tear 1.8s steps(1) infinite;
  clip-path: inset(40% 0 50% 0);
}
@keyframes glitch-jitter {
  0%, 78%, 100% { transform: translate(0, 0); opacity: 0.30; }
  80%   { transform: translate(-3px, 2px); opacity: 0.55; }
  82%   { transform: translate(4px, -3px); opacity: 0.10; }
  84%   { transform: translate(-2px, 3px); opacity: 0.65; }
  86%   { transform: translate(3px, 0);    opacity: 0.20; }
  88%   { transform: translate(-4px, -2px); opacity: 0.55; }
  90%   { transform: translate(2px, 3px);  opacity: 0.15; }
  92%   { transform: translate(-3px, 1px); opacity: 0.45; }
  94%   { transform: translate(4px, -1px); opacity: 0.18; }
}
@keyframes glitch-scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@keyframes glitch-tear {
  0%, 70%, 100% { clip-path: inset(40% 0 50% 0); transform: translateX(0); }
  72% { clip-path: inset(20% 0 70% 0); transform: translateX(14px); }
  74% { clip-path: inset(60% 0 30% 0); transform: translateX(-18px); }
  76% { clip-path: inset(10% 0 80% 0); transform: translateX(10px); }
  78% { clip-path: inset(75% 0 15% 0); transform: translateX(-8px); }
  80% { clip-path: inset(35% 0 55% 0); transform: translateX(16px); }
  82% { clip-path: inset(85% 0 5%  0); transform: translateX(-14px); }
  84% { clip-path: inset(5%  0 85% 0); transform: translateX(12px); }
  86% { clip-path: inset(50% 0 40% 0); transform: translateX(0); }
}

/* HERO TITLE — almost-constant aggression */
.hero-title {
  animation: glitch-burst 2.8s infinite;
  will-change: transform, text-shadow;
}
@keyframes glitch-burst {
  0%, 70%, 100% { text-shadow: none; transform: translate(0); filter: none; clip-path: none; }
  72%   { text-shadow: -4px 0 0 #ff2e4d, 4px 0 0 #00ffe1; transform: translate(-3px, 1px); }
  74%   { text-shadow: 4px 0 0 #ff2e4d, -4px 0 0 #00ffe1; transform: translate(3px, -2px); }
  76%   { text-shadow: -3px 2px 0 #ff2e4d, 3px -2px 0 #00ffe1; transform: translate(-2px, 2px); filter: hue-rotate(20deg); }
  78%   { clip-path: polygon(0 20%, 100% 20%, 100% 38%, 0 38%, 0 60%, 100% 60%, 100% 80%, 0 80%); transform: translate(6px, 0); }
  80%   { text-shadow: 3px 0 0 #ff2e4d, -3px 0 0 #00ffe1; transform: translate(-4px, 1px); clip-path: none; }
  82%   { text-shadow: none; transform: translate(2px, -1px); filter: invert(0.08); }
  84%   { text-shadow: -2px 0 0 #ff2e4d, 2px 0 0 #00ffe1; transform: translate(0, 2px); filter: none; }
  86%   { text-shadow: none; transform: translate(0); }
  92%   { text-shadow: -3px 0 0 #ff2e4d, 3px 0 0 #00ffe1; transform: translate(-2px, 0); }
  94%   { text-shadow: none; transform: translate(0); }
}

/* SECTION TITLES — frequent and visible */
.section-title {
  animation: glitch-soft 4s infinite;
  will-change: transform, text-shadow;
}
.section-title .accent { animation: glitch-burst 3.2s infinite; animation-delay: -1.4s; }
@keyframes glitch-soft {
  0%, 80%, 100% { text-shadow: none; transform: translate(0); }
  82% { text-shadow: -3px 0 0 #ff2e4d, 3px 0 0 #00ffe1; transform: translate(-2px, 0); }
  84% { text-shadow: 3px 0 0 #ff2e4d, -3px 0 0 #00ffe1; transform: translate(2px, 1px); }
  86% { text-shadow: -1px 0 0 #ff2e4d, 1px 0 0 #00ffe1; transform: translate(0); }
  88% { text-shadow: none; transform: translate(0); }
}

/* event page title — aggressive */
.ep-title {
  animation: glitch-burst 2.4s infinite;
}

/* korean text — its own rapid rhythm */
.hero-title .kr, .intro-gate-kr {
  animation: glitch-burst 2s infinite;
  animation-delay: -0.8s;
}

/* nav brand, section numbers, event labels — frequent micro-glitch */
.nav-brand, .ep-section-num, .event-label, .ec-label, .ec-num,
.cd-label, .cd-foot, .ep-crumbs {
  animation: glitch-soft 4.8s infinite;
}
.nav-brand { animation-delay: -1s; }
.ep-section-num { animation-delay: -2s; }
.event-label, .ec-label { animation-delay: -3s; }

/* taglines + body text */
.hero-tagline, .ep-hero-text, .ep-section-text, .obj-text,
.timeline-text, .partner .partner-name, .contact-text {
  animation: glitch-soft 7s infinite;
}
.ep-section-text { animation-delay: -2s; }
.obj-text { animation-delay: -3s; }
.timeline-text { animation-delay: -5s; }

/* digits in countdown — staggered glitches */
.cd-digits b {
  animation: glitch-soft 2.8s infinite;
}
.cd-digits div:nth-child(2) b { animation-delay: -0.7s; }
.cd-digits div:nth-child(3) b { animation-delay: -1.4s; }
.cd-digits div:nth-child(4) b { animation-delay: -2.1s; }

/* HOVER glitches everywhere */
.nav-link, .btn, .ep-close, .ep-nav-item, .event-card .event-title,
.partner, .timeline-event, .obj-card .obj-title, .skip-intro,
.intro-gate-btn, .ep-section-head, .nav-brand, .brand-dot,
.cd-digits b, .stat, .obj-card, .timeline-event .te-title {
  transition: text-shadow 0.06s;
}
.nav-link:hover,
.btn:hover,
.ep-close:hover,
.ep-nav-item:hover .epn-title,
.event-card:hover .event-title,
.partner:hover,
.timeline-event:hover,
.obj-card:hover .obj-title,
.skip-intro:hover,
.intro-gate-btn:hover,
.ep-section-head:hover,
.nav-brand:hover,
.brand-dot:hover,
.event-card:hover,
.obj-card:hover,
.stat:hover {
  animation: glitch-text 0.45s steps(1);
}
@keyframes glitch-text {
  0%   { text-shadow: -3px 0 0 #ff2e4d, 3px 0 0 #00ffe1; transform: translate(-2px, 0); }
  20%  { text-shadow: 3px 0 0 #ff2e4d, -3px 0 0 #00ffe1; transform: translate(2px, 0); }
  40%  { text-shadow: -2px 0 0 #ff2e4d, 2px 0 0 #00ffe1; transform: translate(0, 2px); }
  60%  { text-shadow: 2px 0 0 #ff2e4d, -2px 0 0 #00ffe1; transform: translate(0); }
  80%  { text-shadow: -1px 0 0 #ff2e4d, 1px 0 0 #00ffe1; transform: translate(1px, -1px); }
  100% { text-shadow: none; transform: translate(0); }
}

/* scatter cats — more frequent flip */
.scatter-cat {
  animation: glitch-shake 5.2s steps(1) infinite;
}
@keyframes glitch-shake {
  0%, 88%, 100% { filter: none; }
  90% { filter: hue-rotate(180deg) invert(0.5); transform: translate(5px, -3px) rotate(var(--rot, 0deg)); }
  92% { filter: hue-rotate(60deg); transform: translate(-4px, 2px); }
  94% { filter: hue-rotate(300deg) saturate(2); transform: translate(3px, 4px); }
}

/* wireframe cats — faster pulse + scan */
.wireframe-cat {
  animation: wf-pulse 2.8s ease-in-out infinite, wf-glitch 3.6s steps(1) infinite;
}
@keyframes wf-glitch {
  0%, 86%, 100% { filter: none; transform: translate(0); }
  88% { filter: hue-rotate(60deg) drop-shadow(0 0 8px #ff2e4d); transform: translate(-2px, 1px); }
  90% { filter: hue-rotate(-60deg) drop-shadow(0 0 8px #00ffe1); transform: translate(3px, -1px); }
  92% { filter: none; transform: translate(0); }
}

/* dots, accents, kickers — flicker faster */
.kicker .dot, .ep-kicker, .brand-dot {
  animation: glitch-flicker 1.8s steps(1) infinite;
}
@keyframes glitch-flicker {
  0%, 80%, 100% { opacity: 1; }
  82% { opacity: 0.15; }
  84% { opacity: 1; }
  86% { opacity: 0.4; }
  88% { opacity: 1; }
  90% { opacity: 0.2; }
  92% { opacity: 1; }
}

/* hero stats — staggered fast */
.hero-stats > * {
  animation: glitch-soft 5s infinite;
}
.hero-stats > *:nth-child(2) { animation-delay: -1.2s; }
.hero-stats > *:nth-child(3) { animation-delay: -2.4s; }
.hero-stats > *:nth-child(4) { animation-delay: -3.6s; }

/* full-screen invert flash */
.hero {
  animation: glitch-shock 12s steps(1) infinite;
}
@keyframes glitch-shock {
  0%, 97%, 100% { filter: none; }
  97.4% { filter: invert(1) hue-rotate(180deg); }
  97.8% { filter: none; }
  98.2% { filter: invert(1); }
  98.6% { filter: none; }
}

/* =========== CHOPSTICKS CURSOR (desktop only) =========== */
.chopsticks-cursor { display: none; }
@media (pointer: fine) {
  body, body * { cursor: none !important; }
  .chopsticks-cursor { display: block; }
}
.chopsticks-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  width: 90px; height: 90px;
  /* anchor so the pinch point (lower-left) sits on the actual cursor */
  margin-left: -20px; margin-top: -70px;
  mix-blend-mode: difference;
  will-change: left, top;
}
.chopsticks-cursor .stick {
  position: absolute;
  top: 6px; right: 6px;            /* hand pivot at upper-right corner */
  width: 5px; height: 88px;
  background: #fff;
  /* tapered chopstick: thicker at top (held), thinner at tip */
  clip-path: polygon(15% 0, 85% 0, 60% 100%, 40% 100%);
  transform-origin: 50% 2px;       /* pivot at the top of the stick */
  transition: transform 0.14s cubic-bezier(.4, 1.4, .4, 1);
}
/* OPEN state: tips spread apart in V */
.chopsticks-cursor .stick-l { transform: rotate(52deg); }
.chopsticks-cursor .stick-r { transform: rotate(38deg); }
/* CLOSED state: tips pinch together at the cursor point */
.chopsticks-cursor.closed .stick-l { transform: rotate(45deg); }
.chopsticks-cursor.closed .stick-r { transform: rotate(45deg); }

/* =========== WIREFRAME CATS =========== */
.wireframe-cat svg path,
.wireframe-cat svg ellipse,
.wireframe-cat svg circle,
.wireframe-cat svg polygon,
.wireframe-cat svg rect {
  fill: none !important;
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px color-mix(in oklab, var(--accent) 60%, transparent));
}
/* keep eye whites visible (currently white fill) by re-stroking accent too */
.wireframe-cat svg ellipse[fill="#fff"] {
  stroke: var(--accent);
  stroke-width: 1.2;
}
/* subtle wireframe scan animation */
.wireframe-cat {
  animation: wf-pulse 4.5s ease-in-out infinite;
}
@keyframes wf-pulse {
  0%, 100% { filter: none; }
  50%      { filter: drop-shadow(0 0 6px color-mix(in oklab, var(--accent) 80%, transparent)); }
}

/* tweak panel */
.tweaks-panel { position: fixed; bottom: 24px; right: 24px; z-index: 300; background: var(--card); border: 1px solid var(--line); padding: 20px; min-width: 260px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; }
.tweaks-panel h4 { font-family: 'Anton', sans-serif; font-size: 18px; letter-spacing: 0.1em; margin-bottom: 16px; }
.tweaks-panel .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.tweaks-panel button.chip { border: 1px solid var(--line); padding: 4px 10px; transition: all 0.2s; }
.tweaks-panel button.chip.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* =========== RESPONSIVE =========== */

/* tablet — grids handle themselves via auto-fit */

/* fluid downsize for narrower viewports */
@media (max-width: 900px) {
  .nav { padding: clamp(10px, 1.4vw, 18px) clamp(14px, 2vw, 32px); gap: clamp(10px, 1.5vw, 18px); }
  .nav-brand { font-size: clamp(15px, 1.8vw, 22px); }
  .nav-link { font-size: clamp(10px, 1.1vw, 13px); white-space: nowrap; }
  .theme-toggle { padding: 6px 10px; font-size: clamp(10px, 1vw, 12px); }

  /* hero — auto-fit grid, fluid sizes (NO layout change) */
  .hero { padding: clamp(80px, 12vw, 140px) clamp(16px, 2.5vw, 32px) 0; min-height: auto; }
  .hero-cat { display: flex; justify-content: center; }
  .hero-cat svg { width: min(300px, 80%); height: auto; }
  .hero-enter { font-size: clamp(14px, 1.6vw, 18px); }

  /* marquee — flush with section padding */
  .marquee-band { margin: 0 -16px; padding: 14px 0; }

  /* timetable — scroll horizontally only if cells would shrink past usable */
  .timeline > .timetable {
    overflow-x: auto;
    grid-template-columns: clamp(80px, 12vw, 130px) repeat(5, minmax(140px, 1fr));
    -webkit-overflow-scrolling: touch;
  }
  .timeline-psych-toggle { top: clamp(60px, 10vw, 120px); right: clamp(14px, 2vw, 32px); font-size: 9px; padding: 5px 8px; }

  /* footer wraps when room runs out */
  .footer-foot { flex-wrap: wrap; gap: 16px; }

  /* event page (one-pager) — taller nav due to wrapped links */
  .event-page { top: 84px; }
  .ep-header { padding: 14px 18px; }
  .ep-close { font-size: 11px; }
  .ep-crumbs { font-size: 10px; }
  .ep-hero { grid-template-columns: 1fr; padding: 48px 18px; gap: 28px; }
  .ep-title { font-size: clamp(54px, 14vw, 100px); }
  .ep-hero-text { font-size: 16px; }
  .ep-cat svg { width: min(220px, 50vw); height: auto; }
  .ep-body { padding: 40px 18px; }
  .ep-section { grid-template-columns: 50px 1fr; gap: 14px; padding: 18px 0; }
  .ep-section-num { font-size: 12px; }
  .ep-section-head { font-size: 14px; }
  .ep-section-text { font-size: 14px; }
  .ep-cta { padding: 40px 18px; flex-direction: column; gap: 20px; align-items: stretch; text-align: center; }
  .ep-nav { grid-template-columns: 1fr; padding: 18px; gap: 12px; }

  /* intro gate */
  .intro-gate { gap: 36px; padding: 24px; }
  .intro-gate-logo { font-size: clamp(40px, 12vw, 80px); gap: 14px; flex-wrap: wrap; justify-content: center; }
  .intro-gate-btn { padding: 14px 28px; font-size: 12px; }

  /* glitch — calmer on mobile so the page is readable */
  .glitch-fx { opacity: 0.18; }
  .glitch-fx::before, .glitch-fx::after { display: none; }

  /* tweaks panel — compact */
  .tweaks-panel { right: 12px; bottom: 12px; min-width: 220px; padding: 14px; }
}

/* =========== PHONE & TABLET (≤ 720px) — comprehensive =========== */
@media (max-width: 720px) {
  /* HERO */
  .hero { padding: 84px 16px 0; min-height: auto; }
  .hero-grid { gap: 22px; }
  .hero-title { font-size: clamp(44px, 11vw, 80px); line-height: 0.9; }
  .hero-tagline { font-size: 14px; line-height: 1.5; }
  .hero-cat { display: flex; justify-content: center; }
  .hero-cat svg { width: min(220px, 60vw); height: auto; }
  .hero-stats-block { max-width: 100%; }
  .hero-stats { padding: 14px; gap: 10px; }
  .hero-stats > div { padding: 10px 8px; }
  .hero-stats b { font-size: 28px; }
  .hero-stats span { font-size: 9px; letter-spacing: 0.12em; }
  .hero-enter { padding: 14px 18px; font-size: 12px; letter-spacing: 0.16em; }

  /* MARQUEE */
  .marquee-band { margin: 0 -16px; padding: 12px 0; }
  .marquee-inner, .marquee-band .marquee-inner { font-size: 18px; }
  .marquee-inner span, .marquee-band .marquee-inner span { padding-right: 22px; }

  /* SECTION TITLES & PADDING */
  .manifesto, .trackrecord, .whatwell, .seoul-network, .venue, .events, .timeline, .legacy, .partners, .contact { padding: 56px 16px; }
  .section-title { font-size: clamp(28px, 7.5vw, 48px); margin-bottom: 24px; }
  .section-head { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 12px; gap: 10px; }

  /* MANIFESTO */
  .manifesto-body { gap: 18px; }
  .manifesto-body p { font-size: 14px; line-height: 1.5; }
  .manifesto-body .manifesto-lead { padding: 18px; font-size: 18px; line-height: 1.3; }

  /* TRACK RECORD */
  .tr-edition { padding: 18px 14px; gap: 10px; }
  .tr-tag { font-size: 10px; letter-spacing: 0.2em; }
  .tr-edition-sub { font-size: 10px; }
  .tr-edition-text { font-size: 13px; }
  .tr-stats { gap: 8px; }
  .tr-stats > div { padding: 10px 8px; }
  .tr-stats b { font-size: 22px; }
  .tr-stats span { font-size: 9px; }
  .tr-cta { font-size: 11px; letter-spacing: 0.2em; text-align: left; margin-top: 24px; }

  /* WHAT WE'LL DO */
  .whatwell-intro { font-size: 14px; line-height: 1.5; margin-bottom: 32px; }
  .whatwell-card { padding: 18px 14px; gap: 12px; }
  .whatwell-card h3 { font-size: 22px; }
  .ww-tag { font-size: 9px; }
  .ww-meta { font-size: 10px; }
  .ww-stats > li { padding: 10px 8px; }
  .ww-stats b { font-size: 20px; }
  .ww-stats span { font-size: 9px; }
  .ww-text { font-size: 13px; }
  .whatwell-flow { gap: 6px; padding-top: 18px; }
  .ww-flow-step { padding: 7px 10px; }
  .ww-flow-num, .ww-flow-label { font-size: 9px; letter-spacing: 0.1em; }
  .ww-flow-sep { font-size: 14px; }
  .kbw-pill { padding: 10px 12px; gap: 8px; }
  .kbw-pill-tag { font-size: 9px; }
  .kbw-pill-text { font-size: 12px; }
  .kbw-pill-stats { font-size: 9px; }

  /* SEOUL NETWORK / COLLABORATORS */
  .seoul-network-intro { font-size: 14px; margin-bottom: 28px; }
  .seoul-list { margin-top: 36px; gap: 10px; }
  .sn-item { padding: 16px 14px; gap: 12px; grid-template-columns: 32px 1fr; }
  .sn-num { font-size: 11px; padding-top: 2px; }
  .sn-info { gap: 6px; }
  .sn-name { font-size: 18px; }
  .sn-role { font-size: 9px; letter-spacing: 0.18em; }
  .sn-desc { font-size: 13px; line-height: 1.45; }

  /* VENUE */
  .venue-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    min-height: 0;
  }
  .venue-photo-main, .venue-photo-side, .venue-photo-plan {
    grid-column: 1; grid-row: auto;
  }
  .venue-photo-main { aspect-ratio: 16/9; }
  .venue-photo-side { aspect-ratio: 16/9; }
  .venue-photo-plan { aspect-ratio: 16/10; }
  .venue-info { padding: 18px 14px; gap: 12px; }
  .venue-sub { font-size: 10px; letter-spacing: 0.15em; }
  .venue-stats { gap: 8px; }
  .venue-stats > li { padding: 10px 8px; }
  .venue-stats b { font-size: 22px; }
  .venue-stats span { font-size: 9px; }
  .venue-text { font-size: 13px; line-height: 1.5; }

  /* EVENTS / FOUR FLOORS */
  .events-grid { gap: 18px; }
  .event-card { padding: 18px; gap: 18px; }
  .event-card > .ec-photo { aspect-ratio: 16/9; }
  .ec-photo-corner { font-size: 9px; padding: 4px 7px; }
  .ec-num, .ec-label { font-size: 10px; }
  .ec-title { font-size: clamp(30px, 9vw, 44px); }
  .ec-sub { font-size: 10px; letter-spacing: 0.15em; }
  .ec-blurb { font-size: 13px; line-height: 1.5; }
  .ec-meta li { font-size: 9px; padding: 5px 8px; letter-spacing: 0.1em; }
  .ec-deep { gap: 16px; }
  .ec-deep-hero { font-size: clamp(20px, 5vw, 30px); line-height: 1.15; }
  .ec-keywords { gap: 6px; }
  .ec-kw { font-size: 10px; padding: 5px 9px; letter-spacing: 0.08em; }
  .ec-special { padding: 14px 16px; gap: 10px; }
  .ec-special-tag { font-size: 9px; letter-spacing: 0.22em; }
  .ec-special-title { font-size: 20px; }
  .ec-special-text { font-size: 13px; line-height: 1.5; }
  .ec-roster-headliner { grid-template-columns: 1fr; gap: 12px; }
  .ec-roster-photo { aspect-ratio: 16/9; }
  .ec-roster-role { font-size: 9px; }
  .ec-roster-name { font-size: 22px; }
  .ec-roster-desc { font-size: 12px; }
  .ec-roster-list { grid-template-columns: 1fr 1fr; }
  .ec-roster-list li { padding: 8px 10px; }
  .ec-roster-country { font-size: 8px; }
  .ec-roster-rname { font-size: 14px; }
  .ec-roster-rrole { font-size: 9px; }
  .ec-roster-footnote { font-size: 10px; letter-spacing: 0.15em; }
  .ec-deep-cta { padding: 12px 18px; font-size: 11px; letter-spacing: 0.18em; align-self: stretch; text-align: center; }

  /* TIMELINE / TIMETABLE */
  .timeline > .timetable {
    grid-template-columns: 70px repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .tt-corner, .tt-day, .tt-time, .tt-cell { padding: 10px 8px; font-size: 11px; }
  .tt-day-name, .tt-time-num { font-size: 16px; }
  .tt-day-date, .tt-time-label { font-size: 8px; letter-spacing: 0.18em; }
  .tt-footer { font-size: 9px; letter-spacing: 0.18em; margin-top: 18px; }
  .timeline-psych-toggle { top: 56px; right: 14px; font-size: 8px; padding: 4px 7px; }

  /* LEGACY */
  .legacy-intro { font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
  .legacy-card { padding: 18px 14px; gap: 10px; }
  .legacy-tag { font-size: 9px; }
  .legacy-card h3 { font-size: 22px; }
  .legacy-card p { font-size: 13px; line-height: 1.5; }
  .legacy-foot { font-size: 11px; letter-spacing: 0.2em; margin-top: 28px; }

  /* STRATEGIC CARDS (PARTNERS) */
  .strat-card { padding: 18px 14px; gap: 10px; }
  .strat-num, .strat-label { font-size: 9px; }
  .strat-title { font-size: 20px; }
  .strat-sub { font-size: 10px; }
  .strat-bullets { gap: 6px; }
  .strat-bullets li { font-size: 12px; padding-left: 14px; }
  .strat-role-tag { font-size: 9px; }
  .strat-role p { font-size: 12px; }

  /* CONTACT */
  .contact-grid { gap: 28px; margin-bottom: 36px; }
  .contact-sub { font-size: 14px; margin-bottom: 22px; line-height: 1.5; }
  .contact-channels { gap: 12px; }
  .cc-label { font-size: 10px; }
  .contact-channels a { font-size: 14px; }
  .contact-form { gap: 14px; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 14px; padding: 10px 12px; }
  .footer-foot { flex-direction: column; gap: 12px; align-items: flex-start; padding: 18px 0; font-size: 10px; }

  /* SPIDER WEB — SVG scales naturally but lighten effects */
  .seoul-web svg { filter: none; }

  /* GLITCH FX — calmer on mobile so content reads */
  .glitch-fx { opacity: 0.15; }
  .glitch-fx::after { display: none; }

  /* PORTFOLIO MODAL */
  .portfolio-overlay { padding: 16px; }
  .portfolio-modal { padding: 28px 20px 24px; max-height: 92vh; }
  .portfolio-tag { font-size: 9px; }
  .portfolio-title { font-size: clamp(28px, 8vw, 40px); }
  .portfolio-sub { font-size: 13px; margin-bottom: 18px; }
  .portfolio-list { gap: 10px; }
  .portfolio-item { padding: 12px 14px; grid-template-columns: 56px 1fr; gap: 10px; }
  .portfolio-year { font-size: 10px; }
  .portfolio-name { font-size: 16px; }
  .portfolio-desc { font-size: 12px; line-height: 1.45; }

  /* INTRO GATE */
  .intro-gate { gap: 32px; padding: 24px; }
  .intro-gate-logo { font-size: clamp(40px, 14vw, 72px); gap: 12px; flex-wrap: wrap; justify-content: center; text-align: center; }
  .intro-gate-btn { padding: 14px 28px; font-size: 12px; letter-spacing: 0.28em; }

  /* INTRO SCROLL HINT */
  .intro-scroll-hint { font-size: 14px; gap: 10px; }
  .intro-scroll-arrow { font-size: 26px; }

  /* SKIP INTRO */
  .skip-intro { top: 70px; right: 16px; font-size: 10px; padding: 6px 10px; letter-spacing: 0.15em; }

  /* HERO BG TAG */
  .hero-bg-tag { font-size: 9px; padding: 5px 8px; bottom: 12px; right: 12px; }

  /* VENUE TAG */
  .venue-tag { font-size: 9px; padding: 5px 8px; bottom: 10px; left: 10px; }

  /* CRUMBS HIDE */
  .ep-crumbs { display: none; }
}

/* very narrow (iPhone SE, small Android) */
@media (max-width: 380px) {
  .hero-title { font-size: 40px; }
  .hero-stats { grid-template-columns: 1fr; }
  .ec-roster-list { grid-template-columns: 1fr; }
  .nav-brand { font-size: 13px; }
  .ec-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .nav-link { font-size: 9px; letter-spacing: 0.02em; }
  .theme-toggle { padding: 5px 8px; font-size: 9px; }
}
