/* Global stylesheet for johndleon.com. Loaded by every page from /_assets/css/global.css.
   Contains the design tokens (colors and fonts as CSS variables), base element styles, and other declarations that are identical on every page that uses them.
   Page-specific CSS goes in an inline <style> block in that page's <head>, after the link to this file. */
:root {
  --bg: #222222;
  --surface: #2a2a2a;
  --fg: #f3f1ea;
  --muted: #a3a09a;
  --cyan: #00fbe1;
  --magenta: #fa19e6;
  --line: #3d3d3d;
  --display: "Space Grotesk", "Avenir Next", sans-serif;
  --sans: "Outfit", "Avenir Next", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
::selection {
  background: var(--magenta);
  color: var(--bg);
}
.top {
  top: 0;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
}
.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}
.kicker {
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.support {
  max-width: 38rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.reel iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.about {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
footer a {
  color: var(--fg);
}
.dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-cta {
  margin-left: auto;
}
.muted {
  color: var(--muted);
}
.cards {
  display: grid;
}
.dock[hidden] {
  display: none !important;
}
.dock .btn {
  flex: 1;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
