/* =========================================================================
   FRANCKLIN PIERRE — Books Page
   Same design tokens as the rest of the site.
   ========================================================================= */

:root{
  --bg-deep:      #05070d;
  --bg-navy-1:    #0d1424;
  --bg-navy-2:    #0a0f1c;
  --glow-a:       rgba(31,58,110,0.50);
  --glow-b:       rgba(20,40,70,0.32);

  --gold:         #c9962f;
  --gold-light:   #e3b768;
  --gold-deep:    #a9781f;

  --cream:        #f7f3ea;
  --cream-deep:   #efe8d8;
  --ink:          #171a24;
  --ink-soft:     #4d5266;

  --white:        #ffffff;
  --muted:        #929aad;
  --border-soft:  rgba(255,255,255,0.08);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script:  'Dancing Script', cursive;

  --radius-card: 16px;
  --radius-pill: 30px;
  --shadow-card: 0 14px 30px rgba(0,0,0,0.28);
  --container: 1180px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html{ background: var(--bg-deep); }
body{ margin:0; }

.fp-page{
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 82% 4%,  var(--glow-a), transparent 60%),
    radial-gradient(760px 520px at 8% 28%,  var(--glow-b), transparent 65%),
    linear-gradient(180deg, var(--bg-navy-1) 0%, var(--bg-deep) 55%, #04060b 100%) !important;
  background-repeat: no-repeat !important;
  font-family: var(--font-body);
  color: var(--white);
  line-height:1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: var(--gold-light); text-decoration:none; }
a:hover{ color: var(--gold); }
h1,h2,h3{ font-family: var(--font-display); margin:0; }
.container{ max-width: var(--container); margin:0 auto; padding: 0 40px; }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------- */
/* Header (identical across the site — logo + socials, no menu)            */
/* ---------------------------------------------------------------------- */
.site-header{ padding: 26px 0 6px;
  background: var(--bg-navy-1);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand .monogram{
  width:42px; height:42px; border-radius:10px; flex-shrink:0;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-deep));
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:800; color:#1a1200; font-size:16px;
}
.brand-name{ font-size:14px; letter-spacing:3px; font-weight:600; }
.header-tools{ display:flex; align-items:center; gap:20px; }
.social{ display:flex; gap:10px; align-items:center; }
.social a{
  width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(201,150,47,0.5);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold-light);
}
.social svg{ width:16px; height:16px; }

@media (max-width: 600px){
  .site-header .container{ flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .brand{ flex: 0 0 100%; justify-content: center; }
  .header-tools{ flex: 0 0 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------- */
/* Page intro                                                              */
/* ---------------------------------------------------------------------- */
.page-intro{ padding: 30px 0 8px;
  background: var(--bg-navy-1);
}
.eyebrow{
  font-size:12.5px; letter-spacing:3px; font-weight:700; text-transform:uppercase;
  color: var(--gold-light); margin-bottom:8px;
}
.page-intro h1{
  font-weight:800; font-size:34px; line-height:1.2; letter-spacing:0.2px;
  margin-bottom: 10px;
}
.page-intro p{
  font-size:15.5px; color: var(--muted); max-width: 58ch; line-height:1.6;
}

/* ---------------------------------------------------------------------- */
/* Book list                                                                */
/* ---------------------------------------------------------------------- */
.books-section{ padding: 30px 0 60px; }

.book-row{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 8px 0;
}
.book-thumb{
  width: 200px; height: 200px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-navy-2);
  flex-shrink: 0;
}
.book-thumb img{ width:100%; height:100%; object-fit:cover; }

.book-content{ padding-top: 4px; }
.book-tag{
  display:inline-block;
  font-size:11px; letter-spacing:1.6px; text-transform:uppercase; font-weight:700;
  color: var(--gold-light);
  background: rgba(201,150,47,0.12);
  border: 1px solid rgba(201,150,47,0.35);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.book-title{
  font-weight:800; font-size:26px; line-height:1.15; margin-bottom:6px;
}
.book-subtitle{
  font-family: var(--font-display); font-style: italic; font-weight:500;
  font-size:14.5px; color: var(--muted); margin-bottom:14px; line-height:1.5;
}
.book-summary{
  font-size:14.5px; line-height:1.65; color:#c9cedb; max-width: 62ch;
  margin-bottom: 20px;
}
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; }
.cta{
  display:inline-flex; align-items:center; gap:9px;
  font-weight:700; font-size:12.5px; letter-spacing:0.4px;
  padding: 11px 20px; border-radius: var(--radius-pill);
  border:none; cursor:pointer;
}
.cta svg{ width:15px; height:15px; }
.cta-primary{
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color:#241a02;
}
.cta-primary:hover{ filter: brightness(1.06); color:#241a02; }
.cta-secondary{
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-soft);
}
.cta-secondary:hover{ border-color: var(--gold-deep); color: var(--gold-light); }
.cta-secondary.is-disabled{ opacity: 0.5; cursor: not-allowed; }

.book-separator{
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 40px 0;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer{
  text-align:center; margin-top:20px; padding: 26px 0 40px;
  font-size:12px; color: var(--muted);
}
.site-footer a{ color: var(--muted); margin:0 8px; }
.site-footer a:hover{ color: var(--gold-light); }

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px){
  .container{ padding: 0 24px; }
}

@media (max-width: 640px){
  .book-row{ grid-template-columns: 1fr; }
  .book-thumb{ width: 140px; height: 140px; margin: 0 auto; }
  .book-content{ text-align: center; }
  .book-summary{ margin-left:auto; margin-right:auto; }
  .cta-row{ justify-content: center; }
}

@media (max-width: 520px){
  .container{ padding:0 18px; }
  .page-intro h1{ font-size:26px; }
  .book-title{ font-size:22px; }
  .cta{ flex: 1 1 auto; justify-content:center; }
}
