/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/archivo-black.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #000000;
  --bg-alt: #000000;
  --panel: #17171a;
  --border: rgba(255,255,255,0.08);
  --text: #f2f1ec;
  --text-muted: #9b9a97;
  --accent: rgb(192, 192, 192);
  --accent-dark: #0a0a0b;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Inter", sans-serif;
  --gutter: clamp(20px, 6vw, 48px);
}


body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Preloader ---------- */
body.is-loading { overflow: hidden; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 64px;
  height: auto;
  opacity: 0;
  animation: preloader-in 0.9s ease forwards;
}

@keyframes preloader-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-logo { animation: none; opacity: 1; }
}

/* ---------- Placeholder image blocks ---------- */
.placeholder-img {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #1c1a17 0%, #0e0d0c 60%);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-img::after {
  content: attr(data-label);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0,0,0,0.3);
}
.placeholder-img:not([data-label])::after,
.placeholder-img[data-label=""]::after { content: "Image Placeholder"; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-filled {
  background: var(--accent);
  color: #161616;
}
.btn-filled:hover { background: #e0e0e0; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-small {
  padding: 9px 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: 100px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  justify-self: center;
}
.logo-icon { height: 36px; width: auto; flex-shrink: 0; opacity: 0.95; transition: opacity 0.15s ease; }
.logo:hover .logo-icon { opacity: 1; }

/* ---------- Burger ---------- */
.burger {
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 15px;
  background: none;
  border: none;
  box-sizing: content-box;
  padding: 15px;
  margin: -15px;
  cursor: pointer;
  z-index: 210;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.burger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-active span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Language switch ---------- */
.lang-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: none;
  border: none;
  box-sizing: content-box;
  padding: 15px 6px;
  margin: -15px -6px;
  cursor: pointer;
  transition: color 0.15s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active { color: var(--accent); }

/* ---------- Mobile / full-screen nav ---------- */
body.nav-open { overflow: hidden; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--text);
  transition: color 0.15s ease;
}
.mobile-nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  bottom: -80px;
  z-index: 0;
  background-image: url("../assets/hero-studio.jpg");
  background-size: cover;
  background-position: center 38%;
  will-change: transform;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.5) 22%, rgba(0,0,0,0.15) 38%, rgba(0,0,0,0) 52%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy {
  max-width: 380px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  overflow-wrap: break-word;
}

.hero-copy .hero-title {
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}

/* ---------- Gallery page ---------- */
.gallery-page {
  padding: 180px 0 160px;
}

.gallery-page .eyebrow { margin-bottom: 18px; }
.gallery-page .about-title { margin-bottom: 56px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 960px) {
  .gallery-page { padding: clamp(110px, 20vw, 150px) 0 clamp(96px, 18vw, 160px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 960px) {
  .gallery { padding: 0 0 clamp(96px, 18vw, 160px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- Contact banner ---------- */
.contact-banner {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.contact-banner-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  bottom: -80px;
  background-image: url("../assets/headphones-mixer.jpg");
  background-size: cover;
  background-position: center 60%;
  will-change: transform;
}

@media (max-width: 960px) {
  .contact-banner { min-height: 46vh; }
}

/* ---------- Contact ---------- */
.contact-hero {
  padding: 120px 0;
  text-align: center;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-desc {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact-email-btn {
  font-size: 15px;
  padding: 18px 32px;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Brand mark ---------- */
.brand-mark {
  border-top: 1px solid var(--border);
  padding: 64px 0;
}

.brand-mark .container {
  display: flex;
  justify-content: center;
}

.brand-mark-logo {
  width: 150px;
  height: auto;
  opacity: 0.85;
}

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.stat > div { min-width: 0; }
.stat-icon { color: var(--accent); flex-shrink: 0; }
.stat strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.stat span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ---------- About ---------- */
.about {
  padding: 160px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(340px, 440px) 1fr;
  gap: 64px;
  align-items: center;
  max-width: 100%;
  padding-left: max(48px, calc((100vw - 1440px) / 2 + 48px));
  padding-right: 0;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.about-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 32px;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    max-width: 1440px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    gap: 28px;
  }
  .about-media { order: -1; }
}

/* ---------- Services ---------- */
.services {
  padding: 280px 0 440px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 140px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 80px;
  align-items: center;
}

.service-row-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.service-icon { color: var(--accent); margin-bottom: 18px; }

.service-row-body h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 18px;
  overflow-wrap: break-word;
}

.service-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  padding: 4px 0;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease;
}
.service-toggle:hover { color: var(--accent); }

.service-toggle-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.service-toggle-icon::before,
.service-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.25s ease;
}
.service-toggle-icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.service-toggle-icon::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.service-toggle[aria-expanded="true"] .service-toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.service-toggle-label-less { display: none; }
.service-toggle[aria-expanded="true"] .service-toggle-label-more { display: none; }
.service-toggle[aria-expanded="true"] .service-toggle-label-less { display: inline; }

.service-row-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.service-row-body.is-open p {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .about { padding: clamp(72px, 14vw, 110px) 0; }

  .services { padding: clamp(72px, 14vw, 120px) 0 clamp(96px, 18vw, 160px); }
  .services-list { gap: clamp(40px, 8vw, 90px); }

  .service-row {
    grid-template-columns: clamp(84px, 22vw, 200px) 1fr;
    gap: clamp(16px, 4vw, 32px);
    align-items: start;
  }
  .service-row-media img {
    max-width: none;
    margin: 0;
    border-radius: 8px;
  }
  .service-icon {
    width: clamp(16px, 3vw, 22px);
    height: clamp(16px, 3vw, 22px);
    margin-bottom: clamp(8px, 1.6vw, 18px);
  }
  .service-row-body h3 { font-size: clamp(18px, 3.2vw, 30px); margin-bottom: clamp(6px, 1.2vw, 16px); }
  .service-toggle { margin-bottom: clamp(6px, 1.2vw, 16px); }
  .service-row-body p { font-size: clamp(13px, 1.6vw, 15px); margin-bottom: 0; }

  .contact-hero { padding: clamp(72px, 14vw, 90px) 0; }
}
