:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #eef2ff;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe4f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 2rem));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

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

nav a {
  color: var(--muted);
  font-weight: 500;
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  background: var(--primary);
  color: white;
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: white;
  color: var(--text);
  border-color: var(--border);
}

.section {
  padding: 4rem 0;
}

.alt {
  background: var(--surface-alt);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.highlight ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  background: white;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

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

  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }
}
.project-tag,
.meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.project-meta p {
  margin: 0;
  font-weight: 600;
}

.project-body h2:not(:first-child) {
  margin-top: 2.5rem;
}

.project-body h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.project-body p,
.project-body ul {
  color: var(--muted);
}

.project-body blockquote {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}

.project-body blockquote p {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
}

.project-link,
.back-link a {
  color: var(--primary);
  font-weight: 600;
}

.back-link {
  margin-bottom: 1rem;
}

.back-link a:hover,
.project-link:hover {
  text-decoration: underline;
}
  