/* =====================================================================
   SHARED STYLES — used by every page (index.html, dj.html,
   production.html, social.html).

   Edit colors and fonts in the :root block right below — changing a
   value here updates the look of the entire site at once, across
   every page.
===================================================================== */

/* EDIT: Self-hosted pixel font. Download BestTen-CRT (check the license
   allows commercial use, since this is a business site), then drop the
   font file into this same folder using one of the exact filenames
   below — .woff2 is preferred (smaller/faster) but .ttf works too if
   that's the only format you have. */
@font-face{
  font-family: 'BestTen-CRT';
  src: url('BestTen-CRT.otf') format('opentype');
  font-display: swap;
}

:root{
  /* ---- EDIT: color palette ---- */
  --bg: #0b0c0e;
  --bg-alt: #131519;
  --bg-raised: #191c21;
  --line: #7e30e6;
  --text: #ededed;
  --text-muted: #8d9096;
  --accent: #7e30e6;      /* brass / warm gold — the DJ's channel light */
  --accent-dim: #4f1799;
  --grid-line: rgba(147, 112, 219, 0.09);  /* faint purple background grid */
  --grid-size: 44px;                       /* spacing between grid lines */

  /* ---- EDIT: type ---- */
  /* Falls back to monospace (not Times New Roman) if the font file above
     isn't present yet, since that's a closer visual match to a pixel font
     than a serif would be. */
  --font-display: 'BestTen-CRT', monospace;
  --font-body: 'BestTen-CRT', monospace;
  --font-mono: 'BestTen-CRT', monospace;

  --container: 1120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background-color:var(--bg);
  /* faint purple grid — edit --grid-line and --grid-size above to adjust */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size:var(--grid-size) var(--grid-size);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  /* The BestTen-CRT font's "fi" and "fl" ligature glyphs are broken
     (empty) — this stops the browser from substituting them, so those
     letter pairs render normally instead of vanishing. */
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0;
}
::selection{ background:var(--accent); color:#0b0c0e; }
 
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
 
h1,h2,h3{ font-family:var(--font-display); font-weight:400; letter-spacing:-0.0em; }
 
.wrap{ max-width:var(--container); margin:0 auto; padding:0 32px; }
 
.mono-label{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
}
 
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
}
 
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}
 
/* ================= NAV (all pages) ================= */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(11,12,14,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transform:translateY(0px); /
  transition:background .3s ease;
}
header.is-scrolled{
  background:rgba(11,12,14,0.97);
  backdrop-filter:blur(14px);
}
header .wrap{
  max-width:none;
  padding:0 24px;
}
.nav-inner{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  column-gap:24px;
  height:136px; 
   /* where the header line lands^ */
  transition:height .3s ease;
}
header.is-scrolled .nav-inner{ height:52px; }

.nav-left{
  display:flex; align-items:center; gap:32px;
  justify-self:start;
}
.logo{
  justify-self:center;
  font-family:var(--font-display);
  font-size:46px; font-weight:700; letter-spacing:0.01em;
  text-transform:uppercase;
  line-height:1;
  transition:font-size .3s ease;
}
header.is-scrolled .logo{ font-size:30px; }
/* If you'd rather use a PNG/logo image instead of styled text, replace the
   <a class="logo">...</a> content with an <img> tag and this rule will
   size it consistently: */
.logo img{
  height:210px; width:auto; max-width:none; display:block;
  transition:height .3s ease, transform .3s ease;
  transform:translateY(-20px); /* EDIT: more negative = higher, positive = lower, 0 = centered */
}
header.is-scrolled .logo img{ height:88px; }
.logo span{ color:var(--accent); }

.nav-social{
  display:flex; align-items:center;
  justify-self:end;
}
.social-links{
  display:flex; align-items:center; gap:35px;
}
.social-toggle{
  display:none; /* hidden on desktop — only used at 1100px and below */
  align-items:center; justify-content:center;
  width:28px; height:28px;
  background:none; border:none; color:var(--text-muted); cursor:pointer; padding:0;
}
.social-toggle:hover{ color:var(--accent); }
.nav-social a{
  color:var(--text-muted);
  display:flex; align-items:center; justify-content:center;
  transition:color .2s ease;
}
.nav-social a:hover{ color:var(--accent); }
.social-icon{ width:42px; height:42px; transition:width .3s ease, height .3s ease; 
             
  transform:translateY(-16px);
}

