/* ============================================================
   The Discipline Advantage / Dan Case
   Design system — palette and type aligned with the book cover.

   Palette:
     - Cream background (warmer than off-white) matches cover
     - Deep navy primary (matches book title)
     - Warm gold accent (matches book accents)
     - Generous whitespace, restrained color use

   Typography:
     - Georgia for display + body (cohesive, serious, matches book)
     - System sans for UI labels and small metadata
     - Strong hierarchy through size + weight, not color

   Layout:
     - 1080px max content width
     - 8px base spacing unit
     - Mobile-first responsive
   ============================================================ */

:root {
  /* Surface colors */
  --cream:        #f5efe5;
  --cream-light:  #faf6ef;
  --card:         #ffffff;

  /* Brand */
  --navy:         #0F2A4A;
  --navy-deep:    #08182d;
  --navy-soft:    #e6ecf2;
  --gold:         #B8924A;
  --gold-deep:    #8B6914;
  --gold-soft:    #f5ecd9;

  /* Type */
  --ink:          #1a1a1a;
  --ink-soft:     #4a4a4a;
  --ink-faint:    #6a6a6a;

  /* Lines */
  --rule:         #d8d2c5;
  --rule-strong:  #b8b0a0;

  /* Effects */
  --shadow-sm:    0 1px 2px rgba(15, 42, 74, 0.04), 0 2px 4px rgba(15, 42, 74, 0.04);
  --shadow-md:    0 1px 3px rgba(15, 42, 74, 0.06), 0 6px 16px rgba(15, 42, 74, 0.06);
  --shadow-lg:    0 4px 12px rgba(15, 42, 74, 0.10), 0 16px 40px rgba(15, 42, 74, 0.08);

  /* Type stacks */
  --serif:        Georgia, 'Times New Roman', serif;
  --sans:         -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono:         'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--serif);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Defensive: prevent any rogue element from causing horizontal scroll on
     narrow viewports, and make long unbroken strings (URLs, etc.) wrap
     instead of forcing the page wider than the screen.
     `overflow-x: clip` (instead of hidden) so the sticky header still works. */
  overflow-x: clip;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:hover { color: var(--gold-deep); }

::selection {
  background: var(--gold-soft);
  color: var(--navy-deep);
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 38px; font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
  display: inline-block;
  max-width: 100%;
}

.lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-style: italic;
}

p { margin-bottom: 16px; }

.section-intro {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.55;
}

blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-style: normal;
  font-family: var(--sans);
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* ============================================================
   Site header / navigation
   ============================================================ */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.5) blur(8px);
  background-color: rgba(245, 239, 229, 0.92);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover { color: var(--gold-deep); }

.brand .brand-mark {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: var(--sans);
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.site-nav a:hover { color: var(--gold-deep); }

.site-nav a.current {
  color: var(--gold-deep);
}

.site-nav a.current::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--gold-deep);
  border-radius: 1px;
}

.nav-cta {
  background: var(--navy);
  color: var(--cream-light) !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--navy-deep);
  color: var(--cream-light) !important;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream-light);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--cream-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream-light);
  transform: translateY(-1px);
}

.btn-text {
  background: transparent;
  color: var(--gold-deep);
  border-color: transparent;
  padding: 14px 0;
  font-weight: 700;
}

/* Coming-soon button — visually present, intentionally non-clickable */
.btn-soon {
  background: rgba(184, 146, 74, 0.08);
  color: var(--ink-faint);
  border-color: var(--rule-strong);
  cursor: default;
  position: relative;
  padding-left: 40px;
}

.btn-soon:hover {
  background: rgba(184, 146, 74, 0.08);
  color: var(--ink-faint);
  border-color: var(--rule-strong);
  transform: none;
  box-shadow: none;
}

.btn-soon::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.18);
}

.cta-band .btn-soon {
  background: rgba(245, 239, 229, 0.06);
  color: rgba(245, 239, 229, 0.55);
  border-color: rgba(245, 239, 229, 0.22);
}

.cta-band .btn-soon::before {
  background: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(245, 236, 217, 0.14);
}

