/* VV Audio Lab — Global Stylesheet */
/* DCS-inspired: deep black, gold accent, serif headlines */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  --black:       #000000;
  --black-soft:  #111111;
  --black-card:  #161616;
  --gold:        #b8975a;
  --gold-light:  #d4af72;
  --gold-dim:    #7a6238;
  --white:       #f5f2ee;
  --white-dim:   #a8a49e;
  --border:      rgba(184,151,90,0.2);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', 'Helvetica Neue', sans-serif;
  --transition:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

p {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ── Navigation ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
  transition: background var(--transition);
}

#nav.scrolled {
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 0 4rem 15vh;
  overflow: hidden;
}

@keyframes sweep {
  0%   { transform: translateX(-100%) rotate(25deg); opacity: 0; }
  20%  { opacity: 0.35; }
  80%  { opacity: 0.35; }
  100% { transform: translateX(200%) rotate(25deg); opacity: 0; }
}

@keyframes sweep2 {
  0%   { transform: translateX(-100%) rotate(15deg); opacity: 0; }
  20%  { opacity: 0.2; }
  80%  { opacity: 0.2; }
  100% { transform: translateX(200%) rotate(15deg); opacity: 0; }
}

@keyframes float1 {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.4; }
  50%       { transform: translateY(-30px) translateX(15px); opacity: 0.8; }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
  50%       { transform: translateY(20px) translateX(-20px); opacity: 0.7; }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px); opacity: 0.2; }
  50%       { transform: translateY(-40px) translateX(10px); opacity: 0.6; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(184,151,90,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 80% 30%, rgba(184,151,90,0.04) 0%, transparent 70%);
  z-index: 0;
}

