/* ==========================================================================
   Dr. Obiora Madu — design system
   Pure hand-authored CSS. No framework, no icon font.
   ========================================================================== */

:root {
  --navy: #071426;
  --navy-2: #0d2039;
  --navy-3: #030d19;
  --gold: #d6a64a;
  --gold-light: #e8c273;
  --cream: #f7f5ef;
  --white: #ffffff;
  --ink: #172033;
  --muted: #687181;
  --line: #dddcd6;
  --max: 1180px;
  --radius: 12px;
  --nav-h: 74px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { display: block; max-width: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3 { font-family: "Playfair Display", serif; line-height: 1.08; font-weight: 600; }

h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--navy); }

h3 { color: var(--navy); }

p { color: var(--muted); }

section { padding: 105px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .88rem;
  font-weight: 600;
  font-family: inherit;
  transition: .25s ease;
  cursor: pointer;
  background: none;
}

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline { border-color: var(--gold); color: var(--white); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }

.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: .5; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
  gap: 7px;
}
.text-link:hover { color: var(--gold); }

/* ---- Nav ---- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(3,13,26,.86);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 8px 28px rgba(2,8,17,.35); }

.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.brand-mark { color: var(--gold); font-size: 1.55rem; }

.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 24px; }

.nav-links a { color: rgba(255,255,255,.85); font-size: .8rem; transition: .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }

.nav-cart {
  position: relative;
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  margin-right: 22px;
  transition: .2s ease;
}
.nav-cart:hover { color: var(--gold-light); }
.nav-cart .cart-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: .62rem;
  font-weight: 700;
  margin-left: 5px;
}

.nav-cta { font-size: .77rem; padding: 10px 15px; }

.menu { display: none; border: 0; background: none; color: white; font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* ---- Hero (home) ---- */
.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--navy);
  /* background-image/-position/-size for the hero photo are set inline per-page
     (see index.php) — a relative url() inside a CSS custom property set via
     inline style resolves against the STYLESHEET that consumes it via var(),
     not the HTML page, so it can 404 silently. Keeping the whole composite
     inline avoids that. */
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(214,166,74,.10), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-copy { max-width: 560px; flex: 1 1 auto; }

.hero h1 { color: var(--white); font-size: clamp(3.1rem, 6vw, 5.6rem); letter-spacing: -.035em; }
.hero h1 span { color: var(--gold-light); font-style: italic; }

.hero-text { max-width: 520px; color: rgba(255,255,255,.78); margin: 22px 0 28px; font-size: 1rem; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Hero slider ----
   The active slide stays in normal flow (position: relative) so its natural
   content height sizes .hero-slides → .hero, exactly like the single-image
   hero this replaced. Inactive slides are absolutely overlaid on top of it
   purely for the opacity crossfade — .hero keeps overflow:hidden/min-height
   as a floor, but can still grow for a slide with taller content instead of
   clipping it. */
.hero-slides { position: relative; width: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  background-color: var(--navy);
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease;
  z-index: 1;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; z-index: 2; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(7,20,38,.4); border: 1px solid rgba(255,255,255,.3); color: var(--white);
  font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  transition: .2s ease;
}
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 999px; padding: 0;
  background: rgba(255,255,255,.35); border: none; cursor: pointer;
  transition: .25s ease;
}
.hero-dot.is-active { background: var(--gold); width: 28px; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: calc(var(--nav-h) + 90px) 0 80px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); }
.page-hero p { color: rgba(255,255,255,.72); max-width: 620px; margin: 18px auto 0; }
.page-hero-rule { width: 96px; height: 2px; background: var(--gold); margin: 26px auto 0; opacity: .6; }

/* ---- Stats ---- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat {
  min-height: 140px;
  padding: 32px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong { font-family: "Playfair Display", serif; color: var(--navy); font-size: 2.4rem; line-height: 1; margin-bottom: 7px; }
.stat span { color: var(--navy); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.stat p { font-size: .76rem; margin-top: 7px; }

/* ---- About / two-column media+copy ---- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-grid.reverse { grid-template-columns: 1.1fr .9fr; }
.about-grid.reverse .about-image { order: 2; }

.about-image { height: 570px; border-radius: var(--radius); overflow: hidden; background: #ddd; position: relative; }
.about-image img { height: 100%; width: 100%; object-fit: cover; object-position: center 8%; }
.about-image-caption {
  position: absolute;
  bottom: 22px; left: 22px; right: 22px;
  background: rgba(7,20,38,.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(214,166,74,.3);
  padding: 14px 18px;
  border-radius: 6px;
}
.about-image-caption p:first-child { color: var(--gold-light); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 3px; }
.about-image-caption p:last-child { color: var(--white); font-size: .82rem; }

.about-copy h2 { max-width: 650px; }
.about-copy > p { margin-top: 24px; max-width: 640px; font-size: .97rem; }
.about-copy > p + p { margin-top: 14px; }

.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 35px; margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--line); }
.fact strong { display: block; color: var(--navy); font-size: .85rem; margin-bottom: 3px; }
.fact span { color: var(--muted); font-size: .76rem; }

/* ---- Philosophy / principle cards ---- */
.philosophy { background: var(--cream); text-align: center; }
.philosophy-heading { max-width: 650px; margin: 0 auto 50px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; }
.principle { padding: 0 38px; border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; padding-right: 0; }
.principle-number { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.8rem; margin-bottom: 18px; }
.principle h3 { font-size: 1.35rem; margin-bottom: 12px; }
.principle p { font-size: .87rem; }

/* ---- Maturity scale (RAPID page) ---- */
.maturity-scale { display: flex; align-items: flex-start; justify-content: space-between; max-width: 760px; margin: 44px auto 0; position: relative; }
.maturity-scale::before { content: ''; position: absolute; left: 8px; right: 8px; top: 6px; height: 2px; background: var(--line); z-index: 0; }
.maturity-step { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 1; flex: 1; }
.maturity-step .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); }
.maturity-step.is-target .dot { background: var(--gold); }
.maturity-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: center; }
.maturity-step.is-target .maturity-label { color: var(--navy); }

