/* ==========================================================================
   MAURICE UDOM — SHARED STYLESHEET
   One file controls the look of every page on the site.

   Contents
   1.  Design tokens (colours, fonts, spacing)  <- change brand values here
   2.  Base and typography
   3.  Layout helpers
   4.  Buttons and links
   5.  Header and navigation (with dropdowns + mobile menu)
   6.  Page heading band (inner pages)
   7.  Sections, cards and grids
   8.  Homepage
   9.  Books, essays, lectures, Patreon
   10. Services, process steps, prices
   11. About page
   12. Contact and forms
   13. Legal pages (Privacy Policy, Terms of Service)
   14. Citation Audit page
   15. Footer
   16. Motion and accessibility
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Brand colours */
  --ink: #14221e;          /* headings, dark text */
  --forest: #142726;       /* dark sections */
  --forest-deep: #0d1514;  /* footer */
  --forest-soft: #1f3632;
  --gold: #a4742f;         /* brand gold */
  --gold-light: #d9ad69;   /* gold on dark backgrounds */
  --gold-ink: #8a5f22;     /* gold text on white (accessible contrast) */
  --gold-wash: #f7efe1;    /* pale gold tint */
  --cream: #f6f3ec;        /* warm off-white */
  --sand: #e9e8df;         /* warm grey band */
  --white: #ffffff;

  /* Text */
  --body: #33423d;
  --muted: #5d6a64;
  --on-dark: #e8ece6;
  --on-dark-muted: #b8c4bd;

  /* Lines and status */
  --line: #e4ded0;
  --line-soft: #efeae0;
  --green: #2e6b55;
  --red: #b42318;

  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Shape and depth */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 34, 30, .06);
  --shadow: 0 14px 40px -12px rgba(20, 34, 30, .18);
  --shadow-lg: 0 30px 70px -20px rgba(13, 21, 20, .35);

  /* Layout */
  --wrap: 1180px;
  --narrow: 780px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE AND TYPOGRAPHY ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong, b { color: inherit; font-weight: 700; }
