/* ============================================
   Blackened Enterprises — Shared Stylesheet
   nav.css — nav, footer, and global base styles
   ============================================ */

:root {
  --black: #090909;
  --black2: #0e0e0e;
  --black3: #141414;
  --black4: #1a1a1a;
  --black5: #222222;
  --white: #f5f5f5;
  --white2: #d8d8d8;
  --white3: #b0b0b0;
  --red: #cc2222;
  --red2: #e02828;
  --red-glow: rgba(204,34,34,0.15);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  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.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(9,9,9,0.92);
  border-bottom: 0.5px solid var(--black5);
  backdrop-filter: blur(12px);
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-mark { width: 42px; height: 42px; flex-shrink: 0; }
.nav-text { display: flex; flex-direction: column; gap: 1px; }
.nav-text-top {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 4px;
  color: var(--white); line-height: 1;
}
.nav-text-bottom {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; font-weight: 400; letter-spacing: 3px;
  color: var(--white3); line-height: 1;
}
.nav-text-tagline { display: none; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: 3px;
  color: var(--white2); text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  color: var(--white) !important;
  border: 0.5px solid var(--red);
  padding: 8px 20px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--red) !important; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1px;
  background: var(--white); transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-menu {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(9,9,9,0.98);
  border-bottom: 0.5px solid var(--black5);
  backdrop-filter: blur(12px);
  z-index: 99; padding: 24px 24px 32px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 400; letter-spacing: 4px;
  color: var(--white2); text-decoration: none; text-transform: uppercase;
  padding: 16px 0; border-bottom: 0.5px solid var(--black5);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mobile-cta {
  margin-top: 20px; text-align: center;
  background: var(--red); color: var(--white) !important;
  padding: 14px !important; border: none !important;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 0.5px solid var(--black5);
  padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.footer-left {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 3px;
  color: var(--white3); text-transform: uppercase;
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 2px;
  color: var(--white3); text-decoration: none; text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white2); }

/* ── SHARED PAGE HEADER (legal + blog pages) ── */
.page-header {
  position: relative;
  padding: 140px 48px 80px;
  border-bottom: 0.5px solid var(--black5);
  background: var(--black2); z-index: 1;
}
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.page-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 6px;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.page-label::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--red);
}
.page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5vw, 64px); font-weight: 800;
  letter-spacing: 6px; text-transform: uppercase;
  color: var(--white); line-height: 1; margin-bottom: 16px;
}
.page-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  color: var(--white3); text-transform: uppercase;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 64px; }
  .nav-text-bottom { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { top: 64px; }
  .page-header { padding: 110px 20px 56px; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px 20px; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .nav-text-top { font-size: 15px; letter-spacing: 3px; }
  .nav-mark { width: 34px; height: 34px; }
}
