/* =========================================
   css/base.css — Reset & global styles
   ========================================= */

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

:root {
  --bg: #efe9e1;
  --ink: #1f1b16;
  --accent: #007BFF;
  --border: #eee;
  --text: #333;
  --text-muted: #666;
}

body {
  margin: 0;
  font-family: "Comfortaa", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #f4f1eb;
  color: var(--text);
}

a {
  color: inherit;
}

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

/* Lazy-loaded images */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

/* ── Page layout ── */
.content {
  margin: 0;
  padding: 0;
}

.content-content {
  margin: 80px;
  padding-left: 80px;
}

section {
  min-height: 10vh;
  border-bottom: 1px solid var(--border);
}

section#section1 {
  padding: 0;
  min-height: 100vh;
}

section#section1 .content-content {
  margin: 0;
  padding: 0;
  border: none;
}

section:not(#section1) {
  padding: 40px 20px;
}

section:nth-child(odd):not(#section1) {
  background: #efe9e1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .content-content {
    margin: 40px 20px;
    padding-left: 0;
  }
}
