/* BradleyWilliams Press starter site */

:root {
  --bg: #f5f2ec;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #68635b;
  --gold: #a98750;
  --line: #ded8ce;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 780px;
}

.site-header {
  background: #171717;
  border-bottom: 1px solid #2b2b2b;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 260px;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: #d6bd90;
}

.hero {
  padding: 110px 0 100px;
  background: linear-gradient(180deg, #181818 0%, #25221f 100%);
  color: #fff;
}

.hero-inner {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  max-width: 900px;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 700px;
  font-size: 1.12rem;
  color: #dedbd5;
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  text-decoration: none;
  background: #fff;
  color: #171717;
  padding: 13px 22px;
  border-radius: 3px;
  font-weight: 700;
}

.books-section,
.about-section,
.contact-section {
  padding: 88px 0;
}

.section-heading {
  margin-bottom: 36px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.book-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.book-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  background: #eee;
}

.book-card-body {
  padding: 24px;
}

.book-card-body p {
  color: var(--muted);
}

.book-type {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0;
  color: var(--gold) !important;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.about-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-section p,
.contact-section p {
  font-size: 1.05rem;
  color: var(--muted);
}

.placeholder-note {
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #eee8de;
}

footer {
  background: #171717;
  color: #d5d1ca;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0 18px;
  }

  .brand img {
    width: 220px;
  }

  nav {
    gap: 16px;
  }

  .hero {
    padding: 75px 0;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    max-width: 520px;
  }
}
