@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

:root {
  --bg:     #F7F5F2;
  --text:   #1C1C1A;
  --muted:  #6B6B63;
  --border: #E2DDD8;
  --grid-gap: 3px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100svh;
}

/* ── Header ── */

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 1.5rem 1.5rem;
  text-align: center;
}

.header-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #1A2318;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.header-logo img {
  width: 100px;
  height: auto;
}

.header p {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.5;
}

/* ── Social links ── */

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.social-links a:hover {
  color: var(--text);
}

/* ── Grid ── */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.grid-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  background: var(--border);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.grid-item:hover img {
  transform: scale(1.04);
  opacity: 0.85;
}

/* ── Footer ── */

footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Mobile ── */

@media (max-width: 480px) {
  .header-logo {
    width: 80px;
    height: 80px;
  }
  .header-logo img {
    width: 54px;
  }
  :root {
    --grid-gap: 2px;
  }
}
