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

body {
  background: #1a1a1a;
  color: #e8e8e8;
  font-family: "Georgia", serif;
  min-height: 100vh;
}

a { color: #c8a96e; text-decoration: none; }
a:hover { text-decoration: underline; color: #e8c88e; }

header {
  border-bottom: 1px solid #333;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
  flex-wrap: wrap;
}

header .site-title {
  font-size: 1.3rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  color: #e8e8e8;
  text-decoration: none;
}
header .site-title:hover { text-decoration: none; color: #c8a96e; }

nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a { font-family: Arial, sans-serif; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #888; }
nav a:hover { color: #c8a96e; text-decoration: none; }
nav a.active { color: #c8a96e; border-bottom: 1px solid #c8a96e; }

.page { max-width: 860px; margin: 0 auto; padding: 3rem 2rem; }

h1 { font-size: 1.6rem; font-weight: normal; color: #e8e8e8; margin-bottom: 0.5rem; letter-spacing: 0.03em; }
h2 { font-size: 1.1rem; font-weight: normal; color: #aaa; margin-bottom: 2rem; font-family: Arial, sans-serif; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

.divider { border: none; border-top: 1px solid #2e2e2e; margin: 2.5rem 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: #2a2a2a;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  overflow: hidden;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.review-list { list-style: none; margin-top: 1.5rem; }
.review-list li { border-bottom: 1px solid #2a2a2a; padding: 1.2rem 0; display: flex; gap: 1.5rem; align-items: baseline; }
.review-list .title { font-size: 1rem; color: #e8e8e8; }
.review-list .year { font-family: Arial, sans-serif; font-size: 0.8rem; color: #555; }
.review-list .stars { color: #c8a96e; letter-spacing: 2px; }
.review-list .note { font-family: Arial, sans-serif; font-size: 0.82rem; color: #888; margin-top: 0.3rem; }

.project-list { list-style: none; margin-top: 1.5rem; }
.project-list li { border-bottom: 1px solid #2a2a2a; padding: 1.2rem 0; }
.project-list .proj-title { font-size: 1rem; color: #e8e8e8; }
.project-list .proj-desc { font-family: Arial, sans-serif; font-size: 0.82rem; color: #888; margin-top: 0.3rem; line-height: 1.6; }
.project-list .proj-tags { margin-top: 0.5rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag { font-family: Arial, sans-serif; font-size: 0.72rem; color: #666; border: 1px solid #333; padding: 2px 8px; }

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: #222;
  border: 1px solid #222;
  margin-top: 2rem;
}

.home-card {
  background: #1a1a1a;
  padding: 1.5rem;
  display: block;
  text-decoration: none;
  transition: background 0.15s;
}
.home-card:hover { background: #222; text-decoration: none; }
.home-card .card-title { font-size: 1rem; color: #e8e8e8; margin-bottom: 0.4rem; }
.home-card .card-desc { font-family: Arial, sans-serif; font-size: 0.78rem; color: #666; line-height: 1.5; }

footer {
  border-top: 1px solid #222;
  padding: 1.5rem 2rem;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: #444;
  text-align: center;
}
