:root {
  --bg: #0b0b0b;
  --panel: #111111;
  --ink: #f5f5f5;
  --muted: #b8b8b8;
  --brand: #ffffff;
  --brand-soft: #1c1c1c;
  --line: #2f2f2f;
  --radius: 6px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

a {
  color: var(--brand);
  text-decoration: none;
}

.site-shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 1.4rem 0 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.logo {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.nav-link {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: transparent;
  font-size: 0.92rem;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--brand);
  background: #191919;
}

.nav-link.is-active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: #ffffff;
}

main {
  display: grid;
  gap: 1.5rem;
}

.hero,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  padding: clamp(1.4rem, 4vw, 2.6rem);
  display: grid;
  gap: 0.85rem;
  border-left: 4px solid #ffffff;
}

.hero-home {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
}

.hero-photo-wrap {
  width: clamp(120px, 22vw, 190px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #ffffff;
  overflow: hidden;
  background: #1a1a1a;
}

.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6d6d6;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-family: "Bitter", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 22ch;
}

.hero p,
.panel p,
.panel li {
  margin: 0;
  color: #e8e8e8;
  line-height: 1.6;
}

.panel {
  padding: clamp(1rem, 3vw, 1.6rem);
  display: grid;
  gap: 0.9rem;
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.interest-card {
  background: #0f0f0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.card-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 700;
}

.inline-link {
  font-weight: 700;
}

.inline-link::after {
  content: " >";
}

.list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  animation: riseIn 500ms ease both;
}

.reveal:nth-child(2) {
  animation-delay: 90ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

.reveal:nth-child(4) {
  animation-delay: 190ms;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-home {
    grid-template-columns: 1fr;
  }

  .hero-photo-wrap {
    width: 128px;
  }

  nav ul {
    justify-content: flex-start;
  }
}
