:root {
  --ink: #17242b;
  --muted: #607078;
  --paper: #f7f5ef;
  --white: #fff;
  --blue: #165da8;
  --blue-dark: #0c3f75;
  --gold: #f4c85a;
  --line: #dce2de;
  --soft-blue: #dce9f4;
  --shadow: 0 18px 50px rgba(22, 43, 48, .12);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 245, 239, .94); border-bottom: 1px solid rgba(23, 36, 43, .09); backdrop-filter: blur(14px); }
.header-inner { max-width: 1240px; margin: auto; padding: 13px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); line-height: 1.2; text-decoration: none; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; font-weight: 850; letter-spacing: -.04em; }
.brand strong { display: block; font-size: 14px; }
.brand small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.primary-nav ul { display: flex; gap: 5px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 9px 11px; border-radius: 9px; color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.primary-nav a:hover, .primary-nav a.active { background: #e1e9ef; color: var(--blue-dark); }
.nav-toggle { display: none; border: 0; border-radius: 10px; padding: 9px 13px; background: var(--ink); color: #fff; font: inherit; font-weight: 750; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #0b345e 0%, #165da8 62%, #3b85a0 100%); color: #fff; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-inner { max-width: 1160px; margin: auto; padding: 86px 24px 92px; }
.hero-inner h1 { max-width: 900px; margin: .15em 0 .32em; font-size: clamp(46px, 7vw, 88px); line-height: .98; letter-spacing: -.055em; }
.hero-intro { max-width: 780px; margin: 0; color: rgba(255,255,255,.86); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.55; }
.eyebrow { margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.page-hero .eyebrow { color: var(--gold); }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 360px; height: 360px; top: -140px; right: -120px; background: rgba(244, 200, 90, .2); }
.orb-two { width: 220px; height: 220px; bottom: -160px; left: 8%; background: rgba(255,255,255,.1); }
.page-main, .page-main-wide { max-width: 1160px; margin: 0 auto; padding: 72px 24px 110px; }
.page-main-wide { max-width: 1280px; }
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 70px; align-items: center; }
.feature-block { padding-bottom: 80px; }
.feature-block h2, .section-heading h2, .callout h2 { margin: .15em 0 .4em; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.lead { font-size: 1.28rem; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(22, 93, 168, .18); }
.button:hover { background: var(--blue-dark); }
.button-secondary { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.book-collage { position: relative; min-height: 490px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.book-collage img { position: absolute; width: 185px; border-radius: 5px; box-shadow: 0 16px 32px rgba(23,36,43,.22); }
.book-collage img:nth-child(1) { left: 8%; top: 14%; transform: rotate(-7deg); }
.book-collage img:nth-child(2) { left: 34%; top: 6%; z-index: 2; transform: rotate(2deg); }
.book-collage img:nth-child(3) { right: 7%; top: 18%; transform: rotate(8deg); }
.section-heading { max-width: 800px; margin-bottom: 34px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats-grid article { min-height: 160px; padding: 24px; border-radius: 18px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.stats-grid strong { font-size: clamp(27px, 3vw, 42px); line-height: 1; }
.stats-grid span { margin-top: 10px; color: #b7c4c7; font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.68); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: #9ab8cc; box-shadow: var(--shadow); }
.card > span { display: inline-grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #dce9f4; color: var(--blue); font-size: 12px; font-weight: 850; }
.card h3 { margin: 26px 0 5px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.callout { margin: 52px 0 0; padding: 38px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.callout .eyebrow { color: var(--gold); }
.callout p:last-child { margin: 0; color: #bdc7ca; }
.prose { max-width: 850px; font-size: 1.06rem; }
.prose p { margin: 0 0 1.5em; }
.timeline { margin: 60px 0 0; border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline strong { color: var(--blue); font-size: 20px; }
.timeline h2 { margin: 0 0 6px; font-size: 25px; line-height: 1.25; }
.timeline p { margin: 0; color: var(--muted); }
.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.book-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.book-card:hover { transform: translateY(-5px); border-color: #9ab8cc; box-shadow: var(--shadow); }
.book-cover { display: grid; min-height: 310px; place-items: center; padding: 24px; background: linear-gradient(145deg, #edf3f7, #f8f5ed); }
.book-cover img { width: auto; max-height: 262px; border-radius: 4px; box-shadow: 0 10px 24px rgba(23,36,43,.18); }
.book-body { display: flex; min-height: 190px; flex: 1; flex-direction: column; padding: 22px; }
.book-type { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.book-body h2 { margin: 12px 0 22px; font-size: 19px; line-height: 1.3; }
.book-link { margin-top: auto; color: var(--blue); font-size: 13px; font-weight: 800; }
.source-note { margin-top: 34px; color: var(--muted); font-size: 13px; }
.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 32px max(24px, calc((100vw - 1160px)/2)); background: var(--ink); color: #fff; }
.site-footer div { display: flex; flex-direction: column; }
.site-footer span { margin-top: 4px; color: #9cacb1; font-size: 12px; }
.site-footer a { color: var(--gold); font-weight: 750; }
.redirect-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--paper); text-align: center; }
.redirect-page a { font-weight: 800; }
@media (max-width: 1020px) { .books-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 69px; right: 16px; left: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
  .primary-nav.open { display: block; }
  .primary-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .primary-nav a { padding: 12px; }
  .hero-inner { padding-top: 68px; padding-bottom: 72px; }
  .split { grid-template-columns: 1fr; gap: 35px; }
  .book-collage { max-width: 640px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-inner { padding: 10px 15px; }
  .brand small { display: none; }
  .page-main, .page-main-wide { padding: 50px 17px 78px; }
  .hero-inner { padding: 58px 18px 64px; }
  .hero-inner h1 { font-size: 44px; }
  .section { padding: 58px 0; }
  .stats-grid, .card-grid, .books-grid { grid-template-columns: 1fr; }
  .book-collage { min-height: 385px; }
  .book-collage img { width: 42%; }
  .book-collage img:nth-child(1) { left: 2%; }
  .book-collage img:nth-child(2) { left: 29%; }
  .book-collage img:nth-child(3) { right: 2%; }
  .timeline article { grid-template-columns: 1fr; gap: 5px; }
  .callout { padding: 27px; }
  .site-footer { flex-direction: column; }
}
