/* Impulse Sound Technology */

:root {
  --bg: #0a0c0f;
  --surface: #11151a;
  --surface-2: #171c23;
  --line: #232b35;
  --text: #e9eef3;
  --muted: #9aa7b4;
  --brand: #01ffff;
  --sound: #f5a524;
  --tech: #2ee6d6;
  --radius: 14px;
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent, var(--brand));
  margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.theme-sound { --accent: var(--sound); }
.theme-tech { --accent: var(--tech); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 12, 15, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; cursor: pointer;
}

/* Split home */
.split { display: flex; min-height: calc(100svh - 69px); }
.half {
  position: relative; flex: 1 1 0; display: flex; align-items: flex-end;
  padding: clamp(32px, 5vw, 72px); text-decoration: none; overflow: hidden;
  transition: flex-grow .5s ease;
  isolation: isolate;
}
.half:hover, .half:focus-visible { flex-grow: 1.25; }
.half::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.half:hover::after, .half:focus-visible::after { transform: scaleX(1); }
.half-sound {
  --accent: var(--sound);
  background:
    linear-gradient(180deg, rgba(10,12,15,.35) 0%, rgba(10,12,15,.92) 72%),
    url("../img/sound-hero.jpg") center / cover;
}
.half-tech {
  --accent: var(--tech);
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(46,230,214,.14), transparent 60%),
    linear-gradient(180deg, #0d1218, #0a0c0f);
  border-left: 1px solid var(--line);
}
.half-tech .graph {
  position: absolute; inset: 8% 6% auto 6%; width: 88%; height: auto;
  opacity: .55; z-index: -1;
}
.half-content { max-width: 30rem; }
.half h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 850; margin-bottom: .35em; }
.half h2 span { color: var(--accent); }
.half ul { list-style: none; padding: 0; margin: 0 0 1.6rem; color: #cfd8e0; }
.half li { padding: 4px 0 4px 22px; position: relative; }
.half li::before {
  content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 2px; background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent, var(--brand)); color: #0a0c0f;
  font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; border: 0;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--accent, var(--brand)); }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid var(--line);
}
.btn-ghost:hover { box-shadow: none; border-color: var(--muted); }
.arrow { transition: transform .2s; }
.half:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }

/* Page hero */
.page-hero { padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 72px); position: relative; }
.page-hero.photo {
  background:
    linear-gradient(180deg, rgba(10,12,15,.55), rgba(10,12,15,1)),
    url("../img/sound-hero.jpg") center 35% / cover;
}
.page-hero.glow {
  background: radial-gradient(900px 420px at 85% 0%, rgba(46,230,214,.13), transparent 65%);
}

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 2.2rem; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 16px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}
.card .icon svg { width: 22px; height: 22px; }

.two-col { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.stat { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 1.4rem; }
.stat div { border-left: 2px solid var(--accent); padding-left: 14px; }
.stat strong { display: block; font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: .92rem; }

.brands { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1rem; }
.brands span {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-weight: 600; font-size: .92rem; color: #cfd8e0;
}

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, 1fr); }
.gallery img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px;
  filter: saturate(1.05); transition: transform .4s ease;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 10px; }
.gallery figure:hover img { transform: scale(1.04); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before {
  content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--brand);
}
.timeline strong { display: block; color: var(--brand); font-size: .9rem; letter-spacing: .08em; }
.timeline p { margin: 0; color: #cfd8e0; }

/* CTA band */
.cta {
  background: linear-gradient(135deg, rgba(245,165,36,.12), rgba(46,230,214,.12));
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 56px);
  display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta h2 { margin: 0 0 .25em; }
.cta p { margin: 0; color: var(--muted); }

/* Contact */
.contact-card a { color: var(--brand); text-decoration: none; font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }
address { font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (max-width: 860px) {
  .split { flex-direction: column; min-height: 0; }
  .half { min-height: 70svh; }
  .half:hover, .half:focus-visible { flex-grow: 1; }
  .half-tech { border-left: 0; border-top: 1px solid var(--line); }
  .two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; padding: 12px 16px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .wrap { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
