:root {
  --cream: #fdf6ec;
  --brown: #6b4226;
  --mustard: #e8a33d;
  --text: #3a2a1d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  /* Reserve the square footprint before the image loads so the content
     below doesn't shift. */
  aspect-ratio: 1 / 1;
}

main {
  flex: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.card {
  display: block;
  background: #fff;
  border: 2px solid var(--brown);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--mustard);
}

.card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--brown);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.empty {
  text-align: center;
  opacity: 0.65;
  font-size: 1.05rem;
  padding: 3rem 0;
}

.footer {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  padding-top: 2rem;
}
