:root {
  --cream: #fbf6f1;
  --blush: #f3dfe0;
  --rose: #c96a7c;
  --rose-dark: #a84f62;
  --plum: #4a2a3a;
  --ink: #3a2f33;
  --muted: #7d6b72;
  --gold: #c9a66b;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--plum); text-align: center; }
h3 { font-size: 1.7rem; color: var(--plum); }
p { margin: 0 0 1.1em; }
a { color: var(--rose-dark); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 680px; }

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 14vw, 9rem) 16px clamp(3.5rem, 8vw, 5.5rem);
  color: var(--plum);
  background:
    radial-gradient(ellipse at 20% 10%, rgba(201,106,124,.22), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(201,166,107,.22), transparent 55%),
    linear-gradient(180deg, #f7e3e4 0%, var(--blush) 60%, var(--cream) 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><path d='M60 54c-5-9-18-7-16 3 1 6 16 15 16 15s15-9 16-15c2-10-11-12-16-3z' fill='%23c96a7c' fill-opacity='.07'/></svg>");
  background-size: 120px 120px;
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.eyebrow {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--rose-dark); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: .35em;
}
.tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--ink); margin-bottom: 2rem;
}
.flourish {
  position: relative; display: block;
  width: 200px; height: 24px; margin: 2.5rem auto 0;
  color: var(--rose);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--rose);
  padding: .9rem 2rem; border: 2px solid var(--rose); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--rose-dark); }
.btn-outline:hover { background: var(--rose); color: #fff; }

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.about { text-align: center; }
.about p { font-size: 1.12rem; }
.note { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--rose-dark); margin-top: 1.5rem; }

.books { background: #fff; border-top: 1px solid #f0e3e5; border-bottom: 1px solid #f0e3e5; }
.book-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: center;
  max-width: 820px; margin: 0 auto;
}
.book-cover {
  aspect-ratio: 2 / 3; width: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--plum);
  background: linear-gradient(160deg, #f7e3e4, #e9c9cf 60%, #d9aeb8);
  border: 1px solid #e3c3ca; border-radius: 4px;
  box-shadow: 8px 10px 30px rgba(74,42,58,.18), inset 0 0 0 6px rgba(255,255,255,.35);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.genre { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* Newsletter */
.newsletter { text-align: center; background: linear-gradient(180deg, var(--cream), var(--blush)); }
form { margin-top: 2rem; text-align: left; }
.field { margin-bottom: 1.1rem; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--plum); }
.optional { font-weight: 300; color: var(--muted); }
input[type="text"], input[type="email"] {
  width: 100%; font: inherit; font-size: 1.05rem;
  padding: .8rem 1rem; border: 1px solid #d9bcc3; border-radius: 10px;
  background: #fff; color: var(--ink);
}
input:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: var(--rose); }
form .btn { width: 100%; margin-top: .4rem; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.form-msg { text-align: center; margin: 1rem 0 0; min-height: 1.6em; font-weight: 600; }
.form-msg.ok { color: #3a7d5c; }
.form-msg.err { color: #b3414f; }
form.sent .field, form.sent .btn { display: none; }
form.sent .form-msg { font-family: var(--serif); font-size: 1.4rem; font-style: italic; }

/* Footer */
footer { padding: 2.5rem 0; text-align: center; font-size: .9rem; color: var(--muted); background: var(--plum); color: #e9d9df; }
footer p { margin: 0 0 .4em; }
footer a { color: #f3c8d1; }

@media (max-width: 640px) {
  .book-card { grid-template-columns: 1fr; text-align: center; }
  .book-cover { max-width: 200px; margin: 0 auto; }
  .btn { width: 100%; text-align: center; }
}