/* ---- Pillar list (RAPID page) ---- */
.pillar-list { max-width: 880px; margin: 0 auto; text-align: left; }
.pillar-row { display: flex; gap: 30px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.pillar-row:first-child { padding-top: 0; }
.pillar-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pillar-letter {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; background: var(--navy);
  color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
}
.pillar-body { flex: 1; }
.pillar-tag { display: block; color: var(--gold); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.pillar-body h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.pillar-question { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.02rem; color: var(--ink); margin-bottom: 10px; }
.pillar-detail { font-size: .87rem; color: var(--muted); }

/* ---- Promo popup (site-wide) ---- */
.promo-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.promo-modal.is-open { display: flex; }
.promo-modal-overlay { position: absolute; inset: 0; background: rgba(3,10,20,.72); }
.promo-modal-panel {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  max-width: 640px; width: 100%; display: grid; grid-template-columns: .8fr 1.2fr;
  box-shadow: 0 30px 70px rgba(3,10,20,.4);
  animation: promoIn .35s ease;
}
@keyframes promoIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.promo-modal-media { background: var(--navy); display: flex; align-items: center; justify-content: center; padding: 24px; }
.promo-modal-media img { max-height: 260px; width: auto; border-radius: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.promo-modal-body { padding: 34px 30px; }
.promo-modal-eyebrow { color: var(--gold); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.promo-modal-body h3 { font-family: "Playfair Display", serif; color: var(--navy); font-size: 1.4rem; margin: 10px 0 12px; line-height: 1.3; }
.promo-modal-body p { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.promo-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.promo-modal-actions .btn { text-align: center; }
.promo-modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 0; font-size: 1.1rem; line-height: 1; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.promo-modal-close:hover { background: var(--white); }
@media (max-width: 640px) {
  .promo-modal-panel { grid-template-columns: 1fr; }
  .promo-modal-media { padding: 20px; }
  .promo-modal-media img { max-height: 180px; }
}

/* Card variant of principle, used standalone (speaking services, impact) */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.info-card .principle-number,
.info-card .card-icon { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.8rem; margin-bottom: 18px; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.info-card p { font-size: .87rem; margin-bottom: 16px; }
.info-card ul li { font-size: .85rem; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line); }
.info-card ul li:first-child { border-top: 0; }

/* ---- Timeline / journey grid ---- */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline-item { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 26px 22px; border-radius: 6px; }
.timeline-item .icon { display: block; font-size: 1.9rem; margin-bottom: 14px; }
.timeline-item h4 { color: var(--navy); font-size: 1.05rem; font-family: "Playfair Display", serif; margin-bottom: 8px; }
.timeline-item p { font-size: .82rem; }
.timeline-item .year { display: inline-block; color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 14px; }

/* ---- Events ---- */
.event-teaser { background-color: var(--navy); background-size: cover; background-position: center; padding: 60px 0; }
.event-teaser-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.event-teaser-eyebrow { display: inline-block; color: var(--gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.event-teaser h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 600px; }
.event-teaser p { color: rgba(255,255,255,.72); margin-top: 10px; max-width: 520px; font-family: "Playfair Display", serif; font-style: italic; }

.event-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s ease; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(7,20,38,.1); }
.event-card-media { position: relative; height: 220px; background: var(--navy); overflow: hidden; }
.event-card-media img { height: 100%; width: 100%; object-fit: cover; }
.event-card-date {
  position: absolute; top: 14px; left: 14px; background: rgba(7,20,38,.85); color: var(--gold-light);
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px;
}
.event-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.event-card-body h3 { font-family: "Playfair Display", serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.event-card-venue { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.event-card-body p.excerpt { font-size: .87rem; flex: 1; margin-bottom: 20px; color: var(--muted); }
.event-card-cta {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--navy); border: 1px solid var(--navy); padding: 9px 16px; border-radius: 5px; transition: .2s ease; align-self: flex-start;
}
.event-card-cta:hover { background: var(--navy); color: var(--white); }

.event-hero { background-size: cover; background-position: center; padding: calc(var(--nav-h) + 90px) 0 80px; text-align: center; }
.event-hero .eyebrow { justify-content: center; }
.event-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; margin: 0 auto; }
.event-hero .event-tagline { color: var(--gold-light); font-family: "Playfair Display", serif; font-style: italic; font-size: 1.15rem; margin: 16px auto 0; max-width: 640px; }
.event-meta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin-top: 38px; }
.event-meta-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.event-meta-item .meta-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.event-meta-item .meta-value { font-size: .95rem; color: rgba(255,255,255,.9); }

/* ---- Awards page ---- */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.award-card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: var(--radius); padding: 40px 26px 30px; text-align: center; transition: .25s ease;
}
.award-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(7,20,38,.12); }
.award-badge {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 22px;
  background: radial-gradient(circle at 32% 28%, var(--gold-light), var(--gold) 62%, #9c7a2e 100%);
  border: 3px solid var(--navy);
  display: flex; align-items: center; justify-content: center; font-size: 2.1rem; line-height: 1;
  box-shadow: 0 10px 20px rgba(214,166,74,.4), inset 0 -3px 6px rgba(0,0,0,.18);
}
.award-card h3 { font-family: "Playfair Display", serif; color: var(--navy); font-size: 1.1rem; margin-bottom: 12px; line-height: 1.35; }
.award-card p { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.award-year-pill {
  display: inline-block; background: var(--navy); color: var(--gold-light); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; padding: 6px 16px; border-radius: 999px;
}

/* ---- Fellowships / accolades ---- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.fellowship-list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.fellowship-list li:first-child { border-top: 0; }
.fellowship-list .marker { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.1rem; line-height: 1.5; }
.fellowship-list h4 { color: var(--navy); font-size: .88rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }
.fellowship-list p { font-size: .82rem; }

.accolade-box { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.accolade-box ul li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink); }
.accolade-box ul li:first-child { border-top: 0; }
.accolade-box ul li .dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ---- Books ---- */
.books-grid { display: grid; grid-template-columns: 280px 1fr; gap: 70px; align-items: start; }
.books-intro p { margin-top: 20px; max-width: 300px; font-size: .9rem; }

.book-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.see-more-books { text-align: center; margin-top: 45px; }

.book img { height: 315px; width: 100%; border-radius: 5px; box-shadow: 0 14px 30px rgba(7,20,38,.12); object-fit: contain; background: var(--cream); }
.book h3 { color: var(--navy); font-family: "DM Sans", sans-serif; font-size: .92rem; font-weight: 700; line-height: 1.4; margin-top: 18px; }
.book a.text-link { color: var(--gold); font-size: .76rem; font-weight: 700; margin-top: 8px; }
.book a.text-link:hover { color: var(--navy); }

/* Full catalog page card */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 55px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.filter-btn {
  font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--muted);
  cursor: pointer; transition: .2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.book-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s ease;
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(7,20,38,.1); }
.book-card-media { position: relative; height: 320px; background: var(--cream); overflow: hidden; }
.book-card-media img { height: 100%; width: 100%; object-fit: contain; }
.book-card-badge {
  position: absolute; top: 14px; right: 14px; background: var(--navy); color: var(--gold-light);
  font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px;
}
.book-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.book-card-body h3 { font-family: "Playfair Display", serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.book-card-body p { font-size: .87rem; flex: 1; margin-bottom: 20px; }
.book-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.book-card-price { font-family: "Playfair Display", serif; color: var(--gold); font-size: 1.15rem; }
.book-card-cta {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--navy); border: 1px solid var(--navy); padding: 9px 16px; border-radius: 5px; transition: .2s ease;
}
.book-card-cta:hover { background: var(--navy); color: var(--white); }

.quote-block { max-width: 720px; margin: 0 auto; text-align: center; position: relative; }
.quote-block .quote-mark { font-family: "Playfair Display", serif; font-size: 4rem; color: var(--gold-light); opacity: .4; line-height: 1; display: block; }
.quote-block p { font-family: "Playfair Display", serif; font-size: 1.3rem; font-style: italic; color: rgba(255,255,255,.92); margin-top: -10px; }
.quote-block .attribution { margin-top: 16px; color: var(--gold-light); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

/* ---- Book detail ---- */
.book-detail { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.book-detail-media { position: sticky; top: calc(var(--nav-h) + 20px); }
.book-detail-media img { border-radius: var(--radius); box-shadow: 0 24px 50px rgba(7,20,38,.16); }
.book-detail-info .eyebrow { margin-bottom: 8px; }
.book-detail-info h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--navy); margin-bottom: 8px; }
.book-detail-byline { font-size: .95rem; margin-bottom: 18px; }
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.stars { color: var(--gold); letter-spacing: 2px; }
.price-row { display: flex; align-items: baseline; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.price-row .price { font-family: "Playfair Display", serif; color: var(--gold); font-size: 2.2rem; }
.price-row .compare { color: var(--muted); text-decoration: line-through; font-size: 1.1rem; }

.format-group { margin-bottom: 28px; }
.format-group label.field-label { display: block; margin-bottom: 12px; }
.format-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.format-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--muted);
  padding: 14px 10px; border-radius: 6px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  cursor: pointer; transition: .2s ease;
}
.format-btn.active, .format-btn:hover { border-color: var(--gold); color: var(--navy); background: rgba(214,166,74,.08); }

.book-detail-info .synopsis { font-size: .96rem; margin-bottom: 30px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.detail-actions .btn { flex: 1; min-width: 180px; padding: 16px 20px; }

.author-note {
  background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 46px; margin-top: 90px; position: relative; overflow: hidden;
}
.author-note h3 { color: var(--gold-light); margin-bottom: 18px; }
.author-note p.note-text { color: rgba(255,255,255,.85); font-style: italic; font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; max-width: 720px; }
.author-note-sig { display: flex; align-items: center; gap: 14px; }
.author-note-sig img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--gold); object-position: center 10%; }
.author-note-sig strong { color: var(--white); display: block; font-size: .88rem; }
.author-note-sig span { color: var(--gold-light); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---- Speaking ---- */
.speaking { padding: 0; background: var(--navy); color: white; }
.speaking-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.speaking-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px max(40px, calc((100vw - var(--max)) / 2)) 80px 0; margin-left: max(40px, calc((100vw - var(--max)) / 2)); }
.speaking-copy h2 { color: white; }
.speaking-copy p { color: rgba(255,255,255,.7); max-width: 490px; margin: 20px 0 28px; }
.speaking-image { min-height: 480px; background-color: var(--navy-2); }

.testimonial-panel { background: var(--navy); border-radius: var(--radius); padding: 40px; }
.testimonial { border-left: 2px solid var(--gold); padding-left: 26px; }
.testimonial .quote-mark { font-family: "Playfair Display", serif; font-size: 2.6rem; color: var(--gold); opacity: .5; display: block; margin-bottom: 10px; }
.testimonial p { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.15rem; color: var(--white); margin-bottom: 18px; }
.testimonial strong { color: var(--gold-light); display: block; font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }
.testimonial span { color: rgba(255,255,255,.6); font-size: .78rem; }

/* ---- Recognition ---- */
.recognition { padding: 55px 0; border-bottom: 1px solid var(--line); }
.recognition-label { text-align: center; margin-bottom: 30px; }
.awards { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.award { padding: 0 22px; border-right: 1px solid var(--line); font-family: "Playfair Display", serif; color: var(--navy); font-size: .92rem; line-height: 1.35; }
.award:last-child { border: 0; }

/* ---- Final CTA ---- */
.final-cta {
  background-color: var(--navy);
  padding: 90px 0; color: white;
}
.cta-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.final-cta h2 { color: white; max-width: 650px; }
.final-cta p { color: rgba(255,255,255,.68); margin-top: 16px; max-width: 650px; }
.cta-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ---- Impact / general card row ---- */
.impact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.impact-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.impact-card p { font-size: .87rem; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field.span-2 { grid-column: 1 / -1; }
.field-label { font-size: .78rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .93rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 13px 14px; outline: none; transition: .2s ease;
}
.field select { appearance: none; background-image: 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' stroke='%23687181' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,166,74,.15); }

/* Dark-panel form variant (speaking form on navy card) */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 46px; position: relative; overflow: hidden; }
.form-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }
.form-panel h2 { margin-bottom: 30px; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.contact-item { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.contact-item:first-child { border-top: 0; }
.contact-item .mark { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.3rem; }
.contact-item h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-item a, .contact-item p { font-size: .96rem; color: var(--ink); }
.contact-item a:hover { color: var(--gold); }
.contact-map {
  margin-top: 30px; height: 220px; border-radius: var(--radius); background: var(--navy);
  display: flex; align-items: flex-end; padding: 20px; position: relative; overflow: hidden;
}
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact-map::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,17,31,.88) 0%, rgba(5,17,31,.15) 55%, rgba(5,17,31,0) 100%);
}
.contact-map > span { position: relative; z-index: 1; }
.contact-map .pulse-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; display: inline-block; margin-right: 8px; }
.contact-map span.label { color: var(--gold-light); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }

