*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  color: #1f1f1f;
  background: #fff;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 0 40px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  letter-spacing: 0.05em;
}
nav a {
  display: inline-block;
  padding: 18px 16px;
  text-decoration: none;
  color: #1f1f1f;
  transition: color .2s;
}
nav a:hover { color: #e21c21; }

/* HERO */
.hero {
  position: relative;
  background: url('background1.jpg') center/cover no-repeat;
  min-height: 720px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: #fff;
  padding: 80px 20px;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 200;
  font-size: 56px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero .subtitle {
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero .books-line {
  font-family: 'Work Sans', sans-serif;
  font-size: 19px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero blockquote {
  max-width: 700px;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.hero .attribution {
  margin-top: 12px;
  font-weight: bold;
  font-size: 16px;
}

/* SECTIONS */
.section {
    margin: 0 auto;
    padding: 60px 30px;
}

.section h2 {
  font-family: 'Spinnaker', sans-serif;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 16px;
}
.section-divider {
  width: 60%;
  border: none;
  border-top: 2px solid #375998;
  margin: 0 auto 40px;
}

/* BOOKS */
.books-section {
    background: #c2d4f6;
}
.book {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  align-items: flex-start;
}
.book-cover { flex-shrink: 0; width: 192px; }
.book-cover img { width: 100%; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.book-info { flex: 1; }
.book-info h3 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 14px;
}
.buy-btn {
  display: inline-block;
  background: #fed301;
  color: #1f1f1f;
  padding: 10px 28px;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  text-align: center;
}
.buy-btn:hover { background: #e6be00; }
.book-center { text-align: center; }

.review {
  font-size: 18px;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 16px;
}
.review .source {
  color: #375998;
  font-weight: bold;
  font-style: normal;
}

/* SINCE YOU ASKED / HOW I BECAME A WRITER */
.writer-section {
    background: #fff0aa;
}
.writer-block {
    max-width: 820px;
  margin: 0 auto;
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 350;
  font-size: 16px;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 30px;
}
.writer-block .lead { color: #e21c21; }
.writer-block img {
  float: left;
  margin: 0 20px 10px 0;
  width: 140px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.writer-block img.right {
  float: right;
  margin: 0 0 10px 20px;
}
.writer-block::after { content: ''; display: table; clear: both; }
.writer-divider {
  width: 50%;
  border: none;
  border-top: 1px solid #aaa;
  margin: 30px auto;
}
.big-quote {
  font-family: 'EB Garamond', serif;
  font-size: 80px;
  color: #1f1f1f;
  line-height: 0.5;
  text-align: center;
  margin: 20px 0 10px;
}

/* BIO */
.bio-section {
    background: #c2d4f6;
}
.bio-content {
    max-width: 820px;
    margin: 0 auto;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.05em;
}
.bio-content p {
    margin-bottom: 14px;
}
.bio-photo {
  width: 453px;
  max-width: 100%;
  margin: 0 32px 16px 0;
  float: left;
}
.bio-books {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 30px;
}
.bio-books img {
    height: 184px;
    width: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.bio-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 34px;
  text-align: right;
  margin-top: 30px;
}

/* CONTACT */
.contact-section {
  text-align: center;
}
.contact-text {
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 14px;
}
.contact-email {
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.contact-email a { color: #375998; }
.social-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 20px 0;
}
.social-bar img { width: 27px; height: 27px; }

/* FOOTER */
footer {
  margin-bottom: 240px;
  text-align: center;
  padding: 20px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #666;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .hero h1 { font-size: 42px; }
  .hero .books-line { font-size: 15px; }
  .book { flex-direction: column; align-items: center; text-align: center; }
  .book-cover { width: 160px; }
  .bio-photo { width: 100%; }
  .bio-books img { height: 140px; }
  nav { flex-wrap: wrap; justify-content: center; padding: 0 10px; }
  nav a { padding: 12px 10px; font-size: 14px; }
}
