/* AURIVIQ AUDIO — concept project 03
   Futuristic consumer audio. Obsidian, electric blue, acid lime. */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #05070c;
  --navy: #10192c;
  --blue: #4169ff;
  --lime: #d5ff54;
  --silver: #d8dde5;
  --ink: #eef1f6;
  --muted: #93a0b4;
  --line: rgba(216, 221, 229, .14);
  --line-soft: rgba(216, 221, 229, .07);
  --accent: #d5ff54;
  --focus: #d5ff54;
  --selection: rgba(65, 105, 255, .35);
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --shell: 1360px;
  --gutter: 44px;
}

body { background: var(--bg); color: var(--ink); }

.mono { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- header ---------- */
.nav-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 44px;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
}
.nav-bar.is-stuck { background: rgba(5, 7, 12, .82); backdrop-filter: blur(16px); border-bottom-color: var(--line-soft); padding-block: 13px; }
.mark {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.mark span { color: var(--lime); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.pill:hover { border-color: var(--lime); color: var(--lime); }
.pill--lime { background: var(--lime); border-color: var(--lime); color: #08110a; font-weight: 600; }
.pill--lime:hover { background: #e6ff8a; color: #08110a; }
.pill--blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--lime);
  color: #08110a;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
}
.burger-a { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; place-items: center; }
.burger-a span { width: 15px; height: 1px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }

.a-drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(5, 7, 12, .97);
  padding: 96px 24px 36px;
  display: grid;
  align-content: start;
  gap: 2px;
  transform: translateY(-101%);
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}
.a-drawer.is-open { transform: none; }
.a-drawer a { font-size: 26px; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }

/* ---------- hero / sequence ---------- */
.seq { position: relative; height: 340vh; }
.seq-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.seq-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(65, 105, 255, .22), transparent 70%),
    radial-gradient(45% 40% at 78% 22%, rgba(213, 255, 84, .1), transparent 72%),
    #05070c;
  transition: background 0.6s linear;
}
.seq-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 78%);
  opacity: .5;
}
.seq-product {
  position: relative;
  width: min(560px, 72vw);
  will-change: transform;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .6)) brightness(1.18) contrast(1.06);
}
.seq-product::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(65, 105, 255, .42), rgba(65, 105, 255, .12) 55%, transparent 74%);
  filter: blur(24px);
}
.seq-product svg { width: 100%; height: auto; }

