:root {
  --parchment: #EDE4D3;
  --ink: #3A2E22;
  --herb-green: #4A5D3A;
  --wax-red: #8B3A3A;
  --paper-shadow: #C9BFA8;
}

body {
  background: var(--paper-shadow);
  background-image:   radial-gradient(circle at 20% 30%, rgba(0,0,0,0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);;
  color: var(--ink);
  font-family: 'Special Elite', monospace;
  margin: 0;
}

.site-header {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
}
.site-title {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 2.75rem;
  color: var(--ink);
  text-decoration: none;
}
.site-tagline {
  font-style: italic;
  opacity: 0.8;
}

a { color: var(--wax-red); }
a:visited { color: var(--herb-green); }

.recipe-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 3.5rem 2rem;
  max-width: 900px;
  margin: 2rem auto 4rem;
  padding: 0 1.5rem;
}

.card, .recipe-card {
  position: relative;
  display: block;
  background: var(--parchment);
   background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.015) 0px, transparent 1px, transparent 2px),
    radial-gradient(circle at 15% 85%, rgba(139,58,58,0.04) 0%, transparent 25%);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--paper-shadow);
  padding: 2.5rem 1.5rem 1.5rem;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, 0.4),
    inset -1px -1px 0 rgba(0, 0, 0, 0.15),
    3px 4px 8px rgba(0, 0, 0, 0.25);
  clip-path: polygon(
    0% 2%, 4% 0%, 8% 3%, 12% 0%, 16% 2%, 20% 0%, 24% 3%, 28% 0%, 32% 2%, 36% 0%,
    40% 3%, 44% 0%, 48% 2%, 52% 0%, 56% 3%, 60% 0%, 64% 2%, 68% 0%, 72% 3%, 76% 0%,
    80% 2%, 84% 0%, 88% 3%, 92% 0%, 96% 2%, 100% 0%,
    100% 98%, 96% 100%, 92% 97%, 88% 100%, 84% 98%, 80% 100%, 76% 97%, 72% 100%,
    68% 98%, 64% 100%, 60% 97%, 56% 100%, 52% 98%, 48% 100%, 44% 97%, 40% 100%,
    36% 98%, 32% 100%, 28% 97%, 24% 100%, 20% 98%, 16% 100%, 12% 97%, 8% 100%,
    4% 98%, 0% 100%
  );
  transition: transform 0.2s ease;
}
.recipe-box .card:nth-child(odd) { transform: rotate(-2deg); }
.recipe-box .card:nth-child(even) { transform: rotate(1.5deg); }
.recipe-box .card:hover { transform: rotate(0deg) scale(1.02); }

.recipe-card { max-width: 640px; margin: 2rem auto 4rem; }

.pressed-flower {
  position: absolute;
  width: 60px;
  bottom: -18px;
  right: -12px;
  transform: rotate(12deg);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 70px;
  height: 26px;
  background: rgba(139, 58, 58, 0.55);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) rotate(-4deg);
}

.card-title {
  font-family: 'Handlee', cursive;
  font-size: 2.1rem;
  margin: 0.25rem 0 0;
}
.card-date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0.25rem 0 1rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}