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

:root {
  --bg: #f5f5f0;
  --fg: #1a1a1a;
  --accent: #3a5a40;
  --muted: #6b6b6b;
  --border: #ddd;
  --max-width: 860px;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  padding: 0 1rem;
}

header {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1rem;
}

header h1 {
  font-size: 2rem;
  letter-spacing: 0.02em;
}

header h1 a {
  color: var(--fg);
  text-decoration: none;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  margin-right: 1.5rem;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: var(--max-width);
  margin: 2.5rem auto;
}

footer {
  max-width: var(--max-width);
  margin: 3rem auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

/* --- Home page --- */
.intro {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

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

.card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  background: #fff;
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card h2 a {
  color: var(--accent);
  text-decoration: none;
}

.card h2 a:hover {
  text-decoration: underline;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
  font-family: system-ui, sans-serif;
}

/* --- Delica page --- */
.page-title {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  margin-bottom: 2rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.specs-table th {
  background: #eee;
  font-weight: 600;
  width: 35%;
}

.section-heading {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  background: #ddd;
}

.prose p {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  header h1 { font-size: 1.5rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
