/* ============================================================
   DJ OVERHEAD™ — The Sound Above Your Current Level
   Design base: dj-levelz / 17-syne-studio-site
   Cream / terracotta editorial · Bebas Neue + Libre Baskerville + Space Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Space+Mono:ital@0;1&display=swap');

:root {
  --cream:       #F7F5F0;
  --warm-white:  #FFFDF8;
  --ink:         #1A1816;
  --ink-light:   #3D3A36;
  --terracotta:  #C4563A;
  --terra-light: #E8DDD4;
  --rule:        #D4CFC5;
  --grey:        #8A857D;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Centre rule — visible design element */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: var(--rule);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, var(--cream) 0%, rgba(247,245,240,0) 100%);
}

.nav-wordmark {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
}

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

.nav-cta-desktop {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--ink);
  transition: all 0.3s;
}

.nav-cta-desktop:hover {
  background: var(--ink);
  color: var(--cream);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
}

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  top: 0; right: -100%;
  width: 100%; max-width: 300px;
  height: 100vh;
  background: var(--ink);
  padding: 5rem 2rem;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.nav-mobile.active { right: 0; }

.nav-mobile a {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ink-light);
  transition: color 0.3s, padding-left 0.3s;
}

.nav-mobile a:hover {
  color: var(--terracotta);
  padding-left: 1rem;
}

.nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem;
  color: var(--grey);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s;
}

.nav-close:hover { color: var(--cream); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 1000;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 1rem 4rem;
  position: relative;
  text-align: center;
}

.hero-number {
  position: absolute;
  top: 6rem; left: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.hero-title-line { display: block; }
.hero-title-line:nth-child(2) { color: var(--terracotta); }

.hero-tagline {
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-light);
  max-width: 380px;
  margin-top: 1.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem; right: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll::before {
  content: '';
  width: 1px; height: 50px;
  background: var(--terracotta);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── SECTIONS ── */
section {
  padding: 5rem 1.5rem;
  position: relative;
}

.section-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.section-rule {
  width: 60px; height: 1px;
  background: var(--terracotta);
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 10vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 2rem;
}

/* ── ABOUT ── */
.about {
  background: var(--warm-white);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about-intro {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 400;
}

.about-intro strong {
  color: var(--terracotta);
  font-weight: 400;
}

.about-body p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--ink-light);
}

.about-pull {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  line-height: 1.05;
  color: var(--ink);
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 2rem 0;
}

.about-pull span { color: var(--terracotta); }

/* ── SERVICES ── */
.services { background: var(--cream); }

.services-header { margin-bottom: 2.5rem; }

.services-grid { display: grid; gap: 1.5rem; }

.service-card {
  background: var(--warm-white);
  border: 1px solid var(--rule);
  padding: 2rem 1.5rem;
  position: relative;
}

.service-index {
  position: absolute;
  top: -0.6rem; left: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  background: var(--cream);
  padding: 0.2rem 0.6rem;
  color: var(--grey);
}

.service-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
}

.service-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--ink-light);
  margin-bottom: 1rem;
}

.service-note {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--terracotta);
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* ── CLIENTS (dark) ── */
.clients {
  background: var(--ink);
  color: var(--cream);
}

.clients .section-title { color: var(--cream); }
.clients .section-number { color: var(--grey); }
.clients .section-rule { background: var(--terracotta); }

.client-item {
  border-bottom: 1px solid var(--ink-light);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.client-item:last-child { border-bottom: none; }

.client-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--cream);
}

.client-type {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  text-transform: uppercase;
}

.client-story {
  font-size: 1rem;
  color: rgba(247,245,240,0.75);
  max-width: 600px;
}

/* ── TESTIMONIALS ── */
.testimonials { background: var(--warm-white); }

.testimonial-grid { display: grid; gap: 3.5rem; }

.testimonial { position: relative; }

.testimonial-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6rem;
  line-height: 0.5;
  color: var(--terracotta);
  opacity: 0.2;
  position: absolute;
  top: 0; left: 0;
}

.testimonial-quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  position: relative;
  z-index: 1;
  padding-left: 1.5rem;
}

.testimonial-author {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--grey);
  margin-top: 1.25rem;
  padding-left: 1.5rem;
}

/* ── FAQ ── */
.faq { background: var(--cream); }

.faq-list { max-width: 700px; }

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 2rem 0;
}

.faq-item:first-child { border-top: 1px solid var(--rule); }

.faq-q {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
}

.faq-q::before {
  content: 'Q.';
  color: var(--terracotta);
  flex-shrink: 0;
}

.faq-a {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-light);
  padding-left: 2rem;
}

/* ── CTA ── */
.cta {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.cta::before {
  content: 'OVERHEAD';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18vw;
  color: var(--ink-light);
  opacity: 0.15;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.cta-lead {
  font-style: italic;
  font-size: 1rem;
  color: var(--grey);
  margin-bottom: 1rem;
}

.cta-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 7vw, 3rem);
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

.cta-headline span { color: var(--terracotta); }

.cta-button {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream);
  padding: 1.1rem 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.cta-button:hover { color: var(--cream); }
.cta-button:hover::before { transform: translateY(0); }
.cta-button span { position: relative; z-index: 1; }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 1.5rem;
  background: var(--ink);
  border-top: 1px solid var(--ink-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--grey);
}

.footer-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-link:hover { color: var(--cream); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

/* ── KEYFRAMES ── */
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.5; }
}

/* ── RESPONSIVE ── */
@media (min-width: 768px) {
  nav { padding: 1.5rem 3rem; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .hero { padding: 6rem 3rem; }
  .hero-number { left: 2rem; }
  .hero-scroll { right: 2rem; }
  section { padding: 7rem 3rem; }

  .about {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }

  .about-header {
    position: sticky;
    top: 6rem;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .client-item {
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: baseline;
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .testimonial:nth-child(2) { padding-top: 3rem; }
  .testimonial:nth-child(3) { padding-top: 6rem; }

  .faq {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
  }

  .faq-header {
    position: sticky;
    top: 6rem;
    align-self: start;
  }

  footer { padding: 2rem 3rem; }
}

@media (min-width: 1024px) {
  nav { padding: 2rem 4rem; }
  .hero { padding: 6rem 4rem; }
  .hero-number { left: 3rem; }
  .hero-scroll { right: 3rem; }
  .hero-title { font-size: 12rem; }
  section { padding: 8rem 4rem; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .about-intro { font-size: 1.5rem; }
  footer { padding: 2rem 4rem; }
}
