:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3f9;
  --text: #162032;
  --muted: #54627a;
  --primary: #1c4ed8;
  --primary-dark: #173ea8;
  --border: #d5deea;
  --shadow: 0 14px 40px rgba(22, 32, 50, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f7f9fd 0%, #f1f5fb 100%);
  color: var(--text);
  line-height: 1.65;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 249, 253, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--text);
}

nav a.active,
nav a:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

main {
  width: min(1100px, 92%);
  margin: 2.4rem auto 4.2rem;
}

.hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 2.4rem;
}

.headshot,
.placeholder-headshot {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.placeholder-headshot {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  padding: 1rem;
  font-size: 0.95rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.button-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

.section {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem;
}

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

.card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 1.2rem;
}

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

.vault-columns ul {
  margin: 0;
  padding-left: 1.1rem;
}

footer {
  width: min(1100px, 92%);
  margin: 0 auto 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
  }
}
