/* ===========================================================
   Sir Olumisimi Akinde — Governance Architect
   Design System
   =========================================================== */

:root{
  --emerald:#0B3D2E;
  --emerald-deep:#072519;
  --emerald-mid:#114b39;
  --gold:#D4AF37;
  --gold-soft:#e6cd7d;
  --ivory:#F8F7F2;
  --ink:#10231c;
  --muted:#5c6b63;
  --line:rgba(212,175,55,.28);
  --shadow:0 24px 60px -28px rgba(7,37,25,.55);
  --serif:'Playfair Display', Georgia, serif;
  --serif-alt:'Cormorant Garamond', Georgia, serif;
  --sans:'Inter','Source Sans Pro', system-ui, sans-serif;
  --maxw:1200px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--ivory);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}

h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.12;color:var(--emerald)}
.eyebrow{
  font-family:var(--sans);
  text-transform:uppercase;
  letter-spacing:.32em;
  font-size:.72rem;
  font-weight:600;
  color:var(--gold);
  margin-bottom:1rem;
}
.lead{font-family:var(--serif-alt);font-size:1.35rem;color:var(--muted);font-weight:500}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;
  font-family:var(--sans);
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:600;
  padding:.95rem 1.9rem;
  border:1px solid var(--gold);
  border-radius:2px;
  transition:all .4s var(--ease);
  cursor:pointer;
  background:transparent;
}
.btn-gold{background:var(--gold);color:var(--emerald-deep);border-color:var(--gold)}
.btn-gold:hover{background:var(--gold-soft);transform:translateY(-2px)}
.btn-ghost{color:var(--emerald);border-color:var(--emerald)}
.btn-ghost:hover{background:var(--emerald);color:var(--ivory);transform:translateY(-2px)}
.btn-ghost-light{color:var(--ivory);border-color:rgba(248,247,242,.5)}
.btn-ghost-light:hover{background:var(--ivory);color:var(--emerald);transform:translateY(-2px)}

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(248,247,242,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  transition:background .3s;
}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px}
.brand{display:flex;align-items:center;gap:.7rem;font-family:var(--serif);font-size:1.18rem;color:var(--emerald);font-weight:600;letter-spacing:.02em}
.brand-mark{width:42px;height:42px;border-radius:50%;flex:0 0 auto;box-shadow:0 2px 8px rgba(7,37,25,.25)}
.brand-text{line-height:1}
.brand-accent{color:var(--gold)}
.brand-footer{color:var(--ivory)}
.brand-footer .brand-accent{color:var(--gold)}
.brand span{color:var(--gold)}