header.is-scrolled .social-icon{ width:20px; height:20px; 
                                
  transform:translateY(-16px);
}
 
nav ul{ display:flex; gap:32px; list-style:none; }
nav a{
  font-family:var(--font-body); font-size:18px; font-weight:200; letter-spacing:0.01em;
  text-transform:uppercase; color:var(--text-muted);
  position:relative; display:inline-block; padding-bottom:6px;
  transition:color .2s ease, font-size .3s ease;
  transform:translateY(-16px);
   /* text font in upper left corner ^ */
}
header.is-scrolled nav a{ font-size:13px; }
nav a:hover{ color:var(--text); }
nav a.active{ color:var(--accent); }
nav a.active::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--accent);
}
 
.nav-cta{
  font-family:var(--font-mono); font-size:14px; letter-spacing:0.1em;
  text-transform:uppercase;
  border:2px solid var(--accent); color:var(--accent);
  padding:6px 18px; border-radius:1px;
  transition:background .2s ease, color .2s ease;
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--accent); color:#0b0c0e; }
 
/* signature: scroll-tracked channel meter under the nav, on every page */
.meter-track{
  height:2px; width:100%; background:var(--line);
  position:relative; overflow:hidden;
}
.meter-fill{
  height:100%; width:0%;
  background:linear-gradient(90deg, var(--accent-dim), var(--accent));
}
 
/* ================= PAGE HERO (used on index + each service page) ================= */
.hero{
  min-height:70vh;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:140px; padding-bottom:64px;
  position:relative;
}
.hero.hero-full{ min-height:100vh; }
.hero-eyebrow{ margin-bottom:22px; }
.hero h1{
  font-size:clamp(38px, 6vw, 76px);
  line-height:1.03;
  max-width:16ch;
}
.hero h1 em{ font-style:normal; color:var(--accent); }
.hero p{ margin-top:24px; max-width:48ch; color:var(--text-muted); font-size:18px; }
.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }
.hero-tags{ display:flex; gap:10px; margin-top:44px; flex-wrap:wrap; }
.hero-tags span{
  font-family:var(--font-mono); font-size:12px; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--text-muted);
  border:1px solid var(--line); border-radius:20px;
  padding:7px 14px;
}
 
.btn{
  font-family:var(--font-mono); font-size:18px; letter-spacing:0.08em;
  text-transform:uppercase;
  padding:18px 36px; border-radius:2px;
  display:inline-block;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary{
  background:var(--accent); color:#0b0c0e; border:none; cursor:pointer;
  font-weight:700; font-size:19px;
}
.btn-primary:hover{ transform:translateY(-4px); }
.btn-ghost{ border:2px solid var(--line); color:var(--text); }
.btn-ghost:hover{ border-color:var(--accent); color:var(--accent); }
 
/* ---- Hero vinyl record (spinning disc + static tonearm) — pixel style */
.hero-vinyl{
  position:absolute; right:32px; bottom:40px;
  width:170px; height:170px;
  opacity:0.95;
}
.hero-vinyl svg{ width:100%; height:100%; overflow:visible; }

.vinyl-spin{
  transform-origin:105px 105px;
  animation:vinylspin 2s linear infinite;
}
@keyframes vinylspin{ to{ transform:rotate(360deg); } }

.vinyl-disc{ fill:#22262e; }
.vinyl-groove{ fill:#33383f; }
.vinyl-label{ fill:var(--accent); }
.vinyl-spindle{ fill:var(--bg); }

.vinyl-arm rect{ fill:var(--bg-alt); stroke:var(--accent); stroke-width:1; }

@media (max-width:768px){ .hero-vinyl{ display:none; } }
 
/* ================= SECTION SHELL ================= */
section.channel{
  padding:100px 0;
  border-top:1px solid var(--line);
}
.channel-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:56px; flex-wrap:wrap;
}
.channel-head h2{ font-size:clamp(28px, 4vw, 44px); margin-top:14px; }
.channel-num{ font-family:var(--font-mono); font-size:13px; color:var(--text-muted); letter-spacing:0.1em; }
.channel-desc{ max-width:52ch; color:var(--text-muted); font-size:16px; }
 
/* ---- DJ / Entertainment page ---- */
.service-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
  background:var(--line); border:1px solid var(--line);
}
.service-card{ background:var(--bg); padding:32px; display:flex; flex-direction:column; }
.service-card .mono-label{ display:block; margin-bottom:14px; }
.service-card h3{ font-size:20px; margin-bottom:10px; }
.service-card p{ color:var(--text-muted); font-size:14.5px; flex:1; }
.service-card .price{
  margin-top:20px; display:inline-block; align-self:flex-start;
  font-family:var(--font-mono); font-size:16px; font-weight:700;
  color:#0b0c0e; background:var(--accent);
  padding:8px 16px; border-radius:4px;
  cursor:pointer; transition:transform .15s ease, background .2s ease;
}
.service-card .price:hover{ background:var(--accent-dim); transform:translateY(-2px); }
@media (max-width:860px){ .service-grid{ grid-template-columns:1fr; } }
 
.photo-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:48px; }
.photo-placeholder{
  aspect-ratio:1/1; border-radius:2px;
  background:repeating-linear-gradient(135deg, var(--bg-raised) 0px, var(--bg-raised) 10px, var(--bg-alt) 10px, var(--bg-alt) 20px);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:11px; color:var(--text-muted);
  text-align:center; padding:0px;
}
@media (max-width:860px){ .photo-row{ grid-template-columns:repeat(2,1fr); } }
 