.seq-copy {
  position: absolute;
  z-index: 3;
  width: min(1200px, 100% - 88px);
  inset: 0;
  margin: auto;
  display: grid;
  align-content: center;
  pointer-events: none;
}
.seq-copy > * { pointer-events: auto; }
.seq-headline {
  font-size: clamp(40px, 8.6vw, 138px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.seq-headline .lime { color: var(--lime); }
.seq-sub { margin-top: 22px; max-width: 46ch; font-size: clamp(14px, 1vw + 11px, 17px); color: var(--muted); line-height: 1.6; }
.seq-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }

.seq-features {
  position: absolute;
  z-index: 4;
  left: 44px; right: 44px; bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.seq-features span { opacity: .28; transition: opacity .4s ease, color .4s ease; }
.seq-features span.is-on { opacity: 1; color: var(--lime); }
.seq-progress {
  position: absolute;
  z-index: 4;
  right: 44px; top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
}
.seq-progress i { width: 2px; height: 26px; background: rgba(216, 221, 229, .18); display: block; overflow: hidden; }
.seq-progress i b { display: block; width: 100%; height: 0%; background: var(--lime); transition: height .1s linear; }

.seq-caption {
  position: absolute;
  z-index: 4;
  left: 44px;
  bottom: 74px;
  max-width: 230px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.seq-caption b { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin-bottom: 8px; }

/* ---------- generic bands ---------- */
.band { padding: clamp(62px, 8vw, 120px) 0; position: relative; }
.band--navy { background: linear-gradient(180deg, #0a101c, #10192c 60%, #0a101c); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(30px, 4vw, 54px); }
.band-head h2 { font-size: clamp(30px, 4.6vw, 64px); font-weight: 500; line-height: .96; letter-spacing: -.045em; text-transform: uppercase; margin-top: 14px; }
.band-head h2 em { font-style: normal; color: var(--lime); }
.band-head p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 46ch; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit { background: #070a10; padding: clamp(22px, 2.6vw, 36px); }
.benefit .num { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; color: var(--blue); }
.benefit h3 { margin-top: 18px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.benefit p { margin-top: 10px; color: var(--muted); font-size: 13.8px; line-height: 1.7; }
.benefit svg { margin-top: 22px; }

/* showcase blocks */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.showcase:nth-child(even) .sc-media { order: 2; }
.sc-media {
  position: relative;
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(65, 105, 255, .22), transparent 72%),
    #070a10;
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sc-media svg { width: 74%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55)); }
.sc-media .label { position: absolute; left: 16px; bottom: 14px; }
.showcase h3 { font-size: clamp(24px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.showcase p { color: var(--muted); margin-top: 14px; font-size: 15px; line-height: 1.75; max-width: 46ch; }
.spec-inline { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
.spec-inline b { display: block; font-family: var(--font-body); font-size: 18px; letter-spacing: -.01em; text-transform: none; color: var(--ink); margin-top: 5px; font-weight: 500; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.card {
  position: relative;
  border: 1px solid var(--line);
  background: #070a10;
  padding: 22px;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: border-color .35s ease, transform .4s cubic-bezier(.22,.61,.36,1);
}
.card:hover { border-color: rgba(213, 255, 84, .45); transform: translateY(-4px); }
.card .stage {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(65% 60% at 50% 40%, rgba(65, 105, 255, .18), transparent 74%);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.card .stage svg { width: 88%; height: auto; transition: transform .5s ease; }
.card:hover .stage svg { transform: scale(1.04); }
.card h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.card .tagline { color: var(--muted); font-size: 13px; line-height: 1.6; }
.card .price { font-family: var(--font-mono); font-size: 14px; color: var(--lime); }
.card .cta { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.card .badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--silver);
}
.card .badge--lime { border-color: rgba(213, 255, 84, .5); color: var(--lime); }

/* comparison table */
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line-soft); }
.compare-table th { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.compare-table td:first-child { color: var(--silver); }
.compare-table td { color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }

/* ---------- product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery-a { display: grid; gap: 12px; }
.gallery-a .main {
  position: relative;
  border: 1px solid var(--line);
  background: radial-gradient(65% 60% at 50% 35%, rgba(65, 105, 255, .22), transparent 74%), #070a10;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.gallery-a .main svg { width: 86%; height: auto; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.gallery-a .main.zoom svg { transform: scale(1.35); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumbs button { border: 1px solid var(--line); background: #070a10; aspect-ratio: 1; display: grid; place-items: center; padding: 8px; transition: border-color .25s ease; }
.thumbs button.is-active { border-color: var(--lime); }
.thumbs svg { width: 90%; height: auto; }

.pd h1 { font-size: clamp(30px, 4vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: .98; text-transform: uppercase; }
.pd .sub { color: var(--muted); margin-top: 12px; font-size: 15px; line-height: 1.7; max-width: 44ch; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-top: 22px; }
.price-row .p { font-family: var(--font-mono); font-size: 26px; color: var(--ink); }
.price-row .note { font-size: 12px; color: var(--muted); }

.colours { margin-top: 26px; display: flex; gap: 10px; }
.swatch {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: border-color .25s ease, transform .25s ease;
}
.swatch i { width: 30px; height: 30px; border-radius: 50%; display: block; }
.swatch[aria-pressed="true"] { border-color: var(--lime); transform: scale(1.05); }

.buy-row { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 44px; font-size: 16px; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 30px; text-align: center; font-family: var(--font-mono); font-size: 13px; }
.accordion { margin-top: 30px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--lime); }
.accordion details[open] summary::after { content: "−"; }
.accordion p { color: var(--muted); font-size: 14px; line-height: 1.75; padding-bottom: 16px; max-width: 50ch; }

/* ---------- technology ---------- */
.diagram {
  position: relative;
  border: 1px solid var(--line);
  background: radial-gradient(60% 60% at 50% 45%, rgba(65, 105, 255, .16), transparent 76%), #070a10;
  padding: clamp(20px, 3vw, 44px);
  overflow: hidden;
}
.diagram svg { width: 100%; height: auto; }
.dash { stroke-dasharray: 6 8; animation: dash 3.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -56; } }
.pulse-dot { animation: pd 2.6s ease-in-out infinite; }
@keyframes pd { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tech-card { border: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px); background: #070a10; }
.tech-card h3 { font-size: 17px; font-weight: 500; }
.tech-card p { color: var(--muted); font-size: 13.8px; line-height: 1.7; margin-top: 8px; }
.tech-card .mono { color: var(--blue); }

/* spec table */
.specs { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 12px; }
.specs th, .specs td { padding: 13px 10px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.specs th { color: var(--muted); font-weight: 400; letter-spacing: .08em; }
.specs td { color: var(--silver); }

/* ---------- cart ---------- */
.cart-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(22px, 3.4vw, 48px); align-items: start; }
.cart-list { border-top: 1px solid var(--line); }
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  animation: fadeUp .5s ease both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.cart-item .thumb { border: 1px solid var(--line); background: #070a10; display: grid; place-items: center; aspect-ratio: 1; padding: 6px; }
.cart-item .thumb svg { width: 100%; height: auto; }
.cart-item h3 { font-size: 15px; font-weight: 500; }
.cart-item .meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin-top: 5px; letter-spacing: .1em; }
.cart-item .line-price { font-family: var(--font-mono); font-size: 14px; }
.remove { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; }
.remove:hover { color: #ff8f7a; border-bottom-color: currentColor; }
.summary { border: 1px solid var(--line); padding: clamp(20px, 2.6vw, 30px); background: #070a10; position: sticky; top: 100px; }
.summary h2 { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; color: var(--muted); }
.sum-row b { color: var(--ink); font-family: var(--font-mono); font-weight: 400; }
.sum-total { display: flex; justify-content: space-between; padding: 16px 0 6px; font-size: 15px; }
.sum-total b { font-family: var(--font-mono); font-size: 20px; color: var(--lime); }
.checkout { width: 100%; margin-top: 18px; padding: 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; cursor: not-allowed; }
.empty { padding: 44px 0; color: var(--muted); font-size: 15px; }
.toast {
  position: fixed;
  z-index: 130;
  right: 20px; bottom: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(213, 255, 84, .5);
  background: rgba(10, 16, 28, .96);
  border-radius: 10px;
  font-size: 13px;
  transform: translateY(140%);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.toast.is-on { transform: none; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 68px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.foot ul { display: grid; gap: 9px; margin-top: 14px; font-size: 13.5px; color: var(--silver); }
.foot a:hover { color: var(--lime); }
.foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--muted); }

.phero { padding: clamp(110px, 14vw, 180px) 0 clamp(32px, 4vw, 56px); }
.phero h1 { font-size: clamp(34px, 7vw, 100px); font-weight: 600; letter-spacing: -.05em; line-height: .9; text-transform: uppercase; margin-top: 16px; }
.phero h1 span { color: var(--lime); }
.phero p { color: var(--muted); margin-top: 20px; max-width: 56ch; font-size: 15.5px; line-height: 1.75; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .band-head { grid-template-columns: 1fr; align-items: start; }
  .showcase, .pd, .cart-wrap { grid-template-columns: 1fr; }
  .showcase:nth-child(even) .sc-media { order: 0; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
}

@media (max-width: 780px) {
  .nav-bar { padding: 14px 20px; }
  .nav-links, .nav-actions .pill:not(.pill--lime) { display: none; }
  .burger-a { display: grid; }
  .seq-caption { display: none; }
  .seq-features { left: 20px; right: 20px; font-size: 9px; gap: 10px; flex-wrap: wrap; }
  .seq-progress { right: 16px; }
  .prod-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; grid-template-areas: "thumb info" "thumb price"; row-gap: 8px; }
  .cart-item .thumb { grid-area: thumb; }
  .cart-item .line-price { grid-area: price; }
  .foot-grid { grid-template-columns: 1fr; }
}