/* Notify-me button (Books Two & Three pre-launch). Real link, gold accent. */
.btn-notify {
  background: rgba(184, 146, 74, 0.10);
  color: var(--navy);
  border-color: var(--gold);
  position: relative;
  padding-left: 40px;
}
.btn-notify:hover {
  background: rgba(184, 146, 74, 0.18);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(184, 146, 74, 0.35);
}
.btn-notify::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.22);
  animation: notify-pulse 2.4s ease-in-out infinite;
}
@keyframes notify-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(184, 146, 74, 0.12); }
}
.cta-band .btn-notify {
  background: rgba(245, 239, 229, 0.08);
  color: var(--cream);
  border-color: var(--gold-soft);
}
.cta-band .btn-notify::before {
  background: var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(245, 236, 217, 0.18);
}
.footer-notify {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.footer-notify:hover {
  color: var(--gold-deep, var(--gold));
  text-decoration: underline;
}

.btn-text:hover { color: var(--navy); }

.btn-text::after {
  content: " →";
  transition: margin-left 0.15s;
}

.btn-text:hover::after { margin-left: 4px; }

.btn-large {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================================
   Sections
   ============================================================ */

section {
  padding: 96px 0;
}

.section-card {
  background: var(--cream-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-dark {
  background: var(--navy);
  color: var(--cream-light);
}

.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream-light); }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .section-intro, .section-dark .lede { color: rgba(245, 239, 229, 0.85); }
.section-dark a { color: var(--gold-soft); }

.section-header {
  margin-bottom: 56px;
  max-width: 720px;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(184, 146, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero .lede {
  font-size: 21px;
  margin-bottom: 36px;
  font-style: normal;
  color: var(--ink);
  line-height: 1.5;
}

.hero-cover {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-cover img {
  max-width: 380px;
  width: 100%;
  border-radius: 4px;
  box-shadow:
    0 4px 8px rgba(15, 42, 74, 0.08),
    0 16px 40px rgba(15, 42, 74, 0.18),
    0 32px 64px rgba(15, 42, 74, 0.10);
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.hero-cover img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* ============================================================
   Cards / grid components
   ============================================================ */

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.split.split-image-first {
  grid-template-columns: 1fr 1.5fr;
}

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card-rank {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 12px;
  display: block;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.card p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 20px;
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
}

/* ============================================================
   The Five Conditions visual
   ============================================================ */

.staircase {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 40px 48px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.staircase-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 24px;
  display: block;
}

.conditions {
  list-style: none;
  counter-reset: cond;
  padding: 0;
}

.conditions li {
  counter-increment: cond;
  padding: 18px 0 18px 72px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}

.conditions li:last-child { border-bottom: none; }

.conditions li::before {
  content: counter(cond, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  width: 56px;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.conditions li strong {
  display: block;
  font-family: var(--serif);
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.conditions li span {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ============================================================
   Offers (services)
   ============================================================ */

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.offer {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.offer:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.offer-rank {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 16px;
  display: block;
}

.offer h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.offer-tagline {
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.5;
  font-size: 16px;
  flex-shrink: 0;
}

.offer-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  flex-grow: 1;
}

.offer-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.offer-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--gold);
  font-weight: 700;
}

.offer-price {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

/* ============================================================
   FAQ / accordion-style sections
   ============================================================ */

.faq {
  margin: 32px 0;
}

.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-q {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.faq-a {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 17px;
}

/* ============================================================
   Topic / speaking blocks
   ============================================================ */

.topic {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 28px 32px;
  margin-bottom: 20px;
}

.topic h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.topic .topic-meta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.topic p {
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   Author photo / biographical layout
   ============================================================ */

.author-photo {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 6px solid var(--cream-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  font-size: 14px;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-credentials {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.bio-credentials h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.bio-credentials ul {
  list-style: none;
  padding: 0;
}

.bio-credentials li {
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ============================================================
   Featured / pull quotes
   ============================================================ */

.pullquote {
  font-family: var(--serif);
  font-size: 32px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  border-left: 4px solid var(--gold);
  padding: 8px 0 8px 32px;
  margin: 48px 0;
  max-width: 760px;
}

.pullquote-attribution {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-faint);
  font-style: normal;
  margin-top: 12px;
  display: block;
  letter-spacing: 0.04em;
}

/* ============================================================
   Endorsements / testimonials
   ============================================================ */

.endorsement {
  background: var(--cream-light);
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  margin-bottom: 20px;
  border-radius: 0 6px 6px 0;
}

.endorsement-text {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.endorsement-author {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}

.endorsement-author .role {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink-faint);
  margin-top: 2px;
  font-size: 13px;
}

.placeholder-endorsement {
  background: rgba(184, 146, 74, 0.06);
  border: 1px dashed var(--gold);
  color: var(--ink-faint);
  font-style: italic;
  text-align: center;
  padding: 32px;
}

/* ============================================================
   TOC / chapter list
   ============================================================ */

.toc-list {
  list-style: none;
  padding: 0;
  counter-reset: chapter;
}

.toc-list li {
  counter-increment: chapter;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.toc-list li:last-child { border-bottom: none; }

.toc-list li::before {
  content: counter(chapter, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  min-width: 32px;
}

.toc-list .part-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  display: block;
  padding: 24px 0 8px;
  border-bottom: 2px solid var(--gold);
}

.toc-list .part-label::before { content: ""; min-width: 0; }

/* ============================================================
   CTA section (call to action band)
   ============================================================ */

.cta-band {
  background: var(--navy);
  color: var(--cream-light);
  padding: 72px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream-light);
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band p {
  color: rgba(245, 239, 229, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 18px;
}

.cta-band .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.cta-band .btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--cream-light);
}

.cta-band .btn-secondary {
  background: transparent;
  border-color: var(--cream-light);
  color: var(--cream-light);
}

.cta-band .btn-secondary:hover {
  background: var(--cream-light);
  color: var(--navy-deep);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(245, 239, 229, 0.75);
  padding: 64px 0 32px;
  margin-top: 0;
  font-family: var(--sans);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--gold-soft);
}

.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }

.site-footer a {
  color: rgba(245, 239, 229, 0.75);
  text-decoration: none;
}

.site-footer a:hover { color: var(--gold-soft); }

.site-footer .footer-soon {
  color: rgba(245, 239, 229, 0.42);
  font-style: italic;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream-light);
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(245, 239, 229, 0.65);
  font-family: var(--serif);
  font-style: italic;
  line-height: 1.5;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 229, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(245, 239, 229, 0.5);
  font-size: 13px;
}

/* ============================================================
   Misc utilities
   ============================================================ */

.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }

.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 48px 0;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.divider-ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 64px auto;
  max-width: 240px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.divider-ornament::before,
.divider-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 920px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero h1 { font-size: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-cover { order: -1; }
  .hero-cover img { max-width: 280px; }

  .split, .split.split-image-first { grid-template-columns: 1fr; gap: 40px; }
  .two-up { grid-template-columns: 1fr; gap: 32px; }
  .three-up, .offers { grid-template-columns: 1fr; }

  /* Three books stack to a single column on tablet/phone */
  .hero-pair { grid-template-columns: 1fr; gap: 48px; max-width: 360px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container-narrow { padding: 0 20px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }

  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .hero h1 { font-size: 38px; }
  .hero .lede { font-size: 18px; }

  .lede { font-size: 17px; }
  .section-intro { font-size: 17px; }

  .site-header .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    box-shadow: var(--shadow-md);
    display: none !important;
    z-index: 110;
  }

  /* Open state: driven by either the hidden checkbox (:checked) for
     pure-CSS reliability, or the .is-open class for JS-driven legacy. */
  .nav-check:checked ~ .site-nav,
  .site-nav.is-open { display: flex !important; }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: none;
    margin-top: 8px;
  }

  .site-nav a.current::after { display: none; }
  .site-nav a.current { color: var(--gold-deep); }

  .nav-cta { padding: 12px 16px !important; text-align: center; }

  .staircase { padding: 24px 28px; }
  .pullquote { font-size: 22px; padding-left: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }

  .stat-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  /* stat-number sizing is handled by clamp() at the rule definition;
     no fixed mobile override needed. */
  .stat-feature .stat-context p { font-size: 16px; }

  .book-staircase-visual { padding: 24px 16px; }

  .author-monogram-letters { font-size: 64px; }

  .process-step { grid-template-columns: 48px 1fr; gap: 16px; }
  .process-step-num { font-size: 22px; }
}

/* ============================================================
   Pentagram-tier additions
   ============================================================ */

/* Skip-to-content link for keyboard / screen-reader users */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--navy);
  color: var(--cream-light);
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--cream-light);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Custom branded focus states — visible, on-brand */

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

/* Brand monogram in header */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-monogram {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--cream-light);
  border-radius: 6px;
  padding: 4px;
  border: 1px solid var(--rule);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.brand:hover .brand-monogram {
  transform: rotate(-3deg);
  border-color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Section divider ornament — recurring brand element */

.section-divider {
  display: flex;
  justify-content: center;
  margin: 64px 0 48px;
  opacity: 0.85;
}

.section-divider img,
.section-divider svg {
  width: 240px;
  height: auto;
}

/* Author monogram — stylish replacement for empty photo placeholder */

.author-monogram {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 6px solid var(--cream-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}

.author-monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(184, 146, 74, 0.18), transparent 60%);
  pointer-events: none;
}

.author-monogram-letters {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--cream-light);
  line-height: 1;
  text-align: center;
  z-index: 1;
}

.author-monogram-name {
  position: absolute;
  bottom: 24px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  z-index: 1;
}

/* Diagnostic patterns — replaces inline styles in work.html */

.diagnostic-patterns {
  display: grid;
  gap: 28px;
}

.diagnostic-pattern {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 28px 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-left-color 0.2s;
}

.diagnostic-pattern:hover {
  transform: translateX(2px);
  border-left-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.diagnostic-pattern-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.diagnostic-pattern p {
  margin-bottom: 12px;
}

.diagnostic-pattern p.outcome {
  margin-bottom: 0;
  font-style: italic;
  color: var(--ink-soft);
}

/* Process steps — replaces inline styles for "How I Work" section */

.process-steps {
  display: grid;
  gap: 28px;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.process-step-num {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.process-step-body h3 {
  font-size: 22px;
  margin-bottom: 8px;
  margin-top: 0;
}

.process-step-body p {
  margin: 0;
  color: var(--ink-soft);
}

/* Bespoke moment: oversized data stat */

.stat-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
  margin: 48px 0;
}

.stat-feature .stat-number {
  font-family: var(--serif);
  /* Scales smoothly with viewport: 56px floor on tiny phones, 16vw preferred,
     220px ceiling on wide desktop. Replaces the previous 220px / 140px / 96px
     step sizing that broke at intermediate widths. */
  font-size: clamp(56px, 16vw, 220px);
  font-weight: 700;
  line-height: 0.85;
  color: var(--navy);
  letter-spacing: -0.06em;
  position: relative;
}

.stat-feature .stat-number sup {
  font-size: clamp(20px, 4.5vw, 60px);
  font-weight: 400;
  vertical-align: super;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-left: 4px;
}

.stat-feature .stat-context p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}

.stat-feature .stat-source {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 16px;
  letter-spacing: 0.04em;
}

/* Bespoke staircase visualization on book page */

.book-staircase-visual {
  background: var(--cream-light);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 48px;
  margin: 32px 0;
  display: flex;
  justify-content: center;
}

.book-staircase-visual img {
  width: 100%;
  max-width: 720px;
  height: auto;
}

/* Hamburger nav for very small screens.
   IMPORTANT: this base rule defines visual styles only. The display
   toggle (none on desktop, flex on phone) is handled by the @media
   block earlier in this file. Do NOT add display: none here — it
   would override the @media flex rule because of source-order cascade. */

.nav-toggle {
  background: none;
  border: 0;
  padding: 12px;
  cursor: pointer;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* iOS: removes the 300ms tap delay and double-tap-zoom intercept,
     so the hamburger toggle responds immediately on first tap. */
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0.05);
  user-select: none;
  -webkit-user-select: none;
}

/* Hidden checkbox that drives the mobile nav. Visually hidden but
   keyboard-accessible via the label. The :checked state opens the menu
   with pure CSS — no JavaScript required. */
.nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.nav-toggle svg {
  display: block;
}

/* Desktop default: hidden. Placed LAST so it's only overridden by the
   later @media rule below. */
@media (min-width: 641px) {
  .nav-toggle { display: none; }
}

/* Subtle entrance motion — respects user preference */

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero .lede, .hero-cover {
  animation: fade-rise 0.6s ease-out both;
}

.hero .lede { animation-delay: 0.08s; }
.hero-cover, .hero .author-monogram { animation-delay: 0.16s; }
.hero-actions, .btn-group { animation: fade-rise 0.6s ease-out 0.24s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* "Read the introduction on Amazon" — low-friction CTA below buy buttons */
.sample-link {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.sample-link a {
  color: var(--gold-deep);
  text-decoration: none;
  border-bottom: 1px dotted var(--gold);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.sample-link a:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

/* "Advantage" word colored to match each cover's accent.
   .copper mirrors The Operating Advantage cover.
   .blue-accent mirrors The Discipline Advantage cover. */
.copper      { color: #C8804A; }
.blue-accent { color: #1F6BC8; }
.sage        { color: #95B084; }   /* mirrors The Scale Advantage cover */

/* ============================================================
   Per-book color themes (applied via body class)
   Each theme overrides only the brand tokens; the rest of the
   design system inherits automatically.
   ============================================================ */

body.theme-book-one {
  --navy:        #0a0a0a;
  --navy-deep:   #000000;
  --navy-soft:   #e6eaf2;
  --gold:        #1F6BC8;
  --gold-deep:   #154FA0;
  --gold-soft:   #D6E5F6;
  --bg-tint:     rgba(31, 107, 200, 0.06);
}

body.theme-book-two {
  --navy:        #0F2A4A;
  --navy-deep:   #08182d;
  --navy-soft:   #f0e5d6;
  --gold:        #C8804A;
  --gold-deep:   #9F5B2D;
  --gold-soft:   #F5DDC8;
  --bg-tint:     rgba(200, 128, 74, 0.07);
}

/* Hero gradient picks up the active theme automatically */
body.theme-book-one .hero,
body.theme-book-two .hero {
  background:
    radial-gradient(ellipse at 70% 20%, var(--bg-tint), transparent 55%),
    linear-gradient(180deg, var(--cream-light) 0%, var(--cream) 100%);
}

/* The current-page indicator gets the theme accent */
body.theme-book-one .site-nav a.current,
body.theme-book-two .site-nav a.current { color: var(--gold-deep); }
body.theme-book-one .site-nav a.current::after,
body.theme-book-two .site-nav a.current::after { background: var(--gold-deep); }

/* ============================================================
   Hero — paired-cover variant (homepage)
   ============================================================ */

.hero-series {
  text-align: center;
  padding: 80px 0 96px;
}

.hero-series .eyebrow { margin-bottom: 24px; }

.hero-series h1 {
  font-size: 56px;
  line-height: 1.05;
  max-width: 780px;
  margin: 0 auto 20px;
  letter-spacing: -0.015em;
}

.hero-series .lede {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--ink-soft);
}

.hero-pair {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;     /* equal-height cards so internals can align */
}

.hero-pair-book {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  max-width: 100%;
}


.hero-pair-book .pair-cover {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 992 / 1586;        /* kindle-cover ratio; Book 1 crops ~3% top/bottom */
  object-fit: cover;
  object-position: center;
  margin-bottom: 28px;
  display: block;
  border-radius: 4px;
  box-shadow:
    0 4px 8px rgba(15, 42, 74, 0.10),
    0 18px 40px rgba(15, 42, 74, 0.16),
    0 36px 68px rgba(15, 42, 74, 0.10);
  transition: transform 0.4s ease;
}

.hero-pair-book.book-one   .pair-cover { transform: rotate(-1.5deg); }
.hero-pair-book.book-two   .pair-cover { transform: rotate(0deg); }
.hero-pair-book.book-three .pair-cover { transform: rotate(1.5deg); }
.hero-pair-book.book-one:hover   .pair-cover,
.hero-pair-book.book-two:hover   .pair-cover,
.hero-pair-book.book-three:hover .pair-cover { transform: rotate(0) scale(1.02); }

.hero-pair-book .pair-num {
  display: block;
  max-width: 100%;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-pair-book .pair-title {
  display: block;
  max-width: 100%;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-pair-book .pair-tag {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.45;
  max-width: 280px;
}

.hero-pair-book .pair-cta {
  margin-top: auto;     /* push CTA to bottom of card so all three CTAs align */
  padding-top: 8px;     /* breathing room above the button */
}

/* ============================================================
   Book detail hero — cover-first vertical centering on left
   ============================================================ */

/* (Inherits .hero / .hero-grid from the base; nothing extra needed
   beyond the theme override which restyles all accents.) */

/* ============================================================
   Series shelf (homepage two-book showcase)
   ============================================================ */

.series-shelf {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  align-items: end;
  margin: 48px auto 0;
  max-width: 720px;
}

.series-shelf .shelf-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.series-shelf .shelf-cover img {
  width: 100%;
  max-width: 280px;
  border-radius: 4px;
  box-shadow:
    0 4px 8px rgba(15, 42, 74, 0.10),
    0 16px 36px rgba(15, 42, 74, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.series-shelf .shelf-cover:hover img {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(15, 42, 74, 0.14),
    0 24px 48px rgba(15, 42, 74, 0.22);
}

.series-shelf .shelf-book-num {
  display: block;
  max-width: 100%;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-top: 28px;
}

.series-shelf .shelf-title {
  display: block;
  max-width: 100%;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-top: 6px;
  letter-spacing: -0.01em;
}

.series-shelf .shelf-tag {
  display: block;
  max-width: 100%;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.45;
}

/* ============================================================
   Book detail page — hero variants
   ============================================================ */

.hero .book-meta {
  display: flex;
  gap: 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

.hero .book-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero .book-meta strong {
  color: var(--navy);
  font-weight: 700;
}

/* ============================================================
   Buy bar — repeated CTA throughout book pages
   ============================================================ */

.buy-bar {
  background: var(--cream-light);
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--rule);
  padding: 40px 0;
  text-align: center;
}

.buy-bar .buy-bar-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.buy-bar .buy-bar-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.3;
}

.buy-bar .btn-group {
  justify-content: center;
}

/* ============================================================
   Series-pair (cross-promote on a book detail page)
   ============================================================ */

.series-pair {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 36px 40px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.series-pair img {
  width: 100%;
  max-width: 200px;
  border-radius: 3px;
  box-shadow: var(--shadow-md);
}

.series-pair .pair-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.series-pair h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.series-pair p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .series-shelf { grid-template-columns: 1fr; gap: 56px; max-width: 320px; }
  .series-pair { grid-template-columns: 1fr; text-align: center; gap: 24px; padding: 28px; }
  .series-pair img { max-width: 160px; margin: 0 auto; }
  .hero .book-meta { gap: 16px; font-size: 11px; }
  .hero-series h1 { font-size: 36px; }
  .hero-series .lede { font-size: 17px; margin-bottom: 40px; }
  .hero-pair { grid-template-columns: 1fr; gap: 56px; max-width: 320px; }
  .hero-pair-book .pair-cover { max-width: 240px; }
}

/* ============================================================
   Print
   ============================================================ */

@media print {
  body { background: white; font-size: 11pt; }
  .site-header, .site-footer, .cta-band { display: none; }
  section { padding: 24px 0; page-break-inside: avoid; }
  .container { max-width: 100%; padding: 0; }
  .btn { display: none; }
}

/* ============================================================
   FEATURED HERO (Book One asymmetric weight) + What's Next row
   ============================================================ */

.hero-featured {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: 64px;
  align-items: center;
  margin: 48px 0 32px;
}
.hero-featured-cover {
  display: flex;
  justify-content: center;
}
.hero-featured-cover img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 24px 56px -16px rgba(15, 28, 48, 0.30),
              0 8px 16px -8px rgba(15, 28, 48, 0.15);
  transform: rotate(-1.2deg);
  transition: transform 0.25s ease;
}
.hero-featured-cover img:hover {
  transform: rotate(0) scale(1.015);
}
.hero-featured-copy { min-width: 0; }

.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(184, 146, 74, 0.18), rgba(184, 146, 74, 0.08));
  color: var(--gold-deep, #8a6d39);
  border: 1px solid rgba(184, 146, 74, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.available-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.20);
  animation: available-pulse 2.4s ease-in-out infinite;
}
@keyframes available-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.20); }
  50%      { box-shadow: 0 0 0 6px rgba(184, 146, 74, 0.10); }
}

.featured-num {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}
.featured-title {
  font-size: 56px;
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  font-family: Georgia, "Times New Roman", serif;
}
.featured-tag {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 540px;
}
.featured-blurb {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 580px;
}
.featured-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.featured-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-faint);
}
.featured-meta strong { color: var(--ink); font-weight: 700; }

/* What's next row */
.hero-next {
  margin: 40px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--rule);
}
.hero-next-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.hero-next-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.hero-next-book {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  background: rgba(245, 239, 229, 0.40);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.hero-next-link {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.next-cover {
  width: 90px;
  height: 135px;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 6px 14px -4px rgba(15, 28, 48, 0.20);
}
.next-copy { display: flex; flex-direction: column; min-width: 0; }
.next-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.next-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.next-tag {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.btn-small {
  padding: 7px 14px;
  font-size: 13px;
}

/* ============================================================
   CASE-EVIDENCE BAND (Same technology. Opposite outcomes.)
   ============================================================ */

.cases-band {
  background: linear-gradient(180deg, var(--bg-soft, #eef2f8) 0%, var(--cream, #f5efe5) 100%);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.case-pair {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: 0 2px 4px rgba(15, 28, 48, 0.04);
  display: flex;
  flex-direction: column;
}
.case-pair-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft, var(--rule));
}
.case-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy, #0F2A4A);
}
.case-domain {
  font-size: 12px;
  color: var(--ink-faint);
  font-style: italic;
}
.case-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}
.case-row + .case-row {
  border-top: 1px dashed var(--rule);
}
.case-mark {
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.case-winner .case-mark {
  background: rgba(47, 111, 79, 0.14);
  color: #2F6F4F;
}
.case-loser .case-mark {
  background: rgba(176, 65, 65, 0.14);
  color: #a03838;
}
.case-row strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.case-row span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.case-teaser {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft, var(--rule));
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
}

.cases-coda {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.cases-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-featured {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 24px;
  }
  .hero-featured-cover img { max-width: 320px; }
  .featured-title { font-size: 42px; }
  .featured-tag { font-size: 19px; }
  .hero-next-pair { grid-template-columns: 1fr; gap: 20px; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .featured-title { font-size: 34px; }
  .featured-tag { font-size: 17px; }
  .featured-cta { gap: 12px; }
  .next-cover { width: 70px; height: 105px; }
  .next-title { font-size: 19px; }
}

/* ============================================================
   "Where to start" picker (New here? Which book first?)
   ============================================================ */

.picker-band {
  background: white;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.picker-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 26px;
  background: var(--cream, #f5efe5);
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.picker-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 24px -10px rgba(15, 28, 48, 0.18);
}
.picker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(184, 146, 74, 0.14);
  color: var(--gold-deep, #8a6d39);
  margin-bottom: 6px;
}
.picker-card:hover .picker-icon {
  background: rgba(184, 146, 74, 0.22);
}
.picker-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep, #8a6d39);
}
.picker-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 4px;
}
.picker-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  flex-grow: 1;
}
.picker-cta {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #0F2A4A);
  transition: color 0.18s ease;
}
.picker-card:hover .picker-cta {
  color: var(--gold-deep, #8a6d39);
}

@media (max-width: 900px) {
  .picker-grid { grid-template-columns: 1fr; gap: 16px; }
  .picker-card { padding: 22px; }
}
