/* Colors — change these to restyle the whole site */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: #e5e5e5;
  --accent: #2f6bff;
  --radius: 14px;
  --max: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --surface: #18181b;
    --text: #f2f2f2;
    --muted: #a0a0a8;
    --border: #2a2a2e;
    --accent: #6f9bff;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px max(20px, calc((100% - var(--max)) / 2));
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo { font-weight: 700; }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--muted); font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); }

/* Layout */
main { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; border-top: 1px solid var(--border); }
h2 { font-size: 1.75rem; margin-bottom: 32px; letter-spacing: -0.02em; }

/* Hero */
.hero { padding: 120px 0 100px; }
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin-bottom: 36px; }

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s;
}
.button:hover { transform: translateY(-2px); opacity: 0.9; }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }

/* Work grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.card h3 { font-size: 1.1rem; margin-top: 14px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, hsl(var(--hue, 210) 70% 60%), hsl(calc(var(--hue, 210) + 40) 70% 45%));
  transition: transform 0.25s;
}
.card:hover .thumb { transform: scale(1.02); }

/* About */
.about div { max-width: 680px; }
.about p { font-size: 1.1rem; margin-bottom: 16px; }
.about p:last-child { color: var(--muted); }

/* Contact */
.contact p { color: var(--muted); margin-bottom: 24px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 600px) {
  .nav nav { gap: 16px; }
  .hero { padding: 80px 0 60px; }
  .section { padding: 60px 0; }
}
