/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F2EDE4;
  --bg-card: #E8E2D6;
  --text: #1C1A17;
  --text-muted: #7A7060;
  --accent: #217346;
  --accent-teal: #2D7D8C;
  --accent-yellow: #F0C040;
  --border: #C8BFB0;

  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius: 6px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --status-bar-h: 28px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  cursor: none;
  overflow-x: hidden;
  padding-bottom: var(--status-bar-h);
}

body.boot-active { overflow: hidden; }

a { color: inherit; text-decoration: none; }

/* ── BOOT OVERLAY ─────────────────────────────────────── */
#boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#boot-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-dialog {
  background: var(--bg);
  border: 1.5px solid var(--text);
  width: 340px;
  box-shadow: 4px 4px 0 var(--text);
  font-family: var(--font-mono);
}

.boot-titlebar {
  background: var(--text);
  color: var(--bg);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.boot-title-text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.boot-skip {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(242, 237, 228, 0.5);
  background: none;
  border: 1px solid rgba(242, 237, 228, 0.2);
  padding: 2px 8px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.boot-skip:hover { color: var(--bg); border-color: var(--bg); }

.boot-body {
  padding: 24px 20px 20px;
}

.boot-icon-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.boot-xls-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.boot-xls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 20px;
  height: 20px;
}

.boot-xls-grid span {
  background: rgba(242, 237, 228, 0.5);
}

.boot-xls-grid span:first-child {
  background: var(--bg);
}

.boot-filename {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 4px;
}

.boot-filesize {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.boot-progress-track {
  height: 6px;
  background: var(--border);
  margin-bottom: 12px;
  overflow: hidden;
}

.boot-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.15s ease;
}

.boot-status {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  min-height: 1em;
}

/* ── FORMULA BAR ──────────────────────────────────────── */
.formula-bar {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(242, 237, 228, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0;
  height: 32px;
  padding: 0;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.formula-bar.hidden {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.formula-cell-ref {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 0 12px;
  min-width: 52px;
  text-align: center;
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formula-divider {
  width: 1px;
  background: var(--border);
  height: 100%;
}

.formula-fx {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-style: italic;
  color: var(--accent);
  padding: 0 12px;
  border-right: 1px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
}

.formula-content {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── NOW PLAYING WIDGET ───────────────────────────────── */
.np-widget {
  position: fixed;
  bottom: calc(var(--status-bar-h) + 16px);
  right: 24px;
  z-index: 200;
  width: 190px;
  background: var(--bg);
  border: 1.5px solid var(--text);
  box-shadow: 3px 3px 0 var(--text);
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.np-widget.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.np-titlebar {
  background: var(--text);
  color: var(--bg);
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
}

.np-titlebar:active { cursor: grabbing; }

.np-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.np-close {
  background: none;
  border: none;
  color: rgba(242, 237, 228, 0.6);
  font-size: 1rem;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: color 0.2s;
}

.np-close:hover { color: var(--bg); }

.np-body {
  padding: 14px 14px 12px;
}

/* Visualizer bars */
.np-vis {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  margin-bottom: 10px;
}

.np-vis span {
  flex: 1;
  background: var(--accent);
  min-height: 3px;
  border-radius: 1px;
  animation: visBounce 0.8s ease-in-out infinite alternate;
  transform-origin: bottom;
}

.np-vis span:nth-child(1)  { animation-duration: 0.7s; animation-delay: 0.0s; }
.np-vis span:nth-child(2)  { animation-duration: 0.9s; animation-delay: 0.1s; }
.np-vis span:nth-child(3)  { animation-duration: 0.6s; animation-delay: 0.05s; }
.np-vis span:nth-child(4)  { animation-duration: 1.1s; animation-delay: 0.15s; }
.np-vis span:nth-child(5)  { animation-duration: 0.8s; animation-delay: 0.2s; }
.np-vis span:nth-child(6)  { animation-duration: 0.75s; animation-delay: 0.08s; }
.np-vis span:nth-child(7)  { animation-duration: 0.95s; animation-delay: 0.12s; }
.np-vis span:nth-child(8)  { animation-duration: 0.65s; animation-delay: 0.18s; }
.np-vis span:nth-child(9)  { animation-duration: 1.0s; animation-delay: 0.03s; }
.np-vis span:nth-child(10) { animation-duration: 0.85s; animation-delay: 0.22s; }

.np-widget.paused .np-vis span {
  animation-play-state: paused;
  height: 3px !important;
}

@keyframes visBounce {
  from { height: 3px; }
  to   { height: 20px; }
}

.np-track {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-artist {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.np-spotify-btn {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  padding: 6px 10px;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}

.np-spotify-btn:hover {
  background: var(--accent-teal);
  color: white;
}

/* ── CUSTOM CURSOR ────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 20px; height: 20px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  transition: transform 0.08s ease, opacity 0.2s ease;
}

.cursor-h, .cursor-v {
  position: absolute;
  background: var(--text);
  border-radius: 1px;
}

.cursor-h {
  width: 20px; height: 1.5px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}

.cursor-v {
  width: 1.5px; height: 20px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}

.cursor.hovering { transform: translate(-50%, -50%) scale(1.6); opacity: 0.6; }

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(242, 237, 228, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links > a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links > a:hover { color: var(--accent); }

.nav-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.nav-socials a {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity var(--transition);
}

.nav-socials a:hover { opacity: 1; }

/* Ambient toggle button */
.ambient-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition), color var(--transition), border-color var(--transition), background var(--transition);
}

.ambient-btn:hover { opacity: 1; }

.ambient-btn.active {
  opacity: 1;
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(33, 115, 70, 0.08);
}

.ambient-btn.active svg {
  animation: ambientPulse 2s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 80px; /* shift visual center upward */
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/grid.svg');
  background-size: 40px 40px;
  background-repeat: repeat;
  opacity: 0.7;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(242, 237, 228, 0.6));
  pointer-events: none;
}

/* ── SCROLL PROGRESS BAR ──────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Opening canvas overlay */
.opening-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  transition: opacity 0.6s ease;
}

/* Recalculate canvas overlay */
.recalc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.1s ease;
}

.recalc-canvas.active { opacity: 1; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: color 0.15s ease;
}

.hero-title:hover { color: var(--accent); }
.hero-title.recalculating { color: var(--accent); }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}


/* ── PLACEHOLDER ──────────────────────────────────────── */
.placeholder-text {
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.6;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section { padding: 100px 0; }

.section-header {
  padding: 0 40px;
  margin-bottom: 32px;
}

.releases-intro {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 10px 0 0 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--border);
}

/* ── SCROLL REVEAL ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* Release cards get a subtle rotateX flip-up on entry */
.release-card.reveal {
  transform: translateY(32px) rotateX(6deg);
  transform-origin: bottom center;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 600px;
}

.release-card.reveal.visible {
  transform: translateY(0) rotateX(0deg);
}

/* Section label clip-path draw-in */
.section-header.reveal {
  clip-path: inset(0 100% 0 0);
  transform: none;
  opacity: 1;
  transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.reveal.visible {
  clip-path: inset(0 0% 0 0);
}

.release-card[data-delay="1"] { transition-delay: 0.06s; }
.release-card[data-delay="2"] { transition-delay: 0.12s; }
.release-card[data-delay="3"] { transition-delay: 0.18s; }
.release-card[data-delay="4"] { transition-delay: 0.24s; }
.release-card[data-delay="5"] { transition-delay: 0.30s; }
.release-card[data-delay="6"] { transition-delay: 0.36s; }

/* ── RELEASES ─────────────────────────────────────────── */
.releases { padding-bottom: 0; }

.cards-track-wrapper {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 40px 60px;
  cursor: grab;
}

.cards-track-wrapper:active { cursor: grabbing; }
.cards-track-wrapper::-webkit-scrollbar { display: none; }

.cards-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.release-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition),
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  position: relative;
}

.release-card:hover { box-shadow: 0 12px 40px rgba(28, 26, 23, 0.12); }

/* Cell selection highlight on hover */
.release-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.release-card:hover::after { opacity: 1; }

.card-art {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--border);
}

.card-art-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #D8D0C0 0%, #C0B8A8 100%);
}

