:root {
  --bg: #15141a;
  --bg-2: #1f1d26;
  --card: #26232f;
  --text: #ece8f1;
  --muted: #a9a3b6;
  --purple: #6b3d82;
  --purple-2: #8a55a6;
  --green: #b8f26a;
  --border: #35313f;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; color: var(--green); }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(21, 20, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-weight: 700; letter-spacing: 0.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; background: #fff; }
.nav nav a { color: var(--muted); margin-left: 1.25rem; font-weight: 500; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--purple-2); font-weight: 700; margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.hero-logo { width: 100%; max-width: 320px; height: auto; justify-self: center; filter: drop-shadow(0 12px 30px rgba(107, 61, 130, 0.45)); }

.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--purple-2);
  color: var(--text);
  font-weight: 600;
}
.btn:hover { background: var(--bg-2); text-decoration: none; }
.btn.primary { background: var(--purple); border-color: var(--purple); }
.btn.primary:hover { background: var(--purple-2); border-color: var(--purple-2); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.card p { color: var(--muted); }
.card ul { padding-left: 1.1rem; margin: 0.75rem 0 0; }
.card li { margin: 0.3rem 0; }

.about { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.headshot { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); }
.about p { color: var(--muted); }
.about p:first-of-type { color: var(--text); }

.contact { text-align: center; }
.contact p { color: var(--muted); }
.contact .cta { justify-content: center; }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
footer p { margin: 0; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-logo { max-width: 220px; order: -1; }
  .cards { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .headshot { max-width: 260px; }
  .nav nav a { margin-left: 0.9rem; }
}

/* Portfolio page */
.nav nav a.active { color: var(--text); }
.page-head { padding-top: 4rem; padding-bottom: 2.5rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.25rem; }
.jump a { color: var(--muted); font-weight: 500; }
.jump a:hover { color: var(--text); text-decoration: none; }
.muted { color: var(--muted); }
.video { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; margin: 1.5rem 0 1rem; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--card); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.items { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.items li { padding: 0.8rem 0; border-top: 1px solid var(--border); }
.items li:first-child { border-top: 0; }
.items li > a { font-weight: 600; }
.items .meta { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.15rem; }
.items .meta a { color: var(--muted); text-decoration: underline; }
