/* ============================================================
   Ashton Brackett — shared site stylesheet
   ============================================================ */

:root {
  --ink: #0A0A0A;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --paper: #F5F5F5;
  --neon: #C8FF00;
  --muted: #7A7A7A;
  --rule: rgba(245, 245, 245, 0.12);
  --rule-strong: rgba(245, 245, 245, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', sans-serif;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

a { color: inherit; }

::selection { background: var(--neon); color: var(--ink); }

/* ========== NAV ========== */
nav.site-nav {
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img { height: 40px; width: auto; display: block; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--neon); }
.nav-links a.active { color: var(--neon); }

.nav-links a.cta {
  background: var(--neon);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 0.2s;
  font-weight: 600;
}

.nav-links a.cta:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-links a.cta.active { color: var(--ink); }

/* ========== BUTTONS ========== */
.btn {
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  border: 1px solid var(--paper);
  cursor: pointer;
}

.btn-primary {
  background: var(--neon);
  color: var(--ink);
  border-color: var(--neon);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--paper);
  border-color: var(--paper);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--paper);
}

.btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
  padding: 100px 40px 80px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: end;
}

.page-header .mono { color: var(--muted); }

.page-header h1 {
  font-weight: 900;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.page-header h1 em {
  font-style: italic;
  color: var(--neon);
  font-weight: 900;
}

.page-header .lede {
  max-width: 620px;
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(245, 245, 245, 0.78);
  grid-column: 2;
}

/* ========== SECTION HEAD (shared pattern) ========== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 120px 40px 48px;
  border-bottom: 1px solid var(--rule);
  align-items: end;
}

.section-head h2 {
  font-weight: 900;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.section-head h2 em {
  font-style: italic;
  color: var(--neon);
  font-weight: 900;
}

.section-head .mono { color: var(--muted); }

/* ========== TICKER ========== */
.ticker {
  padding: 24px 0;
  overflow: hidden;
  background: var(--neon);
  color: var(--ink);
  border-top: 1px solid var(--neon);
  border-bottom: 1px solid var(--neon);
}

.ticker-inner {
  display: flex;
  gap: 56px;
  animation: scroll 85s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.ticker-inner span {
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.ticker-inner span::after {
  content: "✦";
  font-size: 20px;
  color: var(--ink);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== FOOTER ========== */
footer.site-footer {
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

footer.site-footer a {
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s;
}

footer.site-footer a:hover { color: var(--neon); }

/* ========== RESPONSIVE BASE ========== */
@media (max-width: 900px) {
  nav.site-nav { padding: 16px 24px; }
  .nav-links { gap: 14px; }
  .nav-links li.nav-hide-mobile { display: none; }

  .page-header {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 60px 24px 48px;
  }
  .page-header .lede { grid-column: 1; margin-top: 0; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 80px 24px 32px;
  }

  .ticker-inner span { font-size: 22px; gap: 40px; }
  .ticker-inner { gap: 40px; }

  footer.site-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
  }
  footer.site-footer a { margin-left: 0; margin-right: 20px; }
}