.card-art-placeholder span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(28, 26, 23, 0.1);
  letter-spacing: -0.04em;
}

.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Spotify embed iframe */
.card-embed-iframe {
  width: 100%;
  height: 152px;
  border: none;
  display: block;
  border-radius: 2px 2px 0 0;
  flex-shrink: 0;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.card-year, .card-format {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.card-format { color: var(--accent); }

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  padding: 8px 16px;
  letter-spacing: -0.02em;
}

.card-links {
  display: flex;
  gap: 8px;
  padding: 8px 16px 16px;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal);
  padding: 6px 14px;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
}

.card-link:hover { background: var(--accent-teal); color: white; }

/* ── MARQUEE ──────────────────────────────────────────── */
.marquee-band {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg-card);
}

.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HARDWARE ─────────────────────────────────────────── */
.hardware { padding-top: 100px; padding-bottom: 120px; }

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 0 40px;
  align-items: center;
}

.hardware-image { position: relative; }

.hardware-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #D8D0C0 0%, #C0B8A8 50%, #D0C8B8 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hardware-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hardware-img-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.hardware-img-inner span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.hardware-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hardware-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.hardware-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 420px;
}

.hardware-specs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.spec-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text);
}

.hardware-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}

.hardware-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.btn-buy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.btn-buy:hover { background: #185C38; transform: translateY(-1px); }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: var(--bg);
  padding: 60px 40px;
}

