/* Krissa Laine – Author Website */
/* Calm Blue (parenting / family) — palette tuned to the book covers */
:root {
  --bg: #eef6fa;
  --ink: #1b3649;
  --muted: #5e7d92;
  --accent: #3596b8;
  --accent-dark: #1e7594;
  --line: #d2e4ed;
  --card: #ffffff;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-heading: "Quicksand", "Open Sans", sans-serif;
}
 
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
 
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 18px;
}
 
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
 
header { border-bottom: 1px solid var(--line); background: var(--card); }
 
.nav {
  max-width: 960px; margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
 
.brand { font-size: 1.35rem; font-family: var(--font-heading); font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.brand a { color: var(--ink); }
.brand a:hover { text-decoration: none; color: var(--accent); }
 
nav ul { list-style: none; display: flex; gap: 1.75rem; }
nav a { color: var(--muted); font-size: 0.95rem; letter-spacing: 0.03em; font-family: var(--font-heading); font-weight: 500; }
nav a:hover { color: var(--accent); text-decoration: none; }
nav a.active { color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
 
main { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem; }
 
.hero { text-align: center; padding: 4rem 1.5rem 3rem; }
.hero h1 { font-size: 2.6rem; font-family: var(--font-heading); font-weight: 600; margin-bottom: 1.5rem; letter-spacing: -0.01em; }
 
.portrait {
  display: block; width: 190px; height: 190px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 1.5rem;
  border: 5px solid var(--card); box-shadow: 0 6px 20px rgba(53, 150, 184, 0.22);
}
 
.hero .tagline { color: var(--muted); font-style: italic; font-size: 1.2rem; margin-bottom: 2rem; }
 
.hero blockquote {
  max-width: 560px; margin: 2.5rem auto; padding: 1.5rem 2rem;
  border-left: 4px solid var(--accent);
  text-align: left; font-style: italic; color: var(--ink); background: var(--card);
  border-radius: 0 12px 12px 0;
}
 
h1, h2, h3 { font-weight: 600; font-family: var(--font-heading); color: var(--ink); }
h1 { font-size: 2.1rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.55rem; margin: 2.5rem 0 1rem; color: var(--accent-dark); }
h3 { font-size: 1.22rem; margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1.25rem; }
 
.cta {
  display: inline-block; padding: 0.85rem 1.9rem;
  background: var(--accent); color: #fff;
  border-radius: 12px; margin-top: 1rem;
  letter-spacing: 0.04em; font-size: 0.95rem;
  font-family: var(--font-heading); font-weight: 600;
}
.cta:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
 
.post { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.post:last-child { border-bottom: none; }
.post h2 { margin-top: 0.25rem; }
.post h2 a { color: var(--ink); }
.post h2 a:hover { color: var(--accent); text-decoration: none; }
.post .excerpt { color: var(--muted); }
 
.contact-info {
  background: var(--card); padding: 2rem;
  border: 1px solid var(--line); margin: 2rem 0;
  border-radius: 12px;
}
.contact-info p { margin-bottom: 0.75rem; }
 
.book-section { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.book-section > h2 { text-align: center; margin-bottom: 0.4rem; }
.book-section > .section-intro { text-align: center; color: var(--muted); margin-bottom: 1rem; }
.book {
  display: flex; gap: 2.5rem; align-items: flex-start; margin-top: 2rem;
  background: var(--card); padding: 2rem; border: 1px solid var(--line);
  border-radius: 14px;
}
.book-cover { width: 200px; height: auto; flex-shrink: 0; box-shadow: 0 6px 20px rgba(0,0,0,0.15); border-radius: 4px; }
.book-info { flex: 1; }
.book-title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.book-subtitle { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.book-description { color: var(--muted); margin-bottom: 1.5rem; }
.book-buy-label { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }
 
.retailers { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.retailer {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; height: 56px; padding: 0 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: var(--ink); font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
}
.retailer:hover {
  border-color: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-2px); text-decoration: none; color: var(--accent-dark);
}
.retailer-logo { max-height: 32px; max-width: 130px; object-fit: contain; }
 
footer {
  border-top: 1px solid var(--line); padding: 2rem 1.5rem;
  text-align: center; color: var(--muted); font-size: 0.9rem;
  margin-top: 4rem; background: var(--card);
}
footer a { color: var(--muted); }
 
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .nav { flex-direction: column; text-align: center; }
  nav ul { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
  main { padding: 2rem 1.25rem; }
  .portrait { width: 150px; height: 150px; }
  .book { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; }
  .book-cover { width: 170px; }
  .retailers { justify-content: center; }
}
