/* Fiona Vale — fionavale.com */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #fbf4ec;
  --cream-deep: #f5e8dc;
  --blush: #f8dcd6;
  --blush-soft: #fceeea;
  --rose: #d8476b;
  --rose-deep: #b8395a;
  --teal: #7fcfc7;
  --teal-deep: #3f9a92;
  --navy: #1f2a4c;
  --ink: #3a3340;
  --muted: #7a6f78;
  --gold: #e6bd66;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(184, 57, 90, 0.14);
  --radius: 22px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; color: var(--navy); line-height: 1.15; font-weight: 600; }
.script { font-family: "Allura", cursive; font-weight: 400; color: var(--rose); }
.eyebrow {
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep);
}

.wrap { width: min(1120px, 92vw); margin: 0 auto; }
section { padding: 5rem 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .85rem 1.9rem; border-radius: 999px;
  font-weight: 800; font-size: .9rem; letter-spacing: .04em; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-rose { background: var(--rose); color: var(--white); box-shadow: 0 8px 20px rgba(216,71,107,.28); }
.btn-rose:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn-ghost { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { background: var(--teal-deep); color: var(--white); transform: translateY(-2px); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,244,236,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216,71,107,.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; }
.nav-logo { text-decoration: none; font-family: "Allura", cursive; font-size: 2.2rem; color: var(--rose); line-height: 1; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-weight: 800; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; position: relative; padding: .3rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--rose); transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4rem 0 5rem; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 12% 20%, rgba(127,207,199,.28), transparent 38%),
    radial-gradient(circle at 88% 80%, rgba(248,220,214,.9), transparent 45%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-family: "Allura", cursive; font-weight: 400; color: var(--rose); font-size: clamp(4rem, 9vw, 7rem); line-height: .95; margin: .4rem 0 .6rem; }
.hero .tagline { font-family: "Playfair Display", serif; font-size: clamp(1.25rem, 2.3vw, 1.7rem); color: var(--navy); font-style: italic; margin-bottom: 1.2rem; }
.hero p.lead { max-width: 34rem; font-size: 1.1rem; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-photo img { border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.hero-photo::after {
  content: ""; position: absolute; inset: -14px; z-index: -1;
  border-radius: 52% 48% 54% 46% / 45% 55% 45% 55%;
  background: linear-gradient(135deg, var(--teal), var(--blush));
  opacity: .7;
}
.heart {
  position: absolute; font-size: 1.6rem; color: var(--rose); opacity: .55;
  animation: floaty 5s ease-in-out infinite;
}
.heart.h1 { top: -10px; right: 10px; }
.heart.h2 { bottom: 20px; left: -18px; animation-delay: 1.5s; font-size: 1.1rem; }
.heart.h3 { top: 40%; right: -26px; animation-delay: 2.7s; font-size: 1.3rem; color: var(--teal-deep); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-6deg);} 50% { transform: translateY(-10px) rotate(6deg);} }

/* ---------- featured book ---------- */
.featured { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: center; }
.cover-frame { position: relative; }
.cover-frame img { border-radius: 10px; box-shadow: 0 25px 50px rgba(31,42,76,.28); transform: rotate(-2.5deg); transition: transform .3s ease; }
.cover-frame:hover img { transform: rotate(0) scale(1.02); }
.badge {
  position: absolute; top: -14px; right: -14px; background: var(--rose); color: var(--white);
  font-weight: 800; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  padding: .55rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(216,71,107,.35);
}
.feature-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: .3rem 0 .4rem; }
.feature-copy .series-line { font-style: italic; color: var(--muted); margin-bottom: 1.2rem; }
.feature-copy p { margin-bottom: 1rem; }
.trope-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; }
.trope {
  background: var(--blush-soft); color: var(--rose-deep); border: 1px solid rgba(216,71,107,.25);
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 999px;
}
.trope.teal { background: rgba(127,207,199,.18); color: var(--teal-deep); border-color: rgba(63,154,146,.3); }
.buy-row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- series strip ---------- */
.series { background: linear-gradient(180deg, var(--cream) 0%, var(--blush-soft) 100%); text-align: center; }
.series h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: .4rem 0 .8rem; }
.series .intro { max-width: 40rem; margin: 0 auto 2.5rem; }
.series-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: center; text-align: left; }
.series-grid img { border-radius: 14px; box-shadow: var(--shadow); }
.trope-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.trope-cloud div {
  background: var(--white); border-radius: 14px; padding: 1rem; text-align: center;
  font-family: "Playfair Display", serif; font-weight: 600; color: var(--navy); font-size: 1rem;
  box-shadow: 0 6px 18px rgba(31,42,76,.06); border-bottom: 3px solid var(--blush);
  transition: transform .2s ease;
}
.trope-cloud div:hover { transform: translateY(-4px); border-bottom-color: var(--rose); }
.trope-cloud div span { display: block; font-family: "Nunito", sans-serif; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-deep); font-weight: 800; margin-bottom: .2rem; }