.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(242, 237, 228, 0.12);
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 228, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--bg); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.footer-location, .footer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 228, 0.3);
}

/* ── STATUS BAR ───────────────────────────────────────── */
#status-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--status-bar-h);
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 150;
  overflow: hidden;
}

.sb-item {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  padding: 0 12px;
  white-space: nowrap;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.sb-ready {
  background: var(--accent);
  color: white;
  font-weight: 700;
  min-width: 70px;
  justify-content: center;
}

.sb-sep {
  color: rgba(242, 237, 228, 0.2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0 2px;
}

.sb-right-sep { margin-left: auto; }

.sb-listeners { color: rgba(242, 237, 228, 0.5); }

.sb-nowplaying {
  color: var(--accent);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-sheet { color: rgba(242, 237, 228, 0.4); }

.sb-np-reopen {
  background: none;
  border: none;
  color: rgba(242, 237, 228, 0.4);
  font-size: 0.75rem;
  padding: 0 12px;
  cursor: pointer;
  transition: color 0.2s;
  height: 100%;
}

.sb-np-reopen:hover { color: var(--bg); }

/* ── HARDWARE INFO ADDITIONS ─────────────────────────── */
.hw-brand {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.hw-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 20px;
}

.hw-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 20px;
}

.price-currency {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ── FEATURES TABLE ───────────────────────────────────── */
.features-section {
  margin-top: 80px;
  border-top: 1px solid var(--border);
}

.features-header-row {
  padding: 28px 0 0;
}

.features-col-labels {
  display: grid;
  grid-template-columns: 56px 260px 1fr;
  gap: 0;
  padding: 10px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.features-col-labels span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.feature-row {
  display: grid;
  grid-template-columns: 56px 260px 1fr;
  gap: 0;
  padding: 28px 40px;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background var(--transition),
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-row:hover { background: var(--bg-card); }

.feat-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-top: 3px;
}

.feat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding-right: 32px;
  padding-top: 0;
}

.feat-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
}

/* stagger feature rows */
.feature-row[data-delay-feat="1"] { transition-delay: 0.06s; }
.feature-row[data-delay-feat="2"] { transition-delay: 0.12s; }
.feature-row[data-delay-feat="3"] { transition-delay: 0.18s; }
.feature-row[data-delay-feat="4"] { transition-delay: 0.24s; }

/* ── IN THE BOX ───────────────────────────────────────── */
.box-section {
  display: flex;
  align-items: baseline;
  gap: 64px;
  padding: 32px 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.box-label .section-label { margin: 0; }

.box-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  list-style: none;
  padding: 0;
}

.box-list li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.box-qty {
  color: var(--accent);
  font-weight: 700;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-section { padding-bottom: 80px; }

.faq-grid {
  padding: 0 40px;
  max-width: 900px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[data-delay-faq="1"] { transition-delay: 0.06s; }
.faq-item[data-delay-faq="2"] { transition-delay: 0.12s; }
.faq-item[data-delay-faq="3"] { transition-delay: 0.18s; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
  gap: 24px;
  user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-toggle {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.2s ease;
  line-height: 1;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  padding: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 680px;
}

/* ── FOOTER ADDITIONS ─────────────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-subbrand {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: rgba(242, 237, 228, 0.3);
}

.footer-tagline-sm {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: rgba(242, 237, 228, 0.2);
  font-style: italic;
}

/* ── HARDWARE TEASER (music page) ────────────────────── */
.hw-teaser {
  background: var(--text);
  padding: 80px 0;
}

.hw-teaser-inner {
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1400px;
}

.hw-section-label {
  color: rgba(242, 237, 228, 0.3) !important;
}

.hw-section-label::after {
  background: rgba(242, 237, 228, 0.12) !important;
}

.hw-image-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}

.hw-product-img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.65));
  border-radius: 4px;
}

.hw-teaser-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--bg);
  margin-bottom: 16px;
}

.hw-teaser-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hw-teaser-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(242, 237, 228, 0.5);
  max-width: 420px;
}

@media (max-width: 900px) {
  .hw-teaser-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hardware-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .hardware-img-placeholder { aspect-ratio: 16/10; }
}

