:root {
  --bg: #080808;
  --bg-elevated: #0f0f0f;
  --border: #1a1a1a;
  --border-hover: #333;
  --text-primary: #f0f0f0;
  --text-secondary: #6a6a6a;
  --text-muted: #3a3a3a;
  --sans: 'Instrument Sans', -apple-system, sans-serif;
  --serif: 'DM Serif Text', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NOISE TEXTURE OVERLAY === */
body::before {
  content: '';
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999;
}

/* === NAV === */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(8,8,8,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 60px; display: flex; justify-content: space-between; align-items: center;
}

.logo {
  font-size: 15px; font-weight: 700; letter-spacing: 4px;
  color: var(--text-primary);
}

.nav-links { display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); }

.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 500; transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--text-primary);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 20px; height: 1.5px; background: var(--text-primary);
  margin: 5px 0; transition: all 0.3s ease;
}

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 0 clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

.hero::after {
  content: ''; position: absolute; bottom: 0; left: clamp(1.5rem, 5vw, 4rem);
  right: clamp(1.5rem, 5vw, 4rem); height: 1px; background: var(--border);
}

.hero-eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2rem; font-weight: 500;
  opacity: 0; animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero h1 {
  font-family: var(--serif); font-size: clamp(36px, 6vw, 64px);
  font-weight: 400; line-height: 1.15; max-width: 700px;
  letter-spacing: -0.5px;
  opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-sub {
  font-size: clamp(13px, 1.5vw, 15px); color: var(--text-secondary);
  margin-top: 2rem; letter-spacing: 0.3px; line-height: 1.7;
  max-width: 440px;
  opacity: 0; animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-location {
  position: absolute; bottom: 3rem; right: clamp(1.5rem, 5vw, 4rem);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); writing-mode: vertical-rl;
  opacity: 0; animation: fadeIn 1s ease 1s forwards;
}

/* === SECTIONS === */
section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 5vw, 4rem);
  position: relative;
}

section::after {
  content: ''; position: absolute; bottom: 0; left: clamp(1.5rem, 5vw, 4rem);
  right: clamp(1.5rem, 5vw, 4rem); height: 1px; background: var(--border);
}

.section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(2.5rem, 5vw, 4rem); flex-wrap: wrap; gap: 1rem;
}

.section-label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500;
}

.section-number {
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

/* === BRANDS === */
.brands-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 1.5rem; max-width: 900px;
}

a.brand-card { text-decoration: none; color: inherit; display: block; cursor: pointer; }

.brand-card {
  border: 1px solid var(--border); padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: all 0.4s ease; position: relative; overflow: hidden;
  background: var(--bg);
}
.brand-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s ease;
}
.brand-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.brand-card:hover::before { opacity: 1; }

.brand-name {
  font-family: var(--serif); font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 400; margin-bottom: 0.75rem;
}

.brand-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 1.5rem;
}

.brand-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-secondary); text-decoration: none;
  font-weight: 500; transition: all 0.3s ease;
}
.brand-link:hover { color: var(--text-primary); gap: 12px; }
.brand-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.brand-link:hover svg { transform: translateX(2px); }

/* === CAREERS === */
.careers-content { max-width: 560px; }

.careers-content h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 40px);
  font-weight: 400; margin-bottom: 1.25rem; line-height: 1.2;
}

.careers-content p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 5vw, 5rem); max-width: 900px;
}

.contact-info h2 {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 40px);
  font-weight: 400; margin-bottom: 1.25rem; line-height: 1.2;
}

.contact-info p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
}

.contact-form { display: flex; flex-direction: column; gap: 0.75rem; }

.contact-form input, .contact-form textarea {
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-primary); padding: 1rem 1.1rem;
  font-size: 14px; font-family: var(--sans);
  outline: none; transition: border-color 0.3s ease;
  letter-spacing: 0.2px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: var(--text-muted); font-weight: 400;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--border-hover);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form button {
  background: var(--text-primary); color: var(--bg); border: none;
  padding: 1rem 2.5rem; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  align-self: flex-start; transition: all 0.3s ease;
  font-family: var(--sans);
}
.contact-form button:hover { opacity: 0.85; transform: translateY(-1px); }
.contact-form button:active { transform: translateY(0); }

/* === FOOTER === */
footer {
  padding: 2rem clamp(1.5rem, 5vw, 4rem);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
}
footer span {
  font-size: 11px; color: var(--text-muted);
  letter-spacing: 1px; font-weight: 400;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === MOBILE === */
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    background: rgba(8,8,8,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%); opacity: 0;
    transition: all 0.3s ease; pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1; pointer-events: all;
  }
  .nav-links a { font-size: 13px; padding: 0.5rem 0; }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

  .hero-location { display: none; }

  .brands-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  nav { height: 56px; }
  .nav-links { top: 56px; }
  .contact-form button { width: 100%; text-align: center; }
}
