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

:root {
  --gold: #7C4DCC;
  --gold-light: #A87EE8;
  --deep: #0F0A1E;
  --warm: #F0EDFB;
  --rust: #3B5FCC;
  --sage: #2E4A8A;
  --cream: #F5F2FC;
  --text: #1A1030;
  --muted: #5A4E7A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: rgba(245,242,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124,77,204,0.2);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.hero-left {
  background: var(--deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 4rem 4rem 5rem;
  position: relative;
  z-index: 2;
}
.hero-left::after {
  content: '';
  position: absolute; top: 0; right: -60px; bottom: 0;
  width: 120px;
  background: var(--deep);
  clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
  z-index: 3;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--gold);
  color: var(--deep);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, transform 0.2s;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); }
.hero-cta svg { transition: transform 0.2s; }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-cta-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.hero-cta-secondary:hover { background: rgba(212,175,55,0.1); color: var(--gold-light); border-color: var(--gold-light); }

.hero-right {
  background: linear-gradient(135deg, #C4B5F0 0%, #7C4DCC 50%, #2E1A6E 100%);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-cross {
  position: absolute;
  width: 280px; height: 380px;
  opacity: 0.12;
}
.hero-cross::before, .hero-cross::after {
  content: '';
  position: absolute;
  background: var(--deep);
  border-radius: 4px;
}
.hero-cross::before { width: 40px; height: 100%; left: 50%; transform: translateX(-50%); top: 0; }
.hero-cross::after { height: 40px; width: 100%; top: 30%; left: 0; }

.hero-verse {
  position: relative; z-index: 2;
  text-align: center;
  padding: 3rem;
  opacity: 0;
  animation: fadeIn 1.2s 1s forwards;
}
.verse-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.verse-ref {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.35); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 10;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
}

/* ── CATEGORIES STRIP ── */
.categories {
  background: var(--gold);
  padding: 1.2rem 3rem;
  display: flex; align-items: center; gap: 0; overflow: hidden;
}
.cat-track {
  display: flex; gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.cat-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--deep);
}
.cat-dot { width: 4px; height: 4px; background: var(--deep); border-radius: 50%; }

/* ── FEATURED POSTS ── */
.section { padding: 6rem 5rem; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--deep);
}
.section-link {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
}
.section-link:hover { color: var(--rust); }

.posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5px;
  background: rgba(124,77,204,0.15);
}
.post-card {
  background: var(--cream);
  position: relative; overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.post-card:hover { transform: scale(1.01); z-index: 2; }
.post-card.featured { grid-row: span 1; }
.post-thumb {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative; overflow: hidden;
}
.post-card.featured .post-thumb { aspect-ratio: 4/3; }
.post-body { padding: 1.5rem; }
.post-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.7rem;
  color: #fff;
}
.tag-faith { background: #3B5FCC; }
.tag-healing { background: #7C4DCC; }
.tag-family { background: #5B3FAA; }
.tag-homeschool { background: #2A6BAA; }
.tag-trauma { background: #8B3A6B; }
.tag-character { background: #1A4A6E; }
.tag-christlike { background: #A87EE8; }
.post-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.post-card.featured .post-title { font-size: 1.1rem; }
.post-card:not(.featured) .post-title { font-size: 1.1rem; }
.post-excerpt {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}
.post-card .post-excerpt { display: none; }
.post-meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.post-meta-dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

/* thumbnail gradients */
.bg1 { background: linear-gradient(135deg, #3B1A8A 0%, #7C4DCC 100%); }
.bg2 { background: linear-gradient(135deg, #1A3A6E 0%, #3B5FCC 100%); }
.bg3 { background: linear-gradient(135deg, #2E1A6E 0%, #5B3FAA 100%); }
.bg4 { background: linear-gradient(135deg, #1A2E5A 0%, #2E6BAA 100%); }

.thumb-icon { font-size: 2.5rem; opacity: 0.6; }

/* ── ABOUT ── */
.about-section {
  background: var(--deep);
  padding: 6rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '"';
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: 40rem;
  line-height: 1;
  color: rgba(124,77,204,0.04);
  top: -5rem; left: -2rem;
  pointer-events: none;
}
.about-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.about-title em { color: var(--gold-light); font-style: italic; }
.about-bio {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
}
.about-topics {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2rem;
}
.topic-pill {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(124,77,204,0.4);
  color: var(--gold-light);
  text-transform: uppercase;
}
.about-portrait {
  position: relative;
  width: 80%;
  margin-left: auto;
}
.portrait-frame {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(145deg, #A87EE8 0%, #7C4DCC 40%, #0F0A1E 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.portrait-frame::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(124,77,204,0.5);
  font-size: 5rem;
  opacity: 0.4;
}
.portrait-photo {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-caption {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: linear-gradient(135deg, #A87EE8 0%, #7C4DCC 60%, #0F0A1E 100%);
  text-align: center;
}
.portrait-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.portrait-sub {
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.about-corner-ornament {
  position: absolute; top: -12px; right: -12px;
  width: 60px; height: 60px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
}
.about-corner-ornament-bl {
  position: absolute; bottom: -12px; left: -12px;
  width: 60px; height: 60px;
  border-bottom: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
}

/* ── PRAYER BOX ── */
.prayer-wrapper {
  display: flex;
  justify-content: center;
  padding: 3rem 2rem 0;
}
.prayer-box {
  width: 80%;
  background: linear-gradient(135deg, #1A4A6E 0%, #2A6A9E 100%);
  border-radius: 8px;
  padding: 2.5rem 3rem;
  text-align: center;
}
.prayer-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
}
.prayer-text {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin: 0 auto;
  text-align: center;
  max-width: 600px;
}

/* ── SCRIPTURE BANNER ── */
.scripture-banner {
  padding: 5rem;
  background: var(--warm);
  text-align: center;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.scripture-banner::before, .scripture-banner::after {
  content: '✦';
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); opacity: 0.4;
}
.scripture-banner::before { left: 3rem; }
.scripture-banner::after { right: 3rem; }
.scripture-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-style: italic;
  font-weight: 700;
  color: var(--deep);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}
.scripture-ref {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--rust);
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  padding: 3rem 5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 2px solid rgba(124,77,204,0.3);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 900;
  color: #fff;
}
.footer-logo span { color: var(--gold); }
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.footer-verse {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ── POST CONTENT ── */
.post-content p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 1.6rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 7rem 2rem 3rem; min-height: 60vh; }
  .hero-left::after { display: none; }
  .hero-right { min-height: 40vh; }
  .section { padding: 4rem 2rem; }
  .posts-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .post-card.featured { grid-row: span 1; }
  .about-section { grid-template-columns: 1fr; padding: 4rem 2rem; gap: 3rem; }
  .about-portrait { max-width: 320px; margin: 0 auto; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
  .scripture-banner { padding: 3rem 2rem; }
  .scripture-banner::before, .scripture-banner::after { display: none; }
}

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 2.8rem 0 1.1rem;
  color: var(--text);
}
.post-content ul,
.post-content ol {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1.8rem;
  padding-left: 1.6rem;
}
.post-content li { margin-bottom: 0.4rem; }

/* ── SITE IMPROVEMENTS: books, email, author, nav ── */
.back-link { font-size:0.8rem; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--gold); text-decoration:none; display:inline-block; margin-bottom:2rem; }
.nav-books { color: var(--gold) !important; font-weight: 700 !important; }
.nav-toggle { display:none; background:none; border:0; cursor:pointer; padding:0.4rem; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--deep); margin:5px 0; border-radius:2px; }

.price-badge { display:inline-block; font-size:0.75rem; font-weight:700; letter-spacing:0.05em; padding:0.25rem 0.7rem; border-radius:999px; margin-right:0.5rem; vertical-align:middle; }
.price-free { background:#1E7A4C; color:#fff; }
.price-paid { background:var(--gold); color:#fff; }
.price-soon { background:var(--warm); color:var(--muted); border:1px solid rgba(124,77,204,0.3); }
.card-badges { margin-bottom:0.6rem; }
.book-meta-line { display:flex; flex-wrap:wrap; align-items:center; gap:0.5rem; margin-bottom:2rem; }
.book-byline { font-size:0.85rem; color:var(--muted); font-style:italic; }
.section-intro { font-family:'Lora',serif; font-size:1.05rem; line-height:1.8; color:var(--muted); max-width:720px; margin:0 0 2.5rem; }

.get-book { text-align:center; margin:1.8rem 0; padding:1.6rem; background:var(--warm); border:1px solid rgba(124,77,204,0.2); border-radius:10px; }
.get-book-price { margin:0 0 1rem; }
.get-book-price .price-badge { font-size:1.05rem; padding:0.35rem 1rem; }
.get-book-format { font-size:0.85rem; color:var(--muted); }
.buy-button { display:inline-block; background:var(--gold); color:#fff !important; font-weight:700; text-decoration:none !important; padding:0.9rem 1.8rem; border-radius:999px; }
.buy-button:hover { background:var(--gold-light); }

.email-form { max-width:480px; margin:0 auto; text-align:left; }
.email-form-label { display:block; font-size:0.9rem; font-weight:600; color:var(--text); margin-bottom:0.5rem; text-align:center; }
.email-form-row { display:flex; gap:0.5rem; flex-wrap:wrap; }
.email-form-row input { flex:1 1 220px; padding:0.8rem 1rem; font-size:1rem; border:1px solid rgba(124,77,204,0.35); border-radius:999px; font-family:inherit; }
.email-form-row button { flex:0 0 auto; background:var(--gold); color:#fff; border:0; font-weight:700; font-size:0.95rem; padding:0.8rem 1.4rem; border-radius:999px; cursor:pointer; font-family:inherit; }
.email-form-row button:hover { background:var(--gold-light); }
.email-form-row button:disabled { opacity:0.6; }
.email-form-note { font-size:0.78rem; color:var(--muted); margin:0.6rem 0 0; text-align:center; }
.email-form-success { font-weight:600; color:#1E7A4C; text-align:center; margin:0.5rem 0 0; }
.email-form-hp { position:absolute; left:-9999px; }

.author-box { display:flex; gap:1.5rem; align-items:center; margin:3.5rem 0 0; padding:1.8rem; background:var(--warm); border-radius:10px; border:1px solid rgba(124,77,204,0.2); }
.author-box-photo, .author-strip-photo { flex:0 0 110px; width:110px; height:110px; border-radius:50%; overflow:hidden; }
.author-box-photo img, .author-strip-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.author-box-label { font-size:0.72rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin:0 0 0.2rem; }
.author-box-name { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:700; color:var(--text); margin:0 0 0.4rem; }
.author-box-bio { font-family:'Lora',serif; font-size:0.95rem; line-height:1.7; color:var(--muted); margin:0 0 0.6rem; }
.author-box-more a { color:var(--gold); font-weight:600; text-decoration:none; font-size:0.9rem; }
.author-strip { display:flex; gap:1.5rem; align-items:center; margin:0 0 2rem; max-width:720px; }

.social-links { display:flex; gap:1rem; flex-wrap:wrap; margin-top:0.6rem; }
.social-links a { display:inline-flex; align-items:center; gap:0.4rem; color:var(--gold); text-decoration:none; font-size:0.85rem; font-weight:600; }
footer .social-links a, .about-social .social-links a { color:var(--gold-light); }
.footer-links { display:flex; gap:1.5rem; flex-wrap:wrap; }
.footer-links a { color:rgba(255,255,255,0.75); text-decoration:none; font-size:0.85rem; }

.book-promo { margin:3.5rem 0 0; }
.book-promo-label { font-size:0.72rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:var(--gold); margin:0 0 0.3rem; }
.book-promo-title { font-family:'Playfair Display',serif; font-size:1.6rem; color:var(--text); margin:0 0 1.2rem; }
.book-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.book-card { display:block; background:#fff; border:1px solid rgba(124,77,204,0.18); border-radius:10px; overflow:hidden; text-decoration:none; transition:transform 0.2s, box-shadow 0.2s; }
.book-card:hover { transform:translateY(-3px); box-shadow:0 8px 20px rgba(15,10,30,0.12); }
.book-card-thumb { aspect-ratio:4/3; background:var(--warm); overflow:hidden; }
.book-card-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.book-card-body { padding:0.9rem; }
.book-card-title { font-family:'Playfair Display',serif; font-size:1rem; line-height:1.3; color:var(--text); margin:0.5rem 0 0.3rem; }
.book-card-format { font-size:0.78rem; color:var(--muted); margin:0; }
.book-promo-all a { display:inline-block; margin-top:1.2rem; color:var(--gold); font-weight:600; text-decoration:none; }

.newsletter { background:linear-gradient(135deg,#1A4A6E 0%,#2A6A9E 100%); padding:3.5rem 2rem; }
.newsletter-inner { max-width:620px; margin:0 auto; text-align:center; color:#fff; }
.newsletter-label { font-size:0.72rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase; color:rgba(255,255,255,0.75); margin:0 0 0.4rem; }
.newsletter-title { font-family:'Playfair Display',serif; font-size:clamp(1.4rem,3vw,2rem); margin:0 0 0.6rem; color:#fff; }
.newsletter-text { font-family:'Lora',serif; color:rgba(255,255,255,0.85); margin:0 0 1.4rem; }
.newsletter .email-form-label { position:absolute; left:-9999px; }
.newsletter .email-form-success { color:#fff; }

@media (max-width: 900px) {
  .nav-toggle { display:block; }
  .nav-links.open { display:flex; flex-direction:column; gap:1.1rem; position:absolute; top:100%; left:0; right:0; background:rgba(245,242,252,0.98); padding:1.4rem 1.5rem; border-bottom:1px solid rgba(124,77,204,0.2); }
  .book-grid { grid-template-columns:1fr 1fr; }
  .author-box, .author-strip { flex-direction:column; text-align:center; }
  .author-box .social-links { justify-content:center; }
  .footer-links { justify-content:center; }
  footer .social-links { justify-content:center; }
}
@media (max-width: 520px) { .book-grid { grid-template-columns:1fr; } }
.post-content .get-book p { margin:0; line-height:1.5; }
.post-content .get-book .get-book-price { margin-bottom:1rem; }
.post-content .email-form-note { font-family:'DM Sans',sans-serif; font-size:0.78rem; color:var(--muted); margin-top:0.6rem; line-height:1.5; }
.post-content .email-form-success { font-size:0.95rem; margin-top:0.5rem; }

/* Author photo in the About section: smaller */
.about-portrait { width: 100%; max-width: 300px; margin: 0 auto; }
@media (max-width: 900px) { .about-portrait { max-width: 240px; } }
