/* Static and Shade storefront. Palette from the brand board: near-black canvas,
   electric magenta + ultraviolet accents, chrome-white type. */
:root {
  --bg: #050507;
  --bg-2: #0b0b10;
  --surface: #111118;
  --surface-2: #171720;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f2f7;
  --muted: #a39eb3;
  --faint: #6f6a7e;
  --magenta: #ff2bd6;
  --magenta-deep: #c400a8;
  --violet: #6a1fd1;
  --violet-deep: #2a0f5e;
  --glow: 0 0 24px rgba(255, 43, 214, 0.45), 0 0 64px rgba(106, 31, 209, 0.25);
  --radius: 14px;
  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: 20px;
}
* { box-sizing: border-box; }
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: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--magenta); margin-bottom: 0.9rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--magenta); color: #000; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn { color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--magenta), var(--violet)); color: #fff !important; box-shadow: 0 0 0 rgba(255,43,214,0); }
.btn-primary:hover { box-shadow: var(--glow); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: #fff !important; }
.btn-ghost:hover { border-color: var(--magenta); color: #fff; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.7; color: #fff !important; cursor: not-allowed; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 144px; }
.brand img { height: 80px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links .btn { padding: 0.6rem 1.1rem; font-size: 0.68rem; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 8px; padding: 6px 10px; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 144px; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface-2); border-top: 1px solid var(--line-strong); border-bottom: 2px solid var(--magenta); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7); padding: 0.5rem 0 1rem; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { color: #fff; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.75rem var(--gutter); }
  .nav-links .btn { margin-top: 0.5rem; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 75% 40%, rgba(106, 31, 209, 0.28), transparent 60%), radial-gradient(800px 500px at 85% 70%, rgba(255, 43, 214, 0.18), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; align-items: center; min-height: min(78vh, 760px); padding-top: 3rem; padding-bottom: 3rem; }
.hero-copy h1 { margin-bottom: 1rem; text-shadow: 0 0 40px rgba(255, 43, 214, 0.25); }
.hero-copy .lede { font-size: 1.1rem; color: var(--muted); max-width: 32rem; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-art { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 120px rgba(106, 31, 209, 0.25); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .slide { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.hero-art .slide.active { opacity: 1; pointer-events: auto; }
.hero-art .dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.hero-art .dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); background: rgba(5,5,7,0.6); padding: 0; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; }
.hero-art .dot.active { background: var(--magenta); border-color: var(--magenta); transform: scale(1.2); box-shadow: 0 0 10px rgba(255,43,214,0.7); }
.hero-art .tag { position: absolute; left: 16px; bottom: 40px; background: rgba(5, 5, 7, 0.7); backdrop-filter: blur(8px); border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.8rem; color: var(--text); }
.hero-art .tag b { color: var(--magenta); font-weight: 600; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; color: var(--faint); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 2rem; padding-bottom: 2.5rem; }
  .hero-art { order: -1; aspect-ratio: 4 / 3; }
}

/* Listings */
.section { padding: 4rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.chip { border: 1px solid var(--line-strong); background: transparent; color: var(--muted); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.chip.active, .chip:hover { border-color: var(--magenta); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(255, 43, 214, 0.5); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 43, 214, 0.12); }
.card-media { aspect-ratio: 1 / 1; background: #000; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media.empty { display: grid; place-items: center; color: var(--faint); font-size: 0.8rem; background: linear-gradient(135deg, var(--surface-2), #000); }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card-body h3 { margin: 0.2rem 0 0.3rem; font-size: 1rem; }
.card-body .tagline { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.8rem; min-height: 2.6em; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.price { font-family: var(--font-display); font-size: 1.05rem; }
.badge { display: inline-block; background: rgba(5, 5, 7, 0.72); backdrop-filter: blur(6px); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge-magenta { border-color: rgba(255, 43, 214, 0.6); color: var(--magenta); }
.badge-violet { border-color: rgba(140, 90, 230, 0.7); color: #c2a7ff; }
.badge-sold { background: #fff; color: #000; border-color: #fff; }
.card .sold-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5, 5, 7, 0.55); font-family: var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; pointer-events: none; }
.card .ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* Strips */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
.strip h3 { margin-bottom: 0.4rem; }
.strip p { color: var(--muted); margin-bottom: 0.8rem; }
.strip a.link { color: var(--magenta); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-display); }

/* Product page */
.crumbs { font-size: 0.8rem; color: var(--faint); padding: 1.2rem 0 0; }
.crumbs a:hover { color: var(--magenta); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3rem; padding: 1.5rem 0 4rem; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 2rem; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 1 / 1; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 0.6rem; margin-top: 0.8rem; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 1 / 1; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.render-note { font-size: 0.75rem; color: var(--faint); margin-top: 0.6rem; }
.buy h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.4rem; }
.buy .tagline { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.buy .price { font-size: 1.8rem; margin-bottom: 0.2rem; }
.buy .avail { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.4rem; }
.buy .avail.sold { color: var(--magenta); }
.field { margin-bottom: 1.2rem; }
.field label, .field .label { display: block; font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.swatch { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.35rem 0.85rem 0.35rem 0.4rem; background: var(--surface); color: var(--text); font-size: 0.85rem; cursor: pointer; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: inline-block; }
.swatch.active { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; background: transparent; border: 0; color: var(--text); cursor: pointer; font-size: 1.1rem; }
.qty input { width: 48px; text-align: center; background: transparent; border: 0; color: var(--text); font-size: 1rem; }
.cart-row { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; margin: 1.4rem 0 0.6rem; }
.cart-note { display: none; margin-top: 0.9rem; padding: 0.9rem 1rem; border: 1px solid rgba(255, 43, 214, 0.5); border-radius: 12px; background: rgba(255, 43, 214, 0.06); font-size: 0.92rem; }
.cart-note.show { display: block; }
.cart-note a { color: var(--magenta); }
.spec { margin-top: 2rem; border-top: 1px solid var(--line); }
.spec dl { display: grid; grid-template-columns: 140px 1fr; gap: 0.6rem 1rem; margin: 1rem 0 0; font-size: 0.92rem; }
.spec dt { color: var(--faint); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.2rem; }
.spec dd { margin: 0; }
.spec ul { margin: 0; padding-left: 1.1rem; }
.desc { margin-top: 1.6rem; color: #d9d5e3; }
.desc p { margin-bottom: 0.9em; }
.policy-links { margin-top: 1.4rem; font-size: 0.8rem; color: var(--faint); }
.policy-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.credit { margin-top: 1rem; font-size: 0.78rem; color: var(--faint); }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 1.3rem; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0.8rem 0.9rem; font: inherit; font-size: 0.98rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255, 43, 214, 0.2); }
input[type="file"] { color: var(--muted); font-size: 0.9rem; }
.errorlist { list-style: none; margin: 0.3rem 0 0; padding: 0; color: #ff7ad9; font-size: 0.85rem; }
.help { font-size: 0.8rem; color: var(--faint); margin-top: 0.3rem; }

/* Two-column content (about, custom) */
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: start; padding: 3rem 0 4rem; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }
.prose { max-width: 42rem; color: #d9d5e3; }
.prose h2 { margin-top: 2rem; font-size: 1.3rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--magenta); }
.portrait { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 5; display: grid; place-items: center; color: var(--faint); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.page-head { padding: 3.5rem 0 1rem; }
.page-head p { color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.legal { padding-bottom: 4rem; }
.legal .prose { max-width: 48rem; }
.legal .meta { color: var(--faint); font-size: 0.85rem; margin-bottom: 2rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #030304; padding: 3rem 0 2rem; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img { height: 28px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a:hover { color: var(--magenta); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.78rem; color: var(--faint); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--surface-2); border: 1px solid var(--magenta); color: var(--text); padding: 0.8rem 1.2rem; border-radius: 999px; opacity: 0; transition: all 0.25s ease; z-index: 60; pointer-events: none; box-shadow: var(--glow); font-size: 0.9rem; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.btn, .btn:hover, .btn:focus, .btn:visited { color: #fff; }
.nav-links .btn { padding: 0.7rem 1.2rem; font-size: 0.72rem; }
@media (max-width: 860px) { .nav { height: 96px; } .brand img { height: 56px; } .nav-links { top: 96px; } }
.category { margin-top: 2.4rem; scroll-margin-top: 160px; }
.category:first-of-type { margin-top: 0.5rem; }
.category-title { font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--magenta); margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.filters a.chip { text-decoration: none; }
.site-footer .made-in { color: var(--text); }
/* About: on phones the portrait comes right after the name and intro, before the story. */
@media (max-width: 860px) {
  .two-col > div:has(.portrait) { order: -1; }
  .portrait { aspect-ratio: 1 / 1; }
  .portrait img { object-position: center 20%; }
  .page-head { padding-top: 2rem; padding-bottom: 0; }
  .two-col { padding-top: 1rem; }
}
.swatch.size { padding: 0.45rem 0.95rem; }
.swatch.size small { color: var(--muted); font-size: 0.78rem; }
.swatch.size em { font-style: normal; color: var(--magenta); font-size: 0.8rem; }
/* Browse dropdown */
.has-menu { position: relative; }
.submenu { display: none; position: absolute; left: 50%; transform: translateX(-50%); top: calc(100% + 14px); min-width: 230px; list-style: none; margin: 0; padding: 0.5rem 0; background: var(--surface-2); border: 1px solid var(--line-strong); border-top: 2px solid var(--magenta); border-radius: 12px; box-shadow: 0 24px 48px rgba(0,0,0,0.7); z-index: 60; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-menu:hover .submenu, .has-menu.open .submenu, .has-menu:focus-within .submenu { display: block; }
.submenu li { padding: 0; }
.submenu a { display: block; padding: 0.6rem 1.1rem; font-size: 0.7rem; letter-spacing: 0.14em; color: var(--text); white-space: nowrap; }
.submenu a:hover { background: rgba(255, 43, 214, 0.1); color: #fff; }
@media (max-width: 860px) {
  .submenu { display: none; position: static; transform: none; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0.25rem 0 0 0.8rem; }
  .has-menu:hover .submenu { display: none; }
  .has-menu.open .submenu, .has-menu:focus-within .submenu { display: block; }
  .submenu li { padding: 0.35rem 0; border-bottom: 0 !important; }
  .submenu a { padding: 0.3rem 0; }
  .has-menu > a::after { content: " \25BE"; }
}
.cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.cat-card .card-media { aspect-ratio: 4 / 3; }
