/* ---------- Colors: change these to restyle the whole site ---------- */
:root {
  --cream: #F7F3EA;
  --beige: #EDE4D3;
  --sand: #DCCFB8;
  --sage: #A9BBA0;
  --leaf: #6B8761;
  --forest: #3D5240;
  --ink: #2E3A30;
  --soft: #5E6B5F;
  --radius: 22px;
  --shadow: 0 8px 24px rgba(61, 82, 64, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--forest);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

a { color: var(--leaf); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed var(--sand);
  padding: 0.75rem 1rem;
}
.nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 62rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.nav a {
  display: block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.nav a:hover { background: var(--beige); }
.nav a.active { background: var(--leaf); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  background: linear-gradient(180deg, var(--beige), var(--cream));
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.hero p { max-width: 36rem; margin: 0 auto; color: var(--soft); }
.hero .plant {
  position: absolute;
  font-size: 3.5rem;
  opacity: 0.55;
}
.hero .plant.left { left: 4%; bottom: 0.5rem; transform: rotate(-12deg); }
.hero .plant.right { right: 4%; bottom: 0.5rem; transform: rotate(10deg); }
.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.5rem;
}

/* ---------- Layout ---------- */
.container { max-width: 62rem; margin: 0 auto; padding: 2.5rem 1.25rem; }

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

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--beige);
}
.card.sage { background: #E6EDE1; border-color: var(--sage); }
.card.beige { background: var(--beige); border-color: var(--sand); }
.card .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}
.card-link:hover { transform: translateY(-4px) rotate(-0.5deg); }

.divider {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  margin: 1rem 0;
  opacity: 0.7;
}

.footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--soft);
  font-size: 0.95rem;
}

/* ---------- Reasons list ---------- */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; counter-reset: reason; }
.reasons li {
  counter-increment: reason;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1rem 4rem;
  position: relative;
  box-shadow: var(--shadow);
  border: 2px solid var(--beige);
}
.reasons li::before {
  content: counter(reason);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--forest);
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Bucket list ---------- */
.progress {
  background: var(--beige);
  border-radius: 999px;
  height: 1rem;
  overflow: hidden;
  margin: 1rem 0 0.5rem;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage), var(--leaf));
  transition: width 0.3s ease;
}
.progress-text { text-align: center; color: var(--soft); font-weight: 700; margin: 0 0 1.5rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.15s ease;
}
.checklist label:hover { background: #F1F5EE; }
.checklist input[type='checkbox'] {
  width: 1.4rem;
  height: 1.4rem;
  accent-color: var(--leaf);
  flex-shrink: 0;
}
.checklist input:checked + span { text-decoration: line-through; color: var(--soft); }

/* ---------- Photo gallery ---------- */
.gallery {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.photo {
  margin: 0;
  background: #fff;
  padding: 0.75rem 0.75rem 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
.photo:nth-child(even) { transform: rotate(1.5deg); }
.photo img, .photo .placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.photo .placeholder {
  background: var(--beige);
  display: grid;
  place-items: center;
  font-size: 3rem;
}
.photo figcaption { text-align: center; margin-top: 0.6rem; color: var(--soft); font-size: 0.95rem; }

/* ---------- Open when letters ---------- */
.letters { display: grid; gap: 1rem; }
.letter {
  background: #fff;
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.letter summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--forest);
  background: #E6EDE1;
}
.letter summary::-webkit-details-marker { display: none; }
.letter summary::before { content: '💌  '; }
.letter[open] summary { background: var(--sage); }
.letter .body { padding: 1.25rem 1.5rem 1.5rem; }

@media (max-width: 40rem) {
  .hero .plant { font-size: 2.2rem; }
}
