:root {
  --bg: #f8f7f2;
  --surface: #ffffff;
  --text: #1e1e1e;
  --muted: #5f5f5f;
  --accent: #d4a514;
  --border: #e8e3d5;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --max-width: 1100px;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 1.2rem;
  font-weight: 600;
}

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

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

.hero-content {
  max-width: 800px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-secondary {
  background: #111;
  color: #fff;
}

.section {
  padding: 4.5rem 0;
}

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

.alt {
  background: #f2efe5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  margin-top: 1.5rem;
}

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

.card h3 {
  margin-bottom: 0.7rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

code {
  background: #ece7d8;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    gap: 0.8rem;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a {
    margin: 0 0.6rem;
  }
}