/* ============================================
   MOSELY MEDIA LLC — Design System
   Palette: Soft stone + muted slate
   Type: Source Serif 4 (display) + Inter (body)
   ============================================ */

:root {
  /* Color tokens — soft stone + muted slate */
  --stone-50:  #faf8f4;
  --stone-100: #f3efe7;
  --stone-200: #e7e0d2;
  --stone-300: #d4c9b3;
  --stone-400: #a89b82;
  --stone-500: #7a7060;
  --stone-700: #4a4338;
  --stone-900: #2a251f;

  --slate-100: #e6ebf0;
  --slate-300: #9fb0c0;
  --slate-500: #5d7388;
  --slate-700: #3d4d5e;
  --slate-900: #1f2a36;

  --accent:        #5d7388;  /* muted slate */
  --accent-deep:   #3d4d5e;
  --accent-hover:  #4a5e72;

  /* Subtle warm accent — harmonizes with book cover, used sparingly */
  --ember:        #c84a1f;
  --ember-deep:   #a83b15;
  --ember-soft:   #f4ddd1;

  --br-red:   #b32a2f;       /* Between Rotations accent — used sparingly */
  --br-blue:  #1f3a5f;
  --br-deep:  #142540;

  --bg:        var(--stone-50);
  --bg-soft:   var(--stone-100);
  --bg-card:   #ffffff;
  --ink:       var(--stone-900);
  --ink-soft:  var(--stone-700);
  --ink-mute:  var(--stone-500);
  --rule:      var(--stone-200);

  /* Typography */
  --font-display: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs:   clamp(0.75rem, 0.72rem + 0.15vw, 0.85rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.2vw, 0.95rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
  --text-xl:   clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-2xl:  clamp(2rem, 1.6rem + 2vw, 3rem);
  --text-3xl:  clamp(2.5rem, 1.8rem + 3.5vw, 4.25rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(42, 37, 31, 0.06), 0 1px 3px rgba(42, 37, 31, 0.04);
  --shadow:    0 4px 12px rgba(42, 37, 31, 0.08), 0 1px 3px rgba(42, 37, 31, 0.06);
  --shadow-lg: 0 20px 40px rgba(42, 37, 31, 0.12), 0 4px 12px rgba(42, 37, 31, 0.08);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url('../images/bg-contour.png');
  background-size: 1600px auto;
  background-position: center top;
  background-repeat: repeat-y;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Soften the contour pattern so it whispers rather than shouts */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-deep); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 var(--space-4); }
hr { border: none; border-top: 1px solid var(--rule); margin: var(--space-12) 0; }

/* ===== Layout primitives ===== */
.container       { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-6); }
.section         { padding: clamp(var(--space-16), 8vw, var(--space-24)) 0; }
.section-sm      { padding: clamp(var(--space-12), 6vw, var(--space-20)) 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  max-width: var(--container);
  margin: 0 auto;
  gap: var(--space-8);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img {
  width: 36px;
  height: 44px;
  object-fit: contain;
  object-position: center;
}
.brand-text-stack { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text-stack small {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-main a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  position: relative;
  padding: var(--space-2) 0;
}
.nav-main a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.nav-main a:hover::after,
.nav-main a.active::after { width: 100%; }
.nav-main a.active { color: var(--ink); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-2);
  color: var(--ink);
}

@media (max-width: 880px) {
  .nav-main {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg);
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
  }
  .nav-main.open { transform: translateY(0); }
  .mobile-toggle { display: block; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--accent-deep);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ember {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
}
.btn-ember:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-soft);
}
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--accent-deep);
  padding: 0.65rem 0;
}
.btn-ghost:hover { color: var(--accent-hover); }
.btn-ghost::after { content: " →"; transition: transform 0.2s var(--ease); display: inline-block; }
.btn-ghost:hover::after { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ===== Hero ===== */
.hero {
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0 clamp(var(--space-16), 8vw, var(--space-24));
  background:
    radial-gradient(ellipse at top right, rgba(200, 74, 31, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, rgba(241, 236, 226, 0.55) 0%, rgba(250, 247, 242, 0.35) 100%);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-deep);
  margin-bottom: var(--space-4);
}
.hero h1 {
  font-size: clamp(2.25rem, 1.6rem + 3.5vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 16ch;
}
.hero-lead {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule);
  font-size: var(--text-sm);
  color: var(--ink-mute);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-book {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 2/3;
  box-shadow:
    0 30px 60px -15px rgba(42, 37, 31, 0.35),
    0 12px 25px -8px rgba(200, 74, 31, 0.15),
    -2px 0 0 0 rgba(0,0,0,0.08);
  border-radius: 2px 6px 6px 2px;
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease);
}
.hero-book:hover { transform: rotate(0deg) translateY(-4px); }
.hero-book::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, transparent 8%, transparent 95%, rgba(255,255,255,0.1) 100%);
  pointer-events: none;
}
.hero-book img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-book { max-width: 300px; margin: 0 auto; }
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: var(--space-8);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