small { font-size: .875em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 14px;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.serif-quote { font-family: var(--serif); font-style: italic; }
.gold { color: var(--gold); }

/* 3. LAYOUT HELPERS ------------------------------------------------------ */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold-light); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* 4. BUTTONS AND LINKS --------------------------------------------------- */
a { color: var(--gold-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-size: .95rem; font-weight: 700; line-height: 1.2;
  padding: 14px 24px; min-height: 48px;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--gold-light); color: var(--ink); border-color: var(--gold-light); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost-light:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-sm { padding: 9px 16px; min-height: 40px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 700; color: var(--gold-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.text-link::after { content: "\2192"; transition: transform .2s; }
.text-link:hover { color: var(--ink); }
.text-link:hover::after { transform: translateX(4px); }
.ext::after { content: " \2197"; }

/* 5. HEADER AND NAVIGATION ---------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* The blur sits on a background layer: a backdrop-filter on the header
   itself would trap the fixed mobile menu inside the header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
body.menu-open .site-header::before { background: var(--white); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 34, 30, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
.logo b { color: var(--gold); font-weight: 600; }
.logo:hover { color: var(--ink); }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  font-size: .97rem; font-weight: 600; color: var(--ink); text-decoration: none;
  transition: background .2s, color .2s;
}
.nav-link:hover { background: var(--cream); color: var(--ink); }
.nav-link[aria-current="page"], .nav-item.is-active > .nav-row > .nav-link { color: var(--gold-ink); }
.nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-row > .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--gold); border-radius: 2px;
}
.nav-row > .nav-link { position: relative; }
.nav-list > li > .nav-link { position: relative; }
.nav-cta { margin-left: 8px; }
.nav-cta .nav-link { background: var(--ink); color: var(--white); padding: 10px 20px; }
.nav-cta .nav-link:hover { background: var(--gold); color: var(--white); }
.nav-cta .nav-link[aria-current="page"] { background: var(--gold); color: var(--white); }
.nav-cta .nav-link[aria-current="page"]::after { display: none; }

.nav-row { display: flex; align-items: center; }
.dd-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: -10px; padding: 0;
  background: none; border: 0; border-radius: 50%; color: var(--ink); cursor: pointer;
}
.dd-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.dd-toggle:hover { background: var(--cream); }
.nav-item.open .dd-toggle svg { transform: rotate(180deg); }

.dropdown {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dropdown a {
  display: block; padding: 9px 14px; border-radius: var(--r-sm);
  color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none;
}
.dropdown a:hover { background: var(--cream); color: var(--gold-ink); }
.dropdown a[aria-current="page"] { background: var(--gold-wash); color: var(--gold-ink); font-weight: 700; }
.dropdown .dd-all { border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; padding-bottom: 6px; }
.dropdown .dd-all a { font-weight: 700; }

@media (min-width: 1081px) and (hover: hover) {
  .nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 1081px) {
  .nav-item:focus-within > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }
}

.menu-btn {
  display: none; align-items: center; gap: 8px;
  font: 700 .92rem var(--sans); color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; cursor: pointer;
}
.menu-btn svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--white);
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
    border-top: 1px solid var(--line);
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-soft); }
  .nav-link { display: flex; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; }
  .nav-link:hover { background: none; color: var(--gold-ink); }
  .nav-link[aria-current="page"]::after, .nav-item.is-active > .nav-row > .nav-link::after { display: none; }
  .nav-row { justify-content: space-between; }
  .nav-row .nav-link { flex: 1; }
  .dd-toggle { width: 44px; height: 44px; margin: 0; background: var(--cream); }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 12px 12px; opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .nav-item.open > .dropdown { display: block; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 11px 12px; font-size: 1rem; }
  .nav-cta { margin: 20px 0 0; border-bottom: 0 !important; }
  .nav-cta .nav-link { justify-content: center; border-radius: 999px; }
  body.menu-open { overflow: hidden; }
}

/* 6. PAGE HEADING BAND (inner pages) ------------------------------------ */
.page-hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 173, 105, .28), transparent 65%); pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; margin-bottom: 16px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #b6ad9b; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-ink); }
.page-hero.has-media .split { align-items: center; }
.page-hero-media { justify-self: end; width: min(100%, 380px); }
.page-hero-media img { border-radius: var(--r-lg); box-shadow: 18px 18px 0 rgba(217, 173, 105, .25), var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 960px) { .page-hero-media { justify-self: start; width: min(100%, 300px); } }

/* 7. SECTIONS, CARDS AND GRIDS ------------------------------------------ */
.section { padding: var(--section) 0; }
.section.tight { padding: calc(var(--section) * .6) 0; }
.section.cream { background: var(--cream); }
.section.sand { background: var(--sand); }
.section.dark { background: var(--forest); color: var(--on-dark); }
.section.dark h2, .section.dark h3, .section.dark h4 { color: var(--white); }
.section.dark .eyebrow { color: var(--gold-light); }
.section.dark .lead, .section.dark p { color: var(--on-dark); }
.section.dark .muted { color: var(--on-dark-muted); }
.section.dark a:not(.btn) { color: var(--gold-light); }
.section.flush-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section.dark .section-head p { color: var(--on-dark-muted); }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.row > div { max-width: 680px; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .card-foot { margin-top: auto; padding-top: 18px; }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8ccb2; }
.card-link .stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link a:not(.stretched) { position: relative; z-index: 2; }
a.card { text-decoration: none; color: inherit; }
.card h3 a { color: inherit; text-decoration: none; }
.card-sm { padding: 20px 22px; }
.card-sm .eyebrow { margin-bottom: 6px; }
.card-sm h3 { font-size: 1.2rem; margin-bottom: 6px; }
.card-sm h3:last-child { margin-bottom: 0; }
.card-sm p { font-size: .95rem; }
.card-wide { flex-direction: row; flex-wrap: wrap; gap: 20px; align-items: center; }
.card-wide .card-icon { margin: 0; }
.card-wide > div { flex: 1; min-width: 240px; }
.card-wide h3 { margin-bottom: 6px; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-layout .price-panel { position: sticky; top: calc(var(--header-h) + 24px); }
.svc-layout h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2rem; }
.svc-layout h2:first-child { margin-top: 0; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .svc-layout .price-panel { position: static; } }
.mb-lg { margin-bottom: 36px; }
.h-sm { font-size: 1.4rem; }
.table-note { padding: 0 24px 20px; margin: 0; }
.price-table.compact { min-width: 0; }
.caption-link { font-family: var(--sans); font-size: .85rem; font-weight: 700; margin-left: 8px; }
.scope.plain { border: 0; padding-top: 0; margin-bottom: 8px; }
.form-foot.spaced { margin-bottom: 16px; }
.lecture-card.feature { background: var(--forest); border-color: var(--forest); }
.lecture-card.feature .series { color: var(--gold-light); }
.lecture-card.feature .series small, .lecture-card.feature p { color: var(--on-dark-muted); }
.lecture-card.feature h3 a { color: var(--white); }
.related { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.card-num { font-family: var(--serif); font-size: .95rem; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-wash); color: var(--gold-ink); margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card.dark { background: var(--forest-soft); border-color: rgba(255, 255, 255, .08); color: var(--on-dark); }
.card.dark h3 { color: var(--white); }
.card.dark p { color: var(--on-dark-muted); }
.section.dark .card:not(.dark) p { color: var(--muted); }
.card .price-tag { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; margin: 4px 0 2px; }
.card .price-tag small { font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 500; display: block; }

.tag {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-ink); background: var(--gold-wash); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.tag.green { color: var(--green); background: #e6f1ec; }

.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { position: relative; padding: 7px 0 7px 32px; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5f22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.list-check.cols { columns: 2; column-gap: 32px; }
.list-check.cols li { break-inside: avoid; }
@media (max-width: 640px) { .list-check.cols { columns: 1; } }

.info-panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); }
.info-panel h3 { font-size: 1.25rem; }
.note-box { border-left: 4px solid var(--gold); background: var(--gold-wash); padding: 16px 20px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--body); }
.note-box p:last-child { margin-bottom: 0; }

.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; box-shadow: var(--shadow-sm); }
.quote-card blockquote { margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.quote-card cite { font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 600; }
.section.dark .quote-card { background: var(--forest-soft); border-color: rgba(255, 255, 255, .08); }
.section.dark .quote-card blockquote { color: var(--white); }
.section.dark .quote-card cite { color: var(--gold-light); }

.review { display: flex; flex-direction: column; }
.review p { font-size: 1.02rem; color: var(--body); flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review .av { width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--gold-light); display: grid; place-items: center; font-weight: 700; font-size: .9rem; flex: none; }
.review .who b { display: block; color: var(--ink); line-height: 1.3; }
.review .who span { font-size: .88rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }

/* CTA band used at the bottom of most pages */
.cta-band {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 85% 20%, #2c4237 0, transparent 50%), linear-gradient(145deg, var(--forest), var(--forest-deep) 75%);
  color: var(--on-dark); border-radius: var(--r-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 56ch; }
.cta-band .eyebrow { color: var(--gold-light); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* 8. HOMEPAGE ----------------------------------------------------------- */
.home-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); background: var(--white); }
.home-hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 173, 105, .32), transparent 65%); pointer-events: none;
}
.home-hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 92, 76, .16), transparent 65%); pointer-events: none;
}
.home-hero .wrap { position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); line-height: .98; margin-bottom: 26px; letter-spacing: -.02em; font-weight: 500; }
.home-hero h1 span { display: block; color: var(--gold); }
.hero-tagline { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); max-width: 30ch; margin-bottom: 16px; }
.hero-lead { color: var(--muted); max-width: 54ch; margin-bottom: 30px; }
.hero-portrait { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg);
  box-shadow: 20px 20px 0 rgba(217, 173, 105, .22), var(--shadow-lg);
}
.badge-float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 16px; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3;
}
.badge-float b { display: block; color: var(--ink); font-size: 1rem; }
.badge-float span { color: var(--muted); font-size: .8rem; }
.badge-float .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-ink); flex: none; }
.badge-float .ico svg { width: 20px; height: 20px; }
.badge-float.tr { top: 22px; right: -26px; }
.badge-float.bl { bottom: 28px; left: -36px; }
@media (max-width: 1100px) { .badge-float.tr { right: -8px; } .badge-float.bl { left: -8px; } }
@media (max-width: 520px) { .badge-float.tr { right: 10px; top: 12px; } .badge-float.bl { left: 10px; bottom: 12px; } }
@media (max-width: 960px) { .hero-portrait { margin-top: 12px; width: min(100%, 360px); } }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 72px); }
.stat { padding: 26px 20px 0 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--ink); line-height: 1; font-weight: 600; }
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.about-preview .portrait-sm img { border-radius: var(--r-lg); aspect-ratio: 1; object-fit: cover; object-position: center 20%; width: 100%; max-width: 420px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 26px 0 30px; }
.pillar { border-top: 2px solid var(--gold); padding-top: 12px; }
.pillar b { font-family: var(--serif); color: var(--ink); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.pillar span { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

.patreon-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.topic-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.topic-list li { border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 16px; font-size: .92rem; color: var(--on-dark); }
@media (max-width: 860px) { .patreon-band { grid-template-columns: 1fr; } }

/* 9. BOOKS, ESSAYS, LECTURES, PATREON ----------------------------------- */
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.book-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book { display: flex; flex-direction: column; }
.book-cover { position: relative; display: block; border-radius: 6px 12px 12px 6px; overflow: hidden; background: var(--sand); box-shadow: -6px 0 0 -2px rgba(0, 0, 0, .08) inset, var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.book-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.book:hover .book-cover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.book-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.book-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.book-genre { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.book h3 { font-size: 1.3rem; margin-bottom: 8px; }
.book p { font-size: .96rem; color: var(--muted); margin-bottom: 16px; }
.book .btn-row { margin-top: auto; gap: 8px; }
.section.dark .book p { color: var(--on-dark-muted); }
.section.dark .book-genre { color: var(--gold-light); }
.btn-soon { background: var(--line-soft); color: var(--muted); border-color: var(--line-soft); cursor: default; }
.btn-soon:hover { transform: none; }
@media (max-width: 1000px) { .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .book-grid, .book-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .book-grid, .book-grid.three { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

.feature-book { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.feature-book img { border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow-lg); }
@media (max-width: 720px) { .feature-book { grid-template-columns: 1fr; } .feature-book img { max-width: 220px; } }

.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.link-cloud a { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-weight: 600; font-size: .94rem; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.link-cloud a:hover { border-color: var(--gold); color: var(--gold-ink); background: var(--gold-wash); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-btn { font: 600 .92rem var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.essay-list { display: grid; gap: 18px; }
.essay { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; }
.essay h3 { margin-bottom: 8px; }
.essay p { margin: 0; }
.essay .meta { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.essay[hidden] { display: none; }
@media (max-width: 720px) { .essay { grid-template-columns: 1fr; } }

.lecture-card { display: flex; flex-direction: column; }
.lecture-card .series { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.lecture-card .series small { display: block; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* 10. SERVICES, PROCESS STEPS, PRICES ----------------------------------- */
.service-card .card-icon { margin-bottom: 20px; }
.service-card .for { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: 4px; }
.service-card .for b { color: var(--ink); }

.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: step; }
.process > li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.process > li:last-child { border-bottom: 1px solid var(--line); }
.process .step-no { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); font-weight: 500; }
.process h3 { margin-bottom: 4px; }
.process .step-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.process .swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.swatch.red { background: #c0392b; } .swatch.green { background: #2e8b57; } .swatch.blue { background: #2f6fd1; } .swatch.gold { background: #b8860b; } .swatch.none { background: var(--line); }
.process p { margin-bottom: 8px; }
.process .receive { font-size: .95rem; color: var(--muted); }
.process .receive b { color: var(--ink); }
@media (max-width: 560px) { .process > li { grid-template-columns: 1fr; gap: 6px; } }

.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: ms; }
.mini-steps li { counter-increment: ms; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--gold); font-size: 1.4rem; margin-bottom: 8px; }
.mini-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mini-steps p { font-size: .95rem; color: var(--muted); margin: 0; }

.price-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.price-panel .amount { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.6rem); color: var(--ink); line-height: 1.1; font-weight: 600; }
.price-panel .naira { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.price-panel .scope { font-size: .95rem; color: var(--body); border-top: 1px solid var(--line-soft); padding-top: 12px; margin-bottom: 18px; }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table caption { text-align: left; padding: 20px 24px 6px; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 600; caption-side: top; }
.price-table th, .price-table td { padding: 18px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.price-table thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); border-top: 0; border-bottom: 2px solid var(--gold); padding-top: 14px; padding-bottom: 12px; }
.price-table td:first-child { width: 34%; }
.price-table .svc { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); font-weight: 600; display: block; }
.price-table .svc-link { font-size: .85rem; font-weight: 700; }
.price-table .usd { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 600; white-space: nowrap; display: block; }
.price-table .ngn { font-size: .88rem; color: var(--muted); white-space: nowrap; }
.price-table .scope { font-size: .94rem; color: var(--body); }
.price-table tbody tr:hover { background: #fcfaf6; }
@media (max-width: 640px) {
  .price-table { min-width: 0; }
  .price-table thead { position: absolute; left: -9999px; }
  .price-table tr { display: block; padding: 16px 18px; border-top: 1px solid var(--line-soft); }
  .price-table td { display: block; padding: 2px 0; border: 0; width: auto !important; }
  .price-table caption { padding: 18px 18px 6px; }
}

.notable { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.notable img { border-radius: 6px 12px 12px 6px; box-shadow: var(--shadow-lg); }
.notable .meta { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
@media (max-width: 680px) { .notable { grid-template-columns: 1fr; } .notable img { max-width: 200px; } }

.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; margin-top: 26px; }
.trust-list div b { display: block; font-family: var(--serif); color: var(--ink); font-size: 1.15rem; margin-bottom: 4px; }
.trust-list div span { color: var(--muted); font-size: .96rem; }
@media (max-width: 560px) { .trust-list { grid-template-columns: 1fr; } }

.tier-list { list-style: none; padding: 0; margin: 0 0 14px; }
.tier-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.tier-list li span:first-child { font-weight: 600; color: var(--ink); }
.tier-list li span:last-child { text-align: right; color: var(--body); }
.tier-list small { display: block; color: var(--muted); }

/* 11. ABOUT PAGE -------------------------------------------------------- */
.cred-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.cred-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--body); }
.cred-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.works-col h3 { font-size: 1.25rem; }
.works-col ul { list-style: none; padding: 0; margin: 14px 0 0; }
.works-col li { padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--serif); font-style: italic; color: var(--white); }

/* 12. CONTACT AND FORMS ------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.contact-list .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-wash); color: var(--gold-ink); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-ink); }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--r); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #cfc6b3; border-radius: 10px;
  padding: 12px 14px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 173, 105, .35); }
.field .err { display: none; color: var(--red); font-size: .86rem; font-weight: 600; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin: 0 0 20px; padding: 16px 18px; border-radius: 10px; font-weight: 600; }
.form-status.ok { display: block; background: #e8f3ee; color: #1d5541; border: 1px solid #b9dccb; }
.form-status.err { display: block; background: #fdecea; color: #8a1c12; border: 1px solid #f3c1bb; }
.form-foot { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }

/* 13. LEGAL PAGES ------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.4em 0 .6em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose .highlight-box { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 18px 22px; margin: 1.6em 0; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .92rem; }
.legal-toc p { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.legal-toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.legal-toc a:hover { color: var(--gold-ink); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { display: none; } }

/* 14. CITATION AUDIT PAGE ---------------------------------------------- */
/* The Citation Audit page keeps its own content and order system; these
   rules give its components the same look as the rest of the site. */
.ca-page { --ca-soft: var(--gold-wash); --t-fix-bg: #fde4e1; --t-fix: #7f1d1d; --t-chk-bg: #fdf1d6; --t-chk: #6f4a0e; --t-warn-bg: #e3e9f8; --t-warn: #233a7a; --t-ed-bg: #e3f1e9; --t-ed: #1f5a40; }
.ca-hero { position: relative; overflow: hidden; color: var(--on-dark); padding: clamp(56px, 8vw, 104px) 0 clamp(96px, 10vw, 136px);
  background: radial-gradient(ellipse at 86% 20%, #2c4237 0, transparent 46%), linear-gradient(145deg, var(--forest), var(--forest-deep) 72%); }
.ca-hero .split { align-items: center; }
.ca-hero .breadcrumb a, .ca-hero .breadcrumb { color: var(--on-dark-muted); }
.ca-hero .breadcrumb [aria-current] { color: var(--gold-light); font-weight: 700; }
.ca-hero h1 { color: var(--white); margin-bottom: 14px; }
.ca-hero h1 em { font-style: normal; color: var(--gold-light); }
.ca-hero .h1-sub { display: block; font-family: var(--sans); font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 400; line-height: 1.5; color: var(--on-dark-muted); margin-top: 14px; letter-spacing: 0; }
.ca-hero .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--gold-light); max-width: 34ch; }
.ca-hero .lead { color: var(--on-dark); }
.ca-hero .hero-note { font-size: .93rem; color: var(--on-dark-muted); max-width: 58ch; margin-top: 22px; }
.ca-hero .hero-cred { font-size: .9rem; color: var(--on-dark-muted); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; margin-top: 14px; max-width: 60ch; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: .88rem; font-weight: 600; color: var(--white); background: rgba(255, 255, 255, .07); border: 1px solid rgba(217, 173, 105, .35); border-radius: 999px; padding: 6px 14px; }
.chips b { color: var(--gold-light); }
.summary { background: var(--white); color: var(--body); border-radius: var(--r); border-top: 6px solid var(--gold-light); padding: 28px 30px 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.summary h2 { font-size: 1.35rem; margin-bottom: 2px; }
.summary .sub { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; margin: 0; font-size: .96rem; }
.summary dt, .summary dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line-soft); line-height: 1.4; }
.summary dd { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary .total { border-bottom: 2px solid var(--ink); font-weight: 700; color: var(--ink); }
.summary .gap { padding: 4px 0; border: 0; }
.summary .v-ok { color: var(--green) !important; }
.summary .note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.facts { position: relative; z-index: 2; margin-top: -64px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.facts li { padding: 24px; border-right: 1px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.facts li:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
@media (max-width: 900px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(2) { border-right: 0; } .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .facts ul { grid-template-columns: 1fr; } .facts li { border-right: 0; border-bottom: 1px solid var(--line); } .facts li:last-child { border-bottom: 0; } }
.ca-page .rule { width: 60px; height: 3px; border-radius: 3px; background: var(--gold); margin: 0 0 22px; }
.ca-page .sec-note { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-ink); margin-bottom: 30px; max-width: 60ch; }
.ca-page .band p { max-width: 70ch; }
.checks { list-style: none; padding: 0; margin: 0; counter-reset: c; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.checks li { counter-increment: c; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.checks li::before { content: counter(c, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--gold); font-size: 1.2rem; margin-bottom: 8px; }
.checks h3 { font-size: 1.2rem; }
.checks p { margin: 0; font-size: .97rem; color: var(--muted); }
@media (max-width: 960px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }
.price-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; box-shadow: var(--shadow-sm); }
table.ed, table.price { width: 100%; border-collapse: collapse; }
table.price { min-width: 520px; }
table.ed caption, table.price caption { text-align: left; caption-side: top; padding: 18px 24px 8px; font-size: .88rem; color: var(--muted); }
table.ed th, table.ed td, table.price th, table.price td { padding: 16px 24px; text-align: left; border-top: 1px solid var(--line-soft); vertical-align: middle; }
table.ed thead th, table.price thead th { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); border-top: 0; border-bottom: 2px solid var(--gold); }
table.ed td:first-child, table.price td.size { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
table.ed td small, table.price td.size small { display: block; font-family: var(--sans); font-size: .84rem; color: var(--muted); margin-top: 2px; }
table.ed td:nth-child(2) { font-weight: 700; color: var(--ink); }
table.ed tr.grp th { background: var(--cream); font-size: .84rem; color: var(--gold-ink); padding: 10px 24px; }
table.price .usd { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); display: block; }
table.price .ngn { display: block; font-size: .88rem; color: var(--muted); }
table.price td.go { text-align: right; white-space: nowrap; }
table.price tbody tr:hover { background: #fcfaf6; }
@media (max-width: 600px) {
  table.price { min-width: 0; }
  table.price thead { position: absolute; left: -9999px; }
  table.price tbody tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding: 16px 18px; border-top: 1px solid var(--line-soft); }
  table.price td { display: block; padding: 0; border: 0; }
  table.price td.size { grid-column: 1 / -1; }
  table.ed th, table.ed td { padding: 12px 14px; }
}
.price-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.report { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 28px; background: var(--cream); border-bottom: 1px solid var(--line); }
.report-head h3 { margin: 0; font-size: 1.3rem; }
.report-head p { margin: 0; font-size: .86rem; color: var(--muted); }
.issue { padding: 24px 28px; border-bottom: 1px solid var(--line-soft); }
.issue-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
.issue .tag { margin: 0; letter-spacing: 0; text-transform: none; font-size: .8rem; }
.tag.fix { background: var(--t-fix-bg); color: var(--t-fix); }
.tag.check { background: var(--t-chk-bg); color: var(--t-chk); }
.tag.warn { background: var(--t-warn-bg); color: var(--t-warn); }
.tag.edition { background: var(--t-ed-bg); color: var(--t-ed); }
.issue-no { font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--gold-ink); }
.issue-loc { font-size: .88rem; color: var(--muted); }
.issue dl { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 6px 18px; margin: 0; font-size: .97rem; }
.issue dt { font-weight: 700; color: var(--ink); }
.issue dd { margin: 0; }
.issue .quote { font-family: var(--serif); font-style: italic; }
.issue .fix-line { background: var(--gold-wash); border-left: 4px solid var(--gold); padding: 9px 14px; border-radius: 0 8px 8px 0; }
.report-foot { margin: 0 !important; padding: 16px 28px; background: var(--cream); font-size: .86rem; color: var(--muted); max-width: none !important; }
@media (max-width: 640px) { .report-head, .issue, .report-foot { padding-left: 18px; padding-right: 18px; } .issue dl { grid-template-columns: 1fr; gap: 0; } .issue dt { margin-top: 8px; } }
.labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0 22px; }
.label-box { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.label-box.ok { border-top-color: var(--green); }
.label-box.diff { border-top-color: #2f6fd1; }
.label-box h3 { font-size: 1.15rem; }
.label-box p { margin: 0; font-size: .96rem; color: var(--muted); }
.callout { background: var(--forest); color: var(--on-dark); padding: 22px 26px; border-radius: var(--r); max-width: none !important; }
.callout strong { color: var(--gold-light); }
@media (max-width: 820px) { .labels { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.privacy ul { list-style: none; padding: 0; margin: 0; }
.privacy li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid var(--line); }
.privacy li:last-child { border-bottom: 1px solid var(--line); }
.privacy li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
@media (max-width: 820px) { .privacy { grid-template-columns: 1fr; gap: 16px; } }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 52px 18px 22px; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font: 300 1.7rem var(--sans); color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq .ans { padding: 0 22px 18px; max-width: 70ch; }
.order-steps { list-style: none; padding: 0; margin: 6px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; counter-reset: o; }
.order-steps li { counter-increment: o; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.order-steps li::before { content: counter(o); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--gold-light); font-family: var(--serif); }
#order-form { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--gold); border-radius: var(--r); padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow); }
#order-form fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
#order-form legend { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; padding: 0; }
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tier-opt { position: relative; }
.tier-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.tier-opt label { display: block; height: 100%; padding: 16px 18px 16px 52px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; position: relative; line-height: 1.45; transition: border-color .2s, background .2s, box-shadow .2s; }
.tier-opt label::before { content: ""; position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfc6b3; background: var(--white); }
.tier-opt label b { display: block; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }
.tier-opt label span { display: block; font-size: .88rem; color: var(--muted); }
.tier-opt label em { display: block; font-style: normal; font-weight: 700; color: var(--gold-ink); margin-top: 4px; }
.tier-opt:hover label { border-color: var(--gold-light); }
.tier-opt input:checked + label { border-color: var(--gold); background: var(--gold-wash); box-shadow: 0 0 0 3px rgba(217, 173, 105, .3); }
.tier-opt input:checked + label::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 45%, var(--white) 50%); }
.tier-opt input:focus-visible + label { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fgrid .full { grid-column: 1 / -1; }
.fld label { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.fld label i { font-style: normal; font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #cfc6b3; border-radius: 10px; padding: 12px 14px; line-height: 1.4; }
.fld textarea { min-height: 100px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 173, 105, .35); }
.fld .err { display: none; color: var(--red); font-size: .86rem; font-weight: 600; margin-top: 5px; }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--red); }
.fld.bad .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.6; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--gold); }
.check.bad { border-color: var(--red); background: #fdf1ef; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#order-form .btn-primary { width: 100%; margin-top: 10px; }
.form-msg { margin-top: 16px; font-size: .95rem; color: var(--red); }
.form-alert { display: none; margin: 0 0 22px; padding: 16px 20px; border: 2px solid var(--red); border-radius: 12px; background: #fdf1ef; }
.form-alert strong { display: block; color: var(--red); margin-bottom: 4px; }
.form-alert ul { margin: 6px 0 0 20px; font-size: .95rem; }
.secure-note { margin-top: 14px; font-size: .86rem; color: var(--muted); text-align: center; }
#order-done { display: none; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--green); border-radius: var(--r); padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow); }
#order-done h3 { font-size: 1.6rem; }
#order-done .ref { display: inline-block; letter-spacing: .06em; background: var(--cream); padding: 4px 14px; border-radius: 999px; color: var(--ink); font-weight: 700; border: 1px solid var(--line); }
.next { list-style: none; margin: 20px 0 6px; padding: 0; counter-reset: n; }
.next li { counter-increment: n; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line-soft); }
.next li::before { content: counter(n); position: absolute; left: 0; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--gold-light); display: grid; place-items: center; font-family: var(--serif); }
.next h4 { margin-bottom: 4px; }
.next p { margin: 0 0 10px; font-size: .97rem; }
.pay-big { font-size: 1rem; padding: 16px 36px; }
.contact-line { display: block; color: var(--muted); font-size: .92rem; margin-top: 16px; }
@media (max-width: 640px) { .tier-grid, .fgrid { grid-template-columns: 1fr; } }
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; transform: translateY(140%); transition: transform .3s; }
  .sticky-cta.show { transform: none; }
  .sticky-cta a { display: block; text-align: center; background: var(--gold); color: var(--white); font-weight: 700; padding: 15px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
  .ca-page .site-footer { padding-bottom: 96px; }
}

/* 15. FOOTER ------------------------------------------------------------ */
.site-footer { background: var(--forest-deep); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand .logo { color: var(--white); font-size: 1.6rem; }
.footer-brand .logo b { color: var(--gold-light); }
.footer-brand p { margin: 14px 0 20px; max-width: 34ch; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); color: var(--on-dark); transition: all .2s; }
.social a:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(217, 173, 105, .08); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Prices and figures: use even-height numerals in the serif font */
.stat b, .amount, .price-tag, .usd, .price-table .usd, .summary dd, .step-no, .lecture-card .series, .card-num { font-variant-numeric: lining-nums tabular-nums; }

/* 16. MOTION AND ACCESSIBILITY ----------------------------------------- */
.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-anim .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .sticky-cta { display: none !important; }
  body { font-size: 11pt; }
}
