/* ============================================================
   Walker Press — Book Page Styles
   Editorial design system · extends style.css
   ============================================================ */

/* ── SHARED EYEBROW / TITLE / LEAD ────────────────────────── */
.bp-eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
}
.bp-eyebrow-row--center { justify-content: center; }
.bp-eyebrow-line {
  width: 64px; height: 2px;
  background: var(--red);
}
.bp-eyebrow {
  font-size: 16px; font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--red-soft);
}

.bp-section-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 22px;
}
.bp-section-title--center { text-align: center; }
.bp-section-title em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--red-soft);
}

.bp-section-lead {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.74);
  max-width: 620px;
}
.bp-section-lead--center {
  text-align: center;
  margin: 0 auto;
  max-width: 580px;
}

/* ── HERO ──────────────────────────────────────────────────── */
.bp-hero {
  position: relative;
  margin-top: calc(var(--marquee-h) + var(--header-h));
  padding: 100px 0 120px;
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 60%, var(--dark-3) 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.bp-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.030) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.bp-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 500px at 15% 20%, rgba(192,57,43,0.22), transparent 60%),
    radial-gradient(900px 400px at 90% 80%, rgba(36,113,163,0.16), transparent 60%);
  pointer-events: none;
}

.bp-hero-split {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 62%);
  gap: 60px;
  align-items: center;
}

/* cover */
.bp-hero-cover {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bp-hero-cover img {
  max-width: 140%;
  max-height: 700px;
  width: auto;
  height: auto;
  transition: transform 0.4s ease;
}
.bp-hero-cover img:hover {
  transform: translateY(-4px);
}

/* info */
.bp-hero-info {
  max-width: 640px;
}
.bp-hero-eyebrow-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.bp-hero-eyebrow-line {
  width: 64px; height: 2px;
  background: var(--red);
}
.bp-hero-eyebrow {
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.26em;
  color: var(--red-soft);
}
.bp-hero-title {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 24px;
}
.bp-hero-title em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--red-soft);
}
.bp-hero-lead {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 560px;
}

.bp-hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.bp-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  background: linear-gradient(135deg, #ff9900, #ffad33);
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255,153,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.bp-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,153,0,0.50);
}
.bp-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  border: 2px solid transparent;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(192,57,43,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.bp-cta-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(192,57,43,0.45);
}

/* ── EXAM OVERVIEW ────────────────────────────────────────── */
.bp-overview {
  position: relative;
  padding: 110px 0 120px;
  background: linear-gradient(180deg, #0f1730 0%, #131c38 50%, #0f1730 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bp-overview::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.030) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.bp-overview::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 50% 30%, rgba(192,57,43,0.14), transparent 65%);
  pointer-events: none;
}
.bp-overview > .container { position: relative; z-index: 2; }

.bp-overview-head {
  max-width: 720px;
  margin-bottom: 64px;
}

/* spec cards */
.bp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

/* single-exam variant — centered card */
.bp-spec-grid--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.bp-spec-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 1px solid rgba(255,255,255,0.20);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 18px 40px -14px rgba(0,0,0,0.55);
  overflow: hidden;
}
.bp-spec-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
}

.bp-spec-card-inner {
  padding: 32px 28px 28px;
}

.bp-spec-heading {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.bp-spec-list {
  list-style: none;
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 3px;
  overflow: hidden;
}
.bp-spec-list li {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.bp-spec-list li + li {
  border-left: 1px solid rgba(255,255,255,0.10);
}
.bp-spec-list strong {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

/* domain bars */
.bp-spec-domains-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.bp-spec-domains ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bp-spec-domains li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
}
.bp-spec-domains li strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--red-soft);
  text-align: right;
}
.bp-domain-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  width: var(--w);
  min-width: 8px;
}

/* roles */
.bp-roles {
  max-width: 720px;
}
.bp-roles-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.bp-roles-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.bp-roles-list li {
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
}
.bp-roles-rec {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.bp-roles-rec a {
  color: var(--red-soft);
  font-style: normal;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-top: 6px;
  transition: color 0.2s;
}
.bp-roles-rec a:hover { color: #fff; }

/* ── BONUS TOOLS ──────────────────────────────────────────── */
.bp-tools {
  position: relative;
  padding: 110px 0 120px;
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 60%, var(--dark-3) 100%);
  color: #fff;
  overflow: hidden;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}
.bp-tools::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.030) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.bp-tools::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 20% 20%, rgba(192,57,43,0.18), transparent 60%),
    radial-gradient(800px 420px at 85% 80%, rgba(36,113,163,0.16), transparent 60%);
  pointer-events: none;
}
.bp-tools > .container { position: relative; z-index: 2; }

.bp-tools-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.bp-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* tool card — illuminated tile */
.bp-tool-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 1px solid rgba(255,255,255,0.20);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  padding: 36px 28px 28px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 18px 40px -14px rgba(0,0,0,0.55);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.bp-tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform 0.4s ease;
}
.bp-tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 28px 56px -16px rgba(0,0,0,0.70);
}
.bp-tool-card:hover::before { transform: scaleX(1); }

/* wide variant (for mock exams — spans 2 cols) */
.bp-tool-card--wide {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

.bp-tool-num {
  position: absolute;
  top: 14px; right: 16px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red-soft);
}

