/* ============ Theme ============ */
:root {
  --bg: #16101f;
  --surface: #221a30;
  --text: #f7f1ff;
  --primary: #e5364b;
  --accent: #f4b740;
  --secondary: #8f6fe3;
  --on-primary: #ffffff;
  --on-accent: #1b1320;

  --muted: color-mix(in oklab, var(--text) 64%, var(--bg));
  --line: color-mix(in oklab, var(--text) 12%, transparent);
  --surface-2: color-mix(in oklab, var(--surface) 88%, var(--text));
  --glow-primary: color-mix(in oklab, var(--primary) 55%, transparent);
  --glow-secondary: color-mix(in oklab, var(--secondary) 50%, transparent);

  --font-display: 'Fredoka', 'Jua', 'M PLUS Rounded 1c', ui-rounded, system-ui, sans-serif;
  --font-body: 'Nunito', 'Gowun Dodum', ui-rounded, system-ui, sans-serif;

  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1180px;
  --ease-out: cubic-bezier(.2, .9, .25, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
html[data-font='clean'] {
  --font-display: 'Outfit', 'Noto Sans KR', system-ui, sans-serif;
  --font-body: 'Outfit', 'Noto Sans KR', system-ui, sans-serif;
}
html[data-font='pixel'] {
  --font-display: 'DotGothic16', 'Silkscreen', ui-monospace, monospace;
  --font-body: 'Nunito', 'Gowun Dodum', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
html { overflow-x: clip; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

#particles {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
main, .footer, .topbar { position: relative; z-index: 1; }

/* ============ Top bar ============ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.topbar.scrolled {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  text-decoration: none; letter-spacing: .01em;
}
.brand-mark { width: 28px; height: 28px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); transition: transform .35s var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(-10deg) scale(1.08); }
.topnav { display: flex; gap: 6px; }
.topnav a {
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 14px; border-radius: 999px; color: var(--muted);
  transition: color .2s, background .2s;
}
.topnav a:hover { color: var(--text); background: var(--line); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  padding: 96px var(--gutter) 72px;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 12% 8%, color-mix(in oklab, var(--secondary) 30%, transparent), transparent 60%),
    radial-gradient(50vw 50vw at 92% 70%, color-mix(in oklab, var(--primary) 24%, transparent), transparent 62%),
    radial-gradient(40vw 40vw at 60% 110%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 60%);
}
.hero-bg.has-image::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in oklab, var(--bg) 70%, transparent), var(--bg) 92%), var(--bg-image);
  background-size: cover; background-position: center;
  opacity: .9;
}
.hero-copy { position: relative; z-index: 2; }

.live-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  border: 1px solid var(--line);
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  max-width: 100%;
}
.live-pill span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.live-pill.is-live { color: var(--text); border-color: color-mix(in oklab, var(--primary) 60%, transparent); }
.is-live .live-dot { background: var(--primary); animation: livePulse 1.6s infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 var(--glow-primary); }
  70% { box-shadow: 0 0 0 10px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 10.5vw, 132px);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.hero-name .ch {
  display: inline-block;
  background: linear-gradient(180deg, var(--text) 30%, color-mix(in oklab, var(--accent) 70%, var(--text)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(40px) rotate(6deg); opacity: 0;
  animation: chIn .8s var(--ease-spring) forwards;
  animation-delay: calc(var(--i) * 45ms + 120ms);
  transition: transform .35s var(--ease-spring);
  /* room for descenders so background-clip:text doesn't cut them */
  padding: .06em 0 .14em;
  margin: -.06em 0 -.14em;
}
.hero-name .ch:hover { transform: translateY(-10px) rotate(-6deg) scale(1.08); }
.hero-name .sp { display: inline-block; width: .28em; }
@keyframes chIn { to { transform: none; opacity: 1; } }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  margin: 0 0 14px;
  color: var(--accent);
}
.hero-bio { color: var(--muted); max-width: 46ch; margin: 0 0 28px; font-size: 18px; }
.hero-name + .hero-tagline[hidden] + .hero-bio[hidden] + .hero-cta { margin-top: 22px; }
/* stacked platform buttons (links pinned to the header) */
.hero-cta { display: grid; gap: 10px; width: max-content; min-width: min(250px, 100%); max-width: 100%; }
.btn-link {
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 24px 10px 10px;
  font-size: 17px;
  background: var(--btn);
  color: var(--on-btn);
  box-shadow: 0 10px 28px -12px color-mix(in oklab, var(--btn) 80%, transparent);
}
.btn-link:hover { box-shadow: 0 16px 36px -12px color-mix(in oklab, var(--btn) 90%, transparent); filter: brightness(1.07); }
.btn-ico {
  position: relative;
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in oklab, var(--on-btn) 18%, transparent);
}
.btn-ico img { width: 19px; height: 19px; object-fit: contain; }
.btn-link .btn-dot { background: var(--on-btn); }
.btn-link.is-live .btn-ico::after {
  content: ''; position: absolute; top: -1px; right: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #ff4040; box-shadow: 0 0 0 2px var(--btn);
  animation: livePulse 1.6s infinite;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--ease-spring), box-shadow .25s, background .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 30px -8px var(--glow-primary); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px var(--glow-primary); }