/* ===== Section header ===== */
.section-head {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-12);
}
.section-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: var(--space-3);
}
.section-head p { color: var(--ink-soft); font-size: var(--text-lg); }

/* ===== Featured book block ===== */
.book-feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 4vw, var(--space-16));
  border: 1px solid var(--rule);
}
.book-cover-real {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: 2px 6px 6px 2px;
  box-shadow:
    0 25px 50px -12px rgba(42, 37, 31, 0.3),
    -2px 0 0 0 rgba(0,0,0,0.08);
  max-width: 360px;
  margin: 0 auto;
}
.book-cover-real img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-cover-real::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, transparent 8%, transparent 95%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}
.book-feature h2 { margin-top: 0; }
.book-feature .subtitle {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.book-feature .byline {
  font-size: var(--text-sm);
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
@media (max-width: 760px) {
  .book-feature { grid-template-columns: 1fr; }
  .book-cover-real { max-width: 280px; }
}

/* ===== Author intro on home (compact version) ===== */
.author-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.author-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.author-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
@media (max-width: 760px) {
  .author-intro { grid-template-columns: 1fr; }
  .author-portrait { max-width: 400px; margin: 0 auto; }
}

/* Compact author strip used on homepage */
.author-strip {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.author-strip-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.author-strip-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
@media (max-width: 640px) {
  .author-strip { grid-template-columns: 1fr; text-align: center; }
  .author-strip-photo { margin: 0 auto; width: 160px; height: 160px; }
}

/* ===== BR block ===== */
.br-feature {
  background: linear-gradient(180deg, var(--br-blue) 0%, var(--br-deep) 100%);
  color: var(--stone-100);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-12), 6vw, var(--space-24));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
  position: relative;
  overflow: hidden;
}
.br-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(179,42,47,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.br-feature h2 { color: #fff; position: relative; }
.br-feature p { color: rgba(255,255,255,0.85); position: relative; }
.br-feature .br-eyebrow {
  color: #e8b8ba;
  position: relative;
}
.br-feature .btn-primary {
  background: var(--br-red);
  border-color: var(--br-red);
}
.br-feature .btn-primary:hover { background: #c93338; border-color: #c93338; }
.br-feature .btn-secondary {
  color: #fff; border-color: rgba(255,255,255,0.4);
}
.br-feature .btn-secondary:hover { background: #fff; color: var(--br-deep); }
.br-logo-wrap {
  background: #fff;
  border-radius: 50%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}
.br-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.br-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: #fff;
  margin-top: var(--space-6);
  position: relative;
}
@media (max-width: 760px) {
  .br-feature { grid-template-columns: 1fr; }
}

/* ===== Newsletter ===== */
.newsletter {
  background: var(--stone-100);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.newsletter h2 { margin-top: 0; }
.newsletter p { color: var(--ink-soft); margin-bottom: var(--space-6); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-check-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-4); margin-top: var(--space-4);
  font-size: var(--text-sm); color: var(--ink-soft);
}
.form-check-row label { display: flex; align-items: center; gap: var(--space-2); cursor: pointer; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(93,115,136,0.15);
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
label.field-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ink-soft);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--stone-900);
  color: var(--stone-300);
  padding: var(--space-20) 0 var(--space-8);
  margin-top: var(--space-24);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img {
  width: 80px;
  height: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
  display: block;
}
.footer-brand p { color: var(--stone-300); font-size: var(--text-sm); line-height: 1.6; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-100);
  margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a {
  color: var(--stone-300);
  font-size: var(--text-sm);
}
.footer-col a:hover { color: #fff; }
.footer-br-logo {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  margin-bottom: var(--space-3);
}
.footer-bottom {
  max-width: var(--container);
  margin: var(--space-12) auto 0;
  padding: var(--space-6) var(--space-6) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--stone-400);
}
.footer-bottom a { color: var(--stone-400); }
.footer-bottom a:hover { color: var(--stone-100); }
.social-row { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.social-row a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--stone-300);
  transition: all 0.2s var(--ease);
}
.social-row a:hover { background: var(--stone-100); color: var(--stone-900); border-color: var(--stone-100); }

/* ===== Shop / product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-thumb {
  aspect-ratio: 1/1;
  background: var(--stone-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  color: var(--ink-mute);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.product-thumb img { max-width: 75%; max-height: 75%; object-fit: contain; }
.product-thumb .placeholder-label {
  position: absolute;
  bottom: var(--space-3);
  left: 0; right: 0;
  text-align: center;
  font-size: 0.65rem;
  color: var(--ink-mute);
}
.product-body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-bottom: var(--space-2);
}
.product-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  letter-spacing: 0;
}
.product-card .price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: auto;
  padding-top: var(--space-3);
}

/* ===== Collection chips ===== */
.chips {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-12);
}
.chip {
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 100px;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.chip:hover, .chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ===== Long-form pages (about, author, policy) ===== */
.prose {
  max-width: 65ch;
  margin: 0 auto;
}
.prose p, .prose ul, .prose ol { font-size: var(--text-base); line-height: 1.75; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: var(--space-2); }
.prose h2 { margin-top: var(--space-12); }
.prose h3 { margin-top: var(--space-8); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; font-size: var(--text-lg); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--space-2) var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--ink);
  margin: var(--space-8) 0;
}
.prose strong { color: var(--ink); }

