/* ============================================================
   Audio Grotto — style.css
   Colors, typography, layout, components
   ============================================================ */

/* ── TOKENS ── */
:root {
  --gold:         #7D702D;
  --gold-light:   #a8952e;
  --gold-pale:    #c4ae44;
  --navy:         #0a0e1a;
  --navy-surface: #111828;
  --navy-card:    #141c2e;
  --cream:        #e8e0cc;
  --cream-muted:  #9e9680;
  --text-muted:   #5a5446;
  --gold-rule:    rgba(125, 112, 45, 0.14);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--cream);
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 52px;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-rule);
}

.nav-logo-wrap { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img  { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 52px 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 70% 45%, rgba(125,112,45,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 15% 70%, rgba(125,112,45,0.04) 0%, transparent 55%);
  pointer-events: none;
}

.hero-logo-img {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
  animation: logoFade 1.2s ease both;
}

.hero-right {
  animation: textFade 1s 0.3s ease both;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes textFade {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 8px;
}

h1 em {
  font-style: italic;
  color: var(--gold-pale);
}

.hero-sub {
  font-size: 14px;
  color: var(--cream-muted);
  max-width: 400px;
  margin: 24px 0 40px;
  line-height: 1.85;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-pale);
  border: 1px solid rgba(125,112,45,0.4);
  padding: 14px 26px;
  text-decoration: none;
  transition: all 0.22s;
}

.hero-cta:hover {
  background: rgba(125,112,45,0.09);
  border-color: var(--gold-pale);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.hero-cta:hover .cta-arrow { transform: translateX(4px); }

/* ── STAT BAR ── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-surface);
  border-top: 1px solid rgba(125,112,45,0.13);
  border-bottom: 1px solid rgba(125,112,45,0.13);
}

.stat-item {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(125,112,45,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--gold-pale);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── SHARED SECTION STYLES ── */
.section-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 52px;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-label::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(125,112,45,0.28);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 16px;
}

h2 em {
  font-style: italic;
  color: var(--gold-pale);
}

/* ── STORY ── */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  margin-top: 48px;
  align-items: start;
}

.story-body p {
  font-size: 14px;
  color: var(--cream-muted);
  line-height: 1.9;
  margin-bottom: 18px;
}

.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin-bottom: 40px;
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
}

.pull-quote cite {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: normal;
  text-transform: uppercase;
}

.timeline { display: flex; flex-direction: column; gap: 22px; }

.tl-item {
  display: grid;
  grid-template-columns: 48px 8px 1fr;
  gap: 0 14px;
  align-items: start;
}

.tl-year {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 3px;
}

.tl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
  opacity: 0.5;
}

.tl-text {
  font-size: 12px;
  color: var(--cream-muted);
  line-height: 1.65;
}

/* ── SERVICES ── */
.services-bg {
  background: var(--navy-surface);
  border-top: 1px solid rgba(125,112,45,0.1);
  border-bottom: 1px solid rgba(125,112,45,0.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: rgba(125,112,45,0.1);
  border: 1px solid rgba(125,112,45,0.1);
}

.svc-card {
  background: var(--navy-card);
  padding: 38px 30px;
  position: relative;
  transition: background 0.25s;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.svc-card:hover { background: rgba(125,112,45,0.04); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-num {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.svc-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.2;
}

.svc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── APPROACH ── */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(125,112,45,0.1);
  border: 1px solid rgba(125,112,45,0.1);
  margin-top: 52px;
}

.ap-item {
  background: var(--navy);
  padding: 38px 34px;
}

.ap-glyph {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--gold);
  opacity: 0.45;
  margin-bottom: 14px;
  line-height: 1;
}

.ap-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
}

.ap-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── CLIENTS ── */
.clients-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.client-pill {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(125,112,45,0.18);
  padding: 8px 18px;
}

/* ── CONTACT ── */
.contact-wrap {
  background: var(--navy-surface);
  border-top: 1px solid rgba(125,112,45,0.14);
  padding: 96px 52px;
  text-align: center;
}

.contact-inner { max-width: 520px; margin: 0 auto; }

.contact-spire {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.contact-inner p {
  font-size: 13px;
  color: var(--cream-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-pale);
  border: none;
  padding: 16px 34px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-btn:hover { background: var(--gold-light); }

/* ── FOOTER ── */
footer {
  padding: 24px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(125,112,45,0.1);
}

footer p {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVE — tablet & mobile
   ============================================================ */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,14,26,0.97);
    border-bottom: 1px solid var(--gold-rule);
    padding: 12px 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 12px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 32px;
    text-align: center;
  }

  .hero-logo-img { max-width: 240px; }

  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::before { display: none; }
  .hero-sub { margin-left: auto; margin-right: auto; }

  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(125,112,45,0.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(125,112,45,0.1); border-right: none; }

  .section-wrap { padding: 64px 24px; }

  .story-grid { grid-template-columns: 1fr; gap: 48px; }

  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid rgba(125,112,45,0.1); }
  .svc-card:last-child { border-bottom: none; }

  .approach-grid { grid-template-columns: 1fr; }

  .contact-wrap { padding: 64px 24px; }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .stat-bar { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
}
