/* Inspiration-led refinement layer for Noise Studio
   Principles: clear navigation, focused CTAs, mobile-first spacing,
   restrained motion, accessible touch targets, and readable RTL layouts.
   This stylesheet adapts patterns; it does not copy any reference site's assets. */
:root {
  --ns-touch-target: 48px;
  --ns-mobile-gutter: 18px;
  --ns-menu-surface: rgba(17,17,19,.97);
  --ns-menu-border: rgba(255,255,255,.12);
  --ns-focus-ring: rgba(228,59,59,.28);
}
html { scroll-padding-top: 92px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.button, .nav a, .menu-toggle { min-height: var(--ns-touch-target); }
.button { border-radius: 2px; }
.button:focus-visible, .nav a:focus-visible, .menu-toggle:focus-visible,
.contact-form input:focus-visible, .contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.nav a { display: inline-flex; align-items: center; }
.nav-contact { justify-content: center; }
.hero-actions .button { min-height: 50px; }
.service-card { border-radius: 2px; }
.contact-form input, .contact-form select { min-height: 48px; }
.contact-form textarea { min-height: 132px; resize: vertical; }
.contact-form label { line-height: 1.5; }
.email-link { overflow-wrap: anywhere; }
img, video { height: auto; }
::selection { background: rgba(228,59,59,.32); color: var(--text); }

/* Small-screen navigation: a compact, high-contrast panel with clear tap areas. */
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .site-header {
    height: 74px;
    padding-inline: var(--ns-mobile-gutter);
    gap: 12px;
    isolation: isolate;
  }
  .brand { gap: 9px; min-width: 0; }
  .brand-name { letter-spacing: 1.3px; }
  .brand-name small { max-width: 185px; overflow: hidden; text-overflow: ellipsis; }
  .menu-toggle {
    width: 46px; height: 46px; min-width: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 2px; padding: 0; line-height: 1;
    font-size: 23px; background: rgba(255,255,255,.035);
    transition: background .2s, border-color .2s, transform .2s;
  }
  .menu-toggle[aria-expanded="true"] {
    background: rgba(228,59,59,.12);
    border-color: rgba(228,59,59,.65);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: ""; position: fixed; inset: 74px 0 0; z-index: 8;
    background: rgba(0,0,0,.58); backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .nav {
    display: flex;
    position: fixed; z-index: 20;
    top: 82px; left: var(--ns-mobile-gutter); right: var(--ns-mobile-gutter);
    max-height: calc(100dvh - 100px); overflow-y: auto;
    padding: 10px; gap: 3px; align-items: stretch; flex-direction: column;
    background: var(--ns-menu-surface);
    border: 1px solid var(--ns-menu-border);
    border-radius: 4px;
    box-shadow: 0 24px 70px rgba(0,0,0,.48);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-7px) scale(.99);
    transform-origin: top center;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .nav a {
    width: 100%; min-height: 48px; padding: 12px 14px;
    border: 1px solid transparent; border-radius: 2px;
    font-size: 14px; line-height: 1.35;
  }
  .nav a.active:not(.nav-contact) {
    background: rgba(255,255,255,.055);
    border-color: rgba(255,255,255,.07);
  }
  .nav a:not(.nav-contact)::after { display: none; }
  .nav .nav-contact {
    margin-top: 5px; padding: 13px 14px;
    border: 1px solid rgba(228,59,59,.7);
    background: rgba(228,59,59,.1);
  }
  .nav .lang-switch {
    width: auto; min-width: 54px; align-self: flex-start;
    justify-content: center; margin-top: 5px;
    border-color: rgba(255,255,255,.12);
  }
  .hero {
    min-height: 590px;
    padding-top: clamp(56px, 12vw, 78px);
    padding-bottom: 76px;
  }
  .hero h1, .page-hero h1 {
    max-width: 100%; letter-spacing: -2px;
    line-height: 1.02; text-wrap: balance;
  }
  .hero-copy { max-width: 38rem; font-size: 15px; }
  .hero-actions {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 12px 18px; margin-top: 25px;
  }
  .hero-actions .button { width: auto; max-width: 100%; }
  .hero-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .hero-foot { gap: 12px; line-height: 1.6; }
  .hero-foot span { max-width: 48%; }
  .intro-grid h2 { text-wrap: balance; }
  .section-heading h2, .cta-section h2 { text-wrap: balance; }
  .service-card { padding: 23px; }
  .service-card p { max-width: 34rem; }
  .cta-section { gap: 22px; }
  .cta-section .button { min-width: min(100%, 220px); }
  .contact-grid { gap: 30px; }
  .contact-form { gap: 9px; }
  .footer-links a { min-height: 40px; display: inline-flex; align-items: center; }
}
@media (max-width: 380px) {
  :root { --ns-mobile-gutter: 14px; }
  .container { width: calc(100% - 28px); }
  .site-header { padding-inline: 14px; }
  .brand-name { font-size: 10px; letter-spacing: 1px; }
  .brand-name small { max-width: 150px; font-size: 6px; }
  .hero h1, .page-hero h1 { font-size: clamp(42px, 12.5vw, 52px); letter-spacing: -1.3px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-foot { font-size: 7px; letter-spacing: 1px; }
}
@media (min-width: 761px) {
  .nav { gap: clamp(14px, 2vw, 28px); }
}
@media (prefers-reduced-motion: reduce) {
  .nav, .menu-toggle { transition: none !important; }
  body.menu-open::before { backdrop-filter: none; -webkit-backdrop-filter: none; }
}


/* Audio-native hero artwork: a tactile mini mixing console, built in CSS. */
.audio-console {
  position:absolute; z-index:3; right:5%; top:25%; width:clamp(250px,31vw,390px);
  padding:14px 16px 11px; border:1px solid rgba(255,255,255,.15); border-radius:8px;
  color:#d8d6d3; background:linear-gradient(145deg,rgba(38,38,42,.94),rgba(12,12,15,.94));
  box-shadow:0 24px 70px rgba(0,0,0,.42),inset 0 1px rgba(255,255,255,.08);
  transform:perspective(900px) rotateY(-9deg) rotateX(2deg);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
}
.console-top,.console-bottom { display:flex; justify-content:space-between; align-items:center; gap:8px; font:9px/1.4 Inter,Arial,sans-serif; letter-spacing:1.4px; }
.console-top { padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.1); }
.console-live { color:#f16a62; display:flex; align-items:center; gap:6px; }
.console-live i { display:inline-block; width:5px; height:5px; border-radius:50%; background:#e94343; box-shadow:0 0 10px #e94343; animation:signalBlink 1.8s steps(2,end) infinite; }
.console-channel { display:grid; grid-template-columns:repeat(3,1fr) 42px; align-items:center; gap:13px; padding:16px 3px 13px; border-bottom:1px solid rgba(255,255,255,.08); }
.console-knob { width:36px; height:36px; border-radius:50%; position:relative; background:conic-gradient(from 220deg,#54545a,#17171a 42%,#77777c 70%,#29292d); border:1px solid #77777a; box-shadow:0 3px 7px #050506,inset 0 1px 2px rgba(255,255,255,.35); }
.console-knob:before { content:""; position:absolute; inset:5px; border-radius:50%; background:linear-gradient(145deg,#323237,#111114); border:1px solid rgba(255,255,255,.12); }
.console-knob i { position:absolute; z-index:1; width:2px; height:9px; left:50%; top:4px; background:#f25c54; border-radius:2px; transform:translateX(-50%); transform-origin:50% 14px; }
.console-knob:nth-child(2) i { transform:translateX(-50%) rotate(42deg); }
.console-knob:nth-child(3) i { transform:translateX(-50%) rotate(-38deg); }
.console-meter { display:flex; flex-direction:column-reverse; gap:3px; height:47px; justify-content:flex-start; }
.console-meter i { height:4px; border-radius:1px; background:#34363a; }
.console-meter i:nth-child(-n+5) { background:#75a87d; }
.console-meter i:nth-child(5) { background:#c8c36a; }
.console-meter i:nth-child(6) { background:#e35d50; animation:meterTick 1.5s ease-in-out infinite alternate; }
.console-faders { display:grid; grid-template-columns:repeat(6,1fr); gap:11px; padding:14px 4px 12px; }
.fader { height:74px; position:relative; display:flex; justify-content:center; }
.fader:before { content:""; position:absolute; top:0; bottom:0; width:3px; border-radius:4px; background:linear-gradient(to bottom,#09090b,#4c4c51 45%,#09090b); box-shadow:0 0 0 1px rgba(255,255,255,.04); }
.fader span { position:absolute; top:var(--fader-pos,35%); width:22px; height:11px; border-radius:2px; background:linear-gradient(#aaa9a9,#45454a 48%,#77777b); border:1px solid #1a1a1d; box-shadow:0 2px 5px #050506; }
.fader:nth-child(2) span { top:54%; }.fader:nth-child(3) span { top:25%; }.fader:nth-child(4) span { top:43%; }.fader:nth-child(5) span { top:62%; }.fader:nth-child(6) span { top:31%; }
.fader i { position:absolute; bottom:-1px; width:4px; height:4px; border-radius:50%; background:#e04a44; opacity:.85; }
.console-bottom { padding-top:9px; color:#85858b; border-top:1px solid rgba(255,255,255,.08); font-size:8px; }
@keyframes signalBlink { 0%,70% { opacity:1 } 71%,100% { opacity:.28 } }
@keyframes meterTick { from { opacity:.45 } to { opacity:1; box-shadow:0 0 8px rgba(227,93,80,.25) } }
.hero-art .art-label { z-index:4; }
@media (max-width:760px) {
  .audio-console { width:clamp(220px,72vw,310px); right:2%; top:34%; padding:11px 12px 9px; opacity:.94; transform:perspective(700px) rotateY(-5deg) scale(.92); transform-origin:top right; }
  .console-channel { gap:8px; grid-template-columns:repeat(3,1fr) 30px; padding:12px 2px 10px; }
  .console-knob { width:30px; height:30px; }
  .console-knob i { transform-origin:50% 12px; height:7px; }
  .console-faders { gap:7px; padding:11px 2px 9px; }
  .fader { height:58px; }
  .fader span { width:18px; height:9px; }
}
@media (max-width:430px) {
  .audio-console { right:-2%; top:39%; transform:scale(.82); opacity:.76; }
}
@media (prefers-reduced-motion:reduce) {
  .console-live i,.console-meter i { animation:none!important; }
}


/* Service cards: small console-inspired graphics, intentionally decorative. */
.service-card { isolation:isolate; }
.service-card > * { position:relative; z-index:1; }
.service-card:after {
  content:""; position:absolute; z-index:0; right:22px; bottom:24px;
  width:76px; height:32px; opacity:.45; pointer-events:none;
  background:repeating-linear-gradient(90deg,transparent 0 5px,rgba(228,59,59,.8) 5px 7px,transparent 7px 10px);
  mask-image:linear-gradient(to top,transparent 0%,#000 20%,#000 100%);
  transform:scaleY(.68); transform-origin:bottom;
  transition:opacity .35s,transform .45s;
}
.service-card:nth-child(2):after {
  width:84px; height:24px; border-top:1px solid rgba(228,59,59,.7); border-bottom:1px solid rgba(228,59,59,.22);
  background:repeating-linear-gradient(90deg,transparent 0 6px,rgba(228,59,59,.65) 6px 7px,transparent 7px 12px);
}
.service-card:nth-child(3):after {
  width:75px; height:32px; background:repeating-linear-gradient(90deg,rgba(228,59,59,.65) 0 3px,transparent 3px 8px);
}
.service-card:hover:after { opacity:.85; transform:scaleY(1); }
.service-card .card-arrow { z-index:2; }
@media(max-width:760px) {
  .service-card:after { right:18px; bottom:20px; opacity:.28; }
  .service-card:hover:after { opacity:.65; }
}
@media(prefers-reduced-motion:reduce) { .service-card:after { transition:none!important; } }


/* A restrained waveform signature in the studio quote band. */
.quote-band { position:relative; isolation:isolate; overflow:hidden; }
.quote-band:after {
  content:""; position:absolute; z-index:-1; right:0; left:0; bottom:0; height:58px;
  opacity:.20; pointer-events:none;
  background:
    linear-gradient(90deg,transparent,rgba(228,59,59,.12),transparent),
    repeating-linear-gradient(90deg,
      transparent 0 10px,
      rgba(228,59,59,.72) 10px 11px,
      transparent 11px 17px);
  mask-image:linear-gradient(to top,black,transparent);
  transform:scaleY(.34); transform-origin:bottom;
  animation:waveformBreathe 7s ease-in-out infinite alternate;
}
@keyframes waveformBreathe {
  from { opacity:.12; transform:scaleY(.24) translateY(2px); }
  to { opacity:.24; transform:scaleY(.46) translateY(0); }
}
.quote-band .quote-inner { z-index:1; }
@media(max-width:650px) {
  .quote-band:after { height:34px; opacity:.12; }
}
@media(prefers-reduced-motion:reduce) {
  .quote-band:after { animation:none!important; }
}


/* Corrected creative direction: brand-led opening, no decorative mixer/orbits/meters. */
.brand-intro {
  position:fixed; inset:0; z-index:9999; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:16px; background:#101011;
  pointer-events:none; animation:introCurtain 2.35s cubic-bezier(.76,0,.24,1) forwards;
}
.intro-mark {
  width:68px; height:68px; border:1px solid rgba(255,255,255,.38);
  display:flex; align-items:center; justify-content:center; gap:2px;
  font-size:23px; font-weight:800; letter-spacing:-3px;
  opacity:0; animation:logoDropFade 1.7s cubic-bezier(.2,.7,.2,1) .12s forwards;
}
.intro-mark span { color:var(--red); }
.intro-wordmark {
  font-size:11px; font-weight:800; letter-spacing:4px; opacity:0;
  animation:wordmarkReveal .7s ease .45s forwards;
}
@keyframes logoDropFade {
  0% { opacity:0; transform:translateY(-38px) scale(.97); }
  24% { opacity:1; transform:translateY(0) scale(1); }
  68% { opacity:1; transform:translateY(0) scale(1); }
  100% { opacity:0; transform:translateY(8px) scale(1.02); }
}
@keyframes wordmarkReveal { from { opacity:0; letter-spacing:7px; } to { opacity:.86; letter-spacing:4px; } }
@keyframes introCurtain { 0%,72% { opacity:1; visibility:visible; } 100% { opacity:0; visibility:hidden; } }
.hero .eyebrow,.hero h1,.hero-copy,.hero-actions,.hero-foot {
  animation:heroReveal .85s cubic-bezier(.2,.7,.2,1) 1.25s both;
}
.hero h1 { animation-delay:1.38s; }
.hero-copy { animation-delay:1.48s; }
.hero-actions { animation-delay:1.58s; }
.hero-foot { animation-delay:1.7s; }
@keyframes heroReveal { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
/* The audio metaphor belongs on the action controls, not as a giant hero illustration. */
.button-red { position:relative; overflow:hidden; padding-right:42px!important; }
.button-red:before {
  content:""; position:absolute; right:15px; top:50%; width:14px; height:22px;
  transform:translateY(-50%); border-radius:2px;
  background:linear-gradient(90deg,#28282c,#85858a 45%,#343438);
  border:1px solid rgba(255,255,255,.25);
  box-shadow:inset 0 1px rgba(255,255,255,.22),0 2px 5px rgba(0,0,0,.3);
  transition:transform .28s cubic-bezier(.2,.7,.2,1),background .28s;
}
.button-red:after {
  content:""; position:absolute; right:21px; top:calc(50% - 7px); width:2px; height:14px;
  border-radius:2px; background:#f2eee9; opacity:.9; transform:rotate(0);
  transition:transform .28s cubic-bezier(.2,.7,.2,1);
}
.button-red:hover:before { transform:translateY(-50%) translateY(-2px); }
.button-red:hover:after { transform:rotate(35deg); }
.hero-art .orbit,.hero-art .sound-bars,.hero-art .audio-console { display:none!important; }
.hero-art:before,.hero-art:after { animation:none!important; }
.service-card:before { border-radius:0; width:100px; height:2px; right:0; bottom:0; filter:none; opacity:.5; }
.service-card:hover:before { transform:scaleX(1.3); transform-origin:right; }
.service-card:after { display:none!important; }
.quote-band:after { display:none!important; }
@media(prefers-reduced-motion:reduce) {
 .brand-intro,.intro-mark,.intro-wordmark,.hero .eyebrow,.hero h1,.hero-copy,.hero-actions,.hero-foot { animation:none!important; }
 .brand-intro { display:none; }
 .hero .eyebrow,.hero h1,.hero-copy,.hero-actions,.hero-foot { opacity:1; transform:none; }
 .button-red:before,.button-red:after { transition:none!important; }
}

/* Explicitly remove legacy circular/ring meter artwork from the hero. */
.hero-art:before,.hero-art:after { content:none!important; background:none!important; box-shadow:none!important; }


/* QA correction: keep the hero brand-led; remove legacy artwork and sequence the intro cleanly. */
.hero-art { display:none !important; }
.hero { isolation:isolate; }
.hero:before { opacity:.42; }
.brand-intro { animation-duration:1.9s; }
.intro-mark { animation-duration:1.35s; }
.intro-wordmark { animation-delay:.22s; animation-duration:.65s; }
@keyframes introCurtain {
  0%,70% { opacity:1; visibility:visible; }
  100% { opacity:0; visibility:hidden; }
}
.hero .eyebrow,.hero h1,.hero-copy,.hero-actions,.hero-foot {
  animation-duration:.72s;
}
.hero .eyebrow { animation-delay:1.78s; }
.hero h1 { animation-delay:1.88s; }
.hero-copy { animation-delay:1.98s; }
.hero-actions { animation-delay:2.08s; }
.hero-foot { animation-delay:2.16s; }
html[dir="rtl"] .hero .eyebrow,
html[dir="rtl"] .hero h1,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .hero-actions {
  max-width:min(100%, 820px);
}
html[dir="rtl"] .button-red {
  padding-right:19px !important;
  padding-left:42px !important;
}
html[dir="rtl"] .button-red:before {
  right:auto;
  left:15px;
}
html[dir="rtl"] .button-red:after {
  right:auto;
  left:21px;
}
@media (prefers-reduced-motion: reduce) {
  .brand-intro { display:none !important; }
  .hero .eyebrow,.hero h1,.hero-copy,.hero-actions,.hero-foot {
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
