/* -----------------------------------------------------------
   Christopher Michael Baird — Static Site
   High-signal, accessible, fast. No frameworks. No bloat.
   ----------------------------------------------------------- */

:root{
  --bg: #0b1020;
  --bg2: #0d1630;
  --card: rgba(255,255,255,0.06);
  --card2: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --faint: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.14);
  --accent: #7c5cff;    /* violet */
  --accent2: #2fe3c9;   /* teal */
  --warn: #ffb020;
  --shadow: 0 18px 55px rgba(0,0,0,0.55);
  --radius: 18px;
  --max: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color-scheme: dark;
}

:root[data-theme="light"]{
  --bg: #fbfbff;
  --bg2:#f3f5ff;
  --card: rgba(0,0,0,0.04);
  --card2: rgba(0,0,0,0.06);
  --text: rgba(0,0,0,0.90);
  --muted: rgba(0,0,0,0.70);
  --faint: rgba(0,0,0,0.56);
  --border: rgba(0,0,0,0.12);
  --shadow: 0 20px 55px rgba(0,0,0,0.13);
  color-scheme: light;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; animation: none !important; }
}

body{
  margin:0;
  font-family: var(--sans);
  background:
    radial-gradient(1100px 700px at 16% 14%, rgba(124,92,255,0.25), transparent 60%),
    radial-gradient(900px 650px at 82% 22%, rgba(47,227,201,0.16), transparent 58%),
    radial-gradient(900px 650px at 70% 90%, rgba(124,92,255,0.14), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip:focus{
  left: 20px;
  top: 16px;
  width:auto;
  height:auto;
  background: var(--card2);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 999;
  text-decoration:none;
}

.nav{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  border-bottom: 1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.brand .mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(22px 18px at 26% 30%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(26px 20px at 70% 72%, rgba(255,255,255,0.70), transparent 58%),
    linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.18);
}
.brand .name{
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
}
.brand .sub{
  font-size: 12px;
  color: var(--faint);
  margin-top: 2px;
  letter-spacing: 0.2px;
}

.navlinks{
  display:flex;
  gap: 18px;
  align-items:center;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.navlinks a{
  font-size: 14px;
  color: var(--muted);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 12px;
}
.navlinks a:hover{
  color: var(--text);
  background: var(--card);
  text-decoration:none;
}

.actions{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 210px;
  justify-content: flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  text-decoration:none;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover{
  text-decoration:none;
  background: var(--card2);
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--border) 55%, var(--accent) 45%);
}
.btn.primary{
  border-color: color-mix(in srgb, var(--accent) 52%, var(--border) 48%);
  background:
    radial-gradient(30px 22px at 14% 18%, rgba(255,255,255,0.35), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, #ffffff 18%), color-mix(in srgb, var(--accent2) 80%, #ffffff 20%));
  color: rgba(0,0,0,0.88);
  font-weight: 650;
}
.icon{
  width: 18px;
  height: 18px;
  display:inline-block;
}

.theme{
  width: 44px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.theme:hover{ transform: translateY(-1px); background: var(--card2); }

.hero{
  padding: 64px 0 28px;
}
.grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 920px){
  .grid{ grid-template-columns: 1fr; }
  .actions{ min-width: unset; }
  .brand{ min-width: unset; }
}

.kicker{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
h1{
  margin: 10px 0 12px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.9px;
}
.lede{
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
}
.hero-cta{
  margin-top: 18px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.meta{
  margin-top: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill{
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.card{
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3{
  margin: 2px 0 8px;
  letter-spacing: -0.2px;
}
.card p{ margin: 0; color: var(--muted); }
.card + .card{ margin-top: 12px; }
.card.hover{
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.card.hover:hover{
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--border) 55%, var(--accent2) 45%);
  background: color-mix(in srgb, var(--card2) 62%, transparent);
}

.section{
  padding: 40px 0;
}
.section h2{
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}
.section p{ color: var(--muted); max-width: 75ch; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 920px){
  .split{ grid-template-columns: 1fr; }
}

.list{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.list li{
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.list li:last-child{ border-bottom: none; }
.list b{ color: var(--text); font-weight: 650; }

.callout{
  border: 1px solid color-mix(in srgb, var(--border) 60%, var(--warn) 40%);
  background: color-mix(in srgb, var(--card) 72%, rgba(255,176,32,0.10) 28%);
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--muted);
}

.footer{
  padding: 28px 0 50px;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  color: var(--faint);
  font-size: 13px;
}
.footer a{ color: var(--faint); }
.small{ font-size: 13px; color: var(--faint); }
hr.sep{
  border: none;
  border-top: 1px solid var(--border);
  margin: 22px 0;
}

.glow{
  position: relative;
  overflow: hidden;
}
.glow::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 240px at 12% 18%, rgba(124,92,255,0.22), transparent 62%),
    radial-gradient(520px 240px at 82% 64%, rgba(47,227,201,0.18), transparent 60%);
  filter: blur(10px);
  opacity: 0.85;
  pointer-events:none;
  transform: translateZ(0);
  animation: drift 14s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce){
  .glow::before{ animation: none; }
}
@keyframes drift{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(-1.5%, 1.2%, 0) scale(1.03); }
}

/* Profile */
.profile{display:flex;align-items:center;gap:12px}
.avatar{width:86px;height:86px;border-radius:999px;object-fit:cover;border:1px solid var(--border);box-shadow:0 14px 34px rgba(0,0,0,0.22)}
.profile .who{font-weight:700;letter-spacing:-0.2px}
.profile .what{color:var(--faint);font-size:13px;margin-top:2px}

/* Utility */
.stack{display:grid;gap:10px}