/* Tag/badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.75rem;
  background: var(--ember-soft);
  color: var(--ember-deep);
  border-radius: 100px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--ember);
  border-radius: 50%;
}

/* ===== Page banner (subpage hero) ===== */
.page-banner {
  background: var(--stone-100);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0 clamp(var(--space-12), 6vw, var(--space-16));
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.page-banner .container { max-width: 760px; }
.page-banner h1 { margin-bottom: var(--space-4); }
.page-banner p { color: var(--ink-soft); font-size: var(--text-lg); margin: 0 auto; max-width: 52ch; }

/* ===== Book page detail ===== */
.book-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  margin-bottom: var(--space-20);
}
.book-detail .cover { position: sticky; top: 100px; }
.book-detail h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: var(--space-3); }
.book-detail .subtitle {
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-lg); color: var(--ink-soft);
  margin-bottom: var(--space-4);
}
.meta-grid {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  gap: var(--space-2) var(--space-6);
  font-size: var(--text-sm); margin: var(--space-6) 0;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.meta-grid dt { color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--text-xs); padding-top: 2px; margin: 0; }
.meta-grid dd { margin: 0; color: var(--ink); }
@media (max-width: 760px) {
  .book-detail { grid-template-columns: 1fr; }
  .book-detail .cover { position: static; max-width: 320px; margin: 0 auto; }
}

/* ===== BR page styles ===== */
.br-hero {
  background: linear-gradient(180deg, var(--br-blue) 0%, var(--br-deep) 100%);
  color: var(--stone-100);
  padding: clamp(var(--space-16), 8vw, var(--space-24)) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.br-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(179,42,47,0.15) 0%, transparent 60%);
}
.br-hero-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 var(--space-6); }
.br-hero h1 { color: #fff; }
.br-hero p { color: rgba(255,255,255,0.88); font-size: var(--text-lg); }
.br-hero .br-logo-large {
  width: 180px; height: 180px; margin: 0 auto var(--space-8);
  background: #fff; border-radius: 50%; padding: var(--space-3);
  box-shadow: var(--shadow-lg);
}
.br-tagline-strip {
  background: var(--br-red);
  color: #fff;
  text-align: center;
  padding: var(--space-6);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  letter-spacing: 0.02em;
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-mute); }
.small { font-size: var(--text-sm); }
.eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.alert {
  background: #fff8e6;
  border: 1px solid #e7d28b;
  border-left: 4px solid #b8860b;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin-bottom: var(--space-6);
}

/* Three-col responsive grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

/* Quote block */
.callout {
  background: var(--stone-100);
  border-left: 3px solid var(--accent);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--ink);
  margin: var(--space-8) 0;
}
.buy-button {
  display: inline-block;
  padding: 12px 20px;
  background-color: #c84a1f;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}

.buy-button:hover {
  opacity: 0.9;
}
