/* The Garden Handbook — a Victorian seed catalog. Warm cream stock,
   terracotta pots, rose accents, moss-green rules, trellis dots. */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --cream: #f7f3e6;
  --cream2: #fdfaf1;
  --terra: #a9502e;
  --rose: #b74d62;
  --moss: #6a7c48;
  --moss2: #4c5c33;
  --ink: #35301f;
  --soft: #8b8468;
  --gray: #a5a08e;
}
body {
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Palatino Linotype", serif;
  font-size: 17px;
  line-height: 1.62;
}
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- masthead ---------- */
.mast {
  background: var(--cream2);
  border-bottom: 3px solid var(--moss);
  position: sticky; top: 0; z-index: 50;
}
.mast-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand-orn { color: var(--rose); font-size: 21px; }
.brand-name {
  font-size: 24px; font-style: italic; color: var(--moss2);
  letter-spacing: .02em;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.nav a {
  font-size: 12.5px; letter-spacing: .04em;
  color: var(--soft); padding-bottom: 3px;
}
.nav a.on, .nav a:hover {
  color: var(--moss2); border-bottom: 2px solid var(--rose);
  text-decoration: none;
}

/* ---------- hero ---------- */
.hero { background: var(--moss2); color: var(--cream); }
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 58px 24px 52px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px;
  align-items: center;
}
h1.tagline {
  font-size: 42px; font-weight: normal; font-style: italic;
  letter-spacing: .01em; color: var(--cream2); line-height: 1.15;
  padding-bottom: 14px; border-bottom: 1px dotted var(--rose);
  display: inline-block; margin-bottom: 8px;
}
.mission { margin: 14px 0; max-width: 58ch; color: #e3e6d2; }
.hero-stats {
  margin-top: 22px; display: inline-block;
  border: 1px dotted #c9d3ae; padding: 8px 18px;
  font-size: 13px; letter-spacing: .04em; color: #cdd7b2;
}
.hero-art { position: relative; min-height: 400px; }
.hero-art .ha {
  position: absolute; width: 55%;
  box-shadow: 0 10px 26px rgba(0,0,0,.45); border-radius: 2px;
}
.ha1 { top: 0; left: 2%; transform: rotate(-4deg); z-index: 3; }
.ha2 { top: 12%; right: 0; transform: rotate(3.5deg); z-index: 2; }
.ha3 { bottom: 0; left: 0; transform: rotate(2deg); z-index: 1; }
.ha4 { bottom: 5%; right: 10%; transform: rotate(-2.5deg); z-index: 0; opacity: .94; }

/* ---------- did you know ---------- */
.didyou { background: var(--cream2); border-bottom: 1px solid #e5dfc9; }
.didyou-inner {
  max-width: 880px; margin: 0 auto; padding: 32px 24px 24px;
  text-align: center;
}
.didyou-label {
  display: inline-block; font-size: 12px; letter-spacing: .04em;
  color: var(--cream2); background: var(--rose); padding: 4px 16px;
  border-radius: 2px;
}
.facts { min-height: 96px; margin-top: 14px; }
.fact { display: none; color: inherit; }
.fact.on { display: block; animation: fadein .6s ease; }
a.fact { text-decoration: none; display: none; }
a.fact.on { display: block; }
a.fact:hover p:first-child { text-decoration: underline; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.fact p:first-child {
  font-size: 21px; font-style: italic; line-height: 1.45; color: var(--moss2);
}
.fact-src { margin-top: 8px; font-size: 13px; color: var(--soft); }
.fact-src a { color: var(--terra); }
.soontag { color: var(--gray); font-style: italic; }
.didyou-nav { margin-top: 10px; display: flex; justify-content: center; align-items: center; gap: 14px; }
.dprev, .dnext {
  background: none; border: 1px solid var(--moss); color: var(--moss2);
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 16px;
}
.ddot {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--moss);
  background: none; margin: 0 4px; cursor: pointer; padding: 0;
}
.ddot.on { background: var(--rose); border-color: var(--rose); }

/* ---------- books ---------- */
.books { max-width: 1080px; margin: 0 auto; padding: 42px 24px 60px; }
.sect {
  font-size: 28px; font-weight: normal; font-style: italic;
  color: var(--moss2); margin: 44px 0 24px;
  display: flex; align-items: center; gap: 16px;
}
.sect::before { content: "❀"; color: var(--rose); font-size: 18px; }
.sect::after { content: ""; flex: 1; border-top: 1px dotted var(--moss); }
.rows { display: flex; flex-direction: column; gap: 24px; }
.book {
  display: grid; grid-template-columns: 185px 1fr; gap: 28px;
  align-items: start; background: var(--cream2);
  border: 1px solid #e5dfc9; border-top: 3px solid var(--moss);
  padding: 22px; border-radius: 2px;
}
.book .plate { position: relative; display: block; overflow: hidden; }
.book .plate img { width: 100%; }
.book h3 { font-size: 23px; font-weight: normal; }
.book h3 a { color: var(--moss2); }
.book h3 a:hover { color: var(--terra); }
.year { color: var(--rose); font-size: 16px; margin-left: 8px; font-style: italic; }
.blurb { margin-top: 8px; max-width: 68ch; }
.meta { margin-top: 12px; display: flex; align-items: center; gap: 14px; }
.vols { font-size: 13px; color: var(--soft); font-style: italic; }
.chip {
  display: inline-block; font-size: 12px; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 2px;
}
.chip.go { background: var(--terra); color: var(--cream2); }
a.chip.go:hover { background: var(--moss2); text-decoration: none; }
.chip.soonchip {
  border: 1px dashed var(--gray); color: var(--gray); font-size: 11px;
  vertical-align: middle; margin-left: 8px;
}

.book.soon .plate img { filter: grayscale(1) opacity(.7); }
.book.soon h3, .book.soon .blurb, .book.soon .vols { color: var(--gray); }
.ribbon {
  position: absolute; top: 50%; left: 50%; z-index: 5;
  transform: translate(-50%, -50%) rotate(-22deg); width: 160%;
  text-align: center; background: var(--rose); color: var(--cream2);
  font-size: 13px; letter-spacing: .04em;
  padding: 6px 0; line-height: 1.3; box-shadow: 0 2px 6px rgba(0,0,0,.3);
}

.soon-sect { color: var(--soft); }
.vault {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.vcard { text-align: center; }
.vplate {
  position: relative; display: block; overflow: hidden;
  border: 1px solid #ded8c0; background: var(--cream2); padding: 8px;
}
.vplate img {
  width: 100%; height: 150px; object-fit: cover; object-position: top;
  filter: grayscale(1) opacity(.6);
}
.vcard .ribbon { font-size: 12px; }
.vtitle {
  display: block; margin-top: 8px; font-size: 13px; line-height: 1.35;
  color: var(--gray);
}
.vyear { display: block; font-size: 11px; color: #b6b1a0; font-style: italic; }

/* ---------- secondary pages ---------- */
.pagemain { max-width: 880px; margin: 0 auto; padding: 48px 24px 60px; }
.pagetitle {
  font-size: 42px; font-weight: normal; font-style: italic;
  color: var(--moss2); text-align: center;
}
.pagelede {
  text-align: center; max-width: 60ch; margin: 16px auto 40px;
  color: var(--soft); font-size: 18px;
}
.cards { display: flex; flex-direction: column; gap: 22px; }
.card {
  background: var(--cream2); border: 1px solid #e5dfc9;
  border-left: 4px solid var(--rose); padding: 22px 26px;
}
.card h3 { font-size: 20px; font-weight: normal; color: var(--moss2); }
.card p { margin-top: 10px; }
.cardsrc { font-size: 14px; }

.tests { display: flex; flex-direction: column; gap: 18px; }
.test {
  display: flex; justify-content: space-between; gap: 22px; align-items: center;
  background: var(--cream2); border: 1px solid #e5dfc9; padding: 18px 24px;
}
.test h3 { font-size: 20px; font-weight: normal; }
.test h3 a { color: var(--moss2); }
.test .blurb { font-size: 15px; }
.tsrc { font-size: 13px; color: var(--soft); margin-top: 6px; }
.test.soon h3, .test.soon .blurb, .test.soon .tsrc { color: var(--gray); }
.taction { flex-shrink: 0; }
.empty-note {
  text-align: center; font-style: italic; color: var(--soft);
  border: 1px dashed var(--gray); padding: 32px; font-size: 17px;
}

.missionblock { font-size: 19px; max-width: 62ch; margin: 0 auto; }
.missionblock p + p { margin-top: 16px; }
.contact { text-align: center; margin-top: 44px; }
.contact h2 { font-weight: normal; font-size: 24px; margin-bottom: 8px; }

/* ---------- footer ---------- */
.foot {
  background: var(--moss2); color: #cdd7b2; margin-top: 40px;
  padding: 30px 24px; text-align: center; font-size: 14px;
}
.foot a { color: #e8d5a8; }
.foot-label {
  letter-spacing: .04em; font-size: 11px; margin-right: 10px;
}
.colophon { margin-top: 10px; font-style: italic; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { position: static; min-height: 0; display: flex; flex-wrap: wrap;
              justify-content: center; gap: 14px; margin-top: 10px; }
  .hero-art .ha { position: static; width: 42%; max-width: 200px; transform: none;
                  box-shadow: 0 8px 18px rgba(0,0,0,.5); }
  .book { grid-template-columns: 120px 1fr; gap: 16px; }
  h1.tagline { font-size: 34px; }
}
@media (max-width: 560px) {
  h1.tagline { font-size: 28px; }
  .book { grid-template-columns: 1fr; }
  .book .plate { max-width: 220px; }
  .test { flex-direction: column; align-items: flex-start; }
}

.eic { margin-top: 18px; }
.addr { margin-top: 14px; line-height: 1.55; }

