/* Simone Strong Romance
   Layout: a candlelit boutique storefront. Script signature hero, then
   newsletter, the books shelf with "where to buy" slots, and the co-author wall.
   One deliberate dark look (no light theme). */
:root {
  --ink: #1d0f17;          /* page ground: deep aubergine */
  --velvet: #2b1521;       /* raised panels */
  --wine: #5a1f36;         /* deep accent ground */
  --blush: #f1c9c4;        /* primary accent */
  --gold: #d2ac68;         /* small details, rules */
  --cream: #f7ece6;        /* body text */
  --muted: #c7aab3;        /* secondary text */
  --line: rgba(210, 172, 104, 0.28);

  --font-script: "Dancing Script", "Brush Script MT", cursive;
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;

  --step--1: 0.85rem;
  --step-0: 1.05rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4.5vw, 2.8rem);
  --step-hero: clamp(3rem, 11vw, 7rem);

  --radius: 4px;
  --wrap: 72rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
}

img { max-width: 100%; display: block; }
a { color: var(--blush); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}
.section-head p:not(.eyebrow) { margin: 0; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1;
  color: var(--blush);
  text-decoration: none;
}
.site-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--blush); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(60rem 30rem at 50% -10%, rgba(241, 201, 196, 0.16), transparent 70%),
    radial-gradient(40rem 25rem at 50% 120%, rgba(90, 31, 54, 0.9), transparent 70%),
    var(--ink);
}
.hero .wrap {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero h1 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: var(--step-hero);
  line-height: 1;
  color: var(--blush);
  text-shadow: 0 0 40px rgba(241, 201, 196, 0.25);
  padding-inline: 0.2em;
}
.hero .tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--cream);
  max-width: 34rem;
  margin: 0;
}
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 5vw, 2.4rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.coming-soon::before, .coming-soon::after {
  content: "";
  width: clamp(1.5rem, 6vw, 4rem);
  height: 1px;
  background: var(--gold);
}
.hero .lede { max-width: 36rem; color: var(--muted); margin: 0; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--blush);
  background: var(--blush);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--blush); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--wine); }
.newsletter .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.newsletter .section-head { margin: 0; }
.newsletter .section-head p:not(.eyebrow) { color: var(--cream); opacity: 0.85; }
.perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  color: var(--cream);
}
.perks li::before { content: "♥"; color: var(--blush); margin-right: 0.6rem; font-size: 0.8em; }

.signup-form { display: grid; gap: 0.9rem; }
.signup-form label {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blush);
}
.signup-form input {
  width: 100%;
  font: inherit;
  color: var(--cream);
  background: rgba(29, 15, 23, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.signup-form input::placeholder { color: var(--muted); opacity: 0.8; }
.field { display: grid; gap: 0.35rem; }
.form-note { font-size: var(--step--1); color: var(--muted); margin: 0; }
.form-status {
  margin: 0;
  font-size: var(--step-0);
  color: var(--blush);
  min-height: 1.6em;
}

/* ---------- Books ---------- */
.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
}
.book { display: grid; gap: 1rem; align-content: start; }
.cover {
  aspect-ratio: 2 / 3;
  max-width: 100%;
  border-radius: 2px 6px 6px 2px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.35) 0 4%, transparent 7%),
    linear-gradient(160deg, var(--wine), var(--velvet) 70%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  position: relative;
}
.cover::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid var(--line);
  pointer-events: none;
}
.cover-inner { display: grid; gap: 0.75rem; justify-items: center; }
.cover .series-no {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.cover .cover-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--cream);
}
.cover .cover-author {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--blush);
  line-height: 1;
}
.book-meta { display: grid; gap: 0.3rem; }
.book-meta p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.book-meta .with { color: var(--cream); }

.retailers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.retailers a, .retailers span {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.retailers a:hover { border-color: var(--blush); color: var(--blush); }
.retailers .soon { opacity: 0.7; }

/* Where to buy band */
.wide {
  margin-top: 3.5rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--velvet);
  display: grid;
  gap: 1.25rem;
}
.wide p { margin: 0; color: var(--muted); }
.store-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
}
.store-grid li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.15rem;
}
.store-grid strong { font-weight: 500; color: var(--cream); }
.store-grid small { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.04em; }
.store-grid .direct { border-color: var(--blush); }
.store-grid .direct strong { color: var(--blush); }

/* ---------- Authors ---------- */
.authors { background: var(--velvet); }
.author-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
}
.author {
  display: grid;
  gap: 0.9rem;
  justify-items: center;
  text-align: center;
  padding: 2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}
.portrait {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 35%, var(--wine), var(--velvet));
  display: grid;
  place-items: center;
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--blush);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.author h3 { font-size: var(--step-1); }
.author p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.author .pairs { color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: var(--step--1);
}
.site-footer .wrap { display: grid; gap: 0.6rem; justify-items: center; }
.site-footer .wordmark { font-size: 2.2rem; }
.site-footer p { margin: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .newsletter .wrap { grid-template-columns: minmax(0, 1fr); }
  .site-header .wrap { justify-content: center; }
  .wide { padding: 1.25rem; }
  .cover { width: 100%; max-width: 17rem; justify-self: center; }
}

/* ---------- EmailOctopus form: restyle to match the site ---------- */
.eo-embed { min-height: 12rem; align-content: center; }
.eo-embed .emailoctopus-form-wrapper,
.eo-embed .emailoctopus-form,
.eo-embed form { background: transparent !important; color: var(--cream) !important; font-family: var(--font-body) !important; padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; border: 0 !important; box-shadow: none !important; }
.eo-embed .main-heading, .eo-embed h1, .eo-embed h2 { display: none !important; }
.eo-embed p, .eo-embed label, .eo-embed .emailoctopus-success-message, .eo-embed .emailoctopus-error-message { color: var(--cream) !important; font-family: var(--font-body) !important; }
.eo-embed label { font-size: var(--step--1) !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; color: var(--blush) !important; }
.eo-embed input[type="email"], .eo-embed input[type="text"], .eo-embed .form-control {
  width: 100% !important; font: inherit !important; font-family: var(--font-body) !important; color: var(--cream) !important;
  background: rgba(29, 15, 23, 0.55) !important; border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important; padding: 0.85rem 1rem !important; height: auto !important; box-shadow: none !important;
}
.eo-embed input::placeholder { color: var(--muted) !important; }
.eo-embed button, .eo-embed input[type="submit"], .eo-embed [type="submit"] {
  width: 100% !important; font-family: var(--font-body) !important; font-size: var(--step--1) !important; font-weight: 500 !important;
  letter-spacing: 0.2em !important; text-transform: uppercase !important; padding: 0.95rem 1.8rem !important;
  border-radius: var(--radius) !important; border: 1px solid var(--blush) !important;
  background: var(--blush) !important; color: var(--ink) !important; cursor: pointer; height: auto !important;
}
.eo-embed button:hover, .eo-embed [type="submit"]:hover { background: transparent !important; color: var(--blush) !important; }
.eo-embed a { color: var(--muted) !important; }