.hero-bg::after {
  display: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-particles span:nth-child(1)  { top: 20%; left: 15%; animation: float1 6s ease-in-out infinite; width:3px; height:3px; }
.hero-particles span:nth-child(2)  { top: 35%; left: 70%; animation: float2 8s ease-in-out infinite; }
.hero-particles span:nth-child(3)  { top: 60%; left: 40%; animation: float3 7s ease-in-out infinite; width:3px; height:3px; }
.hero-particles span:nth-child(4)  { top: 75%; left: 85%; animation: float1 9s ease-in-out infinite; animation-delay: 1s; }
.hero-particles span:nth-child(5)  { top: 15%; left: 55%; animation: float2 5s ease-in-out infinite; animation-delay: 2s; width:3px; height:3px; }
.hero-particles span:nth-child(6)  { top: 50%; left: 25%; animation: float3 10s ease-in-out infinite; animation-delay: 3s; }
.hero-particles span:nth-child(7)  { top: 80%; left: 60%; animation: float1 7s ease-in-out infinite; animation-delay: 0.5s; }
.hero-particles span:nth-child(8)  { top: 40%; left: 90%; animation: float2 6s ease-in-out infinite; animation-delay: 1.5s; width:3px; height:3px; }
.hero-particles span:nth-child(9)  { top: 25%; left: 30%; animation: float3 8s ease-in-out infinite; animation-delay: 4s; }
.hero-particles span:nth-child(10) { top: 65%; left: 10%; animation: float1 5s ease-in-out infinite; animation-delay: 2.5s; width:3px; height:3px; }
.hero-particles span:nth-child(11) { top: 10%; left: 45%; animation: float2 7s ease-in-out infinite; animation-delay: 1s; }
.hero-particles span:nth-child(12) { top: 45%; left: 62%; animation: float3 6s ease-in-out infinite; animation-delay: 2s; width:3px; height:3px; }
.hero-particles span:nth-child(13) { top: 70%; left: 32%; animation: float1 8s ease-in-out infinite; animation-delay: 3.5s; }
.hero-particles span:nth-child(14) { top: 30%; left: 8%;  animation: float2 9s ease-in-out infinite; animation-delay: 0.5s; width:3px; height:3px; }
.hero-particles span:nth-child(15) { top: 55%; left: 78%; animation: float3 5s ease-in-out infinite; animation-delay: 1.5s; }
.hero-particles span:nth-child(16) { top: 88%; left: 48%; animation: float1 7s ease-in-out infinite; animation-delay: 2s; }
.hero-particles span:nth-child(17) { top: 5%;  left: 80%; animation: float2 6s ease-in-out infinite; animation-delay: 4.5s; width:3px; height:3px; }
.hero-particles span:nth-child(18) { top: 42%; left: 18%; animation: float3 9s ease-in-out infinite; animation-delay: 3s; }
.hero-particles span:nth-child(19) { top: 92%; left: 22%; animation: float1 6s ease-in-out infinite; animation-delay: 1s; width:3px; height:3px; }
.hero-particles span:nth-child(20) { top: 18%; left: 95%; animation: float2 8s ease-in-out infinite; animation-delay: 2.5s; }
.hero-particles span:nth-child(21) { top: 33%; left: 50%; animation: float1 7s ease-in-out infinite; animation-delay: 1.2s; }
.hero-particles span:nth-child(22) { top: 58%; left: 88%; animation: float3 6s ease-in-out infinite; animation-delay: 3.2s; width:3px; height:3px; }
.hero-particles span:nth-child(23) { top: 12%; left: 22%; animation: float2 9s ease-in-out infinite; animation-delay: 0.8s; }
.hero-particles span:nth-child(24) { top: 78%; left: 44%; animation: float1 5s ease-in-out infinite; animation-delay: 2.2s; width:3px; height:3px; }
.hero-particles span:nth-child(25) { top: 48%; left: 5%;  animation: float3 8s ease-in-out infinite; animation-delay: 4.2s; }
.hero-particles span:nth-child(26) { top: 22%; left: 66%; animation: float2 6s ease-in-out infinite; animation-delay: 1.8s; width:3px; height:3px; }
.hero-particles span:nth-child(27) { top: 67%; left: 55%; animation: float1 10s ease-in-out infinite; animation-delay: 0.3s; }
.hero-particles span:nth-child(28) { top: 38%; left: 35%; animation: float3 7s ease-in-out infinite; animation-delay: 3.8s; }
.hero-particles span:nth-child(29) { top: 85%; left: 75%; animation: float2 5s ease-in-out infinite; animation-delay: 2.8s; width:3px; height:3px; }
.hero-particles span:nth-child(30) { top: 8%;  left: 38%; animation: float1 8s ease-in-out infinite; animation-delay: 1.5s; }
.hero-particles span:nth-child(31) { top: 52%; left: 48%; animation: float3 6s ease-in-out infinite; animation-delay: 3.5s; width:3px; height:3px; }
.hero-particles span:nth-child(32) { top: 72%; left: 18%; animation: float2 9s ease-in-out infinite; animation-delay: 0.7s; }
.hero-particles span:nth-child(33) { top: 28%; left: 82%; animation: float1 7s ease-in-out infinite; animation-delay: 2.3s; }
.hero-particles span:nth-child(34) { top: 95%; left: 35%; animation: float3 5s ease-in-out infinite; animation-delay: 4.8s; width:3px; height:3px; }
.hero-particles span:nth-child(35) { top: 16%; left: 72%; animation: float2 8s ease-in-out infinite; animation-delay: 1.3s; }
.hero-particles span:nth-child(36) { top: 62%; left: 92%; animation: float1 6s ease-in-out infinite; animation-delay: 3.3s; }
.hero-particles span:nth-child(37) { top: 44%; left: 58%; animation: float3 9s ease-in-out infinite; animation-delay: 0.9s; width:3px; height:3px; }
.hero-particles span:nth-child(38) { top: 82%; left: 28%; animation: float2 7s ease-in-out infinite; animation-delay: 2.7s; }
.hero-particles span:nth-child(39) { top: 6%;  left: 62%; animation: float1 5s ease-in-out infinite; animation-delay: 4.3s; width:3px; height:3px; }
.hero-particles span:nth-child(40) { top: 55%; left: 15%; animation: float3 8s ease-in-out infinite; animation-delay: 1.7s; }

@keyframes kenburns {
  0%   { transform: translateX(-50%) scale(1); }
  100% { transform: translateX(-50%) scale(1.08); }
}

.hero-bg img {
  width: 1500px;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0.75;
  filter: brightness(0.85);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: kenburns 12s ease-in-out infinite alternate;
  transform-origin: center center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.3) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-top: 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-desc {
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── Section Base ── */
section {
  padding: 7rem 4rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2.5rem;
}

/* ── Features Grid ── */
.features {
  background: var(--black-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-item {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.feature-desc {
  font-size: 0.9rem;
}

/* ── Gallery ── */
.gallery {
  background: var(--black);
  padding: 7rem 0;
}

.gallery-header {
  padding: 0 4rem 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
  background: var(--black);
}

.gallery {
  background: var(--black);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter var(--transition);
}

.gallery-grid img:hover {
  filter: brightness(1);
}

.gallery-main { grid-row: span 2; height: 600px; object-fit: contain !important; object-position: center; background: var(--black); }
.gallery-sub { height: 298px; }

/* ── Specs ── */
.specs {
  background: var(--black-soft);
}

.specs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.specs-image img {
  width: 100%;
  filter: brightness(0.9);
}

.specs-table {
  border-collapse: collapse;
  width: 100%;
}

.specs-table tr {
  border-bottom: 1px solid var(--border);
}

.specs-table td {
  padding: 1rem 0;
  font-size: 0.9rem;
}

.specs-table td:first-child {
  color: var(--white-dim);
  width: 45%;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.specs-table td:last-child {
  color: var(--white);
}

/* ── Footer ── */
#footer {
  background: var(--black-soft);
  border-top: 1px solid var(--border);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand .nav-logo {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
}

.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--white-dim);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  grid-column: span 3;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #nav { padding: 1.2rem 2rem; }
  .hero { padding: 0 2rem 4rem; }
  section { padding: 5rem 2rem; }
  .gallery-header { padding: 0 2rem 3rem; }
  #footer { padding: 3rem 2rem; grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-column: span 2; }
  .specs-layout { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-main { grid-row: span 1; height: 280px; }
  .gallery-sub { height: 200px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  #footer { grid-template-columns: 1fr; }
  .footer-bottom { grid-column: span 1; flex-direction: column; gap: 0.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { height: 280px; }
}
