/* O3BN — Over30BlackandNerdy — Shared Styles v2.0 */
/* Aesthetic: Nerd-first editorial — manga panel meets culture magazine */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

:root {
  --black:   #080808;
  --white:   #F2F0EA;
  --purple:  #7F77DD;
  --gold:    #C8972A;
  --coral:   #D85A30;
  --teal:    #1D9E75;
  --ink:     #141414;
  --paper:   #F2F0EA;
  --rule:    rgba(8,8,8,0.1);
  --rule-w:  rgba(242,240,234,0.08);
}

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

body {
  background: var(--paper);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ─── NAV ──────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.site-nav.over-hero {
  background: transparent;
}
.site-nav.scrolled {
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-w);
}
.site-nav.light {
  background: rgba(242,240,234,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 1px;
  color: var(--white); text-decoration: none;
  transition: color 0.2s;
}
.site-nav.light .nav-logo { color: var(--black); }
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(242,240,234,0.5);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.site-nav.light .nav-links a { color: rgba(8,8,8,0.4); }
.site-nav.light .nav-links a:hover,
.site-nav.light .nav-links a.active { color: var(--black); }
.nav-cta {
  font-size: 10px !important; font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  color: var(--white) !important;
  background: var(--purple);
  padding: 9px 20px !important;
  text-decoration: none;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #6b62cc !important; }

/* ─── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 48px; }

/* ─── SECTION RULE ───────────────────────────────────── */
.section-rule {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
}
.section-rule span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; white-space: nowrap;
  color: rgba(8,8,8,0.35);
}
.section-rule::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.section-rule.light span { color: rgba(242,240,234,0.3); }
.section-rule.light::after { background: var(--rule-w); }

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; padding: 14px 28px;
  transition: all 0.2s;
}
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--purple); }
.btn-ghost { border: 1px solid rgba(242,240,234,0.25); color: rgba(242,240,234,0.65); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: #6b62cc; }

/* ─── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--black); color: var(--white);
  padding: 72px 48px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-w); margin-bottom: 32px;
}
.footer-brand {}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; letter-spacing: 1px;
  color: var(--white); line-height: 1; margin-bottom: 14px;
}
.footer-tagline {
  font-family: 'Crimson Pro', serif;
  font-size: 16px; font-style: italic;
  color: rgba(242,240,234,0.35); line-height: 1.6; max-width: 260px;
}
.footer-col-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(242,240,234,0.25);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 13px; color: rgba(242,240,234,0.45);
  text-decoration: none; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 10px; color: rgba(242,240,234,0.18); letter-spacing: 0.1em; }
.footer-bottom .accent { color: var(--purple); }

/* ─── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both; }
.d1 { animation-delay: 0.1s; } .d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; } .d4 { animation-delay: 0.55s; }

@media (max-width: 900px) {
  .site-nav { padding: 0 20px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 32px; }
}
