/* ═══════════════════════════════════════════════════════════
   Noir Blades — Shared Styles
   Reset, tokens, base, cursor, nav primitives, footer, drawer
   ═══════════════════════════════════════════════════════════ */

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

/* ── Design Tokens ── */
:root {
  --black: #080808;
  --dark: #111111;
  --dark2: #181818;
  --dark3: #1e1e1e;
  --gold: #C9A84C;
  --gold-bright: #E0C060;
  --gold-dim: #8A6E30;
  --cream: #F5EFE0;
  --cream-dim: #A89880;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

/* ── Noise Texture Overlay ── */
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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s cubic-bezier(.17,.67,.35,.97), opacity 0.3s;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
body:hover .cursor { opacity: 1; }

/* ── Nav Logo ── */
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

/* ── Gold Divider ── */
.gold-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim) 30%, var(--gold) 50%, var(--gold-dim) 70%, transparent);
  opacity: 0.35;
  position: relative;
  z-index: 2;
}

/* ── Footer Base ── */
footer {
  border-top: 1px solid rgba(201,168,76,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-logo span { color: var(--gold); }
.footer-copy {
  font-size: 11px;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
  opacity: 0.4;
}

/* ── Nav Drawer ── */
.nav-drawer { display: none; }
.nav-drawer.open {
  display: flex; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.98); z-index: 150;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 44px; backdrop-filter: blur(16px);
}
.nav-drawer a {
  font-family: 'Cormorant Garamond', serif; font-size: 38px;
  font-weight: 300; color: var(--cream); text-decoration: none;
  letter-spacing: 0.08em; transition: color 0.25s;
}
.nav-drawer a:hover, .nav-drawer a:active { color: var(--gold); }
.nav-drawer-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 32px; color: var(--cream-dim);
  background: none; border: none; cursor: pointer; line-height: 1; padding: 8px;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none; z-index: 200;
}
.hamburger span { display: block; width: 24px; height: 1px; background: var(--cream); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Mobile ── */
@media (max-width: 768px) {
  body { cursor: auto !important; }
  .cursor, .cursor-ring { display: none !important; }

  nav { padding: 18px 24px; background: rgba(8,8,8,0.98) !important; }
  .nav-links { display: none !important; }
  .hamburger { display: flex; }

  footer { flex-direction: column; gap: 12px; text-align: center; }
}