.btn-ghost { border-color: var(--line); color: var(--text); background: color-mix(in oklab, var(--surface) 50%, transparent); }
.btn-ghost:hover { border-color: color-mix(in oklab, var(--text) 30%, transparent); }
.btn-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .8; }
.btn.is-live .btn-dot { animation: livePulse 1.6s infinite; background: #fff; }

/* Character art */
.hero-art {
  position: relative;
  aspect-ratio: var(--art-ratio, .8);
  width: 100%;
  max-width: 520px;
  justify-self: center;
  display: grid; place-items: center;
  --px: 0; --py: 0;
}
.halo {
  position: absolute; inset: 8% 4% 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in oklab, var(--secondary) 55%, transparent), transparent 62%),
    radial-gradient(circle at 50% 60%, color-mix(in oklab, var(--primary) 35%, transparent), transparent 70%);
  filter: blur(24px);
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -14px));
  animation: haloBreathe 6s ease-in-out infinite;
}
@keyframes haloBreathe { 50% { opacity: .75; scale: 1.06; } }
.seal {
  position: absolute; width: 96%; aspect-ratio: 1; top: 2%;
  transform: translate(calc(var(--px) * -8px), calc(var(--py) * -8px));
  pointer-events: none;
}
.seal svg { width: 100%; height: 100%; animation: spin 60s linear infinite; overflow: visible; }
.seal text {
  font-family: var(--font-display); font-weight: 700; font-size: 11.5px; letter-spacing: 3.6px;
  fill: color-mix(in oklab, var(--accent) 65%, transparent);
}
@keyframes spin { to { transform: rotate(360deg); } }

