/* ============================================================
   sp3ktrasønika — brutalist-fetish techno
   palette: obsidian / carbon / concrete / steel / spec / voltage
   ============================================================ */

:root {
  --obsidian: #000000;
  --carbon: #0a0a0b;
  --concrete: #8e8e93;
  --steel: #d1d1d6;
  --spec: #ffffff;
  --voltage: #ff1a8c;
  --voltage-deep: #7a0033;

  --f-display: 'Unbounded', 'Inter Tight', 'Helvetica Neue', sans-serif;
  --f-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
  --f-body: 'Inter Tight', 'Inter', system-ui, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --rule: 1px solid rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--obsidian);
  color: var(--spec);
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

::selection { background: var(--voltage); color: var(--obsidian); }

/* ---------- TOPBAR ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.topbar .brand {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.topbar nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.topbar nav a {
  position: relative;
  padding: 4px 0;
  color: var(--steel);
  transition: color 0.2s;
}
.topbar nav a:hover, .topbar nav a.active { color: var(--spec); }
.topbar nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--voltage);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 10px;
}
.status-pill .dot {
  width: 6px; height: 6px;
  background: var(--voltage);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--voltage);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  background: var(--obsidian);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.95;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: calc(var(--gutter) + 8px);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 11vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: lowercase;
  color: var(--spec);
}

.wordmark .voltage-cut {
  color: var(--voltage);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--concrete);
  text-transform: uppercase;
}

.hero-meta .tagline {
  max-width: 40ch;
  color: var(--steel);
  line-height: 1.7;
}

.hero-meta .socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.hero-meta .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  transition: all 0.2s;
}
.hero-meta .socials a:hover {
  border-color: var(--voltage);
  color: var(--voltage);
  box-shadow: 0 0 0 1px var(--voltage);
}

.hero-meta .socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---------- SECTIONS ---------- */
section {
  padding: clamp(80px, 14vh, 160px) var(--gutter);
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 18px;
  border-bottom: var(--rule);
}

.section-header .index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--concrete);
  text-transform: uppercase;
}

.section-header h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}

/* ---------- BIO ---------- */
.bio {
  background: var(--obsidian);
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.bio-grid .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--concrete);
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.bio-grid .copy {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--spec);
}

.bio-grid .copy p { margin-bottom: 1em; }
.bio-grid .copy p:last-child { margin-bottom: 0; }
.bio-grid .copy strong { color: var(--voltage); font-weight: 400; }

/* ---------- IMAGE PLATE ---------- */
.plate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0;
}
.plate img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.95);
}

/* ---------- GRID (gear + merch) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
}

.product-card {
  position: relative;
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.25s;
}
.product-card:hover { border-color: rgba(255, 255, 255, 0.18); }

.product-card .media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #050505;
  overflow: hidden;
}
.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-card:hover .media img { transform: scale(1.03); }

.product-card .locked {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.product-card .locked .badge {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--spec);
}

.product-card .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card .body .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.product-card .body .name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--spec);
}

.product-card .body .sku {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--concrete);
  text-transform: uppercase;
}

.product-card .body .price {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--steel);
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: transparent;
  color: var(--spec);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.btn:hover:not(.disabled) {
  background: var(--voltage);
  border-color: var(--voltage);
  color: var(--obsidian);
}
.btn.disabled {
  cursor: not-allowed;
  opacity: 0.45;
  color: var(--concrete);
}

/* ---------- FOOTER ---------- */
footer {
  padding: 48px var(--gutter) 36px;
  border-top: var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: end;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--concrete);
  text-transform: uppercase;
}

footer .legal { line-height: 1.8; }
footer .legal strong { color: var(--steel); font-weight: 400; }

footer .footer-brand {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--steel);
}

footer .socials {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.2s;
}
footer .socials a:hover { border-color: var(--voltage); color: var(--voltage); }
footer .socials svg { width: 13px; height: 13px; fill: currentColor; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .hero { min-height: 640px; }
  .hero-img { object-position: center 20%; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 20px; }
  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .plate { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; gap: 14px; align-items: flex-start; }
  footer { grid-template-columns: 1fr; text-align: left; gap: 20px; }
  footer .socials { justify-content: flex-start; }
  .topbar nav { gap: 18px; }
  .topbar nav .status-pill { display: none; }
}

@media (max-width: 520px) {
  .topbar nav .link-secondary { display: none; }
  .product-grid { grid-template-columns: 1fr; }
}
