/* Southwark Publishing — classic literary style */
:root {
  --cream: #faf6ee;
  --ink: #2b2620;
  --deep: #3d2b1f;
  --accent: #8b2e2e;
  --accent-dark: #6e2424;
  --gold: #b08d3e;
  --muted: #7a7166;
  --rule: #d9d0c0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
header {
  border-bottom: 3px double var(--rule);
  background: var(--cream);
  padding: 1.75rem 0 1.25rem;
  text-align: center;
}
.site-title {
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep);
  text-decoration: none;
}
.site-title:hover { color: var(--deep); }
.tagline {
  font-style: italic;
  color: var(--muted);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}
nav { margin-top: 1rem; }
nav a {
  text-decoration: none;
  color: var(--ink);
  margin: 0 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav a:hover, nav a.active { color: var(--accent); border-bottom: 1px solid var(--accent); }

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  border-bottom: 1px solid var(--rule);
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: normal;
  color: var(--deep);
  margin-bottom: 1rem;
}
.hero p {
  max-width: 580px;
  margin: 0 auto;
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Sections */
section { padding: 3rem 0; }
.section-heading {
  text-align: center;
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--deep);
  margin-bottom: 0.4rem;
}
.section-heading::after {
  content: "❦";
  display: block;
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 0.6rem;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2.5rem;
}

/* Book grid */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.book {
  background: #fffdf8;
  border: 1px solid var(--rule);
  padding: 1.75rem;
  text-align: center;
}
.book-cover {
  width: 150px;
  height: 225px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(160deg, var(--deep), #5a4030);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  border: 1px solid var(--gold);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.08);
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book h3 { font-weight: normal; font-size: 1.15rem; color: var(--deep); margin-bottom: 0.3rem; }
.book .author { font-size: 0.9rem; color: var(--muted); font-style: italic; margin-bottom: 0.75rem; }
.book .blurb { font-size: 0.92rem; margin-bottom: 1.25rem; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--cream);
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--accent-dark); color: var(--cream); }

/* Blog */
.post-list { list-style: none; max-width: 680px; margin: 0 auto; }
.post-list li {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
}
.post-list h3 { font-weight: normal; font-size: 1.3rem; }
.post-list h3 a { color: var(--deep); text-decoration: none; }
.post-list h3 a:hover { color: var(--accent); }
.post-date { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.post-excerpt { margin-top: 0.5rem; font-size: 0.95rem; }

/* Article */
article { max-width: 680px; margin: 0 auto; padding: 3rem 1.5rem; }
article h1 { font-weight: normal; font-size: 2rem; color: var(--deep); margin-bottom: 0.3rem; }
article .post-date { margin-bottom: 2rem; display: block; }
article p { margin-bottom: 1.2rem; }
article p:first-of-type::first-letter {
  font-size: 3.2rem;
  float: left;
  line-height: 1;
  padding-right: 0.5rem;
  color: var(--accent);
}

/* Signup */
.signup {
  background: var(--deep);
  color: var(--cream);
  text-align: center;
  padding: 3rem 1.5rem;
}
.signup h2 { font-weight: normal; font-size: 1.5rem; margin-bottom: 0.5rem; }
.signup p { font-style: italic; opacity: 0.85; margin-bottom: 1.5rem; }
.signup form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.signup input[type="email"] {
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--gold);
  background: var(--cream);
  color: var(--ink);
  width: 280px;
  max-width: 100%;
}

/* Footer */
footer {
  border-top: 3px double var(--rule);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  nav a { margin: 0 0.6rem; }
}