.art-button {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  border: 0; padding: 0; background: none;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Ctext x='4' y='36' font-size='34'%3E%F0%9F%A4%9A%3C/text%3E%3C/svg%3E") 22 22, pointer;
  display: grid; place-items: end center;
  transform: translate(calc(var(--px) * 16px), calc(var(--py) * 10px));
  transition: transform .2s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.art-button img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35));
  animation: bob 5s ease-in-out infinite;
  transform-origin: 50% 100%;
  user-select: none; -webkit-user-drag: none;
  /* most model art is cut off at the waist: fade the bottom edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 99%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 99%);
}
.art-button.pat img { animation: pat .45s var(--ease-spring), bob 5s ease-in-out infinite .45s; }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes pat { 0% { scale: 1 1; } 30% { scale: 1.04 .93; } 60% { scale: .98 1.03; } 100% { scale: 1 1; } }

.hero-art.card .art-button { place-items: center; padding: 6% 8% 12%; }
.hero-art.card .art-button img {
  object-fit: cover; object-position: top center;
  border-radius: 28px;
  border: 3px solid color-mix(in oklab, var(--accent) 80%, transparent);
  box-shadow: 0 0 0 8px color-mix(in oklab, var(--surface) 70%, transparent), 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 60px -10px var(--glow-secondary);
  filter: none;
  rotate: -3deg;
  -webkit-mask-image: none; mask-image: none;
}

.pat-counter {
  position: absolute; z-index: 3; bottom: 2%; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: color-mix(in oklab, var(--surface) 85%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  font-size: 15px; color: var(--muted);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5);
}
.pat-counter strong {
  font-family: var(--font-display); font-size: 22px; color: var(--accent);
  font-variant-numeric: tabular-nums; display: inline-block;
}
.pat-counter strong.bump { animation: bump .35s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.3); } }
.pop {
  position: fixed; z-index: 50; pointer-events: none;
  font-size: 26px; line-height: 1;
  animation: popFly .9s var(--ease-out) forwards;
}
.pop.plus { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
@keyframes popFly {
  0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; }
  15% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.8) rotate(var(--rot)); opacity: 0; }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 16px; border: 2px solid var(--line);
  display: grid; justify-items: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 9px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============ Marquee ============ */
.marquee {
  position: relative; z-index: 2;
  background: var(--primary);
  color: var(--on-primary);
  transform: rotate(-2deg);
  margin: 20px -20px 40px;
  padding: 14px 0;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px var(--glow-primary);
  border-top: 3px solid color-mix(in oklab, var(--accent) 80%, transparent);
  border-bottom: 3px solid color-mix(in oklab, var(--accent) 80%, transparent);
}
.marquee[hidden] { display: none; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee var(--marquee-dur, 30s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: .04em; white-space: nowrap; padding-right: 48px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section {
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) var(--gutter) 24px;
}
.section-head { text-align: center; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; margin: 0;
  letter-spacing: -.01em;
}

/* ============ SNS: shared ============ */
.sns-stage { position: relative; }
.sns {
  position: absolute; top: 0; left: 0;
  width: var(--size, 76px); height: var(--size, 76px);
  display: block; text-decoration: none;
  will-change: transform;
  z-index: 2;
}
.sns-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bubble, var(--surface-2));
  border: 2px solid color-mix(in oklab, var(--text) 14%, transparent);
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .55), inset 0 2px 0 color-mix(in oklab, #fff 18%, transparent);
  transition: transform .35s var(--ease-spring), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.sns-face img { width: 64%; height: 64%; object-fit: contain; pointer-events: none; }
.sns-face .mono {
  font-family: var(--font-display); font-weight: 700; font-size: calc(var(--size, 76px) * .36);
  color: var(--text); letter-spacing: -.02em;
}
.sns-label {
  position: absolute; left: 50%; top: calc(100% + 10px);
  transform: translate(-50%, -6px) scale(.9);
  padding: 6px 12px; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-weight: 800; font-size: 14px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .3s var(--ease-spring);
}
.sns-label::after { content: ' ↗'; opacity: .6; }
.sns.is-held { z-index: 5; }
.sns.is-held .sns-face, .sns:focus-visible .sns-face {
  transform: scale(1.28);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 25%, transparent), 0 18px 40px -10px var(--glow-primary);
}
.sns.is-held .sns-label, .sns:focus-visible .sns-label { opacity: 1; transform: translate(-50%, 6px) scale(1); }
.sns.is-held::before {
  content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px dashed color-mix(in oklab, var(--accent) 70%, transparent);
  animation: spin 6s linear infinite;
}
.sns:focus-visible { outline: none; }

