:root {
    --deep-red: #4A0E17;
    --gold: #C9A24B;
    --gold-bright: #F0DBA0;
    --cream: #FAF5EC;
    --ink: #2A1912;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { font-family: 'Lora', serif; background: var(--cream); color: var(--ink); line-height: 1.8; }
  h1, h2, .display { font-family: 'Playfair Display', serif; }

  header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 6%;
  }
  .header-logo { height: 78px; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45)); }
  nav { display: flex; gap: 34px; align-items: center; }
  nav a {
    color: var(--gold-bright);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  nav a:hover { color: #fff; }
  nav a.active { border-bottom: 1px solid var(--gold); padding-bottom: 4px; }
  .nav-cta { border: 1.5px solid var(--gold); padding: 10px 24px; color: var(--gold-bright) !important; }
  .nav-cta:hover { background: var(--gold); color: var(--deep-red) !important; }

  .pagehero {
    position: relative;
    background: var(--deep-red);
    padding-bottom: 60px;
  }
  .pagehero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/texture-red-cloud.jpg');
    background-size: cover;
    background-position: center;
  }
  .pagehero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 70px;
    background: linear-gradient(100deg, #7A5A1E 0%, var(--gold) 35%, var(--gold-bright) 55%, var(--gold) 75%, #7A5A1E 100%);
    clip-path: polygon(0 55%, 100% 15%, 100% 100%, 0% 100%);
  }
  .pagehero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 110px 6% 50px;
    text-align: center;
  }
  .pagehero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 700;
    letter-spacing: 0.03em;
    background: linear-gradient(180deg, #FBF0D6 0%, var(--gold-bright) 55%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .philosophy {
    max-width: 720px;
    margin: 0 auto;
    padding: 90px 6% 30px;
  }
  .philosophy p {
    font-size: 17.5px;
    color: #3a2820;
    margin-bottom: 26px;
  }
  .philosophy p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 74px;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 8px 10px 0 0;
    color: #6B1622;
  }

  .books-section {
    background: #F0E6D3;
    padding: 80px 6%;
    margin-top: 40px;
  }
  .books-section h2 {
    text-align: center;
    font-size: 30px;
    color: #6B1622;
    margin-bottom: 50px;
  }
  .books-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 40px;
  }
  .book-card {
    background: #fff;
    padding: 34px 30px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 4px 18px rgba(74,14,23,0.08);
  }
  .book-card h3 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 21px;
    color: var(--deep-red);
    margin-bottom: 14px;
    line-height: 1.3;
  }
  .book-card p {
    font-size: 15px;
    color: #4a352c;
    margin-bottom: 18px;
  }
  .book-card img.cover { display: block; width: 190px; max-width: 70%; height: auto; margin: 0 auto 26px; box-shadow: 0 8px 22px rgba(74,14,23,0.28); }
  .book-card .cover-soon { width: 190px; max-width: 70%; aspect-ratio: 2 / 3; margin: 0 auto 26px; background: linear-gradient(160deg, #6B1622 0%, #4A0E17 100%); border: 2px solid var(--gold); box-shadow: 0 8px 22px rgba(74,14,23,0.28); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
  .book-card .cover-soon .cs-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 26px; color: #F0DBA0; line-height: 1.15; }
  .book-card .cover-soon .cs-note { margin-top: 14px; font-family: 'Playfair Display', serif; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #C9A24B; }
  .book-card p.book-meta { font-size: 14px; color: #8a7350; margin: -6px 0 14px; letter-spacing: 0.02em; }
  .book-card .badge {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 3px 10px;
    margin-bottom: 16px;
  }
  .book-card a.buy {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--deep-red);
    text-decoration: none;
    border-bottom: 1px solid var(--deep-red);
    padding-bottom: 2px;
  }
  .book-card .buy-note {
    font-size: 12.5px;
    color: #9a8b6f;
    font-style: italic;
    margin-top: 8px;
  }

  footer { background: var(--ink); color: #cbb89a; text-align: center; padding: 40px 5%; font-size: 14px; }

  @media (max-width: 860px) {
    header { padding: 18px 6%; }
    .header-logo { height: 58px; }
    nav { display: none; }
    .pagehero-inner { padding-top: 120px; }
  }

/* wider banner so the title sits on one line on desktop */
.pagehero-inner { max-width: 1200px; }
.pagehero .intro { max-width: 640px; margin-left: auto; margin-right: auto; }
.book-card .buy-soon {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 14px;
  color: #8a7a5c;
}
