/* Granth Book Press: ivory paper, navy and oxblood. Newsreader for headings, Public Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBF8F0; --surface: #FFFFFF; --soft: #F1EADA; --ink: #1B1B22; --muted: #565665; --line: #E4DCC8; --line-strong: #C9BE9F;
  --brand: #1C2B4A; --brand-hover: #111D35; --brand-ink: #FFFFFF; --brand-text: #1C2B4A;
  --eyebrow: #7A1F2B; --badge-bg: #7A1F2B; --badge-ink: #FFFFFF;
  --out-bg: #1C2B4A; --out-ink: #FBF8F0; --out-accent: #E3C46F; --out-btn: #E3C46F; --out-btn-ink: #1B1B22;
  --head: "Newsreader", Georgia, serif; --body: "Public Sans", system-ui, sans-serif;
  --radius: 2px; --radius-lg: 3px; --btn-radius: 2px; --wrap: 1140px; --gap: 26px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.12; }
h1 em { color: var(--eyebrow); font-weight: 500; }
.btn { font-weight: 600; letter-spacing: .03em; }
.eyebrow { letter-spacing: .16em; font-size: .76rem; }
.ic { color: var(--brand); }

/* masthead: a slim top line, then a double-ruled header with small-caps navigation */
.topbar { background: var(--brand); color: #D8DEEA; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topbar a { color: #E3C46F; font-weight: 700; text-decoration: none; }
@media (max-width: 600px) { .topbar span { display: none; } .topbar .wrap { justify-content: center; } }
.header { background: var(--bg); border-bottom: 1px solid var(--ink); box-shadow: 0 4px 0 -1px var(--bg), 0 5px 0 -1px var(--ink); margin-bottom: 6px; }
.header > .wrap { min-height: 82px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; }
.logo span { display: grid; line-height: 1; }
.logo b { font: 700 1.9rem var(--head); letter-spacing: -.02em; }
.logo small { font: 600 .7rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav a { font-variant: small-caps; font-weight: 700; letter-spacing: .08em; font-size: 1.02rem; border-radius: 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--eyebrow); box-shadow: inset 0 -2px 0 var(--eyebrow); background: transparent; }
@media (max-width: 420px) { .logo small { display: none; } }

/* hero: kicker line, headline and an open book */
.bp-hero { padding-block: clamp(28px, 5vw, 64px); }
.bp-kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 10px; border-block: 1px solid var(--ink); font: 700 .74rem var(--body); letter-spacing: .16em; text-transform: uppercase; margin-bottom: clamp(24px, 4vw, 44px); }
.bp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .bp-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.bp-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: 18px; }
.bp-hero .lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.bp-hero .t-actions { margin-top: 26px; }
.bp-book { margin: 0; border: 1px solid var(--ink); padding: 10px; background: #fff; }
.bp-book svg { width: 100%; height: auto; }
.bp-book figcaption { padding-top: 8px; font: italic .86rem var(--head); color: var(--muted); text-align: center; }
.bp-rule { padding-block: 0; }
.bp-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 3px double var(--ink); }
@media (max-width: 760px) { .bp-facts { grid-template-columns: 1fr 1fr; } }
.bp-facts li { padding: 18px 16px; display: grid; gap: 2px; border-right: 1px solid var(--line-strong); }
.bp-facts li:last-child { border-right: 0; }
@media (max-width: 760px) { .bp-facts li:nth-child(2) { border-right: 0; } .bp-facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); } }
.bp-facts b { font: 700 1.5rem var(--head); color: var(--eyebrow); } .bp-facts span { color: var(--muted); font-size: .92rem; }
.bp-band { background: var(--soft); border-block: 1px solid var(--line-strong); }
.c-card { border-color: var(--ink); border-radius: 0; background: #fff; }
.c-badge { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.c-filters button { border-radius: 0; font-variant: small-caps; font-weight: 700; letter-spacing: .06em; }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-head { padding-block: clamp(30px, 5vw, 56px); text-align: center; border-bottom: 3px double var(--ink); margin-bottom: clamp(24px, 4vw, 44px); }
.page-head .lede { margin-inline: auto; }
.numbers-band { background: var(--brand); color: #fff; } .numbers b { color: #E3C46F; } .numbers span { color: #C9D2E6; }
.tool-out { border-radius: 0; }
.book-preview { border: 1px solid rgba(255,255,255,.25); } .book-preview svg { width: 100%; height: auto; }
.inline-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; } .inline-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--eyebrow); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); } .cta-band p { margin-top: 6px; color: #F0D2D6; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); } .cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.footer { background: var(--brand); color: #C9D2E6; --footer-line: rgba(255,255,255,.18); }
.footer .logo b { color: #fff; } .footer .logo small { color: #C9D2E6; } .footer h2 { color: #E3C46F; font-size: 1.05rem; }
.f-about { margin-top: 12px; max-width: 34ch; } .footer .credit a { color: #E3C46F; }
