@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');


:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --text: #111111;
  --muted: #555555;
  --accent: #2547d0;
  --line: #dcded8;
  --soft-line: #eceee8;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 245, 0.94);
  backdrop-filter: blur(6px);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  font-family: 'IBM Plex Mono', monospace;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--text);
}

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

.card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.6rem 0;
  margin: 0;
  box-shadow: none;
}

.bio {
  border-top: 0;
  padding-top: 0.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2rem;
  align-items: start;
}

.profile-pic {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
}

h1,
h2 {
  line-height: 1.2;
  font-family: 'Inter Tight', sans-serif;
  margin: 0;
}

h1 {
  font-size: 2.05rem;
  margin-bottom: 0.8rem; /* back to tighter */
}

/* first section title right under page title stays tight */
h1 + h2 {
  margin-top: 0.5rem;
}

h2 {
  font-size: 1.2rem;
  margin-top: 2rem;    /* more space between section blocks */
  margin-bottom: 0.8rem;
}

.lead {
  font-size: 1.04rem;
  margin: 0 0 0.5rem;
}

.highlight-note {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 0.22rem 0.55rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  margin: 0.3rem 0 0.9rem;
  background: var(--surface);
}

.contact-line {
  margin: 1rem 0 0;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 0.45rem 0;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--text);
  color: var(--text);
}

.button::after {
  content: ' →';
}

.button-secondary {
  color: var(--muted);
  border-bottom-color: var(--muted);
}

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

li + li {
  margin-top: 0.55rem;
}

a {
  color: var(--accent);
}

footer {
  border-top: 1px solid var(--line);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.3rem 1.4rem 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.social-links {
  margin-bottom: 0.4rem;
}

footer a {
  margin-right: 0.7rem;
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

.section-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .profile-pic {
    max-width: 220px;
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 1.8rem;
  }
}
