/* Nova Crucible — local catalog 2026 */

:root {
  --bg: #07070b;
  --bg-2: #0c0c12;
  --bg-3: #12121a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f3f8;
  --text-muted: #8b8ba3;
  --text-dim: #6b6b82;
  --accent: #6366f1;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 55%, #f472b6 100%);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --header-h: 68px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(700px 420px at 92% 8%, rgba(34, 211, 238, 0.08), transparent 50%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: #fff;
  color: #111;
  border-radius: 8px;
  font-size: 0.85rem;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 7, 11, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
  background: rgba(7, 7, 11, 0.92);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  height: 42px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.brand-text span { color: var(--accent-2); }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links a {
  display: block;
  padding: 0.45rem 0.62rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-links a.is-active {
  color: var(--text);
  background: rgba(99, 102, 241, 0.12);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #07070b;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.nav-cta:hover { filter: brightness(1.08); }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

body.nav-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Page */

main { position: relative; z-index: 1; }

.hero {
  padding: 4.2rem 0 3.2rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--accent-2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 4.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 16ch;
}

.hero .lead {
  margin-top: 1.15rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient);
  color: #07070b;
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
}

.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.45); }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.trust strong { color: var(--text-muted); font-weight: 600; }

/* Sections */

.section { padding: 3.5rem 0; }
.section-tight { padding: 0 0 3.5rem; }

.section h2,
.page-head h1 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); max-width: 22ch; }
.section .lead { margin-top: 0.7rem; color: var(--text-muted); max-width: 40rem; }

.page-head {
  padding: 2.6rem 0 2rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--text-dim); }

.page-head h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  max-width: 18ch;
}

.page-head .lead {
  margin-top: 0.9rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 40rem;
}

/* Cards */

.grid-4, .grid-3, .grid-2, .steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.steps { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.35rem 1.3rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  min-height: 100%;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

a.card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.card p, .card li { color: var(--text-muted); font-size: 0.93rem; }

.card-meta {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-2);
}

/* Instrument panel — print-catalog idea: real screen + one sentence */

.instrument {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}

.screen {
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.screen-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a48;
}

.screen-bar i:nth-child(1) { background: #f472b6; }
.screen-bar i:nth-child(2) { background: #22d3ee; }
.screen-bar i:nth-child(3) { background: #6366f1; }

.screen-title {
  margin-left: 0.55rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.screen-body { padding: 1rem 1.05rem 1.15rem; }

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.55rem;
  background: rgba(255, 255, 255, 0.02);
}

.row strong { font-size: 0.92rem; }
.row span { color: var(--text-muted); font-size: 0.8rem; }
.row em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--accent-2);
  align-self: center;
}

.instrument-copy {
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instrument-copy p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.35;
}

.instrument-copy small {
  display: block;
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* People */

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; margin-top: 1.6rem; }

.person {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.person img {
  width: 88px;
  height: 88px;
  margin-bottom: 1rem;
}

.person .role {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.person h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0 0.45rem;
}

.person .tagline { color: var(--text-muted); margin-bottom: 1rem; }

.person li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.person li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.person li strong { color: var(--text); font-weight: 600; }

/* Form */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.contact-copy p { color: var(--text-muted); }
.mail {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-2);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
}

.form {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.field span { font-size: 0.8rem; color: var(--text-muted); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.honey { position: absolute; left: -9999px; }

.send {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #07070b;
  font-family: var(--font-display);
  font-weight: 700;
}

.status { margin-top: 0.7rem; font-size: 0.85rem; color: var(--accent-2); min-height: 1.2em; }

.cta-band {
  margin: 1rem 0 4rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(34, 211, 238, 0.06));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band h2 { font-size: 1.45rem; max-width: none; }
.cta-band p { color: var(--text-muted); margin-top: 0.3rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.chip {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.4rem 0 2rem;
  background: #050508;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.site-footer a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.18rem 0;
}

.site-footer a:hover { color: var(--text); }

.legal {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.78rem;
}

/* Focus */

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

/* Responsive */

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: flex; }
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 7, 11, 0.96);
  }
  .nav-panel {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 60;
    background: #07070b;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 2rem;
    gap: 0.5rem;
    overflow: auto;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-panel { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 0.85rem 0.7rem; font-size: 1.05rem; }
  .nav-cta { margin-top: 0.5rem; text-align: center; }
}

@media (max-width: 800px) {
  .grid-3, .steps, .grid-2, .people, .instrument, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 2.6rem; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .foot-grid { grid-template-columns: 1fr; }
}

/* Original music — bottom right, slider + +/- */
#siteAudio {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.audio-player {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  padding: 0.75rem 1rem 0.65rem;
  background: rgba(7, 7, 11, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.audio-player-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  text-align: center;
  margin: 0;
}

.audio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.audio-btn {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(99, 102, 241, 0.45);
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.audio-btn:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.audio-slider {
  width: 96px;
  height: 4px;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.audio-slider::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.45);
}

.audio-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.audio-vol-label {
  min-width: 2.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.site-footer { padding-bottom: 5.5rem; }

@media (max-width: 768px) {
  .audio-player {
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    right: max(0.35rem, env(safe-area-inset-right));
    transform: scale(0.78);
    transform-origin: bottom right;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
