*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: #f7f4ef;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.projects {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: #fff;
  border: 1px solid #ddd6cb;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: #b8afa3;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #ece7df;
}

.card-body {
  padding: 1rem 1.125rem 1.25rem;
}

.card-body h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: #5c5c5c;
}

.card-cta {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.card-link:hover .card-cta {
  text-decoration: underline;
}
