/* Danielle DePue — Waking Summer author site
   Starter stylesheet. Teal gradient + silver, crescent-moon motif.
   Danielle (and her dad) can tinker freely — change colors, fonts, layout. */

:root {
  --teal-deep: #0f3d3e;      /* night grove */
  --teal: #1d6f6b;           /* cover teal */
  --teal-pale: #e9f3f1;
  --silver: #c9ced4;         /* silver title */
  --charcoal: #2b2f33;       /* text */
  --cream: #faf7f0;          /* page light */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
}

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--silver);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.brand {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: .06em;
}
.nav a {
  color: var(--silver);
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: .95rem;
}
.nav a:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(180deg, var(--teal-pale), var(--cream));
}
.hero h1 {
  font-size: 3rem;
  margin: .5rem 0 0;
  letter-spacing: .04em;
  color: var(--teal-deep);
}
.subtitle { font-size: 1.2rem; margin-top: .25rem; }
.crescent { width: 64px; opacity: .85; }
.crescent.small { width: 40px; }

.hero-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  text-align: left;
}
.cover {
  width: 280px;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(15, 61, 62, .35);
}
.hero-cta { max-width: 380px; }
.blurb-slot { font-style: italic; color: #5a6268; }

/* ---------- sections ---------- */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.section h2 {
  color: var(--teal-deep);
  font-size: 1.7rem;
  border-bottom: 2px solid var(--silver);
  padding-bottom: .35rem;
}
.series-note { font-style: italic; }

.about-row {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.author-photo {
  width: 180px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(15, 61, 62, .25);
}

/* ---------- signup ---------- */
.signup {
  background: var(--teal-deep);
  color: var(--cream);
  max-width: none;
}
.signup .section-inner, .signup { text-align: center; }
.signup h2 { color: var(--silver); border-bottom-color: var(--teal); }
.signup form {
  display: flex;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.signup input[type="email"] {
  padding: .7rem .9rem;
  font-size: 1rem;
  border: 1px solid var(--silver);
  border-radius: 4px;
  min-width: 260px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover { background: var(--teal-deep); }

/* ---------- footer ---------- */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--teal-deep);
  color: var(--silver);
}
.site-footer p { margin: .3rem 0; }

.note {
  font-size: .85rem;
  color: #8a9298;
  font-style: italic;
}
.signup .note { color: #9fb3ae; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .cover { width: 220px; }
  .hero-row { text-align: center; }
}