@media (max-width: 640px) {
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links > a { display: none; }
  .section-header { padding: 0 20px; }
  .cards-track-wrapper { padding: 0 20px 48px; }
  .release-card { flex: 0 0 240px; }
  .footer { padding: 48px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  body { cursor: auto; }
  .cursor { display: none; }
  .np-widget { right: 12px; width: 190px; }
  .formula-bar { top: 50px; }
  .sb-listeners, .sb-sheet { display: none; }

  .features-col-labels { display: none; }
  .feature-row {
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    padding: 20px;
    gap: 4px 12px;
  }
  .feat-num { grid-row: 1; }
  .feat-name { grid-row: 1; grid-column: 2; padding-right: 0; }
  .feat-desc { grid-row: 2; grid-column: 2; }

  .box-section {
    flex-direction: column;
    gap: 20px;
    padding: 24px 20px;
  }

  .faq-grid { padding: 0 20px; }
}

/* ── HERO FORMULA FEED ────────────────────────────────────────────── */
.hero-feed {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  padding: 0 max(48px, 5vw);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
  pointer-events: none;
}

.hero-feed.visible {
  opacity: 1;
  transform: translateY(0);
}

.hf-row {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease calc(var(--d, 0) * 120ms + 100ms),
    transform 0.5s ease calc(var(--d, 0) * 120ms + 100ms);
}

.hero-feed.visible .hf-row {
  opacity: 1;
  transform: translateY(0);
}

.hf-ref {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  opacity: 0.45;
  letter-spacing: 0.1em;
  min-width: 20px;
}

.hf-eq {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  opacity: 0.7;
  letter-spacing: 0.02em;
  min-width: 260px;
}

.hf-arrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  opacity: 0.4;
}

.hf-val {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text);
  letter-spacing: 0.04em;
  opacity: 0.55;
}

.hf-dim { opacity: 0.3; }

.hf-calculating { color: var(--accent); opacity: 0.6; }

.hf-cursor {
  display: inline-block;
  animation: hfBlink 1s step-end infinite;
  color: var(--accent);
  opacity: 0.8;
}

@keyframes hfBlink {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .hero-feed { display: none; }
}

/* ── CARD EMBED IFRAME — loading skeleton ─────────────────────────── */
.card-embed-iframe:not([src]) {
  background:
    linear-gradient(90deg,
      rgba(200,191,176,0) 0%,
      rgba(200,191,176,0.4) 50%,
      rgba(200,191,176,0) 100%
    ),
    var(--bg-card);
  background-size: 200% 100%, 100% 100%;
  animation: skelShimmer 1.6s linear infinite;
}

@keyframes skelShimmer {
  from { background-position: -200% 0, 0 0; }
  to   { background-position:  200% 0, 0 0; }
}

/* Cursor: none for interactive elements on desktop */
a, button, [role="button"] { cursor: none; }

@media (max-width: 640px) {
  a, button, [role="button"] { cursor: pointer; }
}


/* ── DATA SECTION ──────────────────────────────────────────────────── */
.data-section {
  background: var(--text);
  color: var(--bg);
  padding: 80px 48px 96px;
  position: relative;
  overflow: hidden;
}

/* Subtle background grid — echoes the hero spreadsheet */
.data-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242,237,228,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,237,228,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.data-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.data-section-label {
  color: rgba(242,237,228,0.45);
  border-color: rgba(242,237,228,0.15);
}

.data-formula-banner {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  color: var(--accent);
  letter-spacing: 0.1em;
  margin: 14px 0 64px;
  opacity: 0.75;
}

.data-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(242,237,228,0.1);
}

.data-cell {
  padding: 40px 36px 36px;
  border-right: 1px solid rgba(242,237,228,0.1);
  position: relative;
}
.data-cell:last-child { border-right: none; }

.data-cell-ref {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  opacity: 0.5;
}

.data-cell-formula {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  opacity: 0.65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-cell-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 800;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.data-cell-text {
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.02em;
  word-break: break-word;
}

.data-cell-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: rgba(242,237,228,0.35);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .data-cells {
    grid-template-columns: repeat(2, 1fr);
  }
  .data-cell:nth-child(2) { border-right: none; }
  .data-cell:nth-child(3) { border-top: 1px solid rgba(242,237,228,0.1); }
  .data-cell:nth-child(4) {
    border-right: none;
    border-top: 1px solid rgba(242,237,228,0.1);
  }
}

@media (max-width: 540px) {
  .data-section { padding: 60px 24px 72px; }
  .data-cells { grid-template-columns: 1fr 1fr; }
  .data-cell { padding: 28px 20px 24px; }
  .data-formula-banner { margin-bottom: 40px; }
}
