:root {
  --bg: #14110e;
  --surface: #221c17;
  --raised: #2c241d;
  --fg: #f6f1ea;
  --muted: #b3a496;
  --accent: #c45c26;
  --accent-fg: #fff8f3;
  --gold: #d4b48a;
  --line: #3d342c;
  --sans: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --radius: 1.1rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.5;
}
button, [role="button"] { cursor: pointer; font: inherit; color: inherit; }
button { background: none; border: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 72rem; margin: 0 auto; padding-inline: clamp(1.35rem, 5.5vw, 2.25rem); }
.header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.mark { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; }
.mark b { color: var(--accent); font-weight: 520; }
.mark i { color: var(--gold); font-style: normal; }
.logo-img { height: 2.5rem; width: auto; max-width: 10rem; object-fit: contain; }
.nav { display: none; gap: 1.5rem; align-items: center; }
.nav button { color: var(--muted); min-height: 2.75rem; }
.nav button.on, .nav button:hover { color: var(--fg); }
.actions { display: flex; gap: 0.5rem; align-items: center; }
.pill, .btn, .chip, .field, .area {
  min-height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.pill, .btn { padding: 0 1rem; }
.pill { background: var(--surface); }
.count {
  display: inline-flex; min-width: 1.25rem; height: 1.25rem; margin-left: 0.4rem;
  align-items: center; justify-content: center; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg); font-size: 0.75rem; padding: 0 0.25rem;
}
.btn { background: var(--accent); color: var(--accent-fg); }
.btn.ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn.block { width: 100%; }
.menu-btn { display: inline-flex; }
.menu {
  display: none; flex-direction: column; gap: 0.25rem;
  border-top: 1px solid var(--line); padding: 0.75rem 0 1rem;
}
.menu.open { display: flex; }
.menu button { min-height: 2.75rem; text-align: left; text-transform: capitalize; }
.hero { display: grid; gap: 2.5rem; align-items: center; padding-block: 2.75rem 3.25rem; }
.kicker { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }
h1, h2, h3, .price { font-family: var(--display); font-weight: 520; }
h1 { font-size: clamp(3rem, 8vw, 4.5rem); line-height: 0.95; margin: 0.75rem 0 0; }
h1 span { display: block; color: var(--gold); }
.lead { color: var(--muted); max-width: 28rem; }
.row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.stats { display: grid; grid-cols: 3; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--gold); font-weight: 520; }
.stats span, .muted { color: var(--muted); }
.frame { overflow: hidden; border-radius: 1rem; border: 1px solid var(--line); background: var(--surface); }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.section { padding-bottom: 3.5rem; }
.page { padding-block: 2.5rem 3.5rem; }
.section h2 { font-size: 1.875rem; margin: 0 0 1.5rem; }
.head { display: flex; align-items: end; justify-content: space-between; }
.link { color: var(--gold); background: none; border: 0; min-height: 2.75rem; }
.grid3, .grid { display: grid; gap: 1rem; }
.card, .info, .panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; text-align: left; overflow: hidden;
}
.card img.cover, .cut img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cut img { aspect-ratio: 4/3; }
.pad { padding: 1rem; }
.brand { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.5rem; font-size: 0.875rem; }
.price { color: var(--gold); font-size: 1.125rem; }
.filters { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { padding: 0 1rem; color: var(--muted); background: transparent; }
.chip.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.field, .area {
  width: 100%; background: var(--surface); color: var(--fg); padding: 0 0.9rem; border-radius: 0.75rem; min-height: 2.75rem;
}
.area { border-radius: 0.75rem; padding: 0.6rem 0.9rem; min-height: 6rem; }
.search { border-radius: 999px; background: var(--surface); }
.floor-title { font-family: var(--display); font-size: 1.5rem; color: var(--gold); margin: 2rem 0 1rem; }
.pages { display: flex; gap: 0.5rem; align-items: center; justify-content: center; margin: 1.5rem 0 2rem; }
.pages button { min-width: 2.75rem; min-height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); }
.pages button.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.player { padding: 1rem; }
.stage { padding: 0; background:
  radial-gradient(120% 80% at 10% 0%, rgba(196, 92, 38, 0.18), transparent 42%),
  var(--surface);
}
.stage-face {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 13rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e0b09;
}
.stage-face video, .stage-face iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.stage-face audio { position: absolute; width: 0; height: 0; opacity: 0; }
.disc {
  width: 8.5rem; height: 8.5rem; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #f6f1ea 0 8%, #14110e 9% 18%, transparent 19%),
    repeating-radial-gradient(circle, #4a3424 0 2px, #1a140f 3px 8px);
  box-shadow: 0 0 0 7px #c45c26, 0 0 0 9px #d4b48a, 0 18px 40px rgba(0, 0, 0, 0.45);
}
.stage.is-on .disc { animation: spin 4.2s linear infinite; }
.orb {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 4.4rem; height: 4.4rem; border-radius: 50%; border: 0;
  background: var(--accent); color: var(--accent-fg);
  box-shadow: 0 0 0 8px rgba(212, 180, 138, 0.18);
}
.orb::before {
  content: "";
  display: block; margin-left: 0.2rem;
  border-style: solid; border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent currentColor;
}
.stage.is-on .orb { left: auto; right: 0.8rem; top: 0.8rem; transform: none; width: 2.6rem; height: 2.6rem; }
.stage.is-on .orb::before { display: none; }
.stage.is-on .orb::after { content: ""; display: block; width: 0.7rem; height: 0.85rem; margin: 0 auto; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.stage-copy { padding: 1rem 1.1rem 1.15rem; }
.scrub { height: 0.45rem; margin-top: 0.9rem; border-radius: 999px; background: #3d342c; cursor: pointer; overflow: hidden; }
.scrub span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c45c26, #d4b48a); }
.stage-time { display: flex; justify-content: space-between; margin-top: 0.4rem; font-size: 0.75rem; color: var(--muted); }
.eq { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: 4px; align-items: flex-end; height: 1.6rem; }
.eq i { width: 3px; height: 30%; background: var(--gold); display: block; border-radius: 99px; opacity: 0.4; }
.stage.is-on .eq i { opacity: 1; animation: eq 0.7s ease-in-out infinite alternate; }
.stage.is-on .eq i:nth-child(2) { animation-delay: 0.1s; }
.stage.is-on .eq i:nth-child(3) { animation-delay: 0.2s; }
.stage.is-on .eq i:nth-child(4) { animation-delay: 0.05s; }
.stage.is-on .eq i:nth-child(5) { animation-delay: 0.18s; }
.send-row { display: grid; gap: 0.6rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes eq { from { height: 25%; } to { height: 100%; } }
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; }
.foot { display: grid; gap: 2rem; }
.drawer-back, .modal-back {
  position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 75%, transparent);
}
.drawer-back { display: flex; justify-content: flex-end; }
.drawer { width: min(100%, 28rem); height: 100%; background: var(--surface); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.drawer head, .drawer .top, .modal .top { display: flex; justify-content: space-between; align-items: center; }
.top { padding: 1rem; border-bottom: 1px solid var(--line); }
.lines { flex: 1; overflow: auto; padding: 1rem; }
.line { display: flex; gap: 0.75rem; border-bottom: 1px solid var(--line); padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.line img { width: 4rem; height: 4rem; object-fit: cover; border-radius: 0.5rem; }
.footbar { border-top: 1px solid var(--line); padding: 1rem; }
.total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 1.25rem; margin-bottom: 0.75rem; }
.modal-back { display: grid; place-items: center; padding: 1rem; }
.modal { width: min(100%, 48rem); display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.modal img.shot { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sizes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.sizes button { min-width: 2.75rem; min-height: 2.75rem; border-radius: 0.6rem; border: 1px solid var(--line); padding: 0 0.6rem; }
.sizes button.on { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 50;
  background: var(--raised); border: 1px solid var(--line); border-radius: 999px; padding: 0.75rem 1.25rem; font-size: 0.875rem;
}
.form { max-width: 36rem; margin: 0 auto; padding-block: 2.5rem 3rem; display: grid; gap: 0.75rem; }
label.stack { display: grid; gap: 0.25rem; color: var(--muted); font-size: 0.875rem; }
.drop {
  display: block; border: 1px dashed var(--line); border-radius: 0.75rem; padding: 0.6rem 0.75rem; color: var(--muted); font-size: 0.75rem;
}
.drop.over { border-color: var(--accent); background: var(--bg); }
.drop img { width: 7rem; height: 7rem; object-fit: cover; border-radius: 0.5rem; margin-top: 0.5rem; }
.admin { padding-block: 1.75rem 3rem; }
.stats4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1.5rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.stat strong { font-family: var(--display); font-size: 1.8rem; color: var(--gold); }
.plist { list-style: none; padding: 0; margin: 1rem 0 0; }
.plist li { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-size: 0.875rem; }
.plist img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 0.5rem; }
.danger { color: var(--accent); min-height: 2.75rem; }
.narrow { max-width: 36rem; }
.rise { animation: rise 0.6s ease both; }
.floor-stage[data-pose="leave"] { animation: floor-leave 0.22s ease forwards; }
.floor-stage[data-pose="settle"] { animation: floor-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
.floor-stage[data-pose="settle"] .floor-card { animation: floor-card 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; }
.floor-stage[data-pose="settle"] .floor-card:nth-child(2) { animation-delay: 0.04s; }
.floor-stage[data-pose="settle"] .floor-card:nth-child(3) { animation-delay: 0.08s; }
.floor-stage[data-pose="settle"] .floor-card:nth-child(4) { animation-delay: 0.12s; }
.floor-stage[data-pose="settle"] .floor-card:nth-child(5) { animation-delay: 0.16s; }
.floor-stage[data-pose="settle"] .floor-card:nth-child(6) { animation-delay: 0.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floor-leave { to { opacity: 0; transform: translateY(10px); } }
@keyframes floor-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floor-card { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn, .menu { display: none !important; }
  .hero { grid-template-columns: 1.1fr 0.9fr; padding-block: 4.5rem; }
  .frame img { aspect-ratio: 5/6; }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .filters { flex-direction: row; align-items: center; }
  .search { flex: 1; }
  .foot { grid-template-columns: 2fr 1fr 1fr; }
  .modal { grid-template-columns: 1fr 1fr; }
  .stats4 { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: 1fr 1fr; }
}
.about { display: grid; gap: 2rem; padding-block: 2.5rem 3rem; }
.about ul { margin: 1rem 0 0; padding-left: 1.15rem; }
.info { padding: 1rem; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 0.85rem; }
  .stats div + div { padding-top: 0.85rem; border-top: 1px solid var(--line); }
  h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .rise, .floor-stage[data-pose="leave"], .floor-stage[data-pose="settle"], .floor-stage .floor-card,
  .stage.is-on .disc, .stage.is-on .eq i { animation: none; }
  html { scroll-behavior: auto; }
}