/* ---- Cart ---- */
.page-title-row { margin-bottom: 50px; }
.page-title-row h1 { color: var(--navy); margin-bottom: 16px; }
.page-title-row .rule { height: 2px; width: 64px; background: var(--gold); }

.cart-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 60px; align-items: start; }
.cart-item {
  display: flex; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 18px; align-items: flex-start;
}
.cart-item img { width: 88px; height: 128px; border-radius: 4px; flex-shrink: 0; }
.cart-item-body { flex: 1; }
.cart-item-top { display: flex; justify-content: space-between; gap: 14px; }
.cart-item-top h3 { font-family: "Playfair Display", serif; font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.cart-item-top span.format { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.remove-btn { background: none; border: 0; color: var(--muted); font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 4px; }
.remove-btn:hover { color: #b3392f; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; gap: 14px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty-stepper button { width: 34px; height: 34px; border: 0; background: var(--cream); color: var(--navy); font-size: 1rem; cursor: pointer; }
.qty-stepper button:hover { background: var(--gold); color: var(--navy); }
.qty-stepper input { width: 46px; height: 34px; text-align: center; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-family: inherit; font-size: .9rem; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.cart-item-price { font-family: "Playfair Display", serif; color: var(--gold); font-size: 1.15rem; }
.cart-empty { padding: 60px 0; text-align: center; }
.cart-empty a { color: var(--gold); font-weight: 600; }

.summary-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; position: sticky; top: calc(var(--nav-h) + 20px); }
.summary-card h2 { font-size: 1.4rem; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.summary-row span:last-child { color: var(--ink); font-weight: 600; }
.summary-divider { height: 1px; background: var(--line); margin: 20px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 26px; }
.summary-total span:first-child { font-size: 1rem; color: var(--navy); }
.summary-total span:last-child { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--gold); }
.summary-note { text-align: center; font-size: .74rem; color: var(--muted); margin-top: 14px; }

/* ---- Checkout ---- */
.checkout-header {
  background: var(--navy); height: var(--nav-h); display: flex; align-items: center; justify-content: center;
  position: sticky; top: 0; z-index: 50;
}
.checkout-header a { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }

.checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.checkout-steps { display: flex; flex-direction: column; gap: 40px; }
.checkout-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; position: relative; }
.checkout-step .step-num {
  position: absolute; top: -18px; left: 30px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", serif; font-size: .95rem; font-weight: 600;
}
.checkout-step h2 { font-size: 1.4rem; margin-bottom: 26px; }

.shipping-option {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer; margin-bottom: 14px; transition: .2s ease;
}
.shipping-option:hover { border-color: var(--gold); }
.shipping-option.selected { border-color: var(--gold); background: rgba(214,166,74,.06); }
.shipping-option .opt-left { display: flex; align-items: center; gap: 14px; }
.shipping-option input[type="radio"] { accent-color: var(--gold); width: 16px; height: 16px; }
.shipping-option p.title { color: var(--navy); font-weight: 600; font-size: .92rem; }
.shipping-option p.sub { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.shipping-option .price { color: var(--gold); font-weight: 700; font-size: .9rem; }

.payment-note { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 30px; text-align: center; }
.payment-note h3 { font-size: 1rem; margin-bottom: 8px; }
.payment-note p { font-size: .86rem; max-width: 440px; margin: 0 auto; }

.order-summary { background: var(--white); border: 1px solid var(--gold); border-radius: var(--radius); padding: 36px; position: sticky; top: calc(var(--nav-h) + 20px); }
.order-summary h2 { font-size: 1.3rem; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.order-line { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.order-line img { width: 46px; height: 60px; border-radius: 3px; flex-shrink: 0; }
.order-line .name { font-size: .86rem; color: var(--navy); font-weight: 600; }
.order-line .qty { font-size: .74rem; color: var(--muted); }
.order-line .amt { margin-left: auto; font-size: .86rem; color: var(--gold); font-weight: 600; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .74rem; color: var(--muted); margin-top: 14px; }

/* ---- Footer ---- */
footer.site-footer { background: var(--navy-3); color: white; padding: 65px 0 25px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 50px; }
.footer-brand p { color: rgba(255,255,255,.55); max-width: 270px; font-size: .8rem; margin-top: 14px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.75);
  transition: .2s ease;
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
footer h4 { color: var(--gold-light); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 17px; }
footer li { margin-bottom: 9px; }
footer li a { color: rgba(255,255,255,.62); font-size: .78rem; }
footer li a:hover { color: white; }
.newsletter input { width: 100%; background: transparent; color: white; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; padding: 11px; outline: none; margin-bottom: 8px; font-family: inherit; }
.newsletter input:focus { border-color: var(--gold); }
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter button { width: 100%; border: 0; }
.copyright { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 22px; color: rgba(255,255,255,.4); font-size: .72rem; }

/* ---- Simple checkout-only footer ---- */
.footer-slim { background: var(--navy-3); color: white; padding: 40px 0; margin-top: auto; }
.footer-slim .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-slim a { color: rgba(255,255,255,.6); font-size: .78rem; }
.footer-slim a:hover { color: white; }
.footer-slim .brand { color: var(--gold-light); font-size: 1rem; }

/* ---- Auth ---- */
.auth-shell { background: var(--cream); padding: calc(var(--nav-h) + 70px) 0 90px; }
.auth-card { max-width: 460px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: 8px; }
.auth-card .subtitle { font-size: .9rem; margin-bottom: 28px; }
.auth-card .foot-link { text-align: center; margin-top: 22px; font-size: .85rem; color: var(--muted); }
.auth-card .foot-link a { color: var(--gold); font-weight: 600; }

.form-error { background: #fdecea; border: 1px solid #f3c8c3; color: #9c3327; padding: 12px 16px; border-radius: 6px; font-size: .85rem; margin-bottom: 22px; }
.form-success { background: #eaf7ee; border: 1px solid #bfe4cb; color: #256a3d; padding: 12px 16px; border-radius: 6px; font-size: .85rem; margin-bottom: 22px; }

/* ---- Data tables (account / admin) ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table th { color: var(--navy); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; background: var(--cream); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.wrap { white-space: normal; }

.status-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.status-pill.pending { background: #fdf2df; color: #95651b; }
.status-pill.paid { background: #eaf7ee; color: #256a3d; }
.status-pill.failed, .status-pill.cancelled { background: #fdecea; color: #9c3327; }
.status-pill.new { background: #e8eef7; color: #1d4e89; }
.status-pill.read { background: var(--cream); color: var(--muted); }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); font-size: .9rem; }

/* ---- 404 ---- */
.not-found { text-align: center; padding: 220px 0 140px; }
.not-found h1 { color: var(--navy); margin-bottom: 16px; }
.not-found a { color: var(--gold); font-weight: 600; }

/* ---- Motion ---- */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance: staggered fade-up on load */
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .hero-text,
  .hero-copy .hero-actions {
    opacity: 0;
    animation: fadeUp .7s ease forwards;
  }
  .hero-copy .eyebrow { animation-delay: .1s; }
  .hero-copy h1 { animation-delay: .22s; }
  .hero-copy .hero-text { animation-delay: .4s; }
  .hero-copy .hero-actions { animation-delay: .56s; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Scroll reveal: JS adds .reveal-init on load, .is-visible when scrolled into view */
  .reveal-init {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s ease;
  }
  .reveal-init.is-visible { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }

  .nav.mobile-open { height: auto; background: var(--navy); }
  .nav.mobile-open .nav-inner { flex-wrap: wrap; padding: 18px 0; }
  .nav.mobile-open .nav-links { display: flex; width: 100%; order: 3; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 0 10px; margin: 0; }
  .nav.mobile-open .nav-cart { order: 2; margin-right: 16px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .about-grid, .about-grid.reverse, .speaking-grid, .cta-inner,
  .split-2, .books-grid, .book-detail, .contact-grid, .cart-grid, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .about-grid.reverse .about-image { order: 0; }

  .about-grid { gap: 45px; }
  .about-image { height: 480px; }

  .principles, .card-grid-3 { grid-template-columns: 1fr; gap: 35px; }
  .principle, .principle:first-child, .principle:last-child { padding: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .principle:last-child { border-bottom: 0; padding-bottom: 0; }

  .timeline-grid { grid-template-columns: repeat(2, 1fr); }

  .maturity-label { font-size: .6rem; }
  .pillar-row { flex-direction: column; gap: 16px; }
  .pillar-letter { width: 52px; height: 52px; font-size: 1.4rem; }

  .awards-grid { grid-template-columns: 1fr; gap: 24px; }

  .books-grid { gap: 40px; }
  .books-intro p { max-width: 600px; }
  .book-list { grid-template-columns: repeat(3, 1fr); }

  .speaking-copy { padding: 75px 24px; max-width: 1180px; margin: auto; }
  .speaking-image { min-height: 400px; }

  .awards { grid-template-columns: repeat(2, 1fr); gap: 25px 0; }
  .award:nth-child(2) { border-right: 0; }
  .award:nth-child(3) { border-right: 1px solid var(--line); }
  .award:nth-child(4) { border-right: 0; }
  .award:last-child { grid-column: 1 / -1; }

  .cta-actions { justify-content: flex-start; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .book-detail-media { position: static; }
  .contact-map { display: none; }
  .order-summary, .summary-card { position: static; }
}

/* ==========================================================================
   Admin panel
   ========================================================================== */
.admin-body { background: var(--cream); }
.admin-shell { display: flex; min-height: 100vh; align-items: flex-start; }
.admin-sidebar {
  width: 240px; flex-shrink: 0; background: var(--navy); color: var(--white);
  display: flex; flex-direction: column; padding: 28px 22px; position: sticky; top: 0; height: 100vh;
}
.admin-brand { font-family: "Playfair Display", serif; font-size: 1.05rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.admin-brand .brand-mark { color: var(--gold); font-size: 1.3rem; }
.admin-brand-tag { color: var(--gold-light); font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-left: 2px; }
.admin-nav-links { display: flex; flex-direction: column; gap: 4px; margin-top: 34px; flex: 1; }
.admin-nav-links a { padding: 11px 14px; border-radius: 6px; font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.72); transition: .2s ease; }
.admin-nav-links a:hover { background: rgba(255,255,255,.06); color: var(--white); }
.admin-nav-links a.active { background: var(--gold); color: var(--navy); }
.admin-logout-form { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.admin-logout-btn {
  display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.6); font-family: inherit; font-size: .82rem; font-weight: 600; padding: 10px 14px; border-radius: 6px; transition: .2s ease;
}
.admin-logout-btn:hover { color: var(--white); background: rgba(255,255,255,.06); }

.admin-main { flex: 1; min-width: 0; padding: 40px 44px 60px; }
.admin-topbar { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 34px; flex-wrap: wrap; gap: 14px; }
.admin-topbar h1 { font-size: 1.9rem; color: var(--navy); }
.admin-topbar p.admin-sub { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 36px; }
.stat-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-tile .stat-tile-label { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.stat-tile .stat-tile-value { font-family: "Playfair Display", serif; font-size: 2rem; color: var(--navy); line-height: 1; }
.stat-tile.accent .stat-tile-value { color: var(--gold); }

.admin-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 32px; }
.admin-panel h2 { font-size: 1.2rem; margin-bottom: 20px; }
.admin-panel-foot { margin-top: 16px; text-align: right; }

.admin-list-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.admin-list-row:first-child { border-top: 0; }
.admin-list-row .meta { color: var(--muted); font-size: .76rem; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }

.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 30px; }
.detail-grid dt { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 4px; }
.detail-grid dd { font-size: .92rem; color: var(--ink); }

.checkbox-field { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.checkbox-field input { width: 16px; height: 16px; accent-color: var(--gold); }
.checkbox-field label { font-size: .85rem; color: var(--navy); font-weight: 600; }

.inline-form { display: inline-block; }

.status-pill.active { background: #eaf7ee; color: #256a3d; }
.status-pill.inactive { background: var(--cream); color: var(--muted); }

@media (max-width: 900px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; padding: 16px 20px; }
  .admin-brand-tag { display: none; }
  .admin-nav-links { flex-direction: row; margin-top: 0; flex-wrap: wrap; }
  .admin-logout-form { margin-top: 0; margin-left: auto; padding-top: 0; border-top: 0; }
  .admin-main { padding: 28px 20px 50px; }
  .admin-two-col, .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container, .hero-inner { width: min(calc(100% - 32px), var(--max)); }

  section { padding: 75px 0; }

  .hero { min-height: 720px; }
  .hero h1 { font-size: 3.1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-arrow { display: none; }

  .page-hero { padding: calc(var(--nav-h) + 60px) 0 55px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 25px 15px; min-height: 125px; }
  .stat strong { font-size: 1.9rem; }

  .about-image { height: 390px; }
  .about-facts { grid-template-columns: 1fr; }

  .timeline-grid { grid-template-columns: 1fr; }

  .book-list { grid-template-columns: 1fr; }
  .book img { height: 380px; }
  .book-card-media { height: 380px; }

  .format-options { grid-template-columns: 1fr; }
  .detail-actions .btn { min-width: 100%; }

  .speaking-image { min-height: 300px; }

  .awards { grid-template-columns: 1fr; }
  .award, .award:nth-child(3), .award:last-child { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
  .award:last-child { border-bottom: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .copyright { flex-direction: column; }

  .form-grid { grid-template-columns: 1fr; }
  .cart-item { flex-direction: column; }
  .cart-item img { width: 100px; height: 145px; }
}

/* ==========================================================================
   Executive repositioning (Oct 2026)
   Homepage hero, frameworks, record of contribution, engagement routes,
   Insights, War Room and curated recognition.
   ========================================================================== */

/* ---- Nav: cart only appears once a book is in it ---- */
.nav-cart { display: none; }
.nav-cart.has-items { display: inline-flex; align-items: center; }
.nav-cta.is-current { background: var(--gold-light); }

/* ---- Executive hero ---- */
.hero-exec { min-height: 720px; }
.hero-exec .hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; padding-bottom: 70px; padding-top: calc(var(--nav-h) + 60px); }
.hero-exec .hero-copy { max-width: 640px; }
.hero-exec h1 { font-size: clamp(2.7rem, 4.8vw, 4.5rem); line-height: 1.04; }
.hero-kicker { color: rgba(255,255,255,.62); font-size: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin: -4px 0 22px; }
.hero-descriptor { color: var(--gold-light); font-size: .86rem; font-weight: 600; letter-spacing: .02em; margin-top: 24px; }
.hero-exec .hero-text { margin-top: 12px; font-size: 1.05rem; }

.hero-portrait { position: relative; height: 560px; }
.hero-portrait::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid rgba(214,166,74,.55); border-radius: var(--radius); pointer-events: none;
}
.hero-portrait img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.hero-portrait-tag {
  position: absolute; left: -28px; bottom: 40px; z-index: 2;
  background: var(--white); border-left: 3px solid var(--gold); border-radius: 6px;
  padding: 14px 20px; box-shadow: 0 16px 34px rgba(0,0,0,.25); max-width: 230px;
}
.hero-portrait-tag strong { display: block; font-family: "Playfair Display", serif; color: var(--navy); font-size: 1.35rem; line-height: 1.1; }
.hero-portrait-tag span { font-size: .74rem; color: var(--muted); }

/* ---- Section heads ---- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head h2 { max-width: 720px; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

/* ---- 02 Intro + problems ---- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-copy h2 { margin-bottom: 24px; }
.intro-copy p { font-size: .98rem; margin-bottom: 16px; max-width: 560px; }
.intro-copy em { color: var(--navy); font-family: "Playfair Display", serif; font-size: 1.05em; }
.intro-copy .text-link { margin-top: 10px; }

.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.problem-card { background: var(--white); padding: 30px 26px; }
.problem-num { display: block; color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.1rem; margin-bottom: 14px; }
.problem-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.problem-card p { font-size: .84rem; }

/* ---- 03 Frameworks ---- */
.framework-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; text-align: left; }
.framework-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; }
.framework-card.is-primary { background: var(--navy); border-color: var(--navy); }
.framework-card.is-primary h3 { color: var(--white); }
.framework-card.is-primary p { color: rgba(255,255,255,.72); }
.framework-card.is-primary .text-link { color: var(--gold-light); }
.framework-tag { color: var(--gold); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.framework-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.framework-card p { font-size: .88rem; flex: 1; margin-bottom: 22px; }
.framework-photo { width: calc(100% + 64px); margin: -36px -32px 26px; height: 170px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.rapid-letters { display: flex; gap: 8px; margin-bottom: 20px; }
.rapid-letters span {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", serif; color: var(--gold-light); font-size: 1.15rem;
}

/* ---- 04 Record of contribution ---- */
.milestone-track { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; text-align: left; }
.milestone-track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.milestone { position: relative; padding: 32px 20px 0 0; }
.milestone::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); }
.milestone:last-child::before { background: var(--gold); }
.milestone-year { display: block; color: var(--gold); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.milestone h3 { font-size: 1rem; line-height: 1.3; margin-bottom: 8px; }
.milestone p { font-size: .8rem; }

.collab-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); }
.collab-label { color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-right: 10px; }
.collab-item { font-family: "Playfair Display", serif; color: var(--navy); font-size: .95rem; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; }

/* ---- 05 Books & thinking ---- */
.books-thinking { text-align: left; }
.rapid-feature { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 50px; }
.rapid-feature-media { display: flex; justify-content: center; }
.rapid-feature-media img { max-height: 380px; width: auto; border-radius: 6px; box-shadow: 0 24px 50px rgba(7,20,38,.22); }
.rapid-feature-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.rapid-feature-sub { font-family: "Playfair Display", serif; font-style: italic; color: var(--navy); margin: 10px 0 18px; }
.rapid-feature-copy > p:not(.rapid-feature-sub) { max-width: 560px; margin-bottom: 28px; }
.book-list.book-list-4 { grid-template-columns: repeat(4, 1fr); }
.book-list-4 .book img { height: 290px; }

/* ---- Insights ---- */
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s ease; }
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(7,20,38,.1); }
.insight-card-media img { height: 190px; width: 100%; object-fit: cover; }
.insight-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.insight-meta { color: var(--gold); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.insight-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 10px; }
.insight-card h3 a:hover { color: var(--gold); }
.insight-card p { font-size: .86rem; flex: 1; margin-bottom: 16px; }
.insight-search { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 30px; }
.insight-search input { flex: 1; font-family: inherit; font-size: .93rem; border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; outline: none; }
.insight-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,166,74,.15); }
a.filter-btn { display: inline-block; }
.insight-empty { max-width: 620px; margin: 0 auto; text-align: center; padding: 30px 0; }
.insight-empty h2 { font-size: 1.9rem; margin-bottom: 14px; }
.insight-empty p { margin-bottom: 26px; }

.article-title { max-width: 900px; margin: 0 auto; }
.article { max-width: 760px; }
.article > p { font-size: 1.04rem; line-height: 1.8; color: var(--ink); margin-bottom: 22px; }
.article-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.article .article-source { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }
.article-source a { color: var(--gold); font-weight: 600; }
.article-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }

/* ---- 06 Engage ---- */
.engage-section { background: var(--navy); }
.engage-section h2 { color: var(--white); }
.engage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.engage-card {
  display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); background: rgba(255,255,255,.03); transition: .25s ease;
}
.engage-card:hover { border-color: var(--gold); background: rgba(214,166,74,.08); transform: translateY(-3px); }
.engage-card h3 { color: var(--white); font-size: 1.2rem; line-height: 1.3; margin-bottom: 12px; }
.engage-card p { color: rgba(255,255,255,.62); font-size: .84rem; flex: 1; margin-bottom: 18px; }
.engage-link { color: var(--gold-light); font-size: .78rem; font-weight: 700; }
.engage-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }

/* ---- RAPID page ---- */
.audience-list { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; }
.audience-list h3 { font-size: 1.3rem; margin-bottom: 18px; }
.audience-list li { font-size: .9rem; color: var(--muted); padding: 14px 0; border-top: 1px solid var(--line); }
.audience-list li:first-child { border-top: 0; }
.audience-list strong { color: var(--navy); }
.application-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; }

.war-room { background: var(--navy-3); }
.war-room h2 { color: var(--white); margin-bottom: 22px; }
.war-room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.war-room-copy p { color: rgba(255,255,255,.72); margin-bottom: 16px; max-width: 520px; }
.war-room-photo { margin-top: 30px; border-radius: var(--radius); width: 100%; max-height: 320px; object-fit: cover; }
.war-room-steps { list-style: none; }
.war-room-steps li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.war-room-steps li:first-child { border-top: 0; padding-top: 0; }
.war-room-steps .step-num {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: "Playfair Display", serif;
}
.war-room-steps h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.war-room-steps p { color: rgba(255,255,255,.62); font-size: .87rem; }

/* ---- Engagement routes (speaking.php) ---- */
.route-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.route-jump a { color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 600; padding: 8px 16px; border: 1px solid rgba(214,166,74,.5); border-radius: 999px; transition: .2s ease; }
.route-jump a:hover { background: var(--gold); color: var(--navy); }
.route-list { display: flex; flex-direction: column; gap: 30px; }
.route-card { border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 40px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.route-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.route-num { color: var(--gold); font-family: "Playfair Display", serif; font-size: 1.5rem; }
.route-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.route-body { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 28px; }
.route-card.has-photo .route-body { grid-template-columns: 1.4fr 1fr; }
.route-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.route-card.has-photo .route-facts { grid-template-columns: 1fr; gap: 18px; }
.route-facts dt { color: var(--navy); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.route-facts dd { color: var(--muted); font-size: .9rem; }
.route-photo { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--radius); }
.request-aside h3 { font-size: 1.3rem; margin-bottom: 16px; }
.next-steps { padding-left: 20px; list-style: decimal; }
.next-steps li { color: var(--muted); font-size: .9rem; padding: 6px 0; }
.next-steps li::marker { color: var(--gold); font-weight: 700; }
.request-note { margin-top: 22px; font-size: .88rem; }
.request-note a { color: var(--gold); font-weight: 600; }

/* ---- Recognition ---- */
.honour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.honour-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.honour-photo { height: 240px; width: 100%; object-fit: cover; }
.honour-year-block {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--gold-light); font-family: "Playfair Display", serif; font-size: 3rem;
}
.honour-body { padding: 28px; }
.honour-body h3 { font-size: 1.2rem; line-height: 1.3; margin: 14px 0 10px; }
.honour-body p { font-size: .86rem; }
.honour-list { max-width: 860px; margin: 0 auto; }
.honour-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.honour-list li:first-child { border-top: 0; }
.honour-date { color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.honour-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.honour-list p { font-size: .86rem; }

.footer-account { margin-top: 18px; font-size: .74rem; color: rgba(255,255,255,.4); }
.footer-account a { color: rgba(255,255,255,.55); }
.footer-account a:hover { color: var(--white); }
.copyright a { color: rgba(255,255,255,.55); }
.copyright a:hover { color: var(--white); }

@media (max-width: 1100px) {
  .milestone-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .milestone-track::before { display: none; }
  .engage-grid, .application-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav.mobile-open .nav-cta { display: inline-flex; order: 4; margin: 6px 0 14px; }
  .hero-exec .hero-inner { grid-template-columns: 1fr; gap: 50px; padding-top: calc(var(--nav-h) + 50px); }
  .hero-portrait { height: 460px; max-width: 420px; }
  .hero-portrait-tag { left: 16px; }
  .intro-grid, .war-room-grid, .rapid-feature { grid-template-columns: 1fr; gap: 45px; }
  .rapid-feature { padding: 34px; }
  .framework-grid, .honour-grid, .insight-grid { grid-template-columns: 1fr; }
  .book-list.book-list-4 { grid-template-columns: repeat(2, 1fr); }
  .route-facts, .route-card.has-photo .route-body { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-exec h1 { font-size: 2.6rem; }
  .hero-portrait { height: 400px; }
  .hero-portrait::before { inset: 14px -10px -14px 14px; }
  .problem-grid, .milestone-track, .engage-grid, .application-grid { grid-template-columns: 1fr; }
  .book-list.book-list-4 { grid-template-columns: 1fr; }
  .route-card { padding: 28px 22px; }
  .honour-list li { grid-template-columns: 1fr; gap: 6px; }
  .insight-search { flex-direction: column; }
}

/* ==========================================================================
   Oct 2026 (2): hero slider, Legacy Gala, RAPID colour system
   Colours sampled from the RAPID book cover wordmark.
   ========================================================================== */
:root {
  --rapid-r: #ec3138;
  --rapid-a: #f59e37;
  --rapid-p: #2fb7cf;
  --rapid-i: #1eb4ea;
  --rapid-d: #2146a1;
  --rapid-gradient: linear-gradient(90deg, var(--rapid-r) 0%, var(--rapid-a) 25%, var(--rapid-p) 50%, var(--rapid-i) 75%, var(--rapid-d) 100%);
}
.rapid-r { --rc: var(--rapid-r); }
.rapid-a { --rc: var(--rapid-a); }
.rapid-p { --rc: var(--rapid-p); }
.rapid-i { --rc: var(--rapid-i); }
.rapid-d { --rc: var(--rapid-d); }
.rapid-text-r { color: var(--rapid-r) !important; }
.rapid-text-a { color: var(--rapid-a) !important; }
.rapid-text-p { color: var(--rapid-p) !important; }
.rapid-text-i { color: var(--rapid-i) !important; }
.rapid-text-d { color: var(--rapid-d) !important; }

/* Wordmark */
.hero-rapid-word { font-family: "Playfair Display", serif; font-weight: 700; font-size: clamp(3.4rem, 7vw, 6rem); line-height: 1; letter-spacing: .02em; margin: 4px 0 6px; }
.hero-rapid-word span { color: var(--rc); text-shadow: 0 6px 24px rgba(0,0,0,.25); }
.hero-rapid-word-center { text-align: center; margin-bottom: 18px; }
.hero-h1-sm { font-size: clamp(2rem, 3.6vw, 3rem) !important; }
.hero-h1-sm sup { font-size: .45em; color: var(--gold-light); }

/* Homepage RAPID card + RAPID page */
.rapid-letters span[class^="rapid-"] { background: var(--rc); border-color: var(--rc); color: var(--white); font-weight: 700; }
.framework-card.is-primary { position: relative; overflow: hidden; }
.framework-card.is-primary::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--rapid-gradient); }
.pillar-letter[class*="rapid-"] { background: var(--rc); color: var(--white); box-shadow: 0 10px 22px -8px var(--rc); }
.maturity-scale::before { background: var(--rapid-gradient); opacity: .55; }
.page-hero .hero-rapid-word span { text-shadow: none; }

/* ---- Hero slider (executive variant) ---- */
.hero-exec .hero-slide { min-height: 720px; }
.hero-slide-rapid {
  background:
    radial-gradient(circle at 12% 20%, rgba(236,49,56,.22), transparent 38%),
    radial-gradient(circle at 88% 85%, rgba(30,180,234,.22), transparent 40%),
    radial-gradient(circle at 60% 10%, rgba(245,158,55,.16), transparent 35%),
    linear-gradient(120deg, #050f1e 0%, #0b1d36 100%);
}
.hero-slide-rapid::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rapid-gradient); }
.hero-book { display: flex; justify-content: center; }
.hero-book img { max-height: 500px; width: auto; transform: rotate(-3deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); border-radius: 6px; }

/* ---- Legacy Gala ---- */
.legacy-gala {
  background:
    radial-gradient(circle at 85% 50%, rgba(214,166,74,.16), transparent 45%),
    linear-gradient(120deg, #04070d 0%, #0a1322 100%);
  padding: 80px 0; border-bottom: 1px solid rgba(214,166,74,.25);
}
.legacy-gala-inner { display: grid; grid-template-columns: 1.4fr .6fr; gap: 70px; align-items: center; }
.legacy-gala-eyebrow { display: inline-block; color: var(--gold); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 16px; }
.legacy-gala h2 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.legacy-gala-tagline { font-family: "Playfair Display", serif; font-style: italic; color: var(--gold-light) !important; font-size: 1.2rem; margin-top: 12px; }
.legacy-gala-copy > p:not(.legacy-gala-tagline) { color: rgba(255,255,255,.7); max-width: 600px; margin-top: 18px; }
.legacy-gala-meta { display: flex; flex-wrap: wrap; gap: 40px; margin: 28px 0 30px; padding-top: 22px; border-top: 1px solid rgba(214,166,74,.25); max-width: 600px; }
.legacy-gala-meta span { display: flex; flex-direction: column; color: var(--white); font-size: .95rem; }
.legacy-gala-meta strong { color: var(--gold); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.legacy-gala-poster img { width: 100%; max-width: 300px; margin-left: auto; border: 1px solid rgba(214,166,74,.45); border-radius: 6px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }

@media (max-width: 900px) {
  .hero-exec .hero-slide { min-height: 0; }
  .hero-book img { max-height: 380px; }
  .legacy-gala-inner { grid-template-columns: 1fr; gap: 40px; }
  .legacy-gala-poster img { margin: 0; max-width: 240px; }
}
@media (max-width: 600px) {
  .hero-exec .hero-inner { padding-bottom: 80px; }
}
/* Slides fill the whole hero (no navy band above/below the active slide) */
.hero-exec { align-items: stretch; }
.hero-exec .hero-slides { display: flex; }
.hero-exec .hero-slide.is-active { flex: 1; }
.framework-photo { max-width: none; }
.framework-card.is-primary p { flex: 0 0 auto; margin-bottom: 18px; }
.rapid-pillar-names { flex: 1; margin-bottom: 22px; }
.rapid-pillar-names li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.82); font-size: .86rem; }
.rapid-pillar-names li:first-child { border-top: 0; }
.rapid-pillar-names strong { width: 22px; color: var(--rc); font-family: "Playfair Display", serif; font-size: 1.05rem; }
.hero-exec { padding: 0; }
