:root {
  color-scheme: dark;
  --bg: #000;
  --text: #fff;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.hero {
  padding: 0 0 56px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.project-number {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-links,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links {
  margin-top: 28px;
}

.contact-links a,
.project-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.contact-links a:hover,
.contact-links a:focus-visible,
.project-actions a:hover,
.project-actions a:focus-visible {
  border-color: var(--text);
}

.project-list {
  display: grid;
}

.project-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.project-item h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.project-item p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 22px, 920px);
    padding: 48px 0;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  h1 {
    font-size: 4rem;
  }
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.skills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}
