:root {
  --ink: #16202e;
  --muted: #5b6573;
  --navy: #0c1b33;
  --navy-2: #13294b;
  --accent: #e0793a;
  --accent-dark: #c4622a;
  --paper: #ffffff;
  --tint: #f5f2ec;
  --line: #e4e0d8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .8em; }
.muted { color: var(--muted); }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: .8em 1.4em; border-radius: 6px; border: 2px solid var(--accent); transition: background .15s, border-color .15s; }
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-small { padding: .45em .9em; font-size: .9rem; }

/* Header */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #fff; text-decoration: none; margin: 0; }
.brand span { color: var(--accent); margin-left: .25em; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.nav a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-size: .95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--accent); }
@media (max-width: 640px) {
  .nav { width: 100%; gap: 4px 14px; }
  .nav .btn { display: none; }
}

/* Hero */
.hero { background-size: cover; background-position: center 60%; color: #fff; padding: 72px 0 80px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1fr auto; } .hero { padding: 110px 0 120px; } }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 34ch; opacity: .95; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cover img { width: 220px; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.45); transform: rotate(-2deg); transition: transform .2s; }
.cover:hover img { transform: rotate(0); }
@media (min-width: 860px) { .cover img { width: 260px; } }

.intro { text-align: center; padding-top: 64px; padding-bottom: 24px; }
.intro p { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); max-width: 42ch; margin: 0 auto; color: var(--navy-2); }

.pillars { display: grid; gap: 28px; padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 3px solid var(--accent); padding-top: 20px; }
.pillar .lede { font-weight: 600; color: var(--navy-2); }
.pillar p:last-child { color: var(--muted); font-size: .96rem; }

.outcomes { background: var(--tint); padding: 64px 0; }
.outcomes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 800px) { .outcomes ul { grid-template-columns: repeat(3, 1fr); } }
.outcomes li { background: #fff; border-radius: 8px; padding: 24px; border: 1px solid var(--line); }
.outcomes li strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }

.endorsements { padding-top: 72px; padding-bottom: 72px; }
.quotes { columns: 1; column-gap: 28px; }
@media (min-width: 820px) { .quotes { columns: 2; } }
.quote { break-inside: avoid; margin: 0 0 28px; padding: 24px; border-left: 3px solid var(--accent); background: var(--tint); border-radius: 0 8px 8px 0; }
.quote blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 1.05rem; line-height: 1.6; }
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--muted); font-size: .9rem; }

.cta { background-size: cover; background-position: center; color: #fff; text-align: center; padding: 88px 0; }
.cta p { max-width: 46ch; margin: 0 auto 24px; opacity: .92; }

/* Inner pages */
.page-head { background: var(--navy); color: #fff; padding: 56px 0 48px; }
.page-head .hero-sub { max-width: 50ch; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.05rem; }

.author { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
@media (min-width: 760px) { .author { grid-template-columns: 232px 1fr; gap: 48px; } }
.author img { border-radius: 50%; }

.cards { display: grid; gap: 24px; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(12,27,51,.12); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .num { padding: 16px 18px 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--accent-dark); }
.card h3 { padding: 4px 18px 0; font-size: 1.15rem; }
.card p { padding: 0 18px 18px; color: var(--muted); font-size: .92rem; margin: 0; }

.chapter { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
@media (min-width: 900px) { .chapter { grid-template-columns: 360px 1fr; gap: 48px; } .chapter-img { position: sticky; top: 90px; } }
.chapter-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.question { font-family: var(--serif); font-size: 1.35rem !important; color: var(--navy-2); }
.pager { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.pager a { text-decoration: none; font-weight: 600; }

.contact { padding-top: 56px; padding-bottom: 88px; }
.email { font-family: var(--serif); font-size: 1.4rem !important; word-break: break-all; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 48px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; } }
.site-footer .muted { color: rgba(255,255,255,.6); }
.site-footer nav { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: flex-start; }
.site-footer nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer nav a:hover { color: #fff; }
.copyright { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.5); }
