/* rachelcohenbooth.com — shared styles */

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

:root {
  --cream: #FAF7F2;
  --ink: #1f1c18;
  --muted: #6b6259;
  --accent: #D85A30;
  --accent-dark: #b9491f;
  --rule: #e7e0d6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

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

.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- header / nav ---------- */

header.site {
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
}

.site-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.4rem 0;
}

.site-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.site-name:hover { text-decoration: none; color: var(--accent); }

nav.site ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
}

nav.site a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
nav.site a:hover { color: var(--accent); text-decoration: none; }
nav.site a[aria-current="page"] {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- main ---------- */

main { flex: 1; padding: 3rem 0 4rem; }

h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

p + p { margin-top: 1em; }

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn.ghost:hover { background: var(--accent); color: #fff; }

/* ---------- homepage hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 2rem 0 3rem;
}

.hero h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 0.5rem; }

.hero .role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero .bio { max-width: 34em; color: var(--muted); font-size: 1.1rem; }

.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-cover img {
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0 18px 45px rgba(31, 28, 24, 0.22);
  border-radius: 3px;
}

/* ---------- newsletter strip ---------- */

.newsletter {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}
.newsletter h2 { margin-top: 0; }
.newsletter p { color: var(--muted); max-width: 40em; margin: 0 auto 1.25rem; }
.newsletter iframe { margin: 0 auto; max-width: 100%; }

/* ---------- book page ---------- */

.book-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 3.5rem;
  align-items: start;
}
.book-grid img {
  box-shadow: 0 18px 45px rgba(31, 28, 24, 0.22);
  border-radius: 3px;
}
.pub-date {
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.retailers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0;
}
.retailers a {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
}
.retailers a:hover { background: var(--accent); color: #fff; text-decoration: none; }

.praise { list-style: none; margin: 1.75rem 0; }
.praise blockquote {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent);
}
.praise blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.praise cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-grid img { border-radius: 6px; }

/* ---------- journalism / media lists ---------- */

.clips { list-style: none; }
.clips li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.clips a { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.clips a:hover { color: var(--accent); }
.clips .meta {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
.clips .meta .pub { color: var(--accent); font-weight: 700; }

.clips-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1.25rem;
}
.clips-grid a { display: block; color: var(--ink); }
.clips-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(31, 28, 24, 0.14);
  margin-bottom: 0.75rem;
}
.clips-grid a:hover img { box-shadow: 0 8px 20px rgba(31, 28, 24, 0.22); }
.clips-grid .clip-headline {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--ink);
}
.clips-grid a:hover .clip-headline { color: var(--accent); }
.clips-grid .meta {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.35rem;
}
.clips-grid .meta .pub { color: var(--accent); font-weight: 700; }

@media (max-width: 800px) {
  .clips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .clips-grid { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-list { list-style: none; }
.contact-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.contact-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.signal-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
}
.signal-card img { max-width: 220px; margin: 1rem auto; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--rule);
  padding: 2.25rem 0;
  text-align: center;
}

.socials {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.1rem;
}
.socials a {
  color: var(--muted);
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: #fff;
}
.socials a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.colophon { font-size: 0.85rem; color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 800px) {
  .hero, .book-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .hero-cover { order: -1; }
  .hero-cover img { max-width: 250px; }
  .about-grid img { max-width: 260px; }
  main { padding: 2rem 0 3rem; }
}
