/*
Theme Name: Rashmi Dube
Theme URI: https://rashmidube.com
Author: Kobestarr Digital
Author URI: https://kobestarr.io
Description: Custom theme for Rashmi Dube - Chartered Director, Lawyer & International Mediator. Design system locked at Gate 4 (Jul 2026): Jaapokki wordmark, Source Sans 3 headings, Archivo body, navy/turquoise AAA palette, scroll-morph header with turquoise progress line.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: rashmidube
*/

/* ==== Design tokens (Gate 4 locked) ==== */
@font-face { font-family:'Jaapokki'; src:url('fonts/jaapokki.woff2') format('woff2'); font-display:swap }
:root{
  --display:'Source Sans 3';
  --navy:rgb(1,33,72);
  --turq:#2ec4c8;
  --turq-light:#7ee7ea;
  --teal:#0a6b70;
  --warm:#FAF7F2;
  --ink:#1a2635;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--warm);font-family:Archivo,sans-serif;color:var(--ink);font-size:18px;line-height:1.6}
.serif{font-family:var(--display),sans-serif;font-weight:700;color:var(--navy)}
.jaap{font-family:Jaapokki}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:2px}
img{max-width:100%;height:auto}
.cta{display:inline-block;background:var(--navy);color:#fff;padding:18px 40px;font-size:17px;letter-spacing:.04em;border-radius:2px;transition:transform .25s;border:none;cursor:pointer;min-height:44px;font-family:inherit}
.cta:hover{transform:translateY(-2px)}
.cta.light{background:#fff;color:var(--navy)}
.cta.ghost{background:transparent;color:var(--navy);border:1.5px solid var(--navy)}
.cta.onnavy{background:transparent;color:#fff;border:1.5px solid #fff}
.wrap{max-width:1200px;margin:0 auto;padding:0 28px}
section{padding:110px 0}
.skip{position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;padding:12px 20px;z-index:200}
.skip:focus{left:12px}
.kicker{font-size:14px;letter-spacing:.26em;color:var(--teal);margin-bottom:18px;font-weight:500;text-transform:uppercase}

/* ==== Header (persistent, adaptive, scroll-scrubbed) ==== */
header.site{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;justify-content:space-between;align-items:center;padding:20px 42px;height:84px}
header.site .brand{position:relative;height:44px;display:flex;align-items:center;flex:1}
header.site .brand .word{font-family:Jaapokki;font-size:22px;letter-spacing:.14em;color:#fff;white-space:nowrap;position:absolute;left:0;top:50%;transform:translateY(-50%)}
header.site .brand .mono{position:absolute;left:0;top:50%;margin-top:-21px;height:42px;opacity:0;will-change:transform;width:auto}
header.site nav a{margin-left:34px;font-size:15px;letter-spacing:.08em;color:#fff;transition:color .6s ease}
header.site.solid nav a{color:var(--navy)}
header.site nav a[aria-current="page"]{border-bottom:2px solid var(--turq);padding-bottom:3px}
#progressline{position:fixed;top:84px;left:0;height:3px;background:var(--turq);width:0;z-index:100;opacity:0}
.amp{font-family:Archivo,sans-serif;font-weight:500}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:10px;min-width:44px;min-height:44px;z-index:110}
.menu-toggle span{display:block;width:26px;height:2.5px;margin:5px 0;background:#fff;transition:.3s}
header.site.solid .menu-toggle span,header.site.open .menu-toggle span{background:var(--navy)}


/* ==== Grouped nav: five top-level items, four service pages under "Work" ==== */
.navgroup{position:relative;display:inline-block}
header.site nav .navtop{margin-left:34px;font-size:15px;letter-spacing:.08em;color:#fff;background:none;
  border:none;font-family:inherit;cursor:pointer;padding:0;display:inline-flex;align-items:center;gap:6px;
  min-height:44px;transition:color .6s ease}
header.site.solid nav .navtop{color:var(--navy)}
.navgroup.active > .navtop{border-bottom:2px solid var(--turq);padding-bottom:3px}
.navtop .car{font-size:10px;opacity:.85;transition:transform .2s ease}
.navgroup .navtop[aria-expanded="true"] .car{transform:rotate(180deg)}
/* +26px clears the turquoise #progressline at top:84px - at +10px the line cut
   through the panel's first row (Kobi screenshot, 4 Aug). The ::before bridge
   keeps hover alive across the taller gap. */
.submenu{position:absolute;top:calc(100% + 26px);left:34px;min-width:216px;background:#fff;border-radius:4px;
  padding:8px 0;box-shadow:0 14px 38px rgba(1,33,72,.28);opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:120}
.submenu::before{content:"";position:absolute;top:-28px;left:0;right:0;height:28px}
.navgroup:hover .submenu,.navgroup:focus-within .submenu,.navtop[aria-expanded="true"] + .submenu{
  opacity:1;visibility:visible;transform:none}
header.site nav .submenu a{display:block;margin:0;padding:11px 20px;color:var(--navy);font-size:15px;
  letter-spacing:.02em;min-height:44px;line-height:22px;white-space:nowrap}
header.site nav .submenu a:hover{background:#eef2f7}
header.site nav .submenu a[aria-current="page"]{border-bottom:none;background:#eef2f7;font-weight:600}

/* ==== Hero (home - direction 8) ==== */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;background:var(--navy);overflow:hidden}
.hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 46%;opacity:.94;filter:grayscale(1) sepia(.25) hue-rotate(160deg) saturate(2.2) brightness(.92)}
.hero .wash{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,33,72,.94) 0%,rgba(1,33,72,.72) 48%,rgba(1,33,72,.28) 100%)}
.hero .inner{position:relative;z-index:2;padding:120px 0 150px}
.hero .wrap.inner{max-width:none;width:100%;margin:0;padding-left:clamp(28px,4.6vw,86px);padding-right:28px}
.logoband{position:absolute;bottom:0;left:0;right:0;z-index:3;background:var(--warm);padding:20px 0 18px;text-align:center;transform-origin:top;will-change:transform}
.logoband p{font-size:13px;letter-spacing:.14em;color:#3d4a5c;text-transform:uppercase;margin-bottom:12px}
.logoband .logos{display:flex;justify-content:center;align-items:center;gap:60px;flex-wrap:wrap;will-change:transform;background:var(--warm)}
.logoband img{height:72px;width:auto;object-fit:contain;mix-blend-mode:multiply}
.hero h1{font-family:var(--display),sans-serif;color:#fff;font-weight:500;font-size:clamp(40px,5.2vw,74px);line-height:1.04;max-width:21ch}
/* Mobile wraps naturally inside the 21ch column. Above the breakpoint the three
   lines are set by hand so the headline clears her face at every desktop width. */
.hero h1 .hb{display:none}
@media (min-width:821px){
  .hero h1{max-width:none}
  .hero h1 .hb{display:inline}
}
.hero .walkline{color:var(--turq-light);font-size:clamp(14px,1.35vw,19px);margin-top:26px;letter-spacing:.08em}
.hero .sub{color:#d7dee8;max-width:52ch;margin-top:22px;font-size:18px}
.hero .ctas{margin-top:38px;display:flex;gap:16px;flex-wrap:wrap}

/* ==== Inner-page hero (navy band) ==== */
.pagehero{position:relative;background:var(--navy);padding:190px 0 90px;color:#fff}
.pagehero h1{font-family:var(--display),sans-serif;font-weight:500;font-size:clamp(36px,4.6vw,64px);line-height:1.08;max-width:18ch;color:#fff}
.pagehero .kicker{color:var(--turq-light)}
.pagehero .lead{color:#d7dee8;max-width:60ch;margin-top:24px;font-size:19px}
.pagehero .lead p+p{margin-top:16px}
.pagehero .ctas{margin-top:34px;display:flex;gap:16px;flex-wrap:wrap}

/* ==== Reveals ==== */
.reveal{opacity:0;transform:translateY(32px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}

/* ==== Split (image + text) ==== */
.help .grid,.split{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}
.help img,.split img{width:100%;height:520px;object-fit:cover;object-position:top}
/* photo-green.jpg is a 1400x900 landscape with Rashmi hard right and dead wall left.
   A centred crop cut her hand off on desktop and sliced her face in half on mobile.
   Anchoring right keeps her whole at every width; the wall is what gets dropped. */
.help img{object-position:100% 0%}
/* photo-navy is 1400x900 with Rashmi in the left half - a centred cover crop cuts
   her off at the left edge, so pull the window towards her (Kobi, 4 Aug). */
.page-about .split img{object-position:26% 0}
.help h2,.split h2,h2.sec{font-size:clamp(30px,3.4vw,46px);font-weight:600;line-height:1.12;font-family:var(--display),sans-serif;color:var(--navy)}
.help p,.split p{color:#334155;margin-top:20px}

/* ==== The Walk (timeline) ==== */
.walksec{background:#fff;position:relative}
.walkrow{display:grid;grid-template-columns:1fr 1fr;gap:90px;margin:0 auto;max-width:1100px;padding:56px 28px}
.walkrow .when{text-align:right;color:var(--teal);letter-spacing:.14em;font-size:15px;padding-top:14px}
.walkrow h3{font-size:clamp(30px,3.2vw,44px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}
.walkrow p{color:#334155;margin-top:10px;max-width:44ch}

/* ==== Services rows ==== */
.svc{border-top:1px solid rgba(1,33,72,.14);padding:56px 0;display:grid;grid-template-columns:.9fr 1.4fr .5fr;gap:40px;align-items:start}
.svc h3{font-size:clamp(26px,2.6vw,36px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}
.svc p{color:#334155}
.svc .go{justify-self:end;font-size:15px;letter-spacing:.1em;color:var(--navy);border-bottom:2px solid var(--turq);padding-bottom:4px}

/* ==== Stats ==== */
.stats{background:var(--navy);color:#fff}
.stats .row{display:flex;justify-content:center;gap:120px;text-align:center;flex-wrap:wrap}
.stats .n{font-family:var(--display),sans-serif;font-size:clamp(60px,7vw,96px);font-weight:600;color:#fff}
.stats .n span{color:var(--turq)}
.stats .l{font-size:14px;letter-spacing:.2em;color:#b9c6d6;margin-top:6px}
.stats .n .pre{font-size:.3em;letter-spacing:.14em;text-transform:uppercase;margin-right:14px}
.relrow{display:flex;align-items:center;flex-wrap:wrap;gap:14px 30px;padding:8px 0 46px}
.relrow .rel-label{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--teal)}
.relrow a{font-size:15px;letter-spacing:.1em;color:var(--navy);border-bottom:2px solid var(--turq);padding-bottom:3px}
.svc .golist{justify-self:end;display:flex;flex-direction:column;gap:14px;align-items:flex-start}
@media (max-width:900px){.svc .golist{justify-self:start}}
.pagehero .heroinvite{margin-top:18px;color:#d7dee8;font-size:16px;max-width:44ch}

/* ==== Quotes ==== */
.quotes blockquote{font-family:var(--display),sans-serif;font-size:clamp(24px,2.6vw,36px);font-weight:500;color:var(--navy);line-height:1.3;max-width:26ch;margin:0 auto;text-align:center}
.quotes .mark{color:var(--turq);font-size:70px;line-height:0;display:block;text-align:center;margin-bottom:18px;font-family:var(--display),sans-serif}

/* ==== Book / pendulum ==== */
.book{background:#fff}
.book .grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:center;position:relative}
.pendbox{position:relative;height:420px}
.pend{position:absolute;top:0;left:50%;transform-origin:top center}
.pend .rod{width:2px;height:300px;background:var(--navy)}
.pend .bob{width:24px;height:24px;border-radius:50%;background:var(--turq);margin-left:-11px}
.book.seen .pend{animation:settle 3.2s cubic-bezier(.3,.6,.3,1) forwards}
@keyframes settle{0%{transform:rotate(16deg)}30%{transform:rotate(-11deg)}55%{transform:rotate(6deg)}75%{transform:rotate(-2.5deg)}100%{transform:rotate(0)}}
.book h2{font-size:clamp(30px,3.4vw,46px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}

/* ==== Signup ==== */
.signup{text-align:center}
.signup h2{font-size:clamp(30px,3.2vw,44px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}
.signup p{color:#334155;max-width:56ch;margin:18px auto 34px}
.sform{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;position:relative;max-width:640px;margin:0 auto}
.sform label{position:absolute;left:-9999px}
.sform input[type=email]{flex:1;min-width:280px;padding:18px 20px;font-size:17px;border:1.5px solid var(--navy);border-radius:2px;background:#fff;min-height:44px;font-family:inherit}
.uline{height:3px;background:var(--turq);max-width:640px;margin:10px auto 0;transform:scaleX(0);transform-origin:left;transition:transform 1.1s cubic-bezier(.6,0,.2,1) .3s}
.signup.in2 .uline{transform:scaleX(1)}
.formnote{font-size:15px;color:#33415599;margin-top:14px}
.formok{background:#e8f7f2;border:1.5px solid var(--teal);color:#0a4f43;padding:16px 22px;border-radius:2px;max-width:640px;margin:0 auto 26px;font-size:16px}
.formerr{background:#fdf0ef;border:1.5px solid #a33a2e;color:#7c2d24;padding:16px 22px;border-radius:2px;max-width:640px;margin:0 auto 26px;font-size:16px}

/* ==== Prose sections (inner pages) ==== */
.prose{max-width:760px}
.prose h2{font-size:clamp(26px,3vw,40px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy);margin-bottom:18px}
.prose p{color:#334155;margin-bottom:18px}
.prose ul{margin:0 0 18px 22px;color:#334155}
.prose ul li{margin-bottom:10px}
.prose .cta{margin-top:8px}
section.alt{background:#fff}
.sechead{margin-bottom:26px}

/* ==== Topic cards (speaking) ==== */
.topic{background:#fff;border-top:4px solid var(--turq);padding:44px 40px;margin-bottom:34px;box-shadow:0 1px 0 rgba(1,33,72,.08)}
section.alt .topic{background:var(--warm)}
.topic .num{font-family:var(--display),sans-serif;font-size:15px;letter-spacing:.2em;color:var(--teal);margin-bottom:12px}
.topic h3{font-size:clamp(24px,2.6vw,34px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy);line-height:1.15}
.topic .tagline{font-size:17px;color:var(--teal);margin-top:8px;font-style:italic}
.topic p{color:#334155;margin-top:16px}
.topic .rel{font-size:15px;color:#3d4a5c;margin-top:16px}
.topic ul{margin:12px 0 0 22px;color:#334155}
.topic ul li{margin-bottom:8px}

/* ==== Engagements list ==== */
.eng{border-top:1px solid rgba(1,33,72,.14);padding:34px 0;display:grid;grid-template-columns:.35fr 1fr;gap:30px}
.eng .when{color:var(--teal);letter-spacing:.14em;font-size:15px;padding-top:4px}
.eng h3{font-size:clamp(20px,2vw,26px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}
.eng p{color:#334155;margin-top:6px;font-size:16px}

/* ==== Contact ==== */
.cform{max-width:680px}
.cform .field{margin-bottom:24px}
.cform label{display:block;font-size:15px;letter-spacing:.06em;color:var(--navy);font-weight:500;margin-bottom:8px}
.cform input,.cform select,.cform textarea{width:100%;padding:16px 18px;font-size:17px;border:1.5px solid var(--navy);border-radius:2px;background:#fff;min-height:44px;font-family:inherit;color:var(--ink)}
.cform textarea{min-height:160px;resize:vertical}
.cform .hp{position:absolute;left:-9999px;top:-9999px}
.details{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:40px;margin-top:20px}
.details h3{font-size:15px;letter-spacing:.2em;color:var(--teal);font-weight:500;margin-bottom:10px;text-transform:uppercase}
.details p,.details a{color:#334155;font-size:17px}
.details a{border-bottom:2px solid var(--turq);padding-bottom:2px}

/* ==== Books (writing) ==== */
.bookcard{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center;padding:56px 0;border-top:1px solid rgba(1,33,72,.14)}
.bookcard .cover{background:var(--navy);color:#fff;aspect-ratio:2/3;max-width:300px;display:flex;flex-direction:column;justify-content:center;padding:34px;text-align:center}
.bookcard .cover .t{font-family:var(--display),sans-serif;font-weight:600;font-size:26px;line-height:1.2}
.bookcard .cover .s{color:var(--turq-light);font-size:15px;margin-top:14px;letter-spacing:.04em}
.bookcard h3{font-size:clamp(26px,2.8vw,38px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}
.bookcard .sub{color:var(--teal);font-size:18px;margin-top:6px;font-family:var(--display),sans-serif}
.bookcard p{color:#334155;margin-top:16px}

/* ==== Cross-page CTA cards ==== */
.xcards{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.xcard{background:#fff;border-top:4px solid var(--turq);padding:40px;box-shadow:0 1px 0 rgba(1,33,72,.08)}
section.alt .xcard{background:var(--warm)}
.xcard h3{font-size:22px;font-weight:600;font-family:var(--display),sans-serif;color:var(--navy)}
.xcard p{color:#334155;margin-top:12px;font-size:16px}
.xcard a.go{display:inline-block;margin-top:16px;font-size:15px;letter-spacing:.1em;color:var(--navy);border-bottom:2px solid var(--turq);padding-bottom:3px}

/* ==== Invite band ==== */
.invite{background:var(--navy);color:#fff;text-align:center}
.invite h2{font-family:var(--display),sans-serif;font-weight:500;font-size:clamp(28px,3.4vw,46px);max-width:24ch;margin:0 auto;color:#fff;line-height:1.15}
.invite .ctas{margin-top:34px;display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* ==== Footer ==== */
footer.site{background:var(--navy);color:#c9d3e0;padding:80px 0 50px}
footer.site .top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap}
footer.site .fmark{height:64px;width:auto;filter:brightness(0) invert(1)}
footer.site nav{display:flex;gap:28px;flex-wrap:wrap;font-size:15px}
footer.site a:hover{color:#fff}
footer.site .socials{display:flex;gap:20px;margin-top:22px;flex-wrap:wrap;font-size:15px}
footer.site .socials a{border-bottom:1px solid rgba(126,231,234,.5);padding-bottom:2px}
footer.site .fine{margin-top:50px;font-size:13px;color:#8fa0b5}
footer.site .fine a{margin-left:14px}
footer.site .fine .credit{display:block;margin-top:10px}
footer.site .fine .credit a{margin-left:0;border-bottom:1px solid rgba(126,231,234,.4);padding-bottom:1px}

/* ==== Cookie banner (AAA: Settings / Reject / Accept) ==== */
.cookiebar{position:fixed;bottom:0;left:0;right:0;z-index:300;background:#fff;border-top:3px solid var(--navy);padding:22px 28px;display:none}
.cookiebar.show{display:block}
.cookiebar .row{max-width:1200px;margin:0 auto;display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cookiebar p{font-size:15px;color:var(--ink);max-width:70ch}
.cookiebar .acts{display:flex;gap:12px;flex-wrap:wrap}
.cookiebar button{padding:12px 22px;font-size:15px;min-height:44px;border-radius:2px;cursor:pointer;font-family:inherit}
.cookiebar .accept{background:var(--navy);color:#fff;border:1.5px solid var(--navy)}
.cookiebar .reject,.cookiebar .settings{background:#fff;color:var(--navy);border:1.5px solid var(--navy)}
.cookiepanel{max-width:1200px;margin:14px auto 0;display:none;border-top:1px solid rgba(1,33,72,.14);padding-top:14px}
.cookiepanel.show{display:block}
.cookiepanel label{display:flex;gap:10px;align-items:center;font-size:15px;margin-bottom:10px}

/* ==== Short viewports: compress hero so logo band stays above the fold ==== */
@media (max-height:880px){
  .hero .inner{padding:96px 0 130px}
  .hero h1{font-size:clamp(32px,4.2vw,56px)}
  .hero .walkline{margin-top:18px}
  .hero .sub{margin-top:14px;font-size:16px;max-width:46ch}
  .hero .ctas{margin-top:24px}
  .cta{padding:14px 32px;font-size:16px}
  .logoband{padding:12px 0 10px}
  .logoband p{margin-bottom:6px;font-size:11px}
  .logoband img{height:52px}
  .logoband .logos{gap:44px}
}

/* ==== Mobile ==== */
@media (max-width:820px){
  section{padding:70px 0}
  .help .grid,.split,.book .grid,.bookcard,.xcards{grid-template-columns:1fr;gap:36px}
  .walkrow{grid-template-columns:1fr;gap:8px}
  .walkrow .when{text-align:left;padding-top:0}
  .svc{grid-template-columns:1fr;gap:14px}
  .svc .go{justify-self:start}
  .stats .row{gap:44px}
  .eng{grid-template-columns:1fr;gap:8px}
  header.site{padding:14px 18px}
  .menu-toggle{display:block}
  header.site nav{position:fixed;inset:0;background:var(--warm);display:none;flex-direction:column;justify-content:center;align-items:center;gap:8px;z-index:105}
  header.site.open nav{display:flex}
  header.site nav a{margin:12px 0;font-size:22px;color:var(--navy)}
  /* In the full-screen overlay a nested dropdown is friction for no gain -
     show the group inline with 'Work' as a quiet label. */
  .navgroup{display:block;text-align:center}
  header.site nav .navtop{margin:18px 0 2px;pointer-events:none;color:#7b8798;font-size:13px;
    letter-spacing:.18em;text-transform:uppercase;min-height:0;justify-content:center}
  .navgroup.active > .navtop{border-bottom:none;padding-bottom:0}
  .navtop .car{display:none}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;background:none;
    min-width:0;padding:0;left:auto}
  header.site nav .submenu a{padding:0;font-size:22px;margin:12px 0;text-align:center}
  header.site nav .submenu a:hover,header.site nav .submenu a[aria-current="page"]{background:none}
  .hero .inner{padding:120px 0 80px}
  .logoband img{height:34px}
  .logoband .logos{gap:22px}
  .logoband p{font-size:10px;letter-spacing:.1em}
  .pagehero{padding:150px 0 70px}
  .topic{padding:32px 24px}
  .pendbox{height:280px}
  .pend .rod{height:200px}
}

/* ==== Reduced motion: designed static fallbacks ==== */
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
  .book.seen .pend,.book .pend{animation:none;transform:rotate(0)}
  .signup .uline{transition:none;transform:scaleX(1)}
  .cta{transition:none}
  html{scroll-behavior:auto}
}

/* ==== Header legibility scrim ====
   The nav sits over the photograph with nothing behind it. Measured on the live
   staging build, "Speaking" (3.00) and "Contact" (2.57) were failing WCAG AA
   outright against the bright window in the top-right of the hero photograph.
   This gradient is invisible as a band but takes every nav link to AAA (>=7.0)
   across all four hero treatments. It fades out once the header goes solid. */

/* ==== Hero treatments (staging picker) ====
   A is the original Gate 4 duotone. C and D/E show the photograph in its real colour.
   D and E differ only in how the nav is kept legible: a soft haze, or a defined bar. */
.hero[data-hero] img.bg{opacity:1}
.hero[data-hero="A"] img.bg{opacity:.94;filter:grayscale(1) sepia(.25) hue-rotate(160deg) saturate(2.2) brightness(.92)}
.hero[data-hero="A"] .wash{background:linear-gradient(90deg,rgba(1,33,72,.94) 0%,rgba(1,33,72,.72) 48%,rgba(1,33,72,.28) 100%)}

.hero[data-hero="C"] img.bg{filter:saturate(1.06) brightness(.97)}
.hero[data-hero="C"] .wash{background:linear-gradient(90deg,rgba(1,33,72,.97) 0%,rgba(1,33,72,.93) 38%,rgba(1,33,72,.58) 56%,rgba(1,33,72,.12) 80%,rgba(1,33,72,0) 100%)}

.hero[data-hero="D"] img.bg,.hero[data-hero="E"] img.bg{filter:saturate(1.16) contrast(1.03)}
.hero[data-hero="D"] .wash{background:linear-gradient(90deg,rgba(1,33,72,.95) 0%,rgba(1,33,72,.84) 34%,rgba(1,33,72,.42) 54%,rgba(1,33,72,0) 76%)}
/* E is the chosen design, so it gets contrast headroom rather than sitting on the line. */
.hero[data-hero="E"] .wash{background:linear-gradient(90deg,rgba(1,33,72,.97) 0%,rgba(1,33,72,.94) 44%,rgba(1,33,72,.62) 62%,rgba(1,33,72,.06) 82%,rgba(1,33,72,0) 100%)}

.hero[data-hero="C"] .sub,.hero[data-hero="D"] .sub,.hero[data-hero="E"] .sub{color:#fff}
.hero[data-hero="C"] .walkline,.hero[data-hero="D"] .walkline,.hero[data-hero="E"] .walkline{color:#c8f5f6;font-weight:600}

/* ---- Nav legibility, per version ----
   C and D use the smallest top scrim that still gets every nav link to AAA; E puts
   the menu on a defined bar instead. Both are per-version so A stays untouched. */
header.site nav{position:relative}
body.hero-C .hero::before,
body.hero-D .hero::before{content:'';position:absolute;top:0;left:0;right:0;height:clamp(120px,15vh,164px);z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(1,33,72,.94) 0%,rgba(1,33,72,.88) 30%,rgba(1,33,72,.62) 55%,rgba(1,33,72,.26) 78%,rgba(1,33,72,0) 100%)}
body.hero-E header.site nav{background:rgba(1,33,72,.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border-radius:999px;padding:5px 24px 5px 6px}
body.hero-E header.site.solid nav{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}

/* ==== Staging-only treatment picker (never renders in production) ==== */
/* Collapsed by default so it never sits on top of the thing being judged.
   <details> gives keyboard support and open/close state natively, no JS. */
.heropick{position:fixed;right:20px;bottom:20px;z-index:900;font-family:Archivo,sans-serif;
  background:#fff;border:1px solid #cfc9c0;border-radius:999px;box-shadow:0 8px 26px rgba(0,0,0,.24);
  max-width:300px}
.heropick[open]{border-radius:10px;padding-bottom:14px}
.heropick summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;
  padding:0 18px;min-height:46px;color:#1d2735;font-size:13.5px;letter-spacing:.04em}
.heropick summary::-webkit-details-marker{display:none}
.heropick summary:focus-visible{outline:3px solid var(--teal);outline-offset:2px;border-radius:999px}
.heropick .lbl{text-transform:uppercase;font-size:11.5px;letter-spacing:.1em;color:#5b6675;font-weight:600}
.heropick .cur{background:var(--navy);color:#fff;font-weight:700;font-size:13px;width:23px;height:23px;
  display:grid;place-items:center;border-radius:5px}
.heropick .body{padding:4px 16px 0}
.heropick .opts{display:flex;gap:8px;margin-bottom:10px}
.heropick a{flex:1;min-height:44px;display:grid;place-items:center;border:1.5px solid #c6cedb;
  border-radius:6px;font-size:15px;font-weight:600;color:#1d2735;background:#f7f8fa;text-decoration:none}
.heropick a:hover{background:#eef1f6;border-color:#8e9cb2}
.heropick a[aria-current="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.heropick p{font-size:12.5px;line-height:1.45;color:#4a5566;margin:0}
.heropick .hint{margin-top:7px;font-size:11.5px;color:#7c8798}
body:has(.cookiebar.show) .heropick{bottom:132px}
@media (max-width:640px){
  .heropick{right:10px;left:auto;bottom:14px;max-width:none}
  .heropick[open]{left:10px}
  body:has(.cookiebar.show) .heropick{bottom:auto;top:96px}
  .heropick .hint{display:none}
}

}

/* Book cover art (replaces the pendulum placeholder on the homepage) */
.bookshot{display:flex;align-items:center;justify-content:center}
.bookshot img{max-width:330px;width:100%;height:auto;border-radius:3px;box-shadow:0 22px 60px rgba(1,33,72,.30)}
.bookcard img.cover.shot{width:100%;max-width:280px;height:auto;object-fit:contain;border-radius:3px;box-shadow:0 16px 44px rgba(1,33,72,.22)}

/* Homepage books: two side by side, linking through to Books & Writing */
.books2{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;max-width:1000px;margin:0 auto}
.books2 .bk img{width:100%;max-width:340px;aspect-ratio:2/3;object-fit:cover;border-radius:3px;
  box-shadow:0 18px 48px rgba(1,33,72,.22);display:block;margin:0 auto}
.books2 .bk .meta{padding-top:24px;text-align:center}
.books2 .bk h3{font-size:clamp(24px,2.4vw,32px);font-weight:600;color:var(--navy);margin-top:4px}
.books2 .bk .sub{font-family:var(--display),sans-serif;color:var(--teal);font-size:17px;margin-top:4px}
.books2 .bk p{color:#334155;margin-top:12px}
.book .go{display:inline-block;font-size:15px;letter-spacing:.1em;color:var(--navy);
  border-bottom:2px solid var(--turq);padding-bottom:4px}
@media (max-width:820px){.books2{grid-template-columns:1fr;gap:44px}.books2 .bk img{max-width:260px}}

/* Co-authored books, under the One Golden Nugget mark */
.ognmark{display:block;height:34px;width:auto;margin:0 0 30px;opacity:.85}
.ypmark{display:block;height:30px;width:auto;margin:0 0 22px;opacity:.85}
.cobooks{display:grid;grid-template-columns:1fr 1fr;gap:44px}
.cobook{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:center}
.cobook img,.cobook .nocover{width:150px;border-radius:3px;box-shadow:0 12px 32px rgba(1,33,72,.20)}
.cobook img{height:auto}
.cobook .nocover{aspect-ratio:2/3;background:var(--navy);display:grid;place-items:center;text-align:center;
  color:#fff;font-family:var(--display),sans-serif;font-size:17px;line-height:1.25;padding:12px}
.cobook h3{font-size:21px;font-weight:600;color:var(--navy)}
.cobook p{color:#334155;margin-top:6px;font-size:16px}
@media (max-width:820px){.cobooks{grid-template-columns:1fr;gap:30px}}
.f .opt{font-weight:400;color:#7b8798;font-size:14px;letter-spacing:0}

/* Speaking: on-stage photograph. Source is portrait, so it is framed as a band
   anchored high to keep her face in shot at every width. */
.onstage{padding:0 0 10px}
.onstage video{width:100%;display:block;border-radius:3px;background:#000}
/* Captioned media figures between the speaking topics - natural ratio, no crop. */
.onstage .mediafig{margin:0}
.onstage .mediafig img,.onstage .mediafig video{width:100%;height:auto;object-fit:unset;border-radius:3px;display:block}
/* Held below full wrap width so a photograph punctuates the topics rather than
   taking the whole screen on scroll (Kobi, 6 Aug). */
.onstage .mediafig img{max-width:940px;margin:0 auto}
.onstage .mediafig.portrait img{max-width:500px}
.mediafig figcaption{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 22px;margin-top:16px;justify-content:center}
.mediafig .cap-k{font-family:var(--display),sans-serif;font-size:14px;letter-spacing:.18em;text-transform:uppercase;color:var(--teal)}
.mediafig .cap-t{font-size:15px;color:#4c5c6e}
.onstage img{width:100%;height:clamp(280px,42vh,460px);object-fit:cover;object-position:50% 28%;
  border-radius:3px;display:block}

/* ==== Inner-page hero: copy left, square photograph right ====
   Sources are portrait, so a 1:1 crop takes a slice. object-position is set per
   page below so Rashmi lands centred in each rather than half out of frame. */
.pagehero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.pagehero.has-shot{padding:150px 0 80px}
.pagehero-copy{min-width:0}
.pagehero-shot{justify-self:end;width:100%;max-width:420px}
.pagehero-shot img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 22%;
  border-radius:3px;display:block;box-shadow:0 22px 60px rgba(0,0,0,.30)}

/* Per-page framing so she is centred in each square. Sources are portrait and she
   is not in the same place in any two of them, so these are set individually and
   checked against the rendered crop, not assumed. */
.pagehero-shot{overflow:hidden;border-radius:3px}
.page-consultancy            .pagehero-shot img{object-position:56% 20%}
/* Kobi 5 Aug: honour the top of the photograph on both - no crop above her head. */
.page-non-executive-director .pagehero-shot img{object-position:50% 0}
.page-legal                  .pagehero-shot img{object-position:50% 0}
.page-mediation              .pagehero-shot img{object-position:56% 18%}
/* Speaking uses the on-stage panel shot. She sits left of centre and small in the
   frame, so it zooms on her rather than showing the whole stage. */
/* 5 Aug: hero slot now carries the World Changers speaker card (near-square,
   her name in print) - no zoom hack needed, the old shot's scale(1.75) is gone. */
.page-speaking               .pagehero-shot img{object-position:50% 45%}
.page-writing                .pagehero-shot img{object-position:50% 20%}
/* About is the full-length seated shot: a plain square crop leaves her tiny, so it
   zooms in on her rather than swapping the photograph she chose. */
.page-about                  .pagehero-shot img{object-position:52% 12%;transform:scale(1.45);transform-origin:52% 18%}

@media (max-width:900px){
  .pagehero-grid{grid-template-columns:1fr;gap:34px}
  .pagehero-shot{justify-self:start;max-width:320px;order:-1}
}
.hero .sub + .sub{margin-top:14px}
.hero .sub.strong{font-weight:600;color:#fff}

/* ==== STEER: her five-step approach on the Consultancy page ==== */
.steer{list-style:none;max-width:900px;margin:0 auto;counter-reset:none}
.steer li{display:grid;grid-template-columns:76px 1fr;gap:28px;align-items:start;
  padding:26px 0;border-top:1px solid rgba(1,33,72,.14)}
.steer li:first-child{border-top:none}
.steer .ltr{font-family:var(--display),sans-serif;font-size:46px;font-weight:600;line-height:1;
  color:var(--turq);width:76px;text-align:center}
.steer h3{font-family:var(--display),sans-serif;font-size:clamp(22px,2.2vw,28px);font-weight:600;color:var(--navy)}
.steer p{color:#334155;margin-top:8px}
.helpwith{columns:2;column-gap:44px;margin-top:16px}
.helpwith li{break-inside:avoid;margin-bottom:10px}
@media (max-width:760px){.steer li{grid-template-columns:52px 1fr;gap:18px}
  .steer .ltr{font-size:34px;width:52px}.helpwith{columns:1}}

/* ==== Accolades page ==== */
.page-accolades .pagehero-shot img{object-position:50% 12%}
.prose h3{font-size:clamp(20px,2vw,26px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy);margin-bottom:12px}
.acc-quote{margin:34px 0 22px;padding:6px 0 6px 26px;border-left:3px solid var(--teal)}
.acc-quote p{font-size:clamp(20px,2.2vw,26px);line-height:1.45;color:var(--navy);margin-bottom:12px;font-style:italic}
.acc-quote cite{font-style:normal;font-family:var(--display),sans-serif;font-size:14px;letter-spacing:.18em;text-transform:uppercase;color:var(--teal)}
.acc-trio{display:grid;grid-template-columns:1.25fr 1.25fr .7fr;gap:18px;align-items:start}
.acc-trio .mediafig img,.acc-trio .mediafig video{width:100%;height:auto;border-radius:3px;display:block;background:#000}
.acc-trio .mediafig img{max-width:none;margin:0}
.acc-cap{display:flex;flex-wrap:wrap;gap:6px 22px;justify-content:center;margin-top:16px}
.acc-row{display:grid;grid-template-columns:1fr minmax(0,380px);gap:56px;align-items:center;margin-bottom:64px}
.acc-row:last-child{margin-bottom:0}
.acc-row.acc-flip{grid-template-columns:minmax(0,380px) 1fr}
.acc-row.acc-flip .acc-copy{order:2}
.acc-row .mediafig img{width:100%;height:auto;border-radius:3px;display:block;box-shadow:0 16px 44px rgba(1,33,72,.18)}
.acc-copy h2{font-size:clamp(26px,3vw,38px);font-weight:600;font-family:var(--display),sans-serif;color:var(--navy);margin-bottom:14px}
.acc-copy p{color:#334155}
@media (max-width:900px){
  .acc-trio{grid-template-columns:1fr 1fr}
  .acc-trio .acc-video{grid-column:1 / -1;max-width:320px;margin:0 auto}
  .acc-row,.acc-row.acc-flip{grid-template-columns:1fr;gap:26px;margin-bottom:48px}
  .acc-row.acc-flip .acc-copy{order:0}
  .acc-row .mediafig{max-width:380px}
}
@media (max-width:560px){ .acc-trio{grid-template-columns:1fr} }

/* Featured testimonial: Amelia Sordell / Klowt (editorial) */
.quote-feature{background:var(--warm)}
.qe{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(30px,5vw,64px);align-items:start;max-width:1100px;margin:0 auto;text-align:left}
.qe-mark{display:block;font-family:Georgia,serif;font-size:120px;line-height:.6;color:#D82B87;height:54px;margin:0}
.quote-feature .qe blockquote{font-size:clamp(19px,1.9vw,25px);line-height:1.5;font-weight:500;color:var(--navy);max-width:none;margin:10px 0 0;text-align:left}
.qe-side{border-left:3px solid #D82B87;padding-left:28px;margin-top:6px}
.qe-photo{display:block;width:100%;max-width:260px;aspect-ratio:1/1;object-fit:cover;border-radius:4px;margin-bottom:20px}
.qe-logo{display:inline-block;margin-bottom:14px}
.qe-logo img{display:block;height:30px;width:auto}
.qe-side strong{display:block;font-size:18px;color:var(--navy)}
.qe-side span{display:block;opacity:.8}
.qe-visit{display:inline-block;margin-top:14px;color:#D82B87;font-weight:600;text-decoration:none}
.qe-visit:hover{text-decoration:underline}
@media (max-width:820px){.qe{grid-template-columns:1fr;gap:30px}.qe-side{border-left:0;border-top:3px solid #D82B87;padding:24px 0 0}.qe-photo{max-width:220px}}

/* Homepage "How can I help?" three disciplines */
.help3{background:var(--warm)}
.help3-head{max-width:760px;margin:0 auto 46px;text-align:center}
.help3-head h2{font-size:clamp(30px,3.4vw,46px);font-weight:600;line-height:1.12;font-family:var(--display),sans-serif;color:var(--navy);margin-top:6px}
.help3-head p{color:#334155;margin-top:20px}
.help3-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.help3 .xcard{background:#fff;display:flex;flex-direction:column}
.help3 .xcard a.go{margin-top:auto;padding-top:16px;align-self:flex-start}
@media (max-width:900px){.help3-cards{grid-template-columns:1fr}}

/* Mobile fixes (v3.5.3): hero text legible over the photo, button clear of the logo band, related-links gutter */
.relrow{padding:8px 28px 46px}
@media (max-width:820px){
  .hero[data-hero] .wash{background:linear-gradient(180deg,rgba(1,33,72,.62) 0%,rgba(1,33,72,.9) 22%,rgba(1,33,72,.95) 100%)}
  .hero .inner{padding:110px 0 170px}
}

/* v3.6.0: client logos are trimmed to their artwork, so each gets its own optical height */
.logoband img.l-telegraph{height:34px}
.logoband img.l-bbc-news{height:56px}
.logoband img.l-iod{height:60px}
.logoband img.l-cabinet-office{height:72px}
.logoband img.l-yorkshire-post{height:25px}
@media (max-width:820px){
  .logoband img.l-telegraph{height:24px}
  .logoband img.l-bbc-news{height:38px}
  .logoband img.l-iod{height:42px}
  .logoband img.l-cabinet-office{height:52px}
  .logoband img.l-yorkshire-post{height:18px}
}
@media (max-width:560px){
  .logoband img.l-telegraph{height:17px}
  .logoband img.l-bbc-news{height:27px}
  .logoband img.l-iod{height:30px}
  .logoband img.l-cabinet-office{height:38px}
  .logoband img.l-yorkshire-post{height:13px}
}

/* v3.6.0: version 2 story block, under the logo band */
.story{background:var(--navy);padding:84px 0;text-align:center}
.story .walkline{color:var(--turq-light);font-size:clamp(14px,1.35vw,19px);letter-spacing:.08em;font-weight:600;margin-bottom:28px}
.story .sub{color:#d7dee8;max-width:62ch;margin:16px auto 0;font-size:19px;line-height:1.65}
.story .sub.strong{color:#fff;font-weight:600;margin-top:30px}
@media (max-width:820px){.story{padding:56px 0}.story .sub{font-size:16px}}

.layoutswitch{position:fixed;right:16px;top:96px;z-index:200;display:flex;gap:4px;padding:4px;background:#fff;border-radius:999px;box-shadow:0 8px 26px rgba(1,33,72,.35)}
.layoutswitch a{padding:10px 16px;border-radius:999px;font-size:14px;font-weight:700;color:var(--navy);text-decoration:none;white-space:nowrap}
.layoutswitch a[aria-current]{background:var(--navy);color:#fff}
@media (max-width:560px){
  .layoutswitch{top:22px;right:66px;padding:3px}
  .layoutswitch a{padding:7px 12px;font-size:13px}
  .layoutswitch a span{display:none}
}

/* v3.6.2: long copy reads left-aligned; the column matches the width of the capitals line above it */
.story .sub{max-width:668px;text-align:left;text-wrap:pretty}
.story .sub.strong span{display:block;text-wrap:balance}