/* float */
.sns-stage.mode-float {
  height: clamp(340px, 52vw, 460px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--text) 14%, transparent) 1px, transparent 0) 0 0 / 26px 26px,
    color-mix(in oklab, var(--surface) 45%, transparent);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: inset 0 0 80px -30px var(--glow-secondary);
}
.sns-stage canvas.links-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sns-stage.mode-float .sns-label { top: auto; bottom: calc(100% + 14px); transform: translate(-50%, 6px) scale(.9); }
.sns-stage.mode-float .sns.is-held .sns-label { transform: translate(-50%, -4px) scale(1); }
.sns-stage.mode-float .sns.label-below .sns-label { bottom: auto; top: calc(100% + 14px); }

/* orbit */
.sns-stage.mode-orbit {
  height: clamp(380px, 56vw, 560px);
}
.orbit-core {
  position: absolute; left: 50%; top: 50%;
  width: clamp(120px, 18vw, 180px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 3;
  background: var(--surface);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 60%, transparent), 0 0 80px 10px var(--glow-secondary);
  overflow: hidden;
  display: grid; place-items: center;
}
.orbit-core img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.orbit-ring {
  position: absolute; left: 50%; top: 50%;
  border: 2px dashed color-mix(in oklab, var(--accent) 35%, transparent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* dock */
.sns-stage.mode-dock {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end;
  gap: 18px;
  padding: 70px 24px 34px;
  min-height: 220px;
  border-radius: 36px;
  background: color-mix(in oklab, var(--surface) 45%, transparent);
  border: 1px solid var(--line);
}
.sns-stage.mode-dock .sns {
  position: relative;
  transform-origin: 50% 100%;
  transition: transform .18s ease-out;
  animation: wave 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * -.28s);
}
.sns-stage.mode-dock.magnifying .sns { animation-play-state: paused; }
.sns-stage.mode-dock .sns-label { top: auto; bottom: calc(100% + 10px); }
@keyframes wave { 50% { translate: 0 -8px; } }

/* ============ Merch ============ */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.5vw, 30px);
  perspective: 1200px;
}
.merch-grid.featured > .drop:first-child { grid-column: span 2; }
.merch-grid.featured > .drop:first-child .drop-media { aspect-ratio: 16 / 10; }
@media (max-width: 720px) { .merch-grid.featured > .drop:first-child { grid-column: auto; } .merch-grid.featured > .drop:first-child .drop-media { aspect-ratio: 1; } }
.merch-empty { text-align: center; color: var(--muted); padding: 40px; border: 1px dashed var(--line); border-radius: var(--radius); }

.drop {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --glare: 0;
  position: relative;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out), box-shadow .4s;
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6);
  display: flex; flex-direction: column;
  opacity: 0; translate: 0 30px;
}
.drop.in { opacity: 1; translate: 0 0; transition: transform .5s var(--ease-out), box-shadow .4s, opacity .7s, translate .7s var(--ease-out); }
.drop.tilting { transition: transform .08s linear, box-shadow .4s, opacity .7s, translate .7s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 40px -10px var(--glow-secondary); }
.drop::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .28), transparent 42%),
    linear-gradient(115deg, transparent 20%, color-mix(in oklab, var(--secondary) 35%, transparent) 38%, color-mix(in oklab, var(--accent) 30%, transparent) 50%, color-mix(in oklab, var(--primary) 30%, transparent) 62%, transparent 80%);
  background-size: 100% 100%, 250% 250%;
  background-position: 0 0, var(--mx) var(--my);
  mix-blend-mode: overlay;
  opacity: var(--glare);
  transition: opacity .3s;
}
.drop-media {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: 25px 25px 0 0;
  background: linear-gradient(135deg, color-mix(in oklab, var(--secondary) 45%, var(--surface)), color-mix(in oklab, var(--primary) 45%, var(--surface)));
}
.drop-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .6s, transform 1.2s var(--ease-out);
}
.drop-media img.on { opacity: 1; transform: scale(1); }
.drop:hover .drop-media img.on { transform: scale(1.04); }
.drop-media .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 80px; font-weight: 700;
  color: color-mix(in oklab, var(--text) 70%, transparent);
}
.drop-nav {
  position: absolute; top: 50%; z-index: 3; translate: 0 -50%;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: color-mix(in oklab, var(--bg) 70%, transparent); color: var(--text);
  font-size: 18px; cursor: pointer; opacity: 0; transition: opacity .2s;
  display: grid; place-items: center;
}
.drop-nav.prev { left: 10px; } .drop-nav.next { right: 10px; }
.drop:hover .drop-nav, .drop-nav:focus-visible { opacity: 1; }
@media (hover: none) { .drop-nav { opacity: .85; } }
.drop-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.drop-dots button {
  width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; cursor: pointer;
  background: color-mix(in oklab, #fff 55%, transparent); transition: width .3s, background .3s;
}
.drop-dots button.on { width: 22px; background: #fff; }
.drop-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5);
}
.drop-timer {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 78%, transparent); color: var(--text);
  backdrop-filter: blur(6px);
  font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums;
}
.drop-timer.soon { background: var(--primary); color: var(--on-primary); }
.drop-timer.ended { opacity: .8; }
.drop-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; transform: translateZ(20px); }
.drop-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.15; margin: 0; }
.drop-body p { margin: 0; color: var(--muted); font-size: 16px; white-space: pre-line; }
.drop-body .btn { align-self: flex-start; margin-top: auto; padding: 11px 20px; font-size: 15px; }
.drop.ended-drop .drop-media { filter: grayscale(.7); }

