/* Layout: centred single column (max 1080px), soft coloured bands, same brand as the Wix site */
:root {
  --ink: #1f3a48;        /* headings, navy */
  --text: #3d4f58;       /* body copy */
  --teal: #4b8a9b;       /* logo, links, buttons */
  --teal-dark: #3a6f7e;
  --peach: #f6cbb9;      /* band colour */
  --mint: #e6eeec;       /* panel colour */
  --paper: #ffffff;
  --rule: #dfe6e5;
  --font-logo: "Leckerli One", "Brush Script MT", cursive;
  --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px;
}

.wrap { max-width: 1080px; margin: 0 auto; }

/* Header */
.site-head { text-align: center; padding-block: 32px 0; }
.logo { font-family: var(--font-logo); font-size: clamp(30px, 6vw, 40px); color: var(--teal); text-decoration: none; line-height: 1.1; }
.tagline { margin: 6px 0 0; font-style: italic; color: var(--teal); font-size: 14px; }
.nav { margin-top: 28px; border-block: 1px solid var(--rule); }
.nav ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 48px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 13px; }
.nav a[aria-current="page"] { color: var(--teal); }
.nav a:hover { color: var(--teal); }

/* Sections */
section { padding-block: 56px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); font-weight: 700; text-wrap: balance; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(28px, 5vw, 36px); text-align: center; }
h2 { font-size: clamp(24px, 4vw, 30px); text-align: center; }
.eyebrow { text-align: center; color: var(--teal); font-style: italic; margin: 0 0 18px; }
.prose { max-width: 62ch; margin: 0 auto; }
.prose p { margin: 0 0 1.1em; }

.button {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  font-size: 13px; padding: 10px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: var(--font-body);
}
.button:hover { background: var(--teal-dark); }

/* Home: books band */
.band { background: var(--peach); border-radius: 4px; }
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; padding: 32px; }
.book-card { background: #eaf3fa; padding: 28px 24px; text-align: center; min-width: 0; }
.book-card .eyebrow { margin-bottom: 8px; }
.book-card h3 { font-size: 22px; margin-bottom: 8px; }
.book-card p { margin: 0; font-size: 14px; }

.about-panel { background: var(--mint); text-align: center; padding: 40px 24px; display: grid; gap: 18px; justify-items: center; }
.about-panel p { max-width: 52ch; margin: 0; font-size: 14px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 32px; }
.review { text-align: center; min-width: 0; }
.review::before { content: "\201C"; display: block; font-family: var(--font-head); font-size: 64px; line-height: 0.8; color: var(--teal); margin-bottom: 8px; }
.review p { font-size: 14px; margin: 0 0 12px; }
.review cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: 13px; }

/* About page */
.photo-band { background: var(--mint); padding: 32px 24px 0; }
.photo-band h1 { margin-bottom: 28px; }
.photo { max-width: 900px; margin: 0 auto; border-bottom: 6px solid var(--peach); }
.photo img { width: 100%; height: auto; }
.photo-missing { aspect-ratio: 2.75 / 1; max-width: 100%; display: grid; place-items: center; background: #cfe0c4; color: var(--ink); font-size: 14px; text-align: center; padding: 16px; }

/* Sign-up form */
.form { max-width: 560px; margin: 32px auto 0; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, fieldset legend { font-size: 13px; color: var(--ink); }
input[type="text"], input[type="email"], input[type="date"], textarea {
  width: 100%; font: inherit; font-size: 14px; color: var(--text);
  border: 1px solid #b9c9cc; border-radius: 4px; padding: 10px 12px; background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; padding: 12px 14px; background: var(--mint); border-radius: 4px; }
.contact-line { text-align: center; margin: 12px 0 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); margin-top: 24px; padding-block: 28px 40px; text-align: center; font-size: 13px; }
.social { list-style: none; display: flex; justify-content: center; gap: 24px; padding: 0; margin: 0 0 12px; }
.social a { color: var(--ink); }

@media (max-width: 480px) {
  .books { padding: 16px; }
  section { padding-block: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }