/* rainikemba.com: from for-approval/rainikemba-homepage-v5-kente.html.
   --ink, --btn, --accent, --hi, --dark and --kente are set in each page's <head> from content.json colors. */
:root {
  --bg: #ffffff; --surface: #f1f7f1; --muted: #555555; --line: #e6e6e6;
  --on-dark: #ffffff; --on-dark-muted: rgba(255,255,255,.8);
  --btn-ink: #ffffff; --card: #ffffff;
  --display: ui-rounded, "SF Pro Rounded", "Nunito", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Nunito", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 88%); margin: 0 auto; }
.container.narrow { width: min(680px, 88%); }
.label { font-size: 15px; font-weight: 700; color: var(--accent); margin: 0 0 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; margin: 0; }
.btn { font-family: var(--display); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 24px; border-radius: 10px;
       font-weight: 700; font-size: 15px; transition: transform .15s ease; border: 0; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visually-hidden:focus { position: static !important; width: auto; height: auto; clip: auto; padding: 8px; }
.rte p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Header ---------- */
header { border-bottom: 1px solid var(--line); background: var(--bg); }
header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.wordmark span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 600; }
nav a:not(.btn):hover, nav a[aria-current] { color: var(--accent); }
nav .btn { padding: 10px 18px; font-size: 14px; }
.nav-links { display: flex; gap: 30px; }
.menu-toggle { display: none; }
.menu-toggle summary { list-style: none; cursor: pointer; padding: 8px; font-weight: 700; font-family: var(--display); }
.menu-toggle summary::-webkit-details-marker { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 100px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(60px, 8.4vw, 116px); line-height: .98; font-weight: 800; letter-spacing: -.025em; }
.hero h1 span { color: var(--accent); }
.hero .lede { font-size: 20px; color: var(--muted); max-width: 32ch; margin: 26px 0 34px; }
.hero .lede p { margin: 0; }
.hero .lede strong { color: var(--ink); }
.art { position: relative; justify-self: center; width: min(100%, 380px); }
.deco { position: absolute; z-index: 0; }
.deco--kente { width: 120%; left: -10%; top: 10%; aspect-ratio: 1.05; background: var(--kente) 0 0 / 80px 80px; }
.bookobj { position: relative; z-index: 1; aspect-ratio: 331/445; border-radius: 3px 8px 8px 3px; overflow: hidden;
           transform: rotate(-3deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.45); }
.bookobj::after { content: ""; position: absolute; inset: 0; box-shadow: inset 5px 0 0 rgba(0,0,0,.2); border-radius: inherit; }
.bookobj img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; z-index: 2; right: -14px; bottom: 30px; background: var(--btn); color: var(--btn-ink);
         padding: 12px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; line-height: 1.2; transform: rotate(3deg); }
.badge b { display: block; font-family: var(--display); font-size: 30px; color: var(--hi); }

/* ---------- Book ---------- */
.book { background: var(--dark); color: var(--on-dark); padding: 88px 0; }
.book .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.book .label { color: var(--hi); }
.book h1, .book h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; margin-bottom: 12px; }
.book .sub { font-size: 20px; font-weight: 500; color: var(--on-dark-muted); margin: 0 0 28px; }
.book .rte p { color: var(--on-dark-muted); }
.inside { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.inside li { display: flex; gap: 12px; font-size: 15px; color: var(--on-dark-muted); line-height: 1.45; }
.inside li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 6px; background: var(--hi); transform: rotate(45deg); }
.facts { display: flex; gap: 36px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); font-size: 13px; color: var(--on-dark-muted); }
.facts b { display: block; font-family: var(--display); font-size: 26px; color: var(--on-dark); }
.buy { background: var(--card); color: var(--ink); border-radius: 14px; padding: 8px; }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 22px; }
.opt + .opt { border-top: 1px solid var(--line); }
.opt h3 { font-size: 22px; }
.opt p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.opt .price { font-family: var(--display); font-size: 28px; font-weight: 800; }
.opt-buttons { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.opt-buttons .btn { justify-content: center; }
.buy .note { text-align: center; font-size: 12px; color: var(--muted); padding: 2px 0 12px; }
.cover-band { padding: 72px 0; }
.cover-band .cover { width: min(320px, 70%); margin: 0 auto; }

/* ---------- Story ---------- */
.story { padding: 110px 0 100px; }
.story .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.story h2 { font-size: clamp(40px, 5vw, 60px); line-height: 1.02; }
.story h2 span { color: var(--accent); }
.story p { color: var(--muted); margin: 0 0 18px; }
.timeline { margin-top: 36px; display: grid; gap: 14px; }
.timeline > div { background: var(--surface); border-radius: 12px; padding: 20px 22px; border-left: 5px solid var(--accent); }
.timeline small { font-size: 14px; font-weight: 700; color: var(--accent); }
.timeline h3 { font-size: 22px; margin: 2px 0; }
.timeline p { margin: 0; font-size: 15px; }

/* ---------- Quote ---------- */
.message { padding: 0 0 100px; }
.message .card { background: var(--hi); color: var(--ink); border-radius: 16px; padding: 64px 8%; text-align: center; }
.message blockquote { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.15; letter-spacing: -.02em; margin: 0 auto 16px; max-width: 22ch; }
.message cite { font-style: normal; font-size: 15px; font-weight: 700; }

/* ---------- Contact CTA ---------- */
.contact { padding: 0 0 100px; }
.contact .container { display: flex; justify-content: space-between; align-items: end; gap: 40px; border-top: 1px solid var(--line); padding-top: 64px; }
.contact h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; max-width: 14ch; }
.contact p { color: var(--muted); margin: 14px 0 0; max-width: 42ch; }

.story .label, .contact .label { color: var(--accent); }

/* ---------- Generic pages and forms ---------- */
.page { padding: 72px 0 96px; }
.page h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 28px 0; font-size: 14px; }
footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; position: relative; }
  .menu-toggle[open] .nav-links { display: flex; flex-direction: column; gap: 4px; position: absolute; right: 0; top: 44px; z-index: 10;
    background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-width: 180px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
  .menu-toggle[open] .nav-links a { padding: 10px 12px; }
  nav { gap: 12px; }
  .hero { padding: 44px 0 80px; }
  .hero .container, .book .container, .story .container { grid-template-columns: 1fr; gap: 56px; }
  .art { width: min(72%, 300px); }
  .book { padding: 64px 0; }
  .inside { grid-template-columns: 1fr; }
  .contact .container { flex-direction: column; align-items: start; }
}

.field select { -webkit-appearance: none; appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center; }

@media (max-width: 420px) { .opt-buttons { grid-auto-flow: row; } }