/* Hero figure: portrait + logo seal */
.hero-figure{position:relative;z-index:2;width:78%;max-width:430px}
.portrait-frame{
  position:relative;border:1px solid rgba(212,175,55,.55);border-radius:6px;
  padding:10px;background:linear-gradient(160deg,rgba(212,175,55,.12),rgba(7,37,25,.2));
  box-shadow:0 40px 90px -30px rgba(0,0,0,.7);
}
.hero-portrait{width:100%;border-radius:4px;display:block}
.portrait-caption{
  position:absolute;left:10px;right:10px;bottom:10px;text-align:center;
  background:rgba(7,37,25,.78);color:var(--gold-soft);font-family:var(--serif-alt);
  letter-spacing:.16em;font-size:.72rem;text-transform:uppercase;padding:.6rem;border-radius:0 0 4px 4px;
}
.hero-seal{
  position:absolute;bottom:-34px;right:-26px;width:120px;height:120px;
  border-radius:50%;border:2px solid var(--gold);object-fit:cover;
  box-shadow:0 14px 30px -10px rgba(0,0,0,.6);background:var(--emerald-deep);
}
@media(max-width:900px){
  .hero-figure{margin:0 auto}
  .hero-seal{width:90px;height:90px;bottom:-24px;right:0}
}
.nav-links{display:flex;gap:1.6rem;align-items:center;list-style:none}
.nav-links a{
  font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;font-weight:500;
  color:var(--ink);position:relative;padding:.3rem 0;transition:color .3s;
}
.nav-links a::after{
  content:'';position:absolute;left:0;bottom:-2px;width:0;height:1px;
  background:var(--gold);transition:width .35s var(--ease);
}
.nav-links a:hover{color:var(--emerald)}
.nav-links a:hover::after,.nav-links a.active::after{width:100%}
.nav-links a.active{color:var(--emerald)}
.has-drop{position:relative}
.dropdown{
  position:absolute;top:130%;left:50%;transform:translateX(-50%) translateY(8px);
  background:var(--emerald);border:1px solid var(--line);border-radius:4px;
  min-width:248px;padding:.6rem;opacity:0;visibility:hidden;transition:all .3s var(--ease);
  box-shadow:var(--shadow);
}
.has-drop:hover .dropdown{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.dropdown a{display:block;color:var(--ivory);padding:.6rem .8rem;border-radius:3px;text-transform:none;letter-spacing:.02em;font-size:.85rem}
.dropdown a::after{display:none}
.dropdown a:hover{background:var(--emerald-mid);color:var(--gold)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;flex-direction:column;gap:5px}
.nav-toggle span{width:26px;height:2px;background:var(--emerald);transition:.3s}

/* ---------- Sections ---------- */
section{padding:96px 0}
.section-head{max-width:760px;margin:0 auto 60px;text-align:center}
.section-head h2{font-size:clamp(2rem,4vw,2.9rem)}
.center{text-align:center}

/* ---------- Hero ---------- */
.hero{
  padding:0;min-height:92vh;display:grid;grid-template-columns:1.05fr .95fr;
  position:relative;overflow:hidden;
}
.hero-left{
  display:flex;flex-direction:column;justify-content:center;
  padding:70px 7vw 70px 0;
}
.hero-left .wrap-inner{max-width:620px;margin-left:auto;padding-left:28px}
.hero .name{font-family:var(--serif);font-size:1.5rem;color:var(--emerald);margin-bottom:.4rem}
.hero .roles{font-family:var(--serif-alt);font-size:1.15rem;color:var(--gold);font-weight:600;letter-spacing:.04em;margin-bottom:2rem}
.hero h1{font-size:clamp(2.3rem,4.6vw,3.7rem);margin-bottom:1.6rem}
.hero .sub{font-size:1.05rem;color:var(--muted);max-width:520px;margin-bottom:2.4rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem}
.hero-right{
  position:relative;
  background:
    radial-gradient(circle at 70% 30%, rgba(212,175,55,.22), transparent 55%),
    linear-gradient(150deg,var(--emerald) 0%,var(--emerald-deep) 100%);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.hero-pattern{position:absolute;inset:0;opacity:.5}
.portrait{
  position:relative;z-index:2;width:74%;max-width:420px;aspect-ratio:4/5;
  border:1px solid rgba(212,175,55,.5);border-radius:4px;
  background:linear-gradient(160deg,var(--emerald-mid),var(--emerald-deep));
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.6);
}
.portrait .monogram{font-family:var(--serif);font-size:6rem;color:var(--gold);opacity:.85}
.portrait .cap{position:absolute;bottom:-1px;left:0;right:0;text-align:center;
  background:rgba(7,37,25,.7);color:var(--gold-soft);font-family:var(--serif-alt);
  letter-spacing:.2em;font-size:.7rem;text-transform:uppercase;padding:.6rem}

/* ---------- The Question ---------- */
.question{background:var(--ivory);text-align:center}
.question h2{font-size:clamp(2rem,4.2vw,3rem);max-width:880px;margin:0 auto 2rem}
.pill-row{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin:2.2rem 0}
.pill{border:1px solid var(--line);border-radius:40px;padding:.5rem 1.3rem;font-size:.82rem;
  letter-spacing:.08em;text-transform:uppercase;color:var(--emerald);background:#fff}
.question .closing{font-family:var(--serif-alt);font-size:1.45rem;color:var(--muted);max-width:760px;margin:1.5rem auto 0}

/* ---------- Philosophy ---------- */
.philosophy{
  background:linear-gradient(160deg,var(--emerald) 0%,var(--emerald-deep) 100%);
  color:var(--ivory);text-align:center;position:relative;overflow:hidden;
}
.philosophy .pattern-bg{position:absolute;inset:0;opacity:.18}
.philosophy .inner{position:relative;z-index:2}
.philosophy h2{color:var(--ivory)}
.ladder{display:flex;flex-direction:column;align-items:center;gap:.4rem;margin:2.5rem 0}
.ladder .step{font-family:var(--serif);font-size:clamp(1.6rem,4vw,2.6rem);color:var(--gold);font-weight:600}
.ladder .arrow{color:rgba(212,175,55,.6);font-size:1.4rem}
.philo-quote{font-family:var(--serif-alt);font-size:1.5rem;line-height:1.5;color:var(--gold-soft);margin-top:1rem}
.philo-quote span{display:block}

/* ---------- Frameworks cards ---------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.6rem}
.card{
  background:#fff;border:1px solid var(--line);border-radius:6px;padding:2.2rem 2rem;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease);position:relative;overflow:hidden;
}
.card::before{content:'';position:absolute;top:0;left:0;width:100%;height:3px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease)}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.card:hover::before{transform:scaleX(1)}
.card .num{font-family:var(--serif);color:var(--gold);font-size:1rem;letter-spacing:.2em;margin-bottom:1rem}
.card h3{font-size:1.4rem;margin-bottom:.7rem}
.card p{color:var(--muted);font-size:.97rem;margin-bottom:1.3rem}
.card .more{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--emerald);font-weight:600;border-bottom:1px solid var(--gold);padding-bottom:2px}

/* ---------- Books ---------- */
.books{background:#fff}
.book-rail{display:flex;gap:1.4rem;overflow-x:auto;padding:1rem 0 2rem;scroll-snap-type:x mandatory}
.book-rail::-webkit-scrollbar{height:6px}
.book-rail::-webkit-scrollbar-thumb{background:var(--line);border-radius:10px}
.book{
  flex:0 0 220px;scroll-snap-align:start;
  aspect-ratio:2/3;border-radius:4px;position:relative;overflow:hidden;
  background:linear-gradient(160deg,var(--emerald-mid),var(--emerald-deep));
  border:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;
  padding:1.4rem;color:var(--ivory);transition:transform .4s var(--ease);box-shadow:var(--shadow)
}
.book:hover{transform:translateY(-8px)}
.book::before{content:'';position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--gold)}
.book .spine{font-family:var(--serif-alt);color:var(--gold);font-size:.72rem;letter-spacing:.25em;text-transform:uppercase;margin-bottom:.6rem}
.book h4{color:var(--ivory);font-size:1.18rem;line-height:1.2}

/* Real book covers */
.book-cover{
  flex:0 0 230px;scroll-snap-align:start;position:relative;display:block;
  border-radius:4px;overflow:hidden;transition:transform .4s var(--ease),box-shadow .4s var(--ease);
  box-shadow:var(--shadow);background:var(--emerald-deep);
}
.book-cover img{width:100%;height:auto;display:block;border-radius:4px}
.book-cover:hover{transform:translateY(-10px);box-shadow:0 36px 70px -24px rgba(7,37,25,.6)}
.book-cover::after{
  content:'Coming soon';position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(transparent,rgba(7,37,25,.92));
  color:var(--gold-soft);font-family:var(--sans);font-size:.66rem;letter-spacing:.16em;
  text-transform:uppercase;text-align:center;padding:1.6rem .5rem .6rem;
  opacity:0;transition:opacity .35s var(--ease);
}
.book-cover:hover::after{opacity:1}
/* Once a real purchase link is set (href != "#"), show pre-order label */
.book-cover[href]:not([href="#"])::after{content:'Pre-order'}

/* ---------- Impact stats ---------- */
.impact{background:var(--ivory)}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1.4rem}
.stat{background:#fff;border:1px solid var(--line);border-radius:6px;padding:2rem 1.6rem;text-align:center}
.stat .big{font-family:var(--serif);font-size:2.6rem;color:var(--emerald);line-height:1}
.stat .label{margin-top:.6rem;color:var(--muted);font-size:.92rem}
.logo-row{margin-top:2.5rem;text-align:center;color:var(--muted);font-family:var(--serif-alt);font-size:1.2rem;letter-spacing:.06em}
.logo-row strong{color:var(--emerald);font-weight:600}

/* ---------- Speaking ---------- */
.speaking{background:linear-gradient(160deg,var(--emerald) 0,var(--emerald-deep) 100%);color:var(--ivory);position:relative;overflow:hidden}
.speaking .pattern-bg{position:absolute;inset:0;opacity:.16}
.speaking .inner{position:relative;z-index:2}
.speaking h2{color:var(--ivory)}
.topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin:2.4rem 0}
.topic{border:1px solid rgba(212,175,55,.3);border-radius:4px;padding:1.2rem 1.4rem;font-family:var(--serif-alt);font-size:1.2rem;color:var(--gold-soft);transition:.3s}
.topic:hover{background:rgba(212,175,55,.1);border-color:var(--gold)}

/* ---------- TPI / generic feature band ---------- */
.feature-band{background:#fff;text-align:center}
.feature-band .box{max-width:820px;margin:0 auto;border:1px solid var(--line);border-radius:8px;padding:3.5rem 3rem;background:linear-gradient(180deg,#fff,#fbfaf5)}

/* ---------- Insights ---------- */
.insights{background:var(--ivory)}
.insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.4rem}
.insight{background:#fff;border:1px solid var(--line);border-radius:6px;padding:1.8rem;transition:.4s var(--ease)}
.insight:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.insight .tag{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:600}
.insight h4{margin:.8rem 0 .6rem;font-size:1.2rem}
.insight p{color:var(--muted);font-size:.92rem}

/* ---------- Final CTA ---------- */
.final-cta{background:var(--emerald-deep);color:var(--ivory);text-align:center;position:relative;overflow:hidden}
.final-cta .pattern-bg{position:absolute;inset:0;opacity:.2}
.final-cta .inner{position:relative;z-index:2;max-width:760px;margin:0 auto}
.final-cta h2{color:var(--ivory);font-size:clamp(2rem,4.5vw,3.2rem);margin-bottom:1.4rem}
.final-cta .stack{font-family:var(--serif-alt);font-size:1.5rem;color:var(--gold-soft);margin-bottom:2.4rem}
.final-cta .stack span{display:block}
.cta-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}

/* ---------- Footer ---------- */
.site-footer{background:var(--emerald-deep);color:rgba(248,247,242,.75);padding:64px 0 28px;border-top:1px solid var(--line)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.site-footer h4{color:var(--gold);font-family:var(--serif-alt);font-size:1rem;letter-spacing:.15em;text-transform:uppercase;margin-bottom:1.2rem}
.site-footer .brand{color:var(--ivory);margin-bottom:1rem;display:flex}
.site-footer ul{list-style:none}
.site-footer li{margin-bottom:.6rem}
.site-footer a{font-size:.92rem;transition:color .3s}
.site-footer a:hover{color:var(--gold)}
.footer-bottom{border-top:1px solid rgba(212,175,55,.2);padding-top:1.4rem;text-align:center;font-size:.82rem;color:rgba(248,247,242,.5)}

/* ---------- Inner page hero ---------- */
.page-hero{
  background:linear-gradient(160deg,var(--emerald) 0,var(--emerald-deep) 100%);
  color:var(--ivory);padding:120px 0 90px;text-align:center;position:relative;overflow:hidden;
}
.page-hero .pattern-bg{position:absolute;inset:0;opacity:.16}
.page-hero .inner{position:relative;z-index:2;max-width:780px;margin:0 auto}
.page-hero h1{color:var(--ivory);font-size:clamp(2.2rem,5vw,3.4rem);margin-bottom:1.2rem}
.page-hero p{color:var(--gold-soft);font-family:var(--serif-alt);font-size:1.3rem}

/* ---------- Timeline (about) ---------- */
.timeline{max-width:760px;margin:0 auto;position:relative;padding-left:40px}
.timeline::before{content:'';position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:var(--line)}
.tl-item{position:relative;margin-bottom:2.6rem}
.tl-item::before{content:'';position:absolute;left:-39px;top:6px;width:16px;height:16px;border-radius:50%;background:var(--gold);border:3px solid var(--ivory);box-shadow:0 0 0 2px var(--line)}
.tl-item h3{font-size:1.4rem;margin-bottom:.5rem}
.tl-item p{color:var(--muted)}

/* ---------- Prose ---------- */
.prose{max-width:780px;margin:0 auto}
.prose h2{font-size:2rem;margin:2.4rem 0 1rem}
.prose h3{font-size:1.4rem;margin:2rem 0 .8rem}
.prose p{margin-bottom:1.2rem;color:#2c3b34}
.prose ul{margin:0 0 1.4rem 1.4rem;color:#2c3b34}
.prose li{margin-bottom:.5rem}
.prose .lead{margin-bottom:1.8rem}

/* ---------- Contact form ---------- */
.form-wrap{max-width:640px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:2.6rem}
.field{margin-bottom:1.3rem}
.field label{display:block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--emerald);margin-bottom:.5rem}
.field input,.field select,.field textarea{
  width:100%;padding:.9rem 1rem;border:1px solid var(--line);border-radius:4px;
  font-family:var(--sans);font-size:.95rem;background:var(--ivory);color:var(--ink);transition:border .3s
}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold)}
.field textarea{min-height:150px;resize:vertical}
.form-note{font-size:.85rem;color:var(--muted);margin-top:1rem}

/* About intro two-column */
.about-intro{display:grid;grid-template-columns:300px 1fr;gap:2.6rem;align-items:center;max-width:920px;margin:0 auto;text-align:left}
.about-portrait img{width:100%;border-radius:6px;border:1px solid var(--line);box-shadow:var(--shadow)}
.about-intro-text .eyebrow{margin-bottom:.6rem}
@media(max-width:700px){
  .about-intro{grid-template-columns:1fr;gap:1.6rem;text-align:center}
  .about-portrait{max-width:280px;margin:0 auto}
  .about-intro-text .lead{text-align:center!important}
}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-right{min-height:420px;order:-1}
  .hero-left{padding:60px 0}
  .hero-left .wrap-inner{margin:0 auto;padding:0 28px}
  .footer-grid{grid-template-columns:1fr}
  .nav-links{
    position:fixed;top:76px;right:0;width:280px;height:calc(100vh - 76px);
    background:var(--emerald);flex-direction:column;align-items:flex-start;
    padding:2rem;gap:1.2rem;transform:translateX(100%);transition:transform .4s var(--ease);overflow-y:auto;
  }
  .nav-links.open{transform:translateX(0)}
  .nav-links a{color:var(--ivory)}
  .dropdown{position:static;transform:none;opacity:1;visibility:visible;background:transparent;
    box-shadow:none;border:none;padding:.4rem 0 0 1rem;min-width:0}
  .has-drop:hover .dropdown{transform:none}
  .nav-toggle{display:flex}
}
@media(max-width:560px){
  section{padding:70px 0}
  .form-wrap{padding:1.8rem}
}
