:root {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light;
  --bg: #f8fafc;
  --card: #ffffff;
  --muted: #475569;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: #0f172a;
}

a {
  color: inherit;
}

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 4rem clamp(1.5rem, 6vw, 6rem) 2rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero__content .lead {
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero__photo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.hero__photo img {
  border-radius: 16px;
}

.photo-hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1rem;
}

main {
  padding: 0 clamp(1.5rem, 6vw, 6rem) 4rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.panel h2 {
  margin-top: 0;
}

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

.project-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.project-list li {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background: #f1f5f9;
}

.project-list h3 {
  margin-top: 0;
}

.contact {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
}

.btn.ghost {
  border-color: var(--border);
  color: #0f172a;
  background: transparent;
}

footer {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.5rem;
  }

  .panel {
    padding: 1.75rem;
  }
}
