/* ShelfBloom — vintage botanical catalog. Do not reuse on other products. */
:root {
  --paper: #f3efe4;
  --ink: #2a261c;
  --muted: #6a6254;
  --leaf: #3f5a3a;
  --rule: #c9c0a8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Gill Sans", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.plate {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.colophon {
  text-align: center;
  padding: 36px 0 8px;
}
.colophon a {
  text-decoration: none;
  font-variant: small-caps;
  letter-spacing: 0.28em;
  font-size: 15px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  height: 4px;
  margin: 16px 0 28px;
}

.lead { text-align: center; padding-bottom: 36px; }
.lead .kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 12px;
}
h1 {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.lede {
  font-family: var(--sans);
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 24px;
}

.frame {
  border: 1px solid var(--rule);
  padding: 10px;
  margin: 0 auto 28px;
  width: min(640px, 100%);
  background: #fffdf6;
}
.frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.ink {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--leaf);
  text-decoration: none;
  padding: 11px 18px;
  border: 0;
  cursor: pointer;
}

.chapters { padding: 12px 0 48px; }
.chapters h2 {
  text-align: center;
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  margin: 0 0 8px;
}
.ornament {
  text-align: center;
  color: var(--leaf);
  letter-spacing: 0.4em;
  margin: 0 0 28px;
}
.verse {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
}
.verse article {
  text-align: center;
  padding: 8px 10px;
}
.verse h3 { font-style: italic; font-weight: 500; margin: 0 0 8px; }
.verse p { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0; }

.cutaway {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 56px;
}
.cutaway img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--rule);
  padding: 8px;
  background: #fffdf6;
}
.cutaway h2 { font-style: italic; font-weight: 500; }
.cutaway p { font-family: var(--sans); color: var(--muted); }

.rsvp {
  text-align: center;
  border-top: 1px solid var(--rule);
  padding: 48px 0 64px;
}
.rsvp form {
  display: grid;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}
.rsvp input {
  width: 100%;
  border: 1px solid var(--rule);
  background: #fffdf6;
  padding: 12px 12px;
  font-family: var(--sans);
  font-size: 15px;
}
.rsvp .fine { font-family: var(--sans); font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.ok { color: var(--leaf); font-weight: 700; }
.err { color: #8a1f14; font-weight: 700; }

footer {
  text-align: center;
  padding: 0 0 56px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .verse, .cutaway { grid-template-columns: 1fr; }
}