/* ============ Footer ============ */
.footer {
  text-align: center;
  padding: 80px var(--gutter) 60px;
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.footer-links a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bubble, var(--surface));
  border: 1px solid var(--line);
  transition: transform .25s var(--ease-spring);
  text-decoration: none;
}
.footer-links a:hover { transform: translateY(-4px) scale(1.08); }
.footer-links img { width: 60%; height: 60%; object-fit: contain; }
.footer-links .mono { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); }
.footer-text { margin: 0 auto 6px; max-width: 60ch; }
.footer-small { font-size: 14px; margin: 0; opacity: .8; }

/* ============ Live toast ============ */
.live-toast {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary);
  font-weight: 800; text-decoration: none;
  box-shadow: 0 14px 40px -10px var(--glow-primary);
  transform: translateY(120px); transition: transform .5s var(--ease-spring);
  max-width: calc(100vw - 36px);
}
.live-toast.show { transform: none; }
.live-toast .live-dot { background: #fff; animation: livePulse 1.6s infinite; }
.live-toast span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* wide art (a full landscape illustration): give the art most of the header */
.hero.wide-art {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.8fr);
  gap: clamp(8px, 2vw, 28px);
  min-height: 0;
  padding-top: 88px;
  padding-bottom: 20px;
}
.hero.wide-art .scroll-cue { display: none; }
.hero.wide-art .hero-name { font-size: clamp(48px, 7vw, 106px); }
.hero.wide-art .hero-art {
  max-width: none;
  width: calc(100% + var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  justify-self: end;
  align-self: end;
}
.hero.wide-art .seal { width: auto; height: 104%; top: -6%; left: 57%; translate: -50% 0; }
.hero.wide-art .halo { inset: 4% 12% 10%; }

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 84px;
    gap: 8px;
  }
  .hero-art { order: -1; max-width: 360px; aspect-ratio: 1 / 1.05; }
  .hero.wide-art { grid-template-columns: 1fr; padding-top: 72px; }
  .hero.wide-art .hero-art { width: calc(100% + 2 * var(--gutter)); margin-inline: calc(-1 * var(--gutter)); aspect-ratio: var(--art-ratio); justify-self: center; }
  .hero.wide-art .hero-art .pat-counter { bottom: 4%; }
  .hero-bio { margin-left: auto; margin-right: auto; }
  .hero-cta { margin-inline: auto; }
  .scroll-cue { display: none; }
  .topnav a { padding: 8px 10px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-bio { font-size: 16px; }
  .btn { padding: 13px 20px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .hero-name .ch { opacity: 1; transform: none; }
  .drop { opacity: 1; translate: none; }
}