/* ---- Production page ---- */
.prod-layout{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:64px; align-items:start; }
.prod-list{ list-style:none; }
.prod-list li{ padding:22px 0; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:16px; align-items:baseline; }
.prod-list li:first-child{ border-top:1px solid var(--line); }
.prod-list h3{ font-size:17px; font-weight:500; }
.prod-list p{ color:var(--text-muted); font-size:14px; margin-top:4px; }
.prod-list .price{
  font-family:var(--font-mono); font-size:15px; font-weight:700; white-space:nowrap;
  color:#0b0c0e; background:var(--accent);
  padding:8px 16px; border-radius:4px;
  cursor:pointer; transition:transform .15s ease, background .2s ease;
}
.prod-list .price:hover{ background:var(--accent-dim); transform:translateY(-2px); }
 
.track-mock{ background:var(--bg-alt); border:1px solid var(--line); border-radius:4px; padding:24px; }

.track-slider{ overflow:hidden; margin-top:16px; }
.track-slider-track{ display:flex; transition:transform .4s ease; }
.track-slider-track .track-row{ flex:0 0 100%; border-bottom:none; }
.track-slider-controls{
  display:flex; align-items:center; justify-content:center; gap:16px;
  margin-top:16px;
}
.slider-btn{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--accent);
  background:none; color:var(--accent); font-size:18px; line-height:1;
  cursor:pointer; transition:background .2s ease, color .2s ease;
}
.slider-btn:hover{ background:var(--accent); color:#0b0c0e; }
.slider-dots{ display:flex; gap:8px; }
.slider-dots span{
  width:8px; height:8px; border-radius:50%; background:var(--line);
  transition:background .2s ease;
}
.slider-dots span.active{ background:var(--accent); }
.track-mock .mono-label{ margin-bottom:16px; display:block; }
.track-row{ display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.track-row:last-child{ border-bottom:none; }
.play-dot{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--accent);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  color:var(--accent); font-size:12px;
  background:none; cursor:pointer; transition:background .2s ease, color .2s ease;
}
.play-dot:hover{ background:var(--accent); color:#0b0c0e; }
.track-info{ flex:1; }
.track-info .t-name{ font-size:14px; font-weight:500; }
.track-info .t-meta{ font-size:12px; color:var(--text-muted); font-family:var(--font-mono); }
.track-progress{
  height:18px; margin-top:8px; margin-bottom:-8px;
  cursor:pointer; position:relative;
}
.track-progress::before{
  content:''; position:absolute; left:0; right:0; top:8px;
  height:2px; background:var(--text-muted); opacity:.4; border-radius:1px;
  transition:height .15s ease, top .15s ease;
}
.track-progress:hover::before{ height:4px; top:7px; }
.track-progress-fill{
  position:absolute; left:0; top:8px; height:2px; width:0%;
  background:var(--accent); border-radius:1px; pointer-events:none;
  transition:height .15s ease, top .15s ease;
}
.track-progress:hover .track-progress-fill{ height:4px; top:7px; }
.track-progress-fill::after{
  content:''; position:absolute; right:0; top:50%;
  transform:translate(50%, -50%);
  width:11px; height:11px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 0 3px var(--bg-alt);
  transition:width .15s ease, height .15s ease;
}
.track-progress:hover .track-progress-fill::after{ width:13px; height:13px; }
@media (max-width:860px){ .prod-layout{ grid-template-columns:1fr; } }
 
/* ---- Social page ---- */
.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-bottom:56px; }
.stat-card{ background:var(--bg); padding:28px; text-align:left; }
.stat-card .num{ font-family:var(--font-display); font-size:32px; font-weight:700; color:var(--accent); }
.stat-card .lbl{ font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em; text-transform:uppercase; color:var(--text-muted); margin-top:6px; }
@media (max-width:860px){ .stat-row{ grid-template-columns:repeat(2,1fr); } }
 
.social-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.social-card{
  border:1px solid var(--line); border-radius:4px; padding:28px;
  display:flex; flex-direction:column; gap:14px;
  transition:border-color .2s ease, transform .2s ease;
  cursor:pointer;
}
.social-card:hover{ border-color:var(--accent); transform:translateY(-6px); }
.social-card h3{ font-size:17px; }
.social-card p{ color:var(--text-muted); font-size:14px; flex:1; }
.social-card .link{ font-family:var(--font-mono); font-size:12px; color:var(--accent); letter-spacing:0.05em; }
@media (max-width:860px){ .social-grid{ grid-template-columns:1fr; } }
 
/* ---- Service page cross-links (bottom of each service page) ---- */
.next-service{
  display:flex; justify-content:space-between; align-items:center;
  padding:40px 0; border-top:1px solid var(--line); flex-wrap:wrap; gap:16px;
}
.next-service .mono-label{ display:block; margin-bottom:6px; }
.next-service a{ font-family:var(--font-display); font-size:20px; font-weight:600; }
.next-service a:hover{ color:var(--accent); }
 
/* ---- About (index page) ---- */
.about{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; align-items:center; }
.about-photo{
  aspect-ratio:1/1;
  background:repeating-linear-gradient(135deg, var(--bg-raised) 0px, var(--bg-raised) 10px, var(--bg-alt) 10px, var(--bg-alt) 20px);
  border:1px solid var(--line); border-radius:4px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-size:12px; color:var(--text-muted); text-align:center; padding:0px;
  overflow:hidden;
}
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-copy p{ color:var(--text-muted); margin-top:18px; font-size:16px; max-width:56ch; }
@media (max-width:860px){ .about{ grid-template-columns:1fr; } }
 
/* ---- Service teaser cards (index page, links out to each page) ---- */
.teaser-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.teaser-card{
  border:2px solid var(--line); border-radius:6px; padding:44px 34px;
  display:flex; flex-direction:column; gap:18px;
  transition:border-color .2s ease, transform .2s ease, background .2s ease;
  cursor:pointer;
}
.teaser-card:hover{ border-color:var(--accent); transform:translateY(-10px); background:var(--bg-alt); }
.teaser-card .mono-label{ font-size:13px; }
.teaser-card h3{ font-size:32px; }
.teaser-card p{ color:var(--text-muted); font-size:16px; line-height:1.7; flex:1; }
.teaser-card .link{ font-family:var(--font-mono); font-size:13px; color:var(--accent); letter-spacing:0.05em; }
@media (max-width:860px){ .teaser-grid{ grid-template-columns:1fr; } }
 
/* ---- Contact (index page) ---- */
.contact-inner{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
.contact-copy h2{ font-size:clamp(28px,4vw,44px); }
.contact-copy p{ color:var(--text-muted); margin-top:18px; max-width:44ch; }
.contact-detail{ margin-top:32px; }
.contact-detail div{ font-family:var(--font-mono); font-size:16px; color:var(--text-muted); margin-bottom:8px; }
.contact-detail div b{ color:var(--text); font-weight:500; }
 
form{ display:flex; flex-direction:column; gap:18px; }
.form-success{
  background:var(--bg-alt); border:1px solid var(--accent);
  border-radius:4px; padding:24px;
  font-family:var(--font-body); font-size:15px; color:var(--text);
}
.field label{
  display:block; font-family:var(--font-mono); font-size:11px; letter-spacing:0.08em;
  text-transform:uppercase; color:var(--text-muted); margin-bottom:8px;
}
.field input, .field select, .field textarea{
  width:100%; background:var(--bg-alt); border:1px solid var(--line); color:var(--text);
  padding:13px 14px; border-radius:2px; font-family:var(--font-body); font-size:14px;
  line-height:1.6;
}
.field select{ padding-top:15px; padding-bottom:15px; }
.field textarea{ resize:vertical; min-height:110px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--accent); outline:none; }
form .btn{ align-self:flex-start; }
@media (max-width:860px){ .contact-inner{ grid-template-columns:1fr; } }
 
/* ---- Footer (all pages) ---- */
footer{ border-top:1px solid var(--line); padding:48px 0; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.footer-inner .mono-label{ color:var(--text-muted); }
.footer-links{ display:flex; gap:22px; }
.footer-links a{ font-family:var(--font-mono); font-size:12px; color:var(--text-muted); }
.footer-links a:hover{ color:var(--accent); }
 
/* Hamburger button — hidden by default, only shown at 1100px and below
   (this base rule must come BEFORE the media queries below, so the
   mobile "display:flex" override actually takes precedence). */
.hamburger{
  display:none;
  align-items:center;
  justify-content:center;
  width:28px; height:28px;
  background:none; border:none; cursor:pointer;
  padding:0; color:var(--text);
}
.hamburger svg{ width:22px; height:22px; }
.hamburger .icon-close{ display:none; }
header.menu-open .hamburger .icon-menu{ display:none; }
header.menu-open .hamburger .icon-close{ display:block; }

@media (max-width:1100px){
  .wrap{ padding:0 20px; }
  section.channel{ padding:70px 0; }
  .hero{ padding-top:160px; }

  /* Mobile/tablet header: single row, everything vertically centered
     on the same axis. Both side columns (hamburger, social toggle) are
     now the same small size, which is what actually centers the logo —
     unequal-width side columns is what was pulling it off-center before.
     Desktop (above 1100px) is untouched. */
  .nav-left{ display:flex; align-items:center; }
  .hamburger{ display:flex; }
  nav ul{
    display:none; /* closed by default; opened via .menu-open below */
  }
  .nav-inner{
    column-gap:16px;
    height:84px;
  }
  header.is-scrolled .nav-inner{ height:84px; }
  .logo img{
    /* Scales smoothly with viewport width instead of jumping at a
       breakpoint — no more sudden size change as the window resizes.
       Stays at 120px down to ~1090px wide, then eases down, bottoming
       out around 38px on the narrowest phones so it doesn't overflow. */
    height:clamp(100px, 12vw, 120px);
    transform:none; /* the -20px offset on the base rule was tuned for
      desktop's taller bar — cancel it here so the logo actually sits
      centered on the same line as the hamburger/toggle */
  }
  header.is-scrolled .logo img{ height:clamp(100px, 12vw, 120px); }

  /* Social icons condense behind a toggle button, matching the
     hamburger's size — this symmetry is what keeps the logo centered. */
  .social-toggle{ display:flex; }
  .social-links{ display:none; }
  header.social-open .social-links{
    display:flex;
    position:fixed;
    top:86px; right:20px;
    background:rgba(11,12,14,0.98);
    backdrop-filter:blur(14px);
    border:1px solid var(--line);
    border-radius:8px;
    padding:16px 18px;
    gap:16px;
    z-index:99;
  }
  .social-icon{ width:22px; height:22px; transform:none; }
  header.is-scrolled .social-icon{ width:22px; height:22px; transform:none; }

  /* Open state: nav ul becomes a boxed dropdown card, styled exactly
     like the social panel (same background, blur, border, radius). */
  header.menu-open nav ul{
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:fixed;
    top:86px;
    left:20px; right:20px;
    background:rgba(11,12,14,0.98);
    backdrop-filter:blur(14px);
    border:1px solid var(--line);
    border-radius:8px;
    padding:20px 22px;
    gap:18px;
    z-index:99;
  }
  header.menu-open nav a{ font-size:18px; padding-bottom:2px; }
}
