:root {
  --plum: #2A1B3D;
  --plum-2: #3A2753;
  --plum-3: #574077;
  --peach: #FFD3B6;
  --accent: #FF9E80;
  --cream: #FFF8F3;
  --cream-2: #FFF1E8;
  --sand: #F3E6DC;
  --line: #E8D6C8;
  --muted: #5C4A6E;
  --lilac: #E5D9F0;
  --rust: #A33A1E;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', system-ui, sans-serif;
  color: var(--plum);
  background: var(--cream);
}
a { color: var(--plum); text-decoration: none; }
a:hover { color: var(--rust); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { max-width: 1320px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.section--tight { padding-top: 0; }
.section--team { padding-top: 72px; padding-bottom: 72px; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section__head > div { display: flex; flex-direction: column; gap: 6px; }
h2 { font-size: 40px; font-weight: 900; letter-spacing: -1px; }
.h2--sm { font-size: 32px; line-height: 1.1; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--rust); }
.eyebrow--light { color: var(--peach); }
.muted { color: var(--muted); font-size: 15px; line-height: 1.6; }
.link { font-weight: 700; color: var(--rust); }
.dark { background: var(--plum); color: #fff; }
.dark h2 { color: #fff; }
.soft { background: var(--cream-2); }
.center { align-self: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons & pills */
.btn { display: inline-block; font-weight: 900; padding: 11px 20px; border-radius: 10px; }
.btn--accent { background: var(--accent); color: var(--plum); }
.btn--accent:hover { color: var(--plum); filter: brightness(1.05); }
.btn--outline { border: 2px solid var(--plum); color: var(--plum); white-space: nowrap; transition: background .3s, color .3s; }
.btn--outline:hover { background: var(--plum); color: #fff; }
.btn--ghost-light { border: 2px solid var(--peach); color: var(--peach); }
.btn--ghost-light:hover { color: #fff; border-color: #fff; }
.pill { background: #fff; color: var(--plum); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status--open { background: #DDF5E6; color: #14532D; }
.status--waitlist { background: #FFEFD1; color: #7A4A00; }
.status--closed { background: #ECE6F0; color: #4A3B5C; }

/* Nav */
.nav { background: var(--plum); color: #fff; }
.nav__inner { padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.logo { display: flex; align-items: baseline; gap: 10px; color: #fff; }
.logo:hover { color: #fff; }
.logo__name { font-weight: 900; font-size: 26px; letter-spacing: -0.5px; }
.logo__sub { font-size: 13px; letter-spacing: 3px; color: var(--peach); }
.nav__tabs { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; font-weight: 700; }
.nav__tabs a { color: #fff; padding: 8px 16px; border-radius: 999px; transition: background .3s; }
.nav__tabs a:hover { background: var(--plum-2); color: #fff; }
.nav__tabs a.is-active { background: var(--peach); color: var(--plum); }
.nav__actions { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; }
.nav__actions > a:not(.btn) { color: #fff; }
.icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* Hero */
.hero { background: var(--plum); color: #fff; border-top: 1px solid #45305E; }
.hero__inner { padding-top: 64px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; font-weight: 900; letter-spacing: -1.5px; }
.hero__lead { font-size: 18px; line-height: 1.6; color: var(--lilac); max-width: 520px; }
.badge-open { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: #1F5E3B; font-weight: 900; font-size: 14px; letter-spacing: 1px; padding: 8px 14px; border-radius: 8px; }
.badge-open__dot { width: 9px; height: 9px; border-radius: 50%; background: #7CF2A9; animation: pulse 2.4s ease-in-out infinite; }
.slots { background: var(--plum-2); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
#slots { display: flex; flex-direction: column; gap: 14px; }
.slot { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.slot__name { width: 140px; flex: none; font-weight: 700; }
.slot__bar { flex: 1; height: 10px; background: var(--plum); border-radius: 999px; overflow: hidden; }
.slot__fill { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 1.4s var(--ease); }
.slot__label { width: 92px; flex: none; text-align: right; color: var(--lilac); font-size: 14px; }

.collage { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 12px; }
.collage > div { border-radius: 14px; }
.collage__featured { grid-row: span 3; position: relative; overflow: hidden; background: var(--plum-2); }
.collage .float { grid-row: span 2; }
.collage__note { grid-column: span 2; background: var(--plum-3); display: flex; align-items: center; padding: 0 18px; color: var(--peach); font-size: 13px; font-weight: 700; }
.collage__caption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dots { display: flex; gap: 5px; }

.marquee { overflow: hidden; padding-bottom: 56px; }
.track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.mq-item { display: block; flex: none; height: 200px; border-radius: 14px; transition: transform .6s var(--ease); }
.mq-item:hover { transform: translateY(-6px) rotate(-1deg); }

/* Menu */
.toggle { display: flex; background: var(--sand); border-radius: 12px; padding: 4px; font-size: 14px; font-weight: 700; }
.toggle button { border: 0; background: transparent; color: var(--plum); border-radius: 9px; padding: 10px 16px; font-weight: 700; transition: background .3s, color .3s; }
.toggle button.is-active { background: var(--plum); color: #fff; }
.menu { border-top: 2px solid var(--plum); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line); transition: background .4s ease; }
.row:hover { background: var(--cream-2); }
.row__thumbs { display: flex; gap: 6px; flex: none; }
.row__thumbs span { width: 64px; height: 84px; border-radius: 8px; }
.row__body { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row__title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row__title h3 { font-size: 21px; font-weight: 900; }
.row__desc { font-size: 15px; color: var(--muted); }
.row__meta { font-size: 13px; color: var(--muted); }
.row__buy { flex: 1 1 200px; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.price { display: flex; flex-direction: column; align-items: flex-end; }
.price small { font-size: 12px; color: var(--muted); }
.price strong { font-size: 26px; font-weight: 900; }

/* Queue */
.queue { background: #fff; border: 2px solid var(--plum); border-radius: 18px; padding: 32px; display: flex; flex-wrap: wrap; gap: 36px; }
.queue__intro { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ticket { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.ticket label { font-size: 14px; font-weight: 700; }
.ticket__field { display: flex; border: 2px solid var(--plum); border-radius: 10px; overflow: hidden; }
.ticket__field input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 15px; outline: none; }
.ticket__field button { border: 0; background: var(--plum); color: #fff; font-weight: 900; padding: 0 18px; }
.ticket__result { font-size: 14px; min-height: 1.4em; color: var(--muted); }
.queue__list { flex: 999 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.q { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: var(--cream); border-radius: 10px; padding: 14px 16px; font-size: 15px; transition: box-shadow .4s, background .4s; }
.q.is-found { background: #FFE9DE; box-shadow: 0 0 0 2px var(--plum); }
.q__id { font-weight: 900; width: 76px; }
.q__item { flex: 1 1 180px; min-width: 0; }
.q__item span { color: var(--muted); }
.q__bar { width: 140px; height: 8px; background: #EBDDD2; border-radius: 999px; overflow: hidden; }
.q__fill { display: block; height: 100%; width: 0; background: var(--plum); transition: width 1.2s var(--ease); }
.q__stage { width: 96px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* Gallery */
.tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; }
.tags button { border: 1px solid #6B5488; background: transparent; color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; transition: background .3s, color .3s; }
.tags button.is-active { background: var(--peach); color: var(--plum); border-color: var(--peach); }
.masonry { columns: 4 240px; column-gap: 14px; }
.reveal { break-inside: avoid; margin-bottom: 14px; opacity: 0; transform: translateY(28px) scale(.98); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.is-hidden { display: none; }
.tile { display: block; border-radius: 12px; position: relative; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover, .tile:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(10, 4, 20, .45); }
.tile__art { position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.tile:hover .tile__art, .tile:focus-visible .tile__art { transform: scale(1.06); }
.tile__label { position: absolute; left: 10px; bottom: 10px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.tile:hover .tile__label, .tile:focus-visible .tile__label { opacity: 1; transform: none; }
@media (hover: none) { .tile__label { opacity: 1; transform: none; } }

/* Shop */
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product { display: flex; flex-direction: column; gap: 10px; }
.product__img { aspect-ratio: 1 / 1; border-radius: 14px; transition: transform .6s var(--ease); }
.product:hover .product__img { transform: translateY(-4px); }
.product__kind { align-self: flex-start; font-size: 12px; font-weight: 700; background: var(--sand); padding: 4px 8px; border-radius: 6px; }
.product__name { font-size: 16px; font-weight: 700; }
.product__price { font-size: 18px; font-weight: 900; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.artist { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 14px; padding: 18px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.artist:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(42, 27, 61, .1); color: var(--plum); }
.artist__avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.artist__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.artist__name { font-weight: 900; font-size: 17px; }
.artist__role { font-size: 13px; color: var(--muted); }
.artist .status { margin-left: auto; }

/* Footer */
.footer { background: var(--plum); color: var(--lilac); }
.footer__inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.footer__inner > div { display: flex; flex-direction: column; gap: 8px; }
.footer__name { font-weight: 900; font-size: 22px; color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer__links a { color: var(--lilac); }
.footer__links a:hover { color: #fff; }

/* Animations */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(124, 242, 169, .6); } 50% { box-shadow: 0 0 0 6px rgba(124, 242, 169, 0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float { animation: floatY 8s ease-in-out infinite; }
@keyframes xfade { 0%, 28% { opacity: 1; } 33%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kenburns { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 90% { transform: scale(1.06); } 95%, 100% { transform: scale(1); } }
.slide { position: absolute; inset: 0; opacity: 0; animation: xfade 15s ease-in-out infinite, kenburns 15s ease-in-out infinite; }
@keyframes dot { 0%, 28% { background: #fff; width: 22px; } 33%, 100% { background: #C9B8E0; width: 8px; } }
.dot { height: 8px; width: 8px; border-radius: 999px; background: #C9B8E0; animation: dot 15s ease-in-out infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  h2 { font-size: 30px; }
  .queue { padding: 20px; }
  .slot__name { width: 110px; }
  .q__bar { width: 100%; order: 5; }
  .row__buy { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .slide, .dot, .track, .badge-open__dot { animation: none !important; }
  .slide-1 { opacity: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .tile__art, .tile__label, .mq-item, .slot__fill, .q__fill, .artist, .product__img { transition: none !important; }
}
