/* sound-producer.ru — Signal theme: dark clean audio vibe */
:root {
  --bg: #0a0e14;
  --bg-elev: #111821;
  --teal: #5eead4;
  --teal-dim: rgba(94, 234, 212, 0.14);
  --amber: #fbbf24;
  --ink: #e8eef6;
  --muted: #8b9bb0;
  --line: rgba(148, 163, 184, 0.14);
  --wave: #2dd4bf;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

.wrap {
  width: min(960px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* subtle waveform bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(94, 234, 212, 0.09), transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 80%, rgba(251, 191, 36, 0.04), transparent 50%);
  pointer-events: none;
}

/* header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(10px);
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1rem;
}
.logo span { color: var(--teal); font-weight: 500; }

.nav { display: flex; gap: 1.25rem; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}
.nav a:hover, .nav a:focus-visible { color: var(--teal); }
.nav a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* hero */
.hero {
  padding: clamp(3.5rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary {
  background: var(--teal);
  color: #042f2e;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(94, 234, 212, 0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 0.65rem;
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }

/* waveform decoration */
.wave-strip {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 48px;
  margin-top: 2.75rem;
  opacity: 0.55;
}
.wave-strip span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--wave), var(--amber));
  animation: bar 1.2s ease-in-out infinite alternate;
}
.wave-strip span:nth-child(odd) { animation-duration: 0.9s; }
.wave-strip span:nth-child(3n) { animation-duration: 1.4s; }
@keyframes bar {
  from { height: 20%; }
  to { height: 100%; }
}

/* sections */
.section {
  padding: clamp(2.75rem, 7vh, 4.5rem) 0;
  border-top: 1px solid var(--line);
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  font-family: "JetBrains Mono", monospace;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.services {
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

.service {
  padding: 1.4rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-elev);
  transition: border-color 0.2s, transform 0.2s;
}
.service:hover {
  border-color: rgba(94, 234, 212, 0.4);
  transform: translateY(-2px);
}
.service h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--teal);
}
.service p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.approach {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.approach strong { color: var(--ink); font-weight: 600; }

.contact-block {
  text-align: left;
}
.contact-block .mail {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
}
.contact-block .mail:hover { color: var(--amber); border-color: var(--amber); }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  margin-top: 1rem;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.foot-inner a { color: var(--teal); text-decoration: none; }
.foot-inner a:hover { text-decoration: underline; }

/* cases */
.cases-list { list-style: none; display: grid; gap: 1rem; }
.case-card {
  display: block;
  padding: 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--bg-elev);
  transition: border-color 0.2s, transform 0.2s;
}
.case-card:hover {
  border-color: rgba(94, 234, 212, 0.45);
  transform: translateY(-2px);
}
.case-card h2 { font-size: 1.15rem; color: var(--teal); margin-bottom: 0.35rem; }
.case-card p { color: var(--muted); font-size: 0.92rem; }
.case-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.4rem;
  font-family: "JetBrains Mono", monospace;
}

.page-body { padding: clamp(2.5rem, 7vh, 4.5rem) 0; }
.page-body h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-body .content { color: var(--muted); max-width: 40rem; line-height: 1.7; }
.page-body .content a { color: var(--teal); }

@media (max-width: 480px) {
  .btn-ghost { margin-left: 0; }
  .hero h1 { max-width: none; }
}
