/* ============================================================
   jordanjr.com — shared stylesheet
   Nav · Footer · Supporting Page Layout · Variables · Reset
   ============================================================ */

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

:root {
  --night:     #1A1A2E;
  --sovereign: #3D4F7C;
  --parchment: #F5F2EC;
  --white:     #FFFFFF;
  --muted:     #8080A0;
  --title-dk:  #C2CFEA;
  --tag-dk:    #9AAED4;
  --ink:       #2A2A3E;
  --warm-rule: rgba(61, 79, 124, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
nav.site-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: 64px;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 79, 124, 0.3);
}

.nav-mark {
  font-family: 'Source Serif 4', serif;
  font-weight: 900;
  font-size: 24px;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-right: auto;
}
.nav-mark a { color: inherit; text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--title-dk);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-links a.cta,
.nav-cta-always {
  color: var(--white);
  border: 1.5px solid rgba(194, 207, 234, 0.5);
  padding: 8px 20px;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links a.cta:hover,
.nav-cta-always:hover {
  background: rgba(61, 79, 124, 0.4);
  border-color: var(--title-dk);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: rgba(255,255,255,0.95);
  transition: transform 180ms ease, opacity 180ms ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(12px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-12px) rotate(-45deg); }

/* Connect is always visible — lives outside the collapsible menu */
.nav-cta-always {
  flex-shrink: 0;
  margin-left: 24px;
}

@media (max-width: 768px) {
  nav.site-nav { padding: 0 24px; height: 56px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }

  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    background: rgba(26, 26, 46, 0.98);
    border-bottom: 1px solid rgba(61, 79, 124, 0.35);
    padding: 16px 24px 22px;
    display: grid;
    gap: 14px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu a { padding: 10px 2px; }
  .nav-menu[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── Footer ── */
footer {
  background: var(--night);
  text-align: center;
  padding: 52px 32px;
}

.footer-name {
  font-family: 'Source Serif 4', serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 10px;
}

.footer-tag {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tag-dk);
  margin-bottom: 16px;
}

.footer-copy {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 36px;
}

.footer-home {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--sovereign);
  padding: 18px 48px;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-home:hover { background: #4a5e90; }

/* ── Base body (all pages are dark) ── */
body {
  background: var(--night);
  color: var(--parchment);
}

/* ── Supporting page layout ── */
.page-hero {
  padding: 88px 0 40px;
  margin-top: 64px;
  border-bottom: 1px solid rgba(61, 79, 124, 0.35);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(61,79,124,0.35), rgba(26,26,46,0) 55%);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 56px;
}

.kicker {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tag-dk);
  margin-bottom: 18px;
}

h1 {
  font-family: 'Source Serif 4', serif;
  font-weight: 900;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 18px;
}

.sub {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(240,238,248,0.78);
  max-width: 680px;
}

.content {
  padding: 56px 0 88px;
  background: var(--parchment);
}

.prose {
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 760px;
}

.prose p { margin: 0 0 28px; }

.section-break {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--sovereign);
  margin: 48px 0;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .page-hero { padding: 72px 0 32px; margin-top: 56px; }
  .container { padding: 0 28px; }
  .prose { font-size: 18px; }
}
