/* Type scale, spacing, and mobile breakpoint are best-guess pending exact
   Figma measurements — see CLAUDE.md "Still outstanding". */

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

:root {
  --font-family: 'Inter', sans-serif;
  --color-bg: #0D0D0D;
  --color-text-primary: #FFFFFF;
  --color-text-muted: #8F8F8F;
  --color-accent: #E32652;
  --color-divider: #292929;
  --radius-card: 8px;

  --content-width: 700px;
  --content-padding: 24px;
  --section-gap: 32px;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 80px var(--content-padding) 64px;
}

section + section,
section + footer {
  margin-top: var(--section-gap);
  padding-top: var(--section-gap);
  border-top: 1px solid var(--color-divider);
}

/* ── Hero ─────────────────────────────────────────── */

.hero-logo {
  width: 40px;
  height: 40px;
  margin-bottom: 32px;
}

.hero-bio {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-bio .emphasis {
  color: var(--color-text-primary);
}

.hero-hire {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-accent);
}

.hero-hire:hover {
  text-decoration: none;
}

.hero-hire-arrow {
  width: 1em;
  height: 1em;
  margin-left: 0.15em;
  transition: transform 0.2s ease;
}

.hero-hire:hover .hero-hire-arrow {
  transform: translateX(3px);
}

/* ── Section headings ─────────────────────────────── */

.section-heading {
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
}

/* ── Side Projects ────────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #151515;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, background 0.2s ease;
}

a.project-card:hover {
  transform: translateY(-2px);
  background: #1C1C1C;
}

.project-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: #2A2A2A;
  object-fit: cover;
  object-position: top;
}

.project-thumb--placeholder {
  background: #B3ADAF;
}

.project-card-body {
  padding: 20px;
}

.project-title {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
}

.project-description {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.project-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ── Career ───────────────────────────────────────── */

.career-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.career-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.career-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-card);
  background: #B3ADAF;
  flex-shrink: 0;
}

.career-role {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.career-meta {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
}

.sep {
  font-size: 0.7em;
  color: var(--color-text-muted);
  vertical-align: middle;
}

/* ── Footer ───────────────────────────────────────── */

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #2A2A2A;
  margin-bottom: 16px;
}

.footer-follow {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 315px;
}

.footer-follow a {
  color: var(--color-text-primary);
}

.footer-follow a:hover {
  text-decoration: underline;
}

.footer-follow-button {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: var(--radius-card);
  background: var(--color-text-primary);
  color: var(--color-bg);
  font-size: 14px;
  font-weight: 600;
}

.footer-follow-button:hover {
  opacity: 0.85;
}

.footer-divider {
  width: 100%;
  margin-top: var(--section-gap);
  border-top: 1px solid var(--color-divider);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 24px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 720px) {
  .page {
    padding-top: 64px;
  }

  .project-grid,
  .career-list {
    grid-template-columns: 1fr;
  }
}
