:root {
  color-scheme: dark;
  --bg: #050505; --surface: #101010; --surface-raised: #151515; --surface-input: #191919; --ink: #f5f5f7;
  --soft: #a7a7ad; --faint: #68686f; --line: #29292d; --line-strong: #3a3a40; --coral: #f4543d;
  --purple: #7d42c6; --purple-bright: #a55de4; --green: #55b98b; --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body {
  min-height: 100vh; margin: 0; color: var(--ink); font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 75% -12%, rgba(244,84,61,.17), transparent 35rem), var(--bg);
}
a { color: inherit; }
.shop-roll { width: 100%; max-width: 1500px; margin: 0 auto; padding: 88px 48px 110px; }
.site-header { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 34px; }
nav { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #0d0d0f; }
nav a { padding: 8px 14px; border-radius: 999px; color: var(--soft); font-size: 13px; font-weight: 600; text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { background: var(--surface-raised); color: #fff; }
.cart-preview { justify-self: end; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: 12px; text-decoration: none; }
.cart-preview:hover { border-color: var(--line-strong); color: #fff; }
.cart-preview b { display: inline-grid; width: 20px; height: 20px; margin-left: 5px; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; }
.shop-masthead { position: relative; padding: 0 4px 32px 66px; }
.brand-mark { position: absolute; top: 1px; left: 4px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; object-fit: cover; image-rendering: pixelated; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.shop-masthead h1 { margin: 0; font: 600 clamp(32px,6vw,44px)/1 'Space Grotesk'; letter-spacing: -.045em; }
.shop-masthead .sub { margin: 10px 0 0; color: var(--soft); font-size: 15px; line-height: 1.55; }
main { width: 100%; margin: 0; padding: 0; }
.shop-hero {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 460px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(circle at 100% 0%, rgba(244,84,61,.12), transparent 25rem), var(--surface);
  box-shadow: 0 18px 60px rgba(0,0,0,.24);
}
.stub-number { position: absolute; z-index: 4; top: 28px; right: 28px; display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--faint); font: 10px 'IBM Plex Mono'; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(34px, 6vw, 72px); }
.eyebrow { margin: 0 0 14px; color: var(--green); font: 600 12px 'IBM Plex Mono'; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: -.055em; }
h1 { font-size: clamp(50px, 7vw, 84px); line-height: .88; }
.hero-copy > p:not(.eyebrow) { max-width: 540px; margin: 27px 0; color: var(--soft); font-size: clamp(16px, 2vw, 21px); line-height: 1.55; }
.hero-action { padding: 14px 21px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-action:hover { background: #ff6d57; transform: translateY(-1px); }
.hero-art { position: relative; min-height: 410px; }
.orb { position: absolute; top: 50%; left: 50%; display: grid; width: min(27vw, 320px); aspect-ratio: 1; place-items: center; border: 1px solid rgba(165,93,228,.42); border-radius: 38%; background: radial-gradient(circle, rgba(125,66,198,.2), rgba(10,10,12,.96) 66%); box-shadow: 0 0 70px rgba(125,66,198,.18); transform: translate(-50%, -50%) rotate(8deg); }
.orb img { width: 48%; border-radius: 24%; image-rendering: pixelated; transform: rotate(-8deg); }
.signal { position: absolute; z-index: 2; padding: 10px 15px; border: 1px solid currentColor; border-radius: 999px; background: rgba(8,8,10,.88); font: 700 13px 'IBM Plex Mono'; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.signal-a { top: 18%; left: 3%; color: var(--coral); transform: rotate(-7deg); }
.signal-b { top: 27%; right: 4%; color: var(--green); transform: rotate(6deg); }
.signal-c { bottom: 18%; left: 4%; color: var(--purple); transform: rotate(5deg); }
.shop-notice { margin: 18px 0 0; padding: 13px 18px; border: 1px solid rgba(85,185,139,.35); border-radius: 13px; background: rgba(85,185,139,.07); color: #8bd9af; font: 500 12px 'IBM Plex Mono'; text-align: center; }
.collection { padding-top: 64px; }
.section-heading { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading h2 { font-size: clamp(42px, 5vw, 70px); }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.filter { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--soft); cursor: pointer; font: 600 12px Inter; text-transform: capitalize; }
.filter:hover, .filter.active { border-color: var(--purple); background: rgba(125,66,198,.15); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 60px rgba(0,0,0,.16); transition: transform .18s, border-color .18s; }
.product-link { display: block; color: inherit; text-decoration: none; }
.product-card:hover { border-color: #4a4654; transform: translateY(-3px); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1; background: #121217; }
.product-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover img { transform: scale(1.025); }
.badge { position: absolute; top: 13px; left: 13px; padding: 7px 9px; border-radius: 999px; background: rgba(5,5,5,.88); color: var(--green); font: 700 9px 'IBM Plex Mono'; letter-spacing: .08em; text-transform: uppercase; }
.product-info { padding: 18px; }
.product-meta { display: flex; gap: 12px; justify-content: space-between; align-items: start; }
.product-info h3 { margin: 0; font: 700 19px 'Space Grotesk'; }
.price { flex: 0 0 auto; color: #fff; font: 600 13px 'IBM Plex Mono'; }
.product-info p { min-height: 58px; margin: 10px 0 14px; color: var(--soft); font-size: 12px; line-height: 1.55; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.swatches { display: flex; gap: 6px; }
.swatch { width: 15px; height: 15px; border: 2px solid #34343a; border-radius: 50%; outline: none; background: var(--swatch, #17171a); cursor: pointer; transition: transform .15s, border-color .15s; }
.swatch:hover, .swatch:focus-visible, .swatch.active { border-color: var(--purple-bright); transform: scale(1.22); }
.coming { color: var(--faint); font: 9px 'IBM Plex Mono'; letter-spacing: .06em; text-transform: uppercase; }
.loading-card { grid-column: 1 / -1; padding: 70px; border: 1px dashed var(--line); border-radius: 18px; color: var(--soft); text-align: center; }
.error-card { color: #ff8978; }
footer { display: flex; gap: 28px; align-items: flex-start; justify-content: space-between; width: min(100% - 96px, 1404px); margin: -72px auto 0; padding: 28px 0 50px; border-top: 1px solid var(--line); color: var(--faint); font: 10px 'IBM Plex Mono'; text-transform: uppercase; }
.footer-brand { display: grid; gap: 8px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 18px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.footer-links a { padding: 0; border-radius: 0; color: var(--soft); font: inherit; text-decoration: none; }
.footer-links a:hover { background: transparent; color: #fff; }
@media (min-width: 700px) {
  .shop-masthead { padding: 0 8px 42px 82px; }
  .brand-mark { width: 58px; height: 58px; border-radius: 17px; }
  .shop-masthead h1 { font-size: 68px; }
  .shop-masthead .sub { margin-top: 15px; font-size: 26px; }
  .shop-masthead .eyebrow { font-size: 18px; }
  .shop-hero, .product-card { border-radius: 22px; }
  .stub-number { top: 42px; right: 44px; width: 42px; height: 42px; font-size: 15px; }
}
@media (max-width: 950px) {
  .shop-hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; }
  .orb { width: min(54vw, 340px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shop-roll { padding: 42px max(14px,env(safe-area-inset-right)) 72px max(14px,env(safe-area-inset-left)); }
  .site-header { margin: 0 0 27px; }
  nav { justify-self: start; }
  nav a { padding: 7px 10px; font-size: 11px; }
  .cart-preview { padding: 7px 10px; }
  .shop-masthead { padding-left: 58px; }
  .brand-mark { width: 42px; height: 42px; }
  main { padding: 0; }
  .shop-hero { min-height: auto; border-radius: 20px; }
  .hero-copy { padding: 42px 24px 20px; }
  h1 { font-size: clamp(46px, 15vw, 68px); }
  .hero-art { min-height: 310px; }
  .orb { width: 220px; }
  .signal { font-size: 10px; }
  .section-heading { display: block; }
  .filters { justify-content: flex-start; margin-top: 20px; }
  .collection { padding-top: 64px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-info p { min-height: 0; }
  footer { display: grid; width: calc(100% - 28px); gap: 18px; margin-top: 0; padding-right: 0; padding-left: 0; }
  .footer-links { justify-content: flex-start; gap: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
