/* ============================================
   Code Dreamers — Shared Stylesheet
   ============================================ */

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

html, body { overflow-x: hidden; }

:root {
  --black:      #0F0F0F;
  --near-black: #1A1008;
  --red:        #C0300A;
  --red-dark:   #6B1A0A;
  --orange:     #E8821A;
  --gold:       #F5C518;
  --gold-light: #FFD700;
  --white:      #FFFFFF;
  --gray-100:   #F7F6F4;
  --gray-200:   #EAE7E2;
  --gray-500:   #7A7060;
  --gray-700:   #3D3020;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
}

/* ---- NAV ---- */
nav {
  background: var(--black);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 2px solid var(--red-dark);
}
.nav-logo { height: 36px; width: auto; flex-shrink: 0; }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--black);
  border-top: 1px solid rgba(232,130,26,0.2);
  border-bottom: 2px solid var(--red-dark);
  z-index: 199;
  flex-direction: column;
  padding: 1rem 5% 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover,
.nav-mobile a.active { color: var(--gold); }

/* ---- UTILITIES ---- */
.grad-text {
  background: linear-gradient(90deg, var(--gold-light), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--red-dark);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.section-title.light { color: var(--white); }

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 28px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.btn-gold:hover { opacity: 0.88; }

.btn-wire {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-wire:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

/* ---- CTA STRIP ---- */
.cta-strip {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  padding: 56px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-strip h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.cta-strip-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(232,130,26,0.15);
  flex-wrap: wrap;
  gap: 0.75rem;
}
footer img { height: 28px; }
footer .url {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Space Grotesk', sans-serif;
}

/* ---- MOBILE BREAKPOINTS ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .cta-strip { flex-direction: column; align-items: flex-start; }
  .cta-strip-buttons { width: 100%; }
  .cta-strip-buttons .btn-wire { flex: 1; text-align: center; }
}
