/* -------------------------
   Base / Reset
-------------------------- */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #111;
  background-color: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

/* -------------------------
   Layout
-------------------------- */

.site-header {
  border-bottom: 1px solid #eee;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

section {
  margin-bottom: 4rem;
}

/* -------------------------
   Hero
-------------------------- */

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  max-width: 18ch;
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  max-width: 45ch;
  color: #444;
}

/* -------------------------
   Work / Case Cards
-------------------------- */

.work h2,
.about h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.case-card {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.case-card:hover {
  border-color: #ccc;
  transform: translateY(-2px);
}

.case-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.case-card p {
  margin-bottom: 1rem;
  color: #444;
}

.case-link {
  font-weight: 500;
}

/* -------------------------
   Footer
-------------------------- */

.site-footer {
  border-top: 1px solid #eee;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}

/* -------------------------
   Accessibility
-------------------------- */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}