@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Vazirmatn:wght@400;500;600;700&display=swap');
/* Noise Studio brand-system refresh — preview branch only. */
:root {
  --red: #E11B22;
  --ns-crimson: #E11B22;
  --ns-gray: #8E8E8E;
  --ns-light-gray: #CCCCCC;
  --bg: #050505;
  --panel: #111111;
  --panel2: #181818;
  --line: #2b2b2b;
  --text: #FFFFFF;
  --muted: #8E8E8E;
  --ns-max: 1200px;
}
html, body { background: #050505; }
body { background: radial-gradient(ellipse at 50% 0%, rgba(225,27,34,.07), transparent 38%), #050505; }
.site-header { background: rgba(5,5,5,.92); border-bottom-color: rgba(255,255,255,.09); }
.brand-mark { border-color: #363636; color: #fff; }
.brand-mark span, .red-dot, .card-number, .card-arrow, .detail-num { color: var(--ns-crimson); }
.red-dot { background: var(--ns-crimson); }
.button-red { background: var(--ns-crimson); }
.button-red:hover { background: #b9141a; }
.hero { isolation: isolate; }
.hero:before {
  inset: 0 0 55px;
  opacity: .6;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(225,27,34,.12) 50%, transparent 50.1%),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(255,255,255,.025) 55px, transparent 56px);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: 70px;
  width: min(64vw, 820px);
  height: 440px;
  opacity: .92;
  background: linear-gradient(90deg, #050505 0%, rgba(5,5,5,.18) 42%, rgba(5,5,5,.02) 100%), url("../Gemini_Generated_Image_4nsv5y4nsv5y4nsv.jpg") center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 80%, transparent 100%);
  pointer-events: none;
}
/* Persian homepage: mirror the artwork and keep it on the left, clear of RTL copy. */
html[lang="fa"] .hero:after {
  right: auto;
  left: 0;
  background-image: linear-gradient(270deg, #050505 0%, rgba(5,5,5,.18) 42%, rgba(5,5,5,.02) 100%), url("../Gemini_Generated_Image_4nsv5y4nsv5y4nsv.jpg");
  background-position: center, center;
  background-size: auto, cover;
  transform: scaleX(-1);
  animation-name: nsWaveRevealFa;
}
@keyframes nsWaveRevealFa {
  from { opacity: .15; transform: translateX(-10px) scaleX(-1); }
  to { opacity: .92; transform: translateX(0) scaleX(-1); }
}
.hero-art { display: none !important; }
.hero h1 em, .page-hero h1 em, .quote-inner em { color: var(--ns-crimson); }
.intro-band { background: #f4f4f4; color: #101010; }
.intro-grid .section-kicker { color: #777; }
.service-card { background: linear-gradient(145deg, #151515, #080808) !important; border-color: #2b2b2b; }
.service-card:hover { border-color: rgba(225,27,34,.7) !important; }
.quote-band { background: linear-gradient(110deg, #111 0%, #080808 72%); }
.quote-mark { color: var(--ns-crimson); }
.cta-section:before { background: linear-gradient(90deg, var(--ns-crimson), transparent 65%); }
.site-footer { background: #030303; }
.portfolio-art, .portfolio-card, .detail-row { border-color: #2b2b2b; }

/* Opening screen: original mark only. No wordmark, tagline, or glitch filter. */
.brand-intro {
  display: grid;
  position: fixed;
  inset: 0;
  z-index: 9999;
  place-items: center;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  animation: nsIntroExit 5.2s cubic-bezier(.22,.61,.36,1) forwards;
}
.brand-intro .intro-mark {
  display: none;
  width: clamp(220px, 32vw, 430px);
  height: clamp(220px, 32vw, 430px);
  border: 0;
  box-shadow: none;
  background: url("brand/noise-logo.jpg") center / contain no-repeat;
  font-size: 0;
  transform-origin: center;
  animation: nsLogoMotion 5s cubic-bezier(.22,.61,.36,1) forwards;
  filter: none;
}
.brand-intro .intro-wordmark { display: none !important; }
.brand-intro .intro-video {
  display: block;
  width: min(100vw, 960px);
  max-height: 100vh;
  height: auto;
  object-fit: contain;
  background: #000;
  opacity: 0;
  animation: nsLogoMotion 5s cubic-bezier(.22,.61,.36,1) forwards;
  filter: none;
}

@keyframes nsLogoMotion {
  0% { opacity: 0; transform: scale(.97); }
  10% { opacity: 1; transform: scale(1); }
  58% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.01); }
}
@keyframes nsIntroExit {
  0%, 62% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
.js .hero > * { animation: nsHeroReveal .9s ease both; animation-delay: 4.7s; }
.js .hero:after { animation: nsWaveReveal 1.2s ease both; animation-delay: 4.7s; }
@keyframes nsHeroReveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes nsWaveReveal { from { opacity: .15; transform: translateX(10px); } to { opacity: .92; transform: translateX(0); } }
@media (max-width: 760px) {
  .hero { min-height: 680px; padding-top: 76px; }
  .hero:after { right: 0; top: 280px; width: 100%; height: 300px; opacity: .58; }
  .brand-intro .intro-mark { width: min(68vw, 320px); height: min(68vw, 320px); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-intro { display: none !important; animation: none !important; }
  .brand-intro *, .js .hero > *, .js .hero:after { animation: none !important; }
}


/* Official Noise Studio brand assets and typography — preview branch only. */

:root {
  --red: #E11B22;
  --ns-crimson: #E11B22;
  --ns-gray: #8E8E8E;
  --ns-light-gray: #CCCCCC;
  --bg: #000000;
  --panel: #111111;
  --panel2: #181818;
  --line: #2b2b2b;
  --text: #FFFFFF;
  --muted: #8E8E8E;
}

/* Use the owner's uploaded official audio-wave mark in the header and footer. */
.brand-mark {
  display: inline-block;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: #000 url("../01.Gemini_Generated_Image_k8pkrqk8pkrqk8pk.jpg") center / contain no-repeat !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0;
  overflow: hidden;
}
.brand-mark span { display: none !important; }
.brand { gap: 13px; }
.brand-name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .16em;
}
.brand-name small {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: .13em;
  color: var(--ns-light-gray);
}

/* Brand-board typography: precise Montserrat labels, restrained crimson accents. */
.hero .hero-copy,
.intro-grid > p:not(.section-kicker),
.quote-caption,
.hero-foot,
.section-kicker {
  font-family: 'Montserrat', Arial, sans-serif;
}
.hero .hero-copy {
  color: #CCCCCC;
  line-height: 1.85;
  letter-spacing: .005em;
}
.hero-foot {
  color: #8E8E8E;
  letter-spacing: .18em;
  font-size: 10px;
}
.section-kicker {
  color: #E11B22;
  font-weight: 700;
  letter-spacing: .2em;
}
.quote-inner blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -.025em;
}
.quote-inner em { color: #E11B22; font-style: normal; }
.quote-caption {
  color: #8E8E8E;
  font-size: 10px;
  letter-spacing: .18em;
}
html[lang="fa"] body,
html[lang="fa"] .hero-copy,
html[lang="fa"] .section-kicker,
html[lang="fa"] .quote-inner blockquote,
html[lang="fa"] .quote-caption {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}
html[lang="fa"] .brand-name,
html[lang="fa"] .brand-name small {
  font-family: 'Montserrat', 'Vazirmatn', Arial, sans-serif;
}
@media (max-width: 760px) {
  .brand-mark { flex-basis: 38px; width: 38px; height: 38px; }
  .brand { gap: 9px; }
}
