:root {
  --cottage-bg: #fbf5eb;
  --clay-terracotta: #b2583b;
  --clay-terracotta-dim: rgba(178, 88, 59, 0.15);
  --sage-green: #5f6d5b;
  --wheat-gold: #e5c583;
  --soil-brown: #765741;
  --text-dark: #3b2b23;
  
  --font-serif: 'Lora', serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--cottage-bg);
  color: var(--text-dark);
  font-family: var(--font-serif);
  line-height: 1.6;
}

.cottage-container {
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 20px;
}

.cottage-header {
  text-align: center;
  margin-bottom: 50px;
}

.nav-back {
  display: inline-block;
  color: var(--clay-terracotta);
  text-decoration: none;
  font-weight: bold;
  border: 1px dashed var(--clay-terracotta);
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: var(--clay-terracotta-dim);
}

.nav-back:hover {
  background: var(--clay-terracotta);
  color: #fff;
}

.floral-emblem {
  color: var(--clay-terracotta);
  font-size: 1.3rem;
  letter-spacing: 6px;
  margin-bottom: 10px;
}

.cottage-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  color: var(--clay-terracotta);
  margin: 0 0 10px 0;
}

.cottage-subtitle {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sage-green);
  max-width: 600px;
  margin: 0 auto;
}

.cottage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 35px;
}

/* Embroidery Stitched Cards */
.cottage-card {
  background: #ffffff;
  border: 3px double var(--clay-terracotta);
  padding: 35px;
  position: relative;
  box-shadow: 0 10px 25px rgba(59, 43, 35, 0.03);
}

.stitch-border {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px dashed rgba(178, 88, 59, 0.35);
  pointer-events: none;
}

.cottage-card h2 {
  color: var(--clay-terracotta);
  font-size: 1.45rem;
  margin-top: 0;
}

.cottage-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Garden soil patch */
.garden-bed {
  height: 140px;
  background-color: var(--soil-brown);
  border: 2px dashed var(--clay-terracotta);
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.15);
}

/* Growing flower */
.planted-flower {
  position: absolute;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  font-size: 2.2rem;
  transition: transform 0.9s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
  user-select: none;
}

.planted-flower.bloomed {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Lists */
.cottage-list {
  list-style: none;
  padding-left: 0;
}

.cottage-list li {
  margin-bottom: 12px;
  font-weight: bold;
}