/* ---------- promise ---------- */
.promise { background: var(--navy); color: var(--cream); text-align: center; padding: 4rem 0; }
.promise h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1rem; }
.promise p { max-width: 42rem; margin: 0 auto; opacity: .9; }
.promise .script { color: var(--teal); font-size: 2.6rem; display: block; margin-bottom: .3rem; }

/* ---------- newsletter ---------- */
.newsletter { background: var(--blush-soft); }
.news-card {
  background: var(--white); border-radius: var(--radius); padding: 3rem; text-align: center;
  box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; position: relative; overflow: hidden;
}
.news-card::before { content: "♥"; position: absolute; font-size: 12rem; color: var(--blush); right: -1.5rem; top: -3rem; opacity: .6; line-height: 1; pointer-events: none; }
.news-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: .3rem 0 .6rem; position: relative; }
.news-card p { max-width: 34rem; margin: 0 auto 1.5rem; position: relative; }
.news-form { display: flex; gap: .6rem; max-width: 480px; margin: 0 auto; position: relative; }
.news-form input {
  flex: 1; padding: .85rem 1.1rem; border-radius: 999px; border: 2px solid var(--blush);
  font-family: inherit; font-size: .95rem; background: var(--cream);
}
.news-form input:focus { outline: none; border-color: var(--rose); }
.news-form button { border: 0; cursor: pointer; font-family: inherit; }
.news-note { font-size: .78rem; color: var(--muted); margin-top: .9rem; }

/* ---------- books page ---------- */
.page-head { text-align: center; padding: 4rem 0 2rem; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: .3rem 0 .6rem; }
.page-head p { max-width: 40rem; margin: 0 auto; }
.book-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 2.8rem; align-items: start;
  background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}
.book-card img { border-radius: 8px; box-shadow: 0 18px 36px rgba(31,42,76,.22); }
.book-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .2rem 0 .3rem; }
.book-card .meta { color: var(--muted); font-style: italic; margin-bottom: 1rem; }
.book-card p { margin-bottom: .9rem; }
.coming-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.coming-card {
  border: 2px dashed rgba(216,71,107,.35); border-radius: 16px; padding: 1.6rem 1.2rem; text-align: center;
  background: rgba(255,255,255,.55);
}
.coming-card .num { font-family: "Allura", cursive; font-size: 2.4rem; color: var(--rose); line-height: 1; }
.coming-card strong { display: block; color: var(--navy); font-family: "Playfair Display", serif; margin: .3rem 0; }
.coming-card small { color: var(--muted); }

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 3.5rem; align-items: start; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.about-copy p { margin-bottom: 1.1rem; }
.checklist { list-style: none; margin: 1.5rem 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 700; color: var(--navy); }
.checklist li::before { content: "✓"; color: var(--white); background: var(--rose); border-radius: 50%; width: 1.4rem; height: 1.4rem; flex: none; display: grid; place-items: center; font-size: .8rem; margin-top: .25rem; }
.fun-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.fact { background: var(--white); border-radius: 16px; padding: 1.4rem; box-shadow: 0 8px 22px rgba(31,42,76,.06); }
.fact .script { font-size: 1.9rem; display: block; line-height: 1; margin-bottom: .3rem; }
.fact p { font-size: .95rem; margin: 0; }
.socials { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 800; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--white);
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(31,42,76,.12); transition: all .18s;
}
.socials a:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }
.socials svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- footer ---------- */
footer { background: var(--cream-deep); padding: 3rem 0 2rem; text-align: center; border-top: 1px solid rgba(216,71,107,.12); }
.footer-logo { font-family: "Allura", cursive; font-size: 2.6rem; color: var(--rose); line-height: 1; margin-bottom: .6rem; }
.footer-tag { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--teal-deep); margin-bottom: 1.2rem; }
.footer-links { display: flex; justify-content: center; gap: 1.6rem; list-style: none; margin-bottom: 1rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: .85rem; }
.footer-links a:hover { color: var(--rose); }
.footer-social { display: flex; justify-content: center; gap: .9rem; margin-bottom: 1.2rem; }
.footer-social a { color: var(--navy); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); transition: all .18s; }
.footer-social a:hover { background: var(--rose); color: var(--white); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-copy { font-size: .8rem; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .feature-grid, .series-grid, .book-card, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { text-align: center; }
  .hero p.lead, .hero-cta { margin-left: auto; margin-right: auto; justify-content: center; }
  .hero-photo { order: -1; width: min(70vw, 340px); }
  .cover-frame { max-width: 280px; margin: 0 auto 1rem; }
  .series-grid { text-align: center; }
  .series-grid img { max-width: 260px; margin: 0 auto; }
  .trope-cloud { grid-template-columns: repeat(2, 1fr); }
  .book-card img { max-width: 240px; margin: 0 auto; }
  .book-card { text-align: center; }
  .book-card .buy-row, .socials { justify-content: center; }
  .about-grid img { max-width: 360px; margin: 0 auto; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: fixed; inset: 0; background: rgba(251,244,236,.98);
    flex-direction: column; justify-content: center; align-items: center; gap: 2rem; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .news-form { flex-direction: column; }
  section { padding: 3.5rem 0; }
  .news-card { padding: 2rem 1.4rem; }
}
