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

:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --accent: #F97316;
  --accent-hover: #FB923C;
  --divider: #334155;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────
   Base
───────────────────────────────────────────────────────────── */

body {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────────
   Swiss asymmetric layout

   Footer padding-left matches main's, aligning logo to the left rail.
   Main has no centering margin — content hugs left, right is open.
   max-width on main stops the column from getting too wide;
   on large screens the right third of the viewport stays void.
───────────────────────────────────────────────────────────── */

main {
  padding: 64px clamp(24px, 5vw, 80px) 48px;
  max-width: 720px;
}

footer {
  padding: 24px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--divider);
}

/* ─────────────────────────────────────────────────────────────
   Logo
───────────────────────────────────────────────────────────── */

img.logo {
  display: block;
  max-width: 104px;
  height: auto;
  opacity: 0.9;
}

/* ─────────────────────────────────────────────────────────────
   Hero — composed unit: photo · name · tagline
───────────────────────────────────────────────────────────── */

.hero {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}

img.headshot {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--divider);
}

h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.tagline {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ─────────────────────────────────────────────────────────────
   Links — typographic element, not a boxed nav
   Single top hairline marks the section boundary.
   Mid-dot (·) separates items inline; hidden on mobile.
───────────────────────────────────────────────────────────── */

.links {
  border-top: 1px solid var(--divider);
  padding-top: 24px;
  margin-bottom: 64px;
}

.links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.links li {
  display: flex;
  align-items: center;
}

.links li + li::before {
  content: '·';
  color: var(--divider);
  margin: 0 16px;
  font-size: 18px;
  line-height: 1;
  user-select: none;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}

.links a:hover {
  color: var(--accent-hover);
}

/* ─────────────────────────────────────────────────────────────
   About
───────────────────────────────────────────────────────────── */

h2 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.about p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0 0 24px;
}

/* ─────────────────────────────────────────────────────────────
   Focus (accessibility)
───────────────────────────────────────────────────────────── */

a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────
   Mobile (≤ 640px)
───────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  footer {
    padding: 24px;
  }

  main {
    padding: 48px 24px 48px;
  }

  h1 {
    font-size: 32px;
  }

  .links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .links li + li::before {
    display: none;
  }
}