.bp-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(192,57,43,0.18), rgba(231,76,60,0.08));
  border-radius: 12px;
  border: 1px solid rgba(192,57,43,0.20);
}
.bp-tool-icon svg {
  width: 30px; height: 30px;
}

.bp-tool-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.bp-tool-card p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  margin-bottom: 22px;
}

.bp-tool-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  border: 2px solid transparent;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(192,57,43,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.bp-tool-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(192,57,43,0.45);
}

/* per-tool CTA colors — muted, desaturated, on-brand */
.bp-tool-card:nth-child(1) .bp-tool-cta {
  background: linear-gradient(135deg, #1b3a54, #1f4a6a);
  border-color: rgba(36,113,163,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.bp-tool-card:nth-child(1) .bp-tool-cta:hover {
  border-color: rgba(36,113,163,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.40);
}

.bp-tool-card:nth-child(2) .bp-tool-cta {
  background: linear-gradient(135deg, #163d2b, #1a4f35);
  border-color: rgba(30,132,73,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.bp-tool-card:nth-child(2) .bp-tool-cta:hover {
  border-color: rgba(30,132,73,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.40);
}

.bp-tool-card:nth-child(3) .bp-tool-cta {
  background: linear-gradient(135deg, #2e1a42, #3d2556);
  border-color: rgba(125,60,152,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.bp-tool-card:nth-child(3) .bp-tool-cta:hover {
  border-color: rgba(125,60,152,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.40);
}

.bp-tool-card:nth-child(4) .bp-tool-cta {
  background: linear-gradient(135deg, #3d2a12, #4e3618);
  border-color: rgba(180,110,40,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.bp-tool-card:nth-child(4) .bp-tool-cta:hover {
  border-color: rgba(180,110,40,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.40);
}

.bp-tool-card:nth-child(5) .bp-tool-cta {
  background: linear-gradient(135deg, #3a1a16, #4d221c);
  border-color: rgba(192,57,43,0.35);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.bp-tool-card:nth-child(5) .bp-tool-cta:hover {
  border-color: rgba(192,57,43,0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.40);
}

/* ── BONUS TOOLS PREVIEW (teaser on book index) ──────────── */
/* Non-clickable editorial list — uses .philo-principle from style.css
   for a consistent manifesto-style layout (roman numerals + title + copy). */
.bp-tools-list {
  max-width: 720px;
  margin: 0 auto;
}

/* ── OTHER CERTIFICATIONS ─────────────────────────────────── */
.bp-others {
  position: relative;
  padding: 100px 0 110px;
  background: linear-gradient(180deg, #0f1730 0%, #131c38 50%, #0f1730 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bp-others::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.bp-others > .container { position: relative; z-index: 2; }

.bp-others-head {
  margin-bottom: 48px;
}

.bp-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.bp-others-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 32px 20px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.bp-others-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
}
.bp-others-card img {
  max-height: 180px;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.50);
  transition: transform 0.35s;
}
.bp-others-card:hover img {
  transform: translateY(-3px);
}
.bp-others-card-info {
  text-align: center;
}
.bp-others-card-info strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.bp-others-card-info span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-soft);
}

/* ── REVIEW CTA ───────────────────────────────────────────── */
.bp-review {
  position: relative;
  padding: 110px 0 120px;
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 60%, var(--dark-3) 100%);
  color: #fff;
  overflow: hidden;
  border-bottom: 3px solid var(--red);
}
.bp-review::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.bp-review::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 460px at 50% 30%, rgba(192,57,43,0.14), transparent 65%);
  pointer-events: none;
}

.bp-review-inner {
  position: relative; z-index: 2;
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.bp-review-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 13px 36px;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;
  background: linear-gradient(135deg, #ff9900, #ffad33);
  border: 2px solid transparent;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(255,153,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.bp-review-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,153,0,0.50);
}
.bp-review-cta-arrow {
  font-size: 18px;
  transition: transform 0.3s;
}
.bp-review-cta:hover .bp-review-cta-arrow {
  transform: translateX(4px);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .bp-hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .bp-hero-cover { order: -1; }
  .bp-hero-cover img { max-height: 340px; }
  .bp-hero-info { max-width: 100%; }
  .bp-hero-eyebrow-row { justify-content: center; }
  .bp-hero-ctas { justify-content: center; }
  .bp-hero-lead { margin-left: auto; margin-right: auto; }

  .bp-spec-grid { grid-template-columns: 1fr; }
  .bp-tools-grid { grid-template-columns: 1fr; }
  .bp-tool-card--wide { max-width: 100%; }
}

@media (max-width: 720px) {
  .bp-hero { padding: 80px 0 90px; }
  .bp-overview { padding: 80px 0 90px; }
  .bp-tools { padding: 80px 0 90px; }
  .bp-others { padding: 70px 0 80px; }
  .bp-review { padding: 80px 0 90px; }

  .bp-hero-cover img { max-height: 280px; }

  .bp-others-grid { grid-template-columns: 1fr; max-width: 320px; }

  .bp-spec-domains li {
    grid-template-columns: 60px 1fr auto;
    font-size: 11.5px;
  }
}

@media (max-width: 540px) {
  .bp-hero-ctas { flex-direction: column; align-items: stretch; }
  .bp-hero-ctas .bp-cta-primary,
  .bp-hero-ctas .bp-cta-ghost { text-align: center; justify-content: center; }
}
